[ { "dataset": "CompRealVul", "file": "init_vlcs_1414", "fun_name": "init_vlcs", "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 %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n store i64 %0, i64* %sv_0, 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 = add i64 %1, -24\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %1, -32\n %9 = inttoptr i64 %8 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 %10 = mul i64 %indvars.iv.reload, 16\n %11 = add i64 %10, ptrtoint (i64* @gv_0 to i64)\n %12 = add nuw nsw i64 %10, 4210792\n %13 = mul i64 %indvars.iv.reload, 8\n %14 = add i64 %13, ptrtoint (i64* @gv_1 to i64)\n store i64 1, i64* %3, align 8\n store i64 1, i64* %5, align 8\n store i64 2, i64* %7, align 8\n store i64 %11, i64* %9, align 8\n %15 = call i64 @FUNC(i64 %14, i64 8, i64 7, i64 %12, i64 2, i64 1)\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 %15\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mkv_write_seekhead_1457", "fun_name": "mkv_write_seekhead", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %rsi.0.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem2 = alloca i64\n %.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg2, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 1\n store i32 %3, i32* %.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 -1, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_1.LBL_3_crit_edge, label LBL_8\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 = call i64 @FUNC(i64 %arg1, i64 290298740, i32 %.reload)\n %10 = add i64 %arg2, 12\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 290298740, i64* %rsi.0.lcssa.reg2mem\n br i1 %13, label LBL_6, label LBL_4\n LBL_4:\n %14 = add i64 %arg2, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %.reg2mem2\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload3 = load i64, i64* %.reg2mem2\n %16 = load i64, i64* %15, align 8\n %17 = mul i64 %.reload3, 16\n %18 = add i64 %16, %17\n %19 = call i64 @FUNC(i64 %arg1, i64 19899, i32 1024)\n %20 = call i64 @FUNC(i64 %arg1, i64 21419)\n %21 = inttoptr i64 %18 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = and i64 %23, 4294967295\n %25 = call i64 @FUNC(i64 %arg1, i64 %24, i64 0)\n %26 = load i64, i64* %21, align 8\n %27 = call i64 @FUNC(i64 %arg1, i64 %26)\n %28 = add i64 %18, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %arg1, i64 21420, i64 %30)\n %32 = call i64 @FUNC(i64 %arg1)\n %33 = add i32 %storemerge1.reload, 1\n %34 = load i32, i32* %11, 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* %.reg2mem2\n store i32 %33, i32* %storemerge1.reg2mem\n store i64 21420, i64* %rsi.0.lcssa.reg2mem\n br i1 %37, label LBL_5, label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(i64 %arg1)\n %39 = load i32, i32* %2, align 4\n %40 = icmp slt i32 %39, 1\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %40, label LBL_8, label LBL_7\n LBL_7:\n %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem\n %41 = sext i32 %39 to i64\n %42 = add nsw i64 %rsi.0.lcssa.reload, %41\n %43 = call i64 @FUNC(i64 %arg1)\n %44 = sub i64 %42, %43\n %45 = call i64 @FUNC(i64 %arg1, i64 %44)\n %46 = call i64 @FUNC(i64 %arg1, i64 %0, i64 0)\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 %47 = add i64 %arg2, 16\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i64 %arg2)\n ret i64 %sv_0.0.reload\n\n uselistorder i32* %11, { 1, 0 }\n uselistorder i32* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem2, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @av_free, { 1, 0 }\n uselistorder i64 (i64, i64)* @put_ebml_id, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @start_ebml_master, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 }\n uselistorder i64 (i64)* @avio_tell, { 1, 0 }\n uselistorder i32 1, { 11, 13, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 4, 3, 0, 5 }\n uselistorder i64 %arg1, { 3, 2, 1, 4, 6, 5, 9, 10, 8, 7, 11, 0, 12 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_sense_interrupt_8567", "fun_name": "test_sense_interrupt", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 8)\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 128\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 12)\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 = zext i1 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 0)\n %14 = call i64 @FUNC(i64 8)\n %15 = call i64 @FUNC()\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 32\n %18 = zext i1 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC()\n ret i64 %20\n\n uselistorder i64 (i64)* @g_assert, { 2, 1, 0 }\n uselistorder i64 ()* @floppy_recv, { 2, 1, 0 }\n uselistorder i64 (i64)* @floppy_send, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_put_qemu_file_1915", "fun_name": "qemu_put_qemu_file", "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 i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 1\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_2, 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 i64*\n %7 = load i64, i64* %6, align 8\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %7, i32 %2)\n %10 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %4, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %phitmp = and i64 %1, 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 i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmp_packet_794", "fun_name": "pmp_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 %.reg2mem6 = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi5.reg2mem = alloca i32*\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* %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)\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_1, label LBL_17\n LBL_1:\n %11 = trunc i64 %3 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_1.LBL_10_crit_edge, label LBL_3\n LBL_2:\n %.pre3 = add i64 %4, 12\n %.pre4 = inttoptr i64 %.pre3 to i32*\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_10\n LBL_3:\n %14 = call i64 @FUNC(i64 %7)\n %15 = trunc i64 %14 to i32\n %16 = add i64 %4, 8\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_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_5:\n %21 = add i64 %4, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i32 %23, -1\n %25 = mul i32 %24, %15\n %26 = add i32 %25, 1\n %27 = call i64 @FUNC(i64 %7, i64 8)\n %28 = add i64 %4, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = sext i32 %26 to i64\n %31 = mul i64 %30, 4\n %32 = add i64 %4, 24\n %33 = call i64 @FUNC(i64 %5, i64 %32, i64 %31)\n %34 = inttoptr i64 %32 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_6, label LBL_8\n LBL_6:\n %38 = icmp sgt i32 %26, 0\n store i32* %29, i32** %.pre-phi5.reg2mem\n br i1 %38, label LBL_7, label LBL_10\n LBL_7:\n %wide.trip.count = zext i32 %26 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_8:\n %39 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %40 = load i64, i64* %6, align 8\n %41 = mul i64 %indvars.iv.reload, 4\n %42 = add i64 %40, %41\n %43 = call i64 @FUNC(i64 %7)\n %44 = trunc i64 %43 to i32\n %45 = inttoptr i64 %42 to i32*\n store i32 %44, i32* %45, 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* %29, i32** %.pre-phi5.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %46 = ptrtoint i64* %arg2 to i64\n %47 = bitcast i64* %rdi to i32*\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %48 = load i64, i64* %6, align 8\n %49 = load i32, i32* %.pre-phi5.reload, align 4\n %50 = sext i32 %49 to i64\n %51 = mul i64 %50, 4\n %52 = add i64 %51, %48\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = call i64 @FUNC(i64 %7, i64 %46, i32 %54)\n %56 = trunc i64 %55 to i32\n %57 = icmp slt i32 %56, 0\n store i64 %55, i64* %sv_0.0.reg2mem\n br i1 %57, label LBL_14, label LBL_11\n LBL_11:\n %58 = load i32, i32* %47, align 8\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n store i32 %58, i32* %.reg2mem\n br i1 %60, label LBL_13, label LBL_12\n LBL_12:\n %61 = add i64 %4, 8\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i32 %67, 1\n store i32 %68, i32* %66, align 4\n %69 = bitcast i64* %arg2 to i32*\n store i32 %67, i32* %69, align 4\n %.pre = load i32, i32* %47, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_13\n LBL_13:\n %.reload = load i32, i32* %.reg2mem\n %70 = add i64 %46, 4\n %71 = inttoptr i64 %70 to i32*\n store i32 %.reload, i32* %71, align 4\n store i64 0, 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 %72 = load i32, i32* %.pre-phi5.reload, align 4\n %73 = add i64 %4, 8\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = ashr i32 %72, 31\n %77 = zext i32 %72 to i64\n %78 = zext i32 %76 to i64\n %79 = mul i64 %78, 4294967296\n %80 = or i64 %79, %77\n %81 = zext i32 %75 to i64\n %82 = srem i64 %80, %81\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n %85 = icmp eq i1 %84, false\n store i32 %72, i32* %.reg2mem6\n br i1 %85, label LBL_16, label LBL_15\n LBL_15:\n %86 = load i32, i32* %47, align 8\n %87 = add i32 %86, 1\n %88 = add i64 %4, 4\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = ashr i32 %87, 31\n %92 = zext i32 %87 to i64\n %93 = zext i32 %91 to i64\n %94 = mul i64 %93, 4294967296\n %95 = or i64 %94, %92\n %96 = zext i32 %90 to i64\n %97 = srem i64 %95, %96\n %98 = trunc i64 %97 to i32\n %99 = bitcast i64* %arg1 to i32*\n store i32 %98, i32* %99, align 4\n %.pre2 = load i32, i32* %.pre-phi5.reload, align 4\n store i32 %.pre2, i32* %.reg2mem6\n br label LBL_16\n LBL_16:\n %.reload7 = load i32, i32* %.reg2mem6\n %100 = add i32 %.reload7, 1\n store i32 %100, i32* %.pre-phi5.reload, align 4\n %101 = and i64 %sv_0.0.reload, 4294967295\n store i64 %101, 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* %.pre-phi5.reload, { 1, 0, 2, 3 }\n uselistorder i32* %47, { 2, 0, 1 }\n uselistorder i64 %7, { 3, 0, 1, 2, 4 }\n uselistorder i64* %6, { 1, 0, 2 }\n uselistorder i64 %4, { 9, 8, 7, 2, 3, 4, 5, 1, 6, 0, 10 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem6, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 4, { 3, 4, 0, 1, 2, 5 }\n uselistorder i64 8, { 1, 2, 0, 3 }\n uselistorder i64 12, { 1, 0 }\n uselistorder label LBL_17, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readstr_upto_6030", "fun_name": "readstr_upto", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa629.reg2mem = alloca i64\n %sext.lcssa30.reg2mem = alloca i64\n %.lcssa31.reg2mem = alloca i64\n %.reg2mem47 = 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 %sext7 = mul i64 %4, 4294967296\n %5 = ashr exact i64 %sext7, 32\n %6 = add i64 %5, %0\n %7 = icmp ugt i64 %5, 255\n %8 = icmp eq i32 %2, 0\n %or.cond8 = or i1 %8, %7\n store i64 %6, i64* %.lcssa31.reg2mem\n store i64 %sext7, i64* %sext.lcssa30.reg2mem\n store i64 %3, i64* %.lcssa629.reg2mem\n br i1 %or.cond8, label LBL_6, label LBL_1\n LBL_1:\n %9 = ptrtoint i16* %arg2 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %3)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i32 %2, i32* %.reg2mem\n store i64 %6, i64* %.reg2mem47\n store i64 %6, i64* %.lcssa31.reg2mem\n store i64 %sext7, i64* %sext.lcssa30.reg2mem\n store i64 %3, i64* %.lcssa629.reg2mem\n br i1 %12, label LBL_2, label LBL_6\n LBL_2:\n %.reload48 = load i64, i64* %.reg2mem47\n %.reload = load i32, i32* %.reg2mem\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = and i64 %13, 4294967295\n %16 = call i64 @FUNC(i64 %15, i64 %.reload48)\n %sext = mul i64 %16, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = add i64 %17, %.reload48\n %19 = sub i64 %18, %0\n %20 = icmp ugt i64 %19, 255\n %21 = icmp eq i32 %14, 0\n %or.cond = or i1 %21, %20\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %9, i64 %15)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i32 %14, i32* %.reg2mem\n store i64 %18, i64* %.reg2mem47\n br i1 %24, label LBL_2, label LBL_4\n LBL_4:\n %25 = add i64 %0, 2\n %26 = icmp eq i64 %18, %25\n %27 = icmp eq i32 %.reload, 92\n %28 = icmp eq i1 %27, %26\n store i64 %18, i64* %.lcssa31.reg2mem\n store i64 %sext, i64* %sext.lcssa30.reg2mem\n store i64 %15, i64* %.lcssa629.reg2mem\n br i1 %28, label LBL_5, label LBL_6\n LBL_5:\n %29 = inttoptr i64 %18 to i8*\n store i8 0, i8* %29, align 1\n br label LBL_7\n LBL_6:\n %.lcssa629.reload = load i64, i64* %.lcssa629.reg2mem\n %sext.lcssa30.reload = load i64, i64* %sext.lcssa30.reg2mem\n %.lcssa31.reload = load i64, i64* %.lcssa31.reg2mem\n %30 = call i64 @FUNC(i64 %0, i64 %.lcssa629.reload)\n %sext3 = sub i64 0, %sext.lcssa30.reload\n %31 = ashr exact i64 %sext3, 32\n %32 = add i64 %31, %.lcssa31.reload\n %33 = inttoptr i64 %32 to i8*\n store i8 0, i8* %33, align 1\n br label LBL_7\n LBL_7:\n ret i64 %0\n\n uselistorder i64 %18, { 3, 0, 2, 1, 4 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 3, 4, 5, 6, 7, 0, 1, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem47, { 2, 0, 1 }\n uselistorder i64* %.lcssa31.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sext.lcssa30.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %.lcssa629.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 2, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @is_one_of, { 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder i64 255, { 1, 0 }\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_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_decline_10255", "fun_name": "send_decline", "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 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 6)\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 50, i32 %1)\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 54, i32 %0)\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %6 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %6\n\n uselistorder i64 (i64*, i64, i32)* @udhcp_add_simple_option, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_frame_obj_6089", "fun_name": "process_frame_obj", "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 %rcx.0.reg2mem = alloca i64\n %.pre-phi22.reg2mem = alloca i64*\n %.pre-phi18.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 %5 = add i64 %4, 16\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5)\n %8 = trunc i64 %7 to i32\n %sext8 = mul i32 %8, 65536\n %9 = ashr exact i32 %sext8, 16\n %10 = call i64 @FUNC(i64 %5)\n %11 = trunc i64 %10 to i32\n %sext6 = mul i32 %11, 65536\n %12 = ashr exact i32 %sext6, 16\n %13 = call i64 @FUNC(i64 %5)\n %14 = trunc i64 %13 to i32\n %sext9 = mul i32 %14, 65536\n %15 = ashr exact i32 %sext9, 16\n %16 = call i64 @FUNC(i64 %5)\n %17 = trunc i64 %16 to i32\n %sext7 = mul i32 %17, 65536\n %18 = ashr exact i32 %sext7, 16\n %19 = and i64 %3, 4294967295\n %20 = urem i64 %13, 65536\n %21 = urem i64 %7, 65536\n %22 = add nuw nsw i64 %20, %21\n %23 = icmp ugt i64 %22, %19\n %.pre = add i64 %4, 4\n %.pre11 = inttoptr i64 %.pre to i32*\n br i1 %23, label LBL_0.LBL_4_crit_edge, label LBL_2\n LBL_1:\n %.pre13 = urem i32 %18, 65536\n %.pre15 = urem i32 %12, 65536\n %.pre17 = add nuw nsw i32 %.pre13, %.pre15\n %.pre23 = load i32, i32* %.pre11, align 4\n store i32 %.pre23, i32* %.reg2mem\n store i32 %.pre17, i32* %.pre-phi18.reg2mem\n br label LBL_4\n LBL_2:\n %24 = load i32, i32* %.pre11, align 4\n %25 = urem i32 %12, 65536\n %26 = urem i32 %18, 65536\n %27 = add nuw nsw i32 %26, %25\n %28 = icmp ult i32 %24, %27\n store i32 %24, i32* %.reg2mem\n store i32 %27, i32* %.pre-phi18.reg2mem\n br i1 %28, label LBL_4, label LBL_2.LBL_7_crit_edge\n LBL_3:\n %29 = zext i32 %25 to i64\n %.pre19 = add i64 %4, 8\n %.pre21 = inttoptr i64 %.pre19 to i64*\n store i64* %.pre21, i64** %.pre-phi22.reg2mem\n store i64 %29, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_4:\n %30 = trunc i64 %3 to i32\n %.pre-phi18.reload = load i32, i32* %.pre-phi18.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %31 = add i64 %4, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = sub i32 %.reload, %.pre-phi18.reload\n %35 = xor i32 %34, -2147483648\n %36 = and i32 %35, %.reload\n %37 = icmp slt i32 %36, 0\n %38 = icmp slt i32 %34, 0\n %39 = icmp eq i1 %38, %37\n %40 = select i1 %39, i32 %.reload, i32 %.pre-phi18.reload\n %41 = urem i32 %15, 65536\n %42 = urem i32 %9, 65536\n %43 = add nuw nsw i32 %41, %42\n %44 = sub i32 %30, %43\n %45 = xor i32 %44, -2147483648\n %46 = and i32 %45, %30\n %47 = icmp slt i32 %46, 0\n %48 = icmp slt i32 %44, 0\n %49 = icmp eq i1 %48, %47\n %50 = select i1 %49, i32 %30, i32 %43\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 %51, i32 %40, i64 0, i64 %33)\n %53 = trunc i64 %52 to i32\n %54 = icmp slt i32 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %55, label LBL_5, label LBL_16\n LBL_5:\n %56 = load i32, i32* %.pre11, align 4\n %57 = sub i32 %56, %.pre-phi18.reload\n %58 = xor i32 %57, -2147483648\n %59 = and i32 %58, %56\n %60 = icmp slt i32 %59, 0\n %61 = icmp slt i32 %57, 0\n %62 = icmp eq i1 %61, %60\n %63 = select i1 %62, i32 %56, i32 %.pre-phi18.reload\n %64 = load i64, i64* %32, align 8\n %65 = zext i32 %63 to i64\n %66 = call i64 @FUNC(i64 %64, i64 %51, i64 %65)\n %67 = zext i32 %43 to i64\n %68 = call i64 @FUNC(i64 %4, i64 %67, i32 %.pre-phi18.reload)\n %69 = call i64 @FUNC(i64 %4)\n %70 = trunc i64 %69 to i32\n %71 = icmp eq i32 %70, 0\n store i64* %32, i64** %.pre-phi22.reg2mem\n store i64 %67, i64* %rcx.0.reg2mem\n br i1 %71, label LBL_7, label LBL_6\n LBL_6:\n %72 = load i64, i64* %32, align 8\n %73 = call i64 @FUNC(i64 %72, i64 16, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %67, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_7:\n %74 = trunc i64 %6 to i32\n %sext = mul i32 %74, 65536\n %75 = ashr exact i32 %sext, 16\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi22.reload = load i64*, i64** %.pre-phi22.reg2mem\n %76 = call i64 @FUNC(i64 %5, i64 4)\n %77 = trunc i32 %75 to i16\n %78 = load i64, i64* %.pre-phi22.reload, align 8\n %79 = call i64 @FUNC(i64 %78, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i16 %77, i64 %rcx.0.reload, i64 %2, i64 %1)\n %80 = urem i32 %75, 65536\n %81 = icmp eq i32 %80, 47\n br i1 %81, label LBL_14, label LBL_8\n LBL_8:\n %82 = icmp ugt i32 %80, 47\n br i1 %82, label LBL_15, label LBL_9\n LBL_9:\n %83 = icmp eq i32 %80, 37\n br i1 %83, label LBL_13, label LBL_10\n LBL_10:\n %84 = icmp ugt i32 %80, 37\n br i1 %84, label LBL_15, label LBL_11\n LBL_11:\n %85 = icmp ne i32 %80, 1\n %86 = icmp eq i32 %80, 3\n %87 = icmp eq i1 %86, false\n %or.cond = icmp eq i1 %85, %87\n br i1 %or.cond, label LBL_15, label LBL_12\n LBL_12:\n %88 = trunc i32 %15 to i16\n %89 = trunc i32 %9 to i16\n %90 = trunc i32 %12 to i16\n %91 = urem i32 %18, 65536\n %92 = zext i32 %91 to i64\n %93 = call i64 @FUNC(i64 %4, i16 %90, i16 %89, i16 %88, i64 %92)\n store i64 %93, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %94 = trunc i32 %15 to i16\n %95 = trunc i32 %9 to i16\n %96 = trunc i32 %12 to i16\n %97 = urem i32 %18, 65536\n %98 = zext i32 %97 to i64\n %99 = call i64 @FUNC(i64 %4, i16 %96, i16 %95, i16 %94, i64 %98)\n store i64 %99, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %100 = trunc i32 %15 to i16\n %101 = trunc i32 %9 to i16\n %102 = trunc i32 %12 to i16\n %103 = urem i32 %18, 65536\n %104 = zext i32 %103 to i64\n %105 = call i64 @FUNC(i64 %4, i16 %102, i16 %101, i16 %100, i64 %104)\n store i64 %105, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %106 = load i64, i64* %.pre-phi22.reload, align 8\n %107 = call i64 @FUNC(i64 %106, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i16 %77, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 3199971767, 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 %80, { 5, 2, 4, 1, 3, 0 }\n uselistorder i64 %rcx.0.reload, { 1, 0 }\n uselistorder i64 %67, { 1, 0, 2 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i32 %56, { 1, 0, 2 }\n uselistorder i32 %44, { 1, 0 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i64* %32, { 1, 0, 2, 3 }\n uselistorder i32 %.reload, { 1, 0, 2 }\n uselistorder i32 %.pre-phi18.reload, { 0, 2, 1, 3, 4 }\n uselistorder i32 %30, { 1, 0, 2 }\n uselistorder i32* %.pre11, { 1, 2, 0 }\n uselistorder i32 %15, { 3, 2, 1, 0 }\n uselistorder i32 %12, { 4, 3, 2, 0, 1 }\n uselistorder i32 %9, { 3, 2, 1, 0 }\n uselistorder i64 %4, { 4, 3, 2, 6, 5, 7, 0, 1, 8 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 16, { 4, 2, 0, 3, 1 }\n uselistorder i32 65536, { 5, 6, 7, 8, 4, 9, 10, 11, 12, 13, 14, 0, 1, 2, 3 }\n uselistorder i64 (i64)* @bytestream2_get_le16u, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_16, { 1, 2, 3, 4, 5, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_add_bookmark_4402", "fun_name": "pdf_add_bookmark", "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 i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\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 4294967284, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %5 = icmp eq i64 %arg2, 0\n %6 = icmp eq i1 %5, false\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, 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 %10 = icmp eq i64 %sv_0.0.reload, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = call i64 @FUNC(i64 %0, i64 4294967274, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0))\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %13 = inttoptr i64 %1 to i8*\n %14 = call i8* @strncpy(i8* %13, i8* %arg3, i32 256)\n %15 = add i64 %1, 255\n %16 = inttoptr i64 %15 to i8*\n store i8 0, i8* %16, align 1\n %17 = add i64 %1, 256\n %18 = inttoptr i64 %17 to i64*\n store i64 %sv_0.0.reload, i64* %18, 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 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @pdf_set_err, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_bridge_dev_initfn_239", "fun_name": "pci_bridge_dev_initfn", "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 i32\n %sv_0.1.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 = call i64 @FUNC(i64 %1, i64 0, i64 4198907)\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 i32 %4, i32* %sv_0.2.reg2mem\n br i1 %6, label LBL_11, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = and i64 %7, 4294967295\n %9 = add i64 %0, -16\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %8)\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %9, 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 i32 %12, i32* %sv_0.1.reg2mem\n br i1 %14, label LBL_9, label LBL_2\n LBL_2:\n %15 = add i64 %0, -24\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = call i64 @FUNC(i64 %0, i64 0, i32 %17, 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 i32 %19, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_8, label LBL_3\n LBL_3:\n %22 = add i64 %0, -20\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = and i32 %24, 16\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_6, label LBL_4\n LBL_4:\n %27 = load i32, i32* inttoptr (i64 4210732 to i32*), 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 %0, i64 0, i64 1, i64 1, i64 1)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %0, i64 0, i64 3, i64 %9)\n %33 = add i64 %0, 12\n %34 = inttoptr i64 %33 to i32*\n store i32 1, i32* %34, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_7:\n %35 = call i64 @FUNC(i64 %0)\n store i32 %30, 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 %36 = call i64 @FUNC(i64 %0, i64 %9)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %37 = call i64 @FUNC(i64 %9)\n %38 = call i64 @FUNC(i64 %0)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %40, label LBL_11, label LBL_10\n LBL_10:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_2, i64 0, i64 0), i32 75, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n store i32 %sv_0.1.reload, 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 %41 = zext i32 %sv_0.2.reload to i64\n store i64 %41, 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 %9, { 2, 1, 0, 3, 4 }\n uselistorder i64 %0, { 8, 6, 2, 5, 4, 3, 0, 7, 11, 9, 1, 10, 13, 12 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_in_coroutine_1043", "fun_name": "test_in_coroutine", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 4198768, i64 0)\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_backptr_879", "fun_name": "copy_backptr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.in.reg2mem = alloca i64\n %.pre-phi.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 i64*\n %4 = load i64, i64* %3, align 8\n %5 = sub i64 %0, %4\n %6 = icmp slt i64 %5, %1\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = or i32 %9, 1\n store i32 %10, i32* %8, align 4\n br label LBL_5\n LBL_2:\n %sext2 = mul i64 %arg3, 4294967296\n %11 = ashr exact i64 %sext2, 32\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = sub i64 %14, %0\n %16 = icmp sgt i64 %11, %15\n store i64 %11, i64* %.pre-phi.reg2mem\n store i64 %sext2, i64* %sv_0.0.in.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %17 = icmp sgt i64 %15, 0\n %18 = select i1 %17, i64 %15, i64 0\n %sext5 = mul i64 %18, 4294967296\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = or i32 %21, 2\n store i32 %22, i32* %20, align 4\n %.pre = ashr exact i64 %sext5, 32\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %sext5, 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 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %23 = udiv i64 %sv_0.0.in.reload, 4294967296\n %24 = and i64 %1, 4294967295\n %25 = call i64 @FUNC(i64 %0, i64 %24, i64 %23)\n %26 = add i64 %.pre-phi.reload, %0\n store i64 %26, i64* %arg1, align 8\n br label LBL_5\n LBL_5:\n ret i64 %0\n\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 6, 4, 5, 7, 8 }\n uselistorder i64 4294967296, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_free_stream_16160", "fun_name": "ff_free_stream", "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 %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 %8 = zext i1 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %arg1, 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 = icmp eq i64 %17, %arg2\n %19 = zext i1 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = icmp eq i64 %arg2, 0\n br i1 %21, label LBL_2, label LBL_1\n LBL_1:\n %22 = call i64 @FUNC(i64 %arg2)\n br label LBL_2\n LBL_2:\n %23 = add i64 %arg2, 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_4, label LBL_3\n LBL_3:\n %27 = call i64 @FUNC(i64 %25)\n br label LBL_4\n LBL_4:\n %28 = add i64 %arg2, 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 = call i64 @FUNC(i64 %28)\n br label LBL_6\n LBL_6:\n %33 = add i64 %arg2, 24\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %arg2, 32\n %36 = call i64 @FUNC(i64 %35)\n %37 = add i64 %arg2, 40\n %38 = call i64 @FUNC(i64 %37)\n %39 = call i64 @FUNC(i64 %arg2)\n %40 = call i64 @FUNC(i64 %23)\n %41 = call i64 @FUNC(i64 %arg2)\n %42 = add i64 %arg2, 48\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %arg2, 56\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_8, label LBL_7\n LBL_7:\n %48 = call i64 @FUNC(i64 %46)\n br label LBL_8\n LBL_8:\n %49 = bitcast i64* %rdi to i32*\n %50 = call i64 @FUNC(i64 %44)\n %51 = load i64, i64* %11, align 8\n %52 = add i32 %2, -1\n %53 = inttoptr i64 %arg1 to i32*\n store i32 %52, i32* %53, align 4\n %54 = load i32, i32* %49, align 8\n %55 = sext i32 %54 to i64\n %56 = mul i64 %55, 8\n %57 = add i64 %56, %51\n %58 = call i64 @FUNC(i64 %57)\n ret i64 %58\n\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 uselistorder i64 %arg2, { 4, 3, 2, 5, 8, 7, 6, 9, 10, 1, 11, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "checkStringLength_12464", "fun_name": "checkStringLength", "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)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = load i64, i64* @gv_0, align 8\n %5 = icmp slt i64 %4, %arg2\n %or.cond = icmp eq i1 %3, %5\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, 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": "1" }, { "dataset": "CompRealVul", "file": "authfile_load_12473", "fun_name": "authfile_load", "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 %sv_0.1.reg2mem = alloca i32\n %sv_1.010.reg2mem = alloca i8*\n %sv_2.011.reg2mem = alloca i64\n %sv_0.014.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32\n %sv_3.17.reg2mem = alloca i32\n %.reg2mem = alloca i1\n %indvars.iv.reg2mem = alloca i64\n %sv_4 = alloca i64, align 8\n %1 = load i32, i32* %0\n %sv_5 = alloca i64, align 8\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call %_IO_FILE* @fopen(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq %_IO_FILE* %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_21\n LBL_1:\n %6 = call i32 @fileno(%_IO_FILE* %3)\n %7 = bitcast i64* %sv_5 to %stat*\n %8 = call i32 @fstat(i32 %6, %stat* nonnull %7)\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i32 @fclose(%_IO_FILE* %3)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_3:\n %11 = call i64* @calloc(i32 1, i32 %1)\n %12 = bitcast i64* %11 to i8*\n %13 = call i8* @fgets(i8* %12, i32 256, %_IO_FILE* %3)\n %14 = icmp eq i8* %13, null\n %15 = icmp eq i1 %14, false\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %15, label LBL_4, label LBL_18\n LBL_4:\n %16 = ptrtoint i64* %sv_4 to i64\n store i32 0, i32* %sv_0.014.reg2mem\n store i64 %16, i64* %sv_2.011.reg2mem\n store i8* %12, i8** %sv_1.010.reg2mem\n br label LBL_17\n LBL_5:\n %sv_3.17.reload = load i32, i32* %sv_3.17.reg2mem\n %.reload = load i1, i1* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = add i64 %indvars.iv.reload, %48\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n br i1 %.reload, label LBL_8, label LBL_6\n LBL_6:\n %20 = icmp eq i8 %19, 58\n %21 = icmp eq i1 %20, false\n store i32 %sv_3.17.reload, i32* %sv_3.0.reg2mem\n br i1 %21, label LBL_11, label LBL_7\n LBL_7:\n store i64 %48, i64* %49, align 8\n %22 = trunc i64 %indvars.iv.reload to i32\n store i32 %22, i32* %51, align 8\n %23 = add i64 %17, 1\n store i64 %23, i64* %53, align 8\n store i32 1, i32* %sv_3.0.reg2mem\n br label LBL_11\n LBL_8:\n switch i8 %19, label LBL_9 [\n i8 10, label LBL_10\n i8 13, label LBL_10\n ]\n LBL_9:\n %24 = icmp eq i8 %19, 0\n %25 = icmp eq i1 %24, false\n store i32 %sv_3.17.reload, i32* %sv_3.0.reg2mem\n br i1 %25, label LBL_11, label LBL_10\n LBL_10:\n %26 = trunc i64 %indvars.iv.reload to i32\n %27 = load i32, i32* %51, align 8\n %28 = sub i32 0, %27\n %29 = sub i32 %28, 1\n %30 = add i32 %29, %26\n %31 = add i64 %sv_2.011.reload, 24\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 8\n store i64 %indvars.iv.reload, i64* %storemerge6.reg2mem\n br label LBL_14\n LBL_11:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %33 = icmp ult i64 %indvars.iv.next, 256\n %34 = icmp eq i32 %sv_3.0.reload, 0\n %35 = icmp eq i1 %34, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i1 %35, i1* %.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.17.reg2mem\n br i1 %33, label LBL_5, label LBL_12\n LBL_12:\n store i64 256, i64* %storemerge6.reg2mem\n br i1 %35, label LBL_14, label LBL_13\n LBL_13:\n %36 = call i32 @fclose(%_IO_FILE* %3)\n call void @free(i64* %11)\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_14:\n %37 = icmp eq i32 %sv_0.014.reload, 99\n store i32 100, i32* %sv_0.1.reg2mem\n br i1 %37, label LBL_18, label LBL_15\n LBL_15:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %38 = add nuw nsw i32 %sv_0.014.reload, 1\n %sext = mul i64 %storemerge6.reload, 4294967296\n %39 = ashr exact i64 %sext, 32\n %40 = add i64 %39, %48\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 0\n store i32 %38, i32* %sv_0.1.reg2mem\n br i1 %43, label LBL_18, label LBL_16\n LBL_16:\n %44 = add i64 %sv_2.011.reload, 32\n %45 = call i8* @fgets(i8* %41, i32 256, %_IO_FILE* %3)\n %46 = icmp eq i8* %45, null\n %47 = icmp eq i1 %46, false\n store i32 %38, i32* %sv_0.014.reg2mem\n store i64 %44, i64* %sv_2.011.reg2mem\n store i8* %41, i8** %sv_1.010.reg2mem\n store i32 %38, i32* %sv_0.1.reg2mem\n br i1 %47, label LBL_17, label LBL_18\n LBL_17:\n %sv_1.010.reload = load i8*, i8** %sv_1.010.reg2mem\n %sv_2.011.reload = load i64, i64* %sv_2.011.reg2mem\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %48 = ptrtoint i8* %sv_1.010.reload to i64\n %49 = inttoptr i64 %sv_2.011.reload to i64*\n %50 = add i64 %sv_2.011.reload, 8\n %51 = inttoptr i64 %50 to i32*\n %52 = add i64 %sv_2.011.reload, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n store i1 false, i1* %.reg2mem\n store i32 0, i32* %sv_3.17.reg2mem\n br label LBL_5\n LBL_18:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %54 = load i64, i64* @gv_1, align 8\n %55 = icmp eq i64 %54, 0\n br i1 %55, label LBL_20, label LBL_19\n LBL_19:\n %56 = inttoptr i64 %54 to i64*\n call void @free(i64* %56)\n br label LBL_20\n LBL_20:\n %57 = ptrtoint i64* %11 to i64\n store i32 %sv_0.1.reload, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 %57, i64* @gv_1, align 8\n %58 = bitcast i64* %sv_4 to i8*\n call void @FUNC(i8* bitcast (i8** @gv_3 to i8*), i8* nonnull %58, i64 400)\n %59 = call i32 @fclose(%_IO_FILE* %3)\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* %51, { 1, 0 }\n uselistorder i64 %48, { 1, 2, 0 }\n uselistorder i32 %sv_0.014.reload, { 1, 0 }\n uselistorder i32 %38, { 1, 2, 0 }\n uselistorder i1 %35, { 1, 0 }\n uselistorder i32 %sv_3.0.reload, { 1, 0 }\n uselistorder i8 %19, { 2, 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0, 4, 2, 3 }\n uselistorder i32 %sv_3.17.reload, { 1, 0 }\n uselistorder i64* %11, { 2, 0, 1 }\n uselistorder %_IO_FILE* %3, { 3, 4, 2, 0, 1, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i1* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_3.17.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 2, 1, 0 }\n uselistorder i1 false, { 0, 5, 4, 2, 3, 1, 6 }\n uselistorder label LBL_21, { 1, 2, 3, 0 }\n uselistorder label LBL_18, { 0, 2, 1, 3 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_10, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "weechat_lua_exec_3826", "fun_name": "weechat_lua_exec", "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.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i8* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %3, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = load i64, i64* @gv_1, align 8\n store i64 %3, i64* @gv_1, align 8\n %6 = icmp eq i64* %arg4, null\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg4 to i64\n %8 = load i64, i64* @gv_0, align 8\n %9 = call i64 @FUNC(i64 %8, i64 %7)\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 store i32 1, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_6, label LBL_2\n LBL_2:\n %14 = load i64, i64* @gv_0, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %12)\n %16 = add i64 %7, 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 i32 2, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_6, label LBL_3\n LBL_3:\n %20 = load i64, i64* @gv_0, align 8\n %21 = call i64 @FUNC(i64 %20, i64 %18)\n %22 = add i64 %7, 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 i32 3, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_6, label LBL_4\n LBL_4:\n %26 = load i64, i64* @gv_0, align 8\n %27 = call i64 @FUNC(i64 %26, i64 %24)\n %28 = add i64 %7, 32\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i32 4, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = load i64, i64* @gv_0, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %30)\n store i32 5, 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 %34 = load i64, i64* @gv_0, align 8\n %35 = call i64 @FUNC(i64 %34, i32 %sv_0.0.reload, i64 1, i64 0)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0))\n %40 = call i64 @FUNC(i64 0, i64 %39, i64 %38, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %2, i64 %1)\n %41 = load i64, i64* @gv_0, align 8\n %42 = call i64 @FUNC(i64 %41, i64 4294967295)\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0))\n %45 = call i64 @FUNC(i64 0, i64 %44, i64 %43, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %42, i64 %1)\n store i64 %5, i64* @gv_1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n %46 = trunc i64 %arg2 to i32\n %47 = icmp eq i32 %46, 1\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_10, label LBL_9\n LBL_9:\n %49 = load i64, i64* @gv_0, align 8\n %50 = call i64 @FUNC(i64 %49, i64 4294967295)\n %51 = inttoptr i64 %50 to i8*\n %52 = call i8* @strdup(i8* %51)\n %.pre = ptrtoint i8* %52 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_14\n LBL_10:\n %53 = icmp eq i32 %46, 2\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_13, label LBL_11\n LBL_11:\n %55 = call i64* @malloc(i32 4)\n %56 = icmp eq i64* %55, null\n %57 = ptrtoint i64* %55 to i64\n store i64 %57, i64* %.pre-phi.reg2mem\n br i1 %56, label LBL_14, label LBL_12\n LBL_12:\n %58 = bitcast i64* %55 to i32*\n %59 = load i64, i64* @gv_0, align 8\n %60 = call i64 @FUNC(i64 %59, i64 4294967295)\n %61 = trunc i64 %60 to i32\n store i32 %61, i32* %58, align 4\n store i64 %57, i64* %.pre-phi.reg2mem\n br label LBL_14\n LBL_13:\n %62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0), i8* %arg3)\n store i64 %5, i64* @gv_1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i64 %5, i64* @gv_1, align 8\n store i64 %.pre-phi.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 i64 %57, { 1, 0 }\n uselistorder i64* %55, { 2, 0, 1 }\n uselistorder i64 %5, { 1, 2, 0 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @lua_tostring, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i8*, i64, i64)* @weechat_printf, { 1, 0 }\n uselistorder i64 (i8*)* @weechat_gettext, { 1, 0 }\n uselistorder i64 (i8*)* @weechat_prefix, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64)* @lua_pushstring, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_req_err_8140", "fun_name": "tcp_req_err", "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 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %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_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64 1)\n br label LBL_4\n LBL_2:\n %9 = trunc i64 %arg3 to i8\n %10 = icmp eq i8 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %2 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %2)\n %14 = load i64, i64* %11, align 8\n %15 = call i64 @FUNC(i64 %14)\n br label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %2)\n ret i64 %16\n\n uselistorder i64 %2, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aes_decrypt_10295", "fun_name": "aes_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 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC()\n %6 = add i64 %3, 4\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = call i64 @FUNC(i64 %0, i64 %1, i32 %9, i64 %6, i64 1)\n %11 = and i64 %5, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %3)\n ret i64 %13\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isa_ne2000_init_15429", "fun_name": "isa_ne2000_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 = 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 24)\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 16, i64 1, i64 4198893, i64 %2)\n %5 = call i64 @FUNC(i64 %3, i64 16, i64 1, i64 4198900, i64 %2)\n %6 = add i64 %arg1, 16\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 1, i64 1, i64 4198907, i64 %2)\n %9 = call i64 @FUNC(i64 %7, i64 1, i64 1, i64 4198914, i64 %2)\n %10 = call i64 @FUNC(i64 %7, i64 2, i64 2, i64 4198907, i64 %2)\n %11 = call i64 @FUNC(i64 %7, i64 2, i64 2, i64 4198914, i64 %2)\n %12 = add i64 %arg1, 31\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 1, i64 1, i64 4198921, i64 %2)\n %15 = call i64 @FUNC(i64 %13, i64 1, i64 1, i64 4198928, i64 %2)\n %16 = trunc i64 %arg2 to i32\n %17 = inttoptr i64 %2 to i32*\n store i32 %16, i32* %17, align 4\n %18 = add i64 %2, 4\n %19 = inttoptr i64 %18 to i64*\n %20 = call i64* @memcpy(i64* %19, i64* %arg3, i32 6)\n %21 = call i64 @FUNC(i64 %2)\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 %0, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %0, 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 %31, i64 %27, i64 %24, i64 4198949, i64 4198956, i64 %2)\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = call i64 @FUNC(i64 %32, i64 %18)\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 4294967295, i64 2, i64 4198935, i64 4198942, i64 %2)\n ret i64 %36\n\n uselistorder i64 2, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0, 3, 2, 5, 4, 7, 6, 8, 9 }\n uselistorder i64 16, { 3, 4, 0, 1, 2 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder i64 24, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gss_destroy_nullcred_4689", "fun_name": "gss_destroy_nullcred", "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 %3, i64 1)\n %5 = load i64, i64* %2, align 8\n %6 = call i64 @FUNC(i64 %5, i64 0)\n %7 = call i64 @FUNC(i64 %1, i64 4198684)\n %8 = icmp eq i64 %4, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grlib_irqmp_readl_2928", "fun_name": "grlib_irqmp_readl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %.reg2mem15 = 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_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 ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %.reg2mem\n store i32 ptrtoint ([14 x i8]* @gv_0 to i32), i32* %.reg2mem15\n br label LBL_3\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %2 to i32\n store i64 %2, i64* %.reg2mem\n store i32 %3, i32* %.reg2mem15\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %4 = urem i64 %arg2, 256\n store i64 %4, i64* @0, align 8\n %5 = udiv i64 %4, 4\n %6 = mul i64 %arg2, 4611686018427387904\n %7 = or i64 %5, %6\n store i32 0, i32* %rax.0.shrunk.reg2mem\n store i32 0, i32* %rax.0.shrunk.reg2mem\n switch i64 %7, label LBL_8 [\n i64 0, label LBL_4\n i64 1, label LBL_5\n i64 2, label LBL_6\n i64 3, label LBL_19\n i64 4, label LBL_19\n i64 5, label LBL_7\n ]\n LBL_4:\n %.reload16 = load i32, i32* %.reg2mem15\n store i32 %.reload16, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_5:\n %8 = add i64 %.reload, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n store i32 %10, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_6:\n %11 = add i64 %.reload, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_7:\n %14 = add i64 %.reload, 24\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n store i32 %16, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_8:\n %17 = trunc i64 %arg2 to i8\n %trunc = and i8 %17, -4\n switch i8 %trunc, label LBL_18 [\n i8 24, label LBL_9\n i8 28, label LBL_12\n i8 32, label LBL_15\n ]\n LBL_9:\n %18 = add nuw nsw i64 %4, 17179869160\n %19 = udiv i64 %18, 4\n %20 = trunc i64 %19 to i32\n %21 = icmp ult i32 %20, 4\n br i1 %21, label LBL_11, label LBL_10\n LBL_10:\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 59, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_11\n LBL_11:\n %sext14 = mul i64 %19, 4294967296\n %22 = ashr exact i64 %sext14, 30\n %23 = add nsw i64 %22, 28\n %24 = add i64 %23, %.reload\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_19\n LBL_12:\n %27 = add nuw nsw i64 %4, 17179869156\n %28 = udiv i64 %27, 4\n %29 = trunc i64 %28 to i32\n %30 = icmp ult i32 %29, 4\n br i1 %30, label LBL_14, label LBL_13\n LBL_13:\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 63, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_14\n LBL_14:\n %sext13 = mul i64 %28, 4294967296\n %31 = ashr exact i64 %sext13, 30\n %32 = add i64 %.reload, 8\n %33 = add i64 %32, %31\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n store i32 %35, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_15:\n %36 = add nuw nsw i64 %4, 17179869152\n %37 = udiv i64 %36, 4\n %38 = trunc i64 %37 to i32\n %39 = icmp ult i32 %38, 4\n br i1 %39, label LBL_17, label LBL_16\n LBL_16:\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 67, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_17\n LBL_17:\n %sext = mul i64 %37, 4294967296\n %40 = ashr exact i64 %sext, 30\n %41 = add nsw i64 %40, 44\n %42 = add i64 %41, %.reload\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n store i32 %44, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_18:\n %45 = call i64 @FUNC(i64 %4)\n store i32 0, 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 i64 %4, { 3, 2, 4, 5, 0, 1 }\n uselistorder i64 %.reload, { 1, 2, 0, 5, 4, 3 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 8, 9, 10, 6, 5, 4, 3, 1, 2 }\n uselistorder i64 30, { 2, 1, 0 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4, { 0, 1, 2, 5, 4, 3 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder [14 x i8]* @gv_0, { 0, 2, 1 }\n uselistorder i64 %arg2, { 2, 0, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_19, { 6, 7, 8, 9, 2, 3, 4, 5, 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": "qht_do_test_1868", "fun_name": "qht_do_test", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 4210717, i64 0, i64 %1)\n %3 = call i64 @FUNC(i64 0)\n %4 = call i64 @FUNC(i64 0, i64 100)\n %5 = call i64 @FUNC(i64 0, i64 100, i64 1)\n %6 = call i64 @FUNC(i64 100)\n %7 = call i64 @FUNC(i64 4294967196, i64 4294967295, i64 0)\n %8 = call i64 @FUNC(i64 100)\n %9 = call i64 @FUNC(i64 101, i64 102)\n %10 = call i64 @FUNC(i64 99)\n %11 = call i64 @FUNC(i64 100, i64 200)\n %12 = call i64 @FUNC(i64 199)\n %13 = call i64 @FUNC(i64 100, i64 200)\n %14 = call i64 @FUNC(i64 99)\n %15 = call i64 @FUNC(i64 101, i64 102)\n %16 = call i64 @FUNC(i64 100)\n %17 = call i64 @FUNC(i64 10, i64 200)\n %18 = call i64 @FUNC(i64 4294967206)\n %19 = call i64 @FUNC(i64 150, i64 200)\n %20 = call i64 @FUNC(i64 4294967256)\n %21 = call i64 @FUNC(i64 10, i64 150)\n %22 = call i64 @FUNC(i64 100)\n %23 = call i64 @FUNC(i64 1, i64 2)\n %24 = call i64 @FUNC(i64 99)\n %25 = call i64 @FUNC(i64* nonnull @gv_0, i64 0)\n %26 = call i64 @FUNC(i64 0)\n %27 = call i64 @FUNC(i64 0, i64 100, i64 0)\n %28 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %28\n\n uselistorder i64 (i64, i64)* @rm, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @check, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @insert, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @check_n, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "extended_addresses_enabled_3471", "fun_name": "extended_addresses_enabled", "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, i64 1)\n %4 = trunc i64 %3 to i8\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 i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %8, 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": "tcp_get_msgfd_3333", "fun_name": "tcp_get_msgfd", "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 = and i64 %1, 4294967295\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_dl_findhint_4022", "fun_name": "_dl_findhint", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.in13.reg2mem = alloca i64\n %.reg2mem26 = alloca i32\n %.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %0 = load i32*, i32** @gv_0, align 8\n %1 = icmp eq i32* %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()\n br label LBL_2\n LBL_2:\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_18\n LBL_3:\n %7 = load i32*, i32** @gv_0, align 8\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_18\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = load i64, i64* @gv_1, align 8\n %13 = trunc i64 %arg3 to i32\n %14 = ptrtoint i8* %arg1 to i64\n %15 = and i64 %11, 4294967295\n %16 = call i64 @FUNC(i64 %14, i64 %15, i32 %13)\n %17 = load i32*, i32** @gv_0, align 8\n %18 = load i32, i32* %17, align 4\n %19 = trunc i64 %16 to i32\n %20 = ashr i32 %19, 31\n %21 = and i64 %16, 4294967295\n %22 = zext i32 %20 to i64\n %23 = mul i64 %22, 4294967296\n %24 = or i64 %23, %21\n %25 = zext i32 %18 to i64\n %26 = srem i64 %24, %25\n %sext6 = mul i64 %26, 4294967296\n %27 = ashr exact i64 %sext6, 32\n %28 = ashr exact i64 %sext6, 31\n %29 = add nsw i64 %28, %27\n %30 = mul i64 %29, 8\n %31 = add i64 %30, %12\n %storemerge12 = inttoptr i64 %31 to i32*\n %32 = load i32, i32* %storemerge12, align 4\n %33 = ptrtoint i32* %17 to i64\n %34 = add i64 %33, 4\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp ult i32 %32, %36\n store i32 %32, i32* %.lcssa.reg2mem\n br i1 %37, label LBL_5, label LBL_6\n LBL_5:\n %sext5 = mul i64 %arg3, 4294967296\n %38 = trunc i64 %11 to i32\n %39 = ashr exact i64 %sext5, 32\n %40 = icmp eq i64 %arg4, 0\n %41 = icmp eq i1 %40, false\n %42 = inttoptr i64 %arg4 to i8*\n store i32 %36, i32* %.reg2mem\n store i32 %32, i32* %.reg2mem26\n store i64 %31, i64* %storemerge.in13.reg2mem\n br label LBL_7\n LBL_6:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i32 %.lcssa.reload)\n call void @exit(i32 7)\n unreachable\n LBL_7:\n %storemerge.in13.reload = load i64, i64* %storemerge.in13.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %44 = add i64 %storemerge.in13.reload, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp ult i32 %46, %.reload\n br i1 %47, label LBL_9, label LBL_8\n LBL_8:\n %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i32 %46)\n call void @exit(i32 7)\n unreachable\n LBL_9:\n %.reload27 = load i32, i32* %.reg2mem26\n %49 = load i64, i64* @gv_4, align 8\n %50 = sext i32 %.reload27 to i64\n %51 = add i64 %49, %50\n %52 = inttoptr i64 %51 to i8*\n %53 = call i32 @strcmp(i8* %arg1, i8* %52)\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_16, label LBL_10\n LBL_10:\n %56 = add i64 %storemerge.in13.reload, 8\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, %38\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_16, label LBL_11\n LBL_11:\n %61 = add i64 %storemerge.in13.reload, 16\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = icmp slt i32 %63, 2\n br i1 %64, label LBL_13, label LBL_12\n LBL_12:\n %65 = add i64 %storemerge.in13.reload, 12\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = zext i32 %67 to i64\n %69 = icmp sgt i64 %39, %68\n br i1 %69, label LBL_16, label LBL_13\n LBL_13:\n %70 = load i64, i64* @gv_4, align 8\n %71 = load i32, i32* %45, align 4\n %72 = sext i32 %71 to i64\n %73 = add i64 %70, %72\n store i64 %73, i64* %rax.0.reg2mem\n br i1 %41, label LBL_14, label LBL_18\n LBL_14:\n %74 = inttoptr i64 %73 to i8*\n %75 = call i8* @strrchr(i8* %74, i32 47)\n %76 = ptrtoint i8* %75 to i64\n %77 = sub i64 %76, %73\n %78 = trunc i64 %77 to i32\n %79 = call i32 @strncmp(i8* %42, i8* %74, i32 %78)\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n br i1 %81, label LBL_16, label LBL_15\n LBL_15:\n %82 = add i64 %77, %arg4\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 store i64 %73, i64* %rax.0.reg2mem\n br i1 %86, label LBL_16, label LBL_18\n LBL_16:\n %87 = add i64 %storemerge.in13.reload, 20\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = icmp eq i32 %89, -1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %90, label LBL_18, label LBL_17\n LBL_17:\n %91 = load i64, i64* @gv_1, align 8\n %92 = sext i32 %89 to i64\n %93 = mul nsw i64 %92, 24\n %94 = add i64 %91, %93\n %storemerge = inttoptr i64 %94 to i32*\n %95 = load i32, i32* %storemerge, align 4\n %96 = load i32*, i32** @gv_0, align 8\n %97 = ptrtoint i32* %96 to i64\n %98 = add i64 %97, 4\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = icmp ult i32 %95, %100\n store i32 %95, i32* %.lcssa.reg2mem\n store i32 %100, i32* %.reg2mem\n store i32 %95, i32* %.reg2mem26\n store i64 %94, i64* %storemerge.in13.reg2mem\n br i1 %101, label LBL_7, label LBL_6\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %73, { 0, 3, 2, 1 }\n uselistorder i64 %sext6, { 1, 0 }\n uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem26, { 1, 0, 2 }\n uselistorder i64* %storemerge.in13.reg2mem, { 1, 0, 2 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4294967296, { 2, 0, 1, 3 }\n uselistorder i1 false, { 0, 1, 3, 4, 2, 5, 6, 7 }\n uselistorder i32** @gv_0, { 3, 2, 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_get_cpu_flags_arm_17117", "fun_name": "ff_get_cpu_flags_arm", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = bitcast i32* %sv_0 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 br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64* nonnull %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.in.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = load i32, i32* %sv_0, align 4\n %10 = mul i32 %9, 32\n %11 = and i32 %10, 32\n %12 = udiv i32 %9, 2\n %13 = urem i32 %12, 2\n %14 = or i32 %13, %11\n %15 = and i32 %12, 2\n %16 = or i32 %14, %15\n %17 = and i32 %12, 4\n %18 = or i32 %16, %17\n %19 = and i32 %12, 8\n %20 = or i32 %18, %19\n %21 = and i32 %12, 16\n %22 = or i32 %20, %21\n %23 = and i32 %22, 24\n %24 = icmp eq i32 %23, 0\n %25 = or i32 %22, 2\n %spec.select4 = select i1 %24, i32 %22, i32 %25\n %26 = udiv i32 %spec.select4, 2\n %27 = urem i32 %26, 2\n %28 = or i32 %27, %spec.select4\n %phitmp = zext i32 %28 to i64\n store i64 %phitmp, i64* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n ret i64 %storemerge.in.reload\n\n uselistorder i32 %spec.select4, { 1, 0 }\n uselistorder i32 %22, { 2, 1, 0 }\n uselistorder i32 %12, { 3, 2, 1, 0, 4 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 2, { 2, 0, 5, 4, 3, 1 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_win_2165", "fun_name": "qemu_chr_open_win", "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 24)\n %3 = call i64 @FUNC(i64 0)\n %4 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %4, align 8\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 4198880, i64* %6, align 8\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198891, i64* %8, align 8\n %9 = call i64 @FUNC(i64 %2, i64 %1)\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 = call i64 @FUNC(i64 %3)\n %14 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %15 = call i64 @FUNC(i64 %2)\n store i64 %2, 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, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openrisc_cpu_do_interrupt_2115", "fun_name": "openrisc_cpu_do_interrupt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n store i32 -1, i32* %arg1, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_vpd_truncate_18384", "fun_name": "pci_vpd_truncate", "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 %2 = icmp ult i64 %0, %arg2\n %or.cond = or i1 %1, %2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n store i64 %arg2, 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 = inttoptr i64 %5 to i64*\n store i64 %arg2, i64* %6, align 8\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 i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "packet_get__7063", "fun_name": "packet_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 = 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 store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\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* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_drain_all_2473", "fun_name": "bdrv_drain_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge12.reg2mem = alloca i64\n br label LBL_3\n LBL_1:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %0 = call i64 @FUNC(i64 %storemerge12.reload)\n %1 = inttoptr i64 %storemerge12.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* %storemerge12.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = urem i64 %5, 256\n %8 = call i64 @FUNC(i64 %6, i64 %7)\n %9 = or i64 %8, %5\n %10 = urem i64 %9, 256\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 i1 %13, false\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge12.reg2mem\n br label LBL_1\n LBL_4:\n %15 = zext i1 %12 to i64\n ret i64 %15\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %storemerge12.reload, { 1, 0 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 1, 0 }\n uselistorder i1 false, { 3, 0, 1, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scene_sad16_316", "fun_name": "scene_sad16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i32 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %sv_0.16.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 = add i64 %arg7, 4294967289\n %1 = and i64 %0, 4294967295\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg4 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i32 %arg6, -7\n %6 = zext i32 %5 to i64\n %7 = icmp eq i32 %5, 0\n %8 = zext i32 %arg5 to i64\n %9 = zext i32 %arg3 to i64\n store i64 0, i64* %sv_0.16.reg2mem\n store i32 0, i32* %sv_1.04.reg2mem\n br label LBL_4\n LBL_2:\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 %10 = add nsw i64 %.reload, %25\n %11 = mul i64 %10, 2\n %12 = add i64 %11, %3\n %13 = add nsw i64 %.reload, %27\n %14 = mul i64 %13, 2\n %15 = add i64 %14, %4\n %16 = call i64 @FUNC(i64 %15, i64 %9, i64 %12, i64 %8)\n %17 = add i64 %16, %sv_0.02.reload\n %18 = add i32 %storemerge3.reload, 8\n %19 = sext i32 %18 to i64\n %20 = icmp slt i64 %19, %6\n store i64 %19, i64* %.reg2mem\n store i32 %18, i32* %storemerge3.reg2mem\n store i64 %17, i64* %sv_0.02.reg2mem\n store i64 %17, i64* %sv_0.0.lcssa.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %21 = add i32 %sv_1.04.reload, 8\n %22 = sext i32 %21 to i64\n %23 = icmp sgt i64 %1, %22\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem\n store i32 %21, i32* %sv_1.04.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %23, label LBL_4, label LBL_6\n LBL_4:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n store i64 %sv_0.16.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_3, label LBL_2.lr.ph\n LBL_5:\n %24 = mul i32 %sv_1.04.reload, %arg5\n %25 = sext i32 %24 to i64\n %26 = mul i32 %sv_1.04.reload, %arg3\n %27 = sext i32 %26 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %sv_0.16.reload, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_6:\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_1.04.reload, { 2, 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_find_state_owner_9460", "fun_name": "nfs4_find_state_owner", "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.be.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %arg1, 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 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %5 = add i64 %.reload, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp ugt i64 %7, %1\n %9 = icmp eq i1 %8, false\n store i64 %.reload, i64* %sv_1.0.be.reg2mem\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = icmp ult i64 %7, %1\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = add i64 %.reload, 8\n store i64 %11, i64* %sv_1.0.be.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem\n %12 = inttoptr i64 %sv_1.0.be.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* %.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_1, label LBL_9\n LBL_5:\n %16 = add i64 %.reload, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp ugt i64 %18, %0\n %20 = icmp eq i1 %19, false\n store i64 %.reload, i64* %sv_1.0.be.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_6:\n %21 = icmp ult i64 %18, %0\n br i1 %21, label LBL_7, label LBL_8\n LBL_7:\n %22 = add i64 %.reload, 8\n store i64 %22, i64* %sv_1.0.be.reg2mem\n br label LBL_4\n LBL_8:\n %23 = add i64 %.reload, 32\n %24 = call i64 @FUNC(i64 %23)\n store i64 %.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 ret i64 %sv_0.0.reload\n\n uselistorder i64 %.reload, { 0, 7, 3, 1, 5, 4, 2, 6 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.be.reg2mem, { 3, 1, 0, 4, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 3, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_get_color_6729", "fun_name": "bm_get_color", "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 ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 8, i8* getelementptr inbounds ([13 x i8], [13 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": "read_block_13803", "fun_name": "read_block", "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 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %2, align 4\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 %1, i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_2:\n %9 = call i64 @FUNC(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 i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, 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": "alloc_l3_table_6045", "fun_name": "alloc_l3_table", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.520.reg2mem = alloca i32\n %.reg2mem = alloca i1\n %.in.reg2mem = alloca i32\n %sv_0.5.reg2mem = alloca i32\n %rcx.318.reg2mem = alloca i64\n %r8.319.reg2mem = alloca i64\n %sv_1.024.in.reg2mem = alloca i64\n %sv_0.3.lcssa36.reg2mem = alloca i32\n %r8.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %r8.01316.reg2mem = alloca i64\n %sv_0.117.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_2.026.reg2mem = alloca i32\n %r8.231.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %3, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = call i64 @FUNC(i64 %6)\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %4)\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 = add i64 %11, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 2032)\n br label LBL_2\n LBL_2:\n %18 = trunc i64 %2 to i32\n %19 = icmp ult i32 %18, 512\n store i32 0, i32* %sv_0.3.lcssa36.reg2mem\n br i1 %19, label LBL_3, label LBL_17\n LBL_3:\n %20 = and i64 %2, 4294967295\n store i64 %20, i64* %indvars.iv.reg2mem\n store i32 %9, i32* %sv_2.026.reg2mem\n br label LBL_4\n LBL_4:\n %sv_2.026.reload = load i32, i32* %sv_2.026.reg2mem\n %r8.231.reload = load i64, i64* %r8.231.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = call i64 @FUNC(i64 %4)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i64 %indvars.iv.reload, 3\n %25 = icmp eq i1 %24, false\n %or.cond8 = or i1 %25, %23\n %26 = mul i64 %indvars.iv.reload, 4\n %27 = add i64 %26, %11\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n br i1 %or.cond8, label LBL_8, label LBL_5\n LBL_5:\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30)\n %32 = urem i64 %31, 2\n %33 = icmp eq i64 %32, 0\n store i32 1, i32* %sv_0.117.reg2mem\n store i64 %r8.231.reload, i64* %r8.01316.reg2mem\n br i1 %33, label LBL_14, label LBL_6\n LBL_6:\n %34 = load i32, i32* %28, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i64 %4)\n %38 = and i64 %37, %36\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i32 1, i32* %sv_0.117.reg2mem\n store i64 %r8.231.reload, i64* %r8.01316.reg2mem\n br i1 %40, label LBL_7, label LBL_14\n LBL_7:\n %41 = load i32, i32* %28, align 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %42)\n %44 = zext i32 %sv_2.026.reload to i64\n %45 = call i64 @FUNC(i64 %43, i64 6, i64 %4, i64 %44, i64 1)\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* %sv_0.0.reg2mem\n store i64 %44, i64* %rcx.0.reg2mem\n store i64 1, i64* %r8.0.reg2mem\n br label LBL_9\n LBL_8:\n %47 = zext i32 %sv_2.026.reload to i64\n %48 = zext i32 %29 to i64\n %49 = call i64 @FUNC(i64 %48, i64 %6, i64 %4, i32 %sv_2.026.reload)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp slt i32 %50, 0\n %53 = icmp eq i1 %52, false\n %54 = icmp eq i1 %51, false\n %55 = icmp eq i1 %53, %54\n store i32 %50, i32* %sv_0.0.reg2mem\n store i64 %47, i64* %rcx.0.reg2mem\n store i64 %r8.231.reload, i64* %r8.0.reg2mem\n store i32 %50, i32* %sv_0.2.reg2mem\n store i64 %47, i64* %rcx.1.reg2mem\n store i64 %r8.231.reload, i64* %r8.1.reg2mem\n br i1 %55, label LBL_15, 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 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %56 = icmp eq i32 %sv_0.0.reload, 2\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_11, label LBL_10\n LBL_10:\n %58 = trunc i64 %indvars.iv.reload to i32\n store i32 %58, i32* %arg1, align 4\n %59 = icmp eq i32 %sv_2.026.reload, 0\n %60 = icmp eq i1 %59, false\n %spec.select = select i1 %60, i32 %sv_2.026.reload, i32 1\n store i32 %spec.select, i32* %8, align 4\n br label LBL_13\n LBL_11:\n %61 = icmp eq i32 %sv_0.0.reload, 3\n %62 = icmp eq i1 %61, false\n %63 = icmp eq i64 %indvars.iv.reload, 0\n %or.cond = or i1 %63, %62\n br i1 %or.cond, label LBL_13, label LBL_12\n LBL_12:\n %64 = trunc i64 %indvars.iv.reload to i32\n store i32 %64, i32* %arg1, align 4\n store i32 0, i32* %8, align 4\n store i32 2, i32* %sv_0.117.reg2mem\n store i64 %r8.0.reload, i64* %r8.01316.reg2mem\n br label LBL_14\n LBL_13:\n %65 = icmp slt i32 %sv_0.0.reload, 0\n store i32 %sv_0.0.reload, i32* %sv_0.117.reg2mem\n store i64 %r8.0.reload, i64* %r8.01316.reg2mem\n store i64 %indvars.iv.reload, i64* %sv_1.024.in.reg2mem\n store i64 %r8.0.reload, i64* %r8.319.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.318.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.5.reg2mem\n br i1 %65, label LBL_18, label LBL_14\n LBL_14:\n %r8.01316.reload = load i64, i64* %r8.01316.reg2mem\n %sv_0.117.reload = load i32, i32* %sv_0.117.reg2mem\n %66 = load i32, i32* %28, align 4\n %67 = zext i32 %66 to i64\n %68 = call i64 @FUNC(i64 %67, i64 %4)\n %69 = trunc i64 %68 to i32\n store i32 %69, i32* %28, align 4\n store i32 %sv_0.117.reload, i32* %sv_0.2.reg2mem\n store i64 %26, i64* %rcx.1.reg2mem\n store i64 %r8.01316.reload, i64* %r8.1.reg2mem\n br label LBL_15\n LBL_15:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %70 = icmp ult i64 %indvars.iv.next, 512\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %r8.1.reload, i64* %r8.231.reg2mem\n store i32 0, i32* %sv_2.026.reg2mem\n br i1 %70, label LBL_4, label LBL_16\n LBL_16:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %71 = icmp slt i32 %sv_0.2.reload, 0\n store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa36.reg2mem\n store i64 %indvars.iv.next, i64* %sv_1.024.in.reg2mem\n store i64 %r8.1.reload, i64* %r8.319.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.318.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.5.reg2mem\n br i1 %71, label LBL_18, label LBL_17\n LBL_17:\n %sv_0.3.lcssa36.reload = load i32, i32* %sv_0.3.lcssa36.reg2mem\n %72 = call i64 @FUNC(i64 %4, i64 %11)\n %73 = trunc i64 %72 to i32\n %74 = icmp eq i32 %73, 0\n %75 = icmp eq i1 %74, false\n %spec.select9 = select i1 %75, i32 %sv_0.3.lcssa36.reload, i32 1\n %76 = icmp slt i32 %spec.select9, 0\n %77 = icmp eq i1 %76, false\n store i1 %77, i1* %.reg2mem\n store i32 %spec.select9, i32* %sv_0.520.reg2mem\n br label LBL_22\n LBL_18:\n %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem\n %78 = icmp slt i32 %sv_0.5.reload, 0\n %79 = icmp eq i1 %78, false\n %80 = or i32 %sv_0.5.reload, 1\n %81 = icmp eq i32 %80, 3\n %82 = or i1 %81, %79\n store i1 %79, i1* %.reg2mem\n store i32 %sv_0.5.reload, i32* %sv_0.520.reg2mem\n br i1 %82, label LBL_22, label LBL_19\n LBL_19:\n %rcx.318.reload = load i64, i64* %rcx.318.reg2mem\n %r8.319.reload = load i64, i64* %r8.319.reg2mem\n %sv_1.024.in.reload = load i64, i64* %sv_1.024.in.reg2mem\n %sv_1.024 = trunc i64 %sv_1.024.in.reload to i32\n %83 = and i64 %sv_1.024.in.reload, 4294967295\n %84 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %83, i64 %rcx.318.reload, i64 %r8.319.reload, i64 %1)\n %85 = icmp eq i32 %sv_1.024, 0\n store i1 false, i1* %.reg2mem\n store i32 %sv_0.5.reload, i32* %sv_0.520.reg2mem\n br i1 %85, label LBL_22, label LBL_20\n LBL_20:\n store i32 %sv_1.024, i32* %arg1, align 4\n store i32 0, i32* %8, align 4\n %86 = load i64, i64* @gv_1, align 8\n %87 = inttoptr i64 %86 to i64*\n store i64 0, i64* %87, align 8\n %88 = load i64, i64* @gv_1, align 8\n %89 = add i64 %88, 8\n %90 = inttoptr i64 %89 to i64*\n store i64 %3, i64* %90, align 8\n store i32 %sv_1.024, i32* %.in.reg2mem\n br label LBL_21\n LBL_21:\n %.in.reload = load i32, i32* %.in.reg2mem\n %91 = add i32 %.in.reload, -1\n %92 = zext i32 %91 to i64\n %93 = mul i64 %92, 4\n %94 = add i64 %93, %11\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = zext i32 %96 to i64\n %98 = call i64 @FUNC(i64 %97, i64 %4)\n %99 = trunc i64 %98 to i32\n store i32 %99, i32* %95, align 4\n %100 = icmp eq i32 %91, 0\n %101 = icmp eq i1 %100, false\n store i32 %91, i32* %.in.reg2mem\n store i1 false, i1* %.reg2mem\n store i32 %sv_0.5.reload, i32* %sv_0.520.reg2mem\n br i1 %101, label LBL_21, label LBL_22\n LBL_22:\n %sv_0.520.reload = load i32, i32* %sv_0.520.reg2mem\n %.reload = load i1, i1* %.reg2mem\n %102 = call i64 @FUNC(i64 %11)\n %103 = icmp eq i32 %sv_0.520.reload, 0\n %104 = icmp eq i1 %103, false\n %105 = icmp eq i1 %.reload, %104\n %106 = zext i32 %sv_0.520.reload to i64\n %107 = select i1 %105, i64 0, i64 %106\n ret i64 %107\n\n uselistorder i32 %91, { 0, 2, 1 }\n uselistorder i32 %sv_1.024, { 0, 2, 1 }\n uselistorder i64 %sv_1.024.in.reload, { 1, 0 }\n uselistorder i32 %sv_0.5.reload, { 0, 1, 2, 4, 3 }\n uselistorder i32 %sv_0.0.reload, { 0, 1, 4, 3, 2 }\n uselistorder i64 %r8.0.reload, { 0, 2, 1 }\n uselistorder i32 %50, { 0, 1, 3, 2 }\n uselistorder i32 %29, { 1, 0 }\n uselistorder i32* %28, { 2, 3, 0, 1, 4 }\n uselistorder i64 %indvars.iv.reload, { 1, 0, 5, 4, 3, 6, 2 }\n uselistorder i64 %r8.231.reload, { 0, 3, 1, 2 }\n uselistorder i32 %sv_2.026.reload, { 3, 4, 2, 1, 0 }\n uselistorder i64 %11, { 4, 0, 3, 1, 2 }\n uselistorder i32* %8, { 0, 2, 1, 3 }\n uselistorder i64 %4, { 4, 3, 2, 5, 0, 1, 6, 7 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.231.reg2mem, { 1, 0 }\n uselistorder i32* %sv_2.026.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.117.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %r8.01316.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i32* %sv_0.3.lcssa36.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.024.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.319.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.318.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.5.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @l3e_get_flags, { 1, 0 }\n uselistorder i1 false, { 5, 0, 6, 1, 7, 2, 8, 9, 10, 11, 12, 4, 3 }\n uselistorder i64 (i64)* @is_pv_32bit_domain, { 1, 0 }\n uselistorder i32* %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_22, { 0, 1, 3, 2 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 3, 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_apprentice_8358", "fun_name": "file_apprentice", "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 %storemerge38.reg2mem = alloca i64\n %rcx.1.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i8*\n %sv_0.09.reg2mem = alloca i32\n %rcx.110.reg2mem = alloca i64\n %storemerge411.reg2mem = alloca i64\n %storemerge515.reg2mem = alloca i64\n %storemerge16.reg2mem = alloca i64\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 %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC()\n %6 = icmp eq i64 %arg2, 0\n %7 = icmp eq i1 %6, false\n store i64 %arg2, i64* %sv_2.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i8* @getenv(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %9 = ptrtoint i8* %8 to i64\n store i64 %9, i64* %sv_2.0.reg2mem\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %10 = ashr exact i64 %sext, 32\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %11 = icmp eq i64 %sv_2.0.reload, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %storemerge16.reg2mem\n br i1 %12, label LBL_7, label LBL_3\n LBL_3:\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %13 = mul i64 %storemerge16.reload, 8\n %14 = add i64 %13, %3\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()\n store i64 %18, i64* %15, align 8\n %19 = icmp eq i64 %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, i64 1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_5:\n %22 = add nuw nsw i64 %storemerge16.reload, 1\n %23 = icmp ult i64 %22, 10\n store i64 %22, i64* %storemerge16.reg2mem\n br i1 %23, label LBL_3, label LBL_6\n LBL_6:\n %24 = trunc i64 %10 to i32\n %25 = call i64 @FUNC(i64 %3, i64 %sv_2.0.reload, i32 %24)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_7:\n %26 = call i64 @FUNC(i64 %sv_2.0.reload)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %storemerge515.reg2mem\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = inttoptr i64 %sv_2.0.reload to i8*\n %30 = call i32 @strlen(i8* %29)\n %31 = sext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %3, i64 %31)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_9:\n %storemerge515.reload = load i64, i64* %storemerge515.reg2mem\n %33 = mul i64 %storemerge515.reload, 8\n %34 = add i64 %33, %3\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()\n store i64 %38, i64* %35, align 8\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_14, label LBL_10\n LBL_10:\n %41 = call i64 @FUNC(i64 %3, i64 1)\n %42 = icmp eq i64 %storemerge515.reload, 0\n br i1 %42, label LBL_13, label LBL_11\n LBL_11:\n %43 = add nsw i64 %storemerge515.reload, -1\n %44 = mul i64 %43, 8\n %45 = add i64 %44, %3\n %46 = inttoptr i64 %45 to i64*\n %47 = icmp eq i64 %43, 0\n %48 = icmp eq i1 %47, false\n br label LBL_12\n LBL_12:\n %49 = load i64, i64* %46, align 8\n %50 = call i64 @FUNC(i64 %49)\n br i1 %48, label LBL_12, label LBL_13\n LBL_13:\n %51 = call i64 @FUNC(i64 %26)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_14:\n %52 = add nuw nsw i64 %storemerge515.reload, 1\n %53 = icmp ult i64 %52, 10\n store i64 %52, i64* %storemerge515.reg2mem\n br i1 %53, label LBL_9, label LBL_15\n LBL_15:\n %54 = trunc i64 %10 to i32\n store i64 %26, i64* %storemerge411.reg2mem\n store i64 9, i64* %rcx.110.reg2mem\n store i32 -1, i32* %sv_0.09.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %rcx.110.reload = load i64, i64* %rcx.110.reg2mem\n %storemerge411.reload = load i64, i64* %storemerge411.reg2mem\n %55 = inttoptr i64 %storemerge411.reload to i8*\n %56 = call i8* @strchr(i8* %55, i32 58)\n %57 = icmp eq i8* %56, null\n store i8* null, i8** %sv_1.0.reg2mem\n br i1 %57, label LBL_18, label LBL_17\n LBL_17:\n %58 = ptrtoint i8* %56 to i64\n %59 = add i64 %58, 1\n %60 = inttoptr i64 %59 to i8*\n store i8 0, i8* %56, align 1\n store i8* %60, i8** %sv_1.0.reg2mem\n br label LBL_18\n LBL_18:\n %61 = load i8, i8* %55, align 1\n %62 = icmp eq i8 %61, 0\n store i32 %sv_0.09.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %rcx.110.reload, i64* %rcx.1.lcssa.reg2mem\n br i1 %62, label LBL_20, label LBL_19\n LBL_19:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %63 = call i64 @FUNC(i64 %3, i64 %storemerge411.reload, i32 %54)\n %64 = trunc i64 %63 to i32\n %65 = sub i32 %sv_0.09.reload, %64\n %66 = xor i32 %sv_0.09.reload, %64\n %67 = xor i32 %65, %sv_0.09.reload\n %68 = and i32 %67, %66\n %69 = icmp slt i32 %68, 0\n %70 = icmp slt i32 %65, 0\n %71 = icmp eq i1 %70, %69\n %72 = select i1 %71, i32 %sv_0.09.reload, i32 %64\n %73 = ptrtoint i8* %sv_1.0.reload to i64\n %74 = icmp eq i8* %sv_1.0.reload, null\n %75 = icmp eq i1 %74, false\n store i64 %73, i64* %storemerge411.reg2mem\n store i64 %storemerge411.reload, i64* %rcx.110.reg2mem\n store i32 %72, i32* %sv_0.09.reg2mem\n store i32 %72, i32* %sv_0.0.lcssa.reg2mem\n store i64 %storemerge411.reload, i64* %rcx.1.lcssa.reg2mem\n br i1 %75, label LBL_16, label LBL_20\n LBL_20:\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %76 = call i64 @FUNC(i64 %26)\n %77 = icmp eq i32 %sv_0.0.lcssa.reload, -1\n %78 = icmp eq i1 %77, false\n store i64 0, i64* %storemerge38.reg2mem\n br i1 %78, label LBL_23, label LBL_21\n LBL_21:\n %storemerge38.reload = load i64, i64* %storemerge38.reg2mem\n %79 = mul i64 %storemerge38.reload, 8\n %80 = add i64 %79, %3\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = call i64 @FUNC(i64 %82)\n store i64 0, i64* %81, align 8\n %84 = add nuw nsw i64 %storemerge38.reload, 1\n %exitcond = icmp eq i64 %84, 10\n store i64 %84, i64* %storemerge38.reg2mem\n br i1 %exitcond, label LBL_22, label LBL_21\n LBL_22:\n %85 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.lcssa.reload, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_23:\n %86 = add i32 %54, -1\n %87 = icmp ult i32 %86, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %87, label LBL_25, label LBL_24\n LBL_24:\n %88 = and i64 %10, 4294967295\n %89 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %88, i64 %2, i64 %1)\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 i32 %64, { 1, 0, 2 }\n uselistorder i8* %sv_1.0.reload, { 1, 0 }\n uselistorder i8* %56, { 1, 0, 2 }\n uselistorder i32 %sv_0.09.reload, { 2, 3, 4, 1, 0 }\n uselistorder i64 %43, { 1, 0 }\n uselistorder i64 %26, { 1, 0, 2, 3 }\n uselistorder i64 %sv_2.0.reload, { 2, 0, 3, 1 }\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i64 %3, { 9, 8, 0, 7, 1, 10, 2, 6, 4, 5, 3, 11 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge515.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge411.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.110.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge38.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 7, 4, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @file_error, { 1, 0 }\n uselistorder i8* null, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i64 (i64)* @efree, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @apprentice_1, { 1, 0 }\n uselistorder i64 4294967295, { 3, 5, 2, 4, 1, 0 }\n uselistorder i64 (i64, i64)* @file_oomem, { 2, 1, 0 }\n uselistorder i64 ()* @mlist_alloc, { 1, 0 }\n uselistorder i64 (i64)* @mlist_free, { 3, 2, 1, 0 }\n uselistorder label LBL_25, { 1, 0, 2, 3, 4, 6, 5 }\n uselistorder label LBL_21, { 1, 0 }\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": "drm_vblank_get_3794", "fun_name": "drm_vblank_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 %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 = add i64 %2, 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 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_7\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %10 = and i64 %1, 4294967295\n %11 = ashr exact i64 %sext, 32\n %12 = icmp slt i64 %11, %10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_7\n LBL_2:\n %13 = ashr exact i64 %sext, 29\n %14 = add i64 %6, %13\n %15 = add i64 %2, 16\n %16 = call i64 @FUNC(i64 %15, i64 %3)\n %17 = add i64 %14, 4\n %18 = call i64 @FUNC(i64 1, i64 %17)\n %19 = trunc i64 %18 to i32\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 = and i64 %arg2, 4294967295\n %23 = call i64 @FUNC(i64 %2, i64 %22)\n %phitmp = and i64 %23, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n %24 = inttoptr i64 %14 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 store i64 0, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %17)\n store i64 4294967274, 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 %29 = call i64 @FUNC(i64 %15, i64 %3)\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 %14, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967274, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_ccm_auth_4078", "fun_name": "crypto_ccm_auth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) 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 %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %2)\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, 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 = add i64 %5, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %10, i64 %2, i32 %arg3)\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_5, label LBL_1\n LBL_1:\n %18 = inttoptr i64 %5 to i32*\n %19 = trunc i64 %1 to i32\n %20 = call i64 @FUNC(i64 %7, i64 %10, i64 %10)\n %21 = icmp eq i32 %19, 0\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = bitcast i64* %rdi to i32*\n %23 = and i64 %1, 4294967295\n %24 = call i64 @FUNC(i64 %13, i64 %23)\n %25 = trunc i64 %24 to i32\n store i32 %25, i32* %18, align 4\n %26 = load i32, i32* %22, align 8\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 %7, i64 %5, i64 %29, i32 %26)\n br label LBL_4\n LBL_3:\n store i32 0, i32* %18, align 4\n br label LBL_4\n LBL_4:\n %31 = ptrtoint i64* %arg2 to i64\n %32 = call i64 @FUNC(i64 %7, i64 %5, i64 %31, i32 %arg3)\n br label LBL_5\n LBL_5:\n %33 = and i64 %14, 4294967295\n ret i64 %33\n\n uselistorder i32* %18, { 1, 0 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @get_data_to_compute, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofputil_protocols_from_ofp_version_10137", "fun_name": "ofputil_protocols_from_ofp_version", "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 3, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_7 [\n i32 0, label LBL_8\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 ]\n LBL_1:\n store i64 4, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n store i64 8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n store i64 16, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n store i64 32, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n store i64 64, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n store i64 128, i64* %rax.0.reg2mem\n br 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 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_8, { 7, 1, 2, 3, 4, 5, 6, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AppLayerProtoDetectUnittestsRegister_8849", "fun_name": "AppLayerProtoDetectUnittestsRegister", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 4198710)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 4198717)\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 4198724)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 4198731)\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 4198738)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 4198745)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 4198752)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_7, i64 0, i64 0), i64 4198759)\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_8, i64 0, i64 0), i64 4198766)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 4198773)\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_10, i64 0, i64 0), i64 4198780)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_11, i64 0, i64 0), i64 4198787)\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_12, i64 0, i64 0), i64 4198794)\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_13, i64 0, i64 0), i64 4198801)\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_14, i64 0, i64 0), i64 4198808)\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_15, i64 0, i64 0), i64 4198815)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_16, i64 0, i64 0), i64 4198822)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_17, i64 0, i64 0), i64 4198829)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_18, i64 0, i64 0), i64 4198836)\n ret i64 %19\n\n uselistorder i64 (i8*, i64)* @UtRegisterTest, { 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": "alloc_temp_12373", "fun_name": "alloc_temp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = add i64 %0, %arg1\n store i64 %1, i64* @gv_1, align 8\n %2 = load i64, i64* @gv_2, align 8\n %3 = icmp ugt i64 %1, %2\n store i64 %0, i64* %.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC()\n %5 = load i64, i64* @gv_0, align 8\n %6 = add i64 %5, %arg1\n store i64 %6, i64* @gv_1, align 8\n store i64 %5, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "svg_report_6269", "fun_name": "svg_report", "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 %rdi.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 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 store i64 1, i64* %rdi.0.reg2mem\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 = ptrtoint i64* %sv_0 to i64\n %29 = bitcast i64* %sv_0 to i8*\n %30 = call i32 @vsnprintf(i8* nonnull %29, i32 2048, i8* %arg3, i64 %27)\n %31 = call i64 @FUNC(i64 %28)\n %32 = call i64 @FUNC(i64 %., i64 1, i64* nonnull %sv_0, i64 %., i64 %arg5, i64 %arg6)\n store i64 %., i64* %rdi.0.reg2mem\n br label LBL_4\n LBL_4:\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %33 = ptrtoint i64* %arg1 to i64\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %34 = add i64 %33, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 %22, i32* %35, align 4\n %36 = call i64 @FUNC(i64 %rdi.0.reload, i64 1)\n br label LBL_6\n LBL_6:\n %37 = and i64 %21, 4294967295\n ret i64 %37\n\n uselistorder i64 %., { 0, 2, 1, 3 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 4, 5, 0, 6, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_fillrect_6741", "fun_name": "bm_fillrect", "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 %.lcssa.reg2mem = alloca i64\n %.reg2mem34 = alloca i32\n %.reg2mem32 = alloca i32\n %.reg2mem30 = alloca i32\n %storemerge1216.reg2mem = alloca i32\n %.reg2mem28 = alloca i64\n %.reg2mem26 = alloca i32\n %storemerge19.reg2mem = alloca i32\n %.reg2mem24 = alloca i64\n %.reg2mem22 = alloca i32\n %.reg2mem = alloca i32\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_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 20, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext5, 32\n %sext7 = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext7, 32\n %7 = trunc i64 %6 to i32\n %8 = trunc i64 %5 to i32\n %9 = icmp slt i32 %7, %8\n %sv_0.0 = select i1 %9, i64 %6, i64 %5\n %sv_1.0 = select i1 %9, i64 %5, i64 %6\n %10 = add i64 %4, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = trunc i64 %sv_0.0 to i32\n %14 = sub i32 %13, %12\n %15 = xor i32 %12, %13\n %16 = xor i32 %14, %13\n %17 = and i32 %16, %15\n %18 = icmp slt i32 %17, 0\n %19 = icmp slt i32 %14, 0\n %20 = icmp eq i1 %19, %18\n %21 = select i1 %20, i32 %13, i32 %12\n %22 = add i64 %4, 20\n %23 = inttoptr i64 %22 to i32*\n %24 = trunc i64 %sv_1.0 to i32\n %25 = add i32 %24, 1\n %26 = load i32, i32* %23, align 4\n %27 = sub i32 %26, %25\n %28 = xor i32 %26, %25\n %29 = xor i32 %27, %26\n %30 = and i32 %29, %28\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i32 %27, 0\n %33 = icmp slt i32 %27, 0\n %34 = icmp eq i1 %33, %31\n %35 = icmp eq i1 %32, false\n %36 = icmp eq i1 %34, %35\n %37 = select i1 %36, i32 %25, i32 %26\n %38 = zext i32 %37 to i64\n %39 = sext i32 %21 to i64\n %40 = icmp slt i64 %39, %38\n store i64 %38, i64* %.lcssa.reg2mem\n br i1 %40, label LBL_3, label LBL_10\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n %41 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg4, 4294967296\n %42 = ashr exact i64 %sext6, 32\n %43 = trunc i64 %42 to i32\n %44 = trunc i64 %41 to i32\n %45 = icmp slt i32 %43, %44\n %sv_2.0 = select i1 %45, i64 %42, i64 %41\n %sv_3.0 = select i1 %45, i64 %41, i64 %42\n %46 = add i64 %4, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = trunc i64 %sv_2.0 to i32\n %49 = add i64 %4, 16\n %50 = inttoptr i64 %49 to i32*\n %51 = trunc i64 %sv_3.0 to i32\n %52 = add i32 %51, 1\n %53 = add i64 %4, 4\n %54 = inttoptr i64 %53 to i32*\n %55 = and i64 %1, 4294967295\n %.pre = load i32, i32* %50, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem22\n store i64 %39, i64* %.reg2mem24\n store i32 %21, i32* %storemerge19.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge19.reload = load i32, i32* %storemerge19.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %.reload23 = load i32, i32* %.reg2mem22\n %.reload = load i32, i32* %.reg2mem\n %56 = load i32, i32* %47, align 4\n %57 = sub i32 %48, %56\n %58 = xor i32 %56, %48\n %59 = xor i32 %57, %48\n %60 = and i32 %59, %58\n %61 = icmp slt i32 %60, 0\n %62 = icmp slt i32 %57, 0\n %63 = icmp eq i1 %62, %61\n %64 = select i1 %63, i32 %48, i32 %56\n %65 = icmp slt i32 %storemerge19.reload, 0\n %66 = sub i32 %.reload23, %52\n %67 = xor i32 %.reload23, %52\n %68 = xor i32 %66, %.reload23\n %69 = and i32 %68, %67\n %70 = icmp slt i32 %69, 0\n %71 = icmp eq i32 %66, 0\n %72 = icmp slt i32 %66, 0\n %73 = icmp eq i1 %72, %70\n %74 = icmp eq i1 %71, false\n %75 = icmp eq i1 %73, %74\n %76 = select i1 %75, i32 %52, i32 %.reload23\n %77 = zext i32 %76 to i64\n %78 = sext i32 %64 to i64\n %79 = icmp slt i64 %78, %77\n store i32 %.reload, i32* %.reg2mem26\n store i64 %78, i64* %.reg2mem28\n store i32 %64, i32* %storemerge1216.reg2mem\n store i32 %.reload, i32* %.reg2mem32\n store i32 %.reload23, i32* %.reg2mem34\n br i1 %79, label LBL_5, label LBL_9\n LBL_5:\n %storemerge1216.reload = load i32, i32* %storemerge1216.reg2mem\n br i1 %65, label LBL_7, label LBL_6\n LBL_6:\n %.reload29 = load i64, i64* %.reg2mem28\n %.reload27 = load i32, i32* %.reg2mem26\n %80 = load i32, i32* %54, align 4\n %81 = zext i32 %80 to i64\n %82 = icmp slt i64 %.reload25, %81\n %83 = icmp sgt i32 %storemerge1216.reload, -1\n %or.cond.not = icmp eq i1 %83, %82\n %84 = icmp sgt i64 %55, %.reload29\n %or.cond15 = icmp eq i1 %84, %or.cond.not\n store i32 %.reload27, i32* %.reg2mem30\n br i1 %or.cond15, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n %.pre21 = load i32, i32* %50, align 4\n store i32 %.pre21, i32* %.reg2mem30\n br label LBL_8\n LBL_8:\n %.reload31 = load i32, i32* %.reg2mem30\n %85 = add i32 %storemerge1216.reload, 1\n %86 = sub i32 %.reload31, %52\n %87 = xor i32 %.reload31, %52\n %88 = xor i32 %86, %.reload31\n %89 = and i32 %88, %87\n %90 = icmp slt i32 %89, 0\n %91 = icmp eq i32 %86, 0\n %92 = icmp slt i32 %86, 0\n %93 = icmp eq i1 %92, %90\n %94 = icmp eq i1 %91, false\n %95 = icmp eq i1 %93, %94\n %96 = select i1 %95, i32 %52, i32 %.reload31\n %97 = zext i32 %96 to i64\n %98 = sext i32 %85 to i64\n %99 = icmp slt i64 %98, %97\n store i32 %.reload31, i32* %.reg2mem26\n store i64 %98, i64* %.reg2mem28\n store i32 %85, i32* %storemerge1216.reg2mem\n store i32 %.reload31, i32* %.reg2mem32\n store i32 %.reload31, i32* %.reg2mem34\n br i1 %99, label LBL_5, label LBL_9\n LBL_9:\n %.reload35 = load i32, i32* %.reg2mem34\n %.reload33 = load i32, i32* %.reg2mem32\n %100 = add i32 %storemerge19.reload, 1\n %101 = load i32, i32* %23, align 4\n %102 = sub i32 %101, %25\n %103 = xor i32 %101, %25\n %104 = xor i32 %102, %101\n %105 = and i32 %104, %103\n %106 = icmp slt i32 %105, 0\n %107 = icmp eq i32 %102, 0\n %108 = icmp slt i32 %102, 0\n %109 = icmp eq i1 %108, %106\n %110 = icmp eq i1 %107, false\n %111 = icmp eq i1 %109, %110\n %112 = select i1 %111, i32 %25, i32 %101\n %113 = zext i32 %112 to i64\n %114 = sext i32 %100 to i64\n %115 = icmp slt i64 %114, %113\n store i32 %.reload33, i32* %.reg2mem\n store i32 %.reload35, i32* %.reg2mem22\n store i64 %114, i64* %.reg2mem24\n store i32 %100, i32* %storemerge19.reg2mem\n store i64 %113, i64* %.lcssa.reg2mem\n br i1 %115, label LBL_4, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %102, { 1, 2, 0 }\n uselistorder i32 %101, { 2, 0, 1, 3 }\n uselistorder i32 %86, { 1, 2, 0 }\n uselistorder i32 %.reload31, { 0, 1, 6, 4, 2, 3, 5 }\n uselistorder i32 %storemerge1216.reload, { 1, 0 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i32 %56, { 1, 0, 2 }\n uselistorder i32 %storemerge19.reload, { 1, 0 }\n uselistorder i32 %52, { 5, 3, 4, 0, 1, 2 }\n uselistorder i32 %48, { 2, 0, 1, 3 }\n uselistorder i64 %42, { 1, 0, 2 }\n uselistorder i32 %25, { 5, 3, 4, 0, 1, 2 }\n uselistorder i32* %23, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %13, { 2, 0, 1, 3 }\n uselistorder i32 %12, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0, 2, 3, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem22, { 1, 0, 2 }\n uselistorder i64* %.reg2mem24, { 1, 0, 2 }\n uselistorder i32* %storemerge19.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem26, { 2, 0, 1 }\n uselistorder i64* %.reg2mem28, { 2, 0, 1 }\n uselistorder i32* %storemerge1216.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 12, 13, 14, 7, 8, 9, 3, 4, 5, 6, 10, 11, 0, 1, 2, 15, 16 }\n uselistorder i64 32, { 1, 3, 0, 2 }\n uselistorder i64 4294967296, { 1, 3, 0, 2 }\n uselistorder i1 false, { 3, 2, 1, 0, 4 }\n uselistorder i64* %arg1, { 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": "sanitize_key_7989", "fun_name": "sanitize_key", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64 0, i64 0, i64 %0, i64 3)\n %3 = urem i64 %arg1, 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 %0)\n br label LBL_2\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 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_10, label LBL_3\n LBL_3:\n %10 = and i64 %arg1, 2\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_6, label LBL_4\n LBL_4:\n %12 = add i64 %8, -1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 42\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n store i8 0, i8* %13, align 1\n store i32 1, i32* %arg5, align 4\n %17 = load i64, i64* %7, align 8\n %18 = add i64 %17, -1\n store i64 %18, i64* %7, align 8\n br label LBL_6\n LBL_6:\n %19 = and i64 %arg1, 4\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 %0)\n br label LBL_8\n LBL_8:\n %22 = and i64 %arg1, 8\n %23 = icmp eq i64 %22, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %24 = call i64 @FUNC(i64 %0)\n store i64 %24, 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* %7, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 0 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "leva_Read_9921", "fun_name": "leva_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 %indvars.iv4.reg2mem = alloca i64\n %.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 ult i32 %2, 4\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_12, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %rdi to i32*\n %7 = call i64 @FUNC(i64 %4)\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 256\n %10 = add i64 %5, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = load i32, i32* %6, align 8\n %13 = add i32 %12, -4\n %14 = bitcast i64* %arg1 to i32*\n store i32 %13, i32* %14, align 4\n %15 = load i32, i32* %11, align 4\n %16 = mul i32 %15, 20\n %17 = call i64* @malloc(i32 %16)\n %18 = ptrtoint i64* %17 to i64\n %19 = add i64 %5, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = icmp eq i64* %17, null\n %22 = icmp eq i1 %21, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_2, label LBL_12\n LBL_2:\n %23 = load i32, i32* %11, align 4\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_12, label LBL_3\n LBL_3:\n %25 = load i32, i32* %6, align 8\n %26 = icmp ult i32 %25, 5\n store i64 %18, i64* %.reg2mem\n store i64 0, i64* %indvars.iv4.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %26, label LBL_12, label LBL_4\n LBL_4:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %27 = inttoptr i64 %.reload to i32*\n %28 = call i64 @FUNC(i64 %4)\n %29 = trunc i64 %28 to i32\n store i32 %29, i32* %27, align 4\n %30 = call i64 @FUNC(i64 %4)\n %31 = udiv i64 %30, 128\n %32 = trunc i64 %31 to i8\n %33 = urem i8 %32, 2\n %34 = add i64 %.reload, 4\n %35 = inttoptr i64 %34 to i8*\n store i8 %33, i8* %35, align 1\n %36 = trunc i64 %30 to i8\n %37 = urem i8 %36, -128\n %38 = add i64 %.reload, 5\n %39 = inttoptr i64 %38 to i8*\n store i8 %37, i8* %39, align 1\n %40 = icmp eq i8 %37, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_6, label LBL_5\n LBL_5:\n %42 = call i64 @FUNC(i64 %4)\n %43 = trunc i64 %42 to i32\n %44 = add i64 %.reload, 8\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n br label LBL_10\n LBL_6:\n %46 = icmp eq i8 %37, 1\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)\n %49 = trunc i64 %48 to i32\n %50 = add i64 %.reload, 8\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n %52 = call i64 @FUNC(i64 %4)\n %53 = trunc i64 %52 to i32\n %54 = add i64 %.reload, 12\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n br label LBL_10\n LBL_8:\n %56 = icmp eq i8 %37, 4\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = call i64 @FUNC(i64 %4)\n %59 = trunc i64 %58 to i32\n %60 = add i64 %.reload, 16\n %61 = inttoptr i64 %60 to i32*\n store i32 %59, i32* %61, align 4\n br label LBL_10\n LBL_10:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv4.reload, 1\n %62 = load i32, i32* %11, align 4\n %63 = zext i32 %62 to i64\n %64 = icmp ult i64 %indvars.iv.next, %63\n store i64 0, i64* %rax.0.reg2mem\n br i1 %64, label LBL_10.dec_label_pc_4011e3_crit_edge, label LBL_12\n LBL_11:\n %.pre = load i64, i64* %20, align 8\n %65 = mul nuw nsw i64 %indvars.iv.next, 20\n %66 = add i64 %65, %.pre\n %67 = load i32, i32* %6, align 8\n %68 = icmp ult i32 %67, 5\n store i64 %66, i64* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv4.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %68, label LBL_12, label LBL_4\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %37, { 2, 1, 0, 3 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32* %11, { 1, 0, 2, 3 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 1, 2, 0, 5, 4, 6 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv4.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @gf_bs_read_u32, { 4, 3, 2, 1, 0 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i64 0, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 (i64)* @gf_bs_read_u8, { 1, 0 }\n uselistorder i64 1, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_12, { 2, 1, 0, 3, 4, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_size_safe_to_change_9349", "fun_name": "is_size_safe_to_change", "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 i1 %2, false\n store i64 1, 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 = trunc i64 %5 to i8\n %7 = icmp ne i8 %6, 0\n %8 = urem i64 %1, 2\n %9 = icmp eq i64 %8, 0\n %or.cond = icmp eq i1 %9, %7\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %4)\n %11 = icmp ult i64 %10, %arg2\n %. = zext i1 %11 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* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmap_4300", "fun_name": "vmap", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %0 = mul i32 %arg2, 4096\n %1 = zext i32 %0 to i64\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %1)\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_3\n LBL_1:\n %6 = icmp eq i32 %arg2, 0\n store i32 0, i32* %storemerge12.reg2mem\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %7 = sext i32 %storemerge12.reload to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %8, %arg1\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = or i64 %11, %arg4\n %13 = mul i32 %storemerge12.reload, 4096\n %14 = sext i32 %13 to i64\n %15 = add i64 %3, %14\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 %16, i64 %15, i64 %12, i64 3, i64 7)\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC(i64 %18)\n %20 = add nuw i32 %storemerge12.reload, 1\n %exitcond = icmp eq i32 %20, %arg2\n store i32 %20, i32* %storemerge12.reg2mem\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge12.reload, { 0, 2, 1 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64 ()* @pmap_kernel, { 1, 0 }\n uselistorder i32 %arg2, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nodelist_set_routerinfo_10364", "fun_name": "nodelist_set_routerinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\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 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %0)\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_5, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %5, 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 %3)\n br label LBL_3\n LBL_3:\n %12 = icmp eq i64* %arg2, null\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_7, label LBL_4\n LBL_4:\n %13 = load i64, i64* %4, align 8\n store i64 %13, i64* %arg2, align 8\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %14 = icmp eq i64* %arg2, null\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n store i64 0, i64* %arg2, align 8\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 %0, i64* %4, align 8\n %15 = add i64 %3, 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_9, label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i64 %3)\n br label LBL_9\n LBL_9:\n %21 = call i64 @FUNC()\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 i32 %sv_0.0.reload, 0\n %26 = icmp eq i1 %25, false\n %or.cond = or i1 %26, %24\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_10:\n store i64 0, i64* %sv_1, align 8\n %27 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 1)\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %3, i64 %28)\n br label LBL_11\n LBL_11:\n ret i64 %3\n\n uselistorder i64* %4, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 1, 4, 3, 0, 5 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ch7006_encoder_create_resources_17689", "fun_name": "ch7006_encoder_create_resources", "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 %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1, i64 10, i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64 %1, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 2)\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 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = bitcast i64* %rdi to i32*\n %11 = load i32, i32* %10, align 8\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %0, i64 %12, i32 %9)\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, 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 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %0, i64 %20, i32 %16)\n %22 = add i64 %2, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, 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 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %0, i64 %28, i32 %24)\n %30 = add i64 %2, 16\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %1, 12\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 %0, i64 %36, i32 %32)\n %38 = add i64 %2, 20\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, 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 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %0, i64 %44, i32 %40)\n %46 = add i64 %2, 24\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %1, 20\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 %0, i64 %52, i32 %48)\n %54 = add i64 %2, 28\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i64 %1, 24\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i64 %0, i64 %60, i32 %56)\n %62 = add i64 %2, 32\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = add i64 %1, 28\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 %0, i64 %68, i32 %64)\n %70 = add i64 %2, 36\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = load i32, i32* %6, align 4\n %74 = zext i32 %73 to i64\n %75 = call i64 @FUNC(i64 %0, i64 %74, i32 %72)\n ret i64 0\n\n uselistorder i64 %0, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i32)* @drm_object_attach_property, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "grlib_gptimer_enable_2080", "fun_name": "grlib_gptimer_enable", "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 %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 ([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 37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([14 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 = call i64 @FUNC(i64 %rdi.0.reload)\n %4 = add i64 %0, 8\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_4, label LBL_3\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 = zext i32 %6 to i64\n %14 = zext i32 %12 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %13)\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %0, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %18 to i64\n %23 = zext i32 %21 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %22)\n %25 = load i32, i32* %17, align 4\n %26 = sext i32 %25 to i64\n %27 = add nsw i64 %26, 1\n %28 = call i64 @FUNC(i64 %23, i64 %27)\n %29 = call i64 @FUNC(i64 %23, i64 1)\n store i64 %29, 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 %6, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder [14 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "intsetResize_6361", "fun_name": "intsetResize", "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 = and i64 %arg2, 4294967295\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = and i64 %4, 4294967295\n %narrow = mul nuw i64 %5, %2\n %6 = icmp ult i64 %narrow, -4\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, 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_2\n LBL_2:\n %7 = add i64 %narrow, 4\n %8 = call i64 @FUNC(i64 %arg1, i64 %7)\n ret i64 %8\n\n uselistorder i64 4294967295, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prefs_register_protocol_subtree_18019", "fun_name": "prefs_register_protocol_subtree", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem8 = 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 br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 0)\n store i64 %3, i64* @gv_0, align 8\n store i64 %3, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %4 = icmp eq i8* %arg1, null\n store i64 %.reload, i64* %sv_0.1.reg2mem\n br i1 %4, label LBL_10, label LBL_3\n LBL_3:\n %5 = ptrtoint i8* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %6, 0\n store i64 %6, i64* %.in.reg2mem\n store i64 %.reload, i64* %sv_0.05.reg2mem\n store i64 %.reload, i64* %sv_0.1.reg2mem\n br i1 %7, label LBL_10, label LBL_9\n LBL_4:\n %8 = call i8* @strchr(i8* nonnull %17, i32 47)\n %9 = icmp eq i8* %8, null\n %10 = ptrtoint i8* %8 to i64\n store i64 %10, i64* %.reg2mem8\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %11 = add i64 %10, 1\n store i8 0, i8* %8, align 1\n store i64 %11, i64* %.reg2mem8\n br label LBL_6\n LBL_6:\n %.reload9 = load i64, i64* %.reg2mem8\n %12 = call i64 @FUNC(i64 %sv_0.05.reload, i64 %.in.reload)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %sv_1.0.reg2mem\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %15 = call i64 @FUNC(i64 %sv_0.05.reload, i8* %17, i64 0)\n store i64 %15, 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 %16 = icmp eq i64 %.reload9, 0\n store i64 %.reload9, i64* %.in.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_0.05.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_0.1.reg2mem\n br i1 %16, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %17 = inttoptr i64 %.in.reload 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 %sv_0.05.reload, i64* %sv_0.1.reg2mem\n br i1 %20, label LBL_4, label LBL_10\n LBL_10:\n %21 = and i64 %arg2, 4294967295\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 %21)\n %24 = call i64 @FUNC(i64 %22)\n %25 = call i64 @FUNC(i64 %21)\n %26 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %25, i64 %24, i64 %23, i64 %arg3)\n ret i64 %26\n\n uselistorder i8* %17, { 2, 1, 0 }\n uselistorder i64 %sv_0.05.reload, { 0, 2, 1 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i8* %8, { 1, 0, 2 }\n uselistorder i64 %.reload, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem8, { 0, 2, 1 }\n uselistorder i64* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @prefs_register_subtree, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i8* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "assign_failed_examine_685", "fun_name": "assign_failed_examine", "llvm_ir_function": "define i64 @FUNC(i16* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i16* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i16, align 2\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 store i64 0, i64* %sv_5, align 8\n %3 = bitcast i64* %sv_4 to i8*\n call void @FUNC(i8* nonnull %3, i64 0, i64 510)\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = add i64 %2, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = add i64 %2, 2\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = trunc i64 %1 to i32\n %14 = zext i8 %6 to i32\n %15 = zext i8 %9 to i32\n %16 = zext i8 %12 to i32\n %17 = urem i32 %13, 65536\n %18 = bitcast i64* %sv_3 to i8*\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %18, i32 4096, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i32 %17, i32 %16, i32 %15, i32 %14)\n %20 = bitcast i64* %sv_2 to i8*\n %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 4096, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_3)\n %22 = bitcast i64* %sv_5 to i8*\n %23 = call i32 @readlink(i8* nonnull %20, i8* nonnull %22, i32 4096)\n %24 = icmp sgt i32 %23, 0\n %25 = icmp ult i32 %23, 4096\n %or.cond = icmp eq i1 %24, %25\n br i1 %or.cond, label LBL_1, label LBL_5\n LBL_1:\n %26 = ptrtoint i64* %sv_6 to i64\n %27 = sext i32 %23 to i64\n %28 = add i64 %26, -12352\n %29 = add i64 %28, %27\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = call i8* @strrchr(i8* nonnull %22, i32 47)\n %32 = icmp eq i8* %31, null\n br i1 %32, label LBL_5, label LBL_2\n LBL_2:\n %33 = bitcast i16* %sv_1 to i64*\n %34 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %33)\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_5, label LBL_3\n LBL_3:\n %38 = bitcast i32* %sv_0 to i64*\n %39 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %38)\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_5, label LBL_4\n LBL_4:\n %43 = bitcast i64* %rdi to i16*\n %44 = ptrtoint i8* %31 to i64\n %45 = add i64 %44, 1\n %46 = load i8, i8* %5, align 1\n %47 = zext i8 %46 to i32\n %48 = load i8, i8* %8, align 1\n %49 = zext i8 %48 to i32\n %50 = load i8, i8* %11, align 1\n %51 = zext i8 %50 to i64\n %52 = load i16, i16* %43, align 8\n %53 = zext i16 %52 to i64\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([386 x i8], [386 x i8]* @gv_2, i64 0, i64 0), i64 %45, i64 %53, i64 %51, i32 %49, i32 %47)\n store i64 %54, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %55 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n store i64 %55, 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* %31, { 1, 0 }\n uselistorder i32 %23, { 1, 2, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fast_get_buffer_space_6110", "fun_name": "fast_get_buffer_space", "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)\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp ult i64 %2, %arg2\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 = call i64 @FUNC(i64 %0, i64 1)\n %6 = call i64 @FUNC(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 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @raw_get_buffer_space, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "picoquic_decode_stream_frame_13264", "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 %2, 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 %2, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_wr_sync_16247", "fun_name": "nbd_wr_sync", "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.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n %5 = trunc i64 %arg4 to i8\n %6 = icmp eq i8 %5, 0\n %7 = and i64 %1, 4294967295\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %8 = trunc i64 %1 to i32\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br label LBL_12\n LBL_2:\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %7, i64 %0, i64 %arg3)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %10 = call i64 @FUNC(i64 %7, i64 %0, i64 %arg3)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n br i1 %6, label LBL_7, label LBL_6\n LBL_6:\n %11 = call i64 @FUNC(i64 %7, i64 %27, i64 %26, i64 0)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %12 = call i32 @send(i32 %8, i64* %28, i32 %29, i32 0)\n %13 = sext i32 %12 to i64\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %14 = icmp slt i64 %storemerge.reload, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_11, label LBL_9\n LBL_9:\n %16 = call i64 @FUNC()\n %17 = trunc i64 %16 to i32\n %18 = icmp ne i32 %17, 4\n %19 = icmp eq i32 %17, 11\n %20 = icmp eq i1 %19, false\n %or.cond = icmp eq i1 %18, %20\n br i1 %or.cond, label LBL_10, label LBL_13\n LBL_10:\n %21 = mul i64 %16, 4294967296\n %sext4 = sub i64 0, %21\n %22 = ashr exact i64 %sext4, 32\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %23 = icmp eq i64 %storemerge.reload, 0\n %24 = add i64 %storemerge.reload, %sv_0.0.ph.reload\n store i64 %24, i64* %sv_0.0.ph.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %rax.0.reg2mem\n br i1 %23, label LBL_14, label LBL_12\n LBL_12:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %25 = icmp ult i64 %sv_0.0.ph.reload, %arg3\n %26 = sub i64 %arg3, %sv_0.0.ph.reload\n %27 = add i64 %sv_0.0.ph.reload, %0\n %28 = inttoptr i64 %27 to i64*\n %29 = trunc i64 %26 to i32\n br label LBL_13\n LBL_13:\n store i64 %sv_0.0.ph.reload, i64* %rax.0.reg2mem\n br i1 %25, 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 %27, { 1, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %sv_0.0.ph.reload, { 1, 4, 3, 2, 5, 0 }\n uselistorder i64 %storemerge.reload, { 2, 1, 0 }\n uselistorder i64 %7, { 2, 0, 1 }\n uselistorder i1 %6, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 }\n uselistorder i32 (i32, i64*, i32, i32)* @send, { 1, 0 }\n uselistorder i64 %arg3, { 3, 2, 0, 1 }\n uselistorder label LBL_14, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unicode_cp_is_allowed_6514", "fun_name": "unicode_cp_is_allowed", "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 sgt i32 %0, 4\n br i1 %1, label LBL_13, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp sgt i32 %0, 2\n br i1 %3, label LBL_10, label LBL_2\n LBL_2:\n switch i32 %0, label LBL_13 [\n i32 1, label LBL_3\n i32 2, label LBL_7\n ]\n LBL_3:\n %4 = trunc i64 %2 to i32\n %.off26 = add i32 %4, -32\n %5 = icmp ult i32 %.off26, 95\n br i1 %5, label LBL_13, label LBL_4\n LBL_4:\n switch i32 %4, label LBL_5 [\n i32 10, label LBL_13\n i32 9, label LBL_13\n i32 13, label LBL_13\n ]\n LBL_5:\n %.off27 = add i32 %4, -160\n %6 = icmp ult i32 %.off27, 55136\n br i1 %6, label LBL_13, label LBL_6\n LBL_6:\n %.off28 = add i32 %4, -57344\n %7 = icmp ult i32 %.off28, 1056768\n %spec.select = zext i1 %7 to i64\n ret i64 %spec.select\n LBL_7:\n %8 = trunc i64 %2 to i32\n %.off21 = add i32 %8, -32\n %9 = icmp ult i32 %.off21, 95\n br i1 %9, label LBL_13, label LBL_8\n LBL_8:\n %.off22 = add i32 %8, -9\n %10 = icmp ult i32 %.off22, 5\n %11 = icmp eq i32 %8, 11\n %12 = icmp eq i1 %11, false\n %or.cond9 = icmp eq i1 %10, %12\n %.off23 = add i32 %8, -160\n %13 = icmp ult i32 %.off23, 55136\n %or.cond = or i1 %13, %or.cond9\n br i1 %or.cond, label LBL_13, label LBL_9\n LBL_9:\n %.off24 = add i32 %8, -57344\n %14 = icmp ugt i32 %.off24, 1056767\n %15 = and i64 %arg1, 65534\n %16 = icmp eq i64 %15, 65534\n %or.cond13 = or i1 %16, %14\n %.off25 = add i32 %8, -64976\n %17 = icmp ult i32 %.off25, 32\n %or.cond33 = or i1 %17, %or.cond13\n %not.or.cond33 = icmp ne i1 %or.cond33, true\n %spec.select34 = zext i1 %not.or.cond33 to i64\n ret i64 %spec.select34\n LBL_10:\n %18 = trunc i64 %2 to i32\n %.off29 = add i32 %18, -32\n %19 = icmp ult i32 %.off29, 55264\n br i1 %19, label LBL_13, label LBL_11\n LBL_11:\n switch i32 %18, label LBL_12 [\n i32 10, label LBL_13\n i32 9, label LBL_13\n i32 13, label LBL_13\n ]\n LBL_12:\n %.off30 = add i32 %18, -57344\n %20 = icmp ult i32 %.off30, 1056768\n %21 = and i32 %18, -2\n %switch = icmp ne i32 %21, 65534\n %not.or.cond19 = icmp eq i1 %switch, %20\n %spec.select20 = zext i1 %not.or.cond19 to i64\n ret i64 %spec.select20\n LBL_13:\n ret i64 1\n\n uselistorder i32 %18, { 0, 1, 3, 2 }\n uselistorder i32 %8, { 0, 2, 1, 5, 3, 4 }\n uselistorder i32 %4, { 0, 1, 3, 2 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i32 %0, { 1, 0, 2 }\n uselistorder i32 -57344, { 0, 2, 1 }\n uselistorder i32 95, { 1, 0 }\n uselistorder i32 -32, { 0, 2, 1 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_13, { 5, 4, 3, 2, 7, 6, 12, 11, 10, 9, 8, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tb_alloc_page_18612", "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 %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 = urem i64 %arg3, 4096\n %25 = or i64 %24, 4096\n store i64 %24, i64* %storemerge3.reg2mem\n store i32 0, i32* %sv_1.12.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %26 = udiv i64 %storemerge3.reload, 4096\n %27 = call i64 @FUNC(i64 %26)\n %28 = icmp eq i64 %27, 0\n store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = add i64 %27, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = or i32 %31, %sv_1.12.reload\n %33 = and i32 %31, -2\n store i32 %33, i32* %30, align 4\n store i32 %32, 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 %34 = add nuw nsw i64 %storemerge3.reload, 4096\n %35 = icmp ult i64 %34, %25\n store i64 %34, i64* %storemerge3.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.12.reg2mem\n br i1 %35, label LBL_2, label LBL_5\n LBL_5:\n %36 = and i32 %sv_1.0.reload, 2\n %37 = call i64 @FUNC(i64 %24)\n %38 = zext i32 %36 to i64\n %39 = call i64 @FUNC(i64 %37, i64 4096, i64 %38)\n %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0))\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %41 = icmp eq i64 %15, 0\n %42 = icmp eq i1 %41, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %42, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %43 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %43, 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 %31, { 1, 0 }\n uselistorder i32 %sv_1.12.reload, { 1, 0 }\n uselistorder i64 %24, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.12.reg2mem, { 1, 0, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64 %arg3, { 1, 0, 2, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "start_auth_vencrypt_subauth_2295", "fun_name": "start_auth_vencrypt_subauth", "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 sgt i32 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_5\n LBL_2:\n %7 = or i32 %3, 1\n %8 = icmp eq i32 %7, 3\n br i1 %8, label LBL_4, label LBL_5\n LBL_3:\n %9 = call i64 @FUNC(i64 %2, i64 0)\n %10 = call i64 @FUNC(i64 %2)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %11 = call i64 @FUNC(i64 %2)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_8\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 = call i64 @FUNC(i64 %2, i32 %14, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %16 = call i64 @FUNC(i64 %2, i64 1)\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp slt i32 %19, 8\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %2, i64 32)\n %22 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 32)\n br label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %2)\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 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 8, 7, 6, 5, 9, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @vnc_write_u32, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_stdio_15550", "fun_name": "qemu_chr_open_stdio", "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()\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(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %4 = call i32 (i32, i32, ...) @fcntl(i32 0, i32 3)\n store i32 %4, i32* bitcast (i64* @gv_1 to i32*), align 8\n %5 = call i32 @tcgetattr(i32 0, %termios* bitcast (%termios** @gv_2 to %termios*))\n %6 = call i64 @FUNC(i64 0)\n %7 = call i64 @FUNC(i64 4198918, i64 ptrtoint (%termios** @gv_2 to i64))\n %8 = call i64 @FUNC(i64 0, i64 1)\n %9 = inttoptr i64 %8 to i64*\n store i64 4198808, i64* %9, align 8\n %10 = add i64 %8, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 4198835, i64* %11, align 8\n %12 = bitcast i64* %rdi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n store i32 %18, i32* bitcast (i64* @gv_3 to i32*), align 8\n br label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %8, i64 0)\n store i64 %8, 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 %termios** @gv_2, { 1, 0 }\n uselistorder i32 (i32, i32, ...)* @fcntl, { 2, 1, 0 }\n uselistorder i32 0, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "format_UNROLL_XLATE_7963", "fun_name": "format_UNROLL_XLATE", "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* @gv_0, align 8\n %7 = load i64*, i64** @gv_1, align 8\n %8 = ptrtoint i64* %7 to i64\n %9 = load i64*, i64** @gv_2, align 8\n %10 = ptrtoint i64* %9 to i64\n %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %10, i64 %6, i64 %8, i64 %6)\n ret i64 %11\n\n uselistorder i64 %6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_single_string_alloc_and_copy_13463", "fun_name": "_single_string_alloc_and_copy", "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 %storemerge13.reg2mem = alloca i32\n %.reg2mem10 = alloca i32\n %.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 i32 0, i32* %sv_0.0.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %2 = sext i32 %sv_0.0.reload to i64\n %3 = mul i64 %2, 4\n %4 = add i64 %3, %arg1\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 %9 = add i32 %sv_0.0.reload, 1\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_2:\n %10 = call i64* @malloc(i32 %9)\n %11 = ptrtoint i64* %10 to i64\n %12 = inttoptr i64 %arg1 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 store i64 %11, i64* %.reg2mem\n store i32 %13, i32* %.reg2mem10\n store i32 0, i32* %storemerge13.reg2mem\n store i64 %11, i64* %.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload11 = load i32, i32* %.reg2mem10\n %.reload = load i64, i64* %.reg2mem\n %16 = trunc i32 %.reload11 to i8\n %17 = inttoptr i64 %.reload to i8*\n store i8 %16, i8* %17, align 1\n %18 = add i32 %storemerge13.reload, 1\n %19 = sext i32 %18 to i64\n %20 = mul i64 %19, 4\n %21 = add i64 %20, %arg1\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 %26 = add i64 %19, %11\n store i64 %26, i64* %.reg2mem\n store i32 %23, i32* %.reg2mem10\n store i32 %18, i32* %storemerge13.reg2mem\n store i64 %26, i64* %.lcssa.reg2mem\n br i1 %25, label LBL_3, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %27 = inttoptr i64 %.lcssa.reload to i8*\n store i8 0, i8* %27, align 1\n store i64 %11, 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 %19, { 1, 0 }\n uselistorder i64 %11, { 0, 3, 1, 2 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem10, { 2, 0, 1 }\n uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 3, 0, 2, 4, 1 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 1, { 6, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3 }\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": "json_string_setn_nocheck_18153", "fun_name": "json_string_setn_nocheck", "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 ne i32 %2, 0\n %4 = icmp eq i64 %arg2, 0\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %5, %3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_3\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %7 = icmp eq i64 %6, 0\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 = call i64 @FUNC(i64 %0)\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 %6, i64* %10, 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 i64 %arg2, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "avformat_network_init_16560", "fun_name": "avformat_network_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %0 = call i64 @FUNC()\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 = and i64 %0, 4294967295\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %5 = call i64 @FUNC()\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, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "destroy_super_6288", "fun_name": "destroy_super", "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 = add i64 %arg1, 16\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %arg1, 32\n %4 = inttoptr i64 %3 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 %5 = load i64, i64* %4, align 8\n %6 = mul i64 %indvars.iv.reload, 4\n %7 = add i64 %5, %6\n %8 = call i64 @FUNC(i64 %7)\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_2, label LBL_1\n LBL_2:\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = add i64 %arg1, 40\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = zext i1 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\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 %20 = add i64 %arg1, 64\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, i64 4198911)\n ret i64 %24\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @list_lru_destroy, { 1, 0 }\n uselistorder i32 1, { 2, 4, 3, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 4, 5, 3, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_lmb_release_15010", "fun_name": "spapr_lmb_release", "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 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n %7 = inttoptr i64 %6 to i32*\n %8 = icmp eq i64 %6, 0\n %9 = icmp eq i1 %8, false\n store i32* %7, i32** %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %2, i64 %10)\n %12 = inttoptr i64 %11 to i32*\n %13 = and i64 %11, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i32, i32* %12, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n store i32* %12, 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 %18 = load i32, i32* %sv_0.0.reload, align 4\n %19 = add i32 %18, -1\n store i32 %19, i32* %sv_0.0.reload, align 4\n %20 = zext i32 %19 to i64\n %21 = icmp eq i32 %19, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = ptrtoint i32* %sv_0.0.reload to i64\n %24 = call i64 @FUNC(i64 %2, i64 %23)\n %25 = call i64 @FUNC(i64 %0, i64 %2, i64 %3)\n %26 = call i64 @FUNC(i64 %0)\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 i32* %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64 (i64)* @g_assert, { 1, 0 }\n uselistorder i64 (i64)* @PC_DIMM, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tenc_Read_12749", "fun_name": "tenc_Read", "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 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %1 to i8\n %6 = icmp eq i8 %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 %2)\n br label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 %2, i64 4)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %3, 36\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %2, i64 4)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %3, 40\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n br label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %2)\n %18 = trunc i64 %17 to i8\n %19 = add i64 %3, 1\n %20 = inttoptr i64 %19 to i8*\n store i8 %18, i8* %20, align 1\n %21 = call i64 @FUNC(i64 %2)\n %22 = trunc i64 %21 to i8\n %23 = add i64 %3, 2\n %24 = inttoptr i64 %23 to i8*\n store i8 %22, i8* %24, align 1\n %25 = add i64 %3, 4\n %26 = call i64 @FUNC(i64 %2, i64 %25, i64 16)\n %27 = call i64 @FUNC(i64 %3, i64 20)\n %28 = load i8, i8* %20, align 1\n %29 = icmp eq i8 %28, 1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_4\n LBL_4:\n %31 = load i8, i8* %24, align 1\n %32 = icmp eq i8 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 %2)\n %35 = trunc i64 %34 to i8\n %36 = add i64 %3, 3\n %37 = inttoptr i64 %36 to i8*\n store i8 %35, i8* %37, align 1\n %38 = urem i64 %34, 256\n %39 = add i64 %3, 20\n %40 = call i64 @FUNC(i64 %2, i64 %39, i64 %38)\n %41 = load i8, i8* %37, align 1\n %42 = zext i8 %41 to i64\n %43 = add nuw nsw i64 %42, 1\n %44 = call i64 @FUNC(i64 %3, i64 %43)\n br label LBL_6\n LBL_6:\n ret i64 0\n\n uselistorder i64 %3, { 0, 1, 2, 4, 3, 5, 6, 7, 8 }\n uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 1, 0 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_read_data, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 (i64)* @gf_bs_read_u8, { 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aio_read_done_1150", "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 %rdi.1.reg2mem = alloca i64\n %.pre-phi7.reg2mem = alloca i64*\n %rdi.0.in.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 ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* %10)\n store i64 ptrtoint ([18 x i8]* @gv_0 to i64), i64* %rdi.1.reg2mem\n br label LBL_11\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 store i64* %sv_0, i64** %rdi.0.in.reg2mem\n br i1 %15, label LBL_6, 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 = trunc i64 %18 to i32\n %20 = call i64* @malloc(i32 %19)\n %21 = load i64, i64* %17, align 8\n %22 = add i64 %arg1, 56\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = sext i8 %24 to i32\n %26 = trunc i64 %21 to i32\n %27 = call i64* @memset(i64* %20, i32 %25, i32 %26)\n %28 = load i64, i64* %17, align 8\n %29 = trunc i64 %28 to i32\n %30 = call i32 @memcmp(i64* %20, i64* %20, i32 %29)\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_5, label LBL_4\n LBL_4:\n %32 = load i64, i64* %17, align 8\n %33 = add i64 %arg1, 32\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %32)\n br label LBL_5\n LBL_5:\n call void @free(i64* %20)\n store i64* %20, i64** %rdi.0.in.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.in.reload = load i64*, i64** %rdi.0.in.reg2mem\n %rdi.0 = ptrtoint i64* %rdi.0.in.reload to i64\n %37 = add i64 %arg1, 20\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 %rdi.0, i64* %rdi.1.reg2mem\n br i1 %41, label LBL_11, label LBL_7\n LBL_7:\n %42 = add i64 %arg1, 24\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 0\n %.pre = add i64 %arg1, 8\n %.pre2 = inttoptr i64 %.pre to i64*\n br i1 %45, 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 %46 = load i64, i64* %.pre2, align 8\n %47 = add i64 %arg1, 32\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %rdi.0, i64 %49, i64 %46)\n store i64* %48, i64** %.pre-phi7.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem\n %51 = add i64 %arg1, 48\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %arg1, 40\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = load i64, i64* %sv_0, align 8\n %58 = call i64 @FUNC(i64 %57, i64 %3, i64 %56, i64 %53, i64 %2, i64 %1)\n store i64 %58, i64* %sv_0, align 8\n %59 = add i64 %arg1, 28\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = zext i32 %61 to i64\n %63 = load i64, i64* %.pre2, align 8\n %64 = load i64, i64* %.pre-phi7.reload, align 8\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 %64, i64 %63, i64 %63, i64 1, i64 %62)\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rdi.1.reg2mem\n br label LBL_11\n LBL_11:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %66 = call i64 @FUNC(i64 %rdi.1.reload)\n %67 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %67)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %63, { 1, 0 }\n uselistorder i64 %rdi.0, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 3, 4, 0, 2 }\n uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder [5 x i8]* @gv_2, { 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 2, 0 }\n uselistorder [18 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 %arg1, { 7, 4, 5, 6, 10, 0, 1, 9, 8, 2, 3, 12, 11 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hdmi_get_edid_17669", "fun_name": "hdmi_get_edid", "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* %arg2 to i64\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 40, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0, i64 ptrtoint ([9 x i8]* @gv_0 to i64))\n %3 = icmp eq i64 %2, 0\n store i64 19, 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 = call i64 @FUNC(i64 %2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = zext i1 %7 to i32\n %9 = add i64 %4, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = inttoptr i64 %2 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %12, 128\n %14 = add i32 %13, 128\n %15 = trunc i64 %arg4 to i32\n %16 = sub i32 %14, %15\n %17 = xor i32 %14, %15\n %18 = xor i32 %16, %14\n %19 = and i32 %18, %17\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i32 %16, 0\n %22 = icmp slt i32 %16, 0\n %23 = icmp ne i1 %22, %20\n %24 = or i1 %21, %23\n %25 = select i1 %24, i32 %14, i32 %15\n %26 = inttoptr i64 %2 to i64*\n %27 = call i64* @memcpy(i64* %arg3, i64* %26, i32 %25)\n %28 = add i64 %2, 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 = add i64 %2, 4\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %34 to i64\n %36 = load i32, i32* %10, align 4\n %37 = icmp eq i32 %36, 0\n %38 = select i1 %37, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)\n %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* %38, i64 %35, i64 %31)\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 %16, { 1, 2, 0 }\n uselistorder i32 %15, { 1, 0, 2 }\n uselistorder i32 %14, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 128, { 1, 0 }\n uselistorder [9 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "host_get_page_state_13303", "fun_name": "host_get_page_state", "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 = 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": "1" }, { "dataset": "CompRealVul", "file": "smtp_setup_connection_8969", "fun_name": "smtp_setup_connection", "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 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 0, i32* %2, align 4\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* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\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 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": "unpack_dct_coeffs_7", "fun_name": "unpack_dct_coeffs", "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.019.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv33.reg2mem = alloca i64\n %indvars.iv35.reg2mem = alloca i64\n %indvars.iv38.reg2mem = alloca i64\n %indvars.iv41.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, 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 = 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 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp sgt i32 %8, 15\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0, i64 4)\n %11 = trunc i64 %10 to i32\n store i32 %11, 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 %12 = call i64 @FUNC(i64 %0, i64 4)\n %13 = sext i32 %sv_1.0.reload to i64\n %14 = mul i64 %13, 8\n %15 = add i64 %1, 16\n %16 = add i64 %14, %15\n %17 = call i64 @FUNC(i64 %1, i64 %0, i64 %16, i64 0, i64 0, i64 0)\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_4, label LBL_3\n LBL_3:\n %21 = and i64 %17, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_4:\n %22 = add i64 %1, 692\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %1, 680\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = call i64 @FUNC(i64 %1, i64 0, i32 %27, i32 %24)\n %sext = mul i64 %12, 4294967296\n %29 = ashr exact i64 %sext, 29\n %30 = add i64 %29, %15\n %31 = and i64 %17, 4294967295\n %32 = call i64 @FUNC(i64 %1, i64 %0, i64 %30, i64 0, i64 1, i64 %31)\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 store i64 %36, i64* %rax.0.reg2mem\n br i1 %35, label LBL_5, label LBL_24\n LBL_5:\n %37 = call i64 @FUNC(i64 %1, i64 %0, i64 %30, i64 0, i64 2, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp slt 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 %37, 4294967295\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_7:\n %42 = add i64 %1, 704\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = urem i32 %46, 2\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 = add i64 %1, 696\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %1, 684\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = add i64 %1, 664\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = and i64 %58, 4294967295\n %60 = call i64 @FUNC(i64 %1, i64 %59, i32 %55, i32 %52)\n %61 = load i32, i32* %51, align 4\n %62 = load i32, i32* %54, align 4\n %63 = add i64 %1, 672\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = and i64 %65, 4294967295\n %67 = call i64 @FUNC(i64 %1, i64 %66, i32 %62, i32 %61)\n br label LBL_9\n LBL_9:\n %68 = ptrtoint i64* %sv_2 to i64\n %69 = call i64 @FUNC(i64 %0, i64 4)\n %70 = call i64 @FUNC(i64 %0, i64 4)\n %sext12 = mul i64 %69, 4294967296\n %71 = ashr exact i64 %sext12, 29\n %72 = add i64 %1, 144\n %73 = add i64 %71, %72\n %74 = add i64 %68, -544\n %sext13 = mul i64 %70, 4294967296\n %75 = ashr exact i64 %sext13, 29\n %76 = add i64 %75, %72\n %77 = add i64 %68, -1056\n store i64 1, i64* %indvars.iv41.reg2mem\n br label LBL_10\n LBL_10:\n %indvars.iv41.reload = load i64, i64* %indvars.iv41.reg2mem\n %78 = mul i64 %indvars.iv41.reload, 8\n %79 = add i64 %78, %74\n %80 = inttoptr i64 %79 to i64*\n store i64 %73, i64* %80, align 8\n %81 = add i64 %78, %77\n %82 = inttoptr i64 %81 to i64*\n store i64 %76, i64* %82, align 8\n %indvars.iv.next42 = add nuw nsw i64 %indvars.iv41.reload, 1\n %exitcond43 = icmp eq i64 %indvars.iv.next42, 6\n store i64 %indvars.iv.next42, i64* %indvars.iv41.reg2mem\n br i1 %exitcond43, label LBL_11, label LBL_10\n LBL_11:\n %83 = add i64 %1, 272\n %84 = add i64 %71, %83\n %85 = add i64 %75, %83\n store i64 6, i64* %indvars.iv38.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv38.reload = load i64, i64* %indvars.iv38.reg2mem\n %86 = mul i64 %indvars.iv38.reload, 8\n %87 = add i64 %86, %74\n %88 = inttoptr i64 %87 to i64*\n store i64 %84, i64* %88, align 8\n %89 = add i64 %86, %77\n %90 = inttoptr i64 %89 to i64*\n store i64 %85, i64* %90, align 8\n %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38.reload, 1\n %exitcond40 = icmp eq i64 %indvars.iv.next39, 15\n store i64 %indvars.iv.next39, i64* %indvars.iv38.reg2mem\n br i1 %exitcond40, label LBL_13, label LBL_12\n LBL_13:\n %91 = add i64 %1, 400\n %92 = add i64 %71, %91\n %93 = add i64 %75, %91\n store i64 15, i64* %indvars.iv35.reg2mem\n br label LBL_14\n LBL_14:\n %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem\n %94 = mul i64 %indvars.iv35.reload, 8\n %95 = add i64 %94, %74\n %96 = inttoptr i64 %95 to i64*\n store i64 %92, i64* %96, align 8\n %97 = add i64 %94, %77\n %98 = inttoptr i64 %97 to i64*\n store i64 %93, i64* %98, align 8\n %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1\n %exitcond37 = icmp eq i64 %indvars.iv.next36, 28\n store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem\n br i1 %exitcond37, label LBL_15, label LBL_14\n LBL_15:\n %99 = add i64 %1, 528\n %100 = add i64 %71, %99\n %101 = add i64 %75, %99\n store i64 28, i64* %indvars.iv33.reg2mem\n br label LBL_16\n LBL_16:\n %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem\n %102 = mul i64 %indvars.iv33.reload, 8\n %103 = add i64 %102, %74\n %104 = inttoptr i64 %103 to i64*\n store i64 %100, i64* %104, align 8\n %105 = add i64 %102, %77\n %106 = inttoptr i64 %105 to i64*\n store i64 %101, i64* %106, align 8\n %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next34, 64\n store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem\n store i64 1, i64* %indvars.iv.reg2mem\n store i64 %37, i64* %sv_0.019.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_16\n LBL_17:\n %sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %107 = mul i64 %indvars.iv.reload, 8\n %108 = add i64 %107, %74\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = and i64 %sv_0.019.reload, 4294967295\n %112 = call i64 @FUNC(i64 %1, i64 %0, i64 %110, i64 %indvars.iv.reload, i64 0, i64 %111)\n %113 = trunc i64 %112 to i32\n %114 = icmp slt i32 %113, 0\n %115 = icmp eq i1 %114, false\n br i1 %115, label LBL_19, label LBL_18\n LBL_18:\n %116 = and i64 %112, 4294967295\n store i64 %116, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_19:\n %117 = add i64 %107, %77\n %118 = inttoptr i64 %117 to i64*\n %119 = load i64, i64* %118, align 8\n %120 = and i64 %112, 4294967295\n %121 = call i64 @FUNC(i64 %1, i64 %0, i64 %119, i64 %indvars.iv.reload, i64 1, i64 %120)\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_21, label LBL_20\n LBL_20:\n %125 = and i64 %121, 4294967295\n store i64 %125, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %126 = load i64, i64* %118, align 8\n %127 = and i64 %121, 4294967295\n %128 = call i64 @FUNC(i64 %1, i64 %0, i64 %126, i64 %indvars.iv.reload, i64 2, i64 %127)\n %129 = trunc i64 %128 to i32\n %130 = icmp slt i32 %129, 0\n %131 = icmp eq i1 %130, false\n br i1 %131, label LBL_23, label LBL_22\n LBL_22:\n %132 = and i64 %128, 4294967295\n store i64 %132, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_23:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %133 = icmp ult i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %128, i64* %sv_0.019.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %133, label LBL_17, 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 %121, { 1, 0, 2 }\n uselistorder i64 %112, { 1, 0, 2 }\n uselistorder i64 %107, { 1, 0 }\n uselistorder i64 %102, { 1, 0 }\n uselistorder i64 %94, { 1, 0 }\n uselistorder i64 %86, { 1, 0 }\n uselistorder i64 %78, { 1, 0 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %1, { 7, 8, 9, 3, 2, 1, 0, 5, 6, 13, 14, 11, 12, 10, 15, 16, 19, 18, 17, 20, 4, 21 }\n uselistorder i64 %0, { 1, 2, 3, 5, 4, 6, 7, 8, 9, 0, 10 }\n uselistorder i64* %indvars.iv41.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv38.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv33.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.019.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 6, 5, 4, 2, 3 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i64 1, { 6, 7, 0, 5, 4, 3, 2, 1, 8 }\n uselistorder i64 (i64, i64, i32, i32)* @reverse_dc_prediction, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @unpack_vlcs, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 }\n uselistorder label LBL_24, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_eject_14672", "fun_name": "blk_eject", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) 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 = ptrtoint i32* %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 store i64 0, i64* %rax.0.reg2mem\n br i1 %5, 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 ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\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 %6 = icmp eq i64 %3, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = urem i64 %arg2, 256\n %8 = call i64 @FUNC(i64 %3, i64 %7)\n %9 = call i64 @FUNC(i64 %2)\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %10, i64 %9, i64 %7, i64* nonnull @gv_3)\n %12 = call i64 @FUNC(i64 %9)\n store i64 %12, 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 i64 %7, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_high_utility_cell_2867", "fun_name": "get_high_utility_cell", "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 %sv_1.0.ph.in.reg2mem = alloca i64\n %.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 %sext = mul i64 %1, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add nsw i64 %6, -8\n %8 = add i64 %7, %5\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp ult i64 %10, 2147483647\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 %14)\n br i1 %11, label LBL_1, label LBL_2\n LBL_1:\n %16 = load i64, i64* %4, align 8\n %17 = add i64 %7, %16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = and i64 %19, 4294967295\n %21 = urem i64 %15, %20\n store i64 %16, i64* %.reg2mem\n store i64 %21, i64* %sv_1.0.ph.in.reg2mem\n br label LBL_3\n LBL_2:\n %22 = load i64, i64* %13, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = mul i64 %15, 4294967296\n %25 = add i64 %23, %24\n %26 = load i64, i64* %4, align 8\n %27 = add i64 %7, %26\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = urem i64 %25, %29\n store i64 %26, i64* %.reg2mem\n store i64 %30, i64* %sv_1.0.ph.in.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.ph.in.reload = load i64, i64* %sv_1.0.ph.in.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %sv_1.0.ph = add i64 %sv_1.0.ph.in.reload, 1\n store i32 0, 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 %31 = sext i32 %sv_0.0.reload to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %.reload\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp ugt i64 %sv_1.0.ph, %35\n %37 = add i32 %sv_0.0.reload, 1\n store i32 %37, i32* %sv_0.0.reg2mem\n br i1 %36, label LBL_4, label LBL_5\n LBL_5:\n %38 = add i64 %2, 24\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %40, %32\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43)\n %45 = zext i32 %sv_0.0.reload to i64\n ret i64 %45\n\n uselistorder i64 %32, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.ph.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_lfg_get, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_tb_flush_252", "fun_name": "do_tb_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.next3.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 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC()\n %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = icmp eq i32 %3, %1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_6, label LBL_1\n LBL_1:\n %6 = load i64, i64* @gv_1, align 8\n %7 = load i64, i64* @gv_2, align 8\n %8 = sub i64 %6, %7\n %9 = load i64, i64* @gv_3, align 8\n %10 = icmp ugt i64 %8, %9\n br i1 %10, label LBL_2, label LBL_4\n LBL_2:\n %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_4\n LBL_3:\n %indvars.iv.next3.reload = load i64, i64* %indvars.iv.next3.reg2mem\n %.pre = load i64, i64* %sv_0, align 8\n %12 = mul i64 %indvars.iv.next3.reload, 8\n %13 = add i64 %12, %.pre\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next3.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.next3.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_3\n LBL_4:\n %15 = ptrtoint i64* %sv_0 to i64\n store i64 %15, i64* %sv_0, align 8\n %16 = call i64 @FUNC(i64 %15, i64 0)\n store i64 1, i64* %indvars.iv.next3.reg2mem\n br label LBL_3\n LBL_5:\n store i64 0, i64* %sv_0, align 8\n store i32 0, i32* bitcast (i64* @gv_5 to i32*), align 8\n %17 = call i64 @FUNC(i64* nonnull @gv_6, i64 1024)\n %18 = call i64 @FUNC()\n %19 = load i64, i64* @gv_2, align 8\n store i64 %19, i64* @gv_1, align 8\n %20 = call i64 @FUNC(i64* nonnull @gv_0, i64 zext (i32 ptrtoint (i32* @gv_7 to i32) to i64))\n br label LBL_6\n LBL_6:\n %21 = call i64 @FUNC()\n ret i64 %21\n\n uselistorder i64* %sv_0, { 2, 1, 3, 0, 4 }\n uselistorder i64* %indvars.iv.next3.reg2mem, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i440fx_update_memory_mappings_3124", "fun_name": "i440fx_update_memory_mappings", "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 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\n %4 = udiv i64 %1, 16\n %5 = urem i64 %4, 4\n %6 = add i64 %2, 72\n %7 = call i64 @FUNC(i64 %6, i64 %5)\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 = trunc i64 %indvars.iv.reload to i32\n %9 = ashr i32 %8, 1\n %10 = add nsw i32 %9, 1\n %11 = sext i32 %10 to i64\n %12 = mul i64 %11, 4\n %13 = add i64 %12, %2\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = mul i32 %8, 4\n %17 = and i32 %16, 4\n %18 = lshr i32 %15, %17\n %19 = urem i32 %18, 4\n %20 = zext i32 %19 to i64\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %21 = mul i64 %indvars.iv.next, 8\n %22 = add i64 %21, %6\n %23 = call i64 @FUNC(i64 %22, i64 %20)\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 %24 = add i64 %2, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %2, 64\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_4, label LBL_3\n LBL_3:\n %31 = and i32 %26, 8\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = and i32 %26, 64\n %35 = icmp eq i32 %34, 0\n %spec.select = zext i1 %35 to i64\n store i64 %spec.select, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %36 = add i64 %2, 168\n %37 = call i64 @FUNC(i64 %36, i64 %storemerge.reload)\n %38 = call i64 @FUNC()\n ret i64 %38\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 3, 2, 0, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @update_pam, { 1, 0 }\n uselistorder i64 4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsvFreePtrInternal_8095", "fun_name": "jsvFreePtrInternal", "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 br i1 %3, 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 ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 38, 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 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %4, align 4\n %5 = call i64 @FUNC()\n %6 = load i64, i64* @gv_3, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = call i64 @FUNC(i64 %0)\n store i64 %8, i64* @gv_3, align 8\n store i8 1, i8* bitcast (i64* @gv_4 to i8*), align 8\n %9 = call i64 @FUNC()\n ret i64 %9\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mux_chr_read_1152", "fun_name": "mux_chr_read", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %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 %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 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %arg3 to i32\n %8 = icmp sgt i32 %7, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_8\n LBL_1:\n %9 = ptrtoint i32* %arg2 to i64\n %sext = mul i64 %1, 4294967296\n %10 = ashr exact i64 %sext, 30\n %11 = add i64 %5, %10\n %12 = inttoptr i64 %11 to i32*\n %13 = add i64 %11, 40\n %14 = inttoptr i64 %13 to i32*\n %15 = ashr exact i64 %sext, 29\n %16 = add i64 %5, %15\n %17 = add i64 %16, 80\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %16, 240\n %20 = inttoptr i64 %19 to i64*\n %21 = ashr exact i64 %sext, 24\n %22 = add nsw i64 %21, 320\n %23 = add i64 %22, %5\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 %24 = add i64 %indvars.iv.reload, %9\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = zext i8 %26 to i64\n %28 = call i64 @FUNC(i64 %2, i64 %5, i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_7, label LBL_3\n LBL_3:\n %31 = load i32, i32* %12, align 4\n %32 = load i32, i32* %14, align 4\n %33 = icmp eq i32 %31, %32\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_6, label LBL_4\n LBL_4:\n %35 = load i64, i64* %18, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = load i64, i64* %20, align 8\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_6, label LBL_7\n LBL_6:\n %40 = add i32 %31, 1\n store i32 %40, i32* %12, align 4\n %41 = load i8, i8* %25, align 1\n %42 = urem i32 %31, 256\n %43 = zext i32 %42 to i64\n %44 = add i64 %23, %43\n %45 = inttoptr i64 %44 to i8*\n store i8 %41, i8* %45, align 1\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, %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 i64 %sext, { 2, 1, 0 }\n uselistorder i64 %5, { 3, 0, 1, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unfold_ifblk_10644", "fun_name": "unfold_ifblk", "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 %storemerge2.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_0, align 4\n %1 = call i64 @FUNC(i64 1, i64* nonnull @gv_2)\n %2 = load i64, i64* inttoptr (i64 17 to i64*), align 8\n %3 = zext i32 %0 to i64\n %4 = call i64 @FUNC(i64 %2, i64 %3, i32 ptrtoint (i32* @gv_1 to i32))\n %5 = call i64* @calloc(i32 1, i32 24)\n %6 = icmp eq i64* %5, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %8 = bitcast i64* %5 to i32*\n store i32 %0, i32* %8, align 4\n %9 = load i64, i64* @gv_4, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %storemerge4.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = ptrtoint i64* %5 to i64\n store i64 %12, i64* @gv_4, align 8\n %13 = add i64 %12, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n br label LBL_6\n LBL_4:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %15 = add i64 %storemerge4.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* %storemerge4.reg2mem\n br i1 %19, label LBL_4, label LBL_5\n LBL_5:\n %20 = ptrtoint i64* %5 to i64\n store i64 %20, i64* %16, align 8\n %21 = add i64 %20, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n br label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 1)\n %24 = load i64, i64* inttoptr (i64 9 to i64*), align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_13, label LBL_7\n LBL_7:\n %26 = call i64* @calloc(i32 1, i32 24)\n %27 = icmp eq i64* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n call void @perror(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %29 = ptrtoint i64* %26 to i64\n %30 = add i64 %29, 4\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %31, align 4\n %32 = add i64 %29, 8\n %33 = inttoptr i64 %32 to i32*\n store i32 ptrtoint (i32* @gv_1 to i32), i32* %33, align 4\n %34 = load i64, i64* @gv_4, align 8\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %34, i64* %storemerge3.reg2mem\n br i1 %36, label LBL_11, label LBL_10\n LBL_10:\n store i64 %29, i64* @gv_4, align 8\n %37 = add i64 %29, 16\n %38 = inttoptr i64 %37 to i64*\n store i64 0, i64* %38, align 8\n br label LBL_13\n LBL_11:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %39 = add i64 %storemerge3.reload, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %41, i64* %storemerge3.reg2mem\n br i1 %43, label LBL_11, label LBL_12\n LBL_12:\n store i64 %29, i64* %40, align 8\n %44 = add i64 %29, 16\n %45 = inttoptr i64 %44 to i64*\n store i64 0, i64* %45, align 8\n br label LBL_13\n LBL_13:\n %46 = call i64* @calloc(i32 1, i32 24)\n %47 = icmp eq i64* %46, null\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n call void @perror(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %49 = bitcast i64* %46 to i32*\n store i32 ptrtoint (i32* @gv_1 to i32), i32* %49, align 4\n %50 = load i64, i64* @gv_4, align 8\n %51 = icmp eq i64 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 %50, i64* %storemerge2.reg2mem\n br i1 %52, label LBL_17, label LBL_16\n LBL_16:\n %53 = ptrtoint i64* %46 to i64\n store i64 %53, i64* @gv_4, align 8\n %54 = add i64 %53, 16\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %55, align 8\n br label LBL_19\n LBL_17:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %56 = add i64 %storemerge2.reload, 16\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* %storemerge2.reg2mem\n br i1 %60, label LBL_17, label LBL_18\n LBL_18:\n %61 = ptrtoint i64* %46 to i64\n store i64 %61, i64* %57, align 8\n %62 = add i64 %61, 16\n %63 = inttoptr i64 %62 to i64*\n store i64 0, i64* %63, align 8\n br label LBL_19\n LBL_19:\n %64 = load i64, i64* inttoptr (i64 9 to i64*), align 8\n %65 = icmp eq i64 %64, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %65, label LBL_26, label LBL_20\n LBL_20:\n %66 = call i64 @FUNC(i64 9)\n %67 = call i64* @calloc(i32 1, i32 24)\n %68 = icmp eq i64* %67, null\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_22, label LBL_21\n LBL_21:\n call void @perror(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_22:\n %70 = bitcast i64* %67 to i32*\n store i32 ptrtoint (i32* @gv_1 to i32), i32* %70, align 4\n %71 = load i64, i64* @gv_4, align 8\n %72 = icmp eq i64 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 %71, i64* %storemerge.reg2mem\n br i1 %73, label LBL_24, label LBL_23\n LBL_23:\n %74 = ptrtoint i64* %67 to i64\n store i64 %74, i64* @gv_4, align 8\n %75 = add i64 %74, 16\n %76 = inttoptr i64 %75 to i64*\n store i64 0, i64* %76, align 8\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_24:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %77 = add i64 %storemerge.reload, 16\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = icmp eq i64 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 %79, i64* %storemerge.reg2mem\n br i1 %81, label LBL_24, label LBL_25\n LBL_25:\n %82 = ptrtoint i64* %67 to i64\n store i64 %82, i64* %78, align 8\n %83 = add i64 %82, 16\n %84 = inttoptr i64 %83 to i64*\n store i64 0, i64* %84, align 8\n store i64 %82, 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 %74, { 0, 2, 1 }\n uselistorder i64* %67, { 0, 1, 3, 2 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64* %46, { 0, 1, 3, 2 }\n uselistorder i64 %29, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64* %5, { 0, 1, 3, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @unfold_blk, { 1, 0 }\n uselistorder void (i32)* @exit, { 3, 2, 1, 0 }\n uselistorder void (i8*)* @perror, { 3, 2, 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 3, 2, 1, 0 }\n uselistorder i32 ptrtoint (i32* @gv_1 to i32), { 1, 2, 0, 3, 4 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_option_string_7932", "fun_name": "get_option_string", "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 %sv_1 = alloca i32, align 4\n %1 = trunc i64 %arg2 to i8\n store i32 0, i32* %sv_1, align 4\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %0, i8 %1, i64* nonnull %2, i32* nonnull %sv_1)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_9, 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 %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_9\n LBL_2:\n %9 = load i32, i32* %sv_1, align 4\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = load i32, i32* %sv_0, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 0, i64 0, i64 %13, i64 %3)\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %sv_1, align 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 = call i32* @__errno_location()\n store i32 22, i32* %18, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %sext = mul i64 %14, 4294967296\n %19 = ashr exact i64 %sext, 32\n %20 = call i64 @FUNC(i64 %19)\n %21 = load i32, i32* %sv_0, align 4\n %22 = zext i32 %21 to i64\n %23 = load i32, i32* %sv_1, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %20, i64 %24, i64 %22, i64 %3)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %26 = and i32 %9, 2\n %27 = icmp eq i32 %26, 0\n %28 = load i32, i32* %sv_0, align 4\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %3)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %31 = add i32 %28, 1\n %32 = sext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = load i32, i32* %sv_0, align 4\n %35 = inttoptr i64 %33 to i64*\n %36 = inttoptr i64 %3 to i64*\n %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %34)\n %38 = load i32, i32* %sv_0, align 4\n %39 = sext i32 %38 to i64\n %40 = add i64 %33, %39\n %41 = inttoptr i64 %40 to i8*\n store i8 0, i8* %41, align 1\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 %28, { 1, 0 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %3, { 1, 3, 0, 2, 4, 5 }\n uselistorder i32* %sv_1, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_0, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @xmalloc, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @decode_rfc3397, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 2, 3, 4, 5, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fe_netjoin_deinit_11489", "fun_name": "fe_netjoin_deinit", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\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 br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %3 = add i64 %.reload, 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* @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_1, label LBL_2\n LBL_2:\n %10 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %11 = icmp eq i32 %10, -1\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = load i32, i32* @gv_1, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 4198698)\n br label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 4198705)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 4198712)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64 4198719)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0), i64 4198726)\n ret i64 %19\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i8*, i64)* @signal_remove, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mrb_str_inspect_3724", "fun_name": "mrb_str_inspect", "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 %sv_0.16.reg2mem = alloca i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %0 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %arg2 to i8*\n %2 = call i32 @strlen(i8* %1)\n %3 = sext i32 %2 to i64\n %4 = add i64 %3, %arg2\n %5 = icmp ugt i64 %4, %arg2\n br i1 %5, label LBL_1, label LBL_16\n LBL_1:\n %6 = ptrtoint i64* %sv_2 to i64\n %7 = add i64 %6, -42\n %8 = bitcast i32* %sv_1 to i8*\n store i64 %arg2, i64* %sv_0.16.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %9 = call i64 @FUNC(i64 %sv_0.16.reload, i64 %4)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 2\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %wide.trip.count = and i64 %9, 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 %12 = add i64 %indvars.iv.reload, %sv_0.16.reload\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = add i64 %7, %indvars.iv.reload\n %16 = inttoptr i64 %15 to i8*\n store i8 %14, 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 %17 = call i8* @strncat(i8* %0, i8* nonnull %8, i32 %10)\n %sext4 = mul i64 %9, 4294967296\n %18 = ashr exact i64 %sext4, 32\n %19 = add i64 %sv_0.16.reload, -1\n %20 = add i64 %19, %18\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_6:\n %21 = inttoptr i64 %sv_0.16.reload to i8*\n %22 = load i8, i8* %21, align 1\n switch i8 %22, label LBL_7 [\n i8 34, label LBL_9\n i8 92, label LBL_9\n ]\n LBL_7:\n %23 = icmp eq i8 %22, 35\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_10, label LBL_8\n LBL_8:\n %25 = call i64 @FUNC(i64 %sv_0.16.reload, i64 %4)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n store i32 92, i32* %sv_1, align 4\n %28 = call i8* @strncat(i8* %0, i8* nonnull %8, i32 2)\n store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_10:\n %29 = sext i8 %22 to i32\n %.off = add i8 %22, -32\n %30 = icmp ult i8 %.off, 95\n br i1 %30, label LBL_11, label LBL_12\n LBL_11:\n store i32 %29, i32* %sv_1, align 4\n %31 = call i8* @strncat(i8* %0, i8* nonnull %8, i32 1)\n store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_12:\n %32 = urem i32 %29, 256\n %33 = add nsw i32 %32, -7\n %34 = zext i32 %33 to i64\n store i64 %34, i64* @0, align 8\n switch i8 %22, label LBL_14 [\n i8 7, label LBL_13\n i8 8, label LBL_13\n i8 9, label LBL_13\n i8 10, label LBL_13\n i8 11, label LBL_13\n i8 12, label LBL_13\n i8 13, label LBL_13\n i8 27, label LBL_13\n ]\n LBL_13:\n store i32 92, i32* %sv_1, align 4\n %35 = call i8* @strncat(i8* %0, i8* nonnull %8, i32 2)\n store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_14:\n store i32 92, i32* %sv_1, align 4\n %36 = call i8* @strncat(i8* %0, i8* nonnull %8, i32 4)\n store i64 %sv_0.16.reload, 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 %37 = add i64 %sv_0.0.reload, 1\n %38 = icmp ult i64 %37, %4\n store i64 %37, i64* %sv_0.16.reg2mem\n br i1 %38, label LBL_2, label LBL_16\n LBL_16:\n %39 = call i32 @strlen(i8* %0)\n %40 = sext i32 %39 to i64\n %41 = ptrtoint i8* %0 to i64\n %42 = add i64 %40, %41\n %43 = inttoptr i64 %42 to i16*\n store i16 34, i16* %43, align 2\n ret i64 %41\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i8 %22, { 2, 0, 4, 3, 1 }\n uselistorder i64 %sv_0.16.reload, { 2, 1, 0, 3, 4, 5, 7, 8, 6 }\n uselistorder i8* %8, { 1, 2, 0, 3, 4 }\n uselistorder i64 %4, { 2, 1, 3, 0 }\n uselistorder i8* %0, { 1, 0, 4, 5, 3, 6, 2 }\n uselistorder i32* %sv_1, { 0, 3, 2, 1, 4 }\n uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 5, 1 }\n uselistorder i8* (i8*, i8*, i32)* @strncat, { 1, 0, 4, 3, 2 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 1, { 3, 5, 4, 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 1, 3 }\n uselistorder label LBL_13, { 7, 1, 3, 4, 0, 2, 5, 6 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "video_sample_entry_del_8118", "fun_name": "video_sample_entry_del", "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_30, 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, 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 %7 = call i64 @FUNC(i64 %5)\n br label LBL_3\n LBL_3:\n %8 = add i64 %arg1, 16\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, 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_7, label LBL_6\n LBL_6:\n %17 = call i64 @FUNC(i64 %15)\n br label LBL_7\n LBL_7:\n %18 = add i64 %arg1, 32\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_9, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i64 %20)\n br label LBL_9\n LBL_9:\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_11, label LBL_10\n LBL_10:\n %27 = call i64 @FUNC(i64 %25)\n br label LBL_11\n LBL_11:\n %28 = add i64 %arg1, 48\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_13, label LBL_12\n LBL_12:\n %32 = call i64 @FUNC(i64 %30)\n br label LBL_13\n LBL_13:\n %33 = add i64 %arg1, 56\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_15, label LBL_14\n LBL_14:\n %37 = call i64 @FUNC(i64 %35)\n br label LBL_15\n LBL_15:\n %38 = add i64 %arg1, 64\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_17, label LBL_16\n LBL_16:\n %42 = call i64 @FUNC(i64 %40)\n br label LBL_17\n LBL_17:\n %43 = add i64 %arg1, 72\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_19, label LBL_18\n LBL_18:\n %47 = call i64 @FUNC(i64 %45)\n br label LBL_19\n LBL_19:\n %48 = add i64 %arg1, 80\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_21, label LBL_20\n LBL_20:\n %52 = call i64 @FUNC(i64 %50)\n br label LBL_21\n LBL_21:\n %53 = add i64 %arg1, 88\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_23, label LBL_22\n LBL_22:\n %57 = call i64 @FUNC(i64 %55)\n br label LBL_23\n LBL_23:\n %58 = add i64 %arg1, 96\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_25, label LBL_24\n LBL_24:\n %62 = call i64 @FUNC(i64 %60)\n br label LBL_25\n LBL_25:\n %63 = add i64 %arg1, 104\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = icmp eq i64 %65, 0\n br i1 %66, label LBL_27, label LBL_26\n LBL_26:\n %67 = call i64 @FUNC(i64 %65)\n br label LBL_27\n LBL_27:\n %68 = add i64 %arg1, 112\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = icmp eq i64 %70, 0\n br i1 %71, label LBL_29, label LBL_28\n LBL_28:\n %72 = call i64 @FUNC(i64 %70)\n br label LBL_29\n LBL_29:\n %73 = call i64 @FUNC(i64 %arg1)\n store i64 %73, 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 (i64)* @gf_odf_desc_del, { 1, 0 }\n uselistorder i64 (i64)* @gf_isom_box_del, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 16, 17 }\n uselistorder label LBL_30, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "assert_file_overwrite_3454", "fun_name": "assert_file_overwrite", "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 i32, i32* @gv_0, align 4\n %5 = icmp eq i32 %4, 0\n %6 = load i32, i32* @gv_1, align 4\n %7 = icmp eq i32 %6, 0\n %or.cond = or i1 %5, %7\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %8 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %9 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_3 to i64*), i32 1, i32 41, %_IO_FILE* %8)\n %10 = call i64 @FUNC(i64 1)\n unreachable\n LBL_2:\n %11 = zext i32 %4 to i64\n %12 = icmp eq i1 %5, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %12, label LBL_12, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_12, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %13 to i8*\n %16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\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_12, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %arg1, i64 0)\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_12, label LBL_6\n LBL_6:\n %24 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_11, label LBL_7\n LBL_7:\n %26 = load i32, i32* @gv_1, 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_8\n LBL_8:\n %29 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %30 = inttoptr i64 %arg1 to i8*\n %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_5, i64 0, i64 0), i8* %30)\n %32 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %33 = call i32 @fflush(%_IO_FILE* %32)\n %34 = call i64 @FUNC()\n %35 = call void (i32)* @signal(i32 2, void (i32)* null)\n %36 = call i64 @FUNC()\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %41 = call i64 @FUNC(i64 1)\n unreachable\n LBL_10:\n %42 = call i64 @FUNC()\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %43 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_7, i64 0, i64 0), i64 %arg1, i64 %2, i64 %1)\n %44 = call i64 @FUNC(i64 1)\n unreachable\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, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64)* @exit_program, { 2, 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 6, 7, 0, 8, 1, 2 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vqf_read_packet_343", "fun_name": "vqf_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 %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 = add i64 %3, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sub i32 %4, %7\n %9 = add i32 %8, 7\n %10 = ashr i32 %9, 3\n %11 = add nsw i32 %10, 2\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\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_1, label LBL_4\n LBL_1:\n %17 = add i64 %3, 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 = bitcast i64* %arg2 to i32*\n store i32 %21, i32* %22, align 4\n %23 = add i64 %2, 4\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n %27 = load i32, i32* %6, align 4\n %28 = add i64 %2, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = trunc i32 %27 to i8\n %32 = sub i8 8, %31\n %33 = inttoptr i64 %30 to i8*\n store i8 %32, i8* %33, align 1\n %34 = inttoptr i64 %17 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = load i64, i64* %29, align 8\n %37 = add i64 %36, 1\n %38 = trunc i32 %35 to i8\n %39 = inttoptr i64 %37 to i8*\n store i8 %38, i8* %39, align 1\n %40 = load i64, i64* %29, align 8\n %41 = add i64 %40, 2\n %42 = load i64, i64* %18, align 8\n %43 = call i64 @FUNC(i64 %42, i64 %41, i32 %10)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %10, %44\n br i1 %45, label LBL_3, label LBL_2\n LBL_2:\n %46 = call i64 @FUNC(i64 %2)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %47 = bitcast i64* %rdi to i32*\n %48 = load i64, i64* %29, align 8\n %narrow = add nsw i32 %10, 1\n %49 = sext i32 %narrow to i64\n %50 = add i64 %48, %49\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = zext i8 %52 to i32\n store i32 %53, i32* %34, align 4\n %54 = and i32 %9, -8\n %55 = load i32, i32* %47, align 8\n %56 = sub i32 %54, %55\n %57 = load i32, i32* %6, align 4\n %58 = add i32 %56, %57\n store i32 %58, i32* %6, align 4\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 i32 %10, { 0, 2, 1, 3 }\n uselistorder i32* %6, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967291, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_advance_async_state_2636", "fun_name": "ehci_advance_async_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 %rcx.03.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 1)\n %6 = trunc i64 %5 to i32\n %7 = trunc i64 %3 to i32\n switch i32 %6, label LBL_10 [\n i32 0, label LBL_1\n i32 1, label LBL_3\n ]\n LBL_1:\n %8 = urem i32 %7, 2\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_11, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 2)\n %11 = call i64 @FUNC(i64 %4, i64 1, i64 1)\n store i64 1, i64* %rcx.03.reg2mem\n br label LBL_5\n LBL_3:\n %.pre1 = urem i32 %7, 2\n %12 = icmp eq i32 %.pre1, 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 %4, i64 2)\n %15 = call i64 @FUNC(i64 %4, i64 1, i64 0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %16 = add i64 %4, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %rcx.03.reload = load i64, i64* %rcx.03.reg2mem\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 1, i64 %rcx.03.reload, i64 %2, i64 %1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_11, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 %4, i64 1, i64 2)\n %27 = call i64 @FUNC(i64 %4, i64 1)\n %28 = and i32 %7, 8\n %29 = icmp eq i32 %28, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_11, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %4, i64 1, i64 1)\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 1, i64 1, i64 %2, i64 %1)\n %32 = and i32 %7, -9\n %33 = bitcast i64* %arg1 to i32*\n store i32 %32, i32* %33, align 4\n %34 = call i64 @FUNC(i64 %4, i64 4)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %35 = add i64 %4, 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 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i64 %38)\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0))\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 i32 %7, { 2, 3, 0, 1 }\n uselistorder i64 %4, { 0, 1, 2, 4, 3, 8, 5, 6, 7, 10, 9, 11 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 5, 6, 3, 2, 7 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_2, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 1, 0 }\n uselistorder label LBL_11, { 4, 1, 0, 2, 5, 6, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_image_tga_7773", "fun_name": "read_image_tga", "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.be.reg2mem = alloca i32\n %sv_1.1.be.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %sv_1.16.reg2mem = alloca i32\n %sv_0.17.reg2mem = alloca i32\n %indvars.iv9.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\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 i32*\n %5 = load i32, i32* %4, 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 = 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 = icmp eq i32 %12, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_35\n LBL_1:\n %14 = sdiv i32 %5, 128\n %15 = trunc i64 %1 to i32\n %16 = load i32, i32* %7, align 4\n %17 = mul i32 %16, %15\n %18 = zext i32 %14 to i64\n %19 = zext i32 %17 to i64\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 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_2, label LBL_35\n LBL_2:\n %23 = mul i32 %8, %15\n %24 = mul i32 %23, %14\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i64 4)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_3, label LBL_35\n LBL_3:\n %29 = add i64 %2, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %31, label LBL_35 [\n i32 2, label LBL_4\n i32 10, label LBL_4\n ]\n LBL_4:\n %32 = sext i32 %24 to i64\n %33 = mul i64 %32, 4\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %2, 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 4294967295, i64* %rax.0.reg2mem\n br i1 %38, label LBL_5, label LBL_35\n LBL_5:\n %39 = ptrtoint i64* %arg1 to i64\n %40 = load i32, i32* %30, align 4\n store i64 1, i64* %rax.0.reg2mem\n switch i32 %40, label LBL_35 [\n i32 2, label LBL_6\n i32 10, label LBL_12\n ]\n LBL_6:\n %41 = call i64 @FUNC(i64 %32)\n %42 = icmp eq i64 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_7, label LBL_35\n LBL_7:\n %44 = call i64 @FUNC(i64 %41, i64 %25, i64 %39)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %24, %45\n br i1 %46, label LBL_8, label LBL_9\n LBL_8:\n %47 = icmp sgt i32 %24, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %47, label LBL_10, label LBL_11\n LBL_9:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n %49 = call i64 @FUNC(i64 %41)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_10:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %50 = add i64 %indvars.iv.reload, %41\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = load i64, i64* %36, align 8\n %54 = mul i64 %indvars.iv.reload, 4\n %55 = add i64 %53, %54\n %56 = zext i8 %52 to i32\n %57 = inttoptr i64 %55 to i32*\n store i32 %56, i32* %57, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %25\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_10\n LBL_11:\n %58 = call i64 @FUNC(i64 %41)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_12:\n %59 = call i64 @FUNC(i64 %33)\n %60 = icmp eq i64 %59, 0\n %61 = icmp eq i1 %60, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %61, label LBL_13, label LBL_35\n LBL_13:\n %62 = call i64 @FUNC(i64 %32)\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 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n %66 = call i64 @FUNC(i64 %59)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_15:\n %67 = call i64 @FUNC(i64 %62, i64 %25, i64 %39)\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 br i1 %73, label LBL_16, label LBL_18\n LBL_16:\n %74 = icmp sgt i32 %68, 0\n br i1 %74, label LBL_17, label LBL_20\n LBL_17:\n %wide.trip.count11 = and i64 %67, 4294967295\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_19\n LBL_18:\n %75 = call i64 @FUNC(i64 %62)\n %76 = call i64 @FUNC(i64 %59)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_19:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %77 = add i64 %indvars.iv9.reload, %62\n %78 = inttoptr i64 %77 to i8*\n %79 = load i8, i8* %78, align 1\n %80 = mul i64 %indvars.iv9.reload, 4\n %81 = add i64 %80, %59\n %82 = zext i8 %79 to i32\n %83 = inttoptr i64 %81 to i32*\n store i32 %82, i32* %83, 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_20, label LBL_19\n LBL_20:\n %84 = icmp sgt i32 %24, 0\n br i1 %84, label LBL_21, label LBL_34\n LBL_21:\n %sext = mul i64 %67, 4294967296\n %85 = ashr exact i64 %sext, 32\n %86 = mul i32 %14, 4\n store i32 0, i32* %sv_0.17.reg2mem\n store i32 0, i32* %sv_1.16.reg2mem\n br label LBL_22\n LBL_22:\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 %87 = sext i32 %sv_1.16.reload to i64\n %88 = mul i64 %87, 4\n %89 = add i64 %88, %59\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = trunc i32 %91 to i8\n %93 = icmp sgt i8 %92, -1\n br i1 %93, label LBL_29, label LBL_23\n LBL_23:\n %94 = and i32 %91, -129\n %95 = add nsw i32 %94, 1\n %96 = mul i32 %95, %14\n %97 = add i32 %96, %sv_0.17.reload\n %98 = zext i32 %97 to i64\n %99 = icmp slt i64 %32, %98\n br i1 %99, label LBL_27, label LBL_24\n LBL_24:\n %100 = add i32 %sv_1.16.reload, 1\n %101 = add i32 %100, %14\n %102 = zext i32 %101 to i64\n %103 = icmp slt i64 %85, %102\n br i1 %103, label LBL_27, label LBL_25\n LBL_25:\n %104 = icmp slt i32 %94, 0\n store i32 %101, i32* %sv_1.1.be.reg2mem\n store i32 %sv_0.17.reload, i32* %sv_0.1.be.reg2mem\n br i1 %104, label LBL_33, label LBL_26\n LBL_26:\n %105 = sext i32 %100 to i64\n %106 = mul i64 %105, 4\n %107 = add i64 %106, %59\n %108 = inttoptr i64 %107 to i64*\n store i32 0, i32* %storemerge5.reg2mem\n store i32 %sv_0.17.reload, i32* %sv_0.04.reg2mem\n br label LBL_28\n LBL_27:\n %109 = call i64 @FUNC(i64 %59)\n %110 = call i64 @FUNC(i64 %62)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_28:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %111 = load i64, i64* %36, align 8\n %112 = sext i32 %sv_0.04.reload to i64\n %113 = mul i64 %112, 4\n %114 = add i64 %113, %111\n %115 = inttoptr i64 %114 to i64*\n %116 = call i64* @memcpy(i64* %115, i64* %108, i32 %86)\n %117 = add i32 %sv_0.04.reload, %14\n %118 = add i32 %storemerge5.reload, 1\n %119 = icmp sgt i32 %118, %94\n store i32 %118, i32* %storemerge5.reg2mem\n store i32 %117, i32* %sv_0.04.reg2mem\n store i32 %101, i32* %sv_1.1.be.reg2mem\n store i32 %117, i32* %sv_0.1.be.reg2mem\n br i1 %119, label LBL_33, label LBL_28\n LBL_29:\n %120 = add i32 %91, 1\n %121 = mul i32 %120, %14\n %122 = add i32 %121, %sv_0.17.reload\n %123 = zext i32 %122 to i64\n %124 = icmp slt i64 %32, %123\n br i1 %124, label LBL_31, label LBL_30\n LBL_30:\n %125 = add i32 %sv_1.16.reload, 1\n %126 = add i32 %121, %125\n %127 = zext i32 %126 to i64\n %128 = icmp slt i64 %85, %127\n br i1 %128, label LBL_31, label LBL_32\n LBL_31:\n %129 = call i64 @FUNC(i64 %59)\n %130 = call i64 @FUNC(i64 %62)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_32:\n %131 = mul i32 %121, 4\n %132 = sext i32 %125 to i64\n %133 = mul i64 %132, 4\n %134 = add i64 %133, %59\n %135 = load i64, i64* %36, align 8\n %136 = sext i32 %sv_0.17.reload to i64\n %137 = mul i64 %136, 4\n %138 = add i64 %135, %137\n %139 = inttoptr i64 %138 to i64*\n %140 = inttoptr i64 %134 to i64*\n %141 = call i64* @memcpy(i64* %139, i64* %140, i32 %131)\n store i32 %126, i32* %sv_1.1.be.reg2mem\n store i32 %122, i32* %sv_0.1.be.reg2mem\n br label LBL_33\n LBL_33:\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 %142 = icmp slt i32 %sv_0.1.be.reload, %24\n store i32 %sv_0.1.be.reload, i32* %sv_0.17.reg2mem\n store i32 %sv_1.1.be.reload, i32* %sv_1.16.reg2mem\n br i1 %142, label LBL_22, label LBL_34\n LBL_34:\n %143 = call i64 @FUNC(i64 %59)\n %144 = call i64 @FUNC(i64 %62)\n store i64 1, 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 %sv_0.1.be.reload, { 1, 0 }\n uselistorder i32 %125, { 1, 0 }\n uselistorder i32 %sv_0.04.reload, { 1, 0 }\n uselistorder i32 %100, { 1, 0 }\n uselistorder i32 %94, { 1, 0, 2 }\n uselistorder i32 %sv_0.17.reload, { 2, 4, 1, 0, 3 }\n uselistorder i32 %sv_1.16.reload, { 1, 0, 2 }\n uselistorder i64 %indvars.iv9.reload, { 0, 2, 1 }\n uselistorder i32 %68, { 0, 2, 1 }\n uselistorder i64 %62, { 2, 4, 3, 0, 1, 5, 6 }\n uselistorder i64 %59, { 6, 0, 8, 7, 1, 2, 3, 5, 4, 9 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %41, { 2, 0, 1, 3, 4 }\n uselistorder i64* %36, { 1, 0, 2, 3 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %32, { 2, 1, 3, 4, 0 }\n uselistorder i64 %25, { 1, 0, 2, 3 }\n uselistorder i32 %24, { 2, 1, 0, 3, 4, 5 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32 %14, { 6, 5, 4, 3, 0, 1, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv9.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.1.be.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.1.be.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 14, 13, 12, 11, 4, 1, 15, 5, 3, 6, 7, 8, 9, 10 }\n uselistorder i64 (i8*)* @gd_error, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gdGetBuf, { 1, 0 }\n uselistorder i64 1, { 1, 4, 0, 5, 2, 3 }\n uselistorder i64 (i64)* @gdMalloc, { 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 4, 1, 2, 5, 6, 7, 8, 3, 9, 10, 11 }\n uselistorder i64 (i64, i64)* @overflow2, { 2, 1, 0 }\n uselistorder i64 4294967295, { 10, 9, 8, 12, 7, 0, 11, 1, 2, 3, 4, 5, 6, 13, 14 }\n uselistorder label LBL_35, { 1, 10, 11, 12, 13, 3, 0, 14, 4, 2, 5, 6, 7, 8, 9 }\n uselistorder label LBL_33, { 2, 0, 1 }\n uselistorder label LBL_28, { 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_alloc_entries_2935", "fun_name": "ff_alloc_entries", "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 %storemerge35.reg2mem = alloca i32\n %.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_6, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\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 i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %10, 32\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = and i64 %4, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 4)\n %18 = inttoptr i64 %10 to i64*\n store i64 %17, i64* %18, align 8\n %19 = load i32, i32* %15, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64 40)\n %22 = add i64 %10, 16\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = load i32, i32* %15, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i64 48)\n %27 = add i64 %10, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = load i64, i64* %18, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_3, label LBL_2\n LBL_2:\n %31 = load i64, i64* %23, align 8\n %32 = icmp ne i64 %31, 0\n %33 = icmp eq i64 %26, 0\n %34 = icmp eq i1 %33, false\n %or.cond = icmp eq i1 %34, %32\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %10)\n %36 = call i64 @FUNC(i64 %22)\n %37 = call i64 @FUNC(i64 %27)\n store i64 12, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_4:\n %38 = trunc i64 %4 to i32\n %39 = add i64 %10, 8\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = load i32, i32* %15, align 4\n %42 = icmp eq i32 %41, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %42, label LBL_6, label LBL_5\n LBL_5:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %43 = load i64, i64* %23, align 8\n %44 = mul nsw i64 %.reload, 40\n %45 = add i64 %43, %44\n %46 = inttoptr i64 %45 to i64*\n %47 = call i32 @pthread_mutex_init(i64* %46, i64* null)\n %48 = load i64, i64* %28, align 8\n %49 = mul nsw i64 %.reload, 48\n %50 = add i64 %48, %49\n %51 = inttoptr i64 %50 to i64*\n %52 = call i32 @pthread_cond_init(i64* %51, i64* null)\n %53 = add i32 %storemerge35.reload, 1\n %54 = load i32, i32* %15, align 4\n %55 = zext i32 %54 to i64\n %56 = sext i32 %53 to i64\n %57 = icmp slt i64 %56, %55\n store i64 %56, i64* %.reg2mem\n store i32 %53, i32* %storemerge35.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %57, label LBL_5, label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %15, { 1, 0, 2, 3, 4 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @av_malloc_array, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder label LBL_6, { 0, 1, 3, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_init_vcpu_15265", "fun_name": "kvm_init_vcpu", "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 %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))\n %4 = trunc i64 %1 to i32\n %5 = call i64 @FUNC(i64 %2, i64 0, i32 %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_2, label LBL_1\n LBL_1:\n %9 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n store i32 %6, i32* %sv_0.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 store i32 %6, i32* %12, align 4\n %13 = add i64 %10, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %2, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %2, i64 1, i64 0)\n %16 = icmp slt 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 i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0))\n store i32 %6, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_4:\n %19 = trunc i64 %15 to i32\n %20 = load i32, i32* %12, align 4\n %21 = call i64* @mmap(i64* null, i32 %19, i32 3, i32 1, i32 %20, i32 0)\n %22 = ptrtoint i64* %21 to i64\n %23 = add i64 %10, 8\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = icmp eq i64* %21, inttoptr (i64 -1 to i64*)\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i32* @__errno_location()\n %28 = load i32, i32* %27, align 4\n %29 = sub i32 0, %28\n %30 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0))\n store i32 %29, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_6:\n %31 = call i64 @FUNC(i64 %10)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq 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_8, label LBL_7\n LBL_7:\n %35 = call i64 @FUNC(i64 4198842, i64 %10)\n %36 = call i64 @FUNC(i64 %10)\n store i32 %32, 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 %37 = zext i32 %sv_0.0.reload to i64\n ret i64 %37\n\n uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 %6, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 5, 3, 2, 1 }\n uselistorder i32 (i8*)* @puts, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_wait_io_event_common_15694", "fun_name": "qemu_wait_io_event_common", "llvm_ir_function": "define i64 @FUNC(i8* %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 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n br i1 %3, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = ptrtoint i8* %arg1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n store i8 0, i8* %arg1, align 1\n %4 = ptrtoint i8* %arg1 to i64\n %5 = add i64 %4, 1\n %6 = inttoptr i64 %5 to i8*\n store i8 1, i8* %6, align 1\n %7 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %4, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %8 = call i64 @FUNC(i64 %.pre-phi.reload)\n %9 = add i64 %.pre-phi.reload, 2\n %10 = inttoptr i64 %9 to i8*\n store i8 0, i8* %10, align 1\n ret i64 %.pre-phi.reload\n\n uselistorder i64 %.pre-phi.reload, { 1, 0, 2 }\n uselistorder i8* %arg1, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "device_initfn_3551", "fun_name": "device_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1\n %1 = icmp eq i8 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %2, align 4\n store i8 1, i8* inttoptr (i64 4210718 to i8*), align 2\n br label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i8*\n store i8 0, i8* %7, align 1\n %8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 4198803, i64 4198810, i64 0)\n %9 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4198817, i64 0, i64 0)\n %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 4198824, i64 0, i64 4198831)\n %11 = call i64 @FUNC(i64 %3)\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 = inttoptr i64 %sv_0.0.reload to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 %13, i64* %storemerge1.reg2mem\n br i1 %14, label LBL_6, label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload, i64 4198831)\n %16 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload, i64 4198831)\n %17 = add i64 %storemerge1.reload, 8\n %18 = icmp eq i64 %17, 0\n store i64 %17, i64* %storemerge1.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %19 = inttoptr i64 %storemerge1.reload 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_4, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %sv_0.0.reload)\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %25 = icmp eq i64 %23, %24\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_3, label LBL_7\n LBL_7:\n %27 = add i64 %3, 16\n %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %27, i64 0, i64 0)\n ret i64 %28\n\n uselistorder i64 %storemerge1.reload, { 3, 0, 1, 2 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %3, { 3, 2, 1, 0, 4, 7, 6, 5, 8, 9 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64)* @object_property_add_bool, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sched_slice_9477", "fun_name": "sched_slice", "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.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = zext i1 %4 to i64\n %6 = add i64 %1, %5\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64* %arg2, null\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %sv_0.0.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %12, 8\n %14 = bitcast i64* %arg2 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_1.dec_label_pc_401221_crit_edge, label LBL_3\n LBL_2:\n %.pre = add i64 %11, 8\n %.pre4 = inttoptr i64 %.pre to i64*\n store i64* %.pre4, i64** %.pre-phi5.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n br label LBL_4\n LBL_3:\n %18 = ptrtoint i64* %sv_2 to i64\n %19 = inttoptr i64 %13 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %sv_2, align 8\n %21 = add i64 %11, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64* nonnull %sv_2, i64 %23)\n store i64* %22, i64** %.pre-phi5.reg2mem\n store i64 %18, 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 %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem\n %25 = load i64, i64* %.pre-phi5.reload, align 8\n %26 = call i64 @FUNC(i64 %8, i64 %25, i64 %sv_1.0.reload)\n store i64 %26, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_5\n LBL_5:\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 %13, { 1, 0 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scaling_list_data_7402", "fun_name": "scaling_list_data", "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 %storemerge3.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv18.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32\n %sv_0.112.reg2mem = alloca i32\n %indvars.iv16.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %storemerge414.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rcx = alloca i64, align 8\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %6 = ptrtoint i64* %sv_1 to i64\n %7 = add i64 %3, 6144\n %8 = add i64 %6, -96\n store i64 0, i64* %indvars.iv18.reg2mem\n br label LBL_17\n LBL_1:\n %storemerge414.reload = load i32, i32* %storemerge414.reg2mem\n %9 = call i64 @FUNC(i64 %5)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_7, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %5)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_15, label LBL_3\n LBL_3:\n %16 = icmp ult i32 %storemerge414.reload, %14\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n %17 = and i64 %13, 4294967295\n %18 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge3.reg2mem\n br label LBL_21\n LBL_5:\n %19 = sub i32 %storemerge414.reload, %14\n %20 = zext i32 %19 to i64\n %21 = add nuw nsw i64 %84, %20\n %22 = mul i64 %21, 256\n %23 = add i64 %22, %3\n %24 = sext i32 %storemerge414.reload to i64\n %25 = add nsw i64 %84, %24\n %26 = mul i64 %25, 256\n %27 = add i64 %26, %3\n %28 = inttoptr i64 %27 to i64*\n %29 = inttoptr i64 %23 to i64*\n %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %85)\n br i1 %86, label LBL_15, label LBL_6\n LBL_6:\n %31 = add nsw i64 %87, %20\n %32 = mul i64 %31, 4\n %33 = add i64 %32, %7\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add nsw i64 %87, %24\n %37 = mul i64 %36, 4\n %38 = add i64 %37, %7\n %39 = inttoptr i64 %38 to i32*\n store i32 %35, i32* %39, align 4\n br label LBL_15\n LBL_7:\n br i1 %86, label LBL_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre = sext i32 %storemerge414.reload to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i32 8, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_9:\n %40 = call i64 @FUNC(i64 %5)\n %41 = trunc i64 %40 to i32\n %42 = add i32 %41, 8\n %43 = sext i32 %storemerge414.reload to i64\n %44 = add nsw i64 %87, %43\n %45 = mul i64 %44, 4\n %46 = add i64 %8, %45\n %47 = inttoptr i64 %46 to i32*\n store i32 %42, i32* %47, align 4\n %48 = add i64 %45, %7\n %49 = inttoptr i64 %48 to i32*\n store i32 %42, i32* %49, align 4\n store i64 %43, i64* %.pre-phi.reg2mem\n store i32 %42, 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 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %50 = add nsw i64 %.pre-phi.reload, %84\n %51 = mul i64 %50, 64\n store i64 0, i64* %indvars.iv16.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.112.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem\n %52 = mul i64 %indvars.iv16.reload, 4\n br i1 %97, label LBL_13, label LBL_12\n LBL_12:\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 = mul i32 %55, 4\n %57 = add i64 %52, ptrtoint (i32** @gv_2 to i64)\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = add i32 %59, %56\n store i32 %60, i32* %storemerge9.reg2mem\n br label LBL_14\n LBL_13:\n %61 = add i64 %52, ptrtoint (i32** @gv_3 to i64)\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = mul i32 %63, 8\n %65 = add i64 %52, ptrtoint (i32** @gv_4 to i64)\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i32 %67, %64\n store i32 %68, i32* %storemerge9.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %69 = call i64 @FUNC(i64 %5)\n %70 = trunc i64 %69 to i32\n %71 = add i32 %sv_0.112.reload, 256\n %72 = add i32 %71, %70\n %73 = srem i32 %72, 256\n %74 = sext i32 %storemerge9.reload to i64\n %75 = add nsw i64 %51, %74\n %76 = mul i64 %75, 4\n %77 = add i64 %76, %3\n %78 = inttoptr i64 %77 to i32*\n store i32 %73, i32* %78, align 4\n %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1\n %79 = icmp slt i64 %indvars.iv.next17, %101\n store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem\n store i32 %73, i32* %sv_0.112.reg2mem\n br i1 %79, label LBL_11, label LBL_15\n LBL_15:\n %80 = add i32 %storemerge414.reload, %.10\n %81 = icmp slt i32 %80, 6\n store i32 %80, i32* %storemerge414.reg2mem\n br i1 %81, label LBL_1, label LBL_16\n LBL_16:\n %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1\n %82 = icmp ult i64 %indvars.iv.next19, 4\n store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem\n br i1 %82, label LBL_17, label LBL_18\n LBL_17:\n %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem\n %83 = icmp eq i64 %indvars.iv18.reload, 0\n %84 = mul nuw nsw i64 %indvars.iv18.reload, 6\n %85 = select i1 %83, i32 16, i32 64\n %86 = icmp ult i64 %indvars.iv18.reload, 2\n %87 = add nsw i64 %84, -12\n %indvars.iv18.tr = trunc i64 %indvars.iv18.reload to i32\n %88 = mul i32 %indvars.iv18.tr, 2\n %89 = add i32 %88, 4\n %90 = shl i32 1, %89\n %91 = add nsw i32 %90, -64\n %92 = icmp eq i32 %91, 0\n %93 = icmp slt i32 %91, 0\n %94 = icmp eq i1 %93, false\n %95 = icmp eq i1 %92, false\n %96 = icmp eq i1 %94, %95\n %97 = icmp eq i1 %83, false\n %98 = icmp eq i64 %indvars.iv18.reload, 3\n %99 = icmp eq i1 %98, false\n %.10 = select i1 %99, i32 1, i32 3\n %100 = sext i32 %90 to i64\n %101 = select i1 %96, i64 64, i64 %100\n store i32 0, i32* %storemerge414.reg2mem\n br label LBL_1\n LBL_18:\n %102 = bitcast i64* %rcx to i32*\n %103 = load i32, i32* %102, align 8\n %104 = icmp eq i32 %103, 3\n %105 = icmp eq i1 %104, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %105, label LBL_21, label LBL_19\n LBL_19:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %106 = mul i64 %indvars.iv.reload, 4\n %107 = add i64 %106, %3\n %108 = add i64 %107, 3328\n %109 = inttoptr i64 %108 to i32*\n %110 = load i32, i32* %109, align 4\n %111 = add i64 %107, 4864\n %112 = inttoptr i64 %111 to i32*\n store i32 %110, i32* %112, align 4\n %113 = add i64 %107, 3584\n %114 = inttoptr i64 %113 to i32*\n %115 = load i32, i32* %114, align 4\n %116 = add i64 %107, 5120\n %117 = inttoptr i64 %116 to i32*\n store i32 %115, i32* %117, align 4\n %118 = add i64 %107, 4096\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = add i64 %107, 5632\n %122 = inttoptr i64 %121 to i32*\n store i32 %120, i32* %122, align 4\n %123 = add i64 %107, 4352\n %124 = inttoptr i64 %123 to i32*\n %125 = load i32, i32* %124, align 4\n %126 = add i64 %107, 5888\n %127 = inttoptr i64 %126 to i32*\n store i32 %125, i32* %127, align 4\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_20, label LBL_19\n LBL_20:\n %128 = add i64 %3, 6148\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = add i64 %3, 6172\n %132 = inttoptr i64 %131 to i32*\n store i32 %130, i32* %132, align 4\n %133 = add i64 %3, 6152\n %134 = inttoptr i64 %133 to i32*\n %135 = load i32, i32* %134, align 4\n %136 = add i64 %3, 6176\n %137 = inttoptr i64 %136 to i32*\n store i32 %135, i32* %137, align 4\n %138 = add i64 %3, 6160\n %139 = inttoptr i64 %138 to i32*\n %140 = load i32, i32* %139, align 4\n %141 = add i64 %3, 6184\n %142 = inttoptr i64 %141 to i32*\n store i32 %140, i32* %142, align 4\n %143 = add i64 %3, 6164\n %144 = inttoptr i64 %143 to i32*\n %145 = load i32, i32* %144, align 4\n %146 = add i64 %3, 6188\n %147 = inttoptr i64 %146 to i32*\n store i32 %145, i32* %147, align 4\n store i64 0, i64* %storemerge3.reg2mem\n br label LBL_21\n LBL_21:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i32 %91, { 1, 0 }\n uselistorder i64 %87, { 2, 1, 0 }\n uselistorder i1 %86, { 1, 0 }\n uselistorder i64 %84, { 3, 1, 0, 2 }\n uselistorder i64 %indvars.iv18.reload, { 3, 5, 1, 2, 4, 0 }\n uselistorder i64 %52, { 2, 0, 3, 1 }\n uselistorder i64 %45, { 1, 0 }\n uselistorder i32 %14, { 1, 0, 2 }\n uselistorder i32 %storemerge414.reload, { 5, 3, 4, 2, 1, 0 }\n uselistorder i64 %5, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 6, 5, 8, 7, 10, 9, 11, 12, 0, 1, 2, 3, 4 }\n uselistorder i32* %storemerge414.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.112.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 64, { 2, 1, 0 }\n uselistorder i64 (i64)* @get_se_golomb, { 1, 0 }\n uselistorder i32 8, { 1, 2, 0 }\n uselistorder i64 4, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder label LBL_21, { 1, 0, 2 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_target_net_6758", "fun_name": "get_target_net", "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 %sext = mul i64 %0, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %1, i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %6 = inttoptr i64 %3 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 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %3)\n store i64 -13, 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, 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": "trun_Size_8895", "fun_name": "trun_Size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem12 = alloca i32\n %.reg2mem10 = alloca i32\n %.reg2mem8 = alloca i32\n %storemerge1.reg2mem = alloca i32\n %.reg2mem6 = alloca i32\n %.reg2mem = alloca i32\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, 4\n %5 = inttoptr i64 %arg1 to i32*\n store i32 %4, i32* %5, 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 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n store i32 %8, i32* %.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = load i32, i32* %2, align 8\n %12 = add i32 %11, 4\n store i32 %12, i32* %5, align 4\n %.pre = load i32, i32* %7, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %13 = and i32 %.reload, 2\n %14 = icmp eq i32 %13, 0\n store i32 %.reload, i32* %.reg2mem6\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = load i32, i32* %2, align 8\n %16 = add i32 %15, 4\n store i32 %16, i32* %5, align 4\n %.pre2 = load i32, i32* %7, align 4\n store i32 %.pre2, i32* %.reg2mem6\n br label LBL_4\n LBL_4:\n %.reload7 = load i32, i32* %.reg2mem6\n %17 = and i32 %.reload7, 60\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_15\n LBL_5:\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 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %25, label LBL_15, label LBL_6\n LBL_6:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %26 = load i32, i32* %7, align 4\n %27 = and i32 %26, 4\n %28 = icmp eq i32 %27, 0\n store i32 %26, i32* %.reg2mem8\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = load i32, i32* %2, align 8\n %30 = add i32 %29, 4\n store i32 %30, i32* %5, align 4\n %.pre3 = load i32, i32* %7, align 4\n store i32 %.pre3, i32* %.reg2mem8\n br label LBL_8\n LBL_8:\n %.reload9 = load i32, i32* %.reg2mem8\n %31 = and i32 %.reload9, 8\n %32 = icmp eq i32 %31, 0\n store i32 %.reload9, i32* %.reg2mem10\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = load i32, i32* %2, align 8\n %34 = add i32 %33, 4\n store i32 %34, i32* %5, align 4\n %.pre4 = load i32, i32* %7, align 4\n store i32 %.pre4, i32* %.reg2mem10\n br label LBL_10\n LBL_10:\n %.reload11 = load i32, i32* %.reg2mem10\n %35 = and i32 %.reload11, 16\n %36 = icmp eq i32 %35, 0\n store i32 %.reload11, i32* %.reg2mem12\n br i1 %36, label LBL_12, label LBL_11\n LBL_11:\n %37 = load i32, i32* %2, align 8\n %38 = add i32 %37, 4\n store i32 %38, i32* %5, align 4\n %.pre5 = load i32, i32* %7, align 4\n store i32 %.pre5, i32* %.reg2mem12\n br label LBL_12\n LBL_12:\n %.reload13 = load i32, i32* %.reg2mem12\n %39 = and i32 %.reload13, 32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_14, label LBL_13\n LBL_13:\n %41 = load i32, i32* %2, align 8\n %42 = add i32 %41, 4\n store i32 %42, i32* %5, align 4\n br label LBL_14\n LBL_14:\n %43 = add nuw i32 %storemerge1.reload, 1\n %exitcond = icmp eq i32 %43, %24\n store i32 %43, i32* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_6\n LBL_15:\n ret i64 0\n\n uselistorder i32* %7, { 0, 1, 2, 5, 3, 4, 6 }\n uselistorder i32* %5, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i32* %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem6, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %.reg2mem10, { 0, 2, 1 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 4, { 0, 1, 2, 3, 7, 4, 5, 6 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SMB2_sess_establish_session_3639", "fun_name": "SMB2_sess_establish_session", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.in.in.reg2mem = alloca i64*\n %sv_0.0.reg2mem = alloca i64*\n %rdi.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 = add i64 %0, 24\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 %1, i64* %rdi.0.reg2mem\n store i64* null, i64** %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = trunc i64 %0 to i32\n %10 = and i64 %0, 4294967295\n %11 = inttoptr i64 %10 to i64*\n %12 = icmp eq i32 %9, 0\n store i64 %0, i64* %rdi.0.reg2mem\n store i64* %11, i64** %sv_0.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 16)\n store i64* %11, i64** %storemerge.in.in.reg2mem\n br label LBL_6\n LBL_3:\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %15 = trunc i64 %rdi.0.reload to i8\n %16 = icmp eq i8 %15, 1\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %rdi.0.reload, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 2, i32* %18, align 4\n %19 = inttoptr i64 %rdi.0.reload to i8*\n store i8 1, i8* %19, align 1\n br label LBL_5\n LBL_5:\n %20 = add i64 %rdi.0.reload, 16\n %21 = call i64 @FUNC(i64 %20)\n %22 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0))\n %23 = call i64 @FUNC(i64* nonnull @gv_2)\n %24 = add i64 %0, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 12\n %27 = inttoptr i64 %26 to i8*\n store i8 0, i8* %27, align 1\n %28 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64* %sv_0.0.reload, 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 %storemerge.in = ptrtoint i64* %storemerge.in.in.reload to i64\n %storemerge = and i64 %storemerge.in, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %rdi.0.reload, { 3, 0, 2, 1 }\n uselistorder i64 %0, { 3, 4, 0, 2, 1, 5, 6 }\n uselistorder i64** %storemerge.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64, i8*)* @cifs_dbg, { 1, 0 }\n uselistorder i64 16, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s_aes_process_7621", "fun_name": "s_aes_process", "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 %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rsi.17.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rsi.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 %sv_1 = alloca i64, align 8\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, 32\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 %2, i64* %rsi.0.reg2mem\n br i1 %13, label LBL_6, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0))\n store i64 %14, i64* %10, 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 = load i32, i32* @gv_1, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_3:\n %20 = add i64 %3, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %.off6 = add i32 %22, -1\n %23 = icmp ult i32 %.off6, 32\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load i32, i32* inttoptr (i64 4210760 to i32*), align 8\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i32 %22)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_5:\n %27 = mul i32 %22, 8\n %28 = zext i32 %27 to i64\n %29 = add i64 %3, 41\n %30 = call i64 @FUNC(i64 %14, i64 %29, i64 %28)\n store i64 %29, i64* %rsi.0.reg2mem\n br label LBL_6\n LBL_6:\n %31 = sub i64 %8, %2\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %32 = add i64 %3, 28\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_6.LBL_10_crit_edge, label LBL_8\n LBL_7:\n %.pre = add i64 %rsi.0.reload, 16\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_10\n LBL_8:\n %37 = icmp sgt i64 %31, 15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_9, label LBL_21\n LBL_9:\n %38 = add i64 %rsi.0.reload, 1\n %39 = add i64 %3, 12\n %40 = add i64 %rsi.0.reload, 9\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %38 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = inttoptr i64 %39 to i64*\n store i64 %44, i64* %45, align 8\n %46 = add i64 %3, 20\n %47 = inttoptr i64 %46 to i64*\n store i64 %42, i64* %47, align 8\n store i32 1, i32* %33, align 4\n %48 = add i64 %rsi.0.reload, 16\n store i64 %48, i64* %arg2, align 8\n store i64 %48, i64* %.pre-phi.reg2mem\n br label LBL_10\n LBL_10:\n %sext = mul i64 %arg4, 72057594037927936\n %49 = ashr exact i64 %sext, 56\n %50 = icmp slt i64 %31, 1\n %spec.select = select i1 %50, i64 %8, i64 %2\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %51 = icmp ult i64 %spec.select, %.pre-phi.reload\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_11, label LBL_19\n LBL_11:\n %53 = add i64 %3, 12\n %54 = trunc i64 %49 to i8\n %55 = icmp eq i8 %54, 0\n %56 = add i64 %4, 16\n %57 = icmp ult i64 %spec.select, 16\n %58 = icmp eq i1 %57, false\n store i64 %rsi.0.reload, i64* %rsi.17.reg2mem\n br label LBL_12\n LBL_12:\n %rsi.17.reload = load i64, i64* %rsi.17.reg2mem\n %59 = add i64 %rsi.17.reload, 1\n %60 = load i64, i64* %10, align 8\n %61 = call i64 @FUNC(i64 %60, i64 0, i64 16, i64 %53, i64 %59, i64* nonnull %sv_1)\n store i64 16, i64* %arg2, align 8\n store i64 16, i64* %rdx.0.reg2mem\n br i1 %55, label LBL_18, label LBL_13\n LBL_13:\n %62 = load i64, i64* %7, align 8\n %63 = icmp eq i64 %62, 0\n %64 = icmp eq i1 %63, false\n store i64 0, i64* %rdx.0.reg2mem\n br i1 %64, label LBL_18, label LBL_14\n LBL_14:\n %65 = add i64 %3, 40\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = icmp eq i8 %67, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %68, label LBL_17, label LBL_15\n LBL_15:\n %69 = urem i32 %5, 256\n %.off = add nsw i32 %69, -1\n %70 = icmp ult i32 %.off, 16\n store i32 %69, i32* %sv_0.0.reg2mem\n br i1 %70, label LBL_17, label LBL_16\n LBL_16:\n %71 = zext i32 %69 to i64\n %72 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %71)\n store i32 0, 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 %73 = sub nsw i32 16, %sv_0.0.reload\n %74 = sext i32 %73 to i64\n %75 = add nsw i64 %74, 1\n %76 = inttoptr i64 %75 to i64*\n %77 = call i64* @memcpy(i64* %76, i64* nonnull %sv_1, i32 %73)\n %78 = mul i64 %74, 2\n store i64 %78, i64* %arg3, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_18:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %79 = or i64 %rdx.0.reload, 1\n %80 = load i64, i64* %sv_1, align 8\n %81 = inttoptr i64 %79 to i64*\n store i64 %80, i64* %81, align 8\n %82 = or i64 %rdx.0.reload, 9\n %83 = inttoptr i64 %82 to i64*\n store i64 %56, i64* %arg3, align 8\n store i64 0, i64* %rsi.17.reg2mem\n br i1 %58, label LBL_12, label LBL_19\n LBL_19:\n %84 = urem i64 %49, 256\n %spec.select5 = select i1 %50, i64 %84, i64 1\n %85 = icmp eq i64 %spec.select5, 1\n %86 = icmp eq i1 %85, false\n store i64 %spec.select5, i64* %rax.0.reg2mem\n br i1 %86, label LBL_21, label LBL_20\n LBL_20:\n %87 = load i32, i32* @gv_5, align 4\n %88 = zext i32 %87 to i64\n %89 = call i64 @FUNC(i64 %88, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, 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 %rdx.0.reload, { 1, 0 }\n uselistorder i32 %69, { 1, 0, 2 }\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64 %rsi.0.reload, { 0, 3, 1, 2, 4 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i32 %22, { 0, 2, 1 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64* %10, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 2, 0, 1 }\n uselistorder i64 %3, { 3, 4, 6, 7, 5, 1, 0, 2, 8 }\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64* %rsi.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 6, 2, 4, 3 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 16, { 0, 3, 4, 2, 5, 6, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64, i8*)* @gs_throw, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0, 4, 5, 6 }\n uselistorder label LBL_21, { 3, 0, 2, 1, 4, 5 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ReadGF_IPMPX_WatermarkingInit_6697", "fun_name": "ReadGF_IPMPX_WatermarkingInit", "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* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 8)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg2 to i32*\n store i32 %3, i32* %4, align 4\n %5 = call i64 @FUNC(i64 %1, i64 4)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %1, i64 1)\n %10 = call i64 @FUNC(i64 %1, i64 3)\n %11 = bitcast i64* %rsi 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 br i1 %14, label LBL_4, label LBL_1\n LBL_1:\n %15 = add i64 %0, 64\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_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64 %1, i64 8)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %1, i64 8)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %0, 12\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %1, i64 32)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %0, 16\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n br label LBL_4\n LBL_3:\n %32 = call i64 @FUNC(i64 %1, i64 16)\n %33 = trunc i64 %32 to i32\n %34 = add i64 %0, 20\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = call i64 @FUNC(i64 %1, i64 16)\n %37 = trunc i64 %36 to i32\n %38 = add i64 %0, 24\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = call i64 @FUNC(i64 %1, i64 8)\n %41 = trunc i64 %40 to i32\n %42 = add i64 %0, 28\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n br label LBL_4\n LBL_4:\n %44 = load i32, i32* %8, align 4\n %45 = icmp sgt i32 %44, 3\n br i1 %45, label LBL_6, label LBL_5\n LBL_5:\n %46 = icmp sgt i32 %44, 1\n br i1 %46, label LBL_7, label LBL_9\n LBL_6:\n %47 = or i32 %44, 1\n %48 = icmp eq i32 %47, 5\n br i1 %48, label LBL_8, label LBL_9\n LBL_7:\n %49 = call i64 @FUNC(i64 %1, i64 16)\n %50 = trunc i64 %49 to i32\n %51 = add i64 %0, 32\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %sext1 = mul i64 %49, 4294967296\n %53 = ashr exact i64 %sext1, 32\n %54 = call i64 @FUNC(i64 %53)\n %55 = add i64 %0, 40\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = load i32, i32* %52, align 4\n %58 = call i64 @FUNC(i64 %1, i64 %54, i32 %57)\n br label LBL_9\n LBL_8:\n %59 = call i64 @FUNC(i64 %1, i64 16)\n %60 = trunc i64 %59 to i32\n %61 = add i64 %0, 48\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n br label LBL_9\n LBL_9:\n %63 = trunc i64 %9 to i32\n %64 = icmp eq i32 %63, 0\n br i1 %64, label LBL_11, label LBL_10\n LBL_10:\n %65 = call i64 @FUNC(i64 %1, i64 16)\n %66 = trunc i64 %65 to i32\n %67 = add i64 %0, 52\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %sext = mul i64 %65, 4294967296\n %69 = ashr exact i64 %sext, 32\n %70 = call i64 @FUNC(i64 %69)\n %71 = add i64 %0, 56\n %72 = inttoptr i64 %71 to i64*\n store i64 %70, i64* %72, align 8\n %73 = load i32, i32* %68, align 4\n %74 = call i64 @FUNC(i64 %1, i64 %70, i32 %73)\n br label LBL_11\n LBL_11:\n ret i64 0\n\n uselistorder i64 %1, { 8, 9, 10, 6, 7, 2, 3, 4, 0, 1, 5, 11, 12, 13, 14 }\n uselistorder i64 %0, { 9, 10, 11, 7, 8, 3, 4, 5, 0, 1, 2, 6, 12 }\n uselistorder i64 (i64, i64, i32)* @gf_bs_read_data, { 1, 0 }\n uselistorder i64 (i64)* @gf_malloc, { 1, 0 }\n uselistorder i64 32, { 1, 0, 3, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_9, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_bits_9421", "fun_name": "get_bits", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge4.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 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = ptrtoint i32* %arg1 to i64\n %10 = add i64 %9, 8\n %11 = add i32 %6, -1\n %12 = urem i32 %6, 32\n %13 = icmp eq i32 %12, 0\n store i32 %3, i32* %.in.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 %.in.reload = load i32, i32* %.in.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %10)\n %15 = trunc i64 %14 to i8\n %16 = icmp eq i8 %15, -1\n %17 = select i1 %16, i32 7, i32 8\n store i32 %17, i32* %arg1, align 4\n br label LBL_4\n LBL_4:\n %18 = mul i32 %storemerge4.reload, 2\n store i32 %11, i32* %arg1, align 4\n %19 = call i64 @FUNC(i64 %10)\n %20 = trunc i64 %19 to i32\n %21 = urem i32 %20, 256\n %22 = lshr i32 %21, %12\n %23 = zext i32 %22 to i64\n %rdx.0 = select i1 %13, i64 %19, i64 %23\n %24 = trunc i64 %rdx.0 to i32\n %25 = urem i32 %24, 2\n %26 = or i32 %25, %18\n %27 = add i32 %.in.reload, -1\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i32 %27, i32* %.in.reg2mem\n store i32 %26, i32* %storemerge4.reg2mem\n br i1 %29, label LBL_2, label LBL_5\n LBL_5:\n %phitmp = zext i32 %26 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 %26, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %6, { 0, 2, 1 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.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 -1, { 2, 1, 0 }\n uselistorder i32* %arg1, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppc_set_compat_14483", "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 %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 = 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 store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_1:\n %15 = icmp eq i64 %9, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = trunc i64 %7 to i32\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 br label LBL_4\n LBL_3:\n %19 = inttoptr i64 %9 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %21 = zext i32 %12 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %22 = trunc i64 %7 to i32\n store i32 %22, i32* %11, align 4\n %23 = inttoptr i64 %21 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = and i64 %24, %sv_0.0.reload\n store i64 %25, i64* %arg1, align 8\n %26 = call i64 @FUNC()\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_7, label LBL_5\n LBL_5:\n %29 = load i32, i32* %11, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %5, i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = sub i64 0, %31\n %36 = and i64 %35, 4294967295\n %37 = call i64 @FUNC(i64 %4, i64 %36, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 %2, i64 %1)\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 %31, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "claimintf_8445", "fun_name": "claimintf", "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 i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 64\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 = and i64 %arg2, 4294967295\n %4 = add i64 %2, 8\n %5 = call i64 @FUNC(i64 %3, 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_2, label LBL_8\n LBL_2:\n %8 = add i64 %2, 24\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_3\n LBL_3:\n %12 = add i64 %2, 16\n %13 = call i64 @FUNC(i64 %3, 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 4294967283, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_8\n LBL_4:\n %17 = call i64 @FUNC(i64 %2, i64 %3)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967294, i64* %storemerge2.reg2mem\n br i1 %19, label LBL_5, label LBL_7\n LBL_5:\n %20 = call i64 @FUNC(i64 4210741, i64 %17, i64 %2)\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* %storemerge2.reg2mem\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %3, i64 %4)\n store i64 %20, i64* %storemerge2.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %25 = and i64 %storemerge2.reload, 4294967295\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 %20, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @test_bit, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xfrm_replay_advance_bmp_4859", "fun_name": "xfrm_replay_advance_bmp", "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 %.reg2mem13 = alloca i32\n %storemerge29.reg2mem = alloca i32\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 = call i32 @ntohl(i32 %3)\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_15, label LBL_1\n LBL_1:\n %9 = trunc i64 %1 to i32\n %10 = add i32 %9, -1\n %11 = urem i32 %10, %7\n %12 = icmp ugt i32 %4, %9\n br i1 %12, label LBL_2, label LBL_10\n LBL_2:\n %13 = sub i32 %4, %9\n %14 = icmp ult i32 %13, %7\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = icmp ugt i32 %13, 1\n %17 = add i64 %2, 8\n store i32 %7, i32* %.reg2mem\n store i32 1, i32* %storemerge29.reg2mem\n store i32 %7, i32* %.reg2mem13\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = add i32 %storemerge29.reload, %11\n %19 = urem i32 %18, %.reload\n %20 = udiv i32 %19, 32\n %21 = mul i32 %20, 4\n %22 = zext i32 %21 to i64\n %23 = add i64 %17, %22\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %19, 32\n %27 = shl i32 -1, %26\n %28 = add i32 %27, -1\n %29 = and i32 %25, %28\n store i32 %29, i32* %24, align 4\n %30 = add nuw i32 %storemerge29.reload, 1\n %exitcond10 = icmp eq i32 %30, %13\n %.pre11 = load i32, i32* %6, align 4\n store i32 %.pre11, i32* %.reg2mem\n store i32 %30, i32* %storemerge29.reg2mem\n store i32 %.pre11, i32* %.reg2mem13\n br i1 %exitcond10, label LBL_5, label LBL_4\n LBL_5:\n %.reload14 = load i32, i32* %.reg2mem13\n %31 = add i32 %11, %13\n %32 = urem i32 %31, %.reload14\n %33 = udiv i32 %32, 32\n %34 = mul i32 %33, 4\n %35 = zext i32 %34 to i64\n %36 = add i64 %17, %35\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = urem i32 %32, 32\n %40 = shl i32 1, %39\n %41 = or i32 %40, %38\n store i32 %41, i32* %37, align 4\n br label LBL_9\n LBL_6:\n %42 = add i32 %7, -1\n %43 = udiv i32 %42, 32\n %44 = add i64 %2, 8\n %45 = add nuw nsw i32 %43, 1\n %wide.trip.count = zext i32 %45 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 %46 = mul i64 %indvars.iv.reload, 4\n %47 = add i64 %46, %44\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, 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_8, label LBL_7\n LBL_8:\n %49 = add i32 %11, %13\n %50 = load i32, i32* %6, align 4\n %51 = urem i32 %49, %50\n %52 = udiv i32 %51, 32\n %53 = mul i32 %52, 4\n %54 = zext i32 %53 to i64\n %55 = add i64 %44, %54\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = urem i32 %51, 32\n %59 = shl i32 1, %58\n %60 = or i32 %59, %57\n store i32 %60, i32* %56, align 4\n br label LBL_9\n LBL_9:\n %61 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %61, align 4\n br label LBL_13\n LBL_10:\n %62 = sub i32 %9, %4\n %63 = icmp ult i32 %11, %62\n %64 = sub i32 %11, %62\n br i1 %63, label LBL_12, label LBL_11\n LBL_11:\n %65 = urem i32 %64, %7\n %66 = udiv i32 %65, 32\n %67 = mul i32 %66, 4\n %68 = zext i32 %67 to i64\n %69 = add i64 %2, 8\n %70 = add i64 %69, %68\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = urem i32 %65, 32\n %74 = shl i32 1, %73\n %75 = or i32 %74, %72\n store i32 %75, i32* %71, align 4\n br label LBL_13\n LBL_12:\n %76 = add i32 %64, %7\n %77 = udiv i32 %76, 32\n %78 = mul i32 %77, 4\n %79 = zext i32 %78 to i64\n %80 = add i64 %2, 8\n %81 = add i64 %80, %79\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = urem i32 %76, 32\n %85 = shl i32 1, %84\n %86 = or i32 %83, %85\n store i32 %86, i32* %82, align 4\n br label LBL_13\n LBL_13:\n %87 = call i64 @FUNC(i64 %2)\n %88 = and i64 %87, 4294967295\n %89 = call i64 @FUNC(i64 %88)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n store i64 %89, i64* %rax.0.reg2mem\n br i1 %91, label LBL_15, label LBL_14\n LBL_14:\n %92 = call i64 @FUNC(i64 %2, i64 1)\n store i64 %92, 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 %76, { 1, 0 }\n uselistorder i32 %65, { 1, 0 }\n uselistorder i32 %51, { 1, 0 }\n uselistorder i32 %32, { 1, 0 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i32 %11, { 4, 3, 0, 1, 2 }\n uselistorder i32 %9, { 2, 1, 3, 0 }\n uselistorder i32 %7, { 2, 3, 5, 0, 1, 4, 7, 6 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i32 %4, { 2, 0, 3, 1 }\n uselistorder i64 %2, { 4, 5, 1, 0, 3, 2, 6 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i32 32, { 1, 0, 3, 2, 5, 4, 6, 8, 7, 10, 9 }\n uselistorder i32 -1, { 2, 0, 1, 3 }\n uselistorder label LBL_15, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_rowskip_1167", "fun_name": "decode_rowskip", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %0 = icmp sgt i32 %arg3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_8\n LBL_1:\n %1 = ptrtoint i64* %arg5 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp sgt i32 %arg2, 0\n %4 = sext i32 %arg4 to i64\n %wide.trip.count = zext i32 %arg2 to i64\n store i32 0, i32* %storemerge6.reg2mem\n store i64 %2, i64* %sv_0.03.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\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 br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %3, label LBL_5, label LBL_6\n LBL_4:\n %9 = inttoptr i64 %sv_0.03.reload to i64*\n %10 = call i64* @memset(i64* %9, i32 0, i32 %arg2)\n br label LBL_6\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = call i64 @FUNC(i64 %1, i64 1)\n %12 = add i64 %indvars.iv.reload, %sv_0.03.reload\n %13 = trunc i64 %11 to i8\n %14 = inttoptr i64 %12 to i8*\n store i8 %13, i8* %14, 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_6, label LBL_5\n LBL_6:\n %15 = add i64 %sv_0.03.reload, %4\n %16 = add nuw nsw i32 %storemerge6.reload, 1\n %exitcond7 = icmp eq i32 %16, %arg3\n store i32 %16, i32* %storemerge6.reg2mem\n store i64 %15, i64* %sv_0.03.reg2mem\n br i1 %exitcond7, label LBL_7, label LBL_2\n LBL_7:\n %phitmp = zext i32 %arg3 to i64\n store i64 %phitmp, i64* %storemerge.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %sv_0.03.reload, { 2, 1, 0 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n uselistorder i32 %arg3, { 1, 0, 2 }\n uselistorder i32 %arg2, { 2, 0, 1 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_fillrect_12794", "fun_name": "bm_fillrect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem31 = alloca i32\n %.reg2mem29 = alloca i32\n %.reg2mem27 = alloca i32\n %storemerge1215.reg2mem = alloca i32\n %.reg2mem25 = alloca i64\n %storemerge16.reg2mem = alloca i32\n %.reg2mem23 = alloca i64\n %.reg2mem21 = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext5, 32\n %sext7 = mul i64 %arg5, 4294967296\n %2 = ashr exact i64 %sext7, 32\n %3 = trunc i64 %2 to i32\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %3, %4\n %sv_0.0 = select i1 %5, i64 %2, i64 %1\n %sv_1.0 = select i1 %5, i64 %1, i64 %2\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = trunc i64 %sv_0.0 to i32\n %10 = sub i32 %9, %8\n %11 = xor i32 %8, %9\n %12 = xor i32 %10, %9\n %13 = and i32 %12, %11\n %14 = icmp slt i32 %13, 0\n %15 = icmp slt i32 %10, 0\n %16 = icmp eq i1 %15, %14\n %17 = select i1 %16, i32 %9, i32 %8\n %18 = add i64 %0, 20\n %19 = inttoptr i64 %18 to i32*\n %20 = trunc i64 %sv_1.0 to i32\n %21 = add i32 %20, 1\n %22 = load i32, i32* %19, align 4\n %23 = sub i32 %22, %21\n %24 = xor i32 %22, %21\n %25 = xor i32 %23, %22\n %26 = and i32 %25, %24\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i32 %23, 0\n %29 = icmp slt i32 %23, 0\n %30 = icmp eq i1 %29, %27\n %31 = icmp eq i1 %28, false\n %32 = icmp eq i1 %30, %31\n %33 = select i1 %32, i32 %21, i32 %22\n %34 = zext i32 %33 to i64\n %35 = sext i32 %17 to i64\n %36 = icmp slt i64 %35, %34\n store i64 %34, i64* %.lcssa.reg2mem\n br i1 %36, label LBL_1, label LBL_10\n LBL_1:\n %37 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %38 = trunc i64 %arg4 to i32\n %sext6 = mul i64 %arg4, 4294967296\n %39 = icmp slt i32 %38, %37\n %spec.select = select i1 %39, i64 %sext6, i64 %sext\n %spec.select14 = select i1 %39, i64 %sext, i64 %sext6\n %40 = udiv i64 %spec.select14, 4294967296\n %41 = udiv i64 %spec.select, 4294967296\n %42 = add i64 %0, 8\n %43 = inttoptr i64 %42 to i32*\n %44 = trunc i64 %41 to i32\n %45 = add i64 %0, 16\n %46 = inttoptr i64 %45 to i32*\n %47 = trunc i64 %40 to i32\n %48 = add i32 %47, 1\n %49 = add i64 %0, 4\n %50 = inttoptr i64 %49 to i32*\n %51 = bitcast i64* %rdi to i32*\n %52 = add i64 %0, 32\n %53 = inttoptr i64 %52 to i64*\n %54 = add i64 %0, 24\n %55 = inttoptr i64 %54 to i32*\n %.pre19 = load i32, i32* %46, align 4\n store i32 %22, i32* %.reg2mem\n store i32 %.pre19, i32* %.reg2mem21\n store i64 %35, i64* %.reg2mem23\n store i32 %17, i32* %storemerge16.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge16.reload = load i32, i32* %storemerge16.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %.reload22 = load i32, i32* %.reg2mem21\n %.reload = load i32, i32* %.reg2mem\n %56 = load i32, i32* %43, align 4\n %57 = sub i32 %44, %56\n %58 = xor i32 %56, %44\n %59 = xor i32 %57, %44\n %60 = and i32 %59, %58\n %61 = icmp slt i32 %60, 0\n %62 = icmp slt i32 %57, 0\n %63 = icmp eq i1 %62, %61\n %64 = select i1 %63, i32 %44, i32 %56\n %65 = icmp slt i32 %storemerge16.reload, 0\n %66 = sub i32 %.reload22, %48\n %67 = xor i32 %.reload22, %48\n %68 = xor i32 %66, %.reload22\n %69 = and i32 %68, %67\n %70 = icmp slt i32 %69, 0\n %71 = icmp eq i32 %66, 0\n %72 = icmp slt i32 %66, 0\n %73 = icmp eq i1 %72, %70\n %74 = icmp eq i1 %71, false\n %75 = icmp eq i1 %73, %74\n %76 = select i1 %75, i32 %48, i32 %.reload22\n %77 = zext i32 %76 to i64\n %78 = sext i32 %64 to i64\n %79 = icmp slt i64 %78, %77\n store i64 %78, i64* %.reg2mem25\n store i32 %64, i32* %storemerge1215.reg2mem\n store i32 %.reload, i32* %.reg2mem29\n store i32 %.reload22, i32* %.reg2mem31\n br i1 %79, label LBL_3, label LBL_9\n LBL_3:\n %storemerge1215.reload = load i32, i32* %storemerge1215.reg2mem\n br i1 %65, label LBL_6, label LBL_4\n LBL_4:\n %80 = load i32, i32* %50, align 4\n %81 = zext i32 %80 to i64\n %82 = icmp sge i64 %.reload24, %81\n %83 = icmp slt i32 %storemerge1215.reload, 0\n %or.cond = or i1 %83, %82\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %.reload26 = load i64, i64* %.reg2mem25\n %84 = load i32, i32* %51, align 8\n %85 = zext i32 %84 to i64\n %86 = icmp slt i64 %.reload26, %85\n store i32 %84, i32* %.reg2mem27\n br i1 %86, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %51, align 8\n store i32 %.pre, i32* %.reg2mem27\n br label LBL_7\n LBL_7:\n %.reload28 = load i32, i32* %.reg2mem27\n %87 = load i64, i64* %53, align 8\n %88 = mul i32 %.reload28, %storemerge16.reload\n %89 = add i32 %88, %storemerge1215.reload\n %90 = sext i32 %89 to i64\n %91 = mul i64 %90, 4\n %92 = add i64 %91, %87\n %93 = load i32, i32* %55, align 4\n %94 = inttoptr i64 %92 to i32*\n store i32 %93, i32* %94, align 4\n %95 = add i32 %storemerge1215.reload, 1\n %96 = load i32, i32* %46, align 4\n %97 = sub i32 %96, %48\n %98 = xor i32 %96, %48\n %99 = xor i32 %97, %96\n %100 = and i32 %99, %98\n %101 = icmp slt i32 %100, 0\n %102 = icmp eq i32 %97, 0\n %103 = icmp slt i32 %97, 0\n %104 = icmp eq i1 %103, %101\n %105 = icmp eq i1 %102, false\n %106 = icmp eq i1 %104, %105\n %107 = select i1 %106, i32 %48, i32 %96\n %108 = zext i32 %107 to i64\n %109 = sext i32 %95 to i64\n %110 = icmp slt i64 %109, %108\n store i64 %109, i64* %.reg2mem25\n store i32 %95, i32* %storemerge1215.reg2mem\n br i1 %110, label LBL_3, label LBL_8\n LBL_8:\n %.pre20 = load i32, i32* %19, align 4\n store i32 %.pre20, i32* %.reg2mem29\n store i32 %96, i32* %.reg2mem31\n br label LBL_9\n LBL_9:\n %.reload32 = load i32, i32* %.reg2mem31\n %.reload30 = load i32, i32* %.reg2mem29\n %111 = add i32 %storemerge16.reload, 1\n %112 = sub i32 %.reload30, %21\n %113 = xor i32 %.reload30, %21\n %114 = xor i32 %112, %.reload30\n %115 = and i32 %114, %113\n %116 = icmp slt i32 %115, 0\n %117 = icmp eq i32 %112, 0\n %118 = icmp slt i32 %112, 0\n %119 = icmp eq i1 %118, %116\n %120 = icmp eq i1 %117, false\n %121 = icmp eq i1 %119, %120\n %122 = select i1 %121, i32 %21, i32 %.reload30\n %123 = zext i32 %122 to i64\n %124 = sext i32 %111 to i64\n %125 = icmp slt i64 %124, %123\n store i32 %.reload30, i32* %.reg2mem\n store i32 %.reload32, i32* %.reg2mem21\n store i64 %124, i64* %.reg2mem23\n store i32 %111, i32* %storemerge16.reg2mem\n store i64 %123, i64* %.lcssa.reg2mem\n br i1 %125, label LBL_2, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %112, { 1, 2, 0 }\n uselistorder i32 %.reload30, { 4, 2, 0, 1, 3 }\n uselistorder i32 %97, { 1, 2, 0 }\n uselistorder i32 %96, { 0, 3, 1, 2, 4 }\n uselistorder i32 %storemerge1215.reload, { 1, 0, 2 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i32 %56, { 1, 0, 2 }\n uselistorder i32 %storemerge16.reload, { 2, 0, 1 }\n uselistorder i32 %48, { 5, 3, 4, 0, 1, 2 }\n uselistorder i32* %46, { 1, 0 }\n uselistorder i32 %44, { 2, 0, 1, 3 }\n uselistorder i64 %sext6, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32 %21, { 5, 3, 4, 0, 1, 2 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32 %9, { 2, 0, 1, 3 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem21, { 1, 0, 2 }\n uselistorder i64* %.reg2mem23, { 1, 0, 2 }\n uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem25, { 2, 0, 1 }\n uselistorder i32* %storemerge1215.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem27, { 0, 2, 1 }\n uselistorder i32* %.reg2mem29, { 0, 2, 1 }\n uselistorder i32* %.reg2mem31, { 0, 2, 1 }\n uselistorder i1 false, { 3, 2, 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 4294967296, { 4, 5, 1, 3, 0, 2 }\n uselistorder label LBL_6, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "arcmsr_hbaD_message_isr_10764", "fun_name": "arcmsr_hbaD_message_isr", "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 1, i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = add i64 %2, 8\n %7 = call i64 @FUNC(i64 %6)\n ret i64 %7\n\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "CaptureStatsSetup_8427", "fun_name": "CaptureStatsSetup", "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 ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg2 to i32*\n store i32 %3, i32* %4, align 4\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %1)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), 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 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %1)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n ret i64 %13\n\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64 (i8*, i64)* @StatsRegisterCounter, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "softusb_usbdev_datain_680", "fun_name": "softusb_usbdev_datain", "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 store i64 %0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_0)\n %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64 0, i64 1)\n %3 = load i64, i64* %sv_0, align 8\n %4 = add i64 %3, 8\n %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %4, i64 64)\n %6 = call i64 @FUNC(i64* nonnull %sv_0)\n %7 = load i64, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %7)\n ret i64 %8\n\n uselistorder i64* %sv_0, { 4, 0, 1, 5, 2, 3, 6 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp3info_1749", "fun_name": "mp3info", "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 %storemerge.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i32\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 %1 to i32\n %6 = mul i32 %5, 16777216\n %7 = add i64 %4, 1\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i32\n %11 = mul i32 %10, 65536\n %12 = or i32 %11, %6\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 = udiv i32 %10, 2\n %20 = urem i32 %19, 4\n %21 = xor i32 %20, 3\n %22 = mul i32 %21, 4\n %23 = zext i32 %22 to i64\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 = icmp ugt i32 %12, -2097153\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_1, label LBL_9\n LBL_1:\n %28 = zext i8 %15 to i32\n %29 = udiv i32 %28, 2\n %30 = urem i32 %29, 2\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_3, label LBL_2\n LBL_2:\n %33 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n call void @exit(i32 0)\n unreachable\n LBL_3:\n %34 = udiv i32 %28, 16\n %35 = udiv i32 %28, 4\n %36 = urem i32 %35, 4\n %37 = icmp ugt i8 %18, -65\n %38 = zext i1 %37 to i32\n %39 = bitcast i64* %arg5 to i32*\n store i32 %38, i32* %39, align 4\n %40 = and i32 %10, 8\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_5, label LBL_4\n LBL_4:\n %42 = mul i32 %36, 4\n %43 = zext i32 %42 to i64\n %44 = add i64 %43, ptrtoint (i32** @gv_2 to i64)\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = bitcast i64* %arg4 to i32*\n store i32 %46, i32* %47, align 4\n %48 = mul i32 %21, 16\n %49 = or i32 %48, %34\n %50 = mul i32 %49, 4\n %51 = zext i32 %50 to i64\n %52 = add i64 %51, ptrtoint (i32** @gv_3 to i64)\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = add i64 %23, ptrtoint (i32** @gv_4 to i64)\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = bitcast i64* %arg3 to i32*\n store i32 %57, i32* %58, align 4\n store i32 %54, i32* %sv_0.0.in.reg2mem\n br label LBL_8\n LBL_5:\n %59 = and i32 %10, 16\n %60 = icmp eq i32 %59, 0\n %61 = mul i32 %36, 4\n %62 = zext i32 %61 to i64\n br i1 %60, label LBL_7, label LBL_6\n LBL_6:\n %63 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 16)\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = bitcast i64* %arg4 to i32*\n store i32 %65, i32* %66, align 4\n %67 = mul i32 %21, 16\n %68 = or i32 %67, %34\n %69 = mul i32 %68, 4\n %70 = zext i32 %69 to i64\n %71 = add i64 %70, add (i64 ptrtoint (i32** @gv_3 to i64), i64 192)\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 12)\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = bitcast i64* %arg3 to i32*\n store i32 %76, i32* %77, align 4\n store i32 %73, i32* %sv_0.0.in.reg2mem\n br label LBL_8\n LBL_7:\n %78 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 32)\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = bitcast i64* %arg4 to i32*\n store i32 %80, i32* %81, align 4\n %82 = mul i32 %21, 16\n %83 = or i32 %82, %34\n %84 = mul i32 %83, 4\n %85 = zext i32 %84 to i64\n %86 = add i64 %85, add (i64 ptrtoint (i32** @gv_3 to i64), i64 192)\n %87 = inttoptr i64 %86 to i32*\n %88 = load i32, i32* %87, align 4\n %89 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 24)\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = bitcast i64* %arg3 to i32*\n store i32 %91, i32* %92, align 4\n store i32 %88, i32* %sv_0.0.in.reg2mem\n br label LBL_8\n LBL_8:\n %93 = trunc i64 %2 to i32\n %sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem\n %sv_0.0 = mul i32 %sv_0.0.in.reload, 1000\n %94 = ashr i32 %sv_0.0, 31\n %95 = zext i32 %sv_0.0 to i64\n %96 = zext i32 %94 to i64\n %97 = mul i64 %96, 4294967296\n %98 = or i64 %97, %95\n %99 = zext i32 %26 to i64\n %100 = sdiv i64 %98, %99\n %101 = trunc i64 %100 to i32\n %102 = mul i32 %101, %93\n %103 = ashr i32 %102, 31\n %104 = zext i32 %102 to i64\n %105 = zext i32 %103 to i64\n %106 = mul i64 %105, 4294967296\n %107 = or i64 %106, %104\n %108 = and i64 %3, 4294967295\n %109 = sdiv i64 %107, %108\n %110 = trunc i64 %109 to i32\n %111 = add i32 %30, %110\n %112 = bitcast i64* %arg2 to i32*\n store i32 %111, i32* %112, align 4\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 i32 %34, { 2, 1, 0 }\n uselistorder i32 %30, { 1, 0 }\n uselistorder i32 %28, { 1, 2, 0 }\n uselistorder i64 %23, { 2, 1, 0, 3 }\n uselistorder i32 %10, { 2, 3, 1, 0 }\n uselistorder i32* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 16, { 0, 1, 4, 2, 3 }\n uselistorder i32 4, { 0, 1, 2, 3, 4, 7, 6, 5, 8 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_tempfile_3380", "fun_name": "av_tempfile", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.in.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_1, align 8\n %3 = call i8* @tempnam(i8* null, i8* %arg1)\n %4 = icmp eq i8* %3, null\n %5 = icmp eq i1 %4, false\n store i8* %3, i8** %sv_0.0.in.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i8* @tempnam(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* %arg1)\n store i8* %6, i8** %sv_0.0.in.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.in.reload = load i8*, i8** %sv_0.0.in.reg2mem\n %sv_0.0 = ptrtoint i8* %sv_0.0.in.reload to i64\n %7 = call i64 @FUNC(i64 %sv_0.0)\n store i64 %7, i64* %arg2, align 8\n %8 = bitcast i8* %sv_0.0.in.reload to i64*\n call void @free(i64* %8)\n %9 = icmp eq i8* %arg1, null\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* nonnull %sv_1, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1)\n store i32 -12, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_4:\n %12 = call i32 (i8*, i32, ...) @open(i8* %arg1, i32 194)\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 %12, i32* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = call i32* @__errno_location()\n %17 = load i32, i32* %16, align 4\n %18 = sub i32 0, %17\n %19 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 194, i64 %2, i64 %1)\n %20 = call i64 @FUNC(i64 %15)\n store i32 %18, 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 i8* %sv_0.0.in.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %rax.0.shrunk.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 void (i64*)* @free, { 1, 0 }\n uselistorder i8* (i8*, i8*)* @tempnam, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gvconfig_plugin_install_from_config_7091", "fun_name": "gvconfig_plugin_install_from_config", "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 %.reg2mem16 = alloca i32\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i32\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 %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n store i64 %arg2, i64* %sv_1, align 8\n store i32 0, i32* %sv_0, align 4\n %4 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n %5 = trunc i64 %2 to i8\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_12\n LBL_1:\n %8 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n %9 = load i32, i32* %sv_0, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge2.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n store i64 %12, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %13 = call i64 @FUNC(i64 %3, i64 %8, i64 %storemerge2.reload)\n br label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n %15 = call i64 @FUNC(i64 %14)\n %.pre = load i32, i32* %sv_0, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %16 = icmp eq i32 %.reload, 2\n %17 = icmp eq i1 %16, false\n store i32 %.reload, i32* %.reg2mem16\n br i1 %17, label LBL_11, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n %19 = load i32, i32* %sv_0, align 4\n %20 = icmp eq i32 %19, 2\n %21 = icmp eq i1 %20, false\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)\n %23 = inttoptr i64 %22 to i8*\n %24 = call i32 @atoi(i8* %23)\n store i32 %24, i32* %storemerge1.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %25 = call i64 @FUNC(i64 %3, i64 %18, i32 %storemerge1.reload, i64 %13, i64 0)\n %26 = trunc i64 %25 to i8\n %27 = icmp eq i8 %26, 1\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %14, i64 %18, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_10:\n %.pr = load i32, i32* %sv_0, align 4\n store i32 %.pr, i32* %.reg2mem16\n br label LBL_11\n LBL_11:\n %.reload17 = load i32, i32* %.reg2mem16\n store i32 2, i32* %.reg2mem\n switch i32 %.reload17, label LBL_1 [\n i32 2, label LBL_5\n i32 1, label LBL_4\n ]\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 1, 2, 8, 3, 0, 4, 5, 9, 6, 7, 10 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem16, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0, 2, 3 }\n uselistorder i64 (i32*, i64*)* @token, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder i32 0, { 0, 2, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_alloc_linear_4612", "fun_name": "kvm_alloc_linear", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem20 = alloca i32*\n %.reg2mem = alloca i32*\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = load i32*, i32** @gv_1, align 8\n %2 = icmp eq i32* %1, bitcast (i32** @gv_1 to i32*)\n %3 = icmp eq i1 %2, false\n store i32* %1, i32** %.reg2mem20\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = trunc i64 %arg1 to i32\n store i32* %1, i32** %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32*, i32** %.reg2mem\n %5 = load i32, i32* %.reload, align 4\n %6 = icmp eq i32 %5, %4\n %7 = icmp eq i1 %6, false\n %8 = ptrtoint i32* %.reload to i64\n %9 = add i64 %8, 16\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %8, 32\n %12 = call i64 @FUNC(i64 %11)\n store i32* %.reload, i32** %.reg2mem20\n br label LBL_5\n LBL_4:\n %13 = inttoptr i64 %9 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i32*\n %16 = icmp eq i32* %15, bitcast (i32** @gv_1 to i32*)\n %17 = icmp eq i1 %16, false\n store i32* %15, i32** %.reg2mem\n store i32* %15, i32** %.reg2mem20\n br i1 %17, label LBL_2, label LBL_5\n LBL_5:\n %.reload21 = load i32*, i32** %.reg2mem20\n %18 = call i64 @FUNC(i64* nonnull @gv_0)\n %19 = ptrtoint i32* %.reload21 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 = mul i32 %22, 4096\n %24 = add i64 %19, 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 = call i64* @memset(i64* %27, i32 0, i32 %23)\n ret i64 %19\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i32* %.reload, { 0, 2, 1 }\n uselistorder i32* %1, { 1, 0, 2 }\n uselistorder i32** %.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.reg2mem20, { 0, 1, 3, 2 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32* bitcast (i32** @gv_1 to i32*), { 1, 0 }\n uselistorder i32** @gv_1, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 6, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_for_slice_12347", "fun_name": "check_for_slice", "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_1, label LBL_5\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = sub i32 0, %6\n %8 = urem i32 %7, 8\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i32 %8, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0, i64 8)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 128\n %14 = icmp eq i1 %13, false\n %spec.select = select i1 %14, i32 %8, i32 8\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 %15 = add nuw nsw i32 %sv_0.0.reload, 24\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %0, i64 %16)\n %18 = urem i64 %17, 16777216\n %19 = icmp eq i64 %18, 1\n %20 = icmp eq i1 %19, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %0, i64 %16)\n %22 = call i64 @FUNC(i64 %0, i64 8)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %0, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %0, i64 %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 i32 %8, { 2, 0, 1 }\n uselistorder i64 %0, { 2, 1, 3, 5, 4, 6, 0, 7, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mbochs_remove_5936", "fun_name": "mbochs_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 = add i64 %1, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %1 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, i64* nonnull @gv_0)\n %10 = add i64 %1, 16\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 %1, 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 = call i64 @FUNC(i64 %1)\n ret i64 %18\n\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RegisterWMFImage_8493", "fun_name": "RegisterWMFImage", "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 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 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_0, 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 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))\n %11 = inttoptr i64 %9 to i64*\n store i64 %10, i64* %11, align 8\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %13 = add i64 %9, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %9)\n ret i64 0\n\n uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 (i8*)* @ConstantString, { 3, 2, 1, 0 }\n uselistorder i64 (i8*)* @SetMagickInfo, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "piix3_ide_class_init_16169", "fun_name": "piix3_ide_class_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n store i32 1, i32* %arg1, align 4\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 i64*\n store i64 4198701, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i16*\n store i16 -32634, i16* %6, align 2\n %7 = add i64 %0, 26\n %8 = inttoptr i64 %7 to i16*\n store i16 28945, i16* %8, align 2\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i16*\n store i16 257, i16* %10, align 2\n %11 = load i64, i64* %2, align 8\n %12 = call i64 @FUNC(i64 0, i64 %11)\n store i32 1, i32* %arg1, align 4\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hyp_get_page_state_13302", "fun_name": "hyp_get_page_state", "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 = 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_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = and i64 %4, 4294967295\n %6 = call i64 @FUNC(i64 %5)\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": "1" }, { "dataset": "CompRealVul", "file": "ecryptfs_free_kmem_caches_9067", "fun_name": "ecryptfs_free_kmem_caches", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC()\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, 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 = 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_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %6)\n br 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, 10\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 10\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_tco_timeout_2881", "fun_name": "set_tco_timeout", "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 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i64 %arg2, 65536\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7, i32 %5, i64 0, i64 %6)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfcomm_tty_ioctl_8819", "fun_name": "rfcomm_tty_ioctl", "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 %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i32 %0)\n %3 = and i64 %1, 4294967295\n store i64 %3, i64* @0, align 8\n %trunc = trunc i64 %1 to i32\n switch i32 %trunc, 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 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_9\n LBL_2:\n %5 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_3:\n %6 = call i32 @puts(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_9\n LBL_4:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %8 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_5 to i64*), i32 1, i32 29, %_IO_FILE* %7)\n br label LBL_9\n LBL_5:\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %10 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_6 to i64*), i32 1, i32 29, %_IO_FILE* %9)\n br label LBL_9\n LBL_6:\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %12 = call i32 @fwrite(i64* bitcast ([33 x i8]* @gv_7 to i64*), i32 1, i32 32, %_IO_FILE* %11)\n br label LBL_9\n LBL_7:\n %13 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %14 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_8 to i64*), i32 1, i32 31, %_IO_FILE* %13)\n br label LBL_9\n LBL_8:\n %15 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %16 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_9 to i64*), i32 1, i32 31, %_IO_FILE* %15)\n br label LBL_9\n LBL_9:\n ret i64 1\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 31, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 4, 3, 2, 1, 0 }\n uselistorder i32 29, { 1, 0 }\n uselistorder %_IO_FILE** @gv_4, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ec_GFp_mont_group_set_curve_4194", "fun_name": "ec_GFp_mont_group_set_curve", "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.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 %1 = call i64 @FUNC(i64 %0)\n store i64 0, 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)\n store i64 0, i64* %3, align 8\n %6 = icmp eq i64 %arg5, 0\n %7 = icmp eq i1 %6, false\n store i64 %arg5, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %sv_4.0.reg2mem\n store i64 %8, i64* %sv_3.0.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_10\n LBL_2:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %11 = call i64 @FUNC()\n %12 = icmp eq i64 %11, 0\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 i1 %12, label LBL_9, label LBL_3\n LBL_3:\n %13 = ptrtoint i64* %arg2 to i64\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %14 = call i64 @FUNC(i64 %11, i64 %13, i64 %sv_4.0.reload)\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_5, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 1, i64 2)\n store i64 %11, 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_9\n LBL_5:\n %19 = call i64 @FUNC()\n %20 = icmp eq i64 %19, 0\n store i64 %11, 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 i1 %20, label LBL_9, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC()\n %22 = call i64 @FUNC(i64 %19, i64 %21, i64 %11, i64 %sv_4.0.reload)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 %11, i64* %sv_2.0.reg2mem\n store i64 %19, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_9, label LBL_7\n LBL_7:\n %25 = ptrtoint i64* %arg4 to i64\n %26 = ptrtoint i64* %arg3 to i64\n store i64 %11, i64* %arg1, align 8\n store i64 %19, i64* %3, align 8\n %27 = call i64 @FUNC(i64 %0, i64 %13, i64 %26, i64 %25, i64 %sv_4.0.reload)\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_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %27, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_9, label LBL_8\n LBL_8:\n %31 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n %32 = load i64, i64* %3, align 8\n %33 = call i64 @FUNC(i64 %32)\n store i64 0, i64* %3, align 8\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %27, 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 %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %34 = call i64 @FUNC(i64 %sv_3.0.reload)\n %35 = call i64 @FUNC(i64 %sv_2.0.reload)\n %36 = call i64 @FUNC(i64 %sv_1.0.reload)\n %37 = and i64 %sv_0.0.reload, 4294967295\n store i64 %37, 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 %19, { 1, 0, 2, 3 }\n uselistorder i64 %sv_4.0.reload, { 2, 1, 0 }\n uselistorder i64 %11, { 3, 1, 4, 2, 0, 5, 6 }\n uselistorder i64* %3, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i32 0, { 4, 5, 6, 0, 1, 2, 3 }\n uselistorder i64 (i64)* @BN_free, { 2, 1, 0 }\n uselistorder i64 (i64)* @BN_MONT_CTX_free, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 4, 0, 1, 2, 5, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dynticks_start_timer_3253", "fun_name": "dynticks_start_timer", "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 %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %0 = bitcast i64* %sv_2 to %_TYPEDEF_sigset_t*\n %1 = call i32 @sigfillset(%_TYPEDEF_sigset_t* nonnull %0)\n store i64 4198774, i64* %sv_3, align 8\n %2 = bitcast i64* %sv_3 to %sigaction*\n %3 = call i32 @sigaction(i32 14, %sigaction* nonnull %2, %sigaction* null)\n %4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 64)\n store i64 0, i64* %sv_1, align 8\n %5 = bitcast i64* %sv_1 to %sigevent*\n %6 = bitcast i64* %sv_0 to i64**\n %7 = call i32 @timer_create(i32 0, %sigevent* nonnull %5, i64** nonnull %6)\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %10 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_2 to i64*), i32 1, i32 23, %_IO_FILE* %9)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = load i64, i64* %sv_0, align 8\n store i64 %11, i64* %arg1, 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* %sv_1, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opfcmov_10605", "fun_name": "opfcmov", "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, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 2\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_20, 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 = 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_20, label LBL_2\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 = 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_20, label LBL_3\n LBL_3:\n %16 = add i64 %0, 20\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 store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_20, label LBL_4\n LBL_4:\n %21 = ptrtoint i64* %arg2 to i64\n %22 = add i64 %0, 5\n %23 = inttoptr i64 %22 to i8*\n %24 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\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 = bitcast i64* %arg2 to i8*\n store i8 -38, i8* %27, align 1\n %28 = add i64 %0, 24\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i64 %21, 1\n %32 = trunc i32 %30 to i8\n %33 = or i8 %32, -64\n %34 = inttoptr i64 %31 to i8*\n store i8 %33, i8* %34, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n %35 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = bitcast i64* %arg2 to i8*\n store i8 -38, i8* %38, align 1\n %39 = add i64 %0, 24\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = add i64 %21, 1\n %43 = trunc i32 %41 to i8\n %44 = or i8 %43, -56\n %45 = inttoptr i64 %42 to i8*\n store i8 %44, i8* %45, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_8:\n %46 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))\n %47 = icmp eq 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 = bitcast i64* %arg2 to i8*\n store i8 -38, i8* %49, align 1\n %50 = add i64 %0, 24\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %21, 1\n %54 = trunc i32 %52 to i8\n %55 = or i8 %54, -48\n %56 = inttoptr i64 %53 to i8*\n store i8 %55, i8* %56, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_10:\n %57 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0))\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_12, label LBL_11\n LBL_11:\n %60 = bitcast i64* %arg2 to i8*\n store i8 -38, i8* %60, align 1\n %61 = add i64 %0, 24\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i64 %21, 1\n %65 = trunc i32 %63 to i8\n %66 = or i8 %65, -40\n %67 = inttoptr i64 %64 to i8*\n store i8 %66, i8* %67, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_12:\n %68 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n %69 = icmp eq i32 %68, 0\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_14, label LBL_13\n LBL_13:\n %71 = bitcast i64* %arg2 to i8*\n store i8 -37, i8* %71, align 1\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 %21, 1\n %76 = trunc i32 %74 to i8\n %77 = or i8 %76, -64\n %78 = inttoptr i64 %75 to i8*\n store i8 %77, i8* %78, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_14:\n %79 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0))\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n br i1 %81, label LBL_16, label LBL_15\n LBL_15:\n %82 = bitcast i64* %arg2 to i8*\n store i8 -37, i8* %82, align 1\n %83 = add i64 %0, 24\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = add i64 %21, 1\n %87 = trunc i32 %85 to i8\n %88 = or i8 %87, -56\n %89 = inttoptr i64 %86 to i8*\n store i8 %88, i8* %89, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_16:\n %90 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\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 %93 = bitcast i64* %arg2 to i8*\n store i8 -37, i8* %93, align 1\n %94 = add i64 %0, 24\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = add i64 %21, 1\n %98 = trunc i32 %96 to i8\n %99 = or i8 %98, -48\n %100 = inttoptr i64 %97 to i8*\n store i8 %99, i8* %100, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_18:\n %101 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0))\n %102 = icmp eq i32 %101, 0\n %103 = icmp eq i1 %102, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %103, label LBL_20, label LBL_19\n LBL_19:\n %104 = bitcast i64* %arg2 to i8*\n store i8 -37, i8* %104, align 1\n %105 = add i64 %0, 24\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = add i64 %21, 1\n %109 = trunc i32 %107 to i8\n %110 = or i8 %109, -40\n %111 = inttoptr i64 %108 to i8*\n store i8 %110, i8* %111, align 1\n store i64 2, 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 %21, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 7, 6, 5, 4, 3, 2, 1, 0, 12, 10, 9, 8, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 13, 8, 7, 6, 5, 4, 3, 2, 12, 11, 10, 1 }\n uselistorder i64 2, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 3, 0, 1, 4, 2, 7, 6, 5 }\n uselistorder label LBL_20, { 8, 12, 7, 6, 5, 4, 3, 2, 1, 11, 10, 9, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rds_cmsg_atomic_7508", "fun_name": "rds_cmsg_atomic", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %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 %.pre-phi.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp ugt i32 %3, 35\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n %or.cond = icmp eq i1 %6, %4\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_20\n LBL_1:\n %7 = ptrtoint i32* %arg3 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %7, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 4\n br i1 %13, label LBL_7, label LBL_2\n LBL_2:\n %14 = icmp sgt i32 %12, 4\n br i1 %14, label LBL_8, label LBL_3\n LBL_3:\n switch i32 %12, label LBL_8 [\n i32 3, label LBL_6\n i32 1, label LBL_4\n i32 2, label LBL_5\n ]\n LBL_4:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 5, i32* %17, align 4\n %18 = load i32, i32* %9, align 4\n %19 = add i64 %15, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %15, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n store i64 %15, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_5:\n %23 = ptrtoint i32* %arg2 to i64\n %24 = add i64 %23, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 5, i32* %25, align 4\n %26 = load i32, i32* %9, align 4\n %27 = add i64 %23, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %8, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %23, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n store i64 %23, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_6:\n %34 = ptrtoint i32* %arg2 to i64\n %35 = add i64 %34, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 6, i32* %36, align 4\n %37 = load i32, i32* %9, align 4\n %38 = add i64 %34, 16\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = add i64 %8, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %34, 20\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %34, 24\n %46 = inttoptr i64 %45 to i32*\n store i32 -1, i32* %46, align 4\n %47 = add i64 %34, 28\n %48 = inttoptr i64 %47 to i32*\n store i32 -1, i32* %48, align 4\n store i64 %34, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_7:\n %49 = ptrtoint i32* %arg2 to i64\n %50 = add i64 %49, 4\n %51 = inttoptr i64 %50 to i32*\n store i32 6, i32* %51, align 4\n %52 = load i32, i32* %9, align 4\n %53 = add i64 %49, 16\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %8, 4\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %49, 20\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = add i64 %8, 8\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = add i64 %49, 24\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n %65 = add i64 %8, 12\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i64 %49, 28\n %69 = inttoptr i64 %68 to i32*\n store i32 %67, i32* %69, align 4\n store i64 %49, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_8:\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %70 = add i64 %8, 16\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = urem i32 %72, 2\n %74 = icmp eq i32 %73, 0\n %75 = icmp eq i1 %74, false\n %76 = zext i1 %75 to i32\n %77 = add i64 %.pre-phi.reload, 40\n %78 = inttoptr i64 %77 to i32*\n store i32 %76, i32* %78, align 4\n %79 = load i32, i32* %71, align 4\n %80 = and i32 %79, 2\n %81 = icmp eq i32 %80, 0\n %82 = icmp eq i1 %81, false\n %83 = zext i1 %82 to i32\n %84 = add i64 %.pre-phi.reload, 44\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n store i32 1, i32* %arg2, align 4\n %86 = bitcast i64* %rdi to i32*\n %87 = load i32, i32* %86, align 8\n %88 = add i64 %.pre-phi.reload, 48\n %89 = inttoptr i64 %88 to i32*\n store i32 %87, i32* %89, align 4\n %90 = call i64 @FUNC(i64 %.pre-phi.reload, i64 1)\n %91 = add i64 %.pre-phi.reload, 56\n %92 = inttoptr i64 %91 to i64*\n store i64 %90, i64* %92, align 8\n %93 = icmp eq i64 %90, 0\n %94 = icmp eq i1 %93, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %94, label LBL_10, label LBL_17\n LBL_10:\n %95 = add i64 %8, 20\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = urem i32 %97, 8\n %99 = icmp eq i32 %98, 0\n store i64 4294967282, i64* %sv_0.0.reg2mem\n br i1 %99, label LBL_11, label LBL_17\n LBL_11:\n %100 = zext i32 %97 to i64\n %101 = call i64 @FUNC(i64 %100, i64 1, i64* nonnull %sv_1, i64 1)\n %102 = trunc i64 %101 to i32\n %103 = icmp eq i32 %102, 1\n %104 = icmp eq i1 %103, false\n store i64 %101, i64* %sv_0.0.reg2mem\n br i1 %104, label LBL_17, label LBL_12\n LBL_12:\n %105 = load i32, i32* %96, align 4\n %106 = zext i32 %105 to i64\n %107 = call i64 @FUNC(i64 %106)\n %108 = load i64, i64* %sv_1, align 8\n %109 = load i64, i64* %92, align 8\n %110 = and i64 %107, 4294967295\n %111 = call i64 @FUNC(i64 %109, i64 %108, i64 8, i64 %110)\n %112 = load i32, i32* %78, align 4\n %113 = icmp eq i32 %112, 0\n %114 = icmp eq i1 %113, false\n br i1 %114, label LBL_14, label LBL_13\n LBL_13:\n %115 = load i32, i32* %89, align 4\n %116 = icmp eq i32 %115, 0\n br i1 %116, label LBL_16, label LBL_14\n LBL_14:\n %117 = call i64 @FUNC(i64 8, i64 0)\n %118 = add i64 %.pre-phi.reload, 32\n %119 = inttoptr i64 %118 to i64*\n store i64 %117, i64* %119, align 8\n %120 = icmp eq i64 %117, 0\n %121 = icmp eq i1 %120, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %121, label LBL_15, label LBL_17\n LBL_15:\n %122 = add i64 %8, 24\n %123 = inttoptr i64 %122 to i32*\n %124 = load i32, i32* %123, align 4\n %125 = inttoptr i64 %117 to i32*\n store i32 %124, i32* %125, align 4\n %126 = load i64, i64* %119, align 8\n %127 = add i64 %126, 4\n %128 = inttoptr i64 %127 to i32*\n store i32 0, i32* %128, align 4\n br label LBL_16\n LBL_16:\n %129 = add i64 %8, 28\n %130 = inttoptr i64 %129 to i32*\n %131 = load i32, i32* %130, align 4\n %132 = zext i32 %131 to i64\n %133 = call i64 @FUNC(i64 %132)\n %134 = trunc i64 %133 to i32\n %135 = add i64 %.pre-phi.reload, 64\n %136 = inttoptr i64 %135 to i32*\n store i32 %134, i32* %136, align 4\n %137 = add i64 %8, 32\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 4\n %140 = load i32, i32* %130, align 4\n %141 = zext i32 %140 to i64\n %142 = call i64 @FUNC(i64 %141)\n %143 = trunc i64 %142 to i32\n %144 = add i32 %139, %143\n %145 = add i64 %.pre-phi.reload, 68\n %146 = inttoptr i64 %145 to i32*\n store i32 %144, i32* %146, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_17:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %147 = load i64, i64* %sv_1, align 8\n %148 = icmp eq i64 %147, 0\n br i1 %148, label LBL_19, label LBL_18\n LBL_18:\n %149 = call i64 @FUNC(i64 %147)\n br label LBL_19\n LBL_19:\n %150 = add i64 %.pre-phi.reload, 32\n %151 = inttoptr i64 %150 to i64*\n %152 = load i64, i64* %151, align 8\n %153 = call i64 @FUNC(i64 %152)\n %154 = and i64 %sv_0.0.reload, 4294967295\n store i64 %154, 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 %117, { 1, 0, 2 }\n uselistorder i32 %97, { 1, 0 }\n uselistorder i32* %9, { 3, 2, 0, 1 }\n uselistorder i64 %8, { 4, 5, 6, 7, 8, 0, 1, 2, 3, 9, 10 }\n uselistorder i64* %sv_1, { 1, 2, 0, 3 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i64 8, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32* %arg2, { 3, 4, 2, 0, 1 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_17, { 0, 3, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__io_sqe_files_unregister_6866", "fun_name": "__io_sqe_files_unregister", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\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 = icmp eq i32 %3, 0\n %5 = add i64 %2, 4\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\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 = zext i32 %storemerge1.reload to i64\n %8 = call i64 @FUNC(i64 %5, i64 %7)\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(i64 %8)\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_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %5, i64 %7)\n %15 = call i64 @FUNC(i64 %8)\n br label LBL_5\n LBL_5:\n %16 = add i32 %storemerge1.reload, 1\n %17 = sext i32 %16 to i64\n %18 = icmp sgt i64 %6, %17\n store i32 %16, i32* %storemerge1.reg2mem\n br i1 %18, label LBL_2, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %5)\n %20 = call i64 @FUNC(i64 %2, i64 0, i64 0)\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 store i64 0, i64* %22, align 8\n %25 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %25, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 0, 2, 3, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder label LBL_5, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jp2_pclr_putdata_6624", "fun_name": "jp2_pclr_putdata", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "write16_7045", "fun_name": "write16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = add i32 %arg2, -2\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 ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i32 7, 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 %3 = zext i32 %arg3 to i64\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i8*\n %6 = trunc i64 %arg5 to i8\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = trunc i16 %arg4 to i8\n store i8 %8, i8* %5, align 1\n %9 = udiv i16 %arg4, 256\n %10 = add i64 %4, 1\n %11 = trunc i16 %9 to i8\n %12 = inttoptr i64 %10 to i8*\n store i8 %11, i8* %12, align 1\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %13 = udiv i16 %arg4, 256\n %14 = trunc i16 %13 to i8\n store i8 %14, i8* %5, align 1\n %15 = add i64 %4, 1\n %16 = trunc i16 %arg4 to i8\n %17 = inttoptr i64 %15 to i8*\n store i8 %16, i8* %17, align 1\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 i8* %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i16 %arg4, { 2, 0, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_read_old_xref_7500", "fun_name": "pdf_read_old_xref", "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 i32\n %.reg2mem74 = alloca i64\n %.reg2mem72 = alloca i8\n %sv_0.121.reg2mem = alloca i32\n %storemerge22.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 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n %7 = call i64 @FUNC(i64 %5, i64 %4)\n %8 = call i64 @FUNC(i64 %5, i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\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, i64 4294967295, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n unreachable\n LBL_2:\n %12 = call i64 @FUNC(i64 %5, i64 %4)\n %13 = call i64 @FUNC(i64 %5, i64 %4)\n %14 = trunc i64 %13 to i32\n %.off24 = add i32 %14, -48\n %15 = icmp ugt i32 %.off24, 9\n br i1 %15, label LBL_25, label LBL_3\n LBL_3:\n %16 = trunc i64 %4 to i8\n %17 = add i64 %3, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = icmp eq i8 %16, 0\n br label LBL_4\n LBL_4:\n %20 = load i64, i64* %18, align 8\n %21 = call i64 @FUNC(i64 %5, i64 %4, i64 %4, i64 %20)\n store i64 %4, i64* %sv_1, align 8\n %22 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_2)\n %23 = call i64 @FUNC(i64 %22)\n %24 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_2)\n %25 = call i64 @FUNC(i64 %24)\n %26 = load i64, i64* %sv_1, align 8\n %27 = icmp eq i64 %26, 0\n %or.cond = or i1 %19, %27\n store i64 %20, i64* %rcx.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0))\n %29 = load i64, i64* %sv_1, align 8\n %30 = inttoptr i64 %29 to i8*\n %31 = call i32 @strlen(i8* %30)\n %32 = sub i32 -2, %31\n %33 = sext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %5, i64 %4, i64 %33, i64 1)\n store i64 1, i64* %rcx.0.reg2mem\n br label LBL_6\n LBL_6:\n %35 = trunc i64 %23 to i32\n %36 = icmp slt i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = and i64 %23, 4294967295\n %39 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_4, i64 0, i64 0), i64 %38, i64 %2, i64 %1)\n unreachable\n LBL_8:\n %sext = mul i64 %25, 4294967296\n %40 = ashr exact i64 %sext, 32\n %41 = sub i64 9223372036854775807, %40\n %sext5 = mul i64 %23, 4294967296\n %42 = ashr exact i64 %sext5, 32\n %43 = icmp slt i64 %41, %42\n br i1 %43, label LBL_9, label LBL_10\n LBL_9:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %44 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n unreachable\n LBL_10:\n %45 = trunc i64 %25 to i32\n %46 = call i64 @FUNC(i64 %5, i64 %4, i64 %42, i32 %45)\n %47 = add nsw i64 %40, %42\n %48 = icmp sgt i64 %sext, 0\n store i64 %42, i64* %.reg2mem\n store i32 %35, i32* %storemerge22.reg2mem\n store i32 0, i32* %sv_0.121.reg2mem\n br i1 %48, label LBL_11, label LBL_23\n LBL_11:\n %sv_0.121.reload = load i32, i32* %sv_0.121.reg2mem\n %49 = sub i32 20, %sv_0.121.reload\n %50 = sext i32 %49 to i64\n %51 = sext i32 %sv_0.121.reload to i64\n %52 = add nsw i64 %50, %51\n %53 = call i64 @FUNC(i64 %5, i64 %4, i64 %52, i64 %50)\n %54 = icmp eq i64 %53, %50\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_6, i64 0, i64 0), i64 %50, i64 %2, i64 %1)\n unreachable\n LBL_13:\n %storemerge22.reload = load i32, i32* %storemerge22.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %56 = sub nsw i64 %.reload, %42\n %57 = mul nsw i64 %56, 24\n %58 = add i64 %57, %46\n %59 = add i64 %58, 16\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = icmp eq i8 %61, 0\n %63 = icmp eq i1 %62, false\n store i32 %sv_0.121.reload, i32* %sv_0.0.reg2mem\n br i1 %63, label LBL_21, label LBL_14\n LBL_14:\n store i64 %52, i64* %sv_1, align 8\n %64 = inttoptr i64 %52 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = icmp eq i8 %65, 0\n store i8 %65, i8* %.reg2mem72\n store i64 %52, i64* %.reg2mem74\n br i1 %66, label LBL_17, label LBL_16\n LBL_15:\n %67 = add i64 %77, 1\n store i64 %67, i64* %sv_1, 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 store i8 %69, i8* %.reg2mem72\n store i64 %67, i64* %.reg2mem74\n br i1 %70, label LBL_17, label LBL_16\n LBL_16:\n %.reload73 = load i8, i8* %.reg2mem72\n %71 = sext i8 %.reload73 to i64\n %72 = and i64 %71, 4294967295\n %73 = call i64 @FUNC(i64 %72)\n %74 = trunc i64 %73 to i32\n %75 = icmp eq i32 %74, 0\n %76 = icmp eq i1 %75, false\n %77 = load i64, i64* %sv_1, align 8\n store i64 %77, i64* %.reg2mem74\n br i1 %76, label LBL_15, label LBL_17\n LBL_17:\n %.reload75 = load i64, i64* %.reg2mem74\n %78 = call i64 @FUNC(i64 %.reload75)\n %79 = inttoptr i64 %58 to i64*\n store i64 %78, i64* %79, align 8\n %80 = load i64, i64* %sv_1, align 8\n %81 = add i64 %80, 11\n %82 = call i64 @FUNC(i64 %81)\n %83 = trunc i64 %82 to i32\n %84 = add i64 %58, 8\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = add i64 %58, 12\n %87 = inttoptr i64 %86 to i32*\n store i32 %storemerge22.reload, i32* %87, align 4\n %88 = load i64, i64* %sv_1, align 8\n %89 = add i64 %88, 17\n %90 = inttoptr i64 %89 to i8*\n %91 = load i8, i8* %90, align 1\n store i8 %91, i8* %60, align 1\n %92 = load i64, i64* %sv_1, align 8\n %93 = add i64 %92, 17\n %94 = inttoptr i64 %93 to i8*\n %95 = load i8, i8* %94, align 1\n switch i8 %95, label LBL_18 [\n i8 102, label LBL_19\n i8 110, label LBL_19\n i8 111, label LBL_19\n ]\n LBL_18:\n %96 = load i32, i32* %85, align 4\n %97 = load i32, i32* %87, align 4\n %98 = zext i32 %96 to i64\n %99 = zext i32 %97 to i64\n %100 = sext i8 %95 to i64\n %101 = and i64 %100, 4294967295\n %102 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i64 %101, i64 %99, i64 %98)\n unreachable\n LBL_19:\n %103 = add i64 %92, 19\n %104 = inttoptr i64 %103 to i8*\n %105 = load i8, i8* %104, align 1\n %106 = add i8 %105, -32\n %107 = sub i8 31, %105\n %108 = and i8 %107, %105\n %109 = icmp slt i8 %108, 0\n %110 = icmp eq i8 %106, 0\n %111 = icmp slt i8 %106, 0\n %112 = icmp eq i1 %111, %109\n %113 = icmp eq i1 %110, false\n %114 = icmp eq i1 %112, %113\n %115 = icmp eq i1 %114, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %115, label LBL_21, label LBL_20\n LBL_20:\n %116 = inttoptr i64 %92 to i8*\n store i8 %105, i8* %116, align 1\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %117 = add i32 %storemerge22.reload, 1\n %118 = sext i32 %117 to i64\n %119 = icmp sgt i64 %47, %118\n store i64 %118, i64* %.reg2mem\n store i32 %117, i32* %storemerge22.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.121.reg2mem\n br i1 %119, label LBL_11, label LBL_22\n LBL_22:\n %120 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %120, label LBL_23, label LBL_24\n LBL_23:\n %121 = call i64 @FUNC(i64 %5, i64 %4)\n %122 = trunc i64 %121 to i32\n %.off = add i32 %122, -48\n %123 = icmp ugt i32 %.off, 9\n br i1 %123, label LBL_25, label LBL_4\n LBL_24:\n %124 = call i64 @FUNC(i64 %5, i64 %4)\n br label LBL_23\n LBL_25:\n %125 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n %126 = trunc i64 %125 to i32\n %127 = icmp eq i32 %126, 1\n br i1 %127, label LBL_27, label LBL_26\n LBL_26:\n %128 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n unreachable\n LBL_27:\n %129 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n %130 = trunc i64 %129 to i32\n %131 = icmp eq i32 %130, 2\n br i1 %131, label LBL_29, label LBL_28\n LBL_28:\n %132 = call i64 @FUNC(i64 %5, i64 4294967295, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_9, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n unreachable\n LBL_29:\n %133 = call i64 @FUNC(i64 %5, i64 %4, i64 %4, i64 %3)\n ret i64 %133\n\n uselistorder i8 %106, { 1, 0 }\n uselistorder i8 %105, { 1, 0, 2, 3 }\n uselistorder i64 %92, { 1, 0, 2 }\n uselistorder i64 %67, { 0, 2, 1 }\n uselistorder i32 %storemerge22.reload, { 1, 0 }\n uselistorder i64 %52, { 0, 2, 1, 3 }\n uselistorder i64 %50, { 0, 2, 3, 1 }\n uselistorder i32 %sv_0.121.reload, { 0, 2, 1 }\n uselistorder i64 %42, { 2, 0, 1, 4, 3 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64* %sv_1, { 4, 5, 6, 7, 1, 0, 8, 9, 2, 3, 10 }\n uselistorder i64 %5, { 14, 13, 15, 12, 16, 5, 17, 7, 6, 8, 9, 10, 4, 2, 3, 11, 0, 18, 1, 19, 20, 21 }\n uselistorder i64 %4, { 13, 12, 11, 14, 10, 15, 6, 16, 7, 8, 5, 0, 1, 9, 2, 3, 17, 4, 18, 19, 20 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge22.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.121.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem72, { 0, 2, 1 }\n uselistorder i64* %.reg2mem74, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @pdf_lex, { 1, 0 }\n uselistorder i64 1, { 3, 0, 2, 4, 1 }\n uselistorder i64 (i64)* @fz_atoi, { 1, 0 }\n uselistorder i64 (i64)* @fz_atoi64, { 1, 0 }\n uselistorder i64 (i64*, i64*)* @fz_strsep, { 1, 0 }\n uselistorder i8 0, { 3, 4, 5, 6, 1, 7, 0, 8, 9, 2 }\n uselistorder i32 9, { 1, 0 }\n uselistorder i32 -48, { 1, 0 }\n uselistorder i64 (i64, i64)* @fz_peek_byte, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @fz_throw, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 3, 4, 5, 1, 2, 6, 7, 8, 0, 9 }\n uselistorder i32 0, { 4, 0, 3, 1, 2, 5 }\n uselistorder i64 (i64, i64)* @fz_skip_space, { 1, 0 }\n uselistorder label LBL_23, { 2, 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_exec_init_13897", "fun_name": "cpu_exec_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 = inttoptr i64 %1 to i32*\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC()\n store i32 0, i32* %2, align 4\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()\n %8 = call i64 @FUNC(i64 %1)\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_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 0, i64 0, i64* nonnull @gv_0, i64 %1)\n br label LBL_2\n LBL_2:\n %13 = inttoptr i64 %3 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = inttoptr i64 %14 to i64*\n %17 = call i64 @FUNC(i64 0, i64 0, i64* %16, i64 %1)\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 %1, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 (i64, i64, i64*, i64)* @vmstate_register, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "oss_write_19015", "fun_name": "oss_write", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.17.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %sv_2.010.reg2mem = alloca i8*\n %sv_0.011.reg2mem = alloca i64\n %.reg2mem23 = alloca i64\n %.reg2mem = alloca i64\n %storemerge.reg2mem = 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 br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = icmp eq i64 %arg3, 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_14\n LBL_2:\n %9 = trunc i64 %1 to i32\n %10 = ptrtoint i8* %arg2 to i64\n store i64 0, i64* %sv_1.08.reg2mem\n store i64 %arg3, i64* %sv_0.17.reg2mem\n br label LBL_9\n LBL_3:\n %11 = call i64 @FUNC(i64 %2)\n %12 = icmp ugt i64 %11, %arg3\n store i64 %arg3, i64* %storemerge.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %2)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %14 = icmp eq i64 %storemerge.reload, 0\n %15 = icmp eq i1 %14, false\n store i64 %storemerge.reload, i64* %rax.0.reg2mem\n br i1 %15, label LBL_6, label LBL_14\n LBL_6:\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i64*\n %.pre17 = load i64, i64* %17, align 8\n store i64 %.pre17, i64* %.reg2mem\n store i64 %2, i64* %.reg2mem23\n store i64 %storemerge.reload, i64* %sv_0.011.reg2mem\n store i8* %arg2, i8** %sv_2.010.reg2mem\n br label LBL_7\n LBL_7:\n %sv_2.010.reload = load i8*, i8** %sv_2.010.reg2mem\n %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %.reload = load i64, i64* %.reg2mem\n %20 = sub i64 %.reload24, %.reload\n %21 = icmp ugt i64 %sv_0.011.reload, %20\n %22 = select i1 %21, i64 %20, i64 %sv_0.011.reload\n %23 = load i64, i64* %19, align 8\n %24 = add i64 %23, %.reload\n %25 = inttoptr i64 %24 to i64*\n %26 = bitcast i8* %sv_2.010.reload to i64*\n %27 = trunc i64 %22 to i32\n %28 = call i64* @memcpy(i64* %25, i64* %26, i32 %27)\n %29 = load i64, i64* %17, align 8\n %30 = add i64 %29, %22\n %31 = urem i64 %30, %29\n store i64 %31, i64* %17, align 8\n %32 = sub i64 %sv_0.011.reload, %22\n %33 = icmp eq i64 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %storemerge.reload, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7.LBL_7_crit_edge, label LBL_14\n LBL_8:\n %35 = ptrtoint i8* %sv_2.010.reload to i64\n %36 = add i64 %22, %35\n %37 = inttoptr i64 %36 to i8*\n store i64 %31, i64* %.reg2mem\n store i64 %24, i64* %.reg2mem23\n store i64 %32, i64* %sv_0.011.reg2mem\n store i8* %37, i8** %sv_2.010.reg2mem\n br label LBL_7\n LBL_9:\n %sv_0.17.reload = load i64, i64* %sv_0.17.reg2mem\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %38 = call i64 @FUNC(i64 %10, i64 %sv_1.08.reload)\n %39 = inttoptr i64 %38 to i64*\n %40 = trunc i64 %sv_0.17.reload to i32\n %41 = call i32 @write(i32 %9, i64* %39, i32 %40)\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_12, label LBL_10\n LBL_10:\n %44 = call i32* @__errno_location()\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 11\n store i64 %sv_1.08.reload, i64* %rax.0.reg2mem\n br i1 %46, label LBL_14, label LBL_11\n LBL_11:\n %47 = call i32* @__errno_location()\n %48 = load i32, i32* %47, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.17.reload)\n store i64 %sv_1.08.reload, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_12:\n %51 = sext i32 %41 to i64\n %52 = add i64 %sv_1.08.reload, %51\n %53 = icmp ugt i64 %sv_0.17.reload, %51\n store i64 %52, i64* %rax.0.reg2mem\n br i1 %53, label LBL_14, label LBL_13\n LBL_13:\n %54 = sub i64 %sv_0.17.reload, %51\n %55 = icmp eq i64 %54, 0\n %56 = icmp eq i1 %55, false\n store i64 %52, i64* %sv_1.08.reg2mem\n store i64 %54, i64* %sv_0.17.reg2mem\n store i64 %52, i64* %rax.0.reg2mem\n br i1 %56, label LBL_9, 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 %52, { 1, 2, 0 }\n uselistorder i64 %51, { 1, 2, 0 }\n uselistorder i32 %41, { 1, 0 }\n uselistorder i64 %sv_1.08.reload, { 3, 1, 0, 2 }\n uselistorder i64 %sv_0.17.reload, { 1, 0, 3, 2 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %22, { 1, 2, 0, 3 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %17, { 2, 1, 0 }\n uselistorder i64 %storemerge.reload, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem23, { 1, 0, 2 }\n uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_2.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 7, 6, 1, 4, 5 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 (i64)* @oss_get_available_bytes, { 1, 0 }\n uselistorder i1 false, { 3, 2, 4, 0, 1 }\n uselistorder i64 %arg3, { 1, 3, 0, 2 }\n uselistorder label LBL_14, { 2, 1, 6, 5, 0, 3, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_setattr_4418", "fun_name": "nfs_setattr", "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* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = trunc i64 %2 to i32\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = and i64 %1, 61440\n %9 = icmp eq i64 %8, 32768\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\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 %15 = call i64 @FUNC(i64 %3)\n %16 = icmp eq i64 %14, %15\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = and i32 %5, -2\n %19 = bitcast i64* %arg2 to i32*\n store i32 %18, i32* %19, align 4\n br label LBL_4\n LBL_4:\n %20 = urem i32 %5, 16\n %21 = bitcast i64* %arg2 to i32*\n store i32 %20, i32* %21, align 4\n %22 = icmp eq i32 %5, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_5, label LBL_10\n LBL_5:\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC(i64 %3)\n %26 = add i64 %3, 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 = call i64 @FUNC(i64 %3)\n %31 = and i32 %5, 14\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i64 %3)\n br label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %3)\n %35 = trunc i64 %3 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 %3, i64* nonnull %sv_0)\n br label LBL_9\n LBL_9:\n %39 = and i64 %3, 4294967295\n %40 = call i64 @FUNC(i64 %3)\n %41 = call i64 @FUNC()\n store i64 %39, 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 %5, { 2, 3, 0, 4, 1 }\n uselistorder i64 %3, { 3, 5, 2, 4, 6, 1, 9, 8, 7, 0, 10 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "IsPSD_32", "fun_name": "IsPSD", "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 ult i64 %arg2, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %. = zext i1 %3 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 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copyString_9354", "fun_name": "copyString", "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 i32\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %0 = sext i32 %storemerge1.reload to i64\n %1 = add i64 %0, %arg1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = add i32 %storemerge1.reload, 1\n store i32 %6, i32* %storemerge1.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_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 = sext i32 %6 to i64\n %10 = inttoptr i64 %9 to i64*\n %11 = inttoptr i64 %arg1 to i64*\n %12 = call i64* @memcpy(i64* %10, i64* %11, i32 %6)\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 %6, { 1, 2, 3, 0 }\n uselistorder i32 %storemerge1.reload, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mempool_destroy_5802", "fun_name": "mempool_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %.reg2mem5 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %rdi, align 8\n %sv_0 = alloca i64, align 8\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_14\n LBL_1:\n %3 = trunc i64 %0 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %3, i32* %.reg2mem\n store i64 %0, i64* %.reg2mem5\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %0, 8\n store i64 %6, i64* %rdi, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = call i32 @pthread_mutex_lock(i64* %7)\n %9 = trunc i64 %6 to i32\n store i32 %9, i32* %.reg2mem\n store i64 %6, i64* %.reg2mem5\n br label LBL_3\n LBL_3:\n %.reload6 = load i64, i64* %.reg2mem5\n %10 = icmp eq i64 %.reload6, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %12 = urem i32 %.reload, 2\n %13 = icmp eq i32 %12, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_14, label LBL_5\n LBL_5:\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = call i32 @pthread_mutex_unlock(i64* %15)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_6:\n store i64 0, i64* %arg1, align 8\n %storemerge.in.in = add i64 %0, 48\n %storemerge.in = inttoptr i64 %storemerge.in.in to i64*\n %storemerge2 = load i64, i64* %storemerge.in, align 8\n %17 = icmp eq i64 %storemerge2, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_11\n LBL_7:\n %19 = add i64 %0, 64\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %0, 56\n %22 = inttoptr i64 %21 to i64*\n %23 = bitcast i64* %sv_0 to i8*\n store i64 %storemerge2, i64* %storemerge3.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %24 = inttoptr i64 %storemerge3.reload to i64*\n %25 = load i64, i64* %24, align 8\n store i64 %25, i64* %storemerge.in, align 8\n %26 = load i64, i64* %20, align 8\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = load i64, i64* %22, align 8\n %29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %23, i32 200, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64* %24, i64 %28)\n br label LBL_10\n LBL_10:\n call void @free(i64* %24)\n %storemerge = load i64, i64* %storemerge.in, align 8\n %30 = icmp eq i64 %storemerge, 0\n %31 = icmp eq i1 %30, false\n store i64 %storemerge, i64* %storemerge3.reg2mem\n br i1 %31, label LBL_8, label LBL_11\n LBL_11:\n %32 = bitcast i64* %rdi to i32*\n store i64 0, i64* %storemerge.in, align 8\n %33 = load i32, i32* %32, align 8\n %34 = urem i32 %33, 2\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_13, label LBL_12\n LBL_12:\n %36 = add i64 %0, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = call i32 @pthread_mutex_unlock(i64* %37)\n %39 = call i32 @pthread_mutex_destroy(i64* %37)\n br label LBL_13\n LBL_13:\n call void @free(i64* %arg1)\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* %24, { 1, 0, 2 }\n uselistorder i64* %storemerge.in, { 0, 3, 2, 1 }\n uselistorder i64 %0, { 5, 3, 4, 7, 6, 2, 0, 1, 8 }\n uselistorder i64* %rdi, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem5, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 1, 0 }\n uselistorder i64* %arg1, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_14, { 3, 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "submit_work_async_4082", "fun_name": "submit_work_async", "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* @malloc(i32 16)\n %1 = icmp eq i64* %0, null\n %2 = zext i1 %1 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 = call i64 @FUNC(i64 1, 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_4\n LBL_2:\n %7 = ptrtoint i64* %0 to i64\n %8 = ptrtoint i64* %arg1 to i64\n %9 = ptrtoint i64* %arg2 to i64\n store i64 %8, i64* %0, align 8\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = bitcast i64* %sv_0 to i32*\n %13 = call i32 @pthread_create(i32* nonnull %12, i64* null, i64* (i64*)* inttoptr (i64 4198800 to i64* (i64*)*), i64* %0)\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, 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* %0, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i8*)* @applog, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @unlikely, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2_unscale_group_15977", "fun_name": "l2_unscale_group", "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 = 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 %6, 2\n %9 = udiv i32 %0, 2\n %10 = sub i32 %1, %9\n %11 = ashr i32 %0, 2\n %12 = zext i32 %7 to i64\n %13 = sext i32 %11 to i64\n %14 = mul i64 %13, 4\n %15 = or i64 %14, %12\n %16 = mul i64 %15, 4\n %17 = add i64 %16, ptrtoint (i32** @gv_1 to i64)\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = mul i32 %10, 2\n %21 = mul i32 %20, %19\n %22 = add nsw i32 %8, 31\n %23 = urem i32 %22, 32\n %24 = shl i32 1, %23\n %25 = add i32 %24, %21\n %26 = urem i32 %8, 32\n %27 = ashr i32 %25, %26\n %rdx.0 = zext i32 %27 to i64\n ret i64 %rdx.0\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_hypercall_14683", "fun_name": "handle_hypercall", "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 %0)\n %4 = and i64 %2, 4294967295\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "IsTXT_121", "fun_name": "IsTXT", "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 %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %0 = icmp ult i64 %arg2, 40\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 32)\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_3\n LBL_2:\n %4 = add i64 %arg1, 32\n %5 = inttoptr i64 %4 to i8*\n %6 = call i32 (i8*, i8*, ...) @sscanf(i8* %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %7 = icmp eq i32 %6, 4\n %. = zext i1 %7 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 32, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_handle_guest_debug_614", "fun_name": "cpu_handle_guest_debug", "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 = call i64 @FUNC()\n store i32 1, i32* %arg1, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rc4030_reset_718", "fun_name": "rc4030_reset", "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 = inttoptr i64 %1 to i32*\n store i32 1040, 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 0, i32* %6, align 4\n %7 = add i64 %1, 12\n %8 = inttoptr i64 %7 to i64*\n %9 = call i64* @memset(i64* %8, i32 0, i32 40)\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, 52\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %1, 60\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %1, 68\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %1, 64\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %1, 72\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %1, 76\n %23 = inttoptr i64 %22 to i32*\n store i32 98694, i32* %23, align 4\n %24 = add i64 %1, 80\n %25 = inttoptr i64 %24 to i32*\n store i32 7, i32* %25, align 4\n %26 = add i64 %1, 84\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, 4\n %28 = add i64 %26, %27\n %29 = inttoptr i64 %28 to i32*\n store i32 7, i32* %29, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 15\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %30 = add i64 %1, 144\n %31 = inttoptr i64 %30 to i32*\n store i32 16, i32* %31, align 4\n %32 = add i64 %1, 148\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %1, 152\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %1, 160\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 %1, 168\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42)\n ret i64 %43\n\n uselistorder i64 %1, { 1, 0, 2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @qemu_irq_lower, { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 0, 6, 7, 1, 8, 2, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_v4l2_m2m_codec_reinit_3088", "fun_name": "ff_v4l2_m2m_codec_reinit", "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, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n %2 = add i64 %0, 16\n %3 = call i64 @FUNC(i64 %2, i64 1074026003)\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 %2, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0))\n %8 = inttoptr i64 %2 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n br label LBL_4\n LBL_4:\n %13 = call i32 @sem_wait(i64* %12)\n %14 = icmp eq i32 %13, -1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = call i32* @__errno_location()\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 4\n br i1 %18, label LBL_4, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %2)\n %20 = call i64 @FUNC(i64 %2)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0))\n %24 = and i64 %20, 4294967295\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %25 = call i64 @FUNC(i64 %2)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0))\n %29 = and i64 %25, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %30 = add i64 %0, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %0, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, 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 %2, { 1, 0, 4, 3, 2, 5, 7, 6, 8 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "git_indexwriter_commit_10791", "fun_name": "git_indexwriter_commit", "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 %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, 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* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_1, label LBL_7\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 = add i64 %8, 24\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %7, align 8\n %12 = add i64 %11, 32\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %5, 16\n %15 = load i64, i64* %7, align 8\n %16 = call i64 @FUNC(i64* nonnull %sv_0, i64 %15, i64 %14)\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_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64 %5)\n store i64 %16, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_3:\n %21 = call i64 @FUNC(i64 %14)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %21, i64* %rax.0.shrunk.reg2mem\n br i1 %24, label LBL_4, label LBL_7\n LBL_4:\n %25 = load i64, i64* %7, 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 = add i64 %25, 20\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 br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_6:\n %35 = load i64, i64* %7, align 8\n %36 = inttoptr i64 %35 to i32*\n store i32 1, i32* %36, align 4\n %37 = load i64, i64* %7, align 8\n %38 = add i64 %37, 16\n %39 = call i64 @FUNC(i64 %38, i64* nonnull %sv_0)\n %40 = load i64, i64* %7, align 8\n %41 = call i64 @FUNC(i64 %40)\n store i64 0, i64* %7, align 8\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* %7, { 0, 2, 1, 3, 4, 5, 6, 7 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i64 (i64)* @git_vector_sort, { 1, 0 }\n uselistorder label LBL_7, { 2, 3, 0, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tg3_phy_cl45_write_9468", "fun_name": "tg3_phy_cl45_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) 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 0, i32 %arg2)\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.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 1, i32 %arg3)\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.0.reg2mem\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = or i32 %arg2, 2\n %10 = call i64 @FUNC(i64 %0, i64 0, i32 %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 %10, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0, i64 1, i32 %arg4)\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 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %15\n\n uselistorder i64 (i64, i64, i32)* @tg3_writephy, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udp_write_3403", "fun_name": "udp_write", "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 i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %2, 128\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_6, label LBL_1\n LBL_1:\n %8 = add i64 %2, 32\n %9 = inttoptr i64 %8 to i64*\n %10 = call i32 @pthread_mutex_lock(i64* %9)\n %11 = add i64 %2, 120\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\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 i32 @pthread_mutex_unlock(i64* %9)\n %17 = zext i32 %13 to i64\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %18 = add nsw i64 %3, 3\n %19 = and i64 %18, 4294967295\n %20 = load i64, i64* %5, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = icmp slt i64 %19, %21\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i32 @pthread_mutex_unlock(i64* %9)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %24 = and i64 %3, 4294967295\n %25 = call i64 @FUNC(i64* nonnull %sv_0, i64 %24)\n %26 = load i64, i64* %5, align 8\n %27 = call i64 @FUNC(i64 %26, i64* nonnull %sv_0, i64 4, i64 0)\n %28 = load i64, i64* %5, align 8\n %29 = call i64 @FUNC(i64 %28, i64* %arg2, i64 %24, i64 0)\n %30 = add i64 %2, 72\n %31 = inttoptr i64 %30 to i64*\n %32 = call i32 @pthread_cond_signal(i64* %31)\n %33 = call i32 @pthread_mutex_unlock(i64* %9)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n %34 = add i64 %2, 8\n %35 = inttoptr i64 %34 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_9, label LBL_7\n LBL_7:\n %40 = and i64 %1, 4294967295\n %41 = call i64 @FUNC(i64 %40, i64 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 = and i64 %41, 4294967295\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %46 = trunc i64 %1 to i32\n %47 = add i64 %2, 24\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_11, label LBL_10\n LBL_10:\n %52 = add i64 %2, 20\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = add i64 %2, 4\n %56 = trunc i64 %3 to i32\n %57 = inttoptr i64 %55 to %sockaddr*\n %58 = call i32 @sendto(i32 %46, i64* %arg2, i32 %56, i32 0, %sockaddr* %57, i32 %54)\n store i32 %58, i32* %storemerge.reg2mem\n br label LBL_12\n LBL_11:\n %59 = trunc i64 %3 to i32\n %60 = call i32 @send(i32 %46, i64* %arg2, i32 %59, i32 0)\n store i32 %60, i32* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %61 = icmp slt i32 %storemerge.reload, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_14, label LBL_13\n LBL_13:\n %63 = call i64 @FUNC()\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %64 = zext i32 %storemerge.reload to i64\n store i64 %64, 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 %storemerge.reload, { 1, 0 }\n uselistorder i64* %9, { 2, 1, 0, 3 }\n uselistorder i64* %5, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 3, 2, 0, 1 }\n uselistorder i64 %2, { 2, 3, 1, 4, 0, 6, 5, 7 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64*, i64, i64)* @av_fifo_generic_write, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iio_channel_read_17845", "fun_name": "iio_channel_read", "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 %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = icmp eq i64* %arg3, null\n %2 = icmp eq i1 %1, false\n %spec.select = select i1 %2, i64* %arg3, i64* %sv_0\n %3 = bitcast i64* %arg2 to i32*\n %4 = bitcast i64* %spec.select to i32*\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %5, 4294967295\n ret i64 %6\n\n uselistorder i64* null, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "saturateMatrix_6295", "fun_name": "saturateMatrix", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) 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 @__asm_movss.1(i32 %3)\n %5 = call i128 @__asm_movss.1(i32 1061779669)\n %6 = call i128 @FUNC(i128 %4, i128 %5)\n %7 = call i128 @__asm_movss.1(i32 1046092972)\n %8 = call i128 @FUNC(i128 %7, i128 %6)\n %9 = call i64 @FUNC(i128 %8)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %arg1 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i128 @__asm_movss.1(i32 %3)\n %13 = call i128 @__asm_movss.1(i32 1060571709)\n %14 = call i128 @FUNC(i128 %12, i128 %13)\n %15 = add i64 %arg1, 4\n %16 = call i128 @__asm_movss.1(i32 1060571709)\n %17 = call i128 @FUNC(i128 %16, i128 %14)\n %18 = call i64 @FUNC(i128 %17)\n %19 = trunc i64 %18 to i32\n %20 = inttoptr i64 %15 to i32*\n store i32 %19, i32* %20, align 4\n %21 = call i128 @__asm_movss.1(i32 %3)\n %22 = call i128 @__asm_movss.1(i32 1033073852)\n %23 = call i128 @FUNC(i128 %21, i128 %22)\n %24 = add i64 %arg1, 8\n %25 = call i128 @__asm_movss.1(i32 1033073852)\n %26 = call i128 @FUNC(i128 %25, i128 %23)\n %27 = call i64 @FUNC(i128 %26)\n %28 = trunc i64 %27 to i32\n %29 = inttoptr i64 %24 to i32*\n store i32 %28, i32* %29, align 4\n %30 = add i64 %arg1, 16\n %31 = call i128 @FUNC(i128 %26, i128 %26)\n %32 = call i64 @FUNC(i128 %31)\n %33 = trunc i64 %32 to i32\n %34 = inttoptr i64 %30 to i32*\n store i32 %33, i32* %34, align 4\n %35 = add i64 %arg1, 12\n %36 = call i128 @__asm_movss.1(i32 %33)\n %37 = call i64 @FUNC(i128 %36)\n %38 = trunc i64 %37 to i32\n %39 = inttoptr i64 %35 to i32*\n store i32 %38, i32* %39, align 4\n %40 = call i128 @__asm_movss.1(i32 %3)\n %41 = call i128 @__asm_movss.1(i32 1046092972)\n %42 = call i128 @FUNC(i128 %40, i128 %41)\n %43 = add i64 %arg1, 20\n %44 = call i128 @__asm_movss.1(i32 1046092972)\n %45 = call i128 @FUNC(i128 %44, i128 %42)\n %46 = call i64 @FUNC(i128 %45)\n %47 = trunc i64 %46 to i32\n %48 = inttoptr i64 %43 to i32*\n store i32 %47, i32* %48, align 4\n %49 = call i128 @__asm_movss.1(i32 %3)\n %50 = call i128 @__asm_movss.1(i32 1049750405)\n %51 = call i128 @FUNC(i128 %49, i128 %50)\n %52 = add i64 %arg1, 24\n %53 = call i128 @__asm_movss.1(i32 1060571709)\n %54 = call i128 @FUNC(i128 %53, i128 %51)\n %55 = call i64 @FUNC(i128 %54)\n %56 = trunc i64 %55 to i32\n %57 = inttoptr i64 %52 to i32*\n store i32 %56, i32* %57, align 4\n %58 = call i128 @__asm_movss.1(i32 %3)\n %59 = call i128 @__asm_movss.1(i32 1033073852)\n %60 = call i128 @FUNC(i128 %58, i128 %59)\n %61 = add i64 %arg1, 28\n %62 = call i128 @__asm_movss.1(i32 1033073852)\n %63 = call i128 @FUNC(i128 %62, i128 %60)\n %64 = call i64 @FUNC(i128 %63)\n %65 = trunc i64 %64 to i32\n %66 = inttoptr i64 %61 to i32*\n store i32 %65, i32* %66, align 4\n %67 = add i64 %arg1, 36\n %68 = call i128 @FUNC(i128 %63, i128 %63)\n %69 = call i64 @FUNC(i128 %68)\n %70 = trunc i64 %69 to i32\n %71 = inttoptr i64 %67 to i32*\n store i32 %70, i32* %71, align 4\n %72 = add i64 %arg1, 32\n %73 = call i128 @__asm_movss.1(i32 %70)\n %74 = call i64 @FUNC(i128 %73)\n %75 = trunc i64 %74 to i32\n %76 = inttoptr i64 %72 to i32*\n store i32 %75, i32* %76, align 4\n %77 = call i128 @__asm_movss.1(i32 %3)\n %78 = call i128 @__asm_movss.1(i32 1046092972)\n %79 = call i128 @FUNC(i128 %77, i128 %78)\n %80 = add i64 %arg1, 40\n %81 = call i128 @__asm_movss.1(i32 1046092972)\n %82 = call i128 @FUNC(i128 %81, i128 %79)\n %83 = call i64 @FUNC(i128 %82)\n %84 = trunc i64 %83 to i32\n %85 = inttoptr i64 %80 to i32*\n store i32 %84, i32* %85, align 4\n %86 = call i128 @__asm_movss.1(i32 %3)\n %87 = call i128 @__asm_movss.1(i32 1060571709)\n %88 = call i128 @FUNC(i128 %86, i128 %87)\n %89 = add i64 %arg1, 44\n %90 = call i128 @__asm_movss.1(i32 1060571709)\n %91 = call i128 @FUNC(i128 %90, i128 %88)\n %92 = call i64 @FUNC(i128 %91)\n %93 = trunc i64 %92 to i32\n %94 = inttoptr i64 %89 to i32*\n store i32 %93, i32* %94, align 4\n %95 = call i128 @__asm_movss.1(i32 %3)\n %96 = call i128 @__asm_movss.1(i32 1064145256)\n %97 = call i128 @FUNC(i128 %95, i128 %96)\n %98 = add i64 %arg1, 48\n %99 = call i128 @__asm_movss.1(i32 1033073852)\n %100 = call i128 @FUNC(i128 %99, i128 %97)\n %101 = call i64 @FUNC(i128 %100)\n %102 = trunc i64 %101 to i32\n %103 = inttoptr i64 %98 to i32*\n store i32 %102, i32* %103, align 4\n %104 = add i64 %arg1, 56\n %105 = call i128 @FUNC(i128 %100, i128 %100)\n %106 = call i64 @FUNC(i128 %105)\n %107 = trunc i64 %106 to i32\n %108 = inttoptr i64 %104 to i32*\n store i32 %107, i32* %108, align 4\n %109 = add i64 %arg1, 52\n %110 = call i128 @__asm_movss.1(i32 %107)\n %111 = call i64 @FUNC(i128 %110)\n %112 = trunc i64 %111 to i32\n %113 = inttoptr i64 %109 to i32*\n store i32 %112, i32* %113, align 4\n %114 = add i64 %arg1, 68\n %115 = call i128 @FUNC(i128 %110, i128 %110)\n %116 = call i64 @FUNC(i128 %115)\n %117 = trunc i64 %116 to i32\n %118 = inttoptr i64 %114 to i32*\n store i32 %117, i32* %118, align 4\n %119 = add i64 %arg1, 64\n %120 = call i128 @__asm_movss.1(i32 %117)\n %121 = call i64 @FUNC(i128 %120)\n %122 = trunc i64 %121 to i32\n %123 = inttoptr i64 %119 to i32*\n store i32 %122, i32* %123, align 4\n %124 = add i64 %arg1, 60\n %125 = call i128 @__asm_movss.1(i32 %122)\n %126 = call i64 @FUNC(i128 %125)\n %127 = trunc i64 %126 to i32\n %128 = inttoptr i64 %124 to i32*\n store i32 %127, i32* %128, align 4\n %129 = add i64 %arg1, 72\n %130 = load i32, i32* inttoptr (i64 4202540 to i32*), align 4\n %131 = call i128 @__asm_movss.1(i32 %130)\n %132 = call i64 @FUNC(i128 %131)\n %133 = trunc i64 %132 to i32\n %134 = inttoptr i64 %129 to i32*\n store i32 %133, i32* %134, align 4\n %135 = add i64 %arg1, 76\n %136 = call i128 @FUNC(i128 %131, i128 %131)\n %137 = call i64 @FUNC(i128 %136)\n %138 = trunc i64 %137 to i32\n %139 = inttoptr i64 %135 to i32*\n store i32 %138, i32* %139, align 4\n ret i64 %135\n\n uselistorder i64 %135, { 1, 0 }\n uselistorder i128 %131, { 2, 1, 0 }\n uselistorder i128 %110, { 2, 1, 0 }\n uselistorder i128 %100, { 2, 1, 0 }\n uselistorder i128 %63, { 2, 1, 0 }\n uselistorder i128 %26, { 2, 1, 0 }\n uselistorder i32 %3, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "merge_4725", "fun_name": "merge", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.111.reg2mem = alloca i64\n %rsi.312.reg2mem = alloca i64\n %rsi.2.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa59.reg2mem = alloca i64\n %sv_1.113.reg2mem = alloca i64\n %rdi.214.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %rsi.1.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.ph.lcssa.reg2mem = alloca i64\n %.reg2mem123 = alloca i64\n %rdi.1.ph3488.reg2mem = alloca i64\n %rsi.1.ph3389.reg2mem = alloca i64\n %sv_0.0.ph3290.reg2mem = alloca i64\n %sv_1.0.ph3191.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdi.1.ph.be.reg2mem = alloca i64\n %rsi.1.ph.be.reg2mem = alloca i64\n %sv_0.0.ph.be.reg2mem = alloca i64\n %sv_1.0.ph.be.reg2mem = alloca i64\n %rdi.11871.reg2mem = alloca i64\n %rsi.11772.reg2mem = alloca i64\n %sv_0.01673.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rsi.0.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 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, 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 = add i64 %8, %5\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp ugt i64 %9, %12\n store i64 %1, i64* %rsi.0.reg2mem\n store i64 %2, i64* %rdi.0.reg2mem\n br i1 %13, label LBL_1, label LBL_2\n LBL_1:\n store i64 %9, i64* %11, align 8\n %14 = mul i64 %9, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = trunc i64 %14 to i32\n %17 = call i64* @realloc(i64* %15, i32 %16)\n %18 = ptrtoint i64* %17 to i64\n store i64 %18, i64* %arg3, align 8\n store i64 %14, i64* %rsi.0.reg2mem\n store i64 %14, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n %21 = load i64, i64* %4, align 8\n %22 = icmp ne i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %sv_0.0.lcssa59.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.2.lcssa.reg2mem\n br i1 %23, label LBL_15, label LBL_3\n LBL_3:\n %24 = load i64, i64* %7, align 8\n %25 = icmp eq i64 %24, 0\n store i64 0, i64* %.reg2mem\n store i64 0, i64* %sv_1.0.ph3191.reg2mem\n store i64 0, i64* %sv_0.0.ph3290.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.ph3389.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.ph3488.reg2mem\n store i64 %21, i64* %.reg2mem123\n store i64 0, i64* %sv_1.0.ph.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.lcssa.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %25, label LBL_13, label LBL_4.lr.ph\n LBL_4:\n %rdi.11871.reload = load i64, i64* %rdi.11871.reg2mem\n %rsi.11772.reload = load i64, i64* %rsi.11772.reg2mem\n %sv_0.01673.reload = load i64, i64* %sv_0.01673.reg2mem\n %26 = add i64 %rdi.11871.reload, %.reload\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = mul i64 %sv_0.01673.reload, 8\n %30 = add i64 %29, %rsi.11772.reload\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp ugt i32 %28, %32\n br i1 %33, label LBL_5, label LBL_7\n LBL_5:\n %34 = add i64 %sv_1.0.ph3191.reload, 1\n %35 = load i64, i64* %20, align 8\n %36 = add i64 %35, 1\n store i64 %36, i64* %20, align 8\n %37 = mul i64 %35, 8\n %38 = add i64 %37, %34\n %39 = inttoptr i64 %26 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = inttoptr i64 %38 to i64*\n store i64 %40, i64* %41, align 8\n store i64 %34, i64* %sv_1.0.ph.be.reg2mem\n store i64 %sv_0.01673.reload, i64* %sv_0.0.ph.be.reg2mem\n store i64 %26, i64* %rsi.1.ph.be.reg2mem\n store i64 %34, i64* %rdi.1.ph.be.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.1.ph.be.reload = load i64, i64* %rdi.1.ph.be.reg2mem\n %rsi.1.ph.be.reload = load i64, i64* %rsi.1.ph.be.reg2mem\n %sv_0.0.ph.be.reload = load i64, i64* %sv_0.0.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem\n %42 = load i64, i64* %4, align 8\n %43 = icmp ult i64 %sv_1.0.ph.be.reload, %42\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %.reg2mem123\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n store i64 %sv_0.0.ph.be.reload, i64* %sv_0.0.lcssa.reg2mem\n store i64 %rsi.1.ph.be.reload, i64* %rsi.1.lcssa.reg2mem\n store i64 %rdi.1.ph.be.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %44, label LBL_13, label LBL_10\n LBL_7:\n %45 = icmp ult i32 %28, %32\n br i1 %45, label LBL_8, label LBL_9\n LBL_8:\n %46 = add i64 %sv_0.01673.reload, 1\n %47 = load i64, i64* %20, align 8\n %48 = add i64 %47, 1\n store i64 %48, i64* %20, align 8\n %49 = mul i64 %47, 8\n %50 = add i64 %49, %46\n %51 = inttoptr i64 %30 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = inttoptr i64 %50 to i64*\n store i64 %52, i64* %53, align 8\n %54 = load i64, i64* %4, align 8\n %55 = icmp ult i64 %sv_1.0.ph3191.reload, %54\n %56 = icmp eq i1 %55, false\n store i64 %54, i64* %.reg2mem123\n store i64 %sv_1.0.ph3191.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n store i64 %46, i64* %sv_0.0.lcssa.reg2mem\n store i64 %30, i64* %rsi.1.lcssa.reg2mem\n store i64 %46, i64* %rdi.1.lcssa.reg2mem\n br i1 %56, label LBL_13, label LBL_12\n LBL_9:\n %57 = add i64 %sv_1.0.ph3191.reload, 1\n %58 = load i64, i64* %20, align 8\n %59 = mul i64 %58, 8\n %60 = add i64 %59, %57\n %61 = inttoptr i64 %26 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = inttoptr i64 %60 to i64*\n store i64 %62, i64* %63, align 8\n %64 = add i64 %sv_0.01673.reload, 1\n %65 = add i64 %30, 4\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = load i64, i64* %20, align 8\n %69 = add i64 %68, 1\n store i64 %69, i64* %20, align 8\n %70 = mul i64 %68, 8\n %71 = or i64 %70, 4\n %72 = add i64 %71, %64\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = or i32 %74, %67\n %76 = zext i32 %75 to i64\n %77 = add i64 %71, %0\n %78 = inttoptr i64 %77 to i32*\n store i32 %75, i32* %78, align 4\n store i64 %57, i64* %sv_1.0.ph.be.reg2mem\n store i64 %64, i64* %sv_0.0.ph.be.reg2mem\n store i64 %76, i64* %rsi.1.ph.be.reg2mem\n store i64 %64, i64* %rdi.1.ph.be.reg2mem\n br label LBL_6\n LBL_10:\n %79 = mul i64 %sv_1.0.ph.be.reload, 8\n %80 = load i64, i64* %7, align 8\n %81 = icmp ult i64 %sv_0.0.ph.be.reload, %80\n store i64 %79, i64* %.reg2mem\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph3191.reg2mem\n store i64 %sv_0.0.ph.be.reload, i64* %sv_0.0.ph3290.reg2mem\n store i64 %rsi.1.ph.be.reload, i64* %rsi.1.ph3389.reg2mem\n store i64 %rdi.1.ph.be.reload, i64* %rdi.1.ph3488.reg2mem\n store i64 %42, i64* %.reg2mem123\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n store i64 %sv_0.0.ph.be.reload, i64* %sv_0.0.lcssa.reg2mem\n store i64 %rsi.1.ph.be.reload, i64* %rsi.1.lcssa.reg2mem\n store i64 %rdi.1.ph.be.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %81, label LBL_4.lr.ph, label LBL_13\n LBL_11:\n %rdi.1.ph3488.reload = load i64, i64* %rdi.1.ph3488.reg2mem\n %rsi.1.ph3389.reload = load i64, i64* %rsi.1.ph3389.reg2mem\n %sv_0.0.ph3290.reload = load i64, i64* %sv_0.0.ph3290.reg2mem\n %sv_1.0.ph3191.reload = load i64, i64* %sv_1.0.ph3191.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 %sv_0.0.ph3290.reload, i64* %sv_0.01673.reg2mem\n store i64 %rsi.1.ph3389.reload, i64* %rsi.11772.reg2mem\n store i64 %rdi.1.ph3488.reload, i64* %rdi.11871.reg2mem\n br label LBL_4\n LBL_12:\n %82 = load i64, i64* %7, align 8\n %83 = icmp ult i64 %46, %82\n store i64 %46, i64* %sv_0.01673.reg2mem\n store i64 %30, i64* %rsi.11772.reg2mem\n store i64 %46, i64* %rdi.11871.reg2mem\n store i64 %54, i64* %.reg2mem123\n store i64 %sv_1.0.ph3191.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n store i64 %46, i64* %sv_0.0.lcssa.reg2mem\n store i64 %30, i64* %rsi.1.lcssa.reg2mem\n store i64 %46, i64* %rdi.1.lcssa.reg2mem\n br i1 %83, label LBL_4, label LBL_13\n LBL_13:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.ph.lcssa.reload = load i64, i64* %sv_1.0.ph.lcssa.reg2mem\n %.reload124 = load i64, i64* %.reg2mem123\n %84 = icmp ult i64 %sv_1.0.ph.lcssa.reload, %.reload124\n store i64 %rdi.1.lcssa.reload, i64* %rdi.214.reg2mem\n store i64 %sv_1.0.ph.lcssa.reload, i64* %sv_1.113.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.0.lcssa59.reg2mem\n store i64 %rsi.1.lcssa.reload, i64* %rsi.2.lcssa.reg2mem\n br i1 %84, label LBL_14, label LBL_15\n LBL_14:\n %sv_1.113.reload = load i64, i64* %sv_1.113.reg2mem\n %rdi.214.reload = load i64, i64* %rdi.214.reg2mem\n %85 = add nuw i64 %sv_1.113.reload, 1\n %86 = mul i64 %sv_1.113.reload, 8\n %87 = add i64 %86, %rdi.214.reload\n %88 = load i64, i64* %20, align 8\n %89 = add i64 %88, 1\n store i64 %89, i64* %20, align 8\n %90 = mul i64 %88, 8\n %91 = add i64 %90, %85\n %92 = inttoptr i64 %87 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = inttoptr i64 %91 to i64*\n store i64 %93, i64* %94, align 8\n %95 = load i64, i64* %4, align 8\n %96 = icmp ult i64 %85, %95\n store i64 %85, i64* %rdi.214.reg2mem\n store i64 %85, i64* %sv_1.113.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.0.lcssa59.reg2mem\n store i64 %87, i64* %rsi.2.lcssa.reg2mem\n br i1 %96, label LBL_14, label LBL_15\n LBL_15:\n %rsi.2.lcssa.reload = load i64, i64* %rsi.2.lcssa.reg2mem\n %sv_0.0.lcssa59.reload = load i64, i64* %sv_0.0.lcssa59.reg2mem\n %97 = load i64, i64* %7, align 8\n %98 = icmp ult i64 %sv_0.0.lcssa59.reload, %97\n store i64 %rsi.2.lcssa.reload, i64* %rsi.312.reg2mem\n store i64 %sv_0.0.lcssa59.reload, i64* %sv_0.111.reg2mem\n store i64 %97, i64* %.lcssa.reg2mem\n br i1 %98, label LBL_16, label LBL_17\n LBL_16:\n %sv_0.111.reload = load i64, i64* %sv_0.111.reg2mem\n %rsi.312.reload = load i64, i64* %rsi.312.reg2mem\n %99 = add nuw i64 %sv_0.111.reload, 1\n %100 = mul i64 %sv_0.111.reload, 8\n %101 = add i64 %100, %rsi.312.reload\n %102 = load i64, i64* %20, align 8\n %103 = add i64 %102, 1\n store i64 %103, i64* %20, align 8\n %104 = mul i64 %102, 8\n %105 = add i64 %104, %99\n %106 = inttoptr i64 %101 to i64*\n %107 = load i64, i64* %106, align 8\n %108 = inttoptr i64 %105 to i64*\n store i64 %107, i64* %108, align 8\n %109 = load i64, i64* %7, align 8\n %110 = icmp ult i64 %99, %109\n store i64 %101, i64* %rsi.312.reg2mem\n store i64 %99, i64* %sv_0.111.reg2mem\n store i64 %109, i64* %.lcssa.reg2mem\n br i1 %110, label LBL_16, label LBL_17\n LBL_17:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %99, { 0, 2, 1 }\n uselistorder i64 %sv_0.111.reload, { 1, 0 }\n uselistorder i64 %85, { 0, 1, 3, 2 }\n uselistorder i64 %sv_1.113.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.ph3191.reload, { 0, 3, 2, 1, 4 }\n uselistorder i64 %46, { 0, 2, 4, 5, 6, 1, 3, 7 }\n uselistorder i64 %42, { 1, 0, 2 }\n uselistorder i64 %sv_1.0.ph.be.reload, { 1, 2, 4, 0, 3 }\n uselistorder i64 %sv_0.0.ph.be.reload, { 1, 2, 3, 0 }\n uselistorder i64 %rsi.1.ph.be.reload, { 1, 2, 0 }\n uselistorder i64 %rdi.1.ph.be.reload, { 1, 2, 0 }\n uselistorder i64 %30, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64 %26, { 2, 0, 1, 3 }\n uselistorder i64 %sv_0.01673.reload, { 2, 1, 0, 3 }\n uselistorder i64* %20, { 8, 7, 10, 9, 1, 0, 2, 4, 3, 6, 5, 11 }\n uselistorder i64 %rsi.0.reload, { 1, 2, 0 }\n uselistorder i64 %14, { 0, 1, 3, 2 }\n uselistorder i64* %7, { 4, 2, 3, 1, 0, 5 }\n uselistorder i64* %4, { 2, 3, 1, 0, 4 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.01673.reg2mem, { 1, 2, 0 }\n uselistorder i64* %rsi.11772.reg2mem, { 1, 2, 0 }\n uselistorder i64* %rdi.11871.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.0.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.1.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.1.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.ph3191.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph3290.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.1.ph3389.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.1.ph3488.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem123, { 0, 2, 4, 3, 1, 5 }\n uselistorder i64* %sv_1.0.ph.lcssa.reg2mem, { 0, 2, 4, 3, 1, 5 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 4, 3, 1, 5 }\n uselistorder i64* %rsi.1.lcssa.reg2mem, { 0, 2, 4, 3, 1, 5 }\n uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 4, 3, 1, 5 }\n uselistorder i64* %rdi.214.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.lcssa59.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rsi.2.lcssa.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rsi.312.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.111.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 0, 2, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 4, 1, 3, 0, 2 }\n uselistorder label LBL_4.lr.ph, { 1, 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": "Con_Dump_f_5722", "fun_name": "Con_Dump_f", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge10.reg2mem = alloca i32\n %storemerge28.reg2mem = alloca i32\n %.reg2mem21 = alloca i64\n %sv_0.011.reg2mem = alloca i32\n %storemerge4.in.reg2mem = alloca i32\n %storemerge5.lcssa.reg2mem = alloca i32\n %storemerge512.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 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 2\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, 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_20\n LBL_2:\n %10 = call i64 @FUNC(i64 1)\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %10, i64 64)\n %12 = call i64 @FUNC(i64* nonnull %sv_1, i64 64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %13 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\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_3\n LBL_3:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 %10, i64 %2, i64 %1)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_4:\n %18 = call i64 @FUNC(i64* nonnull %sv_1)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n %21 = ptrtoint i64* %sv_1 to i64\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 %10, i64 %2, i64 %1)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i64 %21, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 %10, i64 %2, i64 %1)\n %24 = load i32, i32* @gv_5, align 4\n %25 = load i32, i32* @gv_6, align 4\n %26 = sub i32 %24, %25\n %27 = zext i32 %24 to i64\n %28 = load i64, i64* @gv_7, align 8\n %29 = zext i32 %25 to i64\n %30 = load i32, i32* @gv_8, align 4\n %31 = icmp eq i32 %30, 0\n %32 = zext i32 %30 to i64\n store i32 %26, i32* %storemerge4.in.reg2mem\n br label LBL_11\n LBL_7:\n %33 = ashr i32 %storemerge4, 31\n %34 = zext i32 %storemerge4 to i64\n %35 = zext i32 %33 to i64\n %36 = mul i64 %35, 4294967296\n %37 = or i64 %36, %34\n %38 = srem i64 %37, %29\n %39 = trunc i64 %38 to i32\n %40 = mul i32 %30, %39\n %41 = sext i32 %40 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge512.reg2mem\n store i32 0, i32* %storemerge5.lcssa.reg2mem\n br i1 %31, label LBL_10, label LBL_8\n LBL_8:\n %storemerge512.reload = load i32, i32* %storemerge512.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %reass.add = add nsw i64 %.reload, %41\n %reass.mul = mul i64 %reass.add, 2\n %42 = add i64 %reass.mul, %28\n %43 = inttoptr i64 %42 to i16*\n %44 = load i16, i16* %43, align 2\n %45 = urem i16 %44, 256\n %46 = icmp eq i16 %45, 32\n %47 = icmp eq i1 %46, false\n store i32 %storemerge512.reload, i32* %storemerge5.lcssa.reg2mem\n br i1 %47, label LBL_10, label LBL_9\n LBL_9:\n %48 = add i32 %storemerge512.reload, 1\n %49 = sext i32 %48 to i64\n %50 = icmp slt i64 %49, %32\n store i64 %49, i64* %.reg2mem\n store i32 %48, i32* %storemerge512.reg2mem\n store i32 %48, i32* %storemerge5.lcssa.reg2mem\n br i1 %50, label LBL_8, label LBL_10\n LBL_10:\n %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem\n %51 = icmp eq i32 %storemerge5.lcssa.reload, %30\n %52 = icmp eq i1 %51, false\n store i32 %storemerge4, i32* %storemerge4.in.reg2mem\n br i1 %52, label LBL_12, label LBL_11\n LBL_11:\n %storemerge4.in.reload = load i32, i32* %storemerge4.in.reg2mem\n %storemerge4 = add i32 %storemerge4.in.reload, 1\n %53 = sext i32 %storemerge4 to i64\n %54 = icmp sgt i64 %53, %27\n br i1 %54, label LBL_12, label LBL_7\n LBL_12:\n %55 = call i64 @FUNC(i64 zext (i32 ptrtoint (i32* @gv_9 to i32) to i64))\n %56 = inttoptr i64 %55 to i8*\n %57 = add i64 %55, ptrtoint (i8** @gv_10 to i64)\n %58 = inttoptr i64 %57 to i8*\n store i8 0, i8* %58, align 1\n %59 = load i32, i32* @gv_5, align 4\n %60 = zext i32 %59 to i64\n %61 = icmp sgt i64 %53, %60\n store i32 %storemerge4, i32* %sv_0.011.reg2mem\n br i1 %61, label LBL_19, label LBL_13\n LBL_13:\n %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem\n %62 = load i64, i64* @gv_7, align 8\n %63 = load i32, i32* @gv_6, align 4\n %64 = ashr i32 %sv_0.011.reload, 31\n %65 = zext i32 %sv_0.011.reload to i64\n %66 = zext i32 %64 to i64\n %67 = mul i64 %66, 4294967296\n %68 = or i64 %67, %65\n %69 = zext i32 %63 to i64\n %70 = srem i64 %68, %69\n %71 = load i32, i32* @gv_8, align 4\n %72 = trunc i64 %70 to i32\n %73 = mul i32 %71, %72\n %74 = sext i32 %73 to i64\n %75 = icmp eq i32 %71, 0\n store i64 0, i64* %.reg2mem21\n store i32 0, i32* %storemerge28.reg2mem\n br i1 %75, label LBL_18, label LBL_14\n LBL_14:\n %storemerge28.reload = load i32, i32* %storemerge28.reg2mem\n %.reload22 = load i64, i64* %.reg2mem21\n %reass.add6 = add nsw i64 %.reload22, %74\n %reass.mul7 = mul i64 %reass.add6, 2\n %76 = add i64 %reass.mul7, %62\n %77 = inttoptr i64 %76 to i16*\n %78 = load i16, i16* %77, align 2\n %79 = add i64 %.reload22, %55\n %80 = trunc i16 %78 to i8\n %81 = inttoptr i64 %79 to i8*\n store i8 %80, i8* %81, align 1\n %82 = add i32 %storemerge28.reload, 1\n %83 = load i32, i32* @gv_8, align 4\n %84 = zext i32 %83 to i64\n %85 = sext i32 %82 to i64\n %86 = icmp slt i64 %85, %84\n store i64 %85, i64* %.reg2mem21\n store i32 %82, i32* %storemerge28.reg2mem\n br i1 %86, label LBL_14, label LBL_15\n LBL_15:\n %storemerge9 = add i32 %83, -1\n %87 = icmp slt i32 %storemerge9, 0\n %88 = icmp eq i1 %87, false\n store i32 %storemerge9, i32* %storemerge10.reg2mem\n br i1 %88, label LBL_16, label LBL_18\n LBL_16:\n %storemerge10.reload = load i32, i32* %storemerge10.reg2mem\n %89 = sext i32 %storemerge10.reload to i64\n %90 = add i64 %55, %89\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = icmp eq i8 %92, 32\n %94 = icmp eq i1 %93, false\n br i1 %94, label LBL_18, label LBL_17\n LBL_17:\n store i8 0, i8* %91, align 1\n %storemerge = add i32 %storemerge10.reload, -1\n %95 = icmp slt i32 %storemerge, 0\n %96 = icmp eq i1 %95, false\n store i32 %storemerge, i32* %storemerge10.reg2mem\n br i1 %96, label LBL_16, label LBL_18\n LBL_18:\n %97 = call i64 @FUNC(i64 %55, i64 zext (i32 ptrtoint (i32* @gv_9 to i32) to i64), i64 4202683)\n %98 = call i32 @strlen(i8* %56)\n %99 = sext i32 %98 to i64\n %100 = call i64 @FUNC(i64 %55, i64 %99, i64 %18)\n %101 = add i32 %sv_0.011.reload, 1\n %102 = load i32, i32* @gv_5, align 4\n %103 = zext i32 %102 to i64\n %104 = sext i32 %101 to i64\n %105 = icmp sgt i64 %104, %103\n store i32 %101, i32* %sv_0.011.reg2mem\n br i1 %105, label LBL_19, label LBL_13\n LBL_19:\n %106 = call i64 @FUNC(i64 %55)\n %107 = call i64 @FUNC(i64 %18)\n store i64 %107, 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 %storemerge10.reload, { 1, 0 }\n uselistorder i64 %.reload22, { 1, 0 }\n uselistorder i64 %55, { 2, 3, 4, 0, 1, 6, 5 }\n uselistorder i32 %storemerge4, { 0, 4, 2, 3, 1 }\n uselistorder i32 %storemerge512.reload, { 1, 0 }\n uselistorder i32 %30, { 1, 0, 2, 3 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 4, 0, 1, 2, 3 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge512.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.011.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem21, { 2, 0, 1 }\n uselistorder i32* %storemerge28.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i8 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_1 to i64), { 2, 3, 0, 1 }\n uselistorder i1 false, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder [5 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @Com_Printf, { 3, 2, 1, 0 }\n uselistorder label LBL_18, { 0, 1, 3, 2 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_do_peeloff_13750", "fun_name": "sctp_do_peeloff", "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 %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %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 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = and i64 %6, 4294967295\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i64 %4, 0\n %18 = or i1 %17, %16\n %19 = icmp eq i1 %18, false\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %19, label LBL_1, label LBL_5\n LBL_1:\n %20 = call i64 @FUNC(i64 %4)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i64 4294967280, i64* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_2, label LBL_5\n LBL_2:\n %23 = call i64 @FUNC(i64 %2, i64 0)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %26, label LBL_3, label LBL_5\n LBL_3:\n %27 = and i64 %1, 4294967295\n %28 = call i64 @FUNC(i64 %27, i64 2, i64 132, i64* nonnull %sv_0)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %rax.0.shrunk.reg2mem\n br i1 %31, label LBL_4, label LBL_5\n LBL_4:\n %32 = load i64, i64* %sv_0, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %34, i64 %2, i64 %4)\n %36 = load i64, i64* %sv_0, align 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %2, i64 %38, i64 %4, i64 1)\n %40 = load i64, i64* %sv_0, align 8\n store i64 %40, i64* %arg3, align 8\n store i64 %28, 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 %28, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 2, 3, 0 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder label LBL_5, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "archive_read_vtable_8973", "fun_name": "archive_read_vtable", "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 %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i64 4198662, i64* @gv_1, align 8\n store i64 4198669, i64* @gv_2, align 8\n store i64 4198676, i64* @gv_3, align 8\n store i64 4198683, i64* @gv_4, align 8\n store i64 4198690, i64* @gv_5, align 8\n store i64 4198697, i64* @gv_6, align 8\n store i64 4198704, i64* @gv_7, align 8\n store i64 4198711, i64* @gv_8, align 8\n store i64 4198718, i64* @gv_9, align 8\n store i32 1, i32* @gv_0, align 4\n br label LBL_2\n LBL_2:\n ret i64 ptrtoint (i64* @gv_1 to i64)\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_file_read_iter_7239", "fun_name": "fuse_file_read_iter", "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)\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 -5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_6\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 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %2, i64 %7)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %12 = urem i64 %1, 2\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 %2, i64 %7)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %16 = call i64 @FUNC(i64 %2, i64 %7)\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 %7, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_user_start_880", "fun_name": "vhost_user_start", "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)\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_2\n LBL_1:\n store i32 1, i32* %sv_0, align 4\n %4 = call i64 @FUNC(i32* nonnull %sv_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(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %. = select i1 %9, i64 4294967295, 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\n uselistorder i64 (i64)* @vhost_user_running, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svg_saf_get_next_available_stream_6268", "fun_name": "svg_saf_get_next_available_stream", "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.0.lcssa.reg2mem = alloca i32\n %sv_2.01.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i32 2, i32* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %sv_2.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.01.reload = load i64, i64* %sv_2.01.reg2mem\n %3 = add i64 %sv_2.01.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* %sv_2.01.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_3:\n %8 = inttoptr i64 %sv_2.01.reload to i32*\n %9 = load i32, i32* %8, align 4\n %phitmp.le = add i32 %9, 1\n store i32 %phitmp.le, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_2.01.reload, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %10 = call i64* @malloc(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_5, label LBL_9\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 %13 = ptrtoint i64* %10 to i64\n %14 = icmp eq i64 %sv_0.0.lcssa.reload, 0\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %15 = add i64 %sv_0.0.lcssa.reload, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %13, i64* %16, align 8\n br label LBL_8\n LBL_7:\n store i64 %13, i64* %arg1, align 8\n br label LBL_8\n LBL_8:\n %17 = bitcast i64* %10 to i32*\n store i32 %sv_1.0.lcssa.reload, i32* %17, align 4\n store i64 %13, 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 %13, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i64* %10, { 0, 2, 1 }\n uselistorder i64 %sv_2.01.reload, { 0, 2, 1 }\n uselistorder i64* %sv_2.01.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i64* %arg1, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TIFFWriteTile_10478", "fun_name": "TIFFWriteTile", "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 %0 = trunc i64 %arg5 to i32\n %1 = urem i64 %arg6, 65536\n %2 = call i64 @FUNC(i64 %arg1, i32 %arg3, i32 %arg4, i32 %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 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1, i32 %arg3, i32 %arg4, i32 %0, i64 %1)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %arg1, i64 %7, i64 %arg2, i64 -1)\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 4294967295, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "imap_msgpart_crlf_seek_17985", "fun_name": "imap_msgpart_crlf_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 %sv_0.0.reg2mem = alloca i64\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 %sv_1 = alloca i8, align 1\n %sv_2 = alloca i64, align 8\n store i64 %1, i64* %sv_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 %7 = zext i1 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64* %arg3, null\n store i64 %1, i64* %.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_4, 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 = icmp eq i64 %12, %7\n %14 = icmp eq i64 %12, %1\n %15 = icmp eq i1 %13, %14\n store i64 %1, i64* %.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_2, label LBL_4\n LBL_2:\n %16 = add i64 %2, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp ult i64 %18, %0\n store i64 %1, i64* %.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = add i64 %22, %1\n %24 = call i64 @FUNC(i64 %1, i64 %23)\n %25 = load i64, i64* %17, align 8\n %26 = sub i64 %0, %25\n %.pre = load i64, i64* %sv_2, align 8\n store i64 %.pre, i64* %.reg2mem\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 %.reload = load i64, i64* %.reg2mem\n %27 = bitcast i8* %sv_1 to i64*\n %28 = call i64 @FUNC(i64 %.reload, i64 %sv_0.0.reload, i64* nonnull %27)\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_6, label LBL_5\n LBL_5:\n %32 = call i32* @__errno_location()\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = load i64, i64* %sv_2, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 %35, i64 %37)\n store i64 %35, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_6:\n %39 = add i64 %.reload, 8\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, 1\n br i1 %42, label LBL_9, label LBL_7\n LBL_7:\n %43 = add i64 %2, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n store i64 %45, i64* %arg1, align 8\n store i64 %1, i64* %44, align 8\n %46 = sub i64 %sv_0.0.reload, %1\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, 24\n %50 = inttoptr i64 %49 to i64*\n store i64 %46, i64* %50, align 8\n %51 = load i8, i8* %sv_1, align 1\n %52 = icmp eq i8 %51, 0\n br i1 %52, label LBL_9, label LBL_8\n LBL_8:\n %53 = add i64 %46, -1\n store i64 %53, i64* %50, align 8\n br label LBL_9\n LBL_9:\n %54 = load i64, i64* %sv_2, align 8\n %55 = call i64 @FUNC(i64 %54)\n %56 = load i8, i8* %sv_1, align 1\n %57 = icmp eq i8 %56, 0\n br i1 %57, label LBL_11, label LBL_10\n LBL_10:\n %58 = call i64 @FUNC(i64 %55, i64 1)\n br label LBL_11\n LBL_11:\n %59 = call i64 @FUNC(i64* nonnull %sv_2)\n store i64 %55, 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 %.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0, 4 }\n uselistorder i8* %sv_1, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 4, 5, 1, 0, 2 }\n uselistorder i64 %1, { 6, 7, 4, 3, 0, 1, 5, 2, 8 }\n uselistorder i64 %0, { 4, 0, 3, 1, 2, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "query_codec_3318", "fun_name": "query_codec", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem7 = alloca i32*\n %.reg2mem = alloca i32\n %0 = load i32*, i32** @gv_0, align 8\n %1 = trunc i64 %arg1 to i32\n %2 = load i32, i32* %0, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i32 %2, i32* %.reg2mem\n store i32* %0, i32** %.reg2mem7\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %5 = icmp eq i32 %.reload, %1\n %6 = icmp eq i1 %5, false\n store i64 1095780675, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %.reload8 = load i32*, i32** %.reg2mem7\n %7 = ptrtoint i32* %.reload8 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 %12 = icmp eq i1 %11, false\n store i32 %10, i32* %.reg2mem\n store i32* %9, i32** %.reg2mem7\n store i64 4294967295, 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* %.reg2mem, { 2, 0, 1 }\n uselistorder i32** %.reg2mem7, { 2, 0, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "EVP_DecryptFinal_ex_9425", "fun_name": "EVP_DecryptFinal_ex", "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 %.reg2mem5 = alloca i64\n %sv_0.04.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %1, align 4\n %2 = trunc i64 %0 to i32\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = icmp slt i32 %2, 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_21\n LBL_2:\n store i32 %2, i32* %1, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_3:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i32 %9, 2\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_7, label LBL_4\n LBL_4:\n %12 = add i64 %0, 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 3, i64 4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_6:\n store i32 0, i32* %1, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_7:\n %17 = add i64 %0, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp ult i32 %19, 2\n br i1 %20, label LBL_20, label LBL_8\n LBL_8:\n %21 = add i64 %0, 12\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_10, label LBL_9\n LBL_9:\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 %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_11, label LBL_10\n LBL_10:\n %31 = call i64 @FUNC(i64 3, i64 5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_11:\n %32 = icmp ult i32 %19, 17\n %33 = zext i1 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i32 %19, -1\n %36 = zext i32 %35 to i64\n %37 = add i64 %0, 20\n %38 = add i64 %37, %36\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = icmp eq i8 %40, 0\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %42 = ptrtoint i64* %arg2 to i64\n %43 = zext i8 %40 to i32\n %44 = zext i32 %19 to i64\n %45 = zext i8 %40 to i64\n %46 = icmp ugt i64 %45, %44\n store i64 0, i64* %.reg2mem\n store i32 %19, i32* %sv_0.04.reg2mem\n br i1 %46, label LBL_13, label LBL_14\n LBL_13:\n %47 = call i64 @FUNC(i64 3, i64 6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_14:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %48 = add i32 %sv_0.04.reload, -1\n %49 = zext i32 %48 to i64\n %50 = add i64 %37, %49\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = icmp eq i8 %40, %52\n br i1 %53, label LBL_16, label LBL_15\n LBL_15:\n %54 = call i64 @FUNC(i64 3, i64 6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_16:\n %.reload = load i64, i64* %.reg2mem\n %55 = add nuw nsw i64 %.reload, 1\n %56 = and i64 %55, 4294967295\n %57 = trunc i64 %55 to i32\n %58 = icmp sgt i32 %43, %57\n store i64 %56, i64* %.reg2mem\n store i32 %48, i32* %sv_0.04.reg2mem\n br i1 %58, label LBL_14, label LBL_17\n LBL_17:\n %59 = select i1 %32, i32* inttoptr (i64 5 to i32*), i32* inttoptr (i64 4 to i32*)\n %60 = load i32, i32* %59, align 4\n %61 = sub i32 %60, %43\n %62 = icmp sgt i32 %61, 0\n store i64 0, i64* %.reg2mem5\n br i1 %62, label LBL_18, label LBL_19\n LBL_18:\n %.reload6 = load i64, i64* %.reg2mem5\n %sext = mul i64 %.reload6, 4294967296\n %63 = ashr exact i64 %sext, 32\n %64 = add i64 %63, %42\n %65 = add i64 %63, %37\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = inttoptr i64 %64 to i8*\n store i8 %67, i8* %68, align 1\n %69 = add nuw nsw i64 %.reload6, 1\n %70 = and i64 %69, 4294967295\n %71 = trunc i64 %69 to i32\n %72 = icmp sgt i32 %61, %71\n store i64 %70, i64* %.reg2mem5\n br i1 %72, label LBL_18, label LBL_19\n LBL_19:\n store i32 %61, i32* %1, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n store i32 0, i32* %1, align 4\n store i64 1, 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 %61, { 2, 1, 0 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i8 %40, { 0, 1, 3, 2 }\n uselistorder i64 %37, { 2, 0, 1 }\n uselistorder i32 %19, { 0, 1, 3, 2, 4 }\n uselistorder i32 %2, { 2, 1, 0 }\n uselistorder i32* %1, { 3, 2, 1, 0, 4 }\n uselistorder i64 %0, { 2, 5, 4, 0, 6, 3, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem5, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 8, 9, 6, 5, 4, 3 }\n uselistorder i64 4294967295, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @EVPerr, { 3, 2, 1, 0 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0, 5, 4, 3, 2 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder label LBL_21, { 1, 0, 3, 4, 5, 6, 7, 8, 2 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "igb_set_eee_4119", "fun_name": "igb_set_eee", "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 = 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 i64, align 8\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 slt i32 %8, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_17, label LBL_1\n LBL_1:\n %10 = add i64 %6, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_17\n LBL_2:\n %14 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)\n %15 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0)\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 = and i64 %15, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_4:\n %19 = trunc i64 %2 to i32\n %20 = load i64, i64* %sv_0, align 8\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_11, label LBL_5\n LBL_5:\n %23 = ptrtoint i64* %arg2 to i64\n %24 = add i64 %23, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %5, %26\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = add i64 %6, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_7:\n %32 = add i64 %23, 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_9, label LBL_8\n LBL_8:\n %36 = add i64 %6, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_9:\n %40 = add i64 %23, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %4, %42\n br i1 %43, label LBL_13, label LBL_10\n LBL_10:\n %44 = add i64 %6, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %48 = icmp eq i32 %19, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = add i64 %6, 16\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 ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_13:\n %54 = add i64 %6, 8\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %19, 0\n %58 = zext i1 %57 to i32\n %59 = icmp eq i32 %56, %58\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_17, label LBL_14\n LBL_14:\n store i32 %58, i32* %55, align 4\n %60 = call i64 @FUNC(i64 %6)\n %61 = call i64 @FUNC(i64 %3)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, 0\n br i1 %63, label LBL_16, label LBL_15\n LBL_15:\n %64 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %65 = call i64 @FUNC(i64 %6)\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 %23, { 2, 1, 0 }\n uselistorder i64 %6, { 4, 5, 6, 7, 3, 2, 1, 0, 8, 9 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 10, 9, 8, 7, 6, 5, 4 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64 2, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @dev_err, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder label LBL_17, { 2, 1, 0, 5, 6, 7, 8, 9, 4, 3 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hyper_getgrnam_7278", "fun_name": "hyper_getgrnam", "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 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %2 = icmp eq %_IO_FILE* %1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = trunc i64 %0 to i32\n %5 = inttoptr i64 %arg1 to i8*\n %6 = icmp eq i32 %4, -1\n br label LBL_3\n LBL_2:\n call void @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %7 = call %group* @fgetgrent(%_IO_FILE* %1)\n %8 = icmp eq %group* %7, null\n br i1 %8, label LBL_7, label LBL_4\n LBL_4:\n %9 = ptrtoint %group* %7 to i64\n %10 = add i64 %9, 16\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, %4\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = bitcast %group* %7 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 @strcmp(i8* %16, i8* %5)\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %6, %18\n br i1 %19, label LBL_6, label LBL_3\n LBL_6:\n %20 = call i32 @fclose(%_IO_FILE* %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %21 = call i32 @fclose(%_IO_FILE* %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 %group* %7, { 0, 2, 1 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder %_IO_FILE* %1, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_tag_value_17780", "fun_name": "parse_tag_value", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_0 = alloca i64, align 8\n %0 = bitcast i64* %arg2 to i8*\n %1 = load i8, i8* %0, align 1\n %2 = icmp eq i8 %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_6\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = inttoptr i64 %arg1 to i8*\n store i8 %1, i8* %.reg2mem\n store i64 %4, i64* %storemerge25.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge25.reload = load i64, i64* %storemerge25.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %6 = sext i8 %.reload to i32\n %7 = call i8* @strchr(i8* %5, i32 %6)\n %8 = icmp eq i8* %7, null\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = ptrtoint i8* %7 to i64\n %10 = bitcast i64* %sv_0 to i8**\n %11 = call i32 @strtoul(i8* %5, i8** nonnull %10, i32 10)\n %12 = load i64, i64* %sv_0, align 8\n %13 = icmp eq i64 %12, %9\n %14 = icmp eq i1 %13, false\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = add i64 %storemerge25.reload, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = sext i32 %11 to i64\n %19 = mul i64 %17, %18\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %20 = add i64 %storemerge25.reload, 16\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 i8 %22, i8* %.reg2mem\n store i64 %20, i64* %storemerge25.reg2mem\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %24, label LBL_2, 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 i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 -1, { 0, 2, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_6, { 0, 3, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "json_print_int_732", "fun_name": "json_print_int", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) 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 i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = and i64 %arg3, 4294967295\n %7 = ptrtoint i8* %arg2 to i64\n %8 = call i64 @FUNC(i64 %0, i64 %1, i64 %7, i64 %0)\n %9 = inttoptr i64 %8 to i8*\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* %9, i64 %6)\n %11 = sext i32 %10 to i64\n ret i64 %11\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_source_clip_2077", "fun_name": "mxf_read_source_clip", "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 %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i32 %arg3, 4609\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %arg3, 4609\n br i1 %3, label LBL_9, label LBL_2\n LBL_2:\n %4 = icmp eq i32 %arg3, 4354\n br i1 %4, label LBL_8, label LBL_3\n LBL_3:\n %5 = icmp sgt i32 %arg3, 4354\n br i1 %5, label LBL_9, label LBL_4\n LBL_4:\n switch i32 %arg3, label LBL_9 [\n i32 514, label LBL_5\n i32 4353, label LBL_7\n ]\n LBL_5:\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %arg1, align 8\n br label LBL_9\n LBL_6:\n %7 = call i64 @FUNC(i64 %0)\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n br label LBL_9\n LBL_7:\n %10 = call i64 @FUNC(i64 %0, i64 16)\n %11 = add i64 %1, 16\n %12 = call i64 @FUNC(i64 %0, i64 %11, i64 16)\n br label LBL_9\n LBL_8:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %1, 32\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n br label LBL_9\n LBL_9:\n ret i64 0\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 3, 1, 0, 4, 2 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i64 (i64)* @avio_rb64, { 1, 0 }\n uselistorder i32 4354, { 1, 0 }\n uselistorder i32 4609, { 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": "json_string_setn_nocheck_4522", "fun_name": "json_string_setn_nocheck", "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 ne i32 %2, 0\n %4 = icmp eq i64 %arg2, 0\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %5, %3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_3\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %7 = icmp eq i64 %6, 0\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 = call i64 @FUNC(i64 %0)\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 %6, i64* %10, align 8\n %13 = add i64 %9, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %arg3, i64* %14, 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 i64 %arg2, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "breakline_14097", "fun_name": "breakline", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i64\n %sv_1.0.ph.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n store i64 %0, i64* %sv_2, align 8\n %1 = call i64 @FUNC(i64 8)\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i64 %1, i64* %sv_0.0.ph.reg2mem\n br label LBL_5\n LBL_1:\n %2 = inttoptr i64 %21 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_6\n LBL_2:\n %6 = add i32 %sv_1.0.ph.reload, 2\n %7 = sext i32 %6 to i64\n %8 = mul i64 %7, 8\n %9 = call i64 @FUNC(i64 %sv_0.0.ph.reload, 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 %sv_0.0.ph.reload)\n store i32 0, i32* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_4:\n %13 = add i32 %sv_1.0.ph.reload, 1\n %14 = sext i32 %13 to i64\n %15 = mul i64 %14, 8\n %16 = add i64 %9, %15\n %17 = add i64 %16, -8\n %18 = inttoptr i64 %17 to i64*\n store i64 %21, i64* %18, align 8\n %19 = inttoptr i64 %16 to i64*\n store i64 0, i64* %19, align 8\n store i32 %13, i32* %sv_1.0.ph.reg2mem\n store i64 %9, 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 i32, i32* %sv_1.0.ph.reg2mem\n %20 = icmp eq i64 %sv_0.0.ph.reload, 0\n br label LBL_6\n LBL_6:\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64* nonnull %sv_2, i64 4202512)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem\n br i1 %23, label LBL_1, label LBL_8\n LBL_8:\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 store i32 %sv_1.1.reload, i32* %arg2, align 4\n ret i64 %sv_0.1.reload\n\n uselistorder i64 %21, { 2, 1, 0 }\n uselistorder i32 %sv_1.0.ph.reload, { 0, 1, 3, 2 }\n uselistorder i64 %sv_0.0.ph.reload, { 0, 2, 1, 3 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "falcon_spi_device_init_3751", "fun_name": "falcon_spi_device_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i32 %arg4, 0\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 40, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967284, i64* %storemerge3.reg2mem\n br i1 %3, label LBL_2, label LBL_5\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = inttoptr i64 %1 to i32*\n store i32 %arg3, i32* %5, align 4\n %6 = zext i32 %arg4 to i64\n %7 = call i64 @FUNC(i64 %6, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 32\n %10 = shl i32 1, %9\n %11 = add i64 %1, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %6, i64 1)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %12, align 4\n %18 = icmp eq i32 %17, 512\n %19 = icmp eq i32 %14, 1\n %20 = icmp eq i1 %19, %18\n %storemerge4 = zext i1 %20 to i32\n %21 = add i64 %1, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 %storemerge4, i32* %22, align 4\n %23 = call i64 @FUNC(i64 %6, i64 2)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %1, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %6, i64 3)\n %28 = trunc i64 %27 to i32\n %29 = urem i32 %28, 32\n %30 = shl i32 1, %29\n %31 = add i64 %1, 20\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = call i64 @FUNC(i64 %6, i64 4)\n %34 = trunc i64 %33 to i32\n %35 = urem i32 %34, 32\n %36 = shl i32 1, %35\n %37 = add i64 %1, 24\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = add i64 %1, 32\n %40 = inttoptr i64 %39 to i64*\n store i64 %4, i64* %40, align 8\n store i64 %1, i64* %sv_0.0.reg2mem\n store i64 4, i64* %rsi.0.reg2mem\n br label LBL_4\n LBL_3:\n %41 = ptrtoint i64* %arg2 to i64\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 %41, i64* %rsi.0.reg2mem\n br label LBL_4\n LBL_4:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %42 = call i64 @FUNC(i64 %rsi.0.reload)\n store i64 %sv_0.0.reload, i64* %arg2, align 8\n store i64 0, i64* %storemerge3.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i64)* @SPI_DEV_TYPE_FIELD, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_laio_process_completion_2640", "fun_name": "qemu_laio_process_completion", "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 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, -1\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 32\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, %4\n %9 = icmp eq i1 %8, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_5\n LBL_2:\n %10 = icmp slt i32 %2, 0\n store i32 %2, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\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, 0\n store i32 -2, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = add i64 %arg1, 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 = sub i64 %19, %4\n %21 = call i64 @FUNC(i64 %17, i32 %2, i64 0, i64 %20)\n store i32 %2, 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 = inttoptr i64 %arg1 to i32*\n store i32 %sv_0.0.reload, i32* %22, align 4\n %23 = add i64 %arg1, 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_8, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %25)\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* %rax.0.reg2mem\n br i1 %30, label LBL_9, label LBL_7\n LBL_7:\n %31 = load i64, i64* %24, align 8\n %32 = call i64 @FUNC(i64 %31)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %33 = call i64 @FUNC(i64 %arg1)\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 i64 %4, { 1, 0 }\n uselistorder i32 %2, { 0, 4, 1, 3, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 4, 2, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 %arg1, { 4, 3, 5, 2, 1, 0 }\n uselistorder label LBL_5, { 2, 0, 3, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "log16_14209", "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.12.reg2mem = alloca i64\n %sv_0.13.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 13, 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.13.reg2mem\n store i64 %1, i64* %sv_1.12.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem\n %sv_0.13.reload = load i32, i32* %sv_0.13.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.12.reload, %6\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.13.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.13.reload\n %11 = mul i64 %sv_1.12.reload, 65536\n %12 = udiv i64 %5, 2\n %13 = add i64 %12, %11\n %14 = udiv i64 %13, %5\n store i64 %14, 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 %15 = icmp eq i64 %indvars.iv.reload, 0\n %16 = icmp eq i1 %15, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.12.reg2mem\n br i1 %16, label LBL_3, label LBL_6\n LBL_6:\n %17 = sext i32 %sv_0.0.reload to i64\n ret i64 %17\n\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 3 }\n uselistorder i32 %sv_0.13.reload, { 1, 0 }\n uselistorder i64 %sv_1.12.reload, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 5, 4, 3, 2, 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": "h261_decode_init_vlc_15529", "fun_name": "h261_decode_init_vlc", "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 = zext i32 %0 to i64\n %2 = icmp eq i32 %0, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* @gv_0, align 4\n %4 = load i32, i32* @gv_1, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64* nonnull @gv_2, i64 %5, i64 35, i64* nonnull @gv_3, i64 1, i64 1)\n %7 = load i32, i32* @gv_4, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64* nonnull @gv_5, i64 %8, i64 10, i64* nonnull @gv_6, i64 1, i64 1)\n %10 = load i32, i32* @gv_7, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64* nonnull @gv_8, i64 %11, i64 17, i64* nonnull @gv_9, i64 2, i64 1)\n %13 = load i32, i32* @gv_10, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64* nonnull @gv_11, i64 %14, i64 63, i64* nonnull @gv_12, i64 2, i64 1)\n %16 = call i64 @FUNC(i64* nonnull @gv_13)\n %17 = call i64 @FUNC(i64* nonnull @gv_13)\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 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 3, 2, 5, 4 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bochs_bios_write_5028", "fun_name": "bochs_bios_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 %0 = trunc i64 %arg2 to i32\n %sext2 = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext2, 32\n %2 = icmp eq i32 %0, 35072\n br i1 %2, label LBL_9, 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, 35073\n br i1 %5, label LBL_2, label LBL_15\n LBL_2:\n %6 = icmp eq i32 %4, 1283\n br i1 %6, label LBL_14, label LBL_3\n LBL_3:\n %7 = icmp ugt i32 %4, 1283\n br i1 %7, label LBL_15, label LBL_4\n LBL_4:\n %8 = icmp ult i32 %4, 1281\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_13, label LBL_5\n LBL_5:\n %10 = icmp eq i32 %4, 1280\n br i1 %10, label LBL_14, label LBL_6\n LBL_6:\n %.not = icmp ne i1 %8, true\n %11 = icmp ult i32 %4, 1026\n %or.cond3 = or i1 %11, %.not\n br i1 %or.cond3, label LBL_15, label LBL_7\n LBL_7:\n %12 = add nsw i64 %3, 4294966270\n %13 = and i64 %12, 4294967295\n %14 = trunc i64 %12 to i32\n %15 = icmp ult i32 %14, 2\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_8, label LBL_15\n LBL_8:\n %16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %17 = trunc i64 %1 to i8\n %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8 %17)\n %19 = sext i32 %18 to i64\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %20 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %21 = sext i32 %20 to i64\n %22 = add i64 %21, ptrtoint (i8** @gv_2 to i64)\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = trunc i64 %1 to i32\n %26 = sext i8 %24 to i32\n %27 = icmp eq i32 %25, %26\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_12, label LBL_10\n LBL_10:\n store i32 ptrtoint (i32* @gv_3 to i32), i32* @gv_4, align 4\n store i64 zext (i32 ptrtoint (i32* @gv_3 to i32) to i64), i64* %rax.0.reg2mem\n br i1 icmp ne (i32 sub (i32 ptrtoint (i32* @gv_3 to i32), i32 8), i32 0), label LBL_15, label LBL_11\n LBL_11:\n store i32 0, i32* @gv_4, align 4\n %29 = call i64 @FUNC()\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %30 = sext i8 %24 to i64\n store i32 0, i32* @gv_4, align 4\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %arg3.tr = trunc i64 %arg3 to i32\n %31 = mul i32 %arg3.tr, 2\n %32 = or i32 %31, 1\n call void @exit(i32 %32)\n unreachable\n LBL_14:\n %33 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %34 = trunc i64 %1 to i8\n %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %33, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8 %34)\n %36 = sext i32 %35 to i64\n store i64 %36, 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 %24, { 1, 0 }\n uselistorder i32 %4, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 6, 4, 5, 2, 1 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i32* @gv_4, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 1, { 2, 0, 1 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_15, { 7, 4, 3, 2, 8, 5, 0, 1, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "intel_hda_exit_279", "fun_name": "intel_hda_exit", "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 %0)\n %3 = inttoptr i64 %1 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 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "data_plane_thread_3430", "fun_name": "data_plane_thread", "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, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = add i64 %2, 8\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n br label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %5)\n br i1 %7, label LBL_1.backedge, label LBL_3\n LBL_2:\n br label LBL_1\n LBL_3:\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 br i1 %14, label LBL_1.backedge, label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_texture_14777", "fun_name": "free_texture", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opsidt_9335", "fun_name": "opsidt", "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, 2\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, 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 %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 = 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, 8\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, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cirrus_cursor_invalidate_8340", "fun_name": "cirrus_cursor_invalidate", "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 i32*\n %.pre-phi6.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 18\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = urem i8 %3, 2\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = and i8 %3, 2\n %8 = icmp eq i8 %7, 0\n %. = select i1 %8, i32 32, i32 64\n store i32 %., 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 = add i64 %0, 256\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %sv_0.0.reload, %11\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2.LBL_6_crit_edge, label LBL_4\n LBL_3:\n %.pre = add i64 %0, 268\n %.pre1 = inttoptr i64 %.pre to i32*\n %.pre3 = add i64 %0, 260\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_6\n LBL_4:\n %14 = add i64 %0, 260\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %0, 268\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 store i32* %15, i32** %.pre-phi6.reg2mem\n store i32* %18, i32** %.pre-phi2.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = add i64 %0, 264\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %0, 272\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 eq i32 %24, %27\n store i32* %15, i32** %.pre-phi6.reg2mem\n store i32* %18, i32** %.pre-phi2.reg2mem\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem\n %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem\n %30 = call i64 @FUNC(i64 %0)\n store i32 %sv_0.0.reload, i32* %10, align 4\n %31 = load i32, i32* %.pre-phi2.reload, align 4\n store i32 %31, i32* %.pre-phi6.reload, align 4\n %32 = add i64 %0, 272\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %0, 264\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = call i64 @FUNC(i64 %0)\n %38 = call i64 @FUNC(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 i32* %18, { 1, 0, 2 }\n uselistorder i32* %15, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i8 %3, { 1, 0 }\n uselistorder i64 %0, { 3, 2, 5, 4, 6, 10, 11, 8, 9, 0, 1, 7, 12 }\n uselistorder i32** %.pre-phi6.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32** %.pre-phi2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @invalidate_cursor1, { 1, 0 }\n uselistorder i64 260, { 1, 0 }\n uselistorder i64 268, { 1, 0 }\n uselistorder i8 2, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_st_cond_5453", "fun_name": "gen_st_cond", "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.0.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %sext6 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext6, 32\n %3 = trunc i64 %arg4 to i32\n %4 = trunc i64 %arg5 to i16\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = call i64 @FUNC(i64 %0, i32 %6, i32 %3, i16 %4)\n %8 = call i64 @FUNC()\n %9 = and i64 %arg3, 4294967295\n %10 = and i64 %8, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %9)\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 %1, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %12 = call i64 @FUNC(i64 %0, i64 1)\n %13 = trunc i64 %2 to i32\n %14 = call i64 @FUNC(i64 %10, i32 %6, i32 %13, i64 %0)\n store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %15 = call i64 @FUNC(i64 %0, i64 1)\n %16 = trunc i64 %2 to i32\n %17 = call i64 @FUNC(i64 %10, i32 %6, i32 %16, i64 %0)\n store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sext7 = mul i64 %arg4, 4294967296\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %18 = ashr exact i64 %sext7, 29\n %19 = add i64 %18, ptrtoint ([32 x i8*]* @gv_3 to i64)\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = ashr exact i64 %sext6, 29\n %23 = add i64 %22, ptrtoint ([32 x i8*]* @gv_3 to i64)\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = ptrtoint i8* %sv_0.0.reload to i64\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %26, i64 %25, i16 %4, i64 %21)\n %28 = call i64 @FUNC(i64 %10)\n %29 = and i64 %5, 4294967295\n %30 = call i64 @FUNC(i64 %29)\n ret i64 %30\n\n uselistorder i64 %10, { 1, 0, 2, 3 }\n uselistorder i64 %sext6, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @tcg_temp_free, { 1, 0 }\n uselistorder i64 (i64, i64)* @save_cpu_state, { 1, 0 }\n uselistorder i64 ()* @tcg_temp_local_new, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ntlm_write_message_fields_buffer_160", "fun_name": "ntlm_write_message_fields_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 %1 = load i64, i64* %0\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_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = ptrtoint i32* %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 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %5, i64 %10)\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 %5, i64 %14, i32 %2)\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 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_tmpfile_4442", "fun_name": "d_tmpfile", "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 = add i64 %1, 16\n %4 = icmp eq i64 %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 %1, 272\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 = call i64 @FUNC(i64 %1)\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 ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %14)\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %16 = add i64 %1, 280\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, 288\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %1, 288\n %22 = call i64 @FUNC(i64 %21, i64 1)\n %23 = inttoptr i64 %3 to i8*\n %24 = call i32 (i8*, i8*, ...) @sprintf(i8* %23, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 1)\n %25 = add i64 %1, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %21)\n %28 = load i64, i64* %17, align 8\n %29 = add i64 %28, 288\n %30 = call i64 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64 %1, i64 %0)\n ret i64 %31\n\n uselistorder i64 %1, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dns_packet_new_query_9114", "fun_name": "dns_packet_new_query", "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 = 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 call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2, i64 %arg3)\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* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %8 = urem i64 %arg4, 256\n %9 = load i64, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %9, i64 %8, i64 0)\n %11 = load i64, i64* %sv_0, align 8\n store i64 %11, i64* %arg1, 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* %sv_0, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_network_get_sock_name_5324", "fun_name": "php_network_get_sock_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 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 128)\n %2 = bitcast i64* %sv_0 to %sockaddr*\n %3 = call i32 @getsockname(i32 %0, %sockaddr* nonnull %2, i32* nonnull %sv_1)\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg3 to i64\n %8 = ptrtoint i64* %arg4 to i64\n %9 = ptrtoint i64* %arg5 to i64\n %10 = load i32, i32* %sv_1, align 4\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i32 %10, i64 %6, i64 %7, i64 %8, i64 %9)\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": "0" }, { "dataset": "CompRealVul", "file": "asymmetric_key_match_preparse_12686", "fun_name": "asymmetric_key_match_preparse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %0, align 4\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bsg_kref_release_function_10027", "fun_name": "bsg_kref_release_function", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) 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 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs41_sequence_prepare_9540", "fun_name": "nfs41_sequence_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 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %0, i64 %1, i64 %4, 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 %1, { 0, 2, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ohci_put_hcca_5049", "fun_name": "ohci_put_hcca", "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 = add i64 %1, %arg2\n %3 = ptrtoint i32* %arg3 to i64\n %4 = and i64 %2, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %3, i64 0)\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "resync_start_store_10912", "fun_name": "resync_start_store", "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 %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg2, 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 br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i64 -1, i64* %sv_0, align 8\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 %arg2, i64 10, i64* 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 store i64 %3, i64* %rax.0.in.reg2mem\n br i1 %6, label LBL_3, label LBL_9\n LBL_3:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %8, i64* %rax.0.in.reg2mem\n br i1 %10, label LBL_4, label LBL_9\n LBL_4:\n %11 = add i64 %7, 24\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 = add i64 %7, 16\n %16 = call i64 @FUNC(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 %20 = icmp eq i1 %19, false\n br i1 %20, label %27, label LBL_6\n LBL_6:\n %21 = load i64, i64* %sv_0, align 8\n store i64 %21, i64* %arg1, align 8\n %22 = load i64, i64* %12, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_8, label LBL_7\n LBL_7:\n %24 = add i64 %7, 8\n %25 = call i64 @FUNC(i64 0, i64 %24)\n br label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 %7)\n store i64 %arg3, i64* %.reg2mem\n br label %29\n LBL_9:\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 %7, { 2, 0, 1, 4, 3, 5 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mddev_unlock, { 1, 0 }\n uselistorder label %29, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_db_walk_for_execute_17502", "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_10\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, 1\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_10\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_10\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 store i64 %17, i64* %rax.0.shrunk.reg2mem\n br i1 %19, label LBL_4, label LBL_10\n LBL_4:\n %20 = trunc i64 %3 to i32\n store i64 0, i64* %sv_2, align 8\n %21 = load i32*, i32** %sv_3, align 8\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 2\n %24 = icmp eq i1 %23, false\n store i32 %20, i32* %.reg2mem7\n store i32* %21, i32** %.reg2mem9\n br i1 %24, label LBL_9, label LBL_5\n LBL_5:\n %25 = ptrtoint i64* %sv_4 to i64\n %26 = ptrtoint i32* %21 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 = icmp eq i32 %29, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %20, i32* %.pre.reg2mem\n store i32* %21, i32** %.reg2mem\n br i1 %30, label LBL_8, label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %31 = mul i64 %indvars.iv.reload, 8\n %32 = add i64 %31, %25\n %33 = add i64 %32, -176\n %34 = inttoptr i64 %33 to i32*\n store i32 3, i32* %34, align 8\n %35 = add i64 %32, -172\n %36 = inttoptr i64 %35 to i32*\n store i32 1, i32* %36, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %37 = load i32*, i32** %sv_3, align 8\n %38 = ptrtoint i32* %37 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 ult i64 %indvars.iv.next, %42\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %43, label LBL_6, label LBL_7\n LBL_7:\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* %37, i32** %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32*, i32** %.reg2mem\n %.pre.reload = load i32, i32* %.pre.reg2mem\n %44 = ptrtoint i64* %sv_1 to i64\n store i64 %44, i64* %sv_2, align 8\n store i32 %.pre.reload, i32* %.reg2mem7\n store i32* %.reload, i32** %.reg2mem9\n br label LBL_9\n LBL_9:\n %.reload10 = load i32*, i32** %.reg2mem9\n %.reload8 = load i32, i32* %.reg2mem7\n %45 = ptrtoint i32* %.reload10 to i64\n %46 = call i64 @FUNC(i64 %45)\n store i64 0, i64* %sv_0, align 8\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %47 = ptrtoint i64* %sv_0 to i64\n %48 = call i64 @FUNC(i64 %4, i64 0, i64* nonnull %sv_2, i64* nonnull %sv_0)\n %49 = and i64 %48, 4294967295\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %50, i64 %47, i64 %2, i64 %1)\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %52 = call i64 @FUNC(i64 %13)\n %53 = add i32 %.reload8, 1\n store i32 %53, i32* %arg3, align 4\n %54 = ptrtoint i32* %arg3 to i64\n %55 = add i64 %54, 4\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = icmp uge i32 %.reload8, %57\n %spec.select = zext i1 %58 to i64\n store i64 %spec.select, 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 i32* %21, { 1, 2, 0, 3 }\n uselistorder i32 %20, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2 }\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, 1, 2, 3, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @ACPI_FREE, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i32* %arg3, { 1, 0 }\n uselistorder label LBL_10, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "musb_gadget_stop_4830", "fun_name": "musb_gadget_stop", "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 = call i64 @FUNC(i64 %1)\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, 0\n %9 = icmp eq i1 %8, false\n %.pre = add i64 %3, 8\n %.pre1 = inttoptr i64 %.pre to i64*\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = load i64, i64* %.pre1, align 8\n %11 = call i64 @FUNC(i64 %10)\n br label LBL_2\n LBL_2:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = add i64 %3, 32\n %14 = call i64 @FUNC(i64 %13, i64 %2)\n %15 = call i64 @FUNC(i64 %3)\n %16 = add i64 %3, 36\n %17 = call i64 @FUNC(i64 %16, i64 0)\n %18 = load i64, i64* %4, align 8\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %3, i64 %12)\n %22 = load i64, i64* %4, 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, i64 0)\n %27 = load i64, i64* %.pre1, align 8\n %28 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %29 = add i64 %3, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %3, 24\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = call i64 @FUNC(i64 %3, i64 0)\n %34 = call i64 @FUNC(i64 %13, i64 %2)\n %35 = call i64 @FUNC(i64 %3)\n %36 = call i64 @FUNC(i64 %35)\n %37 = load i64, i64* %.pre1, align 8\n %38 = call i64 @FUNC(i64 %37)\n ret i64 0\n\n uselistorder i64 %3, { 2, 1, 3, 4, 5, 8, 7, 6, 0, 9 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_mgmt_ioctl_9589", "fun_name": "megasas_mgmt_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 store i64 1, i64* %rax.0.reg2mem\n switch i32 %1, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %2 = call i64 @FUNC(i64 %0, i64 %arg3)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 %0, i64 %arg3)\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, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "editPackageValue_4296", "fun_name": "editPackageValue", "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 i8*, align 8\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 br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %6 = icmp sgt i32 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_10\n LBL_2:\n %7 = bitcast i8** %sv_0 to i64*\n %wide.trip.count = and i64 %arg1, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_3:\n %8 = call i64 @FUNC()\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = mul i64 %indvars.iv.reload, 8\n %10 = add i64 %9, %arg2\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %13, i64* nonnull @gv_0, i64* nonnull %7)\n %15 = load i8*, i8** %sv_0, align 8\n %16 = icmp eq i8* %15, null\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = ptrtoint i8* %15 to i64\n %18 = call i64 @FUNC(i64 %14, i64 %17)\n br label LBL_9\n LBL_6:\n %19 = call i64 @FUNC(i64 %14, i64 0)\n %20 = inttoptr i64 %19 to i8*\n store i8* %20, i8** %sv_0, align 8\n %21 = icmp eq i64 %19, 0\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = call i32 @puts(i8* %20)\n br label LBL_9\n LBL_8:\n %23 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\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 store i64 %wide.trip.count, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_10, 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 %14, { 1, 0 }\n uselistorder i32 %0, { 0, 2, 1 }\n uselistorder i8** %sv_0, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 (i8*)* @puts, { 1, 0 }\n uselistorder i8* null, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 4, 2, 1, 0, 3 }\n uselistorder label LBL_10, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_cpu_initfn_998", "fun_name": "arm_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 4198935, i64 4198949, i64 4198977, i64 4198977)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC()\n %8 = trunc i64 %7 to i8\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, i64 4198893, i64 4)\n br label LBL_3\n LBL_2:\n %11 = call i64 @FUNC(i64 %2, i64 4198900, i64 4)\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 0, i64 1, i64 4198907, i64 %2)\n %13 = add i64 %2, 32\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = call i64 @FUNC(i64 0, i64 1, i64 4198914, i64 %2)\n %16 = add i64 %2, 40\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = call i64 @FUNC(i64 0, i64 1, i64 4198921, i64 %2)\n %19 = add i64 %2, 48\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = call i64 @FUNC(i64 0, i64 1, i64 4198928, i64 %2)\n %22 = add i64 %2, 56\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = add i64 %2, 64\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %2, i64 %26, i64 8)\n %28 = add i64 %2, 16\n %29 = inttoptr i64 %28 to i64*\n store i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64* %29, align 8\n %30 = add i64 %2, 24\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %31, align 4\n %32 = add i64 %2, 28\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = call i64 @FUNC()\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_6, label LBL_4\n LBL_4:\n store i32 2, i32* %31, align 4\n %37 = load i8, i8* inttoptr (i64 4210733 to i8*), align 1\n %38 = icmp eq i8 %37, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_6, label LBL_5\n LBL_5:\n store i8 1, i8* bitcast (i64* @gv_1 to i8*), align 8\n %39 = call i64 @FUNC()\n store i64 %39, 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, 4, 3, 2, 6, 5, 8, 7, 10, 9, 12, 11, 13, 14, 15, 16 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @timer_new, { 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64, i64, i64)* @qdev_init_gpio_in, { 1, 0 }\n uselistorder i64 4198977, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofport_modified_9782", "fun_name": "ofport_modified", "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 %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = and i32 %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 = urem i32 %8, 2\n %10 = or i32 %9, %5\n store i32 %10, i32* %3, align 4\n %11 = add i64 %1, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i32 %13, -2\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 2\n %19 = or i32 %18, %14\n store i32 %19, i32* %12, 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, 20\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %1, 20\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, 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 = add i64 %1, 24\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = add i64 %0, 28\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %1, 28\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = add i64 %0, 32\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %1, 32\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %0, 36\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %1, 36\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = add i64 %1, 40\n %51 = inttoptr i64 %50 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 = call i64 @FUNC(i64 %54, i64 0, i64 %1, i64 1)\n ret i64 %55\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dispatch_imsg_7583", "fun_name": "dispatch_imsg", "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 %sv_0.1.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = 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 i32, align 4\n %sv_4 = alloca i32, align 4\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n store i32 %4, i32* %sv_4, align 4\n %5 = icmp eq i32 %4, -1\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_30\n LBL_1:\n %7 = icmp eq i32 %4, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_4\n LBL_2:\n %9 = load i64, i64* @gv_0, align 8\n %10 = bitcast i32* %sv_3 to i64*\n %11 = call i64 @FUNC(i64 %9, i64* nonnull %10)\n %12 = trunc i64 %11 to i32\n store i32 %12, i32* %sv_4, align 4\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_3, label LBL_30\n LBL_3:\n %15 = ptrtoint i32* %arg1 to i64\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = bitcast i64* %rdi to i32*\n %19 = bitcast i64* %sv_2 to i8*\n %20 = ptrtoint i64* %sv_2 to i64\n store i32 %12, i32* %.reg2mem\n br label LBL_5\n LBL_4:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %22 = icmp eq i32 %.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_30, label LBL_6\n LBL_6:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %23 = load i32, i32* %sv_3, align 4\n %24 = icmp eq i32 %23, 3\n br i1 %24, label LBL_19, label LBL_7\n LBL_7:\n %25 = icmp sgt i32 %23, 3\n store i64 %sv_0.06.reload, i64* %sv_0.1.reg2mem\n br i1 %25, label LBL_29, label LBL_8\n LBL_8:\n store i64 %sv_0.06.reload, i64* %sv_0.1.reg2mem\n switch i32 %23, label LBL_29 [\n i32 1, label LBL_9\n i32 2, label LBL_12\n ]\n LBL_9:\n %26 = icmp eq i64 %sv_0.06.reload, 32\n br i1 %26, label LBL_11, label LBL_10\n LBL_10:\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_11:\n %28 = load i64, i64* %sv_2, align 8\n %29 = call i128 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i128 %29)\n %31 = trunc i64 %30 to i32\n store i32 %31, i32* %sv_4, align 4\n %32 = load i64, i64* @gv_0, align 8\n %33 = call i64 @FUNC(i64 %32, i64 1, i64 0, i64 0, i32* nonnull %sv_4, i64 4)\n store i64 32, i64* %sv_0.1.reg2mem\n br label LBL_29\n LBL_12:\n %34 = icmp eq i64 %sv_0.06.reload, 32\n br i1 %34, label LBL_14, label LBL_13\n LBL_13:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_14:\n %36 = load i32, i32* %17, align 4\n %37 = icmp eq i32 %36, 0\n store i64 32, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_29, label LBL_15\n LBL_15:\n %38 = load i32, i32* %18, align 8\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = load i64, i64* %sv_2, align 8\n %42 = call i128 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i128 %42)\n %44 = icmp eq i32 %38, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_18, label LBL_16\n LBL_16:\n %46 = call i32 @daemon(i32 1, i32 0)\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_18, label LBL_17\n LBL_17:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_18:\n store i32 0, i32* %17, align 4\n store i64 32, i64* %sv_0.1.reg2mem\n br label LBL_29\n LBL_19:\n %49 = icmp ult i64 %sv_0.06.reload, 25\n br i1 %49, label LBL_20, label LBL_21\n LBL_20:\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_21:\n %51 = add i64 %sv_0.06.reload, -25\n %52 = add i64 %51, %20\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = icmp eq i8 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_23, label LBL_22\n LBL_22:\n %57 = call i32 @strlen(i8* nonnull %19)\n %58 = sext i32 %57 to i64\n %59 = icmp eq i64 %51, %58\n br i1 %59, label LBL_24, label LBL_23\n LBL_23:\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_24:\n %61 = call i64 @FUNC(i64 %20, i64* nonnull %sv_1)\n %sext = mul i64 %61, 4294967296\n %62 = ashr exact i64 %sext, 25\n %63 = load i64, i64* @gv_0, align 8\n %64 = call i64 @FUNC(i64 %63, i64 3, i32 %1, i64 0, i64 %62)\n %65 = icmp eq i64 %64, 0\n store i64 %51, i64* %sv_0.1.reg2mem\n br i1 %65, label LBL_29, label LBL_25\n LBL_25:\n %66 = trunc i64 %61 to i32\n %67 = icmp slt i32 %66, 1\n br i1 %67, label LBL_28, label LBL_26\n LBL_26:\n %storemerge4 = load i64, i64* %sv_1, align 8\n %68 = icmp eq i64 %storemerge4, 0\n %69 = icmp eq i1 %68, false\n store i64 %storemerge4, i64* %storemerge5.reg2mem\n br i1 %69, label LBL_27, label LBL_28\n LBL_27:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %70 = call i64 @FUNC(i64 %64, i64 %storemerge5.reload, i64 128)\n %71 = add i64 %storemerge5.reload, 128\n %72 = inttoptr i64 %71 to i64*\n %storemerge = load i64, i64* %72, align 8\n %73 = icmp eq i64 %storemerge, 0\n %74 = icmp eq i1 %73, false\n store i64 %storemerge, i64* %storemerge5.reg2mem\n br i1 %74, label LBL_27, label LBL_28\n LBL_28:\n %75 = load i64, i64* @gv_0, align 8\n %76 = call i64 @FUNC(i64 %75, i64 %64)\n store i64 %51, i64* %sv_0.1.reg2mem\n br label LBL_29\n LBL_29:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %77 = call i64 @FUNC(i64* nonnull %10)\n %78 = load i64, i64* @gv_0, align 8\n %79 = call i64 @FUNC(i64 %78, i64* nonnull %10)\n %80 = trunc i64 %79 to i32\n store i32 %80, i32* %sv_4, align 4\n %81 = icmp eq i32 %80, -1\n %82 = icmp eq i1 %81, false\n store i32 %80, i32* %.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.06.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %82, label LBL_5, 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 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %64, { 1, 0, 2 }\n uselistorder i64 %61, { 1, 0 }\n uselistorder i64 %51, { 0, 1, 3, 2 }\n uselistorder i64 %sv_0.06.reload, { 5, 4, 2, 3, 0, 1 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64* %10, { 2, 1, 0 }\n uselistorder i32* %sv_4, { 3, 1, 2, 0, 4 }\n uselistorder i64* %sv_2, { 2, 3, 0, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.06.reg2mem, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 6, 7, 2, 3, 4, 1, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 3, 4 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i8*)* @fatalx, { 3, 2, 1, 0 }\n uselistorder i64 32, { 0, 1, 4, 2, 3 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64, i64*)* @imsg_get, { 1, 0 }\n uselistorder i64 4294967295, { 0, 3, 1, 2 }\n uselistorder i1 false, { 5, 2, 1, 3, 4, 0, 6, 7 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i64* @gv_0, { 4, 1, 2, 3, 0, 5 }\n uselistorder label LBL_30, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_29, { 4, 1, 5, 2, 6, 0, 3 }\n uselistorder label LBL_27, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "inet_parse_connect_opts_14939", "fun_name": "inet_parse_connect_opts", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %5 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 48)\n store i64 34, i64* %sv_1, align 8\n %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %8 = icmp ne i64 %6, 0\n %9 = icmp eq i64 %7, 0\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 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 48, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %12 = inttoptr i64 %7 to i8*\n %13 = inttoptr i64 %6 to i8*\n %14 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 0)\n %15 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 0)\n %16 = bitcast i64* %sv_1 to %addrinfo*\n %17 = bitcast i64* %sv_0 to %addrinfo**\n %18 = call i32 @getaddrinfo(i8* %13, i8* %12, %addrinfo* nonnull %16, %addrinfo** nonnull %17)\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i8* @gai_strerror(i32 %18)\n %21 = ptrtoint i8* %20 to i64\n %22 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i64 %6, i64 %7, i64 %21, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %23 = load i64, i64* %sv_0, align 8\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 %7, { 1, 2, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 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)* @qemu_opt_get_bool, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "diff_delta__dup_4695", "fun_name": "diff_delta__dup", "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 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_6\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = inttoptr i64 %0 to i64*\n %5 = call i64* @memcpy(i64* %4, i64* %arg1, i32 24)\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(i64 %3, i64 %0)\n store i64 %8, i64* %4, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\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 = icmp eq i64 %13, %3\n %15 = icmp eq i64 %13, 0\n %or.cond = or i1 %14, %15\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %3, i64 %13)\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = icmp eq i64 %16, 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_5\n LBL_4:\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i64*\n store i64 %8, i64* %22, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %23 = 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 %13, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %0, { 3, 1, 5, 0, 4, 2, 7, 6, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @git_pool_strdup, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pxa2xx_pcmcia_init_2816", "fun_name": "pxa2xx_pcmcia_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 40)\n %1 = inttoptr i64 %0 to i64*\n store i64 %arg1, i64* %1, align 8\n %2 = load i64, i64* @gv_0, align 8\n %3 = load i64, i64* @gv_1, align 8\n %4 = call i64 @FUNC(i64 0, i64 %3, i64 %2, i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = load i64, i64* %1, align 8\n %7 = call i64 @FUNC(i64 %6, i64 67108864, i32 %5)\n %8 = or i64 %arg1, 134217728\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = load i64, i64* @gv_2, align 8\n %12 = load i64, i64* @gv_3, align 8\n %13 = call i64 @FUNC(i64 0, i64 %12, i64 %11, i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = load i64, i64* %10, align 8\n %16 = call i64 @FUNC(i64 %15, i64 67108864, i32 %14)\n %17 = or i64 %arg1, 201326592\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = load i64, i64* @gv_4, align 8\n %21 = load i64, i64* @gv_5, align 8\n %22 = call i64 @FUNC(i64 0, i64 %21, i64 %20, i64 %0)\n %23 = trunc i64 %22 to i32\n %24 = load i64, i64* %19, align 8\n %25 = call i64 @FUNC(i64 %24, i64 67108864, i32 %23)\n %26 = icmp eq i64 %arg1, 805306368\n %27 = icmp eq i1 %26, false\n %28 = add i64 %0, 24\n %29 = inttoptr i64 %28 to i64*\n %. = select i1 %27, i64 ptrtoint ([21 x i8]* @gv_6 to i64), i64 ptrtoint ([21 x i8]* @gv_7 to i64)\n store i64 %., i64* %29, align 8\n %30 = call i64 @FUNC(i64 4198909, i64 %0, i64 1)\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %0, 32\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = call i64 @FUNC(i64 %28)\n ret i64 %0\n\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @cpu_register_physical_memory, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "liq_image_destroy_18579", "fun_name": "liq_image_destroy", "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, 48\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, 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 label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtser_port_device_realize_2064", "fun_name": "virtser_port_device_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 %storemerge.reg2mem = alloca i8\n %rcx.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 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = call i64 @FUNC(i64 %5)\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 = 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 4198940, i64 %3)\n %14 = add i64 %3, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = inttoptr i64 %4 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 br i1 %19, 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 ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 113, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([28 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 %20 = add i64 %4, 1\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = icmp eq i8 %22, 0\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = load i64, i64* %12, align 8\n %25 = call i64 @FUNC(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 i8 1, i8* %storemerge.reg2mem\n br i1 %28, label LBL_4, label LBL_5\n LBL_4:\n store i8 0, i8* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %29 = ptrtoint i64* %arg2 to i64\n %30 = inttoptr i64 %3 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i64, i64* %12, align 8\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %32, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n %37 = load i32, i32* %30, align 4\n %38 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i32 %37, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_7:\n %storemerge.reload = load i8, i8* %storemerge.reg2mem\n %39 = add i64 %3, 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_10, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %41)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %46 = load i64, i64* %40, align 8\n %47 = trunc i64 %46 to i32\n %48 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_4, i64 0, i64 0), i32 %47, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_10:\n %49 = load i32, i32* %30, align 4\n %50 = icmp eq i32 %49, -1\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_15, label LBL_11\n LBL_11:\n %52 = icmp eq i8 %storemerge.reload, 0\n br i1 %52, label LBL_13, label LBL_12\n LBL_12:\n store i32 0, i32* %30, align 4\n br label LBL_15\n LBL_13:\n %53 = load i64, i64* %12, align 8\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n store i32 %55, i32* %30, align 4\n %56 = icmp eq i32 %55, -1\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_15, label LBL_14\n LBL_14:\n %58 = trunc i64 %3 to i32\n %59 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_5, i64 0, i64 0), i32 %58, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %59, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %60 = load i64, i64* %12, align 8\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 %9, i64 %63)\n %65 = load i32, i32* %30, align 4\n %66 = zext i32 %65 to i64\n %sext = mul i64 %64, 4294967296\n %67 = ashr exact i64 %sext, 32\n %68 = icmp sgt i64 %67, %66\n br i1 %68, label LBL_17, label LBL_16\n LBL_16:\n %69 = trunc i64 %64 to i32\n %70 = add i32 %69, -1\n %71 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_6, i64 0, i64 0), i32 %70, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %72 = add i64 %3, 32\n %73 = inttoptr i64 %72 to i32*\n store i32 0, i32* %73, align 4\n store i64 %3, 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 %64, { 1, 0 }\n uselistorder i32* %30, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 %29, { 3, 2, 1, 0 }\n uselistorder i64* %12, { 2, 1, 3, 0, 4 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6, 7, 8 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i8* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @error_setg, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @find_port_by_id, { 1, 0 }\n uselistorder [28 x i8]* @gv_2, { 1, 0 }\n uselistorder i8 0, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unmap_region_4832", "fun_name": "unmap_region", "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 %storemerge1.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_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = icmp eq i64* %arg3, null\n %storemerge2 = select i1 %3, i64 %2, i64 %0\n store i64 0, i64* %sv_1, align 8\n %4 = call i64 @FUNC()\n %5 = add i64 %2, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %2, i64 0)\n store i64 %7, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2, i64 %1, i64 %arg4, i64 %arg5, i64* nonnull %sv_1)\n %9 = load i64, i64* %sv_1, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %storemerge2, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %storemerge2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n store i64 %14, i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n store i64 2147483648, i64* %storemerge.reg2mem\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n %15 = add i64 %0, 8\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_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1, i64 %storemerge.reload, i64 %storemerge1.reload)\n %19 = load i64, i64* %sv_0, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %arg4, i64 %arg5)\n %21 = call i64 @FUNC(i64 %5)\n ret i64 %21\n\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smp_send_csrk_info_9874", "fun_name": "smp_send_csrk_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 = 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 %sv_0 = alloca i32, align 4\n %7 = 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 %4, i64 %5, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %6, i64 2, i64 0)\n %9 = call i64 @FUNC(i64 1, i64 %6)\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 = trunc i64 %3 to i32\n store i32 %12, i32* %sv_0, align 4\n %13 = add i64 %6, 24\n %14 = call i64 @FUNC(i64 %13, i64 3, i32* nonnull %sv_0, i64 1)\n br label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %6, i64 0)\n ret i64 %15\n\n uselistorder i64 %6, { 1, 0, 2, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_fflush_253", "fun_name": "qemu_fflush", "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 %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_7, 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 = 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 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp slt i32 %12, 1\n store i64 0, i64* %sv_0.03.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_3:\n %14 = add i64 %0, 40\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.03.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = icmp slt i64* %arg1, null\n store i64 %0, i64* %sv_0.03.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\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, %sv_0.03.reload\n store i64 %22, i64* %20, align 8\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n %25 = add i64 %0, 24\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_7\n LBL_6:\n %27 = add i64 %0, 40\n %28 = inttoptr i64 %27 to i64*\n store i64 0, i64* %28, align 8\n %29 = add i64 %0, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = call i64 @FUNC(i64 %0, i64 %0)\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 ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 6, 7, 8, 0, 3, 4, 5, 1, 11, 10, 9, 12 }\n uselistorder i64* %sv_0.03.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 40, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_default_qtables_16918", "fun_name": "create_default_qtables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %storemerge4.in.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i8\n %1 = urem i64 %arg2, 256\n %2 = call i64 @FUNC(i64 %1, i64 1, i64 99)\n %3 = trunc i64 %2 to i32\n %4 = icmp ult i8 %0, 50\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = udiv i32 5000, %3\n store i32 %5, i32* %storemerge4.in.reg2mem\n br label LBL_3\n LBL_2:\n %6 = mul i32 %3, 2\n %7 = sub i32 200, %6\n store i32 %7, i32* %storemerge4.in.reg2mem\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i64* %arg1 to i64\n %storemerge4.in.reload = load i32, i32* %storemerge4.in.reg2mem\n %9 = urem i32 %storemerge4.in.reload, 256\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, 4\n %11 = add i64 %10, ptrtoint (i32** @gv_0 to i64)\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, %9\n %15 = add i32 %14, 50\n %16 = sdiv i32 %15, 100\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 1, i64 255)\n %19 = add i64 %indvars.iv.reload, %8\n %20 = trunc i64 %18 to i8\n %21 = inttoptr i64 %19 to i8*\n store i8 %20, i8* %21, align 1\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_5, label LBL_4\n LBL_5:\n ret i64 %19\n\n uselistorder i32* %storemerge4.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @av_clip, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_ioapic_dump_state_999", "fun_name": "kvm_ioapic_dump_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0)\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 ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_2, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, 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)\n %6 = call i64 @FUNC(i64 %4, i64 %1)\n ret i64 %6\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s390_ccw_realize_16256", "fun_name": "s390_ccw_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i8* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5)\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %8)\n store i64 0, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %4, i64 %3, i64* nonnull %sv_0)\n %11 = load i64, i64* %sv_0, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %.reg2mem\n br i1 %13, label LBL_8, label LBL_1\n LBL_1:\n %14 = inttoptr i64 %5 to i32*\n %15 = inttoptr i64 %9 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = load i32, i32* %14, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i64 0, i32 %16, i64* nonnull %sv_0)\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_7, label LBL_2\n LBL_2:\n %21 = inttoptr i64 %19 to i32*\n %22 = add i64 %19, 16\n %23 = inttoptr i64 %22 to i64*\n store i64 %4, i64* %23, align 8\n %24 = add i64 %19, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 4199067, i64* %25, align 8\n %26 = add i64 %5, 8\n %27 = inttoptr i64 %26 to i64*\n store i64 %19, i64* %27, align 8\n %28 = add i64 %4, 16\n %29 = call i64 @FUNC(i64 %19, i64 %28)\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 = sub i64 0, %29\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64* nonnull %sv_0, i64 %33, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1)\n br label LBL_6\n LBL_4:\n %35 = load i64, i64* %sv_0, align 8\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = inttoptr i64 %7 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %19, 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %19, 4\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = load i32, i32* %21, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47, i32 %45, i32 %42, i32 %39, i64 1)\n store i64 %48, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_6:\n %49 = add i64 %19, 12\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %19, 8\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = add i64 %19, 4\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = load i32, i32* %21, align 4\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i64 %59, i32 %57, i32 %54, i32 %51, i64 0)\n store i64 0, i64* %27, align 8\n %61 = call i64 @FUNC(i64 %19)\n br label LBL_7\n LBL_7:\n %62 = add i64 %4, 24\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i64 @FUNC(i64 %64)\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_8:\n %66 = ptrtoint i64* %arg3 to i64\n %.reload = load i64, i64* %.reg2mem\n %67 = call i64 @FUNC(i64 %66, i64 %.reload)\n store i64 %67, 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 }\n uselistorder i64 %19, { 2, 3, 4, 5, 0, 1, 6, 7, 8, 9, 10, 11 }\n uselistorder i64* %sv_0, { 0, 4, 1, 2, 5, 3, 6 }\n uselistorder i64 %4, { 2, 0, 1, 3, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "selPrintToString_8348", "fun_name": "selPrintToString", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.216.reg2mem = alloca i8*\n %storemerge17.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i8*\n %storemerge11.reg2mem = alloca i8\n %sv_0.114.reg2mem = alloca i8*\n %storemerge715.reg2mem = alloca i32\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 %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_16\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i32* %sv_2 to i64*\n %4 = bitcast i32* %sv_3 to i64*\n %5 = bitcast i32* %sv_4 to i64*\n %6 = bitcast i32* %sv_5 to i64*\n %7 = call i64 @FUNC(i64 %2, i64* nonnull %3, i64* nonnull %4, i64* nonnull %5, i64* nonnull %6)\n %8 = load i32, i32* %sv_3, align 4\n %9 = add i32 %8, 1\n %10 = load i32, i32* %sv_2, align 4\n %11 = mul i32 %10, %9\n %12 = add i32 %11, 1\n %13 = call i64* @calloc(i32 1, i32 %12)\n %14 = icmp eq i64* %13, null\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 = ptrtoint i64* %13 to i64\n %17 = load i32, i32* %sv_2, align 4\n %18 = icmp eq i32 %17, 0\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %18, label LBL_16, label LBL_3\n LBL_3:\n %19 = bitcast i64* %13 to i8*\n %20 = bitcast i32* %sv_1 to i64*\n store i32 0, i32* %storemerge17.reg2mem\n store i8* %19, i8** %sv_0.216.reg2mem\n br label LBL_15\n LBL_4:\n %sv_0.114.reload = load i8*, i8** %sv_0.114.reg2mem\n %storemerge715.reload = load i32, i32* %storemerge715.reg2mem\n %21 = call i64 @FUNC(i64 %2, i32 %storemerge17.reload, i32 %storemerge715.reload, i64* nonnull %20)\n %22 = load i32, i32* %sv_5, align 4\n %23 = icmp eq i32 %storemerge715.reload, %22\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = load i32, i32* %sv_4, align 4\n %26 = icmp eq i32 %storemerge17.reload, %25\n %27 = icmp eq i1 %26, false\n store i8 1, i8* %storemerge11.reg2mem\n br i1 %27, label LBL_6, label LBL_7\n LBL_6:\n store i8 0, i8* %storemerge11.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge11.reload = load i8, i8* %storemerge11.reg2mem\n %28 = load i32, i32* %sv_1, align 4\n %29 = icmp eq i32 %28, 3\n br i1 %29, label LBL_12, label LBL_8\n LBL_8:\n %30 = icmp sgt i32 %28, 3\n store i8* %sv_0.114.reload, i8** %sv_0.0.reg2mem\n br i1 %30, label LBL_13, label LBL_9\n LBL_9:\n store i8* %sv_0.114.reload, i8** %sv_0.0.reg2mem\n switch i32 %28, label LBL_13 [\n i32 1, label LBL_10\n i32 2, label LBL_11\n ]\n LBL_10:\n %31 = icmp eq i8 %storemerge11.reload, 0\n %. = select i1 %31, i8 120, i8 88\n %32 = ptrtoint i8* %sv_0.114.reload to i64\n %33 = add i64 %32, 1\n %34 = inttoptr i64 %33 to i8*\n store i8 %., i8* %sv_0.114.reload, align 1\n store i8* %34, i8** %sv_0.0.reg2mem\n br label LBL_13\n LBL_11:\n %35 = icmp eq i8 %storemerge11.reload, 0\n %.12 = select i1 %35, i8 111, i8 79\n %36 = ptrtoint i8* %sv_0.114.reload to i64\n %37 = add i64 %36, 1\n %38 = inttoptr i64 %37 to i8*\n store i8 %.12, i8* %sv_0.114.reload, align 1\n store i8* %38, i8** %sv_0.0.reg2mem\n br label LBL_13\n LBL_12:\n %39 = icmp eq i8 %storemerge11.reload, 0\n %.13 = select i1 %39, i8 32, i8 67\n %40 = ptrtoint i8* %sv_0.114.reload to i64\n %41 = add i64 %40, 1\n %42 = inttoptr i64 %41 to i8*\n store i8 %.13, i8* %sv_0.114.reload, align 1\n store i8* %42, i8** %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %43 = add i32 %storemerge715.reload, 1\n %44 = load i32, i32* %sv_3, align 4\n %45 = zext i32 %44 to i64\n %46 = sext i32 %43 to i64\n %47 = icmp slt i64 %46, %45\n store i32 %43, i32* %storemerge715.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.114.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem\n br i1 %47, label LBL_4, label LBL_14\n LBL_14:\n %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem\n %48 = ptrtoint i8* %sv_0.1.lcssa.reload to i64\n %49 = add i64 %48, 1\n %50 = inttoptr i64 %49 to i8*\n store i8 10, i8* %sv_0.1.lcssa.reload, align 1\n %51 = add i32 %storemerge17.reload, 1\n %52 = load i32, i32* %sv_2, 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* %storemerge17.reg2mem\n store i8* %50, i8** %sv_0.216.reg2mem\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %55, label LBL_15, label LBL_16\n LBL_15:\n %sv_0.216.reload = load i8*, i8** %sv_0.216.reg2mem\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %56 = load i32, i32* %sv_3, align 4\n %57 = icmp eq i32 %56, 0\n store i32 0, i32* %storemerge715.reg2mem\n store i8* %sv_0.216.reload, i8** %sv_0.114.reg2mem\n store i8* %sv_0.216.reload, i8** %sv_0.1.lcssa.reg2mem\n br i1 %57, label LBL_14, label LBL_4\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge17.reload, { 2, 1, 0 }\n uselistorder i8* %sv_0.216.reload, { 1, 0 }\n uselistorder i8* %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i8 %storemerge11.reload, { 2, 0, 1 }\n uselistorder i32 %storemerge715.reload, { 0, 2, 1 }\n uselistorder i8* %sv_0.114.reload, { 7, 6, 3, 2, 5, 4, 0, 1 }\n uselistorder i64* %13, { 0, 2, 1 }\n uselistorder i32* %sv_3, { 0, 2, 1, 3 }\n uselistorder i32* %sv_2, { 2, 0, 1, 3 }\n uselistorder i32* %storemerge715.reg2mem, { 1, 2, 0 }\n uselistorder i8** %sv_0.114.reg2mem, { 1, 2, 0 }\n uselistorder i8* %storemerge11.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder i8** %sv_0.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "el_decode_intlist_10272", "fun_name": "el_decode_intlist", "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 %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i64* %arg3, null\n br i1 %0, label LBL_8, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg3 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %3, align 1\n %4 = trunc i64 %arg4 to i32\n %5 = ptrtoint i32* %arg2 to i64\n %6 = call i64 @FUNC(i64 %2, i64 %5, i64 %1, i32 %4)\n %7 = icmp sgt i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_8\n LBL_2:\n %sext = mul i64 %arg4, 4294967296\n %8 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_3:\n %9 = call i16** @__ctype_b_loc()\n %10 = load i16*, i16** %9, align 8\n %11 = ptrtoint i16* %10 to i64\n %12 = add i64 %indvars.iv.reload, %1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = sext i8 %14 to i64\n %16 = mul i64 %15, 2\n %17 = add i64 %16, %11\n %18 = inttoptr i64 %17 to i16*\n %19 = load i16, i16* %18, align 2\n %20 = and i16 %19, 2048\n %21 = icmp eq i16 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label %switch.early.test\n LBL_4:\n store i8 32, i8* %13, align 1\n br label LBL_5\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %23 = icmp slt i64 %indvars.iv.next, %8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %23, label LBL_6, label LBL_7\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %24 = call i32 @strlen(i8* %3)\n %25 = sext i32 %24 to i64\n %26 = icmp slt i64 %indvars.iv.reload, %25\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %26, label LBL_3, label LBL_8\n LBL_7:\n %27 = and i64 %indvars.iv.next, 4294967295\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 %indvars.iv.reload, { 1, 2, 0 }\n uselistorder i64 %indvars.iv.next, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 32, { 1, 0 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder label LBL_8, { 2, 0, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_uiv_6220", "fun_name": "parse_uiv", "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_1.03.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 43\n %4 = zext i1 %3 to i64\n %spec.select = add i64 %4, %arg1\n %5 = inttoptr i64 %spec.select to i8*\n %6 = load i8, i8* %5, align 1\n %.off2 = add i8 %6, -48\n %7 = icmp ult i8 %.off2, 10\n store i8 %6, i8* %.reg2mem\n store i64 0, i64* %sv_0.04.reg2mem\n store i64 %spec.select, i64* %sv_1.03.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\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 %8 = zext i8 %.reload to i64\n %9 = mul i64 %sv_0.04.reload, 10\n %10 = add nsw i64 %8, -48\n %11 = add i64 %10, %9\n %12 = add i64 %sv_1.03.reload, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %.off = add i8 %14, -48\n %15 = icmp ult i8 %.off, 10\n store i8 %14, i8* %.reg2mem\n store i64 %11, i64* %sv_0.04.reg2mem\n store i64 %12, i64* %sv_1.03.reg2mem\n store i64 %11, i64* %sv_0.0.lcssa.reg2mem\n br i1 %15, 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 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 10, { 1, 0 }\n uselistorder i8 -48, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readcffthing_6919", "fun_name": "readcffthing", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i8* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i8*\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = inttoptr i64 %arg1 to %_IO_FILE*\n %1 = call i32 @getc(%_IO_FILE* %0)\n %2 = icmp eq i32 %1, 12\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32 @getc(%_IO_FILE* %0)\n %5 = or i32 %4, 3072\n %6 = bitcast i64* %arg4 to i32*\n store i32 %5, i32* %6, align 4\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_2:\n %7 = icmp sgt i32 %1, 21\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = bitcast i64* %arg4 to i32*\n store i32 %1, i32* %8, align 4\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_4:\n %9 = icmp eq i32 %1, 30\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_13, label LBL_5\n LBL_5:\n %11 = bitcast i64* %sv_2 to i8*\n %12 = ptrtoint i64* %sv_2 to i64\n %13 = bitcast i64* %sv_1 to i8*\n store i8* %11, 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 %14 = call i32 @getc(%_IO_FILE* %0)\n %15 = ptrtoint i8* %sv_0.0.reload to i64\n %16 = sub i64 %15, %12\n %17 = icmp ult i64 %16, 49\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %18 = icmp eq i64 %16, 50\n %19 = icmp eq i1 %18, false\n %20 = add i64 %15, -1\n %21 = inttoptr i64 %20 to i8*\n %sv_0.1 = select i1 %19, i8* %sv_0.0.reload, i8* %21\n store i8 0, i8* %sv_0.1, align 1\n br label LBL_12\n LBL_8:\n %22 = icmp ult i8* %sv_0.0.reload, %13\n %23 = urem i32 %14, 16\n %24 = icmp eq i32 %23, 15\n %or.cond = or i1 %22, %24\n br i1 %or.cond, label LBL_10, label LBL_9\n LBL_9:\n %25 = and i32 %14, 240\n %26 = icmp eq i32 %25, 240\n %27 = icmp eq i1 %26, false\n store i64 %15, i64* %.pre-phi.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.2.reg2mem\n br i1 %27, label LBL_11, label LBL_10\n LBL_10:\n %28 = ashr i32 %14, 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %15, i64 %29)\n %31 = zext i32 %23 to i64\n %32 = call i64 @FUNC(i64 %30, i64 %31)\n %33 = inttoptr i64 %32 to i8*\n store i64 %32, i64* %.pre-phi.reg2mem\n store i8* %33, i8** %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %34 = add i64 %.pre-phi.reload, -1\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* %sv_0.2.reload, i8** %sv_0.0.reg2mem\n br i1 %38, label LBL_6, label LBL_12\n LBL_12:\n %39 = call double @strtod(i8* nonnull %11, i8** null)\n %40 = fptrunc double %39 to float\n %41 = bitcast float %40 to i32\n %42 = sext i32 %41 to i128\n %43 = call i64 @FUNC(i128 %42)\n store i64 %43, i64* %arg3, align 8\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_13:\n %.off = add i32 %1, -32\n %44 = icmp ugt i32 %.off, 214\n br i1 %44, label LBL_15, label LBL_14\n LBL_14:\n %45 = add i32 %1, -139\n %46 = bitcast i64* %arg2 to i32*\n store i32 %45, i32* %46, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_15:\n %.off8 = add i32 %1, -247\n %47 = icmp ugt i32 %.off8, 3\n br i1 %47, label LBL_17, label LBL_16\n LBL_16:\n %48 = mul i32 %1, 256\n %49 = call i32 @getc(%_IO_FILE* %0)\n %50 = add i32 %48, -63124\n %51 = add i32 %50, %49\n %52 = bitcast i64* %arg2 to i32*\n store i32 %51, i32* %52, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_17:\n %.off9 = add i32 %1, -251\n %53 = icmp ugt i32 %.off9, 3\n br i1 %53, label LBL_19, label LBL_18\n LBL_18:\n %54 = mul i32 %1, 256\n %55 = call i32 @getc(%_IO_FILE* %0)\n %56 = sub i32 64148, %54\n %57 = sub i32 %56, %55\n %58 = bitcast i64* %arg2 to i32*\n store i32 %57, i32* %58, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_19:\n %59 = icmp eq i32 %1, 28\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_21, label LBL_20\n LBL_20:\n %61 = call i32 @getc(%_IO_FILE* %0)\n %62 = mul i32 %61, 256\n %63 = call i32 @getc(%_IO_FILE* %0)\n %64 = or i32 %63, %62\n %sext = mul i32 %64, 65536\n %65 = ashr exact i32 %sext, 16\n %66 = bitcast i64* %arg2 to i32*\n store i32 %65, i32* %66, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %67 = icmp eq i32 %1, 29\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_23, label LBL_22\n LBL_22:\n %69 = call i32 @getc(%_IO_FILE* %0)\n %70 = mul i32 %69, 16777216\n %71 = call i32 @getc(%_IO_FILE* %0)\n %72 = mul i32 %71, 65536\n %73 = or i32 %72, %70\n %74 = call i32 @getc(%_IO_FILE* %0)\n %75 = mul i32 %74, 256\n %76 = or i32 %73, %75\n %77 = call i32 @getc(%_IO_FILE* %0)\n %78 = or i32 %76, %77\n %79 = bitcast i64* %arg2 to i32*\n store i32 %78, i32* %79, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_23:\n %80 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @globalFUNCvarFUNC402010, i64 0, i64 0))\n %81 = zext i32 %1 to i64\n %82 = call i64 @FUNC(i64 %80, i64 %81)\n store i8 1, i8* %arg5, align 1\n %83 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %83, align 4\n store i64 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 i32 %23, { 1, 0 }\n uselistorder i64 %15, { 2, 0, 1, 3 }\n uselistorder i32 %14, { 1, 2, 0 }\n uselistorder i8* %sv_0.0.reload, { 0, 1, 3, 2 }\n uselistorder i8* %11, { 1, 0 }\n uselistorder i32 %1, { 5, 7, 8, 0, 2, 1, 3, 9, 4, 10, 6, 11, 12 }\n uselistorder %_IO_FILE* %0, { 7, 6, 9, 8, 5, 4, 3, 2, 1, 0, 10 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i8** %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @addnibble, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @getc, { 10, 5, 4, 9, 8, 7, 6, 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_wide_912", "fun_name": "mov_read_wide", "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 = trunc i64 %arg4 to i32\n %1 = icmp ult i32 %0, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_6, 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 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %arg4, 4294967292\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %9 = call i64 @FUNC(i64 %2)\n %sext = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = add i64 %arg4, 4294967288\n %12 = trunc i64 %10 to i32\n %13 = icmp eq i32 %12, 1835295092\n %14 = and i64 %11, 4294967295\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %2, i64 %14)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %16 = ptrtoint i64* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %2, i64 %10, i64 %14)\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, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @url_fskip, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_socket_remote_addr_3535", "fun_name": "vnc_socket_remote_addr", "llvm_ir_function": "define i64 @FUNC(i8* %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 %0 = trunc i64 %arg2 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 slt 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_2\n LBL_1:\n %5 = load i32, i32* %sv_1, align 4\n %6 = ptrtoint i8* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i32 %5)\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 i32* %sv_1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 4, 3, 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sp_setup_5578", "fun_name": "sp_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 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 1280, i32* %2, align 4\n %3 = add i64 %0, 12\n %4 = inttoptr i64 %3 to i32*\n store i32 16, i32* %4, align 4\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %6, align 8\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n store i32 14, i32* %8, align 4\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i32*\n store i32 10, i32* %12, align 4\n %13 = add i64 %0, 36\n %14 = load i64, i64* @gv_2, align 8\n %15 = inttoptr i64 %13 to i64*\n store i64 %14, i64* %15, align 8\n %16 = load i32, i32* @gv_3, align 4\n %17 = add i64 %0, 44\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = load i16, i16* inttoptr (i64 4210756 to i16*), align 4\n %20 = add i64 %0, 48\n %21 = inttoptr i64 %20 to i16*\n store i16 %19, i16* %21, align 2\n %22 = call i64 @FUNC(i64 %0, i64 4210758)\n %23 = add i64 %0, 52\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l_strnstart_5234", "fun_name": "l_strnstart", "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 %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = trunc i64 %arg5 to i32\n %5 = add i32 %arg3, -1\n %6 = icmp uge i32 %5, %4\n %7 = or i1 %6, %3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = inttoptr i64 %arg2 to i8*\n %9 = inttoptr i64 %arg4 to i8*\n %10 = call i32 @strncmp(i8* %8, i8* %9, i32 %arg3)\n %11 = icmp eq i32 %10, 0\n %12 = zext i1 %11 to i64\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 i32 %arg3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "curl_read_cb_997", "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 %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 = ptrtoint i64* %arg4 to i64\n %4 = mul i64 %arg3, %arg2\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %6 = icmp eq i64* %arg4, null\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %3, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp ugt i64 %12, %9\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_2, label LBL_7\n LBL_2:\n %14 = sub i64 %12, %9\n %15 = icmp ugt i64 %4, %14\n %16 = select i1 %15, i64 %14, i64 %4\n %17 = add i64 %9, %3\n %18 = inttoptr i64 %17 to i64*\n %19 = trunc i64 %16 to i32\n %20 = call i64* @memcpy(i64* %18, i64* %arg1, i32 %19)\n %21 = load i64, i64* %8, align 8\n %22 = add i64 %21, %16\n store i64 %22, i64* %8, align 8\n %23 = 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 %24 = mul i64 %indvars.iv.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 = icmp eq i64 %27, 0\n br i1 %28, label LBL_6, label LBL_4\n LBL_4:\n %29 = load i64, i64* %8, align 8\n %30 = add i64 %27, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp ult i64 %29, %32\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = add i64 %27, 16\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = sub i64 %32, %36\n %38 = add i64 %27, 32\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40, i64 0, i64 %32, i64 %37)\n %42 = call i64 @FUNC(i64 %27)\n store i64 0, i64* %26, 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 %16, 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 %12, { 1, 0 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64* %8, { 0, 2, 1, 3 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 1, 0, 3, 2, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 %arg3, { 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_chr_open_pty_2997", "fun_name": "qemu_chr_open_pty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge3.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 store i64 0, i64* %storemerge3.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %sv_2, align 4\n %5 = bitcast i64* %sv_0 to %termios*\n %6 = call i32 @tcgetattr(i32 %4, %termios* nonnull %5)\n call void @cfmakeraw(%termios* nonnull %5)\n %7 = load i32, i32* %sv_2, align 4\n %8 = call i32 @tcsetattr(i32 %7, i32 2, %termios* nonnull %5)\n %9 = load i32, i32* %sv_2, align 4\n %10 = call i32 @close(i32 %9)\n %11 = call i64 @FUNC(i64 40)\n %12 = load i32, i32* %sv_1, align 4\n %13 = call i8* @ptsname(i32 %12)\n %14 = call i32 @strlen(i8* %13)\n %15 = add i32 %14, 5\n %16 = sext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = inttoptr i64 %11 to i64*\n store i64 %17, i64* %18, align 8\n %19 = load i32, i32* %sv_1, align 4\n %20 = call i8* @ptsname(i32 %19)\n %21 = load i64, i64* %18, align 8\n %22 = inttoptr i64 %21 to i8*\n %23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %22, i32 %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* %20)\n %24 = load i32, i32* %sv_1, align 4\n %25 = call i8* @ptsname(i32 %24)\n %26 = ptrtoint i8* %25 to i64\n %27 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %26)\n %28 = call i64 @FUNC(i64 %3)\n %29 = load i32, i32* %sv_1, align 4\n %30 = call i8* @ptsname(i32 %29)\n %31 = icmp eq i64 %28, 0\n %32 = icmp eq i1 %31, false\n %storemerge4 = select i1 %31, i64 ptrtoint (i8** @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)\n %33 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %34 = inttoptr i64 %storemerge4 to i8*\n %35 = inttoptr i64 %28 to i8*\n %36 = select i1 %32, i8* %35, i8* bitcast (i8** @gv_2 to i8*)\n %37 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %33, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i8* %34, i8* %36, i8* %30)\n %38 = call i64 @FUNC(i64 16)\n %39 = add i64 %11, 8\n %40 = inttoptr i64 %39 to i64*\n store i64 %38, i64* %40, align 8\n %41 = add i64 %11, 16\n %42 = inttoptr i64 %41 to i64*\n store i64 4198993, i64* %42, align 8\n %43 = add i64 %11, 24\n %44 = inttoptr i64 %43 to i64*\n store i64 4199000, i64* %44, align 8\n %45 = add i64 %11, 32\n %46 = inttoptr i64 %45 to i64*\n store i64 4199007, i64* %46, align 8\n %47 = load i32, i32* %sv_1, align 4\n %48 = inttoptr i64 %38 to i32*\n store i32 %47, i32* %48, align 4\n %49 = load i64, i64* @gv_6, align 8\n %50 = call i64 @FUNC(i64 %49, i64 4199037, i64 %11)\n %51 = add i64 %38, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n store i64 %11, i64* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32* %sv_2, { 2, 1, 0, 3 }\n uselistorder i32* %sv_1, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %storemerge3.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 uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__jspeAssignmentExpression_7650", "fun_name": "__jspeAssignmentExpression", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.25.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n switch i32 %1, label LBL_1 [\n i32 61, label LBL_2\n i32 1, label LBL_2\n i32 2, label LBL_2\n i32 3, label LBL_2\n i32 4, label LBL_2\n i32 5, label LBL_2\n i32 6, label LBL_2\n i32 7, label LBL_2\n i32 8, label LBL_2\n i32 9, label LBL_2\n i32 10, label LBL_2\n ]\n LBL_1:\n %2 = icmp eq i32 %1, 11\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_30, label LBL_2\n LBL_2:\n %4 = zext i32 %1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %6)\n %8 = load i32, i32* @gv_1, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i64 %arg1, 0\n %or.cond = or i1 %10, %9\n br i1 %or.cond, label LBL_29, label LBL_3\n LBL_3:\n %11 = icmp eq i32 %1, 61\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_10, label LBL_4\n LBL_4:\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 br i1 %16, label LBL_9, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_9, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 %arg1)\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_7\n LBL_7:\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 br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = load i64, i64* @gv_2, align 8\n %29 = call i64 @FUNC(i64 %28, i64 %arg1)\n br label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %arg1, i64 %7)\n br label LBL_29\n LBL_10:\n %31 = icmp eq i32 %1, 1\n %32 = icmp eq i1 %31, false\n store i32 43, i32* %sv_0.04.reg2mem\n br i1 %32, label LBL_11, label LBL_21\n LBL_11:\n %33 = icmp eq i32 %1, 2\n %34 = icmp eq i1 %33, false\n store i32 45, i32* %sv_0.25.reg2mem\n br i1 %34, label LBL_12, label LBL_28\n LBL_12:\n %35 = icmp eq i32 %1, 3\n %36 = icmp eq i1 %35, false\n store i32 42, i32* %sv_0.25.reg2mem\n br i1 %36, label LBL_13, label LBL_28\n LBL_13:\n %37 = icmp eq i32 %1, 4\n %38 = icmp eq i1 %37, false\n store i32 47, i32* %sv_0.25.reg2mem\n br i1 %38, label LBL_14, label LBL_28\n LBL_14:\n %39 = icmp eq i32 %1, 5\n %40 = icmp eq i1 %39, false\n store i32 37, i32* %sv_0.25.reg2mem\n br i1 %40, label LBL_15, label LBL_28\n LBL_15:\n %41 = icmp eq i32 %1, 6\n %42 = icmp eq i1 %41, false\n store i32 38, i32* %sv_0.25.reg2mem\n br i1 %42, label LBL_16, label LBL_28\n LBL_16:\n %43 = icmp eq i32 %1, 7\n %44 = icmp eq i1 %43, false\n store i32 124, i32* %sv_0.25.reg2mem\n br i1 %44, label LBL_17, label LBL_28\n LBL_17:\n %45 = icmp eq i32 %1, 8\n %46 = icmp eq i1 %45, false\n store i32 94, i32* %sv_0.25.reg2mem\n br i1 %46, label LBL_18, label LBL_28\n LBL_18:\n %47 = icmp eq i32 %1, 9\n %48 = icmp eq i1 %47, false\n store i32 12, i32* %sv_0.25.reg2mem\n br i1 %48, label LBL_19, label LBL_28\n LBL_19:\n %49 = icmp eq i32 %1, 10\n %50 = icmp eq i1 %49, false\n store i32 13, i32* %sv_0.25.reg2mem\n br i1 %50, label LBL_20, label LBL_28\n LBL_20:\n %51 = icmp eq i32 %1, 11\n %52 = icmp eq i1 %51, false\n %spec.select = select i1 %52, i32 %1, i32 14\n %53 = icmp eq i32 %spec.select, 43\n %54 = icmp eq i1 %53, false\n store i32 %spec.select, i32* %sv_0.04.reg2mem\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %54, label LBL_27, label LBL_21\n LBL_21:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %55 = call i64 @FUNC(i64 %arg1)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n store i32 %sv_0.04.reload, i32* %sv_0.2.reg2mem\n br i1 %57, label LBL_27, label LBL_22\n LBL_22:\n %58 = call i64 @FUNC(i64 %arg1)\n %59 = call i64 @FUNC(i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i32 %sv_0.04.reload, i32* %sv_0.1.reg2mem\n br i1 %61, label LBL_26, label LBL_23\n LBL_23:\n %62 = call i64 @FUNC(i64 %58)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i32 %sv_0.04.reload, i32* %sv_0.1.reg2mem\n br i1 %65, label LBL_26, label LBL_24\n LBL_24:\n %66 = call i64 @FUNC(i64 %58)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 1\n %69 = icmp eq i1 %68, false\n %70 = icmp eq i64 %7, %58\n %or.cond2 = or i1 %70, %69\n store i32 %sv_0.04.reload, i32* %sv_0.1.reg2mem\n br i1 %or.cond2, label LBL_26, label LBL_25\n LBL_25:\n %71 = call i64 @FUNC(i64 %7, i64 0)\n %72 = call i64 @FUNC(i64 %58, i64 %71)\n %73 = call i64 @FUNC(i64 %71)\n store i32 0, i32* %sv_0.1.reg2mem\n br label LBL_26\n LBL_26:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %74 = call i64 @FUNC(i64 %58)\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_27\n LBL_27:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %75 = icmp eq i32 %sv_0.2.reload, 0\n store i32 %sv_0.2.reload, i32* %sv_0.25.reg2mem\n br i1 %75, label LBL_29, label LBL_28\n LBL_28:\n %sv_0.25.reload = load i32, i32* %sv_0.25.reg2mem\n %76 = call i64 @FUNC(i64 %arg1, i64 %7, i32 %sv_0.25.reload)\n %77 = call i64 @FUNC(i64 %arg1, i64 %76)\n %78 = call i64 @FUNC(i64 %76)\n br label LBL_29\n LBL_29:\n %79 = call i64 @FUNC(i64 %7)\n br label LBL_30\n LBL_30:\n ret i64 %arg1\n\n uselistorder i64 %58, { 4, 1, 0, 2, 3, 5 }\n uselistorder i32 %sv_0.04.reload, { 1, 2, 3, 0 }\n uselistorder i64 %7, { 4, 3, 2, 0, 1 }\n uselistorder i32 %1, { 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 15, 14 }\n uselistorder i32* %sv_0.04.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.25.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @jsvUnLock, { 3, 2, 1, 0 }\n uselistorder i32 43, { 1, 0 }\n uselistorder i64 (i64, i64)* @jspReplaceWith, { 1, 0 }\n uselistorder i64 (i64)* @jsvIsName, { 1, 0 }\n uselistorder i64 (i64)* @jsvGetRefs, { 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 1 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i32 9, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 7, { 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 i32 61, { 1, 0 }\n uselistorder i32 1, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 9, 8, 7, 5, 6, 4, 0, 1, 2, 3, 11, 10 }\n uselistorder label LBL_28, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_2, { 11, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_l2_shutdown_3855", "fun_name": "qeth_l2_shutdown", "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 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %4, i64 0, i64 1)\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 1\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = inttoptr i64 %4 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 = call i64 @FUNC(i64 %4, i64 0)\n br label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %4, i64 0)\n %14 = call i64 @FUNC(i64 %4)\n %15 = call i64 @FUNC(i64 %4)\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %16)\n ret i64 %17\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ll_find_alias_12632", "fun_name": "ll_find_alias", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.3.lcssa.reg2mem = alloca i64\n %sv_1.3.lcssa.reg2mem = alloca i64\n %rsi.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_1.14.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i64\n %rsi.16.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i64\n %sv_1.314.reg2mem = alloca i64\n %sv_0.315.reg2mem = alloca i64\n %rsi.316.reg2mem = alloca i64\n %storemerge117.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* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_15\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %sv_1.3.lcssa.reg2mem\n store i64 0, i64* %sv_0.3.lcssa.reg2mem\n br i1 %6, label LBL_2, label LBL_12\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %7, 16\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %7, 20\n %13 = inttoptr i64 %12 to i64*\n store i64 %0, i64* %storemerge117.reg2mem\n store i64 %7, i64* %rsi.316.reg2mem\n store i64 0, i64* %sv_0.315.reg2mem\n store i64 0, i64* %sv_1.314.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.314.reload = load i64, i64* %sv_1.314.reg2mem\n %sv_0.315.reload = load i64, i64* %sv_0.315.reg2mem\n %rsi.316.reload = load i64, i64* %rsi.316.reg2mem\n %storemerge117.reload = load i64, i64* %storemerge117.reg2mem\n %14 = add i64 %storemerge117.reload, -288\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %storemerge27.reg2mem\n store i64 %rsi.316.reload, i64* %rsi.16.reg2mem\n store i64 %sv_0.315.reload, i64* %sv_0.15.reg2mem\n store i64 %sv_1.314.reload, i64* %sv_1.14.reg2mem\n store i64 %sv_1.314.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.315.reload, i64* %sv_0.2.reg2mem\n store i64 %rsi.316.reload, i64* %rsi.2.reg2mem\n br i1 %16, label LBL_4, label LBL_11\n LBL_4:\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %rsi.16.reload = load i64, i64* %rsi.16.reg2mem\n %storemerge27.reload = load i64, i64* %storemerge27.reg2mem\n %17 = add i64 %storemerge27.reload, 284\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %storemerge27.reload, 280\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 %sv_1.14.reload, i64* %sv_1.0.reg2mem\n store i64 %storemerge27.reload, i64* %sv_0.0.reg2mem\n store i64 %rsi.16.reload, i64* %rsi.0.reg2mem\n br i1 %23, label LBL_5, label LBL_9\n LBL_5:\n %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem\n %24 = inttoptr i64 %storemerge27.reload to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, %rsi.16.reload\n %27 = icmp eq i1 %26, false\n store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.0.reg2mem\n store i64 %rsi.16.reload, i64* %rsi.0.reg2mem\n br i1 %27, label LBL_9, label LBL_6\n LBL_6:\n %28 = add i64 %storemerge27.reload, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = load i64, i64* %9, align 8\n %32 = icmp eq i64 %30, %31\n %33 = icmp eq i1 %32, false\n store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.0.reg2mem\n store i64 %rsi.16.reload, i64* %rsi.0.reg2mem\n br i1 %33, label LBL_9, label LBL_7\n LBL_7:\n %34 = add i64 %storemerge27.reload, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = load i32, i32* %11, align 4\n %38 = icmp eq i32 %36, %37\n %39 = icmp eq i1 %38, false\n store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.0.reg2mem\n store i64 %rsi.16.reload, i64* %rsi.0.reg2mem\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = add i64 %storemerge27.reload, 20\n %41 = inttoptr i64 %40 to i64*\n %42 = call i32 @memcmp(i64* %41, i64* %13, i32 %37)\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n %spec.select = select i1 %44, i64 %sv_1.14.reload, i64 %storemerge27.reload\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.0.reg2mem\n store i64 %12, i64* %rsi.0.reg2mem\n br label LBL_9\n LBL_9:\n %rsi.0.reload = load i64, i64* %rsi.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 %45 = call i64 @FUNC(i64 %17)\n %46 = icmp eq i64 %sv_1.0.reload, 0\n %47 = icmp eq i1 %46, false\n store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.2.reg2mem\n br i1 %47, label LBL_11, label LBL_10\n LBL_10:\n %48 = add i64 %storemerge27.reload, 288\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* %storemerge27.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.16.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.15.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.14.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.2.reg2mem\n br i1 %52, label LBL_4, label LBL_11\n LBL_11:\n %rsi.2.reload = load i64, i64* %rsi.2.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 %53 = inttoptr i64 %storemerge117.reload to i64*\n %54 = load i64, i64* %53, align 8\n %55 = icmp eq i64 %54, 0\n %56 = icmp eq i1 %55, false\n store i64 %54, i64* %storemerge117.reg2mem\n store i64 %rsi.2.reload, i64* %rsi.316.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.315.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.314.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.3.lcssa.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.3.lcssa.reg2mem\n br i1 %56, label LBL_3, label LBL_12\n LBL_12:\n %sv_0.3.lcssa.reload = load i64, i64* %sv_0.3.lcssa.reg2mem\n %sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem\n %57 = icmp eq i64 %sv_1.3.lcssa.reload, 0\n %58 = icmp eq i1 %57, false\n %spec.select3 = select i1 %58, i64 %sv_1.3.lcssa.reload, i64 %sv_0.3.lcssa.reload\n %59 = icmp eq i64 %spec.select3, 0\n br i1 %59, label LBL_14, label LBL_13\n LBL_13:\n %60 = add i64 %spec.select3, 284\n %61 = call i64 @FUNC(i64 %60)\n %62 = call i64 @FUNC(i64 %spec.select3)\n %63 = call i64 @FUNC(i64 %60)\n br label LBL_14\n LBL_14:\n %64 = call i64 @FUNC(i64 %0)\n store i64 %spec.select3, 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 %spec.select3, { 0, 2, 1, 3 }\n uselistorder i64 %sv_1.0.reload, { 0, 3, 1, 2 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64 %rsi.0.reload, { 0, 2, 1 }\n uselistorder i64 %storemerge27.reload, { 8, 1, 5, 4, 3, 2, 0, 7, 6 }\n uselistorder i64 %rsi.16.reload, { 1, 2, 3, 4, 0 }\n uselistorder i64 %sv_1.14.reload, { 4, 1, 2, 3, 0 }\n uselistorder i64 %7, { 0, 3, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge117.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.316.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.315.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.314.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 3, 4, 5, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 4, 5, 2 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 1, 3, 4, 5, 2 }\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 i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i1 false, { 8, 9, 7, 2, 3, 4, 5, 6, 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 0, 2, 3, 4, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sco_sock_recvmsg_13724", "fun_name": "sco_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 %0 = alloca i64\n %storemerge.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 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %1 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_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %2)\n %9 = add i64 %8, 4\n %10 = call i64 @FUNC(i64 3, i64 %9)\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 = inttoptr i64 %3 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 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 0)\n %19 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %19, align 4\n %20 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %22 = ptrtoint i64* %arg3 to i64\n %23 = ptrtoint i64* %arg1 to i64\n %24 = and i64 %arg5, 4294967295\n %25 = call i64 @FUNC(i64 %2)\n %26 = call i64 @FUNC(i64 %23, i64 %2, i64 %22, i64 %arg4, i64 %24)\n store i64 %26, 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, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @release_sock, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppc_store_xer_3123", "fun_name": "ppc_store_xer", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = trunc i64 %arg2 to i8\n %2 = urem i8 %1, 2\n store i8 %2, i8* bitcast (i32* @gv_0 to i8*), align 4\n %3 = udiv i32 %0, 2\n %4 = trunc i32 %3 to i8\n %5 = urem i8 %4, 2\n store i8 %5, i8* @gv_1, align 1\n %6 = udiv i32 %0, 4\n %7 = trunc i32 %6 to i8\n %8 = urem i8 %7, 2\n store i8 %8, i8* @gv_2, align 1\n %9 = udiv i32 %0, 8\n %10 = trunc i32 %9 to i8\n store i8 %10, i8* bitcast (i64* @gv_3 to i8*), align 8\n %11 = udiv i64 %arg2, 16\n %12 = urem i64 %11, 128\n %13 = trunc i64 %12 to i8\n store i8 %13, i8* inttoptr (i64 4210729 to i8*), align 1\n ret i64 %12\n\n uselistorder i64 %12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lm32_cpu_initfn_2392", "fun_name": "lm32_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 = inttoptr i64 %2 to i32*\n store i32 0, i32* %4, align 4\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %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 i8, i8* inttoptr (i64 4210725 to i8*), align 1\n %9 = icmp eq i8 %8, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8\n %10 = call i64 @FUNC()\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 i8 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "genl_unregister_family_10633", "fun_name": "genl_unregister_family", "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 %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 1\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC()\n store i64 4294967294, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64* nonnull @gv_0, i64 %3)\n %11 = call i64 @FUNC(i64* nonnull @gv_1)\n %12 = call i64 @FUNC(i64* nonnull @gv_2)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = load i64, i64* @gv_3, align 8\n %16 = zext i1 %14 to i64\n %17 = call i64 @FUNC(i64 %15, i64 %16)\n %18 = call i64 @FUNC()\n %19 = add i64 %8, 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 1, i64 %8, i64 0, 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 %8, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__glXDisp_ChangeDrawableAttributesSGIX_8181", "fun_name": "__glXDisp_ChangeDrawableAttributesSGIX", "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 = add i64 %arg2, 8\n %4 = add i64 %arg2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = trunc i64 %2 to i32\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %8, i32 %7, i32 %6, i64 %3)\n ret i64 %9\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blade_image_blit_5364", "fun_name": "blade_image_blit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i32 %arg5, i32 %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 %3 = add i32 %arg5, 31\n %4 = udiv i32 %3, 32\n %5 = mul i32 %4, %arg6\n %6 = call i64 @FUNC(i64 %2, i64 0, i32 %1)\n %7 = call i64 @FUNC(i64 %2, i64 4, i32 %0)\n %8 = call i64 @FUNC(i64 %2, i64 8, i32 -1609039872)\n %9 = zext i32 %arg4 to i64\n %10 = zext i32 %arg3 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n %12 = trunc i64 %11 to i32\n %13 = call i64 @FUNC(i64 %2, i64 12, i32 %12)\n %14 = add i32 %arg4, -1\n %15 = add i32 %14, %arg6\n %16 = add i32 %arg3, -1\n %17 = add i32 %16, %arg5\n %18 = zext i32 %15 to i64\n %19 = zext i32 %17 to i64\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n %21 = trunc i64 %20 to i32\n %22 = call i64 @FUNC(i64 %2, i64 16, i32 %21)\n %23 = add i64 %2, 65536\n %24 = call i64 @FUNC(i64 %23, i64 %arg2, i32 %5)\n ret i64 %24\n\n uselistorder i64 65536, { 1, 0 }\n uselistorder i64 (i64, i64)* @point, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @writemmr, { 4, 3, 2, 1, 0 }\n uselistorder i32 %arg6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "str_callback_8410", "fun_name": "str_callback", "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* %arg3, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %1, align 4\n br label LBL_2\n LBL_2:\n %2 = icmp eq i64* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_7, label LBL_3\n LBL_3:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %arg2)\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_7, label LBL_4\n LBL_4:\n br i1 %0, label LBL_6, label LBL_5\n LBL_5:\n %7 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %7, align 4\n br label LBL_6\n LBL_6:\n %8 = inttoptr i64 %5 to i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, 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, 3, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opj_pi_next_pcrl_7875", "fun_name": "opj_pi_next_pcrl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge9.reg2mem = alloca i64\n %.reg2mem61 = alloca i32\n %.reg2mem59 = alloca i32\n %.reg2mem57 = alloca i32\n %sv_0.3.reg2mem = alloca i32*\n %.pre-phi27.reg2mem = alloca i64\n %.reg2mem55 = alloca i32\n %sv_0.2.reg2mem = alloca i32*\n %.pre-phi38.reg2mem = alloca i64\n %.pre-phi40.reg2mem = alloca i32*\n %sv_0.1.reg2mem = alloca i32*\n %.pre-phi28.reg2mem = alloca i64\n %.reg2mem53 = alloca i32\n %sv_0.0.reg2mem = alloca i32*\n %.pre-phi30.reg2mem = alloca i64\n %.pre-phi32.reg2mem = alloca i32*\n %.reg2mem51 = alloca i32\n %.pre-phi36.reg2mem = alloca i32*\n %.reg2mem49 = alloca i32\n %storemerge12.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %.reg2mem47 = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv23.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, 40\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, 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 i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = mul nuw nsw i64 %12, 24\n %14 = add i64 %13, %8\n %15 = inttoptr i64 %14 to i32*\n %.pre29 = add i64 %0, 52\n %.pre31 = inttoptr i64 %.pre29 to i32*\n %.pre46 = load i32, i32* %.pre31, align 4\n store i32 %.pre46, i32* %.reg2mem51\n store i32* %.pre31, i32** %.pre-phi32.reg2mem\n store i64 %.pre29, i64* %.pre-phi30.reg2mem\n store i32* %15, i32** %sv_0.0.reg2mem\n br label LBL_31\n LBL_2:\n store i32 0, i32* %2, align 4\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 36\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = bitcast i64* %rdi to i32*\n %21 = load i32, i32* %20, align 8\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_13, label LBL_3\n LBL_3:\n %23 = add i64 %0, 8\n %24 = inttoptr i64 %23 to i64*\n store i32 %21, i32* %.reg2mem\n store i64 0, i64* %indvars.iv23.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %25 = load i64, i64* %24, align 8\n %26 = mul nuw nsw i64 %indvars.iv23.reload, 24\n %27 = add i64 %25, %26\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n store i32 %.reload, i32* %.reg2mem49\n br i1 %30, label LBL_12, label LBL_5\n LBL_5:\n %31 = add i64 %27, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = add i64 %27, 4\n %34 = inttoptr i64 %33 to i32*\n %35 = add i64 %27, 8\n %36 = inttoptr i64 %35 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %29, i32* %.reg2mem47\n br label LBL_6\n LBL_6:\n %.reload48 = load i32, i32* %.reg2mem47\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %37 = load i64, i64* %32, align 8\n %38 = mul i64 %indvars.iv.reload, 16\n %39 = add i64 %37, %38\n %40 = load i32, i32* %34, align 4\n %41 = add i64 %39, 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = trunc i64 %indvars.iv.reload to i32\n %45 = xor i32 %44, 31\n %46 = add i32 %45, %.reload48\n %47 = add i32 %43, %46\n %48 = urem i32 %47, 32\n %49 = shl i32 %40, %48\n %50 = load i32, i32* %36, align 4\n %51 = add i64 %39, 12\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = load i32, i32* %17, align 4\n %55 = icmp eq i32 %54, 0\n %56 = zext i32 %49 to i64\n store i64 %56, i64* %storemerge13.reg2mem\n br i1 %55, label LBL_8, label LBL_7\n LBL_7:\n %57 = zext i32 %54 to i64\n %58 = call i64 @FUNC(i64 %57, i64 %56)\n store i64 %58, i64* %storemerge13.reg2mem\n br label LBL_8\n LBL_8:\n %59 = add i32 %53, %46\n %60 = urem i32 %59, 32\n %61 = shl i32 %50, %60\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %62 = trunc i64 %storemerge13.reload to i32\n store i32 %62, i32* %17, align 4\n %63 = load i32, i32* %19, align 4\n %64 = icmp eq i32 %63, 0\n %65 = zext i32 %61 to i64\n store i64 %65, i64* %storemerge12.reg2mem\n br i1 %64, label LBL_10, label LBL_9\n LBL_9:\n %66 = zext i32 %63 to i64\n %67 = call i64 @FUNC(i64 %66, i64 %65)\n store i64 %67, i64* %storemerge12.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %68 = trunc i64 %storemerge12.reload to i32\n store i32 %68, i32* %19, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %69 = load i32, i32* %28, align 4\n %70 = zext i32 %69 to i64\n %71 = icmp ult i64 %indvars.iv.next, %70\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %69, i32* %.reg2mem47\n br i1 %71, label LBL_6, label LBL_11\n LBL_11:\n %.pre = load i32, i32* %20, align 8\n store i32 %.pre, i32* %.reg2mem49\n br label LBL_12\n LBL_12:\n %.reload50 = load i32, i32* %.reg2mem49\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %72 = zext i32 %.reload50 to i64\n %73 = icmp ult i64 %indvars.iv.next24, %72\n store i32 %.reload50, i32* %.reg2mem\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n br i1 %73, label LBL_4, label LBL_13\n LBL_13:\n %74 = add i64 %0, 44\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n br i1 %78, label LBL_13.LBL_16_crit_edge, label LBL_15\n LBL_14:\n %.pre33 = add i64 %0, 80\n %.pre35 = inttoptr i64 %.pre33 to i32*\n store i32* %.pre35, i32** %.pre-phi36.reg2mem\n br label LBL_16\n LBL_15:\n %79 = add i64 %0, 124\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = add i64 %0, 80\n %83 = inttoptr i64 %82 to i32*\n store i32 %81, i32* %83, align 4\n %84 = add i64 %0, 120\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = add i64 %0, 84\n %88 = inttoptr i64 %87 to i32*\n store i32 %86, i32* %88, align 4\n %89 = add i64 %0, 132\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = add i64 %0, 88\n %93 = inttoptr i64 %92 to i32*\n store i32 %91, i32* %93, align 4\n %94 = add i64 %0, 128\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = add i64 %0, 92\n %98 = inttoptr i64 %97 to i32*\n store i32 %96, i32* %98, align 4\n store i32* %83, i32** %.pre-phi36.reg2mem\n br label LBL_16\n LBL_16:\n %.pre-phi36.reload = load i32*, i32** %.pre-phi36.reg2mem\n %99 = load i32, i32* %.pre-phi36.reload, align 4\n %100 = add i64 %0, 28\n %101 = inttoptr i64 %100 to i32*\n store i32 %99, i32* %101, align 4\n store i32 %99, i32* %.reg2mem61\n br label LBL_41\n LBL_17:\n %102 = add i64 %0, 84\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i64 %0, 24\n %106 = inttoptr i64 %105 to i32*\n store i32 %104, i32* %106, align 4\n store i32 %104, i32* %.reg2mem59\n br label LBL_39\n LBL_18:\n %107 = add i64 %0, 96\n %108 = inttoptr i64 %107 to i32*\n %109 = load i32, i32* %108, align 4\n %110 = add i64 %0, 16\n %111 = inttoptr i64 %110 to i32*\n store i32 %109, i32* %111, align 4\n store i32 %109, i32* %.reg2mem57\n br label LBL_37\n LBL_19:\n %112 = add i64 %0, 8\n %113 = inttoptr i64 %112 to i64*\n %114 = load i64, i64* %113, align 8\n %115 = zext i32 %.reload58 to i64\n %116 = mul nuw nsw i64 %115, 24\n %117 = add i64 %114, %116\n %118 = inttoptr i64 %117 to i32*\n %119 = add i64 %0, 104\n %120 = inttoptr i64 %119 to i32*\n %121 = load i32, i32* %120, align 4\n %122 = add i64 %0, 20\n %123 = inttoptr i64 %122 to i32*\n store i32 %121, i32* %123, align 4\n store i32 %121, i32* %.reg2mem55\n store i64 %122, i64* %.pre-phi27.reg2mem\n store i32* %118, i32** %sv_0.3.reg2mem\n br label LBL_35\n LBL_20:\n %.pre-phi27.reload = load i64, i64* %.pre-phi27.reg2mem\n %124 = inttoptr i64 %.pre-phi27.reload to i32*\n %125 = ptrtoint i32* %sv_0.3.reload to i64\n %126 = add i64 %125, 16\n %127 = inttoptr i64 %126 to i64*\n %128 = load i64, i64* %127, align 8\n %129 = load i32, i32* %124, align 4\n %130 = zext i32 %129 to i64\n %131 = mul i64 %130, 16\n %132 = add i64 %131, %128\n %133 = load i32, i32* %sv_0.3.reload, align 4\n %134 = sub i32 0, %129\n %135 = sub i32 %134, 1\n %136 = add i32 %133, %135\n %137 = add i64 %125, 4\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 4\n %140 = urem i32 %136, 32\n %141 = icmp eq i32 %140, 0\n %142 = shl i32 %139, %140\n %rdx.2 = zext i32 %142 to i64\n %143 = add i64 %0, 120\n %144 = inttoptr i64 %143 to i32*\n %145 = load i32, i32* %144, align 4\n %146 = zext i32 %145 to i64\n %147 = call i64 @FUNC(i64 %146, i64 %rdx.2)\n %148 = add i64 %125, 8\n %149 = inttoptr i64 %148 to i32*\n %150 = load i32, i32* %149, align 4\n %151 = shl i32 %150, %140\n %rdx.3 = zext i32 %151 to i64\n %152 = add i64 %0, 124\n %153 = inttoptr i64 %152 to i32*\n %154 = load i32, i32* %153, align 4\n %155 = zext i32 %154 to i64\n %156 = call i64 @FUNC(i64 %155, i64 %rdx.3)\n %157 = trunc i64 %156 to i32\n %158 = load i32, i32* %138, align 4\n %159 = shl i32 %158, %140\n %rdx.4 = zext i32 %159 to i64\n %160 = add i64 %0, 128\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.4)\n %165 = load i32, i32* %149, align 4\n %166 = shl i32 %165, %140\n %rdx.5 = zext i32 %166 to i64\n %167 = add i64 %0, 132\n %168 = inttoptr i64 %167 to i32*\n %169 = load i32, i32* %168, align 4\n %170 = zext i32 %169 to i64\n %171 = call i64 @FUNC(i64 %170, i64 %rdx.5)\n %172 = add i64 %132, 8\n %173 = inttoptr i64 %172 to i32*\n %174 = load i32, i32* %173, align 4\n %175 = add i64 %132, 12\n %176 = inttoptr i64 %175 to i32*\n %177 = load i32, i32* %176, align 4\n %178 = add i32 %177, %136\n %179 = add i64 %0, 28\n %180 = inttoptr i64 %179 to i32*\n %181 = load i32, i32* %180, align 4\n %182 = load i32, i32* %149, align 4\n %183 = urem i32 %178, 32\n %184 = shl i32 %182, %183\n %185 = urem i32 %181, %184\n %186 = icmp eq i32 %185, 0\n br i1 %186, label LBL_23, label LBL_21\n LBL_21:\n %187 = load i32, i32* %153, align 4\n %188 = icmp eq i32 %181, %187\n %189 = icmp eq i1 %188, false\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %189, label LBL_34, label LBL_22\n LBL_22:\n %190 = and i64 %156, 4294967295\n %191 = shl i32 %157, %140\n %192 = zext i32 %191 to i64\n %rdx.6 = select i1 %141, i64 %190, i64 %192\n %193 = shl i32 1, %183\n %storemerge6 = zext i32 %193 to i64\n %194 = trunc i64 %rdx.6 to i32\n %195 = ashr i32 %194, 31\n %196 = zext i32 %195 to i64\n %197 = mul i64 %196, 4294967296\n %198 = or i64 %197, %rdx.6\n %199 = srem i64 %198, %storemerge6\n %200 = trunc i64 %199 to i32\n %201 = icmp eq i32 %200, 0\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %201, label LBL_34, label LBL_23\n LBL_23:\n %202 = trunc i64 %147 to i32\n %203 = add i32 %174, %136\n %204 = add i64 %0, 24\n %205 = inttoptr i64 %204 to i32*\n %206 = load i32, i32* %205, align 4\n %207 = load i32, i32* %138, align 4\n %208 = urem i32 %203, 32\n %209 = shl i32 %207, %208\n %210 = urem i32 %206, %209\n %211 = icmp eq i32 %210, 0\n br i1 %211, label LBL_26, label LBL_24\n LBL_24:\n %212 = load i32, i32* %144, align 4\n %213 = icmp eq i32 %206, %212\n %214 = icmp eq i1 %213, false\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %214, label LBL_34, label LBL_25\n LBL_25:\n %215 = and i64 %147, 4294967295\n %216 = shl i32 %202, %140\n %217 = zext i32 %216 to i64\n %rdx.7 = select i1 %141, i64 %215, i64 %217\n %218 = shl i32 1, %208\n %storemerge8 = zext i32 %218 to i64\n %219 = trunc i64 %rdx.7 to i32\n %220 = ashr i32 %219, 31\n %221 = zext i32 %220 to i64\n %222 = mul i64 %221, 4294967296\n %223 = or i64 %222, %rdx.7\n %224 = srem i64 %223, %storemerge8\n %225 = trunc i64 %224 to i32\n %226 = icmp eq i32 %225, 0\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %226, label LBL_34, label LBL_26\n LBL_26:\n %227 = inttoptr i64 %132 to i32*\n %228 = load i32, i32* %227, align 4\n %229 = icmp eq i32 %228, 0\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %229, label LBL_34, label LBL_27\n LBL_27:\n %230 = trunc i64 %164 to i32\n %231 = trunc i64 %171 to i32\n %232 = add i64 %132, 4\n %233 = inttoptr i64 %232 to i32*\n %234 = load i32, i32* %233, align 4\n %235 = icmp eq i32 %234, 0\n %236 = icmp eq i32 %202, %230\n %or.cond = or i1 %236, %235\n %237 = icmp eq i32 %157, %231\n %or.cond17 = or i1 %237, %or.cond\n store i32* %124, i32** %.pre-phi40.reg2mem\n store i64 %.pre-phi27.reload, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.2.reg2mem\n br i1 %or.cond17, label LBL_34, label LBL_28\n LBL_28:\n %238 = zext i32 %174 to i64\n %239 = shl i32 %207, %140\n %rdx.8 = zext i32 %239 to i64\n %240 = zext i32 %206 to i64\n %241 = call i64 @FUNC(i64 %240, i64 %rdx.8)\n %242 = and i64 %241, 4294967295\n %243 = call i64 @FUNC(i64 %242, i64 %238)\n %244 = trunc i64 %243 to i32\n %245 = load i32, i32* %173, align 4\n %246 = zext i32 %245 to i64\n %247 = and i64 %147, 4294967295\n %248 = call i64 @FUNC(i64 %247, i64 %246)\n %249 = trunc i64 %248 to i32\n %250 = sub i32 %244, %249\n %251 = load i32, i32* %176, align 4\n %252 = zext i32 %251 to i64\n %253 = load i32, i32* %149, align 4\n %254 = shl i32 %253, %140\n %rdx.9 = zext i32 %254 to i64\n %255 = load i32, i32* %180, align 4\n %256 = zext i32 %255 to i64\n %257 = call i64 @FUNC(i64 %256, i64 %rdx.9)\n %258 = and i64 %257, 4294967295\n %259 = call i64 @FUNC(i64 %258, i64 %252)\n %260 = load i32, i32* %176, align 4\n %261 = zext i32 %260 to i64\n %262 = and i64 %156, 4294967295\n %263 = call i64 @FUNC(i64 %262, i64 %261)\n %264 = sub i64 %259, %263\n %265 = load i32, i32* %227, align 4\n %266 = trunc i64 %264 to i32\n %267 = mul i32 %265, %266\n %268 = add i32 %250, %267\n %269 = add i64 %0, 48\n %270 = inttoptr i64 %269 to i32*\n store i32 %268, i32* %270, align 4\n %271 = add i64 %0, 112\n %272 = inttoptr i64 %271 to i32*\n %273 = load i32, i32* %272, align 4\n %274 = add i64 %0, 52\n %275 = inttoptr i64 %274 to i32*\n store i32 %273, i32* %275, align 4\n store i32 %273, i32* %.reg2mem53\n store i64 %274, i64* %.pre-phi28.reg2mem\n store i32* %sv_0.3.reload, i32** %sv_0.1.reg2mem\n br label LBL_32\n LBL_29:\n %.pre-phi28.reload = load i64, i64* %.pre-phi28.reg2mem\n %276 = inttoptr i64 %.pre-phi28.reload to i32*\n %277 = add i64 %0, 56\n %278 = inttoptr i64 %277 to i32*\n %279 = load i32, i32* %278, align 4\n %280 = mul i32 %279, %.reload54\n %281 = add i64 %0, 20\n %282 = inttoptr i64 %281 to i32*\n %283 = load i32, i32* %282, align 4\n %284 = add i64 %0, 60\n %285 = inttoptr i64 %284 to i32*\n %286 = load i32, i32* %285, align 4\n %287 = mul i32 %286, %283\n %288 = add i64 %0, 48\n %289 = inttoptr i64 %288 to i32*\n %290 = load i32, i32* %289, align 4\n %291 = add i64 %0, 68\n %292 = inttoptr i64 %291 to i32*\n %293 = load i32, i32* %292, align 4\n %294 = mul i32 %293, %290\n %295 = add i64 %0, 16\n %296 = inttoptr i64 %295 to i32*\n %297 = load i32, i32* %296, align 4\n %298 = add i64 %0, 64\n %299 = inttoptr i64 %298 to i32*\n %300 = load i32, i32* %299, align 4\n %301 = mul i32 %300, %297\n %302 = add i32 %287, %280\n %303 = add i32 %302, %294\n %304 = add i32 %303, %301\n %305 = add i64 %0, 72\n %306 = inttoptr i64 %305 to i64*\n %307 = load i64, i64* %306, align 8\n %308 = zext i32 %304 to i64\n %309 = mul i64 %308, 4\n %310 = add i64 %309, %307\n %311 = inttoptr i64 %310 to i32*\n %312 = load i32, i32* %311, align 4\n %313 = icmp eq i32 %312, 0\n %314 = icmp eq i1 %313, false\n store i32 %.reload54, i32* %.reg2mem51\n store i32* %276, i32** %.pre-phi32.reg2mem\n store i64 %.pre-phi28.reload, i64* %.pre-phi30.reg2mem\n store i32* %sv_0.1.reload, i32** %sv_0.0.reg2mem\n br i1 %314, label LBL_31, label LBL_30\n LBL_30:\n store i32 1, i32* %311, align 4\n store i64 1, i64* %storemerge9.reg2mem\n br label LBL_42\n LBL_31:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %.pre-phi30.reload = load i64, i64* %.pre-phi30.reg2mem\n %.pre-phi32.reload = load i32*, i32** %.pre-phi32.reg2mem\n %.reload52 = load i32, i32* %.reg2mem51\n %315 = add i32 %.reload52, 1\n store i32 %315, i32* %.pre-phi32.reload, align 4\n store i32 %315, i32* %.reg2mem53\n store i64 %.pre-phi30.reload, i64* %.pre-phi28.reg2mem\n store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem\n br label LBL_32\n LBL_32:\n %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem\n %.reload54 = load i32, i32* %.reg2mem53\n %316 = add i64 %0, 116\n %317 = inttoptr i64 %316 to i32*\n %318 = load i32, i32* %317, align 4\n %319 = icmp ult i32 %.reload54, %318\n br i1 %319, label LBL_29, label LBL_32.LBL_34_crit_edge\n LBL_33:\n %.pre37 = add i64 %0, 20\n %.pre39 = inttoptr i64 %.pre37 to i32*\n store i32* %.pre39, i32** %.pre-phi40.reg2mem\n store i64 %.pre37, i64* %.pre-phi38.reg2mem\n store i32* %sv_0.1.reload, i32** %sv_0.2.reg2mem\n br label LBL_34\n LBL_34:\n %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem\n %.pre-phi38.reload = load i64, i64* %.pre-phi38.reg2mem\n %.pre-phi40.reload = load i32*, i32** %.pre-phi40.reg2mem\n %320 = load i32, i32* %.pre-phi40.reload, align 4\n %321 = add i32 %320, 1\n store i32 %321, i32* %.pre-phi40.reload, align 4\n store i32 %321, i32* %.reg2mem55\n store i64 %.pre-phi38.reload, i64* %.pre-phi27.reg2mem\n store i32* %sv_0.2.reload, i32** %sv_0.3.reg2mem\n br label LBL_35\n LBL_35:\n %sv_0.3.reload = load i32*, i32** %sv_0.3.reg2mem\n %.reload56 = load i32, i32* %.reg2mem55\n %322 = load i32, i32* %sv_0.3.reload, align 4\n %323 = add i64 %0, 108\n %324 = inttoptr i64 %323 to i32*\n %325 = load i32, i32* %324, align 4\n %326 = zext i32 %322 to i64\n %327 = zext i32 %325 to i64\n %328 = call i64 @FUNC(i64 %327, i64 %326)\n %329 = trunc i64 %328 to i32\n %330 = icmp ult i32 %.reload56, %329\n br i1 %330, label LBL_20, label LBL_36\n LBL_36:\n %331 = add i64 %0, 16\n %332 = inttoptr i64 %331 to i32*\n %333 = load i32, i32* %332, align 4\n %334 = add i32 %333, 1\n store i32 %334, i32* %332, align 4\n store i32 %334, i32* %.reg2mem57\n br label LBL_37\n LBL_37:\n %.reload58 = load i32, i32* %.reg2mem57\n %335 = add i64 %0, 100\n %336 = inttoptr i64 %335 to i32*\n %337 = load i32, i32* %336, align 4\n %338 = icmp ult i32 %.reload58, %337\n br i1 %338, label LBL_19, label LBL_38\n LBL_38:\n %339 = add i64 %0, 24\n %340 = inttoptr i64 %339 to i32*\n %341 = load i32, i32* %340, align 4\n %342 = add i64 %0, 32\n %343 = inttoptr i64 %342 to i32*\n %344 = load i32, i32* %343, align 4\n %345 = urem i32 %341, %344\n %346 = add i32 %344, %341\n %347 = sub i32 %346, %345\n store i32 %347, i32* %340, align 4\n store i32 %347, i32* %.reg2mem59\n br label LBL_39\n LBL_39:\n %.reload60 = load i32, i32* %.reg2mem59\n %348 = add i64 %0, 92\n %349 = inttoptr i64 %348 to i32*\n %350 = load i32, i32* %349, align 4\n %351 = icmp ult i32 %.reload60, %350\n br i1 %351, label LBL_18, label LBL_40\n LBL_40:\n %352 = add i64 %0, 28\n %353 = inttoptr i64 %352 to i32*\n %354 = load i32, i32* %353, align 4\n %355 = add i64 %0, 36\n %356 = inttoptr i64 %355 to i32*\n %357 = load i32, i32* %356, align 4\n %358 = urem i32 %354, %357\n %359 = add i32 %357, %354\n %360 = sub i32 %359, %358\n store i32 %360, i32* %353, align 4\n store i32 %360, i32* %.reg2mem61\n br label LBL_41\n LBL_41:\n %.reload62 = load i32, i32* %.reg2mem61\n %361 = add i64 %0, 88\n %362 = inttoptr i64 %361 to i32*\n %363 = load i32, i32* %362, align 4\n %364 = icmp ult i32 %.reload62, %363\n store i64 0, i64* %storemerge9.reg2mem\n br i1 %364, label LBL_17, label LBL_42\n LBL_42:\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n ret i64 %storemerge9.reload\n\n uselistorder i32 %.reload58, { 1, 0 }\n uselistorder i32* %sv_0.3.reload, { 0, 1, 2, 8, 9, 6, 7, 4, 5, 3 }\n uselistorder i32 %.reload54, { 1, 0, 2 }\n uselistorder i64 %.pre-phi28.reload, { 1, 0 }\n uselistorder i32 %208, { 1, 0 }\n uselistorder i32 %183, { 1, 0 }\n uselistorder i32 %174, { 1, 0 }\n uselistorder i1 %141, { 1, 0 }\n uselistorder i32 %140, { 6, 5, 7, 8, 4, 3, 2, 1, 0 }\n uselistorder i32 %136, { 2, 1, 0 }\n uselistorder i64 %132, { 0, 3, 1, 2 }\n uselistorder i32* %124, { 4, 5, 2, 3, 0, 1, 6 }\n uselistorder i64 %.pre-phi27.reload, { 2, 1, 4, 3, 6, 5, 0 }\n uselistorder i32 %.reload50, { 1, 0 }\n uselistorder i64 %65, { 1, 0 }\n uselistorder i64 %56, { 1, 0 }\n uselistorder i32* %28, { 1, 0 }\n uselistorder i64 %0, { 40, 37, 36, 35, 33, 32, 31, 9, 28, 0, 11, 10, 17, 18, 15, 16, 13, 14, 12, 20, 19, 21, 22, 23, 24, 25, 26, 27, 30, 29, 34, 38, 39, 41, 42, 43, 4, 3, 6, 5, 8, 7, 46, 47, 1, 45, 44, 48, 49, 2, 50, 51, 52 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem47, { 1, 0, 2 }\n uselistorder i64* %storemerge13.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem51, { 0, 2, 1 }\n uselistorder i32** %.pre-phi32.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi30.reg2mem, { 0, 2, 1 }\n uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi28.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi40.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 }\n uselistorder i64* %.pre-phi38.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 }\n uselistorder i32** %sv_0.2.reg2mem, { 0, 7, 5, 6, 3, 4, 1, 2 }\n uselistorder i64* %.pre-phi27.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem61, { 0, 2, 1 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i64 (i64, i64)* @opj_int_floordivpow2, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @opj_int_ceildiv, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 20, { 0, 2, 1 }\n uselistorder i64 28, { 1, 0, 2 }\n uselistorder i64 80, { 1, 0 }\n uselistorder i64 (i64, i64)* @opj_uint_min, { 2, 1, 0 }\n uselistorder i32 31, { 1, 2, 0, 3 }\n uselistorder i64 52, { 1, 0 }\n uselistorder i64 24, { 5, 4, 1, 3, 0, 2 }\n uselistorder i64 16, { 4, 5, 0, 2, 3, 1, 6, 7 }\n uselistorder i64 8, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i1 false, { 2, 0, 1, 3, 4 }\n uselistorder i32 0, { 10, 5, 6, 7, 3, 8, 4, 9, 0, 13, 11, 12, 1, 2, 14, 15, 16, 17, 18 }\n uselistorder label LBL_39, { 1, 0 }\n uselistorder label LBL_37, { 1, 0 }\n uselistorder label LBL_35, { 1, 0 }\n uselistorder label LBL_34, { 0, 2, 1, 4, 3, 6, 5 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_16, { 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": "rtl8187_add_interface_18167", "fun_name": "rtl8187_add_interface", "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 %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 95, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %9, align 4\n %10 = add i64 %8, 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 1)\n %14 = ptrtoint i32* %arg2 to i64\n %15 = add i64 %14, 4\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 %16 = add i64 %15, %indvars.iv.reload\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = zext i8 %18 to i64\n %20 = load i64, i64* %11, align 8\n %21 = add nuw nsw i64 %indvars.iv.reload, 1\n %22 = add i64 %20, %21\n %23 = call i64 @FUNC(i64 %8, i64 %22, i64 %19)\n %exitcond = icmp eq i64 %21, 6\n store i64 %21, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %24 = load i64, i64* %11, align 8\n %25 = call i64 @FUNC(i64 %8, i64 %24, 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 %21, { 0, 2, 1 }\n uselistorder i64 %8, { 0, 1, 3, 2 }\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 label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcp_set_state_8723", "fun_name": "tcp_set_state", "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 = trunc i64 %1 to i32\n %6 = icmp eq i32 %3, 1\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = trunc i64 %4 to i32\n %8 = icmp eq i32 %7, 2\n br i1 %8, label LBL_4, label LBL_9\n LBL_2:\n %9 = icmp eq i32 %5, 1\n br i1 %9, label LBL_11, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %10, i64 4)\n br label LBL_11\n LBL_4:\n %12 = icmp ne i32 %5, 3\n %13 = icmp eq i32 %5, 1\n %14 = icmp eq i1 %13, false\n %or.cond = icmp eq i1 %12, %14\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %2)\n %16 = call i64 @FUNC(i64 %15, i64 5)\n br label LBL_6\n LBL_6:\n %17 = call i64 @FUNC(i64 %2)\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_7\n LBL_7:\n %21 = add i64 %2, 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 %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = call i64 @FUNC(i64 %2)\n br label LBL_9\n LBL_9:\n %28 = icmp eq i32 %5, 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)\n %31 = call i64 @FUNC(i64 %30, i64 4)\n br label LBL_11\n LBL_11:\n %32 = and i64 %4, 4294967295\n %33 = call i64 @FUNC(i64 %2, i64 %32)\n ret i64 %33\n\n uselistorder i32 %5, { 2, 3, 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 6, 2, 1, 0, 3, 4, 5 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @TCP_INC_STATS, { 1, 0 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 (i64)* @sock_net, { 2, 1, 0 }\n uselistorder label LBL_11, { 2, 3, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ram_save_iterate_9637", "fun_name": "ram_save_iterate", "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.06.reg2mem = alloca i32\n %storemerge17.reg2mem = alloca i32\n %0 = call i64 @FUNC()\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = load i32, i32* @gv_1, align 4\n %3 = icmp eq i32 %1, %2\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 %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 0)\n %7 = call i64 @FUNC(i64 0)\n %8 = call i64 @FUNC(i64 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i32 0, i32* %storemerge17.reg2mem\n store i32 0, i32* %sv_0.06.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %10, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %11 = call i64 @FUNC(i64 %5, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i32 %sv_0.06.reload, i32* %sv_0.1.reg2mem\n br i1 %13, label LBL_8, label LBL_4\n LBL_4:\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %14 = add i32 %sv_0.06.reload, %12\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8\n %15 = call i64 @FUNC()\n %16 = urem i32 %storemerge17.reload, 64\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 0)\n br i1 true, label LBL_7, label LBL_6\n LBL_6:\n store i32 %14, i32* %sv_0.1.reg2mem\n br label LBL_8\n LBL_7:\n %20 = add i32 %storemerge17.reload, 1\n %21 = call i64 @FUNC(i64 %5)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i32 %20, i32* %storemerge17.reg2mem\n store i32 %14, i32* %sv_0.06.reg2mem\n store i32 %14, i32* %sv_0.1.reg2mem\n br i1 %23, label LBL_3, label LBL_8\n LBL_8:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC(i64 %5, i64 0)\n %26 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %27 = add i32 %26, %sv_0.1.reload\n store i32 %27, i32* @gv_4, align 4\n %28 = call i64 @FUNC(i64 %5, i64 1)\n %29 = load i32, i32* @gv_4, align 4\n %30 = add i32 %29, 8\n store i32 %30, i32* @gv_4, align 4\n %31 = call i64 @FUNC(i64 %5)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n %storemerge.in = select i1 %34, i32 %sv_0.1.reload, i32 %32\n %storemerge = zext i32 %storemerge.in to i64\n ret i64 %storemerge\n\n uselistorder i32 %14, { 0, 2, 1 }\n uselistorder i32 %sv_0.06.reload, { 1, 0 }\n uselistorder i64 %5, { 1, 3, 2, 5, 4, 0, 6 }\n uselistorder i32* %storemerge17.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i32* @gv_4, { 2, 1, 0 }\n uselistorder i64 (i64)* @qemu_file_rate_limit, { 1, 0 }\n uselistorder i64 (i64)* @qemu_clock_get_ns, { 1, 0 }\n uselistorder i32 0, { 7, 10, 8, 9, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder label LBL_8, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ccid3_hc_tx_init_8103", "fun_name": "ccid3_hc_tx_init", "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 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = add i64 %2, 16\n %7 = call i64 @FUNC(i64 %6, i64 4198713, i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fix_bitshift_14233", "fun_name": "fix_bitshift", "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 %rdi = 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 store i64 0, 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 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = bitcast i64* %rdi to i32*\n %11 = add i64 %4, 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 = mul i64 %14, 4\n %16 = add i64 %15, %9\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = urem i32 %2, 32\n %20 = shl i32 %18, %19\n store i32 %20, i32* %17, align 4\n %21 = load i32, i32* %6, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp ugt i32 %21, 1\n store i32 1, i32* %.reg2mem\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %23, label LBL_3, label LBL_4\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %.pre = load i32, i32* %10, align 8\n %24 = load i32, i32* %12, align 4\n %25 = add i32 %24, %.reload\n %26 = sext i32 %25 to i64\n %27 = mul i64 %26, 4\n %28 = add i64 %27, %9\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = urem i32 %.pre, 32\n %32 = shl i32 %30, %31\n store i32 %32, i32* %29, align 4\n %33 = add i32 %.reload, 1\n %34 = load i32, i32* %6, 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 i32 %33, i32* %.reg2mem\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %37, 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 %.reload, { 1, 0 }\n uselistorder i32* %12, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i32* %6, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "OBJ_obj2nid_9331", "fun_name": "OBJ_obj2nid", "llvm_ir_function": "define i64 @FUNC(i32* %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 %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32*, align 8\n store i32* %arg1, i32** %sv_1, align 8\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n store i32 %4, i32* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_2, label LBL_7\n LBL_2:\n %6 = load i64, i64* @gv_0, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n store i32 1, i32* %sv_0, align 4\n %8 = call i64 @FUNC(i64 %6, i32* nonnull %sv_0)\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\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 i32*\n %14 = load i32, i32* %13, align 4\n store i32 %14, i32* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_5:\n %15 = bitcast i32** %sv_1 to i64*\n %16 = call i64 @FUNC(i64* nonnull %15, i64* nonnull @gv_1, i64 10)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %18, label LBL_6, label LBL_7\n LBL_6:\n %19 = inttoptr i64 %16 to i32*\n %20 = load i64, i64* @gv_2, align 8\n %21 = load i32, i32* %19, align 4\n %22 = zext i32 %21 to i64\n %23 = mul i64 %22, 4\n %24 = add i64 %23, %20\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_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_1, { 1, 0 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 1, 4, 2, 3 }\n uselistorder label LBL_7, { 3, 0, 4, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vapic_prepare_2761", "fun_name": "vapic_prepare", "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 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_3\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\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_2, label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 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": "cac_read_binary_13590", "fun_name": "cac_read_binary", "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 %rdi.4.reg2mem = alloca i64\n %rdi.3.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.pre-phi6.reg2mem = alloca i64\n %.pre-phi8.reg2mem = alloca i64*\n %.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_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n store i64 0, i64* %sv_2, align 8\n store i64 0, i64* %sv_1, align 8\n %5 = call i64 @FUNC(i64 %3, i64 0)\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %.pre4 = trunc i64 %4 to i32\n br i1 %9, label LBL_0.LBL_5_crit_edge, label LBL_2\n LBL_1:\n %.pre5 = add i64 %3, 8\n %.pre7 = inttoptr i64 %.pre5 to i64*\n store i64* %.pre7, i64** %.pre-phi8.reg2mem\n store i64 %.pre5, i64* %.pre-phi6.reg2mem\n store i64 %3, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i32 %.pre4, i64 %arg4, i64 %arg5, i64 %1)\n %11 = and i64 %4, 4294967295\n %12 = add i64 %3, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp ugt i64 %11, %14\n store i64 %14, i64* %.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = call i64 @FUNC(i64 %3, i64 4294967295)\n %.pre = load i64, i64* %13, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %17 = sub i64 %.reload, %11\n %18 = icmp ult i64 %17, %arg4\n %19 = select i1 %18, i64 %17, i64 %arg4\n %20 = add i64 %11, %3\n %21 = inttoptr i64 %20 to i64*\n %22 = trunc i64 %19 to i32\n %23 = call i64* @memcpy(i64* %arg3, i64* %21, i32 %22)\n %24 = and i64 %19, 4294967295\n %25 = call i64 @FUNC(i64 %2, i64 %24)\n store i64* %13, i64** %.pre-phi8.reg2mem\n store i64 %12, i64* %.pre-phi6.reg2mem\n store i64 %2, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem\n %26 = call i64 @FUNC(i64 %rdi.0.reload, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i32 %.pre4, i64 %arg4, i64 %arg5, i64 %1)\n %27 = inttoptr i64 %rdi.0.reload to i64*\n call void @free(i64* %27)\n store i64 0, i64* %arg1, align 8\n store i64 0, i64* %.pre-phi8.reload, align 8\n %28 = call i64 @FUNC(i64 %3, i64* nonnull %sv_2, i64* nonnull %sv_1)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n store i64 %28, i64* %sv_0.0.reg2mem\n store i64 %3, i64* %rdi.3.reg2mem\n br i1 %30, label LBL_13, label LBL_6\n LBL_6:\n %31 = load i64, i64* %sv_1, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 4294967294, i64* %sv_0.0.reg2mem\n store i64 %3, i64* %rdi.3.reg2mem\n br i1 %33, label LBL_7, label LBL_13\n LBL_7:\n %34 = load i64, i64* %sv_2, align 8\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = add i64 %34, 1\n %38 = add i64 %31, -1\n %39 = urem i8 %36, 4\n %40 = icmp eq i8 %39, 1\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_9, label LBL_8\n LBL_8:\n %.pre-phi6.reload = load i64, i64* %.pre-phi6.reg2mem\n %42 = call i64 @FUNC(i64 %3, i64 %.pre-phi6.reload, i64 %37, i64 %38, i64 0)\n %43 = trunc i64 %37 to i32\n %44 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i32 %43, i64 %38, i64 0, i64 %1)\n store i64 4294967293, i64* %sv_0.0.reg2mem\n store i64 %3, i64* %rdi.3.reg2mem\n br label LBL_13\n LBL_9:\n %45 = icmp eq i64 %38, 0\n store i64 %3, i64* %rdi.1.reg2mem\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %46 = trunc i64 %38 to i32\n %47 = call i64* @malloc(i32 %46)\n %48 = ptrtoint i64* %47 to i64\n store i64 %48, i64* %arg1, align 8\n store i64 %38, i64* %.pre-phi8.reload, align 8\n %49 = inttoptr i64 %38 to i64*\n %50 = inttoptr i64 %37 to i64*\n %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %46)\n store i64 %38, i64* %rdi.1.reg2mem\n br label LBL_11\n LBL_11:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n store i32 1, i32* %7, align 4\n %52 = load i64, i64* %.pre-phi8.reload, align 8\n %53 = and i64 %4, 4294967295\n %54 = sub i64 %52, %53\n %55 = icmp ult i64 %54, %arg4\n %56 = select i1 %55, i64 %54, i64 %arg4\n %57 = icmp eq i64 %56, 0\n %58 = icmp eq i64 %rdi.1.reload, 0\n %or.cond = or i1 %58, %57\n store i64 %56, i64* %sv_0.0.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.3.reg2mem\n br i1 %or.cond, label LBL_13, label LBL_12\n LBL_12:\n %59 = trunc i64 %56 to i32\n %60 = add i64 %rdi.1.reload, %53\n %61 = inttoptr i64 %60 to i64*\n %62 = call i64* @memcpy(i64* %arg3, i64* %61, i32 %59)\n store i64 %56, i64* %sv_0.0.reg2mem\n store i64 %2, i64* %rdi.3.reg2mem\n br label LBL_13\n LBL_13:\n %rdi.3.reload = load i64, i64* %rdi.3.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %63 = load i64, i64* %sv_2, align 8\n %64 = icmp eq i64 %63, 0\n store i64 %rdi.3.reload, i64* %rdi.4.reg2mem\n br i1 %64, label LBL_15, label LBL_14\n LBL_14:\n %65 = inttoptr i64 %63 to i64*\n call void @free(i64* %65)\n store i64 %63, i64* %rdi.4.reg2mem\n br label LBL_15\n LBL_15:\n %rdi.4.reload = load i64, i64* %rdi.4.reg2mem\n %66 = and i64 %sv_0.0.reload, 4294967295\n %67 = call i64 @FUNC(i64 %rdi.4.reload, i64 %66)\n ret i64 %67\n\n uselistorder i64 %56, { 1, 2, 0, 3 }\n uselistorder i64 %54, { 1, 0 }\n uselistorder i64 %rdi.1.reload, { 2, 0, 1 }\n uselistorder i64 %38, { 0, 1, 2, 5, 6, 3, 4 }\n uselistorder i64 %37, { 2, 0, 1 }\n uselistorder i64* %.pre-phi8.reload, { 1, 0, 2 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %3, { 3, 1, 10, 11, 0, 2, 12, 5, 7, 8, 9, 4, 6, 13, 14 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 4, 3, 5 }\n uselistorder i64* %rdi.3.reg2mem, { 0, 2, 1, 4, 3, 5 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @LOG_FUNC_RETURN, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @sc_log, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i64 %arg4, { 4, 0, 5, 2, 1, 3 }\n uselistorder label LBL_13, { 1, 0, 4, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_fifo_generic_read_1854", "fun_name": "av_fifo_generic_read", "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 i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = icmp eq i64 %arg3, 0\n store i64 %0, i64* %sv_0.0.reg2mem\n store i64 %2, 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 = load i64, i64* %4, align 8\n %7 = sub i64 %6, %1\n %8 = and i64 %sv_1.0.reload, 4294967295\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 %9, i64 %8)\n %11 = trunc i64 %10 to i32\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %12 = inttoptr i64 %sv_0.0.reload to i64*\n %13 = inttoptr i64 %9 to i64*\n %14 = call i64* @memcpy(i64* %12, i64* %13, i32 %11)\n %sext2 = mul i64 %10, 4294967296\n %15 = ashr exact i64 %sext2, 32\n %16 = add i64 %15, %sv_0.0.reload\n store i64 %16, 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 %17 = and i64 %10, 4294967295\n %18 = call i64 @FUNC(i64 %1, i64 %17)\n %19 = trunc i64 %sv_1.0.reload to i32\n %20 = sub i32 %19, %11\n %21 = sext i32 %20 to i64\n %22 = icmp eq i32 %20, 0\n %23 = icmp slt i32 %20, 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 %sv_0.1.reload, i64* %sv_0.0.reg2mem\n store i64 %21, i64* %sv_1.0.reg2mem\n br i1 %26, label LBL_1, label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i32 %20, { 2, 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_phb_class_init_14181", "fun_name": "spapr_phb_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 %2 = add i64 %0, 40\n %3 = inttoptr i64 %2 to i64*\n store i64 %1, i64* %3, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 4198662, i64* %5, align 8\n %6 = load i64, i64* @gv_1, align 8\n store i64 %6, i64* %arg1, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198669, i64* %8, align 8\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %10, align 8\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = or i64 %13, 1\n store i64 %14, i64* %12, align 8\n store i64 4198676, i64* %arg1, align 8\n store i64 4198683, i64* %5, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dns_packet_append_answer_8059", "fun_name": "dns_packet_append_answer", "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 ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MP4_EIA608_Convert_4386", "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_11\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 = call i64 @FUNC(i64 %35)\n %42 = trunc i64 %41 to i32\n %43 = icmp ult i32 %42, 10\n %44 = and i64 %41, 4294967295\n %45 = icmp ult i64 %37, %44\n %or.cond4 = or i1 %43, %45\n store i64 %29, i64* %sv_0.2.reg2mem\n br i1 %or.cond4, label LBL_10, label LBL_7\n LBL_7:\n %46 = add i64 %sv_1.0.in.reload, 6\n %47 = inttoptr i64 %46 to i64*\n %48 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_1 to i64*), i64* %47, i32 4)\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 %29, i64* %sv_0.2.reg2mem\n br i1 %50, label LBL_10, label LBL_8\n LBL_8:\n %51 = add i64 %sv_1.0.in.reload, 10\n %52 = add i32 %42, -8\n store i64 %29, i64* %sv_0.1.reg2mem\n store i32 %52, i32* %sv_2.1.reg2mem\n store i64 %51, i64* %sv_1.1.in.reg2mem\n br label LBL_9\n LBL_9:\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 %53 = add i64 %sv_0.1.reload, %21\n %54 = inttoptr i64 %53 to i8*\n store i8 0, i8* %54, align 1\n %55 = add i64 %53, 1\n %56 = load i8, i8* %sv_1.1, align 1\n %57 = inttoptr i64 %55 to i8*\n store i8 %56, i8* %57, align 1\n %58 = add i64 %sv_0.1.reload, 3\n %59 = add i64 %53, 2\n %60 = add i64 %sv_1.1.in.reload, 1\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = inttoptr i64 %59 to i8*\n store i8 %62, i8* %63, align 1\n %64 = add i64 %sv_1.1.in.reload, 2\n %65 = add i32 %sv_2.1.reload, -2\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i32 %sv_2.1.reload, 3\n %68 = or i1 %67, %66\n store i64 %58, i64* %sv_0.1.reg2mem\n store i32 %65, i32* %sv_2.1.reg2mem\n store i64 %64, i64* %sv_1.1.in.reg2mem\n store i64 %58, i64* %sv_0.2.reg2mem\n br i1 %68, label LBL_10, label LBL_9\n LBL_10:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %69 = add i64 %arg1, 16\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = add i64 %17, 24\n %73 = inttoptr i64 %72 to i64*\n store i64 %71, i64* %73, align 8\n %74 = add i64 %17, 8\n %75 = inttoptr i64 %74 to i64*\n store i64 %sv_0.2.reload, i64* %75, align 8\n %76 = add i64 %17, 32\n %77 = inttoptr i64 %76 to i32*\n store i32 1, i32* %77, align 4\n %78 = call i64 @FUNC(i64 %arg1)\n store i64 %17, 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_1.1.in.reload, { 2, 1, 0 }\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i64 %29, { 2, 0, 1, 3 }\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, 1, 3 }\n uselistorder i32 10, { 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": "kdc_process_for_user_4998", "fun_name": "kdc_process_for_user", "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 i64\n %rax.0.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 store i32 %2, i32* %sv_1, align 4\n %3 = call i64 @FUNC(i32* nonnull %sv_1, i64* nonnull %sv_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 store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %arg5, align 8\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %7 = load i64, i64* %sv_0, align 8\n %8 = load i64, i64* @gv_1, align 8\n %9 = ptrtoint i32* %arg3 to i64\n %10 = call i64 @FUNC(i64 %8, i64 %9, i64 %7)\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 ([26 x i8]* @gv_2 to i64), i64* %arg5, align 8\n %13 = load i64, i64* %sv_0, align 8\n %14 = load i64, i64* @gv_1, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %13)\n %16 = and i64 %10, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %17 = call i64* @calloc(i32 1, i32 8)\n %18 = ptrtoint i64* %17 to i64\n store i64 %18, i64* %arg4, align 8\n %19 = icmp eq i32* %arg3, null\n %20 = icmp eq i1 %19, false\n %21 = load i64, i64* %sv_0, align 8\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %22 = load i64, i64* @gv_1, align 8\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n store i64 12, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %24 = inttoptr i64 %21 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = bitcast i32* %arg3 to i64*\n store i64 %25, i64* %26, align 8\n store i64 0, i64* %24, align 8\n %27 = load i64, i64* %sv_0, align 8\n %28 = load i64, i64* @gv_1, align 8\n %29 = call i64 @FUNC(i64 %28, i64 %27)\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 %21, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 2, 3, 4, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @krb5_free_pa_for_user, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "make_error_10775", "fun_name": "make_error", "llvm_ir_function": "define i64 @FUNC(i32* %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 %storemerge.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 store i32 16, i32* %sv_0, align 4\n %22 = ptrtoint i8* %arg2 to i64\n %23 = call i64 @FUNC(i64 %22, i32* nonnull %sv_0)\n %24 = urem i64 %2, 2\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = ptrtoint i32* %arg1 to i64\n %27 = add i64 %26, 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 %23, i64 %30)\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %32 = call i64 @FUNC(i64 %23)\n store i64 %32, 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 %23, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %1, { 1, 0 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_alloc_4440", "fun_name": "d_alloc", "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 = 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, i64 %0)\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_2\n LBL_1:\n %8 = add i64 %1, 16\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %1)\n %11 = inttoptr i64 %5 to i64*\n store i64 %1, i64* %11, align 8\n %12 = add i64 %1, 32\n %13 = add i64 %5, 24\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = call i64 @FUNC(i64 %8)\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 %1, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "huff_build_15598", "fun_name": "huff_build", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge3.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %storemerge47.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = load i32, i32* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %4 = ptrtoint i64* %sv_3 to i64\n %5 = add i64 %4, -528\n %6 = add i64 %4, -527\n store i32 0, i32* %storemerge47.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge47.reload = load i32, i32* %storemerge47.reg2mem\n %7 = sext i32 %storemerge47.reload to i64\n %8 = trunc i32 %storemerge47.reload to i8\n %9 = sub i8 0, %8\n %10 = sub i8 %9, 1\n %11 = mul i64 %7, 2\n %12 = add i64 %11, %5\n %13 = inttoptr i64 %12 to i8*\n store i8 %10, i8* %13, align 2\n %14 = add i64 %7, %1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = add i64 %11, %6\n %18 = inttoptr i64 %17 to i8*\n store i8 %16, i8* %18, align 1\n %19 = load i8, i8* %15, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 4294967295, i64* %storemerge3.reg2mem\n br i1 %21, label LBL_2, label LBL_6\n LBL_2:\n %22 = add nuw i32 %storemerge47.reload, 1\n %23 = icmp ult i32 %22, 256\n store i32 %22, i32* %storemerge47.reg2mem\n br i1 %23, label LBL_1, label LBL_3\n LBL_3:\n call void @qsort(i64* nonnull %sv_2, i32 256, i32 2, i32 (i64*, i64*)* inttoptr (i64 4198694 to i32 (i64*, i64*)*))\n %24 = add i64 %4, -1552\n store i32 255, 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 %25 = sext i32 %storemerge6.reload to i64\n %26 = mul i64 %25, 2\n %27 = add i64 %26, %6\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = sub i8 0, %29\n %31 = urem i8 %30, 32\n %32 = zext i8 %31 to i32\n %storemerge.in = lshr i32 %sv_0.05.reload, %32\n %33 = mul i64 %25, 4\n %34 = add i64 %24, %33\n %35 = inttoptr i64 %34 to i32*\n store i32 %storemerge.in, i32* %35, align 4\n %36 = load i8, i8* %28, align 1\n %37 = add i64 %25, %4\n %38 = add i64 %37, -1808\n %39 = inttoptr i64 %38 to i8*\n store i8 %36, i8* %39, align 1\n %40 = add i64 %26, %5\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 2\n %43 = add i64 %37, -2064\n %44 = inttoptr i64 %43 to i8*\n store i8 %42, i8* %44, align 1\n %45 = load i8, i8* %28, align 1\n %46 = add i8 %45, 31\n %47 = urem i8 %46, 32\n %48 = icmp eq i8 %47, 0\n %49 = zext i8 %47 to i32\n %50 = lshr i32 -2147483648, %49\n %storemerge2 = select i1 %48, i32 -2147483648, i32 %50\n %51 = add i32 %storemerge2, %sv_0.05.reload\n %52 = add i32 %storemerge6.reload, -1\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i32 %52, i32* %storemerge6.reg2mem\n store i32 %51, i32* %sv_0.05.reg2mem\n br i1 %54, label LBL_4, label LBL_5\n LBL_5:\n %55 = call i64 @FUNC(i64 %2)\n %56 = trunc i32 %3 to i8\n %57 = icmp ult i8 %56, 13\n %58 = urem i32 %3, 256\n %.op = zext i32 %58 to i64\n %59 = select i1 %57, i64 %.op, i64 12\n %60 = call i64 @FUNC(i64 %2, i64 %59, i64 256, i64* nonnull %sv_1, i64 1, i64 1)\n store i64 %60, i64* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %25, { 2, 0, 1 }\n uselistorder i32 %sv_0.05.reload, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i32 %storemerge47.reload, { 0, 2, 1 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 256, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "isunder_5795", "fun_name": "isunder", "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 i8*, align 8\n %0 = call i64 @FUNC(i64 %arg2, i64 1)\n %1 = call i64 @FUNC(i64 %arg1, i64 0)\n %2 = inttoptr i64 %1 to i8*\n store i8* %2, i8** %sv_0, align 8\n %3 = icmp eq i64 %0, 0\n %4 = icmp eq i64 %1, 0\n %or.cond = or i1 %3, %4\n br i1 %or.cond, label LBL_4, label LBL_1\n LBL_1:\n %5 = bitcast i8** %sv_0 to i64*\n %6 = call i64 @FUNC(i64* nonnull %5, i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = load i8*, i8** %sv_0, align 8\n %10 = load i8, i8* %9, align 1\n store i64 1, i64* %storemerge.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n switch i8 %10, label LBL_3 [\n i8 0, label LBL_5\n i8 47, label LBL_5\n ]\n LBL_3:\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, 47\n %16 = icmp eq i1 %15, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %16, 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 %17 = inttoptr i64 %1 to i64*\n call void @free(i64* %17)\n %18 = inttoptr i64 %0 to i64*\n call void @free(i64* %18)\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i8** %sv_0, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8 47, { 1, 0 }\n uselistorder i64 (i64, i64)* @xabspath, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1, 4, 3 }\n uselistorder i32 1, { 2, 0, 1 }\n uselistorder label LBL_5, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "resizer_configure_output_win_4197", "fun_name": "resizer_configure_output_win", "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 %rdi = alloca i64, align 8\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 i64, align 8\n %3 = add i64 %2, 4\n %4 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 8)\n %5 = inttoptr i64 %3 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %sv_3, align 8\n %8 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_3, i64 0, i64 0)\n %9 = add i64 %2, 12\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 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i32 %15, 1\n %17 = zext i32 %16 to i64\n %18 = zext i32 %12 to i64\n %19 = and i64 %1, 4294967295\n %20 = bitcast i32* %sv_1 to i64*\n %21 = bitcast i32* %sv_2 to i64*\n %22 = call i64 @FUNC(i64 %19, i64 %17, i64 %18, i64* nonnull %20, i64* nonnull %21)\n %23 = load i32, i32* %sv_1, align 4\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = load i32, i32* %sv_2, align 4\n %27 = add i64 %2, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = call i64 @FUNC(i64 %2, i64 0)\n %30 = add i64 %2, 28\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_2, label LBL_1\n LBL_1:\n %34 = call i64 @FUNC(i64 %2, i64 1)\n br label LBL_2\n LBL_2:\n %35 = bitcast i64* %rdi to i32*\n %36 = load i32, i32* %35, align 8\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_4, label LBL_3\n LBL_3:\n %39 = call i64 @FUNC(i64 %3, i64 0, i64 1)\n br label LBL_5\n LBL_4:\n %40 = call i64 @FUNC(i64 %3, i64 0, i64 0)\n br label LBL_5\n LBL_5:\n %41 = call i64 @FUNC(i64 %2, i64 0)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i32 %42, i32* %sv_0.0.reg2mem\n br i1 %44, label LBL_8, label LBL_6\n LBL_6:\n %45 = load i32, i32* %31, align 4\n %46 = icmp eq i32 %45, 0\n store i32 %42, i32* %sv_0.0.reg2mem\n br i1 %46, label LBL_8, label LBL_7\n LBL_7:\n %47 = call i64 @FUNC(i64 %2, i64 1)\n %48 = trunc i64 %47 to i32\n store i32 %48, 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 %49 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %49, label LBL_10, label LBL_9\n LBL_9:\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_10\n LBL_10:\n %51 = zext i32 %sv_0.0.reload to i64\n ret i64 %51\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 2, 1 }\n uselistorder i64 %2, { 6, 7, 5, 0, 8, 1, 2, 3, 4, 9, 10 }\n uselistorder i64 (i64, i64)* @resizer_calculate_sdram_offsets, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @resizer_enable_422_420_conversion, { 1, 0 }\n uselistorder i64 (i64, i64)* @resizer_calculate_resize_ratios, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "eval_refl_13996", "fun_name": "eval_refl", "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 %indvars.iv.reg2mem = alloca i64\n %sv_0.19.reg2mem = alloca i32\n %sv_1.210.reg2mem = alloca i32\n %indvars.iv15.reg2mem = alloca i64\n %indvars.iv17.reg2mem = alloca i64\n %indvars.iv19.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 %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %5 = ptrtoint i64* %sv_4 to i64\n %6 = add i64 %5, -144\n store i64 0, i64* %indvars.iv19.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem\n %7 = mul i64 %indvars.iv19.reload, 2\n %8 = add i64 %7, %4\n %9 = inttoptr i64 %8 to i16*\n %10 = load i16, i16* %9, align 2\n %11 = sext i16 %10 to i32\n %12 = mul i64 %indvars.iv19.reload, 4\n %13 = add i64 %6, %12\n %14 = inttoptr i64 %13 to i32*\n store i32 %11, i32* %14, align 4\n %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1\n %exitcond21 = icmp eq i64 %indvars.iv.next20, 10\n store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem\n br i1 %exitcond21, label LBL_2, label LBL_1\n LBL_2:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = add i64 %15, 36\n %17 = ptrtoint i64* %sv_2 to i64\n %18 = add i64 %17, 36\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = inttoptr i64 %16 to i32*\n store i32 %20, i32* %21, align 4\n %22 = add i32 %20, 4096\n %23 = icmp ult i32 %22, 8192\n br i1 %23, label LBL_3, label LBL_4\n LBL_3:\n %24 = bitcast i64* %sv_3 to i32*\n %25 = bitcast i64* %sv_2 to i32*\n %26 = ptrtoint i64* %sv_3 to i64\n store i64 8, i64* %indvars.iv17.reg2mem\n store i64 9, i64* %indvars.iv15.reg2mem\n store i32 %20, i32* %sv_1.210.reg2mem\n store i32 0, i32* %sv_0.19.reg2mem\n br label LBL_5\n LBL_4:\n %27 = ptrtoint i64* %arg3 to i64\n %28 = call i64 @FUNC(i64 %27, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_5:\n %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem\n %sv_1.210.reload = load i32, i32* %sv_1.210.reg2mem\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %29 = icmp eq i32 %sv_1.210.reload, 4096\n %30 = zext i1 %29 to i32\n %spec.select = add i32 %sv_1.210.reload, %30\n %31 = icmp eq i32 %spec.select, -4096\n %32 = sext i1 %31 to i32\n %sv_1.1 = add i32 %spec.select, %32\n %33 = mul i32 %sv_1.1, %sv_1.1\n %34 = udiv i32 %33, 4096\n %35 = sub nsw i32 4096, %34\n %36 = icmp eq i32 %35, 0\n %37 = zext i1 %36 to i32\n %spec.select6 = add nsw i32 %35, %37\n %38 = mul i64 %indvars.iv17.reload, 4\n %39 = add i64 %38, %15\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = udiv i32 16777216, %spec.select6\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 %43 = mul i64 %indvars.iv.reload, 4\n %44 = add i64 %43, %17\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = load i32, i32* %41, align 4\n %48 = sub nsw i64 %indvars.iv17.reload, %indvars.iv.reload\n %49 = mul i64 %48, 4\n %50 = and i64 %49, 17179869180\n %51 = add i64 %50, %17\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = mul i32 %53, %47\n %55 = ashr i32 %54, 12\n %56 = sub i32 %46, %55\n %57 = mul i32 %56, %42\n %58 = add i64 %43, %26\n %59 = ashr i32 %57, 12\n %60 = inttoptr i64 %58 to i32*\n store i32 %59, i32* %60, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %indvars.iv15.reload\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %61 = add i64 %38, %26\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = inttoptr i64 %39 to i32*\n store i32 %63, i32* %64, align 4\n %65 = add i32 %63, 4096\n %66 = icmp ult i32 %65, 8192\n %spec.select7 = select i1 %66, i32 %sv_0.19.reload, i32 1\n %67 = load i32, i32* %24, align 8\n %68 = load i32, i32* %25, align 8\n store i32 %68, i32* %24, align 8\n store i32 %67, i32* %25, align 8\n %indvars.iv.next18 = add nsw i64 %indvars.iv17.reload, -1\n %69 = icmp eq i64 %indvars.iv17.reload, 0\n %70 = icmp eq i1 %69, false\n %indvars.iv.next16 = add nsw i64 %indvars.iv15.reload, -1\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n store i32 %63, i32* %sv_1.210.reg2mem\n store i32 %spec.select7, i32* %sv_0.19.reg2mem\n br i1 %70, label LBL_5, label LBL_8\n LBL_8:\n %71 = zext i32 %spec.select7 to i64\n store i64 %71, 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 %spec.select7, { 1, 0 }\n uselistorder i64 %43, { 1, 0 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i32 %sv_1.1, { 1, 0 }\n uselistorder i64 %indvars.iv17.reload, { 2, 0, 1, 3 }\n uselistorder i32 %sv_1.210.reload, { 1, 0 }\n uselistorder i32* %25, { 1, 0 }\n uselistorder i32* %24, { 1, 0 }\n uselistorder i64 %indvars.iv19.reload, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %indvars.iv19.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.210.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 4096, { 3, 2, 0, 1, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "b64decode_19021", "fun_name": "b64decode", "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.in.reg2mem = alloca i64\n %sv_0.1.pre-phi.reg2mem = alloca i8*\n %sv_1.6.reg2mem = alloca i64\n %sv_0.0.ph.in.reg2mem = alloca i64\n %sv_1.6.ph.reg2mem = alloca i64\n %sv_1.5.reg2mem = alloca i64\n %sv_1.4.reg2mem = alloca i64\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 %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = udiv i64 %1, 4\n %3 = mul nuw i64 %2, 3\n %4 = add i64 %3, 1\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %arg2, align 8\n store i64 %arg1, i64* %sv_1.6.ph.reg2mem\n store i64 %5, i64* %sv_0.0.ph.in.reg2mem\n br label LBL_24\n LBL_1:\n %6 = add i64 %sv_1.6.reload, 1\n %7 = call i16** @__ctype_b_loc()\n %8 = load i16*, i16** %7, align 8\n %9 = ptrtoint i16* %8 to i64\n %10 = zext i8 %146 to i64\n %11 = mul i64 %10, 2\n %12 = add i64 %11, %9\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = and i16 %14, 8192\n %16 = icmp eq i16 %15, 0\n store i64 %6, i64* %sv_1.6.reg2mem\n br i1 %16, label LBL_2, label LBL_25\n LBL_2:\n %17 = icmp slt i8 %146, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %17, label LBL_27, label LBL_3\n LBL_3:\n %18 = add i64 %10, ptrtoint (i8** @gv_0 to i64)\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 store i64 %6, i64* %sv_1.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_27\n LBL_4:\n %sv_1.0.reload = load i64, i64* %sv_1.0.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 = add i64 %sv_1.0.reload, 1\n %27 = inttoptr i64 %sv_1.0.reload to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i64\n %30 = mul i64 %29, 2\n %31 = add i64 %30, %25\n %32 = inttoptr i64 %31 to i16*\n %33 = load i16, i16* %32, align 2\n %34 = and i16 %33, 8192\n %35 = icmp eq i16 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %26, i64* %sv_1.0.reg2mem\n br i1 %36, label LBL_4, label LBL_5\n LBL_5:\n %37 = icmp eq i8 %28, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %37, label LBL_27, label LBL_6\n LBL_6:\n %38 = add i64 %29, ptrtoint (i8** @gv_0 to i64)\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = icmp eq i8 %40, -1\n %42 = icmp eq i1 %41, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %42, label LBL_7, label LBL_27\n LBL_7:\n %43 = mul i8 %20, 4\n %44 = udiv i8 %40, 16\n %45 = or i8 %44, %43\n store i8 %45, i8* %sv_0.0.ph, align 1\n store i64 %26, 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 %46 = call i16** @__ctype_b_loc()\n %47 = load i16*, i16** %46, align 8\n %48 = ptrtoint i16* %47 to i64\n %49 = add i64 %sv_1.1.reload, 1\n %50 = inttoptr i64 %sv_1.1.reload to i8*\n %51 = load i8, i8* %50, align 1\n %52 = zext i8 %51 to i64\n %53 = mul i64 %52, 2\n %54 = add i64 %53, %48\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 store i64 %49, i64* %sv_1.1.reg2mem\n br i1 %59, label LBL_8, label LBL_9\n LBL_9:\n %60 = add i64 %sv_0.0.ph.in.reload, 1\n %61 = inttoptr i64 %60 to i8*\n %62 = icmp eq i8 %51, 61\n %63 = icmp eq i1 %62, false\n store i64 %49, i64* %sv_1.2.reg2mem\n br i1 %63, label LBL_14, label LBL_10\n LBL_10:\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %64 = call i16** @__ctype_b_loc()\n %65 = load i16*, i16** %64, align 8\n %66 = ptrtoint i16* %65 to i64\n %67 = add i64 %sv_1.2.reload, 1\n %68 = inttoptr i64 %sv_1.2.reload to i8*\n %69 = load i8, i8* %68, align 1\n %70 = zext i8 %69 to i64\n %71 = mul i64 %70, 2\n %72 = add i64 %71, %66\n %73 = inttoptr i64 %72 to i16*\n %74 = load i16, i16* %73, align 2\n %75 = and i16 %74, 8192\n %76 = icmp eq i16 %75, 0\n %77 = icmp eq i1 %76, false\n store i64 %67, i64* %sv_1.2.reg2mem\n br i1 %77, label LBL_10, label LBL_11\n LBL_11:\n %78 = icmp eq i8 %69, 61\n store i64 %67, i64* %sv_1.3.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %78, label LBL_12, label LBL_27\n LBL_12:\n %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %79 = call i16** @__ctype_b_loc()\n %80 = load i16*, i16** %79, align 8\n %81 = ptrtoint i16* %80 to i64\n %82 = add i64 %sv_1.3.reload, 1\n %83 = inttoptr i64 %sv_1.3.reload to i8*\n %84 = load i8, i8* %83, align 1\n %85 = zext i8 %84 to i64\n %86 = mul i64 %85, 2\n %87 = add i64 %86, %81\n %88 = inttoptr i64 %87 to i16*\n %89 = load i16, i16* %88, align 2\n %90 = and i16 %89, 8192\n %91 = icmp eq i16 %90, 0\n %92 = icmp eq i1 %91, false\n store i64 %82, i64* %sv_1.3.reg2mem\n br i1 %92, label LBL_12, label LBL_13\n LBL_13:\n %93 = icmp eq i8 %84, 0\n store i8* %61, i8** %sv_0.1.pre-phi.reg2mem\n store i64 %60, i64* %sv_0.1.in.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %93, label LBL_26, label LBL_27\n LBL_14:\n %94 = icmp slt i8 %51, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %94, label LBL_27, label LBL_15\n LBL_15:\n %95 = add i64 %52, ptrtoint (i8** @gv_0 to i64)\n %96 = inttoptr i64 %95 to i8*\n %97 = load i8, i8* %96, align 1\n %98 = icmp eq i8 %97, -1\n %99 = icmp eq i1 %98, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %99, label LBL_16, label LBL_27\n LBL_16:\n %100 = mul i8 %40, 16\n %101 = udiv i8 %97, 4\n %102 = or i8 %101, %100\n store i8 %102, i8* %61, align 1\n store i64 %49, i64* %sv_1.4.reg2mem\n br label LBL_17\n LBL_17:\n %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem\n %103 = call i16** @__ctype_b_loc()\n %104 = load i16*, i16** %103, align 8\n %105 = ptrtoint i16* %104 to i64\n %106 = add i64 %sv_1.4.reload, 1\n %107 = inttoptr i64 %sv_1.4.reload to i8*\n %108 = load i8, i8* %107, align 1\n %109 = zext i8 %108 to i64\n %110 = mul i64 %109, 2\n %111 = add i64 %110, %105\n %112 = inttoptr i64 %111 to i16*\n %113 = load i16, i16* %112, align 2\n %114 = and i16 %113, 8192\n %115 = icmp eq i16 %114, 0\n %116 = icmp eq i1 %115, false\n store i64 %106, i64* %sv_1.4.reg2mem\n br i1 %116, label LBL_17, label LBL_18\n LBL_18:\n %117 = add i64 %sv_0.0.ph.in.reload, 2\n %118 = inttoptr i64 %117 to i8*\n %119 = icmp eq i8 %108, 61\n %120 = icmp eq i1 %119, false\n store i64 %106, i64* %sv_1.5.reg2mem\n br i1 %120, label LBL_21, label LBL_19\n LBL_19:\n %sv_1.5.reload = load i64, i64* %sv_1.5.reg2mem\n %121 = call i16** @__ctype_b_loc()\n %122 = load i16*, i16** %121, align 8\n %123 = ptrtoint i16* %122 to i64\n %124 = add i64 %sv_1.5.reload, 1\n %125 = inttoptr i64 %sv_1.5.reload to i8*\n %126 = load i8, i8* %125, align 1\n %127 = zext i8 %126 to i64\n %128 = mul i64 %127, 2\n %129 = add i64 %128, %123\n %130 = inttoptr i64 %129 to i16*\n %131 = load i16, i16* %130, align 2\n %132 = and i16 %131, 8192\n %133 = icmp eq i16 %132, 0\n %134 = icmp eq i1 %133, false\n store i64 %124, i64* %sv_1.5.reg2mem\n br i1 %134, label LBL_19, label LBL_20\n LBL_20:\n %135 = icmp eq i8 %126, 0\n store i8* %118, i8** %sv_0.1.pre-phi.reg2mem\n store i64 %117, i64* %sv_0.1.in.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %135, label LBL_26, label LBL_27\n LBL_21:\n %136 = icmp slt i8 %108, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %136, label LBL_27, label LBL_22\n LBL_22:\n %137 = add i64 %109, ptrtoint (i8** @gv_0 to i64)\n %138 = inttoptr i64 %137 to i8*\n %139 = load i8, i8* %138, align 1\n %140 = icmp eq i8 %139, -1\n %141 = icmp eq i1 %140, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %141, label LBL_23, label LBL_27\n LBL_23:\n %142 = mul i8 %97, 64\n %143 = or i8 %139, %142\n %144 = add i64 %sv_0.0.ph.in.reload, 3\n store i8 %143, i8* %118, align 1\n store i64 %106, i64* %sv_1.6.ph.reg2mem\n store i64 %144, i64* %sv_0.0.ph.in.reg2mem\n br label LBL_24\n LBL_24:\n %sv_0.0.ph.in.reload = load i64, i64* %sv_0.0.ph.in.reg2mem\n %sv_1.6.ph.reload = load i64, i64* %sv_1.6.ph.reg2mem\n %sv_0.0.ph = inttoptr i64 %sv_0.0.ph.in.reload to i8*\n store i64 %sv_1.6.ph.reload, i64* %sv_1.6.reg2mem\n br label LBL_25\n LBL_25:\n %sv_1.6.reload = load i64, i64* %sv_1.6.reg2mem\n %145 = inttoptr i64 %sv_1.6.reload to i8*\n %146 = load i8, i8* %145, align 1\n %147 = icmp eq i8 %146, 0\n %148 = icmp eq i1 %147, false\n store i8* %sv_0.0.ph, i8** %sv_0.1.pre-phi.reg2mem\n store i64 %sv_0.0.ph.in.reload, i64* %sv_0.1.in.reg2mem\n br i1 %148, label LBL_1, label LBL_26\n LBL_26:\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %sv_0.1.pre-phi.reload = load i8*, i8** %sv_0.1.pre-phi.reg2mem\n store i8 0, i8* %sv_0.1.pre-phi.reload, align 1\n %149 = sub i64 %sv_0.1.in.reload, %0\n store i64 %149, 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 i8 %146, { 2, 1, 0 }\n uselistorder i64 %sv_1.6.reload, { 1, 0 }\n uselistorder i64 %sv_1.5.reload, { 1, 0 }\n uselistorder i8* %118, { 1, 0 }\n uselistorder i64 %109, { 1, 0 }\n uselistorder i64 %sv_1.4.reload, { 1, 0 }\n uselistorder i64 %sv_1.3.reload, { 1, 0 }\n uselistorder i64 %sv_1.2.reload, { 1, 0 }\n uselistorder i8* %61, { 1, 0 }\n uselistorder i64 %52, { 1, 0 }\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.6.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.in.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.1.pre-phi.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %sv_0.1.in.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 12, 2, 1, 9, 4, 3, 10, 11, 6, 5, 8, 7 }\n uselistorder i8 4, { 1, 0 }\n uselistorder i1 false, { 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14 }\n uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 8, 3, 2, 9, 10, 5, 4, 7, 6 }\n uselistorder i8 0, { 8, 6, 0, 1, 2, 3, 4, 5, 9, 10, 7 }\n uselistorder i64 2, { 0, 7, 1, 2, 3, 4, 5, 6 }\n uselistorder i16** ()* @__ctype_b_loc, { 4, 5, 6, 0, 1, 2, 3 }\n uselistorder i64 1, { 2, 3, 4, 5, 7, 6, 8, 9, 10, 11, 1, 0 }\n uselistorder label LBL_27, { 11, 1, 0, 8, 3, 2, 9, 10, 5, 4, 7, 6 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ftp_abort_3272", "fun_name": "ftp_abort", "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 [7 x i8]*, [7 x i8]** @gv_0, align 8\n %2 = ptrtoint [7 x i8]* %1 to i64\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 0, 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_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %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 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n %13 = and i64 %8, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n %15 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull @gv_2)\n %16 = trunc i64 %15 to i32\n %17 = icmp sgt i32 %16, 224\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %0)\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 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n %24 = and i64 %19, 4294967295\n store i64 %24, 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, 3, 4, 6, 5, 0, 1, 7, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 2, 4, 1 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder i64 (i64)* @ftp_connect_control_connection, { 1, 0 }\n uselistorder label LBL_6, { 3, 2, 1, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hns_rcb_get_ring_sset_count_6671", "fun_name": "hns_rcb_get_ring_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 10\n ret i64 %spec.select\n LBL_2:\n ret i64 10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_lookup_8578", "fun_name": "ext4_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 %sv_1 = alloca i32*, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp ult i32 %3, 256\n store i64 -63, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i32** %sv_1 to i64*\n %8 = call i64 @FUNC(i64 %6, i64 %5, i64* nonnull %7, i64 0)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_8, label LBL_2\n LBL_2:\n %10 = load i32*, i32** %sv_1, align 8\n %11 = load i32, i32* %10, align 4\n %12 = call i64 @FUNC(i64 %8)\n %13 = add i64 %6, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = zext i32 %11 to i64\n %17 = call i64 @FUNC(i64 %15, 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_3\n LBL_3:\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 ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i32 %11)\n store i64 -5, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %23 = trunc i64 %1 to i32\n %24 = icmp eq i32 %11, %23\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = add i64 %5, 4\n %27 = and i64 %2, 4294967295\n %28 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %29 = inttoptr i64 %26 to i8*\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %27, i8* %29)\n store i64 -5, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %31 = load i64, i64* %14, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %16)\n %33 = icmp eq i64 %32, -116\n %34 = icmp eq i1 %33, false\n store i64 %32, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\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 ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i32 %11)\n store i64 -5, 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 %37 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %5)\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 %11, { 1, 2, 0, 3 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 -5, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "freelist_state_initialize_13600", "fun_name": "freelist_state_initialize", "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 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\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 %7 = add i64 %2, 16\n %8 = and i64 %3, 4294967295\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = trunc i64 %3 to i32\n %11 = and i64 %1, 4294967295\n store i64 %11, i64* %arg1, align 8\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %arg3, i32* %13, align 4\n %14 = urem i32 %10, %arg3\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\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 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_mspel_mc_1561", "fun_name": "vc1_mspel_mc", "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.09.reg2mem = alloca i64\n %sv_1.110.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_2.013.reg2mem = alloca i64\n %sv_1.014.reg2mem = alloca i64\n %storemerge615.reg2mem = alloca i32\n %indvars.iv17.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %1 = and i64 %arg5, 4294967295\n %2 = urem i32 %arg4, 4\n %3 = sext i32 %arg3 to i64\n %4 = sub i64 %0, %3\n %5 = ptrtoint i64* %sv_4 to i64\n %6 = zext i32 %2 to i64\n store i32 0, i32* %storemerge615.reg2mem\n store i64 %5, i64* %sv_1.014.reg2mem\n store i64 %4, i64* %sv_2.013.reg2mem\n br label LBL_3\n LBL_1:\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %7 = add i64 %indvars.iv17.reload, %sv_2.013.reload\n %8 = call i64 @FUNC(i64 %7, i64 1, i64 %6, i64 %1)\n %9 = add i64 %indvars.iv17.reload, %sv_1.014.reload\n %10 = and i64 %8, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i8\n %13 = inttoptr i64 %9 to i8*\n store i8 %12, i8* %13, align 1\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 br i1 %exitcond19, label LBL_2, label LBL_1\n LBL_2:\n %14 = add i64 %sv_2.013.reload, %3\n %15 = add i64 %sv_1.014.reload, 8\n %16 = add nuw nsw i32 %storemerge615.reload, 1\n %exitcond20 = icmp eq i32 %16, 11\n store i32 %16, i32* %storemerge615.reg2mem\n store i64 %15, i64* %sv_1.014.reg2mem\n store i64 %14, i64* %sv_2.013.reg2mem\n br i1 %exitcond20, label LBL_4, label LBL_3\n LBL_3:\n %sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem\n %sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem\n %storemerge615.reload = load i32, i32* %storemerge615.reg2mem\n store i64 0, i64* %indvars.iv17.reg2mem\n br label LBL_1\n LBL_4:\n %17 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg5, 4294967296\n %sext4 = sub i64 4294967296, %sext\n %18 = udiv i64 %sext4, 4294967296\n %19 = udiv i32 %arg4, 4\n %20 = urem i32 %19, 4\n %21 = ptrtoint i64* %sv_3 to i64\n %22 = zext i32 %20 to i64\n store i32 0, i32* %storemerge11.reg2mem\n store i64 %21, i64* %sv_1.110.reg2mem\n store i64 %17, i64* %sv_0.09.reg2mem\n br label LBL_7\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %23 = add i64 %indvars.iv.reload, %sv_1.110.reload\n %24 = call i64 @FUNC(i64 %23, i64 8, i64 %22, i64 %18)\n %25 = add i64 %indvars.iv.reload, %sv_0.09.reload\n %26 = and i64 %24, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i8\n %29 = inttoptr i64 %25 to i8*\n store i8 %28, i8* %29, align 1\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 %30 = add i64 %sv_0.09.reload, %3\n %31 = add i64 %sv_1.110.reload, 8\n %32 = add nuw nsw i32 %storemerge11.reload, 1\n %exitcond16 = icmp eq i32 %32, 8\n store i32 %32, i32* %storemerge11.reg2mem\n store i64 %31, i64* %sv_1.110.reg2mem\n store i64 %30, i64* %sv_0.09.reg2mem\n br i1 %exitcond16, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem\n %sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_8:\n ret i64 %3\n\n uselistorder i64 %sv_1.110.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.014.reload, { 1, 0 }\n uselistorder i64 %indvars.iv17.reload, { 0, 2, 1 }\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64* %indvars.iv17.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64 8, { 3, 1, 2, 4, 0 }\n uselistorder i64 (i64)* @clip_uint8, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @vc1_mspel_filter, { 1, 0 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lsr_read_delete_6958", "fun_name": "lsr_read_delete", "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 i32\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %2 = load i32, i32* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %1, i32 %2, i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i32 %2, 0\n store i32 -2, 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, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %8 = trunc i64 %3 to i32\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %10 = call i64 @FUNC(i64 %1, i64 0, i64 1)\n %11 = icmp eq i64* %arg2, null\n br i1 %11, label LBL_10, label LBL_3\n LBL_3:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = call i64 @FUNC(i64 %1, i64 4)\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n %15 = and i64 %9, 4294967295\n %16 = call i64 @FUNC(i64 %12, i64 %15)\n %17 = inttoptr i64 %13 to i64*\n store i64 %16, i64* %17, align 8\n %18 = icmp eq i64 %16, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = trunc i64 %9 to i32\n %21 = add i64 %13, 8\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 i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %13)\n br label LBL_6\n LBL_5:\n %27 = call i64 @FUNC(i64 %16, i64 0)\n br label LBL_6\n LBL_6:\n %28 = icmp slt i32 %sv_0.0.reload, 0\n %29 = icmp slt i32 %8, 0\n %or.cond = icmp eq i1 %29, %28\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_18, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %13)\n %31 = inttoptr i64 %30 to i32*\n store i32 %sv_0.0.reload, i32* %31, align 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_18, label LBL_8\n LBL_8:\n %32 = and i64 %3, 4294967295\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = add i64 %30, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = load i64, i64* %17, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %39, label LBL_9, label LBL_18\n LBL_9:\n %40 = and i64 %33, 4294967295\n %41 = bitcast i32* %sv_1 to i64*\n %42 = call i64 @FUNC(i64 %37, i64 %40, i64* nonnull %41)\n %43 = load i32, i32* %sv_1, align 4\n %44 = add i64 %30, 8\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_10:\n %46 = and i64 %9, 4294967295\n %47 = call i64 @FUNC(i64 %1, i64 %46)\n %48 = icmp eq i64 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %49, label LBL_11, label LBL_18\n LBL_11:\n %50 = icmp slt i32 %8, 0\n br i1 %50, label LBL_13, label LBL_12\n LBL_12:\n %51 = and i64 %3, 4294967295\n %52 = call i64 @FUNC(i64 %51)\n %53 = and i64 %52, 4294967295\n %54 = bitcast i32* %sv_1 to i64*\n %55 = call i64 @FUNC(i64 %47, i64 %53, i64* nonnull %54)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_13:\n %56 = icmp slt i32 %sv_0.0.reload, 0\n br i1 %56, label LBL_17, label LBL_14\n LBL_14:\n %57 = inttoptr i64 %47 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = zext i32 %sv_0.0.reload to i64\n %60 = call i64 @FUNC(i64 %58, i64 %59)\n %61 = icmp eq i64 %60, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %61, label LBL_18, label LBL_15\n LBL_15:\n %62 = call i64 @FUNC(i64 %47, 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 3, i64* %rax.0.reg2mem\n br i1 %65, label LBL_16, label LBL_18\n LBL_16:\n %66 = call i64 @FUNC(i64 %60, i64 %47)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %67 = call i64 @FUNC(i64 %47, i64 0, i64 0)\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 %47, { 3, 1, 2, 4, 0, 5 }\n uselistorder i1 %29, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2, 3, 4 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i32 %sv_0.0.reload, { 0, 1, 3, 2 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32* %sv_1, { 2, 0, 1 }\n uselistorder i64 %1, { 2, 1, 3, 5, 4, 0, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 8, 4, 3, 9, 2, 10, 1, 7 }\n uselistorder i64 (i64, i64, i64*)* @gf_node_get_field, { 1, 0 }\n uselistorder i64 (i64)* @gf_lsr_anim_type_to_attribute, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_sg_find_node, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_list_add, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 1, { 0, 2, 3, 1 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_18, { 5, 4, 7, 3, 2, 8, 1, 9, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unlink_free_heap_page_9379", "fun_name": "unlink_free_heap_page", "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 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %5, align 8\n br label LBL_2\n LBL_2:\n %6 = icmp eq i64* %arg2, %arg1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = load i64, i64* %2, align 8\n store i64 %8, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n store i64 0, i64* %arg2, align 8\n store i64 0, i64* %2, align 8\n ret i64 %0\n\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s390_cpu_class_init_15304", "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, 56\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": "1" }, { "dataset": "CompRealVul", "file": "security_preserve_bools_6106", "fun_name": "security_preserve_bools", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem17 = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem13 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i64\n %storemerge39.reg2mem = alloca i32\n %.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 store i64 0, i64* %sv_1, align 8\n %0 = call i64 @FUNC(i32* nonnull %sv_3, i64* nonnull %sv_1, i64* nonnull %sv_2, 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 %0, i64* %sv_0.1.reg2mem\n br i1 %3, label LBL_8, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %sv_3 to i64\n %5 = load i32, i32* %sv_3, align 4\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge39.reg2mem\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = load i64, i64* %sv_1, align 8\n %8 = mul i64 %.reload, 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 %4, i64 %11)\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = inttoptr i64 %12 to i32*\n %15 = load i64, i64* %sv_2, align 8\n %16 = mul i64 %.reload, 4\n %17 = add i64 %15, %16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n store i32 %19, i32* %14, align 4\n br label LBL_4\n LBL_4:\n %20 = add i32 %storemerge39.reload, 1\n %21 = load i32, i32* %sv_3, align 4\n %22 = zext i32 %21 to i64\n %23 = sext i32 %20 to i64\n %24 = icmp slt i64 %23, %22\n store i64 %23, i64* %.reg2mem\n store i32 %20, i32* %storemerge39.reg2mem\n br i1 %24, label LBL_2, label LBL_5\n LBL_5:\n %25 = ptrtoint i64* %arg1 to i64\n %26 = add i64 %25, 8\n %storemerge2.in5 = inttoptr i64 %26 to i64*\n %storemerge26 = load i64, i64* %storemerge2.in5, align 8\n %27 = icmp eq i64 %storemerge26, 0\n %28 = icmp eq i1 %27, false\n store i64 %storemerge26, i64* %storemerge27.reg2mem\n store i64 %0, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_6, label LBL_8\n LBL_6:\n %storemerge27.reload = load i64, i64* %storemerge27.reg2mem\n %29 = call i64 @FUNC(i64 %25, i64 %storemerge27.reload)\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* %sv_0.1.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %storemerge2.in = inttoptr i64 %storemerge27.reload to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %33 = icmp eq i64 %storemerge2, 0\n %34 = icmp eq i1 %33, false\n store i64 %storemerge2, i64* %storemerge27.reg2mem\n store i64 %29, i64* %sv_0.1.reg2mem\n br i1 %34, label LBL_6, label LBL_8\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %35 = load i64, i64* %sv_1, align 8\n %36 = icmp eq i64 %35, 0\n store i64 0, i64* %.reg2mem17\n br i1 %36, label LBL_11, label LBL_9\n LBL_9:\n %37 = load i32, i32* %sv_3, align 4\n %38 = icmp eq i32 %37, 0\n store i64 %35, i64* %.reg2mem13\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %storemerge4.reg2mem\n store i64 %35, i64* %.reg2mem17\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %.reload14 = load i64, i64* %.reg2mem13\n %39 = mul i64 %.reload16, 8\n %40 = add i64 %39, %.reload14\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 i32 %storemerge4.reload, 1\n %45 = load i32, i32* %sv_3, align 4\n %46 = zext i32 %45 to i64\n %47 = sext i32 %44 to i64\n %48 = icmp slt i64 %47, %46\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem13\n store i64 %47, i64* %.reg2mem15\n store i32 %44, i32* %storemerge4.reg2mem\n store i64 %.pre, i64* %.reg2mem17\n br i1 %48, label LBL_10, label LBL_11\n LBL_11:\n %.reload18 = load i64, i64* %.reg2mem17\n %49 = call i64 @FUNC(i64 %.reload18)\n %50 = load i64, i64* %sv_2, align 8\n %51 = call i64 @FUNC(i64 %50)\n %52 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %52\n\n uselistorder i64 %storemerge27.reload, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32* %sv_3, { 3, 1, 4, 0, 5, 2, 6 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 0, 2, 3, 1, 4 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge39.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem13, { 2, 0, 1 }\n uselistorder i64* %.reg2mem15, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @xfree, { 1, 0, 2 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i32 0, { 0, 2, 5, 1, 3, 6, 4, 7, 8, 9 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_machine_1626", "fun_name": "test_machine", "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 %sv_0 = alloca i64, align 8\n store i64 7310592543692780591, i64* %sv_0, align 8\n %4 = bitcast i64* %sv_0 to i8*\n %5 = call i32 @mkstemp(i8* nonnull %4)\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n %8 = zext i1 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64* nonnull %sv_0, i64 %12, i64 %2, i64 %1)\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i32 @unlink(i8* nonnull %4)\n %16 = zext i32 %5 to i64\n %17 = call i64 @FUNC(i64 %3, i64 %16)\n %18 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %13)\n %22 = call i32 @close(i32 %5)\n %23 = sext i32 %22 to i64\n ret i64 %23\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "devm_pci_release_host_bridge_dev_17658", "fun_name": "devm_pci_release_host_bridge_dev", "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 %spec.select = select i1 %4, i64 0, i64 %1\n ret i64 %spec.select\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unassigned_mem_readw_5073", "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 = load i64, i64* @gv_1, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %arg2, i64 0, i64 0, i64 0, i64 2)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "osf_partition_12665", "fun_name": "osf_partition", "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.01.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i64\n %sv_2.05.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_3)\n %4 = icmp eq i64 %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 = add i64 %3, 64\n store i64 %6, i64* %sv_3, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 2186691927\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC()\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_3:\n %12 = load i64, i64* %sv_3, align 8\n %13 = add i64 %12, 224\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = icmp eq i64 %16, 2186691927\n br i1 %17, label LBL_4, label LBL_6\n LBL_4:\n %18 = load i64, i64* %sv_3, align 8\n %19 = add i64 %18, 234\n %20 = inttoptr i64 %19 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = zext i16 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = urem i64 %23, 65536\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_11, label LBL_5\n LBL_5:\n %26 = trunc i64 %1 to i32\n %27 = add i64 %3, 320\n store i32 0, i32* %sv_2.05.reg2mem\n store i64 %27, i64* %sv_1.03.reg2mem\n store i32 1, i32* %sv_0.01.reg2mem\n br label LBL_7\n LBL_6:\n %28 = call i64 @FUNC()\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %29 = icmp eq i32 %sv_0.01.reload, %26\n br i1 %29, label LBL_11, label LBL_8\n LBL_8:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem\n %30 = inttoptr i64 %sv_1.03.reload to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n %34 = load i64, i64* %30, align 8\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %sv_1.03.reload, 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 = call i64 @FUNC(i64 %2, i32 %sv_0.01.reload, i64 %39, i64 %35)\n br label LBL_10\n LBL_10:\n %41 = add i32 %sv_0.01.reload, 1\n %42 = add i32 %sv_2.05.reload, 1\n %43 = add i64 %sv_1.03.reload, 32\n %44 = load i64, i64* %sv_3, align 8\n %45 = add i64 %44, 234\n %46 = inttoptr i64 %45 to i16*\n %47 = load i16, i16* %46, align 2\n %48 = zext i16 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = urem i64 %49, 65536\n %51 = sext i32 %42 to i64\n %52 = icmp sgt i64 %50, %51\n store i32 %42, i32* %sv_2.05.reg2mem\n store i64 %43, i64* %sv_1.03.reg2mem\n store i32 %41, i32* %sv_0.01.reg2mem\n br i1 %52, label LBL_7, label LBL_11\n LBL_11:\n %53 = add i64 %2, 4\n %54 = call i64 @FUNC(i64 %53, i64* nonnull @gv_0, i64 4096)\n %55 = call i64 @FUNC()\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 %sv_1.03.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.01.reload, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 2, 0, 3, 4, 1 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i32* %sv_2.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i64 234, { 1, 0 }\n uselistorder i64 ()* @put_dev_sector, { 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 2, 3, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mov_open_dref_1940", "fun_name": "mov_open_dref", "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 %storemerge14.reg2mem = alloca i32\n %storemerge2.lcssa14.reg2mem = alloca i32\n %storemerge2.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %storemerge27.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 1\n br i1 %3, label LBL_11, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg3 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, 1\n br i1 %8, label LBL_11, label LBL_2\n LBL_2:\n %9 = bitcast i64* %arg2 to i8*\n %10 = call i8* @strrchr(i8* %9, i32 47)\n %11 = add i64 %4, 8\n %12 = inttoptr i64 %11 to i8*\n %13 = call i32 @strlen(i8* %12)\n %storemerge25 = add i32 %13, -1\n %14 = icmp slt i32 %storemerge25, 0\n %15 = icmp eq i1 %14, false\n %16 = add i32 %2, -1\n store i32 %storemerge25, i32* %storemerge27.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n store i32 %storemerge25, i32* %storemerge2.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_7\n LBL_3:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %17 = sext i32 %storemerge27.reload to i64\n %18 = add i64 %11, %17\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 47\n %22 = icmp eq i1 %21, false\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = icmp eq i32 %sv_0.16.reload, %16\n store i32 %storemerge27.reload, i32* %storemerge2.lcssa14.reg2mem\n br i1 %23, label LBL_8, label LBL_5\n LBL_5:\n %24 = add i32 %sv_0.16.reload, 1\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 %storemerge2 = add i32 %storemerge27.reload, -1\n %25 = icmp slt i32 %storemerge2, 0\n %26 = icmp eq i1 %25, false\n store i32 %storemerge2, i32* %storemerge27.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 store i32 %storemerge2, i32* %storemerge2.lcssa.reg2mem\n br i1 %26, label LBL_3, label LBL_7\n LBL_7:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %27 = icmp eq i32 %sv_0.1.lcssa.reload, %16\n %28 = icmp eq i1 %27, false\n store i32 %storemerge2.lcssa.reload, i32* %storemerge2.lcssa14.reg2mem\n br i1 %28, label LBL_11, label LBL_8\n LBL_8:\n %29 = ptrtoint i64* %arg2 to i64\n %30 = ptrtoint i64* %sv_2 to i64\n %31 = ptrtoint i8* %10 to i64\n %32 = icmp eq i8* %10, null\n %33 = add i64 %31, 1\n %storemerge3 = select i1 %32, i64 %29, i64 %33\n %storemerge2.lcssa14.reload = load i32, i32* %storemerge2.lcssa14.reg2mem\n %34 = sub i64 %storemerge3, %29\n %35 = trunc i64 %34 to i32\n %36 = call i64* @memcpy(i64* nonnull %sv_1, i64* %arg2, i32 %35)\n %37 = add i64 %30, -1040\n %38 = add i64 %37, %34\n %39 = inttoptr i64 %38 to i8*\n store i8 0, i8* %39, align 1\n %40 = load i32, i32* %6, align 4\n %41 = icmp ugt i32 %40, 1\n store i32 1, i32* %storemerge14.reg2mem\n br i1 %41, label LBL_9, label LBL_10\n LBL_9:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %42 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 1024)\n %43 = add i32 %storemerge14.reload, 1\n %44 = load i32, i32* %6, align 4\n %45 = zext i32 %44 to i64\n %46 = sext i32 %43 to i64\n %47 = icmp slt i64 %46, %45\n store i32 %43, i32* %storemerge14.reg2mem\n br i1 %47, label LBL_9, label LBL_10\n LBL_10:\n %48 = ptrtoint i64* %arg1 to i64\n %49 = sext i32 %storemerge2.lcssa14.reload to i64\n %50 = add i64 %4, 9\n %51 = add i64 %50, %49\n %52 = inttoptr i64 %51 to i8*\n %53 = call i64 @FUNC(i64* nonnull %sv_1, i8* %52, i64 1024)\n %54 = call i64 @FUNC(i64 %48, i64* nonnull %sv_1, i64 0)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %57, label LBL_11, label LBL_12\n LBL_11:\n store i64 4294967294, 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 %storemerge27.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.16.reload, { 2, 1, 0 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i32* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.lcssa14.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder label LBL_12, { 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": "yop_read_packet_481", "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 %0, 16\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = call i64* @memset(i64* %19, i32 0, i32 24)\n %29 = add i64 %4, 40\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i64, i64* %22, align 8\n %33 = trunc i32 %31 to i8\n %34 = inttoptr i64 %32 to i8*\n store i8 %33, i8* %34, align 1\n %35 = inttoptr i64 %26 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = or i32 %36, 1\n store i32 %37, i32* %35, align 4\n %38 = load i32, i32* %30, align 4\n %39 = xor i32 %38, 1\n store i32 %39, i32* %30, align 4\n %40 = add i64 %0, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n store i32 %42, i32* %rax.0.in.reg2mem\n br label LBL_11\n LBL_2:\n %43 = load i32, i32* %5, align 4\n %44 = load i32, i32* %8, align 4\n %45 = sub i32 %43, %44\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %13, i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %48, i32* %rax.0.in.reg2mem\n br i1 %50, label LBL_3, label LBL_11\n LBL_3:\n %51 = call i64 @FUNC(i64 %1)\n %52 = trunc i64 %51 to i32\n %53 = add i64 %4, 36\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = load i32, i32* %11, align 4\n %56 = load i64, i64* %16, align 8\n %57 = call i64 @FUNC(i64 %1, i64 %56, i32 %55)\n %58 = trunc i64 %57 to i32\n %59 = icmp slt i32 %58, 0\n store i32 %58, i32* %sv_0.0.reg2mem\n br i1 %59, label LBL_10, label LBL_4\n LBL_4:\n %60 = load i32, i32* %11, align 4\n %61 = zext i32 %60 to i64\n %sext = mul i64 %57, 4294967296\n %62 = ashr exact i64 %sext, 32\n %63 = icmp slt i64 %62, %61\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %63, label LBL_10, label LBL_5\n LBL_5:\n %64 = call i64 @FUNC(i64 %1, i64 %0, i64 920)\n %65 = trunc i64 %64 to i32\n %66 = icmp slt i32 %65, 0\n store i32 %65, i32* %sv_0.0.reg2mem\n br i1 %66, label LBL_10, label LBL_6\n LBL_6:\n %67 = sub i32 %6, %9\n %68 = sub i32 %67, %12\n %69 = load i32, i32* %54, align 4\n %70 = add i64 %0, 20\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n %72 = load i32, i32* %8, align 4\n %73 = sub i32 %72, %65\n %74 = zext i32 %73 to i64\n %75 = call i64 @FUNC(i64 %1, i64 %74)\n %76 = load i64, i64* %16, align 8\n %77 = load i32, i32* %11, align 4\n %78 = sext i32 %77 to i64\n %79 = add i64 %76, %78\n %80 = call i64 @FUNC(i64 %1, i64 %79, i32 %68)\n %81 = trunc i64 %80 to i32\n %82 = icmp slt i32 %81, 0\n store i32 %81, i32* %sv_0.0.reg2mem\n br i1 %82, label LBL_10, label LBL_7\n LBL_7:\n %83 = icmp sgt i32 %68, %81\n br i1 %83, label LBL_8, label LBL_9\n LBL_8:\n %84 = load i32, i32* %11, align 4\n %85 = add i32 %84, %81\n %86 = zext i32 %85 to i64\n %87 = call i64 @FUNC(i64 %13, i64 %86)\n br label LBL_9\n LBL_9:\n %88 = load i32, i32* %8, align 4\n store i32 %88, 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 %89 = 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 %81, { 1, 2, 0, 3 }\n uselistorder i32 %65, { 1, 0, 2 }\n uselistorder i32* %30, { 1, 0, 2 }\n uselistorder i64 %13, { 2, 1, 3, 0, 4 }\n uselistorder i64 %4, { 0, 1, 2, 4, 5, 6, 7, 3 }\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 i32 0, { 1, 2, 3, 4, 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": "0" }, { "dataset": "CompRealVul", "file": "http_seek_internal_5298", "fun_name": "http_seek_internal", "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 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = trunc i64 %arg3 to i32\n %2 = add i64 %0, 40\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 0, i64* %sv_2, align 8\n %8 = icmp eq i32 %1, 2\n %9 = icmp eq i1 %8, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_18\n LBL_1:\n %10 = trunc i64 %arg4 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %.pre10 = trunc i64 %arg3 to i32\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = icmp eq i32 %.pre10, 1\n %14 = icmp eq i64 %arg2, 0\n %or.cond = icmp eq i1 %14, %13\n br i1 %or.cond, label LBL_2.dec_label_pc_401223_crit_edge, label LBL_4\n LBL_3:\n %.pre = load i64, i64* %6, align 8\n store i64 %.pre, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_4:\n %15 = icmp eq i32 %.pre10, 0\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* %6, align 8\n %18 = icmp eq i64 %17, %arg2\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_18\n LBL_6:\n %20 = icmp eq i64* %arg1, inttoptr (i64 -1 to i64*)\n %21 = icmp eq i32 %.pre10, 2\n %22 = icmp eq i1 %20, %21\n store i64 -38, i64* %rax.0.reg2mem\n br i1 %22, label LBL_18, label LBL_7\n LBL_7:\n %23 = icmp eq i32 %.pre10, 1\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = load i64, i64* %6, align 8\n %26 = add i64 %25, %arg2\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_9:\n %27 = icmp eq i1 %21, false\n br i1 %27, label LBL_11, label LBL_10\n LBL_10:\n %28 = add i64 %0, %arg2\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %29 = icmp eq i32 %.pre10, 0\n store i64 %arg2, i64* %sv_0.0.reg2mem\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %29, label LBL_12, label LBL_18\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = icmp slt i64 %sv_0.0.reload, 0\n %31 = icmp eq i1 %30, false\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %31, label LBL_13, label LBL_18\n LBL_13:\n store i64 %sv_0.0.reload, i64* %6, align 8\n %32 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %32, label LBL_15, label LBL_14\n LBL_14:\n %33 = inttoptr i64 %5 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n store i64 -38, i64* %rax.0.reg2mem\n br i1 %35, label LBL_15, label LBL_18\n LBL_15:\n %36 = add i64 %0, 32\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = add i64 %0, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = sub i64 %38, %41\n %43 = trunc i64 %42 to i32\n %44 = inttoptr i64 %41 to i64*\n %45 = call i64* @memcpy(i64* nonnull %sv_1, i64* %44, i32 %43)\n store i64 0, i64* %3, align 8\n %46 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)\n %47 = trunc i64 %46 to i32\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n %50 = call i64 @FUNC(i64* nonnull %sv_2)\n br i1 %49, label LBL_17, label LBL_16\n LBL_16:\n %51 = add i64 %0, 24\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = inttoptr i64 %53 to i64*\n %55 = call i64* @memcpy(i64* %54, i64* nonnull %sv_1, i32 %43)\n %56 = load i64, i64* %52, align 8\n store i64 %56, i64* %40, align 8\n %57 = load i64, i64* %52, align 8\n %sext5 = mul i64 %42, 4294967296\n %58 = ashr exact i64 %sext5, 32\n %59 = add i64 %57, %58\n store i64 %59, i64* %37, align 8\n store i64 %4, i64* %3, align 8\n store i64 %7, i64* %6, align 8\n %sext6 = mul i64 %46, 4294967296\n %60 = ashr exact i64 %sext6, 32\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %61 = call i64 @FUNC(i64 %4)\n store i64 %sv_0.0.reload, 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, { 0, 3, 1, 2 }\n uselistorder i1 %21, { 1, 0 }\n uselistorder i32 %.pre10, { 0, 1, 2, 4, 3 }\n uselistorder i64* %6, { 3, 4, 2, 1, 0, 5 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 5, 4, 1, 0, 6, 7 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 4, 5, 6, 1, 2, 3, 7 }\n uselistorder i64 -38, { 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_18, { 7, 8, 3, 4, 5, 0, 1, 2, 6 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_slice_thread_free_4850", "fun_name": "ff_slice_thread_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, 144\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 %.pre = add i64 %5, 136\n br i1 %16, label LBL_3, label LBL_1\n LBL_1:\n %17 = inttoptr i64 %.pre to i64*\n %18 = 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 %19 = load i64, i64* %17, align 8\n %20 = mul i64 %.reload, 8\n %21 = add i64 %19, %20\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = trunc i64 %23 to i32\n %25 = call i32 @pthread_join(i32 %24, i64** null)\n %26 = add i32 %storemerge2.reload, 1\n %27 = sext i32 %26 to i64\n %28 = icmp slt i64 %27, %18\n store i64 %27, i64* %.reg2mem\n store i32 %26, i32* %storemerge2.reg2mem\n br i1 %28, label LBL_2, label LBL_3\n LBL_3:\n %29 = call i32 @pthread_mutex_destroy(i64* %6)\n %30 = call i32 @pthread_cond_destroy(i64* %11)\n %31 = add i64 %5, 88\n %32 = inttoptr i64 %31 to i64*\n %33 = call i32 @pthread_cond_destroy(i64* %32)\n %34 = call i64 @FUNC(i64 %.pre)\n %35 = load i64, i64* %2, align 8\n %36 = call i64 @FUNC(i64 %35)\n ret i64 %36\n\n uselistorder i64 %5, { 1, 0, 2, 3, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i32 (i64*)* @pthread_cond_destroy, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp8_idct_dc_add_c_1802", "fun_name": "vp8_idct_dc_add_c", "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.02.reg2mem = alloca i32*\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %sext = mul i32 %2, 65536\n %3 = ashr exact i32 %sext, 16\n %4 = add nsw i32 %3, 4\n %5 = ashr i32 %4, 3\n %6 = bitcast i64* %arg2 to i16*\n store i16 0, i16* %6, align 2\n store i32 0, i32* %storemerge3.reg2mem\n store i32* %arg1, i32** %sv_0.02.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.02.reload = load i32*, i32** %sv_0.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %7 = bitcast i32* %sv_0.02.reload to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i32\n %10 = add nsw i32 %5, %9\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i8\n store i8 %13, i8* %7, align 1\n %14 = ptrtoint i32* %sv_0.02.reload to i64\n %15 = add i64 %14, 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 %5, %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 %14, 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 %5, %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 %14, 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 %5, %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 %14, %arg3\n %40 = inttoptr i64 %39 to i32*\n %41 = add nuw nsw i32 %storemerge3.reload, 1\n %exitcond = icmp eq i32 %41, 4\n store i32 %41, i32* %storemerge3.reg2mem\n store i32* %40, i32** %sv_0.02.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %arg3\n\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "output_frame_6855", "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 %storemerge3.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i32\n %storemerge9.reg2mem = alloca i32\n %.reg2mem = alloca i64\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 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %3, 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_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_8\n LBL_2:\n %11 = ptrtoint i32* %arg1 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %3, 24\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 0)\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 %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_8\n LBL_3:\n %20 = inttoptr i64 %5 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_8, label LBL_4\n LBL_4:\n %23 = add i64 %5, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %5, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = add i64 %2, 36\n %28 = inttoptr i64 %27 to i32*\n %29 = bitcast i64* %rdi to i32*\n %30 = add i64 %2, 40\n %31 = inttoptr i64 %30 to i32*\n %32 = add i64 %3, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = add i64 %3, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %36 = icmp slt i32 %storemerge9.reload, 1\n store i32 0, i32* %storemerge48.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n %37 = load i32, i32* %24, align 4\n %38 = load i32, i32* %26, align 4\n store i32 %37, i32* %storemerge48.reg2mem\n store i32 %38, i32* %storemerge3.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %storemerge48.reload = load i32, i32* %storemerge48.reg2mem\n %39 = load i32, i32* %28, align 4\n %40 = urem i32 %storemerge48.reload, 32\n %41 = ashr i32 %39, %40\n %42 = load i32, i32* %29, align 8\n %43 = urem i32 %42, 32\n %44 = shl i32 %41, %43\n %45 = load i32, i32* %31, align 4\n %46 = urem i32 %storemerge3.reload, 32\n %47 = ashr i32 %45, %46\n %48 = load i64, i64* %33, align 8\n %49 = mul i64 %.reload, 4\n %50 = add i64 %48, %49\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = mul i32 %52, %47\n %54 = add i32 %53, %44\n %55 = load i64, i64* %35, align 8\n %56 = add i64 %55, %49\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i32 %54, %58\n store i32 %59, i32* %57, align 4\n %60 = add i32 %storemerge9.reload, 1\n %61 = load i32, i32* %20, align 4\n %62 = zext i32 %61 to i64\n %63 = sext i32 %60 to i64\n %64 = icmp slt i64 %63, %62\n store i64 %63, i64* %.reg2mem\n store i32 %60, i32* %storemerge9.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %64, label LBL_5, 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 %49, { 1, 0 }\n uselistorder i32* %20, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge48.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mi_enum_attr_6863", "fun_name": "mi_enum_attr", "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 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i64 %arg2, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_6, label LBL_1\n LBL_1:\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 %12)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %3, 8\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 = icmp ugt i32 %6, %14\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_28, label LBL_2\n LBL_2:\n %21 = trunc i64 %19 to i32\n %22 = urem i32 %21, 65536\n %23 = icmp ult i32 %22, %6\n %24 = icmp eq i1 %23, false\n %25 = icmp ult i32 %22, 16\n %or.cond = or i1 %25, %24\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_28, label LBL_3\n LBL_3:\n %26 = zext i32 %22 to i64\n %27 = call i64 @FUNC(i64 %26, i64 4)\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* %rax.0.reg2mem\n br i1 %30, label LBL_4, label LBL_28\n LBL_4:\n %31 = call i64 @FUNC(i64 %3)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %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_28\n LBL_5:\n %35 = call i64 @FUNC(i64 %3, i64 %26)\n store i64 %35, i64* %sv_1.0.reg2mem\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %36 = call i64 @FUNC(i64 %3, i64 %arg2)\n %37 = trunc i64 %36 to i32\n %38 = icmp ugt i32 %6, %37\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_7, label LBL_28\n LBL_7:\n %39 = and i64 %2, 4294967295\n %40 = call i64 @FUNC(i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp ugt i32 %41, 31\n %43 = add i32 %41, %37\n %44 = icmp ugt i32 %43, %37\n %or.cond6 = icmp eq i1 %42, %44\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_8, label LBL_28\n LBL_8:\n %45 = and i64 %40, 4294967295\n %46 = call i64 @FUNC(i64 %arg2, i64 %45)\n store i64 %46, i64* %sv_1.0.reg2mem\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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %47 = inttoptr i64 %sv_1.0.reload 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 = add i32 %sv_0.0.reload, 8\n %52 = icmp ugt i32 %51, %6\n %53 = icmp eq i1 %52, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %53, label LBL_10, label LBL_28\n LBL_10:\n %54 = add i64 %sv_1.0.reload, 4\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_11, label LBL_28\n LBL_11:\n %59 = zext i32 %56 to i64\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = urem i64 %60, 16\n %63 = icmp eq i64 %62, 0\n %64 = icmp ult i32 %61, 257\n %or.cond4 = icmp eq i1 %63, %64\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_12, label LBL_28\n LBL_12:\n %65 = trunc i64 %50 to i32\n %66 = add i32 %sv_0.0.reload, %65\n %67 = icmp ugt i32 %66, %6\n %68 = icmp eq i1 %67, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %68, label LBL_13, label LBL_28\n LBL_13:\n %69 = add i64 %sv_1.0.reload, 12\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 br i1 %73, label LBL_20, label LBL_14\n LBL_14:\n %74 = icmp ult i32 %65, 32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %74, label LBL_28, label LBL_15\n LBL_15:\n %75 = add i64 %sv_1.0.reload, 16\n %76 = inttoptr i64 %75 to i16*\n %77 = load i16, i16* %76, align 2\n %78 = zext i16 %77 to i64\n %79 = call i64 @FUNC(i64 %78)\n %80 = trunc i64 %79 to i32\n %81 = urem i32 %80, 65536\n %82 = icmp ugt i32 %81, %65\n %83 = icmp eq i1 %82, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %83, label LBL_16, label LBL_28\n LBL_16:\n %84 = add i64 %sv_1.0.reload, 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(i64 %87)\n %89 = trunc i64 %88 to i32\n %90 = add i32 %81, %89\n %91 = icmp ugt i32 %90, %65\n %92 = icmp eq i1 %91, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %92, label LBL_17, label LBL_28\n LBL_17:\n %93 = add i64 %sv_1.0.reload, 8\n %94 = inttoptr i64 %93 to i16*\n %95 = load i16, i16* %94, align 2\n %96 = icmp eq i16 %95, 0\n br i1 %96, label LBL_19, label LBL_18\n LBL_18:\n %97 = add i64 %sv_1.0.reload, 10\n %98 = inttoptr i64 %97 to i16*\n %99 = load i16, i16* %98, align 2\n %100 = zext i16 %99 to i64\n %101 = call i64 @FUNC(i64 %100)\n %102 = urem i64 %101, 65536\n %103 = load i16, i16* %94, align 2\n %104 = zext i16 %103 to i64\n %105 = mul i64 %104, 2\n %106 = add nuw nsw i64 %105, %102\n %107 = zext i32 %81 to i64\n %108 = icmp ugt i64 %106, %107\n store i64 0, i64* %rax.0.reg2mem\n br i1 %108, label LBL_28, label LBL_19\n LBL_19:\n store i64 %sv_1.0.reload, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_20:\n %109 = add i64 %sv_1.0.reload, 8\n %110 = inttoptr i64 %109 to i16*\n %111 = load i16, i16* %110, align 2\n %112 = icmp eq i16 %111, 0\n br i1 %112, label LBL_22, label LBL_21\n LBL_21:\n %113 = add i64 %sv_1.0.reload, 10\n %114 = inttoptr i64 %113 to i16*\n %115 = load i16, i16* %114, align 2\n %116 = zext i16 %115 to i64\n %117 = call i64 @FUNC(i64 %116)\n %118 = urem i64 %117, 65536\n %119 = load i16, i16* %110, align 2\n %120 = zext i16 %119 to i64\n %121 = mul i64 %120, 2\n %122 = add nuw nsw i64 %121, %118\n %123 = add i64 %sv_1.0.reload, 20\n %124 = inttoptr i64 %123 to i16*\n %125 = load i16, i16* %124, align 2\n %126 = zext i16 %125 to i64\n %127 = call i64 @FUNC(i64 %126)\n %128 = urem i64 %127, 65536\n %129 = icmp ugt i64 %122, %128\n store i64 0, i64* %rax.0.reg2mem\n br i1 %129, label LBL_28, label LBL_22\n LBL_22:\n %130 = add i64 %sv_1.0.reload, 16\n %131 = inttoptr i64 %130 to i32*\n %132 = load i32, i32* %131, align 4\n %133 = icmp eq i32 %132, 0\n %134 = icmp eq i1 %133, false\n br i1 %134, label LBL_24, label LBL_23\n LBL_23:\n %135 = call i64 @FUNC(i64 %sv_1.0.reload)\n %136 = trunc i64 %135 to i32\n %137 = icmp eq i32 %136, 0\n %138 = icmp eq i1 %137, false\n br i1 %138, label LBL_26, label LBL_24\n LBL_24:\n %139 = add i32 %65, 8\n %140 = icmp ult i32 %139, 48\n store i64 0, i64* %rax.0.reg2mem\n br i1 %140, label LBL_28, label LBL_25\n LBL_25:\n %141 = add i64 %sv_1.0.reload, 22\n %142 = inttoptr i64 %141 to i16*\n %143 = load i16, i16* %142, align 2\n %144 = icmp eq i16 %143, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %144, label LBL_27, label LBL_28\n LBL_26:\n %145 = add i32 %65, 8\n %146 = icmp ult i32 %145, 64\n store i64 0, i64* %rax.0.reg2mem\n br i1 %146, label LBL_28, label LBL_27\n LBL_27:\n store i64 %sv_1.0.reload, 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 i32 %81, { 1, 2, 0 }\n uselistorder i32 %65, { 3, 4, 1, 2, 5, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 10, 8, 9, 11, 5, 6, 0, 13, 14, 12, 4, 7, 3, 2 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %37, { 1, 0, 2 }\n uselistorder i32 %22, { 0, 3, 2, 1 }\n uselistorder i32 %6, { 0, 1, 4, 3, 2 }\n uselistorder i64 %3, { 4, 0, 1, 2, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 20, 1, 2, 3, 4, 19, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 16, 18 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @Add2Ptr, { 1, 0 }\n uselistorder i64 (i64)* @le16_to_cpu, { 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 (i64)* @le32_to_cpu, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1, 3 }\n uselistorder i64 %arg2, { 0, 2, 1 }\n uselistorder label LBL_28, { 18, 1, 2, 3, 4, 19, 5, 6, 7, 8, 9, 10, 11, 12, 0, 13, 14, 16, 15, 17 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_mm_6746", "fun_name": "dump_mm", "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, 316\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %0, 68\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 64\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\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(i8* getelementptr inbounds ([508 x i8], [508 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %13, i64 %16, i64 %13, i64 %10)\n ret i64 %17\n\n uselistorder i64 (i64)* @atomic_read, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_dump_format_7498", "fun_name": "av_dump_format", "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.0.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i32\n %.reg2mem52 = alloca i64\n %.reg2mem50 = alloca i32\n %.lcssa.reg2mem = alloca i32\n %rcx.5.lcssa.reg2mem = alloca i64\n %.reg2mem48 = alloca i64\n %storemerge815.reg2mem = alloca i32\n %.reg2mem46 = alloca i64\n %.reg2mem44 = alloca i64\n %storemerge9.reg2mem = alloca i64\n %sv_0.017.reg2mem = alloca i32\n %storemerge718.reg2mem = alloca i32\n %.reg2mem42 = alloca i64\n %.reg2mem40 = alloca i64\n %storemerge1022.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %r9.1.reg2mem = alloca i64\n %.pre-phi30.reg2mem = alloca i8*\n %r8.1.reg2mem = alloca i64\n %.pre-phi32.reg2mem = alloca i8*\n %r9.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %sext33 = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext33, 32\n %4 = call i64 @FUNC(i64 %3)\n %5 = and i64 %1, 4294967295\n %6 = icmp ne i32 %2, 0\n %7 = icmp eq i64 %4, 0\n %or.cond = icmp eq i1 %6, %7\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_29, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %8 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg4, 4294967296\n %9 = ashr exact i64 %sext6, 32\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %storemerge12.in.in.in.in.v = select i1 %11, i64 56, i64 64\n %storemerge12.in.in.in.in = add i64 %storemerge12.in.in.in.in.v, %arg1\n %storemerge12.in.in.in = inttoptr i64 %storemerge12.in.in.in.in to i64*\n %storemerge12.in.in = load i64, i64* %storemerge12.in.in.in, align 8\n %storemerge12.in = inttoptr i64 %storemerge12.in.in to i64*\n %storemerge12 = load i64, i64* %storemerge12.in, align 8\n %12 = and i64 %8, 4294967295\n %13 = select i1 %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)\n %14 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i8* %13, i64 %12, i64 %storemerge12)\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 0, i64 %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0))\n %19 = icmp eq i1 %11, false\n store i64 %storemerge12, i64* %r9.1.reg2mem\n br i1 %19, label LBL_11, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i8* %13, i64 %12, i64 %storemerge12)\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, -1\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = sdiv i32 %23, 1000225\n %26 = sext i32 %25 to i64\n %27 = mul nsw i64 %26, -2004318071\n %28 = udiv i64 %27, 4294967296\n %29 = trunc i64 %28 to i32\n %30 = add i32 %25, %29\n %31 = ashr i32 %30, 5\n %32 = ashr i32 %25, 31\n %33 = sub nsw i32 %31, %32\n %34 = mul i32 %33, -60\n %35 = add i32 %34, %25\n %36 = sext i32 %33 to i64\n %37 = mul nsw i64 %36, -2004318071\n %38 = udiv i64 %37, 4294967296\n %39 = trunc i64 %38 to i32\n %40 = add i32 %33, %39\n %41 = ashr i32 %40, 5\n %42 = ashr i32 %33, 31\n %43 = sub nsw i32 %41, %42\n %44 = mul i32 %43, -60\n %45 = add i32 %44, %33\n %46 = zext i32 %35 to i64\n %47 = zext i32 %45 to i64\n %48 = zext i32 %43 to i64\n %49 = inttoptr i64 %48 to i8*\n %50 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i8* %49, i64 %47, i64 %46)\n store i64 %48, i64* %rcx.0.reg2mem\n store i64 %47, i64* %r8.0.reg2mem\n store i64 %46, i64* %r9.0.reg2mem\n br label LBL_5\n LBL_4:\n %51 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i8* %13, i64 %12, i64 %storemerge12)\n store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %rcx.0.reg2mem\n store i64 %12, i64* %r8.0.reg2mem\n store i64 %storemerge12, i64* %r9.0.reg2mem\n br label LBL_5\n LBL_5:\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %52 = add i64 %arg1, 8\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, -1\n %.pre31 = inttoptr i64 %rcx.0.reload to i8*\n store i8* %.pre31, i8** %.pre-phi32.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br i1 %55, label LBL_7, label LBL_6\n LBL_6:\n %56 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i8* %.pre31, i64 %r8.0.reload, i64 %r9.0.reload)\n %57 = load i32, i32* %53, align 4\n %58 = sdiv i32 %57, 1000225\n %59 = mul i32 %58, -1000000\n %60 = add i32 %59, %57\n %61 = sub i32 0, %60\n %62 = icmp slt i32 %61, 0\n %63 = icmp eq i1 %62, false\n %64 = select i1 %63, i32 %61, i32 %60\n %65 = zext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %65, i64 1000000, i64 1000000)\n %67 = and i64 %66, 4294967295\n %68 = zext i32 %58 to i64\n %69 = inttoptr i64 %68 to i8*\n %70 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0), i8* %69, i64 %67, i64 %r9.0.reload)\n store i8* %69, i8** %.pre-phi32.reg2mem\n store i64 %67, i64* %r8.1.reg2mem\n br label LBL_7\n LBL_7:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %.pre-phi32.reload = load i8*, i8** %.pre-phi32.reg2mem\n %71 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8* %.pre-phi32.reload, i64 %r8.1.reload, i64 %r9.0.reload)\n %72 = add i64 %arg1, 12\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = icmp eq i32 %74, 0\n br i1 %75, label LBL_9, label LBL_8\n LBL_8:\n %76 = sdiv i32 %74, 1000\n %77 = zext i32 %76 to i64\n %78 = inttoptr i64 %77 to i8*\n %79 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i8* %78, i64 %r8.1.reload, i64 %r9.0.reload)\n store i8* %78, i8** %.pre-phi30.reg2mem\n br label LBL_10\n LBL_9:\n %80 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i8* %.pre-phi32.reload, i64 %r8.1.reload, i64 %r9.0.reload)\n store i8* %.pre-phi32.reload, i8** %.pre-phi30.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi30.reload = load i8*, i8** %.pre-phi30.reg2mem\n %81 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_11, i64 0, i64 0), i8* %.pre-phi30.reload, i64 %r8.1.reload, i64 %r9.0.reload)\n store i64 %r9.0.reload, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_11:\n %r9.1.reload = load i64, i64* %r9.1.reg2mem\n %82 = add i64 %arg1, 32\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = icmp eq i32 %84, 0\n br i1 %85, label LBL_14, label LBL_12\n LBL_12:\n %86 = add i64 %arg1, 24\n %87 = inttoptr i64 %86 to i64*\n %88 = inttoptr i64 %12 to i8*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1022.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge1022.reload = load i32, i32* %storemerge1022.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %89 = load i64, i64* %87, align 8\n %90 = mul i64 %.reload, 8\n %91 = add i64 %89, %90\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = zext i32 %storemerge1022.reload to i64\n %95 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_12, i64 0, i64 0), i8* %88, i64 %94, i64 %r9.1.reload)\n %96 = inttoptr i64 %93 to i64*\n %97 = load i64, i64* %96, align 8\n %98 = call i128 @FUNC(i64 %97)\n %99 = call i64 @__asm_movsd.1(i128 %98)\n %100 = add i64 %93, 24\n %101 = inttoptr i64 %100 to i64*\n %102 = load i64, i64* %101, align 8\n %103 = call i128 @FUNC(i64 %102)\n %104 = call i128 @FUNC(i128 %103, i64 %99)\n %105 = call i64 @FUNC(i128 %104)\n %106 = call i128 @__asm_movq.2(i64 %105)\n %107 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_13, i64 0, i64 0), i8* %88, i64 %94, i64 %r9.1.reload)\n %108 = add i64 %93, 8\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = call i128 @FUNC(i64 %110)\n %112 = call i64 @__asm_movsd.1(i128 %111)\n %113 = load i64, i64* %101, align 8\n %114 = call i128 @FUNC(i64 %113)\n %115 = call i128 @FUNC(i128 %114, i64 %112)\n %116 = call i64 @FUNC(i128 %115)\n %117 = call i128 @__asm_movq.2(i64 %116)\n %118 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_14, i64 0, i64 0), i8* %88, i64 %94, i64 %r9.1.reload)\n %119 = add i64 %93, 16\n %120 = inttoptr i64 %119 to i64*\n %121 = load i64, i64* %120, align 8\n %122 = call i64 @FUNC(i64 0, i64 %121, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0))\n %123 = add i32 %storemerge1022.reload, 1\n %124 = load i32, i32* %83, align 4\n %125 = zext i32 %124 to i64\n %126 = sext i32 %123 to i64\n %127 = icmp slt i64 %126, %125\n store i64 %126, i64* %.reg2mem\n store i32 %123, i32* %storemerge1022.reg2mem\n br i1 %127, label LBL_13, label LBL_14\n LBL_14:\n %128 = add i64 %arg1, 48\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 %2, i32* %.reg2mem50\n br i1 %131, label LBL_23, label LBL_15\n LBL_15:\n %132 = bitcast i64* %rdi to i32*\n %133 = add i64 %arg1, 40\n %134 = inttoptr i64 %133 to i64*\n %135 = trunc i64 %8 to i32\n %136 = and i64 %9, 4294967295\n %.pre = load i64, i64* %134, align 8\n store i64 %.pre, i64* %.reg2mem40\n store i64 0, i64* %.reg2mem42\n store i32 0, i32* %storemerge718.reg2mem\n store i32 0, i32* %sv_0.017.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.017.reload = load i32, i32* %sv_0.017.reg2mem\n %storemerge718.reload = load i32, i32* %storemerge718.reg2mem\n %.reload43 = load i64, i64* %.reg2mem42\n %.reload41 = load i64, i64* %.reg2mem40\n %137 = mul i64 %.reload43, 8\n %138 = add i64 %137, %.reload41\n %139 = inttoptr i64 %138 to i64*\n %140 = load i64, i64* %139, align 8\n %141 = add i64 %140, 16\n %142 = inttoptr i64 %141 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i64 @FUNC(i64 %143, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), i64 0, i64 0)\n %145 = icmp eq i64 %144, 0\n store i64 ptrtoint (i64* @gv_17 to i64), i64* %storemerge9.reg2mem\n br i1 %145, label LBL_18, label LBL_17\n LBL_17:\n %146 = inttoptr i64 %144 to i64*\n %147 = load i64, i64* %146, align 8\n store i64 %147, i64* %storemerge9.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n %148 = load i64, i64* %134, align 8\n %149 = add i64 %148, %137\n %150 = inttoptr i64 %149 to i64*\n %151 = load i64, i64* %150, align 8\n %152 = inttoptr i64 %151 to i32*\n %153 = load i32, i32* %152, align 4\n %154 = zext i32 %153 to i64\n %155 = inttoptr i64 %154 to i8*\n %156 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_18, i64 0, i64 0), i8* %155, i64 %storemerge9.reload, i64 %r9.1.reload)\n %157 = load i64, i64* %134, align 8\n %158 = add i64 %157, %137\n %159 = inttoptr i64 %158 to i64*\n %160 = load i64, i64* %159, align 8\n %161 = add i64 %160, 16\n %162 = inttoptr i64 %161 to i64*\n %163 = load i64, i64* %162, align 8\n %164 = call i64 @FUNC(i64 0, i64 %163, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0))\n %165 = load i64, i64* %134, align 8\n %166 = add i64 %165, %137\n %167 = inttoptr i64 %166 to i64*\n %168 = load i64, i64* %167, align 8\n %169 = add i64 %168, 4\n %170 = inttoptr i64 %169 to i32*\n %171 = load i32, i32* %170, align 4\n %172 = icmp eq i32 %171, 0\n store i64 0, i64* %.reg2mem44\n store i64 %168, i64* %.reg2mem46\n store i32 0, i32* %storemerge815.reg2mem\n store i64 %165, i64* %.reg2mem48\n store i64 %154, i64* %rcx.5.lcssa.reg2mem\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %172, label LBL_20, label LBL_19\n LBL_19:\n %storemerge815.reload = load i32, i32* %storemerge815.reg2mem\n %.reload47 = load i64, i64* %.reg2mem46\n %.reload45 = load i64, i64* %.reg2mem44\n %173 = add i64 %.reload47, 8\n %174 = inttoptr i64 %173 to i64*\n %175 = load i64, i64* %174, align 8\n %176 = mul i64 %.reload45, 4\n %177 = add i64 %175, %176\n %178 = inttoptr i64 %177 to i32*\n %179 = load i32, i32* %178, align 4\n %180 = call i64 @FUNC(i64 %arg1, i32 %179, i32 %135, i32 %10)\n %181 = load i64, i64* %134, align 8\n %182 = add i64 %181, %137\n %183 = inttoptr i64 %182 to i64*\n %184 = load i64, i64* %183, align 8\n %185 = add i64 %184, 8\n %186 = inttoptr i64 %185 to i64*\n %187 = load i64, i64* %186, align 8\n %188 = add i64 %187, %176\n %189 = inttoptr i64 %188 to i32*\n %190 = load i32, i32* %189, align 4\n %191 = sext i32 %190 to i64\n %192 = add i64 %4, %191\n %193 = inttoptr i64 %192 to i8*\n store i8 1, i8* %193, align 1\n %194 = add i32 %storemerge815.reload, 1\n %195 = load i64, i64* %134, align 8\n %196 = add i64 %195, %137\n %197 = inttoptr i64 %196 to i64*\n %198 = load i64, i64* %197, align 8\n %199 = add i64 %198, 4\n %200 = inttoptr i64 %199 to i32*\n %201 = load i32, i32* %200, align 4\n %202 = zext i32 %201 to i64\n %203 = sext i32 %194 to i64\n %204 = icmp slt i64 %203, %202\n store i64 %203, i64* %.reg2mem44\n store i64 %198, i64* %.reg2mem46\n store i32 %194, i32* %storemerge815.reg2mem\n store i64 %195, i64* %.reg2mem48\n store i64 %136, i64* %rcx.5.lcssa.reg2mem\n store i32 %201, i32* %.lcssa.reg2mem\n br i1 %204, label LBL_19, label LBL_20\n LBL_20:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.reload49 = load i64, i64* %.reg2mem48\n %205 = add i32 %.lcssa.reload, %sv_0.017.reload\n %206 = add i32 %storemerge718.reload, 1\n %207 = load i32, i32* %129, align 4\n %208 = zext i32 %207 to i64\n %209 = sext i32 %206 to i64\n %210 = icmp slt i64 %209, %208\n store i64 %.reload49, i64* %.reg2mem40\n store i64 %209, i64* %.reg2mem42\n store i32 %206, i32* %storemerge718.reg2mem\n store i32 %205, i32* %sv_0.017.reg2mem\n br i1 %210, label LBL_16, label LBL_21\n LBL_21:\n %phitmp = sext i32 %205 to i64\n %.pre28 = load i32, i32* %132, align 8\n %.pre29 = zext i32 %.pre28 to i64\n %211 = icmp slt i64 %phitmp, %.pre29\n store i32 %.pre28, i32* %.reg2mem50\n br i1 %211, label LBL_22, label LBL_23\n LBL_22:\n %rcx.5.lcssa.reload = load i64, i64* %rcx.5.lcssa.reg2mem\n %212 = inttoptr i64 %rcx.5.lcssa.reload to i8*\n %213 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_19, i64 0, i64 0), i8* %212, i64 %storemerge9.reload, i64 %r9.1.reload)\n store i32 %.pre28, i32* %.reg2mem50\n br label LBL_23\n LBL_23:\n %.reload51 = load i32, i32* %.reg2mem50\n %214 = icmp eq i32 %.reload51, 0\n br i1 %214, label LBL_28, label LBL_24\n LBL_24:\n %215 = trunc i64 %8 to i32\n %216 = zext i32 %.reload51 to i64\n store i64 0, i64* %.reg2mem52\n store i32 0, i32* %storemerge14.reg2mem\n br label LBL_25\n LBL_25:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %.reload53 = load i64, i64* %.reg2mem52\n %217 = add i64 %.reload53, %4\n %218 = inttoptr i64 %217 to i8*\n %219 = load i8, i8* %218, align 1\n %220 = icmp eq i8 %219, 0\n %221 = icmp eq i1 %220, false\n br i1 %221, label LBL_27, label LBL_26\n LBL_26:\n %222 = call i64 @FUNC(i64 %arg1, i32 %storemerge14.reload, i32 %215, i32 %10)\n br label LBL_27\n LBL_27:\n %223 = add i32 %storemerge14.reload, 1\n %224 = sext i32 %223 to i64\n %225 = icmp slt i64 %224, %216\n store i64 %224, i64* %.reg2mem52\n store i32 %223, i32* %storemerge14.reg2mem\n br i1 %225, label LBL_25, label LBL_28\n LBL_28:\n %226 = call i64 @FUNC(i64 %4)\n store i64 %226, 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 %205, { 1, 0 }\n uselistorder i64 %176, { 1, 0 }\n uselistorder i64 %storemerge9.reload, { 1, 0 }\n uselistorder i64 %137, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %134, { 3, 2, 1, 4, 5, 0 }\n uselistorder i64 %94, { 2, 1, 0 }\n uselistorder i32* %83, { 1, 0 }\n uselistorder i64 %r9.1.reload, { 4, 3, 2, 1, 0 }\n uselistorder i64 %r8.1.reload, { 2, 1, 3, 0 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i8* %.pre31, { 1, 0 }\n uselistorder i64 %r8.0.reload, { 1, 0 }\n uselistorder i64 %r9.0.reload, { 0, 3, 2, 4, 1, 6, 5 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i32 %33, { 1, 3, 0, 4, 2 }\n uselistorder i32 %25, { 2, 1, 3, 0 }\n uselistorder i8* %13, { 2, 1, 0 }\n uselistorder i64 %12, { 1, 0, 2, 3, 4 }\n uselistorder i64 %storemerge12, { 1, 2, 3, 0, 4 }\n uselistorder i1 %11, { 1, 0, 2 }\n uselistorder i32 %10, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r9.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.pre-phi32.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.pre-phi30.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1022.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem40, { 1, 0, 2 }\n uselistorder i64* %.reg2mem42, { 1, 0, 2 }\n uselistorder i32* %storemerge718.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.017.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge9.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem44, { 2, 0, 1 }\n uselistorder i64* %.reg2mem46, { 2, 0, 1 }\n uselistorder i32* %storemerge815.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem50, { 0, 2, 3, 1 }\n uselistorder i64* %.reg2mem52, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64, i32, i32, i32)* @dump_stream_format, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0), { 1, 0 }\n uselistorder i128 (i64)* @av_q2d, { 1, 0 }\n uselistorder i64 1000000, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @dump_metadata, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i8*, i64, i64)* @av_log, { 13, 14, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder [6 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64 4294967296, { 6, 7, 1, 2, 0, 3, 4, 5 }\n uselistorder i32 1, { 32, 34, 33, 35, 30, 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, 29, 31, 1, 0 }\n uselistorder i64 %arg1, { 6, 4, 5, 8, 9, 7, 1, 2, 3, 10, 0 }\n uselistorder label LBL_29, { 1, 0 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_23, { 1, 0, 2 }\n uselistorder label LBL_19, { 1, 0 }\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_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "drbg_generate_long_4740", "fun_name": "drbg_generate_long", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\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 %3 = sub i32 %arg3, %sv_0.0.reload\n %4 = call i64 @FUNC(i64 %2)\n %5 = zext i32 %3 to i64\n %.rhs.trunc = trunc i64 %4 to i32\n %6 = icmp ult i32 %3, %.rhs.trunc\n store i64 %5, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %2)\n store i64 %7, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %8 = trunc i64 %storemerge1.reload to i32\n %9 = sext i32 %sv_0.0.reload to i64\n %10 = add i64 %9, %1\n %11 = call i64 @FUNC(i64 %2, i64 %10, i32 %8, i64 %0)\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 store i32 %12, i32* %storemerge.in.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = add i32 %sv_0.0.reload, %12\n %19 = icmp uge i32 %3, %.rhs.trunc\n %20 = icmp ult i32 %18, %arg3\n %or.cond = icmp eq i1 %19, %20\n store i32 %18, i32* %sv_0.0.reg2mem\n store i32 %18, i32* %storemerge.in.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_5\n LBL_5:\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 %12, { 1, 0, 3, 2 }\n uselistorder i32 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @drbg_max_request_bytes, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_info_io_apic_173", "fun_name": "hmp_info_io_apic", "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()\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()\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 %0)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC(i64 %1, i64 %0)\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 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smcr_link_down_7103", "fun_name": "smcr_link_down", "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 = 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_14, label LBL_1\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 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_14, label LBL_2\n LBL_2:\n %8 = add i64 %2, 16\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %12, label LBL_14, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %2, i64 %2, i64 1)\n %14 = icmp eq i64 %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 %2, i64 1)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %17 = trunc i64 %1 to i32\n %18 = call i64 @FUNC(i64 %2, i64 1)\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 %17, 2\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = zext i32 %21 to i64\n %25 = call i64 @FUNC(i64 %13, i64 %24)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %26 = add i64 %2, 4\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_11, label LBL_8\n LBL_8:\n %30 = call i64 @FUNC(i64 %4)\n %31 = call i64 @FUNC(i64 %8)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %34, label LBL_10, label LBL_9\n LBL_9:\n %35 = load i32, i32* %27, align 4\n %36 = icmp eq i32 %35, 0\n %spec.select = zext i1 %36 to i64\n store i64 %spec.select, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %37 = load i32, i32* %20, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38, i64 %storemerge.reload, i64 1000)\n %40 = call i64 @FUNC(i64 %4)\n br label LBL_11\n LBL_11:\n %41 = call i64 @FUNC(i64 %8)\n %42 = trunc i64 %41 to i8\n %43 = icmp eq i8 %42, 1\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = call i64 @FUNC(i64 %13, i32 %21, i64 1, i64 1, i64 2)\n %45 = call i64 @FUNC(i64 %2, i64 1)\n br label LBL_13\n LBL_13:\n %46 = call i64 @FUNC(i64 %19)\n store i64 %46, 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 %13, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 3, 4, 5, 1, 7, 6, 8, 9, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6 }\n uselistorder i64 (i64, i64)* @smcr_link_clear, { 1, 0 }\n uselistorder i64 1, { 1, 3, 2, 0, 4, 5, 6 }\n uselistorder i64 (i64)* @list_empty, { 2, 1, 0 }\n uselistorder label LBL_14, { 3, 4, 5, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ExprResolveLhs_13443", "fun_name": "ExprResolveLhs", "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* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 2\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = icmp sgt i32 %3, 2\n br i1 %5, label LBL_6, label LBL_2\n LBL_2:\n switch i32 %3, label LBL_6 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\n store i64 0, i64* %arg3, align 8\n %6 = ptrtoint i32* %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 = call i64 @FUNC(i64 %2, i64 %9)\n store i64 %10, i64* %arg4, align 8\n store i64 0, i64* %arg5, align 8\n %11 = icmp eq i64* %arg4, null\n %12 = icmp eq i1 %11, false\n %13 = zext i1 %12 to i64\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %14 = ptrtoint i32* %arg2 to i64\n %15 = add i64 %14, 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 %18, i64* %arg3, align 8\n %19 = add i64 %14, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %2, i64 %21)\n store i64 %22, i64* %arg4, align 8\n store i64 0, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %23 = ptrtoint i32* %arg2 to i64\n %24 = add i64 %23, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %2, i64 %26)\n store i64 %27, i64* %arg3, align 8\n %28 = add i64 %23, 40\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %2, i64 %30)\n store i64 %31, i64* %arg4, align 8\n %32 = add i64 %23, 48\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n store i64 %34, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %35 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i32 %3)\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 %3, { 0, 3, 2, 1 }\n uselistorder i64 %2, { 3, 4, 5, 0, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @xkb_atom_text, { 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64* %arg5, { 0, 2, 1 }\n uselistorder i64* %arg4, { 0, 3, 1, 2 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder i32* %arg2, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitstr_tell_12739", "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 = trunc i64 %1 to i32\n store i64 -1, i64* %rax.0.reg2mem\n switch i32 %2, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_3\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_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, 3, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vpc_close_5449", "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 }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_fdt_add_subnode_8719", "fun_name": "qemu_fdt_add_subnode", "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 = call i64 @FUNC(i64 %arg2)\n %1 = inttoptr i64 %0 to i8*\n %2 = call i8* @strrchr(i8* %1, i32 47)\n %3 = icmp eq i8* %2, 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 %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n store i8 0, i8* %2, align 1\n %6 = load i8, i8* %1, align 1\n %7 = icmp eq i8 %6, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg1, i64 %0)\n %phitmp = and i64 %8, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %9 = ptrtoint i8* %2 to i64\n %10 = add i64 %9, 1\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = call i64 @FUNC(i64 %arg1, i64 %sv_0.0.reload, 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_6, label LBL_5\n LBL_5:\n %15 = and i64 %11, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %16)\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %18 = call i64 @FUNC(i64 %0)\n %19 = and i64 %11, 4294967295\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 i8* %2, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_php_mb_regex_get_option_string_6517", "fun_name": "_php_mb_regex_get_option_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.14.reg2mem = alloca i64\n %sv_1.6.reg2mem = alloca i64\n %sv_2.14.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %sv_2.13.reg2mem = alloca i64\n %sv_3.0.ph.reg2mem = alloca i8\n %sv_0.12.reg2mem = alloca i64\n %sv_1.5.reg2mem = alloca i64\n %sv_2.12.reg2mem = alloca i64\n %sv_0.11.reg2mem = alloca i64\n %sv_2.11.reg2mem = alloca i64\n %sv_0.10.reg2mem = alloca i64\n %sv_1.4.reg2mem = alloca i64\n %sv_2.10.reg2mem = alloca i64\n %sv_0.9.reg2mem = alloca i64\n %sv_2.9.reg2mem = alloca i64\n %sv_0.8.reg2mem = alloca i64\n %sv_1.3.reg2mem = alloca i64\n %sv_2.8.reg2mem = alloca i64\n %sv_0.7.reg2mem = alloca i64\n %sv_2.7.reg2mem = alloca i64\n %sv_0.6.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_2.6.reg2mem = alloca i64\n %sv_0.5.reg2mem = alloca i64\n %sv_2.5.reg2mem = alloca i64\n %sv_0.4.reg2mem = alloca i64\n %sv_2.4.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_2.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg3, 2\n %2 = icmp eq i64 %1, 0\n store i64 %arg2, i64* %sv_2.1.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %0, i64* %sv_0.1.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = icmp eq i64 %arg2, 0\n store i64 0, i64* %sv_2.1.reg2mem\n store i64 1, i64* %sv_1.0.reg2mem\n store i64 %0, i64* %sv_0.1.reg2mem\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = add i64 %arg2, -1\n %5 = add i64 %0, 1\n %6 = bitcast i64* %arg1 to i8*\n store i8 105, i8* %6, align 1\n store i64 %4, i64* %sv_2.1.reg2mem\n store i64 1, i64* %sv_1.0.reg2mem\n store i64 %5, 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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %7 = and i64 %arg3, 2\n %8 = icmp eq i64 %7, 0\n store i64 %sv_2.1.reload, i64* %sv_2.3.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem\n br i1 %8, label LBL_7, label LBL_4\n LBL_4:\n %9 = icmp eq i64 %sv_2.1.reload, 0\n store i64 0, i64* %sv_2.2.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = add i64 %sv_2.1.reload, -1\n %11 = add i64 %sv_0.1.reload, 1\n %12 = inttoptr i64 %sv_0.1.reload to i8*\n store i8 120, i8* %12, align 1\n store i64 %10, i64* %sv_2.2.reg2mem\n store i64 %11, 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 %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %13 = add nuw nsw i64 %sv_1.0.reload, 1\n store i64 %sv_2.2.reload, i64* %sv_2.3.reg2mem\n store i64 %13, i64* %sv_1.1.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_2.3.reload = load i64, i64* %sv_2.3.reg2mem\n %14 = and i64 %arg3, 12\n %15 = icmp eq i64 %14, 12\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_11, label LBL_8\n LBL_8:\n %17 = icmp eq i64 %sv_2.3.reload, 0\n store i64 0, i64* %sv_2.4.reg2mem\n store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem\n br i1 %17, label LBL_10, label LBL_9\n LBL_9:\n %18 = add i64 %sv_2.3.reload, -1\n %19 = add i64 %sv_0.3.reload, 1\n %20 = inttoptr i64 %sv_0.3.reload to i8*\n store i8 112, i8* %20, align 1\n store i64 %18, i64* %sv_2.4.reg2mem\n store i64 %19, i64* %sv_0.4.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem\n %sv_2.4.reload = load i64, i64* %sv_2.4.reg2mem\n %21 = add nsw i64 %sv_1.1.reload, 1\n store i64 %sv_2.4.reload, i64* %sv_2.8.reg2mem\n store i64 %21, i64* %sv_1.3.reg2mem\n store i64 %sv_0.4.reload, i64* %sv_0.8.reg2mem\n br label LBL_19\n LBL_11:\n %22 = and i64 %arg3, 4\n %23 = icmp eq i64 %22, 0\n store i64 %sv_2.3.reload, i64* %sv_2.6.reg2mem\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.3.reload, i64* %sv_0.6.reg2mem\n br i1 %23, label LBL_15, label LBL_12\n LBL_12:\n %24 = icmp eq i64 %sv_2.3.reload, 0\n store i64 0, i64* %sv_2.5.reg2mem\n store i64 %sv_0.3.reload, i64* %sv_0.5.reg2mem\n br i1 %24, label LBL_14, label LBL_13\n LBL_13:\n %25 = add i64 %sv_2.3.reload, -1\n %26 = add i64 %sv_0.3.reload, 1\n %27 = inttoptr i64 %sv_0.3.reload to i8*\n store i8 109, i8* %27, align 1\n store i64 %25, i64* %sv_2.5.reg2mem\n store i64 %26, i64* %sv_0.5.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem\n %sv_2.5.reload = load i64, i64* %sv_2.5.reg2mem\n %28 = add nsw i64 %sv_1.1.reload, 1\n store i64 %sv_2.5.reload, i64* %sv_2.6.reg2mem\n store i64 %28, i64* %sv_1.2.reg2mem\n store i64 %sv_0.5.reload, i64* %sv_0.6.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.6.reload = load i64, i64* %sv_0.6.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %sv_2.6.reload = load i64, i64* %sv_2.6.reg2mem\n %29 = and i64 %arg3, 8\n %30 = icmp eq i64 %29, 0\n store i64 %sv_2.6.reload, i64* %sv_2.8.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.3.reg2mem\n store i64 %sv_0.6.reload, i64* %sv_0.8.reg2mem\n br i1 %30, label LBL_19, label LBL_16\n LBL_16:\n %31 = icmp eq i64 %sv_2.6.reload, 0\n store i64 0, i64* %sv_2.7.reg2mem\n store i64 %sv_0.6.reload, i64* %sv_0.7.reg2mem\n br i1 %31, label LBL_18, label LBL_17\n LBL_17:\n %32 = add i64 %sv_2.6.reload, -1\n %33 = add i64 %sv_0.6.reload, 1\n %34 = inttoptr i64 %sv_0.6.reload to i8*\n store i8 115, i8* %34, align 1\n store i64 %32, i64* %sv_2.7.reg2mem\n store i64 %33, i64* %sv_0.7.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.7.reload = load i64, i64* %sv_0.7.reg2mem\n %sv_2.7.reload = load i64, i64* %sv_2.7.reg2mem\n %35 = add nsw i64 %sv_1.2.reload, 1\n store i64 %sv_2.7.reload, i64* %sv_2.8.reg2mem\n store i64 %35, i64* %sv_1.3.reg2mem\n store i64 %sv_0.7.reload, i64* %sv_0.8.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.8.reload = load i64, i64* %sv_0.8.reg2mem\n %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %sv_2.8.reload = load i64, i64* %sv_2.8.reg2mem\n %36 = and i64 %arg3, 16\n %37 = icmp eq i64 %36, 0\n store i64 %sv_2.8.reload, i64* %sv_2.10.reg2mem\n store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem\n store i64 %sv_0.8.reload, i64* %sv_0.10.reg2mem\n br i1 %37, label LBL_23, label LBL_20\n LBL_20:\n %38 = icmp eq i64 %sv_2.8.reload, 0\n store i64 0, i64* %sv_2.9.reg2mem\n store i64 %sv_0.8.reload, i64* %sv_0.9.reg2mem\n br i1 %38, label LBL_22, label LBL_21\n LBL_21:\n %39 = add i64 %sv_2.8.reload, -1\n %40 = add i64 %sv_0.8.reload, 1\n %41 = inttoptr i64 %sv_0.8.reload to i8*\n store i8 108, i8* %41, align 1\n store i64 %39, i64* %sv_2.9.reg2mem\n store i64 %40, i64* %sv_0.9.reg2mem\n br label LBL_22\n LBL_22:\n %sv_0.9.reload = load i64, i64* %sv_0.9.reg2mem\n %sv_2.9.reload = load i64, i64* %sv_2.9.reg2mem\n %42 = add i64 %sv_1.3.reload, 1\n store i64 %sv_2.9.reload, i64* %sv_2.10.reg2mem\n store i64 %42, i64* %sv_1.4.reg2mem\n store i64 %sv_0.9.reload, i64* %sv_0.10.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.10.reload = load i64, i64* %sv_0.10.reg2mem\n %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem\n %sv_2.10.reload = load i64, i64* %sv_2.10.reg2mem\n %43 = and i64 %arg3, 32\n %44 = icmp eq i64 %43, 0\n store i64 %sv_2.10.reload, i64* %sv_2.12.reg2mem\n store i64 %sv_1.4.reload, i64* %sv_1.5.reg2mem\n store i64 %sv_0.10.reload, i64* %sv_0.12.reg2mem\n br i1 %44, label LBL_27, label LBL_24\n LBL_24:\n %45 = icmp eq i64 %sv_2.10.reload, 0\n store i64 0, i64* %sv_2.11.reg2mem\n store i64 %sv_0.10.reload, i64* %sv_0.11.reg2mem\n br i1 %45, label LBL_26, label LBL_25\n LBL_25:\n %46 = add i64 %sv_2.10.reload, -1\n %47 = add i64 %sv_0.10.reload, 1\n %48 = inttoptr i64 %sv_0.10.reload to i8*\n store i8 110, i8* %48, align 1\n store i64 %46, i64* %sv_2.11.reg2mem\n store i64 %47, i64* %sv_0.11.reg2mem\n br label LBL_26\n LBL_26:\n %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem\n %sv_2.11.reload = load i64, i64* %sv_2.11.reg2mem\n %49 = add i64 %sv_1.4.reload, 1\n store i64 %sv_2.11.reload, i64* %sv_2.12.reg2mem\n store i64 %49, i64* %sv_1.5.reg2mem\n store i64 %sv_0.11.reload, i64* %sv_0.12.reg2mem\n br label LBL_27\n LBL_27:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %sv_1.5.reload = load i64, i64* %sv_1.5.reg2mem\n %sv_2.12.reload = load i64, i64* %sv_2.12.reg2mem\n %50 = icmp eq i32* %arg4, null\n %51 = icmp eq i1 %50, false\n store i8 106, i8* %sv_3.0.ph.reg2mem\n br i1 %51, label LBL_28, label LBL_35\n LBL_28:\n %52 = icmp eq i32* %arg4, inttoptr (i64 1 to i32*)\n %53 = icmp eq i1 %52, false\n store i8 117, i8* %sv_3.0.ph.reg2mem\n br i1 %53, label LBL_29, label LBL_35\n LBL_29:\n %54 = icmp eq i32* %arg4, inttoptr (i64 2 to i32*)\n %55 = icmp eq i1 %54, false\n store i8 103, i8* %sv_3.0.ph.reg2mem\n br i1 %55, label LBL_30, label LBL_35\n LBL_30:\n %56 = icmp eq i32* %arg4, inttoptr (i64 3 to i32*)\n %57 = icmp eq i1 %56, false\n store i8 99, i8* %sv_3.0.ph.reg2mem\n br i1 %57, label LBL_31, label LBL_35\n LBL_31:\n %58 = icmp eq i32* %arg4, inttoptr (i64 4 to i32*)\n %59 = icmp eq i1 %58, false\n store i8 114, i8* %sv_3.0.ph.reg2mem\n br i1 %59, label LBL_32, label LBL_35\n LBL_32:\n %60 = icmp eq i32* %arg4, inttoptr (i64 5 to i32*)\n %61 = icmp eq i1 %60, false\n store i8 122, i8* %sv_3.0.ph.reg2mem\n br i1 %61, label LBL_33, label LBL_35\n LBL_33:\n %62 = icmp eq i32* %arg4, inttoptr (i64 6 to i32*)\n %63 = icmp eq i1 %62, false\n store i8 98, i8* %sv_3.0.ph.reg2mem\n br i1 %63, label LBL_34, label LBL_35\n LBL_34:\n %64 = icmp eq i32* %arg4, inttoptr (i64 7 to i32*)\n %65 = icmp eq i1 %64, false\n store i8 100, i8* %sv_3.0.ph.reg2mem\n store i64 %sv_2.12.reload, i64* %sv_2.14.reg2mem\n store i64 %sv_1.5.reload, i64* %sv_1.6.reg2mem\n store i64 %sv_0.12.reload, i64* %sv_0.14.reg2mem\n br i1 %65, label LBL_38, label LBL_35\n LBL_35:\n %66 = icmp eq i64 %sv_2.12.reload, 0\n store i64 0, i64* %sv_2.13.reg2mem\n store i64 %sv_0.12.reload, i64* %sv_0.13.reg2mem\n br i1 %66, label LBL_37, label LBL_36\n LBL_36:\n %sv_3.0.ph.reload = load i8, i8* %sv_3.0.ph.reg2mem\n %67 = add i64 %sv_2.12.reload, -1\n %68 = add i64 %sv_0.12.reload, 1\n %69 = inttoptr i64 %sv_0.12.reload to i8*\n store i8 %sv_3.0.ph.reload, i8* %69, align 1\n store i64 %67, i64* %sv_2.13.reg2mem\n store i64 %68, i64* %sv_0.13.reg2mem\n br label LBL_37\n LBL_37:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %sv_2.13.reload = load i64, i64* %sv_2.13.reg2mem\n %70 = add i64 %sv_1.5.reload, 1\n store i64 %sv_2.13.reload, i64* %sv_2.14.reg2mem\n store i64 %70, i64* %sv_1.6.reg2mem\n store i64 %sv_0.13.reload, i64* %sv_0.14.reg2mem\n br label LBL_38\n LBL_38:\n %sv_1.6.reload = load i64, i64* %sv_1.6.reg2mem\n %sv_2.14.reload = load i64, i64* %sv_2.14.reg2mem\n %71 = icmp eq i64 %sv_2.14.reload, 0\n br i1 %71, label LBL_40, label LBL_39\n LBL_39:\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %72 = inttoptr i64 %sv_0.14.reload to i8*\n store i8 0, i8* %72, align 1\n br label LBL_40\n LBL_40:\n %73 = add i64 %sv_1.6.reload, 1\n %74 = icmp ugt i64 %73, %arg2\n %75 = icmp eq i1 %74, false\n %storemerge = select i1 %75, i64 0, i64 %73\n ret i64 %storemerge\n\n uselistorder i64 %73, { 1, 0 }\n uselistorder i64 %sv_2.12.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.5.reload, { 1, 0 }\n uselistorder i64 %sv_0.12.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_2.10.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.4.reload, { 1, 0 }\n uselistorder i64 %sv_0.10.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_2.8.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.3.reload, { 1, 0 }\n uselistorder i64 %sv_0.8.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_2.6.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.2.reload, { 1, 0 }\n uselistorder i64 %sv_0.6.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_2.3.reload, { 1, 2, 0, 3, 4 }\n uselistorder i64 %sv_1.1.reload, { 1, 0, 2 }\n uselistorder i64 %sv_0.3.reload, { 4, 3, 1, 0, 6, 5, 2 }\n uselistorder i64 %sv_2.1.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %sv_0.1.reload, { 3, 2, 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %sv_2.8.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_1.3.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.8.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8* %sv_3.0.ph.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_2.14.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.14.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 -1, { 2, 3, 4, 0, 1, 5, 6, 7 }\n uselistorder i64 1, { 3, 4, 5, 2, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 18, 1 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i32* %arg4, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 2, 3, 5, 4, 6, 0 }\n uselistorder i64 %arg2, { 1, 3, 2, 0 }\n uselistorder label LBL_38, { 1, 0 }\n uselistorder label LBL_35, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ov7670_enum_framesizes_3938", "fun_name": "ov7670_enum_framesizes", "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_0.14.reg2mem = alloca i32\n %storemerge27.reg2mem = alloca i32\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 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %8, label LBL_9, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = trunc i64 %1 to i32\n %11 = add i64 %5, 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 i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = add i64 %3, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %storemerge27.reg2mem\n store i32 -1, 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 %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %20 = sext i32 %storemerge27.reload to i64\n %21 = mul i64 %20, 8\n %22 = add i64 %21, %13\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp ult i32 %24, %16\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_8, label LBL_4\n LBL_4:\n %26 = load i32, i32* %19, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = add i64 %22, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp ult i32 %30, %26\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_8, label LBL_6\n LBL_6:\n %32 = add i32 %sv_0.14.reload, 1\n %33 = icmp eq i32 %32, %10\n %34 = icmp eq i1 %33, false\n store i32 %32, i32* %sv_0.0.reg2mem\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %35 = inttoptr i64 %22 to i32*\n %36 = add i64 %9, 8\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n %38 = load i32, i32* %35, align 4\n %39 = add i64 %9, 12\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %22, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %9, 16\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %46 = add nuw i32 %storemerge27.reload, 1\n %47 = icmp ugt i32 %7, %46\n store i32 %46, i32* %storemerge27.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %47, label LBL_2, 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.14.reload, { 2, 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder i32 0, { 2, 0, 3, 1 }\n uselistorder label LBL_9, { 0, 2, 1 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__ext4_journal_stop_5491", "fun_name": "__ext4_journal_stop", "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.shrunk.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 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 = call i64 @FUNC(i64 %2)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_2:\n %8 = trunc i64 %1 to i32\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 %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 %2)\n %15 = icmp eq i32 %8, 0\n %16 = trunc i64 %14 to i32\n %spec.select3 = select i1 %15, i32 %16, i32 %8\n store i32 %spec.select3, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_4:\n %17 = inttoptr i64 %11 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 %2)\n %22 = icmp eq i32 %8, 0\n %23 = icmp eq i1 %22, false\n %24 = trunc i64 %21 to i32\n %spec.select = select i1 %23, i32 %8, i32 %24\n %25 = icmp eq i32 %spec.select, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = trunc i64 %arg2 to i32\n %27 = ptrtoint i8* %arg1 to i64\n %28 = call i64 @FUNC(i64 %20, i64 %27, i32 %26, i32 %spec.select)\n store i32 %spec.select, 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 %8, { 2, 0, 3, 1 }\n uselistorder i64 %2, { 1, 3, 2, 0, 4 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64 (i64)* @jbd2_journal_stop, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 4, 1, 5 }\n uselistorder label LBL_6, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_cox_14971", "fun_name": "get_cox", "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 = load i64, i64* %0\n %rsi = 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 = sub i64 %6, %3\n %8 = icmp sgt i64 %7, 4\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = call i64 @FUNC(i64 %3)\n %11 = trunc i64 %10 to i32\n %12 = add i32 %11, 1\n %13 = bitcast i64* %arg2 to i32*\n store i32 %12, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %3)\n %15 = trunc i64 %14 to i32\n %16 = add i32 %15, 2\n %17 = add i64 %9, 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 = add i32 %20, 2\n %22 = add i64 %9, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %3)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %9, 12\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = icmp eq i32 %25, 0\n br i1 %28, label LBL_3, label LBL_2\n LBL_2:\n %29 = add i64 %3, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = and i64 %24, 4294967295\n %33 = call i64 @FUNC(i64 %31, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 %3)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %9, 16\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = add i64 %9, 20\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = urem i32 %40, 2\n %42 = icmp eq i32 %41, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %42, label LBL_7, label LBL_4\n LBL_4:\n %43 = bitcast i64* %rsi to i32*\n %44 = load i32, i32* %43, align 8\n %45 = icmp eq i32 %44, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %45, label LBL_7, label LBL_5\n LBL_5:\n %46 = zext i32 %44 to i64\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %47 = call i64 @FUNC(i64 %3)\n %48 = add i32 %storemerge12.reload, 1\n %49 = sext i32 %48 to i64\n %50 = icmp slt i64 %49, %46\n store i32 %48, i32* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %50, 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 i64 %3, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @bytestream_get_byte, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_int2flt_15456", "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 4202524 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": "1" }, { "dataset": "CompRealVul", "file": "amdgpu_ctx_get_fence_18394", "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 %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 %3, %2\n %5 = add i64 %2, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = inttoptr i64 %4 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp ugt i64 %8, %arg3\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %5)\n store i64 -22, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %11 = add i64 %arg3, 16\n %12 = icmp ult i64 %11, %8\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 %5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = add i64 %4, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = mul i64 %arg3, 8\n %19 = and i64 %18, 120\n %20 = add i64 %17, %19\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 %5)\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, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 2, 1, 0 }\n uselistorder i64 %arg3, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_cleanup_queue_17874", "fun_name": "blk_cleanup_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 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %arg1, 16\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %1 to i32\n %10 = add i32 %9, 1\n %11 = inttoptr i64 %arg1 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i64 @FUNC(i64 1, i64 %arg1)\n %13 = call i64 @FUNC(i64 2, i64 %arg1)\n %14 = call i64 @FUNC(i64 3, i64 %arg1)\n %15 = call i64 @FUNC(i64 4, i64 %arg1)\n %16 = call i64 @FUNC(i64 %4)\n %17 = call i64 @FUNC(i64 %5)\n %18 = add i64 %arg1, 24\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_2, label LBL_1\n LBL_1:\n %22 = call i64 @FUNC(i64 %arg1)\n %23 = call i64 @FUNC(i64 %4)\n br label LBL_3\n LBL_2:\n %24 = call i64 @FUNC(i64 %4)\n %25 = call i64 @FUNC(i64 %arg1, i64 1)\n br label LBL_3\n LBL_3:\n %26 = call i64 @FUNC(i64 5, i64 %arg1)\n %27 = call i64 @FUNC(i64 %4)\n %28 = add i64 %arg1, 32\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i64 %arg1)\n %31 = load i64, i64* %19, align 8\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_5, label LBL_4\n LBL_4:\n %33 = call i64 @FUNC(i64 %arg1)\n br label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 %4)\n %35 = load i64, i64* %3, align 8\n %36 = add i64 %arg1, 40\n %37 = icmp eq i64 %35, %36\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n store i64 %36, i64* %3, align 8\n br label LBL_7\n LBL_7:\n %38 = call i64 @FUNC(i64 %4)\n %39 = call i64 @FUNC(i64 %arg1)\n ret i64 %39\n\n uselistorder i64 %4, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64* %3, { 1, 0, 2 }\n uselistorder i64 (i64)* @spin_unlock_irq, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @queue_flag_set, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @spin_lock_irq, { 3, 2, 1, 0 }\n uselistorder i32 1, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 2, 5, 4, 3, 6, 8, 7, 12, 11, 10, 9, 14, 13, 15, 16 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_arm_shift_im_18623", "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 i32 32, { 5, 0, 1, 2, 3, 4 }\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, 8, 9, 10, 4, 11, 12, 13, 3, 16, 17, 18, 19, 1, 0, 14, 15, 2, 20, 7, 21, 22, 23, 24 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 1, 12, 13, 14, 15 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 1, { 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": "1" }, { "dataset": "CompRealVul", "file": "glob_url_4699", "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* @calloc(i32 280, i32 1)\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 i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cp2112_gpio_direction_input_11667", "fun_name": "cp2112_gpio_direction_input", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.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 = 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 = call i64 @FUNC(i64 %3, i64 0, i64 %6, i64 3, i64 1, i64 1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 3\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %10)\n store i32 %10, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_2:\n %13 = add i64 %6, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = trunc i64 %arg2 to i32\n %17 = urem i32 %16, 32\n %18 = icmp eq i32 %17, 0\n %19 = shl i32 1, %17\n %phitmp = xor i32 %19, 255\n %storemerge2 = select i1 %18, i32 254, i32 %phitmp\n %20 = trunc i32 %storemerge2 to i8\n %21 = and i8 %15, %20\n store i8 %21, i8* %14, align 1\n %22 = add i64 %6, 2\n %23 = inttoptr i64 %22 to i8*\n store i8 0, i8* %23, align 1\n %24 = call i64 @FUNC(i64 %3, i64 0, i64 %6, i64 3, i64 1, i64 2)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i32 %25)\n store i32 %25, 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 %29 = call i64 @FUNC(i64 %7)\n %30 = icmp eq i32 %sv_0.0.reload, 0\n %31 = icmp slt i32 %sv_0.0.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 i32 %sv_0.0.reload to i64\n %storemerge = select i1 %34, i64 4294967291, i64 %35\n ret i64 %storemerge\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 0, 3, 4 }\n uselistorder i64 (i64, i8*, i32)* @hid_err, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @hid_hw_raw_request, { 1, 0 }\n uselistorder i64 1, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "InitPSDInfo_8070", "fun_name": "InitPSDInfo", "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 %.reg2mem = alloca i32\n %.pre2.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i32* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %5, align 4\n %6 = trunc i64 %1 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 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = add i64 %2, 12\n %15 = inttoptr i64 %14 to i32*\n store i32 10, i32* %15, align 4\n %16 = add i64 %4, 20\n %17 = call i64 @FUNC(i64 %4, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_2, label LBL_1\n LBL_1:\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 2, i32* %21, align 4\n store i32* %21, i32** %.pre2.pre-phi.reg2mem\n br label LBL_7\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, 1\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n store i32 2, i32* %15, align 4\n %27 = add i64 %2, 16\n %28 = inttoptr i64 %27 to i32*\n store i32 2, i32* %28, align 4\n store i32* %28, i32** %.pre2.pre-phi.reg2mem\n br label LBL_7\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 = icmp eq i32 %31, 2\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i32*\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n store i32 4, i32* %34, align 4\n store i32* %34, i32** %.pre2.pre-phi.reg2mem\n br label LBL_7\n LBL_6:\n store i32 5, i32* %34, align 4\n store i32* %34, i32** %.pre2.pre-phi.reg2mem\n br label LBL_7\n LBL_7:\n %.pre2.pre-phi.reload = load i32*, i32** %.pre2.pre-phi.reg2mem\n %35 = add i64 %4, 16\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 %.pre4 = load i32, i32* %.pre2.pre-phi.reload, align 4\n store i32 %.pre4, i32* %.reg2mem\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = add i32 %.pre4, -1\n store i32 %40, i32* %.pre2.pre-phi.reload, align 4\n store i32 %40, i32* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i32, i32* %.reg2mem\n %41 = add i64 %2, 20\n %42 = inttoptr i64 %41 to i32*\n store i32 %.reload, i32* %42, align 4\n %43 = load i32, i32* %36, align 4\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_11, label LBL_10\n LBL_10:\n %45 = add i32 %.reload, -1\n store i32 %45, i32* %42, align 4\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 %.pre4, { 1, 0 }\n uselistorder i32* %.pre2.pre-phi.reload, { 1, 0 }\n uselistorder i32* %34, { 1, 3, 0, 2 }\n uselistorder i64 %4, { 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 0, 3, 4, 2, 1, 5, 6, 7 }\n uselistorder i32** %.pre2.pre-phi.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2x0_class_init_3452", "fun_name": "l2x0_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 %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 4198669, i64* %7, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_mountpoint_13829", "fun_name": "check_mountpoint", "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 = load i32, i32* %0\n %sv_0 = alloca i64, align 8\n %3 = bitcast i64* %sv_0 to %stat*\n %4 = call i32 @stat(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), %stat* nonnull %3)\n %5 = icmp eq i32 %4, 0\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 = call i8* @strerror(i32 %7)\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %10 = inttoptr i64 %arg1 to i8*\n %11 = inttoptr i64 %arg2 to i8*\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i8* %10, i8* %11, i8* %8)\n store i64 64, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %13 = and i32 %2, 61440\n %14 = icmp eq i32 %13, 16384\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %16 = inttoptr i64 %arg1 to i8*\n %17 = inttoptr i64 %arg2 to i8*\n %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i8* %16, i8* %17)\n store i64 64, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %19 = call i32 @getuid()\n %20 = icmp eq i32 %19, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_10, label LBL_5\n LBL_5:\n %21 = call i32 @geteuid()\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_10\n LBL_6:\n %23 = call i32 @getuid()\n %24 = icmp eq i32 %1, %23\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %26 = inttoptr i64 %arg1 to i8*\n %27 = inttoptr i64 %arg2 to i8*\n %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* %26, i8* %27)\n store i64 64, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %29 = and i32 %2, 448\n %30 = icmp eq i32 %29, 448\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %32 = inttoptr i64 %arg1 to i8*\n %33 = inttoptr i64 %arg2 to i8*\n %34 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i8* %32, i8* %33)\n store i64 64, 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, 7, 1, 6, 3, 2, 5, 4 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i32 ()* @getuid, { 1, 0 }\n uselistorder i64 %arg2, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 1, 0 }\n uselistorder label LBL_10, { 3, 0, 4, 2, 1, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_loopback_18473", "fun_name": "do_loopback", "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.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\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 %3 = ptrtoint i64* %sv_2 to i64\n store i64 %3, i64* %sv_2, align 8\n %4 = icmp eq i64 %arg2, 0\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_17, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i8\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_2, label LBL_17\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg2, i64 3, i64* nonnull %sv_1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %8, i64* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_3, label LBL_17\n LBL_3:\n %11 = call i64 @FUNC(i64* nonnull %sv_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 4294967274, i64* %sv_0.1.reg2mem\n br i1 %14, label LBL_16, label LBL_4\n LBL_4:\n %15 = ptrtoint i64* %arg1 to i64\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 %16, i64* %sv_0.1.reg2mem\n br i1 %19, label LBL_16, label LBL_5\n LBL_5:\n %20 = load i64, i64* %sv_1, align 8\n %21 = call i64 @FUNC(i64 %20)\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 i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_15, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %21)\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_15, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %21)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_15, label LBL_8\n LBL_8:\n %33 = icmp eq i32 %arg3, 0\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n %34 = call i64 @FUNC(i64 %21, i64 %2, i64 0)\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_10:\n %35 = call i64 @FUNC(i64 %21, i64 %2, i64 0)\n store i64 %35, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %36 = call i64 @FUNC(i64 %storemerge.reload)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_13, label LBL_12\n LBL_12:\n %39 = call i64 @FUNC(i64 %storemerge.reload)\n store i64 %39, i64* %sv_0.1.reg2mem\n br label LBL_16\n LBL_13:\n %40 = call i64 @FUNC(i64 %storemerge.reload, i64 %15)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n store i64 %40, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_15, label LBL_14\n LBL_14:\n %43 = call i64 @FUNC(i64* nonnull @gv_0)\n %44 = call i64 @FUNC(i64 %storemerge.reload, i64 0, i64* nonnull %sv_2)\n %45 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %40, 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 %46 = call i64 @FUNC(i64 %15)\n %47 = call i64 @FUNC(i64* nonnull %sv_2)\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 %48 = call i64 @FUNC(i64* nonnull %sv_1)\n store i64 %sv_0.1.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_17\n LBL_17:\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 %storemerge.reload, { 2, 1, 3, 0 }\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 3, 1, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @check_mnt, { 1, 0 }\n uselistorder i64 (i64)* @real_mount, { 1, 0 }\n uselistorder i64 4294967274, { 3, 4, 5, 2, 1, 0, 6 }\n uselistorder label LBL_17, { 3, 0, 2, 1 }\n uselistorder label LBL_16, { 2, 3, 0, 1 }\n uselistorder label LBL_15, { 4, 0, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "update_write_brush_7354", "fun_name": "update_write_brush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %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 i32, align 4\n %3 = urem i8 %arg3, 2\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = urem i64 %1, 256\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n br label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = and i8 %arg3, 2\n %9 = icmp eq i8 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = add i64 %7, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i64\n %14 = call i64 @FUNC(i64 %2, i64 %13)\n br label LBL_4\n LBL_4:\n %15 = and i8 %arg3, 4\n %16 = icmp eq i8 %15, 0\n %.pre = add i64 %7, 2\n %.pre2 = inttoptr i64 %.pre to i8*\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = load i8, i8* %.pre2, align 1\n %18 = zext i8 %17 to i64\n %19 = call i64 @FUNC(i64 %2, i64 %18)\n br label LBL_6\n LBL_6:\n %20 = load i8, i8* %.pre2, align 1\n %21 = and i8 %20, 32\n %22 = icmp eq i8 %21, 0\n br i1 %22, label LBL_10, label LBL_7\n LBL_7:\n %23 = add i64 %7, 4\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = add i64 %7, 3\n %27 = inttoptr i64 %26 to i8*\n store i8 %25, i8* %27, align 1\n %28 = load i8, i8* %.pre2, align 1\n %29 = zext i8 %28 to i64\n %30 = bitcast i32* %sv_0 to i64*\n %31 = call i64 @FUNC(i64 %29, i64* nonnull %30)\n %32 = trunc i64 %31 to i8\n %33 = add i64 %7, 5\n %34 = inttoptr i64 %33 to i8*\n store i8 %32, i8* %34, align 1\n %35 = load i32, i32* %sv_0, align 4\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %37, label LBL_8, label LBL_14\n LBL_8:\n %38 = icmp eq i8 %32, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n store i8 1, i8* %34, align 1\n br label LBL_10\n LBL_10:\n %40 = and i8 %arg3, 8\n %41 = icmp eq i8 %40, 0\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = add i64 %7, 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 = call i64 @FUNC(i64 %2, i64 %45)\n br label LBL_12\n LBL_12:\n %47 = and i8 %arg3, 16\n %48 = icmp eq i8 %47, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %48, label LBL_14, label LBL_13\n LBL_13:\n %49 = add i64 %7, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %7, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 %51, i64* %53, align 8\n %54 = add i64 %51, 7\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = zext i8 %56 to i64\n %58 = call i64 @FUNC(i64 %2, i64 %57)\n %59 = load i64, i64* %53, align 8\n %60 = add i64 %59, 6\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = zext i8 %62 to i64\n %64 = call i64 @FUNC(i64 %2, i64 %63)\n %65 = load i64, i64* %53, align 8\n %66 = add i64 %65, 5\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = zext i8 %68 to i64\n %70 = call i64 @FUNC(i64 %2, i64 %69)\n %71 = load i64, i64* %53, align 8\n %72 = add i64 %71, 4\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = zext i8 %74 to i64\n %76 = call i64 @FUNC(i64 %2, i64 %75)\n %77 = load i64, i64* %53, align 8\n %78 = add i64 %77, 3\n %79 = inttoptr i64 %78 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = zext i8 %80 to i64\n %82 = call i64 @FUNC(i64 %2, i64 %81)\n %83 = load i64, i64* %53, align 8\n %84 = add i64 %83, 2\n %85 = inttoptr i64 %84 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = zext i8 %86 to i64\n %88 = call i64 @FUNC(i64 %2, i64 %87)\n %89 = load i64, i64* %53, align 8\n %90 = add i64 %89, 1\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = zext i8 %92 to i64\n %94 = call i64 @FUNC(i64 %2, i64 %93)\n %95 = load i64, i64* %53, align 8\n %96 = add i64 %7, 3\n %97 = inttoptr i64 %96 to i8*\n %98 = load i8, i8* %97, align 1\n %99 = inttoptr i64 %95 to i8*\n store i8 %98, i8* %99, align 1\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 %7, { 4, 6, 5, 3, 2, 7, 8, 0, 1 }\n uselistorder i64 %2, { 4, 5, 6, 7, 8, 9, 10, 3, 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64)* @Stream_Write_UINT8, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 0, 1, 6, 2, 3, 4, 5 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i8 %arg3, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tg3_get_wol_8184", "fun_name": "tg3_get_wol", "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, 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 = inttoptr i64 %1 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 br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = bitcast i64* %arg2 to i32*\n store i32 4, i32* %10, align 4\n br label LBL_4\n LBL_3:\n %11 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %11, align 4\n br label LBL_4\n LBL_4:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = add i64 %12, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %1, i64 2)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_7, label LBL_5\n LBL_5:\n %18 = inttoptr i64 %1 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 br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n store i32 4, i32* %14, align 4\n br label LBL_7\n LBL_7:\n %23 = add i64 %12, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = call i64* @memset(i64* %24, i32 0, i32 32)\n %26 = ptrtoint i64* %25 to i64\n ret i64 %26\n\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @device_can_wakeup, { 1, 0 }\n uselistorder i64 (i64, i64)* @tg3_flag, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64* %arg2, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_seq_oss_open_7551", "fun_name": "snd_seq_oss_open", "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 %rsi.2.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.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 = call i64 @FUNC(i64 64, i64 0)\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 ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = inttoptr i64 %5 to i32*\n %11 = call i64 @FUNC(i64 %5, i64 0, i64 %3, i64 %4, i64 %2, i64 %1)\n %12 = load i32, i32* @gv_1, align 4\n %13 = add i64 %5, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %5, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 -1, i32* %16, align 4\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 -1, i32* %18, align 4\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %19 = sext i32 %storemerge4.reload to i64\n %20 = mul i64 %19, 8\n %21 = add i64 %20, ptrtoint (i64* @gv_2 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 br i1 %24, label LBL_6, label LBL_4\n LBL_4:\n %25 = add nuw i32 %storemerge4.reload, 1\n %26 = icmp ult i32 %25, 16\n store i32 %25, i32* %storemerge4.reg2mem\n br i1 %26, label LBL_3, label LBL_5\n LBL_5:\n %27 = zext i32 %25 to i64\n %28 = add i64 %5, 20\n %29 = inttoptr i64 %28 to i32*\n store i32 %25, i32* %29, align 4\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 %27, i64 %4, i64 %2, i64 %1)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_22\n LBL_6:\n %31 = add i64 %5, 20\n %32 = inttoptr i64 %31 to i32*\n store i32 %storemerge4.reload, i32* %32, align 4\n %33 = call i64 @FUNC(i64 %5)\n %34 = call i64 @FUNC(i64 %5)\n %35 = add i64 %5, 32\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 br i1 %39, label LBL_8, label LBL_7\n LBL_7:\n %40 = add i64 %5, 36\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_8, label LBL_22\n LBL_8:\n %45 = zext i32 %storemerge4.reload to i64\n %46 = call i64 @FUNC(i64 ptrtoint ([17 x i8]* @gv_4 to i64), i64 0, i64 %45, i64 %4, i64 %2, i64 %1)\n %47 = call i64 @FUNC(i64 %5)\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_10, label LBL_9\n LBL_9:\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 %45, i64 %4, i64 %2, i64 %1)\n store i64 %47, i64* %sv_0.0.reg2mem\n br label LBL_22\n LBL_10:\n %52 = call i64 @FUNC(i64 ptrtoint ([16 x i8]* @gv_6 to i64), i64 0, i64 %45, i64 %4, i64 %2, i64 %1)\n %53 = call i64 @FUNC(i64 %5)\n %54 = trunc i64 %53 to i32\n %55 = icmp slt i32 %54, 0\n store i64 %53, i64* %sv_0.0.reg2mem\n br i1 %55, label LBL_22, label LBL_11\n LBL_11:\n %56 = load i32, i32* %14, align 4\n store i32 %56, i32* %10, align 4\n %57 = load i32, i32* %16, align 4\n %58 = add i64 %5, 4\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = trunc i64 %arg2 to i32\n %61 = add i64 %5, 24\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = call i64 @FUNC(i64 %9)\n %64 = trunc i64 %63 to i32\n %65 = add i64 %5, 28\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = call i64 @FUNC(i64 ptrtoint ([23 x i8]* @gv_7 to i64), i64 0, i64 %5, i64 %4, i64 %2, i64 %1)\n %68 = load i32, i32* %66, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %69)\n %71 = trunc i64 %70 to i32\n %72 = icmp eq i32 %71, 0\n store i64 0, i64* %rsi.0.reg2mem\n br i1 %72, label LBL_13, label LBL_12\n LBL_12:\n %73 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4\n %74 = zext i32 %73 to i64\n %75 = call i64 @FUNC(i64 %5, i64 %74)\n %76 = add i64 %5, 40\n %77 = inttoptr i64 %76 to i64*\n store i64 %75, i64* %77, align 8\n %78 = icmp eq i64 %75, 0\n %79 = icmp eq i1 %78, false\n store i64 %74, i64* %rsi.0.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %79, label LBL_13, label LBL_22\n LBL_13:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %80 = call i64 @FUNC(i64 ptrtoint ([24 x i8]* @gv_8 to i64), i64 %rsi.0.reload, i64 %5, i64 %4, i64 %2, i64 %1)\n %81 = load i32, i32* %66, align 4\n %82 = zext i32 %81 to i64\n %83 = call i64 @FUNC(i64 %82)\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n br i1 %85, label LBL_15, label LBL_14\n LBL_14:\n %86 = load i32, i32* @gv_9, align 4\n %87 = zext i32 %86 to i64\n %88 = call i64 @FUNC(i64 %5, i64 %87)\n %89 = add i64 %5, 48\n %90 = inttoptr i64 %89 to i64*\n store i64 %88, i64* %90, align 8\n %91 = icmp eq i64 %88, 0\n %92 = icmp eq i1 %91, false\n store i64 %87, i64* %rsi.1.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %92, label LBL_15, label LBL_22\n LBL_15:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %93 = call i64 @FUNC(i64 ptrtoint ([18 x i8]* @gv_10 to i64), i64 %rsi.1.reload, i64 %5, i64 %4, i64 %2, i64 %1)\n %94 = call i64 @FUNC(i64 %5)\n %95 = add i64 %5, 56\n %96 = inttoptr i64 %95 to i64*\n store i64 %94, i64* %96, align 8\n %97 = icmp eq i64 %94, 0\n %98 = icmp eq i1 %97, false\n br i1 %98, label LBL_17, label LBL_16\n LBL_16:\n %99 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_11, i64 0, i64 0), i64 %rsi.1.reload, i64 %5, i64 %4, i64 %2, i64 %1)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_22\n LBL_17:\n %100 = call i64 @FUNC(i64 ptrtoint ([19 x i8]* @gv_12 to i64), i64 %rsi.1.reload, i64 %5, i64 %4, i64 %2, i64 %1)\n store i64 %5, i64* %arg1, align 8\n %101 = icmp eq i32 %60, 1\n %102 = icmp eq i1 %101, false\n br i1 %102, label LBL_19, label LBL_18\n LBL_18:\n %103 = call i64 @FUNC(i64 %5)\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n br label LBL_21\n LBL_19:\n %104 = load i32, i32* %66, align 4\n %105 = zext i32 %104 to i64\n %106 = call i64 @FUNC(i64 %105)\n %107 = trunc i64 %106 to i32\n %108 = icmp eq i32 %107, 0\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n br i1 %108, label LBL_21, label LBL_20\n LBL_20:\n %109 = call i64 @FUNC(i64 %5, i64 2)\n store i64 2, i64* %rsi.2.reg2mem\n br label LBL_21\n LBL_21:\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %110 = load i32, i32* %32, align 4\n %111 = sext i32 %110 to i64\n %112 = mul i64 %111, 8\n %113 = add i64 %112, ptrtoint (i64* @gv_2 to i64)\n %114 = inttoptr i64 %113 to i64*\n store i64 %5, i64* %114, align 8\n store i32 ptrtoint (i32* @gv_13 to i32), i32* bitcast (i64* @gv_14 to i32*), align 8\n %115 = call i64 @FUNC(i64 ptrtoint ([11 x i8]* @gv_15 to i64), i64 %rsi.2.reload, i64 %5, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_22:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %116 = add i64 %5, 48\n %117 = inttoptr i64 %116 to i64*\n %118 = load i64, i64* %117, align 8\n %119 = call i64 @FUNC(i64 %118)\n %120 = add i64 %5, 40\n %121 = inttoptr i64 %120 to i64*\n %122 = load i64, i64* %121, align 8\n %123 = call i64 @FUNC(i64 %122)\n %124 = call i64 @FUNC(i64 %5)\n %125 = call i64 @FUNC(i64 %5)\n %126 = call i64 @FUNC(i64 %5)\n %127 = load i32, i32* %18, align 4\n %128 = zext i32 %127 to i64\n %129 = call i64 @FUNC(i64 %128)\n %130 = call i64 @FUNC(i64 %5)\n %131 = and i64 %sv_0.0.reload, 4294967295\n store i64 %131, 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 %rsi.1.reload, { 1, 0, 4, 3, 2 }\n uselistorder i64 %45, { 2, 1, 0 }\n uselistorder i32 %25, { 2, 1, 0, 3 }\n uselistorder i32 %storemerge4.reload, { 2, 3, 0, 1 }\n uselistorder i64 %5, { 26, 27, 28, 29, 30, 31, 3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 32, 33, 34, 35, 36, 37, 38 }\n uselistorder i64 %4, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 }\n uselistorder i64 %2, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 }\n uselistorder i64 %1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.2.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 1, 2, 7, 5, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @is_read_mode, { 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @debug_printk, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @snd_printk, { 3, 2, 1, 0 }\n uselistorder label LBL_22, { 4, 0, 1, 3, 5, 2, 6 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_file_out_15234", "fun_name": "qemu_chr_open_file_out", "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 577, i64 438)\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 4294967295, i64 %10)\n store i64 %11, 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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "crypto_blkcipher_report_6079", "fun_name": "crypto_blkcipher_report", "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 store i64 7307213993350491234, i64* %sv_1, align 8\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n %3 = bitcast i64* %sv_0 to i8*\n %4 = bitcast i64* %arg2 to i8*\n %5 = select i1 %2, i8* %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)\n %6 = call i8* @strncpy(i8* nonnull %3, i8* %5, i32 16)\n %7 = call i64 @FUNC(i64 %0, i64 1, i64 44, 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 %storemerge1 = select i1 %10, i64 4294967206, i64 0\n ret i64 %storemerge1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_ack_events_9132", "fun_name": "vmxnet3_ack_events", "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 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i32 %2)\n %4 = trunc i64 %1 to i32\n %5 = sub i32 0, %2\n %6 = sub i32 %5, 1\n %7 = and i32 %4, %6\n store i32 %7, i32* bitcast ([23 x i8]* @gv_0 to i32*), align 16\n ret i64 ptrtoint ([23 x i8]* @gv_0 to i64)\n\n uselistorder [23 x i8]* @gv_0, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qxl_init_ramsize_3489", "fun_name": "qxl_init_ramsize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem23 = alloca i32\n %.pre-phi12.reg2mem = alloca i32*\n %.reg2mem21 = alloca i32\n %.reg2mem19 = alloca i32\n %.pre-phi8.reg2mem = alloca i32*\n %.reg2mem17 = alloca i32\n %.reg2mem15 = alloca i32\n %.pre-phi4.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 7\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = bitcast i64* %arg1 to i32*\n store i32 8, i32* %4, align 4\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = mul i32 %2, 1048576\n %7 = add i64 %5, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, 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 eq i32 %11, -1\n br i1 %12, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %.pre2 = add i64 %5, 12\n %.pre3 = inttoptr i64 %.pre2 to i32*\n %.pre13 = load i32, i32* %.pre3, align 4\n store i32 %.pre13, i32* %.reg2mem\n store i32* %.pre3, i32** %.pre-phi4.reg2mem\n store i32 %6, i32* %.reg2mem15\n br label LBL_5\n LBL_4:\n %13 = mul i32 %11, 1048576\n %14 = add i64 %5, 12\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %.pre = load i32, i32* %8, align 4\n store i32 %13, i32* %.reg2mem\n store i32* %15, i32** %.pre-phi4.reg2mem\n store i32 %.pre, i32* %.reg2mem15\n br label LBL_5\n LBL_5:\n %.reload16 = load i32, i32* %.reg2mem15\n %.pre-phi4.reload = load i32*, i32** %.pre-phi4.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %16 = mul i32 %.reload16, 2\n %17 = icmp ult i32 %.reload, %16\n br i1 %17, label LBL_6, label LBL_7\n LBL_6:\n store i32 %16, i32* %.pre-phi4.reload, align 4\n br label LBL_7\n LBL_7:\n %18 = add i64 %5, 16\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_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre5 = add i64 %5, 20\n %.pre7 = inttoptr i64 %.pre5 to i32*\n %.pr = load i32, i32* %.pre7, align 4\n store i32 %.pr, i32* %.reg2mem17\n store i32* %.pre7, i32** %.pre-phi8.reg2mem\n br label LBL_10\n LBL_9:\n %22 = mul i32 %20, 1048576\n %23 = add i64 %5, 20\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n store i32 %22, i32* %.reg2mem17\n store i32* %24, i32** %.pre-phi8.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi8.reload = load i32*, i32** %.pre-phi8.reg2mem\n %.reload18 = load i32, i32* %.reg2mem17\n %25 = icmp sgt i32 %.reload18, 4095\n store i32 %.reload18, i32* %.reg2mem19\n br i1 %25, label LBL_12, label LBL_11\n LBL_11:\n store i32 4096, i32* %.pre-phi8.reload, align 4\n store i32 4096, i32* %.reg2mem19\n br label LBL_12\n LBL_12:\n %26 = add i64 %5, 24\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, -1\n br i1 %29, label LBL_12.LBL_15_crit_edge, label LBL_14\n LBL_13:\n %.reload20 = load i32, i32* %.reg2mem19\n %.pre9 = add i64 %5, 28\n %.pre11 = inttoptr i64 %.pre9 to i32*\n %.pre14 = load i32, i32* %.pre11, align 4\n store i32 %.pre14, i32* %.reg2mem21\n store i32* %.pre11, i32** %.pre-phi12.reg2mem\n store i32 %.reload20, i32* %.reg2mem23\n br label LBL_15\n LBL_14:\n %30 = mul i32 %28, 1048576\n %31 = add i64 %5, 28\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %.pre1 = load i32, i32* %.pre-phi8.reload, align 4\n store i32 %30, i32* %.reg2mem21\n store i32* %32, i32** %.pre-phi12.reg2mem\n store i32 %.pre1, i32* %.reg2mem23\n br label LBL_15\n LBL_15:\n %.reload24 = load i32, i32* %.reg2mem23\n %.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem\n %.reload22 = load i32, i32* %.reg2mem21\n %33 = icmp ult i32 %.reload22, %.reload24\n br i1 %33, label LBL_16, label LBL_17\n LBL_16:\n store i32 %.reload24, i32* %.pre-phi12.reload, align 4\n br label LBL_17\n LBL_17:\n %34 = add i64 %5, 32\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 br i1 %38, label LBL_19, label LBL_18\n LBL_18:\n store i32 4096, i32* %.pre-phi8.reload, align 4\n store i32 4096, i32* %.pre-phi12.reload, align 4\n br label LBL_19\n LBL_19:\n %39 = load i32, i32* %8, align 4\n %40 = mul i32 %39, 2\n %41 = add i32 %40, -1\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %42)\n %44 = trunc i64 %43 to i32\n store i32 %44, i32* %8, align 4\n %45 = load i32, i32* %.pre-phi4.reload, align 4\n %46 = mul i32 %45, 2\n %47 = add i32 %46, -1\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = trunc i64 %49 to i32\n store i32 %50, i32* %.pre-phi4.reload, align 4\n %51 = load i32, i32* %.pre-phi8.reload, align 4\n %52 = mul i32 %51, 2\n %53 = add i32 %52, -1\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %54)\n %56 = trunc i64 %55 to i32\n store i32 %56, i32* %.pre-phi8.reload, align 4\n %57 = load i32, i32* %.pre-phi12.reload, align 4\n %58 = mul i32 %57, 2\n %59 = add i32 %58, -1\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* %.pre-phi12.reload, align 4\n ret i64 %61\n\n uselistorder i64 %61, { 1, 0 }\n uselistorder i32* %.pre-phi12.reload, { 1, 2, 0, 3 }\n uselistorder i32* %.pre-phi8.reload, { 2, 3, 1, 0, 4 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i32* %8, { 1, 2, 0, 3 }\n uselistorder i64 %5, { 3, 5, 0, 4, 7, 1, 6, 9, 2, 8, 10 }\n uselistorder i32* %.reg2mem19, { 0, 2, 1 }\n uselistorder i64 (i64)* @msb_mask, { 3, 2, 1, 0 }\n uselistorder i64 28, { 1, 0 }\n uselistorder i32 4096, { 1, 2, 0, 3 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 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": "0" }, { "dataset": "CompRealVul", "file": "rdpdr_send_client_announce_reply_10894", "fun_name": "rdpdr_send_client_announce_reply", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 %1, i64 12)\n %3 = call i64 @FUNC(i64 %2, i64 %arg3, i64 1)\n %4 = call i64 @FUNC(i64 %2, i64 %arg3, i64 1)\n %5 = call i64 @FUNC(i64 %2, i64 %arg3, i64 1)\n %6 = call i64 @FUNC(i64 %2, i64 %arg3, i64 5)\n %7 = load i32, i32* @gv_0, align 4\n %8 = call i64 @FUNC(i64 %2, i64 %arg3, i32 %7)\n %9 = call i64 @FUNC(i64 %2, i64 %arg3)\n %10 = load i32, i32* @gv_1, align 4\n %11 = call i64 @FUNC(i64 %2, i64 %arg3, i32 %10)\n ret i64 %11\n\n uselistorder i64 %2, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder i64 (i64, i64, i64)* @out_uint16_le, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "error_propagate_3179", "fun_name": "error_propagate", "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 = icmp eq i64 %arg2, 0\n %3 = icmp eq i64* %arg1, @gv_0\n %4 = icmp eq i1 %3, false\n %or.cond = or i1 %2, %4\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg2)\n store i64 %5, i64* %rax.1.reg2mem\n br label LBL_4\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = icmp eq i64* %arg1, null\n %spec.select = select i1 %7, i64 %1, i64 %6\n store i64 %spec.select, i64* %rax.1.reg2mem\n br i1 %2, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg2)\n store i64 %8, 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 i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %arg1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PruneLevel_9047", "fun_name": "PruneLevel", "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 %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, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %15, %18\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %arg1, i64 %arg2)\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* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_v6_send_synack_13466", "fun_name": "tcp_v6_send_synack", "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.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\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 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %3)\n %6 = icmp eq i64* %arg2, null\n %7 = icmp eq i1 %6, false\n store i64 %2, i64* %sv_1.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64 %1, i64 %0, i64 6)\n %9 = icmp eq i64 %8, 0\n store i64 %8, i64* %sv_1.0.reg2mem\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg5 to i64\n %11 = urem i64 %arg6, 256\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %12 = call i64 @FUNC(i64 %3, i64 %sv_1.0.reload, i64 %0, i64 %10, i64 %11)\n %13 = icmp eq i64 %12, 0\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_7, label LBL_3\n LBL_3:\n %14 = inttoptr i64 %5 to i32*\n %15 = add i64 %4, 4\n %16 = call i64 @FUNC(i64 %12, i64 %4, i64 %15)\n %17 = inttoptr i64 %15 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = bitcast i64* %arg3 to i32*\n store i32 %18, i32* %19, align 4\n %20 = load i32, i32* %14, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\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_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %24)\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %1, 4\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n br label LBL_6\n LBL_6:\n %31 = add i64 %5, 16\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\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 %36)\n %38 = zext i32 %33 to i64\n %39 = call i64 @FUNC(i64 %3, i64 %12, i64 %1, i64 %37, i64 %38)\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %40)\n %phitmp = and i64 %41, 4294967295\n store i64 %phitmp, 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 %4, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aux_init_mmio_2293", "fun_name": "aux_init_mmio", "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_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 ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %arg1, align 8\n ret i64 %2\n\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_root_4588", "fun_name": "init_root", "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 %0 = inttoptr i64 %arg1 to i8*\n %1 = icmp eq i64 %arg1, 0\n %2 = icmp eq i1 %1, false\n store i8* %0, i8** %sv_0.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n store i8* %3, 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 %4 = icmp eq i8* %sv_0.0.reload, null\n %5 = icmp eq i1 %4, false\n %spec.select = select i1 %5, i8* %sv_0.0.reload, i8* bitcast (i8** @gv_1 to i8*)\n %6 = call i8* @strdup(i8* %spec.select)\n %7 = icmp eq i8* %6, 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_7\n LBL_3:\n %9 = call i32 @strlen(i8* %6)\n %10 = sext i32 %9 to i64\n %11 = ptrtoint i8* %6 to i64\n %12 = add i64 %11, -1\n %13 = add i64 %12, %10\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 47\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %16, label LBL_7, label LBL_4\n LBL_4:\n %17 = call i32 @strlen(i8* %6)\n %18 = sext i32 %17 to i64\n %19 = add nsw i64 %18, 2\n %20 = call i64 @FUNC(i64 %11, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, -1\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = bitcast i8* %6 to i64*\n call void @free(i64* %24)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %25 = call i32 @strlen(i8* %6)\n %26 = sext i32 %25 to i64\n %27 = add i64 %26, %11\n %28 = inttoptr i64 %27 to i16*\n store i16 47, i16* %28, align 2\n store i64 %11, 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 %11, { 1, 2, 4, 0, 3 }\n uselistorder i8* %6, { 0, 1, 2, 4, 3, 5 }\n uselistorder i8* %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i32 1, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_7, { 1, 3, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_in_standby_l_10135", "fun_name": "do_in_standby_l", "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_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5)\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 br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = inttoptr i64 %10 to i64*\n call void @free(i64* %12)\n store i64 0, i64* %9, align 8\n br 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 ret i64 0\n\n uselistorder i64 %5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_adjust_special_7369", "fun_name": "do_adjust_special", "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 %.pre = ptrtoint i32* %arg1 to i64\n %.pre2 = add i64 %.pre, 4\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %.pre2 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 br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %.pre)\n br label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %.pre)\n %10 = inttoptr i64 %.pre2 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 4)\n %12 = ptrtoint i64* %11 to i64\n ret i64 %12\n\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "delete_path_7112", "fun_name": "delete_path", "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 = 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_2, label LBL_1\n LBL_1:\n %9 = load [11 x i8]*, [11 x i8]** @gv_0, align 8\n %10 = ptrtoint [11 x i8]* %9 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %10, i64 %4, i64 %2, i64 %1)\n store i64 400, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\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_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 400, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %17 = load i64, i64* @gv_3, align 8\n %18 = call i64 @FUNC(i64 %arg1, i64 %17)\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_8, 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, 20\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %arg1, i64 %17, i64 %4, i64 %2, i64 %1)\n store i64 404, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %27 = load i64, i64* @gv_3, align 8\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_5, i64 0, i64 0), i64 %arg1, i64 %27, i64 %4, i64 %2, i64 %1)\n store i64 403, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %29 = call i64 @FUNC(i64 %arg1)\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 %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, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 400, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_msg, { 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 4, 1, 0 }\n uselistorder i64 %arg1, { 4, 3, 2, 5, 1, 6, 0, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xfrm_dump_sa_done_6154", "fun_name": "xfrm_dump_sa_done", "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 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %0, 12\n %7 = call i64 @FUNC(i64 %6, i64 %1)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath9k_ps_wakeup_18325", "fun_name": "ath9k_ps_wakeup", "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 = load i64, i64* %0\n %4 = add i64 %2, 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 %2, 16\n %9 = call i64 @FUNC(i64 %8, i64 %3)\n %10 = trunc i64 %1 to i32\n %11 = add i32 %10, 1\n store i32 %11, i32* %arg1, align 4\n %12 = icmp eq i32 %10, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_1\n LBL_1:\n %14 = load i64, i64* %5, align 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i64 %14, i64 0)\n %18 = icmp eq i32 %16, 0\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %7)\n %20 = call i64 @FUNC(i64 %7)\n %21 = add i64 %7, 4\n %22 = inttoptr i64 %21 to i64*\n %23 = call i64* @memset(i64* %22, i32 0, i32 4)\n %24 = call i64 @FUNC(i64 %7)\n br label LBL_3\n LBL_3:\n %25 = call i64 @FUNC(i64 %8, i64 %3)\n ret i64 %25\n\n uselistorder i32 %10, { 1, 0 }\n uselistorder i64 %7, { 3, 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "smp_def_sign_3924", "fun_name": "smp_def_sign", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = urem i64 %arg3, 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %arg4 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = icmp ult i32 %3, 256\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([13 x i8], [13 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 = ptrtoint i64* %arg1 to i64\n %7 = call i64* @memset(i64* %arg2, i32 0, i32 24)\n %8 = add i64 %5, %arg3\n store i64 %8, i64* %arg2, align 8\n %9 = add i64 %6, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %5, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = add i64 %5, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %arg4, i64* %15, align 8\n ret i64 %5\n\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TimeCodeToString_8878", "fun_name": "TimeCodeToString", "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.13.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %storemerge15.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = bitcast i64* %arg2 to i8*\n store i8 0, i8* %1, align 1\n store i64 0, i64* %storemerge15.reg2mem\n store i32 28, i32* %sv_1.04.reg2mem\n store i64 %0, i64* %sv_0.13.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %storemerge15.reload = load i64, i64* %storemerge15.reg2mem\n %2 = and i32 %sv_1.04.reload, 60\n %3 = zext i32 %2 to i64\n %storemerge = lshr i64 %arg1, %3\n %4 = urem i64 %storemerge, 16\n %5 = inttoptr i64 %sv_0.13.reload to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = sext i32 %6 to i64\n %8 = sub nsw i64 256, %7\n %9 = call i64 @FUNC(i64 %sv_0.13.reload, i64 %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n %10 = add i64 %sv_0.13.reload, 1\n %11 = urem i64 %storemerge15.reload, 2\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i64 %storemerge15.reload, 7\n %or.cond = or i1 %13, %12\n store i64 %10, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %14 = add i64 %sv_0.13.reload, 2\n %15 = inttoptr i64 %10 to i8*\n store i8 58, i8* %15, align 1\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 %16 = add nsw i32 %sv_1.04.reload, -4\n %17 = inttoptr i64 %sv_0.0.reload to i8*\n store i8 0, i8* %17, align 1\n %18 = add nuw nsw i64 %storemerge15.reload, 1\n %exitcond = icmp eq i64 %18, 8\n store i64 %18, i64* %storemerge15.reg2mem\n store i32 %16, i32* %sv_1.04.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.13.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 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %storemerge15.reload, { 1, 0, 2 }\n uselistorder i64 %sv_0.13.reload, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_fill_buffer_2491", "fun_name": "qemu_fill_buffer", "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 %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 call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, 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_2\n LBL_2:\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 %10 = sub i32 %6, %9\n %11 = icmp slt i32 %10, 1\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\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 %9 to i64\n %16 = add i64 %14, %15\n %17 = inttoptr i64 %14 to i64*\n %18 = inttoptr i64 %16 to i64*\n %19 = call i64* @memmove(i64* %17, i64* %18, i32 %10)\n br label LBL_4\n LBL_4:\n store i32 0, i32* %8, align 4\n %20 = bitcast i64* %arg1 to i32*\n store i32 %10, i32* %20, align 4\n %21 = add i64 %2, 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 = icmp slt i32 %24, 1\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = bitcast i64* %rdi to i32*\n %27 = load i32, i32* %26, align 8\n %28 = add i32 %27, %24\n store i32 %28, i32* %20, align 4\n %29 = add i64 %2, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %sext = mul i64 %23, 4294967296\n %32 = ashr exact i64 %sext, 32\n %33 = add i64 %31, %32\n store i64 %33, i64* %30, align 8\n br label LBL_10\n LBL_6:\n %34 = icmp eq i32 %24, 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(i64 %2, i64 4294967291)\n br label LBL_10\n LBL_8:\n %37 = icmp eq i32 %24, -11\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = and i64 %23, 4294967295\n %39 = call i64 @FUNC(i64 %2, i64 %38)\n br label LBL_10\n LBL_10:\n %sext1 = mul i64 %23, 4294967296\n %40 = ashr exact i64 %sext1, 32\n ret i64 %40\n\n uselistorder i32 %24, { 1, 2, 0, 3 }\n uselistorder i64 %23, { 0, 2, 1, 3 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 4, 0, 5, 6 }\n uselistorder i64 (i64, i64)* @qemu_file_set_error, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_pgsql_get_result_info_10803", "fun_name": "php_pgsql_get_result_info", "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 @FUNC(i64 1, i64 4202514, i64* nonnull %sv_0)\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_7, label LBL_1\n LBL_1:\n %3 = load i64, i64* %sv_0, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %arg2 to i32\n %7 = icmp eq i32 %6, 3\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = icmp sgt i32 %6, 3\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_7, label LBL_3\n LBL_3:\n store i64 %5, i64* %rax.0.reg2mem\n switch i32 %6, label LBL_7 [\n i32 1, label LBL_4\n i32 2, label LBL_5\n ]\n LBL_4:\n %9 = call i64 @FUNC(i64 %5)\n %10 = trunc i64 %9 to i32\n %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %10)\n %12 = sext i32 %11 to i64\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %13 = call i64 @FUNC(i64 %5)\n %14 = trunc i64 %13 to i32\n %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %14)\n %16 = sext i32 %15 to i64\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %17 = call i64 @FUNC(i64 %5)\n %18 = inttoptr i64 %17 to i8*\n %19 = call i32 @atoi(i8* %18)\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %19)\n %21 = sext i32 %20 to i64\n store i64 %21, 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, { 4, 2, 3, 0, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4, 6 }\n uselistorder i32 (i8*, ...)* @printf, { 0, 2, 1 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), { 0, 2, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder label LBL_7, { 3, 4, 5, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m68k_cpu_realizefn_2060", "fun_name": "m68k_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 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 %1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "src_parser_trans_stage_1_2_3_7808", "fun_name": "src_parser_trans_stage_1_2_3", "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 0, i32* %sv_0, align 4\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 br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = and i64 %arg1, 4294967295\n %5 = zext i32 %1 to i64\n %6 = call i64 @FUNC(i32* nonnull %sv_0, i64 %5)\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 br i1 %12, label LBL_14, label LBL_15\n LBL_2:\n %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i8* %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_3:\n %.pre = load i32, i32* %sv_0, align 4\n %15 = sext i32 %.pre to i64\n %16 = call i64 @FUNC(i64 %15, i64 0)\n %sext3 = mul i64 %16, 72057594037927936\n %17 = ashr exact i64 %sext3, 56\n %18 = trunc i64 %17 to i32\n %19 = icmp sgt i32 %18, 47\n br i1 %19, label LBL_6, label LBL_4\n LBL_4:\n %20 = icmp slt i32 %18, 9\n br i1 %20, label LBL_12, label LBL_5\n LBL_5:\n %21 = add nsw i64 %17, 4294967287\n %22 = and i64 %21, 4294967295\n store i64 %22, i64* @0, align 8\n %trunc = trunc i64 %21 to i32\n switch i32 %trunc, label LBL_12 [\n i32 0, label LBL_7\n i32 1, label LBL_8\n i32 4, label LBL_8\n i32 23, label LBL_7\n i32 38, label LBL_11\n ]\n LBL_6:\n %23 = icmp eq i32 %18, 92\n br i1 %23, label LBL_9, label LBL_12\n LBL_7:\n %24 = call i64 @FUNC(i32* nonnull %sv_0, i64 32)\n br label LBL_10\n LBL_8:\n %25 = call i64 @FUNC(i32* nonnull %sv_0, i64 10)\n br label LBL_10\n LBL_9:\n %26 = call i64 @FUNC(i32* nonnull %sv_0, i64 92)\n br label LBL_10\n LBL_10:\n %27 = load i32, i32* %sv_0, align 4\n %28 = sext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28, i64 0)\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_3, label LBL_13\n LBL_11:\n %33 = call i64 @FUNC(i32* nonnull %sv_0, i64 47)\n br label LBL_10\n LBL_12:\n %34 = call i64 @FUNC(i32* nonnull %sv_0, i64 %4)\n %35 = call i64 @FUNC(i32* nonnull %sv_0, i64 %4)\n br label LBL_10\n LBL_13:\n %36 = call i64 @FUNC(i32* nonnull %sv_0, i64 %5)\n %37 = trunc i64 %36 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 br i1 %42, label LBL_14, label LBL_15\n LBL_14:\n %43 = load i32, i32* %sv_0, align 4\n %44 = sext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44, 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_3, label LBL_13\n LBL_15:\n %49 = call i64 @FUNC(i32* nonnull %sv_0, i64 %4)\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 %37, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32* %sv_0, { 4, 2, 5, 6, 7, 8, 3, 9, 10, 11, 0, 1, 12 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i32*, i64)* @p_buf_push_tmp_char, { 3, 0, 2, 1 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 (i32*, i64)* @p_buf_refill, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1, 3 }\n uselistorder i1 false, { 2, 5, 4, 3, 0, 1, 6 }\n uselistorder i32 0, { 2, 7, 8, 3, 4, 0, 1, 5, 6 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 2, 0, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "archive_write_set_bytes_per_block_8515", "fun_name": "archive_write_set_bytes_per_block", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n %3 = add i64 %0, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 %1, i32* %4, align 4\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "f2fs_put_super_13499", "fun_name": "f2fs_put_super", "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 %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0, i64 1)\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 %0, i64 1)\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 store i32 1, i32* %sv_1, align 4\n %11 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1)\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %0, i64 1)\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_4\n LBL_4:\n %16 = add i64 %0, 40\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_6, label LBL_5\n LBL_5:\n store i32 3, i32* %sv_0, align 4\n %21 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0)\n br label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %0)\n %23 = call i64 @FUNC(i64 %0, i64 1)\n %24 = call i64 @FUNC(i64 %0)\n %25 = call i64 @FUNC(i64 %0)\n %26 = call i64 @FUNC(i64 %0)\n %27 = add i64 %0, 48\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = add i64 %0, 56\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = call i64 @FUNC(i64 %0)\n %36 = call i64 @FUNC(i64 %0)\n %37 = add i64 %0, 64\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 store i64 0, i64* %arg1, align 8\n %42 = add i64 %0, 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_8, label LBL_7\n LBL_7:\n %46 = call i64 @FUNC(i64 %44)\n br label LBL_8\n LBL_8:\n %47 = add i64 %0, 80\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i64 %0)\n %52 = add i64 %0, 88\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 %0, 96\n store i64 0, i64* %indvars.iv4.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %57 = mul i64 %indvars.iv4.reload, 8\n %58 = add i64 %56, %57\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = call i64 @FUNC(i64 %60)\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 4\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_10, label LBL_9\n LBL_10:\n %62 = call i64 @FUNC(i64 %0)\n %63 = add i64 %0, 128\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 %64 = mul i64 %indvars.iv.reload, 8\n %65 = add i64 %63, %64\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = call i64 @FUNC(i64 %67)\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_12, label LBL_11\n LBL_12:\n %69 = call i64 @FUNC(i64 %0)\n ret i64 %69\n\n uselistorder i64 %0, { 5, 1, 6, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 3, 4, 22, 23, 24, 2, 25, 26, 27 }\n uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 3, 4, 2, 1, 0 }\n uselistorder i64 (i64)* @iput, { 1, 0 }\n uselistorder i64 (i64, i32*)* @write_checkpoint, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "user_reset_fdc_7227", "fun_name": "user_reset_fdc", "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 = 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_6\n LBL_1:\n %4 = trunc i64 %arg2 to i32\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 = load i32*, i32** @gv_0, align 8\n store i32 1, i32* %7, align 4\n br label LBL_3\n LBL_3:\n %8 = load i32*, i32** @gv_0, align 8\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n store i64 ptrtoint (i64* @gv_1 to i64), i64* @gv_2, align 8\n %11 = zext i8 %arg3 to i64\n %12 = call i64 @FUNC(i64 4198728, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, -4\n %15 = icmp eq i1 %14, false\n store i64 4294967292, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %16 = call i64 @FUNC()\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, 1, 2 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_nss_hash_5485", "fun_name": "init_nss_hash", "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 i32, align 4\n %sext = mul i64 %3, 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 = 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_6\n LBL_1:\n %11 = ptrtoint i64* %arg1 to i64\n store i32 1, i32* %sv_0, align 4\n %12 = call i64 @FUNC(i64 %8, i64 0)\n %13 = icmp eq 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()\n %16 = and i64 %15, 4294967295\n %17 = add i64 %11, 32\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, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %22 = load i64, i64* %7, align 8\n %23 = call i64 @FUNC(i64 %12, i64 %22, i64 3, i64 2, i32* nonnull %sv_0, i64 0)\n %24 = add i64 %11, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 %23, i64* %25, align 8\n %26 = icmp eq i64 %23, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = ptrtoint i32* %sv_0 to i64\n %29 = call i64 @FUNC()\n %30 = and i64 %29, 4294967295\n %31 = add i64 %11, 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, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 2, i64 %28, i64 0)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %36 = call i64 @FUNC(i64 %12)\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 %11, { 1, 2, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\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)* @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": "orderly_poweroff_9660", "fun_name": "orderly_poweroff", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = 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 i32\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 = load [9 x i8]*, [9 x i8]** @gv_0, align 8\n %5 = ptrtoint [9 x i8]* %4 to i64\n %6 = call i64 @FUNC(i64 0, i64 %5, i64* nonnull %sv_1)\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 = load [9 x i8]*, [9 x i8]** @gv_0, align 8\n %10 = ptrtoint [9 x i8]* %9 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %10, i64 %3, i64 %2, i64 %1)\n store i32 -12, i32* %sv_0.0.reg2mem\n store i64 %10, i64* %rdx.0.reg2mem\n store i64 ptrtoint ([17 x i8]* @gv_2 to i64), i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_2:\n %12 = inttoptr i64 %6 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %6, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_3, i64 0, i64 0), i64 0)\n %15 = icmp eq i64 %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 %6)\n store i32 -12, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rcx.0.reg2mem\n store i64 ptrtoint ([2 x i8*]* @gv_3 to i64), i64* %rdx.0.reg2mem\n store i64 %6, i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_4:\n %18 = call i64 @FUNC(i64 %14, i64 0, i64 4199080, i64 0)\n %19 = call i64 @FUNC(i64 %14, i64 0)\n %20 = trunc i64 %19 to i32\n store i32 %20, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rcx.0.reg2mem\n store i64 4199080, i64* %rdx.0.reg2mem\n store i64 0, i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %21 = icmp eq i32 %sv_0.0.reload, 0\n %22 = trunc i64 %arg1 to i8\n %23 = icmp eq i8 %22, 0\n %or.cond = or i1 %23, %21\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\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 %24 = inttoptr i64 %rsi.0.reload to i8*\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_4, i64 0, i64 0), i8* %24, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %26 = call i64 @FUNC()\n %27 = call i64 @FUNC()\n br label LBL_7\n LBL_7:\n %28 = zext i32 %sv_0.0.reload to i64\n ret i64 %28\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %6, { 0, 1, 3, 2, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 0, { 5, 0, 1, 2, 3, 4 }\n uselistorder [2 x i8*]* @gv_3, { 1, 0 }\n uselistorder i32 -12, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @printk, { 1, 0 }\n uselistorder [17 x i8]* @gv_2, { 1, 0 }\n uselistorder [9 x i8]* @gv_5, { 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 11, 4, 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_tsw1_10047", "fun_name": "decode_tsw1", "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.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i64\n %sv_2.15.reg2mem = alloca i32\n %sv_1.16.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext1 = mul i64 %arg3, 4294967296\n %sext2 = mul i64 %arg4, 4294967296\n %1 = ashr exact i64 %sext2, 32\n %sext3 = mul i64 %sext1, %1\n %2 = ashr exact i64 %sext3, 32\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 sle i64 %2, %.pre\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.16.reg2mem\n store i32 65536, i32* %sv_2.15.reg2mem\n store i64 %12, i64* %sv_0.14.reg2mem\n br label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = icmp sgt i32 %14, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_13\n LBL_4:\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %sv_2.15.reload = load i32, i32* %sv_2.15.reg2mem\n %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %16 = icmp eq i32 %sv_2.15.reload, 65536\n %17 = icmp eq i1 %16, false\n store i32 %sv_2.15.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.16.reload, i32* %sv_1.0.reg2mem\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 store i32 1, i32* %sv_2.0.reg2mem\n store i32 %19, i32* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %20 = sub i64 %11, %sv_0.14.reload\n %21 = icmp sgt i64 %20, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, 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 %22 = and i32 %sv_1.0.reload, %sv_2.0.reload\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_11, label LBL_8\n LBL_8:\n %24 = call i64 @FUNC(i64 %0)\n %25 = mul i64 %24, 2\n %26 = and i64 %25, 16382\n %27 = sub i64 %sv_0.14.reload, %10\n %28 = icmp slt i64 %27, %26\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_13, label LBL_9\n LBL_9:\n %29 = trunc i64 %24 to i32\n %30 = ashr i32 %29, 13\n %31 = mul i32 %30, 2\n %32 = add nsw i32 %31, 4\n %33 = sext i32 %32 to i64\n %34 = icmp slt i64 %20, %33\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_13, label LBL_10\n LBL_10:\n %35 = call i64 @FUNC(i64 %sv_0.14.reload, i64 %26, i32 %32)\n %36 = add i64 %sv_0.14.reload, %33\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %37 = add i64 %sv_0.14.reload, 1\n %38 = call i64 @FUNC(i64 %0)\n %39 = trunc i64 %38 to i8\n %40 = inttoptr i64 %sv_0.14.reload to i8*\n store i8 %39, i8* %40, align 1\n %41 = add i64 %sv_0.14.reload, 2\n %42 = call i64 @FUNC(i64 %0)\n %43 = trunc i64 %42 to i8\n %44 = inttoptr i64 %37 to i8*\n store i8 %43, i8* %44, align 1\n store i64 %41, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %45 = add i32 %.in.reload, -1\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %46 = mul i32 %sv_2.0.reload, 2\n %47 = icmp eq i32 %45, 0\n %48 = icmp eq i1 %47, false\n store i32 %45, i32* %.in.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.16.reg2mem\n store i32 %46, i32* %sv_2.15.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, 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 %26, { 1, 0 }\n uselistorder i64 %24, { 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.14.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.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.14.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 2, { 2, 0, 1 }\n uselistorder i64 1, { 4, 3, 5, 0, 1, 2 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 4, 5, 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": "request_frame_1095", "fun_name": "request_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 %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_1, label LBL_4\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 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 %4, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12, i64 4294967295)\n %14 = call i64 @FUNC(i64 %4, i64 %13)\n %15 = inttoptr i64 %10 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i64 %4, i64 0, i32 %16, i64 1)\n %18 = call i64 @FUNC(i64 %4)\n %19 = load i64, i64* %11, align 8\n %20 = call i64 @FUNC(i64 %19)\n store i64 0, i64* %11, 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* %11, { 1, 0, 2 }\n uselistorder i64 %4, { 2, 1, 0, 3, 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": "CompareOcspReqResp_6333", "fun_name": "CompareOcspReqResp", "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 i32\n %sv_0.3.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_1.07.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i64\n %rsi.013.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32* %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 i32 @puts(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_2:\n %6 = icmp eq i64* %arg2, null\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n %7 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n store i32 1, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_4:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %8, i64* %rsi.013.reg2mem\n br i1 %10, label LBL_11, label LBL_5\n LBL_5:\n %11 = add i64 %8, 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 %8, i64* %rsi.013.reg2mem\n br i1 %14, label LBL_11, label LBL_6\n LBL_6:\n %15 = add i64 %8, 16\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 %8, i64* %rsi.013.reg2mem\n br i1 %18, label LBL_11, label LBL_7\n LBL_7:\n %19 = sub i32 %9, %17\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %21 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))\n store i32 %19, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_9:\n %22 = ptrtoint i32* %arg1 to i64\n %23 = add i64 %22, 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 = inttoptr i64 %13 to i64*\n %28 = call i32 @memcmp(i64* %26, i64* %27, i32 %9)\n %29 = icmp eq i32 %28, 0\n store i64 %13, i64* %rsi.013.reg2mem\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0))\n store i32 %28, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_11:\n %rsi.013.reload = load i64, i64* %rsi.013.reg2mem\n %31 = ptrtoint i32* %arg1 to i64\n %32 = add i64 %31, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = add i64 %31, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = add i64 %31, 32\n %37 = inttoptr i64 %36 to i64*\n %38 = add i64 %31, 52\n %39 = inttoptr i64 %38 to i64*\n store i64 %rsi.013.reload, i64* %storemerge8.reg2mem\n store i64 0, i64* %sv_1.07.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %40 = load i32, i32* %33, align 4\n %41 = add i64 %storemerge8.reload, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = sub i32 %40, %45\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i32 %46, i32* %sv_0.1.reg2mem\n br i1 %48, label LBL_18, label LBL_13\n LBL_13:\n %49 = add i64 %43, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = load i64, i64* %35, align 8\n %53 = inttoptr i64 %52 to i64*\n %54 = inttoptr i64 %51 to i64*\n %55 = call i32 @memcmp(i64* %53, i64* %54, i32 %40)\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %57, label LBL_18, label LBL_14\n LBL_14:\n %58 = add i64 %storemerge8.reload, 16\n %59 = inttoptr i64 %58 to i64*\n %60 = call i32 @memcmp(i64* %37, i64* %59, i32 20)\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %62, label LBL_18, label LBL_15\n LBL_15:\n %63 = add i64 %storemerge8.reload, 36\n %64 = inttoptr i64 %63 to i64*\n %65 = call i32 @memcmp(i64* %39, i64* %64, i32 20)\n %66 = icmp ne i32 %65, 0\n %spec.select = zext i1 %66 to i32\n %67 = icmp eq i1 %66, false\n %68 = icmp eq i1 %67, false\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br i1 %68, label LBL_18, label LBL_16\n LBL_16:\n %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem\n %69 = icmp eq i64 %sv_1.07.reload, 0\n store i32 %spec.select, i32* %sv_0.3.reg2mem\n br i1 %69, label LBL_19, label LBL_17\n LBL_17:\n store i64 %storemerge8.reload, i64* %arg2, align 8\n %70 = inttoptr i64 %storemerge8.reload to i64*\n %71 = load i64, i64* %70, align 8\n %72 = inttoptr i64 %sv_1.07.reload to i64*\n store i64 %71, i64* %72, align 8\n store i64 %63, i64* %70, align 8\n store i32 %spec.select, i32* %sv_0.3.reg2mem\n br label LBL_19\n LBL_18:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %73 = inttoptr i64 %storemerge8.reload 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 store i64 %74, i64* %storemerge8.reg2mem\n store i64 %storemerge8.reload, i64* %sv_1.07.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %76, label LBL_12, label LBL_19\n LBL_19:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %77 = icmp eq i32 %sv_0.3.reload, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %77, label LBL_21, label LBL_20\n LBL_20:\n %78 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0))\n store i32 %sv_0.3.reload, 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 i64 %sv_1.07.reload, { 1, 0 }\n uselistorder i64 %storemerge8.reload, { 0, 3, 6, 5, 1, 2, 4 }\n uselistorder i32 %9, { 2, 1, 0 }\n uselistorder i64 %8, { 2, 4, 1, 3, 0 }\n uselistorder i64* %rsi.013.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 1, 4, 3, 6, 2 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 3, 2, 1, 0 }\n uselistorder i1 false, { 5, 1, 0, 2, 3, 4, 6 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 3, 4, 0, 5 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_21, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_19, { 0, 2, 1 }\n uselistorder label LBL_18, { 2, 0, 1, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "expression_12428", "fun_name": "expression", "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 %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %arg1, i64 %0)\n %3 = call i64 @FUNC(i64 %arg1, i64 44)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %2, i64* %storemerge2.reg2mem\n store i64 %2, i64* %storemerge.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %7 = call i64 @FUNC(i64 %arg1, i64 %0)\n %8 = call i64 @FUNC(i64 1, i64 %storemerge2.reload, i64 %7)\n %9 = call i64 @FUNC(i64 %arg1, i64 44)\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* %storemerge2.reg2mem\n store i64 %8, i64* %storemerge.lcssa.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %13 = call i64 @FUNC()\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64, i64)* @jsP_accept, { 1, 0 }\n uselistorder i64 44, { 1, 0 }\n uselistorder i64 (i64, i64)* @assignment, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ebml_read_ascii_4992", "fun_name": "ebml_read_ascii", "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 %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 i32, align 4\n %5 = call i64 @FUNC(i64 %4, i64 %3, i64 0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = bitcast i32* %sv_1 to i64*\n %9 = call i64 @FUNC(i64 %4, i64* nonnull %8)\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* %sv_0.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = and i64 %sv_0.0.reload, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %14 = load i32, i32* %sv_1, align 4\n %15 = icmp slt i32 %14, 0\n store i64 %4, i64* %rdi.0.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i32 %14, 1\n %17 = sext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n store i64 %18, i64* %arg3, align 8\n %19 = icmp eq i64* %arg3, null\n %20 = icmp eq i1 %19, false\n store i64 %17, i64* %rdi.0.reg2mem\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %21 = call i64 @FUNC(i64 %rdi.0.reload, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %22 = ptrtoint i64* %arg3 to i64\n %23 = call i64 @FUNC(i64 %4, i64 %22, i32 %14)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %14, %24\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %4)\n %27 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %26, i64 %1)\n %28 = call i64 @FUNC(i64 ptrtoint ([32 x i8]* @gv_1 to i64))\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %29 = zext i32 %14 to i64\n %30 = sext i32 %14 to i64\n %31 = add nsw i64 %29, %30\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 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 %26, { 1, 0 }\n uselistorder i32 %14, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64 %4, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder [32 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64* %arg3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitmap_set_atomic_582", "fun_name": "bitmap_set_atomic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_2.012.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i64\n %sv_2.011.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 ([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 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 = trunc i64 %arg2 to i32\n %8 = urem i32 %7, 64\n %9 = sub nsw i32 64, %8\n %10 = sub i64 0, %arg2\n %11 = urem i64 %10, 64\n %12 = lshr i64 -1, %11\n %13 = zext i32 %9 to i64\n %14 = sub i64 %arg3, %13\n %15 = icmp slt i64 %14, 1\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %6, i64 %12)\n %17 = add i64 %6, 8\n store i64 -1, i64* %sv_2.011.reg2mem\n store i64 %17, i64* %sv_0.010.reg2mem\n store i64 %14, i64* %sv_1.09.reg2mem\n br label LBL_5\n LBL_4:\n %18 = icmp eq i32 %8, 0\n %19 = icmp eq i1 %18, false\n store i64 %12, i64* %sv_2.011.reg2mem\n store i64 %6, i64* %sv_0.010.reg2mem\n store i64 %arg3, i64* %sv_1.09.reg2mem\n store i64 %12, i64* %sv_2.012.reg2mem\n store i64 %arg3, i64* %sv_1.2.reg2mem\n store i64 %6, i64* %sv_0.2.reg2mem\n br i1 %19, label LBL_8, label LBL_5\n LBL_5:\n %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %sv_2.011.reload = load i64, i64* %sv_2.011.reg2mem\n %20 = icmp ult i64 %sv_1.09.reload, 64\n store i64 %sv_0.010.reload, i64* %sv_0.16.reg2mem\n store i64 %sv_1.09.reload, i64* %sv_1.15.reg2mem\n store i64 %sv_2.011.reload, i64* %sv_2.012.reg2mem\n store i64 %sv_1.09.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.010.reload, i64* %sv_0.2.reg2mem\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\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 %21 = inttoptr i64 %sv_0.16.reload to i64*\n store i64 -1, i64* %21, align 8\n %22 = add i64 %sv_1.15.reload, -64\n %23 = add i64 %sv_0.16.reload, 8\n %24 = icmp ult i64 %22, 64\n store i64 %23, i64* %sv_0.16.reg2mem\n store i64 %22, i64* %sv_1.15.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_7:\n %25 = urem i64 %sv_1.09.reload, 64\n store i64 %sv_2.011.reload, i64* %sv_2.012.reg2mem\n store i64 %25, i64* %sv_1.2.reg2mem\n store i64 %23, i64* %sv_0.2.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %26 = icmp eq i64 %sv_1.2.reload, 0\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %27 = add i64 %arg3, %arg2\n %28 = trunc i64 %27 to i32\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %sv_2.012.reload = load i64, i64* %sv_2.012.reg2mem\n %29 = urem i32 %28, 64\n %30 = icmp eq i32 %29, 0\n %31 = zext i32 %29 to i64\n %32 = shl i64 -1, %31\n %storemerge2 = select i1 %30, i64 -1, i64 %32\n %33 = and i64 %sv_2.012.reload, %storemerge2\n %34 = call i64 @FUNC(i64 %sv_0.2.reload, i64 %33)\n store i64 %34, i64* %storemerge3.reg2mem\n br label LBL_11\n LBL_10:\n %35 = call i64 @FUNC()\n store i64 %35, i64* %storemerge3.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64 %sv_2.011.reload, { 1, 0 }\n uselistorder i64 %sv_1.09.reload, { 3, 0, 1, 2 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.012.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @atomic_or, { 1, 0 }\n uselistorder i32 64, { 0, 2, 1 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 64, { 0, 4, 3, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 -1, { 2, 3, 5, 0, 4, 1 }\n uselistorder i64 %arg3, { 2, 0, 1, 4, 3 }\n uselistorder i64 %arg2, { 1, 3, 4, 0, 2 }\n uselistorder label LBL_8, { 1, 0, 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": "monitor_get_reg_16685", "fun_name": "monitor_get_reg", "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()\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 = inttoptr i64 %0 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 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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_add_data_dir_379", "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 ptrtoint (i64* @gv_1 to i64), 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 %phitmp5 = mul i64 %phitmp, 8\n %phitmp6 = add i64 %phitmp5, ptrtoint (i64* @gv_1 to i64)\n store i64 %phitmp6, 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 = call i64 @FUNC(i64 %14)\n %16 = inttoptr i64 %.lcssa.reload to i64*\n store i64 %15, i64* %16, align 8\n store i64 %15, 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 i64 ptrtoint (i64* @gv_1 to i64), { 1, 2, 0 }\n uselistorder i32 0, { 3, 1, 0, 2 }\n uselistorder i32* @gv_0, { 2, 1, 0 }\n uselistorder i32 1, { 5, 3, 2, 1, 0, 4 }\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": "0" }, { "dataset": "CompRealVul", "file": "chunk_new_with_alloc_size_5212", "fun_name": "chunk_new_with_alloc_size", "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 %0 to i64*\n store i64 0, i64* %1, 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 %arg1, i64* %5, align 8\n %6 = add i64 %arg1, 1064\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = load i64, i64* @gv_0, align 8\n %10 = add i64 %9, %arg1\n store i64 %10, i64* @gv_0, align 8\n %11 = add i64 %0, 32\n %12 = add i64 %0, 1056\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PowerPopupView_10964", "fun_name": "PowerPopupView", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1)\n %1 = call i64 @FUNC()\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "real_lookup_5689", "fun_name": "real_lookup", "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* %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)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_6, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(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 -2, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %1, i64 %0)\n %11 = icmp eq i64 %10, 0\n store i64 -12, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = icmp eq i64* %arg1, null\n store i64 %10, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %10)\n store i64 %1, 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 %14 = call i64 @FUNC(i64 %1)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_6:\n %15 = call i64 @FUNC(i64 %1)\n %16 = add i64 %3, 8\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 %3, i64* %storemerge.reg2mem\n br i1 %19, label LBL_9, label LBL_7\n LBL_7:\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %22, label LBL_9, label LBL_8\n LBL_8:\n %23 = ptrtoint i64* %arg3 to i64\n %24 = call i64 @FUNC(i64 %3, i64 %23)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n %spec.store.select = select i1 %26, i64 %24, i64 -2\n store i64 %spec.store.select, 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 %10, { 1, 0, 2 }\n uselistorder i64 %3, { 3, 0, 1, 2, 4 }\n uselistorder i64 %1, { 4, 2, 0, 1, 3, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 -2, { 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0, 3 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_memory_save_1171", "fun_name": "do_memory_save", "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.02.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_2 = 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 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %4 = call i64 @FUNC()\n %5 = inttoptr i64 %2 to i8*\n %6 = call %_IO_FILE* @fopen(i8* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, 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_1, label LBL_3\n LBL_1:\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_5\n LBL_2:\n %12 = and i64 %3, 4294967295\n store i64 %12, i64* %sv_1.03.reg2mem\n store i32 %9, i32* %sv_0.02.reg2mem\n br label LBL_4\n LBL_3:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %2)\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_4:\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 %15 = icmp ult i32 %sv_0.02.reload, 1024\n %spec.select = select i1 %15, i32 %sv_0.02.reload, i32 1024\n %16 = call i64 @FUNC(i64 %4, i64 %sv_1.03.reload, i64* nonnull %sv_2, i32 %spec.select, i64 0)\n %17 = call i32 @fwrite(i64* nonnull %sv_2, i32 1, i32 %spec.select, %_IO_FILE* %6)\n %18 = zext i32 %spec.select to i64\n %19 = add i64 %sv_1.03.reload, %18\n %20 = sub i32 %sv_0.02.reload, %spec.select\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %19, i64* %sv_1.03.reg2mem\n store i32 %20, i32* %sv_0.02.reg2mem\n br i1 %22, label LBL_4, label LBL_5\n LBL_5:\n %23 = call i32 @fclose(%_IO_FILE* %6)\n %24 = sext i32 %23 to i64\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 i32 %spec.select, { 3, 0, 1, 2 }\n uselistorder i64 %sv_1.03.reload, { 1, 0 }\n uselistorder i32 %sv_0.02.reload, { 2, 0, 1 }\n uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64, i8*)* @qdict_get_int, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fx_init_9032", "fun_name": "fx_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()\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 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC()\n %9 = add i64 %0, 132\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC()\n %13 = add i64 %0, 264\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = or i64 %15, 16\n store i64 %16, i64* %14, align 8\n %17 = add i64 %0, 260\n %18 = inttoptr i64 %17 to i32*\n store i32 8064, i32* %18, align 4\n %19 = inttoptr i64 %9 to i64*\n %20 = call i64* @memset(i64* %19, i32 0, i32 132)\n %21 = ptrtoint i64* %20 to i64\n ret i64 %21\n\n uselistorder i64 %0, { 1, 2, 5, 4, 3, 0 }\n uselistorder i64 (i64)* @kvm_fx_save, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_block_size_3774", "fun_name": "compute_block_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %.reg2mem15 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i32\n %storemerge8.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8\n %1 = icmp eq i32 %0, 0\n store i32 %0, i32* %.reg2mem\n store i32 0, i32* %storemerge8.reg2mem\n store i32 0, i32* %sv_0.07.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %2 = icmp slt i32 %sv_0.07.reload, %.reload\n %spec.select = select i1 %2, i32 %.reload, i32 %sv_0.07.reload\n %3 = add i32 %storemerge8.reload, 1\n %4 = sext i32 %3 to i64\n %5 = mul i64 %4, 4\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 store i32 %8, i32* %.reg2mem\n store i32 %3, i32* %storemerge8.reg2mem\n store i32 %spec.select, i32* %sv_0.07.reg2mem\n store i32 %spec.select, i32* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_2:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %10 = call i64* @malloc(i32 %sv_0.0.lcssa.reload)\n %11 = icmp eq i64* %10, null\n br i1 %11, label LBL_10, label LBL_3\n LBL_3:\n %12 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_10, label LBL_4\n LBL_4:\n %sext = mul i64 %arg1, 4294967296\n %14 = ashr exact i64 %sext, 32\n %15 = and i64 %14, 4294967295\n %16 = trunc i64 %14 to i32\n store i32 %12, i32* %.reg2mem15\n store i32 0, i32* %storemerge36.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %17 = add i32 %storemerge36.reload, 1\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 = icmp eq i32 %22, 0\n store i32 %22, i32* %.reg2mem15\n store i32 %17, i32* %storemerge36.reg2mem\n br i1 %23, label LBL_10, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %15, i64 0, i64 0)\n %25 = icmp slt i64 %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 i32* @__errno_location()\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_10\n LBL_8:\n %.reload16 = load i32, i32* %.reg2mem15\n %31 = call i32 @read(i32 %16, i64* nonnull %10, i32 %.reload16)\n %32 = icmp eq i32 %31, %.reload16\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_5, label LBL_9\n LBL_9:\n call void @free(i64* nonnull %10)\n %34 = zext i32 %.reload16 to i64\n store i64 %34, i64* %storemerge2.reg2mem\n br label LBL_11\n LBL_10:\n call void @free(i64* %10)\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %.reload16, { 2, 1, 0 }\n uselistorder i64* %10, { 2, 0, 1, 3 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.07.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n uselistorder i32* bitcast (i32** @gv_0 to i32*), { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_update_file_cred_3298", "fun_name": "handle_update_file_cred", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg1 to i32\n %3 = call i32 (i32, i8*, i32, ...) @openat(i32 %2, i8* %arg2, i32 133120)\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i32 %3, i32* %storemerge.in.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i64* %arg3 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 = call i32 @fchownat(i32 %3, i8* bitcast (i8** @gv_0 to i8*), i32 %7, i32 %10, i32 4096)\n %12 = icmp slt i32 %11, 0\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %6, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = urem i32 %15, 4096\n %17 = call i32 @fchmod(i32 %3, i32 %16)\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 = call i32 @close(i32 %3)\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 = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %3, { 2, 1, 3, 0, 4 }\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": "qmp_netdev_del_2014", "fun_name": "qmp_netdev_del", "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)\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 1, i64 %1)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %7 = call i64 @FUNC(i64 %6, i64 %1)\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 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %7)\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 %1, { 1, 2, 0, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_stream_specifier_867", "fun_name": "check_stream_specifier", "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 %.reg2mem50 = alloca i64\n %.reg2mem48 = alloca i32\n %storemerge514.reg2mem = alloca i32\n %.reg2mem46 = alloca i64\n %storemerge415.reg2mem = alloca i32\n %.reg2mem44 = alloca i64\n %.reg2mem42 = alloca i64\n %.reg2mem40 = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.116.reg2mem = alloca i32\n %storemerge17.reg2mem = alloca i32\n %.reg2mem = alloca i64\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 i8*, align 8\n %4 = trunc i64 %3 to i8\n %.off = add i8 %4, -48\n %5 = icmp ugt i8 %.off, 9\n %6 = trunc i64 %2 to i32\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %7 = inttoptr i64 %arg3 to i8*\n %8 = call i32 @strtol(i8* %7, i8** null, i32 0)\n %9 = icmp eq i32 %8, %6\n %10 = zext i1 %9 to i64\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_36\n LBL_2:\n switch i8 %4, label LBL_3 [\n i8 118, label LBL_4\n i8 97, label LBL_4\n i8 115, label LBL_4\n i8 100, label LBL_4\n ]\n LBL_3:\n %11 = icmp eq i8 %4, 116\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_18, label LBL_4\n LBL_4:\n %sext = mul i64 %3, 72057594037927936\n %13 = ashr exact i64 %sext, 56\n %14 = add nsw i64 %13, 4294967199\n %15 = and i64 %14, 4294967295\n store i64 %15, i64* @0, align 8\n %trunc = trunc i64 %14 to i32\n store i32 0, i32* %sv_1.0.reg2mem\n switch i32 %trunc, label LBL_9 [\n i32 0, label LBL_5\n i32 3, label LBL_7\n i32 18, label LBL_6\n i32 19, label LBL_8\n i32 21, label LBL_10\n ]\n LBL_5:\n store i32 1, i32* %sv_1.0.reg2mem\n br label LBL_10\n LBL_6:\n store i32 2, i32* %sv_1.0.reg2mem\n br label LBL_10\n LBL_7:\n store i32 3, i32* %sv_1.0.reg2mem\n br label LBL_10\n LBL_8:\n store i32 4, i32* %sv_1.0.reg2mem\n br label LBL_10\n LBL_9:\n %16 = call i64 @FUNC(i64 0)\n br label LBL_10\n LBL_10:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %17 = ptrtoint i32* %arg2 to i64\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 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, %sv_1.0.reload\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_11, label LBL_36\n LBL_11:\n %24 = add i64 %arg3, 1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 58\n %28 = icmp eq i1 %27, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %28, label LBL_36, label LBL_12\n LBL_12:\n %29 = trunc i64 %1 to i32\n %30 = add i64 %arg3, 2\n %31 = inttoptr i64 %30 to i8*\n %32 = call i32 @strtol(i8* %31, i8** null, i32 0)\n %33 = icmp eq i32 %29, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_36, label LBL_13\n LBL_13:\n %34 = ptrtoint i32* %arg1 to i64\n %35 = add i64 %34, 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge17.reg2mem\n store i32 %32, i32* %sv_0.116.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %39 = mul i64 %.reload, 8\n %40 = add i64 %39, %37\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = add i64 %42, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, %sv_1.0.reload\n %49 = icmp eq i1 %48, false\n store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem\n br i1 %49, label LBL_17, label LBL_15\n LBL_15:\n %50 = add i32 %sv_0.116.reload, -1\n %51 = icmp eq i32 %sv_0.116.reload, 0\n %52 = icmp eq i1 %51, false\n store i32 %50, i32* %sv_0.0.reg2mem\n br i1 %52, label LBL_17, label LBL_16\n LBL_16:\n %53 = icmp eq i32 %storemerge17.reload, %6\n %54 = zext i1 %53 to i64\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_36\n LBL_17:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %55 = add i32 %storemerge17.reload, 1\n %56 = sext i32 %55 to i64\n %57 = icmp sgt i64 %38, %56\n store i64 %56, i64* %.reg2mem\n store i32 %55, i32* %storemerge17.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_14, label LBL_36\n LBL_18:\n %58 = icmp eq i8 %4, 112\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_34, label LBL_19\n LBL_19:\n %60 = add i64 %arg3, 1\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = icmp eq i8 %62, 58\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_34, label LBL_20\n LBL_20:\n %65 = add i64 %arg3, 2\n %66 = inttoptr i64 %65 to i8*\n %67 = call i32 @strtol(i8* %66, i8** nonnull %sv_2, i32 0)\n %68 = ptrtoint i32* %arg1 to i64\n %69 = add i64 %68, 16\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = icmp eq i32 %71, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %72, label LBL_36, label LBL_21\n LBL_21:\n %73 = add i64 %68, 24\n %74 = inttoptr i64 %73 to i64*\n %.pre = load i64, i64* %74, align 8\n store i32 %71, i32* %.reg2mem40\n store i64 %.pre, i64* %.reg2mem42\n store i64 0, i64* %.reg2mem44\n store i32 0, i32* %storemerge415.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge415.reload = load i32, i32* %storemerge415.reg2mem\n %.reload45 = load i64, i64* %.reg2mem44\n %.reload43 = load i64, i64* %.reg2mem42\n %.reload41 = load i32, i32* %.reg2mem40\n %75 = mul i64 %.reload45, 8\n %76 = add i64 %75, %.reload43\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = icmp eq i32 %67, %80\n %82 = icmp eq i1 %81, false\n store i32 %.reload41, i32* %.reg2mem48\n store i64 %.reload43, i64* %.reg2mem50\n br i1 %82, label LBL_33, label LBL_23\n LBL_23:\n %83 = load i8*, i8** %sv_2, align 8\n %84 = ptrtoint i8* %83 to i64\n %85 = add i64 %84, 1\n %86 = inttoptr i64 %85 to i8*\n store i8* %86, i8** %sv_2, align 8\n %87 = load i8, i8* %83, align 1\n %88 = icmp eq i8 %87, 58\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_24, label LBL_26\n LBL_24:\n %90 = load i64, i64* %74, align 8\n %91 = add i64 %90, %75\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = add i64 %93, 4\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = icmp eq i32 %96, 0\n br i1 %97, label LBL_32, label LBL_25\n LBL_25:\n %98 = add i64 %93, 8\n %99 = inttoptr i64 %98 to i64*\n %100 = load i64, i64* %99, align 8\n %101 = zext i32 %96 to i64\n store i64 0, i64* %.reg2mem46\n store i32 0, i32* %storemerge514.reg2mem\n br label LBL_30\n LBL_26:\n %102 = call i32 @strtol(i8* %86, i8** null, i32 0)\n %103 = icmp slt i32 %102, 0\n br i1 %103, label LBL_29, label LBL_27\n LBL_27:\n %104 = load i64, i64* %74, align 8\n %105 = add i64 %104, %75\n %106 = inttoptr i64 %105 to i64*\n %107 = load i64, i64* %106, align 8\n %108 = add i64 %107, 4\n %109 = inttoptr i64 %108 to i32*\n %110 = load i32, i32* %109, align 4\n %111 = zext i32 %110 to i64\n %112 = sext i32 %102 to i64\n %113 = icmp slt i64 %112, %111\n br i1 %113, label LBL_28, label LBL_29\n LBL_28:\n %114 = add i64 %107, 8\n %115 = inttoptr i64 %114 to i64*\n %116 = load i64, i64* %115, align 8\n %117 = mul i64 %112, 4\n %118 = add i64 %116, %117\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = icmp eq i32 %120, %6\n %122 = icmp eq i1 %121, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %122, label LBL_29, label LBL_36\n LBL_29:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_36\n LBL_30:\n %.reload47 = load i64, i64* %.reg2mem46\n %123 = mul i64 %.reload47, 4\n %124 = add i64 %100, %123\n %125 = inttoptr i64 %124 to i32*\n %126 = load i32, i32* %125, align 4\n %127 = icmp eq i32 %126, %6\n %128 = icmp eq i1 %127, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %128, label LBL_31, label LBL_36\n LBL_31:\n %storemerge514.reload = load i32, i32* %storemerge514.reg2mem\n %129 = add i32 %storemerge514.reload, 1\n %130 = sext i32 %129 to i64\n %131 = icmp slt i64 %130, %101\n store i64 %130, i64* %.reg2mem46\n store i32 %129, i32* %storemerge514.reg2mem\n br i1 %131, label LBL_30, label LBL_32\n LBL_32:\n %.pre26 = load i32, i32* %70, align 4\n store i32 %.pre26, i32* %.reg2mem48\n store i64 %90, i64* %.reg2mem50\n br label LBL_33\n LBL_33:\n %.reload51 = load i64, i64* %.reg2mem50\n %.reload49 = load i32, i32* %.reg2mem48\n %132 = add i32 %storemerge415.reload, 1\n %133 = zext i32 %.reload49 to i64\n %134 = sext i32 %132 to i64\n %135 = icmp slt i64 %134, %133\n store i32 %.reload49, i32* %.reg2mem40\n store i64 %.reload51, i64* %.reg2mem42\n store i64 %134, i64* %.reg2mem44\n store i32 %132, i32* %storemerge415.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %135, label LBL_22, label LBL_36\n LBL_34:\n %136 = icmp eq i8 %4, 0\n %137 = icmp eq i1 %136, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %137, label LBL_35, label LBL_36\n LBL_35:\n %138 = ptrtoint i32* %arg1 to i64\n %139 = call i64 @FUNC(i64 %138, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %arg3)\n store i64 22, i64* %rax.0.reg2mem\n br label LBL_36\n LBL_36:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload49, { 1, 0 }\n uselistorder i64 %75, { 2, 1, 0 }\n uselistorder i64* %74, { 0, 2, 1 }\n uselistorder i32 %sv_0.116.reload, { 2, 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i8 %4, { 0, 2, 3, 1, 4 }\n uselistorder i8** %sv_2, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 3, 4, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.116.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem40, { 1, 0, 2 }\n uselistorder i64* %.reg2mem42, { 1, 0, 2 }\n uselistorder i64* %.reg2mem44, { 1, 0, 2 }\n uselistorder i32* %storemerge415.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem46, { 2, 0, 1 }\n uselistorder i32* %storemerge514.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem48, { 0, 2, 1 }\n uselistorder i64* %.reg2mem50, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 12, 6, 2, 3, 11, 7, 5, 1, 13, 4, 8, 9, 10 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 4, { 0, 1, 3, 2 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2, 4, 5, 3, 6 }\n uselistorder i64 8, { 3, 2, 0, 4, 1, 5, 6 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 0, 3, 2, 1 }\n uselistorder i64 %arg3, { 3, 2, 1, 0, 4, 5 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_36, { 9, 5, 1, 2, 10, 6, 4, 0, 11, 3, 7, 8, 12 }\n uselistorder label LBL_30, { 1, 0 }\n uselistorder label LBL_29, { 1, 0, 2 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_10, { 5, 1, 2, 3, 4, 0 }\n uselistorder label LBL_4, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jio_vsnprintf_5662", "fun_name": "jio_vsnprintf", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = zext i32 %arg2 to i64\n %1 = call i64 @FUNC(i64 %arg1, i64 %0, i64 %arg3)\n %2 = ptrtoint i32* %arg4 to i64\n %3 = inttoptr i64 %arg1 to i8*\n %4 = inttoptr i64 %arg3 to i8*\n %5 = call i32 @vsnprintf(i8* %3, i32 %arg2, i8* %4, i64 %2)\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dirac_decode_init_1050", "fun_name": "dirac_decode_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 i32*\n store i32 -1, i32* %2, align 4\n %3 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "replay_account_executed_instructions_15618", "fun_name": "replay_account_executed_instructions", "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 4210748 to i32*), align 4\n %1 = zext i32 %0 to i64\n %2 = icmp eq i32 %0, 1\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n %5 = load i32, i32* @gv_0, align 4\n %6 = icmp slt i32 %5, 1\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC()\n %8 = load i32, i32* @gv_1, align 4\n %9 = trunc i64 %7 to i32\n %10 = load i32, i32* @gv_0, align 4\n %11 = sub i32 %8, %9\n %12 = add i32 %10, %11\n store i32 %12, i32* @gv_0, align 4\n store i32 %9, i32* @gv_1, align 4\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 = load i32, i32* @gv_2, align 4\n %16 = icmp eq i32 %15, 2\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_4, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC()\n br label LBL_6\n LBL_6:\n %19 = call i64 @FUNC()\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 %9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "timers_stop_8492", "fun_name": "timers_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi2.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %0, 8\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64* %.pre1, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_2:\n %2 = add i64 %0, 16\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 %5, i64 %2)\n store i64 0, i64* %arg1, align 8\n store i64* %4, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem\n %7 = load i64, i64* %.pre-phi2.reload, align 8\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %9 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %.pre-phi2.reload, 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, 3, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmd_client_13327", "fun_name": "cmd_client", "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 %.pre-phi.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i8*\n %storemerge2.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i8*\n %.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i16, align 2\n %sv_6 = alloca i8, align 1\n %0 = trunc i64 %arg1 to i32\n %1 = add i32 %0, -1\n %2 = add i64 %arg2, 8\n %3 = icmp slt i32 %1, 1\n store i64 %2, i64* %sv_1.0.reg2mem\n store i32 %1, i32* %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %3, label LBL_8, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 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* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\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 = load [40 x i8]*, [40 x i8]** @gv_2, align 8\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %12 = getelementptr inbounds [40 x i8], [40 x i8]* %10, i64 0, i64 0\n %13 = call i32 @fputs(i8* %12, %_IO_FILE* %11)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_3:\n %14 = load i64, i64* %4, align 8\n %15 = inttoptr i64 %14 to i8*\n %16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n store i8 0, i8* %sv_6, align 1\n store i32 %1, i32* %.in.reg2mem\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.05.reg2mem\n store i64 %2, i64* %sv_1.03.reg2mem\n br label LBL_10\n LBL_5:\n %19 = icmp slt i32 %1, 2\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = add i64 %arg2, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i8*\n %24 = add i32 %0, -3\n %25 = add i64 %arg2, 24\n store i64 %25, i64* %sv_1.0.reg2mem\n store i32 %24, i32* %sv_2.0.reg2mem\n store i8* %23, i8** %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %27 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_6 to i64*), i32 1, i32 17, %_IO_FILE* %26)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_8:\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_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n store i8 0, i8* %sv_6, align 1\n %28 = icmp eq i32 %sv_2.0.reload, 0\n store i32 %sv_2.0.reload, i32* %.in.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.05.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.03.reg2mem\n br i1 %28, label LBL_8.LBL_14_crit_edge, label LBL_10\n LBL_9:\n %.pre = ptrtoint i8* %sv_6 to i64\n store i8* %sv_0.0.reload, i8** %sv_0.04.reg2mem\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_14\n LBL_10:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %sv_0.05.reload = load i8*, i8** %sv_0.05.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %29 = sext i32 %.in.reload to i64\n %30 = ptrtoint i8* %sv_6 to i64\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %31 = icmp eq i64 %storemerge2.reload, 0\n br i1 %31, label LBL_13, label LBL_12\n LBL_12:\n %32 = call i32 @strlen(i8* nonnull %sv_6)\n %33 = sext i32 %32 to i64\n %34 = add i64 %33, %30\n %35 = inttoptr i64 %34 to i16*\n store i16 32, i16* %35, align 2\n br label LBL_13\n LBL_13:\n %36 = mul i64 %storemerge2.reload, 8\n %37 = add i64 %36, %sv_1.03.reload\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 i8* @strcat(i8* nonnull %sv_6, i8* %40)\n %42 = add nuw i64 %storemerge2.reload, 1\n %43 = icmp ult i64 %42, %29\n store i64 %42, i64* %storemerge2.reg2mem\n store i8* %sv_0.05.reload, i8** %sv_0.04.reg2mem\n store i64 %30, i64* %.pre-phi.reg2mem\n br i1 %43, label LBL_11, label LBL_14\n LBL_14:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %sv_0.04.reload = load i8*, i8** %sv_0.04.reg2mem\n %44 = call i32 @strlen(i8* nonnull %sv_6)\n %45 = sext i32 %44 to i64\n %46 = add i64 %.pre-phi.reload, %45\n %47 = inttoptr i64 %46 to i16*\n store i16 10, i16* %47, align 2\n %48 = call i32 @socket(i32 1, i32 1, i32 0)\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 i32* @__errno_location()\n %52 = load i32, i32* %51, align 4\n %53 = call i8* @strerror(i32 %52)\n %54 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %55 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %54, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i8* %53)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_16:\n store i16 1, i16* %sv_5, align 2\n %56 = bitcast i64* %sv_4 to i8*\n %57 = call i8* @strcpy(i8* nonnull %56, i8* %sv_0.04.reload)\n %58 = bitcast i16* %sv_5 to %sockaddr*\n %59 = call i32 @connect(i32 %48, %sockaddr* nonnull %58, i32 110)\n %60 = icmp slt i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_18, label LBL_17\n LBL_17:\n %62 = call i32* @__errno_location()\n %63 = load i32, i32* %62, align 4\n %64 = call i8* @strerror(i32 %63)\n %65 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %66 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %65, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i8* %sv_0.04.reload, i8* %64)\n br label LBL_23\n LBL_18:\n store i64 0, i64* %sv_3, align 8\n %67 = call i32 @setsockopt(i32 %48, i32 1, i32 20, i64* nonnull %sv_3, i32 16)\n %68 = icmp slt i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_20, label LBL_19\n LBL_19:\n %70 = call i32* @__errno_location()\n %71 = load i32, i32* %70, align 4\n %72 = call i8* @strerror(i32 %71)\n %73 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %74 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %73, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i8* %72)\n br label LBL_23\n LBL_20:\n %75 = call i32 @strlen(i8* nonnull %sv_6)\n %76 = bitcast i8* %sv_6 to i64*\n %77 = call i32 @send(i32 %48, i64* nonnull %76, i32 %75, i32 0)\n %78 = call i32 @strlen(i8* nonnull %sv_6)\n %79 = call i32 @read(i32 %48, i64* nonnull %76, i32 %78)\n %80 = icmp slt i32 %79, 1\n store i32 %79, i32* %.reg2mem\n br i1 %80, label LBL_22, label LBL_21\n LBL_21:\n %.reload = load i32, i32* %.reg2mem\n %81 = sext i32 %.reload to i64\n %82 = add i64 %.pre-phi.reload, %81\n %83 = inttoptr i64 %82 to i8*\n store i8 0, i8* %83, align 1\n %84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_10, i64 0, i64 0), i8* nonnull %sv_6)\n %85 = call i32 @strlen(i8* nonnull %sv_6)\n %86 = call i32 @read(i32 %48, i64* nonnull %76, i32 %85)\n %87 = icmp slt i32 %86, 1\n store i32 %86, i32* %.reg2mem\n br i1 %87, label LBL_22, label LBL_21\n LBL_22:\n %88 = call i32 @close(i32 %48)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_23:\n %89 = icmp slt i32 %48, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %89, label LBL_25, label LBL_24\n LBL_24:\n %90 = call i32 @close(i32 %48)\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* %76, { 1, 0, 2 }\n uselistorder i32 %48, { 2, 1, 3, 4, 0, 5, 6, 7, 8 }\n uselistorder i8* %sv_0.04.reload, { 1, 0 }\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i32 %1, { 2, 0, 1, 3 }\n uselistorder i8* %sv_6, { 4, 3, 2, 5, 6, 7, 8, 9, 10, 1, 11, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 5, 4, 3 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i32 (i32, i64*, i32)* @read, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 }\n uselistorder i8* (i32)* @strerror, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i32 (i8*)* @strlen, { 4, 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0, 3, 4, 2 }\n uselistorder %_IO_FILE** @gv_5, { 3, 2, 1, 0 }\n uselistorder i8 0, { 3, 2, 0, 1 }\n uselistorder i32 0, { 1, 3, 4, 5, 2, 0, 6, 7 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i64 0, { 1, 5, 6, 7, 8, 20, 9, 10, 11, 12, 21, 2, 13, 14, 0, 3, 4, 15, 16, 17, 18, 19 }\n uselistorder i32 1, { 13, 12, 11, 16, 17, 18, 15, 14, 22, 21, 20, 19, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_25, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "l1_unscale_726", "fun_name": "l1_unscale", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg1, 4294967296\n %0 = sext i32 %arg3 to i64\n %1 = mul i64 %0, 4\n %2 = add i64 %1, ptrtoint (i32** @gv_0 to i64)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = urem i32 %4, 4\n %6 = ashr i32 %4, 2\n %7 = trunc i64 %arg1 to i32\n %8 = urem i32 %7, 32\n %9 = shl i32 -1, %8\n %storemerge = zext i32 %9 to i64\n %sext37 = add i64 %storemerge, %arg2\n %10 = mul i64 %sext37, 4294967296\n %sext4 = add i64 %10, 4294967296\n %11 = ashr exact i64 %sext4, 32\n %12 = zext i32 %5 to i64\n %sext5 = add i64 %sext, -4294967296\n %13 = ashr exact i64 %sext5, 30\n %14 = or i64 %13, %12\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 = sext i32 %18 to i64\n %20 = mul nsw i64 %11, %19\n %21 = add i32 %6, %7\n %22 = add i32 %21, 63\n %23 = urem i32 %22, 64\n %24 = icmp eq i32 %23, 0\n %25 = zext i32 %23 to i64\n %26 = shl i64 1, %25\n %storemerge6 = select i1 %24, i64 1, i64 %26\n %27 = add i64 %storemerge6, %20\n %28 = urem i32 %21, 64\n %29 = zext i32 %28 to i64\n %rdx.0 = ashr i64 %27, %29\n ret i64 %rdx.0\n\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 4294967296, { 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alac_linear_predictor_1761", "fun_name": "alac_linear_predictor", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.1.reg2mem = alloca i64\n %sv_0.026.reg2mem = alloca i32\n %sv_1.027.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i32\n %.reg2mem52 = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %sv_2.023.reg2mem = alloca i32\n %storemerge1324.reg2mem = alloca i32\n %.reg2mem50 = alloca i64\n %sv_3.029.reg2mem = alloca i32*\n %storemerge1130.reg2mem = alloca i32\n %.reg2mem48 = alloca i64\n %storemerge1432.reg2mem = alloca i32\n %.reg2mem46 = alloca i64\n %storemerge33.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %rdi, align 8\n %2 = load i32, i32* %0\n %sv_4 = alloca i64, align 8\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = ashr exact i64 %sext, 28\n %5 = add nsw i64 %4, %3\n %6 = mul i64 %5, 8\n %7 = add i64 %1, 28\n %8 = add i64 %7, %6\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 31\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_1\n LBL_1:\n %14 = add i64 %1, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = ashr exact i64 %sext, 29\n %18 = add i64 %16, %17\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %1, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %20 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 = bitcast i64* %rdi to i32*\n %28 = load i32, i32* %27, align 8\n %29 = zext i32 %28 to i64\n %30 = icmp ugt i32 %28, 1\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %storemerge33.reg2mem\n store i64 %29, i64* %rax.1.reg2mem\n br i1 %30, label LBL_2, label LBL_21\n LBL_2:\n %storemerge33.reload = load i32, i32* %storemerge33.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %31 = load i64, i64* %15, align 8\n %32 = add i64 %31, %17\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = mul i64 %.reload, 4\n %36 = add i64 %34, %35\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %36, -4\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = load i64, i64* %22, align 8\n %43 = add i64 %42, %35\n %44 = sub i32 %38, %41\n %45 = inttoptr i64 %43 to i32*\n store i32 %44, i32* %45, align 4\n %46 = add i32 %storemerge33.reload, 1\n %47 = load i32, i32* %27, align 8\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* %.reg2mem\n store i32 %46, i32* %storemerge33.reg2mem\n store i64 %48, i64* %rax.1.reg2mem\n br i1 %50, label LBL_2, label LBL_21\n LBL_3:\n %51 = and i64 %10, 4294967295\n %52 = icmp slt i32 %11, 1\n store i64 %51, i64* %rax.1.reg2mem\n br i1 %52, label LBL_21, label LBL_4\n LBL_4:\n %53 = add i64 %1, 8\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = ashr exact i64 %sext, 29\n %57 = add i64 %55, %56\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = inttoptr i64 %59 to i32*\n %61 = add i64 %1, 16\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = load i32, i32* %60, align 4\n %65 = inttoptr i64 %63 to i32*\n store i32 %64, i32* %65, align 4\n %66 = icmp eq i64 %51, 0\n store i64 1, i64* %.reg2mem46\n store i32 1, i32* %storemerge1432.reg2mem\n br i1 %66, label LBL_6, label LBL_5\n LBL_5:\n %storemerge1432.reload = load i32, i32* %storemerge1432.reg2mem\n %.reload47 = load i64, i64* %.reg2mem46\n %67 = mul i64 %.reload47, 4\n %68 = add i64 %67, %59\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add i64 %68, -4\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add i64 %67, %63\n %75 = sub i32 %70, %73\n %76 = inttoptr i64 %74 to i32*\n store i32 %75, i32* %76, align 4\n %77 = add i32 %storemerge1432.reload, 1\n %78 = sext i32 %77 to i64\n %79 = icmp slt i64 %51, %78\n store i64 %78, i64* %.reg2mem46\n store i32 %77, i32* %storemerge1432.reg2mem\n br i1 %79, label LBL_6, label LBL_5\n LBL_6:\n %storemerge1128 = add i32 %11, 1\n %80 = bitcast i64* %rdi to i32*\n %81 = load i32, i32* %80, align 8\n %82 = zext i32 %81 to i64\n %83 = sext i32 %storemerge1128 to i64\n %84 = icmp slt i64 %83, %82\n store i64 %82, i64* %rax.1.reg2mem\n br i1 %84, label LBL_7, label LBL_21\n LBL_7:\n %85 = ptrtoint i64* %sv_4 to i64\n %86 = add i32 %2, 31\n %87 = urem i32 %86, 32\n %88 = shl i32 1, %87\n %89 = add i64 %85, -200\n %90 = urem i32 %2, 32\n %sext17 = mul i64 %10, 4294967296\n %91 = ashr exact i64 %sext17, 30\n %92 = add i64 %1, 24\n %93 = inttoptr i64 %92 to i32*\n %sv_1.025 = add i32 %11, -1\n %94 = icmp slt i32 %sv_1.025, 0\n %95 = sext i32 %sv_1.025 to i64\n store i64 %83, i64* %.reg2mem48\n store i32 %storemerge1128, i32* %storemerge1130.reg2mem\n store i32* %60, i32** %sv_3.029.reg2mem\n br label LBL_8\n LBL_8:\n %sv_3.029.reload = load i32*, i32** %sv_3.029.reg2mem\n %storemerge1130.reload = load i32, i32* %storemerge1130.reg2mem\n %.reload49 = load i64, i64* %.reg2mem48\n br i1 %66, label LBL_8.LBL_12_crit_edge, label LBL_10\n LBL_9:\n %.pre = load i32, i32* %sv_3.029.reload, align 4\n %.pre38 = ptrtoint i32* %sv_3.029.reload to i64\n store i64 %.pre38, i64* %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem52\n store i32 %88, i32* %sv_2.0.lcssa.reg2mem\n br label LBL_12\n LBL_10:\n %96 = ptrtoint i32* %sv_3.029.reload to i64\n %97 = load i32, i32* %sv_3.029.reload, align 4\n store i64 0, i64* %.reg2mem50\n store i32 0, i32* %storemerge1324.reg2mem\n store i32 %88, i32* %sv_2.023.reg2mem\n br label LBL_11\n LBL_11:\n %sv_2.023.reload = load i32, i32* %sv_2.023.reg2mem\n %storemerge1324.reload = load i32, i32* %storemerge1324.reg2mem\n %.reload51 = load i64, i64* %.reg2mem50\n %98 = sub i32 %11, %storemerge1324.reload\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 = sub i32 %103, %97\n %105 = mul i64 %.reload51, 4\n %106 = add i64 %105, %89\n %107 = inttoptr i64 %106 to i32*\n %108 = load i32, i32* %107, align 4\n %109 = mul i32 %108, %104\n %110 = add i32 %109, %sv_2.023.reload\n %111 = add i32 %storemerge1324.reload, 1\n %112 = sext i32 %111 to i64\n %113 = icmp sgt i64 %51, %112\n store i64 %112, i64* %.reg2mem50\n store i32 %111, i32* %storemerge1324.reg2mem\n store i32 %110, i32* %sv_2.023.reg2mem\n store i64 %96, i64* %.pre-phi.reg2mem\n store i32 %97, i32* %.reg2mem52\n store i32 %110, i32* %sv_2.0.lcssa.reg2mem\n br i1 %113, label LBL_11, label LBL_12\n LBL_12:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %.reload53 = load i32, i32* %.reg2mem52\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %114 = ashr i32 %sv_2.0.lcssa.reload, %90\n %115 = add i64 %.pre-phi.reload, 4\n %116 = add i64 %115, %91\n %117 = inttoptr i64 %116 to i32*\n %118 = load i32, i32* %117, align 4\n %119 = add i32 %114, %.reload53\n %120 = sub i32 %118, %119\n %121 = load i32, i32* %93, align 4\n %122 = sub i32 0, %121\n %123 = urem i32 %122, 32\n %124 = shl i32 %120, %123\n %125 = mul i64 %.reload49, 4\n %126 = add i64 %125, %63\n %127 = ashr i32 %124, %123\n %128 = inttoptr i64 %126 to i32*\n store i32 %127, i32* %128, align 4\n %129 = icmp eq i32 %127, 0\n %brmerge = or i1 %94, %129\n br i1 %brmerge, label LBL_20, label LBL_13\n LBL_13:\n %130 = icmp sgt i32 %127, -1\n store i64 %95, i64* %indvars.iv.reg2mem\n store i32 %sv_1.025, i32* %sv_1.027.reg2mem\n store i32 %127, i32* %sv_0.026.reg2mem\n br label LBL_17\n LBL_14:\n %131 = load i32, i32* %sv_3.029.reload, align 4\n %132 = sub i32 %11, %sv_1.027.reload\n %133 = sext i32 %132 to i64\n %134 = mul i64 %133, 4\n %135 = add i64 %134, %.pre-phi.reload\n %136 = inttoptr i64 %135 to i32*\n %137 = load i32, i32* %136, align 4\n %138 = sub i32 %131, %137\n %139 = icmp eq i32 %138, 0\n store i32 0, i32* %rax.0.reg2mem\n br i1 %139, label LBL_16, label LBL_15\n LBL_15:\n %140 = icmp slt i32 %138, 0\n %141 = icmp eq i1 %140, false\n %. = select i1 %141, i32 1, i32 -1\n store i32 %., i32* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i32, i32* %rax.0.reg2mem\n %142 = sub nsw i32 0, %rax.0.reload\n %spec.select18 = select i1 %130, i32 %rax.0.reload, i32 %142\n %143 = mul i64 %indvars.iv.reload, 4\n %144 = add i64 %143, %89\n %145 = inttoptr i64 %144 to i32*\n %146 = load i32, i32* %145, align 4\n %147 = sub i32 %146, %spec.select18\n store i32 %147, i32* %145, align 4\n %148 = mul i32 %spec.select18, %138\n %149 = ashr i32 %148, %90\n %150 = mul i32 %149, %132\n %151 = sub i32 %sv_0.026.reload, %150\n %sv_1.0 = add i32 %sv_1.027.reload, -1\n %152 = icmp slt i32 %sv_1.0, 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 %sv_1.0, i32* %sv_1.027.reg2mem\n store i32 %151, i32* %sv_0.026.reg2mem\n br i1 %152, label LBL_20, label LBL_17\n LBL_17:\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 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n br i1 %130, label LBL_19, label LBL_18\n LBL_18:\n %153 = icmp slt i32 %sv_0.026.reload, 0\n br i1 %153, label LBL_14, label LBL_20\n LBL_19:\n %154 = icmp eq i32 %sv_0.026.reload, 0\n %155 = icmp slt i32 %sv_0.026.reload, 0\n %156 = icmp eq i1 %155, false\n %157 = icmp eq i1 %154, false\n %158 = icmp eq i1 %156, %157\n br i1 %158, label LBL_14, label LBL_20\n LBL_20:\n %159 = inttoptr i64 %115 to i32*\n %storemerge11 = add i32 %storemerge1130.reload, 1\n %160 = load i32, i32* %80, align 8\n %161 = zext i32 %160 to i64\n %162 = sext i32 %storemerge11 to i64\n %163 = icmp slt i64 %162, %161\n store i64 %162, i64* %.reg2mem48\n store i32 %storemerge11, i32* %storemerge1130.reg2mem\n store i32* %159, i32** %sv_3.029.reg2mem\n store i64 %161, i64* %rax.1.reg2mem\n br i1 %163, label LBL_8, label LBL_21\n LBL_21:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %sv_0.026.reload, { 2, 1, 3, 0 }\n uselistorder i32 %rax.0.reload, { 1, 0 }\n uselistorder i32 %123, { 1, 0 }\n uselistorder i64 %115, { 1, 0 }\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i32* %sv_3.029.reload, { 0, 2, 1, 4, 3 }\n uselistorder i32 %90, { 1, 0 }\n uselistorder i32 %88, { 1, 0 }\n uselistorder i32* %80, { 1, 0 }\n uselistorder i64 %67, { 1, 0 }\n uselistorder i64 %51, { 2, 3, 1, 0 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i32* %27, { 1, 0 }\n uselistorder i32 %11, { 2, 3, 1, 0, 4, 5 }\n uselistorder i64 %sext, { 3, 2, 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 3, 4, 5, 2, 1, 0, 6 }\n uselistorder i64* %rdi, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge33.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem46, { 2, 0, 1 }\n uselistorder i32* %storemerge1432.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem48, { 1, 0, 2 }\n uselistorder i32* %storemerge1130.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_3.029.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem50, { 1, 0, 2 }\n uselistorder i32* %storemerge1324.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.023.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 4, 5, 1, 3 }\n uselistorder i32 -1, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_21, { 1, 3, 4, 0, 2 }\n uselistorder label LBL_20, { 1, 2, 0, 3 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_system_reset_request_14884", "fun_name": "qemu_system_reset_request", "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 br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* bitcast (i64* @gv_1 to i32*), align 8\n br label LBL_3\n LBL_2:\n store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8\n br label LBL_3\n LBL_3:\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n ret i64 %3\n\n uselistorder i32 1, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipmi_si_mem_setup_10145", "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 4198795, i64* %9, align 8\n %10 = add i64 %2, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 4198802, 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 4198809, i64* %13, align 8\n %14 = add i64 %2, 40\n %15 = inttoptr i64 %14 to i64*\n store i64 4198816, 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 4198823, i64* %17, align 8\n %18 = add i64 %2, 40\n %19 = inttoptr i64 %18 to i64*\n store i64 4198830, 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 4198788, 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 i1 false, { 1, 0, 2 }\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": "Jsi_MapEntryDelete_10875", "fun_name": "Jsi_MapEntryDelete", "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, 3\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %1, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_2\n LBL_2:\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %1, label LBL_6 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %4 = call i64 @FUNC(i64 %arg1)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %5 = call i64 @FUNC(i64 %arg1)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %6 = call i64 @FUNC(i64 %arg1, i64 %arg1)\n %7 = call i64 @FUNC(i64 %arg1)\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, 5, 3, 4, 2, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 %arg1, { 4, 3, 2, 0, 1, 5 }\n uselistorder label LBL_6, { 2, 3, 4, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sock_register_9199", "fun_name": "sock_register", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) 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 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 256\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 ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 256)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %6 = call i64 @FUNC(i64* nonnull @gv_1)\n %7 = call i64 @FUNC(i64* nonnull @gv_1)\n %sext = mul i64 %1, 4294967296\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %8, ptrtoint (i64* @gv_2 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %7, 4294967295\n %13 = call i64 @FUNC(i64 %11, i64 %12)\n %14 = icmp eq i64 %13, 0\n store i64 4294967294, i64* %storemerge2.reg2mem\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n %15 = load i64, i64* %10, align 8\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %15, i64 %16)\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %18 = call i64 @FUNC(i64* nonnull @gv_1)\n %19 = and i64 %1, 4294967295\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %19)\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 i64 %1, { 2, 3, 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 1, 2, 0, 8, 3, 4, 5, 6, 7 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atol10_4965", "fun_name": "atol10", "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.08.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i64\n %sv_2.010.reg2mem = alloca i64\n %storemerge111.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg2, 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 = trunc i64 %1 to i32\n %sext = mul i32 %4, 16777216\n %storemerge1.in5 = ashr exact i32 %sext, 24\n %storemerge16 = add nsw i32 %storemerge1.in5, -48\n %5 = icmp ult i32 %storemerge16, 10\n store i32 %storemerge16, i32* %storemerge111.reg2mem\n store i64 0, i64* %sv_2.010.reg2mem\n store i64 %arg2, i64* %sv_1.09.reg2mem\n store i64 %arg1, i64* %sv_0.08.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\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 %sv_2.010.reload = load i64, i64* %sv_2.010.reg2mem\n %storemerge111.reload = load i32, i32* %storemerge111.reg2mem\n %6 = add i64 %sv_1.09.reload, -1\n %7 = mul i64 %sv_2.010.reload, 10\n %8 = sext i32 %storemerge111.reload to i64\n %9 = add i64 %7, %8\n %10 = add i64 %sv_0.08.reload, 1\n %11 = inttoptr i64 %10 to i8*\n %storemerge1.in.in = load i8, i8* %11, align 1\n %storemerge1.in = sext i8 %storemerge1.in.in to i32\n %storemerge1 = add nsw i32 %storemerge1.in, -48\n %12 = icmp ult i32 %storemerge1, 10\n %13 = icmp eq i64 %6, 0\n %14 = icmp eq i1 %13, false\n %or.cond = icmp eq i1 %14, %12\n store i32 %storemerge1, i32* %storemerge111.reg2mem\n store i64 %9, i64* %sv_2.010.reg2mem\n store i64 %6, i64* %sv_1.09.reg2mem\n store i64 %10, i64* %sv_0.08.reg2mem\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %or.cond, 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 i32* %storemerge111.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.010.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.09.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.08.reg2mem, { 2, 0, 1 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i32 -48, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_hub_handle_data_2472", "fun_name": "usb_hub_handle_data", "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.16.reg2mem = alloca i32\n %indvars.iv8.reg2mem = alloca i64\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 %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, 1\n %7 = icmp eq i1 %6, false\n store i64 4294967293, i64* %storemerge3.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n store i64 4294967293, i64* %storemerge3.reg2mem\n br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = ptrtoint i64* %sv_2 to i64\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 %18 = icmp eq i32 %15, 0\n %or.cond = icmp eq i1 %18, %17\n store i64 0, i64* %indvars.iv8.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n store i64 4294967295, i64* %storemerge3.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_3\n LBL_3:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %19 = mul i64 %indvars.iv8.reload, 4\n %20 = add i64 %19, %11\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n %.pre = add nuw nsw i64 %indvars.iv8.reload, 1\n %24 = trunc i64 %.pre to i32\n %25 = shl i32 1, %24\n %26 = select i1 %23, i32 0, i32 %25\n %sv_0.0 = or i32 %26, %sv_0.16.reload\n %exitcond = icmp eq i64 %.pre, 4\n store i64 %.pre, i64* %indvars.iv8.reg2mem\n store i32 %sv_0.0, i32* %sv_0.16.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %27 = icmp eq i32 %sv_0.0, 0\n store i64 4294967294, i64* %storemerge3.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = add i64 %12, -36\n %29 = trunc i32 %sv_0.0 to i8\n %30 = inttoptr i64 %28 to i8*\n store i8 %29, i8* %30, align 4\n %31 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i32 1)\n store i64 1, i64* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i32 %sv_0.0, { 1, 2, 0 }\n uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 4, 3, 5, 2, 1 }\n uselistorder i32 0, { 4, 1, 3, 0, 2 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 4294967293, { 1, 0 }\n uselistorder label LBL_6, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "balloon_stats_change_timer_1805", "fun_name": "balloon_stats_change_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n %1 = mul i64 %arg2, 1000\n %2 = add i64 %0, %1\n %3 = call i64 @FUNC(i64 0, i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_tcg_configure_14795", "fun_name": "qemu_tcg_configure", "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 %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, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_12, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = inttoptr i64 %6 to i8*\n %10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_9, label LBL_2\n LBL_2:\n %13 = load i32, i32* @gv_2, align 4\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 %8, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %15, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_4:\n %16 = load i32, i32* @gv_4, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %18, i64* %rax.1.reg2mem\n br label LBL_13\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 %19, i64* %rax.0.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_6, i64 0, i64 0))\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_7, i64 0, i64 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 store i32 1, i32* inttoptr (i64 4210804 to i32*), align 4\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_9:\n %25 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0))\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_11, label LBL_10\n LBL_10:\n %28 = sext i32 %25 to i64\n store i32 0, i32* bitcast (i64* @gv_9 to i32*), align 8\n store i64 %28, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_11:\n %29 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n store i64 %29, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_12:\n %30 = call i64 @FUNC()\n %31 = trunc i64 %30 to i32\n store i32 %31, i32* bitcast (i64* @gv_9 to i32*), align 8\n store i64 %30, 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 %25, { 1, 0 }\n uselistorder i64 %8, { 2, 1, 0 }\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, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "basic_destroy_3935", "fun_name": "basic_destroy", "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 0)\n %2 = icmp eq i64 %1, 0\n store i64 %1, i64* %storemerge1.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %3 = inttoptr i64 %storemerge1.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %storemerge1.reload)\n %6 = call i64 @FUNC(i64 %0, i64 %storemerge1.reload)\n %7 = icmp eq i64 %4, 0\n store i64 %4, i64* %storemerge1.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_2:\n %8 = call i64 @FUNC(i64 %1)\n ret i64 %8\n\n uselistorder i64 %storemerge1.reload, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdict_get_try_str_2843", "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 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %1)\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": "jas_matrix_create_4145", "fun_name": "jas_matrix_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = icmp slt i32 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_16, label LBL_1\n LBL_1:\n %sext4 = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext4, 32\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* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_16\n LBL_2:\n %6 = call i64 @FUNC(i64 64)\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_3, label LBL_16\n LBL_3:\n %sext = mul i64 %arg1, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = inttoptr i64 %6 to i32*\n store i32 0, i32* %10, align 4\n %11 = trunc i64 %9 to i32\n %12 = add i64 %6, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = add i64 %6, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 %3, i32* %15, align 4\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add i64 %6, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 %11, i32* %19, align 4\n %20 = add i64 %6, 32\n %21 = inttoptr i64 %20 to i64*\n store i64 0, i64* %21, align 8\n %22 = mul nsw i64 %2, %9\n %23 = trunc i64 %22 to i32\n %24 = add i64 %6, 40\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = load i32, i32* %19, align 4\n %27 = icmp slt i32 %26, 1\n store i32 %23, i32* %.reg2mem\n br i1 %27, label LBL_7, label LBL_4\n LBL_4:\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i64 %28, i64 8)\n store i64 %29, i64* %17, align 8\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 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_6:\n %.pr = load i32, i32* %25, align 4\n store i32 %.pr, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %33 = icmp slt i32 %.reload, 1\n br i1 %33, label LBL_10, label LBL_8\n LBL_8:\n %34 = zext i32 %.reload to i64\n %35 = call i64 @FUNC(i64 %34, i64 4)\n store i64 %35, i64* %21, align 8\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_10:\n %39 = icmp sgt i32 %11, 0\n br i1 %39, label LBL_11, label LBL_13\n LBL_11:\n %wide.trip.count = and i64 %9, 4294967295\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 %40 = load i64, i64* %21, align 8\n %41 = load i32, i32* %15, align 4\n %42 = trunc i64 %indvars.iv.reload to i32\n %43 = mul i32 %41, %42\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 4\n %46 = load i64, i64* %17, align 8\n %47 = mul i64 %indvars.iv.reload, 8\n %48 = add i64 %46, %47\n %49 = add i64 %45, %40\n %50 = inttoptr i64 %48 to i64*\n store i64 %49, i64* %50, align 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_13, label LBL_12\n LBL_13:\n %51 = load i32, i32* %25, align 4\n %52 = icmp eq i32 %51, 0\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge8.reg2mem\n br i1 %52, label LBL_15, label LBL_14\n LBL_14:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %53 = load i64, i64* %21, align 8\n %54 = mul i64 %.reload11, 4\n %55 = add i64 %53, %54\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n %57 = add i32 %storemerge8.reload, 1\n %58 = load i32, i32* %25, align 4\n %59 = zext i32 %58 to i64\n %60 = sext i32 %57 to i64\n %61 = icmp slt i64 %60, %59\n store i64 %60, i64* %.reg2mem10\n store i32 %57, i32* %storemerge8.reg2mem\n br i1 %61, label LBL_14, label LBL_15\n LBL_15:\n %62 = add i64 %6, 44\n %63 = inttoptr i64 %62 to i32*\n store i32 0, i32* %63, align 4\n %64 = add i64 %6, 48\n %65 = inttoptr i64 %64 to i32*\n store i32 0, i32* %65, align 4\n %66 = load i32, i32* %15, align 4\n %67 = add i64 %6, 52\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = load i32, i32* %13, align 4\n %70 = add i64 %6, 56\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n store i64 %6, 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 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32* %25, { 2, 0, 1, 3 }\n uselistorder i64* %21, { 1, 2, 0, 3 }\n uselistorder i64* %17, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem10, { 2, 0, 1 }\n uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 3, 2 }\n uselistorder i64 (i64, i64)* @jas_alloc2, { 1, 0 }\n uselistorder i64 32, { 2, 1, 0, 3 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 0, { 4, 5, 3, 0, 1, 2, 6, 7, 8 }\n uselistorder i32 1, { 8, 6, 7, 4, 3, 2, 1, 0, 5 }\n uselistorder label LBL_16, { 3, 4, 5, 0, 2, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ghash_async_init_9483", "fun_name": "ghash_async_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 %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 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %2)\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC()\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_2, label LBL_1\n LBL_1:\n %12 = trunc i64 %1 to i32\n %13 = inttoptr i64 %5 to i32*\n store i32 %12, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %5, i64 %7)\n %15 = call i64 @FUNC(i64 %5)\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 %5)\n %17 = call i64 @FUNC(i64 %7)\n %18 = inttoptr i64 %16 to i64*\n store i64 %17, i64* %18, align 8\n %19 = bitcast i64* %rdi to i32*\n %20 = load i32, i32* %19, align 8\n %21 = add i64 %16, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = call i64 @FUNC(i64 %16)\n store i64 %23, 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 %7, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "audit_set_loginuid_9186", "fun_name": "audit_set_loginuid", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = and i64 %arg1, 4294967295\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_0.LBL_5_crit_edge, label LBL_2\n LBL_1:\n %.pre = trunc i64 %0 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i32 -1, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_2:\n %10 = and i64 %0, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64* nonnull @gv_1)\n %15 = trunc i64 %14 to i32\n store i32 %15, 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 %16 = inttoptr i64 %1 to i32*\n store i32 %sv_0.0.reload, i32* %16, align 4\n %17 = trunc i64 %0 to i32\n %18 = add i64 %1, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n store i32 %17, i32* %.pre-phi.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %20 = trunc i64 %4 to i32\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %21 = and i64 %6, 4294967295\n %22 = and i64 %2, 4294967295\n %23 = call i64 @FUNC(i64 %22, i32 %.pre-phi.reload, i32 %20, i32 %sv_0.1.reload, i64 %21)\n ret i64 %21\n\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 4, 5, 0, 1 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 6, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_linear_skb_4982", "fun_name": "copy_linear_skb", "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 = trunc i64 %arg2 to i32\n %1 = trunc i64 %arg3 to i32\n %2 = sub i32 %0, %1\n %3 = icmp slt 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_2\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %5 = ptrtoint i64* %arg1 to i64\n %6 = ptrtoint i64* %arg4 to i64\n %7 = ashr exact i64 %sext, 32\n %8 = add i64 %7, %5\n %9 = zext i32 %2 to i64\n %10 = call i64 @FUNC(i64 %8, i64 %9, i64 %6)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %2, %11\n %13 = icmp eq i1 %12, false\n %. = select i1 %13, i64 4294967282, 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\n uselistorder i32 %2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "slurm_load_job_4654", "fun_name": "slurm_load_job", "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 %1 = load i32*, i32** %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_1)\n %3 = bitcast i32* %sv_0 to i64*\n %4 = call i64 @FUNC(i64* nonnull %3)\n store i64 2, i64* %sv_1, align 8\n %5 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %3)\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* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_6\n LBL_1:\n %9 = load i32, i32* %sv_0, align 4\n switch i32 %9, label LBL_5 [\n i32 3, label LBL_2\n i32 4, label LBL_3\n ]\n LBL_2:\n %10 = ptrtoint i32* %1 to i64\n store i64 %10, i64* %arg1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_3:\n %11 = load i32, i32* %1, align 4\n %12 = ptrtoint i32* %1 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp eq i32 %11, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = zext i32 %11 to i64\n %16 = call i64 @FUNC(i64 %15)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 1)\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* %sv_1, { 0, 2, 1 }\n uselistorder i32* %1, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 4, 1, 5 }\n uselistorder i64 (i64)* @slurm_seterrno_ret, { 1, 0 }\n uselistorder i64 (i64*)* @slurm_msg_t_init, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_dec_seq_hdr_7463", "fun_name": "impeg2d_dec_seq_hdr", "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 %storemerge7.reg2mem = alloca i32\n %storemerge58.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, 150\n %4 = call i64 @FUNC(i64 %3, i64 4)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 435\n %7 = call i64 @FUNC(i64 %3, i64 4)\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_18\n LBL_1:\n %8 = trunc i64 %1 to i16\n %9 = call i64 @FUNC(i64 %3, i64 12)\n %10 = trunc i64 %9 to i16\n %11 = call i64 @FUNC(i64 %3, i64 12)\n %12 = trunc i64 %11 to i16\n %13 = icmp eq i16 %8, %10\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %2, 2\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = icmp eq i16 %17, %12\n br i1 %18, label LBL_9, label LBL_3\n LBL_3:\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 eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_4\n LBL_4:\n %24 = bitcast i64* %arg1 to i16*\n store i16 %10, i16* %24, align 2\n %25 = add i64 %2, 2\n %26 = inttoptr i64 %25 to i16*\n store i16 %12, i16* %26, align 2\n %27 = add i64 %2, 4\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_9, label LBL_5\n LBL_5:\n %32 = trunc i64 %9 to i32\n %33 = urem i32 %32, 65536\n %34 = add nuw nsw i32 %33, 15\n %35 = and i32 %34, 131056\n store i32 %35, i32* %28, align 4\n br label LBL_9\n LBL_6:\n %36 = add i64 %2, 8\n %37 = inttoptr i64 %36 to i16*\n %38 = load i16, i16* %37, align 2\n %39 = icmp ult i16 %38, %10\n br i1 %39, label LBL_8, label LBL_7\n LBL_7:\n %40 = add i64 %2, 10\n %41 = inttoptr i64 %40 to i16*\n %42 = load i16, i16* %41, align 2\n %43 = icmp ult i16 %42, %12\n store i64 3, i64* %rax.0.reg2mem\n br i1 %43, label LBL_8, label LBL_18\n LBL_8:\n %44 = add i64 %2, 16\n %45 = inttoptr i64 %44 to i16*\n store i16 %12, i16* %45, align 2\n %46 = add i64 %2, 14\n %47 = inttoptr i64 %46 to i16*\n store i16 %10, i16* %47, align 2\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %48 = bitcast i64* %rdi to i16*\n %49 = load i16, i16* %48, align 8\n %50 = add i64 %2, 8\n %51 = inttoptr i64 %50 to i16*\n %52 = load i16, i16* %51, align 2\n %53 = icmp ugt i16 %49, %52\n store i64 2, i64* %rax.0.reg2mem\n br i1 %53, label LBL_18, label LBL_10\n LBL_10:\n %54 = add i64 %2, 2\n %55 = inttoptr i64 %54 to i16*\n %56 = load i16, i16* %55, align 2\n %57 = add i64 %2, 10\n %58 = inttoptr i64 %57 to i16*\n %59 = load i16, i16* %58, align 2\n %60 = icmp ugt i16 %56, %59\n store i64 2, i64* %rax.0.reg2mem\n br i1 %60, label LBL_18, label LBL_11\n LBL_11:\n %61 = call i64 @FUNC(i64 %3, i64 4)\n %62 = trunc i64 %61 to i16\n %63 = add i64 %2, 146\n %64 = inttoptr i64 %63 to i16*\n store i16 %62, i16* %64, align 2\n %65 = call i64 @FUNC(i64 %3, i64 4)\n %66 = trunc i64 %65 to i16\n %67 = add i64 %2, 148\n %68 = inttoptr i64 %67 to i16*\n store i16 %66, i16* %68, align 2\n %69 = call i64 @FUNC(i64 %3, i64 18)\n %70 = call i64 @FUNC(i64 %2, i64 %3)\n %71 = call i64 @FUNC(i64 %3, i64 11)\n %72 = call i64 @FUNC(i64 %3)\n %73 = trunc i64 %72 to i8\n %74 = icmp eq i8 %73, 1\n %75 = icmp eq i1 %74, false\n %76 = add i64 %2, 18\n store i32 0, i32* %storemerge58.reg2mem\n br i1 %75, label LBL_13, label LBL_12\n LBL_12:\n %storemerge58.reload = load i32, i32* %storemerge58.reg2mem\n %77 = call i64 @FUNC(i64 %3, i64 8)\n %78 = mul i32 %storemerge58.reload, 2\n %79 = and i32 %78, 131070\n %factor = zext i32 %79 to i64\n %80 = add i64 %factor, ptrtoint (i64* @gv_0 to i64)\n %81 = inttoptr i64 %80 to i16*\n %82 = load i16, i16* %81, align 2\n %83 = zext i16 %82 to i64\n %84 = trunc i64 %77 to i8\n %85 = add i64 %76, %83\n %86 = inttoptr i64 %85 to i8*\n store i8 %84, i8* %86, align 1\n %87 = mul i32 %storemerge58.reload, 65536\n %sext4 = add i32 %87, 65536\n %88 = ashr exact i32 %sext4, 16\n %89 = trunc i32 %88 to i16\n %90 = icmp ult i16 %89, 64\n store i32 %88, i32* %storemerge58.reg2mem\n br i1 %90, label LBL_12, label LBL_14\n LBL_13:\n %91 = load i64, i64* @gv_1, align 8\n %92 = load i64, i64* @gv_2, align 8\n %93 = inttoptr i64 %76 to i64*\n store i64 %91, i64* %93, align 8\n %94 = add i64 %2, 26\n %95 = inttoptr i64 %94 to i64*\n store i64 %92, i64* %95, align 8\n %96 = load i64, i64* @gv_3, align 8\n %97 = load i64, i64* @gv_4, align 8\n %98 = add i64 %2, 34\n %99 = inttoptr i64 %98 to i64*\n store i64 %96, i64* %99, align 8\n %100 = add i64 %2, 42\n %101 = inttoptr i64 %100 to i64*\n store i64 %97, i64* %101, align 8\n %102 = load i64, i64* @gv_5, align 8\n %103 = load i64, i64* @gv_6, align 8\n %104 = add i64 %2, 50\n %105 = inttoptr i64 %104 to i64*\n store i64 %102, i64* %105, align 8\n %106 = add i64 %2, 58\n %107 = inttoptr i64 %106 to i64*\n store i64 %103, i64* %107, align 8\n %108 = load i64, i64* @gv_7, align 8\n %109 = load i64, i64* @gv_8, align 8\n %110 = add i64 %2, 66\n %111 = inttoptr i64 %110 to i64*\n store i64 %108, i64* %111, align 8\n %112 = add i64 %2, 74\n %113 = inttoptr i64 %112 to i64*\n store i64 %109, i64* %113, align 8\n br label LBL_14\n LBL_14:\n %114 = call i64 @FUNC(i64 %3)\n %115 = trunc i64 %114 to i8\n %116 = icmp eq i8 %115, 1\n %117 = icmp eq i1 %116, false\n %118 = add i64 %2, 82\n store i32 0, i32* %storemerge7.reg2mem\n br i1 %117, label LBL_16, label LBL_15\n LBL_15:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %119 = call i64 @FUNC(i64 %3, i64 8)\n %120 = mul i32 %storemerge7.reload, 2\n %121 = and i32 %120, 131070\n %factor6 = zext i32 %121 to i64\n %122 = add i64 %factor6, ptrtoint (i64* @gv_0 to i64)\n %123 = inttoptr i64 %122 to i16*\n %124 = load i16, i16* %123, align 2\n %125 = zext i16 %124 to i64\n %126 = trunc i64 %119 to i8\n %127 = add i64 %118, %125\n %128 = inttoptr i64 %127 to i8*\n store i8 %126, i8* %128, align 1\n %129 = mul i32 %storemerge7.reload, 65536\n %sext = add i32 %129, 65536\n %130 = ashr exact i32 %sext, 16\n %131 = trunc i32 %130 to i16\n %132 = icmp ult i16 %131, 64\n store i32 %130, i32* %storemerge7.reg2mem\n br i1 %132, label LBL_15, label LBL_17\n LBL_16:\n %133 = load i64, i64* @gv_9, align 8\n %134 = load i64, i64* @gv_10, align 8\n %135 = inttoptr i64 %118 to i64*\n store i64 %133, i64* %135, align 8\n %136 = add i64 %2, 90\n %137 = inttoptr i64 %136 to i64*\n store i64 %134, i64* %137, align 8\n %138 = load i64, i64* @gv_11, align 8\n %139 = load i64, i64* @gv_12, align 8\n %140 = add i64 %2, 98\n %141 = inttoptr i64 %140 to i64*\n store i64 %138, i64* %141, align 8\n %142 = add i64 %2, 106\n %143 = inttoptr i64 %142 to i64*\n store i64 %139, i64* %143, align 8\n %144 = load i64, i64* @gv_13, align 8\n %145 = load i64, i64* @gv_14, align 8\n %146 = add i64 %2, 114\n %147 = inttoptr i64 %146 to i64*\n store i64 %144, i64* %147, align 8\n %148 = add i64 %2, 122\n %149 = inttoptr i64 %148 to i64*\n store i64 %145, i64* %149, align 8\n %150 = load i64, i64* @gv_15, align 8\n %151 = load i64, i64* @gv_16, align 8\n %152 = add i64 %2, 130\n %153 = inttoptr i64 %152 to i64*\n store i64 %150, i64* %153, align 8\n %154 = add i64 %2, 138\n %155 = inttoptr i64 %154 to i64*\n store i64 %151, i64* %155, align 8\n br label LBL_17\n LBL_17:\n %156 = call i64 @FUNC(i64 %2)\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 i32 %storemerge7.reload, { 1, 0 }\n uselistorder i64 %118, { 1, 0 }\n uselistorder i32 %storemerge58.reload, { 1, 0 }\n uselistorder i64 %76, { 1, 0 }\n uselistorder i16 %12, { 3, 0, 2, 1 }\n uselistorder i64 %3, { 1, 2, 0, 6, 5, 4, 3, 7, 8, 11, 10, 9, 12 }\n uselistorder i64 %2, { 1, 9, 8, 7, 6, 5, 4, 3, 2, 17, 16, 15, 14, 13, 12, 11, 10, 18, 19, 20, 22, 23, 21, 26, 27, 30, 29, 24, 25, 28, 0, 31 }\n uselistorder i32* %storemerge58.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 6, 3, 4 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i64 (i64)* @impeg2d_bit_stream_get_bit, { 1, 0 }\n uselistorder i64 18, { 1, 0 }\n uselistorder i32 65536, { 4, 0, 3, 1, 2 }\n uselistorder i64 2, { 1, 3, 0, 2, 4, 5 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_get, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 12, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 2, 1, 0 }\n uselistorder i64 4, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_18, { 4, 1, 0, 5, 2, 3 }\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_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mclms_predict_16688", "fun_name": "mclms_predict", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge5.lcssa.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %.reg2mem27 = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem25 = alloca i32\n %storemerge89.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %indvars.iv17.reg2mem = 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 sgt i32 %5, 0\n store i64 0, i64* %storemerge5.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_11\n LBL_1:\n %7 = trunc i64 %1 to i32\n %sext = mul i64 %arg2, 4294967296\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = mul i32 %5, %7\n %11 = zext i32 %10 to i64\n %12 = icmp eq i32 %10, 0\n %13 = add i64 %2, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %2, 40\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %2, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %2, 48\n %20 = inttoptr i64 %19 to i64*\n %21 = ashr exact i64 %sext, 30\n %22 = add i64 %2, 32\n %23 = inttoptr i64 %22 to i64*\n %24 = add i64 %2, 44\n %25 = inttoptr i64 %24 to i32*\n %wide.trip.count19 = zext i32 %5 to i64\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 %26 = mul i64 %indvars.iv17.reload, 4\n %27 = add i64 %26, %arg3\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = load i64, i64* %9, align 8\n %30 = add i64 %29, %26\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_3\n LBL_3:\n store i32 0, i32* %.reg2mem25\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %34 = trunc i64 %indvars.iv17.reload to i32\n %35 = mul i32 %10, %34\n store i32 0, i32* %.reg2mem\n store i32 0, i32* %storemerge89.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge89.reload = load i32, i32* %storemerge89.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %36 = load i64, i64* %14, align 8\n %37 = load i32, i32* %16, align 4\n %38 = add i32 %37, %storemerge89.reload\n %39 = sext i32 %38 to i64\n %40 = mul i64 %39, 4\n %41 = add i64 %40, %36\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = load i64, i64* %18, align 8\n %45 = add i32 %storemerge89.reload, %35\n %46 = sext i32 %45 to i64\n %47 = mul i64 %46, 4\n %48 = add i64 %44, %47\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = mul i32 %50, %43\n %52 = add i32 %51, %.reload\n store i32 %52, i32* %28, align 4\n %53 = add i32 %storemerge89.reload, 1\n %54 = sext i32 %53 to i64\n %55 = icmp slt i64 %54, %11\n store i32 %52, i32* %.reg2mem\n store i32 %53, i32* %storemerge89.reg2mem\n store i32 %52, i32* %.reg2mem25\n br i1 %55, label LBL_5, label LBL_6\n LBL_6:\n %.reload26 = load i32, i32* %.reg2mem25\n %56 = icmp eq i64 %indvars.iv17.reload, 0\n store i32 %.reload26, i32* %.lcssa.reg2mem\n br i1 %56, label LBL_9, label LBL_7\n LBL_7:\n %57 = trunc i64 %indvars.iv17.reload to i32\n %58 = mul i32 %5, %57\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %.reload26, i32* %.reg2mem27\n br label LBL_8\n LBL_8:\n %.reload28 = load i32, i32* %.reg2mem27\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %59 = load i64, i64* %20, align 8\n %60 = mul i64 %indvars.iv.reload, 8\n %61 = add i64 %59, %60\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = add i64 %63, %21\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = load i64, i64* %23, align 8\n %68 = trunc i64 %indvars.iv.reload to i32\n %69 = add i32 %58, %68\n %70 = sext i32 %69 to i64\n %71 = mul i64 %70, 4\n %72 = add i64 %67, %71\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = mul i32 %74, %66\n %76 = add i32 %75, %.reload28\n store i32 %76, i32* %28, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %indvars.iv17.reload\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %76, i32* %.reg2mem27\n store i32 %76, i32* %.lcssa.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %77 = load i32, i32* %25, align 4\n %78 = add i32 %77, 31\n %79 = urem i32 %78, 32\n %80 = shl i32 1, %79\n %81 = add i32 %80, %.lcssa.reload\n store i32 %81, i32* %28, align 4\n %82 = load i32, i32* %25, align 4\n %83 = urem i32 %82, 32\n %84 = ashr i32 %81, %83\n store i32 %84, i32* %28, align 4\n %85 = load i64, i64* %20, align 8\n %86 = mul i64 %indvars.iv17.reload, 8\n %87 = add i64 %85, %86\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = add i64 %89, %21\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = add i32 %92, %84\n store i32 %93, i32* %91, align 4\n br label LBL_10\n LBL_10:\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 i64 %wide.trip.count19, i64* %storemerge5.lcssa.reg2mem\n br i1 %exitcond20, label LBL_11, label LBL_2\n LBL_11:\n %storemerge5.lcssa.reload = load i64, i64* %storemerge5.lcssa.reg2mem\n ret i64 %storemerge5.lcssa.reload\n\n uselistorder i32 %.reload26, { 1, 0 }\n uselistorder i32 %storemerge89.reload, { 0, 2, 1 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %indvars.iv17.reload, { 0, 6, 3, 2, 4, 1, 5 }\n uselistorder i32 %5, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 2, 1, 0, 5, 4, 3, 6, 7 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge89.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem27, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pvscsi_on_cmd_setup_msg_ring_1778", "fun_name": "pvscsi_on_cmd_setup_msg_ring", "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(i8* getelementptr inbounds ([26 x i8], [26 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 store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_4\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = add i64 %0, 24\n %12 = call i64 @FUNC(i64 %11, 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 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = add i64 %0, 16\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_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, 1, 3, 2, 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": "vga_reset_5053", "fun_name": "vga_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 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, 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 store i32 0, i32* %13, align 4\n %14 = add i64 %0, 28\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @memset(i64* %17, i32 0, i32 256)\n %19 = add i64 %0, 288\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 292\n %22 = inttoptr i64 %21 to i64*\n %23 = call i64* @memset(i64* %22, i32 0, i32 256)\n %24 = add i64 %0, 548\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 552\n %27 = inttoptr i64 %26 to i64*\n %28 = call i64* @memset(i64* %27, i32 0, i32 256)\n %29 = add i64 %0, 808\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %0, 812\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = add i64 %0, 816\n %34 = inttoptr i64 %33 to i64*\n %35 = call i64* @memset(i64* %34, i32 0, i32 256)\n %36 = add i64 %0, 1072\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = add i64 %0, 1076\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %39, align 4\n %40 = add i64 %0, 1080\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = add i64 %0, 1084\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n %44 = add i64 %0, 1088\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n %46 = add i64 %0, 1092\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = add i64 %0, 1096\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n %50 = add i64 %0, 1100\n %51 = inttoptr i64 %50 to i32*\n store i32 0, i32* %51, align 4\n %52 = add i64 %0, 1104\n %53 = inttoptr i64 %52 to i64*\n %54 = call i64* @memset(i64* %53, i32 0, i32 256)\n %55 = add i64 %0, 1360\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n %57 = add i64 %0, 1364\n %58 = inttoptr i64 %57 to i64*\n %59 = call i64* @memset(i64* %58, i32 0, i32 256)\n %60 = add i64 %0, 1620\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n %62 = add i64 %0, 1624\n %63 = inttoptr i64 %62 to i32*\n store i32 0, i32* %63, align 4\n %64 = add i64 %0, 1628\n %65 = inttoptr i64 %64 to i64*\n %66 = call i64* @memset(i64* %65, i32 0, i32 256)\n %67 = inttoptr i64 %64 to i8*\n store i8 0, i8* %67, align 1\n %68 = add i64 %0, 1884\n %69 = inttoptr i64 %68 to i32*\n store i32 0, i32* %69, align 4\n %70 = add i64 %0, 1888\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = add i64 %0, 2984\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = udiv i32 %74, 65536\n %76 = add nsw i32 %75, -1\n %77 = add i64 %0, 1892\n %78 = inttoptr i64 %77 to i32*\n store i32 %76, i32* %78, align 4\n %79 = add i64 %0, 1896\n %80 = inttoptr i64 %79 to i64*\n %81 = call i64* @memset(i64* %80, i32 0, i32 256)\n %82 = add i64 %0, 2152\n %83 = inttoptr i64 %82 to i32*\n store i32 0, i32* %83, align 4\n %84 = add i64 %0, 2156\n %85 = inttoptr i64 %84 to i32*\n store i32 0, i32* %85, align 4\n %86 = add i64 %0, 2160\n %87 = inttoptr i64 %86 to i32*\n store i32 0, i32* %87, align 4\n %88 = add i64 %0, 2164\n %89 = inttoptr i64 %88 to i32*\n store i32 0, i32* %89, align 4\n %90 = add i64 %0, 2168\n %91 = inttoptr i64 %90 to i32*\n store i32 0, i32* %91, align 4\n %92 = add i64 %0, 2172\n %93 = inttoptr i64 %92 to i32*\n store i32 0, i32* %93, align 4\n %94 = add i64 %0, 2176\n %95 = inttoptr i64 %94 to i32*\n store i32 0, i32* %95, align 4\n %96 = add i64 %0, 2180\n %97 = inttoptr i64 %96 to i32*\n store i32 0, i32* %97, align 4\n %98 = add i64 %0, 2184\n %99 = inttoptr i64 %98 to i32*\n store i32 0, i32* %99, align 4\n %100 = add i64 %0, 2188\n %101 = inttoptr i64 %100 to i32*\n store i32 0, i32* %101, align 4\n %102 = add i64 %0, 2192\n %103 = inttoptr i64 %102 to i32*\n store i32 0, i32* %103, align 4\n %104 = add i64 %0, 2196\n %105 = inttoptr i64 %104 to i32*\n store i32 0, i32* %105, align 4\n %106 = add i64 %0, 2200\n %107 = inttoptr i64 %106 to i32*\n store i32 0, i32* %107, align 4\n %108 = add i64 %0, 2204\n %109 = inttoptr i64 %108 to i32*\n store i32 0, i32* %109, align 4\n %110 = add i64 %0, 2208\n %111 = inttoptr i64 %110 to i32*\n store i32 0, i32* %111, align 4\n %112 = add i64 %0, 2212\n %113 = inttoptr i64 %112 to i64*\n %114 = call i64* @memset(i64* %113, i32 0, i32 256)\n %115 = add i64 %0, 2468\n %116 = inttoptr i64 %115 to i64*\n %117 = call i64* @memset(i64* %116, i32 0, i32 256)\n %118 = add i64 %0, 2724\n %119 = inttoptr i64 %118 to i64*\n %120 = call i64* @memset(i64* %119, i32 0, i32 256)\n %121 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %122 = icmp eq i32 %121, 0\n %123 = icmp eq i32 %121, 1\n %124 = icmp eq i1 %123, false\n %or.cond = or i1 %122, %124\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %125 = add i64 %0, 2980\n %126 = inttoptr i64 %125 to i64*\n %127 = call i64* @memset(i64* %126, i32 0, i32 4)\n br label LBL_2\n LBL_2:\n %128 = call i64 @FUNC(i64 %0)\n ret i64 %128\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, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 0, { 0, 12, 1, 2, 3, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 4, 28, 29, 5, 30, 31, 6, 32, 7, 33, 34, 35, 36, 37, 38, 39, 40, 8, 41, 42, 9, 43, 10, 44, 11, 45, 46, 47, 48, 49, 50, 51, 52 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp_get_vlc_1057", "fun_name": "mp_get_vlc", "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 %storemerge14.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 store i64 0, i64* %storemerge14.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = add i64 %2, 48\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %2, 44\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = call i64 @FUNC(i64 %5, i32 %11, i32 %8, i64 1)\n %phitmp3 = trunc i64 %12 to i32\n %13 = icmp ult i32 %phitmp3, 9\n store i64 %12, i64* %storemerge14.reg2mem\n store i64 36, i64* %storemerge.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_2:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %14 = mul i64 %storemerge14.reload, 4294967296\n %phitmp2 = ashr exact i64 %14, 30\n store i64 %phitmp2, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %15 = add i64 %2, 4\n %16 = add i64 %15, %storemerge.reload\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n ret i64 %19\n\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %storemerge14.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_pin_code_neg_reply_18418", "fun_name": "send_pin_code_neg_reply", "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* %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 %1, i64 %0, i64 6)\n %4 = icmp eq i64 %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 = call i64 @FUNC(i64 %1, i64 2, i64 6, i64 %0)\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 = call i64 @FUNC(i64 %3)\n br label LBL_3\n LBL_3:\n %11 = and i64 %6, 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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mszh_decomp_1983", "fun_name": "mszh_decomp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.1.ph12.reg2mem = alloca i64\n %sv_1.0.ph23.reg2mem = alloca i64\n %sv_2.0.in.ph24.reg2mem = alloca i64\n %sv_0.1.ph25.reg2mem = alloca i64\n %sv_3.0.ph26.reg2mem = alloca i32\n %sv_4.0.ph27.reg2mem = alloca i8\n %sv_0.019.reg2mem = alloca i64\n %sv_5.020.reg2mem = alloca i32\n %sv_0.1.ph.be.reg2mem = alloca i64\n %sv_2.0.in.ph.be.reg2mem = alloca i64\n %sv_1.0.ph.be.reg2mem = alloca i64\n %sv_1.014.lcssa.reg2mem = alloca i64\n %sv_2.0.in15.lcssa.reg2mem = alloca i64\n %sv_3.016.lcssa.reg2mem = alloca i32\n %sv_4.017.lcssa.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = and i64 %arg4, 4294967295\n %2 = add i64 %1, %0\n %3 = trunc i64 %arg2 to i32\n %4 = icmp sgt i32 %3, 0\n %5 = icmp ugt i64 %2, %0\n %or.cond1322 = icmp eq i1 %4, %5\n store i64 %0, i64* %sv_0.1.ph12.reg2mem\n br i1 %or.cond1322, label LBL_1, label LBL_12\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %6 = ptrtoint i64* %arg1 to i64\n store i8 0, i8* %sv_4.0.ph27.reg2mem\n store i32 0, i32* %sv_3.0.ph26.reg2mem\n store i64 %0, i64* %sv_0.1.ph25.reg2mem\n store i64 %sext, i64* %sv_2.0.in.ph24.reg2mem\n store i64 %6, i64* %sv_1.0.ph23.reg2mem\n br label LBL_11\n LBL_2:\n %sext3 = add i64 %sv_2.0.in.ph24.reload, -4294967296\n %7 = udiv i64 %sext3, 4294967296\n %8 = trunc i64 %7 to i32\n %9 = icmp sgt i32 %8, 0\n store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph12.reg2mem\n br i1 %9, label LBL_3, label LBL_12\n LBL_3:\n %10 = add i64 %sv_1.0.ph23.reload, 1\n %11 = inttoptr i64 %sv_1.0.ph23.reload to i8*\n %12 = load i8, i8* %11, align 1\n %13 = sext i8 %12 to i32\n store i8 8, i8* %sv_4.017.lcssa.reg2mem\n store i32 %13, i32* %sv_3.016.lcssa.reg2mem\n store i64 %sext3, i64* %sv_2.0.in15.lcssa.reg2mem\n store i64 %10, i64* %sv_1.014.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.014.lcssa.reload = load i64, i64* %sv_1.014.lcssa.reg2mem\n %sv_2.0.in15.lcssa.reload = load i64, i64* %sv_2.0.in15.lcssa.reg2mem\n %sv_3.016.lcssa.reload = load i32, i32* %sv_3.016.lcssa.reg2mem\n %sv_4.017.lcssa.reload = load i8, i8* %sv_4.017.lcssa.reg2mem\n %14 = urem i32 %sv_3.016.lcssa.reload, 256\n %15 = add i8 %sv_4.017.lcssa.reload, -1\n %16 = urem i8 %15, 32\n %17 = zext i8 %16 to i32\n %18 = shl i32 1, %17\n %19 = and i32 %14, %18\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_8, label LBL_5\n LBL_5:\n %22 = sub i64 %2, %sv_0.1.ph25.reload\n %23 = icmp slt i64 %22, 4\n store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph12.reg2mem\n br i1 %23, label LBL_12, label LBL_6\n LBL_6:\n %24 = inttoptr i64 %sv_1.014.lcssa.reload to i32*\n %25 = load i32, i32* %24, align 4\n %26 = inttoptr i64 %sv_0.1.ph25.reload to i32*\n store i32 %25, i32* %26, align 4\n %sext4 = add i64 %sv_2.0.in15.lcssa.reload, -17179869184\n %27 = add i64 %sv_0.1.ph25.reload, 4\n %28 = add i64 %sv_1.014.lcssa.reload, 4\n store i64 %28, i64* %sv_1.0.ph.be.reg2mem\n store i64 %sext4, i64* %sv_2.0.in.ph.be.reg2mem\n store i64 %27, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem\n %sv_2.0.in.ph.be.reload = load i64, i64* %sv_2.0.in.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem\n %29 = udiv i64 %sv_2.0.in.ph.be.reload, 4294967296\n %30 = trunc i64 %29 to i32\n %31 = icmp sgt i32 %30, 0\n %32 = icmp ugt i64 %2, %sv_0.1.ph.be.reload\n %or.cond13 = icmp eq i1 %32, %31\n store i8 %15, i8* %sv_4.0.ph27.reg2mem\n store i32 %sv_3.016.lcssa.reload, i32* %sv_3.0.ph26.reg2mem\n store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph25.reg2mem\n store i64 %sv_2.0.in.ph.be.reload, i64* %sv_2.0.in.ph24.reg2mem\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph23.reg2mem\n store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph12.reg2mem\n br i1 %or.cond13, label LBL_11, label LBL_12\n LBL_8:\n %33 = add i64 %sv_1.014.lcssa.reload, 1\n %34 = add i64 %sv_1.014.lcssa.reload, 2\n %35 = inttoptr i64 %33 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = zext i8 %36 to i32\n %38 = udiv i32 %37, 8\n %sext5 = add i64 %sv_2.0.in15.lcssa.reload, -8589934592\n %39 = mul i32 %38, 4\n %40 = add nuw nsw i32 %39, 4\n %41 = sub i64 %2, %sv_0.1.ph25.reload\n %42 = zext i32 %40 to i64\n %43 = icmp slt i64 %41, %42\n %44 = trunc i64 %41 to i32\n %spec.select = select i1 %43, i32 %44, i32 %40\n %45 = icmp eq i32 %spec.select, 0\n %46 = icmp eq i1 %45, false\n store i64 %34, i64* %sv_1.0.ph.be.reg2mem\n store i64 %sext5, i64* %sv_2.0.in.ph.be.reg2mem\n store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph.be.reg2mem\n br i1 %46, label LBL_9, label LBL_7\n LBL_9:\n %47 = mul i32 %37, 256\n %.masked = and i32 %47, 1792\n %48 = inttoptr i64 %sv_1.014.lcssa.reload to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i32\n %51 = or i32 %.masked, %50\n %52 = zext i32 %51 to i64\n store i32 %spec.select, i32* %sv_5.020.reg2mem\n store i64 %sv_0.1.ph25.reload, i64* %sv_0.019.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem\n %sv_5.020.reload = load i32, i32* %sv_5.020.reg2mem\n %53 = sub i64 %sv_0.019.reload, %52\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = inttoptr i64 %sv_0.019.reload to i8*\n store i8 %55, i8* %56, align 1\n %57 = add i64 %sv_0.019.reload, 1\n %58 = add i32 %sv_5.020.reload, -1\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 %34, i64* %sv_1.0.ph.be.reg2mem\n store i64 %sext5, i64* %sv_2.0.in.ph.be.reg2mem\n store i64 %57, i64* %sv_0.1.ph.be.reg2mem\n store i32 %58, i32* %sv_5.020.reg2mem\n store i64 %57, i64* %sv_0.019.reg2mem\n br i1 %60, label LBL_10, label LBL_7\n LBL_11:\n %sv_1.0.ph23.reload = load i64, i64* %sv_1.0.ph23.reg2mem\n %sv_2.0.in.ph24.reload = load i64, i64* %sv_2.0.in.ph24.reg2mem\n %sv_0.1.ph25.reload = load i64, i64* %sv_0.1.ph25.reg2mem\n %sv_3.0.ph26.reload = load i32, i32* %sv_3.0.ph26.reg2mem\n %sv_4.0.ph27.reload = load i8, i8* %sv_4.0.ph27.reg2mem\n %61 = icmp eq i8 %sv_4.0.ph27.reload, 0\n %62 = icmp eq i1 %61, false\n store i8 %sv_4.0.ph27.reload, i8* %sv_4.017.lcssa.reg2mem\n store i32 %sv_3.0.ph26.reload, i32* %sv_3.016.lcssa.reg2mem\n store i64 %sv_2.0.in.ph24.reload, i64* %sv_2.0.in15.lcssa.reg2mem\n store i64 %sv_1.0.ph23.reload, i64* %sv_1.014.lcssa.reg2mem\n br i1 %62, label LBL_4, label LBL_2\n LBL_12:\n %sv_0.1.ph12.reload = load i64, i64* %sv_0.1.ph12.reg2mem\n %63 = sub i64 %sv_0.1.ph12.reload, %0\n ret i64 %63\n\n uselistorder i8 %sv_4.0.ph27.reload, { 1, 0 }\n uselistorder i64 %sv_0.1.ph25.reload, { 1, 4, 0, 3, 5, 2, 6, 7 }\n uselistorder i64 %sv_2.0.in.ph24.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.ph23.reload, { 2, 1, 0 }\n uselistorder i64 %sv_0.019.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.014.lcssa.reload, { 2, 4, 3, 0, 1 }\n uselistorder i64 %2, { 3, 1, 2, 0 }\n uselistorder i64 %0, { 4, 1, 0, 3, 2 }\n uselistorder i8* %sv_4.017.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.016.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.in15.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.014.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.ph.be.reg2mem, { 1, 2, 0, 3 }\n uselistorder i64* %sv_2.0.in.ph.be.reg2mem, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0.1.ph.be.reg2mem, { 1, 2, 0, 3 }\n uselistorder i32* %sv_5.020.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.019.reg2mem, { 1, 0, 2 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i1 false, { 0, 2, 1, 3 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 4294967296, { 1, 2, 0 }\n uselistorder i32 0, { 6, 2, 3, 5, 4, 0, 1 }\n uselistorder label LBL_12, { 1, 0, 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": "mpeg1_decode_block_inter_7416", "fun_name": "mpeg1_decode_block_inter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.in.reg2mem = alloca i8\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.in.in.in.reg2mem = alloca i32\n %sv_3.1.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 %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 16\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 i32*\n %7 = load i32, i32* %6, align 4\n store i32 -1, i32* %sv_3.0.reg2mem\n br label LBL_1\n LBL_1:\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 %8 = icmp eq i32 %sv_2.0.reload, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %9 = add i32 %sv_1.0.reload, %sv_3.0.reload\n %10 = sext i32 %9 to i64\n %11 = add i64 %4, %10\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = mul i32 %sv_2.0.reload, 2\n %15 = or i32 %14, 1\n %16 = mul i32 %15, %7\n %17 = zext i8 %13 to i64\n %18 = mul i64 %17, 2\n %19 = add i64 %18, %1\n %20 = inttoptr i64 %19 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = zext i16 %21 to i32\n %23 = mul i32 %16, %22\n store i32 %9, i32* %sv_3.1.reg2mem\n store i32 %23, i32* %sv_2.1.in.in.in.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i8 %13, i8* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_3:\n %24 = add i32 %sv_3.0.reload, 1\n %25 = sext i32 %24 to i64\n %26 = add i64 %4, %25\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i64\n %30 = mul i64 %29, 2\n %31 = add i64 %30, %1\n %32 = inttoptr i64 %31 to i16*\n %33 = load i16, i16* %32, align 2\n %34 = zext i16 %33 to i32\n %35 = mul i32 %7, %34\n store i32 %24, i32* %sv_3.1.reg2mem\n store i32 %35, i32* %sv_2.1.in.in.in.reg2mem\n store i32 1, i32* %sv_1.1.reg2mem\n store i8 %28, i8* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %36 = icmp slt i32 %sv_3.1.reload, 64\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n ret i64 4294967295\n LBL_6:\n %sv_0.0.in.reload = load i8, i8* %sv_0.0.in.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_2.1.in.in.in.reload = load i32, i32* %sv_2.1.in.in.in.reg2mem\n %sv_2.1.in.in = ashr i32 %sv_2.1.in.in.in.reload, 5\n %sv_2.1.in = add nsw i32 %sv_2.1.in.in, -1\n %sv_2.1 = or i32 %sv_2.1.in, 1\n %sv_0.0 = zext i8 %sv_0.0.in.reload to i64\n %37 = mul i64 %sv_0.0, 2\n %38 = add i64 %37, %0\n %39 = trunc i32 %sv_2.1 to i16\n %40 = inttoptr i64 %38 to i16*\n store i16 %39, i16* %40, align 2\n store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.1, i32* %sv_2.0.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n br label LBL_1\n\n uselistorder i32 %sv_3.1.reload, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0 }\n uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.1.in.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mem_info_2359", "fun_name": "mem_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.4.reg2mem = alloca i64\n %rax.2.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.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 %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 %6 = call i64 @FUNC()\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp slt i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %10, i64* %rax.4.reg2mem\n br label LBL_12\n LBL_2:\n %11 = add i64 %6, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i32 %13, -4096\n store i32 0, i32* %sv_3, align 4\n store i32 -1, i32* %sv_2, align 4\n %15 = bitcast i32* %sv_1 to i64*\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = bitcast i32* %sv_0 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 %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32\n %19 = mul i32 %indvars.iv.tr, 4\n %20 = add i32 %19, %14\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21, i64* nonnull %15, i64 4)\n %23 = load i32, i32* %sv_1, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n store i32 %26, i32* %sv_1, align 4\n %27 = mul i64 %indvars.iv.reload, 4194304\n %28 = urem i64 %25, 2\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_10, label LBL_4\n LBL_4:\n %30 = trunc i64 %25 to i8\n %31 = icmp sgt i8 %30, -1\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = load i32, i32* %17, align 4\n %33 = and i32 %32, 32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = urem i64 %25, 8\n %36 = trunc i64 %27 to i32\n %37 = call i64 @FUNC(i64 %5, i32* nonnull %sv_2, i32* nonnull %sv_3, i32 %36, i64 %35)\n store i64 %37, i64* %rax.2.reg2mem\n br label LBL_11\n LBL_7:\n %38 = trunc i64 %27 to i32\n store i32 %26, i32* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %39 = and i32 %.reload, -4096\n %40 = mul i32 %storemerge35.reload, 4\n %41 = add i32 %40, %39\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %42, i64* nonnull %18, i64 4)\n %44 = load i32, i32* %sv_0, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i32\n store i32 %47, i32* %sv_0, align 4\n %48 = mul i32 %storemerge35.reload, 4096\n %49 = add nuw nsw i32 %48, %38\n %50 = urem i32 %47, 2\n %51 = icmp eq i32 %50, 0\n %52 = urem i64 %46, 8\n %storemerge4 = select i1 %51, i64 0, i64 %52\n %53 = call i64 @FUNC(i64 %5, i32* nonnull %sv_2, i32* nonnull %sv_3, i32 %49, i64 %storemerge4)\n %54 = add nuw nsw i32 %storemerge35.reload, 1\n %exitcond = icmp eq i32 %54, 1024\n store i64 %53, i64* %rax.2.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_8.LBL_8_crit_edge\n LBL_9:\n %.pre = load i32, i32* %sv_1, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %54, i32* %storemerge35.reg2mem\n br label LBL_8\n LBL_10:\n %55 = trunc i64 %27 to i32\n %56 = call i64 @FUNC(i64 %5, i32* nonnull %sv_2, i32* nonnull %sv_3, i32 %55, i64 0)\n store i64 %56, i64* %rax.2.reg2mem\n br label LBL_11\n LBL_11:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next, 1024\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rax.2.reload, i64* %rax.4.reg2mem\n br i1 %exitcond7, label LBL_12, label LBL_3\n LBL_12:\n %rax.4.reload = load i64, i64* %rax.4.reg2mem\n ret i64 %rax.4.reload\n\n uselistorder i32 %storemerge35.reload, { 0, 2, 1 }\n uselistorder i64 %27, { 0, 2, 1 }\n uselistorder i64 %25, { 0, 2, 1, 3 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32* %sv_1, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %5, { 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i32*, i32*, i32, i64)* @mem_print, { 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder i64 (i64, i64*, i64)* @cpu_physical_memory_read, { 1, 0 }\n uselistorder i32 0, { 3, 0, 4, 2, 5, 1 }\n uselistorder label LBL_11, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "initOpensslLocks_7127", "fun_name": "initOpensslLocks", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.next3.reg2mem = alloca i64\n %0 = call i64 @FUNC()\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_5, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* @gv_0, align 8\n %7 = icmp eq i32 %4, 0\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %6)\n %exitcond2 = icmp eq i64 %5, 1\n store i64 1, i64* %indvars.iv.next3.reg2mem\n br i1 %exitcond2, label LBL_4, label LBL_3\n LBL_3:\n %indvars.iv.next3.reload = load i64, i64* %indvars.iv.next3.reg2mem\n %.pre = load i64, i64* @gv_0, align 8\n %9 = add i64 %indvars.iv.next3.reload, %.pre\n %10 = call i64 @FUNC(i64 %9)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next3.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %5\n store i64 %indvars.iv.next, i64* %indvars.iv.next3.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %11 = call i64 @FUNC(i64 4198705)\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 %indvars.iv.next3.reload, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.next3.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i64)* @sslLockInit, { 1, 0 }\n uselistorder i32 1, { 3, 2, 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": "mgt_run_17476", "fun_name": "mgt_run", "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 = trunc i64 %arg1 to i32\n %1 = call i32 @getpid()\n store i32 %1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = call i64 @FUNC()\n store i64 %2, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i32 %0, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 0, i64 1, i64 1)\n br label LBL_2\n LBL_2:\n %6 = icmp eq i64 %arg2, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %arg2)\n br label LBL_4\n LBL_4:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %8)\n %10 = inttoptr i64 %8 to i32*\n store i32 15, i32* %10, align 4\n %11 = add i64 %8, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 4198806, i64* %12, align 8\n %13 = add i64 %8, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 ptrtoint ([12 x i8]* @gv_2 to i64), i64* %14, align 8\n %15 = load i64, i64* @gv_1, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %8)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC(i64 %19)\n %21 = inttoptr i64 %19 to i32*\n store i32 2, i32* %21, align 4\n %22 = add i64 %19, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 4198806, i64* %23, align 8\n %24 = add i64 %19, 16\n %25 = inttoptr i64 %24 to i64*\n store i64 ptrtoint ([11 x i8]* @gv_3 to i64), i64* %25, align 8\n %26 = load i64, i64* @gv_1, align 8\n %27 = call i64 @FUNC(i64 %26, i64 %19)\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC()\n %31 = call i64 @FUNC(i64 %30)\n %32 = inttoptr i64 %30 to i32*\n store i32 17, i32* %32, align 4\n %33 = add i64 %30, 24\n %34 = inttoptr i64 %33 to i32*\n store i32 1, i32* %34, align 4\n %35 = add i64 %30, 8\n %36 = inttoptr i64 %35 to i64*\n store i64 4198816, i64* %36, align 8\n %37 = add i64 %30, 16\n %38 = inttoptr i64 %37 to i64*\n store i64 ptrtoint ([13 x i8]* @gv_4 to i64), i64* %38, align 8\n %39 = load i64, i64* @gv_1, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %30)\n %41 = and i64 %40, 4294967295\n %42 = call i64 @FUNC(i64 %41)\n %43 = load i64, i64* @gv_5, align 8\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 %43)\n store i64 1, i64* %sv_0, align 8\n %45 = bitcast i64* %sv_0 to %sigaction*\n %46 = call i32 @sigaction(i32 13, %sigaction* nonnull %45, %sigaction* null)\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47)\n %49 = call i32 @sigaction(i32 1, %sigaction* nonnull %45, %sigaction* null)\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %50)\n %52 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0))\n %53 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8\n %54 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_9 to i64*), i32 1, i32 14, %_IO_FILE* %53)\n %55 = icmp eq i1 %4, false\n br i1 %55, label LBL_6, label LBL_5\n LBL_5:\n %56 = call i64 @FUNC()\n br label LBL_6\n LBL_6:\n %57 = load i64, i64* @gv_1, align 8\n %58 = call i64 @FUNC(i64 %57)\n %59 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8\n %60 = and i64 %58, 4294967295\n %61 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %59, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i64 %60)\n %62 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8\n %63 = call i32 @fwrite(i64* bitcast ([14 x i8]* @gv_11 to i64*), i32 1, i32 13, %_IO_FILE* %62)\n call void @exit(i32 2)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder void (i32)* @exit, { 2, 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_8, { 2, 1, 0 }\n uselistorder i32 (i32, %sigaction*, %sigaction*)* @sigaction, { 1, 0 }\n uselistorder i64 (i64)* @AZ, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ev_add, { 2, 1, 0 }\n uselistorder i64 ()* @ev_new, { 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64)* @XXXAN, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_long_object_5583", "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 = sext i32 %spec.select8 to i64\n %19 = mul nsw i64 %18, 15\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 = 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 %38 = call i64 @FUNC(i64 %0, i8* nonnull %sv_3)\n %39 = urem i32 %sv_2.016.reload, 32\n %40 = icmp eq i32 %39, 0\n %41 = trunc i64 %38 to i32\n %42 = shl i32 %41, %39\n %43 = zext i32 %42 to i64\n %storemerge = select i1 %40, i64 %38, i64 %43\n %44 = trunc i64 %storemerge to i32\n %45 = or i32 %sv_1.114.reload, %44\n %46 = add i32 %sv_2.016.reload, 15\n %47 = icmp ult i32 %46, 4\n store i32 %46, i32* %storemerge411.reg2mem\n store i64 %sv_0.115.reload, i64* %sv_0.010.reg2mem\n store i32 %45, i32* %sv_1.09.reg2mem\n store i32 %45, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.115.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %46, i32* %storemerge4.lcssa.reg2mem\n br i1 %47, 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 %48 = urem i32 %sv_1.09.reload, 16\n %49 = add i64 %sv_0.010.reload, -1\n %50 = add i64 %49, %29\n %51 = zext i32 %48 to i64\n %52 = add i64 %37, %51\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = inttoptr i64 %50 to i8*\n store i8 %54, i8* %55, align 1\n %56 = udiv i32 %sv_1.09.reload, 16\n %57 = add i32 %storemerge411.reload, -4\n %58 = icmp ult i32 %57, 4\n store i32 %57, i32* %storemerge411.reg2mem\n store i64 %49, i64* %sv_0.010.reg2mem\n store i32 %56, i32* %sv_1.09.reg2mem\n br i1 %58, label LBL_10, label LBL_9\n LBL_10:\n %59 = add i32 %sv_2.016.reload, 3\n %60 = urem i32 %59, 4\n store i32 %56, i32* %sv_1.0.lcssa.reg2mem\n store i64 %49, i64* %sv_0.0.lcssa.reg2mem\n store i32 %60, 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 %61 = add nuw i64 %storemerge317.reload, 1\n %62 = icmp ult i64 %61, %18\n store i64 %61, 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 %62, label LBL_8, label LBL_12\n LBL_12:\n %63 = icmp eq i32 %sv_1.0.lcssa.reload, 0\n br i1 %63, 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 %64 = urem i32 %sv_1.0.lcssa.reload, 16\n %65 = add i64 %29, -1\n %66 = add i64 %65, %sv_0.0.lcssa.reload\n %67 = zext i32 %64 to i64\n %68 = add i64 %37, %67\n %69 = inttoptr i64 %68 to i8*\n %70 = load i8, i8* %69, align 1\n %71 = inttoptr i64 %66 to i8*\n store i8 %70, i8* %71, align 1\n store i64 %66, i64* %.pre-phi.reg2mem\n br label LBL_15\n LBL_15:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %72 = add i64 %.pre-phi.reload, -1\n %73 = inttoptr i64 %72 to i8*\n store i8 120, i8* %73, align 1\n %74 = add i64 %.pre-phi.reload, -2\n %75 = inttoptr i64 %74 to i8*\n store i8 48, i8* %75, align 1\n br i1 %12, label LBL_17, label LBL_16\n LBL_16:\n %76 = add i64 %.pre-phi.reload, -3\n %77 = inttoptr i64 %76 to i8*\n store i8 45, i8* %77, align 1\n br label LBL_17\n LBL_17:\n %78 = 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 %39, { 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 %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 }\n uselistorder i64 4294967296, { 0, 2, 3, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 0, { 4, 3, 0, 1, 2, 5, 6, 7 }\n uselistorder i8 0, { 1, 2, 0, 3, 4 }\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": "0" }, { "dataset": "CompRealVul", "file": "hdcd_reset_14039", "fun_name": "hdcd_reset", "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 %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, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %sext = mul i64 %arg3, 4294967296\n %12 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %arg2, 4294967296\n %13 = ashr exact i64 %sext1, 32\n %14 = mul nsw i64 %12, %13\n %15 = and i64 %14, 4294967295\n %narrow = mul nuw nsw i64 %15, 274877907\n %16 = udiv i64 %narrow, 274877906944\n %17 = trunc i64 %16 to i32\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, 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 i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %0, 44\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %0, 48\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %0, 52\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %0, 56\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %0, 60\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 %37 = mul i64 %indvars.iv.reload, 4\n %38 = add i64 %36, %37\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %39, 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 %40 = add i64 %0, 124\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = add i64 %0, 128\n %43 = inttoptr i64 %42 to i32*\n store i32 -1, i32* %43, align 4\n %44 = add i64 %0, 132\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, 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, 18 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xc_dom_parse_zimage32_kernel_6120", "fun_name": "xc_dom_parse_zimage32_kernel", "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 %5 = mul i64 %4, 4096\n %6 = add i64 %4, 64\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 %4, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = sub i64 -32769, %5\n %14 = icmp ugt i64 %12, %13\n br i1 %14, label LBL_1, label LBL_2\n LBL_1:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %16 = trunc i64 %5 to i32\n %17 = add i32 %16, 32768\n %18 = add i64 %4, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = sext i32 %17 to i64\n %22 = add i64 %12, %21\n %23 = add i64 %20, 256\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 %storemerge2 = select i1 %27, i32 %25, i32 %17\n %28 = add i64 %4, 24\n %29 = inttoptr i64 %28 to i64*\n store i64 %21, i64* %29, align 8\n %30 = add i64 %4, 32\n %31 = inttoptr i64 %30 to i64*\n store i64 %22, i64* %31, align 8\n %32 = zext i32 %storemerge2 to i64\n %33 = add i64 %4, 40\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = add i64 %4, 48\n %36 = inttoptr i64 %35 to i64*\n store i64 %5, i64* %36, align 8\n %37 = add i64 %4, 56\n %38 = inttoptr i64 %37 to i64*\n store i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64* %38, align 8\n %39 = load i64, i64* %31, align 8\n %40 = load i64, i64* %29, align 8\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64 %40, i64 %39, 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 %21, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 4, 5, 7, 6, 8, 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)* @DOMPRINTF, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r128_cce_start_4288", "fun_name": "r128_cce_start", "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 = call i32 @putchar(i32 10)\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 = 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, 1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_4\n LBL_3:\n %13 = call i64 @FUNC(i64 %6)\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "razer_chroma_extended_matrix_set_custom_frame2_12532", "fun_name": "razer_chroma_extended_matrix_set_custom_frame2", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = urem i64 %arg4, 256\n %2 = urem i64 %arg3, 256\n %3 = sub nsw i64 1, %2\n %4 = add nsw i64 %3, %1\n %5 = trunc i64 %4 to i32\n %6 = mul i32 %5, 3\n %7 = icmp eq i64 %arg6, 0\n %8 = icmp eq i1 %7, false\n %9 = sext i32 %6 to i64\n %10 = add nsw i64 %9, 5\n %storemerge = select i1 %8, i64 %arg6, i64 %10\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 15, i64 3, i64 %storemerge)\n store i64 63, i64* %sv_1, align 8\n %12 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg5, i32 %6)\n %13 = ptrtoint i64* %sv_1 to i64\n %14 = load i64, i64* %sv_1, align 8\n store i64 %14, i64* %arg1, align 8\n %15 = add i64 %0, 249\n %16 = inttoptr i64 %15 to i64*\n %17 = add i64 %0, 8\n %18 = and i64 %17, -8\n %19 = sub i64 %0, %18\n %20 = sub i64 %13, %19\n %21 = add i64 %19, 257\n %22 = udiv i64 %21, 8\n %23 = urem i64 %22, 536870912\n %24 = inttoptr i64 %20 to i8*\n %25 = inttoptr i64 %18 to i8*\n call void @FUNC(i8* %25, i8* %24, i64 %23)\n ret i64 %0\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcg_out_qemu_ld_slow_path_7420", "fun_name": "tcg_out_qemu_ld_slow_path", "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, 28\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = sub i64 %1, %0\n %6 = trunc i64 %5 to i32\n %7 = add i32 %6, -4\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = load i32, i32* @gv_0, align 4\n %10 = call i64 @FUNC(i64 %1, i64 0, i32 %9, i64 0)\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = sext i32 %13 to i64\n %15 = load i32, i32* @gv_1, align 4\n %16 = call i64 @FUNC(i64 %1, i64 1, i32 %15, i64 %14)\n %17 = add i64 %0, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = load i32, i32* @gv_2, align 4\n %21 = call i64 @FUNC(i64 %1, i64 0, i32 %20, i64 %19)\n %22 = and i32 %4, -2\n %23 = sext i32 %22 to i64\n %24 = mul i64 %23, 8\n %25 = add i64 %24, ptrtoint (i64* @gv_3 to i64)\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %1, i64 %27)\n %29 = call i64 @FUNC()\n %30 = load i64, i64* %18, align 8\n %31 = call i64 @FUNC(i64 %1, i64 %30)\n ret i64 %31\n\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64, i32, i64)* @tcg_out_movi, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rndr_quote_19138", "fun_name": "rndr_quote", "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, 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* %arg2 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 %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 3)\n %9 = load i64, i64* %3, align 8\n %10 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n %11 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 4)\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 %7, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @bufput, { 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_floppy_geometry_13278", "fun_name": "get_floppy_geometry", "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 %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = and i64 %arg1, 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 store i64 4294967292, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %6 = call i64 @FUNC(i64 0, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -4\n %9 = icmp eq i1 %8, false\n store i64 4294967292, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %sext = mul i64 %arg1, 4294967296\n %10 = call i64 @FUNC()\n %11 = ashr exact i64 %sext, 29\n %12 = add i64 %11, ptrtoint (i64* @gv_1 to i64)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %arg3, align 8\n %15 = icmp eq i64 %storemerge.reload, 0\n %16 = icmp eq i1 %15, false\n %. = select i1 %16, i64 0, i64 4294967277\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 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xudc_set_clear_feature_6456", "fun_name": "xudc_set_clear_feature", "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, 128\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 140\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n switch i32 %6, label LBL_10 [\n i32 0, label LBL_1\n i32 1, label LBL_7\n ]\n LBL_1:\n %7 = add i64 %0, 144\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 1\n br i1 %10, label LBL_11, label LBL_2\n LBL_2:\n %11 = icmp eq i32 %9, 2\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = add i64 %0, 136\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 3\n %17 = icmp eq i1 %16, false\n %18 = add i64 %0, 152\n %19 = inttoptr i64 %18 to i32*\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %19, align 4\n br label LBL_11\n LBL_5:\n store i32 0, i32* %19, align 4\n br label LBL_11\n LBL_6:\n %20 = call i64 @FUNC(i64 %0)\n br label LBL_11\n LBL_7:\n %21 = add i64 %0, 144\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_11, label LBL_8\n LBL_8:\n %26 = add i64 %0, 148\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = mul i32 %28, 8\n %30 = and i32 %29, 120\n %31 = zext i32 %30 to i64\n %32 = add i64 %31, %0\n %33 = udiv i32 %28, 128\n %34 = inttoptr i64 %32 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = urem i32 %33, 2\n %37 = icmp eq i32 %36, %35\n br i1 %37, label LBL_11, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %0)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %39 = call i64 @FUNC(i64 %0)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %40 = inttoptr i64 %3 to i32*\n store i32 0, i32* %40, align 4\n %41 = call i64 @FUNC(i64 %0, i64 %3)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n store i64 %41, i64* %rax.0.reg2mem\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = add i64 %0, 160\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n %48 = call i64 @FUNC(i64 %0)\n store i64 %48, 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 %28, { 1, 0 }\n uselistorder i32* %19, { 1, 0 }\n uselistorder i64 %0, { 8, 7, 9, 3, 1, 0, 4, 2, 6, 5, 12, 10, 11, 13 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 (i64)* @xudc_ep0_stall, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_13, { 1, 0, 2, 3 }\n uselistorder label LBL_11, { 0, 1, 4, 3, 2, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "plot_cqt_1147", "fun_name": "plot_cqt", "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 %.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 i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = mul i32 %6, 4\n %8 = inttoptr i64 %3 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %3, 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 = inttoptr i64 %9 to i64*\n %15 = call i64* @memcpy(i64* %13, i64* %14, i32 %7)\n %16 = load i64, i64* %11, align 8\n %17 = add i64 %3, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %16)\n %21 = load i64, i64* %11, align 8\n %22 = load i64, i64* %18, align 8\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n %24 = load i64, i64* %11, align 8\n %25 = load i32, i32* %5, align 4\n %26 = sext i32 %25 to i64\n %27 = mul i64 %26, 4\n %28 = add i64 %27, %24\n %29 = inttoptr i64 %24 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = inttoptr i64 %28 to i32*\n store i32 %30, i32* %31, align 4\n %32 = call i64 @FUNC(i64 %3)\n %33 = add i64 %3, 64\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 store i64 0, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_3, label LBL_1\n LBL_1:\n %38 = add i64 %0, 4\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = bitcast i64* %rdi to i32*\n %42 = load i32, i32* %41, align 8\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %0, i64 %43, i32 %40)\n %45 = icmp eq i64 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %46, label LBL_2, label LBL_5\n LBL_2:\n %47 = inttoptr i64 %44 to i32*\n %48 = add i64 %3, 136\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n store i32 %50, i32* %47, align 4\n %51 = call i64 @FUNC(i64 %0, i64 %44)\n %52 = load i32, i32* %49, align 4\n %53 = add i32 %52, 1\n store i32 %53, i32* %49, align 4\n %phitmp = and i64 %51, 4294967295\n %.pre = load i32, i32* %34, align 4\n store i32 %.pre, i32* %.reg2mem\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 %.reload = load i32, i32* %.reg2mem\n %54 = add i32 %.reload, 1\n %55 = add i64 %3, 68\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = ashr i32 %54, 31\n %59 = zext i32 %54 to i64\n %60 = zext i32 %58 to i64\n %61 = mul i64 %60, 4294967296\n %62 = or i64 %61, %59\n %63 = zext i32 %57 to i64\n %64 = srem i64 %62, %63\n %65 = trunc i64 %64 to i32\n store i32 %65, i32* %34, align 4\n %66 = add i64 %3, 52\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 0\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %69, label LBL_5, label LBL_4\n LBL_4:\n %70 = add i64 %3, 120\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = add i32 %68, -1\n %74 = add i32 %73, %72\n %75 = ashr i32 %74, 31\n %76 = zext i32 %74 to i64\n %77 = zext i32 %75 to i64\n %78 = mul i64 %77, 4294967296\n %79 = or i64 %78, %76\n %80 = zext i32 %68 to i64\n %81 = srem i64 %79, %80\n %82 = trunc i64 %81 to i32\n store i32 %82, i32* %71, align 4\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 %sv_0.0.reload, { 1, 0 }\n uselistorder i32* %49, { 1, 0, 2 }\n uselistorder i32* %34, { 1, 0, 2 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 3, 0, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "device_finalize_178", "fun_name": "device_finalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge12.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* %storemerge12.reg2mem\n br i1 %2, label LBL_2, label LBL_1\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 store i64 0, i64* %3, align 8\n %5 = add i64 %storemerge12.reload, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %storemerge12.reload, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = zext i32 %7 to i64\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = add i64 %storemerge12.reload, 24\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 %storemerge12.reload)\n %18 = icmp eq i64 %4, 0\n store i64 %4, i64* %storemerge12.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_2:\n ret i64 0\n\n uselistorder i64 %storemerge12.reload, { 1, 0, 3, 2, 4 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atc_control_18196", "fun_name": "atc_control", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = ptrtoint i64* %sv_0 to i64\n store i64 %4, i64* %sv_0, align 8\n %5 = icmp eq i32 %1, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = call i64 @FUNC(i64 %3, i64 0, i32 %9)\n %11 = call i64 @FUNC(i64 %3, i64 1)\n %12 = trunc i64 %11 to i32\n %13 = load i32, i32* %8, align 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_2, label LBL_3\n LBL_2:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC(i64 %3, i64 1)\n %19 = trunc i64 %18 to i32\n %20 = load i32, i32* %8, align 4\n %21 = and i32 %20, %19\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = add i64 %2, 8\n %25 = call i64 @FUNC(i64 %24, i64* nonnull %sv_0)\n %26 = add i64 %2, 24\n %27 = call i64 @FUNC(i64 %26, i64* nonnull %sv_0)\n %28 = call i64 @FUNC(i64 %2)\n %29 = load i64, i64* %sv_0, align 8\n %30 = icmp eq i64 %29, %4\n %31 = icmp eq i1 %30, false\n store i64 %29, i64* %storemerge23.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %31, label LBL_4, label LBL_5\n LBL_4:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %storemerge1.in = inttoptr i64 %storemerge23.reload to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %32 = call i64 @FUNC(i64 %2, i64 %storemerge23.reload)\n %33 = icmp eq i64 %storemerge1, %4\n %34 = icmp eq i1 %33, false\n store i64 %storemerge1, i64* %storemerge23.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %34, 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* %8, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %sv_0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %storemerge23.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64*)* @list_splice_init, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i64 (i64, i64)* @dma_readl, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_eval_refl_3669", "fun_name": "ff_eval_refl", "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 %storemerge69.reg2mem = alloca i32\n %storemerge10.reg2mem = alloca i32\n %indvars.iv.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 = ptrtoint i64* %sv_2 to i64\n %2 = add i64 %1, -144\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 i64 %indvars.iv.reload, 2\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i16*\n %6 = load i16, i16* %5, align 2\n %7 = sext i16 %6 to i32\n %8 = mul i64 %indvars.iv.reload, 4\n %9 = add i64 %2, %8\n %10 = inttoptr i64 %9 to i32*\n store i32 %7, i32* %10, 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_2, label LBL_1\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %11, 36\n %13 = ptrtoint i64* %sv_0 to i64\n %14 = add i64 %13, 36\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = inttoptr i64 %12 to i32*\n store i32 %16, i32* %17, align 4\n %18 = load i32, i32* %15, align 4\n %19 = add i32 %18, 4096\n %20 = icmp ult i32 %19, 8192\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %21 = bitcast i64* %sv_1 to i32*\n %22 = bitcast i64* %sv_0 to i32*\n %23 = ptrtoint i64* %sv_1 to i64\n store i32 8, i32* %storemerge10.reg2mem\n br label LBL_5\n LBL_4:\n %24 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %storemerge10.reload = load i32, i32* %storemerge10.reg2mem\n %25 = sext i32 %storemerge10.reload to i64\n %26 = mul i64 %25, 4\n %27 = add nsw i64 %26, 4\n %28 = add i64 %27, %13\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = mul i32 %30, %30\n %32 = ashr i32 %31, 12\n %33 = sub nsw i32 4096, %32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n %spec.select = select i1 %35, i32 %33, i32 -2\n %36 = udiv i32 16777216, %spec.select\n %37 = zext i32 %36 to i64\n %38 = add i64 %27, %11\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %storemerge69.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge69.reload = load i32, i32* %storemerge69.reg2mem\n %40 = sext i32 %storemerge69.reload to i64\n %41 = mul i64 %40, 4\n %42 = add i64 %41, %13\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = load i32, i32* %39, align 4\n %46 = sub i32 %storemerge10.reload, %storemerge69.reload\n %47 = sext i32 %46 to i64\n %48 = mul i64 %47, 4\n %49 = add i64 %48, %13\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = mul i32 %51, %45\n %53 = ashr i32 %52, 12\n %54 = sub i32 %44, %53\n %55 = mul i32 %54, %36\n %56 = sext i32 %55 to i64\n %57 = sext i32 %54 to i64\n %58 = mul nsw i64 %57, %37\n %59 = icmp eq i64 %58, %56\n store i64 1, i64* %rax.0.reg2mem\n br i1 %59, label LBL_7, label LBL_10\n LBL_7:\n %60 = add i64 %41, %23\n %61 = ashr i32 %55, 12\n %62 = inttoptr i64 %60 to i32*\n store i32 %61, i32* %62, align 4\n %63 = add nuw i32 %storemerge69.reload, 1\n %64 = icmp ugt i32 %storemerge10.reload, %storemerge69.reload\n store i32 %63, i32* %storemerge69.reg2mem\n br i1 %64, label LBL_6, label LBL_8\n LBL_8:\n %65 = add i64 %26, %23\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i32 %67, 4096\n %69 = icmp ult i32 %68, 8192\n store i64 1, i64* %rax.0.reg2mem\n br i1 %69, label LBL_9, label LBL_10\n LBL_9:\n %70 = add i64 %26, %11\n %71 = inttoptr i64 %70 to i32*\n store i32 %67, i32* %71, align 4\n %72 = load i32, i32* %21, align 8\n %73 = load i32, i32* %22, align 8\n store i32 %73, i32* %21, align 8\n store i32 %72, i32* %22, align 8\n %74 = add i32 %storemerge10.reload, -1\n %75 = icmp slt i32 %74, 0\n %76 = icmp eq i1 %75, false\n store i32 %74, i32* %storemerge10.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %76, 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 %54, { 1, 0 }\n uselistorder i64 %41, { 1, 0 }\n uselistorder i32 %storemerge69.reload, { 3, 0, 1, 2 }\n uselistorder i32 %30, { 1, 0 }\n uselistorder i64 %26, { 2, 1, 0 }\n uselistorder i32 %storemerge10.reload, { 2, 3, 0, 1 }\n uselistorder i32* %22, { 1, 0 }\n uselistorder i32* %21, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge69.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i32 4096, { 1, 0, 2 }\n uselistorder i64 4, { 0, 1, 4, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_parse_file_8790", "fun_name": "perf_parse_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i8*\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i8*\n %sv_0.0.ph.reg2mem = alloca i8*\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i32\n %0 = load i64, i64* inttoptr (i64 4210768 to i64*), align 16\n %1 = inttoptr i64 %0 to i8*\n store i32 0, i32* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i8* %1, i8** %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.ph.reload = load i8*, i8** %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 %2 = icmp eq i32 %sv_2.0.ph.reload, 0\n %3 = icmp eq i1 %2, false\n %4 = sext i32 %sv_1.0.ph.reload to i64\n %5 = add i64 %4, ptrtoint (i8** @gv_0 to i64)\n %6 = inttoptr i64 %5 to i8*\n %7 = add i32 %sv_1.0.ph.reload, 1\n %8 = zext i32 %7 to i64\n store i8* %sv_0.0.ph.reload, 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 = call i64 @FUNC()\n %10 = icmp eq i8* %sv_0.0.reload, null\n store i8* null, i8** %sv_0.1.reg2mem\n br i1 %10, label LBL_7, label LBL_3\n LBL_3:\n %11 = load i8, i8* %sv_0.0.reload, align 1\n %12 = icmp eq i8 %11, 0\n store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem\n br i1 %12, label LBL_7, label LBL_4\n LBL_4:\n %13 = trunc i64 %9 to i8\n %14 = icmp eq i8 %11, %13\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = ptrtoint i8* %sv_0.0.reload to i64\n %17 = add i64 %16, 1\n %18 = inttoptr i64 %17 to i8*\n store i32 %sv_2.0.ph.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i8* %18, i8** %sv_0.2.reg2mem\n br label LBL_18\n LBL_6:\n %19 = load i64, i64* @gv_1, align 8\n %20 = ptrtoint i8* %sv_0.0.reload to i64\n %21 = icmp eq i64 %19, %20\n %22 = icmp eq i1 %21, false\n store i8* null, i8** %sv_0.1.reg2mem\n br i1 %22, label LBL_19, label LBL_7\n LBL_7:\n %23 = trunc i64 %9 to i32\n %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem\n %24 = icmp eq i32 %23, 10\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = load i32, i32* @gv_2, align 4\n %27 = icmp eq i32 %26, 0\n store i32 0, i32* %sv_2.1.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %27, label LBL_18, label LBL_9\n LBL_9:\n ret i64 0\n LBL_10:\n store i32 %sv_2.0.ph.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %3, label LBL_18, label LBL_11\n LBL_11:\n %28 = call i16** @__ctype_b_loc()\n %29 = load i16*, i16** %28, align 8\n %30 = ptrtoint i16* %29 to i64\n %sext = mul i64 %9, 4294967296\n %31 = ashr exact i64 %sext, 31\n %32 = add i64 %31, %30\n %33 = inttoptr i64 %32 to i16*\n %34 = load i16, i16* %33, align 2\n %35 = and i16 %34, 8192\n %36 = icmp eq i16 %35, 0\n %37 = icmp eq i1 %36, false\n store i32 %sv_2.0.ph.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %37, label LBL_18, label LBL_12\n LBL_12:\n %38 = icmp ne i32 %23, 35\n %39 = icmp eq i32 %23, 59\n %40 = icmp eq i1 %39, false\n %or.cond = icmp eq i1 %38, %40\n store i32 1, i32* %sv_2.1.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %or.cond, label LBL_13, label LBL_18\n LBL_13:\n %41 = icmp eq i32 %23, 91\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_16, label LBL_14\n LBL_14:\n %43 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*))\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 1\n br i1 %45, label LBL_19, label LBL_15\n LBL_15:\n %46 = add i32 %44, 1\n %sext2 = mul i64 %43, 4294967296\n %47 = ashr exact i64 %sext2, 32\n %48 = add i64 %47, ptrtoint (i8** @gv_0 to i64)\n %49 = inttoptr i64 %48 to i8*\n store i8 46, i8* %49, align 1\n %50 = sext i32 %46 to i64\n %51 = add nsw i64 %50, 4210848\n %52 = inttoptr i64 %51 to i8*\n store i8 0, i8* %52, align 1\n store i32 %sv_2.0.ph.reload, i32* %sv_2.1.reg2mem\n store i32 %46, i32* %sv_1.1.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br label LBL_18\n LBL_16:\n %53 = call i16** @__ctype_b_loc()\n %54 = load i16*, i16** %53, align 8\n %55 = ptrtoint i16* %54 to i64\n %56 = add i64 %31, %55\n %57 = inttoptr i64 %56 to i16*\n %58 = load i16, i16* %57, align 2\n %59 = and i16 %58, 1024\n %60 = icmp eq i16 %59, 0\n br i1 %60, label LBL_19, label LBL_17\n LBL_17:\n %61 = call i32 @tolower(i32 %23)\n %62 = trunc i32 %61 to i8\n store i8 %62, i8* %6, align 1\n %63 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* bitcast (i8** @gv_0 to i64*), i64 %8)\n %64 = trunc i64 %63 to i32\n %65 = icmp slt i32 %64, 0\n store i8* %sv_0.1.reload, i8** %sv_0.0.reg2mem\n br i1 %65, label LBL_19, label LBL_2\n LBL_18:\n %sv_0.2.reload = load i8*, i8** %sv_0.2.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 store i32 %sv_2.1.reload, i32* %sv_2.0.ph.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.0.ph.reg2mem\n store i8* %sv_0.2.reload, i8** %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_19:\n %66 = load [11 x i8]*, [11 x i8]** @gv_3, align 8\n %67 = ptrtoint [11 x i8]* %66 to i64\n %68 = load i32, i32* @gv_4, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %69, i64 %67)\n unreachable\n\n uselistorder i8* %sv_0.1.reload, { 5, 4, 0, 1, 2, 3 }\n uselistorder i32 %23, { 1, 3, 0, 2, 4 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i8* %sv_0.0.reload, { 1, 4, 0, 2, 3 }\n uselistorder i32 %sv_2.0.ph.reload, { 3, 0, 1, 2, 4 }\n uselistorder i32* %sv_2.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i8** %sv_0.2.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2, 4, 5, 6, 3 }\n uselistorder i32 0, { 5, 0, 7, 6, 1, 2, 3, 4 }\n uselistorder i32 1, { 10, 11, 2, 9, 8, 7, 6, 5, 4, 3, 1, 0, 12 }\n uselistorder label LBL_19, { 1, 2, 0, 3 }\n uselistorder label LBL_18, { 4, 0, 2, 1, 3, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alc_mux_select_4114", "fun_name": "alc_mux_select", "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 %.pre-phi.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_12\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 i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = trunc i64 %3 to i32\n %8 = icmp ugt i32 %6, %7\n %9 = icmp eq i1 %8, false\n %10 = and i64 %3, 4294967295\n %storemerge10 = select i1 %9, i64 0, i64 %10\n %11 = mul i64 %storemerge10, 16\n %12 = add i64 %11, %2\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 i64 %storemerge10, 0\n %or.cond = or i1 %16, %17\n %sv_0.0 = select i1 %or.cond, i64 %12, i64 %2\n %18 = inttoptr i64 %sv_0.0 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 store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_2, label LBL_12\n LBL_2:\n %sext5 = mul i64 %arg3, 4294967296\n %22 = ashr exact i64 %sext5, 32\n %23 = trunc i64 %22 to i32\n %24 = icmp ugt i32 %19, %23\n %25 = add i32 %19, -1\n %26 = sext i32 %25 to i64\n %sv_1.0 = select i1 %24, i64 %22, i64 %26\n %27 = add i64 %2, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = mul i64 %arg2, 4\n %31 = and i64 %30, 17179869180\n %32 = add i64 %29, %31\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = trunc i64 %sv_1.0 to i32\n %36 = icmp eq i32 %34, %35\n %37 = icmp eq i1 %36, false\n %38 = trunc i64 %arg4 to i8\n %39 = icmp eq i8 %38, 1\n %or.cond13 = or i1 %39, %37\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond13, label LBL_3, label LBL_12\n LBL_3:\n store i32 %35, i32* %33, align 4\n %40 = add i64 %2, 24\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_5, label LBL_4\n LBL_4:\n %44 = load i64, i64* %28, align 8\n %45 = add i64 %44, %31\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n %. = select i1 %48, i64 2, i64 1\n %49 = add i64 %2, 44\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = call i64 @FUNC(i64 %2, i32 %51, i64 0, i64 15, i64 %.)\n %53 = load i64, i64* %28, align 8\n %54 = add i64 %53, %31\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n %58 = zext i1 %57 to i8\n %59 = add i64 %2, 25\n %60 = inttoptr i64 %59 to i8*\n store i8 %58, i8* %60, align 1\n %61 = call i64 @FUNC(i64 %2)\n br label LBL_5\n LBL_5:\n %62 = add i64 %2, 26\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = icmp eq i8 %64, 0\n store i64 %10, i64* %.pre-phi.reg2mem\n br i1 %65, label LBL_7, label LBL_6\n LBL_6:\n %66 = and i64 %sv_1.0, 4294967295\n %67 = call i64 @FUNC(i64 %2, i64 %66)\n %68 = add i64 %2, 32\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = mul i64 %sv_1.0, 4\n %72 = and i64 %71, 17179869180\n %73 = add i64 %70, %72\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = zext i32 %75 to i64\n store i64 %76, i64* %.pre-phi.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %77 = call i64 @FUNC(i64 %2, i64 %.pre-phi.reload)\n %78 = and i64 %77, 4294967295\n %79 = call i64 @FUNC(i64 %2, i64 %78, i64 0)\n %80 = trunc i64 %79 to i32\n %81 = icmp sgt i32 %80, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %81, label LBL_8, label LBL_12\n LBL_8:\n %82 = trunc i64 %77 to i32\n %83 = call i64 @FUNC(i64 %2, i64 %78)\n %84 = and i64 %83, 4294967295\n %85 = call i64 @FUNC(i64 %84)\n %86 = trunc i64 %85 to i32\n %87 = icmp eq i32 %86, 3\n %88 = icmp eq i1 %87, false\n %89 = add i64 %sv_0.0, 8\n %90 = inttoptr i64 %89 to i64*\n %91 = load i64, i64* %90, align 8\n %92 = mul i64 %sv_1.0, 4\n %93 = and i64 %92, 17179869180\n %94 = add i64 %91, %93\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = zext i32 %96 to i64\n br i1 %88, label LBL_11, label LBL_9\n LBL_9:\n %wide.trip.count = and i64 %79, 4294967295\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 %98 = icmp eq i64 %indvars.iv.reload, %97\n %99 = icmp eq i1 %98, false\n %.11 = select i1 %99, i64 4, i64 0\n %100 = call i64 @FUNC(i64 %2, i32 %82, i64 5, i64 %indvars.iv.reload, i64 4, i64 %.11)\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 1, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_10\n LBL_11:\n %101 = call i64 @FUNC(i64 %2, i32 %82, i64 0, i64 6, i64 %97)\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 %97, { 1, 0 }\n uselistorder i32 %82, { 1, 0 }\n uselistorder i64 %77, { 1, 0 }\n uselistorder i64* %28, { 1, 0, 2 }\n uselistorder i64 %sv_1.0, { 0, 1, 3, 2 }\n uselistorder i64 %sv_0.0, { 1, 0 }\n uselistorder i64 %storemerge10, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 8, 7, 9, 10, 11, 5, 6, 12, 2, 3, 4, 14, 13, 15, 1, 0, 16 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 17179869180, { 1, 2, 0 }\n uselistorder i64 4, { 4, 3, 0, 1, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "deep_free_cc_v5_creds_3729", "fun_name": "deep_free_cc_v5_creds", "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_4, 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 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = inttoptr i64 %4 to i64*\n call void @free(i64* %6)\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 = call i64 @FUNC(i64 %9)\n %11 = add i64 %arg1, 24\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 %arg1, 32\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, 40\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %arg1, 48\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n call void @free(i64* %1)\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 (i64)* @deep_free_cc_data_array, { 1, 0 }\n uselistorder i64 (i64)* @deep_free_cc_data, { 2, 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 4, 3, 5, 6, 7 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bfd_rtalloc_4809", "fun_name": "bfd_rtalloc", "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 = ptrtoint i64* %arg1 to i64\n %storemerge1 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %storemerge1, 0\n %2 = icmp eq i1 %1, false\n store i64 %storemerge1, i64* %storemerge2.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %3 = inttoptr i64 %storemerge2.reload 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 98, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_13\n LBL_2:\n %7 = add i64 %storemerge2.reload, 48\n %8 = inttoptr i64 %7 to i64*\n %storemerge = load i64, i64* %8, align 8\n %9 = icmp eq i64 %storemerge, 0\n %10 = icmp eq i1 %9, false\n store i64 %storemerge, i64* %storemerge2.reg2mem\n br i1 %10, label LBL_1, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64* nonnull @gv_1, i64 0)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_10, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64* nonnull @gv_2, i64 0)\n %14 = add i64 %11, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = icmp eq i64 %13, 0\n br i1 %16, label LBL_12, label LBL_5\n LBL_5:\n %17 = inttoptr i64 %11 to i64*\n store i64 %0, i64* %17, align 8\n %18 = call i64 @FUNC(i64 %0)\n %19 = call i64 @FUNC(i64 %11)\n %20 = load i64, i64* %15, align 8\n %21 = call i64 @FUNC()\n %22 = trunc i64 %21 to i32\n %23 = add i64 %20, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %11, 24\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_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %25, i64 4198890, i64 %11)\n br label LBL_7\n LBL_7:\n %31 = add i64 %11, 32\n %32 = call i64 @FUNC(i64 %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_9, label LBL_8\n LBL_8:\n %36 = call i64 @FUNC(i64 %31, i64 4198901, i64 %11)\n br label LBL_9\n LBL_9:\n %37 = add i64 %11, 40\n %38 = call i64 @FUNC(i64 %37, i64 4198912, i64 %11)\n %39 = load i64, i64* @gv_3, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %37)\n %41 = add i64 %11, 48\n %42 = inttoptr i64 %41 to i64*\n store i64 0, i64* %42, align 8\n %43 = load i64*, i64** @gv_4, align 8\n %44 = ptrtoint i64* %43 to i64\n %45 = add i64 %11, 56\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = load i64*, i64** @gv_4, align 8\n store i64 %11, i64* %47, align 8\n store i64 %41, i64* bitcast (i64** @gv_4 to i64*), align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %.pr = load i64, i64* inttoptr (i64 8 to i64*), align 8\n %48 = icmp eq i64 %.pr, 0\n store i64 12, i64* %rax.0.reg2mem\n br i1 %48, label LBL_13, label LBL_11\n LBL_11:\n %49 = call i64 @FUNC(i64* nonnull @gv_2, i64 %.pr)\n store i64 12, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %50 = call i64 @FUNC(i64* nonnull @gv_1, i64 %11)\n store i64 12, 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 %.pr, { 1, 0 }\n uselistorder i64 %11, { 12, 2, 3, 4, 6, 5, 1, 7, 0, 8, 9, 10, 11, 13 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 1 }\n uselistorder i64 (i64*, i64)* @pool_put, { 1, 0 }\n uselistorder i64 12, { 2, 1, 0 }\n uselistorder i64** @gv_4, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @timeout_set, { 1, 0 }\n uselistorder i64 (i64)* @timeout_initialized, { 1, 0 }\n uselistorder i64 (i64*, i64)* @pool_get, { 1, 0 }\n uselistorder i1 false, { 1, 3, 4, 2, 0 }\n uselistorder label LBL_13, { 3, 2, 1, 4, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_parser_close_14194", "fun_name": "av_parser_close", "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 0)\n %2 = call i64 @FUNC()\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 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 (i64)* @av_free, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jas_iccattrtab_copy_10946", "fun_name": "jas_iccattrtab_copy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %2, i64* %storemerge1.reg2mem\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = add i64 %arg1, 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_3\n LBL_3:\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, 16\n %11 = add i64 %9, %10\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 %11 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %2, i32 %storemerge2.reload, i64 %16, i64 %14)\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* %storemerge1.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i32 %storemerge2.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp sgt i64 %8, %22\n store i64 %22, i64* %.reg2mem\n store i32 %21, i32* %storemerge2.reg2mem\n store i64 %2, i64* %storemerge1.reg2mem\n br i1 %23, label LBL_3, label LBL_5\n LBL_5:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 4294967295, { 3, 0, 1, 4, 2 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nested_vmx_exit_handled_7762", "fun_name": "nested_vmx_exit_handled", "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 0)\n %6 = call i64 @FUNC(i64 %4)\n %7 = call i64 @FUNC(i64 %4)\n %8 = inttoptr i64 %6 to i32*\n %9 = load i32, i32* %8, 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 = icmp eq i32 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_34\n LBL_1:\n %14 = add i64 %6, 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(i64 %17)\n %19 = trunc i64 %18 to i8\n %20 = icmp eq i8 %19, 0\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = call i64 @FUNC(i64 1)\n %22 = and i64 %21, 4294967295\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_3:\n %24 = zext i32 %9 to i64\n store i64 %24, i64* @0, align 8\n store i64 0, i64* %rax.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %9, label LBL_33 [\n i32 2, label LBL_4\n i32 3, label LBL_34\n i32 4, label LBL_8\n i32 5, label LBL_9\n i32 6, label LBL_10\n i32 7, label LBL_11\n i32 8, label LBL_12\n i32 9, label LBL_13\n i32 10, label LBL_14\n i32 11, label LBL_15\n i32 12, label LBL_16\n i32 13, label LBL_17\n i32 14, label LBL_18\n i32 15, label LBL_18\n i32 16, label LBL_18\n i32 17, label LBL_18\n i32 18, label LBL_18\n i32 19, label LBL_18\n i32 20, label LBL_18\n i32 21, label LBL_18\n i32 22, label LBL_18\n i32 23, label LBL_18\n i32 24, label LBL_19\n i32 25, label LBL_20\n i32 26, label LBL_21\n i32 27, label LBL_22\n i32 28, label LBL_22\n i32 29, label LBL_23\n i32 30, label LBL_24\n i32 31, label LBL_25\n i32 32, label LBL_26\n i32 33, label LBL_34\n i32 34, label LBL_28\n i32 35, label LBL_29\n i32 36, label LBL_34\n i32 37, label LBL_34\n i32 38, label LBL_30\n i32 39, label LBL_31\n i32 40, label LBL_32\n ]\n LBL_4:\n %25 = and i64 %5, 4294967295\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i8\n %28 = icmp eq i8 %27, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_5, label LBL_34\n LBL_5:\n %29 = call i64 @FUNC(i64 %25)\n %30 = trunc i64 %29 to i8\n %31 = icmp eq i8 %30, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = load i8, i8* inttoptr (i64 4210724 to i8*), align 4\n %33 = zext i8 %32 to i64\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_7:\n %34 = trunc i64 %5 to i32\n %35 = inttoptr i64 %7 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = urem i32 %34, 32\n %38 = shl i32 1, %37\n %39 = and i32 %36, %38\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n %42 = zext i1 %41 to i64\n %43 = and i32 %39, -256\n %44 = zext i32 %43 to i64\n %45 = or i64 %42, %44\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_8:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_9:\n %46 = call i64 @FUNC(i64 %7, i64 1)\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_10:\n %47 = call i64 @FUNC(i64 %7, i64 2)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_11:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_12:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_13:\n %48 = call i64 @FUNC(i64 %7, i64 4)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_14:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_15:\n %49 = call i64 @FUNC(i64 %7, i64 8)\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_16:\n %50 = call i64 @FUNC(i64 %7, i64 16)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_17:\n %51 = call i64 @FUNC(i64 %7, i64 32)\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_18:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_19:\n %52 = call i64 @FUNC(i64 %4, i64 %7)\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_20:\n %53 = call i64 @FUNC(i64 %7, i64 64)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_21:\n %54 = call i64 @FUNC(i64 %4, i64 %7)\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_22:\n %55 = call i64 @FUNC(i64 %4, i64 %7, i32 %9)\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_23:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_24:\n %56 = call i64 @FUNC(i64 %7, i64 128)\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_25:\n %57 = call i64 @FUNC(i64 %7, i64 256)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_26:\n %58 = call i64 @FUNC(i64 %7, i64 512)\n %59 = trunc i64 %58 to i8\n %60 = icmp eq i8 %59, 0\n %61 = icmp eq i1 %60, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %61, label LBL_34, label LBL_27\n LBL_27:\n %62 = call i64 @FUNC(i64 %7, i64 1024)\n %63 = trunc i64 %62 to i8\n %64 = icmp ne i8 %63, 0\n %spec.select3 = zext i1 %64 to i64\n store i64 %spec.select3, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_28:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_29:\n %65 = call i64 @FUNC(i64 %7, i64 2048)\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_30:\n %66 = add i64 %7, 4\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = and i32 %68, 4096\n %70 = zext i32 %69 to i64\n %71 = icmp eq i32 %69, 0\n %72 = icmp eq i1 %71, false\n %73 = zext i1 %72 to i64\n %74 = or i64 %73, %70\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_31:\n %75 = call i64 @FUNC(i64 %7, i64 8192)\n store i64 %75, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_32:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_33:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_34:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %9, { 0, 2, 1 }\n uselistorder i64 %7, { 16, 15, 14, 12, 13, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 17 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 35, 34, 33, 32, 31, 30, 4, 5, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 7, 1, 2, 3, 6, 9, 8 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @nested_cpu_has2, { 2, 1, 0 }\n uselistorder i64 2, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @nested_cpu_has, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 10, 9, 8, 0, 7, 6, 5, 4, 3, 16, 2, 1, 17, 11, 12, 13, 14, 15 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 (i64)* @vmcs_read32, { 1, 0 }\n uselistorder label LBL_34, { 33, 8, 9, 10, 11, 12, 4, 3, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 6, 1, 0, 2, 5, 34, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hpet_init_3347", "fun_name": "hpet_init", "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(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 40)\n store i64 %1, i64* @gv_1, align 8\n %2 = add i64 %1, 32\n %3 = inttoptr i64 %2 to i64*\n store i64 %arg1, i64* %3, align 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 %4 = mul i64 %indvars.iv.reload, 8\n %5 = add i64 %4, %1\n %6 = load i64, i64* @gv_2, align 8\n %7 = call i64 @FUNC(i64 %6, i64 4198865, i64 %5)\n %8 = inttoptr i64 %5 to i64*\n store i64 %7, i64* %8, align 8\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 %9 = call i64 @FUNC(i64 4294967295, i64* nonnull @gv_3, i64 %1)\n %10 = call i64 @FUNC(i64 4198872, i64 %1)\n %11 = load i64, i64* @gv_4, align 8\n %12 = load i64, i64* @gv_5, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %11, i64 %1)\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 4275044352, i64 1024, i64 %14)\n ret i64 %15\n\n uselistorder i64 %1, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gif_decode_frame_5415", "fun_name": "gif_decode_frame", "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 %.reg2mem4 = alloca i32*\n %.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %rcx = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %rcx to i32*\n %6 = trunc i64 %3 to i32\n %7 = ptrtoint i32* %arg4 to i64\n %8 = add i64 %7, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %4, 48\n store i64 %11, i64* %rcx, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %10, i32 %6)\n %13 = add i64 %4, 40\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %7, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = inttoptr i64 %15 to i32*\n store i32 %18, i32* %19, align 4\n %20 = load i64, i64* %14, align 8\n %21 = load i32, i32* %17, align 4\n %22 = add i64 %20, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = load i64, i64* %14, align 8\n %25 = add i64 %7, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %24, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = add i64 %7, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = load i64, i64* %14, align 8\n %34 = zext i32 %32 to i64\n %35 = call i64 @FUNC(i64 %33, i64 %34)\n %36 = load i32, i32* %5, align 8\n %37 = icmp slt i32 %36, 6\n br i1 %37, label LBL_3, label LBL_1\n LBL_1:\n %38 = load i64, i64* %9, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = call i32 @memcmp(i64* %39, i64* bitcast ([13 x i8]* @gv_0 to i64*), i32 6)\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_2, label LBL_4\n LBL_2:\n %42 = add i64 %4, 8\n %43 = inttoptr i64 %42 to i32*\n store i32 1, i32* %43, align 4\n %44 = add i64 %4, 12\n %45 = inttoptr i64 %44 to i32*\n store i32* %45, i32** %.reg2mem\n br label LBL_5\n LBL_3:\n %46 = add i64 %4, 8\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = add i64 %4, 12\n %49 = inttoptr i64 %48 to i32*\n store i32* %49, i32** %.reg2mem4\n br label LBL_13\n LBL_4:\n %50 = load i64, i64* %9, align 8\n %51 = inttoptr i64 %50 to i64*\n %52 = call i32 @memcmp(i64* %51, i64* bitcast ([7 x i8]* @gv_1 to i64*), i32 6)\n %53 = icmp eq i32 %52, 0\n %spec.select = zext i1 %53 to i32\n %54 = add i64 %4, 8\n %55 = inttoptr i64 %54 to i32*\n store i32 %spec.select, i32* %55, align 4\n %56 = icmp eq i1 %53, false\n %57 = add i64 %4, 12\n %58 = inttoptr i64 %57 to i32*\n store i32* %58, i32** %.reg2mem\n store i32* %58, i32** %.reg2mem4\n br i1 %56, label LBL_13, label LBL_5\n LBL_5:\n %.reload = load i32*, i32** %.reg2mem\n store i32 0, i32* %.reload, align 4\n %59 = add i64 %4, 16\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = call i64 @FUNC(i64 %4)\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_7, label LBL_6\n LBL_6:\n %65 = and i64 %61, 4294967295\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_7:\n %66 = add i64 %4, 4\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = bitcast i64* %rdi to i32*\n %70 = load i32, i32* %69, align 8\n %71 = zext i32 %70 to i64\n %72 = call i64 @FUNC(i64 %71, i32 %68, i64 0, i64 %4)\n %73 = trunc i64 %72 to i32\n %74 = icmp slt i32 %73, 0\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_9, label LBL_8\n LBL_8:\n %76 = and i64 %72, 4294967295\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_9:\n %77 = load i32, i32* %67, align 4\n %78 = call i64 @FUNC(i64 %4, i64 %71, i32 %77)\n %79 = load i64, i64* %14, align 8\n %80 = call i64 @FUNC(i64 %79)\n %81 = load i64, i64* %14, align 8\n %82 = call i64 @FUNC(i64 %4, i64 %81, i64 0)\n %83 = trunc i64 %82 to i32\n %84 = icmp slt i32 %83, 0\n %85 = icmp eq i1 %84, false\n br i1 %85, label LBL_11, label LBL_10\n LBL_10:\n %86 = and i64 %82, 4294967295\n store i64 %86, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_11:\n %87 = sext i32 %70 to i64\n %88 = add i64 %4, 32\n %89 = add i64 %4, 24\n %90 = call i64 @FUNC(i64 %89, i64 %88, i64 %87)\n %91 = inttoptr i64 %89 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = icmp eq i64 %92, 0\n %94 = icmp eq i1 %93, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %94, label LBL_12, label LBL_23\n LBL_12:\n %95 = load i64, i64* %14, align 8\n %96 = add i64 %95, 12\n %97 = inttoptr i64 %96 to i32*\n store i32 1, i32* %97, align 4\n %98 = load i64, i64* %14, align 8\n %99 = add i64 %98, 16\n %100 = inttoptr i64 %99 to i32*\n store i32 1, i32* %100, align 4\n store i32 1, i32* %.reload, align 4\n br label LBL_18\n LBL_13:\n %.reload5 = load i32*, i32** %.reg2mem4\n %101 = load i32, i32* %.reload5, align 4\n %102 = icmp eq i32 %101, 0\n %103 = icmp eq i1 %102, false\n br i1 %103, label LBL_15, label LBL_14\n LBL_14:\n %104 = load i64, i64* %rcx, align 8\n %105 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %104, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_15:\n %106 = load i64, i64* %14, align 8\n %107 = call i64 @FUNC(i64 %4, i64 %106)\n %108 = trunc i64 %107 to i32\n %109 = icmp slt i32 %108, 0\n %110 = icmp eq i1 %109, false\n br i1 %110, label LBL_17, label LBL_16\n LBL_16:\n %111 = and i64 %107, 4294967295\n store i64 %111, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_17:\n %112 = load i64, i64* %14, align 8\n %113 = add i64 %112, 12\n %114 = inttoptr i64 %113 to i32*\n store i32 2, i32* %114, align 4\n %115 = load i64, i64* %14, align 8\n %116 = add i64 %115, 16\n %117 = inttoptr i64 %116 to i32*\n store i32 0, i32* %117, align 4\n br label LBL_18\n LBL_18:\n %118 = load i64, i64* %14, align 8\n %119 = call i64 @FUNC(i64 %4, i64 %118)\n %120 = trunc i64 %119 to i32\n %121 = icmp slt i32 %120, 0\n %122 = icmp eq i1 %121, false\n br i1 %122, label LBL_20, label LBL_19\n LBL_19:\n %123 = and i64 %119, 4294967295\n store i64 %123, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_20:\n %124 = load i64, i64* %14, align 8\n %125 = call i64 @FUNC(i64 %arg2, i64 %124)\n %126 = trunc i64 %125 to i32\n %127 = icmp slt i32 %126, 0\n %128 = icmp eq i1 %127, false\n br i1 %128, label LBL_22, label LBL_21\n LBL_21:\n %129 = and i64 %125, 4294967295\n store i64 %129, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_22:\n %130 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %130, align 4\n %131 = load i32, i32* %5, align 8\n %132 = zext i32 %131 to i64\n store i64 %132, 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* %.reload, { 1, 0 }\n uselistorder i64* %14, { 4, 5, 6, 7, 8, 0, 1, 2, 3, 9, 10, 11, 12 }\n uselistorder i64 %4, { 13, 14, 12, 5, 4, 6, 7, 8, 9, 10, 11, 15, 3, 2, 16, 0, 1, 17, 18 }\n uselistorder i64* %rcx, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 1, 4, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 0, { 8, 6, 7, 13, 9, 10, 0, 1, 2, 3, 4, 5, 11, 12 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n uselistorder i32 0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i32 6, { 1, 2, 0 }\n uselistorder i64 12, { 2, 4, 3, 1, 0, 5 }\n uselistorder i64 8, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_23, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipc_lock_10079", "fun_name": "ipc_lock", "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* %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 = icmp ult i64 %3, -1000\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %8, label LBL_2, label LBL_4\n LBL_2:\n %9 = call i64 @FUNC(i64 %3)\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 %10 = 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, { 2, 0, 4, 3, 1, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\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": "hpet_device_class_init_15305", "fun_name": "hpet_device_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 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8\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 ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_sys_run_4566", "fun_name": "r_sys_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 %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %arg2 to i32\n %5 = mul i32 %4, 2\n %6 = add i32 %5, 8192\n %7 = call i64* @malloc(i32 %6)\n %8 = ptrtoint i64* %7 to i64\n %9 = trunc i64 %8 to i32\n %10 = urem i32 %9, 4096\n %11 = icmp eq i32 %10, 0\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = sub nsw i32 4096, %10\n %13 = zext i32 %12 to i64\n %14 = add i64 %13, %8\n store i64 %14, 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 %15 = icmp ne i64 %sv_0.0.reload, 0\n %16 = icmp eq i64* %arg1, null\n %17 = icmp eq i1 %16, false\n %or.cond = icmp eq i1 %17, %15\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 4096, i64 %3, i64 %2, i64 %1)\n call void @free(i64* %7)\n br label LBL_5\n LBL_4:\n %19 = inttoptr i64 %sv_0.0.reload to i64*\n %20 = call i64* @memcpy(i64* %19, i64* %arg1, i32 %4)\n %21 = call i64 @FUNC(i64 %sv_0.0.reload, i64 4096, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %22 = call i64 @FUNC()\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 4096, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip6_mr_input_3839", "fun_name": "ip6_mr_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 %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %1 to i32\n store i32 %3, i32* %sv_1, align 4\n %4 = call i64 @FUNC(i64 %2, i32* nonnull %sv_1, i64* nonnull %sv_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_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = and i64 %4, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = add i64 %11, 8\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %12)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = load i64, i64* %sv_0, align 8\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %18, i64 %14)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = load i64, i64* %sv_0, align 8\n %23 = and i64 %19, 4294967295\n %24 = call i64 @FUNC(i64 %22, i64 %23, i64 %arg1)\n %25 = call i64 @FUNC(i64* nonnull @gv_0)\n %26 = and i64 %24, 4294967295\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %27 = call i64 @FUNC(i64* nonnull @gv_0)\n %28 = call i64 @FUNC(i64 %arg1)\n store i64 4294967277, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %29 = call i64 @FUNC(i64 %2, i64 %18, i64 %arg1, i64 %15)\n %30 = call i64 @FUNC(i64* nonnull @gv_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 %18, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 1, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64*)* @read_unlock, { 2, 1, 0 }\n uselistorder i64 (i64)* @ipv6_hdr, { 1, 0 }\n uselistorder i64 (i64)* @kfree_skb, { 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 1, 5, 4, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gif_put_bits_rev_17382", "fun_name": "gif_put_bits_rev", "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 i32\n %sv_1.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\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 %sext3 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext3, 32\n %5 = icmp eq i32 %2, 32\n br i1 %5, label LBL_0.LBL_4_crit_edge, label LBL_2\n LBL_1:\n %.pre = trunc i64 %4 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_4\n LBL_2:\n %6 = trunc i64 %3 to i32\n %7 = urem i32 %6, 32\n %8 = trunc i64 %4 to i32\n %.highbits = lshr i32 %8, %7\n %9 = icmp eq i32 %.highbits, 0\n store i32 %8, i32* %.pre-phi.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n store i32 %8, i32* %.pre-phi.reg2mem\n br label LBL_4\n LBL_4:\n %10 = ptrtoint i64* %arg1 to i64\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %sext10 = mul i64 %1, 4294967296\n %11 = ashr exact i64 %sext10, 32\n %12 = add i64 %10, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sub i32 32, %14\n %16 = zext i32 %14 to i64\n %17 = icmp slt i64 %3, %16\n %18 = and i64 %4, 4294967295\n %19 = urem i32 %15, 32\n %20 = icmp eq i32 %19, 0\n %21 = shl i32 %.pre-phi.reload, %19\n %22 = zext i32 %21 to i64\n %storemerge5 = select i1 %20, i64 %18, i64 %22\n %23 = or i64 %storemerge5, %11\n br i1 %17, label LBL_5, label LBL_6\n LBL_5:\n %sext6 = mul i64 %23, 4294967296\n %24 = ashr exact i64 %sext6, 32\n %25 = trunc i64 %3 to i32\n %26 = add i32 %15, %25\n store i64 %24, i64* %sv_1.0.reg2mem\n store i32 %26, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_6:\n %27 = trunc i64 %23 to i32\n %28 = add i64 %10, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = trunc i64 %23 to i8\n %32 = inttoptr i64 %30 to i8*\n store i8 %31, i8* %32, align 1\n %33 = udiv i32 %27, 256\n %34 = load i64, i64* %29, align 8\n %35 = add i64 %34, 1\n %36 = trunc i32 %33 to i8\n %37 = inttoptr i64 %35 to i8*\n store i8 %36, i8* %37, align 1\n %38 = udiv i32 %27, 65536\n %39 = load i64, i64* %29, align 8\n %40 = add i64 %39, 2\n %41 = trunc i32 %38 to i8\n %42 = inttoptr i64 %40 to i8*\n store i8 %41, i8* %42, align 1\n %43 = udiv i32 %27, 16777216\n %44 = load i64, i64* %29, align 8\n %45 = add i64 %44, 3\n %46 = trunc i32 %43 to i8\n %47 = inttoptr i64 %45 to i8*\n store i8 %46, i8* %47, align 1\n %48 = load i64, i64* %29, align 8\n %49 = add i64 %48, 4\n store i64 %49, i64* %29, align 8\n %50 = add i64 %10, 16\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = icmp ult i64 %49, %52\n br i1 %53, label LBL_8, label LBL_7\n LBL_7:\n %54 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %55 = trunc i64 %3 to i32\n %56 = add i32 %55, -32\n %57 = add i32 %56, %15\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %57, i32* %sv_0.0.reg2mem\n br i1 %59, label LBL_9, label LBL_10\n LBL_9:\n %60 = urem i32 %14, 32\n %61 = icmp eq i32 %60, 0\n %62 = lshr i32 %.pre-phi.reload, %60\n %63 = zext i32 %62 to i64\n %storemerge8 = select i1 %61, i64 %4, i64 %63\n %sext9 = mul i64 %storemerge8, 4294967296\n %64 = ashr exact i64 %sext9, 32\n store i64 %64, i64* %sv_1.0.reg2mem\n store i32 %57, 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.0.reload = load i64, i64* %sv_1.0.reg2mem\n %65 = trunc i64 %sv_1.0.reload to i32\n %66 = bitcast i64* %arg1 to i32*\n store i32 %65, i32* %66, align 4\n %67 = sub i32 32, %sv_0.0.reload\n store i32 %67, i32* %13, align 4\n ret i64 %10\n\n uselistorder i32 %60, { 1, 0 }\n uselistorder i32 %57, { 1, 0, 2 }\n uselistorder i64* %29, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %23, { 2, 1, 0 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32 %15, { 2, 1, 0 }\n uselistorder i64 %10, { 2, 0, 1, 3 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 2, 3, 1 }\n uselistorder i64 %3, { 2, 3, 0, 1 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i32 32, { 4, 0, 1, 5, 2, 3 }\n uselistorder i64 32, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uninit_3205", "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 = 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 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64 (i64)* @zimg_filter_graph_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__blk_mq_alloc_rq_maps_9061", "fun_name": "__blk_mq_alloc_rq_maps", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %.reg2mem15 = alloca i32\n %storemerge4.reg2mem = alloca i32\n %.reg2mem13 = alloca i64\n %.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, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %rdi to i32*\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %.pre = load i64, i64* %7, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 0, i64* %.reg2mem13\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload14 = load i64, i64* %.reg2mem13\n %.reload = load i64, i64* %.reg2mem\n %8 = mul i64 %.reload14, 8\n %9 = add i64 %8, %.reload\n %10 = zext i32 %storemerge4.reload to i64\n %11 = call i64 @FUNC(i64 %4, i64 %10)\n %12 = inttoptr i64 %9 to i64*\n store i64 %11, i64* %12, align 8\n %13 = load i64, i64* %7, 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 br i1 %17, label LBL_3, label LBL_5\n LBL_3:\n %18 = add i32 %storemerge4.reload, -1\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967284, i64* %storemerge1.reg2mem\n br i1 %20, label LBL_4, label LBL_7\n LBL_4:\n %21 = sext i32 %18 to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %22, %13\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %4, i64 %25, i32 %18)\n %27 = add i32 %storemerge4.reload, -2\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i32 %27, i32* %.reg2mem15\n store i64 4294967284, i64* %storemerge1.reg2mem\n br i1 %29, label LBL_6, label LBL_7\n LBL_5:\n %30 = add i32 %storemerge4.reload, 1\n %31 = load i32, i32* %5, align 8\n %32 = zext i32 %31 to i64\n %33 = sext i32 %30 to i64\n %34 = icmp slt i64 %33, %32\n store i64 %13, i64* %.reg2mem\n store i64 %33, i64* %.reg2mem13\n store i32 %30, i32* %storemerge4.reg2mem\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %34, label LBL_2, label LBL_7\n LBL_6:\n %.reload16 = load i32, i32* %.reg2mem15\n %.pre7 = load i64, i64* %7, align 8\n %35 = sext i32 %.reload16 to i64\n %36 = mul i64 %35, 8\n %37 = add i64 %36, %.pre7\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %4, i64 %39, i32 %.reload16)\n %41 = add i32 %.reload16, -1\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i32 %41, i32* %.reg2mem15\n store i64 4294967284, i64* %storemerge1.reg2mem\n br i1 %43, label LBL_6, label LBL_7\n LBL_7:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32 %storemerge4.reload, { 0, 3, 2, 1 }\n uselistorder i64* %7, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 0, 3, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem13, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem15, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 3, 1, 2, 5, 4 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1, 4, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__xen_evtchn_do_upcall_7179", "fun_name": "__xen_evtchn_do_upcall", "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 = inttoptr i64 %2 to i32*\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC(i64* nonnull @gv_1)\n %6 = and i64 %4, 4294967295\n br label LBL_1\n LBL_1:\n store i32 0, i32* %3, align 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = zext i1 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC()\n %14 = load i32, i32* %3, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_1, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64* nonnull @gv_1)\n ret i64 %17\n\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vga_init_3445", "fun_name": "vga_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(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 2, i64 4198816, i64 4198827, i64 %0)\n %2 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 4198838, i64 %0)\n %3 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 4198838, i64 %0)\n %4 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 4198838, i64 %0)\n %5 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 4198838, i64 %0)\n %6 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 4198838, i64 %0)\n %7 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 4198849, i64 %0)\n %8 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 4198849, i64 %0)\n %9 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 4198849, i64 %0)\n %10 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 4198849, i64 %0)\n %11 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 4198849, i64 %0)\n %12 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %12, align 4\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %0, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = ashr i32 %17, 16\n %19 = add nsw i32 %18, -1\n %20 = add i64 %0, 1032\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = call i64 @FUNC(i64 462, i64 1, i64 2, i64 4198860, i64 %0)\n %23 = call i64 @FUNC(i64 463, i64 1, i64 2, i64 4198871, i64 %0)\n %24 = call i64 @FUNC(i64 462, i64 1, i64 2, i64 4198882, i64 %0)\n %25 = call i64 @FUNC(i64 463, i64 1, i64 2, i64 4198893, i64 %0)\n %26 = call i64 @FUNC(i64 65408, i64 1, i64 2, i64 4198860, i64 %0)\n %27 = call i64 @FUNC(i64 65409, i64 1, i64 2, i64 4198871, i64 %0)\n %28 = call i64 @FUNC(i64 65408, i64 1, i64 2, i64 4198882, i64 %0)\n %29 = call i64 @FUNC(i64 65409, i64 1, i64 2, i64 4198893, i64 %0)\n %30 = call i64 @FUNC(i64 0, i64 4198794, i64 4198805, i64 %0)\n %31 = and i64 %30, 4294967295\n %32 = call i64 @FUNC(i64 655360, i64 131072, i64 %31)\n %33 = call i64 @FUNC(i64 655360, i64 131072)\n ret i64 %33\n\n uselistorder i64 %0, { 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 (i64, i64, i64, i64, i64)* @register_ioport_read, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 11, 10, 12, 13, 14, 16, 15, 18, 17, 19, 20, 21 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmd_valid_while_locked_16519", "fun_name": "cmd_valid_while_locked", "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 = load i64, i64* %0\n %3 = urem i64 %1, 2\n %4 = icmp eq i64 %3, 0\n %5 = trunc i64 %2 to i32\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i32 %5, -41\n %7 = icmp ult i32 %6, 2\n %spec.select = zext i1 %7 to i64\n ret i64 %spec.select\n LBL_2:\n %8 = icmp ne i32 %5, 16\n %9 = icmp eq i32 %5, 55\n %10 = icmp eq i1 %9, false\n %or.cond4 = icmp eq i1 %8, %10\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_3, label LBL_4\n LBL_3:\n %sext = mul i64 %2, 4294967296\n %11 = ashr exact i64 %sext, 30\n %12 = add i64 %11, ptrtoint (i32** @gv_0 to i64)\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 i32 %14, 7\n %not.or.cond6 = or i1 %16, %15\n %spec.select7 = zext i1 %not.or.cond6 to i64\n store i64 %spec.select7, 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 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bitplanar2chunky_184", "fun_name": "bitplanar2chunky", "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 %storemerge9.reg2mem = alloca i32\n %.reg2mem20 = alloca i64\n %.reg2mem18 = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i32\n %storemerge27.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge56.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, 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* nonnull %sv_0, i64 %0, i32 %3)\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_11, label LBL_1\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_11, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg3 to i64\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = trunc i64 %arg2 to i32\n %15 = add i64 %0, 24\n %16 = inttoptr i64 %15 to i32*\n %.pre = load i64, i64* %13, align 8\n store i32 %9, i32* %.reg2mem18\n store i64 %.pre, i64* %.reg2mem20\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_9\n LBL_3:\n %storemerge56.reload = load i32, i32* %storemerge56.reg2mem\n %17 = call i64 @FUNC(i64* nonnull %sv_0)\n %18 = trunc i64 %17 to i32\n %19 = shl i32 %18, %58\n %20 = zext i32 %19 to i64\n %rdx.0 = select i1 %59, i64 %17, i64 %20\n %21 = trunc i64 %rdx.0 to i8\n %22 = add i32 %storemerge56.reload, %49\n %23 = sext i32 %22 to i64\n %24 = add i64 %23, %11\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = or i8 %26, %21\n store i8 %27, i8* %25, align 1\n %28 = add i32 %storemerge56.reload, 1\n %29 = load i64, i64* %13, align 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = sext i32 %28 to i64\n %34 = icmp slt i64 %33, %32\n store i32 %28, i32* %storemerge56.reg2mem\n br i1 %34, label LBL_3, label LBL_4\n LBL_4:\n %35 = load i32, i32* %16, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64* nonnull %sv_0, i64 %36)\n %38 = add i32 %storemerge27.reload, 1\n %39 = load i64, i64* %13, align 8\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 = sext i32 %38 to i64\n %45 = icmp slt i64 %44, %43\n store i64 %39, i64* %.reg2mem\n store i32 %38, i32* %storemerge27.reg2mem\n br i1 %45, label LBL_5, label LBL_7\n LBL_5:\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %46 = inttoptr i64 %.reload to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_4, label LBL_3.lr.ph\n LBL_6:\n %49 = mul i32 %storemerge27.reload, %14\n store i32 0, i32* %storemerge56.reg2mem\n br label LBL_3\n LBL_7:\n %.pre11 = load i32, i32* %8, align 4\n store i32 %.pre11, i32* %.reg2mem14\n store i64 %39, i64* %.reg2mem16\n br label LBL_8\n LBL_8:\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i32, i32* %.reg2mem14\n %50 = add i32 %storemerge9.reload, 1\n %51 = zext i32 %.reload15 to i64\n %52 = sext i32 %50 to i64\n %53 = icmp slt i64 %52, %51\n store i32 %.reload15, i32* %.reg2mem18\n store i64 %.reload17, i64* %.reg2mem20\n store i32 %50, i32* %storemerge9.reg2mem\n store i64 %51, i64* %rax.0.reg2mem\n br i1 %53, label LBL_9, label LBL_11\n LBL_9:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %.reload21 = load i64, i64* %.reg2mem20\n %.reload19 = load i32, i32* %.reg2mem18\n %54 = add i64 %.reload21, 4\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n store i32 %.reload19, i32* %.reg2mem14\n store i64 %.reload21, i64* %.reg2mem16\n br i1 %57, label LBL_8, label LBL_5.lr.ph\n LBL_10:\n %58 = urem i32 %storemerge9.reload, 32\n %59 = icmp eq i32 %58, 0\n store i64 %.reload21, i64* %.reg2mem\n store i32 0, i32* %storemerge27.reg2mem\n br 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 %.reload21, { 1, 2, 0 }\n uselistorder i32 %storemerge9.reload, { 1, 0 }\n uselistorder i32 %storemerge27.reload, { 1, 0 }\n uselistorder i64* %13, { 2, 1, 0 }\n uselistorder i32* %storemerge56.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmsvga_fifo_read_raw_3546", "fun_name": "vmsvga_fifo_read_raw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\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 = and i32 %3, -4\n %5 = zext i32 %4 to i64\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %3, 4\n store i32 %9, i32* %2, align 4\n %10 = add i64 %0, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp ult i32 %9, %12\n store i32 %9, i32* %.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n store i32 %16, i32* %2, align 4\n store i32 %16, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %17 = bitcast i64* %arg1 to i32*\n store i32 %.reload, i32* %17, align 4\n %18 = zext i32 %8 to i64\n ret i64 %18\n\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "divider_get_val_4563", "fun_name": "divider_get_val", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i8 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = add i64 %arg1, -1\n %2 = add i64 %1, %arg2\n %3 = udiv i64 %2, %arg1\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %0, i64 %4, i64 %arg5)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_3\n LBL_1:\n %9 = trunc i64 %3 to i32\n %10 = call i64 @FUNC(i64 %0, i32 %9, i64 %arg5, i8 %arg4)\n %11 = and i64 %10, 4294967295\n %12 = zext i8 %arg4 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp ult i64 %11, %13\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %12)\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 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @div_mask, { 1, 0 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avfilter_copy_buffer_ref_props_15315", "fun_name": "avfilter_copy_buffer_ref_props", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = ptrtoint i32* %arg2 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 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = bitcast i64* %rsi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = icmp eq i32 %13, 1\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = zext i32 %13 to i64\n %16 = icmp eq i32 %13, 2\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_6\n LBL_2:\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 store i64 %19, i64* %.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %19)\n %.pre = load i64, i64* %18, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %24 = add i64 %1, 24\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %.reload, i64 %26)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %28 = add i64 %1, 32\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, 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 = inttoptr i64 %30 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %33 to i64*\n store i64 %35, i64* %36, align 8\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 i32 %13, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "usbredir_do_attach_2950", "fun_name": "usbredir_do_attach", "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 = urem i64 %1, 2\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_5, 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 i64 @FUNC(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_2\n LBL_2:\n %11 = load i64, i64* %6, align 8\n %12 = call i64 @FUNC(i64 %11, i64 2)\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 i64, i64* %6, align 8\n %16 = call i64 @FUNC(i64 %15, i64 3)\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 %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %21 = call i32 @fwrite(i64* bitcast ([60 x i8]* @gv_1 to i64*), i32 1, i32 59, %_IO_FILE* %20)\n %22 = call i64 @FUNC(i64 %2)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %23 = call i64 @FUNC(i64 %2)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %27 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_2 to i64*), i32 1, i32 39, %_IO_FILE* %26)\n %28 = call i64 @FUNC(i64 %2)\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 %2, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @usbredir_reject_device, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 (i64, i64)* @usbredirparser_peer_has_cap, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_sigreturn_18662", "fun_name": "do_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, 128\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_2, label LBL_1\n LBL_1:\n call void @llvm.trap()\n unreachable\n LBL_2:\n %8 = call i64 @FUNC(i64 0, i64 0, i64 1)\n %9 = call i64 @FUNC(i64 0, i64 %4, i64 1)\n %10 = call i64 @FUNC(i64 11)\n ret i64 0\n\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_serial_load_2329", "fun_name": "virtio_serial_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 %storemerge8.reg2mem = alloca i32\n %indvars.iv.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 %sv_3 = alloca i32, align 4\n %0 = icmp slt i32 %arg3, 4\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_16\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %1, 16\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = icmp sgt i32 %arg3, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_16\n LBL_2:\n %6 = call i64 @FUNC(i64 %2, i64 %1)\n %7 = add i64 %1, 2\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n %9 = bitcast i32* %sv_3 to i64*\n %10 = call i64 @FUNC(i64 %2, i64* nonnull %9)\n %11 = add i64 %1, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = load i32, i32* %sv_3, align 4\n %15 = icmp ult i32 %13, %14\n %16 = icmp eq i1 %15, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_16\n LBL_3:\n %17 = add i32 %14, 31\n %18 = icmp ugt i32 %17, 31\n br i1 %18, label LBL_4, label LBL_7\n LBL_4:\n %19 = bitcast i32* %sv_2 to i64*\n %20 = add i64 %1, 8\n %21 = inttoptr i64 %20 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 %22 = call i64 @FUNC(i64 %2, i64* nonnull %19)\n %23 = load i64, i64* %21, align 8\n %24 = mul i64 %indvars.iv.reload, 4\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = load i32, i32* %sv_2, align 4\n %29 = icmp eq i32 %27, %28\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_16\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %30 = load i32, i32* %sv_3, align 4\n %31 = add i32 %30, 31\n %32 = udiv i32 %31, 32\n %33 = zext i32 %32 to i64\n %34 = icmp ult i64 %indvars.iv.next, %33\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %34, label LBL_5, label LBL_7\n LBL_7:\n %35 = bitcast i32* %sv_1 to i64*\n %36 = call i64 @FUNC(i64 %2, i64* nonnull %35)\n %37 = load i32, i32* %sv_1, align 4\n %38 = icmp eq i32 %37, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_16, label LBL_8\n LBL_8:\n %39 = icmp slt i32 %arg3, 3\n %40 = bitcast i32* %sv_0 to i64*\n store i32 0, i32* %storemerge8.reg2mem\n br label LBL_9\n LBL_9:\n %41 = call i64 @FUNC(i64 %2)\n %42 = and i64 %41, 4294967295\n %43 = call i64 @FUNC(i64 %1, i64 %42)\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %45, label LBL_10, label LBL_16\n LBL_10:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %46 = inttoptr i64 %43 to i8*\n %47 = call i64 @FUNC(i64 %2)\n %48 = trunc i64 %47 to i8\n store i8 %48, i8* %46, align 1\n %49 = call i64 @FUNC(i64 %2)\n %50 = trunc i64 %49 to i8\n %51 = add i64 %43, 1\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = icmp eq i8 %53, %50\n br i1 %54, label LBL_12, label LBL_11\n LBL_11:\n %55 = zext i8 %53 to i64\n %56 = call i64 @FUNC(i64 %43, i64 1, i64 %55)\n br label LBL_12\n LBL_12:\n br i1 %39, label LBL_15, label LBL_13\n LBL_13:\n %57 = call i64 @FUNC(i64 %2, i64* nonnull %40)\n %58 = load i32, i32* %sv_0, align 4\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_15, label LBL_14\n LBL_14:\n %60 = add i64 %43, 40\n %61 = inttoptr i64 %60 to i64*\n %62 = call i64 @FUNC(i64 %2, i64* %61)\n %63 = add i64 %43, 48\n %64 = call i64 @FUNC(i64 %2, i64 %63)\n %65 = add i64 %43, 8\n %66 = call i64 @FUNC(i64 %2, i64 %65, i64 32)\n %67 = add i64 %43, 12\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = inttoptr i64 %65 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = add i64 %43, 24\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = call i64 @FUNC(i64 %74, i32 %71, i32 %69, i64 1)\n %76 = add i64 %43, 20\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = add i64 %43, 16\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = add i64 %43, 32\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = call i64 @FUNC(i64 %84, i32 %81, i32 %78, i64 1)\n %86 = call i64 @FUNC(i64 %43, i64 0)\n br label LBL_15\n LBL_15:\n %87 = add nuw i32 %storemerge8.reload, 1\n %88 = load i32, i32* %sv_1, align 4\n %89 = icmp ult i32 %87, %88\n store i32 %87, i32* %storemerge8.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %89, label LBL_9, 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 %2, { 0, 2, 1, 3, 5, 4, 6, 8, 7, 11, 10, 9, 12 }\n uselistorder i64 %1, { 0, 1, 2, 4, 3, 5 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1, 5, 6, 7 }\n uselistorder i64 (i64, i32, i32, i64)* @virtqueue_map_sg, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @qemu_get_byte, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i32 31, { 2, 0, 1 }\n uselistorder i64 (i64, i64*)* @qemu_get_be32s, { 4, 3, 1, 2, 0 }\n uselistorder i64 (i64, i64)* @qemu_get_be16s, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0, 2, 3 }\n uselistorder label LBL_16, { 2, 1, 3, 0, 4, 5, 6 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__f2fs_set_acl_13386", "fun_name": "__f2fs_set_acl", "llvm_ir_function": "define i64 @FUNC(i32* %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.0.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %.pr.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32*, align 8\n %2 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i32* %arg3, i32** %sv_3, align 8\n store i64 0, i64* %sv_2, align 8\n %4 = icmp eq i32 %2, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = trunc i64 %3 to i32\n %6 = icmp eq i32 %5, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_14\n LBL_2:\n %7 = icmp eq i32* %arg3, null\n store i32 3, i32* %sv_1.05.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_11, label LBL_3\n LBL_3:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = bitcast i32** %sv_3 to i64*\n %10 = call i64 @FUNC(i64 %8, i64 %8, i64* nonnull %9)\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 = and i64 %10, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %8, i64 %14)\n %.pr.pre = load i32*, i32** %sv_3, align 8\n store i32* %.pr.pre, i32** %.pr.reg2mem\n store i32 3, i32* %sv_1.0.ph.reg2mem\n br label LBL_8\n LBL_6:\n %16 = and i64 %1, 61440\n %17 = icmp eq i64 %16, 16384\n store i32* %arg3, i32** %.pr.reg2mem\n store i32 4, i32* %sv_1.0.ph.reg2mem\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %18 = icmp eq i32* %arg3, null\n %. = select i1 %18, i64 0, i64 4294967283\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %.pr.reload = load i32*, i32** %.pr.reg2mem\n %19 = icmp eq i32* %.pr.reload, null\n store i32 %sv_1.0.ph.reload, i32* %sv_1.05.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %19, label LBL_11, label LBL_9\n LBL_9:\n %20 = ptrtoint i32* %.pr.reload to i64\n %21 = call i64 @FUNC(i64 %20, i64* nonnull %sv_2)\n %22 = icmp ult i64 %21, -1000\n store i32 %sv_1.0.ph.reload, i32* %sv_1.05.reg2mem\n store i64 %21, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_11, label LBL_10\n LBL_10:\n %23 = ptrtoint i32* %arg1 to i64\n %24 = call i64 @FUNC(i64 %23, i64 1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %25 = load i64, i64* %sv_2, align 8\n %26 = ptrtoint i32* %arg4 to i64\n %27 = ptrtoint i32* %arg1 to i64\n %28 = call i64 @FUNC(i64 %27, i32 %sv_1.05.reload, i64* nonnull @gv_0, i64 %sv_0.0.reload, i64 %25, i64 %26)\n %29 = trunc i64 %28 to i32\n %30 = call i64 @FUNC(i64 %sv_0.0.reload)\n %31 = icmp eq i32 %29, 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** %sv_3, align 8\n %34 = ptrtoint i32* %33 to i64\n %35 = and i64 %3, 4294967295\n %36 = call i64 @FUNC(i64 %27, i64 %35, i64 %34)\n br label LBL_13\n LBL_13:\n %37 = call i64 @FUNC(i64 %27, i64 1)\n %38 = and i64 %28, 4294967295\n store i64 %38, 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 %27, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i32* %.pr.reload, { 1, 0 }\n uselistorder i64 %8, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32** %sv_3, { 2, 0, 3, 1 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32** %.pr.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.05.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @clear_inode_flag, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32* null, { 1, 2, 0 }\n uselistorder i32* %arg3, { 2, 0, 1, 3 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_14, { 2, 3, 1, 4, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dwarf_read_offset_7256", "fun_name": "dwarf_read_offset", "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 = trunc i64 %arg1 to i8\n %2 = icmp eq i8 %1, 0\n %3 = and i64 %0, 4294967295\n %storemerge = select i1 %2, i64 %3, i64 %0\n ret i64 %storemerge\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_vhost_status_8302", "fun_name": "virtio_net_vhost_status", "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 %storemerge.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\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 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 0\n store i32 1, i32* %storemerge3.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %14 = add i64 %8, 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* %rax.0.reg2mem\n br i1 %17, label LBL_14, label LBL_3\n LBL_3:\n %18 = inttoptr i64 %16 to i64*\n %19 = load i64, i64* %18, align 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 = icmp eq i32 %21, 1\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %24, label LBL_14, label LBL_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %16)\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_14, label LBL_5\n LBL_5:\n %28 = urem i64 %arg2, 256\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %29 = add i64 %3, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = call i64 @FUNC(i64 %3, i64 %28)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = load i64, i64* %15, align 8\n %36 = add i64 %35, 16\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 i64 1, i64* %storemerge.reg2mem\n br i1 %40, 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 %41 = icmp eq i32 %31, 0\n %42 = zext i1 %41 to i64\n %43 = and i64 %2, 4294967040\n %44 = or i64 %43, %42\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %45 = xor i64 %storemerge.reload, %44\n %46 = trunc i64 %45 to i8\n %47 = icmp eq i8 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 %45, i64* %rax.0.reg2mem\n br i1 %48, label LBL_14, label LBL_9\n LBL_9:\n %49 = load i32, i32* %30, 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_10\n LBL_10:\n %52 = load i64, i64* %15, align 8\n %53 = call i64 @FUNC(i64 %52)\n %54 = and i64 %53, 4294967295\n %55 = call i64 @FUNC(i64 %54, i64 %4)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n store i64 %55, i64* %rax.0.reg2mem\n br i1 %57, label LBL_14, label LBL_11\n LBL_11:\n store i32 1, i32* %30, align 4\n %58 = load i64, i64* %6, align 8\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 %4, i64 %61, i32 %storemerge3.reload)\n %63 = trunc i64 %62 to i32\n %64 = icmp slt i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %62, i64* %rax.0.reg2mem\n br i1 %65, label LBL_14, label LBL_12\n LBL_12:\n %66 = sub i64 0, %62\n %67 = and i64 %66, 4294967295\n %68 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i64 %67)\n store i32 0, i32* %30, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %69 = load i64, i64* %6, align 8\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = zext i32 %71 to i64\n %73 = call i64 @FUNC(i64 %4, i64 %72, i32 %storemerge3.reload)\n store i32 0, i32* %30, 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 i64 %62, { 1, 0, 2 }\n uselistorder i32* %30, { 2, 0, 1, 3, 4 }\n uselistorder i32 %storemerge3.reload, { 1, 0 }\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64* %6, { 1, 0, 2 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0, 3, 4, 2, 5, 6 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3, 5, 6, 7, 8 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @tap_get_vhost_net, { 1, 0 }\n uselistorder label LBL_14, { 5, 6, 7, 0, 1, 2, 3, 4 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_to_array_9245", "fun_name": "copy_to_array", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rdx.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 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 i64 %0, i64* %rdx.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\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 ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([14 x i8], [14 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 21, i64* %rdx.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = add i64 %.reload, -1\n store i64 %6, i64* %2, align 8\n %7 = mul i64 %6, 16\n %8 = add i64 %7, %rdx.0.reload\n %9 = ptrtoint i8* %arg1 to i64\n %10 = inttoptr i64 %8 to i64*\n store i64 %9, i64* %10, align 8\n %11 = load i64, i64* %2, align 8\n %12 = mul i64 %11, 16\n %13 = bitcast i64* %rsi to i32*\n %14 = load i32, i32* %13, align 8\n %15 = zext i32 %14 to i64\n %16 = add i64 %8, 8\n %17 = add i64 %16, %12\n %18 = inttoptr i64 %17 to i32*\n store i32 %14, i32* %18, align 4\n ret i64 %15\n\n uselistorder i64* %2, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DefragTrackerReuseTest_3626", "fun_name": "DefragTrackerReuseTest", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.05.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 1, i64 1, i64 0, i64 0, i64 65, i64 8)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %sv_0.05.reg2mem\n br i1 %2, label LBL_8, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0, i64 0, i64 %1)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br i1 %4, label LBL_7, label LBL_2\n LBL_2:\n %5 = inttoptr i64 %3 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 0, i64* %sv_0.0.ph.reg2mem\n br i1 %8, label LBL_7, label LBL_3\n LBL_3:\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 %13 = icmp eq i1 %12, false\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br i1 %13, label LBL_7, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %3)\n %15 = call i64 @FUNC(i64 0, i64 0, i64 %1)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i64 %15, %3\n %18 = icmp eq i1 %17, false\n %or.cond = or i1 %16, %18\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %3)\n store i32 1, i32* %10, align 4\n %20 = call i64 @FUNC(i64 0, i64 0, i64 %1)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i64 %20, %3\n %or.cond3 = or i1 %21, %22\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br i1 %or.cond3, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %20, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 0\n %spec.select = zext i1 %26 to i64\n store i64 %spec.select, i64* %sv_0.0.ph.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %27 = call i64 @FUNC(i64 %1)\n store i64 %sv_0.0.ph.reload, i64* %sv_0.05.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %28 = call i64 @FUNC()\n ret i64 %sv_0.05.reload\n\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 %1, { 2, 0, 1, 3, 4 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @DefragTrackerRelease, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @DefragGetTracker, { 2, 1, 0 }\n uselistorder i32 1, { 6, 3, 2, 1, 4, 5, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cloop_close_1569", "fun_name": "cloop_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 = call i64 @FUNC(i64 %10)\n ret i64 %11\n\n uselistorder i64 (i64)* @g_free, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mptsas_fetch_requests_19250", "fun_name": "mptsas_fetch_requests", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n br label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %0)\n br label LBL_1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jffs2_acl_count_4975", "fun_name": "jffs2_acl_count", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sbappend_763", "fun_name": "sbappend", "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 = 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 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %5, i64 %6, i64 %2, i64 %1)\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %5, i64 %6, i64 %2, i64 %1)\n %10 = trunc i64 %4 to i32\n %11 = and i64 %4, 4294967295\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 %11, i64 %5, i64 %6, i64 %2, i64 %1)\n %13 = icmp eq i32 %10, 0\n %14 = icmp slt i32 %10, 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_1\n LBL_1:\n %18 = call i64 @FUNC(i64 %arg2)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %19 = add i64 %arg1, 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 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %24 = call i64 @FUNC(i64 %arg2)\n %25 = call i64 @FUNC(i64 %arg1)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %26 = trunc i64 %3 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = add i64 %arg2, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %arg1, i64 %31, i32 %10, i64 0)\n %33 = trunc i64 %32 to i32\n store i32 %33, 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 %34 = icmp eq i32 %sv_0.0.reload, 0\n %35 = icmp slt i32 %sv_0.0.reload, 0\n %36 = icmp eq i1 %35, false\n %37 = icmp eq i1 %34, false\n %38 = icmp eq i1 %36, %37\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n br label LBL_10\n LBL_8:\n %40 = icmp eq i32 %sv_0.0.reload, %10\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n %41 = sub i32 %10, %sv_0.0.reload\n %42 = inttoptr i64 %arg2 to i32*\n store i32 %41, i32* %42, align 4\n %43 = add i64 %arg2, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = sext i32 %sv_0.0.reload to i64\n %47 = add i64 %45, %46\n store i64 %47, i64* %44, align 8\n %48 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n br label LBL_10\n LBL_10:\n %49 = call i64 @FUNC(i64 %arg2)\n store i64 %49, 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, { 3, 0, 4, 1, 2 }\n uselistorder i32 %10, { 1, 0, 2, 4, 3 }\n uselistorder i64 %6, { 2, 0, 1 }\n uselistorder i64 %5, { 2, 0, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @sbappendsb, { 2, 1, 0 }\n uselistorder i64 (i64)* @m_free, { 2, 1, 0 }\n uselistorder i1 false, { 2, 0, 3, 4, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG_ARG, { 2, 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 0, 2, 1 }\n uselistorder i64 %arg2, { 8, 5, 6, 7, 4, 3, 2, 1, 0, 9 }\n uselistorder i64 %arg1, { 1, 0, 3, 4, 5, 2, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_post_load_2523", "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 = call i64 @FUNC(i64 %2)\n %4 = add i64 %2, 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 i64 %2, 16\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9, i64 %7)\n %11 = load i8, i8* %5, align 1\n %12 = add i64 %2, 24\n %13 = zext i8 %11 to i64\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n %15 = add i64 %2, 5\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 0\n br i1 %18, label LBL_3, label LBL_1\n LBL_1:\n %19 = call i64 @FUNC(i64 %2, i64 16)\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 1\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n %23 = add i64 %2, 8\n %24 = call i64 @FUNC(i64 %3, i64 %23, i64 %23)\n store i8 0, i8* %16, align 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\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 %23, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1, 3, 4, 5, 6, 7 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_disk_purge_requests_3190", "fun_name": "scsi_disk_purge_requests", "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 %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n br label LBL_1\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_aiocb_rw_linear_1461", "fun_name": "handle_aiocb_rw_linear", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i32\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 = add i64 %3, 24\n %7 = inttoptr i64 %6 to i32*\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = trunc i64 %1 to i32\n store i64 0, i64* %sv_0.0.ph.reg2mem\n br label LBL_12\n LBL_1:\n %11 = load i32, i32* %7, align 4\n %12 = urem i32 %11, 2\n %13 = icmp eq i32 %12, 0\n %14 = load i64, i64* %9, align 8\n %15 = add i64 %14, %sv_0.0.ph.reload\n %16 = sub i64 %55, %sv_0.0.ph.reload\n %17 = trunc i64 %16 to i32\n %18 = trunc i64 %15 to i32\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i32 @pwrite(i32 %10, i64* %54, i32 %17, i32 %18)\n store i32 %19, i32* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %20 = call i32 @pread(i32 %10, i64* %54, i32 %17, i32 %18)\n store i32 %20, i32* %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %21 = icmp eq i32 %storemerge.in.reload, -1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_11, label LBL_5\n LBL_5:\n %23 = call i32* @__errno_location()\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 4\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_13\n LBL_6:\n %27 = call i32* @__errno_location()\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 22\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_7\n LBL_7:\n %31 = add i64 %3, 32\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 = and i32 %35, 2\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_10, label LBL_8\n LBL_8:\n %38 = load i32, i32* %7, 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_10, label LBL_9\n LBL_9:\n %42 = icmp eq i64 %sv_0.0.ph.reload, 0\n %43 = icmp slt i64 %sv_0.0.ph.reload, 0\n %44 = icmp eq i1 %43, false\n %45 = icmp eq i1 %42, false\n %46 = icmp eq i1 %44, %45\n store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem\n br i1 %46, label LBL_14, label LBL_10\n LBL_10:\n %47 = call i32* @__errno_location()\n %48 = load i32, i32* %47, align 4\n %49 = sub i32 0, %48\n %50 = sext i32 %49 to i64\n store i64 %50, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_11:\n %storemerge.le = sext i32 %storemerge.in.reload to i64\n %51 = icmp eq i32 %storemerge.in.reload, 0\n %52 = add i64 %sv_0.0.ph.reload, %storemerge.le\n store i64 %52, i64* %sv_0.0.ph.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem\n br i1 %51, label LBL_14, label LBL_12\n LBL_12:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %53 = add i64 %sv_0.0.ph.reload, %2\n %54 = inttoptr i64 %53 to i64*\n br label LBL_13\n LBL_13:\n %55 = load i64, i64* %5, align 8\n %56 = icmp sgt i64 %55, %sv_0.0.ph.reload\n store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem\n br i1 %56, label LBL_1, label LBL_14\n LBL_14:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n ret i64 %sv_0.1.reload\n\n uselistorder i64 %sv_0.0.ph.reload, { 1, 3, 5, 6, 4, 8, 9, 2, 7, 0 }\n uselistorder i32 %storemerge.in.reload, { 2, 1, 0 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i32* ()* @__errno_location, { 2, 1, 0 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder label LBL_14, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "md_unregister_thread_7994", "fun_name": "md_unregister_thread", "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 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %3)\n %5 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 0, i64* %arg1, align 8\n %6 = call i64 @FUNC(i64* nonnull @gv_1)\n %7 = call i64 @FUNC(i64 ptrtoint (i64* @gv_1 to i64))\n %8 = call i64 @FUNC(i64 %0)\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 %0, { 1, 2, 0 }\n uselistorder i64* @gv_1, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofproto_type_wait_10014", "fun_name": "ofproto_type_wait", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\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 %1\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "open_handlers_10556", "fun_name": "open_handlers", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.1.lcssa14.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %indvars.iv10.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i8*, align 8\n %3 = load [18 x i8]*, [18 x i8]** @gv_0, align 8\n %4 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0\n %5 = bitcast i64* %sv_1 to %dirent***\n %6 = call i32 @scandir(i8* %4, %dirent*** nonnull %5, i32 (%dirent*)* inttoptr (i64 4198822 to i32 (%dirent*)*), i32 (%dirent**, %dirent**)* inttoptr (i64 4198512 to i32 (%dirent**, %dirent**)*))\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_15\n LBL_1:\n %9 = icmp sgt i32 %6, 0\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %wide.trip.count12 = zext i32 %6 to i64\n store i64 0, i64* %indvars.iv10.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n br label LBL_4\n LBL_3:\n %10 = load i64, i64* %sv_1, align 8\n store i32 0, i32* %sv_0.1.lcssa14.reg2mem\n store i64 %10, i64* %.lcssa.reg2mem\n br label LBL_14\n LBL_4:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %11 = load i64, i64* %sv_1, align 8\n %12 = mul i64 %indvars.iv10.reload, 8\n %13 = add i64 %11, %12\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %15, 19\n %17 = load [18 x i8]*, [18 x i8]** @gv_0, align 8\n %18 = ptrtoint [18 x i8]* %17 to i64\n %19 = getelementptr inbounds [18 x i8], [18 x i8]* %17, i64 0, i64 0\n %20 = inttoptr i64 %16 to i8*\n %21 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* %19, i8* %20)\n %22 = icmp eq i32 %21, -1\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 ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64 %18, i64 %16, i64 %2, i64 %1)\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_6:\n %25 = load i8*, i8** %sv_2, align 8\n %26 = call i64* @dlopen(i8* %25, i32 2)\n %27 = icmp eq i64* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i8* @dlerror()\n %30 = ptrtoint i8* %29 to i64\n %31 = load i8*, i8** %sv_2, align 8\n %32 = ptrtoint i8* %31 to i64\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 %32, i64 %30, i64 %16, i64 %2, i64 %1)\n %34 = load i8*, i8** %sv_2, align 8\n %35 = bitcast i8* %34 to i64*\n call void @free(i64* %35)\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_8:\n %36 = call i64* @dlsym(i64* %26, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0))\n %37 = icmp eq i64* %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 i8*, i8** %sv_2, align 8\n %40 = ptrtoint i8* %39 to i64\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %40, i64 %18, i64 %16, i64 %2, i64 %1)\n %42 = load i8*, i8** %sv_2, align 8\n %43 = bitcast i8* %42 to i64*\n call void @free(i64* %43)\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %44 = ptrtoint i64* %36 to i64\n %45 = trunc i64 %44 to i32\n %46 = load i8*, i8** %sv_2, align 8\n %47 = bitcast i8* %46 to i64*\n call void @free(i64* %47)\n %48 = icmp eq i32 %45, 0\n %49 = zext i1 %48 to i32\n %spec.select = add i32 %sv_0.16.reload, %49\n store i32 %spec.select, 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 %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 store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n br i1 %exitcond13, label LBL_12, label LBL_4\n LBL_12:\n %50 = load i64, i64* %sv_1, align 8\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %50, i64* %.reg2mem\n br label LBL_13\n LBL_13:\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %51 = mul i64 %indvars.iv.reload, 8\n %52 = add i64 %51, %.reload\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = inttoptr i64 %54 to i64*\n call void @free(i64* %55)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %56 = load i64, i64* %sv_1, align 8\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %56, i64* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa14.reg2mem\n store i64 %56, i64* %.lcssa.reg2mem\n br i1 %exitcond, label LBL_14, label LBL_13\n LBL_14:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_0.1.lcssa14.reload = load i32, i32* %sv_0.1.lcssa14.reg2mem\n %57 = inttoptr i64 %.lcssa.reload to i64*\n call void @free(i64* %57)\n %58 = zext i32 %sv_0.1.lcssa14.reload to i64\n store i64 %58, 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* %36, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %16, { 2, 1, 0, 3 }\n uselistorder i32 %sv_0.16.reload, { 3, 2, 1, 0 }\n uselistorder i8** %sv_2, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64* %sv_1, { 3, 1, 4, 0, 2 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder void (i64*)* @free, { 3, 4, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @tcmu_err, { 2, 1, 0 }\n uselistorder [6 x i8]* @gv_1, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i32 1, { 11, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 13, 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "css_create_css_image_3450", "fun_name": "css_create_css_image", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 72057594037927936\n %0 = ashr exact i64 %sext, 56\n %1 = trunc i64 %arg2 to i8\n %2 = icmp eq i8 %1, 0\n %. = select i1 %2, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint ([10 x i8]* @gv_1 to i64)\n %3 = urem i64 %0, 256\n %4 = call i64 @FUNC(i64 %3, i64 %.)\n %5 = trunc i64 %0 to i8\n %6 = icmp eq i8 %5, -1\n %7 = icmp eq i1 %6, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = load i64, i64* @gv_2, align 8\n %9 = mul i64 %arg1, 8\n %10 = and i64 %9, 2040\n %11 = add i64 %8, %10\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 4294967280, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_4\n LBL_2:\n %15 = call i64 @FUNC(i64 0)\n store i64 %15, i64* %12, align 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_4, label LBL_3\n LBL_3:\n store i8 %5, i8* bitcast (i64* @gv_3 to i8*), 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 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_4, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smb_idmap_batch_destroy_3944", "fun_name": "smb_idmap_batch_destroy", "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 %.reg2mem2 = alloca i64\n %.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 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %arg1, 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 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_2\n LBL_2:\n %7 = add i64 %1, 24\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n store i64 %5, i64* %.reg2mem\n store i64 0, i64* %.reg2mem2\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %15, label LBL_6, label LBL_4\n LBL_4:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload3 = load i64, i64* %.reg2mem2\n %.reload = load i64, i64* %.reg2mem\n %16 = mul i64 %.reload3, 16\n %17 = add i64 %16, %.reload\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = load i64, i64* %4, align 8\n %22 = or i64 %16, 8\n %23 = add i64 %21, %22\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 i32 %storemerge1.reload, 1\n %28 = load i32, i32* %13, align 4\n %29 = zext i32 %28 to i64\n %30 = sext i32 %27 to i64\n %31 = icmp slt i64 %30, %29\n br i1 %31, label LBL_4.LBL_4_crit_edge, label LBL_6\n LBL_5:\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %30, i64* %.reg2mem2\n store i32 %27, i32* %storemerge1.reg2mem\n br label LBL_4\n LBL_6:\n %32 = add i64 %1, 20\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* %rax.0.reg2mem\n br i1 %35, label LBL_9, label LBL_7\n LBL_7:\n %36 = load i64, i64* %4, align 8\n %37 = icmp eq i64 %36, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = inttoptr i64 %36 to i64*\n call void @free(i64* %38)\n store i64 0, i64* %4, 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 i32* %13, { 1, 0 }\n uselistorder i64* %4, { 2, 3, 0, 1, 4 }\n uselistorder i64 %1, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem2, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 2, 0, 1, 3 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "next_desc_10336", "fun_name": "next_desc", "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 4294967295, 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 %8 = load i32, i32* %7, align 4\n %9 = call i64 @FUNC()\n %10 = zext i32 %8 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": "kvm_set_shared_msr_9838", "fun_name": "kvm_set_shared_msr", "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 = call i64 @FUNC()\n %1 = and i64 %0, 4294967295\n %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)\n %3 = mul i64 %arg1, 8\n %4 = and i64 %3, 34359738360\n %5 = add i64 %2, %4\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = xor i64 %7, %arg2\n %9 = and i64 %8, %arg3\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_1:\n store i64 %arg2, i64* %6, align 8\n %12 = add i64 %4, ptrtoint (i64* @gv_1 to i64)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %arg2)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_2:\n %18 = add i64 %2, 2048\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = add i64 %2, 2056\n %23 = inttoptr i64 %22 to i64*\n store i64 4198775, i64* %23, align 8\n %24 = call i64 @FUNC(i64 %22)\n store i8 1, i8* %19, align 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 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "page_check_range_1600", "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.02.reg2mem = alloca i64\n %sv_1.03.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 37, 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_15\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_15, 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_15\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.03.reg2mem\n store i64 %8, i64* %sv_0.02.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %15 = udiv i64 %sv_1.03.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_15\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_15\n LBL_8:\n %sv_0.02.reload = load i64, i64* %sv_0.02.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_15\n LBL_10:\n br i1 %14, label LBL_14, 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_15\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.03.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_15\n LBL_14:\n %37 = add i64 %sv_0.02.reload, -4096\n %38 = add i64 %sv_1.03.reload, 4096\n %39 = icmp eq i64 %37, 0\n %40 = icmp eq i1 %39, false\n store i64 %38, i64* %sv_1.03.reg2mem\n store i64 %37, i64* %sv_0.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_6, 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 %20, { 2, 1, 3, 0 }\n uselistorder i64 %sv_1.03.reload, { 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* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 7, 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_15, { 5, 4, 3, 2, 1, 0, 6, 7, 8 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "autofs_dir_symlink_4778", "fun_name": "autofs_dir_symlink", "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 = ptrtoint i64* %arg2 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %2)\n %6 = inttoptr i64 %arg3 to i8*\n %7 = call i32 @strlen(i8* %6)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %2)\n %9 = call i64 @FUNC(i64 %4)\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* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_9\n LBL_1:\n %13 = inttoptr i64 %4 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n store i64 4294967283, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_9\n LBL_2:\n %16 = sext i32 %7 to i64\n %17 = icmp eq i64 %5, 0\n %18 = zext i1 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC(i64 %5)\n %21 = call i64 @FUNC(i64 %2)\n %22 = add nsw i64 %16, 1\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.reg2mem\n br i1 %25, label LBL_3, label LBL_9\n LBL_3:\n %26 = inttoptr i64 %23 to i8*\n %27 = call i8* @strcpy(i8* %26, i8* %6)\n %28 = call i64 @FUNC(i64 %3, i64 41325)\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 = call i64 @FUNC(i64 %23)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %32 = add i64 %28, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %23, i64* %33, align 8\n %34 = add i64 %28, 16\n %35 = inttoptr i64 %34 to i64*\n store i64 %16, i64* %35, align 8\n %36 = call i64 @FUNC(i64 %2, i64 %28)\n %37 = call i64 @FUNC(i64 %2)\n %38 = call i64 @FUNC(i64 %5)\n %39 = call i64 @FUNC(i64 %28)\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_8, label LBL_6\n LBL_6:\n %41 = call i64 @FUNC(i64 %2)\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_8, label LBL_7\n LBL_7:\n %45 = call i64 @FUNC(i64 %39)\n br label LBL_8\n LBL_8:\n %46 = ptrtoint i32* %arg1 to i64\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = add i64 %46, 4\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, 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, 2, 3, 4 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @atomic_inc, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64)* @autofs_dentry_ino, { 1, 0 }\n uselistorder label LBL_9, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_vlcs_2608", "fun_name": "init_vlcs", "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 = zext i32 %0 to i64\n %2 = icmp eq i32 %0, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* @gv_0, align 4\n %4 = call i64 @FUNC(i64* nonnull @gv_1, i64 16, i64 17, i64* nonnull @gv_2, i64 2, i64 1)\n %5 = call i64 @FUNC(i64* nonnull @gv_3, i64 16, i64 8, i64* nonnull @gv_4, i64 2, i64 1)\n %6 = call i64 @FUNC(i64* nonnull @gv_5, i64 16, i64 16, i64* nonnull @gv_6, i64 2, i64 1)\n %7 = call i64 @FUNC(i64* nonnull @gv_7, i64 16, i64 7, i64* nonnull @gv_8, i64 2, i64 1)\n %8 = call i64 @FUNC(i64* nonnull @gv_9, i64 8, i64 63, i64* nonnull @gv_10, i64 2, i64 1)\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 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 0, 2, 1, 3, 4 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vgacon_restore_screen_6846", "fun_name": "vgacon_restore_screen", "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 store i64 %0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, 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, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pl190_class_init_17191", "fun_name": "pl190_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 1, 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 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_read_inode_3706", "fun_name": "do_read_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 = load i64, i64* %0\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 %4, i64 %3)\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 = add i64 %3, 80\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %11, 4294967295\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %14 = call i64 @FUNC(i64 1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %15 = call i64 @FUNC(i64 %4, i64 %4)\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_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %15)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %20 = inttoptr i64 %5 to i32*\n %21 = call i64 @FUNC(i64 %15)\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 = add i64 %3, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %21, 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 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %3, i64 %34)\n %36 = add i64 %21, 8\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)\n %41 = and i64 %40, 4294967295\n %42 = call i64 @FUNC(i64 %3, i64 %41)\n %43 = add i64 %21, 12\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)\n %48 = and i64 %47, 4294967295\n %49 = call i64 @FUNC(i64 %3, i64 %48)\n %50 = add i64 %21, 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 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = add i64 %3, 64\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 4\n %58 = add i64 %21, 20\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = sext i32 %60 to i64\n %62 = call i64 @FUNC(i64 %61)\n %63 = trunc i64 %62 to i32\n %64 = add i64 %3, 68\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = add i64 %21, 24\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = sext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %69)\n %71 = add i64 %3, 16\n %72 = inttoptr i64 %71 to i64*\n store i64 %70, i64* %72, align 8\n %73 = add i64 %21, 28\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = sext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %76)\n %78 = add i64 %3, 32\n %79 = inttoptr i64 %78 to i64*\n store i64 %77, i64* %79, align 8\n %80 = add i64 %21, 32\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = sext i32 %82 to i64\n %84 = call i64 @FUNC(i64 %83)\n %85 = add i64 %3, 48\n %86 = inttoptr i64 %85 to i64*\n store i64 %84, i64* %86, align 8\n %87 = add i64 %21, 36\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 %90)\n %sext = mul i64 %91, 4294967296\n %92 = ashr exact i64 %sext, 32\n %93 = add i64 %3, 24\n %94 = inttoptr i64 %93 to i64*\n store i64 %92, i64* %94, align 8\n %95 = add i64 %21, 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 = call i64 @FUNC(i64 %98)\n %sext2 = mul i64 %99, 4294967296\n %100 = ashr exact i64 %sext2, 32\n %101 = add i64 %3, 40\n %102 = inttoptr i64 %101 to i64*\n store i64 %100, i64* %102, align 8\n %103 = add i64 %21, 44\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = zext i32 %105 to i64\n %107 = call i64 @FUNC(i64 %106)\n %sext3 = mul i64 %107, 4294967296\n %108 = ashr exact i64 %sext3, 32\n %109 = add i64 %3, 56\n %110 = inttoptr i64 %109 to i64*\n store i64 %108, i64* %110, align 8\n %111 = add i64 %21, 48\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = zext i32 %113 to i64\n %115 = call i64 @FUNC(i64 %114)\n %116 = trunc i64 %115 to i32\n %117 = add i64 %3, 72\n %118 = inttoptr i64 %117 to i32*\n store i32 %116, i32* %118, align 4\n %119 = add i64 %21, 52\n %120 = inttoptr i64 %119 to i32*\n %121 = load i32, i32* %120, align 4\n %122 = zext i32 %121 to i64\n %123 = call i64 @FUNC(i64 %122)\n %124 = trunc i64 %123 to i32\n store i32 %124, i32* %20, align 4\n %125 = add i64 %21, 56\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = zext i32 %127 to i64\n %129 = call i64 @FUNC(i64 %128)\n %130 = trunc i64 %129 to i32\n %131 = add i64 %5, 4\n %132 = inttoptr i64 %131 to i32*\n store i32 %130, i32* %132, align 4\n %133 = add i64 %21, 60\n %134 = inttoptr i64 %133 to i32*\n %135 = load i32, i32* %134, align 4\n %136 = zext i32 %135 to i64\n %137 = call i64 @FUNC(i64 %136)\n %138 = trunc i64 %137 to i32\n %139 = add i64 %5, 8\n %140 = inttoptr i64 %139 to i32*\n store i32 %138, i32* %140, align 4\n %141 = add i64 %5, 12\n %142 = inttoptr i64 %141 to i32*\n store i32 0, i32* %142, align 4\n %143 = add i64 %21, 64\n %144 = inttoptr i64 %143 to i32*\n %145 = load i32, i32* %144, align 4\n %146 = add i64 %5, 16\n %147 = inttoptr i64 %146 to i32*\n store i32 %145, i32* %147, align 4\n %148 = add i64 %21, 68\n %149 = inttoptr i64 %148 to i32*\n %150 = load i32, i32* %149, align 4\n %151 = zext i32 %150 to i64\n %152 = call i64 @FUNC(i64 %151)\n %153 = trunc i64 %152 to i32\n %154 = add i64 %5, 20\n %155 = inttoptr i64 %154 to i32*\n store i32 %153, i32* %155, align 4\n %156 = add i64 %21, 72\n %157 = inttoptr i64 %156 to i32*\n %158 = load i32, i32* %157, align 4\n %159 = add i64 %5, 24\n %160 = inttoptr i64 %159 to i32*\n store i32 %158, i32* %160, align 4\n %161 = add i64 %21, 80\n %162 = call i64 @FUNC(i64 %3, i64 %161)\n %163 = call i64 @FUNC(i64 %5, i64 %21)\n %164 = call i64 @FUNC(i64 %3)\n %165 = trunc i64 %164 to i32\n %166 = icmp eq i32 %165, 0\n br i1 %166, label LBL_7, label LBL_5\n LBL_5:\n %167 = call i64 @FUNC(i64 %3)\n %168 = trunc i64 %167 to i32\n %169 = icmp eq i32 %168, 0\n %170 = icmp eq i1 %169, false\n br i1 %170, label LBL_7, label LBL_6\n LBL_6:\n %171 = call i64 @FUNC(i64 %3, i64 %15)\n br label LBL_7\n LBL_7:\n %172 = call i64 @FUNC(i64 %3, i64 %21)\n %173 = call i64 @FUNC(i64 %21)\n %174 = trunc i64 %173 to i32\n %175 = icmp eq i32 %174, 0\n br i1 %175, label LBL_9, label LBL_8\n LBL_8:\n %176 = call i64 @FUNC(i64 %3)\n %177 = call i64 @FUNC(i64 %176, i64 1)\n br label LBL_9\n LBL_9:\n %178 = call i64 @FUNC(i64 %15, i64 1)\n %179 = call i64 @FUNC(i64 %3)\n %180 = call i64 @FUNC(i64 %3)\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 %21, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 }\n uselistorder i64 %15, { 1, 0, 2, 3, 4 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 4, 5, 3, 6, 1, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 0, 22, 23, 24 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @le64_to_cpu, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @F2FS_I, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "json_array_remove_4096", "fun_name": "json_array_remove", "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 = 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_5\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp ugt i64 %7, %arg2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_5\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 = mul i64 %arg2, 8\n %13 = add i64 %11, %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 = load i64, i64* %6, align 8\n %18 = add i64 %17, -1\n %19 = icmp ugt i64 %18, %arg2\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %.pre-phi.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = sub i64 %17, %arg2\n %22 = add i64 %arg2, 1\n %23 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %22, i64 %21)\n %.pre = load i64, i64* %6, align 8\n %.pre1 = add i64 %.pre, -1\n store i64 %.pre1, i64* %.pre-phi.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i64 %.pre-phi.reload, i64* %6, 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, 2, 3 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 8, { 0, 5, 1, 2, 3, 4, 6, 7 }\n uselistorder i64 %arg2, { 3, 4, 5, 1, 0, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_gen_update_masterclock_118", "fun_name": "kvm_gen_update_masterclock", "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* @malloc(i32 8)\n store i64 0, i64* %4, align 8\n %5 = ptrtoint i64* %4 to i64\n %6 = call i64 @FUNC(i64 0, i64 %5)\n %7 = call i64* @malloc(i32 8)\n store i64 0, i64* %7, align 8\n %8 = ptrtoint i64* %7 to i64\n %9 = call i64 @FUNC(i64 1, i64 %8)\n %10 = call i64 @FUNC(i64 %0)\n ret i64 %10\n\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_914", "fun_name": "protocol_client_auth", "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 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = trunc i64 %2 to i32\n %6 = urem i32 %5, 256\n %7 = icmp eq i32 %6, %4\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = urem i64 %2, 256\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %3, i64 %9, i64 %8)\n %11 = call i64 @FUNC(i64 %3, i64 1)\n %12 = add i64 %3, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp slt i32 %14, 8\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %3, i64 22)\n %17 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 22)\n br label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_4:\n %19 = and i64 %1, 4294967295\n %20 = call i64 @FUNC(i64 %3, i64 %19)\n %21 = icmp eq i32 %4, 2\n br i1 %21, label LBL_11, label LBL_5\n LBL_5:\n %22 = icmp sgt i32 %4, 2\n br i1 %22, label LBL_12, label LBL_6\n LBL_6:\n switch i32 %4, label LBL_12 [\n i32 0, label LBL_7\n i32 1, label LBL_10\n ]\n LBL_7:\n %23 = add i64 %3, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp slt i32 %25, 8\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = call i64 @FUNC(i64 %3, i64 0)\n %28 = call i64 @FUNC(i64 %3)\n br label LBL_9\n LBL_9:\n %29 = call i64 @FUNC(i64 %3, i64 0)\n %30 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_10:\n %31 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_11:\n %32 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_12:\n %33 = call i64 @FUNC(i64 %3, i32 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64* nonnull @gv_2)\n %34 = call i64 @FUNC(i64 %3, i64 1)\n %35 = add i64 %3, 4\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp slt i32 %37, 8\n br i1 %38, label LBL_14, label LBL_13\n LBL_13:\n %39 = call i64 @FUNC(i64 %3, i64 22)\n %40 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 22)\n br label LBL_14\n LBL_14:\n %41 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_15:\n ret i64 0\n\n uselistorder i32 %4, { 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 12, 11, 14, 13, 15, 16, 17, 5, 7, 8, 6, 10, 9, 19, 1, 0, 3, 2, 4, 18 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @vnc_client_error, { 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @vnc_write, { 1, 0 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @vnc_write_u32, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_change_connection_header_9112", "fun_name": "http_change_connection_header", "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 %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* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i32, i32* %1\n %7 = load i64, i64* %0\n %8 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %9 = trunc i64 %2 to i32\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %12, false\n %spec.select3 = select i1 %13, i32 10, i32 16\n %14 = and i32 %9, -7\n %15 = bitcast i64* %arg1 to i32*\n store i32 %14, i32* %15, align 4\n %16 = add i64 %5, 4\n %17 = select i1 %13, i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64 ptrtoint ([17 x i8]* @gv_1 to i64)\n %18 = call i64 @FUNC(i64 %17, i32 %spec.select3, i64 %4, i64 %16, i32* nonnull %sv_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_1, label LBL_13\n LBL_1:\n %22 = icmp slt i32 %8, 10\n %23 = sext i32 %6 to i64\n %24 = add i64 %7, %23\n %25 = zext i32 %8 to i64\n %26 = and i64 %arg4, 4\n %27 = icmp eq i64 %26, 0\n %28 = or i32 %9, 4\n %29 = zext i32 %spec.select3 to i64\n %30 = icmp slt i32 %8, 5\n %31 = and i64 %arg4, 2\n %32 = icmp eq i64 %31, 0\n %33 = or i32 %9, 2\n br label LBL_2\n LBL_2:\n br i1 %22, label LBL_8, label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 %24, i64 %25, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 10)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_9, label LBL_4\n LBL_4:\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n store i32 %28, i32* %15, align 4\n store i64 %25, 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 %37 = call i64 @FUNC(i64 %17, i32 %spec.select3, i64 %rsi.1.be.reload, i64 %16, i32* nonnull %sv_0)\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_2, label LBL_13\n LBL_7:\n %41 = call i64 @FUNC(i64 %4, i64 %3, i64 %16, i32* nonnull %sv_0)\n store i64 %3, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_8:\n store i64 %29, i64* %rsi.1.be.reg2mem\n br i1 %30, label LBL_6, label LBL_9\n LBL_9:\n %42 = call i64 @FUNC(i64 %24, i64 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 5)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i64 %25, i64* %rsi.1.be.reg2mem\n br i1 %44, label LBL_6, label LBL_10\n LBL_10:\n br i1 %32, label LBL_12, label LBL_11\n LBL_11:\n store i32 %33, i32* %15, align 4\n store i64 %25, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_12:\n %45 = call i64 @FUNC(i64 %4, i64 %3, i64 %16, i32* nonnull %sv_0)\n store i64 %3, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_13:\n %46 = and i32 %9, 6\n %47 = zext i32 %46 to i64\n %48 = trunc i64 %arg4 to i32\n %49 = icmp eq i32 %46, %48\n store i64 %47, i64* %rax.0.reg2mem\n br i1 %49, label LBL_20, label LBL_14\n LBL_14:\n %50 = and i64 %arg4, 2\n %51 = icmp eq i64 %50, 0\n br i1 %51, label LBL_17, label LBL_15\n LBL_15:\n %52 = and i32 %9, 2\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_17, label LBL_16\n LBL_16:\n %55 = or i32 %9, 2\n store i32 %55, i32* %15, align 4\n %spec.select5 = select i1 %13, i64 17, i64 23\n %56 = select i1 %13, i64 ptrtoint ([18 x i8]* @gv_4 to i64), i64 ptrtoint ([24 x i8]* @gv_5 to i64)\n %57 = call i64 @FUNC(i64 %3, i64 %4, i64 %16, i64 %56, i64 %spec.select5)\n br label LBL_17\n LBL_17:\n %58 = and i64 %arg4, 4\n %59 = icmp eq i64 %58, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_20, label LBL_18\n LBL_18:\n %60 = and i32 %9, 4\n %61 = zext i32 %60 to i64\n %62 = icmp eq i32 %60, 0\n %63 = icmp eq i1 %62, false\n store i64 %61, i64* %rax.0.reg2mem\n br i1 %63, label LBL_20, label LBL_19\n LBL_19:\n %64 = or i32 %9, 4\n store i32 %64, i32* %15, align 4\n %spec.select7 = select i1 %13, i64 22, i64 28\n %65 = select i1 %13, i64 ptrtoint ([23 x i8]* @gv_6 to i64), i64 ptrtoint ([29 x i8]* @gv_7 to i64)\n %66 = call i64 @FUNC(i64 %3, i64 %4, i64 %16, i64 %65, i64 %spec.select7)\n store i64 %66, 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 %25, { 1, 2, 3, 0, 4 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %16, { 0, 1, 4, 3, 5, 2 }\n uselistorder i32* %15, { 1, 0, 3, 2, 4 }\n uselistorder i32 %spec.select3, { 1, 2, 0 }\n uselistorder i1 %13, { 1, 0, 3, 2, 4, 5 }\n uselistorder i32 %9, { 1, 2, 4, 3, 5, 6, 7, 8, 0 }\n uselistorder i32* %sv_0, { 2, 3, 1, 0, 4 }\n uselistorder i64 %4, { 2, 1, 4, 3, 0 }\n uselistorder i64 %3, { 3, 2, 1, 5, 0, 4 }\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, i64, i64)* @http_header_add_tail2, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32*)* @http_remove_header2, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64)* @word_match, { 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 %arg4, { 1, 4, 0, 2, 3 }\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": "copy_to_user_tmpl_13810", "fun_name": "copy_to_user_tmpl", "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 %.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 = 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_4\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = bitcast i64* %rdi to i32*\n %7 = ptrtoint i64* %sv_0 to i64\n %8 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge23.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = mul nsw i64 %.reload, 40\n %10 = add i64 %9, %7\n %11 = add i64 %9, %8\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %10 to i64*\n %14 = call i64* @memset(i64* %13, i32 0, i32 40)\n %15 = inttoptr i64 %12 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = inttoptr i64 %10 to i32*\n store i32 %16, i32* %17, align 8\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = or i64 %10, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = add i64 %11, 12\n %24 = add i64 %10, 8\n %25 = inttoptr i64 %23 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = inttoptr i64 %24 to i32*\n store i32 %26, i32* %27, align 8\n %28 = add i64 %11, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i64 %10, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %11, 20\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add i64 %10, 16\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 8\n %38 = add i64 %11, 24\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %10, 20\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = add i64 %11, 28\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %10, 24\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 8\n %48 = add i64 %11, 32\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i64 %10, 28\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = add i64 %11, 36\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = add i64 %10, 32\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 8\n %58 = add i64 %11, 40\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = add i64 %10, 36\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = add i32 %storemerge23.reload, 1\n %64 = load i32, i32* %6, 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 i64 %66, i64* %.reg2mem\n store i32 %63, i32* %storemerge23.reg2mem\n br i1 %67, label LBL_2, label LBL_3\n LBL_3:\n %phitmp = mul i32 %64, 40\n %phitmp5 = zext i32 %phitmp to i64\n %68 = call i64 @FUNC(i64 %5, i64 1, i64 %phitmp5, i64* nonnull %sv_0)\n store i64 %68, 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 %10, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 36, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 28, { 1, 0 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\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": "bson_finish_11011", "fun_name": "bson_finish", "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 = 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 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 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, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_4, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "linux_get_rate_4164", "fun_name": "linux_get_rate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32)\n %5 = inttoptr i64 %3 to i32*\n %6 = load i32, i32* %5, align 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 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = mul i32 %11, 500000\n store i32 %12, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_2:\n %13 = add i64 %3, 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 = bitcast i64* %sv_0 to i8*\n %18 = inttoptr i64 %15 to i8*\n %19 = call i8* @strncpy(i8* nonnull %17, i8* %18, i32 16)\n br label LBL_5\n LBL_4:\n %20 = call i64 @FUNC(i64 %1)\n %21 = bitcast i64* %sv_0 to i8*\n %22 = inttoptr i64 %20 to i8*\n %23 = call i8* @strncpy(i8* nonnull %21, i8* %22, i32 16)\n br label LBL_5\n LBL_5:\n %24 = add i64 %3, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = call i32 (i32, i32, ...) @ioctl(i32 %26, i32 35617)\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n %. = select i1 %29, i32 %2, i32 -1\n store i32 %., 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 i8* (i8*, i8*, i32)* @strncpy, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "estimate_similarity_3732", "fun_name": "estimate_similarity", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, 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 = and i32 %3, 61440\n %5 = icmp eq i32 %4, 32768\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_11, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i32 %10, 61440\n %12 = icmp eq i32 %11, 32768\n br i1 %12, label LBL_2, label LBL_11\n LBL_2:\n %13 = icmp ult i64* %arg1, %arg2\n %14 = icmp eq i1 %13, false\n %15 = sub i64 %0, %7\n %16 = sub i64 %7, %0\n %storemerge2 = select i1 %14, i64 %15, i64 %16\n store i64 %storemerge2, i64* %sv_2, align 8\n %17 = icmp ugt i64 %7, %0\n %18 = select i1 %17, i64 %0, i64 %7\n %19 = sub i32 100, %arg3\n %20 = sext i32 %19 to i64\n %21 = mul i64 %18, %20\n %22 = mul i64 %storemerge2, 100\n %23 = icmp ult i64 %21, %22\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_3, label LBL_11\n LBL_3:\n %25 = call i64 @FUNC(i64 %0, i64 0)\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_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %7, i64 0)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_5, label LBL_11\n LBL_5:\n %32 = add i64 %7, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %0, 16\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %37, i64 %7, i64 %34, i64 0, i64* nonnull %sv_2, i64 undef)\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_6, label LBL_11\n LBL_6:\n %41 = load i64, i64* %sv_2, align 8\n %42 = mul i64 %41, 100\n %43 = icmp ugt i64 %42, %21\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_8, label LBL_7\n LBL_7:\n %45 = inttoptr i64 %38 to i64*\n call void @free(i64* %45)\n br label LBL_11\n LBL_8:\n %46 = call i64 @FUNC(i64 %38, i64 %41, i64* nonnull %sv_0, i64* nonnull %sv_1)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = inttoptr i64 %38 to i64*\n call void @free(i64* %49)\n br i1 %48, label LBL_9, label LBL_11\n LBL_9:\n %50 = load i64, i64* %sv_1, align 8\n %51 = add i64 %50, %38\n %52 = load i64, i64* %sv_0, align 8\n %53 = icmp ult i64 %51, %52\n %54 = icmp eq i1 %53, false\n %55 = sub i64 %51, %52\n %storemerge = select i1 %54, i64 %55, i64 0\n store i64 %storemerge, i64* %sv_2, align 8\n %56 = mul i64 %storemerge, 100\n %57 = udiv i64 %56, %18\n %58 = trunc i64 %57 to i32\n %59 = sub i32 100, %58\n %60 = icmp slt i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_10, label LBL_11\n LBL_10:\n %62 = icmp slt i32 %59, 100\n %narrow = select i1 %62, i32 %59, i32 100\n %spec.select = zext i32 %narrow to i64\n ret i64 %spec.select\n LBL_11:\n ret i64 0\n\n uselistorder i64 %storemerge, { 1, 0 }\n uselistorder i64 %38, { 0, 1, 3, 2, 4 }\n uselistorder i64 %storemerge2, { 1, 0 }\n uselistorder i64 %7, { 0, 1, 2, 4, 3, 6, 5, 7 }\n uselistorder i64* %sv_2, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i64 (i64, i64)* @diff_populate_filespec, { 1, 0 }\n uselistorder label LBL_11, { 0, 1, 8, 2, 4, 3, 5, 7, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getSingletonPos_12562", "fun_name": "getSingletonPos", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %0, label LBL_8, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i8*\n %2 = call i32 @strlen(i8* %1)\n %3 = icmp slt i32 %2, 1\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_8, label LBL_2\n LBL_2:\n %4 = sext i32 %2 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 %5 = add i64 %indvars.iv.reload, %arg1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = sext i8 %7 to i64\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 br i1 %12, label LBL_7, label LBL_4\n LBL_4:\n %13 = icmp eq i64 %indvars.iv.reload, 1\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_5, label LBL_8\n LBL_5:\n %15 = add i64 %5, 2\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = sext i8 %17 to i64\n %19 = and i64 %18, 4294967295\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_7, label LBL_6\n LBL_6:\n %23 = add nuw i64 %indvars.iv.reload, 1\n %phitmp = and i64 %23, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %24 = icmp slt i64 %indvars.iv.next, %4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_3, 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 %indvars.iv.reload, { 0, 3, 1, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64 1, { 3, 1, 2, 0 }\n uselistorder i64 (i64)* @isIDSeparator, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_8, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mkv_add_cuepoint_15849", "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 = 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 %5 = sext i32 %4 to i64\n %6 = mul nsw i64 %5, 24\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 4294967284, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_1:\n %10 = icmp slt i64 %arg3, 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_3\n LBL_2:\n %12 = load i32, i32* %2, align 4\n %13 = sext i32 %12 to i64\n %14 = mul nsw i64 %13, 24\n %15 = add i64 %14, %7\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg3, i64* %16, align 8\n %17 = load i32, i32* %2, 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 %7, 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 %0, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = load i32, i32* %2, align 4\n %29 = add i32 %28, 1\n store i32 %29, i32* %2, 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 %7, 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 %7, 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 %7, { 1, 2, 3, 0, 4 }\n uselistorder i32* %2, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hstoreArrayToPairs_13821", "fun_name": "hstoreArrayToPairs", "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 %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.02.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_3 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %arg1, i64 0, i64 4294967295, i64 0, i64 105, i64* nonnull %sv_3)\n %5 = icmp eq i32 %3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %7, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_2:\n %8 = icmp ult i32 %3, 26\n br i1 %8, label LBL_2.dec_label_pc_4012e6_crit_edge, label LBL_4\n LBL_3:\n %.pre = zext i32 %3 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_4:\n %9 = ptrtoint i64* %sv_3 to i64\n %10 = call i64 @FUNC(i64 2)\n %11 = zext i32 %3 to i64\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 25, i64 0, i64 105, i64 %9)\n %13 = call i64 @FUNC(i64 1, i64 %12)\n store i64 %11, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %14 = sext i32 %3 to i64\n %15 = mul nsw i64 %14, 40\n %16 = call i64 @FUNC(i64 %15)\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %sv_0.13.reg2mem\n store i32 0, 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.13.reload = load i32, i32* %sv_0.13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %17 = add i64 %.reload, %2\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 1\n store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = load i64, i64* %sv_3, align 8\n %22 = mul i64 %.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 = sext i32 %sv_0.13.reload to i64\n %27 = mul nsw i64 %26, 40\n %28 = add i64 %27, %16\n %29 = zext i32 %25 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = inttoptr i64 %28 to i64*\n store i64 %30, i64* %31, align 8\n %32 = load i64, i64* %sv_3, align 8\n %33 = add i64 %32, %22\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 %36)\n %38 = trunc i64 %37 to i32\n %39 = add i32 %38, -4\n %40 = add i64 %28, 8\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = add i64 %28, 16\n %43 = inttoptr i64 %42 to i64*\n store i64 0, i64* %43, align 8\n %44 = add i64 %28, 24\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n %46 = add i64 %28, 28\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = add i64 %28, 32\n %49 = inttoptr i64 %48 to i32*\n store i32 1, i32* %49, align 4\n %50 = add i32 %sv_0.13.reload, 1\n store i32 %50, 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 %51 = add i32 %sv_1.02.reload, 1\n %52 = sext i32 %51 to i64\n %53 = icmp sgt i64 %.pre-phi.reload, %52\n store i64 %52, i64* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n store i32 %51, i32* %sv_1.02.reg2mem\n br i1 %53, label LBL_6, label LBL_9\n LBL_9:\n %54 = zext i32 %sv_0.0.reload to i64\n %55 = call i64 @FUNC(i64 %16, i64 %54, i64* nonnull %sv_2)\n %56 = trunc i64 %55 to i32\n %57 = bitcast i64* %arg2 to i32*\n store i32 %56, i32* %57, align 4\n store i64 %16, 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 %22, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32 %sv_0.13.reload, { 1, 2, 0 }\n uselistorder i64 %16, { 0, 2, 1 }\n uselistorder i64* %sv_3, { 1, 2, 3, 0 }\n uselistorder i32 %3, { 3, 2, 4, 0, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_read_synchronize_13657", "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, i64 2)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bt_hid_in_16718", "fun_name": "bt_hid_in", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i32*\n store i32 %1, i32* %3, align 4\n %4 = and i64 %0, 4294967295\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mpegts_audio_write_1172", "fun_name": "mpegts_audio_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 %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\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, %1\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp sgt i64 %5, %8\n store i64 4294967291, i64* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = trunc i64 %1 to i32\n %11 = add i64 %4, %0\n %12 = inttoptr i64 %11 to i64*\n %13 = call i64* @memcpy(i64* %12, i64* %arg2, i32 %10)\n %14 = load i64, i64* %3, align 8\n %15 = add i64 %14, %1\n store i64 %15, i64* %3, 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* %3, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hugetlb_fix_reserve_counts_9908", "fun_name": "hugetlb_fix_reserve_counts", "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, i64 1)\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 = call i64 @FUNC(i64 %0)\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\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evhttp_parse_request_line_5157", "fun_name": "evhttp_parse_request_line", "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 %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* %arg2 to i64\n %sv_0 = alloca i64, align 8\n store i64 %5, i64* %sv_0, align 8\n %6 = bitcast i64* %sv_0 to i8**\n %7 = call i8* @strsep(i8** nonnull %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, 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 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_19\n LBL_1:\n %11 = call i8* @strsep(i8** nonnull %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %12 = load i64, i64* %sv_0, align 8\n %13 = icmp eq i64 %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 = call i8* @strsep(i8** nonnull %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %16 = load i64, i64* %sv_0, align 8\n %17 = icmp eq i64 %16, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_19\n LBL_3:\n %18 = ptrtoint i64* %arg1 to i64\n %19 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %22, align 4\n br label LBL_10\n LBL_5:\n %23 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %26, align 4\n br label LBL_10\n LBL_7:\n %27 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %28 = icmp eq 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 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %30, align 4\n br label LBL_10\n LBL_9:\n %31 = add i64 %18, 32\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33, i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_10:\n %35 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([9 x i8], [9 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 = add i64 %18, 4\n %39 = inttoptr i64 %38 to i32*\n store i32 1, i32* %39, align 4\n %40 = add i64 %18, 8\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n store i64 ptrtoint ([9 x i8]* @gv_4 to i64), i64* %rsi.0.reg2mem\n br label LBL_15\n LBL_12:\n %42 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0))\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_14, label LBL_13\n LBL_13:\n %45 = add i64 %18, 4\n %46 = inttoptr i64 %45 to i32*\n store i32 1, i32* %46, align 4\n %47 = add i64 %18, 8\n %48 = inttoptr i64 %47 to i32*\n store i32 1, i32* %48, align 4\n store i64 ptrtoint ([9 x i8]* @gv_5 to i64), i64* %rsi.0.reg2mem\n br label LBL_15\n LBL_14:\n %49 = add i64 %18, 32\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = call i64 @FUNC(i64 %51, i64 ptrtoint ([9 x i8]* @gv_5 to i64), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_15:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %53 = call i8* @strdup(i8* %11)\n %54 = ptrtoint i8* %53 to i64\n %55 = add i64 %18, 16\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = icmp eq i8* %53, null\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_17, label LBL_16\n LBL_16:\n %59 = call i64 @FUNC(i64 ptrtoint ([26 x i8]* @gv_6 to i64), i64 %rsi.0.reload, i64 %54, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_17:\n %60 = load i8, i8* %53, align 1\n store i64 0, i64* %rax.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n switch i8 %60, label LBL_18 [\n i8 0, label LBL_19\n i8 47, label LBL_19\n ]\n LBL_18:\n %61 = add i64 %18, 24\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = or i32 %63, 4\n store i32 %64, i32* %62, align 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 i8* %53, { 1, 0, 2 }\n uselistorder i64 %18, { 2, 3, 5, 4, 6, 0, 1, 7 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0, 4 }\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* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 7, 8, 9, 4, 5, 6 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder i64 ptrtoint ([9 x i8]* @gv_5 to i64), { 1, 0 }\n uselistorder [9 x i8]* @gv_5, { 1, 0 }\n uselistorder [9 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @event_debug, { 2, 1, 0 }\n uselistorder [5 x i8]* @gv_3, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 3, 4, 5, 0, 1, 2 }\n uselistorder i8* (i8**, i8*)* @strsep, { 2, 1, 0 }\n uselistorder label LBL_19, { 0, 2, 1, 6, 7, 8, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "walk_splay_8803", "fun_name": "walk_splay", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.ph.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %rax.0.ph.be.reg2mem = alloca i64\n %sv_0.0.ph.be.reg2mem = alloca i32\n %sv_1.0.ph.be.reg2mem = alloca i32\n %.pre-phi5.reg2mem = alloca i64\n %.pre-phi9.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = add i64 %0, 8\n store i32 %arg2, i32* %sv_1.0.ph.reg2mem\n store i32 1, i32* %sv_0.0.ph.reg2mem\n br label LBL_13\n LBL_1:\n switch i32 %sv_0.0.ph.reload, label LBL_14 [\n i32 3, label LBL_7\n i32 1, label LBL_2\n i32 2, label LBL_4\n ]\n LBL_2:\n %3 = zext i32 %sv_1.0.ph.reload to i64\n %4 = mul nuw nsw i64 %3, 12\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 %4, i64* %.pre-phi9.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = zext i32 %7 to i64\n store i32 %7, i32* %sv_1.0.ph.be.reg2mem\n store i32 1, i32* %sv_0.0.ph.be.reg2mem\n store i64 %9, i64* %rax.0.ph.be.reg2mem\n br label LBL_12\n LBL_4:\n %.pre6 = zext i32 %sv_1.0.ph.reload to i64\n %.pre8 = mul nuw nsw i64 %.pre6, 12\n store i64 %.pre8, i64* %.pre-phi9.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi9.reload = load i64, i64* %.pre-phi9.reg2mem\n %10 = add i64 %1, %.pre-phi9.reload\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 %.pre-phi9.reload, i64* %.pre-phi5.reg2mem\n br i1 %13, label LBL_8, label LBL_6\n LBL_6:\n %14 = zext i32 %12 to i64\n store i32 %12, i32* %sv_1.0.ph.be.reg2mem\n store i32 1, i32* %sv_0.0.ph.be.reg2mem\n store i64 %14, i64* %rax.0.ph.be.reg2mem\n br label LBL_12\n LBL_7:\n %.pre = zext i32 %sv_1.0.ph.reload to i64\n %.pre4 = mul nuw nsw i64 %.pre, 12\n store i64 %.pre4, i64* %.pre-phi5.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi5.reload = load i64, i64* %.pre-phi5.reg2mem\n %15 = add i64 %2, %.pre-phi5.reload\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.1.reg2mem\n br i1 %18, label LBL_15, label LBL_9\n LBL_9:\n %19 = zext i32 %17 to i64\n %20 = mul nuw nsw i64 %19, 12\n %21 = add i64 %20, %0\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %sv_1.0.ph.reload, %23\n %25 = icmp eq i1 %24, false\n store i32 %17, i32* %sv_1.0.ph.be.reg2mem\n store i32 2, i32* %sv_0.0.ph.be.reg2mem\n store i64 %19, i64* %rax.0.ph.be.reg2mem\n br i1 %25, label LBL_10, label LBL_12\n LBL_10:\n %26 = add i64 %21, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %sv_1.0.ph.reload, %28\n store i32 %17, i32* %sv_1.0.ph.be.reg2mem\n store i32 3, i32* %sv_0.0.ph.be.reg2mem\n store i64 %19, i64* %rax.0.ph.be.reg2mem\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 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 i32 %17, i32* %sv_1.0.ph.be.reg2mem\n store i32 3, i32* %sv_0.0.ph.be.reg2mem\n store i64 %19, i64* %rax.0.ph.be.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.ph.be.reload = load i64, i64* %rax.0.ph.be.reg2mem\n %sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i32, i32* %sv_1.0.ph.be.reg2mem\n store i32 %sv_1.0.ph.be.reload, i32* %sv_1.0.ph.reg2mem\n store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph.reg2mem\n store i64 %rax.0.ph.be.reload, i64* %rax.0.ph.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.ph.reload = load i64, i64* %rax.0.ph.reg2mem\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 %30 = icmp eq i32 %sv_1.0.ph.reload, 0\n %31 = icmp eq i1 %30, false\n br label LBL_14\n LBL_14:\n store i64 %rax.0.ph.reload, i64* %rax.1.reg2mem\n br i1 %31, label LBL_1, 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 %sv_1.0.ph.reload, { 2, 3, 5, 4, 0, 1 }\n uselistorder i64 %19, { 1, 2, 0, 3 }\n uselistorder i32 %17, { 1, 2, 0, 4, 3 }\n uselistorder i64* %.pre-phi9.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi5.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph.be.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i32* %sv_0.0.ph.be.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %rax.0.ph.be.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i64 12, { 3, 1, 0, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "omap_hsmmc_suspend_4860", "fun_name": "omap_hsmmc_suspend", "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.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 = call i64 @FUNC(i64 %4)\n %cond = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %cond, label LBL_10, label LBL_1\n LBL_1:\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.shrunk.reg2mem\n br i1 %8, label LBL_2, label LBL_10\n LBL_2:\n %9 = trunc i64 %4 to i32\n store i32 1, i32* %6, align 4\n %10 = add i64 %5, 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 = icmp eq i64 %14, 0\n %16 = icmp eq i32 %9, 0\n %or.cond = or i1 %16, %15\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\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 = add i64 %5, 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 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %14, i64 %2, i64 %1)\n store i32 0, i32* %6, align 4\n store i64 %4, i64* %rax.0.shrunk.reg2mem\n br label LBL_10\n LBL_4:\n %26 = add i64 %5, 32\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %5, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = load i64, i64* %29, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = icmp eq i32 %32, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_7, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %5)\n %38 = add i64 %5, 40\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40, i64 0)\n %42 = and i64 %41, 4294967294\n %43 = load i64, i64* %39, align 8\n %44 = call i64 @FUNC(i64 %43, i64 0, i64 %42)\n %45 = load i64, i64* %29, align 8\n %46 = call i64 @FUNC(i64 %45)\n %47 = add i64 %5, 48\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 i64 %5, 64\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 0\n store i64 %31, i64* %rax.0.shrunk.reg2mem\n br i1 %54, label LBL_10, label LBL_6\n LBL_6:\n %55 = add i64 %5, 56\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = call i64 @FUNC(i64 %57)\n store i64 %31, i64* %rax.0.shrunk.reg2mem\n br label LBL_10\n LBL_7:\n store i32 0, i32* %6, align 4\n %59 = load i64, i64* %11, align 8\n %60 = add i64 %59, 8\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = icmp eq i64 %62, 0\n %brmerge = or i1 %16, %63\n %.mux = select i1 %63, i64 %31, i64 %4\n store i64 %.mux, i64* %sv_0.0.reg2mem\n br i1 %brmerge, label LBL_9, label LBL_8\n LBL_8:\n %64 = add i64 %5, 16\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 i64, i64* %29, align 8\n %69 = call i64 @FUNC(i64 %68)\n %70 = call i64 @FUNC(i64 %69, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %67, i64 %62, i64 %2, i64 %1)\n store i64 %4, 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 %71 = load i64, i64* %29, align 8\n %72 = call i64 @FUNC(i64 %71)\n store i64 %sv_0.0.reload, 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 i1 %63, { 1, 0 }\n uselistorder i64 %31, { 2, 0, 1, 3 }\n uselistorder i64* %29, { 2, 1, 0, 3, 4 }\n uselistorder i32* %6, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 }\n uselistorder i64 %4, { 1, 2, 0, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 2, 3, 6, 5, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @clk_disable, { 1, 0 }\n uselistorder i64 (i64)* @mmc_host_disable, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_dbg, { 1, 0 }\n uselistorder i64 (i64)* @mmc_dev, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_10, { 4, 3, 2, 5, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rndis_reset_response_9312", "fun_name": "rndis_reset_response", "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 16)\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 = inttoptr i64 %1 to i32*\n %5 = call i64 @FUNC(i64 2)\n %6 = trunc i64 %5 to i32\n store i32 %6, i32* %4, align 4\n %7 = call i64 @FUNC(i64 16)\n %8 = trunc i64 %7 to i32\n %9 = add i64 %1, 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 %1, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = call i64 @FUNC(i64 1)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %1, 12\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, 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 i64 (i64)* @cpu_to_le32, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_core_fortune_list_12969", "fun_name": "r_core_fortune_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %storemerge24.reg2mem = alloca i32\n %.reg2mem7 = alloca i8*\n %.reg2mem = alloca i8\n %storemerge6.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 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n %6 = inttoptr i64 %5 to i8*\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %7 = sext i32 %storemerge6.reload to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %8, ptrtoint ([3 x i8*]* @gv_1 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 i8* @strstr(i8* %6, i8* %12)\n %14 = icmp eq i8* %13, null\n store i32 %storemerge6.reload, i32* %sv_0.2.reg2mem\n br i1 %14, label LBL_10, label LBL_2\n LBL_2:\n %15 = load i64, i64* %10, align 8\n %16 = call i64 @FUNC(i64 %4, i64 %15)\n %17 = call i64 @FUNC(i64 %16, i64 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 i8* %18, i8** %.reg2mem7\n store i32 0, i32* %storemerge24.reg2mem\n store i32 %storemerge6.reload, i32* %sv_0.13.reg2mem\n store i32 %storemerge6.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %21, label LBL_3, label LBL_9\n LBL_3:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %22 = icmp eq i8 %.reload, 10\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_3.LBL_8_crit_edge, label LBL_5\n LBL_4:\n %.pre = add i32 %storemerge24.reload, 1\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_5:\n %24 = icmp slt i32 %sv_0.13.reload, %storemerge24.reload\n br i1 %24, label LBL_6, label LBL_7\n LBL_6:\n %.reload8 = load i8*, i8** %.reg2mem7\n store i8 0, i8* %.reload8, align 1\n %25 = sext i32 %sv_0.13.reload to i64\n %26 = add i64 %17, %25\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 %25, i64 %3, i64 %2, i64 %1)\n br label LBL_7\n LBL_7:\n %28 = add i32 %storemerge24.reload, 1\n store i32 %28, i32* %.pre-phi.reg2mem\n store i32 %28, 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 %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %29 = sext i32 %.pre-phi.reload to i64\n %30 = add i64 %17, %29\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = icmp eq i8 %32, 0\n %34 = icmp eq i1 %33, false\n store i8 %32, i8* %.reg2mem\n store i8* %31, i8** %.reg2mem7\n store i32 %.pre-phi.reload, i32* %storemerge24.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %34, label LBL_3, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %35 = inttoptr i64 %17 to i64*\n call void @free(i64* %35)\n %36 = inttoptr i64 %16 to i64*\n call void @free(i64* %36)\n store i32 %sv_0.1.lcssa.reload, 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 %37 = add i32 %sv_0.2.reload, 1\n %38 = icmp ult i32 %37, 3\n store i32 %37, i32* %storemerge6.reg2mem\n br i1 %38, label LBL_1, label LBL_11\n LBL_11:\n %39 = zext i32 %37 to i64\n ret i64 %39\n\n uselistorder i32 %37, { 1, 0, 2 }\n uselistorder i32 %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i32 %sv_0.13.reload, { 1, 2, 0 }\n uselistorder i64 %17, { 3, 1, 0, 2 }\n uselistorder i32 %storemerge6.reload, { 1, 2, 0, 3 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem7, { 2, 0, 1 }\n uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8 0, { 2, 1, 0, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "alloc_block_1816", "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 %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n store i64 %arg2, i64* %sv_1, 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, 20\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp slt i64 %arg2, 0\n %8 = icmp slt i64 %0, %arg2\n %or.cond = or i1 %7, %8\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_1\n LBL_1:\n %9 = mul i64 %arg2, 512\n %10 = add i64 %3, 16\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 %9, %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 i64 -1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_2, label LBL_6\n LBL_2:\n %23 = ptrtoint i64* %sv_1 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 %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* %20, 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 = load i64, i64* %30, align 8\n %48 = load i32, i32* %11, align 4\n %49 = load i32, i32* %5, align 4\n %50 = add i32 %49, %48\n %51 = sext i32 %50 to i64\n %52 = add i64 %47, %51\n store i64 %52, i64* %30, align 8\n %53 = call i64 @FUNC(i64 %0)\n %54 = trunc i64 %53 to i32\n %55 = icmp slt i32 %54, 0\n br i1 %55, label LBL_5, label LBL_3\n LBL_3:\n %56 = add i64 %3, 24\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = and i64 %17, 4294967292\n %60 = add i64 %58, %59\n %61 = load i64, i64* %15, align 8\n %62 = add i64 %61, %18\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %65)\n %67 = trunc i64 %66 to i32\n store i32 %67, i32* %sv_0, align 4\n %68 = load i64, i64* %44, align 8\n %69 = ptrtoint i32* %sv_0 to i64\n %70 = call i64 @FUNC(i64 %68, i64 %60, i64 %69, i64 4)\n %71 = trunc i64 %70 to i32\n %72 = icmp slt i32 %71, 0\n br i1 %72, label LBL_5, label LBL_4\n LBL_4:\n %73 = load i64, i64* %sv_1, align 8\n %74 = call i64 @FUNC(i64 %0, i64 %73, i64 0)\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %75 = load i64, i64* %30, align 8\n %76 = load i32, i32* %11, align 4\n %77 = load i32, i32* %5, align 4\n %78 = add i32 %77, %76\n %79 = sext i32 %78 to i64\n %80 = sub i64 %75, %79\n store i64 %80, i64* %30, align 8\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 %31, { 2, 1, 0 }\n uselistorder i64* %30, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64)* @bdrv_pwrite_sync, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 512, { 2, 0, 1 }\n uselistorder label LBL_6, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_syscall_1574", "fun_name": "dump_syscall", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %1 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0))\n %2 = sext i32 %1 to i64\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hclge_tm_schd_mode_vnet_base_cfg_5673", "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.shrunk.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 = icmp ult i8 %8, 8\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_1, label LBL_6\n LBL_1:\n %10 = zext i8 %8 to i64\n %11 = call i64 @FUNC(i64 %5, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %11, i64* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_2, label LBL_6\n LBL_2:\n %14 = trunc i64 %1 to i8\n %15 = icmp eq i8 %14, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = add i64 %2, 17\n %17 = inttoptr i64 %16 to i8*\n store i8 0, i8* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_4\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* %17, 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 store i64 %26, i64* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_5, label LBL_6\n LBL_5:\n %29 = mul i32 %storemerge2.reload, 16777216\n %sext = add i32 %29, 16777216\n %30 = ashr exact i32 %sext, 24\n %31 = trunc i32 %30 to i8\n %32 = icmp ugt i8 %14, %31\n store i8 %31, i8* %.reg2mem\n store i32 %30, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_4, 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 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.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_mkdir_1304", "fun_name": "local_mkdir", "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.in.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i32*\n %sv_0.1.reg2mem = alloca i32\n %.pre-phi.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 %6 = trunc i64 %2 to i32\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 %arg2)\n %9 = inttoptr i64 %8 to i8*\n %10 = call i32 @mkdir(i8* %9, i32 493)\n %11 = icmp eq i32 %10, -1\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %rax.0.in.reg2mem\n br i1 %12, label LBL_2, label LBL_9\n LBL_2:\n %13 = or i32 %6, 16384\n store i32 %13, i32* %arg3, align 4\n %14 = call i64 @FUNC(i64 %7, i64 %arg2)\n %15 = ptrtoint i32* %arg3 to i64\n %16 = call i64 @FUNC(i64 %14, i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, -1\n %19 = icmp eq i1 %18, false\n store i32 %17, i32* %rax.0.in.reg2mem\n br i1 %19, label LBL_9, label LBL_3\n LBL_3:\n %20 = call i32* @__errno_location()\n store i64 %7, i64* %.pre-phi.reg2mem\n store i32 %17, i32* %sv_0.1.reg2mem\n store i32* %20, i32** %storemerge.in.reg2mem\n br label LBL_8\n LBL_4:\n %21 = icmp ne i32 %3, 2\n %22 = icmp eq i32 %3, 3\n %23 = icmp eq i1 %22, false\n %or.cond = icmp eq i1 %21, %23\n store i32 -1, i32* %rax.0.in.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_5\n LBL_5:\n %24 = ptrtoint i32* %arg1 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %arg2)\n %26 = inttoptr i64 %25 to i8*\n %27 = call i32 @mkdir(i8* %26, i32 %6)\n %28 = icmp eq i32 %27, -1\n %29 = icmp eq i1 %28, false\n store i32 %27, i32* %rax.0.in.reg2mem\n br i1 %29, label LBL_6, label LBL_9\n LBL_6:\n %30 = ptrtoint i32* %arg3 to i64\n %31 = call i64 @FUNC(i64 %24, i64 %arg2, i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, -1\n %34 = icmp eq i1 %33, false\n store i32 %32, i32* %rax.0.in.reg2mem\n br i1 %34, label LBL_9, label LBL_7\n LBL_7:\n %35 = call i32* @__errno_location()\n store i64 %24, i64* %.pre-phi.reg2mem\n store i32 %32, i32* %sv_0.1.reg2mem\n store i32* %35, i32** %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.in.reload = load i32*, i32** %storemerge.in.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %storemerge = load i32, i32* %storemerge.in.reload, align 4\n %36 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %arg2)\n %37 = inttoptr i64 %36 to i8*\n %38 = call i32 @remove(i8* %37)\n %39 = call i32* @__errno_location()\n store i32 %storemerge, i32* %39, align 4\n store i32 %sv_0.1.reload, i32* %rax.0.in.reg2mem\n br label LBL_9\n LBL_9:\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 %32, { 1, 0, 2 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i32 %3, { 2, 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32** %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rax.0.in.reg2mem, { 0, 6, 3, 4, 1, 2, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @rpath, { 3, 2, 1, 0 }\n uselistorder i32* %arg3, { 2, 1, 0 }\n uselistorder i64 %arg2, { 2, 3, 4, 0, 1 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 5, 1, 3, 2, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unqueue_me_4872", "fun_name": "unqueue_me", "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()\n %2 = icmp eq i64* %arg1, null\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 @FUNC(i64 %0)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %4)\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 = call i64 @FUNC(i64 %0)\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 %15 = add i64 %0, 32\n %16 = call i64 @FUNC(i64 %15)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_decode_len_6591", "fun_name": "get_decode_len", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = icmp sgt i32 %3, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = sext i32 %3 to i64\n %6 = add i64 %5, %arg1\n %7 = add i64 %6, -1\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 61\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = add i64 %6, -2\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 61\n %16 = icmp eq i1 %15, false\n store i32 2, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %spec.select = zext i1 %10 to i32\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 %17 = call i128 @FUNC(i128 %1, i128 %1)\n %18 = call i128 @FUNC(i32 %3)\n %19 = call i128 @FUNC(i64 4604930618986332160)\n %20 = call i128 @FUNC(i128 %19, i128 %18)\n %21 = call i128 @FUNC(i128 %18, i128 %18)\n %22 = call i128 @FUNC(i32 %sv_0.0.reload)\n %23 = call i128 @FUNC(i128 %20, i128 %22)\n %24 = call i32 @FUNC(i128 %23)\n %25 = sext i32 %24 to i64\n store i64 %25, 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 i128 %18, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "common_init_1047", "fun_name": "common_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 %7 = load i32, i32* %6, align 4\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %3, 12\n %11 = call i64 @FUNC(i64 %10, i64 %0)\n %12 = bitcast i64* %rdi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = add i64 %3, 16\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = add i64 %0, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %3, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = load i32, i32* %15, align 4\n %22 = icmp slt i32 %21, 1\n br i1 %22, label LBL_2, label LBL_1\n LBL_1:\n %23 = icmp eq i32 %18, 0\n %24 = icmp slt i32 %18, 0\n %25 = icmp eq i1 %24, false\n %26 = icmp eq i1 %23, false\n %27 = icmp eq i1 %25, %26\n br i1 %27, 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 29, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i1 false, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fput_6286", "fun_name": "fput", "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 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_8, label LBL_1\n LBL_1:\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 1\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %4 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, 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 %13 = call i64 @FUNC(i64 %storemerge.reload)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = add i64 %0, 8\n %17 = call i64 @FUNC(i64 %16, i64 4198820)\n %18 = call i64 @FUNC(i64 %4, i64 %16, i64 1)\n %19 = and i64 %18, 4294967295\n %20 = xor i64 %19, 1\n %21 = trunc i64 %20 to i8\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = add i64 %0, 16\n %25 = call i64 @FUNC(i64 %24, i64* nonnull @gv_1)\n %26 = trunc i64 %25 to i8\n %27 = icmp eq i8 %26, 0\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 %28, 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 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_8, { 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_response_length_from_request_8257", "fun_name": "compute_response_length_from_request", "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 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 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 i64\n store i64 %6, i64* @0, align 8\n store i32 3, i32* %sv_0.0.reg2mem\n store i64 65535, i64* %storemerge.reg2mem\n switch i8 %5, label LBL_4 [\n i8 1, label LBL_1\n i8 2, label LBL_1\n i8 3, label LBL_2\n i8 4, label LBL_2\n i8 5, label LBL_2\n i8 6, label LBL_5\n i8 7, label LBL_6\n i8 8, label LBL_3\n ]\n LBL_1:\n %7 = add i64 %3, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i32\n %11 = mul i32 %10, 256\n %12 = add i64 %3, 4\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = zext i8 %14 to i32\n %16 = or i32 %11, %15\n %17 = udiv i32 %16, 8\n %narrow = add nuw nsw i32 %17, 2\n %18 = urem i32 %15, 8\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n %21 = zext i1 %20 to i32\n %22 = add nuw nsw i32 %narrow, %21\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_2:\n %23 = add i64 %3, 3\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 %3, 4\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 = mul i32 %32, 2\n %34 = add nuw nsw i32 %33, 2\n store i32 %34, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_3:\n store i32 7, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n store i32 5, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %35 = trunc i64 %1 to i32\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %36 = add i32 %sv_0.0.reload, %35\n %37 = add i64 %1, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %36, %39\n %41 = zext i32 %40 to i64\n store i64 %41, 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, 3, 0, 1, 4 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 4, 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "make_cdt24_entry_2958", "fun_name": "make_cdt24_entry", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i16* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i16* %arg3 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 = sext i16 %4 to i64\n %sext1 = mul i64 %arg1, 4294967296\n %6 = ashr exact i64 %sext1, 31\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = zext i16 %9 to i64\n %11 = mul i64 %10, 65536\n %12 = add nsw i64 %11, %5\n %13 = mul i64 %12, 2\n %14 = and i64 %13, 4294967294\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "editorUpdateRow_6146", "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 %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %sext = mul i64 %1, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = zext i32 %sv_1.1.lcssa.reload to i64\n %23 = add nsw i64 %21, %22\n %24 = icmp ult i64 %23, 4294967296\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i32 @puts(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %26 = bitcast i64* %rdi to i32*\n %27 = add i32 %sv_1.1.lcssa.reload, %7\n %28 = call i64* @malloc(i32 %27)\n %29 = ptrtoint i64* %28 to i64\n store i64 %29, i64* %4, align 8\n %30 = load i32, i32* %26, align 8\n %31 = icmp eq i32 %30, 0\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %31, label LBL_14, label LBL_7\n LBL_7:\n %32 = add i64 %2, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %29, 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_8\n LBL_8:\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 %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, %.reload17\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 9\n %39 = icmp eq i1 %38, false\n %40 = add i32 %sv_0.24.reload, 1\n %41 = sext i32 %sv_0.24.reload to i64\n %42 = add i64 %.reload15, %41\n %43 = inttoptr i64 %42 to i8*\n br i1 %39, label LBL_11, label LBL_9\n LBL_9:\n store i8 32, i8* %43, align 1\n %44 = add i32 %sv_0.24.reload, 2\n %45 = urem i32 %44, 8\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i32 %44, i32* %.reg2mem18\n store i32 %40, i32* %sv_0.03.reg2mem\n store i32 %40, i32* %sv_0.1.reg2mem\n br i1 %47, label LBL_10, label LBL_12\n LBL_10:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %.reload19 = load i32, i32* %.reg2mem18\n %48 = load i64, i64* %4, align 8\n %49 = sext i32 %sv_0.03.reload to i64\n %50 = add i64 %48, %49\n %51 = inttoptr i64 %50 to i8*\n store i8 32, i8* %51, align 1\n %52 = add i32 %.reload19, 1\n %53 = urem i32 %52, 8\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n store i32 %52, i32* %.reg2mem18\n store i32 %.reload19, i32* %sv_0.03.reg2mem\n store i32 %.reload19, i32* %sv_0.1.reg2mem\n br i1 %55, label LBL_10, label LBL_12\n LBL_11:\n store i8 %37, i8* %43, align 1\n store i32 %40, 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 %56 = add i32 %storemerge5.reload, 1\n %57 = load i32, i32* %26, align 8\n %58 = zext i32 %57 to i64\n %59 = sext i32 %56 to i64\n %60 = icmp slt i64 %59, %58\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %60, label LBL_12.LBL_8_crit_edge, label LBL_14\n LBL_13:\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem14\n store i64 %59, i64* %.reg2mem16\n store i32 %56, i32* %storemerge5.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.24.reg2mem\n br label LBL_8\n LBL_14:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %61 = add i64 %2, 24\n %62 = inttoptr i64 %61 to i32*\n store i32 %sv_0.2.lcssa.reload, i32* %62, align 4\n %63 = load i64, i64* %4, align 8\n %64 = sext i32 %sv_0.2.lcssa.reload to i64\n %65 = add i64 %63, %64\n %66 = inttoptr i64 %65 to i8*\n store i8 0, i8* %66, align 1\n %67 = call i64 @FUNC(i64 %2)\n ret i64 %67\n\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i8* %43, { 1, 0 }\n uselistorder i32 %40, { 1, 0, 2 }\n uselistorder i32 %sv_0.24.reload, { 2, 1, 0 }\n uselistorder i32 %sv_1.1.lcssa.reload, { 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, { 2, 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 i64 4294967296, { 1, 0 }\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_12, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avcodec_close_1293", "fun_name": "avcodec_close", "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 store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n br i1 icmp eq (i32 sub (i32 ptrtoint (i32* @gv_0 to i32), i32 1), i32 0), label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %6 = add i64 %4, 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_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %4)\n br label LBL_4\n LBL_4:\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = call i64 @FUNC(i64 %4)\n %14 = call i64 @FUNC(i64 %4)\n %15 = add i64 %4, 8\n %16 = call i64 @FUNC(i64 %15)\n store i64 0, i64* %12, 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 %storemerge1.in = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %storemerge1 = add i32 %storemerge1.in, -1\n store i32 %storemerge1, i32* bitcast (i64* @gv_1 to i32*), align 8\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 2, 3, 0, 6, 4, 5 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i32* bitcast (i64* @gv_1 to i32*), { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_primer_pack_18955", "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 %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 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 18\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %8 = trunc i64 %3 to i32\n %9 = icmp slt i32 %8, 65537\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %arg5, i64 %1)\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 %4, 4294967296\n %13 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %3, 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 4294967284, 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 %8, i32* %21, align 4\n %22 = mul i64 %4, %3\n %23 = and i64 %22, 4294967295\n %24 = load i64, i64* %17, align 8\n %25 = call i64 @FUNC(i64 %2, 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 i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 (i64)* @avio_rb32, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "show_mesh_iface_4896", "fun_name": "show_mesh_iface", "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 %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\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_4\n LBL_1:\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 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge2.reg2mem\n br i1 %7, label LBL_3, 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 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %13 = bitcast i64* %arg3 to i8*\n %14 = inttoptr i64 %storemerge2.reload to i8*\n %15 = call i32 (i8*, i8*, ...) @sprintf(i8* %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* %14)\n %16 = sext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %2)\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 i64* %storemerge2.reg2mem, { 0, 2, 1 }\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": "CaptureStatsUpdate_8975", "fun_name": "CaptureStatsUpdate", "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 %4 = ptrtoint i32* %arg3 to i64\n %5 = call i64 @FUNC(i64 %4, i64 7)\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 br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %1, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = call i64 @FUNC(i64 %3, i64 %10)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = call i64 @FUNC(i64 %4, i64 8)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\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 i64 %12, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = sext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %3, i64 %21)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %23 = and i64 %2, 16\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %12, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = sext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %3, i64 %30)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %32 = add i64 %12, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = sext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %3, i64 %35)\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 i64 %12, { 1, 2, 0 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64, i64)* @StatsIncr, { 3, 2, 1, 0 }\n uselistorder i1 false, { 0, 3, 1, 4, 2, 5, 6 }\n uselistorder i64 (i64, i64)* @PACKET_TEST_ACTION, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "NameValueParserGetData_8550", "fun_name": "NameValueParserGetData", "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 = bitcast i64* %arg1 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 %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i32 %arg3, 1\n %6 = call i64* @malloc(i32 %5)\n %7 = ptrtoint i64* %6 to i64\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* %6, null\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 %arg2 to i64*\n %12 = call i64* @memcpy(i64* nonnull %6, i64* %11, i32 %arg3)\n %13 = load i64, i64* %9, align 8\n %14 = sext i32 %arg3 to i64\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i8*\n store i8 0, i8* %16, align 1\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 %arg3, i32* %18, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i64*\n store i64 %arg2, i64* %20, align 8\n %21 = add i64 %0, 32\n %22 = inttoptr i64 %21 to i32*\n store i32 %arg3, i32* %22, 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* %6, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 4, 5, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 %arg3, { 4, 0, 1, 2, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "esp_mem_readb_186", "fun_name": "esp_mem_readb", "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 = add i64 %3, 1048\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = urem i32 %6, 64\n %9 = zext i32 %8 to i64\n %rdx.0 = lshr i64 %arg2, %9\n %10 = trunc i64 %rdx.0 to i32\n %11 = urem i32 %10, 256\n %12 = mul i32 %11, 4\n %13 = zext i32 %12 to i64\n %14 = add i64 %13, %3\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %11 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %16, i64 %7, i64 %2, i64 %1)\n %trunc = trunc i64 %rdx.0 to i8\n switch i8 %trunc, label LBL_8 [\n i8 0, label LBL_1\n i8 1, label LBL_7\n ]\n LBL_1:\n %19 = add i64 %3, 1024\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_6, label LBL_2\n LBL_2:\n %23 = add i32 %21, -1\n store i32 %23, i32* %20, align 4\n %24 = add i64 %3, 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 %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0))\n %31 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %31, align 4\n br label LBL_5\n LBL_4:\n %32 = add i64 %3, 1040\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %3, 1028\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i32 %37, 1\n store i32 %38, i32* %36, align 4\n %39 = zext i32 %37 to i64\n %40 = mul i64 %39, 4\n %41 = add i64 %40, %34\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = bitcast i64* %arg1 to i32*\n store i32 %43, i32* %44, align 4\n br label LBL_5\n LBL_5:\n %45 = call i64 @FUNC(i64 %3)\n %.pre = load i32, i32* %20, align 4\n %phitmp = icmp eq i32 %.pre, 0\n %phitmp1 = icmp eq i1 %phitmp, false\n br i1 %phitmp1, label LBL_8, label LBL_6\n LBL_6:\n %46 = add i64 %3, 1028\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = add i64 %3, 1032\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n br label LBL_8\n LBL_7:\n %50 = add i64 %3, 8\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = and i32 %52, -7\n store i32 %53, i32* %51, align 4\n %54 = call i64 @FUNC(i64 %3)\n br label LBL_8\n LBL_8:\n %55 = load i32, i32* %15, align 4\n %56 = zext i32 %55 to i64\n ret i64 %56\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 7, 8, 3, 5, 6, 4, 9, 0, 10 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder label LBL_8, { 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_thread_get_buffer_5339", "fun_name": "ff_thread_get_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) 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* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %arg2, align 8\n %2 = call i64 @FUNC(i64 %1, 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 = 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 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_2:\n %11 = icmp eq i32 %5, 1\n br i1 %11, label LBL_7, label LBL_3\n LBL_3:\n %12 = add i64 %1, 24\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 br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %19 = add i64 %1, 32\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_7, label LBL_5\n LBL_5:\n %24 = add i64 %1, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 4198942\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %1, i64 0, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_7:\n %29 = call i32 @pthread_mutex_lock(i64* %arg1)\n %30 = call i64 @FUNC(i64 %1)\n %31 = add i64 %0, 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 br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n %35 = call i32 @pthread_mutex_unlock(i64* %arg1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_9:\n %36 = inttoptr i64 %30 to i32*\n %37 = add i64 %30, 4\n %38 = inttoptr i64 %37 to i32*\n store i32 -1, i32* %38, align 4\n store i32 -1, i32* %36, align 4\n %39 = add i64 %1, 32\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 br i1 %43, label LBL_11, label LBL_10\n LBL_10:\n %44 = add i64 %1, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 4198942\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_12, label LBL_11\n LBL_11:\n %49 = and i64 %1, 4294967295\n %50 = inttoptr i64 %49 to i64*\n store i64* %50, i64** %sv_0.0.reg2mem\n store i64 %1, i64* %rdi.0.reg2mem\n br label LBL_16\n LBL_12:\n %51 = inttoptr i64 %39 to i64*\n %52 = call i32 @pthread_mutex_lock(i64* %51)\n store i64 %0, i64* %45, align 8\n store i32 2, i32* %4, align 4\n %53 = add i64 %1, 72\n %54 = inttoptr i64 %53 to i64*\n %55 = call i32 @pthread_cond_broadcast(i64* %54)\n %56 = load i32, i32* %4, align 4\n %57 = icmp eq i32 %56, 1\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_13, label LBL_14\n LBL_13:\n %59 = call i32 @pthread_cond_wait(i64* %54, i64* %51)\n %60 = load i32, i32* %4, align 4\n %61 = icmp eq i32 %60, 1\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_13, label LBL_14\n LBL_14:\n %63 = add i64 %1, 24\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = zext i32 %65 to i64\n %67 = inttoptr i64 %66 to i64*\n %68 = call i32 @pthread_mutex_unlock(i64* %51)\n %69 = inttoptr i64 %63 to i64*\n %70 = load i64, i64* %69, 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 %74 = icmp eq i1 %73, false\n store i64* %67, i64** %sv_0.0.reg2mem\n store i64 %39, i64* %rdi.0.reg2mem\n br i1 %74, label LBL_16, label LBL_15\n LBL_15:\n %75 = call i64 @FUNC(i64 %1)\n store i64* %67, i64** %sv_0.0.reg2mem\n store i64 %1, i64* %rdi.0.reg2mem\n br label LBL_16\n LBL_16:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %76 = ptrtoint i64* %sv_0.0.reload to i64\n %77 = trunc i64 %76 to i32\n %78 = icmp eq i32 %77, 0\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %78, label LBL_18, label LBL_17\n LBL_17:\n %79 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %32, align 8\n store i64 %0, i64* %rdi.1.reg2mem\n br label LBL_18\n LBL_18:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %80 = inttoptr i64 %rdi.1.reload to i64*\n %81 = call i32 @pthread_mutex_unlock(i64* %80)\n %82 = and i64 %76, 4294967295\n store i64 %82, 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 %30, { 0, 1, 3, 2 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32* %4, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 7, 8, 9, 2, 10, 12, 11, 13, 3, 6, 5, 4, 0, 14, 15, 16 }\n uselistorder i64 %0, { 0, 3, 2, 4, 1, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_lock, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uv__idna_toascii_5739", "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 %.reg2mem30 = alloca i64\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph21.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.ph21.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_16\n LBL_2:\n switch i32 %4, label LBL_2.dec_label_pc_401287_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.ph21.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.ph21.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_16\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.ph21.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.ph21.reload = load i64, i64* %sv_0.0.ph21.reg2mem\n store i64 %sv_0.0.ph21.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_16\n LBL_13:\n %26 = load i64, i64* %sv_2, align 8\n %27 = icmp ult i64 %26, %0\n store i64 %26, i64* %.reg2mem30\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 %.pre15 = load i64, i64* %sv_2, align 8\n store i64 %.pre15, i64* %.reg2mem30\n br label LBL_15\n LBL_15:\n %.reload31 = load i64, i64* %.reg2mem30\n %30 = sub i64 %.reload31, %1\n store i64 %30, 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 %26, { 2, 3, 0, 1 }\n uselistorder i64 %sv_0.0.ph21.reload, { 2, 0, 1 }\n uselistorder i64 %13, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 0, 3, 4, 1, 5, 6, 2, 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.ph21.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 3, 4, 1, 2, 5, 0 }\n uselistorder i64 %arg2, { 5, 4, 1, 2, 3, 0 }\n uselistorder label LBL_16, { 1, 3, 2, 0 }\n uselistorder label LBL_15, { 1, 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": "radeon_atombios_init_4668", "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 4198723, i64* %9, align 8\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 4198730, i64* %11, align 8\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 4198737, i64* %13, align 8\n %14 = add i64 %0, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 4198744, i64* %15, align 8\n %16 = add i64 %0, 40\n %17 = inttoptr i64 %16 to i64*\n store i64 4198751, i64* %17, align 8\n %18 = add i64 %0, 48\n %19 = inttoptr i64 %18 to i64*\n store i64 4198758, 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 = call i64 @FUNC(i64 %23)\n %27 = load i64, i64* %5, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = load i64, i64* %25, align 8\n %30 = call i64 @FUNC(i64 %29)\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 i64 (i64, i64)* @kzalloc, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xen_vbd_resize_10725", "fun_name": "xen_vbd_resize", "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.lcssa.reg2mem = alloca i64\n %rdx.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 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %5 = add i64 %4, 8\n %6 = add i64 %4, 24\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 %5)\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = ashr i32 %13, 8\n %15 = urem i32 %13, 256\n %16 = zext i32 %15 to i64\n %17 = zext i32 %14 to i64\n %18 = and i64 %3, 4294967295\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %17, i64 %16, i64 %2, i64 %1)\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %17, i64 %16, i64 %2, i64 %1)\n %21 = inttoptr i64 %5 to i64*\n store i64 %10, i64* %21, align 8\n %22 = bitcast i32* %sv_0 to i64*\n %23 = call i64 @FUNC(i64* nonnull %22)\n %24 = trunc i64 %23 to i32\n store i32 %24, i32* %sv_0, align 4\n %25 = icmp eq i32 %24, 0\n store i64 %16, i64* %rcx.0.lcssa.reg2mem\n store i64 %10, i64* %rdx.0.lcssa.reg2mem\n store i64 %10, i64* %rsi.0.lcssa.reg2mem\n br i1 %25, label LBL_1, label LBL_3\n LBL_1:\n %26 = inttoptr i64 %9 to i64*\n %27 = add i64 %9, 8\n %28 = inttoptr i64 %27 to i32*\n br label LBL_4\n LBL_2:\n %29 = call i64 @FUNC(i64* nonnull %22)\n %30 = trunc i64 %29 to i32\n store i32 %30, i32* %sv_0, align 4\n %31 = icmp eq i32 %30, 0\n store i64 %40, i64* %rcx.0.lcssa.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_2 to i64), i64* %rdx.0.lcssa.reg2mem\n store i64 ptrtoint ([6 x i8]* @gv_3 to i64), i64* %rsi.0.lcssa.reg2mem\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem\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 %32 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i64 %rsi.0.lcssa.reload, i64 %rdx.0.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %33 = call i64 @FUNC(i64 %5)\n %34 = load i64, i64* %26, align 8\n %35 = call i64 @FUNC(i64 %34, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %33)\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %sv_0, align 4\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_7, i64 0, i64 0), i64 ptrtoint ([8 x i8]* @gv_5 to i64), i64 ptrtoint ([5 x i8]* @gv_6 to i64), i64 %33, i64 %2, i64 %1)\n br label LBL_11\n LBL_6:\n %39 = load i32, i32* %28, align 4\n %40 = sext i32 %39 to i64\n %41 = load i64, i64* %26, align 8\n %42 = call i64 @FUNC(i64 %41, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %40)\n %43 = trunc i64 %42 to i32\n store i32 %43, i32* %sv_0, align 4\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_8, label LBL_7\n LBL_7:\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_3 to i64), i64 ptrtoint ([3 x i8]* @gv_2 to i64), i64 %40, i64 %2, i64 %1)\n br label LBL_11\n LBL_8:\n %46 = call i64 @FUNC(i64 0)\n %47 = trunc i64 %46 to i32\n store i32 %47, i32* %sv_0, align 4\n %48 = icmp eq i32 %47, -11\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_9, label LBL_2\n LBL_9:\n %50 = icmp eq i32 %47, 0\n store i64 %46, i64* %rax.0.reg2mem\n br i1 %50, label LBL_12, label LBL_10\n LBL_10:\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_3 to i64), i64 ptrtoint ([3 x i8]* @gv_2 to i64), i64 %40, i64 %2, i64 %1)\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %52 = call i64 @FUNC(i64 1)\n store i64 %52, 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 %40, { 1, 2, 3, 0 }\n uselistorder i64* %22, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %16, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %2, { 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %1, { 5, 4, 3, 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @xenbus_transaction_end, { 1, 0 }\n uselistorder i64 (i64, i8*, i8*, i64)* @xenbus_printf, { 1, 0 }\n uselistorder [5 x i8]* @gv_6, { 1, 0 }\n uselistorder [8 x i8]* @gv_5, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_warn, { 3, 2, 1, 0 }\n uselistorder i64 ptrtoint ([6 x i8]* @gv_3 to i64), { 2, 1, 0 }\n uselistorder i64 ptrtoint ([3 x i8]* @gv_2 to i64), { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64*)* @xenbus_transaction_start, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 1, 0 }\n uselistorder i32 8, { 2, 0, 1 }\n uselistorder i64 (i64)* @vbd_sz, { 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zfs_groupmember_11113", "fun_name": "zfs_groupmember", "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 %storemerge6.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = icmp eq i64 %2, 0\n %5 = icmp eq i64 %3, 0\n %or.cond = or i1 %4, %5\n br i1 %or.cond, label LBL_10, 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, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_10\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = inttoptr i64 %3 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = trunc i64 %11 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i64 %arg2, 1000\n %18 = and i64 %11, 4294967295\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n br i1 %16, label LBL_6, label LBL_4\n LBL_4:\n br i1 %17, label LBL_9, label LBL_5\n LBL_5:\n %19 = sext i32 %storemerge6.reload to i64\n %20 = mul i64 %19, 16\n %21 = add i64 %20, %13\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 i64 %24, %arg2\n %26 = icmp eq i1 %25, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %26, label LBL_9, label LBL_11\n LBL_6:\n %27 = call i64 @FUNC(i64 %1, i64 %18)\n %28 = inttoptr i64 %27 to i8*\n %29 = call i32 @strcmp(i8* %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %31, label LBL_7, label LBL_11\n LBL_7:\n %32 = sext i32 %storemerge6.reload to i64\n %33 = mul i64 %32, 16\n %34 = add i64 %33, %13\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 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = inttoptr i64 %39 to i8*\n %41 = call i32 @strcmp(i8* %28, i8* %40)\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_9, label LBL_8\n LBL_8:\n %44 = add i64 %34, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, %14\n %48 = icmp eq i1 %47, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %48, label LBL_9, label LBL_11\n LBL_9:\n %49 = add i32 %storemerge6.reload, 1\n %50 = load i32, i32* %7, align 4\n %51 = icmp eq i32 %49, %50\n %52 = icmp eq i1 %51, false\n store i32 %49, i32* %storemerge6.reg2mem\n br i1 %52, label LBL_3, label LBL_10\n LBL_10:\n %53 = call i64 @FUNC(i64 %1, i64 %arg2, i64 %0, i64 1)\n %54 = and i64 %53, 4294967295\n %55 = call i64 @FUNC(i64 %54, i64 %0)\n store i64 %55, 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 %11, { 1, 0 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 6, 1, 2, 3, 4, 5, 0 }\n uselistorder i32 0, { 2, 3, 0, 4, 1 }\n uselistorder i64 1, { 2, 0, 1, 3 }\n uselistorder i64 %arg2, { 3, 1, 2, 0 }\n uselistorder label LBL_11, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "razer_chroma_extended_matrix_set_custom_frame2_6480", "fun_name": "razer_chroma_extended_matrix_set_custom_frame2", "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 i1\n %sv_0.0.reg2mem = alloca i32\n %1 = load i1, i1* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_2 to i64\n %3 = bitcast i64* %sv_2 to i8*\n call void @FUNC(i8* nonnull %3, i64 0, i64 32)\n %4 = select i1 %1, i64 -256, i64 256\n %5 = add i64 %4, %2\n %6 = inttoptr i64 %5 to i8*\n store i8 0, i8* %6, align 8\n %7 = urem i64 %arg4, 256\n %8 = urem i64 %arg3, 256\n %9 = sub nsw i64 1, %8\n %10 = add nsw i64 %9, %7\n %11 = mul nsw i64 %10, 3\n %12 = trunc i64 %11 to i32\n %13 = icmp ult i64 %11, 252\n store i32 %12, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = ptrtoint i64* %arg5 to i64\n %15 = and i64 %10, 4294967295\n %16 = trunc i64 %arg3 to i8\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %15, i8 %16, i64 %14, i64 %arg6)\n store i32 251, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %18 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %19 = icmp eq i64 %arg6, 0\n %20 = icmp eq i1 %19, false\n %21 = sext i32 %sv_0.0.reload to i64\n %22 = add nsw i64 %21, 5\n %storemerge = select i1 %20, i64 %arg6, i64 %22\n %23 = call i64 @FUNC(i64* nonnull %sv_3, i64 15, i64 3, i64 %storemerge)\n %24 = bitcast i64* %sv_3 to i8*\n call void @FUNC(i8* nonnull %3, i8* nonnull %24, i64 32)\n store i64 63, i64* %sv_2, align 8\n %25 = call i64* @memcpy(i64* nonnull %sv_1, i64* %arg5, i32 %sv_0.0.reload)\n %26 = load i64, i64* %sv_2, align 8\n store i64 %26, i64* %arg1, align 8\n %27 = add i64 %18, 249\n %28 = inttoptr i64 %27 to i64*\n %29 = add i64 %18, 8\n %30 = and i64 %29, -8\n %31 = sub i64 %18, %30\n %32 = sub i64 %2, %31\n %33 = add i64 %31, 257\n %34 = udiv i64 %33, 8\n %35 = urem i64 %34, 536870912\n %36 = inttoptr i64 %32 to i8*\n %37 = inttoptr i64 %30 to i8*\n call void @FUNC(i8* %37, i8* %36, i64 %35)\n ret i64 %18\n\n uselistorder i64 %30, { 1, 0 }\n uselistorder i64 %18, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder i64 %arg6, { 0, 2, 1 }\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tegra_io_pad_prepare_18519", "fun_name": "tegra_io_pad_prepare", "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 = load i64, i64* @gv_0, align 8\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = icmp eq i64 %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_3\n LBL_1:\n %5 = inttoptr i64 %2 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 4294967295\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 = trunc i64 %6 to i32\n %10 = urem i32 %9, 32\n %11 = bitcast i64* %arg4 to i32*\n store i32 %10, i32* %11, align 4\n %12 = load i64, i64* %5, align 8\n %13 = icmp ult i64 %12, 32\n %. = select i1 %13, i64 1, i64 3\n %.2 = select i1 %13, i64 2, i64 4\n store i64 %., i64* %arg3, align 8\n store i64 %.2, i64* %arg2, align 8\n %14 = load i64, i64* @gv_0, 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 = call i64 @FUNC(i64 5, i64 6)\n %19 = add i64 %17, 999999999\n %20 = udiv i64 %19, %17\n %21 = add i64 %20, 199\n %22 = udiv i64 %21, %20\n %23 = call i64 @FUNC(i64 %22, i64 7)\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 (i64, i64)* @tegra_pmc_writel, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rtnetlink_rcv_msg_6115", "fun_name": "rtnetlink_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 %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)\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 256\n store i64 95, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = ptrtoint i32* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp ult i32 %8, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_8, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %6)\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %4, 4\n %14 = icmp eq i32 %13, 2\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %2, i64 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* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_8\n LBL_4:\n %19 = add i64 %6, 4\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 br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = and i64 %1, 4294967295\n %25 = zext i32 %12 to i64\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 95, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_8\n LBL_6:\n %29 = call i64 @FUNC(i64 %25, i64 %24)\n %30 = call i64 @FUNC()\n %31 = inttoptr i64 %3 to i64*\n %32 = load i64, i64* %31, align 8\n store i64 %26, i64* %sv_0, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %2, i64 %6, i64* nonnull %sv_0)\n %34 = call i64 @FUNC()\n %35 = and i64 %33, 4294967295\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %36 = and i64 %1, 4294967295\n %37 = zext i32 %12 to i64\n %38 = call i64 @FUNC(i64 %37, i64 %36)\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n %. = select i1 %40, i64 %2, i64 95\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 i64 %24, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 3, 4, 5 }\n uselistorder i64 95, { 2, 0, 1 }\n uselistorder label LBL_8, { 0, 5, 1, 2, 3, 4 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_queue_notify_795", "fun_name": "virtio_queue_notify", "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, 30\n %2 = add i64 %1, %0\n %3 = call i64 @FUNC(i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_device_find_1214", "fun_name": "qvirtio_pci_device_find", "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 = trunc i64 %arg2 to i16\n store i64 0, i64* %sv_0, align 8\n %2 = call i64 @FUNC(i64 %0, i16 %1, i64 0, i64 0, i64 4198725, i64* nonnull %sv_0)\n %3 = load i64, i64* %sv_0, align 8\n %4 = inttoptr i64 %3 to i64*\n store i64 4210725, i64* %4, align 8\n %5 = load i64, i64* %sv_0, align 8\n ret i64 %5\n\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mailimf_fws_parse_9188", "fun_name": "mailimf_fws_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 %.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %sv_1 = alloca i64, align 8\n store i64 %0, i64* %sv_1, align 8\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 %arg1, i64 %arg2, i64* nonnull %sv_1)\n %2 = trunc i64 %1 to i32\n store i32 1, i32* %storemerge1.reg2mem\n switch i32 %2, label LBL_2 [\n i32 0, label LBL_1\n i32 -1, label LBL_3\n ]\n LBL_2:\n %3 = and i64 %1, 4294967295\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %4 = load i64, i64* %sv_1, align 8\n %5 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %sv_1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %7, label LBL_8, label LBL_4\n LBL_4:\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %10 = and i64 %5, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %11 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %sv_1)\n %12 = trunc i64 %11 to i32\n store i32 1, i32* %sv_0.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n switch i32 %12, label LBL_7 [\n i32 0, label LBL_6\n i32 -1, label LBL_8\n ]\n LBL_7:\n %13 = and i64 %11, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %14 = or i32 %sv_0.1.reload, %storemerge1.reload\n %15 = icmp eq i32 %14, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_13, label LBL_9\n LBL_9:\n %16 = icmp eq i32 %sv_0.1.reload, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_9.LBL_12_crit_edge, label LBL_11\n LBL_10:\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_12\n LBL_11:\n store i64 %4, i64* %sv_1, align 8\n store i64 %4, i64* %.reg2mem\n br label LBL_12\n LBL_12:\n %.reload = load i64, i64* %.reg2mem\n store i64 %.reload, i64* %arg3, align 8\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* %sv_1, { 4, 0, 1, 2, 5, 3, 6 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 4, 2 }\n uselistorder i32 -1, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64*)* @mailimf_wsp_parse, { 1, 0 }\n uselistorder i32 0, { 4, 3, 5, 1, 7, 0, 6, 2 }\n uselistorder label LBL_13, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_client_write_buf_2923", "fun_name": "vnc_client_write_buf", "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.0.reg2mem = alloca i32\n %sv_1.0.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 = icmp eq i64 %5, 0\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 %5, i64 %7, i64 %arg3)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i64 %8, 0\n %11 = icmp eq i1 %10, false\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = call i32* @__errno_location()\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %sv_1.0.reg2mem\n store i32 %9, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_3:\n %14 = trunc i64 %1 to i32\n %15 = trunc i64 %arg3 to i32\n %16 = call i32 @send(i32 %14, i64* %arg2, i32 %15, i32 0)\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %16, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC()\n %20 = trunc i64 %19 to i32\n store i32 %20, i32* %sv_1.0.reg2mem\n store i32 %16, 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 %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64* %arg2, i64 %arg3, i32 %sv_0.0.reload)\n %22 = sext i32 %sv_0.0.reload to i64\n %23 = call i64 @FUNC(i64 %2, i64 %22, i32 %sv_1.0.reload)\n ret i64 %23\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n uselistorder i64* %arg2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_control_msg_13524", "fun_name": "send_control_msg", "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* %arg1 to i64\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %1)\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_3\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, 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 0, 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 = load i64, i64* %sv_0, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %2, i64 0, i64 %11, i64 %arg3)\n %14 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 %arg3)\n %15 = call i64 @FUNC(i64 %1)\n %16 = call i64 @FUNC(i64 %15, i64 %1)\n store i64 %arg3, 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, 2, 1 }\n uselistorder i64 %1, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 %arg3, { 0, 2, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_info_io_apic_13864", "fun_name": "hmp_info_io_apic", "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()\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 %1, i64 %0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, 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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_mpeg4videodec_static_init_10828", "fun_name": "ff_mpeg4videodec_static_init", "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 = zext i32 %0 to i64\n %2 = icmp eq i32 %0, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %rax.0.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 = call i64 @FUNC(i64* nonnull @gv_2, i64 %4)\n %6 = load i64, i64* @gv_3, align 8\n %7 = call i64 @FUNC(i64* nonnull @gv_4, i64 %6)\n %8 = load i64, i64* @gv_5, align 8\n %9 = call i64 @FUNC(i64* nonnull @gv_6, i64 %8)\n %10 = load i64, i64* @gv_2, align 8\n %11 = call i64 @FUNC(i64 %10, i64 554)\n %12 = load i64, i64* @gv_4, align 8\n %13 = call i64 @FUNC(i64 %12, i64 1072)\n %14 = load i64, i64* @gv_6, align 8\n %15 = call i64 @FUNC(i64 %14, i64 1072)\n %16 = call i64 @FUNC(i64* nonnull @gv_7, i64 10, i64 10, i64* nonnull @gv_8, i64 2, i64 1)\n %17 = call i64 @FUNC(i64* nonnull @gv_9, i64 10, i64 10, i64* nonnull @gv_10, i64 2, i64 1)\n %18 = call i64 @FUNC(i64* nonnull @gv_11, i64 15, i64 15, i64* nonnull @gv_12, i64 4, i64 2)\n %19 = call i64 @FUNC(i64* nonnull @gv_13, i64 4, i64 4, i64* nonnull @gv_14, i64 2, i64 1)\n store i32 1, i32* @gv_0, align 4\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 4, { 1, 0, 2 }\n uselistorder i64 15, { 1, 0 }\n uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @INIT_VLC_STATIC, { 3, 2, 1, 0 }\n uselistorder i64 10, { 1, 0, 3, 2 }\n uselistorder i64 (i64, i64)* @INIT_VLC_RL, { 2, 1, 0 }\n uselistorder i64* @gv_6, { 1, 0 }\n uselistorder i64* @gv_4, { 1, 0 }\n uselistorder i64 (i64*, i64)* @ff_rl_init, { 2, 1, 0 }\n uselistorder i64* @gv_2, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdhci_initfn_2721", "fun_name": "sdhci_initfn", "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 = call i64 @FUNC(i64 0)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %6 = call i64 @FUNC(i64 %storemerge.reload, i64 0)\n %7 = inttoptr i64 %1 to i64*\n store i64 %6, i64* %7, align 8\n %8 = icmp eq i64 %6, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %10 = call i64 @FUNC(i64 4198843, i64 %1, i64 0)\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = call i64 @FUNC(i64 4198850, i64 %1, i64 0)\n %14 = add i64 %1, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = load i64, i64* %12, align 8\n %17 = load i64, i64* %7, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %13, i64 %16)\n %19 = call i64 @FUNC(i64 0, i64 4198805, i64 %1)\n %20 = add i64 %1, 24\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = call i64 @FUNC(i64 0, i64 4198812, i64 %1)\n %23 = add i64 %1, 32\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n ret i64 %22\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2, 3, 5, 4, 6, 7, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @timer_new_ns, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qemu_allocate_irq, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_commit_all_767", "fun_name": "bdrv_commit_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge12.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %0 = call i64 @FUNC(i64 %storemerge12.reload)\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_3, label LBL_2\n LBL_2:\n %4 = and i64 %0, 4294967295\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %5 = inttoptr i64 %storemerge12.reload 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 %6, i64* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, 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* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xt_alloc_table_info_13743", "fun_name": "xt_alloc_table_info", "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 %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = udiv i64 %2, 4096\n %4 = add nuw nsw i64 %3, 2\n %5 = load i64, i64* @gv_0, align 8\n %6 = icmp ugt i64 %4, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = and i64 %arg1, 4294967295\n %8 = add nuw nsw i64 %7, 4\n %9 = icmp ult i64 %8, 4097\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 0)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %8)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %sv_0.1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %16 = inttoptr i64 %sv_0.1.reload to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 4)\n %18 = trunc i64 %0 to i32\n %19 = inttoptr i64 %sv_0.1.reload to i32*\n store i32 %18, i32* %19, align 4\n store i64 %sv_0.1.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 %8, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_bh_schedule_idle_2291", "fun_name": "qemu_bh_schedule_idle", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n store i32 1, i32* %arg1, align 4\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = call i64 @FUNC(i64 %1, i64 1)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getsistring_19202", "fun_name": "getsistring", "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 %storemerge.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %sext2 = mul i64 %arg3, 4294967296\n %0 = ashr exact i64 %sext2, 32\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_9\n LBL_1:\n %4 = icmp ult i32 %1, 401\n %spec.select = select i1 %4, i64 %0, i64 400\n %5 = and i64 %spec.select, 4294967295\n %6 = call i64 @FUNC(i64 %5)\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 ([10 x i8], [10 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 %10 = trunc i64 %arg2 to i32\n %11 = inttoptr i64 %arg1 to %_IO_FILE*\n %12 = call i32 @fseek(%_IO_FILE* %11, i32 %10, i32 0)\n %13 = trunc i64 %spec.select to i32\n %14 = inttoptr i64 %6 to i64*\n %15 = call i32 @fread(i64* %14, i32 %13, i32 1, %_IO_FILE* %11)\n %16 = icmp eq i32 %15, 1\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n %17 = icmp eq i32 %13, 0\n store i32 0, i32* %storemerge3.reg2mem\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %17, label LBL_8, label LBL_6\n LBL_5:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n call void @free(i64* %14)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %19 = zext i32 %storemerge3.reload to i64\n %20 = add i64 %6, %19\n %21 = udiv i32 %storemerge3.reload, 2\n %22 = zext i32 %21 to i64\n %23 = add i64 %6, %22\n %24 = inttoptr i64 %20 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = inttoptr i64 %23 to i8*\n store i8 %25, i8* %26, align 1\n %27 = add i32 %storemerge3.reload, 2\n %28 = icmp ult i32 %27, %13\n store i32 %27, i32* %storemerge3.reg2mem\n br i1 %28, label LBL_6, label LBL_7\n LBL_7:\n %phitmp = udiv i32 %27, 2\n %phitmp4 = zext i32 %phitmp to i64\n store i64 %phitmp4, i64* %storemerge.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %29 = add i64 %storemerge.lcssa.reload, %6\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\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 i32 %27, { 1, 0, 2 }\n uselistorder i32 %storemerge3.reload, { 0, 2, 1 }\n uselistorder i32 %13, { 1, 0, 2 }\n uselistorder i64 %6, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\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 i32 2, { 0, 2, 1 }\n uselistorder i64 (i8*)* @cli_dbgmsg, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "netdev_queue_add_kobject_19315", "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 = call i64 @FUNC(i64 %4, i64 0)\n %15 = add i64 %4, 8\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* %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": "1" }, { "dataset": "CompRealVul", "file": "access_flags_to_smbopen_mode_9377", "fun_name": "access_flags_to_smbopen_mode", "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 = and i32 %0, -1073741824\n %2 = icmp eq i32 %1, -2147483648\n %3 = icmp eq i1 %2, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = icmp eq i32 %1, 1073741824\n %5 = icmp eq i1 %4, false\n %. = select i1 %5, i64 3, i64 2\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": "jsvMathsOpTypeEqual_9252", "fun_name": "jsvMathsOpTypeEqual", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.pre-phi7.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i1\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 %5 = icmp eq i32* %arg2, null\n %6 = icmp ne i1 %5, %4\n %or.cond = or i1 %3, %5\n store i1 %6, i1* %sv_0.0.in.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %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 %7)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %7, i64* %.pre-phi7.reg2mem\n store i64 %15, i64* %.pre-phi.reg2mem\n br i1 %19, label LBL_8, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %15)\n %21 = trunc i64 %20 to i8\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %7, i64* %.pre-phi7.reg2mem\n store i64 %15, i64* %.pre-phi.reg2mem\n br i1 %23, label LBL_8, label LBL_5\n LBL_5:\n %24 = xor i64 %2, %1\n %25 = urem i64 %24, 256\n %26 = icmp eq i64 %25, 0\n store i1 %26, i1* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.in.reload = load i1, i1* %sv_0.0.in.reg2mem\n %27 = icmp eq i1 %sv_0.0.in.reload, false\n br i1 %27, label LBL_9, label LBL_6.LBL_8_crit_edge\n LBL_7:\n %.pre = ptrtoint i32* %arg2 to i64\n %.pre6 = ptrtoint i32* %arg1 to i64\n store i64 %.pre6, i64* %.pre-phi7.reg2mem\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 %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem\n %28 = call i64 @FUNC(i64 %.pre-phi7.reload, i64 %.pre-phi.reload, i64 0)\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i8\n %31 = icmp eq i8 %30, 1\n %32 = call i64 @FUNC(i64 %28)\n %phitmp = zext i1 %31 to i64\n store i64 %phitmp, i64* %sv_0.2.reg2mem\n br label LBL_13\n LBL_9:\n %33 = ptrtoint i32* %arg1 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i8\n %36 = icmp eq i8 %35, 1\n %37 = icmp eq i1 %36, false\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %37, label LBL_13, label LBL_10\n LBL_10:\n %38 = ptrtoint i32* %arg2 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i8\n %41 = icmp eq i8 %40, 1\n %42 = icmp eq i1 %41, false\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %42, label LBL_13, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i64 %33, i64 %38)\n %44 = trunc i64 %43 to i8\n %45 = icmp eq i8 %44, 1\n %46 = icmp eq i1 %45, false\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n call void @__assert_fail(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %sv_0.2.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n ret i64 %sv_0.2.reload\n\n uselistorder i64 %15, { 0, 2, 1, 3 }\n uselistorder i1 %5, { 1, 0 }\n uselistorder i64* %.pre-phi7.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @jsvIsString, { 1, 0 }\n uselistorder i64 0, { 0, 11, 12, 13, 14, 15, 16, 1, 2, 3, 17, 10, 4, 5, 6, 7, 8, 9, 18 }\n uselistorder i64 (i64)* @jsvIsFloat, { 1, 0 }\n uselistorder i64 (i64)* @jsvIsInt, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4, 5, 6, 7 }\n uselistorder i32* %arg2, { 2, 0, 1, 3 }\n uselistorder i32* %arg1, { 2, 0, 1, 3 }\n uselistorder label LBL_8, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_num_3195", "fun_name": "get_num", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %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* %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 = add i32 %5, -2\n store i32 %6, i32* %arg2, align 4\n %7 = urem i32 %4, 32768\n %8 = icmp ult i32 %7, 16384\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add nsw i32 %7, -16384\n store i32 %9, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %2)\n %11 = trunc i64 %10 to i32\n store i32 %6, i32* %arg2, align 4\n %12 = mul i32 %7, 65536\n %13 = or i32 %12, %11\n store i32 %13, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\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 %7, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @get_be16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inflateMark_5505", "fun_name": "inflateMark", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 -65536, i64* %storemerge.reg2mem\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, 1\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %10 = icmp eq i32 %4, 2\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = add i64 %1, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, 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 = sub i64 %14, %17\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %19 = mul i64 %1, 65536\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %20 = add i64 %rax.0.reload, %19\n store i64 %20, 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 %1, { 0, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\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, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_socket_name_11355", "fun_name": "get_socket_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge5.in.in.in.reg2mem = alloca i8*\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n br i1 %5, label LBL_7, label LBL_2\n LBL_2:\n %6 = call i8* @strchr(i8* nonnull %3, i32 58)\n store i8* %6, i8** %storemerge5.in.in.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge5.in.in.in.reload = load i8*, i8** %storemerge5.in.in.in.reg2mem\n %storemerge5.in.in = ptrtoint i8* %storemerge5.in.in.in.reload to i64\n %storemerge5.in = add i64 %storemerge5.in.in, 1\n %storemerge5 = inttoptr i64 %storemerge5.in to i8*\n %7 = load i8, i8* %storemerge5, align 1\n switch i8 %7, label LBL_4 [\n i8 0, label LBL_7\n i8 46, label LBL_6\n ]\n LBL_4:\n %8 = icmp eq i8 %7, 10\n %9 = icmp eq i1 %8, false\n store i8* %storemerge5, i8** %storemerge5.in.in.in.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_5:\n %10 = icmp eq i8 %7, 0\n br i1 %10, label LBL_7, label LBL_6\n LBL_6:\n store i8 0, i8* %storemerge5, align 1\n br label LBL_7\n LBL_7:\n %11 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %12 = call i64 @FUNC()\n %storemerge = select i1 %2, i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64 %1\n %13 = call i64 @FUNC()\n %14 = ashr exact i64 %sext, 32\n %15 = call i64 @FUNC(i64 %11, i64 %14, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %storemerge, i64 %12)\n %16 = call i64 @FUNC(i64 %1)\n ret i64 %16\n\n uselistorder i8 %7, { 0, 2, 1 }\n uselistorder i8* %storemerge5, { 1, 0, 2 }\n uselistorder i8** %storemerge5.in.in.in.reg2mem, { 1, 0, 2 }\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": "1" }, { "dataset": "CompRealVul", "file": "m5206_mbar_readl_2447", "fun_name": "m5206_mbar_readl", "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 %arg2, 1024\n %1 = icmp ult i64 %0, 512\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n br label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %arg2, 1020\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 sgt i32 %7, 3\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %3, i64 %0)\n %10 = mul i64 %9, 65536\n %11 = add nuw nsw i64 %0, 2\n %12 = call i64 @FUNC(i64 %3, i64 %11)\n %13 = or i64 %10, %12\n %14 = and i64 %13, 4294967295\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %3, i64 %0, i64 4)\n store i64 %15, 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, 0 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @m5206_mbar_readw, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dtls1_check_timeout_num_8417", "fun_name": "dtls1_check_timeout_num", "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 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %rdi, align 8\n %1 = trunc i64 %0 to i32\n %2 = add i32 %1, 1\n %3 = bitcast i64* %arg1 to i32*\n store i32 %2, i32* %3, align 4\n %4 = icmp slt i32 %1, 3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = bitcast i64* %rdi to i32*\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rdi, align 8\n %7 = call i64 @FUNC(i64 %6, i64 1, i64 0, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = add i64 %6, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %.pr = load i32, i32* %5, align 8\n %11 = icmp slt i32 %.pr, 3\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 1, i64 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 i32 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_parser_change_4242", "fun_name": "av_parser_change", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i32 %arg6, i64 %arg7) 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 i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg5 to i64\n %3 = icmp eq i64* %arg1, null\n br i1 %3, label LBL_0.LBL_5_crit_edge, label LBL_2\n LBL_1:\n %.pre = ptrtoint i32* %arg2 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %2, i64* %sv_1.0.reg2mem\n store i32 %arg6, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_2:\n %4 = urem i64 %1, 2\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n %.pre6 = ptrtoint i32* %arg2 to i64\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = add i64 %.pre6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i32 %9, 2\n %11 = icmp eq i32 %10, 0\n store i64 %.pre6, i64* %.pre-phi.reg2mem\n store i64 %2, i64* %sv_1.0.reg2mem\n store i32 %arg6, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = trunc i64 %.pre6 to i32\n %sext3 = mul i64 %.pre6, 4294967296\n %13 = ashr exact i64 %sext3, 32\n %14 = add i64 %13, %2\n %15 = sub i32 %arg6, %12\n store i64 %.pre6, i64* %.pre-phi.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i64 %sv_1.0.reload, i64* %arg3, align 8\n %16 = bitcast i64* %arg4 to i32*\n store i32 %sv_0.0.reload, i32* %16, align 4\n %17 = add i64 %.pre-phi.reload, 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 = trunc i64 %arg7 to i32\n %22 = icmp eq i32 %21, 0\n %or.cond = or i1 %22, %20\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_6\n LBL_6:\n %23 = add i64 %.pre-phi.reload, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = and i32 %25, 2\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = add i64 %.pre-phi.reload, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i32 %30, %sv_0.0.reload\n store i32 %31, i32* %16, align 4\n %32 = add i32 %31, 32\n %33 = sext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n store i64 %34, i64* %arg3, align 8\n %35 = load i32, i32* %29, align 4\n %36 = sext i32 %35 to i64\n %37 = load i64, i64* %18, align 8\n %38 = inttoptr i64 %36 to i64*\n %39 = inttoptr i64 %37 to i64*\n %40 = call i64* @memcpy(i64* %38, i64* %39, i32 %35)\n %41 = add i32 %sv_0.0.reload, 32\n %42 = sext i32 %41 to i64\n %43 = load i32, i32* %29, align 4\n %44 = sext i32 %43 to i64\n %45 = add nsw i64 %44, %42\n %46 = inttoptr i64 %45 to i64*\n %47 = inttoptr i64 %sv_1.0.reload to i64*\n %48 = call i64* @memcpy(i64* %46, i64* %47, i32 %41)\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 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i64 %.pre6, { 1, 2, 3, 0, 4 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i32 %arg6, { 2, 0, 1 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ch7006_encoder_create_resources_4010", "fun_name": "ch7006_encoder_create_resources", "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 = 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, i64 10, i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 2)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %2, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %1, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = bitcast i64* %rdi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %8, i64 %14, i32 %11)\n %16 = add i64 %1, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %0, 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 %8, i64 %22, i32 %18)\n %24 = add i64 %1, 12\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 %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %8, i64 %30, i32 %26)\n %32 = add i64 %1, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %0, 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 = add i64 %1, 20\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %0, 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 %8, i64 %46, i32 %42)\n %48 = add i64 %1, 24\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i64 %0, 20\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %8, i64 %54, i32 %50)\n %56 = add i64 %1, 28\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i64 %0, 24\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 %8, i64 %62, i32 %58)\n %64 = add i64 %1, 32\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i64 %0, 28\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 %8, i64 %70, i32 %66)\n %72 = add i64 %1, 36\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = load i32, i32* %2, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %8, i64 %76, i32 %74)\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, i64, i32)* @drm_object_attach_property, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inode_init_owner_13758", "fun_name": "inode_init_owner", "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 %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = icmp eq i64* %arg2, null\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i32 %9, 1024\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_7, label LBL_2\n LBL_2:\n %12 = add i64 %6, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %0, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = and i64 %arg3, 61440\n %18 = icmp eq i64 %17, 16384\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = or i64 %1, 1024\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_4:\n %21 = and i64 %arg3, 1032\n %22 = icmp eq i64 %21, 1032\n %23 = icmp eq i1 %22, false\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_8, label LBL_5\n LBL_5:\n %24 = zext i32 %14 to i64\n %25 = call i64 @FUNC(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* %sv_0.0.reg2mem\n br i1 %28, label LBL_8, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %6, i64 1)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n %33 = and i64 %1, -1025\n %spec.select = select i1 %32, i64 %1, i64 %33\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %34 = call i64 @FUNC()\n %35 = trunc i64 %34 to i32\n %36 = add i64 %0, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\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 %38 = trunc i64 %sv_0.0.reload to i32\n %39 = add i64 %0, 8\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n ret i64 %0\n\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %1, { 2, 3, 5, 0, 1, 4 }\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 1, 3, 4, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 1032, { 1, 0 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_8, { 4, 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tm_reclaim_thread_13739", "fun_name": "tm_reclaim_thread", "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 i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 1)\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 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 1)\n %9 = and i64 %0, 62\n %10 = xor i64 %9, 62\n %11 = and i64 %7, %10\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC(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_4, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i64 @FUNC(i64 %1, i64 %12, i8 %arg3)\n %17 = or i64 %sv_0.0.reload, %1\n store i64 %17, i64* %arg1, align 8\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 %1, { 0, 1, 3, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__ptrace_detach_10435", "fun_name": "__ptrace_detach", "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.05.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 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_9\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n %7 = urem i64 %6, 256\n %8 = icmp eq i64 %7, 0\n store i64 1, i64* %sv_0.05.reg2mem\n br i1 %8, label LBL_7, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %2)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n store i64 0, i64* %sv_0.02.reg2mem\n br i1 %11, label LBL_8, label LBL_3\n LBL_3:\n %12 = add i64 %2, 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 = call i64 @FUNC(i64 %14, i64 %15)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 1\n br i1 %18, label LBL_4, label LBL_6\n LBL_4:\n %19 = add i64 %15, 24\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 i8\n %24 = icmp eq i8 %23, 0\n store i64 0, i64* %sv_0.02.reg2mem\n br i1 %24, label LBL_8, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %2, i64 %15)\n store i64 1, i64* %sv_0.05.reg2mem\n br label LBL_7\n LBL_6:\n %26 = add i64 %2, 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 %2, i64 %29)\n %31 = trunc i64 %30 to i8\n %32 = icmp eq i8 %31, 0\n store i64 %30, i64* %sv_0.05.reg2mem\n store i64 0, i64* %sv_0.02.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %33 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %33, align 4\n store i64 %sv_0.05.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 %34 = urem i64 %sv_0.02.reload, 256\n store i64 %34, 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 %2, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RK_File_7140", "fun_name": "RK_File", "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 %.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.pre-phi15.reg2mem = alloca i64\n %.pre-phi19.pre-phi.reg2mem = alloca i64*\n %storemerge8.reg2mem = alloca i32\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 i32 0, i32* %storemerge8.reg2mem\n br label LBL_4\n LBL_1:\n %4 = inttoptr i64 %21 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 %18, ptrtoint (i64* @gv_0 to i64)\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to %_IO_FILE*\n %12 = call i32 @fseek(%_IO_FILE* %11, i32 0, i32 0)\n %13 = bitcast i64* %arg2 to i32*\n store i32 %storemerge8.reload, i32* %13, align 4\n %14 = load i64, i64* %9, align 8\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %15 = add nuw i32 %storemerge8.reload, 1\n %16 = icmp ugt i32 %storemerge8.reload, 8\n store i32 %15, i32* %storemerge8.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %17 = sext i32 %storemerge8.reload to i64\n %18 = mul i64 %17, 8\n %19 = add i64 %18, ptrtoint (i64* @gv_1 to i64)\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* %20, i64** %.pre-phi19.pre-phi.reg2mem\n store i64 %18, i64* %.pre-phi15.reg2mem\n store i32 %storemerge8.reload, i32* %storemerge4.reg2mem\n br i1 %23, label LBL_1, label LBL_8\n LBL_5:\n %24 = icmp eq i32 %15, 10\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = sext i32 %15 to i64\n %.pre14 = mul i64 %.pre, 8\n %.pre16 = add i64 %.pre14, ptrtoint (i64* @gv_1 to i64)\n %.pre37 = inttoptr i64 %.pre16 to i64*\n store i64* %.pre37, i64** %.pre-phi19.pre-phi.reg2mem\n store i64 %.pre14, i64* %.pre-phi15.reg2mem\n store i32 %15, i32* %storemerge4.reg2mem\n br label LBL_8\n LBL_7:\n %26 = ptrtoint i8* %arg1 to i64\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %26, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_8:\n %.pre-phi19.pre-phi.reload = load i64*, i64** %.pre-phi19.pre-phi.reg2mem\n %28 = call i8* @strdup(i8* %arg1)\n %29 = ptrtoint i8* %28 to i64\n store i64 %29, i64* %.pre-phi19.pre-phi.reload, align 8\n %30 = icmp eq i8* %28, null\n br i1 %30, label LBL_15, label LBL_9\n LBL_9:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.pre-phi15.reload = load i64, i64* %.pre-phi15.reg2mem\n %31 = bitcast i64* %sv_0 to i8*\n %32 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %31, i32 1024, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i8* %arg1)\n %33 = call %_IO_FILE* @fopen(i8* nonnull %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %34 = ptrtoint %_IO_FILE* %33 to i64\n %35 = add i64 %.pre-phi15.reload, ptrtoint (i64* @gv_0 to i64)\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = icmp eq %_IO_FILE* %33, null\n %38 = icmp eq i1 %37, false\n store i64 %34, i64* %.reg2mem\n br i1 %38, label LBL_12, label LBL_10\n LBL_10:\n %39 = call %_IO_FILE* @fopen(i8* nonnull %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_7, i64 0, i64 0))\n %40 = ptrtoint %_IO_FILE* %39 to i64\n store i64 %40, i64* %36, align 8\n %41 = icmp eq %_IO_FILE* %39, null\n store i64 %40, i64* %.reg2mem\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i32 @fclose(%_IO_FILE* nonnull %39)\n %43 = call %_IO_FILE* @fopen(i8* nonnull %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %44 = ptrtoint %_IO_FILE* %43 to i64\n store i64 %44, i64* %36, align 8\n store i64 %44, i64* %.reg2mem\n br label LBL_12\n LBL_12:\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_14, label LBL_13\n LBL_13:\n %47 = call i32* @__errno_location()\n %48 = load i32, i32* %47, align 4\n %49 = call i8* @strerror(i32 %48)\n %50 = ptrtoint i8* %49 to i64\n %51 = call i32* @__errno_location()\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = ptrtoint i64* %sv_0 to i64\n %55 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64 %53, i64 %50, i64 %1)\n %56 = load i64, i64* %.pre-phi19.pre-phi.reload, align 8\n %57 = inttoptr i64 %56 to i64*\n call void @free(i64* %57)\n store i64 0, i64* %.pre-phi19.pre-phi.reload, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %58 = inttoptr i64 %.reload to %_IO_FILE*\n %59 = call i32 @fseek(%_IO_FILE* %58, i32 0, i32 0)\n %60 = bitcast i64* %arg2 to i32*\n store i32 %storemerge4.reload, i32* %60, align 4\n %61 = load i64, i64* %36, align 8\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %62 = call i32* @__errno_location()\n %63 = load i32, i32* %62, align 4\n %64 = call i8* @strerror(i32 %63)\n %65 = ptrtoint i8* %64 to i64\n %66 = call i32* @__errno_location()\n %67 = load i32, i32* %66, align 4\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %68, i64 %65, i64 %2, i64 %1)\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* %36, { 2, 0, 1, 3 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %storemerge8.reload, { 0, 2, 4, 1, 3 }\n uselistorder i32 %15, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64** %.pre-phi19.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi15.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }\n uselistorder %_IO_FILE* (i8*, i8*)* @fopen, { 2, 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @merror, { 2, 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i1 false, { 0, 1, 3, 4, 2 }\n uselistorder i32 0, { 3, 4, 1, 2, 5, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i8* %arg1, { 2, 3, 0, 1 }\n uselistorder label LBL_16, { 0, 1, 2, 4, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "verify_irqchip_in_kernel_589", "fun_name": "verify_irqchip_in_kernel", "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 %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\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 %3, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, 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": "transfer_all_new_dbs_4548", "fun_name": "transfer_all_new_dbs", "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.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.06.reg2mem = alloca i32\n %.reg2mem33 = alloca i64\n %sv_1.114.reg2mem = alloca i32\n %sv_2.015.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_3 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n %4 = and i64 %1, 4294967295\n %5 = icmp eq i32 %3, 0\n br i1 %5, label LBL_11, label LBL_1\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 i64*\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = bitcast i32* %sv_3 to i64*\n %13 = and i64 %2, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %sv_2.015.reg2mem\n store i32 0, i32* %sv_1.114.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.114.reload = load i32, i32* %sv_1.114.reg2mem\n %sv_2.015.reload = load i32, i32* %sv_2.015.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %14 = load i64, i64* %9, align 8\n %15 = mul i64 %.reload, 8\n %16 = add i64 %14, %15\n %17 = sext i32 %sv_1.114.reload to i64\n %18 = icmp sgt i64 %13, %17\n store i32 %sv_1.114.reload, i32* %sv_1.0.lcssa.reg2mem\n store i64 %17, i64* %.lcssa.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %19 = inttoptr i64 %16 to i64*\n store i64 %17, i64* %.reg2mem33\n store i32 %sv_1.114.reload, i32* %sv_1.06.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %.reload34 = load i64, i64* %.reg2mem33\n %20 = load i64, i64* %11, align 8\n %21 = mul i64 %.reload34, 8\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = load i64, i64* %19, align 8\n %26 = inttoptr i64 %25 to i8*\n %27 = inttoptr i64 %24 to i8*\n %28 = call i32 @strcmp(i8* %26, i8* %27)\n %29 = icmp eq i32 %28, 0\n store i32 %sv_1.06.reload, i32* %sv_1.0.lcssa.reg2mem\n store i64 %.reload34, i64* %.lcssa.reg2mem\n store i64 %22, i64* %sv_0.1.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = add i32 %sv_1.06.reload, 1\n %31 = sext i32 %30 to i64\n %32 = icmp sgt i64 %13, %31\n store i64 %31, i64* %.reg2mem33\n store i32 %30, i32* %sv_1.06.reg2mem\n store i32 %30, i32* %sv_1.0.lcssa.reg2mem\n store i64 %31, i64* %.lcssa.reg2mem\n store i64 %22, i64* %sv_0.1.reg2mem\n br i1 %32, label LBL_4, label LBL_6\n LBL_6:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %33 = icmp slt i64 %.lcssa.reload, %13\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = inttoptr i64 %16 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %35)\n unreachable\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %37 = call i64 @FUNC(i64 %16, i64 %sv_0.1.reload, i64* nonnull %12, i64 %arg3, i64 %arg4)\n %38 = load i32, i32* %sv_3, align 4\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %40 = inttoptr i64 %sv_0.1.reload to i64*\n %41 = load i64, i64* %40, align 8\n %42 = zext i32 %38 to i64\n %43 = call i64 @FUNC(i64 %37, i64 %42, i64 %41)\n %44 = call i64 @FUNC()\n %45 = load i32, i32* %sv_3, align 4\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %44, i64 %37, i64 %46, i64 %arg5)\n br label LBL_10\n LBL_10:\n %48 = call i64 @FUNC(i64 %37)\n %49 = add i32 %sv_2.015.reload, 1\n %50 = add i32 %sv_1.0.lcssa.reload, 1\n %51 = sext i32 %49 to i64\n %52 = icmp sgt i64 %4, %51\n store i64 %51, i64* %.reg2mem\n store i32 %49, i32* %sv_2.015.reg2mem\n store i32 %50, i32* %sv_1.114.reg2mem\n br i1 %52, label LBL_2, label LBL_11\n LBL_11:\n ret i64 %4\n\n uselistorder i64 %37, { 1, 0, 2 }\n uselistorder i64 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i32 %sv_1.06.reload, { 1, 0 }\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i32 %sv_1.114.reload, { 1, 0, 2 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.015.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.114.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem33, { 1, 0, 2 }\n uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 3, 4, 0, 1, 2, 5 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "allocate_buffers_2424", "fun_name": "allocate_buffers", "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 i32\n %.reg2mem3 = alloca i64\n %.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, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %rdi to i32*\n %6 = add i64 %4, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %4, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %4, 24\n %13 = inttoptr i64 %12 to i64*\n %.pre = load i64, i64* %9, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 0, i64* %.reg2mem3\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_2\n LBL_2:\n %.reload4 = load i64, i64* %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %14 = load i32, i32* %7, align 4\n %15 = mul i32 %14, 4\n %16 = sext i32 %15 to i64\n %17 = mul i64 %.reload4, 8\n %18 = add i64 %17, %.reload\n %19 = call i64 @FUNC(i64 %16)\n %20 = inttoptr i64 %18 to i64*\n store i64 %19, i64* %20, align 8\n %21 = load i32, i32* %7, align 4\n %22 = mul i32 %21, 4\n %23 = sext i32 %22 to i64\n %24 = load i64, i64* %11, align 8\n %25 = add i64 %24, %17\n %26 = call i64 @FUNC(i64 %23)\n %27 = inttoptr i64 %25 to i64*\n store i64 %26, i64* %27, align 8\n %28 = load i32, i32* %7, align 4\n %29 = mul i32 %28, 4\n %30 = sext i32 %29 to i64\n %31 = load i64, i64* %13, align 8\n %32 = add i64 %31, %17\n %33 = call i64 @FUNC(i64 %30)\n %34 = inttoptr i64 %32 to i64*\n store i64 %33, i64* %34, align 8\n %35 = load i64, i64* %9, align 8\n %36 = add i64 %35, %17\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_5, label LBL_3\n LBL_3:\n %40 = load i64, i64* %11, align 8\n %41 = add i64 %40, %17\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = icmp eq i64 %43, 0\n br i1 %44, label LBL_5, label LBL_4\n LBL_4:\n %45 = load i64, i64* %13, align 8\n %46 = add i64 %45, %17\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 br i1 %50, label LBL_6, label LBL_5\n LBL_5:\n %51 = add i64 %4, 32\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %55 = add i32 %storemerge12.reload, 1\n %56 = load i32, i32* %5, align 8\n %57 = zext i32 %56 to i64\n %58 = sext i32 %55 to i64\n %59 = icmp slt i64 %58, %57\n store i64 %35, i64* %.reg2mem\n store i64 %58, i64* %.reg2mem3\n store i32 %55, i32* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %59, label LBL_2, label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %9, { 1, 0 }\n uselistorder i64 %4, { 0, 1, 2, 4, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem3, { 1, 0, 2 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64)* @av_malloc, { 2, 1, 0 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oiap_10602", "fun_name": "oiap", "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 = call i64 @FUNC(i64 %0, i64 193)\n %3 = call i64 @FUNC(i64 %0, i64 12)\n %4 = call i64 @FUNC(i64 %0, i64 362)\n %5 = call i64 @FUNC(i64 0, i64 %0, i64 1024)\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* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %0, i64 10)\n %11 = trunc i64 %10 to i32\n %12 = bitcast i64* %arg2 to i32*\n store i32 %11, i32* %12, align 4\n %13 = add i64 %0, 14\n %14 = inttoptr i64 %13 to i64*\n %15 = call i64* @memcpy(i64* %arg3, i64* %14, i32 20)\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 0, { 1, 0 }\n uselistorder i64 (i64, i64)* @store32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_peek_byte_3493", "fun_name": "qemu_peek_byte", "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 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 ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([15 x i8], [15 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 slt i32 %6, 1024\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = add i64 %1, %arg2\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %sext = mul i64 %8, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = icmp slt i64 %13, %12\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %2)\n %16 = load i32, i32* %10, align 4\n %17 = zext i32 %16 to i64\n %18 = icmp slt i64 %13, %17\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_6, label LBL_7\n LBL_6:\n %19 = add i64 %2, 8\n %20 = add i64 %19, %13\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = zext i8 %22 to i64\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 %13, { 2, 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_export_message_12302", "fun_name": "gf_export_message", "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 = urem i64 %2, 2\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_3, label LBL_5\n LBL_3:\n %25 = trunc i64 %22 to i32\n %26 = icmp eq i32 %25, 0\n %. = select i1 %26, i64 2, i64 1\n %27 = call i64 @FUNC(i64 1, i64 %.)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n store i32 24, i32* %sv_1, align 4\n %30 = ptrtoint i32* %sv_1 to i64\n %31 = bitcast i64* %sv_0 to i8*\n %32 = call i32 @vsprintf(i8* nonnull %31, i8* %arg3, i64 %30)\n %33 = call i64 @FUNC(i64 %., i64 1, i64* nonnull %sv_0, i64 %., i64 %arg5, i64 %arg6)\n br label LBL_5\n LBL_5:\n %storemerge = and i64 %22, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %., { 1, 0, 2 }\n uselistorder i64* %1, { 1, 0 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qe_get_num_of_snums_17800", "fun_name": "qe_get_num_of_snums", "llvm_ir_function": "define i64 @FUNC() 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 %sv_2 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %sv_1.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\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 28, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_7\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %10 = bitcast i32* %sv_2 to i64*\n %11 = call i64 @FUNC(i64 %sv_1.0.reload, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %10)\n %12 = icmp eq i64 %11, 0\n store i32 28, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = load i32, i32* %sv_2, align 4\n %14 = icmp eq i32 %13, 4\n %15 = icmp eq i1 %14, false\n store i32 28, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_6, label LBL_4\n LBL_4:\n %16 = inttoptr i64 %11 to i32*\n %17 = load i32, i32* %16, align 4\n %.off = add i32 %17, -28\n %18 = icmp ult i32 %.off, 73\n store i32 %17, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = ptrtoint i32* %sv_2 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([17 x i8]* @gv_2 to i64), i64 %19, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %sv_1.0.reload)\n %22 = zext i32 %sv_0.0.reload to i64\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 %sv_1.0.reload, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder [17 x i8]* @gv_2, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 0, 1 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "remove_port_data_10774", "fun_name": "remove_port_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem5 = alloca i64\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)\n %3 = call i64 @FUNC(i64 %0)\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 = call i64 @FUNC(i64 %0)\n %10 = icmp eq i64 %8, 0\n store i64 %8, i64* %.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %11 = call i64 @FUNC(i64 %.reload, i64 1)\n %12 = call i64 @FUNC(i64 %0)\n %13 = load i64, i64* %6, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %0)\n %16 = icmp eq i64 %14, 0\n store i64 %14, i64* %.reg2mem\n br i1 %16, label LBL_2, label LBL_1\n LBL_2:\n %17 = add i64 %0, 4\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64 %0)\n %20 = call i64 @FUNC(i64 %17)\n %21 = call i64 @FUNC(i64 %17)\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %17)\n %27 = icmp eq i64 %25, 0\n store i64 %25, i64* %.reg2mem5\n store i64 %26, i64* %.lcssa.reg2mem\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %.reload6 = load i64, i64* %.reg2mem5\n %28 = call i64 @FUNC(i64 %.reload6, i64 1)\n %29 = call i64 @FUNC(i64 %17)\n %30 = load i64, i64* %23, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = call i64 @FUNC(i64 %17)\n %33 = icmp eq i64 %31, 0\n store i64 %31, i64* %.reg2mem5\n store i64 %32, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_4, label LBL_3\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64* %23, { 1, 0 }\n uselistorder i64 %17, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64* %6, { 1, 0 }\n uselistorder i64 %0, { 2, 4, 3, 5, 6, 0, 7, 1, 8, 9, 10 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem5, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @free_buf, { 1, 0 }\n uselistorder i64 (i64)* @virtqueue_detach_unused_buf, { 3, 1, 2, 0 }\n uselistorder i64 (i64)* @spin_unlock_irq, { 5, 1, 4, 3, 0, 2 }\n uselistorder i64 (i64)* @spin_lock_irq, { 5, 1, 4, 3, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "server_socket_unix_8006", "fun_name": "server_socket_unix", "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 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = load i32, i32* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n store i32 0, i32* %sv_4, align 4\n store i32 1, i32* %sv_3, align 4\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_13\n LBL_1:\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_13\n LBL_2:\n %8 = inttoptr i64 %arg1 to i8*\n %9 = bitcast i64* %sv_2 to %stat*\n %10 = call i32 @lstat(i8* %8, %stat* nonnull %9)\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = and i32 %1, 61440\n %14 = icmp eq i32 %13, 49152\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i32 @unlink(i8* %8)\n br label LBL_5\n LBL_5:\n %17 = bitcast i32* %sv_3 to i64*\n %18 = call i32 @setsockopt(i32 %5, i32 1, i32 2, i64* nonnull %17, i32 4)\n %19 = call i32 @setsockopt(i32 %5, i32 1, i32 9, i64* nonnull %17, i32 4)\n %20 = bitcast i32* %sv_4 to i64*\n %21 = call i32 @setsockopt(i32 %5, i32 1, i32 13, i64* nonnull %20, i32 8)\n %22 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 110)\n store i64 1, i64* %sv_1, align 8\n %23 = bitcast i64* %sv_0 to i8*\n %24 = call i8* @strncpy(i8* nonnull %23, i8* %8, i32 107)\n %25 = call i32 @strcmp(i8* nonnull %23, i8* %8)\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %27 = trunc i64 %arg2 to i32\n %28 = urem i32 %27, 512\n %29 = sub i32 0, %28\n %30 = sub i32 %29, 1\n %31 = call i32 @umask(i32 %30)\n %32 = bitcast i64* %sv_1 to %sockaddr*\n %33 = call i32 @bind(i32 %5, %sockaddr* nonnull %32, i32 110)\n %34 = icmp eq i32 %33, -1\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %36 = call i32 @close(i32 %5)\n %37 = call i32 @umask(i32 %31)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_9:\n %38 = call i32 @umask(i32 %31)\n %39 = load i32, i32* inttoptr (i64 4210852 to i32*), align 4\n %40 = call i32 @listen(i32 %5, i32 %39)\n %41 = icmp eq i32 %40, -1\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_11, label LBL_10\n LBL_10:\n call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0))\n %43 = call i32 @close(i32 %5)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %44 = load i64, i64* @gv_5, align 8\n %45 = load i64, i64* @gv_6, align 8\n %46 = and i64 %4, 4294967295\n %47 = call i64 @FUNC(i64 %46, i64 0, i64 3, i64 1, i64 %45, i64 %44)\n store i64 %47, i64* @gv_7, align 8\n %48 = icmp eq i64 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8\n %51 = call i32 @fwrite(i64* bitcast ([39 x i8]* @gv_9 to i64*), i32 1, i32 38, %_IO_FILE* %50)\n call void @exit(i32 1)\n unreachable\n LBL_13:\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 i8* %8, { 2, 1, 0, 3 }\n uselistorder i32 %5, { 1, 2, 0, 3, 6, 5, 4, 7 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 2, 3 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder void (i8*)* @perror, { 1, 0 }\n uselistorder i32 (i32)* @umask, { 2, 1, 0 }\n uselistorder i32 (i32, i32, i32, i64*, i32)* @setsockopt, { 1, 0, 2 }\n uselistorder i32 0, { 0, 4, 1, 5, 3, 2 }\n uselistorder label LBL_13, { 0, 3, 4, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_inv_trans_8x4_c_859", "fun_name": "vc1_inv_trans_8x4_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.012.reg2mem = alloca i64\n %sv_1.113.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i32\n %sv_2.016.reg2mem = alloca i64\n %storemerge817.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n store i32 0, i32* %storemerge817.reg2mem\n store i64 %0, i64* %sv_2.016.reg2mem\n br label LBL_1\n LBL_1:\n %sv_2.016.reload = load i64, i64* %sv_2.016.reg2mem\n %storemerge817.reload = load i32, i32* %storemerge817.reg2mem\n %1 = inttoptr i64 %sv_2.016.reload to i16*\n %2 = load i16, i16* %1, align 2\n %3 = add i64 %sv_2.016.reload, 8\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, 12\n %10 = add nsw i64 %9, 4\n %11 = sub nsw i64 %7, %6\n %12 = mul nsw i64 %11, 12\n %13 = add nsw i64 %12, 4\n %14 = add i64 %sv_2.016.reload, 4\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 i64 %17, 16\n %19 = add i64 %sv_2.016.reload, 12\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, 6\n %24 = add nsw i64 %23, %18\n %25 = mul nsw i64 %17, 6\n %26 = mul i64 %22, 16\n %27 = sub nsw i64 %25, %26\n %28 = add nsw i64 %24, %10\n %29 = add nsw i64 %27, %13\n %30 = sub nsw i64 %13, %27\n %31 = sub nsw i64 %10, %24\n %32 = add i64 %sv_2.016.reload, 2\n %33 = inttoptr i64 %32 to i16*\n %34 = load i16, i16* %33, align 2\n %35 = sext i16 %34 to i64\n %36 = mul i64 %35, 16\n %37 = add i64 %sv_2.016.reload, 6\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = sext i16 %39 to i64\n %41 = mul i64 %40, 16\n %42 = mul nsw i64 %40, 15\n %43 = add nsw i64 %42, %36\n %44 = add i64 %sv_2.016.reload, 10\n %45 = inttoptr i64 %44 to i16*\n %46 = load i16, i16* %45, align 2\n %47 = sext i16 %46 to i64\n %48 = mul nsw i64 %47, 9\n %49 = add nsw i64 %43, %48\n %50 = add i64 %sv_2.016.reload, 14\n %51 = inttoptr i64 %50 to i16*\n %52 = load i16, i16* %51, align 2\n %53 = sext i16 %52 to i64\n %54 = mul i64 %53, 4\n %55 = add nsw i64 %49, %54\n %56 = mul nsw i64 %35, 15\n %57 = mul i64 %40, 4\n %58 = sub nsw i64 %56, %57\n %59 = mul i64 %47, 16\n %60 = sub nsw i64 %58, %59\n %61 = mul nsw i64 %53, -9\n %62 = add nsw i64 %60, %61\n %63 = mul nsw i64 %35, 9\n %64 = sub nsw i64 %63, %41\n %65 = mul i64 %47, 4\n %66 = add nsw i64 %64, %65\n %67 = mul i64 %53, 16\n %68 = mul nsw i64 %53, 15\n %69 = add nsw i64 %66, %68\n %70 = mul i64 %35, 4\n %71 = mul nsw i64 %40, -9\n %72 = add nsw i64 %71, %70\n %73 = mul nsw i64 %47, 15\n %74 = add nsw i64 %72, %73\n %75 = sub nsw i64 %74, %67\n %76 = add nsw i64 %55, %28\n %77 = trunc i64 %76 to i32\n %78 = udiv i32 %77, 8\n %79 = trunc i32 %78 to i16\n store i16 %79, i16* %1, align 2\n %80 = add nsw i64 %62, %29\n %81 = trunc i64 %80 to i32\n %82 = udiv i32 %81, 8\n %83 = trunc i32 %82 to i16\n store i16 %83, i16* %33, align 2\n %84 = add nsw i64 %69, %30\n %85 = trunc i64 %84 to i32\n %86 = udiv i32 %85, 8\n %87 = trunc i32 %86 to i16\n store i16 %87, i16* %15, align 2\n %88 = add nsw i64 %75, %31\n %89 = trunc i64 %88 to i32\n %90 = udiv i32 %89, 8\n %91 = trunc i32 %90 to i16\n store i16 %91, i16* %38, align 2\n %92 = trunc i64 %31 to i32\n %93 = trunc i64 %75 to i32\n %94 = sub i32 %92, %93\n %95 = udiv i32 %94, 8\n %96 = trunc i32 %95 to i16\n store i16 %96, i16* %4, align 2\n %97 = trunc i64 %30 to i32\n %98 = trunc i64 %69 to i32\n %99 = sub i32 %97, %98\n %100 = udiv i32 %99, 8\n %101 = trunc i32 %100 to i16\n store i16 %101, i16* %45, align 2\n %102 = trunc i64 %29 to i32\n %103 = trunc i64 %62 to i32\n %104 = sub i32 %102, %103\n %105 = udiv i32 %104, 8\n %106 = trunc i32 %105 to i16\n store i16 %106, i16* %20, align 2\n %107 = trunc i64 %28 to i32\n %108 = trunc i64 %55 to i32\n %109 = sub i32 %107, %108\n %110 = udiv i32 %109, 8\n %111 = trunc i32 %110 to i16\n store i16 %111, i16* %51, align 2\n %112 = add i64 %sv_2.016.reload, 16\n %113 = add nuw nsw i32 %storemerge817.reload, 1\n %exitcond18 = icmp eq i32 %113, 4\n store i32 %113, i32* %storemerge817.reg2mem\n store i64 %112, i64* %sv_2.016.reg2mem\n br i1 %exitcond18, label LBL_2, label LBL_1\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %114 = ptrtoint i64* %arg1 to i64\n %115 = ashr exact i64 %sext, 32\n %116 = mul i64 %arg2, 8589934592\n %117 = ashr exact i64 %116, 32\n %sext6 = mul i64 %115, 12884901888\n %118 = ashr exact i64 %sext6, 32\n store i32 0, i32* %storemerge14.reg2mem\n store i64 %0, i64* %sv_1.113.reg2mem\n store i64 %114, i64* %sv_0.012.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem\n %sv_1.113.reload = load i64, i64* %sv_1.113.reg2mem\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %119 = inttoptr i64 %sv_1.113.reload to i16*\n %120 = load i16, i16* %119, align 2\n %121 = add i64 %sv_1.113.reload, 32\n %122 = inttoptr i64 %121 to i16*\n %123 = load i16, i16* %122, align 2\n %124 = sext i16 %123 to i64\n %125 = sext i16 %120 to i64\n %126 = add nsw i64 %124, %125\n %127 = mul nsw i64 %126, 17\n %128 = add nsw i64 %127, 64\n %129 = sub nsw i64 %125, %124\n %130 = mul nsw i64 %129, 17\n %131 = add nsw i64 %130, 64\n %132 = add i64 %sv_1.113.reload, 16\n %133 = inttoptr i64 %132 to i16*\n %134 = load i16, i16* %133, align 2\n %135 = sext i16 %134 to i64\n %136 = mul nsw i64 %135, 22\n %137 = add i64 %sv_1.113.reload, 48\n %138 = inttoptr i64 %137 to i16*\n %139 = load i16, i16* %138, align 2\n %140 = sext i16 %139 to i64\n %141 = mul nsw i64 %140, 10\n %142 = add nsw i64 %141, %136\n %143 = mul nsw i64 %140, 22\n %144 = mul nsw i64 %135, 4294967286\n %145 = add nsw i64 %143, %144\n %146 = inttoptr i64 %sv_0.012.reload to i8*\n %147 = load i8, i8* %146, align 1\n %148 = add nsw i64 %142, %128\n %149 = trunc i64 %148 to i32\n %150 = ashr i32 %149, 7\n %151 = zext i8 %147 to i32\n %152 = add nsw i32 %150, %151\n %153 = zext i32 %152 to i64\n %154 = call i64 @FUNC(i64 %153)\n %155 = trunc i64 %154 to i8\n store i8 %155, i8* %146, align 1\n %156 = add i64 %sv_0.012.reload, %115\n %157 = inttoptr i64 %156 to i8*\n %158 = load i8, i8* %157, align 1\n %159 = trunc i64 %131 to i32\n %160 = trunc i64 %145 to i32\n %161 = sub i32 %159, %160\n %162 = ashr i32 %161, 7\n %163 = zext i8 %158 to i32\n %164 = add nsw i32 %162, %163\n %165 = zext i32 %164 to i64\n %166 = call i64 @FUNC(i64 %165)\n %167 = trunc i64 %166 to i8\n store i8 %167, i8* %157, align 1\n %168 = add i64 %sv_0.012.reload, %117\n %169 = inttoptr i64 %168 to i8*\n %170 = load i8, i8* %169, align 1\n %171 = add nsw i64 %145, %131\n %172 = trunc i64 %171 to i32\n %173 = ashr i32 %172, 7\n %174 = zext i8 %170 to i32\n %175 = add nsw i32 %173, %174\n %176 = zext i32 %175 to i64\n %177 = call i64 @FUNC(i64 %176)\n %178 = trunc i64 %177 to i8\n store i8 %178, i8* %169, align 1\n %179 = add i64 %sv_0.012.reload, %118\n %180 = inttoptr i64 %179 to i8*\n %181 = load i8, i8* %180, align 1\n %182 = trunc i64 %128 to i32\n %183 = trunc i64 %142 to i32\n %184 = sub i32 %182, %183\n %185 = ashr i32 %184, 7\n %186 = zext i8 %181 to i32\n %187 = add nsw i32 %185, %186\n %188 = zext i32 %187 to i64\n %189 = call i64 @FUNC(i64 %188)\n %190 = trunc i64 %189 to i8\n store i8 %190, i8* %180, align 1\n %191 = add i64 %sv_1.113.reload, 2\n %192 = add i64 %sv_0.012.reload, 1\n %193 = add nuw nsw i32 %storemerge14.reload, 1\n %exitcond = icmp eq i32 %193, 8\n store i32 %193, i32* %storemerge14.reg2mem\n store i64 %191, i64* %sv_1.113.reg2mem\n store i64 %192, i64* %sv_0.012.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %189\n\n uselistorder i64 %142, { 1, 0 }\n uselistorder i64 %140, { 1, 0 }\n uselistorder i64 %128, { 1, 0 }\n uselistorder i64 %125, { 1, 0 }\n uselistorder i64 %124, { 1, 0 }\n uselistorder i64 %sv_1.113.reload, { 0, 3, 4, 2, 1 }\n uselistorder i64 %sv_0.012.reload, { 0, 4, 3, 2, 1 }\n uselistorder i64 %69, { 1, 0 }\n uselistorder i64 %62, { 1, 0 }\n uselistorder i64 %55, { 1, 0 }\n uselistorder i64 %53, { 2, 0, 3, 1 }\n uselistorder i64 %47, { 2, 0, 1, 3 }\n uselistorder i64 %40, { 2, 0, 3, 1 }\n uselistorder i64 %35, { 0, 2, 3, 1 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %13, { 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.016.reload, { 0, 1, 2, 4, 3, 6, 5, 7, 8 }\n uselistorder i32* %storemerge817.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.016.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.113.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 }\n uselistorder i64 32, { 4, 0, 1, 2, 3 }\n uselistorder i32 8, { 8, 0, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 6, { 2, 0, 1 }\n uselistorder i64 16, { 6, 7, 0, 1, 2, 3, 4, 5 }\n uselistorder i64 12, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_commands_sorted_9885", "fun_name": "test_commands_sorted", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\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 %0 = mul i64 %indvars.iv.reload, 8\n %1 = add i64 %0, ptrtoint ([3 x i8*]* @gv_0 to i64)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, add (i64 ptrtoint ([3 x i8*]* @gv_0 to i64), i64 -8)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i8*\n %8 = inttoptr i64 %3 to i8*\n %9 = call i32 @strcasecmp(i8* %7, i8* %8)\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(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 0)\n br label LBL_4\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %12 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %12, label LBL_1, label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 1, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pskb_carve_8648", "fun_name": "pskb_carve", "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 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp ult i32 %1, %3\n %5 = icmp eq i1 %4, false\n %6 = zext i32 %arg3 to i64\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i32 %1, i32 %3, i64 %6)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i32 %1, i32 %3, i64 %6)\n store i64 %8, 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, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h2c_send_goaway_error_8774", "fun_name": "h2c_send_goaway_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 %.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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_18\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %2 to i32\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %6, 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_2\n LBL_2:\n %12 = icmp eq i32* %arg2, null\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = or i32 %7, 1\n store i32 %13, i32* %arg2, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_4:\n %14 = or i32 %3, 2\n %15 = bitcast i64* %arg1 to i32*\n store i32 %14, i32* %15, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_5:\n %16 = add i64 %6, 16\n %17 = call i64 @FUNC(i64 %6, i64 %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_9, label LBL_6\n LBL_6:\n %20 = or i32 %3, 4\n %21 = bitcast i64* %arg1 to i32*\n store i32 %20, i32* %21, align 4\n %22 = icmp eq i32* %arg2, null\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = or i32 %7, 2\n store i32 %23, i32* %arg2, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_8:\n %24 = or i32 %3, 8\n store i32 %24, i32* %21, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %25 = call i64* @memcpy(i64* nonnull %sv_2, i64* nonnull @gv_0, i32 9)\n %26 = add i64 %6, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i32 %28, i32* %.reg2mem\n br i1 %30, label LBL_11, label LBL_10\n LBL_10:\n %31 = add i64 %6, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n store i32 %33, i32* %27, align 4\n store i32 %33, i32* %.reg2mem\n br label LBL_11\n LBL_11:\n %34 = bitcast i64* %rdi to i32*\n %.reload = load i32, i32* %.reg2mem\n %35 = zext i32 %.reload to i64\n %36 = call i64 @FUNC(i64* nonnull %sv_1, i64 %35)\n %37 = add i64 %6, 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* nonnull %sv_0, i64 %40)\n %42 = call i64 @FUNC(i64* nonnull %sv_2, i64 17)\n %43 = call i64 @FUNC(i64 %17, i64 %42, i64 %40)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 1\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_17, label LBL_12\n LBL_12:\n %47 = icmp eq i32 %44, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_16, label LBL_13\n LBL_13:\n %49 = load i32, i32* %34, align 8\n %50 = or i32 %49, 16\n %51 = bitcast i64* %arg1 to i32*\n store i32 %50, i32* %51, align 4\n %52 = icmp eq i32* %arg2, null\n br i1 %52, label LBL_15, label LBL_14\n LBL_14:\n %53 = bitcast i64* %rsi to i32*\n %54 = load i32, i32* %53, align 8\n %55 = or i32 %54, 2\n store i32 %55, i32* %arg2, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %56 = or i32 %49, 8\n store i32 %56, i32* %51, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_16:\n %57 = call i64 @FUNC(i64 %6, i64 1)\n %58 = load i32, i32* %34, align 8\n %59 = or i32 %58, 1\n %60 = bitcast i64* %arg1 to i32*\n store i32 %59, i32* %60, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %61 = load i32, i32* %34, align 8\n %62 = or i32 %61, 32\n %63 = bitcast i64* %arg1 to i32*\n store i32 %62, i32* %63, align 4\n %64 = and i64 %43, 4294967295\n store i64 %64, 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, 0 }\n uselistorder i32* %34, { 2, 1, 0 }\n uselistorder i64 %6, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i32 %3, { 1, 2, 3, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 2, 1, 4, 3, 6, 5, 7 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64*, i64)* @write_n32, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 3, 0, 2 }\n uselistorder i32 2, { 1, 2, 3, 0 }\n uselistorder i32* %arg2, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder label LBL_18, { 7, 8, 1, 0, 3, 2, 5, 4, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_slirp_smb_370", "fun_name": "net_slirp_smb", "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 br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %3 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_2 to i64*), i32 1, i32 17, %_IO_FILE* %2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %4 = trunc i64 %arg1 to i32\n store i32 %4, i32* @gv_0, align 4\n %5 = call i64 @FUNC(i64* nonnull @gv_3)\n %6 = trunc i64 %5 to i32\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_6, label LBL_3\n LBL_3:\n store i64 0, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64* nonnull @gv_3)\n %10 = call i64 @FUNC(i64 %9, i64 %arg1, i32 0, i64* nonnull %sv_0)\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_5, label LBL_4\n LBL_4:\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %14)\n br label LBL_5\n LBL_5:\n %16 = and i64 %10, 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 i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 4, 1 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "resolve_iffeature_19028", "fun_name": "resolve_iffeature", "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 %sv_1 = alloca i32, align 4\n store i32 0, i32* %sv_1, align 4\n store i32 0, i32* %sv_0, align 4\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 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0)\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 i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "x11_init_protocol_6296", "fun_name": "x11_init_protocol", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.lcssa.reg2mem = alloca i64\n %sv_0.01.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* %sv_0.01.reg2mem\n store i64 %0, i64* %rax.0.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.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 = call i64 @FUNC(i64 %5)\n %7 = add i64 %sv_0.01.reload, 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 = add i64 %sv_0.01.reload, 24\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 %sv_0.01.reload, 32\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = inttoptr i64 %sv_0.01.reload to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %sv_0.01.reload)\n %22 = icmp eq i64 %20, 0\n %23 = icmp eq i1 %22, false\n store i64 %20, i64* %sv_0.01.reg2mem\n store i64 %21, i64* %rax.0.lcssa.reg2mem\n br i1 %23, label LBL_1, label LBL_2\n LBL_2:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n store i64 0, i64* @gv_0, align 8\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i64 %sv_0.01.reload, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @g_hash_table_destroy, { 3, 2, 1, 0 }\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": "runstate_init_14765", "fun_name": "runstate_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %0 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 100)\n %1 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8\n %2 = icmp eq i32 %1, 10\n %3 = icmp eq i1 %2, false\n store i32 %1, i32* %.reg2mem\n store i32* bitcast (i32** @gv_1 to i32*), i32** %storemerge2.reg2mem\n store i32 %1, i32* %.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %storemerge2.reload = load i32*, i32** %storemerge2.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %4 = ptrtoint i32* %storemerge2.reload 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 = sext i32 %7 to i64\n %9 = sext i32 %.reload to i64\n %10 = mul nsw i64 %9, 10\n %11 = add i64 %10, ptrtoint (i64* @gv_0 to i64)\n %12 = add i64 %11, %8\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n %14 = add i64 %4, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 10\n %18 = icmp eq i1 %17, false\n store i32 %16, i32* %.reg2mem\n store i32* %15, i32** %storemerge2.reg2mem\n store i32 %16, i32* %.lcssa.reg2mem\n br i1 %18, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %19 = zext i32 %.lcssa.reload to i64\n ret i64 %19\n\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32** %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 10, { 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": "1" }, { "dataset": "CompRealVul", "file": "ff_eval_coefs_2272", "fun_name": "ff_eval_coefs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv8.reg2mem = alloca i64\n %indvars.iv11.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 %2 = bitcast i64* %sv_0 to i32*\n %3 = ptrtoint i64* %sv_0 to i64\n %4 = add i64 %1, -4\n %5 = bitcast i64* %rdi to i32*\n %6 = bitcast i64* %arg1 to i32*\n store i64 0, i64* %indvars.iv11.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %7 = mul i64 %indvars.iv11.reload, 4\n %8 = add i64 %7, %0\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %7, %3\n %12 = mul i32 %10, 16\n %13 = inttoptr i64 %11 to i32*\n store i32 %12, i32* %13, align 4\n %14 = icmp eq i64 %indvars.iv11.reload, 0\n store i64 0, i64* %indvars.iv8.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %15 = load i32, i32* %9, align 4\n %16 = sub nsw i64 %indvars.iv11.reload, %indvars.iv8.reload\n %17 = mul i64 %16, 4\n %18 = add i64 %4, %17\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = mul i32 %20, %15\n %22 = ashr i32 %21, 12\n %23 = mul i64 %indvars.iv8.reload, 4\n %24 = add i64 %23, %1\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %23, %3\n %28 = add i32 %22, %26\n %29 = inttoptr i64 %27 to i32*\n store i32 %28, i32* %29, align 4\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond10 = icmp eq i64 %indvars.iv.next9, %indvars.iv11.reload\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %exitcond10, label LBL_3, label LBL_2\n LBL_3:\n %30 = load i32, i32* %2, align 8\n %31 = load i32, i32* %5, align 8\n store i32 %31, i32* %2, align 8\n store i32 %30, i32* %6, align 4\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %exitcond13 = icmp eq i64 %indvars.iv.next12, 10\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond13, label LBL_4, label LBL_1\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %32 = mul i64 %indvars.iv.reload, 4\n %33 = add i64 %32, %1\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = ashr i32 %35, 4\n store i32 %36, i32* %34, 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_5, label LBL_4\n LBL_5:\n ret i64 %33\n\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %indvars.iv8.reload, { 0, 2, 1 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %indvars.iv11.reload, { 0, 2, 1, 3, 4 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arm_sync_mpstate_to_kvm_1787", "fun_name": "kvm_arm_sync_mpstate_to_kvm", "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 i32, align 4\n %2 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_3, 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 %. = select i1 %6, i32 2, i32 1\n store i32 %., i32* %sv_0, align 4\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 4660, i32* nonnull %sv_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_3, label LBL_2\n LBL_2:\n %11 = sub i32 0, %9\n %12 = call i8* @strerror(i32 %11)\n %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %14 = and i64 %8, 4294967295\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %14, i8* %12)\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 i64 0, { 3, 4, 5, 6, 1, 0, 2, 7 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "discard_port_data_8036", "fun_name": "discard_port_data", "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 i32\n %sv_1.0.in2.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.1.reg2mem\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %rax.1.reg2mem\n br i1 %4, label LBL_2, label LBL_8\n LBL_2:\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 %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i32 0, i32* %sv_0.13.reg2mem\n store i64 %2, i64* %sv_1.0.in2.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.in2.reload = load i64, i64* %sv_1.0.in2.reg2mem\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %sv_1.0 = inttoptr i64 %sv_1.0.in2.reload to i32*\n %11 = load i32, i32* %6, align 4\n %12 = load i32, i32* %sv_1.0, align 4\n %13 = add i64 %sv_1.0.in2.reload, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i32 %12, %11\n %17 = sub i32 %16, %15\n store i32 %17, i32* %6, align 4\n %18 = load i64, i64* %8, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %sv_1.0.in2.reload)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = add i32 %sv_0.13.reload, 1\n %24 = call i64 @FUNC(i64 %sv_1.0.in2.reload, i64 0)\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 i64 0, i64* %10, align 8\n %25 = call i64 @FUNC(i64 %0)\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i1 %26, false\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n store i64 %25, i64* %sv_1.0.in2.reg2mem\n br i1 %27, label LBL_3, label LBL_6\n LBL_6:\n %28 = icmp eq i32 %sv_0.0.reload, 0\n store i64 %25, i64* %rax.1.reg2mem\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = add i64 %0, 32\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i32 %sv_0.0.reload)\n store i64 %32, 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 i32 %sv_0.13.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.in2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 (i64)* @get_inbuf, { 1, 0 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_anal_bb_free_13544", "fun_name": "r_anal_bb_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_14, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 32\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, 40\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n call void @free(i64* %8)\n %9 = add i64 %arg1, 48\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 = add i64 %arg1, 56\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, 64\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n store i64 0, i64* %18, align 8\n store i64 0, i64* %6, align 8\n store i64 0, i64* %2, align 8\n %21 = add i64 %arg1, 72\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 %25 = add i64 %arg1, 80\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %27 to i64*\n call void @free(i64* %28)\n %29 = add i64 %arg1, 88\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i64*\n call void @free(i64* %32)\n %33 = icmp eq i64 %31, 0\n br i1 %33, label LBL_7, label LBL_2\n LBL_2:\n %34 = add i64 %31, 16\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, %arg1\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %35, align 8\n br label LBL_4\n LBL_4:\n %39 = add i64 %31, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, %arg1\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_6, label LBL_5\n LBL_5:\n store i64 0, i64* %40, align 8\n br label LBL_6\n LBL_6:\n %44 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %44, align 8\n br label LBL_7\n LBL_7:\n %45 = add i64 %arg1, 16\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_9, label LBL_8\n LBL_8:\n %49 = inttoptr i64 %47 to i64*\n store i64 0, i64* %49, align 8\n store i64 0, i64* %46, align 8\n br label LBL_9\n LBL_9:\n %50 = add i64 %arg1, 24\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_11, label LBL_10\n LBL_10:\n %54 = inttoptr i64 %52 to i64*\n store i64 0, i64* %54, align 8\n store i64 0, i64* %51, align 8\n br label LBL_11\n LBL_11:\n %55 = add i64 %arg1, 8\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_13, label LBL_12\n LBL_12:\n %59 = inttoptr i64 %57 to i64*\n store i64 0, i64* %59, align 8\n br label LBL_13\n LBL_13:\n %60 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %60)\n store i64 ptrtoint (i32* @0 to i64), 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 void (i64*)* @free, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 4, 5, 6, 2, 0, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n uselistorder label LBL_14, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drive_hot_add_16589", "fun_name": "drive_hot_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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %9, label LBL_12, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %8, 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_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_11\n LBL_3:\n %16 = inttoptr i64 %8 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 = icmp eq i32 %17, 0\n br i1 %20, label LBL_9, label LBL_4\n LBL_4:\n %21 = icmp eq i32 %17, 1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_10, label LBL_5\n LBL_5:\n %23 = bitcast i32* %sv_1 to i64*\n %24 = bitcast i32* %sv_2 to i64*\n %25 = call i64 @FUNC(i64 %10, i64 %6, i64* nonnull %sv_0, i64* nonnull %23, i64* nonnull %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_6\n LBL_6:\n %29 = ptrtoint i32* %sv_2 to i64\n %30 = load i32, i32* %sv_2, align 4\n %31 = zext i32 %30 to i64\n %32 = load i32, i32* %sv_1, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %31, i64 0)\n %35 = icmp eq i64 %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 i64 @FUNC(i64 %10, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %6, i64 %31, i64 %29, i64 %1)\n br label LBL_11\n LBL_8:\n %38 = call i64 @FUNC(i64 %34)\n %39 = add i64 %8, 8\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = call i64 @FUNC(i64 %38, i64 %8, i32 %41)\n %43 = load i32, i32* %40, align 4\n %44 = zext i32 %43 to i64\n %45 = add i64 %8, 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 %10, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 %48, i64 %44, i64 %29, i64 %1)\n store i64 %49, i64* %rax.1.reg2mem\n br label LBL_12\n LBL_9:\n %50 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %50, i64* %rax.1.reg2mem\n br label LBL_12\n LBL_10:\n %51 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %18, i64 %4, i64 %2, i64 %1)\n br label LBL_11\n LBL_11:\n %52 = call i64 @FUNC(i64 %8)\n store i64 %52, 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 i64 %29, { 1, 0 }\n uselistorder i32 %17, { 0, 2, 1 }\n uselistorder i64 %10, { 4, 5, 2, 1, 3, 0 }\n uselistorder i64 %8, { 3, 0, 1, 2, 5, 4, 6 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 }\n uselistorder label LBL_12, { 3, 2, 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "i440fx_pcihost_class_init_1571", "fun_name": "i440fx_pcihost_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 = 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": "inode_owner_or_capable_10698", "fun_name": "inode_owner_or_capable", "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()\n %3 = and i64 %1, 4294967295\n %4 = and i64 %2, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %8, i64 %3)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %8, i64 1)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, 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 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 0, 4, 1, 2, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zstream_run_func_4465", "fun_name": "zstream_run_func", "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 %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 = icmp eq i32 %5, 0\n store i64* null, i64** %sv_0.1.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = trunc i64 %2 to i32\n %9 = and i64 %2, 4294967295\n %10 = inttoptr i64 %9 to i64*\n %11 = icmp eq i32 %8, 1\n %12 = icmp eq i1 %11, false\n %13 = icmp ne i32 %8, 0\n %14 = icmp eq i32 %8, -5\n %15 = icmp eq i1 %14, false\n %or.cond = icmp eq i1 %13, %15\n %16 = icmp eq i32 %7, 0\n br label LBL_2\n LBL_2:\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = and i32 %19, -4\n %21 = or i32 %20, 2\n store i32 %21, i32* %18, align 4\n store i64* %10, i64** %sv_0.1.reg2mem\n br label LBL_9\n LBL_4:\n store i64* %10, i64** %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_5\n LBL_5:\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = or i32 %24, 1\n store i32 %25, i32* %23, align 4\n store i64* %10, i64** %sv_0.1.reg2mem\n br label LBL_9\n LBL_7:\n %26 = call i64 @FUNC(i64 %2)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64* inttoptr (i32 -4 to i64*), i64** %sv_0.1.reg2mem\n br i1 %29, label LBL_8, label LBL_9\n LBL_8:\n %30 = load i32, i32* %4, align 4\n %31 = icmp eq i32 %30, 0\n store i64* %10, i64** %sv_0.1.reg2mem\n br i1 %31, label LBL_2, label LBL_9\n LBL_9:\n %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem\n %32 = ptrtoint i64* %sv_0.1.reload to i64\n %33 = and i64 %32, 4294967295\n ret i64 %33\n\n uselistorder i64* %10, { 0, 3, 1, 2 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i32* %4, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0, 4, 3, 5 }\n uselistorder i64** %sv_0.1.reg2mem, { 0, 1, 3, 6, 2, 5, 4 }\n uselistorder i32 -4, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 4, 1, 2, 3, 0 }\n uselistorder label LBL_9, { 0, 2, 4, 1, 5, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "phar_mkdir_4990", "fun_name": "phar_mkdir", "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 %rdi.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 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = call i64 @FUNC(i64 %1, i32 %5, i64 %arg2, i32 %arg3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 2)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i64 %2, 0\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %10 = load i64, i64* @gv_1, align 8\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %2, i64 2)\n %12 = load i64, i64* %sv_0, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %14 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i64 %arg2, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 2)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n store i64 %1, i64* %rdi.0.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %2)\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %16 = inttoptr i64 %6 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, %rdi.0.reload\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n store i64 %17, i64* %arg1, align 8\n br label LBL_8\n LBL_8:\n %19 = call i64 @FUNC(i64 %6)\n %20 = call i64 @FUNC(i64 %6, i64 0, i64 0, i64 0, i64* nonnull %sv_0)\n %21 = load i64, i64* %sv_0, align 8\n %22 = icmp eq i64 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_10, label LBL_9\n LBL_9:\n %23 = ptrtoint i64* %sv_0 to i64\n %24 = load i64, i64* @gv_4, align 8\n %25 = call i64 @FUNC(i64 %24, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %21, i64 %23, i64 2)\n %26 = load i64, i64* %sv_0, align 8\n %27 = call i64 @FUNC(i64 %26)\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 i64 %10, { 1, 0 }\n uselistorder i1 %9, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 3, 2, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64)* @efree, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @zend_throw_exception_ex, { 2, 1, 0 }\n uselistorder i64 2, { 2, 1, 0, 3 }\n uselistorder [4 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_all_descbuffers_9121", "fun_name": "free_all_descbuffers", "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 %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_11, 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_11, label LBL_2\n LBL_2:\n %10 = inttoptr i64 %2 to i64*\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %5, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %17 = load i64, i64* %10, 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)\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 i32, i32* %12, align 4\n %23 = icmp eq i32 %22, 0\n %24 = zext i1 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n br label LBL_10\n LBL_6:\n %26 = load i32, i32* %12, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = load i64, i64* %10, align 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = load i64, i64* %14, align 8\n %32 = call i64 @FUNC(i64 %5, i64 %31, i32 %30, i64 1)\n br label LBL_9\n LBL_8:\n %33 = load i32, i32* %16, align 4\n %34 = load i64, i64* %14, align 8\n %35 = call i64 @FUNC(i64 %5, i64 %34, i32 %33, i64 0)\n br label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %5, i64 %2)\n br label LBL_10\n LBL_10:\n %37 = add i32 %storemerge2.reload, 1\n %38 = load i32, i32* %7, align 4\n %39 = zext i32 %38 to i64\n %40 = sext i32 %37 to i64\n %41 = icmp slt i64 %40, %39\n store i32 %37, i32* %storemerge2.reg2mem\n store i64 %39, i64* %rax.0.reg2mem\n br i1 %41, label LBL_3, 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* %12, { 1, 0 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %5, { 0, 3, 4, 2, 1, 5 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i32, i64)* @unmap_descbuffer, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1, 5, 6 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "call_qftf_func_5807", "fun_name": "call_qftf_func", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32*\n %rax.0.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 %1 = load i32*, i32** %0\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %2 = load i32, i32* @gv_0, align 4\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_10\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n store i32 1, i32* @gv_0, align 4\n %5 = icmp eq i64* %arg1, null\n %spec.select = select i1 %5, i64 ptrtoint (i64* @gv_1 to i64), i64 %4\n %6 = inttoptr i64 %spec.select to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n store i32* null, i32** %sv_0.2.reg2mem\n br i1 %8, label LBL_9, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 0)\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 store i32 0, i32* @gv_0, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %12 = inttoptr i64 %9 to i32*\n %13 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 1)\n %14 = ashr exact i64 %sext, 32\n %15 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %14)\n %16 = add i64 %4, 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 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %19)\n %21 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 %arg3)\n %22 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 %arg4)\n %23 = load i32, i32* %12, align 4\n %24 = add i32 %23, 1\n store i32 %24, i32* %12, align 4\n store i32 1, i32* %sv_2, align 4\n %25 = bitcast i32* %sv_1 to i64*\n %26 = call i64 @FUNC(i64 %spec.select, i64 0, i64* nonnull %25, i64 1, i32* nonnull %sv_2)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, -1\n store i32* null, i32** %sv_0.1.reg2mem\n br i1 %28, label LBL_8, label LBL_5\n LBL_5:\n %29 = load i32, i32* %sv_1, align 4\n %30 = icmp eq i32 %29, 2\n %31 = icmp eq i1 %30, false\n store i32* null, i32** %sv_0.0.reg2mem\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = load i32, i32* %1, align 4\n %33 = add i32 %32, 1\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %34 = call i64 @FUNC(i64* nonnull %25)\n store i32* %sv_0.0.reload, 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 %35 = call i64 @FUNC(i64 %9)\n store i32* %sv_0.1.reload, 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 store i32 0, i32* @gv_0, align 4\n %36 = ptrtoint i32* %sv_0.2.reload to i64\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* %12, { 1, 0 }\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @dict_add_number, { 4, 3, 2, 1, 0 }\n uselistorder i32* null, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i32* @gv_0, { 3, 2, 1, 0 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mbname_free_17745", "fun_name": "mbname_free", "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 store i64 0, i64* %arg1, align 8\n %2 = add i64 %0, 48\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 %4 to i64*\n call void @free(i64* %6)\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 call void @free(i64* %10)\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 i64*\n call void @free(i64* %14)\n %15 = add i64 %0, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i64*\n call void @free(i64* %18)\n %19 = add i64 %0, 32\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 %0, 40\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 call void @free(i64* nonnull %arg1)\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 i64 %0, { 1, 3, 2, 5, 4, 6, 0 }\n uselistorder void (i64*)* @free, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ok_jpg_decode2_7866", "fun_name": "ok_jpg_decode2", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %1 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge10.in.in.in.in.reg2mem = alloca i64\n %storemerge5.in.in.in.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i32, i32* %0\n %sv_2 = alloca i32, align 4\n %4 = load i8, i8* %1\n %sv_3 = alloca i8, align 1\n %5 = bitcast i8* %sv_3 to i64*\n %6 = call i64 @FUNC(i64 %2, i64* nonnull %5, 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_54, label LBL_1\n LBL_1:\n %12 = load i8, i8* %sv_3, align 1\n %13 = icmp eq i8 %12, -1\n %14 = icmp eq i8 %4, -40\n %or.cond = icmp eq i1 %14, %13\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_2:\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i8*\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = bitcast i32* %sv_2 to i64*\n %20 = urem i32 %3, 256\n %21 = trunc i32 %3 to i8\n %22 = icmp eq i8 %21, -1\n %23 = add i64 %2, 13\n %24 = inttoptr i64 %23 to i8*\n %25 = add i64 %2, 14\n %26 = inttoptr i64 %25 to i8*\n br label LBL_45\n LBL_3:\n %27 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_4:\n %28 = load i32, i32* %18, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n store i32 0, i32* %18, align 4\n store i32 %28, i32* %sv_1.0.reg2mem\n br label LBL_12\n LBL_6:\n %30 = call i64 @FUNC(i64 %2, i64* nonnull %19, i64 2)\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 i64 %32, i64* %rax.0.reg2mem\n br i1 %35, label LBL_54, label LBL_7\n LBL_7:\n %36 = load i32, i32* %sv_2, align 4\n %37 = trunc i32 %36 to i8\n %38 = icmp eq i8 %37, -1\n %39 = icmp eq i1 %38, false\n store i32 %20, i32* %sv_1.0.reg2mem\n br i1 %39, label LBL_8, label LBL_12\n LBL_8:\n %40 = icmp eq i8 %37, 0\n %41 = icmp eq i1 %22, %40\n br i1 %41, label LBL_9, label LBL_11\n LBL_9:\n %42 = call i64 @FUNC(i64 %2, i64* nonnull %19, i64 1)\n %43 = and i64 %42, 4294967295\n %44 = xor i64 %43, 1\n %45 = trunc i64 %44 to i8\n %46 = icmp eq i8 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %44, i64* %rax.0.reg2mem\n br i1 %47, label LBL_54, label LBL_10\n LBL_10:\n %48 = load i32, i32* %sv_2, align 4\n %49 = urem i32 %48, 256\n store i32 %49, i32* %sv_1.0.reg2mem\n br label LBL_12\n LBL_11:\n %50 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_12:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %51 = or i32 %sv_1.0.reload, 1\n %52 = icmp ne i32 %51, 193\n %53 = icmp eq i32 %sv_1.0.reload, 194\n %54 = icmp eq i1 %53, false\n %or.cond22 = icmp eq i1 %52, %54\n br i1 %or.cond22, label LBL_15, label LBL_13\n LBL_13:\n %55 = zext i1 %53 to i8\n store i8 %55, i8* %24, align 1\n %56 = call i64 @FUNC(i64 %2)\n %57 = trunc i64 %56 to i8\n %58 = icmp eq i8 %57, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %58, label LBL_54, label LBL_14\n LBL_14:\n %59 = sext i8 %57 to i32\n %60 = load i8, i8* %26, align 1\n %61 = icmp eq i8 %60, 0\n store i32 %59, i32* %sv_0.0.reg2mem\n br i1 %61, label LBL_44, label LBL_52\n LBL_15:\n %62 = icmp eq i32 %sv_1.0.reload, 196\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_20, label LBL_16\n LBL_16:\n %64 = load i8, i8* %26, align 1\n %65 = icmp eq i8 %64, 0\n br i1 %65, label LBL_18, label LBL_17\n LBL_17:\n %66 = call i64 @FUNC(i64 %2)\n store i64 %66, i64* %storemerge5.in.in.in.in.reg2mem\n br label LBL_19\n LBL_18:\n %67 = call i64 @FUNC(i64 %2)\n store i64 %67, i64* %storemerge5.in.in.in.in.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge5.in.in.in.in.reload = load i64, i64* %storemerge5.in.in.in.in.reg2mem\n %storemerge5.in.in.in = urem i64 %storemerge5.in.in.in.in.reload, 256\n %storemerge5.in.in = icmp eq i64 %storemerge5.in.in.in, 0\n %storemerge5.in = icmp eq i1 %storemerge5.in.in, false\n %68 = zext i1 %storemerge5.in to i32\n store i32 %68, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_20:\n %69 = and i32 %sv_1.0.reload, -8\n %70 = icmp eq i32 %69, 208\n br i1 %70, label LBL_21, label LBL_22\n LBL_21:\n store i32 %sv_1.0.reload, i32* %18, align 4\n %71 = call i64 @FUNC(i64 %2)\n %72 = call i64 @FUNC(i64 %2)\n %73 = trunc i64 %72 to i32\n %sext6 = mul i32 %73, 16777216\n %74 = ashr exact i32 %sext6, 24\n store i32 %74, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_22:\n %75 = icmp eq i32 %sv_1.0.reload, 217\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_26, label LBL_23\n LBL_23:\n store i8 1, i8* %16, align 1\n %77 = load i8, i8* %26, align 1\n %78 = icmp eq i8 %77, 1\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %78, label LBL_44, label LBL_24\n LBL_24:\n %79 = load i8, i8* %24, align 1\n %80 = icmp eq i8 %79, 0\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %80, label LBL_44, label LBL_25\n LBL_25:\n %81 = call i64 @FUNC(i64 %2)\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_26:\n %82 = icmp eq i32 %sv_1.0.reload, 218\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_31, label LBL_27\n LBL_27:\n %84 = load i8, i8* %26, align 1\n %85 = icmp eq i8 %84, 1\n br i1 %85, label LBL_29, label LBL_28\n LBL_28:\n %86 = call i64 @FUNC(i64 %2)\n %87 = trunc i64 %86 to i32\n %sext7 = mul i32 %87, 16777216\n %88 = ashr exact i32 %sext7, 24\n store i32 %88, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_29:\n %89 = call i64 @FUNC(i64 %2)\n %90 = trunc i64 %89 to i8\n %91 = icmp eq i8 %90, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %91, label LBL_54, label LBL_30\n LBL_30:\n %92 = call i64 @FUNC(i64 %2)\n %93 = trunc i64 %92 to i32\n %sext8 = mul i32 %93, 16777216\n %94 = ashr exact i32 %sext8, 24\n store i32 %94, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_31:\n %95 = icmp eq i32 %sv_1.0.reload, 219\n %96 = icmp eq i1 %95, false\n br i1 %96, label LBL_36, label LBL_32\n LBL_32:\n %97 = load i8, i8* %26, align 1\n %98 = icmp eq i8 %97, 0\n br i1 %98, label LBL_34, label LBL_33\n LBL_33:\n %99 = call i64 @FUNC(i64 %2)\n store i64 %99, i64* %storemerge10.in.in.in.in.reg2mem\n br label LBL_35\n LBL_34:\n %100 = call i64 @FUNC(i64 %2)\n store i64 %100, i64* %storemerge10.in.in.in.in.reg2mem\n br label LBL_35\n LBL_35:\n %storemerge10.in.in.in.in.reload = load i64, i64* %storemerge10.in.in.in.in.reg2mem\n %storemerge10.in.in.in = urem i64 %storemerge10.in.in.in.in.reload, 256\n %storemerge10.in.in = icmp eq i64 %storemerge10.in.in.in, 0\n %storemerge10.in = icmp eq i1 %storemerge10.in.in, false\n %101 = zext i1 %storemerge10.in to i32\n store i32 %101, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_36:\n %102 = icmp eq i32 %sv_1.0.reload, 221\n %103 = icmp eq i1 %102, false\n br i1 %103, label LBL_38, label LBL_37\n LBL_37:\n %104 = call i64 @FUNC(i64 %2)\n %105 = trunc i64 %104 to i32\n %sext11 = mul i32 %105, 16777216\n %106 = ashr exact i32 %sext11, 24\n store i32 %106, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_38:\n %107 = icmp eq i32 %sv_1.0.reload, 225\n %108 = icmp eq i1 %107, false\n br i1 %108, label LBL_40, label LBL_39\n LBL_39:\n %109 = call i64 @FUNC(i64 %2)\n %110 = trunc i64 %109 to i32\n %sext12 = mul i32 %110, 16777216\n %111 = ashr exact i32 %sext12, 24\n store i32 %111, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_40:\n %112 = and i32 %sv_1.0.reload, -16\n %113 = icmp ne i32 %112, 224\n %114 = icmp eq i32 %sv_1.0.reload, 254\n %115 = icmp eq i1 %114, false\n %or.cond24 = icmp eq i1 %113, %115\n br i1 %or.cond24, label LBL_42, label LBL_41\n LBL_41:\n %116 = call i64 @FUNC(i64 %2)\n %117 = trunc i64 %116 to i32\n %sext13 = mul i32 %117, 16777216\n %118 = ashr exact i32 %sext13, 24\n store i32 %118, i32* %sv_0.0.reg2mem\n br label LBL_44\n LBL_42:\n %119 = icmp eq i32 %sv_1.0.reload, 255\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %119, label LBL_44, label LBL_43\n LBL_43:\n %120 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_44:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %121 = urem i32 %sv_0.0.reload, 256\n %122 = xor i32 %121, 1\n %123 = icmp eq i32 %122, 0\n %124 = icmp eq i1 %123, false\n br i1 %124, label LBL_5232, label LBL_45\n LBL_45:\n %125 = load i8, i8* %16, align 1\n %126 = icmp eq i8 %125, 1\n %127 = icmp eq i1 %126, false\n br i1 %127, label LBL_4, label LBL_46\n LBL_46:\n %128 = add i64 %2, 16\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = icmp eq i32 %130, 0\n %132 = icmp eq i1 %131, false\n br i1 %132, label LBL_47, label LBL_48\n LBL_47:\n %133 = zext i32 %130 to i64\n %134 = add i64 %2, 20\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge27.reg2mem\n br label LBL_49\n LBL_48:\n %135 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n store i64 %135, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_49:\n %.reload = load i64, i64* %.reg2mem\n %136 = add i64 %134, %.reload\n %137 = inttoptr i64 %136 to i8*\n %138 = load i8, i8* %137, align 1\n %139 = icmp eq i8 %138, 1\n br i1 %139, label LBL_51, label LBL_50\n LBL_50:\n %140 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0))\n store i64 %140, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_51:\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %141 = add i32 %storemerge27.reload, 1\n %142 = sext i32 %141 to i64\n %143 = icmp slt i64 %142, %133\n store i64 %142, i64* %.reg2mem\n store i32 %141, i32* %storemerge27.reg2mem\n store i64 %133, i64* %rax.0.reg2mem\n br i1 %143, label LBL_49, label LBL_54\n LBL_52:\n %144 = zext i8 %60 to i64\n store i64 %144, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_53:\n %145 = zext i32 %122 to i64\n store i64 %145, i64* %rax.0.reg2mem\n br label LBL_54\n LBL_54:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_1.0.reload, { 1, 12, 10, 2, 3, 4, 5, 6, 0, 9, 7, 11, 8 }\n uselistorder i8* %16, { 1, 0 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 1, 3, 24, 16, 17, 15, 14, 13, 12, 9, 11, 10, 8, 6, 7, 5, 4, 19, 22, 21, 26, 0, 18, 20, 25, 23, 27 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %storemerge5.in.in.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge10.in.in.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 11, 12, 10, 9, 8, 7, 6, 3, 4, 5, 2, 1, 13 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 11, 10, 8, 4, 3, 12, 2, 1, 9, 13 }\n uselistorder i8 1, { 2, 3, 0, 1, 4 }\n uselistorder i64 (i64)* @ok_jpg_scan_to_next_marker, { 1, 0 }\n uselistorder i64 (i64)* @ok_jpg_skip_segment, { 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64, i8*)* @ok_jpg_error, { 4, 1, 3, 2, 0 }\n uselistorder i8 -1, { 1, 0, 2 }\n uselistorder i1 false, { 14, 15, 4, 0, 5, 6, 2, 7, 8, 9, 3, 10, 1, 11, 12, 13, 16 }\n uselistorder i64 1, { 15, 16, 2, 17, 1, 0, 18, 12, 19, 13, 20, 14, 3, 4, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i64 (i64, i64*, i64)* @ok_read, { 2, 1, 0 }\n uselistorder label LBL_54, { 6, 5, 4, 9, 11, 7, 3, 2, 10, 1, 0, 12, 8 }\n uselistorder label LBL_49, { 1, 0 }\n uselistorder label LBL_45, { 1, 0 }\n uselistorder label LBL_44, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cache_resize_1218", "fun_name": "cache_resize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdi.11.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %arg1, 0\n %2 = icmp eq i1 %1, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_13\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = add i64 %arg1, 8\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 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_13\n LBL_2:\n %9 = add i64 %arg1, 24\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 %arg2, i64 %12)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = load i64, i64* %5, align 8\n %17 = icmp sgt i64 %16, 0\n store i64 0, i64* %storemerge2.reg2mem\n store i64 %arg2, i64* %rdi.11.reg2mem\n store i64 %arg2, i64* %rdi.1.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_12\n LBL_4:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n store i64 -1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_5:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %19 = mul i64 %storemerge2.reload, 24\n %20 = add i64 %19, %rdi.11.reload\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, -1\n store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %23, label LBL_11, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %13, i64 %22)\n %25 = add i64 %24, 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_7\n LBL_7:\n %29 = add i64 %24, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %20, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp ult i32 %31, %34\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n %36 = add i64 %20, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n store i64 %38, i64* %rdi.0.reg2mem\n br label LBL_11\n LBL_9:\n %40 = call i64 @FUNC(i64 %27)\n %41 = add i64 %20, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n store i64 %43, i64* %26, align 8\n %44 = load i32, i32* %33, align 4\n store i32 %44, i32* %30, align 4\n %45 = load i64, i64* %21, align 8\n %46 = inttoptr i64 %24 to i64*\n store i64 %45, i64* %46, align 8\n store i64 %27, i64* %rdi.0.reg2mem\n br label LBL_11\n LBL_10:\n %47 = add i64 %20, 8\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = load i64, i64* %21, align 8\n %51 = call i64 @FUNC(i64 %13, i64 %50, i64 %49)\n store i64 %13, i64* %rdi.0.reg2mem\n br label LBL_11\n LBL_11:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %52 = add nuw nsw i64 %storemerge2.reload, 1\n %53 = load i64, i64* %5, align 8\n %54 = icmp slt i64 %52, %53\n store i64 %52, i64* %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 %54, label LBL_5, label LBL_12\n LBL_12:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %55 = call i64 @FUNC(i64 %rdi.1.lcssa.reload)\n %56 = inttoptr i64 %13 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = inttoptr i64 %arg1 to i64*\n store i64 %57, i64* %58, align 8\n %59 = add i64 %13, 8\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n store i64 %61, i64* %5, align 8\n %62 = add i64 %13, 16\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = add i64 %arg1, 16\n %66 = inttoptr i64 %65 to i64*\n store i64 %64, i64* %66, align 8\n %67 = call i64 @FUNC(i64 %13)\n %68 = load i64, i64* %5, align 8\n store i64 %68, 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* %21, { 1, 0, 2 }\n uselistorder i64 %20, { 3, 0, 2, 1, 4 }\n uselistorder i64 %13, { 1, 2, 3, 4, 0, 5, 6, 7 }\n uselistorder i64* %5, { 1, 2, 3, 0, 4 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 1, { 1, 0, 2, 3, 4 }\n uselistorder i64 16, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 24, { 0, 3, 1, 2, 4 }\n uselistorder i64 8, { 4, 0, 1, 2, 3, 5, 6, 7, 8, 9 }\n uselistorder i64 -1, { 2, 1, 0, 3 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 7, 6, 9, 8, 10, 11, 12, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5 }\n uselistorder label LBL_13, { 2, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmcraid_reset_type_9147", "fun_name": "pmcraid_reset_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 = 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 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\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(i64 %14)\n %16 = urem i64 %4, 2\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = and i64 %15, 2\n %19 = icmp eq i64 %18, 0\n %20 = and i32 %10, 4\n %21 = icmp eq i32 %20, 0\n %or.cond = icmp eq i1 %21, %19\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n %23 = add i64 %2, 12\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n br label LBL_3\n LBL_3:\n %25 = and i32 %10, 8\n %26 = icmp eq i32 %25, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = add i64 %2, 16\n %28 = inttoptr i64 %27 to i32*\n store i32 1, i32* %28, 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 ret i64 %rax.0.reload\n\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64)* @ioread32, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acc_ctx_hints_13587", "fun_name": "acc_ctx_hints", "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 %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 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 store i64 0, i64* %arg4, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n store i64 0, i64* %sv_2, align 8\n %3 = bitcast i64* %arg6 to i32*\n store i32 0, i32* %3, align 4\n store i64 4, i64* %arg5, align 8\n store i64 0, i64* %arg1, align 8\n %4 = icmp eq i64* %arg2, null\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %arg3, i64 0, i64* nonnull %sv_2)\n %sext = mul i64 %6, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = icmp eq i64 %sext, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_6, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %5, i64 %0)\n %sext1 = mul i64 %10, 4294967296\n %11 = ashr exact i64 %sext1, 32\n %12 = icmp eq i64 %sext1, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_6, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 0)\n store i64 %14, i64* %sv_3, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_4, label LBL_6\n LBL_4:\n %17 = load i64, i64* %sv_2, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %14)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %22 = load i64, i64* %sv_3, align 8\n %23 = add i64 %22, 8\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n store i64 3, i64* %arg5, align 8\n store i32 1, i32* %3, align 4\n %25 = load i64, i64* %sv_3, align 8\n %26 = add i64 %25, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n call void @llvm.trap()\n unreachable\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %28 = call i64 @FUNC(i64* nonnull %sv_3)\n %29 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_2)\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 %sext1, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_2, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_dump_virt_hdr_10870", "fun_name": "vmxnet3_dump_virt_hdr", "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 = ptrtoint i8* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i16*\n %5 = load i16, i16* %4, align 2\n %6 = zext i16 %5 to i64\n %7 = add i64 %2, 6\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i16*\n %12 = load i16, i16* %11, align 2\n %13 = add i64 %2, 2\n %14 = inttoptr i64 %13 to i16*\n %15 = load i16, i16* %14, align 2\n %16 = zext i16 %15 to i64\n %17 = add i64 %2, 1\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = trunc i64 %1 to i32\n %21 = zext i16 %9 to i64\n %22 = zext i16 %12 to i64\n %23 = urem i32 %20, 256\n %24 = zext i8 %19 to i32\n %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @gv_0, i64 0, i64 0), i32 %23, i32 %24, i64 %16, i64 %22, i64 %21, i64 %6)\n %26 = sext i32 %25 to i64\n ret i64 %26\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "regulator_ena_gpio_free_5508", "fun_name": "regulator_ena_gpio_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.1.reg2mem\n br i1 %1, label LBL_7, label LBL_1\n LBL_1:\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge4.reg2mem\n br label LBL_5\n LBL_2:\n store i32 0, i32* %19, align 4\n %4 = load i64, i64* %13, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %storemerge4.reload)\n %7 = call i64 @FUNC(i64 %storemerge4.reload)\n store i64 0, i64* %arg1, align 8\n store i64 %0, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_3:\n %8 = add i32 %20, -1\n store i32 %8, i32* %19, align 4\n br label LBL_4\n LBL_4:\n %9 = icmp eq i64 %11, 0\n store i64 %11, i64* %storemerge4.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %9, label LBL_7, label LBL_5\n LBL_5:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %10 = inttoptr i64 %storemerge4.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %storemerge4.reload, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = load i64, i64* %3, align 8\n %16 = icmp eq i64 %14, %15\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_6\n LBL_6:\n %18 = add i64 %storemerge4.reload, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp sgt i32 %20, 1\n br i1 %21, label LBL_3, label LBL_2\n LBL_7:\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* %19, { 2, 0, 1 }\n uselistorder i64* %13, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %storemerge4.reload, { 0, 2, 1, 4, 3 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "amdgpu_ttm_io_mem_reserve_4368", "fun_name": "amdgpu_ttm_io_mem_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 %storemerge.reg2mem = alloca i64\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 %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 30\n %5 = add i64 %4, %3\n %6 = call i64 @FUNC(i64 %3)\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %2, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\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, 4096\n %15 = sext i32 %14 to i64\n %16 = add i64 %2, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = add i64 %2, 40\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = add i64 %2, 48\n %21 = inttoptr i64 %20 to i8*\n store i8 0, i8* %21, align 1\n %22 = inttoptr i64 %5 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 = icmp eq i1 %25, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %26, label LBL_1, label LBL_9\n LBL_1:\n %27 = bitcast i64* %rsi to i32*\n %28 = load i32, i32* %27, align 8\n %29 = icmp eq i32 %28, 2\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n %switch = icmp ult i32 %28, 2\n %spec.select = select i1 %switch, i64 0, i64 4294967274\n ret i64 %spec.select\n LBL_3:\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = mul i32 %32, 4096\n %34 = sext i32 %33 to i64\n store i64 %34, i64* %10, align 8\n %35 = load i64, i64* %17, align 8\n %36 = add i64 %35, %34\n %37 = inttoptr i64 %6 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp ugt i64 %36, %38\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %39, label LBL_9, label LBL_4\n LBL_4:\n %40 = add i64 %6, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n store i64 %42, i64* %19, align 8\n store i8 1, i8* %21, align 1\n %43 = add i64 %2, 12\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = urem i32 %45, 2\n %47 = icmp eq i32 %46, 0\n %48 = load i64, i64* %17, align 8\n %49 = load i64, i64* %19, align 8\n %50 = load i64, i64* %10, align 8\n %51 = add i64 %50, %49\n br i1 %47, label LBL_6, label LBL_5\n LBL_5:\n %52 = call i64 @FUNC(i64 %51, i64 %48)\n store i64 %52, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %53 = call i64 @FUNC(i64 %51, i64 %48)\n store i64 %53, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %8, align 8\n %54 = icmp eq i64 %storemerge.reload, 0\n %55 = icmp eq i1 %54, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %55, label LBL_8, label LBL_9\n LBL_8:\n %56 = load i64, i64* %19, align 8\n %57 = and i64 %56, 4294967295\n %58 = add i64 %6, 16\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 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = add i64 %64, %57\n store i64 %65, i64* %19, 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 i64 %storemerge.reload, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64 %48, { 1, 0 }\n uselistorder i64* %19, { 1, 0, 2, 3, 4 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 0, 1, 2, 3, 5, 4, 6, 7 }\n uselistorder i64 4294967274, { 0, 2, 1 }\n uselistorder i32 2, { 0, 2, 3, 1 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "map_engine_fade_to_10747", "fun_name": "map_engine_fade_to", "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 %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 1\n %2 = trunc i64 %arg1 to i16\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i16 %2, i16* bitcast (i64* @gv_0 to i16*), align 8\n %4 = load i16, i16* bitcast (i64* @gv_1 to i16*), align 8\n store i16 %4, i16* @gv_2, align 2\n %5 = load i8, i8* @gv_3, align 1\n store i8 %5, i8* @gv_4, align 1\n %6 = and i64 %3, 4294967295\n %7 = trunc i64 %3 to i32\n store i32 %7, i32* %storemerge.reg2mem\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n store i16 %2, i16* bitcast (i64* @gv_1 to i16*), align 8\n store i16 %2, i16* @gv_2, align 2\n store i16 %2, i16* bitcast (i64* @gv_0 to i16*), align 8\n store i32 0, i32* %storemerge.reg2mem\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 %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* @gv_5, align 4\n store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i16 %2, { 1, 0, 3, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i16* @gv_2, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "epoll_init_17451", "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 i32, align 4\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, 2\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, 4\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 store i32 1, i32* %sv_1, align 4\n %50 = load i32, i32* %16, align 4\n %51 = bitcast i32* %sv_1 to %epoll_event*\n %52 = call i32 @epoll_ctl(i32 %50, i32 1, i32 %46, %epoll_event* nonnull %51)\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_23, label LBL_17\n LBL_17:\n %55 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))\n %56 = call i32 @close(i32 %46)\n store i32 -1, i32* %48, align 4\n br label LBL_23\n LBL_18:\n %57 = call i32* @__errno_location()\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, 22\n br i1 %59, label LBL_21, label LBL_19\n LBL_19:\n %60 = call i32* @__errno_location()\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, 38\n br i1 %62, label LBL_21, label LBL_20\n LBL_20:\n %63 = 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 %64 = add i64 %12, 4\n %65 = inttoptr i64 %64 to i32*\n store i32 -1, i32* %65, align 4\n br label LBL_23\n LBL_23:\n %66 = 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 i32* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 (i32)* @close, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @mm_calloc, { 1, 0 }\n uselistorder i64 (i8*)* @event_warn, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\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": "1" }, { "dataset": "CompRealVul", "file": "RegisterXWDImage_13681", "fun_name": "RegisterXWDImage", "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), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n store i64 4198828, i64* %2, align 8\n %3 = add i64 %0, 32\n %4 = inttoptr i64 %3 to i64*\n store i64 4198835, i64* %4, align 8\n %5 = add i64 %0, 40\n %6 = inttoptr i64 %5 to i64*\n store i64 4198842, i64* %6, align 8\n %7 = add i64 %0, 48\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = or i64 %9, 1\n %11 = xor i64 %10, 2\n store i64 %11, i64* %8, align 8\n %12 = call i64 @FUNC(i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_destroy_conf_4869", "fun_name": "_destroy_conf", "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 store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, 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 = load i64, i64* @gv_0, 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 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* @gv_0, align 8\n %11 = add i64 %10, 16\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* @gv_0, align 8\n %16 = add i64 %15, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = load i64, i64* @gv_0, align 8\n %21 = add i64 %20, 32\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 i64, i64* @gv_0, align 8\n %26 = add i64 %25, 40\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* @gv_0, align 8\n %31 = add i64 %30, 48\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = load i64, i64* @gv_0, align 8\n %36 = add i64 %35, 56\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* @gv_0, align 8\n %41 = add i64 %40, 64\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43)\n %45 = load i64, i64* @gv_0, align 8\n %46 = add i64 %45, 72\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n %50 = load i64, i64* @gv_0, align 8\n %51 = add i64 %50, 80\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53)\n %55 = load i64, i64* @gv_0, align 8\n %56 = add i64 %55, 88\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = call i64 @FUNC(i64 %58)\n %60 = load i64, i64* @gv_0, align 8\n %61 = add i64 %60, 96\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = call i64 @FUNC(i64 %63)\n %65 = load i64, i64* @gv_0, align 8\n %66 = add i64 %65, 104\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i64 @FUNC(i64 %68)\n %70 = load i64, i64* @gv_0, align 8\n %71 = add i64 %70, 112\n %72 = inttoptr i64 %71 to i64*\n %73 = load i64, i64* %72, align 8\n %74 = call i64 @FUNC(i64 %73)\n %75 = load i64, i64* @gv_0, align 8\n %76 = add i64 %75, 120\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = call i64 @FUNC(i64 %78)\n %80 = load i64, i64* @gv_0, align 8\n %81 = add i64 %80, 128\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* @gv_0, align 8\n %86 = add i64 %85, 136\n %87 = inttoptr i64 %86 to i64*\n %88 = load i64, i64* %87, align 8\n %89 = call i64 @FUNC(i64 %88)\n %90 = load i64, i64* @gv_0, align 8\n %91 = add i64 %90, 144\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = call i64 @FUNC(i64 %93)\n %95 = load i64, i64* @gv_0, align 8\n %96 = add i64 %95, 152\n %97 = inttoptr i64 %96 to i64*\n %98 = load i64, i64* %97, align 8\n %99 = call i64 @FUNC(i64 %98)\n %100 = load i64, i64* @gv_0, align 8\n %101 = add i64 %100, 160\n %102 = inttoptr i64 %101 to i64*\n %103 = load i64, i64* %102, align 8\n %104 = call i64 @FUNC(i64 %103)\n %105 = load i64, i64* @gv_0, align 8\n %106 = add i64 %105, 168\n %107 = inttoptr i64 %106 to i64*\n %108 = load i64, i64* %107, align 8\n %109 = call i64 @FUNC(i64 %108)\n %110 = load i64, i64* @gv_0, align 8\n %111 = add i64 %110, 176\n %112 = inttoptr i64 %111 to i64*\n %113 = load i64, i64* %112, align 8\n %114 = call i64 @FUNC(i64 %113)\n %115 = load i64, i64* @gv_0, align 8\n %116 = add i64 %115, 184\n %117 = inttoptr i64 %116 to i64*\n %118 = load i64, i64* %117, align 8\n %119 = call i64 @FUNC(i64 %118)\n %120 = load i64, i64* @gv_0, align 8\n %121 = add i64 %120, 192\n %122 = inttoptr i64 %121 to i64*\n %123 = load i64, i64* %122, align 8\n %124 = call i64 @FUNC(i64 %123)\n %125 = load i64, i64* @gv_0, align 8\n %126 = add i64 %125, 200\n %127 = inttoptr i64 %126 to i64*\n %128 = load i64, i64* %127, align 8\n %129 = call i64 @FUNC(i64 %128)\n %130 = load i64, i64* @gv_0, align 8\n %131 = add i64 %130, 208\n %132 = inttoptr i64 %131 to i64*\n %133 = load i64, i64* %132, align 8\n %134 = call i64 @FUNC(i64 %133)\n %135 = load i64, i64* @gv_0, align 8\n %136 = add i64 %135, 216\n %137 = inttoptr i64 %136 to i64*\n %138 = load i64, i64* %137, align 8\n %139 = call i64 @FUNC(i64 %138)\n %140 = load i64, i64* @gv_0, align 8\n %141 = add i64 %140, 224\n %142 = inttoptr i64 %141 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i64 @FUNC(i64 %143)\n %145 = load i64, i64* @gv_0, align 8\n %146 = add i64 %145, 232\n %147 = call i64 @FUNC(i64 %146)\n %148 = load i64, i64* @gv_0, align 8\n %149 = add i64 %148, 272\n %150 = inttoptr i64 %149 to i64*\n %151 = load i64, i64* %150, align 8\n %152 = call i64 @FUNC(i64 %151)\n %153 = load i64, i64* @gv_0, align 8\n %154 = add i64 %153, 280\n %155 = call i64 @FUNC(i64 %154)\n %156 = load i64, i64* @gv_0, align 8\n %157 = add i64 %156, 320\n %158 = inttoptr i64 %157 to i64*\n %159 = call i32 @pthread_cond_destroy(i64* %158)\n %160 = load i64, i64* @gv_0, align 8\n %161 = add i64 %160, 368\n %162 = inttoptr i64 %161 to i64*\n %163 = load i64, i64* %162, align 8\n %164 = call i64 @FUNC(i64 %163)\n %165 = load i64, i64* @gv_0, align 8\n %166 = add i64 %165, 376\n %167 = call i64 @FUNC(i64 %166)\n %168 = load i64, i64* @gv_0, align 8\n %169 = add i64 %168, 416\n %170 = inttoptr i64 %169 to i64*\n %171 = call i32 @pthread_cond_destroy(i64* %170)\n %172 = load i64, i64* @gv_0, align 8\n %173 = add i64 %172, 464\n %174 = inttoptr i64 %173 to i64*\n %175 = load i64, i64* %174, align 8\n %176 = call i64 @FUNC(i64 %175)\n %177 = load i64, i64* @gv_0, align 8\n %178 = call i64 @FUNC(i64 %177)\n store i64 %178, 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 (i64*)* @pthread_cond_destroy, { 1, 0 }\n uselistorder i64 (i64)* @list_destroy, { 1, 0 }\n uselistorder i64 (i64)* @slurm_mutex_destroy, { 2, 1, 0 }\n uselistorder i64 (i64)* @xfree, { 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 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_abstorelstepsize_9048", "fun_name": "jpc_abstorelstepsize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge5.in.reg2mem = alloca i64\n %0 = trunc i64 %arg1 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 call void @abort()\n unreachable\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = sub i32 11, %7\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 = sub i32 0, %8\n %12 = urem i32 %11, 32\n %13 = icmp eq i32 %12, 0\n %14 = trunc i64 %3 to i32\n %15 = ashr i32 %14, %12\n %16 = zext i32 %15 to i64\n %storemerge = select i1 %13, i64 %4, i64 %16\n store i64 %storemerge, i64* %storemerge5.in.reg2mem\n br label LBL_5\n LBL_4:\n %17 = urem i32 %8, 32\n %18 = icmp eq i32 %17, 0\n %19 = trunc i64 %3 to i32\n %20 = shl i32 %19, %17\n %21 = zext i32 %20 to i64\n %storemerge4 = select i1 %18, i64 %4, i64 %21\n store i64 %storemerge4, i64* %storemerge5.in.reg2mem\n br label LBL_5\n LBL_5:\n %22 = trunc i64 %5 to i32\n %23 = add i32 %22, -32\n %24 = trunc i64 %arg2 to i32\n %25 = icmp sgt i32 %23, %24\n br i1 %25, label LBL_6, label LBL_7\n LBL_6:\n call void @abort()\n unreachable\n LBL_7:\n %storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem\n %26 = sub i32 %24, %23\n %27 = sext i32 %26 to i64\n %storemerge5 = urem i64 %storemerge5.in.reload, 2048\n %28 = mul i64 %27, 2048\n %29 = or i64 %storemerge5, %28\n ret i64 %29\n\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i32 32, { 0, 1, 3, 4, 2 }\n uselistorder i64 (i64)* @jpc_firstone, { 1, 0 }\n uselistorder i32 0, { 2, 3, 1, 4, 5, 6, 0 }\n uselistorder i32 1, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_reg_profile_12514", "fun_name": "set_reg_profile", "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 ptrtoint ([377 x i8]* @gv_0 to i64))\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "emulator_get_cr_136", "fun_name": "emulator_get_cr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = call i64 @FUNC(i64 %arg1)\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_6 [\n i32 0, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 8, label LBL_5\n ]\n LBL_1:\n %3 = call i64 @FUNC(i64 %1)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_3:\n %6 = call i64 @FUNC(i64 %1)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_4:\n %7 = call i64 @FUNC(i64 %1)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_5:\n %8 = call i64 @FUNC(i64 %1)\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %2)\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 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_7, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v410_decode_init_346", "fun_name": "v410_decode_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 = 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 10, i32* %3, 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 = 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 = 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_2\n LBL_2:\n %10 = call i64 @FUNC()\n %11 = add i64 %0, 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 store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967284, 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, 2, 0, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "saa7134_tuner_setup_4643", "fun_name": "saa7134_tuner_setup", "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 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 %3 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 20)\n store i64 4198712, i64* %sv_3, align 8\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = mul nsw i64 %4, 12\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, -1\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_3)\n br 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 switch i32 %13, label LBL_3 [\n i32 0, label LBL_4\n i32 -1, label LBL_4\n ]\n LBL_3:\n store i64 4198712, i64* %sv_3, align 8\n %14 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_3)\n br label LBL_4\n LBL_4:\n %15 = add i64 %2, 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_6, label LBL_5\n LBL_5:\n store i32 0, i32* %sv_2, align 4\n %19 = bitcast i32* %sv_2 to i64*\n %20 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %19)\n br label LBL_6\n LBL_6:\n %21 = load i32, i32* %12, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp eq i32 %21, 1\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16)\n %26 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 24)\n store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %sv_0, align 8\n store i64 1, i64* %sv_1, align 8\n %27 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %sv_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* %sv_3, { 0, 3, 1, 4, 2 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 4, 1, 5, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64*)* @saa7134_i2c_call_clients, { 3, 2, 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 4, 0, 3 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_blob_4505", "fun_name": "process_blob", "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 %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_5, label LBL_1\n LBL_1:\n %5 = icmp eq i64* %arg2, null\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(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_3:\n %8 = trunc i64 %2 to i32\n %9 = urem i32 %8, 4\n %10 = zext 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_5, label LBL_4\n LBL_4:\n %13 = ptrtoint i64* %arg4 to i64\n %14 = ptrtoint i64* %arg3 to i64\n %15 = ptrtoint i64* %arg2 to i64\n %16 = or i32 %8, 2\n %17 = bitcast i64* %arg2 to i32*\n store i32 %16, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %arg5)\n %19 = call i64 @FUNC(i64 %15, i64 %14, i64 %13, i64 %18)\n store i64 %19, 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 %9, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BN_dec2bn_5707", "fun_name": "BN_dec2bn", "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.1.reg2mem = alloca i64\n %sv_1.0.be.reg2mem = alloca i32\n %sv_2.0.be.reg2mem = alloca i64\n %sv_3.16.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %storemerge19.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp ne i64 %arg2, 0\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %2, %5\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_14\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = icmp eq i8 %3, 45\n %8 = zext i1 %7 to i64\n %spec.select2 = add i64 %8, %arg2\n %spec.select3 = zext i1 %7 to i32\n store i32 0, i32* %storemerge19.reg2mem\n br label LBL_3\n LBL_2:\n %9 = add nuw i32 %storemerge19.reload, 1\n %10 = icmp ugt i32 %storemerge19.reload, 536870910\n store i32 %9, i32* %storemerge19.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %10, label LBL_12, label LBL_3\n LBL_3:\n %storemerge19.reload = load i32, i32* %storemerge19.reg2mem\n %11 = call i16** @__ctype_b_loc()\n %12 = load i16*, i16** %11, align 8\n %13 = ptrtoint i16* %12 to i64\n %14 = sext i32 %storemerge19.reload to i64\n %15 = add i64 %spec.select2, %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, 2\n %20 = add i64 %19, %13\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = and i16 %22, 2048\n %24 = icmp eq i16 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_2, label LBL_4\n LBL_4:\n %26 = add i32 %storemerge19.reload, %spec.select3\n %27 = icmp eq i64* %arg1, null\n %28 = icmp eq i1 %27, false\n store i32 %26, i32* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_5, label LBL_14\n LBL_5:\n %29 = call i64 @FUNC(i64 %6)\n %30 = mul i32 %storemerge19.reload, 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %6, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 %6, i64* %sv_0.1.reg2mem\n br i1 %34, label LBL_12, label LBL_6\n LBL_6:\n %35 = inttoptr i64 %spec.select2 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 br i1 %38, label LBL_7, label LBL_11\n LBL_7:\n %39 = ashr i32 %storemerge19.reload, 31\n %40 = udiv i32 %39, 536870912\n %41 = add i32 %40, %storemerge19.reload\n %42 = urem i32 %41, 8\n %43 = sub nsw i32 %40, %42\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n %46 = add nsw i32 %43, 8\n %spec.select = select i1 %45, i32 %46, i32 0\n store i8 %36, i8* %.reg2mem\n store i32 %spec.select, i32* %sv_1.08.reg2mem\n store i64 0, i64* %sv_2.07.reg2mem\n store i64 %spec.select2, i64* %sv_3.16.reg2mem\n br label LBL_8\n LBL_8:\n %sv_3.16.reload = load i64, i64* %sv_3.16.reg2mem\n %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %47 = mul i64 %sv_2.07.reload, 10\n %48 = sext i8 %.reload to i64\n %49 = add nsw i64 %48, -48\n %50 = add i64 %49, %47\n %51 = add i32 %sv_1.08.reload, 1\n %52 = icmp eq i32 %sv_1.08.reload, 7\n %53 = icmp eq i1 %52, false\n store i64 %50, i64* %sv_2.0.be.reg2mem\n store i32 %51, i32* %sv_1.0.be.reg2mem\n br i1 %53, label LBL_9, label LBL_10\n LBL_9:\n %54 = add i64 %sv_3.16.reload, 1\n %sv_1.0.be.reload = load i32, i32* %sv_1.0.be.reg2mem\n %sv_2.0.be.reload = load i64, i64* %sv_2.0.be.reg2mem\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = icmp eq i8 %56, 0\n %58 = icmp eq i1 %57, false\n store i8 %56, i8* %.reg2mem\n store i32 %sv_1.0.be.reload, i32* %sv_1.08.reg2mem\n store i64 %sv_2.0.be.reload, i64* %sv_2.07.reg2mem\n store i64 %54, i64* %sv_3.16.reg2mem\n br i1 %58, label LBL_8, label LBL_11\n LBL_10:\n %59 = call i64 @FUNC(i64 %6, i64 100000000)\n %60 = call i64 @FUNC(i64 %6, i64 %50)\n store i64 0, i64* %sv_2.0.be.reg2mem\n store i32 0, i32* %sv_1.0.be.reg2mem\n br label LBL_9\n LBL_11:\n %61 = bitcast i64* %arg1 to i32*\n store i32 %spec.select3, i32* %61, align 4\n %62 = call i64 @FUNC(i64 %6)\n store i64 %6, i64* %arg1, align 8\n %63 = call i64 @FUNC(i64 %6)\n store i32 %26, i32* %rax.0.shrunk.reg2mem\n br label LBL_14\n LBL_12:\n %64 = icmp eq i64* %arg1, null\n %65 = icmp eq i1 %64, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %65, label LBL_14, label LBL_13\n LBL_13:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %66 = call i64 @FUNC(i64 %sv_0.1.reload)\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 i64 %50, { 1, 0 }\n uselistorder i32 %sv_1.08.reload, { 1, 0 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32 %storemerge19.reload, { 5, 3, 6, 4, 0, 1, 2 }\n uselistorder i32 %spec.select3, { 1, 0 }\n uselistorder i64 %spec.select2, { 0, 2, 1 }\n uselistorder i64 %6, { 6, 4, 5, 2, 3, 0, 1, 7 }\n uselistorder i8 %3, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.be.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.be.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 5, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 0, { 1, 0, 3, 5, 6, 7, 4, 2, 8 }\n uselistorder i1 false, { 2, 4, 3, 5, 1, 6, 7, 0 }\n uselistorder i8 0, { 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_14, { 2, 1, 4, 3, 0 }\n uselistorder label LBL_12, { 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": "jfs_open_10680", "fun_name": "jfs_open", "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 %3 = ptrtoint i32* %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 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_6\n LBL_2:\n %9 = trunc i64 %1 to i16\n %10 = icmp sgt i16 %9, -1\n %11 = urem i64 %2, 2\n %12 = icmp eq i64 %11, 0\n %or.cond = or i1 %10, %12\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_6, 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 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %3)\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 store i64 0, i64* %storemerge.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\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 %25)\n store i32 0, i32* %19, align 4\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 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i32 %32, 1\n store i32 %33, i32* %31, 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 %3, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_6, { 3, 2, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_renderer_detach_res_ctx_p_9274", "fun_name": "vrend_renderer_detach_res_ctx_p", "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, i64 1)\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 = call i64 @FUNC(i64 %0, i64 %1, i64 1)\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": "notify_guest_bh_275", "fun_name": "notify_guest_bh", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\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 = ptrtoint i64* %sv_0 to i64\n %4 = trunc i64 %1 to i32\n %5 = and i64 %1, 4294967295\n %6 = add nuw nsw i64 %5, 63\n %7 = udiv i64 %6, 64\n %.tr = trunc i64 %7 to i32\n %8 = mul i32 %.tr, 8\n %.lhs.trunc = add nuw nsw i32 %8, 15\n %9 = udiv i32 %.lhs.trunc, 16\n %10 = mul i32 %9, 16\n %11 = zext i32 %10 to i64\n %12 = sub i64 %3, %11\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 %12 to i64*\n %17 = inttoptr i64 %15 to i64*\n %18 = call i64* @memcpy(i64* %16, i64* %17, i32 %8)\n %19 = load i64, i64* %14, align 8\n %20 = inttoptr i64 %19 to i64*\n %21 = call i64* @memset(i64* %20, i32 0, i32 %8)\n %22 = icmp eq i32 %4, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %22, label LBL_5, label LBL_1\n LBL_1:\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i64*\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 %25 = mul i64 %.reload, 8\n %26 = add i64 %25, %12\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* %storemerge12.reg2mem\n br i1 %30, label LBL_3, label LBL_4\n LBL_3:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %31 = call i64 @FUNC(i64 %storemerge12.reload)\n %32 = trunc i64 %31 to i32\n %33 = add i32 %storemerge3.reload, %32\n %34 = load i64, i64* %24, align 8\n %35 = zext i32 %33 to i64\n %36 = call i64 @FUNC(i64 %34, i64 %35)\n %37 = load i64, i64* %24, align 8\n %38 = call i64 @FUNC(i64 %37, i64 %36)\n %39 = add i64 %storemerge12.reload, -1\n %40 = and i64 %39, %storemerge12.reload\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 %40, i64* %storemerge12.reg2mem\n br i1 %42, label LBL_3, label LBL_4\n LBL_4:\n %43 = add i32 %storemerge3.reload, 64\n %44 = icmp ult i32 %43, %4\n %45 = zext i32 %43 to i64\n store i64 %45, i64* %.reg2mem\n store i32 %43, i32* %storemerge3.reg2mem\n store i64 %45, i64* %.lcssa.reg2mem\n br i1 %44, label LBL_2, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %43, { 0, 2, 1 }\n uselistorder i64 %storemerge12.reload, { 2, 0, 1 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i32 64, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lzxd_free_6932", "fun_name": "lzxd_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, null\n %3 = ptrtoint i64* %arg1 to i64\n %spec.select = select i1 %2, i64 %1, i64 %3\n ret i64 %spec.select\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "port_show_vhci_11414", "fun_name": "port_show_vhci", "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 %rdi.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %.pn.in.reg2mem = alloca i32\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 %5 = trunc i64 %1 to i32\n %6 = trunc i64 %arg3 to i32\n %7 = bitcast i64* %arg1 to i8*\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 %6, i32 %5)\n store i32 %8, i32* %.pn.in.reg2mem\n br label LBL_3\n LBL_2:\n %9 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %6, i32 %5)\n store i32 %9, i32* %.pn.in.reg2mem\n br label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %arg1 to i64\n %.pn.in.reload = load i32, i32* %.pn.in.reg2mem\n %.pn = sext i32 %.pn.in.reload to i64\n %storemerge3 = add i64 %.pn, %10\n store i64 %storemerge3, i64* %arg1, align 8\n %11 = icmp eq i32 %5, 1\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = ptrtoint i32* %arg4 to i64\n %14 = add i64 %13, 20\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %13, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i32 %19, i32 %16)\n %21 = sext i32 %20 to i64\n %22 = add i64 %21, %10\n store i64 %22, i64* %arg1, align 8\n %23 = add i64 %13, 24\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 %13, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %25 to i8*\n %31 = inttoptr i64 %29 to i64*\n %32 = inttoptr i64 %26 to i8*\n %33 = call i32 (i8*, i8*, ...) @sprintf(i8* %30, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64* %31, i8* %32)\n %34 = sext i32 %33 to i64\n %35 = add i64 %25, %34\n store i8* %30, i8** %.pre-phi.reg2mem\n store i64 %35, i64* %storemerge.reg2mem\n store i64 %25, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_5:\n %36 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n %37 = sext i32 %36 to i64\n %38 = add i64 %37, %10\n store i64 %38, i64* %arg1, align 8\n %39 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0))\n %40 = sext i32 %39 to i64\n %41 = add i64 %40, %10\n store i8* %7, i8** %.pre-phi.reg2mem\n store i64 %41, i64* %storemerge.reg2mem\n store i64 %10, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n store i64 %storemerge.reload, i64* %arg1, align 8\n %42 = call i32 (i8*, i8*, ...) @sprintf(i8* %.pre-phi.reload, i8* inttoptr (i64 4202608 to i8*))\n %43 = sext i32 %42 to i64\n %44 = add i64 %rdi.0.reload, %43\n store i64 %44, i64* %arg1, align 8\n ret i64 %10\n\n uselistorder i64 %13, { 1, 0, 2, 3 }\n uselistorder i64 %10, { 5, 0, 1, 2, 3, 4 }\n uselistorder i8* %7, { 0, 2, 3, 1, 4, 5 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32* %.pn.in.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 4, 6, 5, 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 3, 1, 2, 4, 0, 6, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "process_client_2996", "fun_name": "process_client", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem20 = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.lcssa2.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %.lcssa4.reg2mem = alloca i1\n %.reg2mem = alloca i1\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 i8*, align 8\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n store i8* null, i8** %sv_1, 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 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 i1 %7, i1* %.lcssa4.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %11 = bitcast i8** %sv_1 to i64*\n store i1 %7, i1* %.reg2mem\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 0, i64* nonnull %11)\n %13 = load i8*, i8** %sv_1, align 8\n %14 = icmp eq i8* %13, null\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %.reload = load i1, i1* %.reg2mem\n %15 = load i8, i8* %13, align 1\n %16 = icmp eq i8 %15, 0\n %17 = icmp eq i1 %16, false\n store i1 %.reload, i1* %.lcssa4.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64* nonnull %11)\n %19 = call i64 @FUNC(i64 %3)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp slt i32 %20, 0\n %23 = icmp eq i1 %22, false\n %24 = icmp eq i1 %21, false\n %25 = icmp eq i1 %23, %24\n store i1 %22, i1* %.reg2mem\n store i1 %22, i1* %.lcssa4.reg2mem\n br i1 %25, label LBL_2, label LBL_5\n LBL_5:\n %.lcssa4.reload = load i1, i1* %.lcssa4.reg2mem\n br i1 %.lcssa4.reload, label LBL_22, label LBL_6\n LBL_6:\n %26 = load i8*, i8** %sv_1, align 8\n %27 = ptrtoint i8* %26 to i64\n %28 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %2, i64 %1)\n %29 = load i8*, i8** %sv_1, align 8\n %30 = icmp eq i8* %29, null\n br i1 %30, label LBL_9, label LBL_7\n LBL_7:\n %31 = load i8, i8* %29, align 1\n %32 = icmp eq i8 %31, 47\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = ptrtoint i8* %29 to i64\n %35 = add i64 %34, 1\n %36 = inttoptr i64 %35 to i8*\n %37 = inttoptr i64 %arg2 to i8*\n %38 = call i32 @strcmp(i8* %36, i8* %37)\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i32 200, i32* %storemerge.reg2mem\n br i1 %40, label LBL_9, label LBL_10\n LBL_9:\n store i32 -1, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %41 = sext i32 %storemerge.reload to i64\n %42 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 0)\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_12, label LBL_11\n LBL_11:\n %46 = and i64 %42, 4294967295\n %47 = call i64 @FUNC(i64 %46)\n %48 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %47, i64 %2, i64 %1)\n br label LBL_22\n LBL_12:\n %49 = zext i32 %storemerge.reload to i64\n %50 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %49, i64 %2, i64 %1)\n br label LBL_13\n LBL_13:\n %51 = call i64 @FUNC(i64 %3)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp slt i32 %52, 0\n %55 = icmp eq i1 %54, false\n %56 = icmp eq i1 %53, false\n %57 = icmp eq i1 %55, %56\n br i1 %57, label LBL_13, label LBL_14\n LBL_14:\n br i1 %54, label LBL_22, label LBL_15\n LBL_15:\n %58 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %59 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_6 to i64*), i32 1, i32 21, %_IO_FILE* %58)\n %60 = icmp eq i32 %storemerge.reload, 200\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_22, label LBL_16\n LBL_16:\n %62 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %63 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_7 to i64*), i32 1, i32 20, %_IO_FILE* %62)\n %64 = call i64 @FUNC(i64* nonnull %sv_2, i64 %arg2, i64 0, i64 0, i64 0)\n %65 = trunc i64 %64 to i32\n %66 = icmp slt i32 %65, 0\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_17, label LBL_18\n LBL_17:\n %68 = load i64, i64* %sv_2, align 8\n %69 = call i64 @FUNC(i64 %68, i64* nonnull %sv_0, i64 1024)\n %70 = trunc i64 %69 to i32\n %71 = icmp slt i32 %70, 0\n %72 = icmp eq i1 %71, false\n store i64 %69, i64* %.lcssa2.reg2mem\n store i32 %70, i32* %.lcssa.reg2mem\n store i32 %70, i32* %.reg2mem20\n br i1 %72, label LBL_21, label LBL_19\n LBL_18:\n %73 = and i64 %64, 4294967295\n %74 = call i64 @FUNC(i64 %73)\n %75 = load i64, i64* %sv_2, align 8\n %76 = call i64 @FUNC(i64 %75, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %arg2, i64 %74, i64 %1)\n br label LBL_22\n LBL_19:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %77 = icmp eq i32 %.lcssa.reload, -2\n br i1 %77, label LBL_22, label LBL_20\n LBL_20:\n %.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem\n %78 = and i64 %.lcssa2.reload, 4294967295\n %79 = call i64 @FUNC(i64 %78)\n %80 = load i64, i64* %sv_2, align 8\n %81 = call i64 @FUNC(i64 %80, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i64 %79, i64 0, i64 %1)\n br label LBL_22\n LBL_21:\n %.reload21 = load i32, i32* %.reg2mem20\n %82 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32 %.reload21)\n %83 = call i64 @FUNC(i64 %3)\n %84 = load i64, i64* %sv_2, align 8\n %85 = call i64 @FUNC(i64 %84, i64* nonnull %sv_0, i64 1024)\n %86 = trunc i64 %85 to i32\n %87 = icmp slt i32 %86, 0\n %88 = icmp eq i1 %87, false\n store i64 %85, i64* %.lcssa2.reg2mem\n store i32 %86, i32* %.lcssa.reg2mem\n store i32 %86, i32* %.reg2mem20\n br i1 %88, label LBL_21, label LBL_19\n LBL_22:\n %89 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %90 = call i32 @fwrite(i64* bitcast ([17 x i8]* @gv_10 to i64*), i32 1, i32 16, %_IO_FILE* %89)\n %91 = call i64 @FUNC(i64 %3)\n %92 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %93 = call i32 @fwrite(i64* bitcast ([16 x i8]* @gv_11 to i64*), i32 1, i32 15, %_IO_FILE* %92)\n %94 = call i64 @FUNC(i64 %3)\n %95 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %96 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_12 to i64*), i32 1, i32 14, %_IO_FILE* %95)\n %97 = load i64, i64* %sv_2, align 8\n %98 = call i64 @FUNC(i64 %97)\n %99 = bitcast i8** %sv_1 to i64*\n %100 = call i64 @FUNC(i64* nonnull %99)\n ret i64 %100\n\n uselistorder i32 %52, { 1, 0 }\n uselistorder i32 %storemerge.reload, { 2, 1, 0 }\n uselistorder i32 %20, { 1, 0 }\n uselistorder i1 %7, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 2, 4, 3, 5, 0, 1, 6 }\n uselistorder i8** %sv_1, { 5, 3, 2, 1, 4, 0 }\n uselistorder i64* %sv_0, { 2, 1, 0 }\n uselistorder i64 %3, { 9, 8, 3, 2, 4, 5, 1, 6, 7, 11, 10, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i1* %.reg2mem, { 1, 0, 2 }\n uselistorder i1* %.lcssa4.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa2.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem20, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @avio_close, { 1, 0 }\n uselistorder i64 (i64)* @avio_flush, { 1, 0 }\n uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 }\n uselistorder i64 1024, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 4, 3, 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_5, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @av_err2str, { 2, 1, 0 }\n uselistorder i32 200, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @av_freep, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i1 false, { 5, 2, 6, 7, 8, 3, 9, 10, 11, 13, 4, 12, 0, 1 }\n uselistorder i32 0, { 3, 2, 4, 5, 6, 7, 8, 9, 10, 0, 1 }\n uselistorder i64 (i64)* @avio_handshake, { 2, 1, 0 }\n uselistorder i8* null, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_22, { 4, 0, 5, 1, 2, 6, 3 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_output_8401", "fun_name": "virtio_blk_handle_output", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.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 store i32 0, i32* %sv_0, align 4\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %.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 %.reload, i32* nonnull %sv_0)\n %6 = call i64 @FUNC(i64 %1)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %1 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i32* nonnull %sv_0)\n ret i64 %11\n\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @virtio_blk_get_request, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "netif_receive_skb_internal_8883", "fun_name": "netif_receive_skb_internal", "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* 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 = 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_1, label LBL_4\n LBL_1:\n %7 = call i64 @FUNC(i64 4210732)\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()\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC(i64 4210732)\n %13 = call i64 @FUNC(i64 %12, i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC()\n %17 = icmp eq i32 %14, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC(i64 %0)\n %20 = call i64 @FUNC()\n %21 = and i64 %19, 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 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }\n uselistorder i64 ()* @rcu_read_lock, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ivf_write_trailer_14718", "fun_name": "ivf_write_trailer", "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 = 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 %4)\n %9 = call i64 @FUNC(i64 %4, i64 24, i64 0)\n %10 = inttoptr i64 %7 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %7, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = mul i32 %14, %11\n %16 = add i32 %11, -1\n %17 = ashr i32 %15, 31\n %18 = zext i32 %15 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 = sdiv i64 %21, %22\n %sext = mul i64 %23, 4294967296\n %24 = ashr exact i64 %sext, 32\n %25 = call i64 @FUNC(i64 %4, i64 %24)\n %26 = call i64 @FUNC(i64 %4, i64 %8, i64 0)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 4, 3, 2 }\n uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "usage_10287", "fun_name": "usage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([958 x i8], [958 x i8]* @gv_1, i64 0, i64 0))\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0))\n %3 = sext i32 %2 to i64\n ret i64 %3\n\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tpm_passthrough_open_sysfs_cancel_2389", "fun_name": "tpm_passthrough_open_sysfs_cancel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) 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 = 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 %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 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, i64 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 %12, i64* %storemerge.in.reg2mem\n br i1 %15, label LBL_8, label LBL_2\n LBL_2:\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 ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %12, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_3:\n %21 = bitcast i64* %arg1 to i8*\n %22 = call i8* @strrchr(i8* %21, i32 47)\n %23 = icmp eq i8* %22, null\n br i1 %23, label LBL_7, label LBL_4\n LBL_4:\n %24 = ptrtoint i8* %22 to i64\n %25 = add i64 %24, 1\n %26 = bitcast i64* %sv_0 to i8*\n %27 = inttoptr i64 %25 to i8*\n %28 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %26, i32 4096, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i8* %27)\n %29 = icmp ult i32 %28, 4096\n store i64 4294967295, i64* %storemerge.in.reg2mem\n br i1 %29, label LBL_5, label LBL_8\n LBL_5:\n %30 = ptrtoint i64* %sv_0 to i64\n %31 = call i64 @FUNC(i64 %30, i64 1)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %31, i64* %storemerge.in.reg2mem\n br i1 %34, label LBL_8, 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 ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %38, i64 %25, i64 %2, i64 %1)\n store i64 %31, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_7:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\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 i8* %22, { 1, 0 }\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 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* %storemerge.in.reg2mem, { 0, 4, 2, 3, 1, 6, 5 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_open, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder label LBL_8, { 2, 1, 0, 3, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_legacy_iomap_667", "fun_name": "qpci_legacy_iomap", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = urem i64 %arg2, 65536\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext3_link_3885", "fun_name": "ext3_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, -3\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 i32 0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tls1_set_server_sigalgs_4252", "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 %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 %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 0, i64* %4, align 8\n br label LBL_2\n LBL_2:\n %5 = add i64 %0, 16\n store i64 0, i64* %storemerge23.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %6 = mul i64 %storemerge23.reload, 16\n %7 = add i64 %5, %6\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %7, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add nuw nsw i64 %storemerge23.reload, 1\n %exitcond = icmp eq i64 %11, 10\n store i64 %11, i64* %storemerge23.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %12 = add i64 %0, 176\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_9, label LBL_5\n LBL_5:\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 br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 1, i64 2)\n store i32 3, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_7:\n %21 = icmp eq i1 %1, false\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %21, label LBL_11, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i64 1, i64 4)\n store i32 5, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n %23 = call i64 @FUNC(i64 %0)\n store i64 1, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_10:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %24 = 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 %0, { 3, 6, 4, 5, 0, 2, 1 }\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 i64 1, { 1, 3, 0, 4, 5, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_width_6725", "fun_name": "bm_width", "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 ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([9 x i8], [9 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": "l2tp_ip_bind_11031", "fun_name": "l2tp_ip_bind", "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 i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\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 ne i32 %7, 0\n %9 = trunc i64 %arg3 to i32\n %10 = icmp ugt i32 %9, 23\n %or.cond12.not = icmp eq i1 %10, %8\n %11 = trunc i64 %2 to i16\n %12 = icmp eq i16 %11, 2\n %or.cond = icmp eq i1 %12, %or.cond12.not\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_10\n LBL_1:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = call i64 @FUNC(i64* nonnull @gv_0)\n %15 = add i64 %13, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %3, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, 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 = call i64 @FUNC(i64 %5, i64 %23, i32 %20, i32 %17)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n %28 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 4294967198, i64* %rax.0.reg2mem\n br i1 %27, label LBL_10, label LBL_2\n LBL_2:\n %29 = trunc i64 %1 to i32\n %30 = call i64 @FUNC(i64 %3)\n %31 = icmp eq i32 %29, 0\n %32 = icmp eq i1 %31, false\n store i64 4294967198, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_9, label LBL_3\n LBL_3:\n %33 = load i64, i64* %22, align 8\n %34 = call i64 @FUNC(i64 %5, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = load i64, i64* %22, align 8\n %37 = icmp eq i64 %36, 0\n %38 = icmp ult i32 %35, 2\n %39 = or i1 %38, %37\n %.not = icmp ne i1 %39, true\n %40 = icmp eq i32 %35, 2\n %41 = icmp eq i1 %40, false\n %or.cond8 = icmp eq i1 %41, %.not\n store i64 4294967197, i64* %sv_0.0.reg2mem\n br i1 %or.cond8, label LBL_9, label LBL_4\n LBL_4:\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %42 = inttoptr i64 %4 to i64*\n store i64 %36, i64* %42, align 8\n %43 = add i64 %4, 8\n %44 = inttoptr i64 %43 to i64*\n store i64 %36, i64* %44, align 8\n br label LBL_6\n LBL_6:\n %45 = icmp ne i32 %35, 1\n %or.cond10 = icmp eq i1 %45, %41\n br i1 %or.cond10, label LBL_8, label LBL_7\n LBL_7:\n %46 = inttoptr i64 %4 to i64*\n store i64 0, i64* %46, align 8\n br label LBL_8\n LBL_8:\n %47 = call i64 @FUNC(i64 %3)\n %48 = call i64 @FUNC(i64 %3)\n %49 = load i32, i32* %16, align 4\n %50 = add i64 %48, 16\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n %52 = call i64 @FUNC(i64* nonnull @gv_0)\n %53 = call i64 @FUNC(i64 %3, i64* nonnull @gv_1)\n %54 = call i64 @FUNC(i64 %3)\n %55 = call i64 @FUNC(i64* nonnull @gv_0)\n %56 = call i64 @FUNC(i64 %3, i64 1)\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 %57 = call i64 @FUNC(i64 %3)\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 %36, { 1, 0, 2 }\n uselistorder i32 %35, { 2, 0, 1 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %3, { 5, 0, 2, 1, 4, 3, 6, 7, 8, 9, 10 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967198, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @inet_sk, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "g_malloc_17108", "fun_name": "g_malloc", "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 %phitmp = trunc i64 %arg1 to i32\n %storemerge = select i1 %1, i32 1, i32 %phitmp\n %2 = call i64* @malloc(i32 %storemerge)\n %3 = icmp eq i64* %2, 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 unreachable\n LBL_2:\n %6 = ptrtoint i64* %2 to i64\n ret i64 %6\n\n uselistorder i64* %2, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gx_device_set_media_from_hwsize_10121", "fun_name": "gx_device_set_media_from_hwsize", "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 i128 @FUNC(i64 %5)\n %7 = call i128 @FUNC(i64 4634766966517661696)\n %8 = call i128 @FUNC(i128 %7, i128 %6)\n %9 = add i64 %2, 24\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 %8, i128 %12)\n %14 = call i64 @__asm_movsd.1(i128 %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 i128 @FUNC(i64 %17)\n %19 = call i128 @FUNC(i64 4634766966517661696)\n %20 = call i128 @FUNC(i128 %19, i128 %18)\n %21 = add i64 %2, 32\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 %20, i128 %24)\n %26 = call i64 @__asm_movsd.1(i128 %25)\n %27 = urem i64 %1, 2\n %28 = icmp eq i64 %27, 0\n %29 = call i128 @FUNC(i64 %14)\n %30 = call i64 @__asm_movsd.1(i128 %29)\n br i1 %28, label LBL_2, label LBL_1\n LBL_1:\n %31 = add i64 %2, 48\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = call i128 @FUNC(i64 %26)\n %34 = call i64 @__asm_movsd.1(i128 %33)\n %35 = add i64 %2, 40\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n br label LBL_3\n LBL_2:\n %37 = add i64 %2, 40\n %38 = inttoptr i64 %37 to i64*\n store i64 %30, i64* %38, align 8\n %39 = call i128 @FUNC(i64 %26)\n %40 = call i64 @__asm_movsd.1(i128 %39)\n %41 = add i64 %2, 48\n %42 = inttoptr i64 %41 to i64*\n store i64 %40, i64* %42, align 8\n br label LBL_3\n LBL_3:\n ret i64 %2\n\n uselistorder i64 %30, { 1, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 3, 1, 4, 5, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clipper_init_114", "fun_name": "clipper_init", "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 %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i64\n %storemerge37.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 %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 %sv_8 = alloca i64, align 8\n %sv_9 = alloca i64, align 8\n %sv_10 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_10 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 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %2, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %2, 32\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64* @memset(i64* nonnull %sv_9, i32 0, i32 32)\n %17 = load i64, i64* @gv_0, align 8\n %18 = icmp sgt i64 %17, 0\n br i1 %18, label LBL_1, label LBL_3\n LBL_1:\n %19 = icmp eq i64 %6, 0\n %storemerge4 = select i1 %19, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 %6\n %20 = add i64 %3, -128\n store i64 0, i64* %storemerge37.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge37.reload = load i64, i64* %storemerge37.reg2mem\n %21 = call i64 @FUNC(i64 %storemerge4)\n %22 = mul i64 %storemerge37.reload, 8\n %23 = add i64 %20, %22\n %24 = inttoptr i64 %23 to i64*\n store i64 %21, i64* %24, align 8\n %25 = add nuw nsw i64 %storemerge37.reload, 1\n %26 = load i64, i64* @gv_0, align 8\n %27 = icmp slt i64 %25, %26\n store i64 %25, i64* %storemerge37.reg2mem\n br i1 %27, label LBL_2, label LBL_3\n LBL_3:\n %28 = load i64, i64* %sv_9, align 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %2, i64* %29, align 8\n %30 = load i64, i64* %sv_9, align 8\n %31 = add i64 %30, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = load i64, i64* @gv_0, align 8\n %34 = load i64, i64* %sv_9, align 8\n %35 = add i64 %34, 16\n %36 = inttoptr i64 %35 to i64*\n store i64 %33, i64* %36, align 8\n %37 = load i64, i64* @gv_2, align 8\n %38 = call i64 @FUNC(i64 %2, i64* nonnull %sv_7, i64* nonnull %sv_8, i64* nonnull %sv_9, i64 %37)\n %39 = load i64, i64* %sv_8, align 8\n %40 = load i64, i64* %sv_7, align 8\n %41 = call i64 @FUNC(i64 %40, i64 1900, i64 %39)\n %42 = load i64, i64* %sv_7, align 8\n %43 = call i64 @FUNC(i64 %42, i64 64, i64 0, i64 0)\n %44 = load i64, i64* %sv_7, align 8\n %45 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n %46 = call i64 @FUNC(i64 %38)\n %47 = load i64, i64* %sv_7, align 8\n %48 = call i64 @FUNC(i64 %47, i64 4)\n %49 = load i64, i64* @gv_4, align 8\n %50 = icmp sgt i64 %49, 0\n store i64 0, i64* %storemerge26.reg2mem\n br i1 %50, label LBL_4, label LBL_5\n LBL_4:\n %storemerge26.reload = load i64, i64* %storemerge26.reg2mem\n %51 = mul i64 %storemerge26.reload, 8\n %52 = add i64 %51, ptrtoint (i64* @gv_5 to i64)\n %53 = call i64 @FUNC(i64 %52, i64 %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 0)\n %54 = add nuw nsw i64 %storemerge26.reload, 1\n %55 = load i64, i64* @gv_4, align 8\n %56 = icmp slt i64 %54, %55\n store i64 %54, i64* %storemerge26.reg2mem\n br i1 %56, label LBL_4, label LBL_5\n LBL_5:\n %57 = call i64 @FUNC(i64* nonnull %sv_6, i64 4)\n %58 = call i64 @FUNC(i64 %38, i64* nonnull %sv_6, i64 0)\n %59 = load i64, i64* @gv_7, align 8\n %60 = icmp eq i64 %59, 0\n %storemerge1 = select i1 %60, i64 ptrtoint ([16 x i8]* @gv_8 to i64), i64 %59\n %61 = call i64 @FUNC(i64 0, i64 %storemerge1)\n %62 = icmp eq i64 %61, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_7, label LBL_6\n LBL_6:\n %64 = ptrtoint i64* %sv_6 to i64\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i64 %storemerge1, i64 0, i64 %64, i64 %37, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %66 = load i64, i64* @gv_10, align 8\n %67 = call i64 @FUNC(i64 %61, i64 %66, i64 0, i64* nonnull %sv_3, i64* nonnull %sv_4, i64* nonnull %sv_5)\n %68 = icmp slt i64 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_8, label LBL_10\n LBL_8:\n %70 = load i64, i64* @gv_0, align 8\n %71 = icmp sgt i64 %70, 0\n store i64 %70, i64* %.lcssa.reg2mem\n br i1 %71, label LBL_9, label LBL_12\n LBL_9:\n %72 = add i64 %3, -128\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_11\n LBL_10:\n %73 = ptrtoint i64* %sv_3 to i64\n %74 = ptrtoint i64* %sv_4 to i64\n %75 = ptrtoint i64* %sv_5 to i64\n %76 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_11, i64 0, i64 0), i64 %61, i64 0, i64 %73, i64 %74, i64 %75)\n call void @exit(i32 1)\n unreachable\n LBL_11:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %77 = mul i64 %storemerge5.reload, 8\n %78 = add i64 %72, %77\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = add i64 %80, 24\n %82 = inttoptr i64 %81 to i64*\n store i64 1, i64* %82, align 8\n %83 = load i64, i64* %79, align 8\n %84 = load i64, i64* %sv_3, align 8\n %85 = add i64 %83, 32\n %86 = inttoptr i64 %85 to i64*\n store i64 %84, i64* %86, align 8\n %87 = load i64, i64* %79, align 8\n %88 = load i64, i64* %sv_3, align 8\n %89 = add i64 %87, 40\n %90 = inttoptr i64 %89 to i64*\n store i64 %88, i64* %90, align 8\n %91 = add nuw nsw i64 %storemerge5.reload, 1\n %92 = load i64, i64* @gv_0, align 8\n %93 = icmp slt i64 %91, %92\n store i64 %91, i64* %storemerge5.reg2mem\n store i64 %92, i64* %.lcssa.reg2mem\n br i1 %93, label LBL_11, label LBL_12\n LBL_12:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %94 = icmp eq i64 %9, 0\n store i64 %.lcssa.reload, i64* %rax.1.reg2mem\n br i1 %94, label LBL_21, label LBL_13\n LBL_13:\n %95 = load i64, i64* @gv_10, align 8\n %96 = ptrtoint i64* %sv_2 to i64\n %97 = ptrtoint i64* %sv_1 to i64\n %98 = ptrtoint i64* %sv_0 to i64\n %99 = call i64 @FUNC(i64 %9, i64 %95, i64 0, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %100 = icmp slt i64 %99, 0\n %101 = icmp eq i1 %100, false\n br i1 %101, label LBL_15, label LBL_14\n LBL_14:\n %102 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_12, i64 0, i64 0), i64 %9, i64 0, i64 %98, i64 %97, i64 %96)\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %103 = load i64, i64* %sv_9, align 8\n %104 = load i64, i64* %sv_0, align 8\n %105 = add i64 %103, 8\n %106 = inttoptr i64 %105 to i64*\n store i64 %104, i64* %106, align 8\n %107 = load i64, i64* %sv_1, align 8\n %108 = add i64 %107, -24576\n %109 = icmp eq i64 %12, 0\n store i64 %108, i64* %rax.0.reg2mem\n store i64 %98, i64* %rcx.0.reg2mem\n store i64 %104, i64* %rdx.0.reg2mem\n br i1 %109, label LBL_17, label LBL_16\n LBL_16:\n %110 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0), i64 %108, i64 256, i64 %12)\n store i64 %110, i64* %rax.0.reg2mem\n store i64 %12, i64* %rcx.0.reg2mem\n store i64 256, i64* %rdx.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %111 = icmp eq i64 %15, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %111, label LBL_21, label LBL_18\n LBL_18:\n %112 = call i64 @FUNC(i64 %15)\n %113 = icmp slt i64 %112, 0\n %114 = icmp eq i1 %113, false\n br i1 %114, label LBL_20, label LBL_19\n LBL_19:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %115 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_14, i64 0, i64 0), i64 %15, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %97, i64 %96)\n call void @exit(i32 1)\n unreachable\n LBL_20:\n %116 = sub i64 %2, %112\n %117 = and i64 %116, -4096\n %118 = sub i64 %2, %117\n %119 = call i64 @FUNC(i64 %15, i64 %117, i64 %118)\n %120 = add i64 %117, -4398046511104\n %121 = add i64 %107, -24320\n %122 = call i64 @FUNC(i64* nonnull @gv_15, i64 %121, i64 %120, i64 0, i64 0)\n %123 = add i64 %107, -24312\n %124 = call i64 @FUNC(i64* nonnull @gv_15, i64 %123, i64 %112, i64 0, i64 0)\n store i64 %124, i64* %rax.1.reg2mem\n br label LBL_21\n LBL_21:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %108, { 1, 0 }\n uselistorder i64 %97, { 1, 0 }\n uselistorder i64 %96, { 1, 0 }\n uselistorder i64 %15, { 1, 0, 3, 2 }\n uselistorder i64 %12, { 0, 2, 1 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %sv_9, { 2, 0, 3, 4, 5, 1 }\n uselistorder i64* %sv_8, { 1, 0 }\n uselistorder i64* %sv_7, { 1, 2, 3, 4, 0 }\n uselistorder i64* %sv_6, { 2, 0, 1 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 3, 0 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %storemerge37.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64*, i64, i64, i64, i64)* @address_space_stq, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64*, i64*, i64*)* @load_elf, { 1, 0 }\n uselistorder void (i32)* @exit, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @hw_error, { 3, 2, 1, 0 }\n uselistorder i64* @gv_4, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 5, 0, 1 }\n uselistorder i64* @gv_0, { 2, 1, 3, 4, 0 }\n uselistorder i64 8, { 3, 0, 1, 4, 2, 5 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lis3l02dq_read_all_4792", "fun_name": "lis3l02dq_read_all", "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 %storemerge24.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.15.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 %sv_1 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = mul i32 %4, 2\n %6 = sext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6, i64 32, i64 0)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_13\n LBL_1:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = bitcast i64* %rdi to i32*\n %12 = add i64 %3, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %3, 48\n %17 = inttoptr i64 %16 to i64*\n %18 = icmp eq i64* %arg2, null\n store i64 0, i64* %indvars.iv.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 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = load i64, i64* %15, align 8\n %20 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_8, label LBL_3\n LBL_3:\n %23 = load i64, i64* %17, align 8\n %24 = mul i32 %sv_0.15.reload, 2\n %25 = sext i32 %24 to i64\n %26 = sext i32 %sv_0.15.reload to i64\n %27 = mul i64 %26, 32\n %28 = add i64 %27, %7\n %29 = add i64 %23, %25\n %30 = inttoptr i64 %28 to i64*\n store i64 %29, i64* %30, align 8\n %31 = mul i64 %indvars.iv.reload, 4\n %32 = load i64, i64* %17, align 8\n %33 = add i64 %32, %25\n %34 = add nuw nsw i64 %31, ptrtoint (i8** @gv_0 to i64)\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 4\n %37 = inttoptr i64 %33 to i8*\n store i8 %36, i8* %37, align 1\n %38 = load i64, i64* %17, align 8\n %39 = or i32 %24, 1\n %40 = sext i32 %39 to i64\n %41 = add i64 %38, %40\n %42 = inttoptr i64 %41 to i8*\n store i8 0, i8* %42, align 1\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %43 = add i64 %25, %10\n %44 = add i64 %28, 8\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n br label LBL_5\n LBL_5:\n %46 = add i64 %28, 16\n %47 = inttoptr i64 %46 to i32*\n store i32 8, i32* %47, align 4\n %48 = add i64 %28, 20\n %49 = inttoptr i64 %48 to i32*\n store i32 2, i32* %49, align 4\n %50 = add i64 %28, 24\n %51 = inttoptr i64 %50 to i32*\n store i32 1, i32* %51, align 4\n %52 = add i32 %sv_0.15.reload, 1\n %53 = load i64, i64* %17, align 8\n %54 = mul i32 %52, 2\n %55 = sext i32 %54 to i64\n %56 = sext i32 %52 to i64\n %57 = mul i64 %56, 32\n %58 = add i64 %57, %7\n %59 = add i64 %53, %55\n %60 = inttoptr i64 %58 to i64*\n store i64 %59, i64* %60, align 8\n %61 = or i64 %31, 2\n %62 = load i64, i64* %17, align 8\n %63 = add i64 %62, %55\n %64 = add nuw nsw i64 %61, 4210784\n %65 = inttoptr i64 %64 to i8*\n %66 = load i8, i8* %65, align 2\n %67 = inttoptr i64 %63 to i8*\n store i8 %66, i8* %67, align 1\n %68 = load i64, i64* %17, align 8\n %69 = or i32 %54, 1\n %70 = sext i32 %69 to i64\n %71 = add i64 %68, %70\n %72 = inttoptr i64 %71 to i8*\n store i8 0, i8* %72, align 1\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %73 = add i64 %55, %10\n %74 = add i64 %58, 8\n %75 = inttoptr i64 %74 to i64*\n store i64 %73, i64* %75, align 8\n br label LBL_7\n LBL_7:\n %76 = add i64 %58, 16\n %77 = inttoptr i64 %76 to i32*\n store i32 8, i32* %77, align 4\n %78 = add i64 %58, 20\n %79 = inttoptr i64 %78 to i32*\n store i32 2, i32* %79, align 4\n %80 = add i64 %58, 24\n %81 = inttoptr i64 %80 to i32*\n store i32 1, i32* %81, align 4\n %82 = add i32 %sv_0.15.reload, 2\n store i32 %82, 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 %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 i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_2\n LBL_9:\n %83 = bitcast i32* %sv_1 to i64*\n %84 = call i64 @FUNC(i64* nonnull %83)\n %85 = load i32, i32* %11, align 8\n %86 = urem i32 %85, -2147483648\n %87 = icmp eq i32 %86, 0\n br i1 %87, label LBL_12, label LBL_10\n LBL_10:\n %88 = mul i32 %85, 2\n %89 = zext i32 %88 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge24.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %90 = mul i64 %.reload, 32\n %91 = add i64 %90, %7\n %92 = call i64 @FUNC(i64 %91, i64* nonnull %83)\n %93 = add i32 %storemerge24.reload, 1\n %94 = sext i32 %93 to i64\n %95 = icmp slt i64 %94, %89\n store i64 %94, i64* %.reg2mem\n store i32 %93, i32* %storemerge24.reg2mem\n br i1 %95, label LBL_11, label LBL_12\n LBL_12:\n %96 = inttoptr i64 %3 to i64*\n %97 = load i64, i64* %96, align 8\n %98 = call i64 @FUNC(i64 %97, i64* nonnull %83)\n %99 = trunc i64 %98 to i32\n store i32 %99, i32* %sv_1, align 4\n %100 = call i64 @FUNC(i64 %12)\n %101 = call i64 @FUNC(i64 %7)\n %102 = load i32, i32* %sv_1, align 4\n %103 = zext i32 %102 to i64\n store i64 %103, 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 %58, { 1, 2, 3, 0, 4 }\n uselistorder i32 %54, { 1, 0 }\n uselistorder i32 %52, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %28, { 1, 2, 3, 0, 4 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %sv_0.15.reload, { 1, 2, 3, 4, 0 }\n uselistorder i64 %7, { 3, 0, 1, 2, 4 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder i32 2, { 0, 4, 5, 1, 6, 2, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_qemu_cpu_model_features_17056", "fun_name": "add_qemu_cpu_model_features", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\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, 4\n %2 = add i64 %1, ptrtoint (i32** @gv_0 to i64)\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, i64 %0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 27\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 27\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bdrv_file_open_15380", "fun_name": "bdrv_file_open", "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 = call i64 @FUNC(i64* nonnull @gv_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 = and i64 %arg3, 4294967294\n %4 = or i64 %3, 1\n %5 = ptrtoint i8* %arg2 to i64\n %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %4, i64 0)\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 = call i64 @FUNC(i64 %0)\n %11 = and i64 %6, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n store i64 %0, i64* %arg1, 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 %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": "1" }, { "dataset": "CompRealVul", "file": "vrend_decode_create_ve_5214", "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 %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 i16 %arg3, 0\n %3 = icmp eq i1 %2, false\n store i64 22, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = add i16 %arg3, 3\n %5 = urem i16 %4, 4\n %6 = icmp eq i16 %5, 0\n store i64 22, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_9\n LBL_2:\n %7 = zext i16 %arg3 to i32\n %8 = add nsw i32 %7, -1\n %9 = ashr i32 %8, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n %11 = call i64* @calloc(i32 %9, i32 16)\n %12 = icmp eq i64* %11, null\n %13 = icmp eq i1 %12, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_9\n LBL_4:\n %14 = icmp sgt i32 %8, 3\n br i1 %14, label LBL_5, label LBL_8\n LBL_5:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = ptrtoint i64* %11 to i64\n %17 = sext i32 %9 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 %18 = mul i64 %indvars.iv.reload, 4\n %19 = call i64 @FUNC(i64 %15, i64 %18)\n %20 = mul i64 %indvars.iv.reload, 16\n %21 = add i64 %20, %16\n %22 = trunc i64 %19 to i32\n %23 = inttoptr i64 %21 to i32*\n store i32 %22, i32* %23, align 4\n %24 = or i64 %18, 1\n %25 = call i64 @FUNC(i64 %15, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %21, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = or i64 %18, 2\n %30 = call i64 @FUNC(i64 %15, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %21, 8\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = icmp ult i32 %31, 16\n store i64 22, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_9\n LBL_7:\n %35 = or i64 %18, 3\n %36 = call i64 @FUNC(i64 %15, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = add i64 %21, 12\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %40 = icmp slt i64 %indvars.iv.next, %17\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %40, label LBL_6, label LBL_8\n LBL_8:\n %41 = zext i32 %1 to i64\n store i64 %41, 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, { 3, 2, 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %11, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_buf_entry, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 12, { 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": "bn_copy_words_4904", "fun_name": "bn_copy_words", "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 %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %1, 4294967295\n %4 = icmp slt i64 %2, %3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %arg3.tr = trunc i64 %arg3 to i32\n %5 = mul i32 %arg3.tr, 8\n %6 = call i64* @memset(i64* %arg1, i32 0, i32 %5)\n %7 = ptrtoint i32* %arg2 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 = icmp eq i64 %10, 0\n store i64 1, 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 = mul i32 %12, 8\n %14 = inttoptr i64 %10 to i64*\n %15 = call i64* @memcpy(i64* %arg1, i64* %14, i32 %13)\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* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "webm_dash_manifest_write_header_3527", "fun_name": "webm_dash_manifest_write_header", "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 %rdx.1.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %rdx.0.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i64, i64* %1\n %4 = load i64, i64* %1\n %5 = load i64, i64* %1\n %6 = load i128, i128* %0\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i128 @FUNC(i128 %6, i128 %6)\n %9 = call i64 @FUNC(i128 %8)\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %7)\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 = call i64 @FUNC(i64 %7)\n %18 = and i64 %13, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %19 = call i64 @FUNC(i64 %7)\n %20 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %3, i64 %2)\n %21 = call i128 @FUNC(i64 %9)\n %22 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %5, i64 %3, i64 %2)\n %23 = add i64 %12, 4\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 store i64 %9, i64* %rdx.0.reg2mem\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = call i128 @FUNC(i64 %7)\n %29 = call i64 @__asm_movq.1(i128 %28)\n %30 = call i128 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64 %5, i64 %3, i64 %2)\n store i64 %7, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %32 = inttoptr i64 %12 to i32*\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %33 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.0.reload, i64 %5, i64 %3, i64 %2)\n %34 = load i32, i32* %32, align 4\n %35 = icmp eq i32 %34, 0\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.1.lcssa.reg2mem\n br i1 %35, label LBL_8, label LBL_5\n LBL_5:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %36 = zext i32 %storemerge3.reload to i64\n %37 = call i64 @FUNC(i64 %7, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp slt 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 = call i64 @FUNC(i64 %7)\n %42 = and i64 %37, 4294967295\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %43 = add i32 %storemerge3.reload, 1\n %44 = load i32, i32* %32, align 4\n %45 = zext i32 %44 to i64\n %46 = sext i32 %43 to i64\n %47 = icmp slt i64 %46, %45\n store i32 %43, i32* %storemerge3.reg2mem\n store i64 %36, i64* %rdx.1.lcssa.reg2mem\n br i1 %47, label LBL_5, label LBL_8\n LBL_8:\n %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem\n %48 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %rdx.1.lcssa.reload, i64 %5, i64 %3, i64 %2)\n %49 = call i64 @FUNC(i64 %7)\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* %32, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %7, { 6, 1, 7, 8, 2, 0, 4, 5, 3, 11, 10, 9, 12, 13, 14 }\n uselistorder i64 %5, { 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 i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %1, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @avio_printf, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @free_adaptation_sets, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_v4_add_protocol_8534", "fun_name": "sctp_v4_add_protocol", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4210725)\n %1 = call i64 @FUNC(i64 4210726, i64 132)\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 4294967285\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rio_mport_initialize_4525", "fun_name": "rio_mport_initialize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %1 = icmp slt i32 %0, 10\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0))\n store i64 19, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = load i32, i32* @gv_1, align 4\n store i32 ptrtoint (i64* @gv_2 to i32), i32* @gv_1, align 4\n %6 = add i64 %3, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = zext i32 %5 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %3, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %3, 24\n %16 = call i64 @FUNC(i64 %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 %3, { 0, 1, 2, 4, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* @gv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xar_bid_10016", "fun_name": "xar_bid", "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 32, 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_5\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 305419896\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_5\n LBL_2:\n %7 = add i64 %1, 4\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = add i64 %1, 6\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = add i64 %1, 24\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp ult i32 %17, 3\n %. = select i1 %18, i64 96, i64 0\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)* @archive_be16dec, { 1, 0 }\n uselistorder i64 (i64)* @archive_be32dec, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_hex_18109", "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 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": "1" }, { "dataset": "CompRealVul", "file": "http_open_11026", "fun_name": "http_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.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* %arg1 to i64\n %5 = trunc i64 %3 to i32\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i32*\n %. = zext i1 %7 to i32\n store i32 %., i32* %9, align 4\n %10 = inttoptr i64 %8 to i64*\n store i64 -1, i64* %10, align 8\n %11 = ptrtoint i8* %arg2 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %4, 16\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 store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %16, label LBL_1, label LBL_14\n LBL_1:\n %17 = ptrtoint i64* %arg4 to i64\n %18 = icmp eq i64* %arg4, null\n store i64 %17, i64* %rcx.0.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = add i64 %4, 32\n %20 = call i64 @FUNC(i64 %19, i64 %17, i64 0)\n store i64 %19, i64* %rcx.0.reg2mem\n br label LBL_3\n LBL_3:\n %21 = add i64 %4, 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_9, label LBL_4\n LBL_4:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %25 = inttoptr i64 %23 to i8*\n %26 = call i32 @strlen(i8* %25)\n %27 = icmp slt i32 %26, 2\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = load i64, i64* %22, align 8\n %29 = sext i32 %26 to i64\n %30 = add nsw i64 %29, -2\n %31 = add i64 %30, %28\n %32 = inttoptr i64 %31 to i8*\n %33 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* %32)\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_9, label LBL_6\n LBL_6:\n %35 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n %36 = add i32 %26, 3\n %37 = sext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %21, i64 %37)\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 = and i64 %38, 4294967295\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %43 = load i64, i64* %22, align 8\n %44 = sext i32 %26 to i64\n %45 = add i64 %43, %44\n %46 = inttoptr i64 %45 to i8*\n store i8 13, i8* %46, align 1\n %47 = load i64, i64* %22, align 8\n %48 = add nsw i64 %44, 1\n %49 = add i64 %48, %47\n %50 = inttoptr i64 %49 to i8*\n store i8 10, i8* %50, align 1\n %51 = load i64, i64* %22, align 8\n %52 = add nsw i64 %44, 2\n %53 = add i64 %52, %51\n %54 = inttoptr i64 %53 to i8*\n store i8 0, i8* %54, align 1\n br label LBL_9\n LBL_9:\n %55 = add i64 %4, 40\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 = trunc i64 %arg3 to i32\n %60 = call i64 @FUNC(i64 %4, i64 %11, i32 %59, i64 %17)\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %61 = call i64 @FUNC(i64 %4, i64 %17)\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_13, label LBL_12\n LBL_12:\n %65 = add i64 %4, 32\n %66 = call i64 @FUNC(i64 %65)\n br label LBL_13\n LBL_13:\n %67 = and i64 %61, 4294967295\n store i64 %67, 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 %44, { 1, 2, 0 }\n uselistorder i64* %22, { 1, 2, 3, 0, 4 }\n uselistorder i64 %17, { 2, 3, 1, 0 }\n uselistorder i64 %4, { 2, 3, 1, 4, 0, 5, 6, 7, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder label LBL_14, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "next_random_slot_6799", "fun_name": "next_random_slot", "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 = 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 = icmp ult i64 %3, %6\n store i64 %3, i64* %.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %2, align 8\n store i64 0, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %8 = add i64 %.reload, 1\n store i64 %8, i64* %2, align 8\n %9 = mul i64 %.reload, 4\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n ret i64 %13\n\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_mkp_init_9690", "fun_name": "_mkp_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 %0, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64* nonnull @gv_1)\n %2 = call i64 @FUNC(i64* nonnull @gv_2)\n %3 = call i64 @FUNC(i64* nonnull @gv_3)\n %4 = call i64 @FUNC(i64 %arg2)\n ret i64 0\n\n uselistorder i64 (i64*)* @mk_list_init, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rstrip_spaces_buf_17400", "fun_name": "rstrip_spaces_buf", "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 = 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 store i64 %3, i64* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_2\n LBL_1:\n store i64 %7, i64* %2, align 8\n store i8 0, i8* %9, align 1\n %5 = load i64, i64* %2, align 8\n %6 = icmp eq i64 %5, 0\n store i64 %5, i64* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %7 = add i64 %.reload, -1\n %8 = add i64 %7, %0\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 32\n br i1 %11, label LBL_1, label LBL_2.LBL_4_crit_edge\n LBL_3:\n %12 = zext i8 %10 to i64\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 i8* %9, { 1, 0 }\n uselistorder i64* %2, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_mfmsr_18635", "fun_name": "gen_mfmsr", "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, i64 1)\n %4 = trunc i64 %1 to i32\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 %8 = call i64 @FUNC(i64 %2, i64 1)\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = load i32, i32* @gv_0, 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 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = mul i64 %14, 4\n %16 = and i64 %15, 17179869180\n %17 = add i64 %16, ptrtoint (i32** @gv_1 to i64)\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %9 to i64\n %21 = zext i32 %19 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %20)\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 %2, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @gen_inval_exception, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "event_set_17440", "fun_name": "event_set", "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* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = trunc i64 %arg3 to i16\n %3 = load i32*, i32** @gv_0, align 8\n %4 = ptrtoint i32* %3 to i64\n store i64 %4, i64* %arg1, align 8\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %arg4, i64* %6, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg5, 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 = add i64 %0, 28\n %12 = inttoptr i64 %11 to i16*\n store i16 %2, i16* %12, align 2\n %13 = add i64 %0, 32\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %0, 36\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 40\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n %19 = load i32*, i32** @gv_0, align 8\n %20 = ptrtoint i32* %19 to i64\n %21 = icmp eq i32* %19, null\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %21, label LBL_2, label LBL_1\n LBL_1:\n %22 = load i32, i32* %19, align 4\n %23 = icmp slt i32 %22, 0\n %24 = zext i1 %23 to i32\n %25 = add i32 %22, %24\n %26 = ashr i32 %25, 1\n %27 = add i64 %0, 48\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, 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": "1" }, { "dataset": "CompRealVul", "file": "mysofa_getAttribute_13266", "fun_name": "mysofa_getAttribute", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.03.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 store i64 %2, i64* %sv_0.03.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %3 = inttoptr i64 %sv_0.03.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i8*\n %6 = call i32 @strcmp(i8* %arg2, i8* %5)\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 = add i64 %sv_0.03.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %12 = add i64 %sv_0.03.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* %sv_0.03.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %16, 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.03.reload, { 0, 2, 1 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fork_idle_8833", "fun_name": "fork_idle", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 256, i64 0, i64 0, i64 0, i64* nonnull @gv_0, i64 0)\n %1 = icmp ult i64 %0, -1000\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = inttoptr i64 %0 to i32*\n %3 = and i64 %arg1, 4294967295\n %4 = load i32, i32* %2, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %0, i64 %3)\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dct32_7431", "fun_name": "dct32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) 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 = load i32, i32* %0\n %5 = load i32, i32* %0\n %6 = load i32, i32* %0\n %7 = load i32, i32* %0\n %8 = load i32, i32* %0\n %9 = load i32, i32* %0\n %10 = load i32, i32* %0\n %11 = load i32, i32* %0\n %12 = load i32, i32* %0\n %13 = load i32, i32* %0\n %14 = load i32, i32* %0\n %15 = load i32, i32* %0\n %16 = load i32, i32* %0\n %17 = load i32, i32* %0\n %18 = load i32, i32* %0\n %19 = load i32, i32* %0\n %20 = load i32, i32* %0\n %21 = load i32, i32* %0\n %22 = load i32, i32* %0\n %23 = load i32, i32* %0\n %24 = load i32, i32* %0\n %25 = load i32, i32* %0\n %26 = load i32, i32* %0\n %27 = load i32, i32* %0\n %28 = load i32, i32* %0\n %29 = load i32, i32* %0\n %30 = load i32, i32* %0\n %31 = load i32, i32* %0\n %32 = load i32, i32* %0\n %33 = load i32, i32* %0\n %34 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %35 = call i128 @FUNC(i32 %34)\n %36 = call i64 @FUNC(i64 0, i64 31, i64 1)\n %37 = load i32, i32* @gv_1, align 4\n %38 = call i128 @FUNC(i32 %37)\n %39 = call i64 @FUNC(i64 15, i64 16, i64 5)\n %40 = load i32, i32* @gv_2, align 4\n %41 = call i128 @FUNC(i32 %40)\n %42 = call i64 @FUNC(i64 0, i64 15, i64 1)\n %43 = load i32, i32* @gv_2, align 4\n %44 = call i128 @__asm_movss.1(i32 %43)\n %45 = call i128 @__asm_movss.1(i32 -2147483648)\n %46 = call i128 @FUNC(i128 %44, i128 %45)\n %47 = call i32 @__asm_movd.2(i128 %46)\n %48 = call i128 @FUNC(i32 %47)\n %49 = call i64 @FUNC(i64 16, i64 31, i64 1)\n %50 = load i32, i32* @gv_3, align 4\n %51 = call i128 @FUNC(i32 %50)\n %52 = call i64 @FUNC(i64 7, i64 24, i64 1)\n %53 = load i32, i32* @gv_4, align 4\n %54 = call i128 @FUNC(i32 %53)\n %55 = call i64 @FUNC(i64 8, i64 23, i64 1)\n %56 = load i32, i32* @gv_5, align 4\n %57 = call i128 @FUNC(i32 %56)\n %58 = call i64 @FUNC(i64 7, i64 8, i64 4)\n %59 = load i32, i32* @gv_5, align 4\n %60 = call i128 @__asm_movss.1(i32 %59)\n %61 = call i128 @__asm_movss.1(i32 -2147483648)\n %62 = call i128 @FUNC(i128 %60, i128 %61)\n %63 = call i32 @__asm_movd.2(i128 %62)\n %64 = call i128 @FUNC(i32 %63)\n %65 = call i64 @FUNC(i64 23, i64 24, i64 4)\n %66 = load i32, i32* @gv_6, align 4\n %67 = call i128 @FUNC(i32 %66)\n %68 = call i64 @FUNC(i64 0, i64 7, i64 1)\n %69 = load i32, i32* @gv_6, align 4\n %70 = call i128 @__asm_movss.1(i32 %69)\n %71 = call i128 @__asm_movss.1(i32 -2147483648)\n %72 = call i128 @FUNC(i128 %70, i128 %71)\n %73 = call i32 @__asm_movd.2(i128 %72)\n %74 = call i128 @FUNC(i32 %73)\n %75 = call i64 @FUNC(i64 8, i64 15, i64 1)\n %76 = load i32, i32* @gv_6, align 4\n %77 = call i128 @FUNC(i32 %76)\n %78 = call i64 @FUNC(i64 16, i64 23, i64 1)\n %79 = load i32, i32* @gv_6, align 4\n %80 = call i128 @__asm_movss.1(i32 %79)\n %81 = call i128 @__asm_movss.1(i32 -2147483648)\n %82 = call i128 @FUNC(i128 %80, i128 %81)\n %83 = call i32 @__asm_movd.2(i128 %82)\n %84 = call i128 @FUNC(i32 %83)\n %85 = call i64 @FUNC(i64 24, i64 31, i64 1)\n %86 = load i32, i32* @gv_7, align 4\n %87 = call i128 @FUNC(i32 %86)\n %88 = call i64 @FUNC(i64 3, i64 28, i64 1)\n %89 = load i32, i32* @gv_8, align 4\n %90 = call i128 @FUNC(i32 %89)\n %91 = call i64 @FUNC(i64 12, i64 19, i64 2)\n %92 = load i32, i32* @gv_9, align 4\n %93 = call i128 @FUNC(i32 %92)\n %94 = call i64 @FUNC(i64 3, i64 12, i64 1)\n %95 = load i32, i32* @gv_9, align 4\n %96 = call i128 @__asm_movss.1(i32 %95)\n %97 = call i128 @__asm_movss.1(i32 -2147483648)\n %98 = call i128 @FUNC(i128 %96, i128 %97)\n %99 = call i32 @__asm_movd.2(i128 %98)\n %100 = call i128 @FUNC(i32 %99)\n %101 = call i64 @FUNC(i64 19, i64 28, i64 1)\n %102 = load i32, i32* @gv_10, align 4\n %103 = call i128 @FUNC(i32 %102)\n %104 = call i64 @FUNC(i64 4, i64 27, i64 1)\n %105 = load i32, i32* @gv_11, align 4\n %106 = call i128 @FUNC(i32 %105)\n %107 = call i64 @FUNC(i64 11, i64 20, i64 2)\n %108 = load i32, i32* @gv_12, align 4\n %109 = call i128 @FUNC(i32 %108)\n %110 = call i64 @FUNC(i64 4, i64 11, i64 1)\n %111 = load i32, i32* @gv_12, align 4\n %112 = call i128 @__asm_movss.1(i32 %111)\n %113 = call i128 @__asm_movss.1(i32 -2147483648)\n %114 = call i128 @FUNC(i128 %112, i128 %113)\n %115 = call i32 @__asm_movd.2(i128 %114)\n %116 = call i128 @FUNC(i32 %115)\n %117 = call i64 @FUNC(i64 20, i64 27, i64 1)\n %118 = load i32, i32* @gv_13, align 4\n %119 = call i128 @FUNC(i32 %118)\n %120 = call i64 @FUNC(i64 3, i64 4, i64 3)\n %121 = load i32, i32* @gv_13, align 4\n %122 = call i128 @__asm_movss.1(i32 %121)\n %123 = call i128 @__asm_movss.1(i32 -2147483648)\n %124 = call i128 @FUNC(i128 %122, i128 %123)\n %125 = call i32 @__asm_movd.2(i128 %124)\n %126 = call i128 @FUNC(i32 %125)\n %127 = call i64 @FUNC(i64 11, i64 12, i64 3)\n %128 = load i32, i32* @gv_13, align 4\n %129 = call i128 @FUNC(i32 %128)\n %130 = call i64 @FUNC(i64 19, i64 20, i64 3)\n %131 = load i32, i32* @gv_13, align 4\n %132 = call i128 @__asm_movss.1(i32 %131)\n %133 = call i128 @__asm_movss.1(i32 -2147483648)\n %134 = call i128 @FUNC(i128 %132, i128 %133)\n %135 = call i32 @__asm_movd.2(i128 %134)\n %136 = call i128 @FUNC(i32 %135)\n %137 = call i64 @FUNC(i64 27, i64 28, i64 3)\n %138 = load i32, i32* @gv_14, align 4\n %139 = call i128 @FUNC(i32 %138)\n %140 = call i64 @FUNC(i64 0, i64 3, i64 1)\n %141 = load i32, i32* @gv_14, align 4\n %142 = call i128 @__asm_movss.1(i32 %141)\n %143 = call i128 @__asm_movss.1(i32 -2147483648)\n %144 = call i128 @FUNC(i128 %142, i128 %143)\n %145 = call i32 @__asm_movd.2(i128 %144)\n %146 = call i128 @FUNC(i32 %145)\n %147 = call i64 @FUNC(i64 4, i64 7, i64 1)\n %148 = load i32, i32* @gv_14, align 4\n %149 = call i128 @FUNC(i32 %148)\n %150 = call i64 @FUNC(i64 8, i64 11, i64 1)\n %151 = load i32, i32* @gv_14, align 4\n %152 = call i128 @__asm_movss.1(i32 %151)\n %153 = call i128 @__asm_movss.1(i32 -2147483648)\n %154 = call i128 @FUNC(i128 %152, i128 %153)\n %155 = call i32 @__asm_movd.2(i128 %154)\n %156 = call i128 @FUNC(i32 %155)\n %157 = call i64 @FUNC(i64 12, i64 15, i64 1)\n %158 = load i32, i32* @gv_14, align 4\n %159 = call i128 @FUNC(i32 %158)\n %160 = call i64 @FUNC(i64 16, i64 19, i64 1)\n %161 = load i32, i32* @gv_14, align 4\n %162 = call i128 @__asm_movss.1(i32 %161)\n %163 = call i128 @__asm_movss.1(i32 -2147483648)\n %164 = call i128 @FUNC(i128 %162, i128 %163)\n %165 = call i32 @__asm_movd.2(i128 %164)\n %166 = call i128 @FUNC(i32 %165)\n %167 = call i64 @FUNC(i64 20, i64 23, i64 1)\n %168 = load i32, i32* @gv_14, align 4\n %169 = call i128 @FUNC(i32 %168)\n %170 = call i64 @FUNC(i64 24, i64 27, i64 1)\n %171 = load i32, i32* @gv_14, align 4\n %172 = call i128 @__asm_movss.1(i32 %171)\n %173 = call i128 @__asm_movss.1(i32 -2147483648)\n %174 = call i128 @FUNC(i128 %172, i128 %173)\n %175 = call i32 @__asm_movd.2(i128 %174)\n %176 = call i128 @FUNC(i32 %175)\n %177 = call i64 @FUNC(i64 28, i64 31, i64 1)\n %178 = load i32, i32* @gv_15, align 4\n %179 = call i128 @FUNC(i32 %178)\n %180 = call i64 @FUNC(i64 1, i64 30, i64 1)\n %181 = load i32, i32* @gv_16, align 4\n %182 = call i128 @FUNC(i32 %181)\n %183 = call i64 @FUNC(i64 14, i64 17, i64 3)\n %184 = load i32, i32* @gv_17, align 4\n %185 = call i128 @FUNC(i32 %184)\n %186 = call i64 @FUNC(i64 1, i64 14, i64 1)\n %187 = load i32, i32* @gv_17, align 4\n %188 = call i128 @__asm_movss.1(i32 %187)\n %189 = call i128 @__asm_movss.1(i32 -2147483648)\n %190 = call i128 @FUNC(i128 %188, i128 %189)\n %191 = call i32 @__asm_movd.2(i128 %190)\n %192 = call i128 @FUNC(i32 %191)\n %193 = call i64 @FUNC(i64 17, i64 30, i64 1)\n %194 = load i32, i32* @gv_18, align 4\n %195 = call i128 @FUNC(i32 %194)\n %196 = call i64 @FUNC(i64 6, i64 25, i64 1)\n %197 = load i32, i32* @gv_19, align 4\n %198 = call i128 @FUNC(i32 %197)\n %199 = call i64 @FUNC(i64 9, i64 22, i64 1)\n %200 = load i32, i32* @gv_20, align 4\n %201 = call i128 @FUNC(i32 %200)\n %202 = call i64 @FUNC(i64 6, i64 9, i64 2)\n %203 = load i32, i32* @gv_20, align 4\n %204 = call i128 @__asm_movss.1(i32 %203)\n %205 = call i128 @__asm_movss.1(i32 -2147483648)\n %206 = call i128 @FUNC(i128 %204, i128 %205)\n %207 = call i32 @__asm_movd.2(i128 %206)\n %208 = call i128 @FUNC(i32 %207)\n %209 = call i64 @FUNC(i64 22, i64 25, i64 2)\n %210 = load i32, i32* @gv_21, align 4\n %211 = call i128 @FUNC(i32 %210)\n %212 = call i64 @FUNC(i64 1, i64 6, i64 1)\n %213 = load i32, i32* @gv_21, align 4\n %214 = call i128 @__asm_movss.1(i32 %213)\n %215 = call i128 @__asm_movss.1(i32 -2147483648)\n %216 = call i128 @FUNC(i128 %214, i128 %215)\n %217 = call i32 @__asm_movd.2(i128 %216)\n %218 = call i128 @FUNC(i32 %217)\n %219 = call i64 @FUNC(i64 9, i64 14, i64 1)\n %220 = load i32, i32* @gv_21, align 4\n %221 = call i128 @FUNC(i32 %220)\n %222 = call i64 @FUNC(i64 17, i64 22, i64 1)\n %223 = load i32, i32* @gv_21, align 4\n %224 = call i128 @__asm_movss.1(i32 %223)\n %225 = call i128 @__asm_movss.1(i32 -2147483648)\n %226 = call i128 @FUNC(i128 %224, i128 %225)\n %227 = call i32 @__asm_movd.2(i128 %226)\n %228 = call i128 @FUNC(i32 %227)\n %229 = call i64 @FUNC(i64 25, i64 30, i64 1)\n %230 = load i32, i32* @gv_22, align 4\n %231 = call i128 @FUNC(i32 %230)\n %232 = call i64 @FUNC(i64 2, i64 29, i64 1)\n %233 = load i32, i32* @gv_23, align 4\n %234 = call i128 @FUNC(i32 %233)\n %235 = call i64 @FUNC(i64 13, i64 18, i64 3)\n %236 = load i32, i32* @gv_24, align 4\n %237 = call i128 @FUNC(i32 %236)\n %238 = call i64 @FUNC(i64 2, i64 13, i64 1)\n %239 = load i32, i32* @gv_24, align 4\n %240 = call i128 @__asm_movss.1(i32 %239)\n %241 = call i128 @__asm_movss.1(i32 -2147483648)\n %242 = call i128 @FUNC(i128 %240, i128 %241)\n %243 = call i32 @__asm_movd.2(i128 %242)\n %244 = call i128 @FUNC(i32 %243)\n %245 = call i64 @FUNC(i64 18, i64 29, i64 1)\n %246 = load i32, i32* @gv_25, align 4\n %247 = call i128 @FUNC(i32 %246)\n %248 = call i64 @FUNC(i64 5, i64 26, i64 1)\n %249 = load i32, i32* @gv_26, align 4\n %250 = call i128 @FUNC(i32 %249)\n %251 = call i64 @FUNC(i64 10, i64 21, i64 1)\n %252 = load i32, i32* @gv_27, align 4\n %253 = call i128 @FUNC(i32 %252)\n %254 = call i64 @FUNC(i64 5, i64 10, i64 2)\n %255 = load i32, i32* @gv_27, align 4\n %256 = call i128 @__asm_movss.1(i32 %255)\n %257 = call i128 @__asm_movss.1(i32 -2147483648)\n %258 = call i128 @FUNC(i128 %256, i128 %257)\n %259 = call i32 @__asm_movd.2(i128 %258)\n %260 = call i128 @FUNC(i32 %259)\n %261 = call i64 @FUNC(i64 21, i64 26, i64 2)\n %262 = load i32, i32* @gv_28, align 4\n %263 = call i128 @FUNC(i32 %262)\n %264 = call i64 @FUNC(i64 2, i64 5, i64 1)\n %265 = load i32, i32* @gv_28, align 4\n %266 = call i128 @__asm_movss.1(i32 %265)\n %267 = call i128 @__asm_movss.1(i32 -2147483648)\n %268 = call i128 @FUNC(i128 %266, i128 %267)\n %269 = call i32 @__asm_movd.2(i128 %268)\n %270 = call i128 @FUNC(i32 %269)\n %271 = call i64 @FUNC(i64 10, i64 13, i64 1)\n %272 = load i32, i32* @gv_28, align 4\n %273 = call i128 @FUNC(i32 %272)\n %274 = call i64 @FUNC(i64 18, i64 21, i64 1)\n %275 = load i32, i32* @gv_28, align 4\n %276 = call i128 @__asm_movss.1(i32 %275)\n %277 = call i128 @__asm_movss.1(i32 -2147483648)\n %278 = call i128 @FUNC(i128 %276, i128 %277)\n %279 = call i32 @__asm_movd.2(i128 %278)\n %280 = call i128 @FUNC(i32 %279)\n %281 = call i64 @FUNC(i64 26, i64 29, i64 1)\n %282 = load i32, i32* inttoptr (i64 4210836 to i32*), align 4\n %283 = call i128 @FUNC(i32 %282)\n %284 = call i64 @FUNC(i64 1, i64 2, i64 2)\n %285 = load i32, i32* @gv_29, align 4\n %286 = call i128 @__asm_movss.1(i32 %285)\n %287 = call i128 @__asm_movss.1(i32 -2147483648)\n %288 = call i128 @FUNC(i128 %286, i128 %287)\n %289 = call i32 @__asm_movd.2(i128 %288)\n %290 = call i128 @FUNC(i32 %289)\n %291 = call i64 @FUNC(i64 5, i64 6, i64 2)\n %292 = load i32, i32* @gv_29, align 4\n %293 = call i128 @FUNC(i32 %292)\n %294 = call i64 @FUNC(i64 9, i64 10, i64 2)\n %295 = load i32, i32* @gv_29, align 4\n %296 = call i128 @__asm_movss.1(i32 %295)\n %297 = call i128 @__asm_movss.1(i32 -2147483648)\n %298 = call i128 @FUNC(i128 %296, i128 %297)\n %299 = call i32 @__asm_movd.2(i128 %298)\n %300 = call i128 @FUNC(i32 %299)\n %301 = call i64 @FUNC(i64 13, i64 14, i64 2)\n %302 = load i32, i32* @gv_29, align 4\n %303 = call i128 @FUNC(i32 %302)\n %304 = call i64 @FUNC(i64 17, i64 18, i64 2)\n %305 = load i32, i32* @gv_29, align 4\n %306 = call i128 @__asm_movss.1(i32 %305)\n %307 = call i128 @__asm_movss.1(i32 -2147483648)\n %308 = call i128 @FUNC(i128 %306, i128 %307)\n %309 = call i32 @__asm_movd.2(i128 %308)\n %310 = call i128 @FUNC(i32 %309)\n %311 = call i64 @FUNC(i64 21, i64 22, i64 2)\n %312 = load i32, i32* @gv_29, align 4\n %313 = call i128 @FUNC(i32 %312)\n %314 = call i64 @FUNC(i64 25, i64 26, i64 2)\n %315 = load i32, i32* @gv_29, align 4\n %316 = call i128 @__asm_movss.1(i32 %315)\n %317 = call i128 @__asm_movss.1(i32 -2147483648)\n %318 = call i128 @FUNC(i128 %316, i128 %317)\n %319 = call i32 @__asm_movd.2(i128 %318)\n %320 = call i128 @FUNC(i32 %319)\n %321 = call i64 @FUNC(i64 29, i64 30, i64 2)\n %322 = call i64 @FUNC(i64 0, i64 1, i64 2, i64 3)\n %323 = call i64 @FUNC(i64 4, i64 5, i64 6, i64 7)\n %324 = call i64 @FUNC(i64 8, i64 9, i64 10, i64 11)\n %325 = call i64 @FUNC(i64 12, i64 13, i64 14, i64 15)\n %326 = call i64 @FUNC(i64 16, i64 17, i64 18, i64 19)\n %327 = call i64 @FUNC(i64 20, i64 21, i64 22, i64 23)\n %328 = call i64 @FUNC(i64 24, i64 25, i64 26, i64 27)\n %329 = call i64 @FUNC(i64 28, i64 29, i64 30, i64 31)\n %330 = call i64 @FUNC(i64 8, i64 12)\n %331 = call i64 @FUNC(i64 12, i64 10)\n %332 = call i64 @FUNC(i64 10, i64 14)\n %333 = call i64 @FUNC(i64 14, i64 9)\n %334 = call i64 @FUNC(i64 9, i64 13)\n %335 = call i64 @FUNC(i64 13, i64 11)\n %336 = call i64 @FUNC(i64 11, i64 15)\n %337 = call i128 @__asm_movss.1(i32 %33)\n %338 = call i64 @FUNC(i128 %337)\n %339 = trunc i64 %338 to i32\n %340 = bitcast i64* %arg1 to i32*\n store i32 %339, i32* %340, align 4\n %341 = add i64 %1, 64\n %342 = call i128 @__asm_movss.1(i32 %32)\n %343 = call i64 @FUNC(i128 %342)\n %344 = trunc i64 %343 to i32\n %345 = inttoptr i64 %341 to i32*\n store i32 %344, i32* %345, align 4\n %346 = add i64 %1, 32\n %347 = call i128 @__asm_movss.1(i32 %31)\n %348 = call i64 @FUNC(i128 %347)\n %349 = trunc i64 %348 to i32\n %350 = inttoptr i64 %346 to i32*\n store i32 %349, i32* %350, align 4\n %351 = add i64 %1, 96\n %352 = call i128 @__asm_movss.1(i32 %30)\n %353 = call i64 @FUNC(i128 %352)\n %354 = trunc i64 %353 to i32\n %355 = inttoptr i64 %351 to i32*\n store i32 %354, i32* %355, align 4\n %356 = add i64 %1, 16\n %357 = call i128 @__asm_movss.1(i32 %29)\n %358 = call i64 @FUNC(i128 %357)\n %359 = trunc i64 %358 to i32\n %360 = inttoptr i64 %356 to i32*\n store i32 %359, i32* %360, align 4\n %361 = add i64 %1, 80\n %362 = call i128 @__asm_movss.1(i32 %28)\n %363 = call i64 @FUNC(i128 %362)\n %364 = trunc i64 %363 to i32\n %365 = inttoptr i64 %361 to i32*\n store i32 %364, i32* %365, align 4\n %366 = add i64 %1, 48\n %367 = call i128 @__asm_movss.1(i32 %27)\n %368 = call i64 @FUNC(i128 %367)\n %369 = trunc i64 %368 to i32\n %370 = inttoptr i64 %366 to i32*\n store i32 %369, i32* %370, align 4\n %371 = add i64 %1, 112\n %372 = call i128 @__asm_movss.1(i32 %26)\n %373 = call i64 @FUNC(i128 %372)\n %374 = trunc i64 %373 to i32\n %375 = inttoptr i64 %371 to i32*\n store i32 %374, i32* %375, align 4\n %376 = add i64 %1, 8\n %377 = call i128 @__asm_movss.1(i32 %25)\n %378 = call i64 @FUNC(i128 %377)\n %379 = trunc i64 %378 to i32\n %380 = inttoptr i64 %376 to i32*\n store i32 %379, i32* %380, align 4\n %381 = add i64 %1, 72\n %382 = call i128 @__asm_movss.1(i32 %24)\n %383 = call i64 @FUNC(i128 %382)\n %384 = trunc i64 %383 to i32\n %385 = inttoptr i64 %381 to i32*\n store i32 %384, i32* %385, align 4\n %386 = add i64 %1, 40\n %387 = call i128 @__asm_movss.1(i32 %23)\n %388 = call i64 @FUNC(i128 %387)\n %389 = trunc i64 %388 to i32\n %390 = inttoptr i64 %386 to i32*\n store i32 %389, i32* %390, align 4\n %391 = add i64 %1, 104\n %392 = call i128 @__asm_movss.1(i32 %22)\n %393 = call i64 @FUNC(i128 %392)\n %394 = trunc i64 %393 to i32\n %395 = inttoptr i64 %391 to i32*\n store i32 %394, i32* %395, align 4\n %396 = add i64 %1, 24\n %397 = call i128 @__asm_movss.1(i32 %21)\n %398 = call i64 @FUNC(i128 %397)\n %399 = trunc i64 %398 to i32\n %400 = inttoptr i64 %396 to i32*\n store i32 %399, i32* %400, align 4\n %401 = add i64 %1, 88\n %402 = call i128 @__asm_movss.1(i32 %20)\n %403 = call i64 @FUNC(i128 %402)\n %404 = trunc i64 %403 to i32\n %405 = inttoptr i64 %401 to i32*\n store i32 %404, i32* %405, align 4\n %406 = add i64 %1, 56\n %407 = call i128 @__asm_movss.1(i32 %19)\n %408 = call i64 @FUNC(i128 %407)\n %409 = trunc i64 %408 to i32\n %410 = inttoptr i64 %406 to i32*\n store i32 %409, i32* %410, align 4\n %411 = add i64 %1, 120\n %412 = call i128 @__asm_movss.1(i32 %18)\n %413 = call i64 @FUNC(i128 %412)\n %414 = trunc i64 %413 to i32\n %415 = inttoptr i64 %411 to i32*\n store i32 %414, i32* %415, align 4\n %416 = call i64 @FUNC(i64 24, i64 28)\n %417 = call i64 @FUNC(i64 28, i64 26)\n %418 = call i64 @FUNC(i64 26, i64 30)\n %419 = call i64 @FUNC(i64 30, i64 25)\n %420 = call i64 @FUNC(i64 25, i64 29)\n %421 = call i64 @FUNC(i64 29, i64 27)\n %422 = call i64 @FUNC(i64 27, i64 31)\n %423 = add i64 %1, 4\n %424 = call i128 @__asm_movss.1(i32 %17)\n %425 = call i128 @FUNC(i128 %424, i32 %16)\n %426 = call i64 @FUNC(i128 %425)\n %427 = trunc i64 %426 to i32\n %428 = inttoptr i64 %423 to i32*\n store i32 %427, i32* %428, align 4\n %429 = add i64 %1, 68\n %430 = call i128 @__asm_movss.1(i32 %15)\n %431 = call i128 @FUNC(i128 %430, i32 %14)\n %432 = call i64 @FUNC(i128 %431)\n %433 = trunc i64 %432 to i32\n %434 = inttoptr i64 %429 to i32*\n store i32 %433, i32* %434, align 4\n %435 = add i64 %1, 36\n %436 = call i128 @__asm_movss.1(i32 %13)\n %437 = call i128 @FUNC(i128 %436, i32 %12)\n %438 = call i64 @FUNC(i128 %437)\n %439 = trunc i64 %438 to i32\n %440 = inttoptr i64 %435 to i32*\n store i32 %439, i32* %440, align 4\n %441 = add i64 %1, 100\n %442 = call i128 @__asm_movss.1(i32 %11)\n %443 = call i128 @FUNC(i128 %442, i32 %10)\n %444 = call i64 @FUNC(i128 %443)\n %445 = trunc i64 %444 to i32\n %446 = inttoptr i64 %441 to i32*\n store i32 %445, i32* %446, align 4\n %447 = add i64 %1, 20\n %448 = call i128 @__asm_movss.1(i32 %9)\n %449 = call i128 @FUNC(i128 %448, i32 %8)\n %450 = call i64 @FUNC(i128 %449)\n %451 = trunc i64 %450 to i32\n %452 = inttoptr i64 %447 to i32*\n store i32 %451, i32* %452, align 4\n %453 = add i64 %1, 84\n %454 = call i128 @__asm_movss.1(i32 %7)\n %455 = call i128 @FUNC(i128 %454, i32 %6)\n %456 = call i64 @FUNC(i128 %455)\n %457 = trunc i64 %456 to i32\n %458 = inttoptr i64 %453 to i32*\n store i32 %457, i32* %458, align 4\n %459 = add i64 %1, 52\n %460 = call i128 @__asm_movss.1(i32 %5)\n %461 = call i128 @FUNC(i128 %460, i32 %4)\n %462 = call i64 @FUNC(i128 %461)\n %463 = trunc i64 %462 to i32\n %464 = inttoptr i64 %459 to i32*\n store i32 %463, i32* %464, align 4\n %465 = add i64 %1, 116\n %466 = call i128 @__asm_movss.1(i32 %3)\n %467 = call i128 @FUNC(i128 %466, i32 %2)\n %468 = call i64 @FUNC(i128 %467)\n %469 = trunc i64 %468 to i32\n %470 = inttoptr i64 %465 to i32*\n store i32 %469, i32* %470, align 4\n %471 = add i64 %1, 12\n %472 = call i128 @__asm_movss.1(i32 %16)\n %473 = call i128 @FUNC(i128 %472, i32 %9)\n %474 = call i64 @FUNC(i128 %473)\n %475 = trunc i64 %474 to i32\n %476 = inttoptr i64 %471 to i32*\n store i32 %475, i32* %476, align 4\n %477 = add i64 %1, 76\n %478 = call i128 @__asm_movss.1(i32 %14)\n %479 = call i128 @FUNC(i128 %478, i32 %7)\n %480 = call i64 @FUNC(i128 %479)\n %481 = trunc i64 %480 to i32\n %482 = inttoptr i64 %477 to i32*\n store i32 %481, i32* %482, align 4\n %483 = add i64 %1, 44\n %484 = call i128 @__asm_movss.1(i32 %12)\n %485 = call i128 @FUNC(i128 %484, i32 %5)\n %486 = call i64 @FUNC(i128 %485)\n %487 = trunc i64 %486 to i32\n %488 = inttoptr i64 %483 to i32*\n store i32 %487, i32* %488, align 4\n %489 = add i64 %1, 108\n %490 = call i128 @__asm_movss.1(i32 %10)\n %491 = call i128 @FUNC(i128 %490, i32 %3)\n %492 = call i64 @FUNC(i128 %491)\n %493 = trunc i64 %492 to i32\n %494 = inttoptr i64 %489 to i32*\n store i32 %493, i32* %494, align 4\n %495 = add i64 %1, 28\n %496 = call i128 @__asm_movss.1(i32 %8)\n %497 = call i128 @FUNC(i128 %496, i32 %13)\n %498 = call i64 @FUNC(i128 %497)\n %499 = trunc i64 %498 to i32\n %500 = inttoptr i64 %495 to i32*\n store i32 %499, i32* %500, align 4\n %501 = add i64 %1, 92\n %502 = call i128 @__asm_movss.1(i32 %6)\n %503 = call i128 @FUNC(i128 %502, i32 %11)\n %504 = call i64 @FUNC(i128 %503)\n %505 = trunc i64 %504 to i32\n %506 = inttoptr i64 %501 to i32*\n store i32 %505, i32* %506, align 4\n %507 = add i64 %1, 60\n %508 = call i128 @__asm_movss.1(i32 %4)\n %509 = call i128 @FUNC(i128 %508, i32 %15)\n %510 = call i64 @FUNC(i128 %509)\n %511 = trunc i64 %510 to i32\n %512 = inttoptr i64 %507 to i32*\n store i32 %511, i32* %512, align 4\n %513 = add i64 %1, 124\n %514 = call i128 @__asm_movss.1(i32 %2)\n %515 = call i64 @FUNC(i128 %514)\n %516 = trunc i64 %515 to i32\n %517 = inttoptr i64 %513 to i32*\n store i32 %516, i32* %517, align 4\n ret i64 %513\n\n uselistorder i64 %513, { 1, 0 }\n uselistorder i32* %0, { 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 }\n uselistorder i64 (i64, i64)* @ADD, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @BF2, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @BF1, { 3, 2, 1, 0 }\n uselistorder i32* @gv_29, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* @gv_28, { 3, 2, 1, 0 }\n uselistorder i32* @gv_27, { 1, 0 }\n uselistorder i32* @gv_24, { 1, 0 }\n uselistorder i32* @gv_21, { 3, 2, 1, 0 }\n uselistorder i32* @gv_20, { 1, 0 }\n uselistorder i32* @gv_17, { 1, 0 }\n uselistorder i32* @gv_14, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* @gv_13, { 3, 2, 1, 0 }\n uselistorder i32* @gv_12, { 1, 0 }\n uselistorder i64 20, { 5, 0, 1, 2, 3, 4 }\n uselistorder i32* @gv_9, { 1, 0 }\n uselistorder i64 2, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18 }\n uselistorder i64 12, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 28, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 3, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10 }\n uselistorder i32* @gv_6, { 3, 2, 1, 0 }\n uselistorder i64 4, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i32* @gv_5, { 1, 0 }\n uselistorder i64 8, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i64 24, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 (i64, i64, i64)* @BF, { 47, 46, 45, 44, 43, 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 }\n uselistorder i32* @gv_2, { 1, 0 }\n uselistorder i64 16, { 5, 0, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @BF0, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 14, 16, 17, 18, 20, 19, 22, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dissect_mac_fdd_dch_18553", "fun_name": "dissect_mac_fdd_dch", "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 = 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 br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg3, i64 7, i64 %arg1, i64 0, i64 4294967295, i64 0)\n %8 = call i64 @FUNC(i64 %7, i64 6)\n %9 = add i64 %arg2, 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 %12, i64 7)\n %14 = load i32, i32* %10, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15, i64 8)\n %17 = icmp ne i64 %13, 0\n %18 = icmp eq i64 %16, 0\n %19 = icmp eq i1 %18, false\n %or.cond = icmp eq i1 %17, %19\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %8, i64 %arg1, i64 0, i64 4294967295, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0))\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %21 = inttoptr i64 %16 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = inttoptr i64 %13 to i64*\n %24 = load i64, i64* %23, align 8\n %.mask = mul i32 %22, 4\n %25 = and i32 %.mask, 262140\n %26 = zext i32 %25 to i64\n %27 = add i64 %24, %26\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 %arg1, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %8, i64 9, i64 %arg1, i64 0, i64 4, i64 0)\n %32 = add i64 %16, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, %26\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i32 %37, -4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %arg1, i64 4, i64 %39)\n %41 = call i64 @FUNC(i64 %arg2, i64 %40, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n store i64 %40, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %42 = add i64 %13, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %44, %26\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 3\n br i1 %48, label LBL_11, label LBL_7\n LBL_7:\n %49 = icmp sgt i32 %47, 3\n br i1 %49, label LBL_12, label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n switch i32 %47, label LBL_12 [\n i32 1, label LBL_9\n i32 2, label LBL_10\n ]\n LBL_9:\n %50 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))\n %51 = call i64 @FUNC(i64 %8, i64 10, i64 %arg1, i64 0, i64 0, i64 4)\n %52 = call i64 @FUNC(i64 %51)\n %53 = load i32, i32* bitcast (i64* @gv_4 to i32*), align 8\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %54, i64 %sv_0.0.reload, i64 %arg2, i64 %arg3)\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %56 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0))\n %57 = call i64 @FUNC(i64 %8, i64 10, i64 %arg1, i64 0, i64 0, i64 5)\n %58 = call i64 @FUNC(i64 %57)\n %59 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i64 %60, i64 %sv_0.0.reload, i64 %arg2, i64 %arg3)\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %62 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0))\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %63 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0))\n store i64 %63, 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_0.0.reload, { 1, 0 }\n uselistorder i64 %26, { 1, 2, 0 }\n uselistorder i64 %16, { 1, 2, 0 }\n uselistorder i64 %8, { 1, 2, 0, 3 }\n uselistorder i64 %7, { 2, 3, 0, 1, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64 (i64, i64, i64, i64)* @call_dissector, { 1, 0 }\n uselistorder i64 (i64)* @PROTO_ITEM_SET_GENERATED, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @proto_tree_add_uint, { 1, 0 }\n uselistorder i64 (i64, i8*)* @proto_item_append_text, { 3, 2, 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @p_get_proto_data, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2, 3 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 0, 3 }\n uselistorder i64 %arg1, { 3, 4, 2, 1, 0, 5, 6 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__glXDisp_CreatePbuffer_10526", "fun_name": "__glXDisp_CreatePbuffer", "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 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.13.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* %arg2 to i64\n %4 = trunc i64 %2 to i32\n %5 = icmp eq i32 %4, 0\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = add i64 %3, 16\n %7 = and i64 %2, 4294967295\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n store i32 0, i32* %sv_1.13.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %8 = mul i32 %storemerge5.reload, 2\n %9 = sext i32 %8 to i64\n %10 = mul i64 %9, 4\n %11 = add i64 %10, %6\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp ugt i32 %13, 4\n %15 = icmp ult i32 %13, 3\n %16 = icmp eq i1 %15, false\n %or.cond = or i1 %14, %16\n store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_3\n LBL_3:\n store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n switch i32 %13, label LBL_6 [\n i32 1, label LBL_4\n i32 2, label LBL_5\n ]\n LBL_4:\n %17 = or i32 %8, 1\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 4\n %20 = add i64 %19, %6\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n store i32 %22, i32* %sv_1.0.reg2mem\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %23 = or i32 %8, 1\n %24 = sext i32 %23 to i64\n %25 = mul i64 %24, 4\n %26 = add i64 %25, %6\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem\n store i32 %28, 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 %29 = add i32 %storemerge5.reload, 1\n %30 = sext i32 %29 to i64\n %31 = icmp sgt i64 %7, %30\n store i32 %29, i32* %storemerge5.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.13.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 %31, label LBL_2, label LBL_7\n LBL_7:\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 %32 = add i64 %3, 4\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %3, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %3, 8\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %34 to i64\n %42 = zext i32 %sv_0.1.lcssa.reload to i64\n %43 = and i64 %1, 4294967295\n %44 = call i64 @FUNC(i64 %43, i32 %40, i32 %37, i32 %sv_1.1.lcssa.reload, i64 %42, i64 %41)\n ret i64 %44\n\n uselistorder i32 %13, { 1, 2, 0 }\n uselistorder i32 %8, { 2, 1, 0 }\n uselistorder i32 %sv_0.14.reload, { 2, 0, 1 }\n uselistorder i32 %sv_1.13.reload, { 2, 0, 1 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1, 5 }\n uselistorder label LBL_6, { 2, 3, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_pkt_1342", "fun_name": "check_pkt", "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 %r8.0.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 = add i64 %2, 24\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = sext i32 %6 to i64\n %8 = mul nsw i64 %7, 48\n %9 = add i64 %8, %3\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 = add i64 %9, 40\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = sext i32 %11 to i64\n %17 = mul i64 %16, 8\n %18 = add nsw i64 %17, -8\n %19 = add i64 %18, %15\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n store i64 %21, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_2:\n %22 = add i64 %9, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, -1\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_5, label LBL_3\n LBL_3:\n %26 = add i64 %9, 32\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 store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = add i64 %9, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %33, %24\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 %35 = add i64 %9, 24\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, -1\n %39 = select i1 %38, i64 0, i64 %37\n %spec.select = sub i64 %sv_0.0.reload, %39\n %40 = sub i64 %2, %spec.select\n %41 = icmp sle i64 %spec.select, %2\n %42 = icmp ult i64 %40, 2147483647\n %or.cond = icmp eq i1 %41, %42\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %43 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @gv_0, i64 0, i64 0), i64 %40, i64 %2, i64 %1)\n %44 = add i64 %spec.select, 1\n store i64 %44, i64* %arg2, align 8\n %45 = add i64 %2, 8\n %46 = inttoptr i64 %45 to i64*\n store i64 -1, i64* %46, align 8\n store i64 %2, i64* %r8.0.reg2mem\n br label LBL_7\n LBL_7:\n %47 = add i64 %2, 16\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp ult i64 %49, 2147483648\n store i64 0, i64* %storemerge.reg2mem\n br i1 %50, label LBL_9, label LBL_8\n LBL_8:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %51 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %49, i64 %r8.0.reload, i64 %1)\n store i64 4294967274, 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 %49, { 1, 0 }\n uselistorder i64 %spec.select, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 6, 0, 4, 5, 3, 7, 2, 1, 8 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 -1, { 2, 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "t1_stop_eexec_9729", "fun_name": "t1_stop_eexec", "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 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC()\n %8 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4\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 1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %11 = call i64 @FUNC()\n %12 = urem i64 %11, 256\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n store i64 %13, i64* %rax.0.reg2mem\n store i64 %13, i64* %rax.0.reg2mem\n switch i32 %14, label LBL_5 [\n i32 13, label LBL_8\n i32 10, label LBL_8\n ]\n LBL_5:\n %15 = load i32, i32* @gv_2, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0))\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0))\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i8 0, i8* bitcast (i64* @gv_5 to i8*), align 8\n store i32 2, i32* inttoptr (i64 4210780 to i32*), align 4\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 5, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 2, 3, 0, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jiffies_to_timeval_10473", "fun_name": "jiffies_to_timeval", "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 i128, align 8\n %1 = mul i64 %arg1, 10000000\n %2 = bitcast i128* %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %1, i64 1000000000, i64* nonnull %2)\n %4 = and i64 %3, 4294967295\n store i64 %4, i64* %arg2, align 8\n %5 = load i128, i128* %sv_0, align 8\n %6 = trunc i128 %5 to i64\n %7 = and i64 %6, 4294967295\n %8 = mul nuw nsw i64 %7, 274877907\n %9 = udiv i64 %8, 274877906944\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pid_getattr_7144", "fun_name": "pid_getattr", "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 = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 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 i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %1, i64 %0)\n %8 = call i64 @FUNC()\n %9 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %1)\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_6, label LBL_1\n LBL_1:\n %16 = call i64 @FUNC(i64 %6, i64 %14, 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_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC()\n store i64 4294967294, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_3:\n %21 = bitcast i64* %rsi to i32*\n %22 = load i32, i32* %21, align 8\n %23 = icmp eq i32 %22, 16749\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %14)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %14)\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n store i32 %29, i32* %9, align 4\n %30 = add i64 %27, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n store i32 %32, i32* %11, align 4\n br label LBL_6\n LBL_6:\n %33 = call i64 @FUNC()\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 %14, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_user_cleanup_344", "fun_name": "vhost_user_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, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 29, 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 = 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 i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp slt i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %11, i64 0, i64 0, i64 0)\n %13 = load i32, i32* %8, align 4\n %14 = call i32 @close(i32 %13)\n store i32 -1, i32* %8, align 4\n br label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %6, align 8\n ret i64 0\n\n uselistorder i32* %8, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_ali_playback_pointer_4810", "fun_name": "snd_ali_playback_pointer", "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 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %6 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_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %14 = trunc i64 %1 to i32\n %15 = call i64 @FUNC(i64 %3, i64 0)\n %16 = add i64 %6, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i64 %15, 4294967295\n %20 = zext i32 %18 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %19)\n %22 = call i64 @FUNC(i64 %3, i64 3)\n %23 = and i64 %22, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = call i64 @FUNC(i64 %7)\n %27 = inttoptr i64 %3 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 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i32 %25)\n %32 = urem i32 %25, %14\n %.zext = zext i32 %32 to i64\n store i64 %.zext, 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 %7, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @ALI_REG, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypt_alloc_tfms_4142", "fun_name": "crypt_alloc_tfms", "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 %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = mul i64 %1, 8\n %4 = and i64 %3, 34359738360\n %5 = call i64 @FUNC(i64 %4, i64 0)\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 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_5\n LBL_1:\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 %5, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_5, label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = zext i32 %storemerge1.reload to i64\n %14 = mul i64 %13, 8\n %15 = add i64 %14, %.reload\n %16 = call i64 @FUNC(i64 %arg2, i64 0, i64 0)\n %17 = inttoptr i64 %15 to i64*\n store i64 %16, i64* %17, align 8\n %18 = load i64, i64* %7, align 8\n %19 = add i64 %18, %14\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp ult i64 %21, -1000\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %2)\n %24 = and i64 %21, 4294967295\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %25 = add i32 %storemerge1.reload, 1\n %26 = load i32, i32* %10, align 8\n %27 = icmp ult i32 %25, %26\n store i64 %18, i64* %.reg2mem\n store i32 %25, i32* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_2, 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 i32* %10, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 0, 3, 1, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "erase_screen_5186", "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 store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\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 = add i64 %12, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = mul i32 %17, %storemerge2.reload\n %19 = sext i32 %18 to i64\n %20 = add i64 %14, %19\n %21 = inttoptr i64 %20 to i64*\n %22 = call i64* @memset(i64* %21, i32 0, i32 %10)\n %23 = add i32 %storemerge2.reload, 1\n %24 = load i32, i32* %7, 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* %storemerge2.reg2mem\n br i1 %27, label LBL_2, label LBL_3\n LBL_3:\n %28 = add i64 %5, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %5, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n ret i64 %5\n\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 2, 4, 3, 0, 1 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvbsub_probe_1962", "fun_name": "dvbsub_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem40 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem38 = alloca i32\n %sv_1.013.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge4.lcssa.reg2mem = alloca i32\n %.reg2mem36 = alloca i64\n %.reg2mem34 = alloca i64\n %storemerge4823.reg2mem = alloca i32\n %sv_0.115.reg2mem = alloca i32\n %storemerge216.reg2mem = alloca i32\n %.reg2mem32 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, 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 = icmp eq i32 %3, 0\n br i1 %4, label LBL_14.thread, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %sv_2 to i64\n %6 = sext i32 %3 to i64\n %7 = add i64 %6, %0\n %8 = add i64 %5, -70\n %9 = add i64 %5, -54\n store i32 %3, i32* %.reg2mem\n store i64 0, i64* %.reg2mem32\n store i32 0, i32* %storemerge216.reg2mem\n store i32 0, i32* %sv_0.115.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem\n %storemerge216.reload = load i32, i32* %storemerge216.reg2mem\n %.reload33 = load i64, i64* %.reg2mem32\n %.reload = load i32, i32* %.reg2mem\n %10 = add i64 %.reload33, %0\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 15\n %14 = icmp eq i1 %13, false\n store i32 %.reload, i32* %.reg2mem38\n store i32 %sv_0.115.reload, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_13, label LBL_3\n LBL_3:\n %15 = sub i64 %7, %10\n %16 = icmp sgt i64 %15, 6\n store i32 0, i32* %storemerge4823.reg2mem\n store i64 %10, i64* %.reg2mem34\n store i64 %15, i64* %.reg2mem36\n store i32 0, i32* %storemerge4.lcssa.reg2mem\n br i1 %16, label LBL_4, label LBL_10\n LBL_4:\n %.reload37 = load i64, i64* %.reg2mem36\n %.reload35 = load i64, i64* %.reg2mem34\n %storemerge4823.reload = load i32, i32* %storemerge4823.reg2mem\n %17 = add i64 %.reload35, 1\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = add i64 %.reload35, 4\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = add i64 %.reload35, 5\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %19, -128\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %.off = add i8 %19, -16\n %27 = icmp ugt i8 %.off, 4\n store i32 %storemerge4823.reload, i32* %storemerge4.lcssa.reg2mem\n br i1 %27, label LBL_10, label LBL_6\n LBL_6:\n %28 = zext i8 %19 to i64\n %29 = add i64 %8, %28\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = add i8 %31, 1\n store i8 %32, i8* %30, align 1\n br label LBL_7\n LBL_7:\n %33 = zext i8 %22 to i64\n %34 = mul i64 %33, 256\n %35 = zext i8 %25 to i64\n %36 = or i64 %34, %35\n %37 = add nuw nsw i64 %36, 6\n %38 = icmp slt i64 %.reload37, %37\n store i32 %storemerge4823.reload, i32* %storemerge4.lcssa.reg2mem\n br i1 %38, label LBL_10, label LBL_8\n LBL_8:\n %39 = add i64 %37, %.reload35\n %40 = add i32 %storemerge4823.reload, 1\n %41 = sub i64 %7, %39\n %42 = icmp sgt i64 %41, 6\n store i32 %40, i32* %storemerge4.lcssa.reg2mem\n br i1 %42, label LBL_8.dec_label_pc_4011a5_crit_edge, label LBL_10\n LBL_9:\n %43 = inttoptr i64 %39 to i8*\n %.pre = load i8, i8* %43, align 1\n %44 = icmp eq i8 %.pre, 15\n %45 = icmp eq i1 %44, false\n store i32 %40, i32* %storemerge4823.reg2mem\n store i64 %39, i64* %.reg2mem34\n store i64 %41, i64* %.reg2mem36\n store i32 %40, i32* %storemerge4.lcssa.reg2mem\n br i1 %45, label LBL_10, label LBL_4\n LBL_10:\n %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 255, i32* %sv_1.013.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %46 = add nuw nsw i64 %9, %indvars.iv.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 = sub i32 %sv_1.013.reload, %49\n %51 = xor i32 %50, -2147483648\n %52 = and i32 %51, %sv_1.013.reload\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i32 %50, 0\n %55 = icmp slt i32 %50, 0\n %56 = icmp ne i1 %55, %53\n %57 = or i1 %54, %56\n %58 = select i1 %57, i32 %sv_1.013.reload, i32 %49\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 i32 %58, i32* %sv_1.013.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_11\n LBL_12:\n %59 = icmp ne i32 %58, 0\n %60 = icmp sgt i32 %storemerge4.lcssa.reload, %sv_0.115.reload\n %or.cond = icmp eq i1 %60, %59\n %spec.select = select i1 %or.cond, i32 %storemerge4.lcssa.reload, i32 %sv_0.115.reload\n %.pre22 = load i32, i32* %2, align 4\n store i32 %.pre22, i32* %.reg2mem38\n store i32 %spec.select, 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 %.reload39 = load i32, i32* %.reg2mem38\n %61 = add i32 %storemerge216.reload, 1\n %62 = zext i32 %.reload39 to i64\n %63 = sext i32 %61 to i64\n %64 = icmp slt i64 %63, %62\n store i32 %.reload39, i32* %.reg2mem\n store i64 %63, i64* %.reg2mem32\n store i32 %61, i32* %storemerge216.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.115.reg2mem\n br i1 %64, label LBL_2, label LBL_14\n LBL_14:\n %65 = icmp slt i32 %sv_0.0.reload, 6\n store i64 100, i64* %.reg2mem40\n br i1 %65, label LBL_14.thread, label %66\n LBL_15:\n store i64 0, i64* %.reg2mem40\n br label %66\n\n uselistorder i32 %.reload39, { 1, 0 }\n uselistorder i32 %58, { 1, 0 }\n uselistorder i32 %50, { 1, 2, 0 }\n uselistorder i32 %sv_1.013.reload, { 1, 2, 0 }\n uselistorder i32 %40, { 1, 2, 0 }\n uselistorder i64 %39, { 0, 2, 1 }\n uselistorder i32 %storemerge4823.reload, { 2, 1, 0 }\n uselistorder i64 %.reload35, { 0, 2, 3, 1 }\n uselistorder i32 %sv_0.115.reload, { 1, 2, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %3, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem32, { 1, 0, 2 }\n uselistorder i32* %storemerge216.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.115.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4823.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem34, { 2, 0, 1 }\n uselistorder i64* %.reg2mem36, { 2, 0, 1 }\n uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 3, 2, 4, 1, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem40, { 0, 2, 1 }\n uselistorder i64 6, { 2, 1, 0 }\n uselistorder i32 0, { 8, 5, 6, 7, 0, 1, 2, 3, 4 }\n uselistorder label %66, { 1, 0 }\n uselistorder label LBL_14.thread, { 1, 0 }\n uselistorder label LBL_10, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_one_state_7959", "fun_name": "dump_one_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssdp_init_122", "fun_name": "ssdp_init", "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.17.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %r8.19.reg2mem = alloca i64\n %storemerge410.reg2mem = alloca i64\n %storemerge512.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 %ifaddrs*, align 8\n %4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %3, i64 %2, i64 %1)\n %5 = call i32 @getifaddrs(%ifaddrs** nonnull %sv_1)\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 = 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 2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_2:\n %13 = call i64 @FUNC()\n %14 = load %ifaddrs*, %ifaddrs** %sv_1, align 8\n %15 = icmp eq %ifaddrs* %14, null\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_7\n LBL_3:\n %17 = ptrtoint %ifaddrs* %14 to i64\n store i64 %17, i64* %storemerge512.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge512.reload = load i64, i64* %storemerge512.reg2mem\n %18 = add i64 %storemerge512.reload, 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 = icmp eq i64 %21, 0\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = inttoptr i64 %21 to i32*\n store i32 0, i32* %23, align 4\n br label LBL_6\n LBL_6:\n %24 = inttoptr i64 %storemerge512.reload 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* %storemerge512.reg2mem\n br i1 %27, label LBL_4, label LBL_7\n LBL_7:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n %30 = load %ifaddrs*, %ifaddrs** %sv_1, align 8\n %31 = icmp eq %ifaddrs* %30, null\n %32 = icmp eq i1 %31, false\n store i32 %29, i32* %sv_0.17.reg2mem\n br i1 %32, label LBL_8, label LBL_17\n LBL_8:\n %33 = ptrtoint i64* %arg2 to i64\n %34 = and i64 %arg1, 4294967295\n %35 = ptrtoint %ifaddrs* %30 to i64\n store i64 %35, i64* %storemerge410.reg2mem\n store i32 %29, i32* %sv_0.18.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %r8.19.reload = load i64, i64* %r8.19.reg2mem\n %storemerge410.reload = load i64, i64* %storemerge410.reg2mem\n %36 = add i64 %storemerge410.reload, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38, i64 %33, i64 %arg3)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %42 = load i64, i64* %37, align 8\n %43 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %42, i64 %33, i64 %r8.19.reload, i64 %1)\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n store i64 %r8.19.reload, i64* %r8.0.reg2mem\n br label LBL_16\n LBL_11:\n %44 = add i64 %storemerge410.reload, 24\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46)\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.18.reload, i32* %sv_0.0.reg2mem\n store i64 %r8.19.reload, i64* %r8.0.reg2mem\n br i1 %50, label LBL_16, label LBL_12\n LBL_12:\n %51 = load i64, i64* %45, align 8\n %52 = load i64, i64* %37, align 8\n %53 = call i64 @FUNC(i64 %52, i64 %51, i64 1900)\n %54 = trunc i64 %53 to i32\n %55 = icmp slt i32 %54, 0\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n store i64 %r8.19.reload, i64* %r8.0.reg2mem\n br i1 %55, label LBL_16, label LBL_13\n LBL_13:\n %56 = load i64, i64* %45, align 8\n %57 = call i64 @FUNC(i64 %34, i64 %56)\n %58 = load i64, i64* @gv_3, align 8\n %59 = add i64 %storemerge410.reload, 32\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = load i64, i64* %45, align 8\n %63 = call i64 @FUNC(i64 %34, i32 %54, i64 %62, i64 %61, i64 %58)\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n br i1 %65, label LBL_15, label LBL_14\n LBL_14:\n %66 = call i32 @close(i32 %54)\n store i32 %sv_0.18.reload, i32* %sv_0.17.reg2mem\n br label LBL_17\n LBL_15:\n %67 = add i32 %sv_0.18.reload, 1\n store i32 %67, i32* %sv_0.0.reg2mem\n store i64 %58, i64* %r8.0.reg2mem\n br label LBL_16\n LBL_16:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %68 = inttoptr i64 %storemerge410.reload to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %69, 0\n %71 = icmp eq i1 %70, false\n store i64 %69, i64* %storemerge410.reg2mem\n store i64 %r8.0.reload, i64* %r8.19.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n br i1 %71, label LBL_9, label LBL_17\n LBL_17:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %72 = load %ifaddrs*, %ifaddrs** %sv_1, align 8\n call void @freeifaddrs(%ifaddrs* %72)\n %73 = zext i32 %sv_0.17.reload to i64\n store i64 %73, 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* %37, { 1, 0, 2 }\n uselistorder i64 %storemerge410.reload, { 3, 0, 1, 2 }\n uselistorder i64 %r8.19.reload, { 1, 2, 0, 3 }\n uselistorder i32 %sv_0.18.reload, { 4, 0, 2, 3, 1 }\n uselistorder %ifaddrs* %30, { 1, 0 }\n uselistorder i32 %29, { 1, 0 }\n uselistorder %ifaddrs* %14, { 1, 0 }\n uselistorder %ifaddrs** %sv_1, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge512.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.19.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i32* %sv_0.17.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @logit, { 2, 1, 0 }\n uselistorder label LBL_17, { 0, 2, 1 }\n uselistorder label LBL_16, { 2, 0, 1, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_mtspr_5030", "fun_name": "gen_mtspr", "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-phi4.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, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = and i64 %6, 4294967295\n %12 = mul nuw nsw i64 %11, 24\n %13 = add i64 %4, 16\n %14 = add i64 %13, %12\n store i64 %14, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_2:\n %15 = add i64 %4, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n %19 = and i64 %6, 4294967295\n %20 = mul nuw nsw i64 %19, 24\n %21 = add i64 %20, %4\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %22 = add i64 %21, 24\n store i64 %22, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_4:\n %23 = add i64 %21, 32\n store i64 %23, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_5:\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 %24 = icmp eq i64 %sv_0.0, 0\n %25 = icmp eq i1 %24, false\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 %5)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %28 = trunc i64 %6 to i32\n %29 = call i64 @FUNC()\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %.pre = add i64 %4, 4\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %31, label LBL_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre3 = and i64 %6, 4294967295\n store i64 %.pre3, i64* %.pre-phi4.reg2mem\n br label LBL_10\n LBL_9:\n %32 = load i32, i32* %.pre1, align 4\n %33 = add i32 %32, -4\n %34 = zext i32 %33 to i64\n %35 = and i64 %6, 4294967295\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %35, i32 %28, i64 %34, i64 %2, i64 %1)\n store i64 %35, i64* %.pre-phi4.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem\n %37 = load i32, i32* %.pre1, align 4\n %38 = add i32 %37, -4\n %39 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %.pre-phi4.reload, i32 %28, i32 %38)\n %41 = load i32, i32* %8, align 4\n %42 = icmp eq i32 %41, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i64 %4, i64 2)\n store i64 %43, 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 %28, { 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %6, { 2, 0, 4, 1, 3 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 4, 2, 0, 1, 5, 3, 6 }\n uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967295, { 3, 1, 2, 4, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shash_attr_alg_8690", "fun_name": "shash_attr_alg", "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 = and i64 %arg3, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i32 %1, i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sas_probe_devices_7272", "fun_name": "sas_probe_devices", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge4.lcssa.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %storemerge46.reg2mem = alloca i64\n %storemerge37.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)\n store i64 %0, i64* %storemerge4.lcssa.reg2mem\n br label LBL_10\n LBL_2:\n %4 = add i64 %0, 16\n %5 = add i64 %0, 8\n store i64 %0, i64* %storemerge37.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge37.reload = load i64, i64* %storemerge37.reg2mem\n %6 = call i64 @FUNC(i64 %4)\n %7 = add i64 %storemerge37.reload, 8\n %8 = call i64 @FUNC(i64 %7, i64 %5)\n %9 = call i64 @FUNC(i64 %4)\n %10 = inttoptr i64 %storemerge37.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 store i64 %11, i64* %storemerge37.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %0)\n store i64 %0, i64* %storemerge46.reg2mem\n store i64 %0, i64* %sv_0.05.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %storemerge46.reload = load i64, i64* %storemerge46.reg2mem\n %15 = add i64 %sv_0.05.reload, 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 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %sv_0.05.reload, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i32 %19)\n br label LBL_8\n LBL_7:\n %22 = call i64 @FUNC(i64 %sv_0.05.reload)\n br label LBL_8\n LBL_8:\n %23 = icmp eq i64 %storemerge46.reload, 0\n store i64 0, i64* %storemerge4.lcssa.reg2mem\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %24 = inttoptr i64 %storemerge46.reload to i64*\n %25 = load i64, i64* %24, align 8\n store i64 %25, i64* %storemerge46.reg2mem\n store i64 %storemerge46.reload, i64* %sv_0.05.reg2mem\n br label LBL_5\n LBL_10:\n %storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem\n ret i64 %storemerge4.lcssa.reload\n\n uselistorder i64 %sv_0.05.reload, { 1, 0, 2 }\n uselistorder i64 %storemerge37.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 7, 3, 6, 5, 0, 4 }\n uselistorder i64* %storemerge37.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge46.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @sas_probe_sata, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ping_unhash_6638", "fun_name": "ping_unhash", "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 = load i32, i32* %2, align 4\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %1, i32 %3)\n %5 = call i64 @FUNC(i64* nonnull @gv_1)\n %6 = call i64 @FUNC(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 %9 = call i64 @FUNC(i64 %0)\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %2, align 4\n %12 = add i64 %1, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 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 %0)\n %18 = call i64 @FUNC(i64 %17, i64 %16, i64 4294967295)\n br label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64* nonnull @gv_1)\n ret i64 %19\n\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 4, 3, 2, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_qemu_cpu_model_features_3362", "fun_name": "add_qemu_cpu_model_features", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\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, 4\n %2 = add i64 %1, ptrtoint (i32** @gv_0 to i64)\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, i64 %0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 28\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 28\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vqa_decode_init_3038", "fun_name": "vqa_decode_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 %storemerge39.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv19.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i32\n %indvars.iv21.reg2mem = alloca i64\n %indvars.iv23.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 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* %arg1 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %6, 80\n %12 = call i64 @FUNC(i64 %11, i64 %3)\n %13 = load i64, i64* %7, align 8\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 16\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = call i64 @FUNC(i64 %13, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 16, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %19 = add i64 %13, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = zext i8 %23 to i32\n %25 = add i64 %6, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = add i64 %21, 6\n %28 = call i64 @FUNC(i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = urem i32 %29, 65536\n %31 = add i64 %6, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %21, 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = urem i32 %35, 65536\n %37 = add i64 %6, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = load i32, i32* %32, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %3, i64 %40, i32 %36)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_4, label LBL_3\n LBL_3:\n store i32 0, i32* %38, align 4\n store i32 0, i32* %32, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %44 = add i64 %21, 10\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = zext i8 %46 to i32\n %48 = add i64 %6, 20\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = add i64 %21, 11\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = zext i8 %52 to i32\n %54 = add i64 %6, 24\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = add i64 %21, 13\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = zext i8 %58 to i32\n %60 = add i64 %6, 32\n %61 = inttoptr i64 %60 to i32*\n store i32 %59, i32* %61, align 4\n %62 = add i64 %6, 28\n %63 = inttoptr i64 %62 to i32*\n store i32 %59, i32* %63, align 4\n %64 = load i32, i32* %49, align 4\n %65 = icmp eq i32 %64, 4\n %66 = icmp eq i1 %65, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %66, label LBL_14, label LBL_5\n LBL_5:\n %67 = load i32, i32* %55, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %67, label LBL_14 [\n i32 2, label LBL_6\n i32 4, label LBL_6\n ]\n LBL_6:\n %68 = add i64 %6, 36\n %69 = inttoptr i64 %68 to i32*\n store i32 4096, i32* %69, align 4\n %70 = call i64 @FUNC(i64 4096)\n %71 = add i64 %6, 40\n %72 = inttoptr i64 %71 to i64*\n store i64 %70, i64* %72, align 8\n %73 = load i32, i32* %69, align 4\n %74 = sext i32 %73 to i64\n %75 = call i64 @FUNC(i64 %74)\n %76 = add i64 %6, 48\n %77 = inttoptr i64 %76 to i64*\n store i64 %75, i64* %77, align 8\n %78 = load i32, i32* %55, align 4\n %79 = icmp eq i32 %78, 4\n %80 = icmp eq i1 %79, false\n store i64 1044480, i64* %indvars.iv21.reg2mem\n store i32 0, i32* %storemerge13.reg2mem\n store i64 30720, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge39.reg2mem\n br i1 %80, label LBL_12, label LBL_9\n LBL_7:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n %81 = load i64, i64* %72, align 8\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %82 = add i64 %81, %indvars.iv23.reload\n %83 = inttoptr i64 %82 to i8*\n store i8 %85, i8* %83, align 1\n %exitcond16 = icmp eq i64 %indvars.iv.next24, %indvars.iv.next22\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n br i1 %exitcond16, label LBL_8, label LBL_7\n LBL_8:\n %84 = add nuw nsw i32 %storemerge13.reload, 1\n %exitcond17 = icmp eq i32 %84, 256\n store i64 %indvars.iv.next22, i64* %indvars.iv21.reg2mem\n store i32 %84, i32* %storemerge13.reg2mem\n br i1 %exitcond17, label LBL_13, label LBL_9\n LBL_9:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %indvars.iv21.reload = load i64, i64* %indvars.iv21.reg2mem\n %85 = trunc i32 %storemerge13.reload to i8\n %indvars.iv.next22 = add nuw nsw i64 %indvars.iv21.reload, 16\n store i64 %indvars.iv21.reload, i64* %indvars.iv23.reg2mem\n br label LBL_7\n LBL_10:\n %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem\n %86 = load i64, i64* %72, align 8\n %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1\n %87 = add i64 %86, %indvars.iv19.reload\n %88 = inttoptr i64 %87 to i8*\n store i8 %90, i8* %88, align 1\n %exitcond = icmp eq i64 %indvars.iv.next20, %indvars.iv.next\n store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_10\n LBL_11:\n %89 = add nuw nsw i32 %storemerge39.reload, 1\n %exitcond15 = icmp eq i32 %89, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %89, i32* %storemerge39.reg2mem\n br i1 %exitcond15, label LBL_13, label LBL_12\n LBL_12:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %90 = trunc i32 %storemerge39.reload to i8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 8\n store i64 %indvars.iv.reload, i64* %indvars.iv19.reg2mem\n br label LBL_10\n LBL_13:\n %91 = add i64 %6, 56\n %92 = inttoptr i64 %91 to i32*\n store i32 0, i32* %92, align 4\n %93 = load i32, i32* %32, align 4\n %94 = load i32, i32* %49, align 4\n %95 = ashr i32 %93, 31\n %96 = zext i32 %93 to i64\n %97 = zext i32 %95 to i64\n %98 = mul i64 %97, 4294967296\n %99 = or i64 %98, %96\n %100 = zext i32 %94 to i64\n %101 = sdiv i64 %99, %100\n %102 = load i32, i32* %38, align 4\n %103 = load i32, i32* %55, align 4\n %104 = ashr i32 %102, 31\n %105 = zext i32 %102 to i64\n %106 = zext i32 %104 to i64\n %107 = mul i64 %106, 4294967296\n %108 = or i64 %107, %105\n %109 = zext i32 %103 to i64\n %110 = sdiv i64 %108, %109\n %sext = mul i64 %110, 4294967296\n %111 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %101, 4294967296\n %112 = ashr exact i64 %sext1, 32\n %113 = mul nsw i64 %111, %112\n %.tr = trunc i64 %113 to i32\n %114 = mul i32 %.tr, 2\n %115 = add i64 %6, 60\n %116 = inttoptr i64 %115 to i32*\n store i32 %114, i32* %116, align 4\n %117 = sext i32 %114 to i64\n %118 = call i64 @FUNC(i64 %117)\n %119 = add i64 %6, 64\n %120 = inttoptr i64 %119 to i64*\n store i64 %118, i64* %120, align 8\n %121 = add i64 %6, 72\n %122 = inttoptr i64 %121 to i64*\n store i64 0, i64* %122, align 8\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 i32 %114, { 1, 0 }\n uselistorder i64 %indvars.iv.next, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %storemerge39.reload, { 1, 0 }\n uselistorder i64 %indvars.iv19.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.next22, { 1, 0 }\n uselistorder i64 %indvars.iv21.reload, { 1, 0 }\n uselistorder i32 %storemerge13.reload, { 1, 0 }\n uselistorder i64 %indvars.iv23.reload, { 1, 0 }\n uselistorder i64* %72, { 1, 0, 2 }\n uselistorder i32* %38, { 1, 0, 2 }\n uselistorder i32 %36, { 1, 0 }\n uselistorder i32* %32, { 1, 0, 2, 3 }\n uselistorder i64* %indvars.iv23.reg2mem, { 1, 2, 0 }\n uselistorder i64* %indvars.iv21.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge13.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv19.reg2mem, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge39.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_malloc, { 2, 1, 0 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i64 (i64)* @LE_16, { 1, 0 }\n uselistorder i64 16, { 0, 2, 3, 1 }\n uselistorder i32 0, { 3, 0, 1, 2, 4, 5, 6, 7 }\n uselistorder label LBL_14, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\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": "sha256_ssse3_init_8282", "fun_name": "sha256_ssse3_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 = inttoptr i64 %1 to i32*\n store i32 1779033703, i32* %2, align 4\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 -1150833019, i32* %4, align 4\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1013904242, i32* %6, align 4\n %7 = add i64 %1, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 -1521486534, i32* %8, align 4\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 1359893119, i32* %10, align 4\n %11 = add i64 %1, 20\n %12 = inttoptr i64 %11 to i32*\n store i32 -1694144372, i32* %12, align 4\n %13 = add i64 %1, 24\n %14 = inttoptr i64 %13 to i32*\n store i32 528734635, i32* %14, align 4\n %15 = add i64 %1, 28\n %16 = inttoptr i64 %15 to i32*\n store i32 1541459225, i32* %16, align 4\n %17 = add i64 %1, 32\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inject_node_state_3914", "fun_name": "inject_node_state", "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* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 %arg2, i64* %sv_2, align 8\n %1 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8\n %2 = inttoptr i64 %1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = inttoptr i64 %arg2 to i8*\n %5 = call i32 @strlen(i8* %4)\n %6 = add i32 %3, 1\n %7 = add i32 %6, %5\n %8 = call i64* @malloc(i32 %7)\n %9 = call i64* @memset(i64* %8, i32 0, i32 %7)\n %10 = load [17 x i8]*, [17 x i8]** @gv_1, align 8\n %11 = bitcast i64* %8 to i8*\n %12 = getelementptr inbounds [17 x i8], [17 x i8]* %10, i64 0, i64 0\n %13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %11, i32 %7, i8* %12)\n %14 = trunc i64 %0 to i32\n %15 = icmp eq i32 %14, 1\n %16 = icmp eq i1 %15, false\n store i64 %0, i64* %.pre-phi.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %sv_1, align 8\n %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %18 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64* nonnull %sv_1)\n %19 = load i64, i64* %sv_1, align 8\n %20 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %19)\n %21 = load i64, i64* %sv_2, align 8\n %22 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %21)\n %23 = and i64 %0, 4294967295\n store i64 %23, i64* %.pre-phi.reg2mem\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n call void @free(i64* %8)\n %24 = trunc i64 %.pre-phi.reload to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8\n %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\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_2, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @crm_xml_add, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_acquire_dquot_8286", "fun_name": "ext4_acquire_dquot", "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 = and i64 %0, 4294967295\n %3 = call i64 @FUNC(i64 %1, i64 %2)\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_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = call i64 @FUNC(i64 %3)\n %9 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n %spec.select = select i1 %10, i64 %6, i64 %8\n %11 = and i64 %spec.select, 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 i32 0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "g364fb_screen_dump_2316", "fun_name": "g364fb_screen_dump", "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 %sv_0.19.reg2mem = alloca i8*\n %storemerge510.reg2mem = alloca i32\n %.reg2mem34 = alloca i32\n %.reg2mem32 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %.reg2mem30 = alloca i32\n %.reg2mem28 = alloca i32\n %sv_1.07.reg2mem = alloca i32\n %sv_0.08.reg2mem = alloca i8*\n %storemerge12.reg2mem = alloca i32\n %.reg2mem26 = alloca i32\n %.reg2mem24 = alloca i32\n %.reg2mem22 = alloca i32\n %.reg2mem = alloca i32\n %storemerge411.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC()\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 8\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %5)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %7 = call %_IO_FILE* @fopen(i8* %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %8 = ptrtoint %_IO_FILE* %7 to i64\n %9 = icmp eq %_IO_FILE* %7, null\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %9, label LBL_17, label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 12\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_10, label LBL_4\n LBL_4:\n %16 = add i64 %10, 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 = 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 i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* nonnull %7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %19)\n %25 = load i32, i32* %17, align 4\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_16, label LBL_5\n LBL_5:\n %.pre = load i32, i32* %21, align 4\n store i32 %25, i32* %.reg2mem24\n store i32 %.pre, i32* %.reg2mem26\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_9\n LBL_6:\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %27 = call i32 @fputc(i32 0, %_IO_FILE* nonnull %7)\n %28 = add i32 %storemerge411.reload, 1\n %29 = load i32, i32* %21, align 4\n %30 = zext i32 %29 to i64\n %31 = sext i32 %28 to i64\n %32 = icmp slt i64 %31, %30\n store i32 %28, i32* %storemerge411.reg2mem\n br i1 %32, label LBL_6, label LBL_7\n LBL_7:\n %.pre13 = load i32, i32* %17, align 4\n store i32 %.pre13, i32* %.reg2mem\n store i32 %29, i32* %.reg2mem22\n br label LBL_8\n LBL_8:\n %.reload23 = load i32, i32* %.reg2mem22\n %.reload = load i32, i32* %.reg2mem\n %33 = add i32 %storemerge12.reload, 1\n %34 = zext i32 %.reload to i64\n %35 = sext i32 %33 to i64\n %36 = icmp slt i64 %35, %34\n store i32 %.reload, i32* %.reg2mem24\n store i32 %.reload23, i32* %.reg2mem26\n store i32 %33, i32* %storemerge12.reg2mem\n br i1 %36, label LBL_9, label LBL_16\n LBL_9:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload27 = load i32, i32* %.reg2mem26\n %.reload25 = load i32, i32* %.reg2mem24\n %37 = icmp eq i32 %.reload27, 0\n store i32 0, i32* %storemerge411.reg2mem\n store i32 %.reload25, i32* %.reg2mem\n store i32 0, i32* %.reg2mem22\n br i1 %37, label LBL_8, label LBL_6\n LBL_10:\n %38 = add i64 %10, 24\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %10, 16\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %10, 8\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = zext i32 %46 to i64\n %48 = add i64 %10, 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 i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* nonnull %7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %51, i64 %47, i64 255)\n %53 = load i32, i32* %45, align 4\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_16, label LBL_11\n LBL_11:\n %55 = sext i32 %43 to i64\n %56 = add i64 %40, %55\n %57 = inttoptr i64 %56 to i8*\n %.pre14 = load i32, i32* %49, align 4\n store i32 %53, i32* %.reg2mem32\n store i32 %.pre14, i32* %.reg2mem34\n store i32 0, i32* %storemerge510.reg2mem\n store i8* %57, i8** %sv_0.19.reg2mem\n br label LBL_15\n LBL_12:\n %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem\n %sv_0.08.reload = load i8*, i8** %sv_0.08.reg2mem\n %58 = load i8, i8* %sv_0.08.reload, align 1\n %59 = zext i8 %58 to i64\n %60 = mul nuw nsw i64 %59, 3\n %61 = add i64 %60, %10\n %62 = add i64 %61, 32\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = zext i8 %64 to i32\n %66 = call i32 @fputc(i32 %65, %_IO_FILE* nonnull %7)\n %67 = add i64 %61, 33\n %68 = inttoptr i64 %67 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = zext i8 %69 to i32\n %71 = call i32 @fputc(i32 %70, %_IO_FILE* nonnull %7)\n %72 = add i64 %61, 34\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = zext i8 %74 to i32\n %76 = call i32 @fputc(i32 %75, %_IO_FILE* nonnull %7)\n %77 = add i32 %sv_1.07.reload, 1\n %78 = ptrtoint i8* %sv_0.08.reload to i64\n %79 = add i64 %78, 1\n %80 = inttoptr i64 %79 to i8*\n %81 = load i32, i32* %49, align 4\n %82 = zext i32 %81 to i64\n %83 = sext i32 %77 to i64\n %84 = icmp slt i64 %83, %82\n store i8* %80, i8** %sv_0.08.reg2mem\n store i32 %77, i32* %sv_1.07.reg2mem\n br i1 %84, label LBL_12, label LBL_13\n LBL_13:\n %.pre15 = load i32, i32* %45, align 4\n store i32 %.pre15, i32* %.reg2mem28\n store i32 %81, i32* %.reg2mem30\n store i8* %80, i8** %sv_0.0.lcssa.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n %.reload31 = load i32, i32* %.reg2mem30\n %.reload29 = load i32, i32* %.reg2mem28\n %85 = add i32 %storemerge510.reload, 1\n %86 = zext i32 %.reload29 to i64\n %87 = sext i32 %85 to i64\n %88 = icmp slt i64 %87, %86\n store i32 %.reload29, i32* %.reg2mem32\n store i32 %.reload31, i32* %.reg2mem34\n store i32 %85, i32* %storemerge510.reg2mem\n store i8* %sv_0.0.lcssa.reload, i8** %sv_0.19.reg2mem\n br i1 %88, label LBL_15, label LBL_16\n LBL_15:\n %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem\n %storemerge510.reload = load i32, i32* %storemerge510.reg2mem\n %.reload35 = load i32, i32* %.reg2mem34\n %.reload33 = load i32, i32* %.reg2mem32\n %89 = icmp eq i32 %.reload35, 0\n store i8* %sv_0.19.reload, i8** %sv_0.08.reg2mem\n store i32 0, i32* %sv_1.07.reg2mem\n store i32 %.reload33, i32* %.reg2mem28\n store i32 0, i32* %.reg2mem30\n store i8* %sv_0.19.reload, i8** %sv_0.0.lcssa.reg2mem\n br i1 %89, label LBL_14, label LBL_12\n LBL_16:\n %90 = call i32 @fclose(%_IO_FILE* nonnull %7)\n %91 = sext i32 %90 to i64\n store i64 %91, 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* %sv_0.19.reload, { 1, 0 }\n uselistorder i32* %49, { 1, 0, 2 }\n uselistorder i32* %21, { 1, 0, 2 }\n uselistorder i64 %10, { 0, 2, 1, 6, 7, 5, 4, 3 }\n uselistorder %_IO_FILE* %7, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge411.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem22, { 2, 0, 1 }\n uselistorder i8** %sv_0.08.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_1.07.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem28, { 1, 0, 2 }\n uselistorder i32* %.reg2mem30, { 1, 0, 2 }\n uselistorder i8** %sv_0.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 3, 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder label LBL_17, { 1, 0, 2 }\n uselistorder label LBL_16, { 1, 3, 0, 2 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ExprResolveLhs_11042", "fun_name": "ExprResolveLhs", "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* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 2\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = icmp sgt i32 %3, 2\n br i1 %5, label LBL_6, label LBL_2\n LBL_2:\n switch i32 %3, label LBL_6 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\n store i64 0, i64* %arg3, align 8\n %6 = ptrtoint i32* %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 = call i64 @FUNC(i64 %2, i64 %9)\n store i64 %10, i64* %arg4, align 8\n store i64 0, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %11 = ptrtoint i32* %arg2 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 %2, i64 %14)\n store i64 %15, i64* %arg3, align 8\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 %2, i64 %18)\n store i64 %19, i64* %arg4, align 8\n store i64 0, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %20 = ptrtoint i32* %arg2 to i64\n %21 = add i64 %20, 32\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %2, i64 %23)\n store i64 %24, i64* %arg3, align 8\n %25 = add i64 %20, 40\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %2, i64 %27)\n store i64 %28, i64* %arg4, align 8\n %29 = add i64 %20, 48\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n store i64 %31, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %32 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i32 %3)\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 %3, { 0, 3, 2, 1 }\n uselistorder i64 %2, { 3, 4, 5, 0, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @xkb_atom_text, { 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64* %arg5, { 0, 2, 1 }\n uselistorder i64* %arg4, { 0, 2, 1 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder i32* %arg2, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opfmulp_9206", "fun_name": "opfmulp", "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 = trunc i64 %1 to i32\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %3, label LBL_6 [\n i32 0, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %4 = bitcast i64* %arg2 to i8*\n store i8 -34, i8* %4, align 1\n %5 = add i64 %2, 1\n %6 = inttoptr i64 %5 to i8*\n store i8 -55, i8* %6, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %7 = ptrtoint i64* %arg3 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 = urem i32 %10, 2\n %12 = icmp eq i32 %11, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = add i64 %7, 12\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 4294967295, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = add i64 %7, 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 i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = bitcast i64* %arg2 to i8*\n store i8 -34, i8* %23, align 1\n %24 = add i64 %7, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %2, 1\n %28 = trunc i32 %26 to i8\n %29 = or i8 %28, -56\n %30 = inttoptr i64 %27 to i8*\n store i8 %29, i8* %30, 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 %7, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 5, 4, 1, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 5, 4, 3, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_queue_guest_notifier_read_15182", "fun_name": "virtio_queue_guest_notifier_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 = 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 = add i64 %0, -8\n %5 = call i64 @FUNC(i64 %4)\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": "1" }, { "dataset": "CompRealVul", "file": "mongo_run_command_11015", "fun_name": "mongo_run_command", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i8* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = 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 store i64 0, i64* %sv_3, align 8\n %2 = call i32 @strlen(i8* %arg2)\n %3 = add i32 %2, 6\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i8*\n %7 = call i8* @strcpy(i8* %6, i8* %arg2)\n %8 = sext i32 %2 to i64\n %9 = add i64 %5, %8\n %10 = inttoptr i64 %9 to i32*\n store i32 1835213870, i32* %10, align 4\n %11 = add i64 %9, 4\n %12 = inttoptr i64 %11 to i16*\n store i16 100, i16* %12, align 2\n %13 = call i64 @FUNC(i64* nonnull %sv_2)\n %14 = call i64 @FUNC(i64 %1, i64 %5, i64 %0, i64 %13, i64 %8, i64* nonnull %sv_3)\n %15 = trunc i64 %14 to i32\n %16 = call i64 @FUNC(i64 %5)\n %17 = icmp eq i32 %15, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_1, label LBL_7\n LBL_1:\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_3, i8* getelementptr inbounds ([3 x i8], [3 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_3, label LBL_2\n LBL_2:\n %21 = call i64 @FUNC(i64* nonnull %sv_1)\n %22 = trunc i64 %21 to i32\n %phitmp = icmp eq i32 %22, 0\n %phitmp2 = icmp eq i1 %phitmp, false\n br i1 %phitmp2, label LBL_4, label LBL_3\n LBL_3:\n store i32 1, i32* %arg1, align 4\n %23 = call i64 @FUNC(i64* nonnull %sv_3)\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %24 = icmp eq i64* %arg4, null\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = ptrtoint i64* %arg4 to i64\n %26 = load i64, i64* %sv_3, align 8\n store i64 %26, i64* %arg4, align 8\n %27 = add i64 %25, 8\n %28 = inttoptr i64 %27 to i64*\n store i64 0, i64* %28, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %29 = call i64 @FUNC(i64* nonnull %sv_3)\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 i64 %9, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 4, 1, 2, 3, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64*)* @bson_destroy, { 1, 0 }\n uselistorder i64* %arg4, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ssl_set_dh_param_10499", "fun_name": "ssl_set_dh_param", "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 16, i64 %arg2)\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 %5 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %6, i64 16, i64 %arg3)\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_4, label LBL_3\n LBL_3:\n %10 = and i64 %7, 4294967295\n %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %10)\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, 3, 1, 2 }\n uselistorder i64 (i64, i8*, i64)* @SSL_DEBUG_RET, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @mpi_read_string, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_read_bitmap_update_5519", "fun_name": "update_read_bitmap_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %indvars.iv.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 = call i64* @calloc(i32 1, i32 16)\n %5 = icmp eq i64* %4, null\n br i1 %5, label LBL_9, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp ult i32 %8, 2\n br i1 %9, label LBL_9, label LBL_2\n LBL_2:\n %10 = bitcast i64* %4 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %6, i64 %12)\n %14 = load i32, i32* %10, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %2, i64 %1)\n %17 = load i32, i32* %10, align 4\n %18 = ptrtoint i64* %4 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 = icmp ugt i32 %17, %21\n store i32 %17, i32* %.reg2mem\n br i1 %22, label LBL_3, label LBL_5\n LBL_3:\n %23 = mul i32 %17, 2\n %24 = add i64 %18, 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 = call i64* @realloc(i64* %27, i32 %23)\n %29 = icmp eq i64* %28, null\n br i1 %29, label LBL_9, label LBL_4\n LBL_4:\n %30 = ptrtoint i64* %28 to i64\n store i64 %30, i64* %25, align 8\n %31 = load i32, i32* %20, align 4\n %32 = sub i32 %23, %31\n %33 = zext i32 %32 to i64\n %34 = zext i32 %31 to i64\n %35 = add i64 %34, %30\n %36 = call i64 @FUNC(i64 %35, i64 %33)\n store i32 %23, i32* %20, align 4\n %.pre = load i32, i32* %10, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %37 = icmp eq i32 %.reload, 0\n store i64 %18, i64* %storemerge2.reg2mem\n br i1 %37, label LBL_10, label LBL_6\n LBL_6:\n %38 = add i64 %18, 8\n %39 = inttoptr i64 %38 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 %40 = load i64, i64* %39, align 8\n %41 = add i64 %40, %indvars.iv.reload\n %42 = call i64 @FUNC(i64 %3, i64 %6, i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %45 = load i32, i32* %10, align 4\n %46 = zext i32 %45 to i64\n %47 = icmp ult i64 %indvars.iv.next, %46\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %18, i64* %storemerge2.reg2mem\n br i1 %47, label LBL_7, label LBL_10\n LBL_9:\n %48 = add i64 %3, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = ptrtoint i64* %4 to i64\n %52 = call i64 @FUNC(i64 %50, i64 %51)\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64* %28, { 1, 0 }\n uselistorder i32 %23, { 2, 1, 0 }\n uselistorder i64 %18, { 0, 2, 1, 4, 3 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i32* %10, { 1, 0, 2, 4, 3 }\n uselistorder i64 %6, { 0, 2, 1, 3 }\n uselistorder i64* %4, { 0, 1, 3, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fslib_copy_libs_4906", "fun_name": "fslib_copy_libs", "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 %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 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 43, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = load i32, i32* @gv_3, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_5, label LBL_3\n LBL_3:\n %5 = load i32, i32* inttoptr (i64 4210840 to i32*), align 8\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3.LBL_6_crit_edge, label LBL_5\n LBL_4:\n %.pre = inttoptr i64 %arg1 to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_6\n LBL_5:\n %7 = inttoptr i64 %arg1 to i8*\n %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i8* %7)\n store i8* %7, i8** %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %9 = call i32 @access(i8* %.pre-phi.reload, i32 4)\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_9, label LBL_7\n LBL_7:\n %11 = load i32, i32* @gv_3, align 4\n %12 = load i32, i32* @gv_5, align 4\n %13 = or i32 %12, %11\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_20, label LBL_8\n LBL_8:\n %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_6, i64 0, i64 0), i8* %.pre-phi.reload)\n %16 = sext i32 %15 to i64\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_9:\n %17 = call i32 @unlink(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0))\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i64 420)\n %19 = call i32 @getgid()\n %20 = call i32 @getuid()\n %21 = call i32 @chown(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i32 %20, i32 %19)\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_11, label LBL_10\n LBL_10:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0))\n unreachable\n LBL_11:\n %24 = load i32, i32* @gv_3, align 4\n %25 = load i32, i32* @gv_5, align 4\n %26 = or i32 %25, %24\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_13, label LBL_12\n LBL_12:\n %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i8* %.pre-phi.reload)\n br label LBL_13\n LBL_13:\n %29 = call i64 @FUNC(i64 7, i64 3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_10, i64 0, i64 0), i64 %arg1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0))\n %30 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_11, i64 0, i64 0))\n %31 = icmp eq %_IO_FILE* %30, null\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_14, label LBL_15\n LBL_14:\n %33 = bitcast i64* %sv_0 to i8*\n %34 = call i8* @fgets(i8* nonnull %33, i32 1024, %_IO_FILE* %30)\n %35 = icmp eq i8* %34, null\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_16, label LBL_19\n LBL_15:\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_12, i64 0, i64 0))\n unreachable\n LBL_16:\n %38 = call i8* @strchr(i8* nonnull %33, i32 10)\n %39 = icmp eq i8* %38, null\n br i1 %39, label LBL_18, label LBL_17\n LBL_17:\n store i8 0, i8* %38, align 1\n br label LBL_18\n LBL_18:\n %40 = call i64 @FUNC(i64* nonnull %sv_0)\n %41 = call i8* @fgets(i8* nonnull %33, i32 1024, %_IO_FILE* %30)\n %42 = icmp eq i8* %41, null\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_16, label LBL_19\n LBL_19:\n %44 = call i32 @fclose(%_IO_FILE* %30)\n %45 = call i32 @unlink(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0))\n %46 = sext i32 %45 to i64\n store i64 %46, 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* %33, { 2, 1, 0 }\n uselistorder %_IO_FILE* %30, { 1, 2, 0, 3 }\n uselistorder i8* %.pre-phi.reload, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8* null, { 2, 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder %_IO_FILE* (i8*, i8*)* @fopen, { 1, 0 }\n uselistorder i64 (i8*)* @errExit, { 2, 1, 0 }\n uselistorder i32 (i8*)* @unlink, { 1, 0 }\n uselistorder i32* @gv_5, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32* @gv_3, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_mod_timer_ns_562", "fun_name": "qemu_mod_timer_ns", "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 %.lcssa.reg2mem = alloca i64*\n %storemerge.lcssa.reg2mem = alloca i64\n %.in.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 = 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 = sext i32 %6 to i64\n %8 = mul i64 %7, 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 %12 = icmp eq i64 %11, 0\n store i64 %9, i64* %storemerge.lcssa.reg2mem\n store i64* %10, i64** %.lcssa.reg2mem\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = inttoptr i64 %11 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp sgt i64 %14, %arg2\n store i64 %11, i64* %.in.reg2mem\n store i64 %9, i64* %storemerge.lcssa.reg2mem\n store i64* %10, i64** %.lcssa.reg2mem\n br i1 %15, label LBL_4, label LBL_2\n LBL_2:\n %.in.reload = load i64, i64* %.in.reg2mem\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 store i64 %16, i64* %storemerge.lcssa.reg2mem\n store i64* %17, i64** %.lcssa.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp sgt i64 %21, %arg2\n store i64 %18, i64* %.in.reg2mem\n store i64 %16, i64* %storemerge.lcssa.reg2mem\n store i64* %17, i64** %.lcssa.reg2mem\n br i1 %22, label LBL_4, label LBL_2\n LBL_4:\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n store i64 %arg2, i64* %arg1, align 8\n %23 = load i64, i64* %.lcssa.reload, align 8\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* %.lcssa.reload, align 8\n %26 = load i64, i64* %3, align 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = sext i32 %28 to i64\n %30 = mul i64 %29, 8\n %31 = add i64 %30, ptrtoint (i64* @gv_0 to i64)\n %32 = icmp eq i64 %storemerge.lcssa.reload, %31\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %33, label LBL_9, label LBL_5\n LBL_5:\n %34 = load i64, i64* @gv_1, align 8\n %35 = add i64 %34, 24\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 i64 %26, i64* %.reg2mem\n br i1 %39, label LBL_7, label LBL_6\n LBL_6:\n %40 = call i64 @FUNC(i64 %34)\n %.pre = load i64, i64* %3, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %41 = call i64 @FUNC(i64 %.reload)\n %42 = load i32, i32* @gv_2, align 4\n %43 = icmp eq i32 %42, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %43, label LBL_9, label LBL_8\n LBL_8:\n %44 = call i64 @FUNC()\n store i64 %44, 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 i64 %16, { 1, 0, 2 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64** %.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 0, 3, 2, 1 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_load_910", "fun_name": "openpic_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 %indvars.iv8.reg2mem = alloca i64\n %indvars.iv10.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 1\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_10\n LBL_1:\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 = add i64 %2, 4\n %6 = call i64 @FUNC(i64 %3, i64 %5)\n %7 = add i64 %2, 8\n %8 = call i64 @FUNC(i64 %3, i64 %7)\n %9 = add i64 %2, 12\n %10 = call i64 @FUNC(i64 %3, i64 %9)\n %11 = add i64 %2, 16\n %12 = call i64 @FUNC(i64 %3, i64 %11)\n %13 = ptrtoint i32* %sv_0 to i64\n %14 = call i64 @FUNC(i64 %3, i64 %13)\n %15 = add i64 %2, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = load i32, i32* %sv_0, align 4\n %19 = icmp eq i32 %17, %18\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %19, label LBL_2, label LBL_10\n LBL_2:\n %.off = add i32 %17, -1\n %20 = icmp ult i32 %.off, 256\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %16, align 4\n %21 = icmp eq i32 %.pre, 0\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n store i64 0, i64* %indvars.iv10.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %22 = mul i64 %indvars.iv10.reload, 16\n %23 = add i64 %22, %11\n %24 = add i64 %23, 12\n %25 = call i64 @FUNC(i64 %3, i64 %24)\n %26 = add i64 %23, 16\n %27 = call i64 @FUNC(i64 %3, i64 %26)\n %28 = add i64 %23, 20\n %29 = call i64 @FUNC(i64 %3, i64 %28)\n %30 = add i64 %23, 24\n %31 = call i64 @FUNC(i64 %3, i64 %30, i64 4)\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %32 = load i32, i32* %16, align 4\n %33 = zext i32 %32 to i64\n %34 = icmp ult i64 %indvars.iv.next11, %33\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n br i1 %34, label LBL_5, label LBL_6\n LBL_6:\n %35 = add i64 %2, 4112\n store i64 0, i64* %indvars.iv8.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %36 = mul i64 %indvars.iv8.reload, 8\n %37 = add i64 %35, %36\n %38 = add i64 %37, 12\n %39 = call i64 @FUNC(i64 %3, i64 %38)\n %40 = add i64 %37, 16\n %41 = call i64 @FUNC(i64 %3, i64 %40)\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next9, 16\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %42 = add i64 %2, 24\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %46 = call i64 @FUNC(i64 %3)\n %47 = trunc i64 %46 to i32\n %48 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i32 %47)\n %49 = call i64 @FUNC(i64 %3)\n %50 = trunc i64 %49 to i32\n %51 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i32 %50)\n %52 = mul nuw nsw i64 %indvars.iv.reload, 20\n %53 = add i64 %52, %2\n %54 = add i64 %53, 4252\n %55 = call i64 @FUNC(i64 %3, i64 %54)\n %56 = add i64 %53, 4256\n %57 = call i64 @FUNC(i64 %3, i64 %56)\n %58 = add i64 %53, 4260\n %59 = call i64 @FUNC(i64 %3, i64 %58)\n %60 = add i64 %53, 4264\n %61 = call i64 @FUNC(i64 %3, i64 %60)\n %62 = add i64 %53, 4268\n %63 = call i64 @FUNC(i64 %3, i64 %62)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %64 = load i32, i32* %43, align 4\n %65 = zext i32 %64 to i64\n %66 = icmp ult i64 %indvars.iv.next, %65\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %66, label LBL_9, 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.reload, { 0, 2, 1, 3 }\n uselistorder i32* %43, { 1, 0 }\n uselistorder i32* %16, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 2, 3, 4, 1, 5, 6, 7, 8, 9, 10 }\n uselistorder i32* %sv_0, { 1, 0 }\n uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 }\n uselistorder i64 (i64, i64)* @openpic_load_IRQ_queue, { 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_get_sbe32s, { 2, 1, 0 }\n uselistorder i64 16, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64, i64)* @qemu_get_be32s, { 10, 9, 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_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "leva_Size_10067", "fun_name": "leva_Size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem3 = alloca i32\n %indvars.iv.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 = load i32, i32* %2, align 4\n %4 = add i32 %3, 1\n store i32 %4, i32* %2, align 4\n %5 = bitcast i64* %rdi to i32*\n %6 = load i32, i32* %5, align 8\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_7, label LBL_1\n LBL_1:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n store i32 %4, i32* %.reg2mem\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 %.reload = load i32, i32* %.reg2mem\n %10 = add i32 %.reload, 5\n store i32 %10, i32* %2, align 4\n %11 = load i64, i64* %9, 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 = icmp ne i32 %15, 0\n %17 = icmp eq i32 %15, 4\n %18 = icmp eq i1 %17, false\n %or.cond = icmp eq i1 %16, %18\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i32 %.reload, 9\n store i32 %19, i32* %2, align 4\n store i32 %19, i32* %.reg2mem3\n br label LBL_6\n LBL_4:\n %20 = icmp eq i32 %15, 1\n %21 = icmp eq i1 %20, false\n store i32 %10, i32* %.reg2mem3\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = add i32 %.reload, 13\n store i32 %22, i32* %2, align 4\n store i32 %22, i32* %.reg2mem3\n br label LBL_6\n LBL_6:\n %.reload4 = load i32, i32* %.reg2mem3\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %23 = load i32, i32* %5, align 8\n %24 = zext i32 %23 to i64\n %25 = icmp ult i64 %indvars.iv.next, %24\n store i32 %.reload4, i32* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %25, label LBL_2, label LBL_7\n LBL_7:\n ret i64 0\n\n uselistorder i32 %15, { 1, 0, 2 }\n uselistorder i32* %5, { 1, 0 }\n uselistorder i32* %2, { 1, 0, 2, 3, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem3, { 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sm501_free_init_fb_4799", "fun_name": "sm501_free_init_fb", "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, 8\n %2 = and i64 %1, 34359738360\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(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 label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qobject_to_qlist_1698", "fun_name": "qobject_to_qlist", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) 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 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 1\n %spec.select = select i1 %4, i64 %1, 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": "unassigned_mem_writew_5075", "fun_name": "unassigned_mem_writew", "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 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i32 %0)\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %arg2, i64 1, i64 0, i64 0, i64 2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_header_14380", "fun_name": "parse_header", "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-phi6.reg2mem = alloca i64*\n %sv_0.04.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = trunc i64 %arg3 to i32\n %1 = icmp sgt i32 %0, 12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_16\n LBL_1:\n %2 = call i32 @memcmp(i64* %arg2, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3)\n %3 = icmp eq i32 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_16\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %sext2 = add i64 %sext, -55834574848\n %5 = udiv i64 %sext2, 4294967296\n %6 = trunc i64 %5 to i32\n %7 = icmp sgt i32 %6, 14\n br i1 %7, label LBL_4, label LBL_2.LBL_15_crit_edge\n LBL_3:\n %.pre = add i64 %4, 128\n %.pre5 = inttoptr i64 %.pre to i64*\n store i64* %.pre5, i64** %.pre-phi6.reg2mem\n br label LBL_15\n LBL_4:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %8, 13\n %10 = bitcast i64* %rdi to i32*\n %11 = add i64 %4, 88\n %12 = add i64 %4, 8\n %13 = bitcast i64* %arg1 to i32*\n %14 = add i64 %4, 128\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %4, 136\n %17 = inttoptr i64 %16 to i32*\n store i32 %6, i32* %.reg2mem\n store i64 %9, i64* %sv_0.04.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = inttoptr i64 %sv_0.04.reload to i8*\n %19 = load i8, i8* %18, align 1\n %20 = add i64 %sv_0.04.reload, 1\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = zext i8 %22 to i32\n %24 = mul i32 %23, 65536\n %25 = add i64 %sv_0.04.reload, 2\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, 256\n %30 = or i32 %29, %24\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 = or i32 %30, %34\n %36 = add nuw nsw i32 %35, 15\n %37 = icmp slt i32 %.reload, %36\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %37, label LBL_16, label LBL_6\n LBL_6:\n %38 = icmp ne i8 %19, 8\n %39 = icmp eq i8 %19, 9\n %40 = icmp eq i1 %39, false\n %or.cond = icmp eq i1 %38, %40\n br i1 %or.cond, label LBL_10, label LBL_7\n LBL_7:\n %41 = load i32, i32* %10, align 8\n %42 = icmp ult i32 %41, 11\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %42, label LBL_8, label LBL_16\n LBL_8:\n %43 = sext i32 %41 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %11, %44\n %46 = inttoptr i64 %45 to i32*\n store i32 %36, i32* %46, align 4\n %47 = zext i32 %36 to i64\n %48 = load i32, i32* %10, align 8\n %49 = call i64 @FUNC(i64 %47)\n %50 = sext i32 %48 to i64\n %51 = mul i64 %50, 8\n %52 = add i64 %51, %12\n %53 = inttoptr i64 %52 to i64*\n store i64 %49, i64* %53, align 8\n %54 = load i32, i32* %10, align 8\n %55 = sext i32 %54 to i64\n %56 = mul i64 %55, 8\n %57 = add i64 %56, %12\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 store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %61, label LBL_9, label LBL_16\n LBL_9:\n %62 = inttoptr i64 %59 to i64*\n %63 = inttoptr i64 %sv_0.04.reload to i64*\n %64 = call i64* @memcpy(i64* %62, i64* %63, i32 %36)\n %65 = add i32 %54, 1\n store i32 %65, i32* %13, align 4\n br label LBL_14\n LBL_10:\n %66 = icmp eq i8 %19, 18\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_14, label LBL_11\n LBL_11:\n %68 = load i64, i64* %15, align 8\n %69 = icmp eq i64 %68, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %69, label LBL_12, label LBL_16\n LBL_12:\n store i32 %35, i32* %17, align 4\n %70 = zext i32 %35 to i64\n %71 = call i64 @FUNC(i64 %70)\n store i64 %71, i64* %15, align 8\n %72 = icmp eq i64 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %73, label LBL_13, label LBL_16\n LBL_13:\n %74 = load i32, i32* %17, align 4\n %75 = add i64 %sv_0.04.reload, 11\n %76 = inttoptr i64 %71 to i64*\n %77 = inttoptr i64 %75 to i64*\n %78 = call i64* @memcpy(i64* %76, i64* %77, i32 %74)\n br label LBL_14\n LBL_14:\n %79 = zext i32 %36 to i64\n %80 = add i64 %sv_0.04.reload, %79\n %81 = sub i32 %.reload, %36\n %82 = icmp sgt i32 %81, 14\n store i32 %81, i32* %.reg2mem\n store i64 %80, i64* %sv_0.04.reg2mem\n store i64* %15, i64** %.pre-phi6.reg2mem\n br i1 %82, label LBL_5, label LBL_15\n LBL_15:\n %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem\n %83 = load i64, i64* %.pre-phi6.reload, align 8\n %84 = icmp eq i64 %83, 0\n %85 = icmp eq i1 %84, false\n %. = select i1 %85, 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 %71, { 1, 0, 2 }\n uselistorder i32 %36, { 3, 1, 4, 2, 5, 0 }\n uselistorder i8 %19, { 1, 0, 2 }\n uselistorder i64 %sv_0.04.reload, { 6, 0, 1, 3, 2, 5, 4 }\n uselistorder i64 %4, { 3, 2, 4, 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5, 7, 8 }\n uselistorder i64 (i64)* @av_malloc, { 1, 0 }\n uselistorder i1 false, { 4, 1, 2, 3, 0 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i32 14, { 1, 0 }\n uselistorder i64 4294967296, { 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": "1" }, { "dataset": "CompRealVul", "file": "msf_read_header_16135", "fun_name": "msf_read_header", "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, i64 4)\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 4294967284, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_12\n LBL_1:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = trunc i64 %8 to i32\n %10 = load i64, i64* %4, align 8\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %9, i32* %12, align 4\n %13 = load i64, i64* %4, align 8\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 %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 i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_2, label LBL_12\n LBL_2:\n %22 = call i64 @FUNC(i64 %arg1)\n %23 = call i64 @FUNC(i64 %arg1)\n %24 = trunc i64 %23 to i32\n %25 = load i64, i64* %4, align 8\n %26 = add i64 %25, 8\n %27 = inttoptr i64 %26 to i32*\n store i32 %24, i32* %27, align 4\n %28 = load i64, i64* %4, align 8\n %29 = add i64 %28, 8\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 slt i32 %31, 0\n %34 = icmp eq i1 %33, false\n %35 = icmp eq i1 %32, false\n %36 = icmp eq i1 %34, %35\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_3, label LBL_12\n LBL_3:\n %37 = call i64 @FUNC(i64 %arg1)\n %38 = trunc i64 %37 to i32\n %39 = load i64, i64* %4, align 8\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = udiv i32 2147483647, %42\n %44 = icmp ult i32 %43, %38\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %44, label LBL_12, label LBL_4\n LBL_4:\n %45 = trunc i64 %7 to i32\n %46 = add i64 %39, 12\n %47 = inttoptr i64 %46 to i32*\n store i32 %38, i32* %47, align 4\n %48 = icmp eq i32 %45, 7\n br i1 %48, label LBL_9, label LBL_5\n LBL_5:\n %49 = icmp ult i32 %45, 8\n br i1 %49, label LBL_6, label LBL_10\n LBL_6:\n switch i32 %45, label LBL_10 [\n i32 0, label LBL_7\n i32 3, label LBL_8\n ]\n LBL_7:\n %50 = load i64, i64* %4, align 8\n %51 = add i64 %50, 16\n %52 = inttoptr i64 %51 to i32*\n store i32 1, i32* %52, align 4\n br label LBL_11\n LBL_8:\n %53 = load i64, i64* %4, 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 = mul i32 %56, 16\n %58 = add i64 %53, 12\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = load i64, i64* %4, align 8\n %61 = add i64 %60, 16\n %62 = inttoptr i64 %61 to i32*\n store i32 2, i32* %62, align 4\n br label LBL_11\n LBL_9:\n %63 = add i64 %1, 12\n %64 = inttoptr i64 %63 to i32*\n store i32 1, i32* %64, align 4\n %65 = load i64, i64* %4, align 8\n %66 = add i64 %65, 16\n %67 = inttoptr i64 %66 to i32*\n store i32 3, i32* %67, align 4\n br label LBL_11\n LBL_10:\n %68 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %45)\n store i64 4294967283, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %69 = load i64, i64* %4, align 8\n %70 = and i64 %22, 4294967295\n %71 = call i64 @FUNC(i64 %69, i64 %70)\n %72 = trunc i64 %71 to i32\n %73 = add i64 %1, 8\n %74 = inttoptr i64 %73 to i32*\n store i32 %72, i32* %74, align 4\n %75 = call i64 @FUNC(i64 %69)\n %76 = sub i64 64, %75\n %77 = and i64 %76, 4294967295\n %78 = call i64 @FUNC(i64 %69, i64 %77)\n %79 = load i64, i64* %4, align 8\n %80 = add i64 %79, 8\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = zext i32 %82 to i64\n %84 = call i64 @FUNC(i64 %1, i64 64, i64 1, i64 %83)\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 %45, { 1, 0, 3, 2 }\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64* %4, { 3, 4, 5, 0, 1, 2, 6, 7, 8, 9, 10, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 3, 4 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 0, 3, 1, 4 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder i64 4, { 1, 2, 3, 4, 0 }\n uselistorder i32 1, { 4, 5, 6, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 5, 4, 6, 7 }\n uselistorder label LBL_12, { 4, 5, 0, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vhost_dev_start_3308", "fun_name": "vhost_dev_start", "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 i32\n %.reg2mem15 = alloca i32\n %storemerge1.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %1, align 1\n %2 = add i64 %0, 1\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = zext i8 %4 to i64\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n store i32 %7, i32* %sv_0.1.reg2mem\n br i1 %8, label LBL_13, label LBL_1\n LBL_1:\n %9 = trunc i64 %0 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_4\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 = icmp eq i32 %14, 0\n br i1 %15, label LBL_7, label LBL_3\n LBL_3:\n %16 = ptrtoint i64* %arg2 to i64\n %17 = add i64 %0, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge25.reg2mem\n br label LBL_5\n LBL_4:\n %21 = call i32* @__errno_location()\n %22 = load i32, i32* %21, align 4\n %23 = sub i32 0, %22\n store i32 %23, i32* %sv_0.1.reg2mem\n br label LBL_13\n LBL_5:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %24 = load i64, i64* %18, align 8\n %25 = mul i64 %.reload, 4\n %26 = add i64 %24, %25\n %27 = and i64 %26, 4294967295\n %28 = load i64, i64* %20, align 8\n %29 = mul i64 %.reload, 8\n %30 = add i64 %28, %29\n %31 = call i64 @FUNC(i64 %0, i64 %16, i64 %30, i64 %27)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n br i1 %33, label LBL_11, label LBL_6\n LBL_6:\n %34 = add i32 %storemerge25.reload, 1\n %35 = load i32, i32* %13, 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* %storemerge25.reg2mem\n br i1 %38, label LBL_5, label LBL_7\n LBL_7:\n %39 = load i8, i8* %3, align 1\n %40 = icmp eq i8 %39, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %40, label LBL_14, label LBL_8\n LBL_8:\n %41 = call i64 @FUNC(i64 %0)\n %42 = add i64 %0, 32\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = icmp eq i64 %41, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %45 = call i64 @FUNC(i64 %41)\n store i64 %45, i64* %storemerge1.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %46 = add i64 %0, 40\n %47 = inttoptr i64 %46 to i64*\n store i64 %storemerge1.reload, i64* %47, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_11:\n %48 = add i32 %storemerge25.reload, -1\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %48, i32* %.reg2mem15\n store i32 %32, i32* %sv_0.1.reg2mem\n br i1 %50, label LBL_12, label LBL_13\n LBL_12:\n %.reload16 = load i32, i32* %.reg2mem15\n %51 = load i64, i64* %18, align 8\n %52 = sext i32 %.reload16 to i64\n %53 = mul i64 %52, 4\n %54 = add i64 %53, %51\n %55 = and i64 %54, 4294967295\n %56 = load i64, i64* %20, align 8\n %57 = mul i64 %52, 8\n %58 = add i64 %56, %57\n %59 = call i64 @FUNC(i64 %0, i64 %16, i64 %58, i64 %55)\n %60 = add i32 %.reload16, -1\n %61 = icmp slt i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i32 %60, i32* %.reg2mem15\n store i32 %32, i32* %sv_0.1.reg2mem\n br i1 %62, label LBL_12, label LBL_13\n LBL_13:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n store i8 0, i8* %1, align 1\n %63 = zext i32 %sv_0.1.reload to i64\n store i64 %63, 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 %.reload16, { 1, 0 }\n uselistorder i64 %41, { 1, 0, 2 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32 %storemerge25.reload, { 1, 0 }\n uselistorder i32* %13, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 6, 7, 5, 4, 3, 2, 8, 9, 10 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem15, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 3, 2, 4, 5, 0, 1, 6, 7 }\n uselistorder label LBL_14, { 2, 0, 1 }\n uselistorder label LBL_13, { 0, 1, 3, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raptor_rss_parse_start_11544", "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 0, i64* %indvars.iv.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %6 = add i64 %indvars.iv.reload, %3\n %7 = inttoptr i64 %6 to i8*\n store i8 78, i8* %7, 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_2, label LBL_1\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i64 1)\n %9 = add i64 %3, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %8, 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 = 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 br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = load i64, i64* %10, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %20, i64 %24)\n br label LBL_4\n LBL_4:\n %27 = load i64, i64* %10, align 8\n %28 = call i64 @FUNC(i64 %27, i64 %0)\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 %3, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64)* @raptor_sax2_set_option, { 1, 0 }\n uselistorder i64 (i64, i64)* @RAPTOR_OPTIONS_GET_NUMERIC, { 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ohci_sysbus_class_init_16228", "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 4198694, i64* %arg1, align 8\n %1 = add i64 %0, 32\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 %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 4198701, i64* %11, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pubek_show_17454", "fun_name": "pubek_show", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.119.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64*, align 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = zext i32 %3 to i64\n %5 = inttoptr i64 %4 to i64*\n store i64* %5, i64** %sv_2, align 8\n %6 = bitcast i64** %sv_2 to i32*\n %7 = call i64 @FUNC(i64 %2, i64 0, i32* nonnull %6, i64 256, i64 28, i64 0)\n %sext.mask = and i64 %7, 4294967295\n %8 = icmp eq i64 %sext.mask, 0\n %9 = icmp eq i1 %8, false\n store i64 %0, i64* %sv_0.2.reg2mem\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %sv_1 to i64\n %11 = add i64 %10, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 8\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = and i64 %15, 4294967295\n %17 = add i64 %10, 23\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = add i64 %10, 22\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 2\n %23 = add i64 %10, 21\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = add i64 %10, 20\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 4\n %29 = add i64 %10, 19\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = add i64 %10, 18\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 2\n %35 = zext i8 %34 to i32\n %36 = add i64 %10, 17\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i32\n %40 = add i64 %10, 16\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 8\n %43 = zext i8 %42 to i32\n %44 = add i64 %10, 15\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = zext i8 %46 to i32\n %48 = add i64 %10, 14\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 2\n %51 = zext i8 %50 to i32\n %52 = add i64 %10, 13\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = zext i8 %54 to i32\n %56 = add i64 %10, 12\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 4\n %59 = zext i8 %58 to i32\n %60 = or i64 %10, 7\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = zext i8 %62 to i32\n %64 = or i64 %10, 6\n %65 = inttoptr i64 %64 to i8*\n %66 = load i8, i8* %65, align 2\n %67 = or i64 %10, 5\n %68 = inttoptr i64 %67 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = or i64 %10, 4\n %71 = inttoptr i64 %70 to i8*\n %72 = load i8, i8* %71, align 4\n %73 = or i64 %10, 3\n %74 = inttoptr i64 %73 to i8*\n %75 = load i8, i8* %74, align 1\n %76 = or i64 %10, 2\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 2\n %79 = or i64 %10, 1\n %80 = inttoptr i64 %79 to i8*\n %81 = load i8, i8* %80, align 1\n %82 = bitcast i64* %sv_1 to i8*\n %83 = load i8, i8* %82, align 8\n %84 = zext i8 %19 to i32\n %85 = zext i8 %22 to i32\n %86 = zext i8 %25 to i32\n %87 = zext i8 %28 to i32\n %88 = zext i8 %31 to i32\n %89 = zext i8 %66 to i32\n %90 = zext i8 %69 to i32\n %91 = zext i8 %72 to i32\n %92 = zext i8 %75 to i32\n %93 = zext i8 %78 to i32\n %94 = bitcast i64* %arg3 to i8*\n %95 = zext i8 %83 to i32\n %96 = zext i8 %81 to i32\n %97 = call i32 (i8*, i8*, ...) @sprintf(i8* %94, i8* getelementptr inbounds ([174 x i8], [174 x i8]* @gv_1, i64 0, i64 0), i32 %95, i32 %96, i32 %93, i32 %92, i32 %91, i32 %90, i32 %89, i32 %63, i32 %59, i32 %55, i32 %51, i32 %47, i32 %43, i32 %39, i32 %35, i32 %88, i32 %87, i32 %86, i32 %85, i32 %84, i64 %16)\n %98 = sext i32 %97 to i64\n %99 = add i64 %98, %0\n %100 = add i64 %10, 28\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %99, i64* %sv_0.119.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.119.reload = load i64, i64* %sv_0.119.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %101 = add i64 %100, %indvars.iv.reload\n %102 = inttoptr i64 %101 to i8*\n %103 = load i8, i8* %102, align 1\n %104 = inttoptr i64 %sv_0.119.reload to i8*\n %105 = zext i8 %103 to i32\n %106 = call i32 (i8*, i8*, ...) @sprintf(i8* %104, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %105)\n %107 = sext i32 %106 to i64\n %108 = add i64 %sv_0.119.reload, %107\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %109 = urem i64 %indvars.iv.next, 16\n %110 = icmp eq i64 %109, 0\n %111 = icmp eq i1 %110, false\n store i64 %108, i64* %sv_0.0.reg2mem\n br i1 %111, label LBL_4, label LBL_3\n LBL_3:\n %112 = inttoptr i64 %108 to i8*\n %113 = call i32 (i8*, i8*, ...) @sprintf(i8* %112, i8* inttoptr (i64 4202724 to i8*))\n %114 = sext i32 %113 to i64\n %115 = add i64 %108, %114\n store i64 %115, 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 %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.119.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_2\n LBL_5:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %116 = sub i64 %sv_0.2.reload, %0\n %sext = mul i64 %116, 4294967296\n %117 = ashr exact i64 %sext, 32\n ret i64 %117\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %108, { 1, 2, 0 }\n uselistorder i64 %sv_0.119.reload, { 1, 0 }\n uselistorder i64** %sv_2, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.119.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 2, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i64 28, { 1, 0 }\n uselistorder i64 256, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nsec_valid_13061", "fun_name": "nsec_valid", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %arg1.off = add i64 %arg1, -1000000000\n %0 = icmp ugt i64 %arg1.off, -1000000003\n %storemerge = zext i1 %0 to i64\n ret i64 %storemerge\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_6494", "fun_name": "init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = call i32 @pthread_mutex_init(i64* nonnull @gv_0, i64* null)\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))\n store i64 %1, i64* @gv_2, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0))\n store i64 %5, i64* @gv_2, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n %9 = call i64 @FUNC()\n store i64 %9, i64* @gv_2, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_11\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %13 = call i64 @FUNC(i64 %.reload, i8* getelementptr inbounds ([11 x i8], [11 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_6, label LBL_5\n LBL_5:\n %16 = call i32 @unlink(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %17 = load i64, i64* @gv_2, align 8\n %18 = call i64 @FUNC(i64 %17)\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 br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = load i64, i64* @gv_2, align 8\n %24 = call i64 @FUNC(i64 %23)\n br label LBL_8\n LBL_8:\n %25 = call i64 @FUNC()\n store i64 %25, i64* @gv_8, align 8\n %26 = icmp eq i64 %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(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_11\n LBL_10:\n %29 = call i64 @FUNC(i64 0)\n store i64 %29, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_11:\n %30 = load i64, i64* @gv_8, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = load i64, i64* @gv_2, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = call i32 @pthread_mutex_destroy(i64* nonnull @gv_0)\n store i64 0, i64* @gv_8, align 8\n store i64 0, i64* @gv_2, align 8\n %35 = call i64 @FUNC(i64 1)\n store i64 %35, 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* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @future_new_immediate, { 1, 0 }\n uselistorder i64 (i8*, i8*)* @LOG_ERROR, { 1, 0 }\n uselistorder i64 (i8*, i8*)* @LOG_WARN, { 1, 0 }\n uselistorder i32 1, { 3, 2, 4, 1, 0, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cortex_a15_initfn_2772", "fun_name": "cortex_a15_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, 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 = call i64 @FUNC(i64 %0, i64 6)\n %7 = call i64 @FUNC(i64 %0, i64 7)\n %8 = call i64 @FUNC(i64 %0, i64 8)\n %9 = call i64 @FUNC(i64 %0, i64 9)\n %10 = call i64 @FUNC(i64 %0, i64 10)\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 1093648625, i32* %12, align 4\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 1090793712, i32* %14, align 4\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 269550114, i32* %16, align 4\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 286331153, i32* %18, align 4\n %19 = add i64 %0, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 -2075869180, i32* %20, align 4\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i32*\n store i32 12910712, i32* %22, align 4\n %23 = add i64 %0, 28\n %24 = inttoptr i64 %23 to i32*\n store i32 4401, i32* %24, align 4\n %25 = add i64 %0, 32\n %26 = inttoptr i64 %25 to i32*\n store i32 69649, i32* %26, align 4\n %27 = add i64 %0, 36\n %28 = inttoptr i64 %27 to i32*\n store i32 33621333, i32* %28, align 4\n %29 = add i64 %0, 40\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %0, 44\n %32 = inttoptr i64 %31 to i32*\n store i32 270536965, i32* %32, align 4\n %33 = add i64 %0, 48\n %34 = inttoptr i64 %33 to i32*\n store i32 536870912, i32* %34, align 4\n %35 = add i64 %0, 52\n %36 = inttoptr i64 %35 to i32*\n store i32 19136512, i32* %36, align 4\n %37 = add i64 %0, 56\n %38 = inttoptr i64 %37 to i32*\n store i32 34611729, i32* %38, align 4\n %39 = add i64 %0, 60\n %40 = inttoptr i64 %39 to i32*\n store i32 34607376, i32* %40, align 4\n %41 = add i64 %0, 64\n %42 = inttoptr i64 %41 to i32*\n store i32 319889681, i32* %42, align 4\n %43 = add i64 %0, 68\n %44 = inttoptr i64 %43 to i32*\n store i32 555950145, i32* %44, align 4\n %45 = add i64 %0, 72\n %46 = inttoptr i64 %45 to i32*\n store i32 286335281, i32* %46, align 4\n %47 = add i64 %0, 76\n %48 = inttoptr i64 %47 to i32*\n store i32 268505410, i32* %48, align 4\n %49 = add i64 %0, 80\n %50 = inttoptr i64 %49 to i32*\n store i32 169869347, i32* %50, align 4\n %51 = add i64 %0, 84\n %52 = inttoptr i64 %51 to i32*\n store i32 1881137162, i32* %52, align 4\n %53 = add i64 %0, 88\n %54 = inttoptr i64 %53 to i32*\n store i32 538959882, i32* %54, align 4\n %55 = add i64 %0, 92\n %56 = inttoptr i64 %55 to i32*\n store i32 1897914490, i32* %56, align 4\n %57 = load i64, i64* @gv_0, align 8\n %58 = call i64 @FUNC(i64 %0, i64 %57)\n ret i64 %58\n\n uselistorder i64 %0, { 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 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_feature, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysbus_device_class_init_1850", "fun_name": "sysbus_device_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 ptrtoint ([11 x i8]* @gv_0 to i64), 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 ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_unlock_avcodec_2789", "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 = call i64 @FUNC(i64* nonnull @gv_2)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %. = select i1 %18, 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": "0" }, { "dataset": "CompRealVul", "file": "pci_ins_check_144", "fun_name": "pci_ins_check", "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 = inttoptr i64 %arg3 to i8*\n %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 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 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\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_2, label LBL_3\n LBL_2:\n %7 = inttoptr i64 %arg4 to i8*\n %8 = call i32 @strcmp(i8* %0, i8* %7)\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 i32 (i8*, i8*)* @strcmp, { 0, 2, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_write_5697", "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 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %11, %1\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %15 = load i64, i64* %3, align 8\n %16 = add i64 %9, 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 = sext i32 %20 to i64\n %22 = urem i64 %15, %21\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 %0, i64 4294967291)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %25 = ptrtoint i64* %arg2 to i64\n %26 = add i64 %25, 1536\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 32\n %30 = icmp eq i1 %29, false\n store i32 %28, i32* %.reg2mem\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = add i64 %9, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %25)\n %.pre = load i32, i32* %27, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %35 = sext i32 %.reload to i64\n %36 = mul nsw i64 %35, 48\n %37 = add i64 %36, %25\n %38 = inttoptr i64 %37 to i64*\n store i64 %1, i64* %38, align 8\n %39 = load i64, i64* %3, align 8\n %40 = udiv i64 %39, 512\n %41 = add i64 %37, 8\n %42 = inttoptr i64 %41 to i64*\n store i64 %40, i64* %42, align 8\n %43 = add i64 %37, 16\n %44 = inttoptr i64 %43 to i64*\n store i64 %2, i64* %44, align 8\n %45 = add i64 %37, 24\n %46 = inttoptr i64 %45 to i64*\n store i64 4198792, i64* %46, align 8\n %47 = add i64 %37, 32\n %48 = inttoptr i64 %47 to i64*\n store i64 %0, i64* %48, align 8\n %49 = add i64 %37, 40\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = load i32, i32* %27, align 4\n %52 = add i32 %51, 1\n store i32 %52, i32* %27, align 4\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* %27, { 2, 1, 0, 3 }\n uselistorder i64 %25, { 0, 1, 3, 2 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\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": "RegisterSGIImage_10534", "fun_name": "RegisterSGIImage", "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), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n store i64 4198885, i64* %2, align 8\n %3 = add i64 %0, 24\n %4 = inttoptr i64 %3 to i64*\n store i64 4198896, i64* %4, align 8\n %5 = add i64 %0, 32\n %6 = inttoptr i64 %5 to i64*\n store i64 4198907, i64* %6, align 8\n %7 = add i64 %0, 40\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = or i32 %9, 1\n store i32 %10, i32* %8, align 4\n %11 = call i64 @FUNC(i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gdlm_ast_4972", "fun_name": "gdlm_ast", "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.1.reg2mem = alloca i64\n %sv_0.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 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 2\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i32, i32* %4, align 4\n %10 = and i32 %9, 2\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %2, 20\n %13 = inttoptr i64 %12 to i64*\n %14 = call i64* @memset(i64* %13, i32 0, i32 128)\n br label LBL_2\n LBL_2:\n store i64 %2, i64* @0, align 8\n switch i64 %2, label LBL_6 [\n i64 0, label LBL_7\n i64 1, label LBL_3\n i64 2, label LBL_4\n i64 3, label LBL_12\n i64 4, label LBL_12\n i64 5, label LBL_5\n ]\n LBL_3:\n %15 = call i64 @FUNC(i64 1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %16 = or i64 %1, 4\n store i64 %16, i64* %sv_0.1.reg2mem\n br label LBL_12\n LBL_5:\n %17 = or i64 %1, 8\n store i64 %17, i64* %sv_0.1.reg2mem\n br label LBL_12\n LBL_6:\n %18 = call i64 @FUNC()\n unreachable\n LBL_7:\n %19 = load i32, i32* inttoptr (i64 4 to i32*), align 4\n %20 = load i32, i32* %4, align 4\n %21 = and i32 %20, 4\n %22 = icmp eq i32 %21, 0\n store i32 %19, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_11, label LBL_8\n LBL_8:\n %23 = icmp eq i32 %19, 1\n %24 = icmp eq i1 %23, false\n store i32 2, i32* %sv_0.0.reg2mem\n br i1 %24, label LBL_9, label LBL_11\n LBL_9:\n %25 = icmp eq i32 %19, 2\n %26 = icmp eq i1 %25, false\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_10, label LBL_11\n LBL_10:\n %27 = call i64 @FUNC()\n unreachable\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %28 = call i64 @FUNC(i64 16, i64 148)\n %29 = zext i32 %sv_0.0.reload to i64\n %30 = call i64 @FUNC(i64 0, i64 %29)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %31 = add i64 %2, 148\n %32 = call i64 @FUNC(i64 16, i64 %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_14, label LBL_13\n LBL_13:\n %36 = add i64 %2, 16\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n br label LBL_14\n LBL_14:\n %38 = and i64 %sv_0.1.reload, 4294967295\n %39 = call i64 @FUNC(i64 %2, i64 %38)\n store i64 %39, 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 %19, { 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 4, 0, 5, 1, 6 }\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)* @gfs2_glock_complete, { 1, 0 }\n uselistorder i64 148, { 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 ()* @BUG, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i32 2, { 2, 0, 3, 1 }\n uselistorder label LBL_15, { 0, 2, 1 }\n uselistorder label LBL_12, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openrisc_cpu_initfn_2065", "fun_name": "openrisc_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 %2)\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": "0" }, { "dataset": "CompRealVul", "file": "parallel_process_irp_create_5761", "fun_name": "parallel_process_irp_create", "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 %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = ptrtoint i64* %arg2 to i64\n %2 = load i32, i32* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %3 = call i64 @FUNC(i64 %1, i64 28)\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 28)\n %8 = trunc i64 %7 to i32\n %9 = icmp sgt i32 %8, 3\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_10\n LBL_2:\n %10 = zext i32 %2 to i64\n %11 = call i64 @FUNC(i64 28, i64 %10)\n %12 = call i64 @FUNC(i64 %10)\n %13 = call i64 @FUNC(i64 %10, i64 %10)\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_10\n LBL_3:\n %17 = udiv i32 %2, 2\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 65001, i64 0, i64 %12, i64 %18, i64* nonnull %sv_0, i64 0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp slt i32 %20, 0\n %23 = icmp eq i1 %22, false\n %24 = icmp eq i1 %21, false\n %25 = icmp eq i1 %23, %24\n br i1 %25, label LBL_6, label LBL_4\n LBL_4:\n %26 = call i64* @calloc(i32 1, i32 1)\n %27 = ptrtoint i64* %26 to i64\n store i64 %27, i64* %sv_0, align 8\n %28 = icmp eq i64* %26, null\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(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %31 = ptrtoint i64* %arg1 to i64\n %32 = add i64 %1, 16\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 = add i32 %36, 1\n store i32 %37, i32* %35, align 4\n %38 = add i64 %31, 16\n %39 = inttoptr i64 %38 to i32*\n store i32 %36, i32* %39, align 4\n %40 = add i64 %31, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %42 to i8*\n %44 = call i32 (i8*, i32, ...) @open(i8* %43, i32 2)\n %45 = bitcast i64* %arg1 to i32*\n store i32 %44, i32* %45, align 4\n %46 = bitcast i64* %rdi to i32*\n %47 = load i32, i32* %46, align 8\n %48 = icmp slt 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 = add i64 %1, 32\n %51 = inttoptr i64 %50 to i32*\n store i32 3, i32* %51, align 4\n store i32 0, i32* %39, align 4\n store i64 0, i64* %.reg2mem\n br label LBL_9\n LBL_8:\n %52 = call i32 (i32, i32, ...) @fcntl(i32 %47, i32 4)\n %.pre = load i32, i32* %39, align 4\n %phitmp = zext i32 %.pre to i64\n store i64 %phitmp, i64* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n %53 = add i64 %1, 8\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = call i64 @FUNC(i64 %55, i64 %.reload)\n %57 = load i64, i64* %54, align 8\n %58 = call i64 @FUNC(i64 %57, i64 0)\n %59 = load i64, i64* %sv_0, align 8\n %60 = inttoptr i64 %59 to i64*\n call void @free(i64* %60)\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 %20, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 (i64, i64)* @Stream_SafeSeek, { 1, 0 }\n uselistorder label LBL_10, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_seq_queue_client_leave_9678", "fun_name": "snd_seq_queue_client_leave", "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.iv5.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\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 = call i64 @FUNC(i64 %indvars.iv5.reload, i64 %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)\n br label LBL_3\n LBL_3:\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 128\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond7, label LBL_4, label LBL_1\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = call i64 @FUNC(i64 %indvars.iv.reload)\n %5 = icmp eq i64 %4, 0\n store i64 0, i64* %rax.2.reg2mem\n br i1 %5, label LBL_8, label LBL_5\n LBL_5:\n %6 = call i64 @FUNC(i64 %0, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_7, label LBL_6\n LBL_6:\n %9 = add i64 %4, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %0, i64 0)\n %13 = add i64 %4, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %0, i64 0)\n %17 = add i64 %4, 32\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 0)\n br label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %4)\n store i64 %21, i64* %rax.2.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, 128\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_4\n LBL_9:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %4, { 3, 0, 1, 2, 4, 5 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @snd_seq_prioq_leave, { 1, 0 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 6, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "path_openat_13660", "fun_name": "path_openat", "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.in.reg2mem = alloca i32*\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 %sv_2 = alloca i32, align 4\n store i32 0, i32* %sv_2, align 4\n %2 = call i64 @FUNC()\n %3 = inttoptr i64 %2 to i32*\n %4 = icmp ult i64 %2, -1000\n store i32* %3, i32** %storemerge.in.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 %sext = mul i64 %arg1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %sext5 = mul i64 %arg5, 4294967296\n %8 = ashr exact i64 %sext5, 32\n %9 = trunc i64 %1 to i32\n store i32 %9, i32* %3, align 4\n %10 = and i32 %9, 2\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = ptrtoint i32* %arg4 to i64\n %15 = trunc i64 %8 to i32\n %16 = and i64 %7, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %6, i64 %5, i32 %15, i64 %14, i64 %2)\n %18 = trunc i64 %17 to i32\n store i32 %18, i32* %sv_1, align 4\n br label LBL_12\n LBL_3:\n %19 = trunc i64 %8 to i32\n %20 = and i64 %7, 4294967295\n %21 = call i64 @FUNC(i64 %20, i64 %6, i32 %19, i64 %5)\n %22 = trunc i64 %21 to i32\n store i32 %22, i32* %sv_1, align 4\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_11, label LBL_4\n LBL_4:\n %27 = ptrtoint i32* %arg4 to i64\n %28 = call i64 @FUNC(i64 %5, i32* nonnull %sv_1, i64 %2, i64 %27, i32* nonnull %sv_2, i64 %6)\n %29 = trunc i64 %28 to i32\n store i32 %29, i32* %sv_1, 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 %35 = icmp eq i1 %34, false\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_5, label LBL_11\n LBL_5:\n %37 = add i64 %5, 8\n %38 = inttoptr i64 %37 to i32*\n br label LBL_6\n LBL_6:\n %39 = load i32, i32* %38, align 4\n %40 = and i32 %39, 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_8, label LBL_7\n LBL_7:\n %43 = call i64 @FUNC(i32* nonnull %sv_1, i64 %5)\n %44 = call i64 @FUNC(i64 %5)\n store i32 -1, i32* %sv_1, align 4\n br label LBL_11\n LBL_8:\n %45 = call i64 @FUNC(i32* nonnull %sv_2, i64 %5)\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* %sv_1, align 4\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n %49 = icmp eq i1 %48, false\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_11, label LBL_9\n LBL_9:\n %51 = load i32, i32* %38, align 4\n %52 = and i32 %51, -121\n %53 = or i32 %52, 8\n store i32 %53, i32* %38, align 4\n %54 = call i64 @FUNC(i32* nonnull %sv_2, i64 %5, i64* nonnull %sv_0)\n %55 = trunc i64 %54 to i32\n store i32 %55, i32* %sv_1, align 4\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n %58 = icmp eq i1 %57, false\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 %5, i32* nonnull %sv_1, i64 %2, i64 %27, i32* nonnull %sv_2, i64 %6)\n %61 = trunc i64 %60 to i32\n store i32 %61, i32* %sv_1, align 4\n %62 = load i64, i64* %sv_0, align 8\n %63 = call i64 @FUNC(i64 %5, i32* nonnull %sv_2, i64 %62)\n %64 = load i32, i32* %sv_1, align 4\n %65 = icmp eq i32 %64, 0\n %66 = icmp slt i32 %64, 0\n %67 = icmp eq i1 %66, false\n %68 = icmp eq i1 %65, false\n %69 = icmp eq i1 %67, %68\n %70 = icmp eq i1 %69, false\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_6, label LBL_11\n LBL_11:\n %72 = call i64 @FUNC(i64 %5)\n br label LBL_12\n LBL_12:\n %73 = load i32, i32* %sv_2, align 4\n %74 = urem i32 %73, 2\n %75 = icmp eq i32 %74, 0\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_14, label LBL_13\n LBL_13:\n %77 = load i32, i32* %sv_1, align 4\n %78 = icmp eq i32 %77, 0\n %79 = zext i1 %78 to i64\n %80 = call i64 @FUNC(i64 %79)\n %81 = call i64 @FUNC(i64 %2)\n br label LBL_14\n LBL_14:\n %82 = load i32, i32* %sv_1, align 4\n %83 = icmp eq i32 %82, 0\n %84 = icmp eq i1 %83, false\n %85 = icmp eq i1 %84, false\n store i32* %3, i32** %storemerge.in.reg2mem\n br i1 %85, label LBL_20, label LBL_15\n LBL_15:\n %86 = icmp eq i32 %82, -2\n %87 = icmp eq i1 %86, false\n store i32 %82, i32* %.reg2mem\n br i1 %87, label LBL_19, label LBL_16\n LBL_16:\n %88 = trunc i64 %8 to i8\n %89 = icmp sgt i8 %88, -1\n br i1 %89, label LBL_18, label LBL_17\n LBL_17:\n store i32 -3, i32* %sv_1, align 4\n store i32 -3, i32* %.reg2mem\n br label LBL_19\n LBL_18:\n store i32 -4, i32* %sv_1, align 4\n store i32 -4, i32* %.reg2mem\n br label LBL_19\n LBL_19:\n %.reload = load i32, i32* %.reg2mem\n %90 = sext i32 %.reload to i64\n %91 = inttoptr i64 %90 to i32*\n store i32* %91, i32** %storemerge.in.reg2mem\n br label LBL_20\n LBL_20:\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 %29, { 1, 0, 2 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %6, { 1, 2, 3, 0 }\n uselistorder i64 %5, { 9, 2, 1, 3, 7, 6, 5, 4, 8, 10, 0 }\n uselistorder i32* %3, { 0, 2, 1 }\n uselistorder i64 %2, { 2, 0, 1, 3, 4, 5 }\n uselistorder i32* %sv_2, { 5, 0, 1, 2, 3, 4, 6 }\n uselistorder i32* %sv_1, { 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 1, 12, 2, 13, 14 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 (i64, i32*, i64, i64, i32*, i64)* @do_last, { 1, 0 }\n uselistorder i1 false, { 11, 9, 12, 13, 19, 6, 20, 7, 14, 4, 15, 16, 5, 17, 18, 0, 1, 2, 3, 21, 8, 22, 10, 23 }\n uselistorder i32* %arg4, { 1, 0 }\n uselistorder label LBL_20, { 1, 0, 2 }\n uselistorder label LBL_11, { 0, 2, 1, 5, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compiler_create_instruction_9501", "fun_name": "compiler_create_instruction", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64* @calloc(i32 1, i32 0)\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 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %4 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_1 to i64*), i32 1, i32 25, %_IO_FILE* %3)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %5 = ptrtoint i64* %0 to i64\n ret i64 %5\n\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "key_notify_policy_flush_11541", "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 1, 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, 3\n %16 = inttoptr i64 %15 to i8*\n store i8 2, 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, 2\n %20 = inttoptr i64 %19 to i8*\n store i8 0, 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 0, 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": "1" }, { "dataset": "CompRealVul", "file": "qemu_spice_vm_change_state_handler_1246", "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 = 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 store i32 %1, i32* %3, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_valid_block_bitmap_11491", "fun_name": "ext4_valid_block_bitmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_mig_reset_dirty_cursor_1127", "fun_name": "blk_mig_reset_dirty_cursor", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32*\n store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i32*, i32** %storemerge2.reg2mem\n store i32 0, i32* %storemerge2.reload, align 4\n %0 = ptrtoint i32* %storemerge2.reload 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 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n store i32* %4, i32** %storemerge2.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_2:\n ret i64 %3\n\n uselistorder i32* %storemerge2.reload, { 1, 0 }\n uselistorder i32** %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rv40_decode_init_16643", "fun_name": "rv40_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 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = call i64 @FUNC(i64 %0)\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_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 4198680, i64* %8, align 8\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 4198687, i64* %10, align 8\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n store i64 4198694, i64* %12, align 8\n %13 = add i64 %0, 32\n %14 = inttoptr i64 %13 to i64*\n store i64 4198701, i64* %14, align 8\n %15 = load i32, i32* @gv_1, align 4\n %16 = add i64 %0, 40\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = load i32, i32* @gv_2, align 4\n %19 = add i64 %0, 44\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n ret i64 0\n\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_inputs_3877", "fun_name": "parse_inputs", "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.lcssa.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 store i64 0, i64* %sv_1, align 8\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 91\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = call i64 @FUNC(i64 %0, i64 %arg4)\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_9\n LBL_2:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = call i64 @FUNC(i64 %3, i64 %6)\n store i64 %7, i64* %sv_0, 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)\n br label LBL_7\n LBL_4:\n %10 = call i64 @FUNC(i64 24)\n store i64 %10, i64* %sv_0, 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 %13 = call i64 @FUNC(i64 %3)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %14 = inttoptr i64 %10 to i64*\n store i64 %3, i64* %14, align 8\n %15 = load i64, i64* %sv_0, align 8\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n br label LBL_7\n LBL_7:\n %18 = ptrtoint i64* %sv_1 to i64\n %19 = bitcast i64* %sv_1 to i8*\n %20 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0)\n %21 = call i32 @strspn(i8* nonnull %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %22 = sext i32 %21 to i64\n %23 = add i64 %22, %18\n store i64 %23, i64* %arg1, align 8\n store i64 1, i64* %storemerge.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %24 = call i64 @FUNC(i64* nonnull %sv_1, i64* %arg2)\n %25 = load i64, i64* %sv_1, align 8\n store i64 %25, i64* %arg2, align 8\n store i64 %storemerge.lcssa.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 %3, { 2, 0, 1, 3, 4 }\n uselistorder i64* %sv_1, { 3, 0, 2, 1, 4, 5 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @av_free, { 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "slurm_free_node_info_members_4867", "fun_name": "slurm_free_node_info_members", "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 = 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 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 = add i64 %arg1, 80\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 %arg1, 88\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 %arg1, 96\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 %arg1, 104\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52)\n store i64 0, i64* %51, align 8\n %54 = add i64 %arg1, 112\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56)\n store i64 %57, 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)* @xfree, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 13, 12, 14, 15 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "asn1_find_end_10736", "fun_name": "asn1_find_end", "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 %.reg2mem = alloca i64\n %sv_0.1.be.reg2mem = alloca i32\n %sv_1.0.be.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i32\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 i8, align 1\n %sv_5 = alloca i64, align 8\n store i8 %arg3, i8* %sv_4, align 1\n store i64 %0, i64* %sv_3, align 8\n %1 = icmp eq i8 %arg3, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp slt i64 %arg2, 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_17\n LBL_2:\n %8 = ptrtoint i64* %sv_5 to i64\n %9 = add i64 %8, -8\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %8, -16\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %8, -24\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %8, -32\n %16 = inttoptr i64 %15 to i64*\n %17 = add i64 %8, -40\n %18 = inttoptr i64 %17 to i64*\n store i32 1, i32* %sv_0.15.reg2mem\n store i64 %arg2, i64* %sv_1.04.reg2mem\n br label LBL_4\n LBL_3:\n %19 = add i64 %0, %arg2\n store i64 %19, i64* %arg1, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_4:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %20 = call i64 @FUNC(i64* nonnull %sv_3, i64 %sv_1.04.reload)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_8, label LBL_5\n LBL_5:\n %23 = add i32 %sv_0.15.reload, -1\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_18, label LBL_6\n LBL_6:\n %25 = add i64 %sv_1.04.reload, -2\n store i64 %25, i64* %sv_1.0.be.reg2mem\n store i32 %23, i32* %sv_0.1.be.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem\n %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem\n %26 = icmp eq i64 %sv_1.0.be.reload, 0\n %27 = icmp slt i64 %sv_1.0.be.reload, 0\n %28 = icmp eq i1 %27, false\n %29 = icmp eq i1 %26, false\n %30 = icmp eq i1 %28, %29\n store i32 %sv_0.1.be.reload, i32* %sv_0.15.reg2mem\n store i64 %sv_1.0.be.reload, i64* %sv_1.04.reg2mem\n br i1 %30, label LBL_4, label LBL_16\n LBL_8:\n %31 = load i64, i64* %sv_3, align 8\n store i64 0, i64* %10, align 8\n store i64 0, i64* %12, align 8\n store i64 0, i64* %14, align 8\n store i64 -1, i64* %16, align 8\n store i64 %sv_1.04.reload, i64* %18, align 8\n %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i64 0, i8* nonnull %sv_4, i64 0, i64* nonnull %sv_3)\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_10, label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_10:\n %37 = load i8, i8* %sv_4, align 1\n %38 = icmp eq i8 %37, 0\n br i1 %38, label LBL_14, label LBL_11\n LBL_11:\n %39 = icmp eq i32 %sv_0.15.reload, -1\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_13, label LBL_12\n LBL_12:\n %41 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_13:\n %42 = add i32 %sv_0.15.reload, 1\n %.pre = load i64, i64* %sv_3, align 8\n store i64 %.pre, i64* %.reg2mem\n store i32 %42, i32* %sv_0.0.reg2mem\n br label LBL_15\n LBL_14:\n %43 = load i64, i64* %sv_3, align 8\n %44 = load i64, i64* %sv_2, align 8\n %45 = add i64 %44, %43\n store i64 %45, i64* %sv_3, align 8\n store i64 %45, i64* %.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %46 = add i64 %31, %sv_1.04.reload\n %47 = sub i64 %46, %.reload\n store i64 %47, i64* %sv_1.0.be.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem\n br label LBL_7\n LBL_16:\n %48 = icmp eq i32 %sv_0.1.be.reload, 0\n br i1 %48, label LBL_18, label LBL_17\n LBL_17:\n %49 = call i64 @FUNC(i64 1, i64 3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %50 = load i64, i64* %sv_3, align 8\n store i64 %50, i64* %arg1, align 8\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 %sv_1.0.be.reload, { 2, 1, 0 }\n uselistorder i32 %sv_0.15.reload, { 0, 3, 2, 1 }\n uselistorder i64 %sv_1.04.reload, { 3, 1, 0, 2 }\n uselistorder i8* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 3, 4, 5, 0, 1, 6, 2, 7 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 5, 4, 1 }\n uselistorder i64 (i64, i64)* @ERR_raise, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 3, 4, 5, 2, 0, 1, 6 }\n uselistorder i64 %arg2, { 3, 0, 1, 2 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_read_new_xref_section_4102", "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 %1 = icmp ugt i64 %arg4, 10000\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = trunc i64 %arg5 to i32\n %3 = icmp ugt i32 %2, 10000\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %sext10 = mul i64 %arg5, 4294967296\n %4 = ashr exact i64 %sext10, 32\n %5 = add i64 %4, %arg4\n %6 = icmp slt i64 %5, 10002\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %0, i64 4294967295, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_4:\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 %arg4, i32 %2)\n %sext13 = mul i64 %arg4, 4294967296\n %storemerge40 = ashr exact i64 %sext13, 32\n %10 = icmp slt i64 %storemerge40, %5\n br i1 %10, label LBL_5, label LBL_20\n LBL_5:\n %11 = ptrtoint i32* %arg3 to i64\n %12 = trunc i64 %arg6 to i32\n %13 = icmp sgt i32 %12, 0\n %14 = trunc i64 %arg7 to i32\n %15 = icmp sgt i32 %14, 0\n %16 = trunc i64 %arg8 to i32\n %17 = icmp sgt i32 %16, 0\n %18 = icmp eq i32 %12, 0\n %19 = icmp eq i32 %14, 0\n %20 = icmp eq i32 %16, 0\n store i64 %storemerge40, i64* %storemerge42.reg2mem\n store i64 %sext13, i64* %storemerge.in41.reg2mem\n br label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %0, 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_8\n LBL_7:\n %storemerge.in41.reload = load i64, i64* %storemerge.in41.reg2mem\n %storemerge42.reload = load i64, i64* %storemerge42.reg2mem\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 %13, label LBL_9, label LBL_10\n LBL_8:\n %24 = call i64 @FUNC(i64 %0, i64 4294967295, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_9:\n %sv_2.029.reload = load i32, i32* %sv_2.029.reg2mem\n %storemerge2430.reload = load i32, i32* %storemerge2430.reg2mem\n %25 = mul i32 %sv_2.029.reload, 256\n %26 = call i64 @FUNC(i64 %0, i64 %11)\n %27 = trunc i64 %26 to i32\n %28 = add i32 %25, %27\n %29 = add nuw nsw i32 %storemerge2430.reload, 1\n %exitcond = icmp eq i32 %29, %12\n store i32 %29, i32* %storemerge2430.reg2mem\n store i32 %28, i32* %sv_2.029.reg2mem\n store i32 %28, i32* %sv_2.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\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 %15, label LBL_11, label LBL_12\n LBL_11:\n %sv_1.032.reload = load i64, i64* %sv_1.032.reg2mem\n %storemerge2333.reload = load i32, i32* %storemerge2333.reg2mem\n %30 = mul i64 %sv_1.032.reload, 256\n %31 = call i64 @FUNC(i64 %0, i64 %11)\n %sext22 = mul i64 %31, 4294967296\n %32 = ashr exact i64 %sext22, 32\n %33 = add i64 %32, %30\n %34 = add nuw nsw i32 %storemerge2333.reload, 1\n %exitcond45 = icmp eq i32 %34, %14\n store i32 %34, i32* %storemerge2333.reg2mem\n store i64 %33, i64* %sv_1.032.reg2mem\n store i64 %33, i64* %sv_1.0.lcssa.reg2mem\n br i1 %exitcond45, label LBL_12, label LBL_11\n LBL_12:\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 %17, label LBL_13, label LBL_14\n LBL_13:\n %sv_0.036.reload = load i32, i32* %sv_0.036.reg2mem\n %storemerge2137.reload = load i32, i32* %storemerge2137.reg2mem\n %35 = mul i32 %sv_0.036.reload, 256\n %36 = call i64 @FUNC(i64 %0, i64 %11)\n %37 = trunc i64 %36 to i32\n %38 = add i32 %35, %37\n %39 = add nuw nsw i32 %storemerge2137.reload, 1\n %exitcond46 = icmp eq i32 %39, %16\n store i32 %39, i32* %storemerge2137.reg2mem\n store i32 %38, i32* %sv_0.036.reg2mem\n store i32 %38, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond46, label LBL_14, label LBL_13\n LBL_14:\n %40 = sub i64 %storemerge42.reload, %arg4\n %41 = mul i64 %40, 24\n %42 = add i64 %41, %9\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_19, label LBL_15\n LBL_15:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %narrow = select i1 %18, i32 1, i32 %sv_2.0.lcssa.reload\n store i32 110, i32* %rax.0.reg2mem\n switch i32 %narrow, label LBL_16 [\n i32 0, label LBL_17\n i32 1, label LBL_18\n ]\n LBL_16:\n %47 = icmp eq i32 %narrow, 2\n %48 = icmp eq i1 %47, false\n %. = select i1 %48, i32 0, i32 111\n store i32 %., i32* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n store i32 102, i32* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i32, i32* %rax.0.reg2mem\n store i32 %rax.0.reload, i32* %43, align 4\n %storemerge19 = select i1 %19, i64 0, i64 %sv_1.0.lcssa.reload\n %49 = add i64 %42, 8\n %50 = inttoptr i64 %49 to i64*\n store i64 %storemerge19, i64* %50, align 8\n %narrow26 = select i1 %20, i32 0, i32 %sv_0.0.lcssa.reload\n %51 = add i64 %42, 16\n %52 = inttoptr i64 %51 to i32*\n store i32 %narrow26, i32* %52, align 4\n %53 = trunc i64 %storemerge42.reload to i32\n %54 = add i64 %42, 20\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n br label LBL_19\n LBL_19:\n %sext17 = add i64 %storemerge.in41.reload, 4294967296\n %storemerge = ashr exact i64 %sext17, 32\n %56 = icmp slt i64 %storemerge, %5\n store i64 %storemerge, i64* %storemerge42.reg2mem\n store i64 %sext17, i64* %storemerge.in41.reg2mem\n br i1 %56, label LBL_6, label LBL_20\n LBL_20:\n store i32 1, i32* %arg2, align 4\n ret i64 %8\n\n uselistorder i32 %narrow, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32 %2, { 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 }\n uselistorder i64 4294967296, { 3, 0, 1, 2 }\n uselistorder i64 %arg4, { 3, 0, 4, 1, 2 }\n uselistorder label LBL_18, { 2, 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "superh_cpu_class_init_621", "fun_name": "superh_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 i64*\n store i64 4198732, 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 %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 59, i32* %24, align 4\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmd_xconvmeta_9268", "fun_name": "cmd_xconvmeta", "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 %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 %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 store i64 0, i64* %sv_2, align 8\n store i64 0, i64* %sv_1, align 8\n %4 = load i64, i64* @gv_0, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = ptrtoint i8* %arg1 to i64\n %9 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %3, i64 %2, i64 %1)\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %10, i64 65536)\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* %rax.0.reg2mem\n br i1 %14, label LBL_15, label LBL_2\n LBL_2:\n %15 = load i64, i64* @gv_0, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %8, i64 0)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %17 = call i64 @FUNC(i64 1)\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_5, label LBL_4\n LBL_4:\n %21 = load i64, i64* @gv_2, align 8\n %22 = ptrtoint i8* %arg1 to i64\n %23 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %22, i64 %3, i64 %2, i64 %1)\n %24 = load i64, i64* @gv_4, align 8\n %25 = call i64 @FUNC(i64 %24, i64 32)\n br label LBL_14\n LBL_5:\n %26 = load i64, i64* @gv_4, align 8\n %27 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 32\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = load i64, i64* @gv_2, align 8\n %31 = ptrtoint i8* %arg1 to i64\n %32 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i64 %31, i64 %3, i64 %2, i64 %1)\n %33 = load i64, i64* @gv_4, align 8\n %34 = and i64 %27, 4294967295\n %35 = call i64 @FUNC(i64 %33, i64 %34)\n br label LBL_14\n LBL_7:\n %36 = load i64, i64* @gv_4, align 8\n %37 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 13\n %40 = icmp eq i1 %39, false\n store i32 %38, i32* %sv_0.0.reg2mem\n br i1 %40, label LBL_9, label LBL_8\n LBL_8:\n %41 = load i64, i64* @gv_4, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\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 %44 = icmp eq i32 %sv_0.0.reload, 10\n br i1 %44, label LBL_11, label LBL_10\n LBL_10:\n %45 = load i64, i64* @gv_2, align 8\n %46 = ptrtoint i8* %arg1 to i64\n %47 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64 %46, i64 %3, i64 %2, i64 %1)\n %48 = load i64, i64* @gv_4, align 8\n %49 = zext i32 %sv_0.0.reload to i64\n %50 = call i64 @FUNC(i64 %48, i64 %49)\n br label LBL_14\n LBL_11:\n %51 = load [5 x i8]*, [5 x i8]** @gv_7, align 8\n %52 = ptrtoint [5 x i8]* %51 to i64\n %53 = call i64 @FUNC(i64 %52, i64* nonnull %sv_3)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_13, label LBL_12\n LBL_12:\n %56 = and i64 %53, 4294967295\n %57 = call i64 @FUNC(i64 %56)\n %58 = load i64, i64* @gv_2, align 8\n %59 = ptrtoint i8* %arg1 to i64\n %60 = call i64 @FUNC(i64 %58, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %59, i64 %57, i64 %2, i64 %1)\n br label LBL_14\n LBL_13:\n %61 = load i64, i64* %sv_1, align 8\n %62 = load i64, i64* %sv_2, align 8\n %63 = load i64, i64* %sv_3, align 8\n %64 = ptrtoint i8* %arg1 to i64\n %65 = call i64 @FUNC(i64 %64, i64 %63, i64 %62, i64 %61)\n br label LBL_14\n LBL_14:\n %66 = call i64 @FUNC(i64* nonnull %sv_1)\n %67 = call i64 @FUNC(i64* nonnull %sv_2)\n %68 = call i64 @FUNC(i64* nonnull %sv_3)\n store i64 %68, 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 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 2, 1, 3 }\n uselistorder i64* %sv_2, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 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, 1, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @dlist_free, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @dlist_parse_asatomlist, { 1, 0 }\n uselistorder i64 (i64, i64)* @eatline, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @prot_printf, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 11, 1, 0 }\n uselistorder i8* %arg1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_15, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oz_add_farewell_4596", "fun_name": "oz_add_farewell", "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.0.reg2mem = alloca i1\n %.reg2mem20 = alloca i64\n %storemerge10.reg2mem = alloca i8*\n %.reg2mem = alloca i64\n %0 = urem i64 %arg5, 256\n %1 = add nuw nsw i64 %0, 279\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_8, label LBL_1\n LBL_1:\n %sext8 = mul i64 %arg5, 72057594037927936\n %4 = ashr exact i64 %sext8, 56\n %5 = inttoptr i64 %2 to i8*\n %6 = trunc i64 %arg2 to i8\n store i8 %6, i8* %5, align 1\n %7 = trunc i64 %arg3 to i8\n %8 = add i64 %2, 1\n %9 = inttoptr i64 %8 to i8*\n store i8 %7, i8* %9, align 1\n %10 = trunc i64 %4 to i8\n %11 = add i64 %2, 2\n %12 = inttoptr i64 %11 to i8*\n store i8 %10, i8* %12, align 1\n %13 = trunc i64 %4 to i32\n %14 = add i64 %2, 3\n %15 = inttoptr i64 %14 to i64*\n %16 = bitcast i32* %arg4 to i64*\n %17 = urem i32 %13, 256\n %18 = call i64* @memcpy(i64* %15, i64* %16, i32 %17)\n %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0))\n %20 = call i64 @FUNC(i64* bitcast (i8** @gv_1 to i64*))\n %21 = icmp eq i64* %arg1, bitcast (i8** @gv_1 to i64*)\n %22 = icmp eq i1 %21, false\n store i64 ptrtoint (i8** @gv_1 to i64), i64* %.reg2mem\n store i8* bitcast (i8** @gv_1 to i8*), i8** %storemerge10.reg2mem\n store i64 ptrtoint (i8** @gv_1 to i64), i64* %.reg2mem20\n store i1 true, i1* %sv_0.0.reg2mem\n br i1 %22, label LBL_2, label LBL_6\n LBL_2:\n %storemerge10.reload = load i8*, i8** %storemerge10.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %23 = load i8, i8* %storemerge10.reload, align 1\n %24 = icmp eq i8 %23, %6\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_3\n LBL_3:\n %26 = add i64 %.reload, 1\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, %7\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = add i64 %.reload, 264\n %32 = call i64 @FUNC(i64 %31)\n store i64 %.reload, i64* %.reg2mem20\n store i1 false, i1* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %33 = add i64 %.reload, 264\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %35 to i8*\n %37 = inttoptr i64 %35 to i64*\n %38 = icmp eq i64* %37, %arg1\n %39 = icmp eq i1 %38, false\n store i64 %35, i64* %.reg2mem\n store i8* %36, i8** %storemerge10.reg2mem\n store i64 %35, i64* %.reg2mem20\n store i1 true, i1* %sv_0.0.reg2mem\n br i1 %39, label LBL_2, label LBL_6\n LBL_6:\n %40 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem\n %41 = add i64 %2, 264\n %42 = call i64 @FUNC(i64 %41, i64 %40)\n %43 = call i64 @FUNC(i64* bitcast (i8** @gv_1 to i64*))\n store i64 %43, i64* %rax.0.reg2mem\n br i1 %sv_0.0.reload, label LBL_8, label LBL_7\n LBL_7:\n %.reload21 = load i64, i64* %.reg2mem20\n %44 = call i64 @FUNC(i64 %.reload21)\n store i64 %44, 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 %.reload, { 2, 0, 3, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %storemerge10.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem20, { 0, 1, 3, 2 }\n uselistorder i1* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 264, { 2, 0, 1 }\n uselistorder i1 false, { 4, 0, 2, 3, 1 }\n uselistorder i8** @gv_1, { 1, 0, 2 }\n uselistorder i64* bitcast (i8** @gv_1 to i64*), { 1, 0, 2 }\n uselistorder i64* %arg1, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_free_io_end_13522", "fun_name": "ext4_free_io_end", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n %1 = zext i1 %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i1 %0, 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 = 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 ret i64 %9\n\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_printable_5683", "fun_name": "file_printable", "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_1.01.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg2, -1\n %2 = add i64 %1, %0\n %3 = add i64 %2, -3\n %4 = icmp ugt i64 %2, %0\n %5 = icmp eq i1 %4, false\n store i64 %0, i64* %sv_0.12.reg2mem\n store i64 %arg3, i64* %sv_1.01.reg2mem\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %5, label LBL_7, label LBL_6\n LBL_1:\n %6 = call i16** @__ctype_b_loc()\n %7 = load i16*, i16** %6, align 8\n %8 = ptrtoint i16* %7 to i64\n %9 = load i8, i8* %42, align 1\n %10 = zext i8 %9 to i64\n %11 = mul i64 %10, 2\n %12 = add i64 %11, %8\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = and i16 %14, 16384\n %16 = icmp eq i16 %15, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = add i64 %sv_0.12.reload, 1\n %18 = inttoptr i64 %sv_0.12.reload to i8*\n store i8 %9, i8* %18, align 1\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_3:\n %19 = icmp ult i64 %sv_0.12.reload, %3\n %20 = icmp eq i1 %19, false\n store i64 %sv_0.12.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %20, label LBL_7, label LBL_4\n LBL_4:\n %21 = add i64 %sv_0.12.reload, 1\n %22 = inttoptr i64 %sv_0.12.reload to i8*\n store i8 92, i8* %22, align 1\n %23 = load i8, i8* %42, align 1\n %24 = udiv i8 %23, 64\n %25 = or i8 %24, 48\n %26 = add i64 %sv_0.12.reload, 2\n %27 = inttoptr i64 %21 to i8*\n store i8 %25, i8* %27, align 1\n %28 = load i8, i8* %42, align 1\n %29 = udiv i8 %28, 8\n %30 = urem i8 %29, 8\n %31 = or i8 %30, 48\n %32 = add i64 %sv_0.12.reload, 3\n %33 = inttoptr i64 %26 to i8*\n store i8 %31, i8* %33, align 1\n %34 = load i8, i8* %42, align 1\n %35 = urem i8 %34, 8\n %36 = or i8 %35, 48\n %37 = add i64 %sv_0.12.reload, 4\n %38 = inttoptr i64 %32 to i8*\n store i8 %36, i8* %38, align 1\n store i64 %37, 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 %39 = add i64 %sv_1.01.reload, 1\n %40 = icmp ult i64 %sv_0.0.reload, %2\n %41 = icmp eq i1 %40, false\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 %39, i64* %sv_1.01.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\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 %42 = inttoptr i64 %sv_1.01.reload 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 %sv_0.12.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %45, label LBL_1, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %46 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n store i8 0, i8* %46, align 1\n ret i64 %0\n\n uselistorder i8* %42, { 4, 3, 2, 1, 0 }\n uselistorder i64 %sv_0.12.reload, { 1, 3, 2, 4, 0, 8, 9, 7, 6, 5 }\n uselistorder i64 %sv_1.01.reload, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64 %0, { 4, 0, 1, 3, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.12.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.01.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i8 8, { 1, 2, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i1 false, { 2, 3, 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dd_exist_7115", "fun_name": "dd_exist", "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 = 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 ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n unreachable\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg2, i64 %arg2)\n %6 = call i64 @FUNC(i64 %5)\n %7 = inttoptr i64 %5 to i64*\n call void @free(i64* %7)\n %8 = and i64 %6, 4294967295\n ret i64 %8\n\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_new_exec_10950", "fun_name": "setup_new_exec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\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 %2)\n %4 = load i64, i64* @gv_0, align 8\n %5 = add i64 %4, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 0, i64* %6, align 8\n %7 = load i64, i64* @gv_0, align 8\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC()\n %12 = and i64 %10, 4294967295\n %13 = and i64 %11, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = trunc i64 %14 to i8\n %16 = icmp eq i8 %15, 0\n br i1 %16, label LBL_3, label LBL_1\n LBL_1:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC()\n %19 = and i64 %17, 4294967295\n %20 = and i64 %18, 4294967295\n %21 = call i64 @FUNC(i64 %20, i64 %19)\n %22 = trunc i64 %21 to i8\n %23 = icmp eq i8 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = load i64, i64* @gv_0, align 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26, i64 1)\n br label LBL_4\n LBL_3:\n %28 = load i32, i32* @gv_1, align 4\n %29 = load i64, i64* @gv_0, align 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = zext i32 %28 to i64\n %33 = call i64 @FUNC(i64 %31, i64 %32)\n br label LBL_4\n LBL_4:\n %34 = ptrtoint i64* %arg1 to i64\n %35 = add i64 %34, 8\n %36 = load i64, i64* @gv_0, align 8\n %37 = call i64 @FUNC(i64 %36, i64 %35)\n %38 = load i64, i64* @gv_0, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = inttoptr i64 %40 to i64*\n store i64 4294967296, i64* %41, align 8\n %42 = call i64 @FUNC()\n %43 = bitcast i64* %rdi to i32*\n %44 = load i32, i32* %43, align 8\n %45 = and i64 %42, 4294967295\n %46 = zext i32 %44 to i64\n store i64 %46, i64* %rdi, align 8\n %47 = call i64 @FUNC(i64 %46, i64 %45)\n %48 = trunc i64 %47 to i8\n %49 = icmp eq i8 %48, 1\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_6, label LBL_5\n LBL_5:\n %51 = call i64 @FUNC()\n %52 = add nuw nsw i64 %46, 4\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = and i64 %51, 4294967295\n %56 = zext i32 %54 to i64\n %57 = call i64 @FUNC(i64 %56, i64 %55)\n %58 = trunc i64 %57 to i8\n %59 = icmp eq i8 %58, 1\n br i1 %59, label LBL_7, label LBL_6\n LBL_6:\n %60 = load i64, i64* @gv_0, align 8\n %61 = add i64 %60, 28\n %62 = inttoptr i64 %61 to i32*\n store i32 0, i32* %62, align 4\n br label LBL_9\n LBL_7:\n %63 = add i64 %34, 32\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = call i64 @FUNC(i64 %34, i64 %65)\n %67 = add i64 %34, 24\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = urem i32 %69, 2\n %71 = icmp eq i32 %70, 0\n br i1 %71, label LBL_9, label LBL_8\n LBL_8:\n %72 = load i32, i32* @gv_1, align 4\n %73 = load i64, i64* @gv_0, align 8\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = zext i32 %72 to i64\n %77 = call i64 @FUNC(i64 %75, i64 %76)\n br label LBL_9\n LBL_9:\n %78 = load i64, i64* @gv_0, align 8\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = call i64 @FUNC(i64 %80)\n %82 = trunc i64 %81 to i32\n %83 = icmp eq i32 %82, 0\n %84 = icmp eq i1 %83, false\n br i1 %84, label LBL_11, label LBL_10\n LBL_10:\n %85 = load i64, i64* @gv_0, align 8\n %86 = call i64 @FUNC(i64 %85)\n br label LBL_11\n LBL_11:\n %87 = load i64, i64* @gv_0, align 8\n %88 = add i64 %87, 24\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = add i32 %90, 1\n store i32 %91, i32* %89, align 4\n %92 = load i64, i64* @gv_0, align 8\n %93 = call i64 @FUNC(i64 %92, i64 0)\n %94 = load i64, i64* @gv_0, align 8\n %95 = add i64 %94, 32\n %96 = inttoptr i64 %95 to i64*\n %97 = load i64, i64* %96, align 8\n %98 = call i64 @FUNC(i64 %97)\n ret i64 %98\n\n uselistorder i64 %34, { 2, 1, 0, 3 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_dumpable, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @gid_eq, { 1, 0 }\n uselistorder i64 ()* @current_egid, { 1, 0 }\n uselistorder i64 (i64, i64)* @uid_eq, { 1, 0 }\n uselistorder i64 ()* @current_euid, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DecodeAsn1DerOctetString_5197", "fun_name": "DecodeAsn1DerOctetString", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32*, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 1\n %2 = inttoptr i64 %1 to i32*\n store i32* %2, i32** %sv_1, align 8\n %3 = inttoptr i64 %1 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = sext i8 %4 to i32\n %6 = icmp slt i8 %4, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = urem i32 %5, 256\n store i32 %7, i32* %sv_0, align 4\n %8 = add i64 %0, 2\n %9 = inttoptr i64 %8 to i32*\n store i32* %9, i32** %sv_1, align 8\n store i32 %7, i32* %.reg2mem\n br label LBL_4\n LBL_2:\n %10 = urem i32 %5, 128\n %11 = add i64 %0, 2\n %12 = inttoptr i64 %11 to i32*\n store i32* %12, i32** %sv_1, align 8\n %13 = ptrtoint i32* %arg4 to i64\n %14 = bitcast i32** %sv_1 to i64*\n %15 = call i64 @FUNC(i64* nonnull %14, i32* nonnull %sv_0, i32 %10, i64 %13)\n %16 = trunc i64 %15 to i32\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_3, label LBL_11\n LBL_3:\n %.pre = load i32, i32* %sv_0, align 4\n %19 = icmp eq i32 %.pre, -1\n store i32 %.pre, i32* %.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %20 = trunc i64 %arg2 to i32\n %21 = icmp ugt i32 %.reload, %20\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_7, label LBL_5\n LBL_5:\n %23 = icmp eq i32* %arg4, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_11, label LBL_6\n LBL_6:\n store i32 1, i32* %arg4, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %24 = call i64 @FUNC()\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_8, label LBL_11\n LBL_8:\n %27 = inttoptr i64 %24 to i32*\n store i32 2, i32* %27, align 4\n %28 = load i32, i32* %sv_0, align 4\n %29 = add i64 %24, 4\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i32, i32* %sv_0, align 4\n %32 = add i32 %31, 1\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %24, 8\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 br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %24)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %40 = load i32, i32* %sv_0, align 4\n %41 = load i32*, i32** %sv_1, align 8\n %42 = inttoptr i64 %34 to i64*\n %43 = bitcast i32* %41 to i64*\n %44 = call i64* @memcpy(i64* %42, i64* %43, i32 %40)\n %45 = load i64, i64* %36, align 8\n %46 = load i32, i32* %sv_0, align 4\n %47 = zext i32 %46 to i64\n %48 = add i64 %45, %47\n %49 = inttoptr i64 %48 to i8*\n store i8 0, i8* %49, align 1\n %50 = load i32*, i32** %sv_1, align 8\n %51 = ptrtoint i32* %50 to i64\n %52 = load i32, i32* %sv_0, align 4\n %53 = zext i32 %52 to i64\n %54 = add i64 %53, %51\n %55 = inttoptr i64 %54 to i32*\n store i32* %55, i32** %sv_1, align 8\n %56 = sub i64 %54, %0\n %57 = trunc i64 %56 to i32\n %58 = add i64 %24, 16\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n store i64 %24, 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 %34, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i32** %sv_1, { 5, 4, 3, 6, 2, 1, 0 }\n uselistorder i32* %sv_0, { 2, 3, 4, 5, 6, 0, 1, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 3, 2, 4 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32* %arg4, { 1, 0, 2 }\n uselistorder label LBL_11, { 4, 5, 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_unregister_device_6158", "fun_name": "nfc_llcp_unregister_device", "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 = 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(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 %1)\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 %1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dm_lock_for_deletion_10510", "fun_name": "dm_lock_for_deletion", "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 = call i64 @FUNC(i64* nonnull @gv_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_3, label LBL_1\n LBL_1:\n %5 = trunc i64 %arg2 to i8\n %6 = icmp eq i8 %5, 0\n store i64 4294967280, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 0, i64 %0)\n store i64 4294967280, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_3:\n %8 = trunc i64 %arg3 to i8\n %9 = icmp eq i8 %8, 0\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = call i64 @FUNC(i64 0, i64 %0)\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 1\n store i64 4294967279, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_6\n LBL_5:\n %13 = call i64 @FUNC(i64 1, 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 %14 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @set_bit, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_signature_ts_6375", "fun_name": "get_signature_ts", "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 = add i64 %arg2, 15\n %1 = and i64 %0, 4294967295\n %2 = sext i32 %arg3 to i64\n %3 = icmp slt i64 %1, %2\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 %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = add i64 %4, 15\n %7 = add i64 %6, %5\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, -30\n %11 = icmp eq i1 %10, false\n %. = select i1 %11, i64 8, i64 5\n %12 = add nsw i64 %., %5\n %sext5 = mul i64 %12, 4294967296\n %13 = ashr exact i64 %sext5, 32\n %14 = add i64 %13, %4\n %15 = call i64 @FUNC(i64 %14)\n %16 = and i64 %15, 4294967295\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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 15, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "H264SwDecMalloc_12269", "fun_name": "H264SwDecMalloc", "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* @malloc(i32 %0)\n %2 = ptrtoint i64* %1 to i64\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_config_set_i_9476", "fun_name": "r_config_set_i", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) 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.2.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %storemerge7.in.reg2mem = alloca i8*\n %sv_1.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 %4 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %5 = icmp ne i64* %arg1, null\n %6 = icmp eq i8* %arg2, null\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_25\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = ptrtoint i8* %arg2 to i64\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_11, label LBL_2\n LBL_2:\n %12 = add i64 %10, 24\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* %sv_1.2.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %16, label LBL_3, label LBL_24\n LBL_3:\n %17 = add i64 %10, 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 %14, i32* %.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = inttoptr i64 %19 to i8*\n %22 = call i8* @strdup(i8* %21)\n %23 = ptrtoint i8* %22 to i64\n %24 = icmp eq i8* %22, null\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %sv_1.2.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %25, label LBL_5, label LBL_24\n LBL_5:\n %26 = load i64, i64* %18, align 8\n %27 = inttoptr i64 %26 to i64*\n call void @free(i64* %27)\n %.pre = load i32, i32* %13, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %23, 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 %.reload = load i32, i32* %.reg2mem\n %28 = and i32 %.reload, 2\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %arg3)\n %31 = inttoptr i64 %30 to i8*\n %32 = call i8* @strdup(i8* %31)\n store i8* %32, i8** %storemerge7.in.reg2mem\n br label LBL_9\n LBL_8:\n %33 = bitcast i64* %sv_2 to i8*\n %34 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %33, i32 127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %arg3)\n %35 = call i8* @strdup(i8* nonnull %33)\n store i8* %35, i8** %storemerge7.in.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge7.in.reload = load i8*, i8** %storemerge7.in.reg2mem\n %storemerge7 = ptrtoint i8* %storemerge7.in.reload to i64\n store i64 %storemerge7, i64* %18, align 8\n %36 = icmp eq i8* %storemerge7.in.reload, null\n %37 = icmp eq i1 %36, false\n store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_10, label LBL_24\n LBL_10:\n %38 = add i64 %10, 16\n %39 = inttoptr i64 %38 to i64*\n store i64 %arg3, i64* %39, align 8\n store i64 %10, i64* %sv_0.06.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.15.reg2mem\n br label LBL_21\n LBL_11:\n %40 = trunc i64 %3 to i32\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_20, label LBL_12\n LBL_12:\n %43 = icmp ult i64 %arg3, 1024\n %44 = bitcast i64* %sv_2 to i8*\n br i1 %43, label LBL_13, label LBL_14\n LBL_13:\n %45 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %44, i32 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %arg3)\n br label LBL_15\n LBL_14:\n %46 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %44, i32 128, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %arg3)\n br label LBL_15\n LBL_15:\n %47 = call i64 @FUNC(i64 %9, i64* nonnull %sv_2)\n %48 = icmp eq i64 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 0, i64* %sv_1.2.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %49, label LBL_16, label LBL_24\n LBL_16:\n %50 = add i64 %47, 24\n %51 = inttoptr i64 %50 to i32*\n store i32 12, i32* %51, align 4\n %52 = add i64 %47, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 %arg3, i64* %53, align 8\n %54 = add i64 %8, 8\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_18, label LBL_17\n LBL_17:\n %58 = inttoptr i64 %47 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %56, i64 %59, i64 %47)\n br label LBL_18\n LBL_18:\n %61 = add i64 %8, 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 %47, i64* %sv_0.06.reg2mem\n store i64 0, i64* %sv_1.15.reg2mem\n br i1 %64, label LBL_21, label LBL_19\n LBL_19:\n %65 = call i64 @FUNC(i64 %63, i64 %47)\n %66 = add i64 %8, 24\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = add i32 %68, 1\n store i32 %69, i32* %67, align 4\n store i64 %47, i64* %sv_0.06.reg2mem\n store i64 0, i64* %sv_1.15.reg2mem\n br label LBL_21\n LBL_20:\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %9, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %sv_1.2.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br label LBL_24\n LBL_21:\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %71 = add i64 %sv_0.06.reload, 32\n %72 = inttoptr i64 %71 to i64*\n %73 = load i64, i64* %72, align 8\n %74 = icmp eq i64 %73, 0\n store i64 %sv_1.15.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.06.reload, i64* %sv_0.1.reg2mem\n br i1 %74, label LBL_24, label LBL_22\n LBL_22:\n %75 = add i64 %8, 32\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n %80 = icmp eq i1 %79, false\n store i64 %sv_1.15.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.06.reload, i64* %sv_0.1.reg2mem\n br i1 %80, label LBL_24, label LBL_23\n LBL_23:\n %81 = add i64 %sv_0.06.reload, 8\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = inttoptr i64 %83 to i64*\n call void @free(i64* %84)\n %85 = icmp eq i64 %sv_1.15.reload, 0\n %storemerge2 = select i1 %85, i64 ptrtoint (i8** @gv_3 to i64), i64 %sv_1.15.reload\n %86 = inttoptr i64 %storemerge2 to i8*\n %87 = call i8* @strdup(i8* %86)\n %88 = ptrtoint i8* %87 to i64\n store i64 %88, i64* %82, align 8\n store i64 %sv_1.15.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.06.reload, i64* %sv_0.1.reg2mem\n br label LBL_24\n LBL_24:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %89 = inttoptr i64 %sv_1.2.reload to i64*\n call void @free(i64* %89)\n store i64 %sv_0.1.reload, 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 %sv_0.06.reload, { 0, 4, 1, 2, 3 }\n uselistorder i64 %sv_1.15.reload, { 0, 3, 4, 1, 2 }\n uselistorder i64 %47, { 1, 4, 0, 3, 2, 5, 6, 7 }\n uselistorder i8* %storemerge7.in.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %9, { 2, 1, 0, 3 }\n uselistorder i64 %8, { 3, 1, 0, 2, 4 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.15.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 6, 7, 8, 1, 2, 3, 4, 5 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 6, 7, 8, 1, 2, 3, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 1, 5, 3, 4, 0, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }\n uselistorder i8* null, { 0, 2, 1 }\n uselistorder i64 %arg3, { 3, 5, 6, 4, 0, 1, 2 }\n uselistorder i8* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_24, { 7, 6, 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_21, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "microdvd_probe_488", "fun_name": "microdvd_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 %sv_0.12.reg2mem = alloca i64\n %storemerge13.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 %sv_1 = alloca i64, align 8\n %6 = urem i64 %3, 16777216\n %7 = icmp eq i64 %6, 15711167\n %8 = icmp eq i1 %7, false\n %9 = add i64 %5, 3\n %spec.select = select i1 %8, i64 %5, i64 %9\n %10 = inttoptr i64 %4 to i64*\n %11 = inttoptr i64 %2 to i8*\n %12 = inttoptr i64 %2 to i64*\n %13 = inttoptr i64 %1 to i64*\n store i32 0, i32* %storemerge13.reg2mem\n store i64 %spec.select, 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 %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %14 = inttoptr i64 %sv_0.12.reload to i8*\n %15 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64* %10, i8* %11)\n %16 = icmp eq i32 %15, 1\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* %10, i64* %12, i64* %13)\n %18 = icmp eq i32 %17, 1\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_1)\n %20 = icmp eq i32 %19, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %20, label LBL_4, label LBL_5\n LBL_4:\n %21 = call i32 @strlen(i8* %14)\n %22 = sext i32 %21 to i64\n %23 = add i64 %sv_0.12.reload, 1\n %24 = add i64 %23, %22\n %25 = add nuw nsw i32 %storemerge13.reload, 1\n %26 = icmp ult i32 %25, 3\n store i32 %25, i32* %storemerge13.reg2mem\n store i64 %24, i64* %sv_0.12.reg2mem\n store i64 100, i64* %storemerge.reg2mem\n br i1 %26, 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 i8* %14, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__rfcomm_get_listen_sock_by_addr_10424", "fun_name": "__rfcomm_get_listen_sock_by_addr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32*\n %0 = trunc i64 %arg1 to i8\n %1 = ptrtoint i32* %arg2 to i64\n store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge4.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge4.reload = load i32*, i32** %storemerge4.reg2mem\n %2 = ptrtoint i32* %storemerge4.reload to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, %0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %2)\n %10 = add i64 %9, 5\n %11 = call i64 @FUNC(i64 %10, 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 = load i32, i32* %storemerge4.reload, align 4\n %.off = add i32 %15, -1\n %switch = icmp ult i32 %.off, 2\n store i64 %2, i64* %.pre-phi.reg2mem\n br i1 %switch, label LBL_5, label LBL_4\n LBL_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 = icmp eq i64 %18, 0\n %21 = icmp eq i1 %20, false\n store i32* %19, i32** %storemerge4.reg2mem\n store i64 %18, i64* %.pre-phi.reg2mem\n br i1 %21, label LBL_1, label LBL_5\n LBL_5:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n ret i64 %.pre-phi.reload\n\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i32** %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder i64 (i64)* @rfcomm_pi, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ixgbe_ndo_set_vf_spoofchk_17824", "fun_name": "ixgbe_ndo_set_vf_spoofchk", "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 %arg2, 4294967296\n %sext2 = mul i64 %arg3, 72057594037927936\n %2 = ashr exact i64 %sext2, 56\n %3 = call i64 @FUNC(i64 %0)\n %4 = ashr i32 %1, 3\n %5 = srem i32 %1, 8\n %6 = add i64 %3, 512\n %7 = trunc i64 %2 to i8\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %3, %8\n %10 = inttoptr i64 %9 to i8*\n store i8 %7, i8* %10, align 1\n %11 = zext i32 %4 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %6, i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = urem i32 %5, 32\n %17 = shl i32 -1, %16\n %18 = add i32 %17, -1\n %19 = and i32 %18, %15\n %20 = urem i64 %2, 256\n %21 = icmp eq i32 %16, 0\n %22 = trunc i64 %20 to i32\n %23 = shl i32 %22, %16\n %24 = zext i32 %23 to i64\n %rdx.0 = select i1 %21, i64 %20, i64 %24\n %25 = trunc i64 %rdx.0 to i32\n %26 = or i32 %19, %25\n %27 = call i64 @FUNC(i64 %11)\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %6, i64 %28, i32 %26)\n %30 = add i64 %9, 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_2, label LBL_1\n LBL_1:\n %34 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %35 = add i32 %34, %5\n %36 = call i64 @FUNC(i64 %11)\n %37 = and i64 %36, 4294967295\n %38 = call i64 @FUNC(i64 %6, 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 = icmp eq i32 %40, 0\n %45 = shl i32 %22, %40\n %46 = zext i32 %45 to i64\n %rdx.1 = select i1 %44, i64 %20, i64 %46\n %47 = trunc i64 %rdx.1 to i32\n %48 = or i32 %43, %47\n %49 = call i64 @FUNC(i64 %11)\n %50 = and i64 %49, 4294967295\n %51 = call i64 @FUNC(i64 %6, i64 %50, i32 %48)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i32 %40, { 1, 2, 0 }\n uselistorder i64 %20, { 2, 1, 0 }\n uselistorder i32 %16, { 1, 2, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_class_init_2058", "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 %3 = load i64, i64* %2, align 8\n store i64 4198694, i64* %arg1, align 8\n store i64 4198701, i64* %2, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 4198708, i64* %5, align 8\n %6 = add i64 %3, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 1, i32* %7, align 4\n %8 = inttoptr i64 %3 to i8*\n store i8 0, i8* %8, align 1\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "putint_11744", "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 23, 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 26, 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 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": "1" }, { "dataset": "CompRealVul", "file": "tpm_tis_initfn_13898", "fun_name": "tpm_tis_initfn", "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 %1)\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64* nonnull @gv_0, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4096)\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %4, i64 4261445632, i64 %1)\n ret i64 %5\n\n uselistorder i64 %1, { 0, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sd_e_h_11937", "fun_name": "sd_e_h", "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()\n %3 = icmp eq i64 %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_10\n LBL_1:\n %5 = trunc i64 %1 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 i64 @FUNC(i64 %2)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %9 = icmp eq i32 %5, 2\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_6, label LBL_4\n LBL_4:\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 = icmp ne i32 %14, 5\n %16 = icmp eq i32 %14, 6\n %17 = icmp eq i1 %16, false\n %or.cond = icmp eq i1 %15, %17\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %19 = icmp eq i32 %5, 3\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC()\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %22 = icmp eq i32 %5, 4\n %23 = icmp eq i1 %22, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %24 = call i64 @FUNC(i64 0, 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 i32 %5, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 7, 5, 1, 6 }\n uselistorder i64 1, { 3, 2, 1, 5, 0, 4 }\n uselistorder i1 false, { 1, 2, 0, 3, 4, 5 }\n uselistorder label LBL_10, { 3, 2, 1, 6, 4, 0, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_direct_req_free_4372", "fun_name": "nfs_direct_req_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 24\n %1 = call i64 @FUNC(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 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\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_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %9)\n br label LBL_4\n LBL_4:\n %12 = load i64, i64* @gv_0, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %arg1)\n ret i64 %13\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rand_drbg_new_11369", "fun_name": "rand_drbg_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 %storemerge.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i64\n %0 = trunc i64 %arg1 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(i64 64)\n store i64 %2, i64* %storemerge7.reg2mem\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 64)\n store i64 %3, i64* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %4 = icmp eq i64 %storemerge7.reload, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_5, label LBL_4\n LBL_4:\n %6 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_5:\n br i1 %1, label LBL_7, label LBL_6\n LBL_6:\n %7 = call i64 @FUNC(i64 %storemerge7.reload)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i32 1, i32* %storemerge.reg2mem\n br i1 %9, label LBL_7, label LBL_8\n LBL_7:\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %10 = inttoptr i64 %storemerge7.reload to i32*\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* %10, align 4\n %11 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %12 = add i64 %storemerge7.reload, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = add i64 %storemerge7.reload, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %arg4, i64* %15, align 8\n %16 = icmp eq i64 %arg4, 0\n %17 = icmp eq i1 %16, false\n %18 = add i64 %storemerge7.reload, 24\n %19 = inttoptr i64 %18 to i64*\n store i64 4198860, i64* %19, align 8\n %20 = add i64 %storemerge7.reload, 32\n %21 = inttoptr i64 %20 to i64*\n store i64 4198875, i64* %21, align 8\n br i1 %17, label LBL_10, label LBL_9\n LBL_9:\n %22 = add i64 %storemerge7.reload, 40\n %23 = inttoptr i64 %22 to i64*\n store i64 4198886, i64* %23, align 8\n %24 = add i64 %storemerge7.reload, 48\n %25 = inttoptr i64 %24 to i64*\n store i64 4198901, i64* %25, align 8\n %26 = load i32, i32* @gv_0, align 4\n %27 = add i64 %storemerge7.reload, 56\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = load i32, i32* @gv_1, align 4\n %30 = add i64 %storemerge7.reload, 60\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n br label LBL_11\n LBL_10:\n %32 = load i32, i32* @gv_2, align 4\n %33 = add i64 %storemerge7.reload, 56\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = load i32, i32* inttoptr (i64 4210760 to i32*), align 8\n %36 = add i64 %storemerge7.reload, 60\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n br label LBL_11\n LBL_11:\n %38 = and i64 %arg2, 4294967295\n %39 = trunc i64 %arg3 to i32\n %40 = call i64 @FUNC(i64 %storemerge7.reload, i64 %38, i32 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n br i1 %42, label LBL_15, label LBL_12\n LBL_12:\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br i1 %16, label LBL_16, label LBL_13\n LBL_13:\n %43 = call i64 @FUNC(i64 %arg4)\n %44 = add i64 %storemerge7.reload, 16\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %arg4, 16\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp ugt i32 %46, %49\n %51 = call i64 @FUNC(i64 %arg4)\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br i1 %50, label LBL_14, label LBL_16\n LBL_14:\n %52 = call i64 @FUNC(i64 1, i64 3)\n br label LBL_15\n LBL_15:\n %53 = call i64 @FUNC(i64 %storemerge7.reload)\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 %storemerge7.reload, { 15, 1, 14, 0, 13, 17, 16, 12, 11, 10, 9, 8, 7, 6, 5, 2, 4, 3 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @RANDerr, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i32 1, { 3, 5, 4, 2, 6, 7, 1, 0 }\n uselistorder i64 %arg4, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_16, { 2, 1, 0, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "usb_disable_remote_wakeup_9510", "fun_name": "usb_disable_remote_wakeup", "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 sgt i32 %2, 2\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 0)\n %6 = and i64 %5, 4294967295\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %4, i64 %6, i64 1, i64 0, i64 2, i64 0)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %4, i64 %6, i64 3, i64 1, i64 3, i64 0)\n store i64 %8, 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, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @usb_control_msg, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MClearArea_9918", "fun_name": "MClearArea", "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 %.lcssa.in.reg2mem = alloca i64\n %sv_0.121.reg2mem = alloca i64\n %sv_1.022.reg2mem = alloca i64\n %sv_2.0.in24.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg3 to i32\n %3 = icmp slt i32 %2, 0\n br i1 %3, label LBL_9, label LBL_1\n LBL_1:\n %sext9 = mul i64 %arg5, 4294967296\n %4 = ashr exact i64 %sext9, 32\n %5 = and i64 %4, 4294967295\n %6 = trunc i64 %4 to i32\n %7 = icmp slt i32 %6, %2\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_9, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %sext7 = mul i64 %arg3, 4294967296\n %sext8 = mul i64 %arg4, 4294967296\n %10 = ashr exact i64 %sext8, 32\n %11 = trunc i64 %1 to i32\n %12 = and i64 %1, 4294967295\n %13 = icmp slt i64 %9, %12\n %14 = add i32 %11, -1\n %15 = sext i32 %14 to i64\n %sv_0.0 = select i1 %13, i64 %9, i64 %15\n %16 = icmp slt i64 %10, %12\n %sv_3.0 = select i1 %16, i64 %10, i64 %15\n %17 = add i64 %8, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = ashr exact i64 %sext7, 29\n %21 = add i64 %19, %20\n %22 = trunc i64 %sv_0.0 to i32\n %23 = call i64 @FUNC(i64 %8, i64 %21, i32 %22)\n %24 = load i64, i64* %18, align 8\n %25 = ashr exact i64 %sext9, 29\n %26 = add i64 %24, %25\n %27 = trunc i64 %sv_3.0 to i32\n %28 = call i64 @FUNC(i64 %8, i64 %26, i32 %27)\n %sv_2.020 = ashr exact i64 %sext7, 32\n %29 = trunc i64 %sv_2.020 to i32\n %30 = icmp sgt i32 %29, %6\n store i64 %sv_2.020, i64* %.lcssa.in.reg2mem\n br i1 %30, label LBL_8, label LBL_3\n LBL_3:\n %sext10 = mul i64 %arg6, 4294967296\n %31 = ashr exact i64 %sext10, 32\n %32 = load i64, i64* %18, align 8\n %33 = add i64 %32, %20\n %34 = zext i32 %14 to i64\n %35 = and i64 %sv_3.0, 4294967295\n %36 = trunc i64 %31 to i32\n %37 = icmp eq i32 %36, 0\n %38 = and i64 %31, 4294967295\n store i32 %29, i32* %.reg2mem\n store i64 %sext7, i64* %sv_2.0.in24.reg2mem\n store i64 %33, i64* %sv_1.022.reg2mem\n store i64 %sv_0.0, i64* %sv_0.121.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.121.reload = load i64, i64* %sv_0.121.reg2mem\n %sv_1.022.reload = load i64, i64* %sv_1.022.reg2mem\n %sv_2.0.in24.reload = load i64, i64* %sv_2.0.in24.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %39 = icmp eq i32 %.reload, %6\n %spec.select = select i1 %39, i64 %35, i64 %34\n %40 = trunc i64 %spec.select to i32\n %41 = trunc i64 %sv_0.121.reload to i32\n %42 = sub i32 %40, %41\n %43 = add i32 %42, 1\n %44 = icmp slt i32 %43, 1\n br i1 %44, label LBL_7, label LBL_5\n LBL_5:\n %45 = and i64 %sv_0.121.reload, 4294967295\n %46 = call i64 @FUNC(i64 %sv_1.022.reload, i64 %45, i32 %43)\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %47 = call i64 @FUNC(i64 %8, i32 %.reload, i32 %41, i64 %spec.select, i64 %38)\n br label LBL_7\n LBL_7:\n %sext17 = add i64 %sv_2.0.in24.reload, 4294967296\n %48 = add i64 %sv_1.022.reload, 8\n %sv_2.0 = ashr exact i64 %sext17, 32\n %49 = trunc i64 %sv_2.0 to i32\n %50 = icmp sgt i32 %49, %6\n store i32 %49, i32* %.reg2mem\n store i64 %sext17, i64* %sv_2.0.in24.reg2mem\n store i64 %48, i64* %sv_1.022.reg2mem\n store i64 0, i64* %sv_0.121.reg2mem\n store i64 %sv_2.0, i64* %.lcssa.in.reg2mem\n br i1 %50, label LBL_8, label LBL_4\n LBL_8:\n %.lcssa.in.reload = load i64, i64* %.lcssa.in.reg2mem\n %.lcssa = and i64 %.lcssa.in.reload, 4294967295\n store i64 %.lcssa, 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 %spec.select, { 1, 0 }\n uselistorder i64 %sv_1.022.reload, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %sv_3.0, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %sext7, { 0, 2, 1 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %8, { 0, 1, 3, 2 }\n uselistorder i32 %6, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %sext9, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.in24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.022.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.121.reg2mem, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 4, 3, 2, 0, 5 }\n uselistorder i64 32, { 2, 3, 1, 5, 6, 4, 0 }\n uselistorder i64 4294967296, { 6, 0, 2, 3, 4, 1, 5 }\n uselistorder label LBL_9, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_bytes_16333", "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 %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i16\n %1 = urem i16 %0, -32768\n %2 = icmp ult i16 %1, 256\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 %4 = zext i16 %1 to i64\n %5 = udiv i64 %arg2, 128\n %6 = and i64 %5, 256\n %7 = add nuw nsw i64 %6, %4\n %8 = mul i64 %7, 16\n %9 = add i64 %8, %3\n %10 = ptrtoint i32* %arg3 to i64\n %11 = inttoptr i64 %9 to i64*\n store i64 %10, i64* %11, align 8\n %12 = add i64 %9, 8\n %13 = trunc i64 %arg4 to i32\n %14 = inttoptr i64 %12 to i32*\n store i32 %13, i32* %14, 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 label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gvusershape_find_4053", "fun_name": "gvusershape_find", "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 = 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* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n store i64 %arg1, i64* %sv_0, align 8\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\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 i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smk_rule_show_17846", "fun_name": "smk_rule_show", "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 %.reg2mem14 = alloca i32\n %.reg2mem12 = alloca i32\n %.reg2mem10 = alloca i32\n %.reg2mem8 = alloca i32\n %.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 = bitcast i64* %arg2 to i8*\n %5 = call i32 @strlen(i8* %4)\n %6 = sext i32 %5 to i64\n %7 = icmp ugt i64 %3, %6\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_15, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = add i64 %9, 256\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 @strlen(i8* %11)\n %13 = sext i32 %12 to i64\n %14 = icmp ugt i64 %3, %13\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_15, label LBL_2\n LBL_2:\n %16 = ptrtoint i64* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %10, i64 %2, i64 %1)\n %18 = call i64 @FUNC(i64 %16, i64 32)\n %19 = add i64 %9, 512\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 i32 %21, i32* %.reg2mem\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %16, i64 114)\n %.pre = load i32, i32* %20, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %25 = and i32 %.reload, 2\n %26 = icmp eq i32 %25, 0\n store i32 %.reload, i32* %.reg2mem8\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %16, i64 119)\n %.pre4 = load i32, i32* %20, align 4\n store i32 %.pre4, i32* %.reg2mem8\n br label LBL_6\n LBL_6:\n %.reload9 = load i32, i32* %.reg2mem8\n %28 = and i32 %.reload9, 4\n %29 = icmp eq i32 %28, 0\n store i32 %.reload9, i32* %.reg2mem10\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %16, i64 120)\n %.pre5 = load i32, i32* %20, align 4\n store i32 %.pre5, i32* %.reg2mem10\n br label LBL_8\n LBL_8:\n %.reload11 = load i32, i32* %.reg2mem10\n %31 = and i32 %.reload11, 8\n %32 = icmp eq i32 %31, 0\n store i32 %.reload11, i32* %.reg2mem12\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 %16, i64 97)\n %.pre6 = load i32, i32* %20, align 4\n store i32 %.pre6, i32* %.reg2mem12\n br label LBL_10\n LBL_10:\n %.reload13 = load i32, i32* %.reg2mem12\n %34 = and i32 %.reload13, 16\n %35 = icmp eq i32 %34, 0\n store i32 %.reload13, i32* %.reg2mem14\n br i1 %35, label LBL_12, label LBL_11\n LBL_11:\n %36 = call i64 @FUNC(i64 %16, i64 116)\n %.pre7 = load i32, i32* %20, align 4\n store i32 %.pre7, i32* %.reg2mem14\n br label LBL_12\n LBL_12:\n %.reload15 = load i32, i32* %.reg2mem14\n %37 = icmp eq i32 %.reload15, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_14, label LBL_13\n LBL_13:\n %39 = call i64 @FUNC(i64 %16, i64 45)\n br label LBL_14\n LBL_14:\n %40 = call i64 @FUNC(i64 %16, i64 10)\n store i64 %40, 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 %16, { 6, 5, 4, 3, 2, 1, 0, 8, 7 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %.reg2mem10, { 0, 2, 1 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i32* %.reg2mem14, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64)* @seq_putc, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_15, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__aa_fs_profile_migrate_dents_18387", "fun_name": "__aa_fs_profile_migrate_dents", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) 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, %arg1\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, %arg2\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n store i64 0, i64* %2, 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 ret i64 %arg1\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parseUrlAddrFromRtspUrlString_7050", "fun_name": "parseUrlAddrFromRtspUrlString", "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 %storemerge6.reg2mem = alloca i32\n %.reg2mem19 = alloca i64\n %.reg2mem = alloca i8\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_14\n LBL_1:\n %4 = call i8* @strrchr(i8* %1, i32 58)\n %5 = call i8* @strchr(i8* %1, i32 93)\n %6 = load i8, i8* %1, align 1\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = ptrtoint i8* %5 to i64\n %10 = ptrtoint i8* %1 to i64\n %11 = add i64 %10, -2\n store i8 %6, i8* %.reg2mem\n store i64 2, i64* %.reg2mem19\n store i32 2, i32* %storemerge6.reg2mem\n br label LBL_4\n LBL_3:\n %12 = add i32 %storemerge6.reload, 1\n %13 = sext i32 %12 to i64\n %14 = add i64 %11, %13\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n store i8 %16, i8* %.reg2mem\n store i64 %13, i64* %.reg2mem19\n store i32 %12, i32* %storemerge6.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %18 = icmp eq i8 %.reload, 47\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_5\n LBL_5:\n %.reload20 = load i64, i64* %.reg2mem19\n %20 = add i64 %.reload20, %10\n %21 = add i64 %20, -1\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp eq i8 %23, 47\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_3, label LBL_7\n LBL_6:\n %26 = bitcast i8* %1 to i64*\n call void @free(i64* %26)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %27 = inttoptr i64 %20 to i8*\n %28 = call i8* @strchr(i8* %27, i32 47)\n %29 = icmp eq i8* %5, null\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = add i64 %9, 1\n %31 = inttoptr i64 %30 to i8*\n store i8 0, i8* %31, align 1\n br label LBL_13\n LBL_9:\n %32 = icmp eq i8* %4, null\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n store i8 0, i8* %4, align 1\n br label LBL_13\n LBL_11:\n %33 = icmp eq i8* %28, null\n br i1 %33, label LBL_13, label LBL_12\n LBL_12:\n store i8 0, i8* %28, align 1\n br label LBL_13\n LBL_13:\n %34 = call i64 @FUNC(i64 %8, i64 %arg3, i64 %20)\n %35 = add i64 %arg3, -1\n %36 = add i64 %35, %8\n %37 = inttoptr i64 %36 to i8*\n store i8 0, i8* %37, align 1\n %38 = bitcast i8* %1 to i64*\n call void @free(i64* %38)\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 %20, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i8* %4, { 1, 0 }\n uselistorder i8* %1, { 1, 2, 3, 0, 5, 4, 6 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 0, 2, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder i8* null, { 1, 2, 0, 3 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nntp_add_group_6709", "fun_name": "nntp_add_group", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i8, align 1\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 store i64 0, i64* %sv_6, align 8\n %0 = bitcast i64* %sv_5 to i8*\n call void @FUNC(i8* nonnull %0, i64 0, i64 126)\n store i64 0, i64* %sv_4, align 8\n %1 = bitcast i64* %sv_3 to i8*\n call void @FUNC(i8* nonnull %1, i64 0, i64 1022)\n %2 = icmp ne i64* %arg2, null\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %2, %4\n br i1 %or.cond, label LBL_1, label LBL_10\n LBL_1:\n %5 = bitcast i64* %arg1 to i8*\n %6 = call i32 (i8*, i8*, ...) @sscanf(i8* %5, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_6, i64* nonnull %sv_0, i64* nonnull %sv_1, i8* nonnull %sv_2, i64* nonnull %sv_4)\n %7 = icmp sgt i32 %6, 3\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %8)\n br label LBL_10\n LBL_3:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_6)\n %12 = inttoptr i64 %11 to i8*\n store i8 0, i8* %12, align 1\n %13 = load i64, i64* %sv_1, align 8\n %14 = add i64 %11, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = load i64, i64* %sv_0, align 8\n %17 = add i64 %11, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = load i8, i8* %sv_2, align 1\n %20 = icmp eq i8 %19, 121\n %21 = icmp eq i8 %19, 109\n %narrow = or i1 %20, %21\n %storemerge = zext i1 %narrow to i8\n %22 = add i64 %11, 24\n %23 = inttoptr i64 %22 to i8*\n store i8 %storemerge, i8* %23, align 1\n %24 = add i64 %11, 32\n %25 = call i64 @FUNC(i64 %24, i64* nonnull %sv_4)\n %26 = add i64 %11, 48\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 br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = add i64 %11, 56\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_6, label LBL_5\n LBL_5:\n %35 = call i64 @FUNC(i64 %11)\n br label LBL_10\n LBL_6:\n %36 = load i64, i64* %18, align 8\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_9, label LBL_7\n LBL_7:\n %38 = load i64, i64* %15, align 8\n %39 = icmp ult i64 %36, %38\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = add i64 %36, 1\n %41 = sub i64 %40, %38\n %42 = add i64 %11, 40\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n br label LBL_10\n LBL_9:\n %44 = add i64 %11, 40\n %45 = inttoptr i64 %44 to i64*\n store i64 0, i64* %45, align 8\n br label LBL_10\n LBL_10:\n ret i64 0\n\n uselistorder i64 %11, { 0, 2, 3, 1, 5, 4, 6, 7, 8, 9 }\n uselistorder i64* %sv_6, { 1, 0, 2 }\n uselistorder i64* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 2, 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_get_bit_size_6957", "fun_name": "gf_get_bit_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %1 = urem i32 %storemerge2.reload, 32\n %.highbits = lshr i32 %0, %1\n %2 = icmp eq i32 %.highbits, 0\n %3 = add i32 %storemerge2.reload, 1\n store i32 %3, i32* %storemerge2.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_2:\n %4 = zext i32 %storemerge2.reload to i64\n ret i64 %4\n\n uselistorder i32 %storemerge2.reload, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcntl_signal_handler_12335", "fun_name": "pcntl_signal_handler", "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 = icmp eq i64 %0, 0\n br i1 %1, label LBL_5, 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 store i64 %4, i64* @gv_0, align 8\n %5 = trunc i64 %arg1 to i32\n %6 = inttoptr i64 %0 to i32*\n store i32 %5, i32* %6, align 4\n store i64 0, i64* %3, align 8\n %7 = load i64, i64* @gv_1, align 8\n %8 = icmp eq i64 %7, 0\n %9 = load i64, i64* @gv_2, align 8\n %10 = icmp eq i64 %9, 0\n %or.cond = or i1 %8, %10\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %0, i64* %12, align 8\n br label LBL_4\n LBL_3:\n store i64 %0, i64* @gv_1, align 8\n br label LBL_4\n LBL_4:\n store i64 %0, i64* @gv_2, align 8\n store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8\n br label LBL_5\n LBL_5:\n ret i64 %0\n\n uselistorder i64 %0, { 0, 2, 3, 1, 5, 4, 6 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RegisterTGAImage_9954", "fun_name": "RegisterTGAImage", "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), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n store i64 4198819, i64* %2, align 8\n %3 = add i64 %0, 24\n %4 = inttoptr i64 %3 to i64*\n store i64 4198826, i64* %4, align 8\n %5 = add i64 %0, 32\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = xor i32 %7, 1\n store i32 %8, i32* %6, align 4\n %9 = call i64 @FUNC(i64 %0)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %11 = add i64 %10, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 4198819, i64* %12, align 8\n %13 = add i64 %10, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 4198826, i64* %14, align 8\n %15 = add i64 %10, 32\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = xor i32 %17, 1\n store i32 %18, i32* %16, align 4\n %19 = call i64 @FUNC(i64 %10)\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %21 = add i64 %20, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 4198819, i64* %22, align 8\n %23 = add i64 %20, 24\n %24 = inttoptr i64 %23 to i64*\n store i64 4198826, i64* %24, align 8\n %25 = add i64 %20, 32\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = xor i32 %27, 1\n store i32 %28, i32* %26, align 4\n %29 = call i64 @FUNC(i64 %20)\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %31 = add i64 %30, 16\n %32 = inttoptr i64 %31 to i64*\n store i64 4198819, i64* %32, align 8\n %33 = add i64 %30, 24\n %34 = inttoptr i64 %33 to i64*\n store i64 4198826, i64* %34, align 8\n %35 = add i64 %30, 32\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = xor i32 %37, 1\n store i32 %38, i32* %36, align 4\n %39 = call i64 @FUNC(i64 %30)\n ret i64 305419896\n\n uselistorder i64 (i64)* @RegisterMagickInfo, { 3, 2, 1, 0 }\n uselistorder i32 1, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i8*, i8*, i8*)* @AcquireMagickInfo, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_avio_child_next_3185", "fun_name": "ff_avio_child_next", "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 %arg2, 0\n %2 = icmp eq i1 %1, false\n %storemerge = select i1 %2, i64 0, i64 %0\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nft_set_pktinfo_ipv6_18031", "fun_name": "nft_set_pktinfo_ipv6", "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* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i16, align 2\n %sv_1 = alloca i32, align 4\n store i32 0, i32* %sv_1, align 4\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0)\n %4 = bitcast i16* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %2, i32* nonnull %sv_1, i64 4294967295, i64* nonnull %4, i64 0)\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* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = add i64 %2, 12\n %10 = inttoptr i64 %9 to i8*\n store i8 1, i8* %10, align 1\n %11 = add i64 %2, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 %6, i32* %12, align 4\n %13 = load i32, i32* %sv_1, align 4\n %14 = trunc i32 %13 to i16\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i16*\n store i16 %14, i16* %16, align 2\n %17 = load i16, i16* %sv_0, align 2\n %18 = add i64 %2, 10\n %19 = inttoptr i64 %18 to i16*\n store i16 %17, i16* %19, 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 i32* %sv_1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "transport_connect_nla_13796", "fun_name": "transport_connect_nla", "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 = icmp eq i32 %2, 1\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 = 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 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_10\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 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_10\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 %20 = icmp eq i1 %19, false\n store i64 %18, i64* %.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i64 %12, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %5, i64 %12)\n store i64 %24, i64* %17, align 8\n store i64 %24, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %25 = call i64 @FUNC(i64 %.reload)\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_9, label LBL_6\n LBL_6:\n %29 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_8\n LBL_8:\n %32 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %33 = call i32 @fwrite(i64* bitcast ([114 x i8]* @gv_2 to i64*), i32 1, i32 113, %_IO_FILE* %32)\n %34 = load i64, i64* %17, align 8\n %35 = call i64 @FUNC(i64 %34)\n store i64 0, i64* %17, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %36 = load i64, i64* %17, align 8\n %37 = call i64 @FUNC(i64 %36)\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* %17, { 2, 1, 0, 3, 4 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @credssp_free, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_10, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tls_config_free_4852", "fun_name": "tls_config_free", "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 %5 = icmp eq i1 %4, false\n store i64 %2, i64* %storemerge1.reg2mem\n br i1 %5, label LBL_1, label LBL_2\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 %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\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 i64*\n call void @free(i64* %13)\n %14 = add i64 %arg1, 24\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 %18 = add i64 %arg1, 32\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 = add i64 %arg1, 40\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 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %26)\n store i64 ptrtoint (i32* @0 to 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 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder void (i64*)* @free, { 5, 6, 3, 2, 1, 4, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 4, 3, 6, 5, 0, 7 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cbq_dump_ovl_11723", "fun_name": "cbq_dump_ovl", "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 %sv_0 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n store i32 %3, i32* %sv_0, align 4\n %4 = call i64 @FUNC(i64 %2, i64 1, i64 12, i32* nonnull %sv_0)\n %5 = add i64 %2, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n ret i64 %8\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fsmMkdir_5938", "fun_name": "fsmMkdir", "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 = urem i32 %arg3, 4096\n %2 = inttoptr i64 %arg2 to i8*\n %3 = call i32 @mkdirat(i32 %0, 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 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 br label LBL_3\n LBL_3:\n %11 = and i64 %arg1, 4294967295\n %12 = zext i32 %1 to i64\n %13 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %arg2, i64 %12)\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 i32 %1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mkv_field_order_1979", "fun_name": "mkv_field_order", "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 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %0, label LBL_6, label LBL_1\n LBL_1:\n %1 = bitcast i64* %arg1 to i8*\n %2 = call i32 (i8*, i8*, ...) @sscanf(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %3 = icmp eq i32 %2, 3\n %4 = icmp eq i1 %3, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_6, label LBL_2\n LBL_2:\n %5 = load i64, i64* %sv_1, align 8\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 57\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = load i64, i64* %sv_2, align 8\n %10 = trunc i64 %9 to i32\n %.off = add i32 %10, -36\n %11 = icmp ugt i32 %.off, 15\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = load i64, i64* %sv_3, align 8\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 100\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_5, label LBL_6\n LBL_5:\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 store i64 %arg2, i64* @0, align 8\n store i64 0, i64* %rax.0.reg2mem\n switch i64 %arg2, label LBL_12 [\n i64 0, label LBL_13\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 i64 5, label LBL_11\n ]\n LBL_7:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_9:\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %15 = icmp eq i32 %sv_0.0.reload, 0\n %. = select i1 %15, i64 4, i64 5\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %16 = icmp eq i32 %sv_0.0.reload, 0\n %.1 = select i1 %16, i64 5, i64 4\n store i64 %.1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\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* %sv_3, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 6, 5, 4, 3 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_13, { 6, 0, 1, 3, 4, 5, 2 }\n uselistorder label LBL_6, { 0, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_tmregs_to_thread_11819", "fun_name": "flush_tmregs_to_thread", "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 i64, i64* @gv_0, align 8\n %2 = icmp eq i64 %1, %0\n %3 = icmp eq i1 %2, false\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()\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, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC(i64 %0)\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* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cinvideo_decode_init_3686", "fun_name": "cinvideo_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 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, %10\n %15 = add i64 %3, 16\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %3)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %. = select i1 %19, i64 0, i64 4294967284\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_device_exit_3246", "fun_name": "virtio_blk_device_exit", "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 %3)\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %0)\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 = call i64 @FUNC(i64 %0)\n ret i64 %10\n\n uselistorder i64 %0, { 0, 4, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BenchmarkOpenCLDevices_12726", "fun_name": "BenchmarkOpenCLDevices", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.1.lcssa.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdi.27.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i64\n %storemerge49.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = load i64, i64* @gv_0, align 8\n %2 = add i64 %0, 32\n %3 = inttoptr i64 %2 to i64*\n store i64 %1, i64* %3, align 8\n %4 = call i64 @FUNC(i64 8)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = inttoptr i64 %0 to i64*\n store i64 1, i64* %7, align 8\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %arg1, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %storemerge49.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge49.reload = load i64, i64* %storemerge49.reg2mem\n %16 = load i64, i64* %15, align 8\n %17 = mul i64 %storemerge49.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 i32*\n store i32 -1, i32* %21, align 4\n %22 = add nuw nsw i64 %storemerge49.reload, 1\n %exitcond = icmp eq i64 %22, 8\n store i64 %22, i64* %storemerge49.reg2mem\n store i64 0, i64* %storemerge8.reg2mem\n store i64 8, i64* %rdi.27.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %rdi.27.reload = load i64, i64* %rdi.27.reg2mem\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %23 = load i64, i64* %15, align 8\n %24 = mul i64 %storemerge8.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 = 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 store i64 %rdi.27.reload, i64* %rdi.0.reg2mem\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %arg1, i64 %0, i64 %27)\n store i64 %arg1, i64* %rdi.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %storemerge35 = add nuw i64 %storemerge8.reload, 1\n %33 = icmp ult i64 %storemerge35, %rdi.0.reload\n store i64 %storemerge35, i64* %storemerge36.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %33, label LBL_5, label LBL_8\n LBL_5:\n %storemerge36.reload = load i64, i64* %storemerge36.reg2mem\n %34 = load i64, i64* %15, align 8\n %35 = mul i64 %storemerge36.reload, 8\n %36 = add i64 %34, %35\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %27, i64 %38)\n %40 = trunc i64 %39 to i8\n %41 = icmp eq i8 %40, 0\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n %42 = inttoptr i64 %38 to i32*\n %43 = load i32, i32* %28, align 4\n store i32 %43, i32* %42, align 4\n br label LBL_7\n LBL_7:\n %storemerge3 = add i64 %storemerge36.reload, 1\n %44 = icmp ult i64 %storemerge3, %27\n store i64 %storemerge3, i64* %storemerge36.reg2mem\n store i64 %27, i64* %rdi.1.lcssa.reg2mem\n br i1 %44, label LBL_5, label LBL_8\n LBL_8:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %45 = icmp ult i64 %storemerge35, %rdi.1.lcssa.reload\n store i64 %storemerge35, i64* %storemerge8.reg2mem\n store i64 %rdi.1.lcssa.reload, i64* %rdi.27.reg2mem\n br i1 %45, label LBL_2, label LBL_9\n LBL_9:\n %46 = add i64 %0, 44\n %47 = inttoptr i64 %46 to i8*\n store i8 0, i8* %47, align 1\n store i64 %0, i64* @gv_1, align 8\n %48 = call i64 @FUNC(i64 1)\n %sext = mul i64 %48, 4294967296\n %49 = ashr exact i64 %sext, 32\n %50 = add i64 %arg1, 16\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n store i64 %arg1, i64* @gv_1, align 8\n %52 = call i64 @FUNC(i64 %0)\n %53 = call i64 @FUNC(i64 %arg1)\n ret i64 %53\n\n uselistorder i64 %rdi.1.lcssa.reload, { 1, 0 }\n uselistorder i64 %storemerge35, { 1, 2, 0, 3 }\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64* %storemerge49.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.27.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge36.reg2mem, { 2, 0, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 0, 4, 5 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "logand_6385", "fun_name": "logand", "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 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64 %arg1, i64 %0)\n %2 = call i64 @FUNC(i64 %arg1, i64 1)\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()\n %6 = call i64 @FUNC(i64 %arg1, i64 %0)\n %7 = call i64 @FUNC(i64 2, i64 %1, i64 %6)\n %8 = call i64 @FUNC()\n store i64 %7, 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 uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "guestfs___free_inspect_info_17753", "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, 48\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 = or i64 %5, 8\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 %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 %28, %5\n %30 = add i64 %29, 32\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n %34 = add i64 %29, 40\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n store i64 %36, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_4, label LBL_2\n LBL_2:\n %37 = add i64 %5, 40\n store i64 %36, 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 %38 = mul i64 %storemerge14.reload, 16\n %39 = add i64 %38, %.reload15\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i64*\n call void @free(i64* %42)\n %43 = load i64, i64* %3, align 8\n %44 = add i64 %37, %43\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = or i64 %38, 8\n %48 = add i64 %46, %47\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = inttoptr i64 %50 to i64*\n call void @free(i64* %51)\n %52 = add nuw i64 %storemerge14.reload, 1\n %53 = load i64, i64* %3, align 8\n %54 = add i64 %53, %5\n %55 = add i64 %54, 32\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = icmp ult i64 %52, %57\n %59 = add i64 %54, 40\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n store i64 %61, i64* %.reg2mem14\n store i64 %52, i64* %storemerge14.reg2mem\n store i64 %61, i64* %.lcssa.reg2mem\n br i1 %58, label LBL_3, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %62 = inttoptr i64 %.lcssa.reload to i64*\n call void @free(i64* %62)\n %63 = add nuw i64 %storemerge5.reload, 1\n %64 = icmp ult i64 %63, %.lcssa.reload\n %65 = load i64, i64* %3, align 8\n store i64 %65, i64* %.reg2mem\n store i64 %63, i64* %storemerge5.reg2mem\n store i64 %65, i64* %.lcssa2.reg2mem\n br i1 %64, label LBL_1, label LBL_5\n LBL_5:\n %.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem\n %66 = inttoptr i64 %.lcssa2.reload to i64*\n call void @free(i64* %66)\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 %36, { 1, 0 }\n uselistorder i64 %5, { 0, 4, 1, 5, 6, 3, 2 }\n uselistorder i64* %3, { 0, 8, 4, 3, 2, 5, 6, 7, 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 40, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder void (i64*)* @free, { 0, 5, 7, 6, 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": "1" }, { "dataset": "CompRealVul", "file": "put_int8_1815", "fun_name": "put_int8", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %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": "instance_mkdir_4443", "fun_name": "instance_mkdir", "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 = add i64 %0, -8\n %2 = load i64, i64* @gv_0, align 8\n %3 = icmp eq i64 %1, %2\n store i64 4294967294, 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 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %4)\n %8 = call i64 @FUNC(i64 %5)\n %9 = and i64 %7, 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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_trans_release_chunk_metadata_6341", "fun_name": "btrfs_trans_release_chunk_metadata", "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 store i64 0, i64* %rax.0.reg2mem\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 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i32, i32* %2, align 4\n %12 = call i64 @FUNC(i64 %0, i64 %0, i32 %11, i64 0)\n store i32 0, i32* %2, 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* %2, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "make_field_queue_14530", "fun_name": "make_field_queue", "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.in5.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 16)\n store i64 %0, i64* %sv_1, align 8\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 = 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 br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %8 = trunc i64 %arg2 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 %0, i64* %.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_10\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n store i64 %0, i64* %.reg2mem\n store i64 %sext, i64* %sv_0.0.in5.reg2mem\n br label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %sv_0.0.in5.reload = load i64, i64* %sv_0.0.in5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = call i64 @FUNC(i64 16)\n %16 = inttoptr i64 %.reload to i64*\n store i64 %15, i64* %16, align 8\n %17 = load i64, i64* %sv_1, 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 br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %23 = add i64 %19, 8\n %24 = inttoptr i64 %23 to i64*\n store i64 %17, i64* %24, align 8\n %25 = load i64, i64* %sv_1, align 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n store i64 %27, i64* %sv_1, align 8\n %28 = call i64 @FUNC(i64 %3, i64 %27)\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_9, label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %sext2 = add i64 %sv_0.0.in5.reload, -4294967296\n %33 = udiv i64 %sext2, 4294967296\n %34 = trunc i64 %33 to i32\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 %40 = load i64, i64* %sv_1, align 8\n store i64 %40, i64* %.reg2mem\n store i64 %sext2, i64* %sv_0.0.in5.reg2mem\n store i64 %40, i64* %.lcssa.reg2mem\n br i1 %39, label LBL_5, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %41 = inttoptr i64 %.lcssa.reload to i64*\n store i64 %0, i64* %41, align 8\n %42 = load i64, i64* %sv_1, align 8\n %43 = add i64 %0, 8\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, 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 i32 %34, { 1, 0 }\n uselistorder i64 %0, { 0, 4, 5, 7, 6, 3, 2, 1, 8, 9, 10 }\n uselistorder i64* %sv_1, { 2, 6, 0, 3, 4, 1, 5, 7 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 0, { 3, 4, 2, 0, 1, 5 }\n uselistorder i64 (i64, i64)* @alloc_metrics, { 1, 0 }\n uselistorder i1 false, { 5, 2, 3, 4, 0, 1, 6, 7, 8 }\n uselistorder i64 (i64)* @av_mallocz, { 1, 0 }\n uselistorder label LBL_11, { 3, 1, 2, 4, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "task_sched_runtime_9126", "fun_name": "task_sched_runtime", "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)\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 %1)\n %6 = add i64 %5, %4\n %7 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %sv_0)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_gic_common_class_init_205", "fun_name": "arm_gic_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 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 ptrtoint (i64* @gv_0 to i64), i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i8*\n store i8 1, i8* %8, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "address_space_get_flatview_657", "fun_name": "address_space_get_flatview", "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 br label LBL_1\n LBL_1:\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 br i1 %5, label LBL_1, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fpm_stdio_init_child_12544", "fun_name": "fpm_stdio_init_child", "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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = icmp slt i32 %2, 1\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 = trunc i64 %1 to i32\n store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %6 = call i64 @FUNC(i64 4294967295)\n %7 = icmp eq i32 %5, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = call i32 @dup2(i32 %5, i32 0)\n %9 = icmp slt i32 %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_4\n LBL_4:\n %11 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, 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 ret i64 %storemerge.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "add_ch_6404", "fun_name": "add_ch", "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 = icmp ult i32 %arg3, 1024\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = zext i32 %arg3 to i64\n %5 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 1024, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = trunc i64 %arg1 to i8\n %8 = icmp eq i8 %7, 9\n %9 = icmp ult i32 %arg3, 1022\n %or.cond = icmp eq i1 %8, %9\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_3:\n %10 = zext i32 %arg3 to i64\n %11 = add i64 %10, %6\n %12 = inttoptr i64 %11 to i8*\n store i8 92, i8* %12, align 1\n %13 = add i32 %arg3, 1\n %14 = zext i32 %13 to i64\n %15 = add i64 %14, %6\n %16 = inttoptr i64 %15 to i8*\n store i8 116, i8* %16, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %17 = icmp eq i8 %7, 10\n %or.cond4 = icmp eq i1 %17, %9\n br i1 %or.cond4, label LBL_5, label LBL_6\n LBL_5:\n %18 = zext i32 %arg3 to i64\n %19 = add i64 %18, %6\n %20 = inttoptr i64 %19 to i8*\n store i8 92, i8* %20, align 1\n %21 = add i32 %arg3, 1\n %22 = zext i32 %21 to i64\n %23 = add i64 %22, %6\n %24 = inttoptr i64 %23 to i8*\n store i8 110, i8* %24, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %25 = icmp eq i8 %7, 13\n %or.cond6 = icmp eq i1 %25, %9\n br i1 %or.cond6, label LBL_7, label LBL_8\n LBL_7:\n %26 = zext i32 %arg3 to i64\n %27 = add i64 %26, %6\n %28 = inttoptr i64 %27 to i8*\n store i8 92, i8* %28, align 1\n %29 = add i32 %arg3, 1\n %30 = zext i32 %29 to i64\n %31 = add i64 %30, %6\n %32 = inttoptr i64 %31 to i8*\n store i8 114, i8* %32, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %33 = icmp eq i8 %7, 37\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_11, label LBL_9\n LBL_9:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_10, label LBL_13\n LBL_10:\n %35 = zext i32 %arg3 to i64\n %36 = add i64 %35, %6\n %37 = inttoptr i64 %36 to i8*\n store i8 37, i8* %37, align 1\n %38 = add i32 %arg3, 1\n %39 = zext i32 %38 to i64\n %40 = add i64 %39, %6\n %41 = inttoptr i64 %40 to i8*\n store i8 37, i8* %41, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %.off = add i8 %7, -32\n %42 = icmp ult i8 %.off, 95\n store i64 0, i64* %rax.0.reg2mem\n br i1 %42, label LBL_12, label LBL_13\n LBL_12:\n %43 = zext i32 %arg3 to i64\n %44 = add i64 %43, %6\n %45 = inttoptr i64 %44 to i8*\n store i8 %7, i8* %45, align 1\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 i1 %9, { 3, 0, 1, 2 }\n uselistorder i8 %7, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %6, { 6, 7, 8, 4, 5, 2, 3, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 6, 7, 8, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 37, { 1, 2, 0 }\n uselistorder i32 %arg3, { 9, 1, 10, 2, 8, 3, 7, 4, 6, 5, 0, 11 }\n uselistorder label LBL_13, { 2, 0, 3, 1, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "modbus_write_bits_8230", "fun_name": "modbus_write_bits", "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_2.0.lcssa.reg2mem = alloca i32\n %sv_3.07.reg2mem = alloca i32\n %sv_2.08.reg2mem = alloca i32\n %sv_4.09.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %sv_3.211.reg2mem = alloca i32\n %sv_2.112.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %sv_1.014.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = 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_15\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, 2001\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 ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 2000)\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_15\n LBL_6:\n %14 = ptrtoint i64* %arg4 to i64\n %15 = ptrtoint i64* %sv_7 to i64\n %16 = ptrtoint i32* %arg1 to i64\n %17 = sdiv i32 %6, 128\n %18 = urem i64 %arg3, 8\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n %21 = zext i1 %20 to i32\n %22 = add nsw i32 %17, %21\n %23 = trunc i64 %16 to i32\n %sext4 = mul i64 %16, 4294967296\n %24 = ashr exact i64 %sext4, 32\n %25 = trunc i32 %22 to i8\n %26 = add i64 %15, -288\n %27 = add i64 %26, %24\n %28 = inttoptr i64 %27 to i8*\n store i8 %25, i8* %28, align 1\n %sv_1.010 = add i32 %23, 1\n %29 = icmp sgt i32 %22, 0\n store i32 %sv_1.010, i32* %sv_1.014.reg2mem\n store i32 0, i32* %storemerge13.reg2mem\n store i32 0, i32* %sv_2.112.reg2mem\n store i32 0, i32* %sv_3.211.reg2mem\n store i32 %sv_1.010, i32* %sv_1.0.lcssa.reg2mem\n br i1 %29, label LBL_7, label LBL_11\n LBL_7:\n %sv_3.211.reload = load i32, i32* %sv_3.211.reg2mem\n %sv_2.112.reload = load i32, i32* %sv_2.112.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %sv_1.014.reload = load i32, i32* %sv_1.014.reg2mem\n %30 = sext i32 %sv_1.014.reload to i64\n %31 = add i64 %26, %30\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 1\n store i8 0, i8* %.reg2mem\n store i32 1, i32* %sv_4.09.reg2mem\n store i32 %sv_2.112.reload, i32* %sv_2.08.reg2mem\n store i32 %sv_3.211.reload, i32* %sv_3.07.reg2mem\n br label LBL_9\n LBL_8:\n %sv_4.09.reload = load i32, i32* %sv_4.09.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %33 = add i32 %sv_2.08.reload, 1\n %34 = sext i32 %sv_2.08.reload to i64\n %35 = add i64 %34, %14\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 0\n %39 = trunc i32 %sv_4.09.reload to i8\n %40 = or i8 %.reload, %39\n %41 = sub i8 0, %39\n %42 = sub i8 %41, 1\n %43 = and i8 %.reload, %42\n %storemerge6 = select i1 %38, i8 %43, i8 %40\n store i8 %storemerge6, i8* %32, align 1\n %44 = mul i32 %sv_4.09.reload, 2\n %45 = urem i32 %sv_4.09.reload, 128\n %46 = icmp eq i32 %45, 0\n store i8 %storemerge6, i8* %.reg2mem\n store i32 %44, i32* %sv_4.09.reg2mem\n store i32 %33, i32* %sv_2.08.reg2mem\n store i32 %48, i32* %sv_3.07.reg2mem\n store i32 %33, i32* %sv_2.0.lcssa.reg2mem\n br i1 %46, label LBL_10, label LBL_9\n LBL_9:\n %sv_3.07.reload = load i32, i32* %sv_3.07.reg2mem\n %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem\n %47 = zext i32 %sv_3.07.reload to i64\n %48 = add i32 %sv_3.07.reload, 1\n %49 = icmp sgt i64 %5, %47\n store i32 %sv_2.08.reload, i32* %sv_2.0.lcssa.reg2mem\n br i1 %49, label LBL_8, label LBL_10\n LBL_10:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %50 = add nuw nsw i32 %storemerge13.reload, 1\n %sv_1.0 = add i32 %sv_1.014.reload, 1\n %exitcond = icmp eq i32 %50, %22\n store i32 %sv_1.0, i32* %sv_1.014.reg2mem\n store i32 %50, i32* %storemerge13.reg2mem\n store i32 %sv_2.0.lcssa.reload, i32* %sv_2.112.reg2mem\n store i32 %48, i32* %sv_3.211.reg2mem\n store i32 %sv_1.0, i32* %sv_1.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_7\n LBL_11:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %51 = call i64 @FUNC(i64 %16, i64* nonnull %sv_6, i32 %sv_1.0.lcssa.reload)\n %52 = trunc i64 %51 to i32\n %53 = icmp slt i32 %52, 1\n store i64 %51, i64* %sv_0.0.reg2mem\n br i1 %53, label LBL_14, label LBL_12\n LBL_12:\n %54 = call i64 @FUNC(i64 %16, i64* nonnull %sv_5, i64 0)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, -1\n %57 = icmp eq i1 %56, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %57, label LBL_13, label LBL_15\n LBL_13:\n %58 = call i64 @FUNC(i64 %16, i64* nonnull %sv_6, i64* nonnull %sv_5, i32 %55)\n store i64 %58, 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 %59 = and i64 %sv_0.0.reload, 4294967295\n store i64 %59, 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 %48, { 1, 0 }\n uselistorder i32 %sv_3.07.reload, { 1, 0 }\n uselistorder i8 %.reload, { 1, 0 }\n uselistorder i32 %sv_4.09.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.014.reload, { 1, 0 }\n uselistorder i64 %16, { 1, 2, 3, 0, 4 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i32* %sv_1.014.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.112.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.211.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.09.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i8 0, { 1, 3, 0, 4, 2 }\n uselistorder i32 0, { 3, 0, 1, 2, 4, 5 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_15, { 1, 0, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpeg1_encode_init_1869", "fun_name": "mpeg1_encode_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge39.reg2mem = alloca i32\n %storemerge210.reg2mem = alloca i32\n %indvars.iv15.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge512.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = load i32, i32* inttoptr (i64 4213156 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_13, label LBL_1\n LBL_1:\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = bitcast i64* %rdi to i32*\n store i64 1, i64* %indvars.iv15.reg2mem\n br label LBL_9\n LBL_2:\n %storemerge512.reload = load i32, i32* %storemerge512.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = icmp eq i64 %indvars.iv.reload, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8\n store i32 %6, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %7 = load i32, i32* %3, align 8\n %8 = add i32 %7, 31\n %9 = icmp slt i64 %indvars.iv.reload, 0\n %10 = icmp eq i1 %9, false\n %11 = sub nsw i32 0, %storemerge512.reload\n %12 = trunc i64 %indvars.iv.reload to i32\n %spec.select = select i1 %10, i32 %12, i32 %11\n %13 = add i32 %spec.select, -1\n %14 = urem i32 %8, 32\n %15 = ashr i32 %13, %14\n %16 = add i32 %15, 1\n %17 = icmp sgt i32 %16, 16\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = sext i32 %16 to i64\n %19 = mul i64 %18, 8\n %20 = add i64 %19, ptrtoint (i32** @gv_1 to i64)\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 8\n %23 = add i32 %22, %7\n store i32 %23, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %24 = add i32 %7, add (i32 ptrtoint (i32* @gv_2 to i32), i32 -1)\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 %25 = add nsw i64 %31, %indvars.iv.reload\n %26 = mul i64 %25, 4\n %27 = add i64 %26, ptrtoint (i32** @gv_3 to i64)\n %28 = inttoptr i64 %27 to i32*\n store i32 %sv_0.0.reload, i32* %28, align 4\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %29 = add nsw i32 %storemerge512.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 17\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %29, i32* %storemerge512.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_2\n LBL_8:\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1\n %exitcond17 = icmp eq i64 %indvars.iv.next16, 16\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n store i32 15, i32* %storemerge210.reg2mem\n br i1 %exitcond17, label LBL_10, label LBL_9\n LBL_9:\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %30 = mul nuw nsw i64 %indvars.iv15.reload, 33\n %31 = add nuw nsw i64 %30, 16\n store i64 -16, i64* %indvars.iv.reg2mem\n store i32 -16, i32* %storemerge512.reg2mem\n br label LBL_2\n LBL_10:\n %storemerge210.reload = load i32, i32* %storemerge210.reg2mem\n %32 = shl i32 -8, %storemerge210.reload\n %33 = shl i32 8, %storemerge210.reload\n %storemerge1 = zext i32 %33 to i64\n %34 = sext i32 %32 to i64\n %35 = icmp sgt i64 %storemerge1, %34\n store i32 %32, i32* %storemerge39.reg2mem\n br i1 %35, label LBL_11, label LBL_12\n LBL_11:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %36 = add i32 %storemerge39.reload, 16\n %37 = sext i32 %36 to i64\n %38 = mul i64 %37, 4\n %39 = add i64 %38, ptrtoint (i32** @gv_4 to i64)\n %40 = inttoptr i64 %39 to i32*\n store i32 %storemerge210.reload, i32* %40, align 4\n %41 = add i32 %storemerge39.reload, 1\n %42 = sext i32 %41 to i64\n %43 = icmp sgt i64 %storemerge1, %42\n store i32 %41, i32* %storemerge39.reg2mem\n br i1 %43, label LBL_11, label LBL_12\n LBL_12:\n %44 = add nsw i32 %storemerge210.reload, -1\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i32 %44, i32* %storemerge210.reg2mem\n br i1 %46, label LBL_10, label LBL_13\n LBL_13:\n %47 = ptrtoint i64* %arg1 to i64\n %48 = add i64 %47, 8\n %49 = inttoptr i64 %48 to i64*\n store i64 ptrtoint (i32** @gv_3 to i64), i64* %49, align 8\n %50 = add i64 %47, 16\n %51 = inttoptr i64 %50 to i64*\n store i64 ptrtoint (i32** @gv_4 to i64), i64* %51, align 8\n %52 = add i64 %47, 24\n %53 = inttoptr i64 %52 to i32*\n store i32 -255, i32* %53, align 4\n %54 = add i64 %47, 28\n %55 = inttoptr i64 %54 to i32*\n store i32 255, i32* %55, align 4\n %56 = add i64 %47, 32\n %57 = inttoptr i64 %56 to i32*\n store i32 3, i32* %57, align 4\n %58 = add i64 %47, 36\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n ret i64 %47\n\n uselistorder i64 %storemerge1, { 1, 0 }\n uselistorder i32 %storemerge210.reload, { 1, 0, 2, 3 }\n uselistorder i64 %indvars.iv15.reload, { 1, 0 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 4, 1, 2, 3 }\n uselistorder i32 %storemerge512.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge512.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %storemerge210.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge39.reg2mem, { 2, 0, 1 }\n uselistorder i64 ptrtoint (i32** @gv_4 to i64), { 1, 0 }\n uselistorder i64 16, { 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_3 to i64), { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder i32** @gv_1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_vma_flags_11497", "fun_name": "check_vma_flags", "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 %0, 4\n %2 = icmp eq i64 %1, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_9\n LBL_1:\n %3 = trunc i64 %arg2 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = and i64 %0, 4\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_8, label LBL_3\n LBL_3:\n %9 = and i64 %arg2, 4\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_9\n LBL_4:\n %12 = call i64 @FUNC(i64 %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 1, i64* %rax.0.reg2mem\n br i1 %15, label LBL_8, label LBL_9\n LBL_5:\n %16 = and i64 %0, 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_6\n LBL_6:\n %19 = and i64 %arg2, 4\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %21, label LBL_7, label LBL_9\n LBL_7:\n %22 = and i64 %0, 16\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_9\n LBL_8:\n %25 = and i64 %arg2, 2\n %26 = call i64 @FUNC(i64 %0, i32 %4, i64 0, i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %. = zext i1 %28 to i64\n store 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 i32 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 4, 2, 5, 3, 0 }\n uselistorder i64 4, { 1, 2, 3, 0, 4 }\n uselistorder i64 %arg2, { 0, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rand_drbg_new_13779", "fun_name": "rand_drbg_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 %storemerge.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i64\n %0 = trunc i64 %arg1 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(i64 64)\n store i64 %2, i64* %storemerge7.reg2mem\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 64)\n store i64 %3, i64* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %4 = icmp eq i64 %storemerge7.reload, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_5, label LBL_4\n LBL_4:\n %6 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_5:\n br i1 %1, label LBL_7, label LBL_6\n LBL_6:\n %7 = call i64 @FUNC(i64 %storemerge7.reload)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i32 1, i32* %storemerge.reg2mem\n br i1 %9, label LBL_7, label LBL_8\n LBL_7:\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %10 = inttoptr i64 %storemerge7.reload to i32*\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* %10, align 4\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = add i64 %storemerge7.reload, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %storemerge7.reload, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg4, i64* %16, align 8\n %17 = icmp eq i64 %arg4, 0\n %18 = icmp eq i1 %17, false\n %19 = add i64 %storemerge7.reload, 24\n %20 = inttoptr i64 %19 to i64*\n store i64 4198903, i64* %20, align 8\n %21 = add i64 %storemerge7.reload, 32\n %22 = inttoptr i64 %21 to i64*\n store i64 4198918, i64* %22, align 8\n br i1 %18, label LBL_10, label LBL_9\n LBL_9:\n %23 = add i64 %storemerge7.reload, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 4198929, i64* %24, align 8\n %25 = add i64 %storemerge7.reload, 48\n %26 = inttoptr i64 %25 to i64*\n store i64 4198944, i64* %26, align 8\n %27 = load i32, i32* @gv_0, align 4\n %28 = add i64 %storemerge7.reload, 56\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = load i32, i32* @gv_1, align 4\n %31 = add i64 %storemerge7.reload, 60\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n br label LBL_11\n LBL_10:\n %33 = load i32, i32* @gv_2, align 4\n %34 = add i64 %storemerge7.reload, 56\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = load i32, i32* inttoptr (i64 4210752 to i32*), align 64\n %37 = add i64 %storemerge7.reload, 60\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n br label LBL_11\n LBL_11:\n %39 = and i64 %arg2, 4294967295\n %40 = trunc i64 %arg3 to i32\n %41 = call i64 @FUNC(i64 %storemerge7.reload, i64 %39, i32 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_15, label LBL_12\n LBL_12:\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br i1 %17, label LBL_16, label LBL_13\n LBL_13:\n %44 = call i64 @FUNC(i64 %arg4)\n %45 = add i64 %storemerge7.reload, 16\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %arg4, 16\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp ugt i32 %47, %50\n %52 = call i64 @FUNC(i64 %arg4)\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br i1 %51, label LBL_14, label LBL_16\n LBL_14:\n %53 = call i64 @FUNC(i64 1, i64 3)\n br label LBL_15\n LBL_15:\n %54 = call i64 @FUNC(i64 %storemerge7.reload)\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 %storemerge7.reload, { 15, 1, 14, 0, 13, 17, 16, 12, 11, 10, 9, 8, 7, 6, 5, 2, 4, 3 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @RANDerr, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i32 1, { 4, 6, 5, 3, 2, 1, 7, 8, 0 }\n uselistorder i64 %arg4, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_16, { 2, 1, 0, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spl_dual_it_free_storage_17901", "fun_name": "spl_dual_it_free_storage", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\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 %1)\n br label LBL_2\n LBL_2:\n %6 = add i64 %arg1, 16\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 store i32 %8, i32* %.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = add i64 %arg1, 32\n %12 = call i64 @FUNC(i64 %11)\n %.pre = load i32, i32* %7, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %13 = icmp ne i32 %.reload, 2\n %14 = icmp eq i32 %.reload, 3\n %15 = icmp eq i1 %14, false\n %or.cond = icmp eq i1 %13, %15\n br i1 %or.cond, label LBL_7, label LBL_5\n LBL_5:\n %16 = add i64 %arg1, 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_7, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 %16)\n store i64 0, i64* %17, align 8\n br label LBL_7\n LBL_7:\n %21 = add i64 %arg1, 40\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 i64, i64* %22, align 8\n %26 = inttoptr i64 %25 to i64*\n call void @free(i64* %26)\n %27 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %27)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 1, 0, 2 }\n uselistorder i64 (i64)* @zval_ptr_dtor, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ahci_map_fis_address_10711", "fun_name": "ahci_map_fis_address", "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 i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = mul i64 %6, 4294967296\n %8 = add i64 %2, 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 = or i64 %7, %11\n %13 = add i64 %2, 16\n %14 = add i64 %2, 24\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 = call i64 @FUNC(i64 %18, i64 %13, i64 %12, i64 256)\n %20 = inttoptr i64 %13 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n %23 = trunc i64 %1 to i32\n br i1 %22, label LBL_2, label LBL_1\n LBL_1:\n %24 = or i32 %23, 1\n %25 = bitcast i64* %arg1 to i32*\n store i32 %24, i32* %25, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %26 = and i32 %23, -2\n %27 = bitcast i64* %arg1 to i32*\n store i32 %26, i32* %27, 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, { 1, 0, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_end_238", "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, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isp1760_ep_alloc_request_4847", "fun_name": "isp1760_ep_alloc_request", "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(i64 0, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n %storemerge = select i1 %3, i64 %1, i64 0\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "guest_state_valid_9192", "fun_name": "guest_state_valid", "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 = urem i64 %0, 2\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 0)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_17\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 1)\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_17\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 2)\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_17\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64 3)\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_17\n LBL_5:\n %16 = call i64 @FUNC(i64 %0, i64 4)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_17\n LBL_6:\n %19 = call i64 @FUNC(i64 %0, i64 5)\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_16, label LBL_17\n LBL_7:\n %22 = call i64 @FUNC(i64 %0)\n %23 = trunc i64 %22 to i8\n %24 = icmp eq i8 %23, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_17\n LBL_8:\n %25 = call i64 @FUNC(i64 %0)\n %26 = trunc i64 %25 to i8\n %27 = icmp eq i8 %26, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_9, label LBL_17\n LBL_9:\n %28 = call i64 @FUNC(i64 %0)\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_10, label LBL_17\n LBL_10:\n %31 = call i64 @FUNC(i64 %0, i64 2)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_11, label LBL_17\n LBL_11:\n %34 = call i64 @FUNC(i64 %0, i64 3)\n %35 = trunc i64 %34 to i8\n %36 = icmp eq i8 %35, 1\n store i64 0, 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 4)\n %38 = trunc i64 %37 to i8\n %39 = icmp eq i8 %38, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_13, label LBL_17\n LBL_13:\n %40 = call i64 @FUNC(i64 %0, i64 5)\n %41 = trunc i64 %40 to i8\n %42 = icmp eq i8 %41, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %42, label LBL_14, label LBL_17\n LBL_14:\n %43 = call i64 @FUNC(i64 %0)\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_15, label LBL_17\n LBL_15:\n %46 = call i64 @FUNC(i64 %0)\n %47 = trunc i64 %46 to i8\n %48 = icmp eq i8 %47, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_16, label LBL_17\n LBL_16:\n store i64 1, 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 %0, { 6, 7, 8, 9, 10, 11, 12, 13, 14, 1, 2, 3, 4, 5, 15, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n uselistorder i64 (i64, i64)* @data_segment_valid, { 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 (i64, i64)* @rmode_segment_valid, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder label LBL_17, { 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_busid_cmd_3523", "fun_name": "do_busid_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = 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 = sext i8 %arg3 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = zext i8 %arg3 to i64\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %3, i64 %2, i64 %1)\n %8 = add i64 %5, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = trunc i64 %10 to i32\n %14 = add i64 %5, 24\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = icmp eq i32 %13, 0\n br i1 %16, label LBL_4, label LBL_1\n LBL_1:\n %17 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %17, align 1\n %18 = add i64 %5, 3\n %19 = inttoptr i64 %18 to i8*\n store i8 0, i8* %19, align 1\n %20 = add i64 %5, 4\n %21 = inttoptr i64 %20 to i8*\n store i8 0, i8* %21, align 1\n %22 = icmp slt i32 %13, 1\n %23 = bitcast i64* %rdi to i8*\n %24 = load i8, i8* %23, align 8\n br i1 %22, label LBL_3, label LBL_2\n LBL_2:\n %25 = or i8 %24, 2\n store i8 %25, i8* %17, align 1\n br label LBL_4\n LBL_3:\n %26 = or i8 %24, 4\n store i8 %26, i8* %17, align 1\n br label LBL_4\n LBL_4:\n %27 = add i64 %5, 1\n %28 = inttoptr i64 %27 to i8*\n store i8 24, i8* %28, align 1\n %29 = add i64 %5, 2\n %30 = inttoptr i64 %29 to i8*\n store i8 32, i8* %30, align 1\n %31 = call i64 @FUNC(i64 %5)\n ret i64 %31\n\n uselistorder i8 %24, { 1, 0 }\n uselistorder i8* %17, { 1, 0, 2 }\n uselistorder i32 %13, { 0, 2, 1 }\n uselistorder i64 %5, { 2, 3, 4, 0, 1, 5, 6, 7 }\n uselistorder i64* %0, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rpza_decode_frame_5175", "fun_name": "rpza_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, 12\n %11 = call i64 @FUNC(i64 %4, 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_2, label LBL_1\n LBL_1:\n %15 = 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 %16 = and i64 %11, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %17 = ptrtoint i64* %arg2 to i64\n %18 = call i64 @FUNC(i64 %4)\n %19 = call i64 @FUNC(i64 %17, i64 %10)\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 = and i64 %19, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n store i32 1, i32* %arg3, align 4\n %24 = zext i32 %7 to i64\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 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__unregister_prot_hook_9189", "fun_name": "__unregister_prot_hook", "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 store i32 0, i32* %2, align 4\n %3 = add i64 %1, 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 %0, i64 %1)\n br label LBL_3\n LBL_2:\n %8 = add i64 %1, 16\n %9 = call i64 @FUNC(i64 %8)\n br label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %arg2 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_4\n LBL_4:\n %13 = add i64 %1, 24\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC(i64 %13)\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, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "capability_index_stats_17418", "fun_name": "capability_index_stats", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r8.0.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %storemerge2 = load i64, i64* @gv_0, align 8\n %2 = icmp eq i64 %storemerge2, 0\n %3 = icmp eq i1 %2, false\n store i64 %storemerge2, i64* %storemerge3.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %4 = inttoptr i64 %storemerge3.reload to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, -1\n %10 = inttoptr i64 %5 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = zext i32 %9 to i64\n %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %12, i64 %1)\n %14 = load i32, i32* %7, align 4\n %15 = add i32 %14, -1\n %16 = zext i32 %15 to i64\n %17 = sub nsw i64 32, %16\n %18 = load i64, i64* %10, align 8\n %19 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %17, i64 %1)\n %20 = add i64 %storemerge3.reload, 8\n %21 = inttoptr i64 %20 to i64*\n %storemerge = load i64, i64* %21, align 8\n %22 = icmp eq i64 %storemerge, 0\n %23 = icmp eq i1 %22, false\n store i64 %storemerge, i64* %storemerge3.reg2mem\n store i64 %17, i64* %r8.0.lcssa.reg2mem\n br i1 %23, label LBL_1, label LBL_2\n LBL_2:\n %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem\n %24 = call i64 @FUNC(i64* nonnull @gv_0)\n %25 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 %r8.0.lcssa.reload, i64 %1)\n %26 = ptrtoint i64* %sv_0 to i64\n ret i64 %26\n\n uselistorder i64* %sv_0, { 3, 0, 1, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @rb_snprintf, { 0, 2, 1 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 1, { 8, 4, 3, 2, 7, 6, 5, 9, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gru_fault_6858", "fun_name": "gru_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 = 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)\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %0, i64 %4)\n %7 = load i32, i32* @gv_2, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %0, i64 %3)\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %3, i64 %11)\n %13 = icmp eq i64 %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_11\n LBL_1:\n %15 = call i64 @FUNC(i64 %12)\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 %12)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_2, label LBL_3\n LBL_2:\n %20 = add i64 %12, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %12, 24\n %23 = inttoptr i64 %22 to i64*\n br label LBL_4\n LBL_3:\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC(i64 %12)\n %26 = call i64 @FUNC(i64 %12, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %27 = load i64, i64* %21, 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_5\n LBL_5:\n %30 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = call i64 @FUNC(i64 %12)\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_9, label LBL_6\n LBL_6:\n %37 = call i64 @FUNC()\n %38 = call i64 @FUNC(i64 %12)\n %39 = call i64 @FUNC(i64 1)\n %40 = call i64 @FUNC(i64 100)\n %41 = load i64, i64* %23, align 8\n %42 = add i64 %41, 200\n %43 = load i64, i64* @gv_3, align 8\n %44 = call i64 @FUNC(i64 %42, i64 %43)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_7, label LBL_8\n LBL_7:\n %47 = call i64 @FUNC(i64 %12)\n %48 = call i64 @FUNC()\n %49 = call i64 @FUNC(i64 %12)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_4, label LBL_3\n LBL_8:\n %52 = call i64 @FUNC(i64 %12)\n br label LBL_7\n LBL_9:\n %53 = call i64 @FUNC(i64 %12)\n %54 = add i64 %12, 16\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = load i64, i64* %21, align 8\n %58 = zext i32 %56 to i64\n %59 = call i64 @FUNC(i64 %57, i64 %58)\n %60 = inttoptr i64 %3 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = udiv i64 %59, 4096\n %63 = and i64 %0, -4096\n %64 = and i64 %61, 4294967295\n %65 = call i64 @FUNC(i64 %3, i64 %63, i64 %62, i64 4096, i64 %64)\n br label LBL_10\n LBL_10:\n %66 = call i64 @FUNC()\n %67 = call i64 @FUNC(i64 %12)\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 %12, { 10, 8, 7, 4, 13, 12, 5, 9, 3, 2, 6, 11, 0, 1, 14 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4096, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }\n uselistorder i64 ()* @preempt_enable, { 2, 1, 0 }\n uselistorder i64 (i64)* @gru_check_context_placement, { 1, 0 }\n uselistorder i64 ()* @preempt_disable, { 1, 0 }\n uselistorder i64 (i64)* @mutex_lock, { 1, 0 }\n uselistorder i64 (i64)* @STAT, { 1, 0 }\n uselistorder i32 0, { 4, 2, 3, 0, 1 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "LookupModMask_13847", "fun_name": "LookupModMask", "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 = trunc i64 %arg4 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 = icmp eq i32 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = and i64 %arg3, 4294967295\n %7 = ptrtoint i64* %arg1 to i64\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 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_8\n LBL_2:\n %11 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = bitcast i64* %arg5 to i32*\n store i32 -1, i32* %14, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %15 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %16 = trunc i64 %15 to i8\n %17 = icmp eq i8 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = bitcast i64* %arg5 to i32*\n store i32 0, i32* %18, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %19 = call i64 @FUNC(i64 %0, i64 %6, i32 %4)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, -1\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_7, label LBL_8\n LBL_7:\n %23 = urem i32 %20, 32\n %24 = shl i32 1, %23\n %25 = bitcast i64* %arg5 to i32*\n store i32 %24, i32* %25, 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* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 2, 3 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @istreq, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_8, { 3, 0, 4, 5, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ogg_new_buf_1540", "fun_name": "ogg_new_buf", "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, 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 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, 32\n %10 = sext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %5, 12\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %5, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = sub i32 %14, %17\n %19 = inttoptr i64 %5 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n br i1 %21, label LBL_2, label LBL_1\n LBL_1:\n %22 = sext i32 %17 to i64\n %23 = add i64 %20, %22\n %24 = inttoptr i64 %11 to i64*\n %25 = inttoptr i64 %23 to i64*\n %26 = call i64* @memcpy(i64* %24, i64* %25, i32 %18)\n %27 = load i64, i64* %19, align 8\n %28 = call i64 @FUNC(i64 %27)\n br label LBL_2\n LBL_2:\n store i64 %11, i64* %19, align 8\n store i32 %18, i32* %13, align 4\n store i32 0, i32* %16, align 4\n ret i64 0\n\n uselistorder i64* %19, { 1, 0, 2 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uas_alloc_cmd_urb_4547", "fun_name": "uas_alloc_cmd_urb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge7.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64 0, i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %storemerge7.reg2mem\n br i1 %2, label LBL_8, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg3 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 = add i32 %6, -16\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = zext i32 %7 to i64\n %11 = select i1 %9, i64 %10, i64 0\n %12 = call i64 @FUNC(i64 %11, i64 4)\n %sext6 = mul i64 %12, 4294967296\n %13 = ashr exact i64 %sext6, 32\n %14 = add nsw i64 %13, 32\n %15 = call i64 @FUNC(i64 %14, i64 %0)\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_7, label LBL_2\n LBL_2:\n %17 = urem i64 %arg4, 65536\n %18 = inttoptr i64 %15 to i32*\n store i32 0, i32* %18, align 4\n %19 = call i64 @FUNC(i64 %17)\n %20 = trunc i64 %19 to i16\n %21 = add i64 %15, 4\n %22 = inttoptr i64 %21 to i16*\n store i16 %20, i16* %22, align 2\n %23 = add i64 %3, 4\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_5, label LBL_3\n LBL_3:\n %27 = add i64 %3, 16\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 = and i32 %31, 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = add i64 %15, 6\n %35 = inttoptr i64 %34 to i8*\n store i8 1, i8* %35, align 1\n br label LBL_6\n LBL_5:\n %36 = add i64 %15, 6\n %37 = inttoptr i64 %36 to i8*\n store i8 2, i8* %37, align 1\n br label LBL_6\n LBL_6:\n %38 = ptrtoint i64* %arg1 to i64\n %39 = inttoptr i64 %1 to i32*\n %40 = trunc i64 %12 to i32\n %41 = add i64 %15, 8\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = add i64 %15, 28\n %44 = bitcast i64* %rdx to i32*\n %45 = load i32, i32* %44, align 8\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %46, i64 %43)\n %48 = load i32, i32* %5, align 4\n %49 = add i64 %3, 24\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %15, 12\n %53 = inttoptr i64 %52 to i64*\n %54 = inttoptr i64 %51 to i64*\n %55 = call i64* @memcpy(i64* %53, i64* %54, i32 %48)\n %56 = add i64 %12, 32\n %57 = add i64 %38, 8\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = and i64 %56, 4294967295\n %61 = call i64 @FUNC(i64 %1, i64 %38, i32 %59, i64 %15, i64 %60, i64 4198768)\n %62 = load i32, i32* %39, align 4\n %63 = or i32 %62, 1\n store i32 %63, i32* %39, align 4\n store i64 %1, i64* %storemerge7.reg2mem\n br label LBL_8\n LBL_7:\n %64 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %storemerge7.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n ret i64 %storemerge7.reload\n\n uselistorder i32* %39, { 1, 0 }\n uselistorder i64 %15, { 1, 2, 3, 4, 0, 5, 6, 7, 8 }\n uselistorder i64 %12, { 1, 2, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3 }\n uselistorder label LBL_8, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_opts_from_qdict_3249", "fun_name": "qemu_opts_from_qdict", "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 i64, align 8\n store i64 0, i64* %sv_0, align 8\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64 1, i64* nonnull %sv_0)\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\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* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i64, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %11 = icmp eq i64 %3, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64 4198902, i64 %3)\n store i64 %3, 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* %sv_0, { 2, 3, 0, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wc_use_keyname_10193", "fun_name": "wc_use_keyname", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp ne i64 %arg1, ptrtoint (i32* @gv_0 to i64)\n %1 = icmp eq i64 %arg1, ptrtoint (i64* @gv_1 to i64)\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n store i64 %arg1, i64* %arg2, align 8\n %3 = icmp slt i64* %arg2, null\n store i64 1, i64* %storemerge.reg2mem\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg2 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 slt i32 %7, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %8, 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* %arg2, { 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_destroy_vm_5939", "fun_name": "kvm_destroy_vm", "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 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 0, i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = add i64 %arg1, 136\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64* nonnull @gv_0)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = add i64 %arg1, 8\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 %11 = call i64 @FUNC(i64 %arg1, i64 %indvars.iv4.reload)\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 = mul i64 %indvars.iv4.reload, 8\n %15 = add i64 %10, %14\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 16\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_4, label LBL_1\n LBL_4:\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = call i64 @FUNC(i64 %arg1)\n %19 = call i64 @FUNC(i64 %arg1)\n %20 = call i64 @FUNC(i64 %arg1)\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 %21 = mul i64 %indvars.iv.reload, 16\n %22 = add i64 %21, %arg1\n %23 = add i64 %22, 144\n %24 = call i64 @FUNC(i64 %arg1, i64 %23)\n %25 = add i64 %22, 152\n %26 = call i64 @FUNC(i64 %arg1, i64 %25)\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 %27 = add i64 %arg1, 176\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %arg1, 184\n %30 = call i64 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64 %arg1)\n %32 = call i64 @FUNC()\n %33 = call i64 @FUNC()\n %34 = call i64 @FUNC(i64 %arg1)\n %35 = load i64, i64* @gv_1, align 8\n %36 = call i64 @FUNC(i64 %35)\n ret i64 %36\n\n uselistorder i64 %indvars.iv4.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @cleanup_srcu_struct, { 1, 0 }\n uselistorder i64 (i64, i64)* @kvm_free_memslots, { 1, 0 }\n uselistorder i64 %arg1, { 1, 4, 3, 2, 5, 6, 0, 10, 9, 8, 7, 12, 11, 15, 14, 13, 16, 17, 18, 19 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ProcLookupColor_9019", "fun_name": "ProcLookupColor", "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 i16, align 2\n %sv_2 = alloca i16, align 2\n %sv_3 = alloca i16, align 2\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 %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = call i64 @FUNC(i64* nonnull %sv_4, i32 %6, i64 2, i64 %0, 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_3, label LBL_1\n LBL_1:\n %11 = inttoptr i64 %3 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %3, 8\n %14 = load i64, i64* %sv_4, 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 = zext i32 %18 to i64\n %20 = bitcast i16* %sv_1 to i64*\n %21 = bitcast i16* %sv_2 to i64*\n %22 = bitcast i16* %sv_3 to i64*\n %23 = call i64 @FUNC(i64 %19, i64 %13, i32 %12, i64* nonnull %20, i64* nonnull %21, i64* nonnull %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_2\n LBL_2:\n store i32 4, i32* %sv_0, align 4\n %26 = call i64 @FUNC(i64 %0, i64 24, i32* nonnull %sv_0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %27 = load i32, i32* %5, align 4\n %28 = add i64 %0, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = and i64 %7, 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* %sv_4, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 24, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ProcXFixesCopyRegion_11456", "fun_name": "ProcXFixesCopyRegion", "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 8)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = call i64* @malloc(i32 0)\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_2, label LBL_4\n LBL_2:\n %6 = call i64* @malloc(i32 0)\n %7 = icmp eq i64* %6, null\n %8 = icmp eq i1 %7, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = ptrtoint i64* %3 to i64\n %10 = ptrtoint i64* %6 to i64\n %11 = call i64 @FUNC(i64 %10, 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* %6, { 1, 0 }\n uselistorder i64* %3, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64* (i32)* @malloc, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fli_write_header_8743", "fun_name": "fli_write_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 = inttoptr i64 %arg1 to %_IO_FILE*\n %2 = call i32 @ftell(%_IO_FILE* %1)\n %3 = sext i32 %2 to i64\n store i64 %3, i64* %arg2, align 8\n %4 = call i32 @fseek(%_IO_FILE* %1, i32 0, i32 0)\n %5 = call i64 @FUNC(i64 %arg1, i64 0)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = sext i16 %8 to i64\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %arg1, i64 %10)\n %12 = add i64 %0, 10\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = sext i16 %14 to i64\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %arg1, i64 %16)\n %18 = add i64 %0, 12\n %19 = inttoptr i64 %18 to i16*\n %20 = load i16, i16* %19, align 2\n %21 = sext i16 %20 to i64\n %22 = and i64 %21, 4294967295\n %23 = call i64 @FUNC(i64 %arg1, i64 %22)\n %24 = add i64 %0, 14\n %25 = inttoptr i64 %24 to i16*\n %26 = load i16, i16* %25, align 2\n %27 = sext i16 %26 to i64\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %arg1, i64 %28)\n %30 = add i64 %0, 16\n %31 = inttoptr i64 %30 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = sext i16 %32 to i64\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %arg1, i64 %34)\n %36 = add i64 %0, 18\n %37 = inttoptr i64 %36 to i16*\n %38 = load i16, i16* %37, align 2\n %39 = sext i16 %38 to i64\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %arg1, i64 %40)\n %42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %43 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_1 to i64*), i32 1, i32 41, %_IO_FILE* %42)\n %44 = sext i32 %43 to i64\n ret i64 %44\n\n uselistorder i64 %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @fli_write_short, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_object_from_here_10749", "fun_name": "get_object_from_here", "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 %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = inttoptr i64 %arg1 to %_IO_FILE*\n %1 = call i32 @ftell(%_IO_FILE* %0)\n %2 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 256)\n %3 = call i32 @fread(i64* nonnull %sv_2, i32 1, i32 255, %_IO_FILE* %0)\n %4 = sext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4, i64 255, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))\n %6 = bitcast i64* %sv_2 to i8*\n %7 = call i32 @atoi(i8* nonnull %6)\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 i32 @fseek(%_IO_FILE* %0, i32 %1, i32 0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = ptrtoint i64* %arg3 to i64\n %13 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16)\n %14 = sext i32 %7 to i64\n store i64 %14, i64* %sv_1, align 8\n %15 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)\n store i64 1, i64* %sv_0, align 8\n %16 = call i32 @fseek(%_IO_FILE* %0, i32 %1, i32 0)\n %17 = call i64 @FUNC(i64 %arg1, i32 %7, i64* nonnull %sv_0, i64 %11, i64 %12)\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 i32 %1, { 1, 0 }\n uselistorder %_IO_FILE* %0, { 1, 0, 2, 3 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }\n uselistorder i32 0, { 0, 1, 2, 3, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_error_limit_1005", "fun_name": "update_error_limit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %storemerge38.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n %2 = bitcast i64* %rdi to i32*\n %3 = add i64 %1, -16\n %4 = add i64 %1, -24\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge38.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %5 = mul i64 %.reload, 16\n %6 = add i64 %5, %0\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %6, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sub i32 0, %12\n %14 = sub i32 %13, 1\n %15 = icmp ugt i32 %9, %14\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %15, label LBL_10, label LBL_2\n LBL_2:\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %16 = add i32 %12, %9\n store i32 %16, i32* %8, align 4\n %17 = udiv i32 %16, 65536\n %18 = mul i64 %.reload, 4\n %19 = add i64 %18, %3\n %20 = inttoptr i64 %19 to i32*\n store i32 %17, i32* %20, align 4\n %21 = add i64 %6, 16\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %4, %18\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i32 %storemerge38.reload, 1\n %27 = load i32, i32* %2, align 8\n %28 = zext i32 %27 to i64\n %29 = sext i32 %26 to i64\n %30 = icmp sgt i64 %29, %28\n store i64 %29, i64* %.reg2mem\n store i32 %26, i32* %storemerge38.reg2mem\n br i1 %30, label LBL_3, label LBL_1\n LBL_3:\n %31 = add i64 %0, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = add i64 %0, 20\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %34 = load i32, i32* %32, align 4\n %35 = icmp eq i32 %34, 0\n %36 = mul i64 %.reload11, 4\n br i1 %35, label LBL_8, label LBL_5\n LBL_5:\n %37 = add i64 %4, %36\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %36, %3\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = sub i32 %39, %42\n %44 = icmp slt i32 %43, -255\n br i1 %44, label LBL_7, label LBL_6\n LBL_6:\n %45 = urem i32 %43, 32\n %46 = shl i32 1, %45\n %47 = mul i64 %.reload11, 16\n %48 = add i64 %47, %33\n %49 = inttoptr i64 %48 to i32*\n store i32 %46, i32* %49, align 4\n br label LBL_9\n LBL_7:\n %50 = mul i64 %.reload11, 16\n %51 = add i64 %50, %33\n %52 = inttoptr i64 %51 to i32*\n store i32 0, i32* %52, align 4\n br label LBL_9\n LBL_8:\n %53 = add i64 %36, %3\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = urem i32 %55, 32\n %57 = shl i32 1, %56\n %58 = mul i64 %.reload11, 16\n %59 = add i64 %58, %33\n %60 = inttoptr i64 %59 to i32*\n store i32 %57, i32* %60, align 4\n br label LBL_9\n LBL_9:\n %61 = add i32 %storemerge7.reload, 1\n %62 = load i32, i32* %2, align 8\n %63 = zext i32 %62 to i64\n %64 = sext i32 %61 to i64\n %65 = icmp sgt i64 %64, %63\n store i64 %64, i64* %.reg2mem10\n store i32 %61, i32* %storemerge7.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %65, label LBL_10, label LBL_4\n LBL_10:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64 %36, { 2, 1, 0 }\n uselistorder i64 %.reload11, { 3, 2, 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 16, { 0, 1, 2, 4, 3 }\n uselistorder i32 0, { 3, 4, 0, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "CleanNode_6434", "fun_name": "CleanNode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.be.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 16)\n store i64 16, 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 %2 = add i64 %sv_0.01.reload, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n store i64 %4, i64* %sv_2, align 8\n %5 = call i64 @FUNC(i64 %sv_0.01.reload)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_20, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %sv_0.01.reload)\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 %0, i64 %sv_0.01.reload)\n br label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %sv_0.01.reload)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = inttoptr i64 %sv_0.01.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 br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload)\n br label LBL_20\n LBL_7:\n %20 = call i64 @FUNC(i64 %sv_0.01.reload)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_9, label LBL_8\n LBL_8:\n %23 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload, i64* nonnull %sv_2)\n br label LBL_20\n LBL_9:\n %24 = call i64 @FUNC(i64 %sv_0.01.reload)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_16, label LBL_10\n LBL_10:\n %27 = inttoptr i64 %sv_0.01.reload 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 br i1 %30, label LBL_16, label LBL_11\n LBL_11:\n %31 = call i64 @FUNC(i64 %sv_0.01.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %sv_1.0.reg2mem\n br i1 %33, label LBL_13, label LBL_12\n LBL_12:\n %34 = call i64 @FUNC(i64 %sv_0.01.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n store i64 %34, i64* %sv_1.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %35 = icmp eq i64 %sv_1.0.reload, 0\n br i1 %35, label LBL_15, label LBL_14\n LBL_14:\n %36 = inttoptr i64 %sv_1.0.reload to i64*\n %37 = load i64, i64* %36, align 8\n %38 = add i64 %sv_0.01.reload, 16\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %0, i64 %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %37)\n br label LBL_15\n LBL_15:\n %42 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload)\n br label LBL_20\n LBL_16:\n %43 = add i64 %sv_0.01.reload, 24\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_18, label LBL_17\n LBL_17:\n %47 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_18\n LBL_18:\n %48 = load i64, i64* %sv_2, align 8\n %49 = call i64 @FUNC(i64 %1, i64 %48)\n %50 = inttoptr i64 %sv_0.01.reload to i64*\n %51 = load i64, i64* %50, align 8\n store i64 %51, i64* %sv_0.0.be.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n %52 = icmp eq i64 %sv_0.0.be.reload, 0\n %53 = icmp eq i1 %52, false\n store i64 %sv_0.0.be.reload, i64* %sv_0.01.reg2mem\n br i1 %53, label LBL_1, label LBL_22\n LBL_20:\n %54 = load i64, i64* %sv_2, align 8\n %55 = icmp eq i64 %54, 0\n %56 = icmp eq i1 %55, false\n store i64 %54, i64* %sv_0.0.be.reg2mem\n br i1 %56, label LBL_19, label LBL_21\n LBL_21:\n %57 = call i64 @FUNC(i64 %1)\n store i64 %57, i64* %sv_0.0.be.reg2mem\n br label LBL_19\n LBL_22:\n %58 = call i64 @FUNC(i64 %1)\n ret i64 %58\n\n uselistorder i64 %sv_0.0.be.reload, { 1, 0 }\n uselistorder i64 %sv_0.01.reload, { 17, 16, 10, 15, 14, 13, 11, 12, 9, 8, 5, 6, 7, 1, 0, 2, 3, 4 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64 %0, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 2, 1, 0, 3 }\n uselistorder i64 (i64, i8*)* @TY_GetAttrByName, { 1, 0 }\n uselistorder i1 false, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @TY_DiscardElement, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "palette8torgb24_576", "fun_name": "palette8torgb24", "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 i32* %arg1 to i64\n store i64 0, i64* %storemerge3.reg2mem\n store i64 %arg2, 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 %3 = add i64 %storemerge3.reload, %2\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, 4\n %8 = or i64 %7, 2\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* %4, 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* %4, align 1\n %23 = zext i8 %22 to i64\n %24 = mul i64 %23, 4\n %25 = add i64 %24, %1\n %26 = add i64 %sv_0.02.reload, 2\n %27 = inttoptr i64 %25 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 = add i64 %sv_0.02.reload, 3\n %31 = add nuw nsw i64 %storemerge3.reload, 1\n %exitcond = icmp eq i64 %31, %arg3\n store i64 %31, i64* %storemerge3.reg2mem\n store i64 %30, 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": "inSymtab_7915", "fun_name": "inSymtab", "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 %sv_0 = alloca i8, align 1\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg4)\n %2 = bitcast i8* %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2)\n %4 = load i8, i8* %sv_0, align 1\n %5 = icmp eq i8 %4, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull @gv_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 i8 0, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rocker_class_init_746", "fun_name": "rocker_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 4198710, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198717, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n store i32 4660, i32* %4, align 4\n %5 = add i64 %0, 20\n %6 = inttoptr i64 %5 to i32*\n store i32 22136, i32* %6, align 4\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i32*\n store i32 2, i32* %10, align 4\n %11 = add i64 %0, 32\n %12 = call i64 @FUNC(i64 0, i64 %11)\n store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %arg1, align 8\n store i64 4198724, i64* %2, align 8\n %13 = load i64, i64* @gv_1, align 8\n %14 = inttoptr i64 %3 to i64*\n store i64 %13, i64* %14, align 8\n %15 = inttoptr i64 %7 to i64*\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %15, align 8\n ret i64 %0\n\n uselistorder i64 32, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rtsp_close_streams_17565", "fun_name": "ff_rtsp_close_streams", "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 = call i64 @FUNC(i64 %arg1)\n %3 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %4 = sext i32 %storemerge.reload to i64\n %5 = icmp sgt i64 %3, %4\n %6 = add i32 %storemerge.reload, 1\n store i32 %6, i32* %storemerge.reg2mem\n br i1 %5, label LBL_1, 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 = call i64 @FUNC(i64 %9)\n %11 = add i64 %arg1, 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_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %13)\n store i64 0, i64* %12, align 8\n br label LBL_4\n LBL_4:\n %16 = add i64 %arg1, 24\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, 32\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n ret i64 %23\n\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_free, { 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ToPropertyDescriptor_13208", "fun_name": "ToPropertyDescriptor", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i8* %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 = ptrtoint i8* %arg3 to i64\n %24 = call i64 @FUNC(i64 %arg1, i64 4294967293, i64 %23)\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 %25 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\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 = or i32 %sv_0.0.reload, %sv_4.0.reload\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_12, label LBL_10\n LBL_10:\n %30 = 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 %31 = call i64 @FUNC(i64 %arg1)\n br label LBL_12\n LBL_12:\n %32 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_15, label LBL_13\n LBL_13:\n %35 = or i32 %sv_0.0.reload, %sv_4.0.reload\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_16, label LBL_14\n LBL_14:\n %37 = 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 %38 = call i64 @FUNC(i64 %arg1)\n br label LBL_16\n LBL_16:\n %39 = icmp eq i32 %sv_3.0.reload, 0\n %spec.select = zext i1 %39 to i32\n %40 = icmp eq i32 %sv_2.0.reload, 0\n %41 = icmp eq i1 %40, false\n %42 = or i32 %spec.select, 2\n %sv_5.1 = select i1 %41, i32 %spec.select, i32 %42\n %43 = icmp eq i32 %sv_1.0.reload, 0\n %44 = icmp eq i1 %43, false\n %45 = or i32 %sv_5.1, 4\n %spec.select5 = select i1 %44, i32 %sv_5.1, i32 %45\n %46 = ptrtoint i8* %arg3 to i64\n %47 = call i64 @FUNC(i64 %arg1, i64 4294967292, i64 %46, i32 %spec.select5)\n %48 = call i64 @FUNC(i64 %arg1, i64 2)\n ret i64 %48\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 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 i8* %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": "1" }, { "dataset": "CompRealVul", "file": "xml_acl_disable_9351", "fun_name": "xml_acl_disable", "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 %1, i64* %rax.0.reg2mem\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)\n %sext = mul i64 %0, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = call i64 @FUNC(i64 %6, 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 i64 %0, { 0, 2, 1, 3 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitmap_set_262", "fun_name": "bitmap_set", "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 ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([11 x i8], [11 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 = sub i64 0, %arg2\n %8 = urem i64 %7, 64\n %9 = lshr i64 -1, %8\n %10 = or i64 %arg2, -64\n %11 = add i64 %10, %arg3\n %12 = icmp slt i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %.reg2mem\n store i64 %9, i64* %sv_0.05.reg2mem\n store i64 %6, i64* %sv_1.04.reg2mem\n store i64 %arg3, i64* %sv_2.0.lcssa.reg2mem\n store i64 %6, i64* %sv_1.0.lcssa.reg2mem\n store i64 %9, i64* %sv_0.0.lcssa.reg2mem\n store i64 %11, i64* %.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\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 %14 = inttoptr i64 %sv_1.04.reload to i64*\n %15 = load i64, i64* %14, align 8\n %16 = or i64 %15, %sv_0.05.reload\n store i64 %16, i64* %14, align 8\n %17 = add i64 %sv_1.04.reload, 8\n %18 = add i64 %.reload, -64\n %19 = icmp slt i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %.reg2mem\n store i64 -1, i64* %sv_0.05.reg2mem\n store i64 %17, i64* %sv_1.04.reg2mem\n store i64 %.reload, i64* %sv_2.0.lcssa.reg2mem\n store i64 %17, i64* %sv_1.0.lcssa.reg2mem\n store i64 -1, i64* %sv_0.0.lcssa.reg2mem\n store i64 %18, i64* %.lcssa.reg2mem\n br i1 %20, label LBL_3, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem\n %21 = icmp eq i64 %sv_2.0.lcssa.reload, 0\n store i64 %.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = add i64 %arg3, %arg2\n %23 = trunc i64 %22 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 %24 = urem i32 %23, 64\n %25 = icmp eq i32 %24, 0\n %26 = zext i32 %24 to i64\n %27 = shl i64 -1, %26\n %storemerge2 = select i1 %25, i64 -1, i64 %27\n %28 = and i64 %sv_0.0.lcssa.reload, %storemerge2\n %29 = inttoptr i64 %sv_1.0.lcssa.reload to i64*\n %30 = load i64, i64* %29, align 8\n %31 = or i64 %30, %28\n store i64 %31, i64* %29, align 8\n store i64 %sv_1.0.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 i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder i64 -1, { 3, 4, 0, 1, 5, 2 }\n uselistorder i64 %arg3, { 1, 0, 2, 3 }\n uselistorder i64 %arg2, { 1, 2, 4, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sel_remove_classes_6582", "fun_name": "sel_remove_classes", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = add i64 %0, 16\n %storemerge.in5 = inttoptr i64 %1 to i64*\n %storemerge6 = load i64, i64* %storemerge.in5, align 8\n %2 = icmp eq i64 %storemerge6, %1\n %3 = icmp eq i1 %2, false\n store i64 %storemerge6, i64* %storemerge7.reg2mem\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %4 = add i64 %storemerge7.reload, 16\n %storemerge1.in2 = inttoptr i64 %4 to i64*\n %storemerge13 = load i64, i64* %storemerge1.in2, align 8\n %5 = icmp eq i64 %storemerge13, %4\n %6 = icmp eq i1 %5, false\n store i64 %storemerge13, i64* %storemerge14.reg2mem\n br i1 %6, label LBL_2, label LBL_6\n LBL_2:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %7 = add i64 %storemerge14.reload, 32\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_3\n LBL_3:\n %11 = inttoptr i64 %9 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i32 %12, 16384\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %storemerge14.reload)\n br label LBL_5\n LBL_5:\n %storemerge1.in = inttoptr i64 %storemerge14.reload to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %16 = icmp eq i64 %storemerge1, %4\n %17 = icmp eq i1 %16, false\n store i64 %storemerge1, i64* %storemerge14.reg2mem\n br i1 %17, label LBL_2, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %storemerge7.reload)\n %storemerge.in = inttoptr i64 %storemerge7.reload to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %19 = load i64, i64* @gv_0, align 8\n %20 = add i64 %19, 16\n %21 = icmp eq i64 %storemerge, %20\n %22 = icmp eq i1 %21, false\n store i64 %storemerge, i64* %storemerge7.reg2mem\n store i64 %19, i64* %.lcssa.reg2mem\n br i1 %22, label LBL_1, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %23 = call i64 @FUNC(i64 %.lcssa.reload)\n ret i64 %23\n\n uselistorder i64 %storemerge14.reload, { 2, 0, 1 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %storemerge7.reload, { 2, 0, 1 }\n uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clientsCronResizeQueryBuffer_8935", "fun_name": "clientsCronResizeQueryBuffer", "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 ult i64 %1, 513\n %.pre = add i64 %0, 8\n %.pre4 = inttoptr i64 %.pre to i64*\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = load i64, i64* %.pre4, align 8\n %4 = add i64 %3, 1\n %5 = udiv i64 %1, %4\n %6 = icmp ult i64 %5, 3\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = load i64, i64* @gv_0, 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 = sub i64 %7, %10\n %12 = icmp ult i64 %1, 1025\n %13 = icmp slt i64 %11, 3\n %or.cond = or i1 %12, %13\n br i1 %or.cond, label LBL_5, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n %15 = icmp ult i64 %14, 1025\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %0)\n store i64 %16, i64* %arg1, align 8\n br label LBL_5\n LBL_5:\n store i64 0, i64* %.pre4, align 8\n ret i64 0\n\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64)* @sdsAllocSize, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_flush_ext_and_user_data_6171", "fun_name": "impeg2d_flush_ext_and_user_data", "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, i64 4)\n %storemerge5 = trunc i64 %3 to i32\n %4 = icmp ne i32 %storemerge5, 181\n %5 = icmp eq i32 %storemerge5, 178\n %6 = icmp eq i1 %5, false\n %or.cond6 = icmp eq i1 %4, %6\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_8, 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 br label LBL_6\n LBL_2:\n %10 = call i64 @FUNC(i64 %2, i64 4)\n %11 = call i64 @FUNC(i64 %2, i64 3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 1\n br i1 %13, label LBL_5, label LBL_4\n LBL_3:\n %14 = call i64 @FUNC(i64 %2, i64 8)\n %15 = call i64 @FUNC(i64 %2, i64 3)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 1\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load i32, i32* %9, align 4\n %19 = icmp ugt i32 %18, %7\n br i1 %19, label LBL_3, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %2, i64 4)\n %storemerge = trunc i64 %20 to i32\n %21 = icmp ne i32 %storemerge, 181\n %22 = icmp eq i32 %storemerge, 178\n %23 = icmp eq i1 %22, false\n %or.cond = icmp eq i1 %21, %23\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_6\n LBL_6:\n %24 = load i32, i32* %9, align 4\n %25 = icmp ugt i32 %24, %7\n br i1 %25, label LBL_2, label LBL_6.LBL_8_crit_edge\n LBL_7:\n %26 = zext i32 %24 to i64\n store i64 %26, 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, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %2, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 178, { 1, 0 }\n uselistorder i32 181, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 3, 2, 0, 1 }\n uselistorder i64 4, { 0, 1, 3, 2 }\n uselistorder label LBL_8, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_signal_handlers_13716", "fun_name": "flush_signal_handlers", "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 i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i32 32, i32* %storemerge5.reg2mem\n store i64 %0, 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 %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.pre = inttoptr i64 %sv_0.02.reload to i64*\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = load i64, i64* %.pre, align 8\n %5 = icmp eq i64 %4, 1\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %.pre, align 8\n br label LBL_4\n LBL_4:\n %6 = add i64 %sv_0.02.reload, 136\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %sv_0.02.reload, 144\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %sv_0.02.reload, 8\n %11 = inttoptr i64 %10 to %_TYPEDEF_sigset_t*\n %12 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* %11)\n %13 = add i64 %sv_0.02.reload, 152\n %14 = add nsw i32 %storemerge5.reload, -1\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i32 %14, i32* %storemerge5.reg2mem\n store i64 %13, i64* %sv_0.02.reg2mem\n br i1 %16, label LBL_1, label LBL_5\n LBL_5:\n %17 = sext i32 %12 to i64\n ret i64 %17\n\n uselistorder i64 %sv_0.02.reload, { 2, 3, 1, 0, 4 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proc_mkdir_mode_3908", "fun_name": "proc_mkdir_mode", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg1 to i64\n %sv_1 = alloca i64, align 8\n store i64 %arg3, i64* %sv_1, align 8\n %1 = and i64 %arg2, 4294950911\n %2 = or i64 %1, 16384\n %3 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %2, i64 2)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = load i64, i64* %sv_1, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %3, i64* %sv_0.0.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* %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 %3, { 1, 0, 2, 3 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_state_set_mode_locked_13635", "fun_name": "nfs4_state_set_mode_locked", "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 %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = trunc i64 %1 to i32\n %4 = and i64 %1, 4294967295\n %5 = icmp eq i32 %3, %2\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = xor i64 %1, %arg2\n %7 = urem i64 %6, 2\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_1.LBL_6_crit_edge, label LBL_3\n LBL_2:\n %.pre = ptrtoint i32* %arg1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_6\n LBL_3:\n %9 = urem i64 %arg2, 2\n %10 = icmp eq i64 %9, 0\n %11 = ptrtoint i32* %arg1 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 = add i64 %11, 16\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n store i64 %11, i64* %.pre-phi.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 %15, i64 %14)\n store i64 %11, i64* %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i32 %2, i32* %arg1, align 4\n store i64 %.pre-phi.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 %15, { 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %11, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfsd_shutdown_net_8801", "fun_name": "nfsd_shutdown_net", "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 = zext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = call i64 @FUNC(i64 %0)\n %6 = load i32, i32* %4, align 4\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 store i32 0, i32* %4, align 4\n br label LBL_2\n LBL_2:\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i8*\n store i8 0, i8* %10, align 1\n %11 = call i64 @FUNC()\n ret i64 %11\n\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mem_seek_13497", "fun_name": "mem_seek", "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 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg3 to i32\n %sext = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = call i64 @FUNC(i64 100, i64 %6, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %8 = icmp eq i32 %5, 2\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = trunc i64 %6 to i32\n %10 = icmp sgt i32 %9, 2\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n store i64 %arg2, i64* %sv_0.0.reg2mem\n switch i32 %9, label LBL_5 [\n i32 0, label LBL_6\n i32 1, label LBL_3\n ]\n LBL_3:\n %11 = sub i64 100, %arg2\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n %12 = add i64 %4, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, %arg2\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n call void @abort()\n unreachable\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %sv_0.0.reload, i64* %17, align 8\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg3, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_slave_init_18096", "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_13, 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_12, 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_13\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_12\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_12\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 br i1 %72, label LBL_11, label LBL_10\n LBL_10:\n %73 = load i64, i64* %52, align 8\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_11\n LBL_11:\n %78 = 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_12, label LBL_9\n LBL_12:\n %79 = call i64 @FUNC(i64 %14)\n store i64 %79, 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 %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, { 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_13, { 1, 2, 0 }\n uselistorder label LBL_12, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ohci_bus_start_3234", "fun_name": "ohci_bus_start", "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 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sigint_3717", "fun_name": "sigint", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0))\n %1 = load i32, i32* @gv_1, align 4\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()\n %5 = call i64 @FUNC(i64* nonnull @gv_2)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 0)\n unreachable\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 0, { 6, 0, 1, 2, 3, 4, 5, 7, 8, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_parse_uri_7399", "fun_name": "nfs_parse_uri", "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.028.reg2mem = alloca i64\n %sv_0.027.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %storemerge17.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 = ptrtoint i64* %arg3 to i64\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(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.028.reg2mem\n br label LBL_32\n LBL_2:\n %9 = inttoptr i64 %5 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\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 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.027.reg2mem\n br label LBL_31\n LBL_4:\n %15 = add i64 %5, 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 br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.027.reg2mem\n br label LBL_31\n LBL_6:\n %21 = add i64 %5, 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 br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.027.reg2mem\n br label LBL_31\n LBL_8:\n %27 = add i64 %5, 24\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 eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_9, label LBL_29\n LBL_9:\n %33 = ptrtoint i64* %arg2 to i64\n %34 = inttoptr i64 %30 to i32*\n %35 = load i64, i64* %16, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %36)\n %38 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_6 to i64))\n %39 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_7, i64 0, i64 0), i64 %38)\n %40 = load i64, i64* %22, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64 %41)\n %43 = load i32, i32* %34, align 4\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %sv_0.06.reg2mem\n br i1 %44, label LBL_30, label LBL_10\n LBL_10:\n %45 = add i64 %30, 8\n %46 = inttoptr i64 %45 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge17.reg2mem\n br label LBL_11\n LBL_11:\n %.reload = load i64, i64* %.reg2mem\n %47 = load i64, i64* %46, align 8\n %48 = mul i64 %.reload, 16\n %49 = add i64 %47, %48\n %50 = add i64 %49, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = icmp eq i64 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = inttoptr i64 %49 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_9, i64 0, i64 0), i64 %56, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.06.reg2mem\n br label LBL_30\n LBL_13:\n %58 = call i64 @FUNC(i64 %52, i64 0, i64 0)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n %61 = load i64, i64* %46, align 8\n %62 = add i64 %61, %48\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n br i1 %60, label LBL_15, label LBL_14\n LBL_14:\n %65 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_10, i64 0, i64 0), i64 %64, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.06.reg2mem\n br label LBL_30\n LBL_15:\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %66 = inttoptr i64 %64 to i8*\n %67 = call i32 @strcmp(i8* %66, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_11, i64 0, i64 0))\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n %70 = load i64, i64* %46, align 8\n %71 = add i64 %70, %48\n br i1 %69, label LBL_17, label LBL_16\n LBL_16:\n %72 = add i64 %71, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = call i64 @FUNC(i64 %74)\n %76 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 %75)\n br label LBL_28\n LBL_17:\n %77 = inttoptr i64 %71 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = inttoptr i64 %78 to i8*\n %80 = call i32 @strcmp(i8* %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0))\n %81 = icmp eq i32 %80, 0\n %82 = icmp eq i1 %81, false\n %83 = load i64, i64* %46, align 8\n %84 = add i64 %83, %48\n br i1 %82, label LBL_19, label LBL_18\n LBL_18:\n %85 = add i64 %84, 8\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = call i64 @FUNC(i64 %87)\n %89 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_14, i64 0, i64 0), i64 %88)\n br label LBL_28\n LBL_19:\n %90 = inttoptr i64 %84 to i64*\n %91 = load i64, i64* %90, align 8\n %92 = inttoptr i64 %91 to i8*\n %93 = call i32 @strcmp(i8* %92, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_15, i64 0, i64 0))\n %94 = icmp eq i32 %93, 0\n %95 = icmp eq i1 %94, false\n %96 = load i64, i64* %46, align 8\n %97 = add i64 %96, %48\n br i1 %95, label LBL_21, label LBL_20\n LBL_20:\n %98 = add i64 %97, 8\n %99 = inttoptr i64 %98 to i64*\n %100 = load i64, i64* %99, align 8\n %101 = call i64 @FUNC(i64 %100)\n %102 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_16, i64 0, i64 0), i64 %101)\n br label LBL_28\n LBL_21:\n %103 = inttoptr i64 %97 to i64*\n %104 = load i64, i64* %103, align 8\n %105 = inttoptr i64 %104 to i8*\n %106 = call i32 @strcmp(i8* %105, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_17, i64 0, i64 0))\n %107 = icmp eq i32 %106, 0\n %108 = icmp eq i1 %107, false\n %109 = load i64, i64* %46, align 8\n %110 = add i64 %109, %48\n br i1 %108, label LBL_23, label LBL_22\n LBL_22:\n %111 = add i64 %110, 8\n %112 = inttoptr i64 %111 to i64*\n %113 = load i64, i64* %112, align 8\n %114 = call i64 @FUNC(i64 %113)\n %115 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_18, i64 0, i64 0), i64 %114)\n br label LBL_28\n LBL_23:\n %116 = inttoptr i64 %110 to i64*\n %117 = load i64, i64* %116, align 8\n %118 = inttoptr i64 %117 to i8*\n %119 = call i32 @strcmp(i8* %118, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_19, i64 0, i64 0))\n %120 = icmp eq i32 %119, 0\n %121 = icmp eq i1 %120, false\n %122 = load i64, i64* %46, align 8\n %123 = add i64 %122, %48\n br i1 %121, label LBL_25, label LBL_24\n LBL_24:\n %124 = add i64 %123, 8\n %125 = inttoptr i64 %124 to i64*\n %126 = load i64, i64* %125, align 8\n %127 = call i64 @FUNC(i64 %126)\n %128 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_20, i64 0, i64 0), i64 %127)\n br label LBL_28\n LBL_25:\n %129 = inttoptr i64 %123 to i64*\n %130 = load i64, i64* %129, align 8\n %131 = inttoptr i64 %130 to i8*\n %132 = call i32 @strcmp(i8* %131, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_21, i64 0, i64 0))\n %133 = icmp eq i32 %132, 0\n %134 = icmp eq i1 %133, false\n %135 = load i64, i64* %46, align 8\n %136 = add i64 %135, %48\n br i1 %134, label LBL_27, label LBL_26\n LBL_26:\n %137 = add i64 %136, 8\n %138 = inttoptr i64 %137 to i64*\n %139 = load i64, i64* %138, align 8\n %140 = call i64 @FUNC(i64 %139)\n %141 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_21, i64 0, i64 0), i64 %140)\n br label LBL_28\n LBL_27:\n %142 = inttoptr i64 %136 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_22, i64 0, i64 0), i64 %143, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.06.reg2mem\n br label LBL_30\n LBL_28:\n %145 = add i32 %storemerge17.reload, 1\n %146 = load i32, i32* %34, align 4\n %147 = zext i32 %146 to i64\n %148 = sext i32 %145 to i64\n %149 = icmp slt i64 %148, %147\n store i64 %148, i64* %.reg2mem\n store i32 %145, i32* %storemerge17.reg2mem\n store i64 0, i64* %sv_0.06.reg2mem\n br i1 %149, label LBL_11, label LBL_30\n LBL_29:\n %150 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_23, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %sv_0.027.reg2mem\n br label LBL_31\n LBL_30:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %151 = call i64 @FUNC(i64 %30)\n store i64 %sv_0.06.reload, i64* %sv_0.027.reg2mem\n br label LBL_31\n LBL_31:\n %sv_0.027.reload = load i64, i64* %sv_0.027.reg2mem\n %152 = call i64 @FUNC(i64 %5)\n store i64 %sv_0.027.reload, i64* %sv_0.028.reg2mem\n br label LBL_32\n LBL_32:\n %sv_0.028.reload = load i64, i64* %sv_0.028.reg2mem\n ret i64 %sv_0.028.reload\n\n uselistorder i64 %123, { 1, 0 }\n uselistorder i64 %110, { 1, 0 }\n uselistorder i64 %97, { 1, 0 }\n uselistorder i64 %84, { 1, 0 }\n uselistorder i64 %71, { 1, 0 }\n uselistorder i64 %64, { 1, 0 }\n uselistorder i64 %48, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %34, { 1, 0 }\n uselistorder i64 %33, { 5, 4, 3, 2, 1, 0, 6, 8, 7 }\n uselistorder i64 %5, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 %4, { 8, 9, 12, 11, 10, 6, 7, 4, 5, 2, 3, 0, 1 }\n uselistorder i64 %3, { 4, 7, 6, 5, 3, 2, 1, 0 }\n uselistorder i64 %2, { 4, 7, 6, 5, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 7, 6, 5, 3, 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 1, 3, 4, 5, 2 }\n uselistorder i64* %sv_0.027.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64* %sv_0.028.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @qdict_put, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @qstring_from_str, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 5, 2, 3, 6, 4, 1, 0 }\n uselistorder i64 4294967274, { 4, 5, 6, 7, 1, 2, 3, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 4, 7, 6, 5, 3, 2, 1, 0 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_30, { 0, 2, 3, 4, 1 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "WhitesAreEqual_10058", "fun_name": "WhitesAreEqual", "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 %storemerge3.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = icmp sgt i32 %0, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i16* %arg2 to i64\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %4 = sext i32 %storemerge3.reload to i64\n %5 = mul i64 %4, 2\n %6 = add i64 %5, %3\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = add i64 %5, %2\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = zext i16 %8 to i32\n %13 = zext i16 %11 to i32\n %14 = sub nsw i32 %12, %13\n %15 = sub nsw i32 0, %14\n %16 = icmp sgt i32 %14, 0\n %17 = icmp eq i1 %16, false\n %18 = select i1 %17, i32 %15, i32 %14\n %19 = icmp slt i32 %18, 61441\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_5\n LBL_3:\n %20 = icmp eq i16 %8, %11\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_4, label LBL_5\n LBL_4:\n %21 = add nuw i32 %storemerge3.reload, 1\n %22 = icmp slt i32 %21, %0\n store i32 %21, i32* %storemerge3.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_2, 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 %14, { 2, 0, 1 }\n uselistorder i16 %11, { 1, 0 }\n uselistorder i16 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_file_open_1661", "fun_name": "bdrv_file_open", "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 = call i64 @FUNC(i64* nonnull @gv_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 = and i64 %arg3, 4294967294\n %4 = or i64 %3, 1\n %5 = ptrtoint i8* %arg2 to i64\n %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %4, i64 0)\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 = call i64 @FUNC(i64 %0)\n %11 = and i64 %6, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %12 = inttoptr i64 %0 to i32*\n store i32 1, i32* %12, align 4\n store i64 %0, i64* %arg1, 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 %0, { 0, 3, 1, 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": "get_psr_5023", "fun_name": "get_psr", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\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 %1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = urem i64 %6, 2\n %8 = or i64 %7, %3\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %. = select i1 %12, i64 0, i64 2\n %13 = or i64 %8, %.\n %14 = add i64 %1, 20\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = mul i32 %16, 256\n %18 = sext i32 %17 to i64\n %19 = or i64 %13, %18\n %20 = add i64 %1, 24\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n %storemerge2 = select i1 %23, i64 0, i64 4\n %24 = or i64 %19, %storemerge2\n %25 = add i64 %1, 28\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n %.4 = select i1 %28, i64 0, i64 8\n %29 = or i64 %24, %.4\n %30 = add i64 %1, 32\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n %storemerge = select i1 %33, i64 0, i64 16\n %34 = add i64 %1, 40\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = or i64 %29, %36\n %38 = or i64 %37, %storemerge\n ret i64 %38\n\n uselistorder i64 %1, { 1, 0, 2, 3, 5, 4, 6, 7 }\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "OPLDestroy_6749", "fun_name": "OPLDestroy", "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()\n %2 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %2)\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 i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fsnotify_obtain_group_5437", "fun_name": "fsnotify_obtain_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 %0 = call i64 @FUNC(i64 120, 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_5\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg1, 4294967296\n %4 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext3, 32\n %6 = call i64 @FUNC(i64 %0, i64 1)\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = trunc i64 %4 to i32\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = trunc i64 %5 to i32\n %13 = add i64 %0, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 16\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %0, 96\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 104\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %0, 64\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %0, 68\n %24 = inttoptr i64 %23 to i32*\n store i32 -1, i32* %24, align 4\n %25 = add i64 %0, 72\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %0, 76\n %28 = call i64 @FUNC(i64 %27, i64 0)\n %29 = add i64 %0, 112\n %30 = call i64 @FUNC(i64 %29)\n %31 = add i64 %0, 80\n %32 = inttoptr i64 %31 to i64*\n store i64 %3, i64* %32, align 8\n %33 = call i64 @FUNC(i64* nonnull @gv_0)\n %34 = and i64 %5, 4294967295\n %35 = and i64 %4, 4294967295\n %36 = call i64 @FUNC(i64 %35, i64 %34, i64 %3)\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_3, label LBL_2\n LBL_2:\n %38 = call i64 @FUNC(i64* nonnull @gv_0)\n %39 = call i64 @FUNC(i64 %0)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %40 = add i64 %0, 88\n %41 = call i64 @FUNC(i64 %40, i64* nonnull @gv_1)\n store i32 1, i32* %8, align 4\n %42 = call i64 @FUNC(i64 %27)\n %43 = call i64 @FUNC(i64* nonnull @gv_0)\n %44 = icmp eq i32 %12, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_5, label LBL_4\n LBL_4:\n %45 = call i64 @FUNC()\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, { 1, 0, 3, 2, 4, 7, 6, 5, 8, 9, 12, 11, 10, 13, 14, 16, 15, 17 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_report_6629", "fun_name": "parse_report", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %r8.1.reg2mem = alloca i64\n %rdx.2.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rdx.167.reg2mem = alloca i64\n %rcx.158.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %r8.0.ph.reg2mem = alloca i64\n %rdi.0.ph.reg2mem = alloca i64\n %rdx.0.ph.reg2mem = alloca i64\n %rcx.0.ph.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 %sv_3 = alloca i32*, align 8\n store i32* null, i32** %sv_3, align 8\n store i64 0, i64* %sv_2, align 8\n store i32 0, i32* %sv_1, align 4\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = bitcast i32** %sv_3 to i64*\n %6 = ptrtoint i64* %sv_2 to i64\n %7 = ptrtoint i32* %sv_1 to i64\n %8 = ptrtoint i32* %arg2 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 store i64 %2, i64* %rdi.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %r8.0.ph.reload = load i64, i64* %r8.0.ph.reg2mem\n %rdi.0.ph.reload = load i64, i64* %rdi.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 store i64 %rcx.0.ph.reload, i64* %rcx.0.reg2mem\n store i64 %rdx.0.ph.reload, i64* %rdx.0.reg2mem\n store i64 %rdi.0.ph.reload, i64* %rdi.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 %13 = load i64, i64* %4, align 8\n %14 = icmp eq i64 %13, 0\n store i64 %rcx.0.reload, i64* %rcx.158.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.167.reg2mem\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %15 = call i64 @FUNC(i64* nonnull %5, i64 %rdi.0.reload, i64* nonnull %sv_2, i64 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i32 %16, -1\n %or.cond = or i1 %19, %18\n store i32 -1, i32* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_20\n LBL_4:\n %20 = icmp eq i1 %19, false\n store i64 %13, i64* %rcx.158.reg2mem\n store i64 %6, i64* %rdx.167.reg2mem\n br i1 %20, label LBL_8, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %2)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i32 %22, i32* %sv_0.1.reg2mem\n br i1 %24, label LBL_6, label LBL_20\n LBL_6:\n %rdx.167.reload = load i64, i64* %rdx.167.reg2mem\n %rcx.158.reload = load i64, i64* %rcx.158.reg2mem\n %25 = icmp eq i32 %22, 0\n %26 = icmp eq i1 %25, false\n store i64 %rcx.158.reload, i64* %rcx.0.reg2mem\n store i64 %rdx.167.reload, i64* %rdx.0.reg2mem\n store i64 %2, i64* %rdi.0.reg2mem\n br i1 %26, label LBL_2, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %rdx.167.reload, i64 %rcx.158.reload, i64 %r8.0.ph.reload, i64 %1)\n store i32 -2, i32* %sv_0.1.reg2mem\n br label LBL_20\n LBL_8:\n %28 = load i64, i64* %sv_2, align 8\n %29 = call i64 @FUNC(i64 %2, i64 %28)\n %30 = load i32*, i32** %sv_3, align 8\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 3\n br i1 %32, label LBL_13, label LBL_9\n LBL_9:\n %33 = icmp sgt i32 %31, 3\n br i1 %33, label LBL_15, label LBL_10\n LBL_10:\n switch i32 %31, label LBL_15 [\n i32 1, label LBL_11\n i32 2, label LBL_12\n ]\n LBL_11:\n %34 = ptrtoint i32* %30 to i64\n %35 = call i64 @FUNC(i64 %8, i64 %34, i32* nonnull %sv_1)\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %sv_0.0.reg2mem\n store i64 %34, i64* %rcx.2.reg2mem\n store i64 %7, i64* %rdx.2.reg2mem\n store i64 %r8.0.ph.reload, i64* %r8.1.reg2mem\n br label LBL_16\n LBL_12:\n %37 = bitcast i32* %30 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %38, i64 %13, i64 %r8.0.ph.reload, i64 %1)\n store i32 -1, i32* %sv_0.0.reg2mem\n store i64 %13, i64* %rcx.2.reg2mem\n store i64 %38, i64* %rdx.2.reg2mem\n store i64 %r8.0.ph.reload, i64* %r8.1.reg2mem\n br label LBL_16\n LBL_13:\n %40 = load i64, i64* %10, align 8\n %41 = icmp eq i64 %40, 0\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %13, i64* %rcx.2.reg2mem\n store i64 %28, i64* %rdx.2.reg2mem\n store i64 %r8.0.ph.reload, i64* %r8.1.reg2mem\n br i1 %41, label LBL_16, label LBL_14\n LBL_14:\n %42 = ptrtoint i32* %30 to i64\n %43 = load i64, i64* %12, align 8\n %44 = add i64 %42, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = bitcast i32* %30 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = trunc i64 %48 to i32\n store i32 %49, i32* %sv_0.0.reg2mem\n store i64 %46, i64* %rcx.2.reg2mem\n store i64 %43, i64* %rdx.2.reg2mem\n store i64 %40, i64* %r8.1.reg2mem\n br label LBL_16\n LBL_15:\n %50 = ptrtoint i32* %30 to i64\n %51 = call i64 @FUNC(i64 %8, i64 %50)\n %52 = trunc i64 %51 to i32\n store i32 %52, i32* %sv_0.0.reg2mem\n store i64 %13, i64* %rcx.2.reg2mem\n store i64 %50, i64* %rdx.2.reg2mem\n store i64 %r8.0.ph.reload, i64* %r8.1.reg2mem\n br label LBL_16\n LBL_16:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rdx.2.reload = load i64, i64* %rdx.2.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %53 = load i32*, i32** %sv_3, align 8\n %54 = ptrtoint i32* %53 to i64\n %55 = call i64 @FUNC(i64 %54)\n %56 = icmp eq i32 %sv_0.0.reload, 1\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_19, label LBL_17\n LBL_17:\n %58 = load i32, i32* %sv_1, align 4\n %59 = icmp slt i32 %58, 1\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %59, label LBL_20, label LBL_18\n LBL_18:\n %60 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.2.reload, i64 %rcx.2.reload, i64 %r8.1.reload, i64 %1)\n store i32 -3, i32* %sv_0.1.reg2mem\n br label LBL_20\n LBL_19:\n %61 = icmp slt i32 %sv_0.0.reload, 0\n store i64 %rcx.2.reload, i64* %rcx.0.ph.reg2mem\n store i64 %rdx.2.reload, i64* %rdx.0.ph.reg2mem\n store i64 %54, i64* %rdi.0.ph.reg2mem\n store i64 %r8.1.reload, i64* %r8.0.ph.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %61, label LBL_20, label LBL_1\n LBL_20:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %62 = call i64 @FUNC(i32* nonnull %sv_1)\n %63 = zext i32 %sv_0.1.reload to i64\n ret i64 %63\n\n uselistorder i64 %rcx.2.reload, { 1, 0 }\n uselistorder i64 %rdx.2.reload, { 1, 0 }\n uselistorder i64 %r8.1.reload, { 1, 0 }\n uselistorder i32* %30, { 0, 4, 3, 1, 2, 5 }\n uselistorder i32 %22, { 1, 0, 2 }\n uselistorder i1 %19, { 1, 0 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64 %13, { 1, 2, 0, 4, 3, 5, 6 }\n uselistorder i64 %r8.0.ph.reload, { 2, 3, 0, 4, 1, 5 }\n uselistorder i32** %sv_3, { 2, 1, 3, 0 }\n uselistorder i64* %sv_2, { 1, 0, 2, 3 }\n uselistorder i32* %sv_1, { 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 5, 0, 2, 1, 4, 3, 6 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rcx.0.ph.reg2mem, { 1, 0 }\n uselistorder i64* %rdx.0.ph.reg2mem, { 1, 0 }\n uselistorder i64* %rdi.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.0.ph.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.158.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.167.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %rdx.2.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %r8.1.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 5, 6, 4, 3, 2 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @giterr_set, { 2, 1, 0 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder label LBL_20, { 0, 4, 3, 5, 1, 2 }\n uselistorder label LBL_16, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_state_execute_2675", "fun_name": "ehci_state_execute", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.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, 48\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 call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %8 = inttoptr i64 %5 to i32*\n %9 = load i32, i32* %8, align 4\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 %9, %12\n br i1 %13, 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 ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br 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 store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %16, label LBL_5, label LBL_14\n LBL_5:\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_8, label LBL_6\n LBL_6:\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_9, label LBL_7\n LBL_7:\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = and i64 %1, 4294967295\n %29 = call i64 @FUNC(i64 %27, i64 %28, i64 0)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_8:\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i64 1)\n br label LBL_9\n LBL_9:\n %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %35 = trunc i64 %34 to i32\n %36 = add i64 %5, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = icmp eq i32 %35, -1\n %39 = icmp eq i1 %38, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %39, label LBL_10, label LBL_14\n LBL_10:\n %40 = bitcast i64* %rdi to i32*\n %41 = icmp eq i32 %35, 1\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_13, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i64 %2)\n %44 = add i64 %5, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i64 %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0))\n %48 = add i64 %5, 8\n %49 = inttoptr i64 %48 to i32*\n store i32 1, i32* %49, align 4\n %50 = load i32, i32* %40, align 8\n %51 = add i64 %2, 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = zext i32 %50 to i64\n %55 = call i64 @FUNC(i64 %53, i64 %54, i64 0)\n %56 = icmp eq i32 %50, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %56, label LBL_14, label LBL_12\n LBL_12:\n %57 = call i64 @FUNC(i64 %5)\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 1, i64 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_13:\n %61 = load i32, i32* %40, align 8\n %62 = add i64 %2, 8\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = zext i32 %61 to i64\n %66 = call i64 @FUNC(i64 %64, i64 %65, i64 1)\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* %40, { 1, 0 }\n uselistorder i32 %35, { 1, 0, 2 }\n uselistorder i64 %2, { 5, 3, 4, 2, 1, 0, 6, 7, 8 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 5, 4, 1, 2, 3, 6 }\n uselistorder i64 1, { 2, 4, 3, 0, 5, 1 }\n uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 2, 1, 0 }\n uselistorder label LBL_14, { 2, 1, 4, 3, 0, 5 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "multiplicative_12423", "fun_name": "multiplicative", "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)\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i64 42)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_1.backedge\n LBL_2:\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_3:\n %4 = call i64 @FUNC(i64 %arg1, i64 47)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_4, label LBL_1.backedge\n LBL_4:\n %7 = call i64 @FUNC(i64 %arg1, i64 37)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_5, label LBL_1.backedge\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 (i64, i64)* @jsP_accept, { 2, 1, 0 }\n uselistorder label LBL_1.backedge, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "latm_write_frame_header_15782", "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 = inttoptr i64 %8 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = mul i32 %15, 8\n %17 = zext i32 %16 to i64\n %18 = add i64 %8, 8\n %19 = inttoptr i64 %18 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 %17)\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* %14, align 4\n %33 = add i64 %arg1, 16\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %.neg3 = add i32 %32, -7\n %36 = sub i32 %.neg3, %35\n %37 = ashr i32 %36, 3\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 = sext i32 %39 to i64\n %41 = add i64 %38, %40\n %42 = zext i32 %37 to i64\n %43 = call i64 @FUNC(i64 %arg2, i64 %41, i64 %42)\n br label LBL_5\n LBL_3:\n %44 = add i64 %arg1, 16\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i32 %46, 3\n %48 = zext i32 %47 to i64\n %49 = load i64, i64* %19, align 8\n %50 = call i64 @FUNC(i64 %arg2, i64 %49, i64 %48)\n %51 = add i64 %arg1, 12\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_5, label LBL_4\n LBL_4:\n %56 = call i64 @FUNC(i64 %arg2, i64* nonnull %21)\n br label LBL_5\n LBL_5:\n %57 = call i64 @FUNC(i64 %arg2, i64 3, i64 0)\n %58 = call i64 @FUNC(i64 %arg2, i64 8, i64 255)\n %59 = call i64 @FUNC(i64 %arg2, i64 1, i64 0)\n %60 = call i64 @FUNC(i64 %arg2, i64 1, i64 0)\n br label LBL_6\n LBL_6:\n %61 = bitcast i64* %rdi to i32*\n %62 = add i32 %9, 1\n %63 = inttoptr i64 %arg1 to i32*\n store i32 %62, i32* %63, align 4\n %64 = load i32, i32* %61, align 8\n %65 = add i64 %arg1, 4\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = ashr i32 %64, 31\n %69 = zext i32 %64 to i64\n %70 = zext i32 %68 to i64\n %71 = mul i64 %70, 4294967296\n %72 = or i64 %71, %69\n %73 = zext i32 %67 to i64\n %74 = srem i64 %72, %73\n %75 = trunc i64 %74 to i32\n store i32 %75, i32* %63, align 4\n ret i64 %arg1\n\n uselistorder i64* %19, { 1, 0, 2 }\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 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": "1" }, { "dataset": "CompRealVul", "file": "tcp_check_send_head_11732", "fun_name": "tcp_check_send_head", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg2, %arg1\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %2, align 8\n br label LBL_2\n LBL_2:\n ret i64 %arg1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vnc_display_close_18595", "fun_name": "vnc_display_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 %2 = load i64, i64* @gv_0, align 8\n %storemerge = select i1 %1, i64 %2, i64 %0\n %3 = icmp eq i64 %storemerge, 0\n br i1 %3, label LBL_8, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %storemerge 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 store i64 0, i64* %4, align 8\n br label LBL_3\n LBL_3:\n %8 = add i64 %storemerge, 8\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_5, label LBL_4\n LBL_4:\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %12, i64 0, i64 0, i64 0, i64 0)\n %14 = load i32, i32* %9, align 4\n %15 = call i32 @close(i32 %14)\n store i32 -1, i32* %9, align 4\n br label LBL_5\n LBL_5:\n %16 = add i64 %storemerge, 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 0, i64* %17, align 8\n %20 = add i64 %storemerge, 24\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, -1\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = zext i32 %22 to i64\n %25 = call i64 @FUNC(i64 %24, i64 0, i64 0, i64 0, i64 0)\n %26 = load i32, i32* %21, align 4\n %27 = call i32 @close(i32 %26)\n store i32 -1, i32* %21, align 4\n br label LBL_7\n LBL_7:\n %28 = add i64 %storemerge, 28\n %29 = inttoptr i64 %28 to i32*\n store i32 -1, i32* %29, align 4\n %30 = add i64 %storemerge, 32\n %31 = inttoptr i64 %30 to i32*\n store i32 -1, i32* %31, align 4\n %32 = add i64 %storemerge, 36\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n br label LBL_8\n LBL_8:\n ret i64 %storemerge\n\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @qemu_set_fd_handler2, { 1, 0 }\n uselistorder i32 -1, { 2, 3, 4, 0, 5, 1 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tenc_Read_6698", "fun_name": "tenc_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 %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %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 br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %2, i64 4)\n %9 = trunc i64 %8 to i32\n %10 = add i64 %arg1, 36\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %2, i64 4)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %arg1, 40\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n br label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2)\n %17 = trunc i64 %16 to i8\n %18 = add i64 %arg1, 1\n %19 = inttoptr i64 %18 to i8*\n store i8 %17, i8* %19, align 1\n %20 = call i64 @FUNC(i64 %2)\n %21 = trunc i64 %20 to i8\n %22 = add i64 %arg1, 2\n %23 = inttoptr i64 %22 to i8*\n store i8 %21, i8* %23, align 1\n %24 = add i64 %arg1, 3\n %25 = call i64 @FUNC(i64 %2, i64 %24, i64 16)\n %26 = call i64 @FUNC(i64 %arg1, i64 20)\n %27 = load i8, i8* %19, align 1\n %28 = icmp eq i8 %27, 1\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %29, label LBL_7, label LBL_4\n LBL_4:\n %30 = load i8, i8* %23, align 1\n %31 = icmp eq i8 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %32, label LBL_7, label LBL_5\n LBL_5:\n %33 = call i64 @FUNC(i64 %2)\n %34 = trunc i64 %33 to i8\n %35 = add i64 %arg1, 35\n %36 = inttoptr i64 %35 to i8*\n store i8 %34, i8* %36, align 1\n %37 = icmp ult i8 %34, 17\n store i64 1, i64* %storemerge.reg2mem\n br i1 %37, label LBL_6, label LBL_7\n LBL_6:\n %38 = urem i64 %33, 256\n %39 = add i64 %arg1, 19\n %40 = call i64 @FUNC(i64 %2, i64 %39, i64 %38)\n %41 = load i8, i8* %36, align 1\n %42 = zext i8 %41 to i64\n %43 = add nuw nsw i64 %42, 1\n %44 = call i64 @FUNC(i64 %arg1, i64 %43)\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* %storemerge.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_read_data, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }\n uselistorder i64 (i64)* @gf_bs_read_u8, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 2, 4, 3, 5, 6, 7, 8 }\n uselistorder label LBL_7, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsim_fib_destroy_6884", "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 = call i64 @FUNC(i64 %0)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %arg2)\n %9 = add i64 %arg2, 4\n %10 = call i64 @FUNC(i64 %0)\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 %9)\n %13 = add i64 %arg2, 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %arg2, 12\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %arg2, 16\n %18 = call i64 @FUNC(i64 %17, i64 4198792, i64 %arg2)\n %19 = add i64 %arg2, 20\n %20 = call i64 @FUNC(i64 %19, i64 4198803, i64 %arg2)\n %21 = add i64 %arg2, 24\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = zext i1 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %arg2, 28\n %28 = call i64 @FUNC(i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = zext i1 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = add i64 %arg2, 32\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %arg2, 36\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i64 %arg2)\n %38 = call i64 @FUNC(i64 %arg2)\n ret i64 %38\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 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @devlink_resource_occ_get_unregister, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 13 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_bus_legacy_handle_cmdline_3062", "fun_name": "scsi_bus_legacy_handle_cmdline", "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 %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_1)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 1, i64 %5, i32 %storemerge1.reload)\n store i64 %6, i64* %sv_1, align 8\n %7 = icmp eq i64 %6, 0\n store i64 1, i64* %.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\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 = load i64, i64* %sv_1, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %0, i64 %14, i32 %storemerge1.reload, i64 0, i64 4294967295)\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* %.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %19 = add i32 %storemerge1.reload, 1\n %20 = and i64 %.reload, 4294967295\n %21 = sext i32 %19 to i64\n %22 = icmp slt i64 %20, %21\n store i32 %19, i32* %storemerge1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_4, label LBL_1\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i64 @FUNC(i64* nonnull %sv_1)\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i64* %sv_1, { 0, 2, 3, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i32 0, { 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": "uipc_wakeup_locked_10958", "fun_name": "uipc_wakeup_locked", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i8, align 1\n store i8 1, i8* %sv_0, align 1\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n %1 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %2 = bitcast i8* %sv_0 to i64*\n %3 = call i32 @send(i32 %1, i64* nonnull %2, i32 1, i32 0)\n %4 = sext i32 %3 to i64\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fsmMkdirs_11994", "fun_name": "fsmMkdirs", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.7.reg2mem = alloca i32\n %.reg2mem41 = alloca i64\n %sv_0.5.reg2mem = 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.012.reg2mem = alloca i32\n %sv_2.0.in14.reg2mem = alloca i64\n %sv_0.415.reg2mem = alloca i32\n %sv_2.016.reg2mem = alloca i8*\n %.reg2mem39 = alloca i8\n %.reg2mem37 = alloca i8*\n %sv_3.0.ph18.reg2mem = alloca i64\n %sv_4.promoted.reg2mem = alloca i8*\n %.reg2mem = alloca i8*\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_4 = alloca i8*, align 8\n %sv_5 = alloca i8*, align 8\n %sv_6 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 0)\n store i8* null, i8** %sv_5, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i8*\n store i8* %6, i8** %sv_4, align 8\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n store i32 0, i32* %sv_0.7.reg2mem\n br i1 %8, label LBL_1, label LBL_27\n LBL_1:\n %9 = ptrtoint i64* %sv_6 to i64\n %10 = and i32 %3, 61440\n %11 = icmp eq i32 %10, 16384\n %12 = bitcast i8** %sv_5 to i64*\n store i8* null, i8** %.reg2mem\n store i8* %6, i8** %sv_4.promoted.reg2mem\n store i64 0, i64* %sv_3.0.ph18.reg2mem\n br label LBL_2\n LBL_2:\n %sv_3.0.ph18.reload = load i64, i64* %sv_3.0.ph18.reg2mem\n %sv_4.promoted.reload = load i8*, i8** %sv_4.promoted.reg2mem\n %.reload = load i8*, i8** %.reg2mem\n %13 = ptrtoint i8* %.reload to i64\n store i8* %sv_4.promoted.reload, i8** %.reg2mem37\n br label LBL_3\n LBL_3:\n %.reload38 = load i8*, i8** %.reg2mem37\n %14 = call i32 @strlen(i8* %.reload38)\n %15 = icmp ult i32 %14, 2\n br i1 %15, label LBL_25, label LBL_4\n LBL_4:\n %16 = sext i32 %14 to i64\n %17 = icmp eq i64 %sv_3.0.ph18.reload, %16\n %18 = icmp eq i1 %17, false\n %.pre36 = ptrtoint i8* %.reload38 to i64\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %.pre36, i64 %13)\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_25, label LBL_6\n LBL_6:\n store i8* %.reload38, i8** %sv_4, align 8\n %23 = add nsw i64 %16, 16\n %24 = udiv i64 %23, 16\n %25 = mul i64 %24, 16\n %26 = sub i64 %9, %25\n %27 = inttoptr i64 %26 to i8*\n %28 = call i8* @strcpy(i8* %27, i8* %.reload38)\n %29 = or i64 %26, 1\n %sv_2.011 = inttoptr i64 %29 to i8*\n %30 = load i8, i8* %sv_2.011, align 1\n %31 = icmp eq i8 %30, 0\n %32 = icmp eq i1 %31, false\n store i8 %30, i8* %.reg2mem39\n store i8* %sv_2.011, i8** %sv_2.016.reg2mem\n store i32 0, i32* %sv_0.415.reg2mem\n store i64 %29, i64* %sv_2.0.in14.reg2mem\n store i32 1, i32* %sv_1.012.reg2mem\n store i64 %.pre36, i64* %.reg2mem41\n br i1 %32, label LBL_7, label LBL_24\n LBL_7:\n %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem\n %sv_2.0.in14.reload = load i64, i64* %sv_2.0.in14.reg2mem\n %sv_0.415.reload = load i32, i32* %sv_0.415.reg2mem\n %.reload40 = load i8, i8* %.reg2mem39\n %33 = icmp eq i8 %.reload40, 47\n %34 = icmp eq i1 %33, false\n store i32 %sv_0.415.reload, i32* %sv_0.3.reg2mem\n br i1 %34, label LBL_21, label LBL_8\n LBL_8:\n %sv_2.016.reload = load i8*, i8** %sv_2.016.reg2mem\n %35 = sext i32 %sv_1.012.reload to i64\n %36 = icmp ugt i64 %sv_3.0.ph18.reload, %35\n br i1 %36, label LBL_9, label LBL_11\n LBL_9:\n %37 = load i8*, i8** %sv_5, align 8\n %38 = ptrtoint i8* %37 to i64\n %39 = add i64 %38, %35\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp ne i8 %41, 47\n %43 = icmp eq i8 %41, 0\n %44 = icmp eq i1 %43, false\n %or.cond = icmp eq i1 %42, %44\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %26, i64 %38, i64 %35)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i32 %sv_0.415.reload, i32* %sv_0.3.reg2mem\n br i1 %48, label LBL_21, label LBL_11\n LBL_11:\n store i8 0, i8* %sv_2.016.reload, align 1\n %49 = call i64 @FUNC(i64 %26, i64 1, i64* nonnull %sv_6)\n %50 = trunc i64 %49 to i32\n store i8 47, i8* %sv_2.016.reload, align 1\n %51 = icmp eq i32 %50, 0\n %or.cond7 = icmp eq i1 %11, %51\n store i32 0, i32* %sv_0.3.reg2mem\n br i1 %or.cond7, label LBL_21, label LBL_12\n LBL_12:\n %52 = icmp eq i32 %50, -1\n %53 = icmp eq i1 %52, false\n store i32 %50, i32* %sv_0.2.reg2mem\n br i1 %53, label LBL_20, label LBL_13\n LBL_13:\n store i8 0, i8* %sv_2.016.reload, align 1\n %54 = call i64 @FUNC(i64 0, i64 %26, i32 16877, i32 3)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i32 %55, i32* %sv_0.0.reg2mem\n br i1 %57, label LBL_15, label LBL_14\n LBL_14:\n %58 = call i64 @FUNC(i64 %26, i64 16877)\n %59 = trunc i64 %58 to i32\n store i32 %59, i32* %sv_0.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %60 = icmp eq i32 %sv_0.0.reload, 0\n %61 = icmp eq i1 %60, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %61, label LBL_17, label LBL_16\n LBL_16:\n %62 = call i64 @FUNC(i64 0, i64 %26, i64 %26, i32 16877, i64 3)\n %63 = trunc i64 %62 to i32\n store i32 %63, 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 %64 = zext i32 %sv_0.1.reload to i64\n %65 = call i64 @FUNC(i64 0, i64 %26, i32 16877, i32 3, i64 %64)\n %66 = icmp eq i32 %sv_0.1.reload, 0\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_19, label LBL_18\n LBL_18:\n %68 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 493, i64 %64, i64 %2)\n br label LBL_19\n LBL_19:\n store i8 47, i8* %sv_2.016.reload, align 1\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %69 = icmp eq i32 %sv_0.2.reload, 0\n %70 = icmp eq i1 %69, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.5.reg2mem\n br i1 %70, label LBL_22, label LBL_21\n LBL_21:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %71 = add i64 %sv_2.0.in14.reload, 1\n %72 = add i32 %sv_1.012.reload, 1\n %sv_2.0 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %sv_2.0, align 1\n %74 = icmp eq i8 %73, 0\n %75 = icmp eq i1 %74, false\n store i8 %73, i8* %.reg2mem39\n store i8* %sv_2.0, i8** %sv_2.016.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.415.reg2mem\n store i64 %71, i64* %sv_2.0.in14.reg2mem\n store i32 %72, i32* %sv_1.012.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.5.reg2mem\n br i1 %75, label LBL_7, label LBL_22\n LBL_22:\n %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem\n %76 = icmp eq i32 %sv_0.5.reload, 0\n store i32 %sv_0.5.reload, i32* %sv_0.7.reg2mem\n br i1 %76, label LBL_22.LBL_24_crit_edge, label LBL_27\n LBL_23:\n %77 = load i8*, i8** %sv_4, align 8\n %78 = ptrtoint i8* %77 to i64\n store i64 %78, i64* %.reg2mem41\n br label LBL_24\n LBL_24:\n %.reload42 = load i64, i64* %.reg2mem41\n store i64 %.reload42, i64* %12, align 8\n %79 = call i64 @FUNC(i64 %4)\n %80 = inttoptr i64 %79 to i8*\n store i8* %80, i8** %sv_4, align 8\n %81 = icmp eq i64 %79, 0\n %82 = icmp eq i1 %81, false\n %83 = inttoptr i64 %.reload42 to i8*\n store i8* %83, i8** %.reg2mem\n store i8* %80, i8** %sv_4.promoted.reg2mem\n store i64 %16, i64* %sv_3.0.ph18.reg2mem\n store i32 0, i32* %sv_0.7.reg2mem\n br i1 %82, label LBL_2, label LBL_27\n LBL_25:\n %84 = call i64 @FUNC(i64 %4)\n %85 = inttoptr i64 %84 to i8*\n %86 = icmp eq i64 %84, 0\n %87 = icmp eq i1 %86, false\n store i8* %85, i8** %.reg2mem37\n br i1 %87, label LBL_3, label LBL_26\n LBL_26:\n store i8* %85, i8** %sv_4, align 8\n store i32 0, i32* %sv_0.7.reg2mem\n br label LBL_27\n LBL_27:\n %sv_0.7.reload = load i32, i32* %sv_0.7.reg2mem\n %88 = call i64 @FUNC(i64 %4)\n %89 = zext i32 %sv_0.7.reload to i64\n ret i64 %89\n\n uselistorder i8* %85, { 1, 0 }\n uselistorder i64 %84, { 1, 0 }\n uselistorder i32 %sv_0.1.reload, { 0, 2, 1 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %35, { 1, 0, 2 }\n uselistorder i8* %sv_2.016.reload, { 3, 2, 1, 0 }\n uselistorder i32 %sv_1.012.reload, { 1, 0 }\n uselistorder i64 %26, { 1, 2, 4, 3, 5, 6, 7, 0, 8, 9 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i8* %.reload38, { 2, 1, 3, 0 }\n uselistorder i64 %4, { 2, 3, 1, 0 }\n uselistorder i8** %sv_5, { 2, 0, 1 }\n uselistorder i8** %sv_4, { 1, 4, 0, 2, 3 }\n uselistorder i8** %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_4.promoted.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.0.ph18.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem37, { 1, 0, 2 }\n uselistorder i8* %.reg2mem39, { 2, 0, 1 }\n uselistorder i8** %sv_2.016.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.415.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.0.in14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.012.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem41, { 0, 2, 1 }\n uselistorder i32* %sv_0.7.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i32 16877, { 1, 0, 2 }\n uselistorder i8 47, { 2, 3, 0, 1 }\n uselistorder i8 0, { 4, 2, 3, 1, 0, 5 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 5, 6, 7, 8, 9, 3, 10, 11, 4, 12, 2, 13, 14, 15 }\n uselistorder i1 false, { 14, 2, 11, 4, 5, 6, 7, 8, 9, 3, 10, 1, 12, 13, 0, 15 }\n uselistorder i64 (i64)* @dnlNextIterator, { 2, 1, 0 }\n uselistorder i64 0, { 16, 6, 10, 8, 9, 11, 12, 13, 0, 5, 14, 1, 2, 7, 3, 4, 15 }\n uselistorder i32 1, { 26, 13, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 0, 2, 1 }\n uselistorder label LBL_27, { 2, 1, 0, 3 }\n uselistorder label LBL_21, { 3, 0, 1, 2 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "crxFreeImageData_5956", "fun_name": "crxFreeImageData", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem7 = alloca i64\n %.reg2mem5 = alloca i32\n %.reg2mem = alloca i64\n %sv_0.02.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 %3, 0\n br i1 %4, label LBL_10, label LBL_1\n LBL_1:\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %0, 20\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = mul i32 %10, %7\n %12 = icmp sgt i32 %11, 0\n store i64 %3, i64* %.reg2mem7\n br i1 %12, label LBL_2, label LBL_9\n LBL_2:\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i32*\n %wide.trip.count = zext i32 %11 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %3, i64* %sv_0.02.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 8\n %16 = add i64 %15, %sv_0.02.reload\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_7, label LBL_4\n LBL_4:\n %20 = load i32, i32* %14, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %0, i64 %18)\n %23 = load i32, i32* %14, align 4\n %24 = icmp ugt i32 %23, 1\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %.reg2mem5\n br i1 %24, label LBL_6, label LBL_7\n LBL_6:\n %.reload6 = load i32, i32* %.reg2mem5\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %17, align 8\n %25 = add i64 %.reload, %.pre\n %26 = call i64 @FUNC(i64 %0, i64 %25)\n %27 = add i32 %.reload6, 1\n %28 = load i32, i32* %14, 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* %.reg2mem5\n br i1 %31, label LBL_6, label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = add i64 %sv_0.02.reload, 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 %32, i64* %sv_0.02.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_3\n LBL_8:\n %.pre4 = load i64, i64* %2, align 8\n store i64 %.pre4, i64* %.reg2mem7\n br label LBL_9\n LBL_9:\n %.reload8 = load i64, i64* %.reg2mem7\n %33 = inttoptr i64 %.reload8 to i64*\n call void @free(i64* %33)\n store i64 0, i64* %2, align 8\n br label LBL_10\n LBL_10:\n %34 = add i64 %0, 32\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_12, label LBL_11\n LBL_11:\n %38 = inttoptr i64 %36 to i64*\n call void @free(i64* %38)\n store i64 0, i64* %35, align 8\n br label LBL_12\n LBL_12:\n ret i64 0\n\n uselistorder i64 %sv_0.02.reload, { 1, 0 }\n uselistorder i32* %14, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 3, 2, 0, 1, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem5, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @crxFreeSubbandData, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "convert_to_decimal_13429", "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 %arg3, i64 %phitmp6)\n %19 = call i64 @FUNC(i64 %18, i64 1)\n %20 = trunc i64 %19 to i32\n %21 = call i64* @malloc(i32 %20)\n %22 = icmp eq i64* %21, null\n br i1 %22, label LBL_20, label LBL_4\n LBL_4:\n %23 = bitcast i64* %21 to i8*\n %24 = icmp eq i64 %arg3, 0\n %25 = icmp eq i1 %24, false\n store i8* %23, i8** %sv_0.018.reg2mem\n store i64 %arg3, i64* %sv_4.017.reg2mem\n store i8* %23, i8** %sv_0.0.lcssa.reg2mem\n br i1 %25, 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 %26 = ptrtoint i8* %sv_0.018.reload to i64\n %27 = add i64 %26, 1\n %28 = inttoptr i64 %27 to i8*\n store i8 48, i8* %sv_0.018.reload, align 1\n %29 = add i64 %sv_4.017.reload, -1\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i8* %28, i8** %sv_0.018.reg2mem\n store i64 %29, i64* %sv_4.017.reg2mem\n store i8* %28, i8** %sv_0.0.lcssa.reg2mem\n br i1 %31, label LBL_5, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n %32 = icmp eq i64 %arg2, 0\n %33 = icmp eq i1 %32, 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 %33, 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 %34 = mul i64 %sv_3.013.reload, 8\n %35 = icmp eq i64 %sv_3.013.reload, 0\n %36 = icmp eq i1 %35, false\n store i8 0, i8* %sv_1.0.lcssa.off0.reg2mem\n br i1 %36, label LBL_8, label LBL_11\n LBL_8:\n %37 = add i64 %34, %arg1\n store i64 %sv_3.013.reload, i64* %storemerge39.reg2mem\n store i64 %37, 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 %38 = add i64 %sv_2.08.reload, -8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = or i64 %40, %sv_1.07.off0.reload\n %42 = add i64 %storemerge39.reload, -1\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %storemerge39.reg2mem\n store i64 %38, i64* %sv_2.08.reg2mem\n store i64 %41, i64* %sv_1.07.off0.reg2mem\n br i1 %44, label LBL_9, label LBL_10\n LBL_10:\n %extract.t = trunc i64 %41 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 %45 = add i8 %sv_1.0.lcssa.off0.reload, 48\n %46 = ptrtoint i8* %sv_0.110.reload to i64\n %47 = add i64 %46, 1\n %48 = inttoptr i64 %47 to i8*\n store i8 %45, i8* %sv_0.110.reload, align 1\n %49 = add nsw i64 %storemerge12.reload, -1\n %50 = icmp eq i64 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %49, i64* %storemerge12.reg2mem\n store i8* %48, i8** %sv_0.110.reg2mem\n br i1 %51, label LBL_12, label LBL_13\n LBL_13:\n %52 = add i64 %34, %arg1\n %53 = add i64 %52, -8\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = icmp eq i64 %55, 0\n %57 = sext i1 %56 to i64\n %spec.select = add i64 %sv_3.013.reload, %57\n %58 = icmp eq i64 %spec.select, 0\n %59 = icmp eq i1 %58, false\n store i8* %48, i8** %sv_0.215.reg2mem\n store i64 %spec.select, i64* %sv_3.013.reg2mem\n store i8* %48, i8** %sv_0.2.lcssa.reg2mem\n br i1 %59, 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 %60 = bitcast i8* %sv_0.3.reload to i64*\n %61 = icmp ult i64* %21, %60\n br i1 %61, label LBL_16, label LBL_17\n LBL_16:\n %62 = ptrtoint i8* %sv_0.3.reload 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, 48\n store i8* %64, i8** %sv_0.3.reg2mem\n br i1 %66, label LBL_15, label LBL_17\n LBL_17:\n %67 = icmp eq i64* %21, %60\n %68 = icmp eq i1 %67, false\n store i8* %sv_0.3.reload, i8** %sv_0.4.reg2mem\n br i1 %68, label LBL_19, label LBL_18\n LBL_18:\n %69 = ptrtoint i8* %sv_0.3.reload to i64\n %70 = add i64 %69, 1\n %71 = inttoptr i64 %70 to i8*\n store i8 48, i8* %sv_0.3.reload, align 1\n store i8* %71, 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 %72 = ptrtoint i64* %21 to i64\n ret i64 %72\n\n uselistorder i8* %sv_0.3.reload, { 3, 4, 0, 1, 2 }\n uselistorder i8* %48, { 0, 2, 1 }\n uselistorder i8* %sv_0.110.reload, { 1, 0 }\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %34, { 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* %21, { 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 (i64, i64)* @xsum, { 1, 0 }\n uselistorder i32 1, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 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": "0" }, { "dataset": "CompRealVul", "file": "expr_unary_622", "fun_name": "expr_unary", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i8*\n %storemerge2.in.in.in.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i8*\n %storemerge2.in.in.in.pre.reg2mem = alloca i8*\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %0 = load i8*, i8** @gv_0, align 8\n %1 = load i8, i8* %0, align 1\n %2 = icmp sgt i8 %1, 45\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = icmp slt i8 %1, 0\n br i1 %3, label LBL_27, label LBL_2\n LBL_2:\n %4 = sext i8 %1 to i64\n %5 = sext i8 %1 to i32\n %6 = and i64 %4, 4294967295\n store i64 %6, i64* @0, align 8\n switch i32 %5, label LBL_27 [\n i32 0, label LBL_26\n i32 36, label LBL_15\n i32 39, label LBL_10\n i32 40, label LBL_7\n i32 43, label LBL_4\n i32 45, label LBL_5\n ]\n LBL_3:\n %7 = icmp eq i8 %1, 126\n br i1 %7, label LBL_6, label LBL_27\n LBL_4:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %arg1)\n store i64 %9, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_5:\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = sub i64 0, %11\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_6:\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = sub i64 0, %14\n %16 = sub i64 %15, 1\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_7:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC(i64 %arg1)\n %19 = load i8*, i8** @gv_0, align 8\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 41\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_9:\n %sext = mul i64 %18, 4294967296\n %23 = ashr exact i64 %sext, 32\n %24 = call i64 @FUNC()\n store i64 %23, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_10:\n %25 = ptrtoint i8* %0 to i64\n %26 = add i64 %25, 1\n %27 = inttoptr i64 %26 to i8*\n store i8* %27, i8** @gv_0, align 8\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_12, label LBL_11\n LBL_11:\n %31 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_12:\n %32 = add i64 %25, 2\n %33 = inttoptr i64 %32 to i8*\n store i8* %33, i8** @gv_0, align 8\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 39\n br i1 %35, label LBL_14, label LBL_13\n LBL_13:\n %36 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_14:\n %37 = sext i8 %28 to i64\n %38 = call i64 @FUNC()\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_15:\n store i64 0, i64* %sv_4, align 8\n %39 = bitcast i64* %sv_3 to i8*\n %40 = ptrtoint i64* %sv_3 to i64\n store i8* %0, i8** %storemerge2.in.in.in.reg2mem\n store i8* %39, i8** %sv_1.1.reg2mem\n br label LBL_19\n LBL_16:\n %41 = ptrtoint i8* %sv_1.1.reload to i64\n %42 = sub i64 %41, %40\n %43 = icmp ult i64 %42, 127\n store i8* %storemerge2, i8** %storemerge2.in.in.in.pre.reg2mem\n store i8* %sv_1.1.reload, i8** %sv_1.0.reg2mem\n br i1 %43, label LBL_17, label LBL_18\n LBL_17:\n %44 = add i64 %41, 1\n %45 = inttoptr i64 %44 to i8*\n store i8 %46, i8* %sv_1.1.reload, align 1\n %storemerge2.in.in.in.pre.pre = load i8*, i8** @gv_0, align 8\n store i8* %storemerge2.in.in.in.pre.pre, i8** %storemerge2.in.in.in.pre.reg2mem\n store i8* %45, i8** %sv_1.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %storemerge2.in.in.in.pre.reload = load i8*, i8** %storemerge2.in.in.in.pre.reg2mem\n store i8* %storemerge2.in.in.in.pre.reload, i8** %storemerge2.in.in.in.reg2mem\n store i8* %sv_1.0.reload, i8** %sv_1.1.reg2mem\n br label LBL_19\n LBL_19:\n %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem\n %storemerge2.in.in.in.reload = load i8*, i8** %storemerge2.in.in.in.reg2mem\n %storemerge2.in.in = ptrtoint i8* %storemerge2.in.in.in.reload to i64\n %storemerge2.in = add i64 %storemerge2.in.in, 1\n %storemerge2 = inttoptr i64 %storemerge2.in to i8*\n store i8* %storemerge2, i8** @gv_0, align 8\n %46 = load i8, i8* %storemerge2, align 1\n %47 = and i8 %46, -33\n %48 = add i8 %47, -65\n %49 = icmp ult i8 %48, 26\n %.off6 = add i8 %46, -48\n %50 = icmp ult i8 %.off6, 10\n %or.cond9 = or i1 %50, %49\n br i1 %or.cond9, label LBL_16, label LBL_20\n LBL_20:\n switch i8 %46, label LBL_21 [\n i8 95, label LBL_16\n i8 46, label LBL_16\n ]\n LBL_21:\n %51 = sext i8 %46 to i64\n %52 = and i64 %51, 4294967295\n %53 = call i64 @FUNC(i64 %52)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_22, label LBL_23\n LBL_22:\n %57 = load i8*, i8** @gv_0, align 8\n %58 = ptrtoint i8* %57 to i64\n %59 = add i64 %58, 1\n %60 = inttoptr i64 %59 to i8*\n store i8* %60, i8** @gv_0, align 8\n %61 = load i8, i8* %60, align 1\n %62 = sext i8 %61 to i64\n %63 = and i64 %62, 4294967295\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_22, label LBL_23\n LBL_23:\n store i8 0, i8* %sv_1.1.reload, align 1\n %68 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_3)\n %69 = trunc i64 %68 to i32\n %70 = icmp slt i32 %69, 0\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_25, label LBL_24\n LBL_24:\n %72 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_25:\n %73 = load i64, i64* %sv_4, align 8\n store i64 %73, i64* %sv_0.0.reg2mem\n br label LBL_31\n LBL_26:\n %74 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_27:\n %75 = bitcast i64* %sv_2 to i8**\n %76 = call i32 @strtoul(i8* %0, i8** nonnull %75, i32 0)\n %77 = load i8*, i8** @gv_0, align 8\n %78 = ptrtoint i8* %77 to i64\n %79 = load i64, i64* %sv_2, align 8\n %80 = icmp eq i64 %79, %78\n %81 = icmp eq i1 %80, false\n br i1 %81, label LBL_28, label LBL_29\n LBL_28:\n %82 = sext i32 %76 to i64\n %storemerge10 = inttoptr i64 %79 to i8*\n store i8* %storemerge10, i8** @gv_0, align 8\n %83 = load i8, i8* %storemerge10, align 1\n %84 = sext i8 %83 to i64\n %85 = and i64 %84, 4294967295\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 store i64 %82, i64* %sv_0.0.reg2mem\n br i1 %89, label LBL_30, label LBL_31\n LBL_29:\n %90 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_30:\n %91 = load i8*, i8** @gv_0, align 8\n %92 = ptrtoint i8* %91 to i64\n %93 = add i64 %92, 1\n %storemerge = inttoptr i64 %93 to i8*\n store i8* %storemerge, i8** @gv_0, align 8\n %94 = load i8, i8* %storemerge, align 1\n %95 = sext i8 %94 to i64\n %96 = and i64 %95, 4294967295\n %97 = call i64 @FUNC(i64 %96)\n %98 = trunc i64 %97 to i32\n %99 = icmp eq i32 %98, 0\n %100 = icmp eq i1 %99, false\n store i64 %82, i64* %sv_0.0.reg2mem\n br i1 %100, label LBL_30, label LBL_31\n LBL_31:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i8 %46, { 0, 4, 3, 2, 1 }\n uselistorder i8* %storemerge2, { 1, 2, 0 }\n uselistorder i8* %sv_1.1.reload, { 2, 1, 3, 0 }\n uselistorder i8 %1, { 0, 2, 4, 1, 3 }\n uselistorder i8* %0, { 1, 0, 2, 3 }\n uselistorder i64* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i8** %storemerge2.in.in.in.pre.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 3, 4, 5, 8, 7, 6 }\n uselistorder i64 (i64)* @qemu_isspace, { 2, 1, 3, 0 }\n uselistorder i1 false, { 5, 1, 6, 2, 3, 0, 4 }\n uselistorder i64 (i64, i8*)* @expr_error, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 1, { 5, 2, 1, 3, 4, 0, 6 }\n uselistorder i64 ()* @next, { 5, 4, 3, 0, 2, 1 }\n uselistorder i32 0, { 6, 1, 3, 4, 5, 0, 2 }\n uselistorder i64 4294967295, { 3, 2, 4, 1, 5, 0 }\n uselistorder i8 0, { 2, 3, 0, 1 }\n uselistorder i64 %arg1, { 8, 0, 1, 3, 2, 4, 5, 9, 7, 6 }\n uselistorder label LBL_31, { 0, 1, 2, 3, 4, 7, 5, 6 }\n uselistorder label LBL_30, { 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mqtt_config_init_6262", "fun_name": "mqtt_config_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 %rcx.0.reg2mem = alloca i64\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 = call i64 @FUNC(i64 1, i64 24)\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()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = inttoptr i64 %3 to i64*\n store i64 1, i64* %8, align 8\n %9 = add i64 %7, 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_3\n LBL_3:\n %14 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64))\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n store i64 %14, i64* %.reg2mem\n br label LBL_5\n LBL_4:\n %17 = zext i32 %11 to i64\n %18 = bitcast i64* %sv_0 to i8*\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %18, i32 15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %17)\n %20 = ptrtoint i64* %sv_0 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %3, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n store i64 %21, i64* %.reg2mem\n store i64 %17, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %24 = load i64, i64* %8, align 8\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %24, i64 %.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %26 = add i64 %3, 16\n %27 = call i64 @FUNC(i64 %26)\n store i64 %3, 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, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @flb_strdup, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tty_ldisc_hangup_7027", "fun_name": "tty_ldisc_hangup", "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_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 0, i64 %0)\n %5 = call i64 @FUNC(i64 %1)\n br label LBL_2\n LBL_2:\n %6 = add i64 %0, 64\n %7 = call i64 @FUNC(i64 %6, i64 1)\n %8 = add i64 %0, 72\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_8, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %0)\n %18 = call i64 @FUNC()\n %19 = add i64 %0, 16\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %0, 56\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_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %0)\n %26 = load i64, i64* %22, align 8\n %27 = call i64 @FUNC(i64 %0, i64 %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 %_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 %0)\n br label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i64 %19)\n %34 = call i64 @FUNC(i64 %0)\n store i64 %34, 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, 2, 4, 3, 8, 7, 6, 11, 10, 9, 1, 0, 12 }\n uselistorder i64 (i64, i64)* @wake_up_interruptible_poll, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_sigreturn_v2_16155", "fun_name": "do_sigreturn_v2", "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 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = add i64 %1, 104\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = urem i64 %5, 8\n %7 = icmp eq i64 %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 i64 @FUNC(i64 0, i64 %2, i64 %5, i64 1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %1, i64 %5, i64 %2)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n br label LBL_5\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload, i64 0)\n %18 = 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 %5, { 3, 0, 4, 1, 5, 2 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cmsIT8GetPropertyMulti_10660", "fun_name": "cmsIT8GetPropertyMulti", "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 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %arg3, i64* nonnull %sv_0)\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_2, label LBL_1\n LBL_1:\n %6 = load i64, i64* %sv_0, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\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* %sv_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": "pptp_echo_rqst_8063", "fun_name": "pptp_echo_rqst", "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 i32, align 4\n store i32 1, i32* %sv_0, align 4\n %6 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %3, 4294967295\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %4, i64 %5, i64 %2, i64 %1)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %4, i64 %5, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %11, 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_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %12, i64 0)\n br label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %11, i32* nonnull %sv_0, i64 12)\n ret i64 %17\n\n uselistorder i64 %8, { 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 (i8*, i64, i64, i64, i64, i64)* @log_ppp_debug, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__sock_tx_timestamp_9922", "fun_name": "__sock_tx_timestamp", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i8* %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 = trunc i64 %2 to i8\n %4 = trunc i64 %1 to i8\n %5 = mul i8 %4, 16\n %6 = and i8 %5, 16\n %7 = or i8 %6, %3\n %8 = and i8 %5, 32\n %9 = or i8 %7, %8\n %10 = and i8 %5, 64\n %11 = or i8 %9, %10\n %12 = and i8 %5, -128\n %13 = or i8 %11, %12\n %14 = ptrtoint i8* %arg2 to i64\n store i8 %13, i8* %arg2, align 1\n ret i64 %14\n\n uselistorder i8 %5, { 3, 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i8* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pfkey_xfrm_policy2sec_ctx_size_8188", "fun_name": "pfkey_xfrm_policy2sec_ctx_size", "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 %3 = add i64 %1, 11\n %4 = and i64 %3, 4294967288\n %storemerge = select i1 %2, i64 0, i64 %4\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "asym_quant_15670", "fun_name": "asym_quant", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = trunc i64 %arg2 to i32\n %2 = urem i32 %1, 32\n %3 = icmp eq i32 %2, 0\n %4 = trunc i64 %arg1 to i32\n %5 = shl i32 %4, %2\n %6 = zext i32 %5 to i64\n %storemerge = select i1 %3, i64 %0, i64 %6\n %7 = sub i32 24, %arg3\n %8 = urem i32 %7, 32\n %9 = icmp eq i32 %8, 0\n %10 = trunc i64 %storemerge to i32\n %11 = ashr i32 %10, %8\n %12 = zext i32 %11 to i64\n %rdx.0 = select i1 %9, i64 %storemerge, i64 %12\n %13 = trunc i64 %rdx.0 to i32\n %14 = add i32 %13, 1\n %15 = ashr i32 %14, 1\n %16 = add i32 %arg3, 31\n %17 = urem i32 %16, 32\n %18 = shl i32 1, %17\n %19 = icmp slt i32 %15, %18\n %20 = add i32 %18, -1\n %spec.select = select i1 %19, i32 %15, i32 %20\n %21 = sub i32 0, %18\n %22 = add i32 %spec.select, %18\n %23 = xor i32 %spec.select, %21\n %24 = xor i32 %22, %spec.select\n %25 = and i32 %24, %23\n %26 = icmp slt i32 %25, 0\n %27 = icmp slt i32 %22, 0\n %28 = icmp eq i1 %27, %26\n %29 = zext i1 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = zext i32 %spec.select to i64\n ret i64 %31\n\n uselistorder i32 %22, { 1, 0 }\n uselistorder i32 %spec.select, { 3, 0, 1, 2 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "CurvesAlloc_5484", "fun_name": "CurvesAlloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.next1828.reg2mem = alloca i64\n %indvars.iv13.reg2mem = alloca i64\n %.reg2mem39 = alloca i64\n %.reg2mem37 = alloca i64\n %indvars.iv35.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 16)\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_18\n LBL_1:\n %3 = inttoptr i64 %0 to i32*\n store i32 %arg2, i32* %3, align 4\n %4 = add i64 %0, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 %arg3, i32* %5, align 4\n %6 = sext i32 %arg2 to i64\n %7 = call i64 @FUNC(i64 %arg1, i64 %6, i64 8)\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 %11 = icmp eq i1 %10, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_18\n LBL_2:\n %12 = icmp sgt i32 %arg2, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_18\n LBL_3:\n %13 = sext i32 %arg3 to i64\n %14 = call i64 @FUNC(i64 %arg1, i64 %13, i64 2)\n %15 = inttoptr i64 %7 to i64*\n store i64 %14, i64* %15, align 8\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 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %16, i64* %.lcssa.reg2mem\n br i1 %20, label LBL_4, label LBL_8\n LBL_4:\n %21 = ptrtoint i64* %arg4 to i64\n %22 = icmp eq i32 %arg3, 256\n %23 = icmp eq i1 %22, false\n %24 = icmp sgt i32 %arg3, 0\n %wide.trip.count15 = zext i32 %arg3 to i64\n %exitcond2027 = icmp eq i32 %arg3, 1\n store i64 0, i64* %indvars.iv35.reg2mem\n store i64 %16, i64* %.reg2mem37\n store i64 0, i64* %.reg2mem39\n br label LBL_9\n LBL_5:\n %25 = trunc i64 %indvars.iv.next36 to i32\n %26 = icmp sgt i32 %25, 0\n store i64 %73, i64* %.lcssa.reg2mem\n br i1 %26, label LBL_6, label LBL_8\n LBL_6:\n %wide.trip.count = and i64 %indvars.iv.next36, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %73, 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 %27 = mul i64 %indvars.iv.reload, 8\n %28 = add i64 %27, %.reload\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %arg1, i64 %30)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = load i64, i64* %9, 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 %32, i64* %.reg2mem\n store i64 %32, 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 %33 = call i64 @FUNC(i64 %arg1, i64 %.lcssa.reload)\n %34 = call i64 @FUNC(i64 %arg1, i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %.reload40 = load i64, i64* %.reg2mem39\n %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem\n br i1 %23, label LBL_12, label LBL_10\n LBL_10:\n br i1 %24, label LBL_11, label LBL_16\n LBL_11:\n %35 = add i64 %.reload40, %21\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %indvars.iv13.reg2mem\n br label LBL_14\n LBL_12:\n br i1 %24, label LBL_13, label LBL_16\n LBL_13:\n %.reload38 = load i64, i64* %.reg2mem37\n %37 = add i64 %.reload40, %21\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = add i64 %.reload38, %.reload40\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %39, i64 0)\n %44 = trunc i64 %43 to i16\n %45 = inttoptr i64 %42 to i16*\n store i16 %44, i16* %45, align 2\n store i64 1, i64* %indvars.iv.next1828.reg2mem\n br i1 %exitcond2027, label LBL_16, label LBL_15\n LBL_14:\n %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem\n %46 = call i64 @FUNC(i64 %indvars.iv13.reload)\n %47 = load i64, i64* %36, align 8\n %48 = load i64, i64* %9, align 8\n %49 = add i64 %48, %.reload40\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = mul i64 %indvars.iv13.reload, 2\n %53 = add i64 %51, %52\n %54 = urem i64 %46, 65536\n %55 = call i64 @FUNC(i64 %47, i64 %54)\n %56 = trunc i64 %55 to i16\n %57 = inttoptr i64 %53 to i16*\n store i16 %56, i16* %57, align 2\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_16, label LBL_14\n LBL_15:\n %indvars.iv.next1828.reload = load i64, i64* %indvars.iv.next1828.reg2mem\n %.pre21 = load i64, i64* %9, align 8\n %58 = load i64, i64* %38, align 8\n %59 = add i64 %.pre21, %.reload40\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = mul i64 %indvars.iv.next1828.reload, 2\n %63 = add i64 %61, %62\n %64 = urem i64 %indvars.iv.next1828.reload, 65536\n %65 = call i64 @FUNC(i64 %58, i64 %64)\n %66 = trunc i64 %65 to i16\n %67 = inttoptr i64 %63 to i16*\n store i16 %66, i16* %67, align 2\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv.next1828.reload, 1\n %exitcond20 = icmp eq i64 %indvars.iv.next18, %wide.trip.count15\n store i64 %indvars.iv.next18, i64* %indvars.iv.next1828.reg2mem\n br i1 %exitcond20, label LBL_16, label LBL_15\n LBL_16:\n %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1\n %68 = icmp slt i64 %indvars.iv.next36, %6\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %68, label LBL_16.dec_label_pc_4012ae_crit_edge, label LBL_18\n LBL_17:\n %.pre = load i64, i64* %9, align 8\n %69 = mul i64 %indvars.iv.next36, 8\n %70 = add i64 %69, %.pre\n %71 = call i64 @FUNC(i64 %arg1, i64 %13, i64 2)\n %72 = inttoptr i64 %70 to i64*\n store i64 %71, i64* %72, align 8\n %73 = load i64, i64* %9, align 8\n %74 = add i64 %73, %69\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 %indvars.iv.next36, i64* %indvars.iv35.reg2mem\n store i64 %73, i64* %.reg2mem37\n store i64 %69, i64* %.reg2mem39\n br i1 %78, label LBL_9, label LBL_5\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %73, { 0, 3, 1, 2 }\n uselistorder i64 %69, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next36, { 0, 1, 4, 3, 2 }\n uselistorder i64 %indvars.iv13.reload, { 0, 2, 1 }\n uselistorder i64* %38, { 1, 0 }\n uselistorder i64 %.reload40, { 1, 3, 0, 2, 4 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64* %9, { 5, 2, 1, 4, 3, 0, 6 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem37, { 1, 0, 2 }\n uselistorder i64* %.reg2mem39, { 1, 0, 2 }\n uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.next1828.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @cmsEvalToneCurve16, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64, i64)* @_cmsFree, { 1, 0, 2 }\n uselistorder i64 2, { 3, 0, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @_cmsCalloc, { 2, 0, 1 }\n uselistorder i64 8, { 0, 1, 3, 2 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i64 %arg1, { 4, 2, 1, 3, 0, 5, 6 }\n uselistorder label LBL_18, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_16, { 2, 0, 1, 4, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "NeXTDecode_5492", "fun_name": "NeXTDecode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i16 %arg4) 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_1.3.lcssa.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_2.121.reg2mem = alloca i64\n %sv_2.0.in.reg2mem = alloca i8\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32\n %sv_4.024.reg2mem = alloca i64\n %sv_1.325.reg2mem = alloca i64\n %sv_0.226.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i64\n %sv_5.030.reg2mem = alloca i64\n %sv_1.031.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = icmp eq i64 %arg3, 0\n %5 = icmp eq i1 %4, false\n store i64 %arg3, i64* %sv_1.031.reg2mem\n store i64 %3, i64* %sv_5.030.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %sv_5.030.reload = load i64, i64* %sv_5.030.reg2mem\n %sv_1.031.reload = load i64, i64* %sv_1.031.reg2mem\n %6 = add i64 %sv_1.031.reload, -1\n %7 = add i64 %sv_5.030.reload, 1\n %8 = inttoptr i64 %sv_5.030.reload to i8*\n store i8 -1, i8* %8, align 1\n %9 = icmp eq i64 %6, 0\n %10 = icmp eq i1 %9, false\n store i64 %6, i64* %sv_1.031.reg2mem\n store i64 %7, i64* %sv_5.030.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\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 = urem i64 %arg3, %14\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = sext i16 %arg4 to i64\n %18 = add i64 %11, 24\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_4:\n %22 = add i64 %11, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ne i64 %24, 0\n %or.cond623 = icmp eq i1 %5, %25\n store i64 %24, i64* %sv_1.3.lcssa.reg2mem\n store i64 %11, i64* %sv_0.2.lcssa.reg2mem\n br i1 %or.cond623, label LBL_5, label LBL_24\n LBL_5:\n %26 = add i64 %11, 32\n %27 = inttoptr i64 %26 to i32*\n %28 = add i64 %11, 36\n %29 = inttoptr i64 %28 to i32*\n %30 = icmp eq i64 %14, 0\n store i64 %3, i64* %storemerge27.reg2mem\n store i64 %11, i64* %sv_0.226.reg2mem\n store i64 %24, i64* %sv_1.325.reg2mem\n store i64 %arg3, i64* %sv_4.024.reg2mem\n br label LBL_6\n LBL_6:\n %sv_4.024.reload = load i64, i64* %sv_4.024.reg2mem\n %sv_1.325.reload = load i64, i64* %sv_1.325.reg2mem\n %sv_0.226.reload = load i64, i64* %sv_0.226.reg2mem\n %storemerge27.reload = load i64, i64* %storemerge27.reg2mem\n %31 = add i64 %sv_0.226.reload, 1\n %32 = inttoptr i64 %sv_0.226.reload to i8*\n %33 = load i8, i8* %32, align 1\n %34 = add i64 %sv_1.325.reload, -1\n switch i8 %33, label LBL_12 [\n i8 0, label LBL_7\n i8 1, label LBL_9\n ]\n LBL_7:\n %35 = icmp ult i64 %34, %14\n br i1 %35, label LBL_25, label LBL_8\n LBL_8:\n %36 = call i64 @FUNC(i64 %storemerge27.reload, i64 %31, i64 %14)\n %37 = add i64 %31, %14\n %38 = sub i64 %34, %14\n store i64 %38, i64* %sv_1.2.reg2mem\n store i64 %37, i64* %sv_0.1.reg2mem\n br label LBL_23\n LBL_9:\n %39 = icmp ult i64 %34, 4\n br i1 %39, label LBL_25, label LBL_10\n LBL_10:\n %40 = inttoptr i64 %31 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = zext i8 %41 to i64\n %43 = mul i64 %42, 256\n %44 = add i64 %sv_0.226.reload, 2\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = zext i8 %46 to i64\n %48 = or i64 %43, %47\n %49 = add i64 %sv_0.226.reload, 3\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = zext i8 %51 to i64\n %53 = mul i64 %52, 256\n %54 = add i64 %sv_0.226.reload, 4\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = zext i8 %56 to i64\n %58 = or i64 %53, %57\n %59 = add nuw nsw i64 %58, 4\n %60 = icmp ult i64 %34, %59\n %61 = add nuw nsw i64 %58, %48\n %62 = icmp ult i64 %14, %61\n %or.cond = or i1 %60, %62\n br i1 %or.cond, label LBL_25, label LBL_11\n LBL_11:\n %63 = add i64 %sv_0.226.reload, 5\n %64 = add i64 %48, %storemerge27.reload\n %65 = call i64 @FUNC(i64 %64, i64 %63, i64 %58)\n %66 = add i64 %59, %31\n %67 = add i64 %sv_1.325.reload, -5\n %68 = sub i64 %67, %58\n store i64 %68, i64* %sv_1.2.reg2mem\n store i64 %66, i64* %sv_0.1.reg2mem\n br label LBL_23\n LBL_12:\n %69 = load i32, i32* %27, align 4\n %70 = call i64 @FUNC(i64 %11)\n %71 = trunc i64 %70 to i32\n %72 = icmp eq i32 %71, 0\n store i32 %69, i32* %sv_3.0.reg2mem\n br i1 %72, label LBL_14, label LBL_13\n LBL_13:\n %73 = load i32, i32* %29, align 4\n store i32 %73, i32* %sv_3.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %74 = icmp ne i32 %sv_3.0.reload, 0\n %75 = icmp eq i1 %74, false\n store i64 %34, i64* %sv_1.1.reg2mem\n store i64 %31, i64* %sv_0.0.reg2mem\n store i8 %33, i8* %sv_2.0.in.reg2mem\n br label LBL_15\n LBL_15:\n %sv_2.0.in.reload = load i8, i8* %sv_2.0.in.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 %76 = urem i8 %sv_2.0.in.reload, 64\n %77 = icmp eq i8 %76, 0\n %or.cond319 = or i1 %75, %77\n %or.cond420 = or i1 %30, %or.cond319\n br i1 %or.cond420, label LBL_18, label LBL_16\n LBL_16:\n %78 = zext i8 %76 to i64\n %79 = udiv i8 %sv_2.0.in.reload, 64\n %80 = zext i8 %79 to i64\n store i64 %78, i64* %sv_2.121.reg2mem\n br label LBL_17\n LBL_17:\n %sv_2.121.reload = load i64, i64* %sv_2.121.reg2mem\n %81 = add nsw i64 %sv_2.121.reload, -1\n %82 = call i64 @FUNC(i64 %storemerge27.reload, i64 %80)\n %83 = icmp eq i64 %81, 0\n store i64 %81, i64* %sv_2.121.reg2mem\n br i1 %83, label LBL_18, label LBL_17\n LBL_18:\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %75, label LBL_23, label LBL_19\n LBL_19:\n br i1 %30, label LBL_20, label LBL_21\n LBL_20:\n %84 = add i64 %11, 40\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = zext i32 %86 to i64\n %88 = add i64 %11, 24\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = call i64 @FUNC(i64 %90, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %87, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_21:\n %92 = icmp eq i64 %sv_1.1.reload, 0\n br i1 %92, label LBL_25, label LBL_22\n LBL_22:\n %93 = add i64 %sv_0.0.reload, 1\n %94 = inttoptr i64 %sv_0.0.reload to i8*\n %95 = load i8, i8* %94, align 1\n %96 = add i64 %sv_1.1.reload, -1\n store i64 %96, i64* %sv_1.1.reg2mem\n store i64 %93, i64* %sv_0.0.reg2mem\n store i8 %95, i8* %sv_2.0.in.reg2mem\n br label LBL_15\n LBL_23:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %97 = sub i64 %sv_4.024.reload, %14\n %98 = add i64 %storemerge27.reload, %14\n %99 = icmp ne i64 %sv_1.2.reload, 0\n %100 = icmp eq i64 %97, 0\n %101 = icmp eq i1 %100, false\n %or.cond6 = icmp eq i1 %101, %99\n store i64 %98, i64* %storemerge27.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.226.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.325.reg2mem\n store i64 %97, i64* %sv_4.024.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.3.lcssa.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %or.cond6, label LBL_6, label LBL_24\n LBL_24:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n %sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem\n store i64 %sv_0.2.lcssa.reload, i64* %arg1, align 8\n store i64 %sv_1.3.lcssa.reload, i64* %23, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_25:\n %102 = add i64 %11, 40\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = zext i32 %104 to i64\n %106 = add i64 %11, 24\n %107 = inttoptr i64 %106 to i64*\n %108 = load i64, i64* %107, align 8\n %109 = call i64 @FUNC(i64 %108, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %105, i64 %2, i64 %1)\n store i64 0, 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 %sv_1.2.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.1.reload, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i8 %sv_2.0.in.reload, { 1, 0 }\n uselistorder i64 %58, { 0, 2, 1, 3 }\n uselistorder i64 %34, { 0, 1, 3, 2, 4 }\n uselistorder i64 %31, { 0, 2, 3, 1, 4 }\n uselistorder i64 %storemerge27.reload, { 3, 0, 2, 1 }\n uselistorder i64 %sv_1.325.reload, { 1, 0 }\n uselistorder i64 %24, { 1, 0, 2 }\n uselistorder i64 %14, { 0, 4, 3, 6, 1, 7, 5, 2, 8 }\n uselistorder i64 %11, { 9, 8, 5, 4, 7, 1, 3, 6, 0, 10, 2, 11 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %sv_1.031.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_5.030.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.226.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.325.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_4.024.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 i8* %sv_2.0.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.121.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @_TIFFmemcpy, { 1, 0 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @TIFFErrorExt, { 2, 1, 0 }\n uselistorder i64 -1, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 0, { 2, 8, 9, 6, 19, 17, 1, 10, 11, 18, 7, 5, 0, 12, 13, 14, 15, 20, 21, 4, 3, 16 }\n uselistorder i64 %arg3, { 0, 3, 1, 2 }\n uselistorder label LBL_26, { 0, 2, 1, 3 }\n uselistorder label LBL_25, { 3, 0, 1, 2 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_csum_name_11488", "fun_name": "parse_csum_name", "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 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp slt i32 %0, 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 %1, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %arg1 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n br i1 %4, label LBL_5, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = trunc i64 %sv_0.0.reload to i32\n %9 = icmp eq i32 %8, 4\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_8, label LBL_4\n LBL_4:\n %11 = inttoptr i64 %arg1 to i8*\n %12 = call i32 @strncasecmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_8, label LBL_5\n LBL_5:\n %15 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %16 = icmp slt i32 %15, 30\n store i64 1, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_14\n LBL_6:\n %17 = load i32, i32* @gv_1, align 4\n %18 = icmp slt i32 %17, 27\n store i64 2, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_14\n LBL_7:\n %19 = icmp slt i32 %17, 21\n %. = select i1 %19, i64 4, i64 3\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %20 = icmp eq i32 %8, 3\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_11, label LBL_9\n LBL_9:\n %22 = inttoptr i64 %arg1 to i8*\n %23 = call i32 @strncasecmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 3)\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_10, label LBL_14\n LBL_10:\n %26 = call i32 @strncasecmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i32 3)\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_14\n LBL_11:\n br i1 %10, label LBL_13, label LBL_12\n LBL_12:\n %29 = inttoptr i64 %arg1 to i8*\n %30 = call i32 @strncasecmp(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32 4)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 6, i64* %rax.0.reg2mem\n br i1 %32, label LBL_13, label LBL_14\n LBL_13:\n %33 = call i64 @FUNC(i64 7, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %arg1)\n %34 = call i64 @FUNC(i64 8)\n unreachable\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %4, { 1, 0 }\n uselistorder i32 3, { 1, 2, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 2, 3, 1, 0 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder i32 1, { 1, 0, 2 }\n uselistorder i64 %arg1, { 2, 1, 0, 3, 5, 4 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rtdelete_18392", "fun_name": "rtdelete", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.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(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %5 = add i64 %arg1, 12\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 %arg1, 16\n %10 = inttoptr i64 %9 to i64*\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %arg1, i64 %11)\n %13 = add i32 %storemerge1.reload, 1\n %14 = load i32, i32* %6, 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 i32 %13, i32* %storemerge1.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %18 = add i64 %arg1, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n store i32 %20, i32* @gv_1, align 4\n %21 = add i64 %arg1, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = call i32 @htonl(i32 %23)\n store i32 %24, i32* bitcast (i64* @gv_2 to i32*), align 8\n %25 = load i64, i64* @gv_3, align 8\n %26 = icmp eq i64 %25, %arg1\n br i1 %26, label LBL_6, label LBL_4\n LBL_4:\n %27 = trunc i64 %3 to i32\n %28 = load i32, i32* %22, align 4\n %29 = load i32, i32* %19, align 4\n %30 = zext i32 %28 to i64\n %31 = zext i32 %29 to i64\n %32 = call i64 @FUNC(i64 %31, i64 %30, i32 %27)\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i64 %32, i64 %25, i64 %32, i64 %2, i64 %1)\n %34 = icmp eq i64 %25, 0\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = inttoptr i64 %25 to i64*\n call void @free(i64* %35)\n br label LBL_6\n LBL_6:\n %36 = load i32, i32* @gv_5, align 4\n %37 = add i32 %36, -1\n store i32 %37, i32* @gv_5, align 4\n %38 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %38)\n %39 = load i32, i32* @gv_1, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n store i64 0, i64* @gv_6, align 8\n br label LBL_8\n LBL_8:\n %42 = zext i32 %39 to i64\n ret i64 %42\n\n uselistorder i32 %39, { 1, 0 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %25, { 0, 2, 1, 3 }\n uselistorder i32* %6, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32* @gv_5, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %arg1, { 0, 1, 4, 3, 5, 6, 2, 7 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "valid_request_3937", "fun_name": "valid_request", "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 %rcx.0.reg2mem = alloca i64\n %sv_0.5.reg2mem = alloca i32\n %sv_0.4.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %3 = trunc i64 %arg5 to i32\n %4 = call i64 @FUNC(i64* nonnull %sv_4)\n %5 = call i64 @FUNC(i64* nonnull %sv_4, i64 %2, i32 %3)\n %6 = ptrtoint i64* %sv_4 to i64\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 ne i32 %9, 20\n %spec.select = zext i1 %10 to i32\n %11 = call i64 @FUNC(i64 %8)\n %12 = call i64 @FUNC(i64* nonnull %sv_4)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 50\n %15 = select i1 %10, i32 2, i32 1\n %sv_0.1 = select i1 %14, i32 %spec.select, i32 %15\n %16 = call i64 @FUNC(i64* nonnull %sv_4)\n %17 = call i64 @FUNC(i64 %6, i64* null)\n %18 = inttoptr i64 %17 to i8*\n %19 = call i32 @strcmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* %18)\n %20 = icmp ne i32 %19, 0\n %21 = zext i1 %20 to i32\n %spec.select6 = add nuw nsw i32 %sv_0.1, %21\n %22 = call i64 @FUNC(i64 %17)\n %23 = call i64 @FUNC(i64 %6, i64* null)\n %24 = inttoptr i64 %23 to i8*\n %25 = call i32 @strcmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8* %24)\n %26 = icmp ne i32 %25, 0\n %27 = zext i1 %26 to i32\n %sv_0.3 = add nuw nsw i32 %spec.select6, %27\n %28 = call i64 @FUNC(i64 %23)\n %29 = call i64 @FUNC(i64 %6, i64* null)\n %30 = bitcast i32* %sv_2 to i64*\n %31 = call i64 @FUNC(i64 %6, i64* nonnull %30)\n %32 = call i64 @FUNC(i64 %29)\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_2, label LBL_1\n LBL_1:\n %36 = add nuw nsw i32 %sv_0.3, 1\n store i32* null, i32** %sv_1.0.reg2mem\n store i32 %36, i32* %sv_0.4.reg2mem\n br label LBL_5\n LBL_2:\n %37 = load i32, i32* %sv_2, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %31, i64 %38)\n %40 = inttoptr i64 %39 to i32*\n %41 = icmp eq i64 %39, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_4, label LBL_3\n LBL_3:\n %43 = add nuw nsw i32 %sv_0.3, 1\n store i32* %40, i32** %sv_1.0.reg2mem\n store i32 %43, i32* %sv_0.4.reg2mem\n br label LBL_5\n LBL_4:\n %44 = load i32, i32* %40, align 4\n %45 = icmp ne i32 %44, %33\n %46 = zext i1 %45 to i32\n %spec.select7 = add nuw nsw i32 %sv_0.3, %46\n store i32* %40, i32** %sv_1.0.reg2mem\n store i32 %spec.select7, i32* %sv_0.4.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem\n %47 = call i64 @FUNC(i64 %29)\n %48 = call i64 @FUNC(i64 %31)\n %49 = call i64 @FUNC(i64 %6, i64* nonnull %7)\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %49, i64 %2, i64 %arg5, i64 %1)\n %51 = inttoptr i64 %arg2 to i8*\n %52 = call i32 @strlen(i8* %51)\n %53 = sext i32 %52 to i64\n %54 = load i32, i32* %sv_3, align 4\n %55 = add i32 %54, -1\n %56 = zext i32 %55 to i64\n %57 = icmp eq i64 %53, %56\n br i1 %57, label LBL_7, label LBL_6\n LBL_6:\n %58 = add nsw i32 %sv_0.4.reload, 1\n store i32 %58, i32* %sv_0.5.reg2mem\n store i64 %2, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_7:\n %59 = add i64 %49, %53\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = icmp eq i8 %61, 46\n br i1 %62, label LBL_9, label LBL_8\n LBL_8:\n %63 = add nsw i32 %sv_0.4.reload, 1\n store i32 %63, i32* %sv_0.5.reg2mem\n store i64 %2, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_9:\n %64 = inttoptr i64 %49 to i8*\n %65 = call i32 @strncasecmp(i8* %51, i8* %64, i32 %55)\n %66 = icmp ne i32 %65, 0\n %67 = zext i1 %66 to i32\n %spec.select8 = add nsw i32 %sv_0.4.reload, %67\n store i32 %spec.select8, i32* %sv_0.5.reg2mem\n store i64 %49, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_10:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem\n %68 = call i64 @FUNC(i64 %49)\n %69 = call i64 @FUNC(i64 %6, i64* null)\n %70 = inttoptr i64 %69 to i8*\n %71 = bitcast i64* %sv_4 to i8*\n %72 = call i32 @strcmp(i8* nonnull %71, i8* %70)\n %73 = icmp ne i32 %72, 0\n %74 = zext i1 %73 to i32\n %spec.select9 = add i32 %sv_0.5.reload, %74\n %75 = call i64 @FUNC(i64 %69)\n %76 = call i64 @FUNC(i64* nonnull %sv_4)\n %77 = trunc i64 %76 to i32\n %78 = icmp ne i32 %77, 0\n %79 = zext i1 %78 to i32\n %sv_0.7 = add i32 %spec.select9, %79\n %80 = call i64 @FUNC(i64* nonnull %sv_4)\n %81 = zext i32 %sv_0.7 to i64\n %82 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i64 %81, i64 %69, i64 %rcx.0.reload, i64 %arg5, i64 %1)\n %83 = icmp eq i32 %sv_0.7, 0\n %84 = icmp eq i32* %sv_1.0.reload, null\n %or.cond = or i1 %84, %83\n %85 = ptrtoint i32* %sv_1.0.reload to i64\n br i1 %or.cond, label LBL_12, label LBL_11\n LBL_11:\n %86 = call i64 @FUNC(i64 %85)\n br label LBL_13\n LBL_12:\n store i64 %85, i64* %arg3, align 8\n br label LBL_13\n LBL_13:\n %. = select i1 %83, i64 0, i64 4294967295\n ret i64 %.\n\n uselistorder i64 %85, { 1, 0 }\n uselistorder i1 %83, { 1, 0 }\n uselistorder i64 %69, { 1, 0, 2 }\n uselistorder i64 %49, { 2, 0, 3, 1, 4 }\n uselistorder i32 %sv_0.4.reload, { 2, 0, 1 }\n uselistorder i32* %40, { 0, 2, 1 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i32 %sv_0.3, { 0, 2, 1 }\n uselistorder i64* %sv_4, { 0, 1, 2, 3, 4, 7, 5, 6 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32** %sv_1.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_0.4.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_0.5.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* null, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i64 (i64)* @xfree, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64*)* @buffer_get_string, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_isom_linf_read_entry_9431", "fun_name": "gf_isom_linf_read_entry", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = icmp eq i32* %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_5\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2, i64 2)\n %4 = call i64 @FUNC(i64 %2, i64 6)\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_5, label LBL_2\n LBL_2:\n %7 = bitcast i64* %rdi to i32*\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %8 = call i64* @malloc(i32 16)\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_5\n LBL_4:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %11 = bitcast i64* %8 to i32*\n %12 = call i64 @FUNC(i64 %2, i64 4)\n %13 = call i64 @FUNC(i64 %2, i64 6)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %11, align 4\n %15 = call i64 @FUNC(i64 %2, i64 3)\n %16 = trunc i64 %15 to i32\n %17 = ptrtoint i64* %8 to i64\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 %16, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %2, i64 3)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %17, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %2, i64 1)\n %25 = call i64 @FUNC(i64 %2, i64 7)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %17, 12\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = load i32, i32* %7, align 8\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %17)\n %32 = add nuw i32 %storemerge4.reload, 1\n %33 = icmp ult i32 %32, %5\n store i32 %32, i32* %storemerge4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, 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 i64* %8, { 0, 2, 1 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 5, 4, 3, 7, 6 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evbuffer_add_5154", "fun_name": "evbuffer_add", "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* %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 = add i64 %3, %0\n %8 = sub i64 %6, %7\n %9 = icmp ult i64 %8, %arg3\n store i64 %3, i64* %.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_1:\n %10 = call i64 @FUNC(i64 %0, i64 %arg3)\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_1.LBL_3_crit_edge, label LBL_4\n LBL_2:\n %.pre = load i64, i64* %2, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %16, %.reload\n %18 = inttoptr i64 %17 to i64*\n %19 = inttoptr i64 %arg2 to i64*\n %20 = trunc i64 %arg3 to i32\n %21 = call i64* @memcpy(i64* %18, i64* %19, i32 %20)\n %22 = load i64, i64* %2, align 8\n %23 = add i64 %22, %arg3\n store i64 %23, i64* %2, align 8\n ret i64 0\n LBL_4:\n ret i64 4294967295\n\n uselistorder i64* %2, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_mm_fault_17641", "fun_name": "handle_mm_fault", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %.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 = call i64 @FUNC(i64 %1, i64 0)\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = urem i32 %arg4, 2\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3, i32 %arg4)\n store i64 %9, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3, i32 %arg4)\n %12 = call i64 @FUNC()\n store i64 %11, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %13 = and i64 %.reload, 4294967295\n ret i64 %13\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @__handle_mm_fault, { 1, 0 }\n uselistorder i32 %arg4, { 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "GetElementId_7896", "fun_name": "GetElementId", "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 i32\n %storemerge14.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 8\n store i32 0, i32* %storemerge14.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %3 = add nuw nsw i32 %sv_0.03.reload, 7\n %4 = call i64 @FUNC(i64 %0, i64 1)\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_4, label LBL_2\n LBL_2:\n %8 = zext i32 %3 to i64\n %9 = icmp slt i64 %0, %8\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_5, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = zext i32 %storemerge14.reload 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 = or i32 %16, %11\n %18 = zext i32 %17 to i64\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %19 = add nuw nsw i32 %storemerge14.reload, 1\n %20 = icmp ult i32 %19, 4\n store i32 %19, i32* %storemerge14.reg2mem\n store i32 %3, i32* %sv_0.03.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %20, 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 i32* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 (i64, i64)* @ReadBits, { 1, 0 }\n uselistorder label LBL_5, { 0, 3, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_mtc0_status_1124", "fun_name": "helper_mtc0_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 %sv_0.1.reg2mem = alloca i32\n %.pre-phi.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 = call i64 @FUNC(i64 %2)\n %4 = add i64 %2, 20\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %2, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_0.LBL_5_crit_edge, label LBL_2\n LBL_1:\n %.pre = trunc i64 %arg2 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i32 %6, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_2:\n %12 = zext i32 %6 to i64\n %13 = call i64 @FUNC(i64 %12, i64 0, i64 2)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 3\n %16 = icmp eq i1 %15, false\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = and i64 %arg2, 4294967295\n %18 = call i64 @FUNC(i64 %17, i64 0, i64 2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 3\n %21 = icmp eq i1 %20, false\n %22 = and i32 %6, -4\n %spec.select = select i1 %21, i32 %6, i32 %22\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 %23 = trunc i64 %arg2 to i32\n %24 = and i32 %23, 6\n %25 = sub i32 0, %24\n %26 = sub i32 %25, 1\n %27 = and i32 %sv_0.0.reload, %26\n store i32 %23, i32* %.pre-phi.reg2mem\n store i32 %27, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %28 = trunc i64 %1 to i32\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %29 = and i32 %sv_0.1.reload, %.pre-phi.reload\n %30 = sub i32 0, %sv_0.1.reload\n %31 = sub i32 %30, 1\n %32 = and i32 %31, %28\n %33 = or i32 %32, %29\n %34 = bitcast i64* %arg1 to i32*\n store i32 %33, i32* %34, align 4\n %35 = add i64 %2, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = and i32 %37, 8\n %39 = icmp eq i32 %38, 0\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 = call i64 @FUNC(i64 %2, i64 %2, i32 %42)\n br label LBL_8\n LBL_7:\n %44 = call i64 @FUNC(i64 %2)\n br label LBL_8\n LBL_8:\n %45 = call i64 @FUNC(i64 1)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n store i64 %45, i64* %rax.0.reg2mem\n br i1 %47, label LBL_16, label LBL_9\n LBL_9:\n %48 = add i64 %2, 4\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = and i32 %50, %29\n %52 = and i32 %50, %28\n %53 = zext i32 %52 to i64\n %54 = zext i32 %50 to i64\n %55 = zext i32 %51 to i64\n %56 = and i64 %1, 4294967295\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %53, i32 %29, i64 %55, i64 %54)\n %58 = add i64 %2, 24\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = urem i32 %60, 16\n %62 = icmp eq i32 %61, 3\n br i1 %62, label LBL_14, label LBL_10\n LBL_10:\n %63 = icmp ult i32 %61, 4\n br i1 %63, label LBL_11, label LBL_15\n LBL_11:\n switch i32 %61, label LBL_15 [\n i32 1, label LBL_12\n i32 2, label LBL_13\n ]\n LBL_12:\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %53, i32 %29, i64 %55, i64 %54)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %56, i64 %53, i32 %29, i64 %55, i64 %54)\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %66 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64 %56, i64 %53, i32 %29, i64 %55, i64 %54)\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %67 = call i64 @FUNC(i64 %3)\n %68 = call i64 @FUNC(i64 %67, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0))\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 %61, { 2, 1, 0 }\n uselistorder i64 %56, { 1, 3, 2, 0 }\n uselistorder i64 %55, { 2, 0, 1, 3 }\n uselistorder i64 %54, { 2, 0, 1, 3 }\n uselistorder i64 %53, { 2, 0, 1, 3 }\n uselistorder i32 %50, { 2, 0, 1 }\n uselistorder i32 %29, { 2, 4, 3, 5, 0, 1 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %6, { 2, 3, 1, 4, 0 }\n uselistorder i64 %2, { 0, 1, 6, 4, 5, 3, 2, 7, 8, 9 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i8*, i64, i64, i32, i64, i64)* @qemu_log, { 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @extract32, { 1, 0 }\n uselistorder i32 0, { 4, 5, 0, 1, 6, 3, 2, 7, 8 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "b43_bcma_probe_3959", "fun_name": "b43_bcma_probe", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) 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 = 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 br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = icmp ne i32 %5, 23\n %7 = icmp eq i32 %5, 24\n %8 = icmp eq i1 %7, false\n %or.cond = icmp eq i1 %6, %8\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_3:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 2, i64* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_4, label LBL_7\n LBL_4:\n %14 = call i64 @FUNC(i64 %11)\n %15 = icmp ult i64 %14, -1000\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %sext = mul i64 %14, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = call i64 @FUNC(i64 %11, 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* %sv_0.0.reg2mem\n store i64 %17, i64* %rax.0.shrunk.reg2mem\n br i1 %20, label LBL_6, label LBL_7\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = inttoptr i64 %11 to i64*\n call void @free(i64* %21)\n store i64 %sv_0.0.reload, 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 %14, { 1, 0, 2 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_7, { 2, 0, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v4l2_receive_packet_1830", "fun_name": "v4l2_receive_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* %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, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_7, 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_4, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %8, i64 1)\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(i64 %2, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))\n %17 = and i64 %13, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %18 = trunc i64 %1 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(i64 %2, i64 1)\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 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0))\n %25 = and i64 %21, 4294967295\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %26 = ptrtoint i64* %arg2 to i64\n %27 = call i64 @FUNC(i64 %2, i64 %26)\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 %2, { 3, 1, 2, 0, 5, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder i64 (i64, i64)* @ff_v4l2_context_set_status, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_kvm_eat_signals_2198", "fun_name": "qemu_kvm_eat_signals", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = load i32, i32* %1\n %4 = 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 store i64 0, i64* %sv_3, align 8\n %5 = bitcast i64* %sv_2 to %_TYPEDEF_sigset_t*\n %6 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* nonnull %5)\n %7 = call i32 @sigaddset(%_TYPEDEF_sigset_t* nonnull %5, i32 34)\n %8 = call i32 @sigaddset(%_TYPEDEF_sigset_t* nonnull %5, i32 7)\n %9 = bitcast i64* %sv_1 to %_TYPEDEF_siginfo_t*\n %10 = bitcast i64* %sv_3 to %timespec*\n %11 = zext i32 %3 to i64\n %12 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t*\n br label LBL_1\n LBL_1:\n %13 = call i32 @sigtimedwait(%_TYPEDEF_sigset_t* nonnull %5, %_TYPEDEF_siginfo_t* nonnull %9, %timespec* nonnull %10)\n %14 = icmp eq i32 %13, -1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_2\n LBL_2:\n %16 = call i32* @__errno_location()\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 11\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 4\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %22 = icmp eq i32 %13, 7\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %2, i64 %11, i64 %4)\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()\n br label LBL_8\n LBL_8:\n %28 = call i32 @sigpending(%_TYPEDEF_sigset_t* nonnull %12)\n %29 = icmp eq i32 %28, -1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n call void @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_10:\n %31 = call i32 @sigismember(%_TYPEDEF_sigset_t* nonnull %12, i32 34)\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_1.backedge, label LBL_12\n LBL_11:\n br label LBL_1\n LBL_12:\n %34 = call i32 @sigismember(%_TYPEDEF_sigset_t* nonnull %12, i32 7)\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_1.backedge, label LBL_13\n LBL_13:\n %37 = sext i32 %34 to i64\n ret i64 %37\n\n uselistorder i32 (%_TYPEDEF_sigset_t*, i32)* @sigismember, { 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder void (i8*)* @perror, { 1, 0 }\n uselistorder i32 7, { 1, 0, 2 }\n uselistorder i32 (%_TYPEDEF_sigset_t*, i32)* @sigaddset, { 1, 0 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftp_status_16821", "fun_name": "ftp_status", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i8\n %storemerge.in.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %storemerge110.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_1.18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_2.0.ph.ph.reg2mem = alloca i1\n %sv_3.0.ph.ph.reg2mem = alloca i32\n %sv_0.0.ph.ph.reg2mem = alloca i32\n %1 = load i8, i8* %0\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %2 = icmp eq i64* %arg2, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull %sv_5, i64 0, i64 0)\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i64* %sv_6 to i64\n %8 = bitcast i64* %sv_4 to i8*\n %9 = add i64 %7, -1056\n %10 = icmp eq i8 %1, 45\n %11 = zext i1 %10 to i32\n %12 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %sv_0.0.ph.ph.reg2mem\n store i32 0, i32* %sv_3.0.ph.ph.reg2mem\n store i1 true, i1* %sv_2.0.ph.ph.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.ph.ph.reload = load i1, i1* %sv_2.0.ph.ph.reg2mem\n %sv_3.0.ph.ph.reload = load i32, i32* %sv_3.0.ph.ph.reg2mem\n %sv_0.0.ph.ph.reload = load i32, i32* %sv_0.0.ph.ph.reg2mem\n store i32 %sv_0.0.ph.ph.reload, i32* %sv_0.0.ph.reg2mem\n br label LBL_17\n LBL_4:\n %13 = call i64 @FUNC(i64 %6, i64* nonnull %sv_4, i64 1024)\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_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64* nonnull %sv_5, i64 0)\n store i32 %14, i32* %storemerge.in.reg2mem\n br label LBL_21\n LBL_6:\n %18 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_4)\n %19 = call i32 @strlen(i8* nonnull %8)\n %20 = icmp ult i32 %19, 4\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_1.18.reg2mem\n br i1 %20, label LBL_18, label LBL_7\n LBL_7:\n %sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = add nuw nsw i64 %9, %indvars.iv.reload\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %.off = add i8 %23, -48\n %24 = icmp ugt i8 %.off, 9\n store i32 %sv_1.18.reload, i32* %sv_1.0.reg2mem\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = mul i32 %sv_1.18.reload, 10\n %26 = sext i8 %23 to i32\n %27 = add i32 %25, -48\n %28 = add i32 %27, %26\n store i32 %28, 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 %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 i32 %sv_1.0.reload, i32* %sv_1.18.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_7\n LBL_10:\n %29 = load i32, i32* %12, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i32 %29, i32* %.reg2mem\n store i32 0, i32* %storemerge110.reg2mem\n br i1 %31, label LBL_11, label LBL_16\n LBL_11:\n %.reload = load i32, i32* %.reg2mem\n %32 = icmp eq i32 %sv_1.0.reload, %.reload\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_15, label LBL_12\n LBL_12:\n br i1 %2, label LBL_14, label LBL_13\n LBL_13:\n %34 = call i64 @FUNC(i64* nonnull %sv_5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_4)\n br label LBL_14\n LBL_14:\n store i32 %11, i32* %sv_0.0.ph.ph.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_3.0.ph.ph.reg2mem\n store i1 false, i1* %sv_2.0.ph.ph.reg2mem\n br label LBL_3\n LBL_15:\n %storemerge110.reload = load i32, i32* %storemerge110.reg2mem\n %35 = add i32 %storemerge110.reload, 1\n %36 = sext i32 %35 to i64\n %37 = mul i64 %36, 4\n %38 = add i64 %37, %4\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i32 %40, i32* %.reg2mem\n store i32 %35, i32* %storemerge110.reg2mem\n br i1 %42, label LBL_11, label LBL_16\n LBL_16:\n store i32 %11, i32* %sv_0.0.ph.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %43 = icmp eq i32 %sv_0.0.ph.reload, 0\n %44 = icmp eq i1 %43, false\n %or.cond4 = or i1 %sv_2.0.ph.ph.reload, %44\n br label LBL_18\n LBL_18:\n br i1 %or.cond4, label LBL_4, label LBL_19\n LBL_19:\n store i32 %sv_3.0.ph.ph.reload, i32* %storemerge.in.reg2mem\n br i1 %2, label LBL_21, label LBL_20\n LBL_20:\n %45 = call i64 @FUNC(i64* nonnull %sv_5, i64 %5)\n store i32 %sv_3.0.ph.ph.reload, i32* %storemerge.in.reg2mem\n br label LBL_21\n LBL_21:\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_1.0.reload, { 1, 0, 2 }\n uselistorder i8 %23, { 1, 0 }\n uselistorder i32 %sv_1.18.reload, { 1, 0 }\n uselistorder i32 %sv_3.0.ph.ph.reload, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.0.ph.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.0.ph.ph.reg2mem, { 2, 0, 1 }\n uselistorder i1* %sv_2.0.ph.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.18.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge110.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 4, 0, 3, 1, 5 }\n uselistorder i32 0, { 5, 6, 0, 4, 1, 7, 2, 3 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_21, { 1, 0, 2 }\n uselistorder label LBL_17, { 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_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "start_cfs_bandwidth_12743", "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, 24\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, 32\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %2, 40\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = add i64 %14, 1\n %16 = load i64, i64* %11, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = mul i64 %17, %15\n %19 = add i64 %2, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %18, %21\n store i64 %22, i64* %20, align 8\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, 1\n store i64 %26, i64* %24, align 8\n %27 = call i64 @FUNC(i64 %13, i64 0)\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 %2, { 0, 1, 3, 2, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bdrv_io_limits_enable_2248", "fun_name": "bdrv_io_limits_enable", "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 = call i64 @FUNC()\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 1\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 ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 36, 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 = trunc i64 %2 to i32\n %7 = icmp ne i32 %6, 0\n %spec.select = zext i1 %7 to i64\n %8 = ptrtoint i8* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = and i64 %9, 4294967295\n %11 = add i64 %8, 4\n %12 = call i64 @FUNC(i64 %11, i64 %10, i64 %spec.select, i64 4198749, i64 4198756, i64 %8)\n store i8 1, i8* %arg1, align 1\n ret i64 %8\n\n uselistorder i8 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nego_process_negotiation_request_7339", "fun_name": "nego_process_negotiation_request", "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 %storemerge.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 i32, i32* %1\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 7\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = urem i32 %5, 256\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %3, i64 %11)\n %13 = urem i32 %4, 65536\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %3, i64 %14)\n %16 = and i64 %2, 4294967295\n %17 = call i64 @FUNC(i64 %3, i64 %16)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %16)\n %19 = add i64 %9, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, 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 %16, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\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": "prep_compound_page_5341", "fun_name": "prep_compound_page", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = urem i32 %0, 32\n %2 = shl i32 1, %1\n %3 = call i64 @FUNC(i64 %arg1, i64 4198725)\n %4 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = icmp sgt i32 %2, 1\n store i64 1, i64* %storemerge1.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %wide.trip.count = zext i32 %2 to i64\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 %7 = mul i64 %indvars.iv.reload, 8\n %8 = add i64 %7, %arg1\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %8, i64 0)\n %11 = inttoptr i64 %8 to i64*\n store i64 %arg1, i64* %11, align 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 store i64 %wide.trip.count, i64* %storemerge1.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 0, 4, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opt_frame_aspect_ratio_2683", "fun_name": "opt_frame_aspect_ratio", "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 %xmm0.0.reg2mem = alloca i128\n %zf.0.reg2mem = alloca i1\n %pf.0.reg2mem = alloca i1\n %sv_0.0.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = load i128, i128* %0\n %sv_2 = alloca i64, align 8\n %3 = call i128 @FUNC(i128 %2, i128 %2)\n %4 = call i64 @FUNC(i128 %3)\n %5 = inttoptr i64 %arg1 to i8*\n %6 = call i8* @strchr(i8* %5, i32 58)\n %7 = ptrtoint i8* %6 to i64\n %8 = icmp eq i8* %6, null\n br i1 %8, label LBL_6, label LBL_1\n LBL_1:\n %9 = bitcast i64* %sv_2 to i8**\n %10 = call i32 @strtol(i8* %5, i8** nonnull %9, i32 10)\n %11 = load i64, i64* %sv_2, align 8\n %12 = icmp eq i64 %11, %7\n %13 = icmp eq i1 %12, false\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = add i64 %11, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = call i32 @strtol(i8* %15, i8** nonnull %9, i32 10)\n %17 = sext i32 %16 to i64\n store i32 %16, i32* %sv_1.0.reg2mem\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %18 = icmp eq i32 %10, 0\n %19 = trunc i32 %10 to i8\n %20 = call i8 @llvm.ctpop.i8(i8 %19), !range !16\n %21 = urem i8 %20, 2\n %22 = icmp eq i8 %21, 0\n %23 = icmp slt i32 %10, 1\n store i64 %4, i64* %sv_0.0.reg2mem\n store i1 %22, i1* %pf.0.reg2mem\n store i1 %18, i1* %zf.0.reg2mem\n store i128 %3, i128* %xmm0.0.reg2mem\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %23, label LBL_7, label LBL_4\n LBL_4:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %24 = icmp eq i32 %sv_1.0.reload, 0\n %25 = trunc i32 %sv_1.0.reload to i8\n %26 = call i8 @llvm.ctpop.i8(i8 %25), !range !16\n %27 = urem i8 %26, 2\n %28 = icmp eq i8 %27, 0\n %29 = icmp slt i32 %sv_1.0.reload, 1\n store i64 %4, i64* %sv_0.0.reg2mem\n store i1 %28, i1* %pf.0.reg2mem\n store i1 %24, i1* %zf.0.reg2mem\n store i128 %3, i128* %xmm0.0.reg2mem\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %29, label LBL_7, label LBL_5\n LBL_5:\n %30 = call i128 @FUNC(i128 %3, i128 %3)\n %31 = call i128 @FUNC(i32 %10)\n %32 = call i128 @FUNC(i128 %1, i128 %1)\n %33 = call i128 @FUNC(i32 %sv_1.0.reload)\n %34 = call i128 @FUNC(i128 %31, i128 %33)\n %35 = call i64 @FUNC(i128 %34)\n store i64 %35, i64* %sv_0.0.reg2mem\n store i1 %28, i1* %pf.0.reg2mem\n store i1 %24, i1* %zf.0.reg2mem\n store i128 %34, i128* %xmm0.0.reg2mem\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_6:\n %36 = trunc i64 %7 to i8\n %37 = call i8 @llvm.ctpop.i8(i8 %36), !range !16\n %38 = urem i8 %37, 2\n %39 = icmp eq i8 %38, 0\n %40 = call double @strtod(i8* %5, i8** null)\n %41 = fptrunc double %40 to float\n %42 = bitcast float %41 to i32\n %43 = sext i32 %42 to i128\n %44 = call i64 @FUNC(i128 %43)\n store i64 %44, i64* %sv_0.0.reg2mem\n store i1 %39, i1* %pf.0.reg2mem\n store i1 true, i1* %zf.0.reg2mem\n store i128 %43, i128* %xmm0.0.reg2mem\n store i64 %44, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_7:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %pf.0.reload = load i1, i1* %pf.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %45 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload)\n call void @FUNC(i128 %45, i64 %sv_0.0.reload)\n br i1 %pf.0.reload, label LBL_10, label LBL_8\n LBL_8:\n %zf.0.reload = load i1, i1* %zf.0.reg2mem\n %46 = call i128 @FUNC(i128 %45, i128 %45)\n call void @FUNC(i128 %46, i64 %sv_0.0.reload)\n %47 = icmp eq i1 %zf.0.reload, false\n br i1 %47, label LBL_10, label LBL_9\n LBL_9:\n %48 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %49 = call i32 @fwrite(i64* bitcast ([39 x i8]* @gv_1 to i64*), i32 1, i32 38, %_IO_FILE* %48)\n %50 = call i64 @FUNC(i64 1)\n unreachable\n LBL_10:\n %51 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload)\n %52 = call i64 @FUNC(i128 %51)\n store i64 %52, i64* @gv_2, align 8\n ret i64 %rax.1.reload\n\n uselistorder i128 %45, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i32 %10, { 0, 3, 2, 1 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i128 %3, { 3, 2, 0, 1, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1* %pf.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1* %zf.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i128* %xmm0.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %rax.1.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i8 0, { 3, 1, 2, 0 }\n uselistorder i8 (i8)* @llvm.ctpop.i8, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sas_smp_get_phy_events_13761", "fun_name": "sas_smp_get_phy_events", "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 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 32)\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_1, label LBL_6\n LBL_1:\n %9 = call i64 @FUNC(i64 32)\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(i64 %6)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %13 = add i64 %6, 1\n %14 = inttoptr i64 %13 to i8*\n store i8 1, i8* %14, align 1\n %15 = bitcast i64* %rdi to i32*\n %16 = load i32, i32* %15, align 8\n %17 = add i64 %6, 9\n %18 = trunc i32 %16 to i8\n %19 = inttoptr i64 %17 to i8*\n store i8 %18, i8* %19, align 1\n %20 = call i64 @FUNC(i64 %5, i64 %6, i64 32, i64 %9, i64 32)\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 = add i64 %9, 12\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %0, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = add i64 %9, 16\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = add i64 %0, 20\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %9, 20\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %0, 24\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = add i64 %9, 24\n %39 = call i64 @FUNC(i64 %38)\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 br label LBL_5\n LBL_5:\n %43 = call i64 @FUNC(i64 %6)\n %44 = call i64 @FUNC(i64 %9)\n %45 = and i64 %20, 4294967295\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 %9, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @scsi_to_u32, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 32, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__wusbhc_dev_disconnect_18029", "fun_name": "__wusbhc_dev_disconnect", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rsi = alloca i64, align 8\n %0 = add i64 %arg2, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = and i32 %2, -64\n store i32 %3, i32* %1, align 4\n %4 = add i64 %arg2, 12\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = or i32 %6, 192\n store i32 %7, i32* %5, align 4\n %8 = icmp eq i64 %arg2, 0\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = bitcast i64* %rsi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i32 %10)\n %12 = call i64 @FUNC(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_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %0)\n br label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %arg2)\n br label LBL_4\n LBL_4:\n %18 = inttoptr i64 %arg2 to i64*\n store i64 0, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %arg1)\n ret i64 %19\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 0, 4, 2, 3 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mpsub_probe_2826", "fun_name": "mpsub_probe", "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 = 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 store i64 %0, i64* %sv_0.01.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %7 = inttoptr i64 %sv_0.01.reload to i64*\n %8 = call i32 @memcmp(i64* %7, i64* bitcast ([12 x i8]* @gv_0 to i64*), i32 11)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 100, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_5\n LBL_2:\n %11 = call i32 @memcmp(i64* %7, i64* bitcast ([8 x i8]* @gv_1 to i64*), i32 7)\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 33, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_3:\n %14 = call i64 @FUNC(i64 %sv_0.01.reload)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %sext = mul i64 %14, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = add i64 %17, %sv_0.01.reload\n %19 = icmp ult i64 %18, %5\n store i64 %18, i64* %sv_0.01.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, 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 %sv_0.01.reload, { 2, 0, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_5, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svq1_encode_init_3049", "fun_name": "svq1_encode_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, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 96\n %5 = call i64 @FUNC(i64 %4, i64 %0)\n %6 = add i64 %3, 88\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = inttoptr i64 %3 to i32*\n store i32 %10, i32* %11, align 4\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 %3, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %11, align 4\n %18 = sdiv i32 %17, 1073741824\n %19 = add i64 %3, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = load i32, i32* %16, align 4\n %22 = sdiv i32 %21, 1073741824\n %23 = add i64 %3, 12\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %3, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %3, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %3, 24\n %30 = inttoptr i64 %29 to i64*\n store i64 %0, i64* %30, align 8\n %31 = add i64 %3, 32\n %32 = inttoptr i64 %31 to i64*\n store i64 %0, i64* %32, align 8\n %33 = load i32, i32* %9, align 8\n %34 = mul i32 %33, 64\n %35 = add i32 %34, 4096\n %36 = sext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %3, 48\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = add i64 %3, 40\n %41 = inttoptr i64 %40 to i64*\n store i64 %37, i64* %41, align 8\n %42 = call i64 @FUNC(i64 4096)\n %43 = add i64 %3, 56\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, align 8\n %45 = call i64 @FUNC(i64 4096)\n %46 = add i64 %3, 64\n %47 = inttoptr i64 %46 to i64*\n store i64 %45, i64* %47, align 8\n %48 = load i32, i32* %20, align 4\n %49 = add i32 %48, 1\n %50 = load i32, i32* %24, align 4\n %51 = mul i32 %50, %49\n %52 = sext i32 %51 to i64\n %53 = mul i64 %52, 2\n %54 = call i64 @FUNC(i64 %53)\n %55 = add i64 %3, 72\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = load i32, i32* %20, align 4\n %58 = add i32 %57, 1\n %59 = load i32, i32* %24, align 4\n %60 = mul i32 %59, %58\n %61 = sext i32 %60 to i64\n %62 = mul i64 %61, 4\n %63 = call i64 @FUNC(i64 %62)\n %64 = add i64 %3, 80\n %65 = inttoptr i64 %64 to i64*\n store i64 %63, i64* %65, align 8\n %66 = call i64 @FUNC(i64 %31)\n ret i64 0\n\n uselistorder i64 (i64)* @av_mallocz, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_rtc_class_init_1436", "fun_name": "spapr_rtc_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 i32*\n store i32 0, i32* %4, align 4\n %5 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 4198687)\n %6 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 4198694)\n ret i64 %6\n\n uselistorder i64 (i64, i8*, i64)* @spapr_rtas_register, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pubek_show_3787", "fun_name": "pubek_show", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.118.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 260)\n %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = sext i32 %4 to i64\n store i64 %5, i64* %sv_2, align 8\n %6 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_2, i64 256, i64 28, i64 0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %0, i64* %sv_0.2.reg2mem\n br i1 %8, label LBL_5, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %sv_1 to i64\n %10 = add i64 %9, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 8\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = and i64 %14, 4294967295\n %16 = add i64 %9, 23\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = add i64 %9, 22\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 2\n %22 = add i64 %9, 21\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = add i64 %9, 20\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 4\n %28 = add i64 %9, 19\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = add i64 %9, 18\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 2\n %34 = zext i8 %33 to i32\n %35 = add i64 %9, 17\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = zext i8 %37 to i32\n %39 = add i64 %9, 16\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 8\n %42 = zext i8 %41 to i32\n %43 = add i64 %9, 15\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = zext i8 %45 to i32\n %47 = add i64 %9, 14\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 2\n %50 = zext i8 %49 to i32\n %51 = add i64 %9, 13\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = zext i8 %53 to i32\n %55 = add i64 %9, 12\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 4\n %58 = zext i8 %57 to i32\n %59 = or i64 %9, 7\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = zext i8 %61 to i32\n %63 = or i64 %9, 6\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 2\n %66 = or i64 %9, 5\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = or i64 %9, 4\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 4\n %72 = or i64 %9, 3\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = or i64 %9, 2\n %76 = inttoptr i64 %75 to i8*\n %77 = load i8, i8* %76, align 2\n %78 = or i64 %9, 1\n %79 = inttoptr i64 %78 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = bitcast i64* %sv_1 to i8*\n %82 = load i8, i8* %81, align 8\n %83 = zext i8 %18 to i32\n %84 = zext i8 %21 to i32\n %85 = zext i8 %24 to i32\n %86 = zext i8 %27 to i32\n %87 = zext i8 %30 to i32\n %88 = zext i8 %65 to i32\n %89 = zext i8 %68 to i32\n %90 = zext i8 %71 to i32\n %91 = zext i8 %74 to i32\n %92 = zext i8 %77 to i32\n %93 = bitcast i64* %arg3 to i8*\n %94 = zext i8 %82 to i32\n %95 = zext i8 %80 to i32\n %96 = call i32 (i8*, i8*, ...) @sprintf(i8* %93, i8* getelementptr inbounds ([174 x i8], [174 x i8]* @gv_1, i64 0, i64 0), i32 %94, i32 %95, i32 %92, i32 %91, i32 %90, i32 %89, i32 %88, i32 %62, i32 %58, i32 %54, i32 %50, i32 %46, i32 %42, i32 %38, i32 %34, i32 %87, i32 %86, i32 %85, i32 %84, i32 %83, i64 %15)\n %97 = sext i32 %96 to i64\n %98 = add i64 %97, %0\n %99 = add i64 %9, 28\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %98, i64* %sv_0.118.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.118.reload = load i64, i64* %sv_0.118.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %100 = add i64 %99, %indvars.iv.reload\n %101 = inttoptr i64 %100 to i8*\n %102 = load i8, i8* %101, align 1\n %103 = inttoptr i64 %sv_0.118.reload to i8*\n %104 = zext i8 %102 to i32\n %105 = call i32 (i8*, i8*, ...) @sprintf(i8* %103, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %104)\n %106 = sext i32 %105 to i64\n %107 = add i64 %sv_0.118.reload, %106\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %108 = urem i64 %indvars.iv.next, 16\n %109 = icmp eq i64 %108, 0\n %110 = icmp eq i1 %109, false\n store i64 %107, i64* %sv_0.0.reg2mem\n br i1 %110, label LBL_4, label LBL_3\n LBL_3:\n %111 = inttoptr i64 %107 to i8*\n %112 = call i32 (i8*, i8*, ...) @sprintf(i8* %111, i8* inttoptr (i64 4202724 to i8*))\n %113 = sext i32 %112 to i64\n %114 = add i64 %107, %113\n store i64 %114, 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 %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.118.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_2\n LBL_5:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %115 = sub i64 %sv_0.2.reload, %0\n %sext = mul i64 %115, 4294967296\n %116 = ashr exact i64 %sext, 32\n ret i64 %116\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %107, { 1, 2, 0 }\n uselistorder i64 %sv_0.118.reload, { 1, 0 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.118.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 28, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_motion_values_2365", "fun_name": "read_motion_values", "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.01.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg3 to i64\n %2 = load i32, i32* %0\n %3 = sext i32 %2 to i64\n %4 = add i64 %3, %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 ugt i64 %4, %7\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = icmp ugt i64 %4, %1\n store i64 %1, i64* %rdx.01.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_4\n LBL_2:\n %10 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %rdx.01.reload = load i64, i64* %rdx.01.reg2mem\n %11 = add i64 %rdx.01.reload, 1\n store i64 %11, i64* %arg3, align 8\n %12 = inttoptr i64 %rdx.01.reload to i8*\n store i8 0, i8* %12, align 1\n store i64 0, i64* %rdx.01.reg2mem\n br label LBL_3\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 0, 2, 3, 1 }\n uselistorder i64* %rdx.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_recv_3_13014", "fun_name": "handle_recv_3", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i8, align 1\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %arg4.off = add i16 %arg4, -5\n %0 = icmp ugt i16 %arg4.off, 1019\n store i64 1, i64* %rax.0.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg3 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %1, 13\n %5 = add i64 %1, 1\n %6 = add i64 %2, 8\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64 %4, i64 24, i64* nonnull %sv_3)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 8\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_3, i32 8, i64 0)\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* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n store i8 2, i8* %sv_1, align 1\n %14 = zext i16 %arg4 to i32\n %15 = add nsw i32 %14, -4\n %16 = add i64 %1, 4\n %17 = ptrtoint i64* %sv_0 to i64\n %18 = inttoptr i64 %16 to i64*\n %19 = call i64* @memcpy(i64* nonnull %sv_0, i64* %18, i32 %15)\n %20 = add i16 %arg4, -1\n %21 = load i64, i64* %sv_2, align 8\n %22 = call i64 @FUNC(i64 %17, i64 %21, i8* nonnull %sv_1, i16 %20)\n %23 = trunc i64 %22 to i32\n %24 = zext i16 %20 to i32\n %25 = icmp ne i32 %23, %24\n %. = zext i1 %25 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 %2, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 1, { 0, 1, 3, 2 }\n uselistorder i16 %arg4, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_grow_file_4414", "fun_name": "nfs_grow_file", "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 %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp slt i64 %1, 1\n br i1 %2, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %0, 8\n %.pre3 = inttoptr i64 %.pre to i64*\n %.pre5 = load i64, i64* %.pre3, align 8\n store i64 %.pre5, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %3 = add i64 %1, -1\n %4 = ashr i64 %3, 12\n %5 = add i64 %0, 8\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* %.reg2mem\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = and i64 %arg2, 4294967295\n %10 = and i64 %arg3, 4294967295\n %.reload = load i64, i64* %.reg2mem\n %11 = mul i64 %.reload, 4096\n %12 = add nuw nsw i64 %10, %9\n %13 = add i64 %12, %11\n %14 = icmp slt i64 %1, %13\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %0, i64 1)\n %16 = call i64 @FUNC(i64 %0, i64 %13)\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 %1, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pc87312_class_init_1978", "fun_name": "pc87312_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 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8\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 %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_vlc_codeword_321", "fun_name": "encode_vlc_codeword", "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 = trunc i64 %arg2 to i32\n %2 = urem i32 %1, 4\n %3 = add nuw nsw i32 %2, 1\n %4 = udiv i32 %1, 32\n %5 = urem i32 %4, 32\n %6 = shl i32 %3, %5\n %7 = icmp ugt i32 %6, %arg3\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = udiv i32 %1, 4\n %9 = urem i32 %8, 8\n %10 = shl i32 1, %9\n %11 = sub i32 %arg3, %6\n %12 = add i32 %11, %10\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = sub nsw i32 %3, %9\n %17 = add i32 %16, %15\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %0, i64 %18, i64 0)\n %20 = add i64 %14, 1\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %0, i64 %21, i64 %13)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %23 = ashr i32 %arg3, %5\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = zext i32 %23 to i64\n %26 = call i64 @FUNC(i64 %0, i64 %25, i64 0)\n br label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 %0, i64 1, i64 1)\n %28 = icmp ult i32 %1, 32\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = zext i32 %arg3 to i64\n %30 = zext i32 %4 to i64\n %31 = call i64 @FUNC(i64 %0, i64 %30, i64 %29)\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 i32 %9, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @put_bits, { 3, 2, 1, 0 }\n uselistorder i32 32, { 0, 2, 1 }\n uselistorder i32 %arg3, { 1, 3, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_bitstream_fillbuf_10837", "fun_name": "jpc_bitstream_fillbuf", "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 %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 ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 24, 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, 4\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_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 25, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i32 %12, 2\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n store i32 0, i32* %7, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %15 = and i32 %12, 4\n %16 = icmp eq i32 %15, 0\n %17 = add i64 %5, 12\n %18 = inttoptr i64 %17 to i32*\n br i1 %16, label LBL_8, label LBL_7\n LBL_7:\n store i32 127, i32* %18, align 4\n store i32 7, i32* %7, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %19 = load i32, i32* %18, align 4\n %20 = mul i32 %19, 256\n %21 = and i32 %20, 65280\n store i32 %21, i32* %18, align 4\n %22 = add i64 %5, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, -1\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = load i32, i32* %11, align 4\n %30 = or i32 %29, 4\n store i32 %30, i32* %11, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %31 = load i32, i32* %18, align 4\n %32 = icmp eq i32 %31, 65280\n %33 = icmp eq i1 %32, false\n %34 = select i1 %33, i32 7, i32 6\n store i32 %34, i32* %7, align 4\n %35 = load i32, i32* %18, align 4\n %36 = shl i32 2, %34\n %phitmp = add nsw i32 %36, -1\n %37 = and i32 %phitmp, %26\n %38 = or i32 %37, %35\n store i32 %38, i32* %18, align 4\n %39 = load i32, i32* %7, align 4\n %40 = urem i32 %39, 32\n %41 = lshr i32 %38, %40\n %42 = urem i32 %41, 2\n %43 = zext i32 %42 to i64\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* %18, { 0, 1, 2, 3, 5, 4 }\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder i32* %7, { 2, 3, 1, 0, 4 }\n uselistorder i64 %5, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_key_371", "fun_name": "parse_key", "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, 0\n store i64 0, 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, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %4, 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_4\n LBL_3:\n %13 = inttoptr i64 %7 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 = add i64 %7, 1\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = zext i8 %19 to i64\n %21 = mul i64 %20, 256\n %22 = or i64 %21, %16\n %23 = add i64 %7, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = zext i8 %25 to i64\n %27 = or i64 %22, %26\n %28 = add i64 %4, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = sub i32 24, %30\n %32 = urem i32 %31, 32\n %33 = icmp eq i32 %32, 0\n %34 = trunc i64 %27 to i32\n %35 = lshr i32 %34, %32\n %36 = zext i32 %35 to i64\n %rdx.0 = select i1 %33, i64 %27, i64 %36\n store i64 %rdx.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 %32, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_bin_wasm_get_global_entries_5245", "fun_name": "r_bin_wasm_get_global_entries", "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 %storemerge9.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = call i64 @FUNC(i64 4198749)\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_10\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = trunc i64 %1 to i32\n %7 = load i32, i32* inttoptr (i64 4198757 to i32*), align 4\n %8 = sub i32 %7, %6\n %9 = add i64 %5, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %5, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n store i32 0, i32* %sv_0, align 4\n %15 = icmp ne i32 %11, 0\n %16 = icmp ult i32 %11, %8\n %or.cond5.not7 = icmp eq i1 %16, %15\n %17 = icmp ne i32 %14, 0\n %or.cond68 = icmp eq i1 %17, %or.cond5.not7\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %or.cond68, label LBL_2, label LBL_10\n LBL_2:\n %18 = and i64 %1, 4294967295\n %19 = add nuw nsw i64 %18, 4198749\n %20 = add i32 %11, 8\n %21 = icmp ugt i32 %20, %8\n %22 = zext i32 %11 to i64\n %23 = add nuw nsw i64 %19, %22\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_3\n LBL_3:\n %24 = call i64* @calloc(i32 1, i32 8)\n %25 = icmp eq i64* %24, null\n %26 = icmp eq i1 %25, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %26, label LBL_4, label LBL_10\n LBL_4:\n %27 = ptrtoint i64* %24 to i64\n br i1 %21, label LBL_9, label LBL_5\n LBL_5:\n %28 = load i32, i32* %sv_0, align 4\n %29 = zext i32 %28 to i64\n %30 = add nuw nsw i64 %19, %29\n %31 = call i64 @FUNC(i64 %30, i64 %23, i64 %27, i32* nonnull %sv_0)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_9, label LBL_6\n LBL_6:\n %34 = add i64 %27, 4\n %35 = load i32, i32* %sv_0, align 4\n %36 = zext i32 %35 to i64\n %37 = add nuw nsw i64 %19, %36\n %38 = call i64 @FUNC(i64 %37, i64 %23, i64 %34, i32* nonnull %sv_0)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_9, label LBL_7\n LBL_7:\n %41 = load i32, i32* %sv_0, align 4\n %42 = zext i32 %41 to i64\n %43 = add nuw nsw i64 %19, %42\n %44 = call i64 @FUNC(i64 %43, i64 %23, i64 0, i64 0, i32* nonnull %sv_0)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %47 = call i64 @FUNC(i64 %2, i64 %27)\n %48 = add nuw i32 %storemerge9.reload, 1\n %49 = load i32, i32* %sv_0, align 4\n %50 = icmp ugt i32 %11, %49\n %51 = icmp ult i32 %48, %14\n %or.cond6 = icmp eq i1 %51, %50\n store i32 %48, i32* %storemerge9.reg2mem\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_3, label LBL_10\n LBL_9:\n %52 = call i64 @FUNC(i64 %27)\n store i64 %2, 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* %24, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %11, { 4, 3, 2, 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 3, 1, 4, 0, 2, 5 }\n uselistorder i32* %sv_0, { 3, 0, 4, 1, 5, 2, 6, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 }\n uselistorder i64 (i64, i64, i64, i32*)* @consume_u8, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 0, 1, 2, 3 }\n uselistorder label LBL_10, { 4, 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nlmsg_reserve_13682", "fun_name": "nlmsg_reserve", "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 i64\n %storemerge4.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* %storemerge.reg2mem\n br i1 %4, label LBL_8, 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* %storemerge4.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* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %12 = and i64 %0, 4294967295\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %13 = add i64 %storemerge4.reload, %12\n %14 = icmp ugt i64 %13, %3\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = trunc i64 %0 to i32\n %16 = trunc i64 %storemerge4.reload to i32\n %17 = add i32 %16, %15\n %18 = bitcast i64* %arg1 to i32*\n store i32 %17, i32* %18, align 4\n br label LBL_5\n LBL_5:\n %19 = icmp ugt i64 %storemerge4.reload, %arg2\n store i64 %0, i64* %.reg2mem\n br i1 %19, label LBL_6, label LBL_7\n LBL_6:\n %20 = sub i64 %storemerge4.reload, %arg2\n %21 = add i64 %0, %arg2\n %22 = inttoptr i64 %21 to i64*\n %23 = trunc i64 %20 to i32\n %24 = call i64* @memset(i64* %22, i32 0, i32 %23)\n store i64 %21, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %25 = and i64 %.reload, 4294967295\n %26 = and i64 %5, 4294967295\n %27 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %storemerge4.reload, i64 %arg2, i64 %26, i64 %25)\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 %storemerge4.reload, { 3, 1, 2, 0, 4 }\n uselistorder i64 %sext, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 4, 5, 1, 3, 2, 6 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 %arg2, { 2, 4, 5, 3, 1, 0, 6 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_logfs_journal_wl_pass_18477", "fun_name": "do_logfs_journal_wl_pass", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i32\n %indvars.iv.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 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %1, 28\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 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 %10 = load i64, i64* %7, align 8\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 br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = zext i32 %14 to i64\n %17 = call i64 @FUNC(i64 %4, i64 %16)\n %18 = load i64, i64* %9, align 8\n %19 = add i64 %18, %11\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 = add i64 %22, %11\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, i32 %21)\n %28 = load i64, i64* %7, align 8\n %29 = add i64 %28, %11\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = load i64, i64* %9, align 8\n %32 = add i64 %31, %11\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n br 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, 10\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 = add i64 %1, 24\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_5\n LBL_5:\n %38 = bitcast i32* %sv_0 to i64*\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %39 = call i64 @FUNC(i64 %0, i64 %4, i64* nonnull %38)\n %40 = trunc i64 %39 to i32\n %41 = load i64, i64* %7, align 8\n %42 = sext i32 %storemerge4.reload to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %41, %43\n %45 = inttoptr i64 %44 to i32*\n store i32 %40, i32* %45, align 4\n %46 = load i64, i64* %9, align 8\n %47 = add i64 %46, %43\n %48 = load i32, i32* %sv_0, align 4\n %49 = inttoptr i64 %47 to i32*\n store i32 %48, i32* %49, align 4\n %50 = and i64 %39, 4294967295\n %51 = call i64 @FUNC(i64 %0, i64 %50)\n %52 = call i64 @FUNC(i64 %4, i32 %40, i64 1, i64 0)\n %53 = and i64 %52, 4294967295\n %54 = call i64 @FUNC(i64 %53)\n %55 = call i64 @FUNC(i64 %0, i64 %50, i64 1)\n %56 = and i64 %55, 4294967295\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i32 %storemerge4.reload, 1\n %59 = load i32, i32* %35, align 4\n %60 = icmp ugt i32 %59, %58\n store i32 %58, i32* %storemerge4.reg2mem\n br i1 %60, label LBL_6, label LBL_7\n LBL_7:\n %61 = inttoptr i64 %3 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %0, i64 %63)\n %65 = load i64, i64* %7, align 8\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n store i32 %67, i32* %61, align 4\n %68 = add i64 %3, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 0, i32* %69, align 4\n %70 = add i64 %3, 8\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = call i64 @FUNC(i64 %0)\n %73 = call i64 @FUNC(i64 %0)\n %74 = and i64 %73, 4294967295\n %75 = call i64 @FUNC(i64 %74)\n ret i64 %75\n\n uselistorder i64 %43, { 1, 0 }\n uselistorder i32* %35, { 1, 0 }\n uselistorder i64 %11, { 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @BUG_ON, { 0, 2, 1 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6, 7, 8 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "stop_read_9283", "fun_name": "stop_read", "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 = load i64, i64* %0\n %4 = add i64 %2, 16\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = trunc i64 %1 to i32\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 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %9, align 4\n br label LBL_2\n LBL_2:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %12, -3\n store i64 %13, i64* %11, align 8\n %14 = call i64 @FUNC(i64 %4, i64 %3)\n ret i64 %14\n\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "renderCoTable_8654", "fun_name": "renderCoTable", "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 %.reg2mem11 = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = zext i32 %2 to i64\n %4 = icmp sgt i32 %2, 9\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_12, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n store i32 ptrtoint (i32* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8\n %6 = and i64 %1, 4294967295\n %7 = icmp eq i32 %5, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %7, label LBL_12, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = ptrtoint i64* %sv_3 to i64\n %sext = mul i64 %arg2, 4294967296\n %10 = bitcast i64* %rdi to i32*\n %11 = add i64 %8, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %9, -8\n %14 = inttoptr i64 %13 to i64*\n %15 = ashr exact i64 %sext, 32\n store i32 %5, i32* %.reg2mem\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload = load i32, i32* %.reg2mem\n %16 = load i64, i64* %12, align 8\n %17 = mul i64 %.reload8, 32\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* %.reg2mem11\n br i1 %21, label LBL_11, label LBL_4\n LBL_4:\n %22 = add i64 %18, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %18, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %18, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n store i32 %30, i32* %sv_2, align 4\n %31 = zext i32 %27 to i64\n %32 = call i64 @FUNC(i64 %8, i64 %31, i32 %24)\n %33 = load i64, i64* %12, align 8\n %34 = or i64 %17, 24\n %35 = add i64 %33, %34\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = load i32, i32* %sv_2, align 4\n %39 = zext i32 %38 to i64\n store i64 %39, i64* %14, align 8\n %40 = and i64 %32, 4294967295\n %41 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_2, i64* nonnull %sv_1, i64 10, i64 %37, i64 %40)\n %42 = call i64 @FUNC(i64 %8, i64 %31)\n %43 = load i64, i64* %sv_1, align 8\n %44 = and i64 %43, 4294967295\n %45 = icmp slt i64 %15, %44\n store i64 %43, i64* %.reg2mem9\n br i1 %45, label LBL_5, label LBL_6\n LBL_5:\n store i64 %15, i64* %sv_1, align 8\n store i64 %15, i64* %.reg2mem9\n br label LBL_6\n LBL_6:\n %.reload10 = load i64, i64* %.reg2mem9\n %46 = add i64 %20, 16\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_8, label LBL_7\n LBL_7:\n %51 = trunc i64 %.reload10 to i32\n %52 = load i32, i32* %sv_2, align 4\n %53 = sub i32 %51, %52\n store i32 %53, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_8:\n %54 = icmp slt i32 %48, 1\n store i32 %48, i32* %sv_0.0.reg2mem\n br i1 %54, label LBL_9, label LBL_10\n LBL_9:\n %55 = trunc i64 %.reload10 to i32\n %56 = mul i32 %48, -1\n %57 = mul i32 %56, %55\n %58 = sdiv i32 %57, 100\n store i32 %58, i32* %47, align 4\n store i32 %58, 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 %59 = zext i32 %sv_0.0.reload to i64\n %60 = call i64 @FUNC(i64 %20, i64 %59, i64* nonnull %sv_1)\n %.pre = load i32, i32* %10, align 8\n store i32 %.pre, i32* %.reg2mem11\n br label LBL_11\n LBL_11:\n %.reload12 = load i32, i32* %.reg2mem11\n %61 = add i32 %storemerge5.reload, 1\n %62 = zext i32 %.reload12 to i64\n %63 = sext i32 %61 to i64\n %64 = icmp slt i64 %63, %62\n store i32 %.reload12, i32* %.reg2mem\n store i64 %63, i64* %.reg2mem7\n store i32 %61, i32* %storemerge5.reg2mem\n store i64 %62, i64* %rax.0.reg2mem\n br i1 %64, label LBL_3, 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 %.reload12, { 1, 0 }\n uselistorder i32 %48, { 1, 0, 2, 3 }\n uselistorder i64 %.reload10, { 1, 0 }\n uselistorder i64 %18, { 2, 1, 0, 3 }\n uselistorder i32* %sv_2, { 1, 0, 2, 3 }\n uselistorder i64* %sv_1, { 0, 3, 4, 1, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem7, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unconditional_13479", "fun_name": "unconditional", "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, 36\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 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i64*\n %8 = call i32 @memcmp(i64* %7, i64* nonnull @gv_0, i32 32)\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_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": "dnxhd_encode_rdo_7435", "fun_name": "dnxhd_encode_rdo", "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.2.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i32\n %.pre-phi64.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %sv_1.136.reg2mem = alloca i32\n %storemerge337.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_2.1.lcssa.reg2mem = alloca i32\n %sv_3.128.reg2mem = alloca i32\n %sv_2.129.reg2mem = alloca i32\n %storemerge530.reg2mem = alloca i32\n %.reg2mem103 = alloca i64\n %sv_1.033.reg2mem = alloca i32\n %storemerge434.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_6.0.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_4.0.ph.reg2mem = alloca i32\n %sv_5.0.ph.reg2mem = alloca i32\n %sv_6.0.ph.reg2mem = alloca i32\n %sv_7.0.ph.reg2mem = alloca i32\n %storemerge641.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 ugt i32 %2, 1\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = and i64 %1, 4294967295\n store i32 1, i32* %storemerge641.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge641.reload = load i32, i32* %storemerge641.reg2mem\n %5 = add i32 %storemerge641.reload, 1\n %6 = sext i32 %5 to i64\n %7 = icmp sgt i64 %4, %6\n store i32 %5, i32* %storemerge641.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_3:\n %8 = bitcast i64* %arg2 to i32*\n store i32 %storemerge641.reload, i32* %8, align 4\n br label LBL_4\n LBL_4:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = bitcast i64* %rdi to i32*\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, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %9, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = add i64 %9, 24\n %19 = inttoptr i64 %18 to i64*\n %20 = add i64 %9, 32\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %9, 40\n %23 = inttoptr i64 %22 to i64*\n %24 = add i64 %9, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 2147483647, i32* %sv_7.0.ph.reg2mem\n store i32 0, i32* %sv_6.0.ph.reg2mem\n store i32 2048, i32* %sv_5.0.ph.reg2mem\n store i32 2048, i32* %sv_4.0.ph.reg2mem\n store i32 %13, i32* %sv_0.0.ph.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_4.0.ph.reload = load i32, i32* %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 i32, i32* %sv_7.0.ph.reg2mem\n %26 = icmp eq i32 %sv_7.0.ph.reload, 2147483647\n store i32 %sv_6.0.ph.reload, i32* %sv_6.0.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.0.reg2mem\n store i32 %sv_4.0.ph.reload, i32* %sv_4.0.reg2mem\n store i32 %sv_0.0.ph.reload, 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_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.0.reload = load i32, i32* %sv_6.0.reg2mem\n %27 = icmp eq i32 %sv_0.0.reload, %sv_6.0.reload\n %28 = icmp eq i1 %27, false\n %29 = add i32 %sv_0.0.reload, 1\n %spec.select = select i1 %28, i32 %sv_0.0.reload, i32 %29\n %30 = load i32, i32* %15, align 4\n %31 = icmp eq i32 %30, 0\n store i32 0, i32* %storemerge337.reg2mem\n store i32 0, i32* %sv_1.136.reg2mem\n br i1 %31, label LBL_6.LBL_15_crit_edge, label LBL_14\n LBL_7:\n %.pre = load i32, i32* %25, align 4\n %.pre62 = zext i32 %.pre to i64\n store i64 %.pre62, i64* %.pre-phi.reg2mem\n store i32 0, i32* %sv_1.2.reg2mem\n br label LBL_15\n LBL_8:\n %sv_1.033.reload = load i32, i32* %sv_1.033.reg2mem\n %storemerge434.reload = load i32, i32* %storemerge434.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %32 = mul i32 %.reload, %storemerge337.reload\n %33 = add i32 %32, %storemerge434.reload\n %34 = load i32, i32* %10, align 8\n %35 = icmp ugt i32 %34, 1\n %36 = load i64, i64* %19, align 8\n %37 = sext i32 %33 to i64\n %38 = mul i64 %37, 8\n store i32 1, i32* %sv_2.1.lcssa.reg2mem\n br i1 %35, label LBL_9, label LBL_11\n LBL_9:\n %39 = zext i32 %34 to i64\n store i64 1, i64* %.reg2mem103\n store i32 1, i32* %storemerge530.reg2mem\n store i32 1, i32* %sv_2.129.reg2mem\n store i32 -1, i32* %sv_3.128.reg2mem\n br label LBL_10\n LBL_10:\n %sv_3.128.reload = load i32, i32* %sv_3.128.reg2mem\n %sv_2.129.reload = load i32, i32* %sv_2.129.reg2mem\n %storemerge530.reload = load i32, i32* %storemerge530.reg2mem\n %.reload104 = load i64, i64* %.reg2mem103\n %40 = mul i64 %.reload104, 8\n %41 = add i64 %40, %36\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %43, %38\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = mul i32 %46, %spec.select\n %48 = add i64 %44, 4\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = mul i32 %50, 1024\n %52 = add i32 %51, %47\n %53 = icmp ult i32 %52, %sv_3.128.reload\n %54 = icmp eq i1 %53, false\n %spec.select8 = select i1 %54, i32 %sv_3.128.reload, i32 %52\n %spec.select9 = select i1 %54, i32 %sv_2.129.reload, i32 %storemerge530.reload\n %55 = add i32 %storemerge530.reload, 1\n %56 = sext i32 %55 to i64\n %57 = icmp slt i64 %56, %39\n store i64 %56, i64* %.reg2mem103\n store i32 %55, i32* %storemerge530.reg2mem\n store i32 %spec.select9, i32* %sv_2.129.reg2mem\n store i32 %spec.select8, i32* %sv_3.128.reg2mem\n store i32 %spec.select9, i32* %sv_2.1.lcssa.reg2mem\n br i1 %57, label LBL_10, label LBL_11\n LBL_11:\n %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem\n %58 = sext i32 %sv_2.1.lcssa.reload to i64\n %59 = mul i64 %58, 8\n %60 = add i64 %59, %36\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = add i64 %62, %38\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = add i32 %65, %sv_1.033.reload\n %67 = load i64, i64* %21, align 8\n %68 = mul i64 %37, 4\n %69 = add i64 %67, %68\n %70 = inttoptr i64 %69 to i32*\n store i32 %sv_2.1.lcssa.reload, i32* %70, align 4\n %71 = load i64, i64* %19, align 8\n %72 = add i64 %71, %59\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = add i64 %74, %38\n %76 = load i64, i64* %23, align 8\n %77 = add i64 %76, %68\n %78 = inttoptr i64 %75 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = inttoptr i64 %77 to i32*\n store i32 %79, i32* %80, align 4\n %81 = add i32 %storemerge434.reload, 1\n %82 = load i32, i32* %17, align 4\n %83 = zext i32 %82 to i64\n %84 = sext i32 %81 to i64\n %85 = icmp slt i64 %84, %83\n store i32 %82, i32* %.reg2mem\n store i32 %81, i32* %storemerge434.reg2mem\n store i32 %66, i32* %sv_1.033.reg2mem\n store i32 %66, i32* %sv_1.0.lcssa.reg2mem\n br i1 %85, label LBL_8, label LBL_12\n LBL_12:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %86 = add i32 %sv_1.0.lcssa.reload, 31\n %87 = and i32 %86, -32\n %88 = load i32, i32* %25, align 4\n %89 = zext i32 %88 to i64\n %90 = sext i32 %87 to i64\n %91 = icmp sgt i64 %90, %89\n store i64 %89, i64* %.pre-phi.reg2mem\n store i32 %87, i32* %sv_1.2.reg2mem\n br i1 %91, label LBL_15, label LBL_13\n LBL_13:\n %92 = add i32 %storemerge337.reload, 1\n %93 = load i32, i32* %15, align 4\n %94 = zext i32 %93 to i64\n %95 = sext i32 %92 to i64\n %96 = icmp slt i64 %95, %94\n store i32 %92, i32* %storemerge337.reg2mem\n store i32 %87, i32* %sv_1.136.reg2mem\n store i64 %89, i64* %.pre-phi.reg2mem\n store i32 %87, i32* %sv_1.2.reg2mem\n br i1 %96, label LBL_14, label LBL_15\n LBL_14:\n %sv_1.136.reload = load i32, i32* %sv_1.136.reg2mem\n %storemerge337.reload = load i32, i32* %storemerge337.reg2mem\n %97 = load i32, i32* %17, align 4\n %98 = icmp eq i32 %97, 0\n store i32 %97, i32* %.reg2mem\n store i32 0, i32* %storemerge434.reg2mem\n store i32 %sv_1.136.reload, i32* %sv_1.033.reg2mem\n store i32 %sv_1.136.reload, i32* %sv_1.0.lcssa.reg2mem\n br i1 %98, label LBL_12, label LBL_8\n LBL_15:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %99 = sext i32 %sv_1.2.reload to i64\n br i1 %28, label LBL_17, label LBL_16\n LBL_16:\n %100 = icmp slt i64 %.pre-phi.reload, %99\n store i32 %29, i32* %sv_0.2.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %100, label LBL_25, label LBL_24\n LBL_17:\n %101 = icmp sgt i64 %.pre-phi.reload, %99\n br i1 %101, label LBL_18, label LBL_19\n LBL_18:\n %102 = sub i32 %sv_7.0.ph.reload, %spec.select\n %103 = xor i32 %spec.select, %sv_7.0.ph.reload\n %104 = xor i32 %102, %sv_7.0.ph.reload\n %105 = and i32 %104, %103\n %106 = icmp slt i32 %105, 0\n %107 = icmp eq i32 %102, 0\n %108 = icmp slt i32 %102, 0\n %109 = icmp ne i1 %108, %106\n %110 = or i1 %107, %109\n %111 = select i1 %110, i32 %sv_7.0.ph.reload, i32 %spec.select\n %112 = icmp eq i32 %sv_6.0.reload, 0\n %113 = sub i32 %spec.select, %sv_5.0.reload\n %114 = add i32 %spec.select, %sv_6.0.reload\n %115 = ashr i32 %114, 1\n %storemerge = select i1 %112, i32 %113, i32 %115\n %116 = mul i32 %sv_5.0.reload, 5\n %117 = icmp sgt i32 %storemerge, 1\n %118 = select i1 %117, i32 %storemerge, i32 1\n %119 = icmp eq i32 %118, %111\n %120 = icmp eq i1 %119, false\n store i32 %111, i32* %sv_7.0.ph.reg2mem\n store i32 %sv_6.0.reload, i32* %sv_6.0.ph.reg2mem\n store i32 %116, i32* %sv_5.0.ph.reg2mem\n store i32 1024, i32* %sv_4.0.ph.reg2mem\n store i32 %118, i32* %sv_0.0.ph.reg2mem\n store i32 %118, i32* %sv_0.2.reg2mem\n br i1 %120, label LBL_5, label LBL_24\n LBL_19:\n br i1 %26, label LBL_21, label LBL_20\n LBL_20:\n %121 = add i32 %spec.select, %sv_7.0.ph.reload\n %122 = ashr i32 %121, 1\n %.pre63 = sext i32 %sv_4.0.reload to i64\n store i64 %.pre63, i64* %.pre-phi64.reg2mem\n store i32 %122, i32* %storemerge2.reg2mem\n br label LBL_23\n LBL_21:\n %123 = sext i32 %spec.select to i64\n %124 = sext i32 %sv_4.0.reload to i64\n %125 = add nsw i64 %123, %124\n %126 = icmp slt i64 %125, 2147483648\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %126, label LBL_22, label LBL_25\n LBL_22:\n %127 = add i32 %spec.select, %sv_4.0.reload\n store i64 %124, i64* %.pre-phi64.reg2mem\n store i32 %127, i32* %storemerge2.reg2mem\n br label LBL_23\n LBL_23:\n %128 = sub i32 %sv_6.0.reload, %spec.select\n %129 = xor i32 %spec.select, %sv_6.0.reload\n %130 = xor i32 %128, %sv_6.0.reload\n %131 = and i32 %130, %129\n %132 = icmp slt i32 %131, 0\n %133 = icmp slt i32 %128, 0\n %134 = icmp eq i1 %133, %132\n %135 = select i1 %134, i32 %sv_6.0.reload, i32 %spec.select\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.pre-phi64.reload = load i64, i64* %.pre-phi64.reg2mem\n %136 = mul nsw i64 %.pre-phi64.reload, 5\n %137 = add nsw i64 %136, -2147483647\n %138 = sub nsw i64 2147483646, %136\n %139 = and i64 %138, %136\n %140 = icmp slt i64 %139, 0\n %141 = icmp eq i64 %137, 0\n %142 = icmp slt i64 %137, 0\n %143 = icmp eq i1 %142, %140\n %144 = icmp eq i1 %141, false\n %145 = icmp eq i1 %143, %144\n %146 = trunc i64 %136 to i32\n %147 = select i1 %145, i32 2147483647, i32 %146\n store i32 %135, i32* %sv_6.0.reg2mem\n store i32 1024, i32* %sv_5.0.reg2mem\n store i32 %147, i32* %sv_4.0.reg2mem\n store i32 %storemerge2.reload, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_24:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n store i32 %sv_0.2.reload, i32* %12, align 4\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 %137, { 1, 0 }\n uselistorder i64 %136, { 2, 0, 1, 3 }\n uselistorder i32 %128, { 1, 0 }\n uselistorder i32 %102, { 1, 2, 0 }\n uselistorder i64 %99, { 1, 0 }\n uselistorder i32 %storemerge337.reload, { 1, 0 }\n uselistorder i32 %sv_1.136.reload, { 1, 0 }\n uselistorder i32 %87, { 0, 2, 1, 3 }\n uselistorder i64 %68, { 1, 0 }\n uselistorder i64 %59, { 1, 0 }\n uselistorder i32 %storemerge530.reload, { 1, 0 }\n uselistorder i64 %38, { 2, 1, 0 }\n uselistorder i32 %storemerge434.reload, { 1, 0 }\n uselistorder i32 %spec.select, { 9, 7, 10, 5, 11, 6, 0, 4, 2, 1, 3, 8 }\n uselistorder i32 %sv_6.0.reload, { 1, 4, 3, 2, 7, 6, 5, 0 }\n uselistorder i32 %sv_5.0.reload, { 1, 0 }\n uselistorder i32 %sv_4.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_7.0.ph.reload, { 3, 2, 5, 4, 1, 0 }\n uselistorder i32* %25, { 1, 0 }\n uselistorder i32* %15, { 1, 0 }\n uselistorder i32 %storemerge641.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge641.reg2mem, { 1, 0, 2 }\n uselistorder i32* %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 i32* %sv_4.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_6.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_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 1, 2, 0 }\n uselistorder i32* %storemerge434.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_1.033.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.reg2mem103, { 1, 0, 2 }\n uselistorder i32* %storemerge530.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.129.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.128.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge337.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.136.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi64.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 2147483647, { 1, 2, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_25, { 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 uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "block_job_unref_15523", "fun_name": "block_job_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 = 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 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %arg1)\n %16 = load i64, i64* %11, align 8\n %17 = call i64 @FUNC(i64 %16, i64 4198900, i64 4198907, i64 %arg1)\n %18 = load i64, i64* %11, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %arg1, 16\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 %arg1, 24\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n %28 = load i64, i64* @gv_0, align 8\n %29 = call i64 @FUNC(i64 %arg1, i64 %28)\n %30 = call i64 @FUNC(i64 %arg1)\n store i64 %30, 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, 2 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i1 false, { 2, 4, 3, 0, 1 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 5, 4, 6, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lstcon_rpc_pinger_start_4516", "fun_name": "lstcon_rpc_pinger_start", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\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* nonnull @gv_1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = zext i1 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 0, i64 1, i64* nonnull @gv_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 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0))\n %12 = and i64 %8, 4294967295\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC()\n %14 = add i64 %13, 5\n store i64 %14, i64* @gv_4, align 8\n %15 = call i64 @FUNC(i64 ptrtoint (i64* @gv_4 to i64))\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* @gv_4, { 1, 0 }\n uselistorder i64 (i64)* @LASSERT, { 1, 0 }\n uselistorder i64 4294967295, { 1, 3, 2, 0 }\n uselistorder i32 1, { 3, 2, 4, 1, 5, 6, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isofs_export_encode_fh_13715", "fun_name": "isofs_export_encode_fh", "llvm_ir_function": "define i64 @FUNC(i32* %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.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 %rcx = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32* %arg4, null\n %5 = icmp sgt i32 %3, 4\n %or.cond = or i1 %4, %5\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n store i32 5, i32* %arg3, align 4\n store i64 255, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %6 = icmp sgt i32 %3, 2\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n store i32 3, i32* %arg3, align 4\n store i64 255, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = trunc i64 %1 to i32\n %9 = bitcast i64* %rdi to i32*\n %10 = bitcast i64* %arg2 to i32*\n store i32 %8, i32* %10, align 4\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 %15 = add i64 %7, 4\n %16 = trunc i32 %14 to i16\n %17 = inttoptr i64 %15 to i16*\n store i16 %16, i16* %17, align 2\n %18 = add i64 %7, 6\n %19 = inttoptr i64 %18 to i16*\n store i16 0, i16* %19, align 2\n %20 = add i64 %7, 8\n %21 = load i32, i32* %9, align 8\n %22 = inttoptr i64 %20 to i32*\n store i32 %21, i32* %22, align 4\n store i32 3, i32* %sv_1.0.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_6, label LBL_5\n LBL_5:\n %23 = ptrtoint i32* %arg4 to i64\n %24 = add i64 %7, 12\n %25 = bitcast i64* %rcx to i32*\n %26 = load i32, i32* %25, align 8\n %27 = inttoptr i64 %24 to i32*\n store i32 %26, i32* %27, align 4\n %28 = add i64 %23, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = trunc i32 %30 to i16\n store i16 %31, i16* %19, align 2\n %32 = add i64 %7, 16\n %33 = load i32, i32* %25, align 8\n %34 = inttoptr i64 %32 to i32*\n store i32 %33, i32* %34, align 4\n store i32 5, i32* %sv_1.0.reg2mem\n store i64 2, 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.reload = load i32, i32* %sv_1.0.reg2mem\n store i32 %sv_1.0.reload, i32* %arg3, 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* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 255, { 1, 0 }\n uselistorder i32* %arg3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bpf_prog_get_11148", "fun_name": "bpf_prog_get", "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 = and i64 %1, 4294967295\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 br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = inttoptr i64 %3 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n ret i64 %3\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lseg_interpt_internal_9990", "fun_name": "lseg_interpt_internal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi1.reg2mem = alloca i64*\n %.pre-phi3.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 = add i64 %1, 16\n %3 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 %2)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %4)\n %6 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0)\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 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_14\n LBL_1:\n %11 = call i64 @FUNC(i64 %6, i64 %1)\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(i64 %6, i64 %0)\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_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %19 = call i128 @__asm_movsd.1(i64 %0)\n %20 = call i128 @FUNC(i128 %19)\n %21 = call i128 @FUNC(i64 %6)\n %22 = call i64 @FUNC()\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\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 i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i128 @__asm_movsd.1(i64 %27)\n %29 = add i64 %1, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i128 @FUNC(i128 %28)\n %33 = call i128 @FUNC(i64 %31)\n %34 = call i64 @FUNC()\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64* %30, i64** %.pre-phi3.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 = call i128 @__asm_movsd.1(i64 %39)\n %41 = call i128 @FUNC(i128 %40)\n %42 = call i128 @FUNC(i64 %6)\n %43 = call i64 @FUNC()\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_9, label LBL_7\n LBL_7:\n %46 = add i64 %0, 24\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i128 @__asm_movsd.1(i64 %48)\n %50 = add i64 %1, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i128 @FUNC(i128 %49)\n %54 = call i128 @FUNC(i64 %52)\n %55 = call i64 @FUNC()\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n store i64* %51, i64** %.pre-phi3.reg2mem\n br i1 %57, label LBL_9, label LBL_8\n LBL_8:\n %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem\n %58 = call i128 @__asm_movsd.1(i64 %6)\n %59 = call i64 @FUNC(i128 %58)\n %60 = inttoptr i64 %6 to i64*\n store i64 %59, i64* %60, align 8\n %61 = load i64, i64* %.pre-phi3.reload, align 8\n %62 = call i128 @__asm_movsd.1(i64 %61)\n %63 = call i64 @FUNC(i128 %62)\n %64 = add i64 %6, 8\n %65 = inttoptr i64 %64 to i64*\n store i64 %63, i64* %65, align 8\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_9:\n %66 = call i128 @__asm_movsd.1(i64 %0)\n %67 = inttoptr i64 %2 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i128 @FUNC(i128 %66)\n %70 = call i128 @FUNC(i64 %68)\n %71 = call i64 @FUNC()\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n br i1 %73, label LBL_11, label LBL_10\n LBL_10:\n %74 = add i64 %0, 8\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i128 @__asm_movsd.1(i64 %76)\n %78 = add i64 %1, 24\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = call i128 @FUNC(i128 %77)\n %82 = call i128 @FUNC(i64 %80)\n %83 = call i64 @FUNC()\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n %86 = icmp eq i1 %85, false\n store i64* %79, i64** %.pre-phi1.reg2mem\n br i1 %86, label LBL_13, label LBL_11\n LBL_11:\n %87 = load i64, i64* %38, align 8\n %88 = call i128 @__asm_movsd.1(i64 %87)\n %89 = load i64, i64* %67, align 8\n %90 = call i128 @FUNC(i128 %88)\n %91 = call i128 @FUNC(i64 %89)\n %92 = call i64 @FUNC()\n %93 = trunc i64 %92 to i32\n %94 = icmp eq i32 %93, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %94, label LBL_14, label LBL_12\n LBL_12:\n %95 = add i64 %0, 24\n %96 = inttoptr i64 %95 to i64*\n %97 = load i64, i64* %96, align 8\n %98 = call i128 @__asm_movsd.1(i64 %97)\n %99 = add i64 %1, 24\n %100 = inttoptr i64 %99 to i64*\n %101 = load i64, i64* %100, align 8\n %102 = call i128 @FUNC(i128 %98)\n %103 = call i128 @FUNC(i64 %101)\n %104 = call i64 @FUNC()\n %105 = trunc i64 %104 to i32\n %106 = icmp eq i32 %105, 0\n store i64* %100, i64** %.pre-phi1.reg2mem\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %106, label LBL_14, label LBL_13\n LBL_13:\n %.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem\n %107 = load i64, i64* %67, align 8\n %108 = call i128 @__asm_movsd.1(i64 %107)\n %109 = call i64 @FUNC(i128 %108)\n %110 = inttoptr i64 %6 to i64*\n store i64 %109, i64* %110, align 8\n %111 = load i64, i64* %.pre-phi1.reload, align 8\n %112 = call i128 @__asm_movsd.1(i64 %111)\n %113 = call i64 @FUNC(i128 %112)\n %114 = add i64 %6, 8\n %115 = inttoptr i64 %114 to i64*\n store i64 %113, i64* %115, align 8\n store i64 %6, 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 %6, { 3, 7, 8, 2, 1, 0, 4, 5, 6, 9, 10, 12, 11, 13, 14 }\n uselistorder i64 %1, { 3, 2, 1, 0, 4, 5, 6 }\n uselistorder i64 %0, { 3, 2, 4, 1, 0, 5, 6, 7, 8 }\n uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.pre-phi1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 6, 5 }\n uselistorder i64 ()* @FPeq, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @on_ps_internal, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @line_construct_pts, { 1, 0 }\n uselistorder label LBL_14, { 3, 2, 1, 0, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_init_ioport_922", "fun_name": "ide_init_ioport", "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 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %1, i32 %arg3, i64 %2, i64 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %4 = icmp eq i32 %arg4, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load i64, i64* @gv_2, align 8\n %6 = add i64 %1, 8\n %7 = call i64 @FUNC(i64 %0, i64 %6, i32 %arg4, i64 %5, i64 %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, 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\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64, i32, i64, i64, i8*)* @isa_register_portio_list, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdt_add_gic_node_505", "fun_name": "fdt_add_gic_node", "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 %0, i64* nonnull @gv_0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %2)\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0))\n %6 = call i64 @FUNC(i64 %0, i64* bitcast ([6 x i8]* @gv_2 to i64*), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 3)\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 0)\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 2, i64 %19, i64 2, i64 %16, i64 2, i64 %13, i64 2, i64 %10)\n %21 = call i64 @FUNC(i64 %19, i64* bitcast ([6 x i8]* @gv_2 to i64*), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0), i64 %2)\n ret i64 %2\n\n uselistorder i64 %19, { 0, 2, 1 }\n uselistorder i64 2, { 0, 1, 3, 2 }\n uselistorder [6 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 (i64, i64*, i8*, i64)* @qemu_fdt_setprop_cell, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tq_new_128", "fun_name": "tq_new", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64* @calloc(i32 1, i32 104)\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 store i64 %3, i64* %0, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = call i32 @pthread_mutex_init(i64* %7, i64* null)\n %9 = add i64 %3, 56\n %10 = inttoptr i64 %9 to i64*\n %11 = call i32 @pthread_cond_init(i64* %10, i64* null)\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 %3, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* null, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "route_map_finish_3716", "fun_name": "route_map_finish", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* @gv_0, align 8\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2)\n store i64 0, i64* @gv_1, align 8\n %4 = load i64, i64* @gv_2, 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 = call i64 @FUNC(i64 %.reload)\n %8 = load i64, i64* @gv_2, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem\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 i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* @gv_2, { 1, 0 }\n uselistorder i64 (i64)* @vector_free, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avalon_parse_results_18114", "fun_name": "avalon_parse_results", "llvm_ir_function": "define i64 @FUNC(i32* %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 %.reg2mem27 = alloca i32\n %sv_0.05.reg2mem = alloca i1\n %rcx.07.reg2mem = alloca i64\n %.reg2mem25 = alloca i32\n %.reg2mem = alloca i64\n %rcx.0.ph.reg2mem = alloca i64\n %storemerge412.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg5 to i64\n %5 = ptrtoint i64* %arg4 to i64\n %6 = ptrtoint i64* %arg2 to i64\n %7 = trunc i64 %4 to i32\n %8 = add i32 %7, -1024\n %9 = icmp slt i32 %8, 0\n br i1 %9, label LBL_6, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg3 to i64\n %11 = trunc i64 %2 to i32\n %12 = trunc i64 %3 to i32\n %13 = ptrtoint i32* %arg1 to i64\n store i32 0, i32* %storemerge412.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge412.reload = load i32, i32* %storemerge412.reg2mem\n %14 = sext i32 %storemerge412.reload to i64\n %15 = add i64 %14, %5\n %16 = call i64 @FUNC(i64 %13, i64 %15)\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_5, label LBL_3\n LBL_3:\n %18 = add i64 %6, 16\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i32 %11, 1\n %21 = icmp eq i32 %11, 0\n %22 = zext i1 %21 to i32\n %23 = urem i32 %22, %12\n %24 = icmp eq i32 %23, 0\n %spec.store.select = select i1 %24, i32 %20, i32 0\n store i32 %spec.store.select, i32* %arg1, align 4\n %25 = add i64 %6, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i32 %27, 1\n store i32 %28, i32* %26, align 4\n %29 = call i64 @FUNC(i64 %18)\n %30 = call i64 @FUNC(i64 %10, i64 %13, i64 %6, i64 %15, i64 %16)\n store i64 %15, i64* %rcx.0.ph.reg2mem\n br i1 %24, label %35, label LBL_4\n LBL_4:\n %31 = call i64 @FUNC(i64 %13, i64 %6, i64 %15)\n store i64 %6, i64* %rcx.0.ph.reg2mem\n br label %35\n LBL_5:\n %32 = add i32 %storemerge412.reload, 1\n %33 = icmp sgt i32 %32, %8\n store i32 %32, i32* %storemerge412.reg2mem\n br i1 %33, label LBL_6, label LBL_2\n LBL_6:\n %34 = add i32 %7, -1025\n store i64 %4, i64* %.reg2mem\n store i32 %7, i32* %.reg2mem25\n store i64 %5, i64* %rcx.07.reg2mem\n store i1 false, i1* %sv_0.05.reg2mem\n store i32 %34, i32* %.reg2mem27\n br label %38\n LBL_7:\n %46 = add i64 %6, 16\n %47 = call i64 @FUNC(i64 %46)\n %48 = add i64 %6, 8\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 = call i64 @FUNC(i64 %46)\n store i64 %52, 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 %.reload28, { 1, 0, 2 }\n uselistorder i64 %15, { 1, 0, 2, 3 }\n uselistorder i32 %storemerge412.reload, { 2, 0, 1 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %6, { 6, 5, 0, 1, 2, 3, 4 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32* %storemerge412.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem25, { 0, 2, 1 }\n uselistorder i64* %rcx.07.reg2mem, { 0, 2, 1 }\n uselistorder i1* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem27, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @mutex_lock, { 1, 0 }\n uselistorder label %38, { 1, 0 }\n uselistorder label %35, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_writedata_free_7364", "fun_name": "nfs_writedata_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_3, 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, %arg1\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1)\n br label LBL_3\n LBL_3:\n %6 = load i64, i64* @gv_0, align 8\n %7 = call i64 @FUNC(i64 %arg1, i64 %6)\n ret i64 %7\n\n uselistorder i64 %arg1, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "target_strerror_2809", "fun_name": "target_strerror", "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 sgt i32 %0, 99\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\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_2, label LBL_3\n LBL_2:\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = call i8* @strerror(i32 %8)\n %10 = ptrtoint i8* %9 to i64\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, 3, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "au_write_header_2602", "fun_name": "au_write_header", "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 = icmp eq i32 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\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 %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 i32*\n %17 = load i32, i32* %16, align 4\n %18 = load i64, i64* @gv_1, align 8\n %19 = zext i32 %17 to i64\n %20 = call i64 @FUNC(i64 %18, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %15, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = icmp eq i32 %21, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %27 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %28 = call i64 @FUNC(i64 %8, i64 24)\n %29 = call i64 @FUNC(i64 %8, i64 0)\n %30 = load i32, i32* %23, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %8, i64 %31)\n %33 = add i64 %15, 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 %8, i64 %36)\n %38 = add i64 %15, 12\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 %8, i64 %41)\n %43 = call i64 @FUNC(i64 %8, i64 0)\n %44 = call i64 @FUNC(i64 %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 %8, { 2, 1, 0, 3, 4, 7, 6, 5 }\n uselistorder i64 %2, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @avio_wb32, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder i64 0, { 0, 7, 8, 1, 2, 9, 3, 4, 10, 5, 6, 11, 12 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zcache_new_pool_18413", "fun_name": "zcache_new_pool", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.09.reg2mem = alloca i32\n %sv_0.012.reg2mem = alloca i32\n %storemerge415.reg2mem = alloca i32\n %sv_1.07.reg2mem = alloca i64\n %rdx.08.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 %arg1 to i16\n %sext3 = mul i64 %arg1, 281474976710656\n %5 = ashr exact i64 %sext3, 48\n %6 = icmp eq i16 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_1.07.reg2mem\n br i1 %7, label LBL_1, label LBL_3\n LBL_1:\n %8 = trunc i64 %5 to i16\n %9 = icmp ult i16 %8, 10\n store i32 -1, i32* %sv_0.09.reg2mem\n br i1 %9, label LBL_2, label LBL_11\n LBL_2:\n %10 = urem i64 %5, 65536\n %11 = mul nuw nsw i64 %10, 48\n %12 = add i64 %11, ptrtoint (i64* @gv_1 to i64)\n %13 = icmp eq i64 %12, 0\n store i64 %10, i64* %rdx.08.reg2mem\n store i64 %12, i64* %sv_1.07.reg2mem\n store i32 -1, i32* %sv_0.09.reg2mem\n br i1 %13, label LBL_11, label LBL_3\n LBL_3:\n %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem\n %14 = call i64 @FUNC(i64 %sv_1.07.reload)\n %15 = call i64 @FUNC(i64 24, i64 0)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = and i64 %arg2, 4294967295\n %19 = add i64 %sv_1.07.reload, 8\n store i32 0, i32* %storemerge415.reg2mem\n br label LBL_6\n LBL_5:\n %rdx.08.reload = load i64, i64* %rdx.08.reg2mem\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 %rdx.08.reload, i64 %3, i64 %2, i64 %1)\n store i32 -1, i32* %sv_0.012.reg2mem\n br label LBL_10\n LBL_6:\n %storemerge415.reload = load i32, i32* %storemerge415.reg2mem\n %21 = sext i32 %storemerge415.reload to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %19, %22\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_8, label LBL_7\n LBL_7:\n %27 = add nuw i32 %storemerge415.reload, 1\n %28 = icmp ult i32 %27, 5\n store i32 %27, i32* %storemerge415.reg2mem\n br i1 %28, label LBL_6, label LBL_9\n LBL_8:\n %29 = call i64 @FUNC(i64 %15, i64 0)\n %30 = add i64 %15, 8\n %31 = inttoptr i64 %30 to i64*\n store i64 %sv_1.07.reload, i64* %31, align 8\n %32 = add i64 %15, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %storemerge415.reload, i32* %33, align 4\n %34 = call i64 @FUNC(i64 %15, i64 %18)\n store i64 %15, i64* %24, align 8\n %35 = urem i64 %5, 65536\n %36 = urem i64 %arg2, 2\n %37 = icmp eq i64 %36, 0\n %. = select i1 %37, i64 ptrtoint ([10 x i8]* @gv_3 to i64), i64 ptrtoint ([11 x i8]* @gv_4 to i64)\n %38 = zext i32 %storemerge415.reload to i64\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_5, i64 0, i64 0), i64 %., i64 %38, i64 %35, i64 %2, i64 %1)\n store i32 %storemerge415.reload, i32* %sv_0.012.reg2mem\n br label LBL_10\n LBL_9:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 %21, i64 %3, i64 %2, i64 %1)\n %41 = call i64 @FUNC(i64 %15)\n store i32 -1, i32* %sv_0.012.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem\n %42 = call i64 @FUNC(i64 %sv_1.07.reload)\n store i32 %sv_0.012.reload, i32* %sv_0.09.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %43 = zext i32 %sv_0.09.reload to i64\n ret i64 %43\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %storemerge415.reload, { 0, 4, 3, 1, 2 }\n uselistorder i64 %15, { 0, 2, 1, 3, 5, 4, 6 }\n uselistorder i64 %sv_1.07.reload, { 3, 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %sv_1.07.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge415.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.012.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.09.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 1, 2, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 -1, { 2, 3, 1, 0, 4 }\n uselistorder i32 1, { 13, 10, 9, 8, 7, 6, 5, 4, 12, 3, 0, 2, 11, 1 }\n uselistorder label LBL_11, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "doSign_4960", "fun_name": "doSign", "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 %storemerge5.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_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(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @globalFUNCvarFUNC402088, i64 0, i64 0))\n %sext = mul i64 %4, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %7 = inttoptr i64 %5 to i8*\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* %7)\n store i64 1, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @globalFUNCvarFUNC4020b7, i64 0, i64 0))\n %sext1 = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext1, 32\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %storemerge4.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %11)\n store i64 %13, i64* %storemerge4.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %14 = call i64 @FUNC(i64 %storemerge4.reload)\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_7, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @globalFUNCvarFUNC4020cb, i64 0, i64 0))\n %sext2 = mul i64 %18, 4294967296\n %19 = ashr exact i64 %sext2, 32\n %20 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %21 = inttoptr i64 %19 to i8*\n %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* %21)\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 i32 0, i32* %storemerge5.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %storemerge4.reload, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_6, label LBL_9\n LBL_6:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %26 = call i64 @FUNC(i64 %.reload, i64 0, i64 %storemerge4.reload)\n %27 = trunc i64 %26 to i32\n %28 = add i32 %storemerge5.reload, %27\n %29 = call i64 @FUNC(i64 %arg1)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %29, i64* %.reg2mem\n store i32 %28, i32* %storemerge5.reg2mem\n br i1 %31, label LBL_6, label LBL_8\n LBL_7:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @globalFUNCvarFUNC4020e1, i64 0, i64 0))\n %sext3 = mul i64 %32, 4294967296\n %33 = ashr exact i64 %sext3, 32\n %34 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %35 = inttoptr i64 %33 to i8*\n %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* %35)\n store i64 1, i64* %sv_1.0.reg2mem\n store i64 %storemerge4.reload, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %phitmp = zext i32 %28 to i64\n store i64 %phitmp, i64* %sv_1.0.reg2mem\n store i64 %storemerge4.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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %37 = inttoptr i64 %sv_0.0.reload to i64*\n call void @free(i64* %37)\n %38 = inttoptr i64 %0 to i64*\n call void @free(i64* %38)\n ret i64 %sv_1.0.reload\n\n uselistorder i32 %28, { 1, 0 }\n uselistorder i64 %storemerge4.reload, { 0, 2, 4, 1, 3 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64)* @poptGetArg, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_2, { 2, 1, 0 }\n uselistorder i64 (i8*)* @_, { 3, 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0, 5, 6 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_9, { 0, 2, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xics_alloc_16156", "fun_name": "xics_alloc", "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 %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\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, 32\n %2 = trunc i64 %arg3 to i32\n %3 = ashr exact i64 %sext, 30\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i32*\n %6 = icmp eq i32 %2, 0\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %sext6 = mul i64 %arg3, 4294967296\n %7 = ashr exact i64 %sext6, 32\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %0, i64 %8)\n %10 = trunc i64 %1 to i32\n %11 = trunc i64 %9 to i32\n %12 = icmp eq i32 %10, %11\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %13 = load i32, i32* %5, align 4\n %14 = trunc i64 %7 to i32\n %15 = sub i32 %14, %13\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %4, i64 %16)\n %18 = trunc i64 %17 to i8\n %19 = icmp eq i8 %18, 1\n br i1 %19, label LBL_3.LBL_9_crit_edge, label LBL_5\n LBL_4:\n %.pre = load i32, i32* %5, align 4\n store i64 %8, i64* %.pre-phi13.reg2mem\n store i32 %14, i32* %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_9\n LBL_5:\n %20 = and i64 %1, 4294967295\n %21 = call i64 @FUNC(i64 %20, i64 %8)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %22 = call i64 @FUNC(i64 %4, i64 1, i64 1)\n %23 = trunc i64 %22 to i32\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 = and i64 %1, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %28 = load i32, i32* %5, align 4\n %29 = add i32 %28, %23\n %30 = zext i32 %29 to i64\n store i64 %30, i64* %.pre-phi13.reg2mem\n store i32 %29, i32* %.pre-phi.reg2mem\n store i32 %28, i32* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %.pre-phi13.reload = load i64, i64* %.pre-phi13.reg2mem\n %31 = trunc i64 %arg4 to i8\n %32 = sub i32 %.pre-phi.reload, %.reload\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %4, i64 %33, i8 %31)\n %35 = and i64 %1, 4294967295\n %36 = call i64 @FUNC(i64 %35, i64 %.pre-phi13.reload)\n store i64 %.pre-phi13.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 %8, { 1, 0, 2 }\n uselistorder i32* %5, { 2, 0, 1 }\n uselistorder i64 %4, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 3, 2, 0, 1 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "helper_addlv_14755", "fun_name": "helper_addlv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg3, %arg2\n %1 = xor i64 %arg2, 2147483648\n %2 = xor i64 %1, %arg3\n %3 = xor i64 %0, %arg2\n %4 = and i64 %3, %2\n %5 = trunc i64 %4 to i32\n %6 = icmp sgt 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 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC(i64 %9, i64 %10, i64 1, i64 0)\n br label LBL_2\n LBL_2:\n %12 = and i64 %0, 4294967295\n ret i64 %12\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fic_decode_slice_1971", "fun_name": "fic_decode_slice", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %sv_0.011.reg2mem = alloca i64\n %rdi.113.reg2mem = alloca i64\n %storemerge314.reg2mem = alloca i32\n %.reg2mem25 = alloca i32\n %rdi.0.lcssa.reg2mem = alloca i64\n %.reg2mem23 = alloca i32\n %storemerge510.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi.216.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_1 = alloca i64, 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 = add i64 %0, 12\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = mul i32 %7, 8\n %12 = zext i32 %11 to i64\n %13 = ptrtoint i64* %sv_1 to i64\n %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %12)\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %0, 24\n %18 = add i64 %0, 20\n %19 = inttoptr i64 %18 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %13, i64* %rdi.216.reg2mem\n br label LBL_1\n LBL_1:\n %rdi.216.reload = load i64, i64* %rdi.216.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %20 = mul i64 %indvars.iv.reload, 4\n %21 = add i64 %20, %rdi.216.reload\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i64 %indvars.iv.reload, 0\n %25 = icmp eq i1 %24, false\n %26 = zext i1 %25 to i32\n %storemerge1.in = ashr i32 %4, %26\n %27 = icmp eq i32 %storemerge1.in, 0\n store i64 %rdi.216.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %27, label LBL_8, label LBL_2\n LBL_2:\n %storemerge1 = zext i32 %storemerge1.in to i64\n %28 = add i64 %rdi.216.reload, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = mul i64 %indvars.iv.reload, 8\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %storemerge.in = ashr i32 %10, %26\n %35 = mul i32 %storemerge.in, %23\n %36 = sext i32 %35 to i64\n %37 = add i64 %34, %36\n %38 = zext i32 %23 to i64\n %39 = mul i32 %23, 8\n %40 = sext i32 %39 to i64\n %.pre = load i32, i32* %16, align 4\n store i32 %.pre, i32* %.reg2mem25\n store i32 0, i32* %storemerge314.reg2mem\n store i64 %rdi.216.reload, i64* %rdi.113.reg2mem\n store i64 %37, i64* %sv_0.011.reg2mem\n br label LBL_5.preheader\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %41 = load i32, i32* %19, align 4\n %42 = add i64 %.reload, %sv_0.011.reload\n %43 = zext i32 %41 to i64\n %44 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i64 %42, i64 %38, i64 %43, i64 %17)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_5, label LBL_4\n LBL_4:\n %47 = and i64 %44, 4294967295\n store i64 %47, i64* %storemerge4.reg2mem\n br label LBL_9\n LBL_5:\n %storemerge510.reload = load i32, i32* %storemerge510.reg2mem\n %48 = add i32 %storemerge510.reload, 8\n %49 = load i32, i32* %16, align 4\n %rdx.0.in = ashr i32 %49, %26\n %rdx.0 = zext i32 %rdx.0.in to i64\n %50 = sext i32 %48 to i64\n %51 = icmp sgt i64 %rdx.0, %50\n store i64 %50, i64* %.reg2mem\n store i32 %48, i32* %storemerge510.reg2mem\n store i32 %49, i32* %.reg2mem23\n store i64 %1, i64* %rdi.0.lcssa.reg2mem\n br i1 %51, label LBL_3, label LBL_6\n LBL_6:\n %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem\n %.reload24 = load i32, i32* %.reg2mem23\n %52 = add i64 %sv_0.011.reload, %40\n %53 = add i32 %storemerge314.reload, 8\n %54 = sext i32 %53 to i64\n %55 = icmp slt i64 %54, %storemerge1\n store i32 %.reload24, i32* %.reg2mem25\n store i32 %53, i32* %storemerge314.reg2mem\n store i64 %rdi.0.lcssa.reload, i64* %rdi.113.reg2mem\n store i64 %52, i64* %sv_0.011.reg2mem\n store i64 %rdi.0.lcssa.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %55, label LBL_5.preheader, label LBL_8\n LBL_7:\n %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem\n %rdi.113.reload = load i64, i64* %rdi.113.reg2mem\n %storemerge314.reload = load i32, i32* %storemerge314.reg2mem\n %.reload26 = load i32, i32* %.reg2mem25\n %rdx.0.in8 = ashr i32 %.reload26, %26\n %56 = icmp eq i32 %rdx.0.in8, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge510.reg2mem\n store i32 %.reload26, i32* %.reg2mem23\n store i64 %rdi.113.reload, i64* %rdi.0.lcssa.reg2mem\n br i1 %56, label LBL_6, label LBL_3\n LBL_8:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %57 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rdi.1.lcssa.reload, i64* %rdi.216.reg2mem\n store i64 0, i64* %storemerge4.reg2mem\n br i1 %57, label LBL_1, label LBL_9\n LBL_9:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i32 %.reload26, { 1, 0 }\n uselistorder i32 %storemerge1.in, { 1, 0 }\n uselistorder i32 %26, { 0, 1, 3, 2 }\n uselistorder i32 %23, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 }\n uselistorder i64 %rdi.216.reload, { 1, 3, 0, 2 }\n uselistorder i32* %16, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 5, 4, 3, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.216.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i32* %storemerge510.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem23, { 2, 0, 1 }\n uselistorder i64* %rdi.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 4, 0, 3 }\n uselistorder i32 8, { 3, 2, 0, 1 }\n uselistorder i64 8, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_5.preheader, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_js_recv_6325", "fun_name": "net_js_recv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i64* %arg4, i64 %arg5) 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 %1 = call i64 @FUNC(i64 %0)\n %2 = zext i32 %arg3 to i64\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %sv_1, align 8\n %4 = and i64 %arg5, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = zext i32 %arg2 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 3, i64* nonnull %sv_1)\n %9 = call i64 @FUNC(i64 3, i64* nonnull %sv_1)\n %10 = call i64 @FUNC(i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %8)\n %sext = mul i64 %13, 4294967296\n %14 = ashr exact i64 %sext, 32\n %15 = icmp sgt i64 %14, %arg5\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_2:\n %sext3 = mul i64 %arg5, 4294967296\n %16 = ashr exact i64 %sext3, 32\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0))\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %17 = ptrtoint i64* %arg4 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = call i64 @FUNC(i64 %8, i64 0, i64 %17, i64 %sv_0.0.reload)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_7\n LBL_4:\n %19 = call i64 @FUNC(i64 %8)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 -1, i64* %sv_0.1.reg2mem\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %8)\n %23 = trunc i64 %22 to i32\n %sext5 = mul i64 %22, 4294967296\n %24 = ashr exact i64 %sext5, 32\n %25 = icmp slt i32 %23, 0\n store i64 %24, i64* %sv_0.1.reg2mem\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0))\n store i64 -1, 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 %27 = call i64 @FUNC(i64 %8)\n %28 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %28\n\n uselistorder i64 %8, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 (i64)* @jsvNewFromInteger, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_init_4623", "fun_name": "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, 32\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 0, i32* %4, align 4\n %5 = inttoptr i64 %3 to i64*\n store i64 0, i64* %5, align 8\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 i32*\n store i32 -1, i32* %9, align 4\n %10 = add i64 %3, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %3, 24\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %0, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 1196444242\n %18 = zext i1 %17 to i32\n %19 = add i64 %3, 28\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %0, 8\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_2, label LBL_1\n LBL_1:\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %0, i64 %3, i64 %27, i32 %23)\n br label LBL_2\n LBL_2:\n %29 = add i64 %3, 32\n %30 = call i64 @FUNC(i64 %29, i64 %0)\n %31 = add i64 %0, 28\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %0, 24\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = call i64 @FUNC(i64 %0, i32 %36, i32 %33, i64 4294967295)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %. = zext i1 %39 to i64\n ret i64 %.\n\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 %0, { 0, 3, 2, 1, 6, 5, 4, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_blockdev_add_2968", "fun_name": "qmp_blockdev_add", "llvm_ir_function": "define i64 @FUNC(i8* %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 %sv_1 = alloca i8*, align 8\n store i8* %arg1, i8** %sv_1, align 8\n %3 = call i64 @FUNC()\n store i64 0, i64* %sv_0, align 8\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_14\n LBL_2:\n %7 = ptrtoint i8* %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 = icmp eq i8 %10, 0\n br i1 %11, label LBL_8, label LBL_3\n LBL_3:\n %12 = add i64 %7, 4\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_8, label LBL_4\n LBL_4:\n %17 = add i64 %7, 8\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 = icmp eq i8 %21, 0\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = add i64 %19, 1\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_6, label LBL_8\n LBL_6:\n %27 = add i64 %7, 16\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = icmp eq i8 %29, 1\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_14\n LBL_8:\n %32 = call i64 @FUNC(i64 %3)\n %33 = bitcast i8** %sv_1 to i64*\n %34 = call i64 @FUNC(i64 %32, i64* nonnull %33, i64 0, i64* nonnull %sv_0)\n %35 = load i64, i64* %sv_0, 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 %2, i64 %35)\n br label LBL_14\n LBL_10:\n %38 = call i64 @FUNC(i64 %3)\n %39 = call i64 @FUNC(i64 %38)\n %40 = call i64 @FUNC(i64 %39)\n %41 = call i64 @FUNC(i64 0, i64 %39, i64* nonnull %sv_0)\n %42 = load i64, i64* %sv_0, align 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_12, label LBL_11\n LBL_11:\n %44 = call i64 @FUNC(i64 %2, i64 %42)\n br label LBL_14\n LBL_12:\n %45 = inttoptr i64 %41 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i8\n %49 = icmp eq i8 %48, 0\n br i1 %49, label LBL_14, label LBL_13\n LBL_13:\n %50 = call i64 @FUNC(i64 %41)\n %51 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_14\n LBL_14:\n %52 = call i64 @FUNC(i64 %3)\n ret i64 %52\n\n uselistorder i8** %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i64 (i64, i8*)* @error_setg, { 2, 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_grackle_class_init_14959", "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 store i64 1, i64* %arg1, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "BN_bn2dec_11873", "fun_name": "BN_bn2dec", "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.06.reg2mem = alloca i64\n %sv_2.08.reg2mem = alloca i32\n %sv_1.05.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_3.2.lcssa.reg2mem = alloca i8*\n %sv_3.213.reg2mem = alloca i8*\n %sv_3.314.reg2mem = alloca i8*\n %sv_4.115.reg2mem = alloca i64\n %sv_3.1.lcssa.reg2mem = alloca i8*\n %sv_3.116.reg2mem = alloca i8*\n %sv_4.0.reg2mem = alloca i64\n %sv_3.0.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 = call i64 @FUNC(i64 8)\n %6 = call i64 @FUNC(i64 0)\n %7 = icmp ne i64 %6, 0\n %8 = icmp eq i64 %5, 0\n %9 = icmp eq i1 %8, false\n %or.cond4 = icmp eq i1 %7, %9\n br i1 %or.cond4, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n br label LBL_17\n LBL_2:\n %11 = call i64 @FUNC(i64 %3)\n %12 = icmp eq i64 %11, 0\n store i32 0, i32* %sv_2.07.reg2mem\n store i64 0, i64* %sv_1.05.reg2mem\n br i1 %12, label LBL_18, label LBL_3\n LBL_3:\n %13 = inttoptr i64 %6 to i8*\n %14 = call i64 @FUNC(i64 %11)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %6, 1\n store i8 48, i8* %13, align 1\n %18 = inttoptr i64 %17 to i8*\n store i8 0, i8* %18, align 1\n store i32 1, i32* %sv_2.07.reg2mem\n store i64 %11, i64* %sv_1.05.reg2mem\n br label LBL_18\n LBL_5:\n %19 = call i64 @FUNC(i64 %11)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i8* %13, i8** %sv_3.0.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = add i64 %6, 1\n %23 = inttoptr i64 %22 to i8*\n store i8 45, i8* %13, align 1\n store i8* %23, i8** %sv_3.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem\n store i64 %5, i64* %sv_4.0.reg2mem\n br label LBL_10\n LBL_8:\n %24 = call i64 @FUNC(i64 %11, i64 1000000000)\n %25 = inttoptr i64 %sv_4.0.reload to i64*\n store i64 %24, i64* %25, align 8\n %26 = icmp eq i64 %24, -1\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %26, label LBL_17, label LBL_9\n LBL_9:\n %27 = add i64 %sv_4.0.reload, 8\n %28 = sub i64 %27, %5\n %29 = icmp slt i64 %28, 8\n store i64 %27, i64* %sv_4.0.reg2mem\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %29, label LBL_10, label LBL_17\n LBL_10:\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %30 = call i64 @FUNC(i64 %11)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_8, label LBL_11\n LBL_11:\n %33 = add i64 %sv_4.0.reload, -8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = ptrtoint i8* %sv_3.0.reload to i64\n %37 = sub i64 %6, %36\n %38 = call i64 @FUNC(i64 %36, i64 %37, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %35, i64 %2, i64 %1)\n %39 = load i8, i8* %sv_3.0.reload, align 1\n %40 = icmp eq i8 %39, 0\n %41 = icmp eq i1 %40, false\n store i8* %sv_3.0.reload, i8** %sv_3.116.reg2mem\n store i8* %sv_3.0.reload, i8** %sv_3.1.lcssa.reg2mem\n br i1 %41, label LBL_12, label LBL_13\n LBL_12:\n %sv_3.116.reload = load i8*, i8** %sv_3.116.reg2mem\n %42 = ptrtoint i8* %sv_3.116.reload to i64\n %43 = add i64 %42, 1\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = icmp eq i8 %45, 0\n %47 = icmp eq i1 %46, false\n store i8* %44, i8** %sv_3.116.reg2mem\n store i8* %44, i8** %sv_3.1.lcssa.reg2mem\n br i1 %47, label LBL_12, label LBL_13\n LBL_13:\n %sv_3.1.lcssa.reload = load i8*, i8** %sv_3.1.lcssa.reg2mem\n %48 = icmp eq i64 %33, %5\n %49 = icmp eq i1 %48, false\n store i64 %33, i64* %sv_4.115.reg2mem\n store i8* %sv_3.1.lcssa.reload, i8** %sv_3.314.reg2mem\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n br i1 %49, label LBL_14, label LBL_17\n LBL_14:\n %sv_3.314.reload = load i8*, i8** %sv_3.314.reg2mem\n %sv_4.115.reload = load i64, i64* %sv_4.115.reg2mem\n %50 = add i64 %sv_4.115.reload, -8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = ptrtoint i8* %sv_3.314.reload to i64\n %54 = sub i64 %6, %53\n %55 = call i64 @FUNC(i64 %53, i64 %54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %52, i64 %2, i64 %1)\n %56 = load i8, i8* %sv_3.314.reload, align 1\n %57 = icmp eq i8 %56, 0\n %58 = icmp eq i1 %57, false\n store i8* %sv_3.314.reload, i8** %sv_3.213.reg2mem\n store i8* %sv_3.314.reload, i8** %sv_3.2.lcssa.reg2mem\n br i1 %58, label LBL_15, label LBL_16\n LBL_15:\n %sv_3.213.reload = load i8*, i8** %sv_3.213.reg2mem\n %59 = ptrtoint i8* %sv_3.213.reload to i64\n %60 = add i64 %59, 1\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = icmp eq i8 %62, 0\n %64 = icmp eq i1 %63, false\n store i8* %61, i8** %sv_3.213.reg2mem\n store i8* %61, i8** %sv_3.2.lcssa.reg2mem\n br i1 %64, label LBL_15, label LBL_16\n LBL_16:\n %sv_3.2.lcssa.reload = load i8*, i8** %sv_3.2.lcssa.reg2mem\n %65 = icmp eq i64 %50, %5\n %66 = icmp eq i1 %65, false\n store i64 %50, i64* %sv_4.115.reg2mem\n store i8* %sv_3.2.lcssa.reload, i8** %sv_3.314.reg2mem\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n br i1 %66, label LBL_14, label LBL_17\n LBL_17:\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 store i32 %sv_2.0.reload, i32* %sv_2.07.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.05.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.08.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.06.reg2mem\n br i1 %8, label LBL_19, label LBL_18\n LBL_18:\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem\n %67 = call i64 @FUNC(i64 %5)\n store i32 %sv_2.07.reload, i32* %sv_2.08.reg2mem\n store i64 %sv_1.05.reload, i64* %sv_1.06.reg2mem\n br label LBL_19\n LBL_19:\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem\n %68 = icmp eq i64 %sv_1.06.reload, 0\n br i1 %68, label LBL_21, label LBL_20\n LBL_20:\n %69 = call i64 @FUNC(i64 %sv_1.06.reload)\n br label LBL_21\n LBL_21:\n %70 = icmp eq i32 %sv_2.08.reload, 0\n %71 = icmp eq i1 %70, false\n %72 = icmp eq i64 %6, 0\n %or.cond = or i1 %72, %71\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_23, label LBL_22\n LBL_22:\n %73 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %sv_4.0.reload, { 2, 0, 1 }\n uselistorder i8* %sv_3.0.reload, { 0, 1, 3, 2 }\n uselistorder i8* %13, { 2, 0, 1 }\n uselistorder i64 %11, { 3, 4, 6, 1, 2, 5, 7, 0, 8, 9 }\n uselistorder i64 %6, { 7, 0, 6, 2, 1, 3, 4, 5, 8 }\n uselistorder i64 %5, { 5, 3, 1, 4, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i8** %sv_3.116.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_4.115.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.314.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.213.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i32* %sv_2.07.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_1.05.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_2.08.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.06.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @BIO_snprintf, { 1, 0 }\n uselistorder i8 0, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 (i64)* @BN_is_zero, { 1, 0 }\n uselistorder i32 0, { 4, 5, 1, 2, 6, 7, 0, 3 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 4, 6, 5, 2, 1, 7, 0, 3 }\n uselistorder i64 (i64)* @OPENSSL_malloc, { 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder label LBL_18, { 2, 1, 0 }\n uselistorder label LBL_17, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hid_reset_14898", "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 br label LBL_4\n LBL_3:\n %16 = add i64 %2, 2056\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @memset(i64* %17, i32 0, i32 1024)\n br label LBL_4\n LBL_4:\n %19 = add i64 %2, 3080\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 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 1, i32* %24, align 4\n %25 = add i64 %2, 3092\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %2, 3096\n %28 = inttoptr i64 %27 to i8*\n store i8 0, i8* %28, align 1\n %29 = call i64 @FUNC(i64 %2)\n ret i64 %29\n\n uselistorder i32 %3, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 0, 7, 9, 8 }\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, 1, 2, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "WriteBlobFloat_9137", "fun_name": "WriteBlobFloat", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i128 %1)\n %4 = trunc i64 %3 to i32\n %5 = call i128 @__asm_movss.1(i32 %4)\n %6 = call i64 @FUNC(i128 %5)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "monitor_qmp_event_14079", "fun_name": "monitor_qmp_event", "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 store i64 %0, i64* %rax.0.reg2mem\n switch i32 %1, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n store i32 0, i32* %arg1, align 4\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 ptrtoint (i32* @gv_0 to i64), i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = add i64 %0, 4\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5, i64 4198732)\n %8 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %9 = add i32 %8, -1\n store i32 %9, i32* bitcast (i64* @gv_1 to i32*), align 8\n %10 = call i64 @FUNC()\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 %0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "spapr_cpu_core_realize_14217", "fun_name": "spapr_cpu_core_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 %.lcssa.reg2mem = alloca i64\n %.reg2mem25 = alloca i32\n %.reg2mem23 = alloca i64\n %storemerge.off09.reg2mem = alloca i32\n %storemerge.off0.lcssa.reg2mem = alloca i32\n %storemerge.off010.reg2mem = alloca i32\n %storemerge.off0611.reg2mem = 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 %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 %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %sv_1, align 8\n %sext = mul i64 %1, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = mul i64 %7, %8\n %10 = call i64 @FUNC(i64 %9)\n store i64 %10, i64* %arg1, align 8\n %11 = trunc i64 %9 to i32\n %12 = icmp eq i32 %11, 0\n store i32 0, i32* %storemerge.off0.lcssa.reg2mem\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = bitcast i64* %sv_0 to i8*\n %14 = and i64 %2, 4294967295\n store i64 %9, i64* %.reg2mem\n store i64 0, i64* %storemerge.off0611.reg2mem\n store i32 0, i32* %storemerge.off010.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.off010.reload = load i32, i32* %storemerge.off010.reg2mem\n %storemerge.off0611.reload = load i64, i64* %storemerge.off0611.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = mul i64 %storemerge.off0611.reload, %7\n %16 = add i64 %15, %.reload\n %17 = call i64 @FUNC(i64 %16, i64 %7, i64 %6)\n %18 = and i64 %storemerge.off0611.reload, 4294967295\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %18)\n %20 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 %16, 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 i32 %storemerge.off010.reload, i32* %storemerge.off09.reg2mem\n br i1 %23, label LBL_5, label LBL_3\n LBL_3:\n %24 = add i32 %storemerge.off010.reload, 1\n %extract.t7 = sext i32 %24 to i64\n %25 = icmp sgt i64 %14, %extract.t7\n store i64 %2, i64* %.reg2mem\n store i64 %extract.t7, i64* %storemerge.off0611.reg2mem\n store i32 %24, i32* %storemerge.off010.reg2mem\n store i32 %24, i32* %storemerge.off0.lcssa.reg2mem\n br i1 %25, label LBL_2, label LBL_4\n LBL_4:\n %storemerge.off0.lcssa.reload = load i32, i32* %storemerge.off0.lcssa.reg2mem\n %26 = call i64 @FUNC(i64 %2, i64 4198901, i64* nonnull %sv_1)\n %27 = load i64, i64* %sv_1, align 8\n %28 = icmp eq i64 %27, 0\n store i32 %storemerge.off0.lcssa.reload, i32* %storemerge.off09.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_8, label LBL_5\n LBL_5:\n %storemerge.off09.reload = load i32, i32* %storemerge.off09.reg2mem\n %29 = add i32 %storemerge.off09.reload, -1\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %2, i64* %.reg2mem23\n store i32 %29, i32* %.reg2mem25\n store i64 %2, i64* %.lcssa.reg2mem\n br i1 %31, label LBL_6, label LBL_7\n LBL_6:\n %.reload26 = load i32, i32* %.reg2mem25\n %.reload24 = load i64, i64* %.reg2mem23\n %32 = sext i32 %.reload26 to i64\n %33 = mul i64 %7, %32\n %34 = add i64 %33, %.reload24\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i32 %.reload26, -1\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %34, i64* %.reg2mem23\n store i32 %36, i32* %.reg2mem25\n store i64 %34, i64* %.lcssa.reg2mem\n br i1 %38, label LBL_6, label LBL_7\n LBL_7:\n %39 = ptrtoint i64* %arg2 to i64\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %40 = call i64 @FUNC(i64 %.lcssa.reload)\n %41 = load i64, i64* %sv_1, align 8\n %42 = call i64 @FUNC(i64 %39, i64 %41)\n store i64 %42, 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 %.reload26, { 1, 0 }\n uselistorder i32 %storemerge.off010.reload, { 1, 0 }\n uselistorder i64 %7, { 0, 3, 1, 2 }\n uselistorder i64* %sv_1, { 2, 3, 0, 4, 1, 5 }\n uselistorder i64 %2, { 0, 1, 4, 2, 5, 3, 6 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.off0611.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.off010.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.off09.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem23, { 2, 0, 1 }\n uselistorder i32* %.reg2mem25, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 4, 3, 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_config_writeb_2284", "fun_name": "virtio_config_writeb", "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 = icmp ult i64 %2, %3\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = urem i64 %arg3, 256\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 = add i64 %9, %2\n %11 = call i64 @FUNC(i64 %10, i64 %5)\n %12 = icmp eq i64 %10, 0\n %spec.select = select i1 %12, i64 0, i64 %6\n ret i64 %spec.select\n LBL_2:\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vcard_emul_mirror_card_15708", "fun_name": "vcard_emul_mirror_card", "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_0.22.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i32\n %storemerge15.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 %sv_4 = alloca i64, align 8\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_11\n LBL_1:\n %3 = call i64 @FUNC(i64 %0, i64 1)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %storemerge15.reg2mem\n store i32 0, i32* %sv_0.04.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_11\n LBL_2:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %storemerge15.reload = load i64, i64* %storemerge15.reg2mem\n %6 = add i32 %sv_0.04.reload, 1\n %7 = call i64 @FUNC(i64 %storemerge15.reload)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %storemerge15.reg2mem\n store i32 %6, i32* %sv_0.04.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_3:\n %10 = icmp eq i32 %6, 0\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 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %13 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_3, i64* nonnull %sv_4, i32 %6)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %3, i64* %storemerge3.reg2mem\n store i32 0, i32* %sv_0.22.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_11\n LBL_6:\n %sv_0.22.reload = load i32, i32* %sv_0.22.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %17 = call i64 @FUNC(i64 1, i64 %storemerge3.reload, i64 1, i64* nonnull %sv_1)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %20, label LBL_9, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC()\n %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_1, i64 0, i64 0, i64 1)\n %23 = call i64 @FUNC(i64* nonnull %sv_1, i64 0)\n %24 = icmp eq i64 %22, 0\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = load i64, i64* %sv_2, align 8\n %26 = sext i32 %sv_0.22.reload to i64\n %27 = mul i64 %26, 8\n %28 = add i64 %25, %27\n %29 = inttoptr i64 %22 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %28 to i64*\n store i64 %30, i64* %31, align 8\n %32 = load i64, i64* %sv_3, align 8\n %33 = mul i64 %26, 4\n %34 = add i64 %32, %33\n %35 = add i64 %22, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = inttoptr i64 %34 to i32*\n store i32 %37, i32* %38, align 4\n %39 = load i64, i64* %sv_4, align 8\n %40 = add i64 %39, %27\n %41 = call i64 @FUNC(i64 %0, i64 %22)\n %42 = inttoptr i64 %40 to i64*\n store i64 %41, i64* %42, align 8\n %43 = add i32 %sv_0.22.reload, 1\n %44 = call i64 @FUNC(i64 %22)\n store i32 %43, i32* %sv_0.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %45 = call i64 @FUNC(i64 %storemerge3.reload)\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %45, i64* %storemerge3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.22.reg2mem\n br i1 %47, label LBL_6, label LBL_10\n LBL_10:\n %48 = load i64, i64* %sv_4, align 8\n %49 = load i64, i64* %sv_3, align 8\n %50 = load i64, i64* %sv_2, align 8\n %51 = zext i32 %sv_0.1.reload to i64\n %52 = call i64 @FUNC(i64 %arg1, i64 %50, i64 %49, i64 %48, i64 %51)\n store i64 %52, 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 %27, { 1, 0 }\n uselistorder i32 %sv_0.22.reload, { 2, 3, 0, 1 }\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64* %sv_4, { 1, 2, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0 }\n uselistorder i64* %storemerge15.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.22.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64)* @PK11_GetNextGenericObject, { 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 4, 1 }\n uselistorder i64 1, { 1, 3, 2, 4, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 1, { 13, 14, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_11, { 3, 0, 4, 1, 2 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_malloc_2500", "fun_name": "av_malloc", "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, 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 ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %2 = icmp ult i64 %arg1, 2147483616\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_3, label LBL_4\n LBL_3:\n %3 = trunc i64 %arg1 to i32\n %4 = call i64* @malloc(i32 %3)\n %5 = ptrtoint i64* %4 to i64\n store i64 %5, 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 %arg1, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "FixSDTPInTRAF_6007", "fun_name": "FixSDTPInTRAF", "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.0.reg2mem = alloca i64\n %rcx.3.reg2mem = alloca i64\n %.reg2mem68 = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %.reg2mem66 = alloca i64\n %.reg2mem64 = alloca i32\n %rcx.1.lcssa.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.lcssa33.reg2mem = alloca i64\n %rcx.010.lcssa.reg2mem = alloca i64\n %indvars.iv26.lcssa.reg2mem = alloca i64\n %rcx.0.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %indvars.iv2639.reg2mem = alloca i64\n %indvars.iv40.reg2mem = alloca i64\n %.in48.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.113.reg2mem = alloca i32\n %rcx.114.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %rcx.417.reg2mem = alloca i64\n %rdi.118.reg2mem = alloca i64\n %indvars.iv28.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %3 = icmp eq i64 %arg1, 0\n br i1 %3, label LBL_19, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %indvars.iv28.reg2mem\n store i64 %arg1, i64* %rdi.118.reg2mem\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_19, label LBL_2\n LBL_2:\n %rcx.417.reload = load i64, i64* %rcx.417.reg2mem\n %rdi.118.reload = load i64, i64* %rdi.118.reg2mem\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %7 = call i64 @FUNC(i64 %rdi.118.reload, i64 %indvars.iv28.reload)\n %8 = add i64 %7, 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 %rcx.417.reload, i64* %rcx.3.reg2mem\n store i64 %rdi.118.reload, i64* %rdi.0.reg2mem\n br i1 %11, label LBL_18, label LBL_3\n LBL_3:\n store i32 0, i32* %sv_1, align 4\n %12 = inttoptr i64 %10 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %7, 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 = trunc i64 %17 to i32\n %19 = icmp eq i32 %13, %18\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = inttoptr i64 %7 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 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 1, i64 3, i64 %25, i64 %rcx.417.reload, i64 %2, i64 %1)\n br label LBL_5\n LBL_5:\n %27 = load i64, i64* %15, align 8\n %28 = call i64 @FUNC(i64 %27, i32* nonnull %sv_1)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %.in.reg2mem\n store i64 %rcx.417.reload, i64* %rcx.114.reg2mem\n store i32 0, i32* %sv_0.113.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n store i64 %rcx.417.reload, i64* %rcx.1.lcssa.reg2mem\n br i1 %30, label LBL_6, label LBL_134\n LBL_6:\n %sv_0.113.reload = load i32, i32* %sv_0.113.reg2mem\n %rcx.114.reload = load i64, i64* %rcx.114.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %31 = inttoptr i64 %.in.reload to i32*\n %32 = load i32, i32* %31, align 4\n %33 = and i32 %32, -4\n %34 = or i32 %33, 1\n store i32 %34, i32* %31, align 4\n %35 = add i64 %.in.reload, 4\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n store i32 %sv_0.113.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %rcx.114.reload, i64* %rcx.0.lcssa.reg2mem\n br i1 %38, label LBL_12, label LBL_7\n LBL_7:\n %39 = zext i32 %sv_0.113.reload to i64\n %40 = load i64, i64* %9, align 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp ult i32 %sv_0.113.reload, %42\n store i64 %39, i64* %indvars.iv26.lcssa.reg2mem\n store i64 %rcx.114.reload, i64* %rcx.010.lcssa.reg2mem\n store i64 %40, i64* %.lcssa33.reg2mem\n store i32 %42, i32* %.lcssa.reg2mem\n br i1 %43, label LBL_8, label LBL_13\n LBL_8:\n %44 = add i64 %.in.reload, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n store i64 %40, i64* %.reg2mem\n store i64 %46, i64* %.in48.reg2mem\n store i64 0, i64* %indvars.iv40.reg2mem\n store i64 %39, i64* %indvars.iv2639.reg2mem\n br label LBL_10\n LBL_9:\n %indvars.iv.next27 = add nuw nsw i64 %indvars.iv2639.reload, 1\n %47 = load i64, i64* %45, align 8\n %48 = mul i64 %indvars.iv.next, 4\n %49 = add i64 %47, %48\n %50 = load i64, i64* %9, 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 = icmp ult i64 %indvars.iv.next27, %53\n store i64 %50, i64* %.reg2mem\n store i64 %49, i64* %.in48.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv40.reg2mem\n store i64 %indvars.iv.next27, i64* %indvars.iv2639.reg2mem\n store i64 %indvars.iv.next27, i64* %indvars.iv26.lcssa.reg2mem\n store i64 %62, i64* %rcx.010.lcssa.reg2mem\n store i64 %50, i64* %.lcssa33.reg2mem\n store i32 %52, i32* %.lcssa.reg2mem\n br i1 %54, label LBL_10, label LBL_13\n LBL_10:\n %indvars.iv2639.reload = load i64, i64* %indvars.iv2639.reg2mem\n %indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem\n %.in48.reload = load i64, i64* %.in48.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %55 = inttoptr i64 %.in48.reload to i32*\n %56 = add i64 %.reload, 8\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = add i64 %58, %indvars.iv2639.reload\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = zext i8 %61 to i64\n %63 = udiv i8 %61, 4\n %64 = zext i8 %63 to i64\n %65 = udiv i8 %61, 16\n %66 = zext i8 %65 to i64\n %67 = udiv i8 %61, 64\n %68 = zext i8 %67 to i64\n %69 = call i64 @FUNC(i64 %68, i64 %66, i64 %64, i8 %61)\n %70 = trunc i64 %69 to i32\n %71 = load i32, i32* %55, align 4\n %72 = or i32 %71, %70\n store i32 %72, i32* %55, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv40.reload, 1\n %73 = load i32, i32* %36, align 4\n %74 = zext i32 %73 to i64\n %75 = icmp ult i64 %indvars.iv.next, %74\n br i1 %75, label LBL_9, label LBL_11\n LBL_11:\n %76 = trunc i64 %indvars.iv2639.reload to i32\n %77 = add i32 %76, 1\n store i32 %77, i32* %sv_0.0.lcssa.reg2mem\n store i64 %62, i64* %rcx.0.lcssa.reg2mem\n br label LBL_12\n LBL_12:\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %78 = load i64, i64* %15, align 8\n %79 = call i64 @FUNC(i64 %78, i32* nonnull %sv_1)\n %80 = icmp eq i64 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 %79, i64* %.in.reg2mem\n store i64 %rcx.0.lcssa.reload, i64* %rcx.114.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.113.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.lcssa.reg2mem\n store i64 %rcx.0.lcssa.reload, i64* %rcx.1.lcssa.reg2mem\n br i1 %81, label LBL_6, label LBL_134\n LBL_13:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.lcssa33.reload = load i64, i64* %.lcssa33.reg2mem\n %rcx.010.lcssa.reload = load i64, i64* %rcx.010.lcssa.reg2mem\n %indvars.iv26.lcssa.reload = load i64, i64* %indvars.iv26.lcssa.reg2mem\n %82 = trunc i64 %indvars.iv26.lcssa.reload to i32\n store i32 %.lcssa.reload, i32* %.reg2mem64\n store i64 %.lcssa33.reload, i64* %.reg2mem66\n store i32 %82, i32* %sv_0.2.reg2mem\n store i64 %rcx.010.lcssa.reload, i64* %rcx.2.reg2mem\n br label LBL_15\n LBL_14:\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %.pre = load i64, i64* %9, align 8\n %.phi.trans.insert = inttoptr i64 %.pre to i32*\n %.pre30 = load i32, i32* %.phi.trans.insert, align 4\n store i32 %.pre30, i32* %.reg2mem64\n store i64 %.pre, i64* %.reg2mem66\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem\n store i64 %rcx.1.lcssa.reload, i64* %rcx.2.reg2mem\n br label LBL_15\n LBL_15:\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %.reload67 = load i64, i64* %.reg2mem66\n %.reload65 = load i32, i32* %.reg2mem64\n %83 = icmp eq i32 %sv_0.2.reload, %.reload65\n store i64 %.reload67, i64* %.reg2mem68\n br i1 %83, label LBL_17, label LBL_16\n LBL_16:\n %84 = zext i32 %.reload65 to i64\n %85 = call i64 @FUNC(i64 2, i64 3, i64 %84, i64 %rcx.2.reload, i64 %2, i64 %1)\n %.pre31 = load i64, i64* %9, align 8\n store i64 %.pre31, i64* %.reg2mem68\n br label LBL_17\n LBL_17:\n %.reload69 = load i64, i64* %.reg2mem68\n %86 = add i64 %7, 24\n %87 = call i64 @FUNC(i64 %86, i64 %.reload69)\n store i64 0, i64* %9, align 8\n store i64 %rcx.2.reload, i64* %rcx.3.reg2mem\n store i64 %86, i64* %rdi.0.reg2mem\n br label LBL_18\n LBL_18:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %rcx.3.reload = load i64, i64* %rcx.3.reg2mem\n %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1\n %88 = call i64 @FUNC(i64 %rdi.0.reload)\n %89 = and i64 %88, 4294967295\n %90 = icmp ult i64 %indvars.iv.next29, %89\n store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.118.reg2mem\n store i64 %rcx.3.reload, i64* %rcx.417.reg2mem\n store i64 %88, i64* %rax.0.reg2mem\n br i1 %90, label LBL_2, 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 %rdi.0.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.next, { 2, 1, 0 }\n uselistorder i64 %62, { 1, 0 }\n uselistorder i8 %61, { 3, 0, 1, 2, 4 }\n uselistorder i32* %55, { 1, 0 }\n uselistorder i64 %indvars.iv2639.reload, { 2, 0, 1 }\n uselistorder i64* %45, { 1, 0 }\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i32* %36, { 1, 0 }\n uselistorder i32* %31, { 1, 0 }\n uselistorder i64 %.in.reload, { 2, 1, 0 }\n uselistorder i32 %sv_0.113.reload, { 2, 1, 0 }\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64* %9, { 3, 1, 2, 4, 0, 5 }\n uselistorder i64 %7, { 1, 0, 2, 3 }\n uselistorder i64 %rcx.417.reload, { 1, 2, 3, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv28.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.118.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.417.reg2mem, { 1, 0 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.114.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.113.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem68, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i32*)* @gf_list_enum, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @GF_LOG, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 2, 0, 1, 4, 3 }\n uselistorder i64 (i64)* @gf_list_count, { 1, 2, 0 }\n uselistorder i32 1, { 32, 30, 31, 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, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\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": "slip_open_7014", "fun_name": "slip_open", "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 %sv_0.0.reg2mem = alloca i64\n %.pre-phi3.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 %3 = icmp eq i1 %2, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_12\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = add i64 %4, 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_3, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %9 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 305419896\n store i64 3, i64* %sv_0.1.reg2mem\n br i1 %13, label LBL_11, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %4)\n %15 = and i64 %14, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = icmp eq i64 %16, 0\n store i64 4, i64* %sv_0.1.reg2mem\n br i1 %17, label LBL_11, label LBL_4\n LBL_4:\n %18 = add i64 %16, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %4, i64* %19, align 8\n store i64 %16, i64* %8, align 8\n %20 = call i64 @FUNC(i64 %4)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %16, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = load i64, i64* @gv_0, align 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %16, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %16, 24\n %30 = call i64 @FUNC(i64 0, i64 %29)\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_4.LBL_8_crit_edge, label LBL_6\n LBL_5:\n %.pre = add i64 %16, 32\n %.pre2 = inttoptr i64 %.pre to i64*\n store i64* %.pre2, i64** %.pre-phi3.reg2mem\n br label LBL_8\n LBL_6:\n %34 = call i64 @FUNC(i64 %16, i64 1500)\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.0.reg2mem\n br i1 %37, label LBL_10, label LBL_7\n LBL_7:\n %38 = call i64 @FUNC(i64 0, i64 %29)\n %39 = add i64 %16, 32\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, 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 store i64* %40, i64** %.pre-phi3.reg2mem\n br i1 %45, label LBL_9, label LBL_8\n LBL_8:\n %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem\n %46 = call i64 @FUNC()\n %47 = add i64 %4, 16\n %48 = inttoptr i64 %47 to i32*\n store i32 65536, i32* %48, align 4\n %49 = load i64, i64* %.pre-phi3.reload, align 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %52 = call i64 @FUNC(i64 %16)\n store i64 %42, 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 store i64 0, i64* %19, align 8\n store i64 0, i64* %8, align 8\n %53 = call i64 @FUNC(i64 0, i64 %29)\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 %54 = call i64 @FUNC()\n %55 = and i64 %sv_0.1.reload, 4294967295\n store i64 %55, 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 %29, { 1, 0, 2 }\n uselistorder i64 %16, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 ()* @rtnl_unlock, { 1, 0 }\n uselistorder i64 32, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @tty_devnum, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder label LBL_12, { 1, 2, 0 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h264_new_context_2832", "fun_name": "h264_new_context", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 16)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fxIDToString_6946", "fun_name": "fxIDToString", "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 %storemerge.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* %arg3 to i64\n %5 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_13, label LBL_1\n LBL_1:\n %9 = trunc i64 %3 to i32\n %10 = trunc i64 %6 to i32\n %11 = urem i32 %10, 32768\n %12 = icmp ult i32 %11, %9\n br i1 %12, label LBL_2, label LBL_12\n LBL_2:\n %13 = ptrtoint i32* %arg1 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 ult i32 %11, %16\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %18 = mul i32 %11, 8\n %sext3 = zext i32 %18 to i64\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %sext3\n store i64 %22, i64* %storemerge.in.in.reg2mem\n br label LBL_5\n LBL_4:\n %23 = add i64 %13, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = sub i32 %11, %16\n %27 = sext i32 %26 to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %25, %28\n store i64 %29, 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 i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %30 = icmp eq i64 %storemerge, 0\n br i1 %30, label LBL_11, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %storemerge)\n %32 = trunc i64 %31 to i32\n %33 = icmp ne i32 %32, 0\n %34 = icmp eq i32 %32, 1\n %35 = icmp eq i1 %34, false\n %or.cond = icmp eq i1 %33, %35\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %36 = inttoptr i64 %storemerge to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %4, i64 %arg4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %37, i64 %2, i64 %1)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %39 = icmp ne i32 %32, 2\n %40 = icmp eq i32 %32, 3\n %41 = icmp eq i1 %40, false\n %or.cond7 = icmp eq i1 %39, %41\n br i1 %or.cond7, label LBL_10, label LBL_9\n LBL_9:\n %42 = inttoptr i64 %storemerge to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %4, i64 %arg4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %43, i64 %2, i64 %1)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_10:\n %45 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %45, align 1\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %46 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %46, align 1\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_12:\n %47 = bitcast i64* %arg3 to i8*\n store i8 63, i8* %47, align 1\n %48 = add i64 %4, 1\n %49 = inttoptr i64 %48 to i8*\n store i8 0, i8* %49, align 1\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %50 = ptrtoint i32* %arg1 to i64\n %51 = add i64 %50, 24\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = trunc i64 %6 to i32\n %55 = call i64 @FUNC(i64 %53, i32 %54, i64 %4, i64 %arg4)\n store i64 %55, 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 %32, { 0, 2, 1, 3 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i32 %11, { 2, 0, 3, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %4, { 5, 2, 1, 0, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 2, 3, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @c_snprintf, { 1, 0 }\n uselistorder i64 %arg4, { 2, 0, 1 }\n uselistorder i64* %arg3, { 2, 0, 1, 3 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_add_buffers_5741", "fun_name": "io_add_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %storemerge1.lcssa.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i32\n %storemerge14.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 br i1 %4, label LBL_4.thread, 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, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %storemerge14.reg2mem\n store i32 %7, i32* %sv_1.03.reg2mem\n store i64 %0, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %10 = call i64 @FUNC(i64 32, i64 0)\n %11 = icmp eq i64 %10, 0\n store i32 %storemerge14.reload, i32* %storemerge1.lcssa.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem\n %12 = inttoptr i64 %10 to i64*\n store i64 %sv_0.02.reload, i64* %12, align 8\n %13 = load i32, i32* %9, align 4\n %14 = icmp ult i32 %13, 1024\n %15 = select i1 %14, i32 %13, i32 1024\n %16 = add i64 %10, 8\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = add i64 %10, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 %sv_1.03.reload, i32* %19, align 4\n %20 = load i32, i32* %9, align 4\n %21 = zext i32 %20 to i64\n %22 = add i64 %sv_0.02.reload, %21\n %23 = add i32 %sv_1.03.reload, 1\n %24 = add i64 %10, 16\n %25 = call i64 @FUNC(i64 %24)\n store i64 %10, i64* %arg2, align 8\n %26 = add i32 %storemerge14.reload, 1\n %27 = load i32, i32* %2, 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 i32 %26, i32* %storemerge14.reg2mem\n store i32 %23, i32* %sv_1.03.reg2mem\n store i64 %22, i64* %sv_0.02.reg2mem\n store i32 %26, i32* %storemerge1.lcssa.reg2mem\n br i1 %30, label LBL_2, label LBL_4\n LBL_4:\n %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem\n %31 = icmp eq i32 %storemerge1.lcssa.reload, 0\n store i32 %storemerge1.lcssa.reload, i32* %.reg2mem\n br i1 %31, label LBL_4.thread, label %32\n LBL_5:\n store i32 -12, i32* %.reg2mem\n br label %32\n\n uselistorder i64 %sv_0.02.reload, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 %storemerge14.reload, { 1, 0 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label %32, { 1, 0 }\n uselistorder label LBL_4.thread, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ExpandMirrorKernelInfo_12699", "fun_name": "ExpandMirrorKernelInfo", "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 180)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = inttoptr i64 %2 to i64*\n store i64 %0, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %4, i64 90)\n %6 = call i64 @FUNC(i64 %0)\n %7 = inttoptr i64 %6 to i64*\n store i64 %4, i64* %7, align 8\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 %8, i64 180)\n %10 = call i64 @FUNC(i64 %4)\n %11 = inttoptr i64 %10 to i64*\n store i64 %8, i64* %11, align 8\n ret i64 %10\n\n uselistorder i64 %10, { 1, 0 }\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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "hmp_info_cpustats_1502", "fun_name": "hmp_info_cpustats", "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()\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 %5, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, 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 %6, i64 %5, i64 4198932, i64 0)\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* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "img_convert_54", "fun_name": "img_convert", "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 %sv_1.1.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 %sv_5.7.reg2mem = alloca i32\n %sv_6.3.reg2mem = alloca i32\n %sv_5.6.reg2mem = alloca i32\n %.reg2mem481 = alloca i8*\n %sv_6.2.lcssa.reg2mem = alloca i32\n %sv_5.5.lcssa.reg2mem = alloca i32\n %.reg2mem479 = alloca i8*\n %sv_5.4.reg2mem = alloca i32\n %sv_5.5108.reg2mem = alloca i32\n %sv_6.2109.reg2mem = alloca i32\n %sv_7.3110.reg2mem = alloca i32\n %storemerge19111.reg2mem = alloca i64\n %sv_7.2.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i64\n %.lcssa29.reg2mem = alloca i32\n %.lcssa30.reg2mem = alloca i64\n %.lcssa33.reg2mem = alloca i64\n %sv_8.4.lcssa.reg2mem = alloca i32\n %sv_9.4.lcssa.reg2mem = alloca i32\n %.reg2mem477 = alloca i32\n %sv_9.4101.reg2mem = alloca i32\n %sv_8.4102.reg2mem = alloca i32\n %.reg2mem475 = alloca i32\n %sv_5.3114.reg2mem = alloca i32\n %sv_9.3115.reg2mem = alloca i32\n %sv_8.3116.reg2mem = alloca i32\n %sv_6.1117.reg2mem = alloca i32\n %.reg2mem473 = alloca i64\n %.reg2mem471 = alloca i32\n %.reg2mem469 = alloca i8*\n %sv_5.0.lcssa.reg2mem = alloca i32\n %sv_5.2.reg2mem = alloca i32\n %.lcssa47.reg2mem = alloca i1\n %sv_8.2.lcssa.reg2mem = alloca i32\n %sv_9.2.lcssa.reg2mem = alloca i32\n %sv_5.1.lcssa.reg2mem = alloca i32\n %sv_9.2125.reg2mem = alloca i32\n %sv_8.2126.reg2mem = alloca i32\n %sv_10.1127.reg2mem = alloca i64\n %sv_11.0128.reg2mem = alloca i32\n %sv_12.0129.reg2mem = alloca i64\n %.reg2mem467 = alloca i32\n %.lcssa46.reg2mem = alloca i64\n %sv_10.0.lcssa.reg2mem = alloca i64\n %sv_8.1.lcssa.reg2mem = alloca i32\n %sv_9.1.lcssa.reg2mem = alloca i32\n %.reg2mem465 = alloca i32\n %.reg2mem463 = alloca i32\n %sv_9.1119.reg2mem = alloca i32\n %sv_8.1120.reg2mem = alloca i32\n %.reg2mem461 = alloca i32\n %sv_5.0134.reg2mem = alloca i32\n %sv_9.0135.reg2mem = alloca i32\n %sv_8.0136.reg2mem = alloca i32\n %sv_6.0137.reg2mem = alloca i32\n %.reg2mem459 = alloca i64\n %.reg2mem457 = alloca i32\n %.reg2mem455 = alloca i8*\n %sv_1.0.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rsi.1.lcssa.reg2mem = alloca i64\n %rdx.0.lcssa.reg2mem = alloca i64\n %rcx.0.lcssa.reg2mem = alloca i64\n %sv_13.0.lcssa.reg2mem = alloca i128\n %.reg2mem453 = alloca i8*\n %indvars.iv254340.reg2mem = alloca i64\n %sv_13.0139.off0341.reg2mem = alloca i64\n %.reg2mem451 = alloca i64\n %.reg2mem449 = alloca i64\n %.lcssa291.reg2mem = alloca i64\n %.lcssa293.reg2mem = alloca i32\n %rsi.0.reg2mem = alloca i64\n %sv_14.1.reg2mem = alloca i32\n %sv_15.1.reg2mem = alloca i32\n %.reg2mem447 = alloca i64\n %.reg2mem445 = alloca i64\n %.reg2mem443 = alloca i64\n %.reg2mem441 = alloca i64\n %.reg2mem439 = alloca i64\n %.reg2mem437 = alloca i64\n %sv_16.0.ph27.reg2mem = alloca i32\n %sv_14.0.ph.reg2mem = alloca i32\n %sv_16.0.ph.reg2mem = alloca i32\n %sv_15.0.ph.reg2mem = alloca i32\n %.reg2mem435 = alloca i64\n %.reg2mem433 = alloca i64\n %.reg2mem431 = alloca i64\n %.reg2mem429 = alloca i64\n %.reg2mem427 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_17 = alloca i32, align 4\n %sv_18 = alloca i32, align 4\n %sv_19 = alloca i32, align 4\n %sv_20 = alloca i32, align 4\n %sv_21 = alloca i8*, align 8\n %sv_22 = alloca i8*, align 8\n %sv_23 = alloca i8*, align 8\n %sv_24 = alloca i8*, align 8\n %sv_25 = alloca i8*, align 8\n %sv_26 = alloca i8*, align 8\n %sv_27 = alloca i8*, align 8\n %sext = mul i64 %arg1, 4294967296\n store i8* null, i8** %sv_27, align 8\n store i8* null, i8** %sv_26, align 8\n store i8* null, i8** %sv_25, align 8\n store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8** %sv_24, align 8\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8** %sv_23, align 8\n store i8* null, i8** %sv_22, align 8\n %3 = trunc i64 %arg1 to i32\n %4 = inttoptr i64 %arg2 to i8**\n %5 = bitcast i8** %sv_21 to i64*\n %6 = bitcast i8** %sv_23 to i64*\n %7 = bitcast i8** %sv_26 to i64*\n %8 = bitcast i8** %sv_27 to i64*\n %9 = bitcast i8** %sv_25 to i64*\n %10 = bitcast i8** %sv_24 to i64*\n %11 = bitcast i8** %sv_22 to i64*\n store i64 0, i64* %.reg2mem\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %.reg2mem427\n store i64 0, i64* %.reg2mem429\n store i64 0, i64* %.reg2mem431\n store i64 0, i64* %.reg2mem433\n store i64 ptrtoint ([7 x i8]* @gv_1 to i64), i64* %.reg2mem435\n store i32 0, i32* %sv_15.0.ph.reg2mem\n store i32 8, i32* %sv_16.0.ph.reg2mem\n store i32 0, i32* %sv_14.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_14.0.ph.reload = load i32, i32* %sv_14.0.ph.reg2mem\n %sv_16.0.ph.reload = load i32, i32* %sv_16.0.ph.reg2mem\n %sv_15.0.ph.reload = load i32, i32* %sv_15.0.ph.reg2mem\n %.reload436 = load i64, i64* %.reg2mem435\n %.reload434 = load i64, i64* %.reg2mem433\n %.reload432 = load i64, i64* %.reg2mem431\n %.reload430 = load i64, i64* %.reg2mem429\n %.reload428 = load i64, i64* %.reg2mem427\n %.reload = load i64, i64* %.reg2mem\n store i32 %sv_16.0.ph.reload, i32* %sv_16.0.ph27.reg2mem\n br label LBL_126\n LBL_2:\n %sv_16.0.ph27.reload = load i32, i32* %sv_16.0.ph27.reg2mem\n br label LBL_3\n LBL_3:\n %12 = call i32 @getopt(i32 %3, i8** %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n %13 = icmp eq i32 %12, -1\n br i1 %13, label LBL_19, label LBL_4\n LBL_4:\n %14 = add i32 %12, -54\n %15 = zext i32 %14 to i64\n store i64 %15, i64* @0, align 8\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 1, i32* %sv_14.1.reg2mem\n switch i32 %12, label LBL_3 [\n i32 54, label LBL_10\n i32 63, label LBL_5\n i32 66, label LBL_8\n i32 79, label LBL_7\n i32 83, label LBL_13\n i32 99, label LBL_18\n i32 101, label LBL_9\n i32 102, label LBL_6\n i32 104, label LBL_5\n i32 111, label LBL_11\n i32 112, label LBL_17\n i32 115, label LBL_12\n i32 116, label LBL_16\n ]\n LBL_5:\n %16 = call i64 @FUNC()\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_6:\n %17 = load i8*, i8** @gv_3, align 8\n %18 = ptrtoint i8* %17 to i64\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %18, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_7:\n %19 = load i8*, i8** @gv_3, align 8\n %20 = ptrtoint i8* %19 to i64\n store i64 %.reload, i64* %.reg2mem437\n store i64 %20, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_8:\n %21 = load i8*, i8** @gv_3, align 8\n %22 = ptrtoint i8* %21 to i64\n store i64 %22, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_9:\n store i64 %.reload436, i64* %6, align 8\n store i64 %.reload434, i64* %7, align 8\n store i64 %.reload432, i64* %8, align 8\n store i64 %.reload430, i64* %9, align 8\n store i64 %.reload428, i64* %10, align 8\n store i64 %.reload, i64* %11, align 8\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_4, i64 0, i64 0), i64 %arg2, i64 ptrtoint ([20 x i8]* @gv_2 to i64), i64 %arg2, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_127\n LBL_10:\n store i64 %.reload436, i64* %6, align 8\n store i64 %.reload434, i64* %7, align 8\n store i64 %.reload432, i64* %8, align 8\n store i64 %.reload430, i64* %9, align 8\n store i64 %.reload428, i64* %10, align 8\n store i64 %.reload, i64* %11, align 8\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i64 %arg2, i64 ptrtoint ([20 x i8]* @gv_2 to i64), i64 %arg2, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_127\n LBL_11:\n %25 = load i8*, i8** @gv_3, align 8\n %26 = ptrtoint i8* %25 to i64\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %26, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_12:\n %27 = load i8*, i8** @gv_3, align 8\n %28 = ptrtoint i8* %27 to i64\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %28, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_13:\n %29 = load i8*, i8** @gv_3, align 8\n %30 = ptrtoint i8* %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64* nonnull %5, i64 0)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n br i1 %33, label LBL_15, label LBL_14\n LBL_14:\n %34 = load i8*, i8** %sv_21, align 8\n %35 = load i8, i8* %34, align 1\n %36 = icmp eq i8 %35, 0\n %37 = udiv i64 %31, 512\n %38 = trunc i64 %37 to i32\n %39 = urem i32 %38, 8388608\n store i32 %39, i32* %sv_16.0.ph27.reg2mem\n br i1 %36, label LBL_126, label LBL_15\n LBL_15:\n store i64 %.reload436, i64* %6, align 8\n store i64 %.reload434, i64* %7, align 8\n store i64 %.reload432, i64* %8, align 8\n store i64 %.reload430, i64* %9, align 8\n store i64 %.reload428, i64* %10, align 8\n store i64 %.reload, i64* %11, align 8\n %40 = ptrtoint i8** %sv_21 to i64\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_6, i64 0, i64 0), i64 %40, i64 0, i64 %40, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_127\n LBL_16:\n %42 = load i8*, i8** @gv_3, align 8\n %43 = ptrtoint i8* %42 to i64\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %43, i64* %.reg2mem447\n store i32 %sv_15.0.ph.reload, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_17:\n store i64 %.reload, i64* %.reg2mem437\n store i64 %.reload428, i64* %.reg2mem439\n store i64 %.reload430, i64* %.reg2mem441\n store i64 %.reload432, i64* %.reg2mem443\n store i64 %.reload434, i64* %.reg2mem445\n store i64 %.reload436, i64* %.reg2mem447\n store i32 1, i32* %sv_15.1.reg2mem\n store i32 %sv_14.0.ph.reload, i32* %sv_14.1.reg2mem\n br label LBL_18\n LBL_18:\n %sv_14.1.reload = load i32, i32* %sv_14.1.reg2mem\n %sv_15.1.reload = load i32, i32* %sv_15.1.reg2mem\n %.reload448 = load i64, i64* %.reg2mem447\n %.reload446 = load i64, i64* %.reg2mem445\n %.reload444 = load i64, i64* %.reg2mem443\n %.reload442 = load i64, i64* %.reg2mem441\n %.reload440 = load i64, i64* %.reg2mem439\n %.reload438 = load i64, i64* %.reg2mem437\n store i64 %.reload438, i64* %.reg2mem\n store i64 %.reload440, i64* %.reg2mem427\n store i64 %.reload442, i64* %.reg2mem429\n store i64 %.reload444, i64* %.reg2mem431\n store i64 %.reload446, i64* %.reg2mem433\n store i64 %.reload448, i64* %.reg2mem435\n store i32 %sv_15.1.reload, i32* %sv_15.0.ph.reg2mem\n store i32 %sv_16.0.ph27.reload, i32* %sv_16.0.ph.reg2mem\n store i32 %sv_14.1.reload, i32* %sv_14.0.ph.reg2mem\n br label LBL_1\n LBL_19:\n store i64 %.reload436, i64* %6, align 8\n store i64 %.reload434, i64* %7, align 8\n store i64 %.reload432, i64* %8, align 8\n store i64 %.reload430, i64* %9, align 8\n store i64 %.reload428, i64* %10, align 8\n store i64 %.reload, i64* %11, align 8\n %44 = load i32, i32* @gv_7, align 4\n %45 = sub i32 0, %44\n %46 = sub i32 %45, 1\n %47 = add i32 %46, %3\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 br i1 %52, label LBL_21, label LBL_20\n LBL_20:\n %53 = call i64 @FUNC()\n br label LBL_21\n LBL_21:\n %54 = ashr exact i64 %sext, 29\n %55 = add i64 %arg2, -8\n %56 = add i64 %55, %54\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = call i128 @FUNC(i64 4611686018427387904)\n %60 = zext i32 %sv_15.0.ph.reload to i64\n %61 = call i64 @FUNC(i64 %60)\n %62 = icmp eq i64 %.reload432, 0\n store i64 %arg2, i64* %rsi.0.reg2mem\n br i1 %62, label LBL_24, label LBL_22\n LBL_22:\n %63 = inttoptr i64 %.reload432 to i8*\n %64 = call i32 @strcmp(i8* nonnull %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0))\n %65 = icmp eq i32 %64, 0\n %66 = icmp eq i1 %65, false\n store i64 ptrtoint ([2 x i8]* @gv_8 to i64), i64* %rsi.0.reg2mem\n br i1 %66, label LBL_24, label LBL_23\n LBL_23:\n %67 = call i64 @FUNC(i64 %58, i64 %.reload428)\n %68 = trunc i64 %67 to i32\n store i32 %68, i32* %sv_5.7.reg2mem\n store i64 0, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_24:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %69 = icmp slt i32 %47, 2\n %70 = icmp eq i64 %.reload, 0\n %or.cond = or i1 %70, %69\n br i1 %or.cond, label LBL_26, label LBL_25\n LBL_25:\n %71 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_9, i64 0, i64 0), i64 %rsi.0.reload, i64 4611686018427387904, i64 %arg2, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 0, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_26:\n %72 = inttoptr i64 %.reload434 to i8*\n %73 = call i128 @__asm_movss.1(i32 1120403456)\n %74 = load i32, i32* inttoptr (i64 4208268 to i32*), align 4\n %75 = call i128 @FUNC(i32 %74)\n %76 = call i64 @FUNC()\n %77 = sext i32 %47 to i64\n %78 = mul i64 %77, 8\n %79 = call i64 @FUNC(i64 %78)\n %80 = icmp sgt i32 %47, 0\n store i8* %72, i8** %.reg2mem453\n store i128 0, i128* %sv_13.0.lcssa.reg2mem\n store i64 %arg2, i64* %rcx.0.lcssa.reg2mem\n store i64 4611686018427387904, i64* %rdx.0.lcssa.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.lcssa.reg2mem\n br i1 %80, label LBL_27, label LBL_32\n LBL_27:\n %81 = bitcast i32* %sv_20 to i64*\n %82 = load i32, i32* @gv_7, align 4\n %83 = sext i32 %82 to i64\n %84 = mul i64 %83, 8\n %85 = add i64 %84, %arg2\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = call i64 @FUNC(i64 %87, i64 %.reload430, i64 0)\n %89 = inttoptr i64 %79 to i64*\n store i64 %88, i64* %89, align 8\n %90 = icmp eq i64 %88, 0\n %91 = icmp eq i1 %90, false\n store i32 0, i32* %.lcssa293.reg2mem\n store i64 %.reload430, i64* %.lcssa291.reg2mem\n store i64 %88, i64* %.reg2mem449\n store i64 %.reload430, i64* %.reg2mem451\n store i64 0, i64* %sv_13.0139.off0341.reg2mem\n store i64 0, i64* %indvars.iv254340.reg2mem\n br i1 %91, label LBL_29, label LBL_28\n LBL_28:\n %.lcssa291.reload = load i64, i64* %.lcssa291.reg2mem\n %.lcssa293.reload = load i32, i32* %.lcssa293.reg2mem\n %92 = load i32, i32* @gv_7, align 4\n %93 = add i32 %92, %.lcssa293.reload\n %94 = sext i32 %93 to i64\n %95 = mul i64 %94, 8\n %96 = add i64 %95, %arg2\n %97 = inttoptr i64 %96 to i64*\n %98 = load i64, i64* %97, align 8\n %99 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0), i64 %98, i64 %95, i64 %.lcssa291.reload, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_29:\n %indvars.iv254340.reload = load i64, i64* %indvars.iv254340.reg2mem\n %sv_13.0139.off0341.reload = load i64, i64* %sv_13.0139.off0341.reg2mem\n %.reload450 = load i64, i64* %.reg2mem449\n %100 = call i64 @FUNC(i64 %.reload450, i64* nonnull %81)\n %101 = load i32, i32* %sv_20, align 4\n %102 = sext i32 %101 to i64\n %103 = add i64 %sv_13.0139.off0341.reload, %102\n %indvars.iv.next255 = add nuw nsw i64 %indvars.iv254340.reload, 1\n %104 = icmp slt i64 %indvars.iv.next255, %77\n br i1 %104, label LBL_29.dec_label_pc_40186e_crit_edge, label LBL_31\n LBL_30:\n %.pre = load i8*, i8** %sv_25, align 8\n %105 = load i32, i32* @gv_7, align 4\n %106 = trunc i64 %indvars.iv.next255 to i32\n %107 = add i32 %105, %106\n %108 = sext i32 %107 to i64\n %109 = mul i64 %108, 8\n %110 = add i64 %109, %arg2\n %111 = inttoptr i64 %110 to i64*\n %112 = load i64, i64* %111, align 8\n %113 = mul i64 %indvars.iv.next255, 8\n %114 = add i64 %113, %79\n %115 = ptrtoint i8* %.pre to i64\n %116 = call i64 @FUNC(i64 %112, i64 %115, i64 0)\n %117 = inttoptr i64 %114 to i64*\n store i64 %116, i64* %117, align 8\n %118 = icmp eq i64 %116, 0\n %119 = icmp eq i1 %118, false\n store i32 %106, i32* %.lcssa293.reg2mem\n store i64 %115, i64* %.lcssa291.reg2mem\n store i64 %116, i64* %.reg2mem449\n store i64 %115, i64* %.reg2mem451\n store i64 %103, i64* %sv_13.0139.off0341.reg2mem\n store i64 %indvars.iv.next255, i64* %indvars.iv254340.reg2mem\n br i1 %119, label LBL_29, label LBL_28\n LBL_31:\n %.reload452 = load i64, i64* %.reg2mem451\n %120 = sext i64 %103 to i128\n %121 = ptrtoint i32* %sv_20 to i64\n %.pre256 = load i8*, i8** %sv_26, align 8\n store i8* %.pre256, i8** %.reg2mem453\n store i128 %120, i128* %sv_13.0.lcssa.reg2mem\n store i64 %.reload452, i64* %rcx.0.lcssa.reg2mem\n store i64 %sv_13.0139.off0341.reload, i64* %rdx.0.lcssa.reg2mem\n store i64 %121, i64* %rsi.1.lcssa.reg2mem\n br label LBL_32\n LBL_32:\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 %sv_13.0.lcssa.reload = load i128, i128* %sv_13.0.lcssa.reg2mem\n %.reload454 = load i8*, i8** %.reg2mem453\n %122 = icmp eq i8* %.reload454, null\n store i64 %rdx.0.lcssa.reload, i64* %rdx.1.reg2mem\n br i1 %122, label LBL_37, label LBL_33\n LBL_33:\n br i1 %69, label LBL_35, label LBL_34\n LBL_34:\n %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem\n %123 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_11, i64 0, i64 0), i64 %rsi.1.lcssa.reload, i64 %rdx.0.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_35:\n %124 = inttoptr i64 %79 to i64*\n %125 = load i64, i64* %124, align 8\n %126 = ptrtoint i8* %.reload454 to i64\n %127 = call i64 @FUNC(i64 %125, i64 %126)\n %128 = trunc i64 %127 to i32\n %129 = icmp slt i32 %128, 0\n %130 = icmp eq i1 %129, false\n store i64 %126, i64* %rdx.1.reg2mem\n br i1 %130, label LBL_37, label LBL_36\n LBL_36:\n %131 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), i64 %126, i64 %126, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_37:\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %132 = load i8*, i8** %sv_24, align 8\n %133 = ptrtoint i8* %132 to i64\n %134 = call i64 @FUNC(i64 %133)\n %135 = icmp eq i64 %134, 0\n %136 = icmp eq i1 %135, false\n br i1 %136, label LBL_39, label LBL_38\n LBL_38:\n %137 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_13, i64 0, i64 0), i64 %133, i64 %rdx.1.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_39:\n %138 = call i64 @FUNC(i64 %58)\n %139 = icmp eq i64 %138, 0\n %140 = icmp eq i1 %139, false\n br i1 %140, label LBL_41, label LBL_40\n LBL_40:\n %141 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_14, i64 0, i64 0), i64 %58, i64 %rdx.1.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_41:\n %142 = inttoptr i64 %134 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i64 @FUNC(i64 0, i64 %143)\n %145 = inttoptr i64 %138 to i64*\n %146 = load i64, i64* %145, align 8\n %147 = call i64 @FUNC(i64 %144, i64 %146)\n %148 = load i8*, i8** %sv_27, align 8\n %149 = icmp eq i8* %148, null\n br i1 %149, label LBL_44, label LBL_42\n LBL_42:\n %150 = ptrtoint i8* %148 to i64\n %151 = call i64 @FUNC(i64 %150, i64 %147, i64 0)\n %152 = icmp eq i64 %151, 0\n %153 = icmp eq i1 %152, false\n store i64 %151, i64* %sv_1.0.reg2mem\n br i1 %153, label LBL_45, label LBL_43\n LBL_43:\n %154 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_15, i64 0, i64 0), i64 %133, i64 0, i64 %147, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %151, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_44:\n %155 = call i64 @FUNC(i64 ptrtoint (i64* @gv_16 to i64), i64 %147, i64 0)\n store i64 %155, i64* %sv_1.0.reg2mem\n br label LBL_45\n LBL_45:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %156 = trunc i128 %sv_13.0.lcssa.reload to i64\n %157 = mul i64 %156, 512\n %158 = call i64 @FUNC(i64 %sv_1.0.reload, i64 1, i64 %157)\n %159 = load i8*, i8** %sv_22, align 8\n %160 = ptrtoint i8* %159 to i64\n %161 = call i64 @FUNC(i64 %133, i64 %sv_1.0.reload, i64 %160, i64 0)\n %162 = trunc i64 %161 to i32\n %163 = icmp slt i32 %162, 0\n store i32 %162, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br i1 %163, label LBL_117, label LBL_46\n LBL_46:\n %164 = call i64 @FUNC(i64 %sv_1.0.reload, i64 2)\n %165 = icmp eq i64 %164, 0\n store i8* %159, i8** %.reg2mem455\n br i1 %165, label LBL_48, label LBL_47\n LBL_47:\n %166 = inttoptr i64 %164 to i64*\n %167 = load i64, i64* %166, align 8\n %168 = inttoptr i64 %167 to i8*\n store i8* %168, i8** %sv_22, align 8\n store i8* %168, i8** %.reg2mem455\n br label LBL_48\n LBL_48:\n %.reload456 = load i8*, i8** %.reg2mem455\n %169 = icmp eq i32 %sv_14.0.ph.reload, 0\n br i1 %169, label LBL_58, label LBL_49\n LBL_49:\n %170 = call i64 @FUNC(i64 %sv_1.0.reload, i64 3)\n %171 = call i64 @FUNC(i64 %sv_1.0.reload, i64 4)\n %172 = add i64 %134, 8\n %173 = inttoptr i64 %172 to i64*\n %174 = load i64, i64* %173, align 8\n %175 = icmp eq i64 %174, 0\n %176 = icmp eq i1 %175, false\n br i1 %176, label LBL_51, label LBL_50\n LBL_50:\n %177 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_17, i64 0, i64 0), i64 4, i64 %160, i64 0, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_51:\n %178 = icmp eq i64 %170, 0\n br i1 %178, label LBL_54, label LBL_52\n LBL_52:\n %179 = inttoptr i64 %170 to i64*\n %180 = load i64, i64* %179, align 8\n %181 = icmp eq i64 %180, 0\n br i1 %181, label LBL_54, label LBL_53\n LBL_53:\n %182 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_18, i64 0, i64 0), i64 4, i64 %160, i64 0, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_54:\n %183 = icmp eq i64 %171, 0\n br i1 %183, label LBL_58, label LBL_55\n LBL_55:\n %184 = inttoptr i64 %171 to i64*\n %185 = load i64, i64* %184, align 8\n %186 = icmp eq i64 %185, 0\n br i1 %186, label LBL_58, label LBL_56\n LBL_56:\n %187 = inttoptr i64 %185 to i8*\n %188 = call i32 @strcmp(i8* %187, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_19, i64 0, i64 0))\n %189 = icmp eq i32 %188, 0\n br i1 %189, label LBL_58, label LBL_57\n LBL_57:\n %190 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_20, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_19 to i64), i64 %160, i64 0, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_58:\n %191 = call i64 @FUNC(i64 %134, i64 %58, i64 %sv_1.0.reload)\n %192 = trunc i64 %191 to i32\n %193 = icmp slt i32 %192, 0\n %194 = icmp eq i1 %193, false\n br i1 %194, label LBL_64, label LBL_59\n LBL_59:\n %195 = icmp eq i32 %192, -95\n %196 = icmp eq i1 %195, false\n br i1 %196, label LBL_61, label LBL_60\n LBL_60:\n %197 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_21, i64 0, i64 0), i64 %133, i64 %sv_1.0.reload, i64 %58, i64 %2, i64 %1)\n store i32 %192, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_61:\n %198 = icmp eq i32 %192, -27\n %199 = icmp eq i1 %198, false\n br i1 %199, label LBL_63, label LBL_62\n LBL_62:\n %200 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_22, i64 0, i64 0), i64 %133, i64 %sv_1.0.reload, i64 %58, i64 %2, i64 %1)\n store i32 %192, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_63:\n %201 = sub i32 0, %192\n %202 = call i8* @strerror(i32 %201)\n %203 = ptrtoint i8* %202 to i64\n %204 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_23, i64 0, i64 0), i64 %58, i64 %133, i64 %203, i64 %2, i64 %1)\n store i32 %192, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_64:\n store i32 1, i32* %sv_19, align 4\n %205 = load i8*, i8** %sv_23, align 8\n %206 = ptrtoint i8* %205 to i64\n %207 = call i64 @FUNC(i64 %206, i32* nonnull %sv_19)\n %208 = trunc i64 %207 to i32\n %209 = icmp slt i32 %208, 0\n %210 = icmp eq i1 %209, false\n br i1 %210, label LBL_66, label LBL_65\n LBL_65:\n %211 = ptrtoint i32* %sv_19 to i64\n %212 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_24, i64 0, i64 0), i64 %206, i64 %211, i64 %58, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_127\n LBL_66:\n %213 = load i32, i32* %sv_19, align 4\n %214 = zext i32 %213 to i64\n %215 = call i64 @FUNC(i64 %58, i64 %133, i64 %214)\n %216 = icmp eq i64 %215, 0\n %217 = icmp eq i1 %216, false\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br i1 %217, label LBL_67, label LBL_117\n LBL_67:\n %218 = inttoptr i64 %79 to i64*\n %219 = load i64, i64* %218, align 8\n %220 = bitcast i32* %sv_20 to i64*\n %221 = call i64 @FUNC(i64 %219, i64* nonnull %220)\n %222 = call i64 @FUNC(i64 %215, i64 4096)\n br i1 %169, label LBL_96, label LBL_68\n LBL_68:\n %223 = ptrtoint i32* %sv_18 to i64\n %224 = bitcast i32* %sv_18 to i64*\n %225 = call i64 @FUNC(i64 %215, i64* nonnull %224)\n %226 = trunc i64 %225 to i32\n %227 = icmp slt i32 %226, 0\n %228 = icmp eq i1 %227, false\n br i1 %228, label LBL_70, label LBL_69\n LBL_69:\n %229 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_25, i64 0, i64 0), i64 %223, i64 %223, i64 %133, i64 %2, i64 %1)\n store i32 %226, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_70:\n %230 = load i32, i32* %sv_18, align 4\n %.off = add i32 %230, -1\n %231 = icmp ult i32 %.off, 4096\n br i1 %231, label LBL_72, label LBL_71\n LBL_71:\n %232 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_26, i64 0, i64 0), i64 %223, i64 %223, i64 %133, i64 %2, i64 %1)\n store i32 -1, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_72:\n %233 = udiv i32 %230, 512\n %234 = zext i32 %233 to i64\n %235 = sub i64 %234, %156\n %236 = and i64 %235, %156\n %237 = icmp slt i64 %236, 0\n %238 = icmp eq i64 %235, 0\n %239 = icmp slt i64 %235, 0\n %240 = icmp ne i1 %239, %237\n %241 = or i1 %238, %240\n %242 = select i1 %241, i64 %234, i64 %156\n %243 = and i128 %sv_13.0.lcssa.reload, 18446744073709551615\n %244 = zext i64 %242 to i128\n %245 = udiv i128 %243, %244\n %246 = trunc i128 %245 to i64\n %247 = call i128 @FUNC(i128 %73, i128 %73)\n %248 = call i128 @FUNC(i64 %246)\n %249 = call i128 @__asm_movss.1(i32 1120403456)\n %250 = call i128 @FUNC(i128 %249, i128 %248)\n %251 = call i64 @FUNC(i128 %250)\n %252 = icmp slt i64 %156, 1\n store i32 %226, i32* %sv_5.0.lcssa.reg2mem\n br i1 %252, label LBL_95, label LBL_73\n LBL_73:\n %253 = trunc i64 %251 to i32\n %254 = trunc i128 %sv_13.0.lcssa.reload to i32\n %255 = zext i32 %230 to i64\n store i32 %254, i32* %.reg2mem457\n store i64 0, i64* %.reg2mem459\n store i32 0, i32* %sv_6.0137.reg2mem\n store i32 0, i32* %sv_8.0136.reg2mem\n store i32 0, i32* %sv_9.0135.reg2mem\n store i32 %226, i32* %sv_5.0134.reg2mem\n br label LBL_74\n LBL_74:\n %sv_5.0134.reload = load i32, i32* %sv_5.0134.reg2mem\n %sv_9.0135.reload = load i32, i32* %sv_9.0135.reg2mem\n %sv_8.0136.reload = load i32, i32* %sv_8.0136.reg2mem\n %sv_6.0137.reload = load i32, i32* %sv_6.0137.reg2mem\n %.reload460 = load i64, i64* %.reg2mem459\n %.reload458 = load i32, i32* %.reg2mem457\n %256 = sext i32 %sv_8.0136.reload to i64\n %257 = sub nsw i64 %.reload460, %256\n %258 = icmp slt i64 %257, 0\n %259 = icmp eq i1 %258, false\n br i1 %259, label LBL_76, label LBL_75\n LBL_75:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_27, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), i32 390, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))\n br label LBL_76\n LBL_76:\n %260 = icmp sgt i32 %233, %.reload458\n %storemerge18 = select i1 %260, i32 %.reload458, i32 %233\n %261 = icmp eq i32 %storemerge18, 0\n %262 = icmp slt i32 %storemerge18, 0\n %263 = icmp eq i1 %262, false\n %264 = icmp eq i1 %261, false\n %265 = icmp eq i1 %263, %264\n store i64 %222, i64* %sv_12.0129.reg2mem\n store i32 %storemerge18, i32* %sv_11.0128.reg2mem\n store i64 %257, i64* %sv_10.1127.reg2mem\n store i32 %sv_8.0136.reload, i32* %sv_8.2126.reg2mem\n store i32 %sv_9.0135.reload, i32* %sv_9.2125.reg2mem\n store i32 %sv_5.0134.reload, i32* %sv_5.1.lcssa.reg2mem\n store i32 %sv_9.0135.reload, i32* %sv_9.2.lcssa.reg2mem\n store i32 %sv_8.0136.reload, i32* %sv_8.2.lcssa.reg2mem\n store i1 %261, i1* %.lcssa47.reg2mem\n br i1 %265, label LBL_86, label LBL_87\n LBL_77:\n %sv_9.1119.reload = load i32, i32* %sv_9.1119.reg2mem\n %sv_8.1120.reload = load i32, i32* %sv_8.1120.reg2mem\n %.reload462 = load i32, i32* %.reg2mem461\n %266 = add i32 %sv_9.1119.reload, 1\n %267 = icmp slt i32 %266, %47\n store i32 %.reload462, i32* %.reg2mem463\n br i1 %267, label LBL_79, label LBL_78\n LBL_78:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_30, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), i32 397, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))\n %.pre257 = load i32, i32* %sv_20, align 4\n store i32 %.pre257, i32* %.reg2mem463\n br label LBL_79\n LBL_79:\n %.reload464 = load i32, i32* %.reg2mem463\n %268 = add i32 %.reload464, %sv_8.1120.reload\n %269 = sext i32 %266 to i64\n %270 = mul i64 %269, 8\n %271 = add i64 %270, %79\n %272 = inttoptr i64 %271 to i64*\n %273 = load i64, i64* %272, align 8\n %274 = call i64 @FUNC(i64 %273, i64* nonnull %220)\n %275 = load i32, i32* %sv_20, align 4\n %276 = icmp eq i32 %275, 0\n store i32 0, i32* %.reg2mem461\n store i32 %268, i32* %sv_8.1120.reg2mem\n store i32 %266, i32* %sv_9.1119.reg2mem\n br i1 %276, label LBL_77, label LBL_80\n LBL_80:\n %277 = sext i32 %275 to i64\n store i32 %275, i32* %.reg2mem465\n store i32 %266, i32* %sv_9.1.lcssa.reg2mem\n store i32 %268, i32* %sv_8.1.lcssa.reg2mem\n store i64 0, i64* %sv_10.0.lcssa.reg2mem\n store i64 %277, i64* %.lcssa46.reg2mem\n br label LBL_81\n LBL_81:\n %.lcssa46.reload = load i64, i64* %.lcssa46.reg2mem\n %sv_10.0.lcssa.reload = load i64, i64* %sv_10.0.lcssa.reg2mem\n %sv_8.1.lcssa.reload = load i32, i32* %sv_8.1.lcssa.reg2mem\n %sv_9.1.lcssa.reload = load i32, i32* %sv_9.1.lcssa.reg2mem\n %.reload466 = load i32, i32* %.reg2mem465\n %278 = icmp ult i64 %sv_10.0.lcssa.reload, %.lcssa46.reload\n store i32 %.reload466, i32* %.reg2mem467\n br i1 %278, label LBL_83, label LBL_82\n LBL_82:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_31, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), i32 401, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))\n %.pre258 = load i32, i32* %sv_20, align 4\n store i32 %.pre258, i32* %.reg2mem467\n br label LBL_83\n LBL_83:\n %.reload468 = load i32, i32* %.reg2mem467\n %279 = sext i32 %sv_11.0128.reload to i64\n %280 = sext i32 %.reload468 to i64\n %281 = sub i64 %280, %sv_10.0.lcssa.reload\n %282 = icmp ult i64 %281, %279\n %283 = select i1 %282, i64 %281, i64 %279\n %284 = trunc i64 %283 to i32\n %285 = sext i32 %sv_9.1.lcssa.reload to i64\n %286 = mul i64 %285, 8\n %287 = add i64 %286, %79\n %288 = inttoptr i64 %287 to i64*\n %289 = load i64, i64* %288, align 8\n %290 = call i64 @FUNC(i64 %289, i64 %sv_10.0.lcssa.reload, i64 %sv_12.0129.reload, i32 %284)\n %291 = trunc i64 %290 to i32\n %292 = icmp slt i32 %291, 0\n %293 = icmp eq i1 %292, false\n br i1 %293, label LBL_85, label LBL_84\n LBL_84:\n %294 = and i64 %283, 4294967295\n %295 = sub i32 0, %291\n %296 = call i8* @strerror(i32 %295)\n %297 = ptrtoint i8* %296 to i64\n %298 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_32, i64 0, i64 0), i64 %sv_10.0.lcssa.reload, i64 %297, i64 %294, i64 %2, i64 %1)\n store i32 %291, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_85:\n %299 = mul i32 %284, 512\n %300 = sext i32 %299 to i64\n %301 = add i64 %sv_12.0129.reload, %300\n %sext24 = mul i64 %283, 4294967296\n %302 = ashr exact i64 %sext24, 32\n %303 = add i64 %302, %sv_10.0.lcssa.reload\n %304 = sub i32 %sv_11.0128.reload, %284\n %305 = icmp eq i32 %304, 0\n %306 = icmp slt i32 %304, 0\n %307 = icmp eq i1 %306, false\n %308 = icmp eq i1 %305, false\n %309 = icmp eq i1 %307, %308\n store i64 %301, i64* %sv_12.0129.reg2mem\n store i32 %304, i32* %sv_11.0128.reg2mem\n store i64 %303, i64* %sv_10.1127.reg2mem\n store i32 %sv_8.1.lcssa.reload, i32* %sv_8.2126.reg2mem\n store i32 %sv_9.1.lcssa.reload, i32* %sv_9.2125.reg2mem\n store i32 %291, i32* %sv_5.1.lcssa.reg2mem\n store i32 %sv_9.1.lcssa.reload, i32* %sv_9.2.lcssa.reg2mem\n store i32 %sv_8.1.lcssa.reload, i32* %sv_8.2.lcssa.reg2mem\n store i1 %305, i1* %.lcssa47.reg2mem\n br i1 %309, label LBL_86, label LBL_87\n LBL_86:\n %sv_9.2125.reload = load i32, i32* %sv_9.2125.reg2mem\n %sv_8.2126.reload = load i32, i32* %sv_8.2126.reg2mem\n %sv_10.1127.reload = load i64, i64* %sv_10.1127.reg2mem\n %sv_11.0128.reload = load i32, i32* %sv_11.0128.reg2mem\n %sv_12.0129.reload = load i64, i64* %sv_12.0129.reg2mem\n %310 = load i32, i32* %sv_20, align 4\n %311 = sext i32 %310 to i64\n %312 = icmp eq i64 %sv_10.1127.reload, %311\n store i32 %310, i32* %.reg2mem461\n store i32 %sv_8.2126.reload, i32* %sv_8.1120.reg2mem\n store i32 %sv_9.2125.reload, i32* %sv_9.1119.reg2mem\n store i32 %310, i32* %.reg2mem465\n store i32 %sv_9.2125.reload, i32* %sv_9.1.lcssa.reg2mem\n store i32 %sv_8.2126.reload, i32* %sv_8.1.lcssa.reg2mem\n store i64 %sv_10.1127.reload, i64* %sv_10.0.lcssa.reg2mem\n store i64 %311, i64* %.lcssa46.reg2mem\n br i1 %312, label LBL_77, label LBL_81\n LBL_87:\n %.lcssa47.reload = load i1, i1* %.lcssa47.reg2mem\n %sv_8.2.lcssa.reload = load i32, i32* %sv_8.2.lcssa.reg2mem\n %sv_9.2.lcssa.reload = load i32, i32* %sv_9.2.lcssa.reg2mem\n %sv_5.1.lcssa.reload = load i32, i32* %sv_5.1.lcssa.reg2mem\n br i1 %.lcssa47.reload, label LBL_89, label LBL_88\n LBL_88:\n call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_33, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), i32 411, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))\n br label LBL_89\n LBL_89:\n br i1 %260, label LBL_90, label LBL_91\n LBL_90:\n %313 = mul i32 %storemerge18, 512\n %314 = sub i32 %230, %313\n %315 = sext i32 %313 to i64\n %316 = add i64 %222, %315\n %317 = inttoptr i64 %316 to i64*\n %318 = call i64* @memset(i64* %317, i32 0, i32 %314)\n br label LBL_91\n LBL_91:\n %319 = call i64 @FUNC(i64 %222, i64 %255)\n %320 = trunc i64 %319 to i32\n %321 = icmp eq i32 %320, 0\n %322 = icmp eq i1 %321, false\n store i32 %sv_5.1.lcssa.reload, i32* %sv_5.2.reg2mem\n br i1 %322, label LBL_94, label LBL_92\n LBL_92:\n %323 = call i64 @FUNC(i64 %215, i64 %.reload460, i64 %222, i32 %233)\n %324 = trunc i64 %323 to i32\n %325 = icmp eq i32 %324, 0\n store i32 0, i32* %sv_5.2.reg2mem\n br i1 %325, label LBL_94, label LBL_93\n LBL_93:\n %326 = sub i32 0, %324\n %327 = call i8* @strerror(i32 %326)\n %328 = ptrtoint i8* %327 to i64\n %329 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_34, i64 0, i64 0), i64 %.reload460, i64 %328, i64 %234, i64 %2, i64 %1)\n store i32 %324, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_94:\n %sv_5.2.reload = load i32, i32* %sv_5.2.reg2mem\n %330 = add i32 %storemerge18, %sv_6.0137.reload\n %331 = call i128 @__asm_movss.1(i32 1120403456)\n %332 = call i128 @FUNC(i32 %253)\n %333 = call i64 @FUNC()\n %334 = sext i32 %330 to i64\n %335 = sub i64 %156, %334\n %336 = trunc i64 %335 to i32\n %337 = icmp slt i64 %335, 1\n store i32 %336, i32* %.reg2mem457\n store i64 %334, i64* %.reg2mem459\n store i32 %330, i32* %sv_6.0137.reg2mem\n store i32 %sv_8.2.lcssa.reload, i32* %sv_8.0136.reg2mem\n store i32 %sv_9.2.lcssa.reload, i32* %sv_9.0135.reg2mem\n store i32 %sv_5.2.reload, i32* %sv_5.0134.reg2mem\n store i32 %sv_5.2.reload, i32* %sv_5.0.lcssa.reg2mem\n br i1 %337, label LBL_95, label LBL_74\n LBL_95:\n %sv_5.0.lcssa.reload = load i32, i32* %sv_5.0.lcssa.reg2mem\n %338 = call i64 @FUNC(i64 %215, i64 0, i64 0, i32 0)\n store i32 %sv_5.0.lcssa.reload, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_96:\n %339 = call i64 @FUNC(i64 %215)\n %340 = add i64 %156, -8\n %341 = sub i64 7, %156\n %342 = and i64 %341, %156\n %343 = icmp slt i64 %342, 0\n %344 = icmp eq i64 %340, 0\n %345 = icmp slt i64 %340, 0\n %346 = icmp ne i1 %345, %343\n %347 = or i1 %344, %346\n %348 = and i128 %sv_13.0.lcssa.reload, 18446744073709551615\n %349 = select i1 %347, i128 %348, i128 8\n %350 = udiv i128 %348, %349\n %351 = trunc i128 %350 to i64\n %352 = call i128 @FUNC(i128 %73, i128 %73)\n %353 = call i128 @FUNC(i64 %351)\n %354 = call i128 @__asm_movss.1(i32 1120403456)\n %355 = call i128 @FUNC(i128 %354, i128 %353)\n %356 = call i64 @FUNC(i128 %355)\n %357 = icmp slt i64 %156, 1\n store i32 %208, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br i1 %357, label LBL_117, label LBL_97\n LBL_97:\n %358 = trunc i64 %356 to i32\n %359 = trunc i128 %sv_13.0.lcssa.reload to i32\n %360 = trunc i64 %339 to i32\n %361 = icmp eq i32 %360, 0\n %362 = bitcast i32* %sv_17 to i64*\n %363 = icmp eq i8* %.reload456, null\n %364 = icmp eq i1 %363, false\n %brmerge = or i1 %364, %361\n store i8* %.reload456, i8** %.reg2mem469\n store i32 %359, i32* %.reg2mem471\n store i64 0, i64* %.reg2mem473\n store i32 0, i32* %sv_6.1117.reg2mem\n store i32 0, i32* %sv_8.3116.reg2mem\n store i32 0, i32* %sv_9.3115.reg2mem\n store i32 %208, i32* %sv_5.3114.reg2mem\n br label LBL_98\n LBL_98:\n %sv_5.3114.reload = load i32, i32* %sv_5.3114.reg2mem\n %sv_9.3115.reload = load i32, i32* %sv_9.3115.reg2mem\n %sv_8.3116.reload = load i32, i32* %sv_8.3116.reg2mem\n %sv_6.1117.reload = load i32, i32* %sv_6.1117.reg2mem\n %.reload474 = load i64, i64* %.reg2mem473\n %.reload472 = load i32, i32* %.reg2mem471\n %.reload470 = load i8*, i8** %.reg2mem469\n %365 = sext i32 %sv_8.3116.reload to i64\n %366 = sub nsw i64 %.reload474, %365\n %367 = load i32, i32* %sv_20, align 4\n %368 = sext i32 %367 to i64\n %369 = icmp ult i64 %366, %368\n %370 = icmp eq i1 %369, false\n store i32 %367, i32* %.reg2mem475\n store i32 %sv_8.3116.reload, i32* %sv_8.4102.reg2mem\n store i32 %sv_9.3115.reload, i32* %sv_9.4101.reg2mem\n store i32 %sv_9.3115.reload, i32* %sv_9.4.lcssa.reg2mem\n store i32 %sv_8.3116.reload, i32* %sv_8.4.lcssa.reg2mem\n store i64 %365, i64* %.lcssa33.reg2mem\n store i64 %366, i64* %.lcssa30.reg2mem\n store i32 %367, i32* %.lcssa29.reg2mem\n store i64 %368, i64* %.lcssa.reg2mem\n br i1 %370, label LBL_99, label LBL_102\n LBL_99:\n %sv_9.4101.reload = load i32, i32* %sv_9.4101.reg2mem\n %sv_8.4102.reload = load i32, i32* %sv_8.4102.reg2mem\n %.reload476 = load i32, i32* %.reg2mem475\n %371 = add i32 %sv_9.4101.reload, 1\n %372 = icmp slt i32 %371, %47\n store i32 %.reload476, i32* %.reg2mem477\n br i1 %372, label LBL_101, label LBL_100\n LBL_100:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_30, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), i32 440, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))\n %.pre259 = load i32, i32* %sv_20, align 4\n store i32 %.pre259, i32* %.reg2mem477\n br label LBL_101\n LBL_101:\n %.reload478 = load i32, i32* %.reg2mem477\n %373 = add i32 %.reload478, %sv_8.4102.reload\n %374 = sext i32 %371 to i64\n %375 = mul i64 %374, 8\n %376 = add i64 %375, %79\n %377 = inttoptr i64 %376 to i64*\n %378 = load i64, i64* %377, align 8\n %379 = call i64 @FUNC(i64 %378, i64* nonnull %220)\n %380 = sext i32 %373 to i64\n %381 = sub nsw i64 %.reload474, %380\n %382 = load i32, i32* %sv_20, align 4\n %383 = sext i32 %382 to i64\n %384 = icmp ult i64 %381, %383\n %385 = icmp eq i1 %384, false\n store i32 %382, i32* %.reg2mem475\n store i32 %373, i32* %sv_8.4102.reg2mem\n store i32 %371, i32* %sv_9.4101.reg2mem\n store i32 %371, i32* %sv_9.4.lcssa.reg2mem\n store i32 %373, i32* %sv_8.4.lcssa.reg2mem\n store i64 %380, i64* %.lcssa33.reg2mem\n store i64 %381, i64* %.lcssa30.reg2mem\n store i32 %382, i32* %.lcssa29.reg2mem\n store i64 %383, i64* %.lcssa.reg2mem\n br i1 %385, label LBL_99, label LBL_102\n LBL_102:\n %386 = icmp slt i32 %.reload472, 8\n %. = select i1 %386, i32 %.reload472, i32 8\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %.lcssa29.reload = load i32, i32* %.lcssa29.reg2mem\n %.lcssa30.reload = load i64, i64* %.lcssa30.reg2mem\n %.lcssa33.reload = load i64, i64* %.lcssa33.reg2mem\n %sv_8.4.lcssa.reload = load i32, i32* %sv_8.4.lcssa.reg2mem\n %sv_9.4.lcssa.reload = load i32, i32* %sv_9.4.lcssa.reg2mem\n %387 = sext i32 %. to i64\n %388 = sub nsw i64 %.lcssa33.reload, %.reload474\n %389 = add nsw i64 %388, %.lcssa.reload\n %390 = icmp ult i64 %389, %387\n %391 = sub i32 %sv_8.4.lcssa.reload, %sv_6.1117.reload\n %392 = add i32 %391, %.lcssa29.reload\n %sv_7.1 = select i1 %390, i32 %392, i32 %.\n br i1 %361, label LBL_106, label LBL_103\n LBL_103:\n %393 = icmp eq i8* %.reload470, null\n store i32 %sv_7.1, i32* %sv_7.2.reg2mem\n br i1 %393, label LBL_107, label LBL_104\n LBL_104:\n %394 = sext i32 %sv_9.4.lcssa.reload to i64\n %395 = mul i64 %394, 8\n %396 = add i64 %395, %79\n %397 = inttoptr i64 %396 to i64*\n %398 = load i64, i64* %397, align 8\n %399 = call i64 @FUNC(i64 %398, i64 %.lcssa30.reload, i32 %sv_7.1, i64* nonnull %362)\n %400 = trunc i64 %399 to i32\n %401 = icmp eq i32 %400, 0\n %402 = icmp eq i1 %401, false\n %403 = load i32, i32* %sv_17, align 4\n store i32 %403, i32* %sv_7.2.reg2mem\n br i1 %402, label LBL_107, label LBL_105\n LBL_105:\n %404 = add i32 %403, %sv_6.1117.reload\n store i8* %.reload470, i8** %.reg2mem481\n store i32 %sv_5.3114.reload, i32* %sv_5.6.reg2mem\n store i32 %404, i32* %sv_6.3.reg2mem\n br label LBL_116\n LBL_106:\n store i32 %sv_7.1, i32* %sv_17, align 4\n store i32 %sv_7.1, i32* %sv_7.2.reg2mem\n br label LBL_107\n LBL_107:\n %sv_7.2.reload = load i32, i32* %sv_7.2.reg2mem\n %405 = sext i32 %sv_9.4.lcssa.reload to i64\n %406 = mul i64 %405, 8\n %407 = add i64 %406, %79\n %408 = inttoptr i64 %407 to i64*\n %409 = load i64, i64* %408, align 8\n %410 = call i64 @FUNC(i64 %409, i64 %.lcssa30.reload, i64 %222, i32 %sv_7.2.reload)\n %411 = trunc i64 %410 to i32\n %412 = icmp slt i32 %411, 0\n %413 = icmp eq i1 %412, false\n br i1 %413, label LBL_108, label LBL_109\n LBL_108:\n %414 = icmp eq i32 %sv_7.2.reload, 0\n %415 = icmp slt i32 %sv_7.2.reload, 0\n %416 = icmp eq i1 %415, false\n %417 = icmp eq i1 %414, false\n %418 = icmp eq i1 %416, %417\n store i64 %222, i64* %storemerge19111.reg2mem\n store i32 %sv_7.2.reload, i32* %sv_7.3110.reg2mem\n store i32 %sv_6.1117.reload, i32* %sv_6.2109.reg2mem\n store i32 %411, i32* %sv_5.5108.reg2mem\n store i8* %.reload470, i8** %.reg2mem479\n store i32 %411, i32* %sv_5.5.lcssa.reg2mem\n store i32 %sv_6.1117.reload, i32* %sv_6.2.lcssa.reg2mem\n br i1 %418, label LBL_110, label LBL_115\n LBL_109:\n %419 = zext i32 %sv_7.2.reload to i64\n %420 = sub i32 0, %411\n %421 = call i8* @strerror(i32 %420)\n %422 = ptrtoint i8* %421 to i64\n %423 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_32, i64 0, i64 0), i64 %.lcssa30.reload, i64 %422, i64 %419, i64 %2, i64 %1)\n store i32 %411, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_110:\n %sv_6.2109.reload = load i32, i32* %sv_6.2109.reg2mem\n %sv_7.3110.reload = load i32, i32* %sv_7.3110.reg2mem\n %storemerge19111.reload = load i64, i64* %storemerge19111.reg2mem\n br i1 %brmerge, label LBL_112, label LBL_111\n LBL_111:\n %sv_5.5108.reload = load i32, i32* %sv_5.5108.reg2mem\n %424 = call i64 @FUNC(i64 %storemerge19111.reload, i32 %sv_7.3110.reload, i64* nonnull %362, i32 %sv_16.0.ph27.reload)\n %425 = trunc i64 %424 to i32\n %426 = icmp eq i32 %425, 0\n store i32 %sv_5.5108.reload, i32* %sv_5.4.reg2mem\n br i1 %426, label LBL_114, label LBL_112\n LBL_112:\n %427 = load i32, i32* %sv_17, align 4\n %428 = zext i32 %427 to i64\n %429 = sext i32 %sv_6.2109.reload to i64\n %430 = call i64 @FUNC(i64 %215, i64 %429, i64 %storemerge19111.reload, i64 %428)\n %431 = trunc i64 %430 to i32\n %432 = icmp slt i32 %431, 0\n %433 = icmp eq i1 %432, false\n store i32 %431, i32* %sv_5.4.reg2mem\n br i1 %433, label LBL_114, label LBL_113\n LBL_113:\n %434 = sub i32 0, %431\n %435 = call i8* @strerror(i32 %434)\n %436 = ptrtoint i8* %435 to i64\n %437 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_35, i64 0, i64 0), i64 %429, i64 %436, i64 %428, i64 %2, i64 %1)\n store i32 %431, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br label LBL_117\n LBL_114:\n %sv_5.4.reload = load i32, i32* %sv_5.4.reg2mem\n %438 = load i32, i32* %sv_17, align 4\n %439 = add i32 %438, %sv_6.2109.reload\n %440 = sub i32 %sv_7.3110.reload, %438\n %441 = mul i32 %438, 512\n %442 = sext i32 %441 to i64\n %443 = add i64 %storemerge19111.reload, %442\n %444 = icmp eq i32 %440, 0\n %445 = icmp slt i32 %440, 0\n %446 = icmp eq i1 %445, false\n %447 = icmp eq i1 %444, false\n %448 = icmp eq i1 %446, %447\n store i64 %443, i64* %storemerge19111.reg2mem\n store i32 %440, i32* %sv_7.3110.reg2mem\n store i32 %439, i32* %sv_6.2109.reg2mem\n store i32 %sv_5.4.reload, i32* %sv_5.5108.reg2mem\n store i8* %.reload456, i8** %.reg2mem479\n store i32 %sv_5.4.reload, i32* %sv_5.5.lcssa.reg2mem\n store i32 %439, i32* %sv_6.2.lcssa.reg2mem\n br i1 %448, label LBL_110, label LBL_115\n LBL_115:\n %sv_6.2.lcssa.reload = load i32, i32* %sv_6.2.lcssa.reg2mem\n %sv_5.5.lcssa.reload = load i32, i32* %sv_5.5.lcssa.reg2mem\n %.reload480 = load i8*, i8** %.reg2mem479\n %449 = call i128 @__asm_movss.1(i32 1120403456)\n %450 = call i128 @FUNC(i32 %358)\n %451 = call i64 @FUNC()\n store i8* %.reload480, i8** %.reg2mem481\n store i32 %sv_5.5.lcssa.reload, i32* %sv_5.6.reg2mem\n store i32 %sv_6.2.lcssa.reload, i32* %sv_6.3.reg2mem\n br label LBL_116\n LBL_116:\n %sv_6.3.reload = load i32, i32* %sv_6.3.reg2mem\n %sv_5.6.reload = load i32, i32* %sv_5.6.reg2mem\n %.reload482 = load i8*, i8** %.reg2mem481\n %452 = sext i32 %sv_6.3.reload to i64\n %453 = sub i64 %156, %452\n %454 = trunc i64 %453 to i32\n %455 = icmp slt i64 %453, 1\n store i8* %.reload482, i8** %.reg2mem469\n store i32 %454, i32* %.reg2mem471\n store i64 %452, i64* %.reg2mem473\n store i32 %sv_6.3.reload, i32* %sv_6.1117.reg2mem\n store i32 %sv_8.4.lcssa.reload, i32* %sv_8.3116.reg2mem\n store i32 %sv_9.4.lcssa.reload, i32* %sv_9.3115.reg2mem\n store i32 %sv_5.6.reload, i32* %sv_5.3114.reg2mem\n store i32 %sv_5.6.reload, i32* %sv_5.7.reg2mem\n store i64 %79, i64* %sv_4.0.reg2mem\n store i64 %215, i64* %sv_3.0.reg2mem\n store i64 %222, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %147, i64* %sv_0.0.reg2mem\n br i1 %455, label LBL_117, label LBL_98\n LBL_117:\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 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 %sv_5.7.reload = load i32, i32* %sv_5.7.reg2mem\n %456 = call i64 @FUNC()\n %457 = call i64 @FUNC(i64 %sv_0.0.reload)\n %458 = call i64 @FUNC(i64 %sv_1.1.reload)\n %459 = call i64 @FUNC(i64 %sv_2.0.reload)\n %460 = icmp eq i64 %sv_3.0.reload, 0\n br i1 %460, label LBL_119, label LBL_118\n LBL_118:\n %461 = call i64 @FUNC(i64 %sv_3.0.reload)\n br label LBL_119\n LBL_119:\n %462 = icmp eq i64 %sv_4.0.reload, 0\n br i1 %462, label LBL_126, label LBL_120\n LBL_120:\n %463 = icmp sgt i32 %47, 0\n br i1 %463, label LBL_121, label LBL_125\n LBL_121:\n %wide.trip.count = zext i32 %47 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_122\n LBL_122:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %464 = mul i64 %indvars.iv.reload, 8\n %465 = add i64 %464, %sv_4.0.reload\n %466 = inttoptr i64 %465 to i64*\n %467 = load i64, i64* %466, align 8\n %468 = icmp eq i64 %467, 0\n br i1 %468, label LBL_124, label LBL_123\n LBL_123:\n %469 = call i64 @FUNC(i64 %467)\n br label LBL_124\n LBL_124:\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_125, label LBL_122\n LBL_125:\n %470 = call i64 @FUNC(i64 %sv_4.0.reload)\n br label LBL_126\n LBL_126:\n %471 = icmp ne i32 %sv_5.7.reload, 0\n %.25 = zext i1 %471 to i64\n store i64 %.25, i64* %rax.0.reg2mem\n br label LBL_127\n LBL_127:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_4.0.reload, { 1, 2, 0 }\n uselistorder i32 %sv_6.3.reload, { 1, 0 }\n uselistorder i32 %438, { 0, 2, 1 }\n uselistorder i32 %431, { 0, 2, 1, 3 }\n uselistorder i64 %storemerge19111.reload, { 2, 0, 1 }\n uselistorder i32 %sv_6.2109.reload, { 1, 0 }\n uselistorder i32 %411, { 0, 3, 1, 2, 4 }\n uselistorder i32 %sv_7.2.reload, { 4, 0, 3, 2, 1 }\n uselistorder i32 %403, { 1, 0 }\n uselistorder i32 %sv_7.1, { 1, 2, 3, 0 }\n uselistorder i32 %sv_9.4.lcssa.reload, { 2, 1, 0 }\n uselistorder i32 %sv_8.4.lcssa.reload, { 1, 0 }\n uselistorder i64 %.lcssa30.reload, { 2, 1, 0 }\n uselistorder i8* %.reload470, { 1, 0, 2 }\n uselistorder i64 %.reload474, { 2, 1, 0 }\n uselistorder i1 %361, { 1, 0 }\n uselistorder i64 %340, { 1, 0 }\n uselistorder i32 %313, { 1, 0 }\n uselistorder i32 %sv_11.0128.reload, { 1, 0 }\n uselistorder i64 %sv_10.1127.reload, { 1, 0 }\n uselistorder i32 %sv_8.2126.reload, { 1, 0 }\n uselistorder i32 %sv_9.2125.reload, { 1, 0 }\n uselistorder i32 %291, { 1, 0, 2, 3 }\n uselistorder i32 %284, { 1, 0, 2 }\n uselistorder i64 %sv_10.0.lcssa.reload, { 3, 4, 0, 1, 2 }\n uselistorder i32 %storemerge18, { 4, 1, 0, 2, 3 }\n uselistorder i32 %.reload458, { 1, 0 }\n uselistorder i64 %.reload460, { 2, 0, 1 }\n uselistorder i64 %235, { 1, 2, 0 }\n uselistorder i32 %233, { 1, 2, 0, 3 }\n uselistorder i32 %230, { 3, 2, 0, 1 }\n uselistorder i32 %226, { 2, 1, 0, 3 }\n uselistorder i64 %223, { 2, 3, 0, 1 }\n uselistorder i64 %222, { 0, 8, 7, 9, 14, 1, 6, 4, 12, 13, 11, 5, 10, 3, 2 }\n uselistorder i64* %220, { 1, 0, 2 }\n uselistorder i64 %215, { 0, 9, 13, 8, 1, 14, 7, 11, 5, 10, 6, 4, 3, 12, 15, 2, 16 }\n uselistorder i32 %208, { 1, 0, 2 }\n uselistorder i32 %192, { 2, 3, 1, 4, 0, 5, 6 }\n uselistorder i64 %171, { 1, 0 }\n uselistorder i64 %170, { 1, 0 }\n uselistorder i64 %160, { 2, 1, 0, 3 }\n uselistorder i64 %156, { 8, 4, 1, 10, 9, 5, 3, 7, 2, 6, 0 }\n uselistorder i64 %sv_1.0.reload, { 0, 15, 14, 1, 13, 11, 12, 10, 9, 2, 8, 7, 21, 6, 22, 20, 5, 4, 3, 23, 24, 19, 16, 17, 18 }\n uselistorder i64 %147, { 0, 16, 15, 1, 14, 12, 13, 11, 10, 2, 9, 8, 7, 6, 5, 4, 17, 20, 3, 18, 19 }\n uselistorder i64 %134, { 1, 0, 2, 3 }\n uselistorder i64 %133, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %126, { 1, 2, 0, 3 }\n uselistorder i128 %sv_13.0.lcssa.reload, { 4, 1, 3, 0, 2 }\n uselistorder i64 %rcx.0.lcssa.reload, { 2, 3, 1, 0 }\n uselistorder i64 %rdx.0.lcssa.reload, { 1, 0 }\n uselistorder i64 %103, { 1, 0 }\n uselistorder i64 %79, { 0, 20, 19, 24, 25, 26, 1, 18, 16, 17, 27, 28, 15, 14, 31, 2, 13, 12, 11, 10, 9, 8, 21, 7, 6, 5, 4, 30, 3, 29, 22, 23 }\n uselistorder i64 %77, { 1, 0 }\n uselistorder i128 %73, { 3, 2, 1, 0 }\n uselistorder i1 %69, { 1, 0 }\n uselistorder i64 %58, { 6, 5, 4, 3, 2, 7, 1, 8, 0 }\n uselistorder i32 %47, { 0, 2, 4, 3, 1, 5, 6, 8, 7 }\n uselistorder i64 %.reload, { 12, 11, 1, 7, 9, 6, 5, 10, 8, 3, 4, 2, 0 }\n uselistorder i64 %.reload428, { 12, 11, 1, 7, 9, 6, 5, 10, 8, 3, 4, 2, 0 }\n uselistorder i64 %.reload430, { 0, 1, 13, 14, 3, 9, 11, 8, 7, 12, 10, 5, 6, 4, 2 }\n uselistorder i64 %.reload432, { 12, 13, 11, 1, 7, 9, 6, 10, 8, 3, 4, 5, 2, 0 }\n uselistorder i64 %.reload434, { 12, 11, 1, 7, 9, 6, 10, 8, 3, 4, 5, 2, 0 }\n uselistorder i64 %.reload436, { 11, 1, 9, 7, 6, 10, 8, 3, 4, 5, 2, 0 }\n uselistorder i32 %sv_15.0.ph.reload, { 8, 7, 6, 5, 2, 3, 4, 1, 0 }\n uselistorder i32 %sv_14.0.ph.reload, { 8, 0, 7, 6, 5, 2, 3, 4, 1 }\n uselistorder i64* %11, { 3, 0, 2, 1 }\n uselistorder i64* %10, { 3, 0, 2, 1 }\n uselistorder i64* %9, { 3, 0, 2, 1 }\n uselistorder i64* %8, { 3, 0, 2, 1 }\n uselistorder i64* %7, { 3, 0, 2, 1 }\n uselistorder i64* %6, { 3, 0, 2, 1 }\n uselistorder i8** %sv_27, { 2, 0, 1 }\n uselistorder i8** %sv_24, { 2, 0, 1 }\n uselistorder i8** %sv_23, { 2, 0, 1 }\n uselistorder i8** %sv_22, { 3, 2, 0, 1 }\n uselistorder i32* %sv_20, { 8, 0, 5, 4, 1, 7, 2, 10, 3, 6, 9 }\n uselistorder i32* %sv_19, { 1, 2, 0, 3 }\n uselistorder i32* %sv_18, { 1, 2, 0 }\n uselistorder i32* %sv_17, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 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 %1, { 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* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem427, { 2, 0, 1 }\n uselistorder i64* %.reg2mem429, { 2, 0, 1 }\n uselistorder i64* %.reg2mem431, { 2, 0, 1 }\n uselistorder i64* %.reg2mem433, { 2, 0, 1 }\n uselistorder i64* %.reg2mem435, { 2, 0, 1 }\n uselistorder i32* %sv_15.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_16.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_14.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_16.0.ph27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem437, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i64* %.reg2mem439, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i64* %.reg2mem441, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i64* %.reg2mem443, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i64* %.reg2mem445, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i64* %.reg2mem447, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i32* %sv_15.1.reg2mem, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i32* %sv_14.1.reg2mem, { 0, 2, 9, 8, 7, 4, 5, 6, 3, 1 }\n uselistorder i32* %.lcssa293.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.lcssa291.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem449, { 2, 0, 1 }\n uselistorder i64* %.reg2mem451, { 0, 2, 1 }\n uselistorder i64* %sv_13.0139.off0341.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv254340.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem453, { 0, 2, 1 }\n uselistorder i128* %sv_13.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem455, { 0, 2, 1 }\n uselistorder i32* %.reg2mem457, { 1, 0, 2 }\n uselistorder i64* %.reg2mem459, { 1, 0, 2 }\n uselistorder i32* %sv_6.0137.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_8.0136.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_9.0135.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.0134.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem461, { 1, 2, 0 }\n uselistorder i32* %sv_8.1120.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_9.1119.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem463, { 0, 2, 1 }\n uselistorder i32* %.reg2mem465, { 1, 0, 2 }\n uselistorder i32* %sv_9.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_8.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_10.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.lcssa46.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem467, { 0, 2, 1 }\n uselistorder i64* %sv_12.0129.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_11.0128.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_10.1127.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_8.2126.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_9.2125.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem469, { 1, 0, 2 }\n uselistorder i32* %.reg2mem471, { 1, 0, 2 }\n uselistorder i64* %.reg2mem473, { 1, 0, 2 }\n uselistorder i32* %sv_6.1117.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_8.3116.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_9.3115.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.3114.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem475, { 2, 0, 1 }\n uselistorder i32* %sv_8.4102.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_9.4101.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem477, { 0, 2, 1 }\n uselistorder i32* %sv_7.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %storemerge19111.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_7.3110.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_6.2109.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.5108.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.4.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem481, { 0, 2, 1 }\n uselistorder i32* %sv_5.6.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_6.3.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_5.7.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %sv_4.0.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 23, 22, 2, 21, 19, 20, 18, 17, 3, 16, 15, 14, 13, 12, 11, 24, 10, 9, 8, 7, 6, 25, 5, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 3, 2, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @bdrv_delete, { 1, 0 }\n uselistorder i64 (i64)* @free_option_parameters, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @bdrv_write_compressed, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @bdrv_read, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 3, 4, 1 }\n uselistorder i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0), { 0, 3, 2, 1, 4 }\n uselistorder i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_28, i64 0, i64 0), { 0, 3, 2, 1, 4 }\n uselistorder i8* (i32)* @strerror, { 3, 2, 1, 0, 4 }\n uselistorder [4 x i8]* @gv_19, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @get_option_parameter, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @parse_option_parameters, { 1, 0 }\n uselistorder i64 (i64, i64)* @append_option_parameters, { 1, 0 }\n uselistorder i64 (i64, i64*)* @bdrv_get_geometry, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @bdrv_new_open, { 2, 1, 0 }\n uselistorder i64 8, { 0, 1, 2, 3, 4, 5, 11, 6, 7, 8, 9, 10 }\n uselistorder i64 ()* @qemu_progress_print, { 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder [2 x i8]* @gv_8, { 1, 0 }\n uselistorder i1 false, { 11, 6, 9, 3, 4, 12, 13, 14, 5, 10, 15, 17, 7, 16, 1, 2, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 0, 31, 32, 8 }\n uselistorder i32* @gv_7, { 2, 3, 0, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 1, { 6, 9, 8, 10, 7, 11, 5, 1, 0, 2, 3, 4 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0, 22, 21, 20 }\n uselistorder i8** @gv_3, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i32 -1, { 10, 12, 0, 9, 8, 7, 6, 5, 4, 3, 2, 11, 1, 13 }\n uselistorder [20 x i8]* @gv_2, { 1, 0 }\n uselistorder i32 8, { 1, 2, 0, 3 }\n uselistorder i32 0, { 23, 15, 27, 28, 24, 25, 26, 29, 18, 19, 30, 31, 0, 1, 2, 32, 20, 33, 3, 34, 35, 21, 38, 39, 36, 37, 4, 13, 16, 17, 5, 6, 7, 40, 41, 42, 43, 44, 45, 46, 47, 8, 14, 48, 49, 50, 11, 12, 9, 10, 22 }\n uselistorder i64 0, { 164, 0, 165, 166, 94, 95, 48, 167, 168, 169, 159, 158, 102, 103, 104, 105, 98, 99, 100, 101, 49, 96, 97, 106, 107, 108, 109, 110, 111, 170, 50, 171, 172, 173, 112, 113, 114, 115, 15, 174, 116, 117, 28, 43, 118, 119, 27, 42, 120, 121, 26, 41, 122, 123, 25, 40, 86, 124, 125, 126, 127, 175, 176, 24, 39, 85, 128, 129, 177, 178, 23, 38, 84, 130, 131, 179, 180, 29, 44, 160, 87, 22, 37, 83, 132, 133, 181, 88, 89, 6, 13, 21, 36, 134, 135, 182, 5, 12, 20, 35, 136, 137, 183, 4, 11, 19, 34, 138, 139, 3, 10, 18, 33, 140, 141, 184, 161, 7, 14, 30, 45, 92, 93, 51, 52, 78, 79, 2, 9, 17, 32, 47, 142, 143, 80, 1, 8, 16, 31, 46, 57, 58, 81, 82, 146, 147, 162, 144, 145, 148, 149, 150, 151, 53, 54, 55, 56, 152, 153, 154, 155, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 156, 157, 90, 91, 163 }\n uselistorder i8* null, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i32 1, { 124, 125, 121, 109, 91, 89, 117, 116, 115, 120, 119, 118, 111, 112, 122, 113, 114, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 90, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 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, 110, 8, 7, 6, 5, 2, 4, 1, 123, 3, 0 }\n uselistorder i64 %arg2, { 4, 3, 2, 0, 10, 1, 5, 6, 7, 8, 9, 11 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_127, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_122, { 1, 0 }\n uselistorder label LBL_117, { 0, 4, 5, 1, 6, 7, 8, 9, 10, 2, 11, 12, 13, 14, 15, 16, 3, 17, 18, 19, 20, 22, 21, 23, 24 }\n uselistorder label LBL_112, { 1, 0 }\n uselistorder label LBL_110, { 1, 0 }\n uselistorder label LBL_107, { 1, 0, 2 }\n uselistorder label LBL_99, { 1, 0 }\n uselistorder label LBL_98, { 1, 0 }\n uselistorder label LBL_91, { 1, 0 }\n uselistorder label LBL_86, { 1, 0 }\n uselistorder label LBL_81, { 1, 0 }\n uselistorder label LBL_74, { 1, 0 }\n uselistorder label LBL_29, { 1, 0 }\n uselistorder label LBL_18, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_read_primer_pack_2857", "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 %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.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 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 18\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %8 = trunc i64 %3 to i32\n %9 = icmp slt i32 %8, 65537\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %arg5, i64 %1)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\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 = icmp eq i64 %15, 0\n store i64 0, i64* %.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %arg4, i64 %arg5, i64 %1)\n %.pre = load i64, i64* %14, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %18 = call i64 @FUNC(i64 %.reload)\n %19 = add i64 %12, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %sext = mul i64 %4, 4294967296\n %21 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %3, 4294967296\n %22 = ashr exact i64 %sext1, 32\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n store i64 %23, i64* %14, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_7:\n store i32 %8, i32* %20, align 4\n %26 = mul i64 %4, %3\n %27 = and i64 %26, 4294967295\n %28 = load i64, i64* %14, align 8\n %29 = call i64 @FUNC(i64 %2, i64 %28, i64 %27)\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, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 1, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blk_delete_3131", "fun_name": "blk_delete", "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, 4\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_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 ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\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 %9 = icmp eq i64 %8, 0\n br i1 %9, 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 ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\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 call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %14 = trunc i64 %1 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 br label LBL_8\n LBL_8:\n %17 = add i64 %arg1, 24\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_10, label LBL_9\n LBL_9:\n %21 = call i64 @FUNC(i64 %arg1)\n br label LBL_10\n LBL_10:\n %22 = add i64 %arg1, 32\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, 40\n %27 = call i64 @FUNC(i64 %26)\n %28 = call i64 @FUNC(i64 %arg1)\n ret i64 %28\n\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 3, 2, 5, 4, 0, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_anetTcpServer_6785", "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, i64 0)\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, 0, 1, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 7, 8, 0, 4, 3, 5, 6 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @anetSetError, { 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 }\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": "0" }, { "dataset": "CompRealVul", "file": "arch_do_multicall_call_6655", "fun_name": "arch_do_multicall_call", "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 ult i32 %3, 10\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 -38, i32* %6, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %sext = mul i64 %1, 4294967296\n %7 = ashr exact i64 %sext, 29\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 i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 -38, i32* %14, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %15 = load i32*, i32** @gv_1, align 8\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\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_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %2)\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_6, label LBL_7\n LBL_6:\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %2, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = call i64 @FUNC(i64 0)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n %34 = zext i1 %33 to i64\n store i64 %34, 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, { 2, 1, 0, 4, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_open_stateflags_11228", "fun_name": "update_open_stateflags", "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 i32\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 eq i32 %3, 3\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = trunc i64 %4 to i32\n %7 = icmp ult i32 %6, 4\n store i32 %6, i32* %.pre-phi.reg2mem\n br i1 %7, label LBL_2, label LBL_6\n LBL_2:\n store i32 %6, i32* %.pre-phi.reg2mem\n switch i32 %6, label LBL_6 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %8 = trunc i64 %1 to i32\n %9 = add i32 %8, 1\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n store i32 1, i32* %.pre-phi.reg2mem\n br label LBL_6\n LBL_4:\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 store i32 2, i32* %.pre-phi.reg2mem\n br label LBL_6\n LBL_5:\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i32 %17, 1\n store i32 %18, i32* %16, align 4\n %.pre = trunc i64 %4 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = or i32 %21, %.pre-phi.reload\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %2, i64 %23)\n ret i64 %24\n\n uselistorder i32 %6, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 2, 1, 3, 0 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 3, 2, 1, 5, 4 }\n uselistorder label LBL_6, { 2, 3, 4, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ioreq_runio_qemu_sync_1325", "fun_name": "ioreq_runio_qemu_sync", "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.110.reg2mem = alloca i64\n %storemerge111.reg2mem = alloca i32\n %.reg2mem39 = alloca i64\n %.reg2mem37 = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %storemerge29.reg2mem = alloca i32\n %.reg2mem35 = alloca i64\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 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)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, -1\n br i1 %9, label LBL_21, label LBL_2\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 = 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, 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_6, label LBL_5\n LBL_5:\n %19 = icmp sgt i32 %17, -1\n %20 = add i32 %17, -1\n %21 = icmp ult i32 %20, 2\n %or.cond = icmp eq i1 %19, %21\n br i1 %or.cond, label LBL_11, label LBL_20\n LBL_6:\n %22 = add i64 %2, 32\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_17, label LBL_7\n LBL_7:\n %26 = add i64 %2, 24\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i64 %2, 40\n %30 = inttoptr i64 %29 to i64*\n %.pre19 = load i64, i64* %30, align 8\n store i64 %.pre19, i64* %.reg2mem\n store i64 0, i64* %.reg2mem35\n store i32 0, i32* %storemerge29.reg2mem\n store i64 %28, i64* %sv_0.08.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %.reload36 = load i64, i64* %.reg2mem35\n %.reload = load i64, i64* %.reg2mem\n %31 = mul i64 %.reload36, 16\n %32 = add i64 %31, %.reload\n %33 = add i64 %32, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = udiv i64 %35, 512\n %37 = inttoptr i64 %32 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = add i64 %sv_0.08.reload, 511\n %40 = icmp slt i64 %sv_0.08.reload, 0\n %41 = select i1 %40, i64 %39, i64 %sv_0.08.reload\n %42 = ashr i64 %41, 9\n %43 = call i64 @FUNC(i64 %2, i64 %42, i64 %38, i64 %36)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n %46 = load i64, i64* %30, align 8\n %47 = add i64 %46, %31\n %48 = add i64 %47, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %51 = inttoptr i64 %47 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %52, i64 %50, i64 %1)\n br label LBL_20\n LBL_10:\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %54 = add i64 %50, %sv_0.08.reload\n %55 = add i32 %storemerge29.reload, 1\n %56 = load i32, i32* %23, 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 %46, i64* %.reg2mem\n store i64 %58, i64* %.reg2mem35\n store i32 %55, i32* %storemerge29.reg2mem\n store i64 %54, i64* %sv_0.08.reg2mem\n br i1 %59, label LBL_8, label LBL_17\n LBL_11:\n %60 = load i32, i32* %4, align 4\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_17, label LBL_12\n LBL_12:\n %62 = add i64 %2, 32\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = icmp eq i32 %64, 0\n br i1 %65, label LBL_17, label LBL_13\n LBL_13:\n %66 = add i64 %2, 24\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = add i64 %2, 40\n %70 = inttoptr i64 %69 to i64*\n %.pre = load i64, i64* %70, align 8\n store i64 %.pre, i64* %.reg2mem37\n store i64 0, i64* %.reg2mem39\n store i32 0, i32* %storemerge111.reg2mem\n store i64 %68, i64* %sv_0.110.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem\n %.reload40 = load i64, i64* %.reg2mem39\n %.reload38 = load i64, i64* %.reg2mem37\n %71 = mul i64 %.reload40, 16\n %72 = add i64 %71, %.reload38\n %73 = add i64 %72, 8\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = udiv i64 %75, 512\n %77 = inttoptr i64 %72 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = add i64 %sv_0.110.reload, 511\n %80 = icmp slt i64 %sv_0.110.reload, 0\n %81 = select i1 %80, i64 %79, i64 %sv_0.110.reload\n %82 = ashr i64 %81, 9\n %83 = call i64 @FUNC(i64 %2, i64 %82, i64 %78, i64 %76)\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n %86 = load i64, i64* %70, align 8\n %87 = add i64 %86, %71\n %88 = add i64 %87, 8\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n br i1 %85, label LBL_16, label LBL_15\n LBL_15:\n %91 = inttoptr i64 %87 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %92, i64 %90, i64 %1)\n br label LBL_20\n LBL_16:\n %storemerge111.reload = load i32, i32* %storemerge111.reg2mem\n %94 = add i64 %90, %sv_0.110.reload\n %95 = add i32 %storemerge111.reload, 1\n %96 = load i32, i32* %63, 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 %86, i64* %.reg2mem37\n store i64 %98, i64* %.reg2mem39\n store i32 %95, i32* %storemerge111.reg2mem\n store i64 %94, i64* %sv_0.110.reg2mem\n br i1 %99, label LBL_14, label LBL_17\n LBL_17:\n %100 = add i64 %2, 20\n %101 = inttoptr i64 %100 to i32*\n %102 = load i32, i32* %101, align 4\n %103 = icmp eq i32 %102, 0\n br i1 %103, label LBL_19, label LBL_18\n LBL_18:\n %104 = call i64 @FUNC(i64 %2)\n br label LBL_19\n LBL_19:\n %105 = add i64 %2, 48\n %106 = inttoptr i64 %105 to i32*\n store i32 0, i32* %106, align 4\n %107 = call i64 @FUNC(i64 %2)\n %108 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_22\n LBL_20:\n %109 = call i64 @FUNC(i64 %2)\n br label LBL_21\n LBL_21:\n %110 = call i64 @FUNC(i64 %2)\n %111 = add i64 %2, 48\n %112 = inttoptr i64 %111 to i32*\n store i32 -1, i32* %112, align 4\n store i64 4294967295, 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 %90, { 1, 0 }\n uselistorder i64 %71, { 1, 0 }\n uselistorder i64 %sv_0.110.reload, { 3, 0, 1, 2 }\n uselistorder i64* %70, { 1, 0 }\n uselistorder i32* %63, { 1, 0 }\n uselistorder i64 %50, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %sv_0.08.reload, { 3, 0, 1, 2 }\n uselistorder i64* %30, { 1, 0 }\n uselistorder i32* %23, { 1, 0 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i64 %2, { 12, 13, 14, 8, 9, 10, 1, 11, 2, 6, 7, 5, 0, 16, 17, 15, 18, 3, 19, 4, 20 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem35, { 1, 0, 2 }\n uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem37, { 1, 0, 2 }\n uselistorder i64* %.reg2mem39, { 1, 0, 2 }\n uselistorder i32* %storemerge111.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @ioreq_finish, { 1, 0 }\n uselistorder i64 (i64)* @ioreq_unmap, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @xen_be_printf, { 1, 0 }\n uselistorder i64 0, { 0, 10, 8, 9, 13, 1, 11, 6, 7, 14, 2, 3, 4, 5, 12 }\n uselistorder i64 (i64)* @bdrv_flush, { 1, 0 }\n uselistorder i32 -1, { 3, 1, 0, 2 }\n uselistorder i32 0, { 4, 5, 6, 0, 3, 7, 8, 1, 2, 9, 10, 11 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_17, { 0, 2, 4, 1, 3 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_load_pages_kids_11658", "fun_name": "pdf_load_pages_kids", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = inttoptr i64 %arg1 to %_IO_FILE*\n %3 = call i32 @ftell(%_IO_FILE* %2)\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_13, label LBL_1\n LBL_1:\n %6 = bitcast i64* %rsi to i32*\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\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 %10 = load i64, i64* %9, align 8\n %11 = mul nsw i64 %.reload, 24\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 br i1 %15, label LBL_12, label LBL_3\n LBL_3:\n %16 = add i64 %12, 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_12, label LBL_4\n LBL_4:\n %20 = add i64 %12, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = trunc i64 %22 to i32\n %24 = call i32 @fseek(%_IO_FILE* %2, i32 %23, i32 0)\n br label LBL_5\n LBL_5:\n %25 = call i32 @fgetc(%_IO_FILE* %2)\n %26 = icmp eq i32 %25, 116\n %27 = icmp eq i1 %26, false\n %28 = zext i1 %27 to i64\n %29 = call i64 @FUNC(i64 %arg1, i64 %28)\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_6:\n %33 = load i64, i64* %9, align 8\n %34 = add nsw i64 %11, 16\n %35 = add i64 %34, %33\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i32 @ftell(%_IO_FILE* %2)\n %39 = sext i32 %38 to i64\n %40 = sub i64 %37, %39\n %41 = trunc i64 %40 to i32\n %42 = add i32 %41, 1\n %43 = call i64* @malloc(i32 %42)\n %44 = ptrtoint i64* %43 to i64\n %45 = bitcast i64* %43 to i8*\n %46 = call i32 @fread(i64* %43, i32 1, i32 %41, %_IO_FILE* %2)\n %47 = sext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47, i64 %40, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %49 = add i64 %40, %44\n %50 = inttoptr i64 %49 to i8*\n store i8 0, i8* %50, align 1\n %51 = call i8* @strstr(i8* %45, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %52 = icmp eq i8* %51, null\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_8, label LBL_7\n LBL_7:\n call void @free(i64* %43)\n br label LBL_12\n LBL_8:\n %54 = ptrtoint i8* %51 to i64\n %55 = add i64 %54, 6\n %56 = inttoptr i64 %55 to i8*\n %57 = call i32 @atoi(i8* %56)\n call void @free(i64* %43)\n %58 = load i64, i64* %9, align 8\n %59 = add i64 %58, %11\n %60 = call i64 @FUNC(i64 %arg1, i32 %57, i64 %59, i64 0, i64* nonnull %sv_0)\n %61 = icmp eq i64 %60, 0\n br i1 %61, label LBL_10, label LBL_9\n LBL_9:\n %62 = inttoptr i64 %60 to i8*\n %63 = call i8* @strstr(i8* %62, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %64 = icmp eq i8* %63, null\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_11, label LBL_10\n LBL_10:\n %66 = inttoptr i64 %60 to i64*\n call void @free(i64* %66)\n br label LBL_12\n LBL_11:\n %67 = ptrtoint i8* %63 to i64\n %68 = add i64 %67, 7\n %69 = inttoptr i64 %68 to i8*\n %70 = call i32 @atoi(i8* %69)\n %71 = load i64, i64* %9, align 8\n %72 = add i64 %71, %11\n %73 = zext i32 %70 to i64\n %74 = call i64 @FUNC(i64 %arg1, i64 %73, i64 %72)\n %75 = inttoptr i64 %60 to i64*\n call void @free(i64* %75)\n br label LBL_12\n LBL_12:\n %76 = add i32 %storemerge3.reload, 1\n %77 = load i32, i32* %6, align 8\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* %storemerge3.reg2mem\n br i1 %80, label LBL_2, label LBL_13\n LBL_13:\n %81 = call i32 @fseek(%_IO_FILE* %2, i32 %3, i32 0)\n %82 = sext i32 %81 to i64\n ret i64 %82\n\n uselistorder i8* %63, { 1, 0 }\n uselistorder i8* %51, { 1, 0 }\n uselistorder i64* %43, { 0, 1, 3, 2, 4 }\n uselistorder i64 %40, { 0, 2, 1 }\n uselistorder i64 %11, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*)* @atoi, { 1, 0 }\n uselistorder void (i64*)* @free, { 3, 2, 1, 0 }\n uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 0, { 3, 4, 2, 5, 0, 1 }\n uselistorder i32 (%_IO_FILE*)* @ftell, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "local_chown_1466", "fun_name": "local_chown", "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 %.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 br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i32* %arg3 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, -1\n store i32 -1, i32* %.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = trunc i64 %1 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_2.LBL_4_crit_edge\n LBL_3:\n %.pre = ptrtoint i32* %arg3 to i64\n %.pre4 = add i64 %.pre, 4\n %.pre6 = inttoptr i64 %.pre4 to i32*\n %.pre8 = load i32, i32* %.pre6, align 4\n store i32 %.pre8, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %14 = ptrtoint i32* %arg1 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %arg2)\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 @lchown(i8* %16, i32 %3, i32 %.reload)\n %18 = sext i32 %17 to i64\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %19 = icmp eq i32 %11, 1\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = ptrtoint i32* %arg1 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %arg2)\n %23 = ptrtoint i32* %arg3 to i64\n %24 = call i64 @FUNC(i64 %22, i64 %23)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %25 = icmp eq i32 %11, 2\n %26 = icmp eq i1 %25, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = ptrtoint i32* %arg3 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 = ptrtoint i32* %arg1 to i64\n %32 = call i64 @FUNC(i64 %31, i64 %arg2)\n %33 = inttoptr i64 %32 to i8*\n %34 = call i32 @lchown(i8* %33, i32 %3, i32 %30)\n %35 = sext i32 %34 to i64\n store i64 %35, 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, { 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (i8*, i32, i32)* @lchown, { 1, 0 }\n uselistorder i64 (i64, i64)* @rpath, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i32* %arg3, { 2, 1, 0, 3 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_init_spapr_2444", "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 4198720, i64* %4, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 4198727, i64* %6, align 8\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198734, i64* %8, align 8\n %9 = add i64 %1, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 4198741, i64* %10, align 8\n %11 = add i64 %1, 32\n %12 = inttoptr i64 %11 to i64*\n store i64 4198748, i64* %12, align 8\n %13 = add i64 %1, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 4198755, i64* %14, align 8\n %15 = add i64 %1, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 4198762, i64* %16, align 8\n %17 = add i64 %1, 56\n %18 = inttoptr i64 %17 to i64*\n store i64 4198769, i64* %18, align 8\n %19 = add i64 %1, 64\n %20 = inttoptr i64 %19 to i64*\n store i64 4198776, i64* %20, align 8\n %21 = add i64 %1, 72\n %22 = inttoptr i64 %21 to i64*\n store i64 4198783, i64* %22, align 8\n %23 = add i64 %1, 80\n %24 = inttoptr i64 %23 to i64*\n store i64 4198790, i64* %24, align 8\n %25 = add i64 %1, 88\n %26 = inttoptr i64 %25 to i64*\n store i64 4198797, i64* %26, align 8\n %27 = add i64 %1, 96\n %28 = inttoptr i64 %27 to i64*\n store i64 4198804, i64* %28, align 8\n %29 = add i64 %1, 104\n %30 = inttoptr i64 %29 to i64*\n store i64 4198811, 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 2147483648, 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 4096, i64* %38, align 8\n %39 = add i64 %1, 152\n %40 = inttoptr i64 %39 to i64*\n store i64 2147487744, 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 4096, 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\n uselistorder i64 2147483648, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_neon_dup_high16_2047", "fun_name": "gen_neon_dup_high16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2, i64 %2, i64 4294901760)\n %4 = and i64 %0, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %2, i64 16)\n %6 = call i64 @FUNC(i64 %2, i64 %2, i32 %1)\n %7 = call i64 @FUNC(i64 %4)\n ret i64 %7\n\n uselistorder i64 %2, { 1, 0, 2, 4, 3 }\n uselistorder i64 4294967295, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fill_prefetch_fifo_2453", "fun_name": "fill_prefetch_fifo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.be.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %storemerge.lcssa.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i32\n %.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 %sext = mul i64 %4, 4294967296\n %5 = ashr exact i64 %sext, 30\n %6 = add i64 %2, 80\n %7 = add i64 %6, %5\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i32 %9, 12288\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = sub i32 64, %15\n %17 = add i64 %2, 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 = sext i32 %16 to i64\n %22 = icmp sgt i64 %21, %20\n %spec.select2 = select i1 %22, i32 %19, i32 %16\n %23 = icmp eq i1 %12, false\n %24 = and i32 %spec.select2, -2\n %spec.select = select i1 %23, i32 %spec.select2, i32 %24\n %25 = sub i32 %19, %spec.select\n store i32 %25, i32* %18, align 4\n %26 = load i32, i32* %14, align 4\n %27 = add i32 %spec.select, %26\n store i32 %27, i32* %14, align 4\n %28 = sub i32 64, %27\n %29 = sub i32 64, %spec.select\n %30 = zext i32 %29 to i64\n %31 = sext i32 %28 to i64\n %32 = icmp slt i64 %31, %30\n store i32 %28, i32* %storemerge.lcssa.reg2mem\n br i1 %32, label LBL_1, label LBL_3\n LBL_1:\n %33 = add i64 %2, 16\n store i64 %31, i64* %.reg2mem\n store i32 %28, 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 %34 = add i32 %storemerge4.reload, %spec.select\n %35 = sext i32 %34 to i64\n %36 = add i64 %33, %35\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = add i64 %.reload, %33\n %40 = inttoptr i64 %39 to i8*\n store i8 %38, i8* %40, align 1\n %41 = add i32 %storemerge4.reload, 1\n %42 = sext i32 %41 to i64\n %43 = icmp slt i64 %42, %30\n store i64 %42, i64* %.reg2mem\n store i32 %41, i32* %storemerge4.reg2mem\n store i32 %41, i32* %storemerge.lcssa.reg2mem\n br i1 %43, label LBL_2, label LBL_3\n LBL_3:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %44 = icmp slt i32 %storemerge.lcssa.reload, 64\n br i1 %44, label LBL_4, label LBL_9\n LBL_4:\n %45 = add i64 %2, 16\n store i32 %storemerge.lcssa.reload, i32* %sv_0.03.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %46 = call i64 @FUNC(i64 %7, i64 0, i64 2)\n %47 = trunc i64 %46 to i32\n %48 = add i32 %sv_0.03.reload, 1\n %49 = sext i32 %sv_0.03.reload to i64\n %50 = trunc i64 %46 to i8\n %51 = add i64 %45, %49\n %52 = inttoptr i64 %51 to i8*\n store i8 %50, i8* %52, align 1\n %53 = udiv i32 %47, 256\n %54 = add i32 %sv_0.03.reload, 2\n %55 = sext i32 %48 to i64\n %56 = trunc i32 %53 to i8\n %57 = add i64 %45, %55\n %58 = inttoptr i64 %57 to i8*\n store i8 %56, i8* %58, align 1\n store i32 %54, i32* %sv_0.0.be.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem\n %59 = icmp slt i32 %sv_0.0.be.reload, 64\n store i32 %sv_0.0.be.reload, i32* %sv_0.03.reg2mem\n br i1 %59, label LBL_5, label LBL_9\n LBL_8:\n %60 = call i64 @FUNC(i64 %7, i64 0, i64 1)\n %61 = add i32 %sv_0.03.reload, 1\n %62 = sext i32 %sv_0.03.reload to i64\n %63 = trunc i64 %60 to i8\n %64 = add i64 %45, %62\n %65 = inttoptr i64 %64 to i8*\n store i8 %63, i8* %65, align 1\n store i32 %61, i32* %sv_0.0.be.reg2mem\n br label LBL_7\n LBL_9:\n %66 = add i64 %2, 12\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 0\n br i1 %69, label LBL_12, label LBL_10\n LBL_10:\n %70 = load i32, i32* %18, align 4\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_12, label LBL_11\n LBL_11:\n %73 = add i64 %2, 84\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = or i32 %75, 2\n store i32 %76, i32* %74, align 4\n store i32 0, i32* %67, align 4\n br label LBL_12\n LBL_12:\n %77 = load i32, i32* %14, align 4\n %78 = icmp eq i32 %77, 0\n br i1 %78, label LBL_14, label LBL_13\n LBL_13:\n %79 = call i64 @FUNC(i64 %2, i64 1)\n br label LBL_14\n LBL_14:\n %80 = call i64 @FUNC(i64 %2)\n ret i64 %80\n\n uselistorder i32 %sv_0.0.be.reload, { 1, 0 }\n uselistorder i32 %sv_0.03.reload, { 4, 3, 2, 1, 0 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32 %28, { 1, 0, 2 }\n uselistorder i32 %spec.select, { 0, 3, 1, 2 }\n uselistorder i32 %spec.select2, { 1, 0 }\n uselistorder i32* %14, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 2, 4, 3, 5, 6, 8, 7, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @omap_nand_read, { 1, 0 }\n uselistorder i32 64, { 1, 0, 2, 3, 4 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 3, 4, 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": "b43info_9774", "fun_name": "b43info", "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 %rax.0.reg2mem = 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 i8*, 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* inttoptr (i64 4210724 to i32*), align 4\n %22 = zext i32 %21 to i64\n %23 = icmp slt i32 %21, 1\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %23, label LBL_7, label LBL_3\n LBL_3:\n %24 = ptrtoint i64* %arg1 to i64\n %25 = call i64 @FUNC(i64 %24)\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_7, label LBL_4\n LBL_4:\n %28 = ptrtoint i8* %arg2 to i64\n %29 = bitcast i8** %sv_0 to i64*\n store i64 %28, i64* %29, align 8\n %30 = icmp eq i64* %arg1, null\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %24)\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %32 = inttoptr i64 %storemerge.reload to i8*\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge.reload, i64* nonnull %29, i8* %32, i64 %arg5, i64 %arg6)\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 i64 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "discard_lazy_cpu_state_9356", "fun_name": "discard_lazy_cpu_state", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = load i64, i64* @gv_0, align 8\n %2 = load i64, i64* @gv_1, align 8\n %3 = icmp eq i64 %1, %2\n %4 = icmp eq i1 %3, false\n br i1 %4, 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 %5 = call i64 @FUNC()\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_append_packet_3677", "fun_name": "av_append_packet", "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 = 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 = ptrtoint i32* %arg2 to i64\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 %6, i32 %arg3)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %2, i64 %6, i32 %arg3)\n store i64 %8, 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, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_get_feature_2580", "fun_name": "nvme_get_feature", "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 %storemerge2.in.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 store i64 7, i64* %storemerge.reg2mem\n switch i32 %5, label LBL_4 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %storemerge2.in.reg2mem\n br label LBL_3\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 i32 %11, -2\n %13 = mul i32 %11, 65536\n %14 = add i32 %13, -131072\n %15 = or i32 %14, %12\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n store i64 %17, i64* %storemerge2.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem\n %storemerge2 = trunc i64 %storemerge2.in.reload to i32\n %18 = bitcast i64* %arg3 to i32*\n store i32 %storemerge2, i32* %18, align 4\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 i64* %0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_trace_itd_1310", "fun_name": "ehci_trace_itd", "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 = add i64 %2, 4\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 3)\n %8 = load i32, i32* %4, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9, i64 2)\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(i64 %14, i64 1)\n %16 = add i64 %2, 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 %19, i64 0)\n %21 = and i64 %20, 4294967295\n %22 = trunc i64 %1 to i32\n %23 = and i64 %7, 4294967295\n %24 = and i64 %10, 4294967295\n %25 = and i64 %15, 4294967295\n %26 = and i64 %arg2, 4294967295\n %27 = call i64 @FUNC(i64 %26, i32 %22, i64 %21, i64 %25, i64 %24, i64 %23)\n ret i64 %27\n\n uselistorder i64 (i64, i64)* @get_field, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_uni_ac_vlc_444", "fun_name": "init_uni_ac_vlc", "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.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %indvars.iv6.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 516\n %3 = add i64 %1, 1404\n %4 = inttoptr i64 %3 to i32*\n store i64 0, i64* %indvars.iv6.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %5 = icmp eq i64 %indvars.iv6.reload, 64\n store i64 0, i64* %rax.1.reg2mem\n br i1 %5, label LBL_10, label LBL_2\n LBL_2:\n %6 = add nsw i32 %storemerge4.reload, -64\n %7 = sub nsw i64 64, %indvars.iv6.reload\n %8 = icmp slt i64 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = trunc i64 %7 to i32\n %11 = select i1 %9, i32 %10, i32 %6\n %12 = sext i32 %11 to i64\n %13 = add i32 %11, -1\n %14 = icmp sgt i32 %11, 127\n %15 = add i64 %indvars.iv6.reload, %0\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 %16 = mul i64 %indvars.iv.reload, 4\n %17 = add i64 %16, %1\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 sgt i64 %12, %20\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %22 = add i64 %17, 256\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i32 %13, %24\n %26 = icmp sgt i32 %25, 110\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = sext i32 %25 to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %2, %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* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %33 = load i32, i32* %4, align 4\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %34 = add i32 %33, 14\n store i32 %34, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %35 = add i32 %33, 22\n store i32 %35, 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 %36 = mul i64 %indvars.iv.reload, 128\n %37 = add i64 %15, %36\n %38 = trunc i32 %sv_0.0.reload to i8\n %39 = inttoptr i64 %37 to i8*\n store i8 %38, i8* %39, align 1\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 %37, i64* %rax.1.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_3\n LBL_10:\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %40 = add nuw nsw i32 %storemerge4.reload, 1\n %exitcond8 = icmp eq i64 %indvars.iv.next7, 128\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n store i32 %40, i32* %storemerge4.reg2mem\n br i1 %exitcond8, label LBL_11, label LBL_1\n LBL_11:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %25, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %indvars.iv6.reload, { 0, 3, 1, 2 }\n uselistorder i32 %storemerge4.reload, { 1, 0 }\n uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mt2063_get_frequency_3816", "fun_name": "mt2063_get_frequency", "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 = 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* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\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 = bitcast i64* %arg2 to i32*\n store i32 %9, i32* %10, 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": "__put_mnt_ns_9578", "fun_name": "__put_mnt_ns", "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 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %0, align 8\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64* nonnull @gv_1)\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %sv_0)\n %5 = call i64 @FUNC(i64* nonnull @gv_0)\n %6 = call i64 @FUNC(i64* nonnull @gv_1)\n %7 = call i64 @FUNC(i64* nonnull %sv_0)\n %8 = call i64 @FUNC(i64 %arg1)\n ret i64 %8\n\n uselistorder i64 (i64*)* @spin_unlock, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ResetImageProfileIterator_180", "fun_name": "ResetImageProfileIterator", "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 %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 ([64 x i8], [64 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([26 x i8], [26 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, 305419896\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 ([64 x i8], [64 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\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 br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC()\n %sext = mul i64 %14, 4294967296\n %15 = ashr exact i64 %sext, 32\n %16 = call i64 @FUNC(i64 1, i64 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %13)\n br label LBL_6\n LBL_6:\n %17 = add i64 %6, 16\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 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %19)\n store i64 %21, 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 void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gsm_mult_14998", "fun_name": "gsm_mult", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext1, 32\n %2 = mul nsw i64 %1, %0\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 16384\n %5 = ashr i32 %4, 15\n %6 = zext i32 %5 to i64\n ret i64 %6\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "packet_put_13114", "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 = trunc i64 %0 to i8\n %6 = urem i64 %0, 256\n %7 = icmp eq i8 %5, 1\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_4\n LBL_4:\n %9 = load i32, i32* @gv_1, align 4\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "trigger_activate_8201", "fun_name": "trigger_activate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\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 = and i64 %arg1, 4294967295\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = load i32, i32* @gv_1, align 4\n store i32 %0, i32* @gv_1, align 4\n %7 = inttoptr i64 %5 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i64 1)\n %10 = zext i32 %6 to i64\n store i32 %6, i32* @gv_1, align 4\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smp_fetch_param_8165", "fun_name": "smp_fetch_param", "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 %storemerge.reg2mem = alloca i64\n %.reg2mem4 = alloca i64\n %.pre-phi.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %.pre2.pre-phi.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg5 to i64\n %1 = ptrtoint i8* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = trunc i64 %arg3 to i32\n %3 = trunc i64 %arg1 to i32\n %4 = add i64 %0, 32\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %sext = mul i32 %3, 16777216\n %7 = ashr exact i32 %sext, 24\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %6, i64 %1, i32 %2, i64* nonnull %sv_0, i64* nonnull %sv_1, 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 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_15\n LBL_1:\n %13 = bitcast i64* %arg5 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %6, 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_1.LBL_8_crit_edge, label LBL_3\n LBL_2:\n %.pre = load i64, i64* %sv_0, align 8\n %.pre3 = inttoptr i64 %6 to i64*\n store i64* %.pre3, i64** %.pre2.pre-phi.reg2mem\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_3:\n %18 = inttoptr i64 %6 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = load i64, i64* %sv_0, align 8\n %21 = icmp ugt i64 %19, %20\n store i64* %18, i64** %.pre2.pre-phi.reg2mem\n store i64 %20, i64* %.reg2mem\n br i1 %21, label LBL_8, label LBL_4\n LBL_4:\n %22 = add i64 %6, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ult i64 %24, %20\n store i64* %18, i64** %.pre2.pre-phi.reg2mem\n store i64 %20, i64* %.reg2mem\n br i1 %25, label LBL_8, label LBL_5\n LBL_5:\n %26 = load i64, i64* %sv_1, align 8\n %27 = icmp ugt i64 %16, %26\n store i64* %18, i64** %.pre2.pre-phi.reg2mem\n store i64 %20, i64* %.reg2mem\n br i1 %27, label LBL_8, label LBL_6\n LBL_6:\n %28 = add i64 %6, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp ult i64 %30, %26\n store i64* %18, i64** %.pre2.pre-phi.reg2mem\n store i64 %20, i64* %.reg2mem\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC()\n %33 = load i64, i64* %23, align 8\n %34 = load i64, i64* %sv_0, align 8\n %35 = sub i64 %33, %34\n %36 = inttoptr i64 %32 to i64*\n %37 = inttoptr i64 %34 to i64*\n %38 = trunc i64 %35 to i32\n %39 = call i64* @memcpy(i64* %36, i64* %37, i32 %38)\n %40 = load i64, i64* %sv_1, align 8\n %41 = load i64, i64* %15, align 8\n %42 = sub i64 %40, %41\n %43 = load i64, i64* %23, align 8\n %44 = load i64, i64* %sv_0, align 8\n %45 = add i64 %43, %32\n %46 = sub i64 %45, %44\n %47 = inttoptr i64 %46 to i64*\n %48 = inttoptr i64 %41 to i64*\n %49 = trunc i64 %42 to i32\n %50 = call i64* @memcpy(i64* %47, i64* %48, i32 %49)\n %51 = add i64 %0, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 %32, i64* %52, align 8\n %53 = load i64, i64* %23, align 8\n %54 = load i64, i64* %sv_0, align 8\n %55 = sub i64 %53, %54\n %56 = trunc i64 %55 to i32\n %57 = load i64, i64* %sv_1, align 8\n %58 = load i64, i64* %15, align 8\n %59 = sub i64 %57, %58\n %60 = trunc i64 %59 to i32\n %61 = add i32 %60, %56\n %62 = add i64 %0, 16\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n store i64* %18, i64** %.pre-phi.reg2mem\n br label LBL_9\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %.pre2.pre-phi.reload = load i64*, i64** %.pre2.pre-phi.reg2mem\n %64 = add i64 %0, 8\n %65 = inttoptr i64 %64 to i64*\n store i64 %.reload, i64* %65, align 8\n %66 = load i64, i64* %sv_1, align 8\n %67 = load i64, i64* %sv_0, align 8\n %68 = sub i64 %66, %67\n %69 = trunc i64 %68 to i32\n %70 = add i64 %0, 16\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n %72 = add i64 %0, 24\n %73 = inttoptr i64 %72 to i32*\n store i32 6, i32* %73, align 4\n store i64* %.pre2.pre-phi.reload, i64** %.pre-phi.reg2mem\n br label LBL_9\n LBL_9:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %74 = load i64, i64* %sv_1, align 8\n store i64 %74, i64* %.pre-phi.reload, align 8\n %75 = load i64, i64* %15, align 8\n %76 = icmp eq i64 %75, 0\n store i64 %74, i64* %.reg2mem4\n br i1 %76, label LBL_13, label LBL_10\n LBL_10:\n %77 = load i64, i64* %sv_1, align 8\n %78 = icmp ugt i64 %75, %77\n store i64 %74, i64* %.reg2mem4\n br i1 %78, label LBL_13, label LBL_11\n LBL_11:\n %79 = add i64 %6, 24\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %82 = icmp ult i64 %81, %77\n store i64 %74, i64* %.reg2mem4\n br i1 %82, label LBL_13, label LBL_12\n LBL_12:\n %83 = add i64 %6, 8\n %84 = inttoptr i64 %83 to i64*\n store i64 %81, i64* %84, align 8\n store i64 0, i64* %15, align 8\n %.pre1 = load i64, i64* %.pre-phi.reload, align 8\n store i64 %.pre1, i64* %.reg2mem4\n br label LBL_13\n LBL_13:\n %.reload5 = load i64, i64* %.reg2mem4\n %85 = add i64 %6, 8\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = icmp ult i64 %.reload5, %87\n %89 = icmp eq i1 %88, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %89, label LBL_15, label LBL_14\n LBL_14:\n %90 = add i64 %0, 24\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = or i32 %92, 8\n store i32 %93, i32* %91, 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 %74, { 1, 2, 0, 3 }\n uselistorder i64 %32, { 1, 0, 2 }\n uselistorder i64 %20, { 1, 3, 0, 4, 2, 5 }\n uselistorder i64* %18, { 0, 2, 4, 1, 3, 5 }\n uselistorder i64* %15, { 2, 3, 0, 1, 4 }\n uselistorder i64 %6, { 1, 3, 2, 7, 6, 5, 0, 4, 8 }\n uselistorder i64* %sv_1, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64* %sv_0, { 2, 3, 4, 5, 6, 0, 1 }\n uselistorder i64 %0, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i64** %.pre2.pre-phi.reg2mem, { 0, 2, 4, 1, 3, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 4, 1, 3, 5 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem4, { 0, 3, 2, 4, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_15, { 1, 0, 2 }\n uselistorder label LBL_13, { 1, 2, 0, 3 }\n uselistorder label LBL_8, { 3, 1, 4, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fic_decode_frame_7530", "fun_name": "fic_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 %rdi.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %indvars.iv.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* %arg4 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, 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_2, label LBL_1\n LBL_1:\n %9 = 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 %10 = and i64 %5, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_2:\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp sgt i32 %13, 35\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([26 x i8], [26 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_26\n LBL_4:\n %16 = call i32 @memcmp(i64* %arg4, i64* nonnull @gv_2, i32 7)\n %17 = icmp eq i32 %16, 0\n store i64 %3, i64* %rdi.0.reg2mem\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %19 = add i64 %3, 17\n %20 = inttoptr i64 %19 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 i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %23, label LBL_23, label LBL_7\n LBL_7:\n %24 = add i64 %3, 13\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_9, label LBL_8\n LBL_8:\n %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_9:\n %30 = add i64 %3, 23\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = icmp eq i8 %32, 0\n %. = select i1 %33, i64 ptrtoint (i64* @gv_5 to i64), i64 ptrtoint (i64* @gv_6 to i64)\n %34 = add i64 %4, 40\n %35 = inttoptr i64 %34 to i64*\n store i64 %., i64* %35, align 8\n %36 = add i64 %3, 24\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i32\n %40 = mul i32 %39, 65536\n %41 = add i64 %3, 25\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = zext i8 %43 to i32\n %45 = mul i32 %44, 256\n %46 = or i32 %45, %40\n %47 = add i64 %3, 26\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i32\n %51 = or i32 %46, %50\n %52 = load i32, i32* %12, align 4\n %53 = add i32 %52, -31\n %54 = icmp ult i32 %51, %53\n br i1 %54, label LBL_11, label LBL_10\n LBL_10:\n %55 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_11:\n %56 = zext i8 %26 to i32\n %57 = add i64 %4, 32\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = and i32 %59, -16\n %61 = ashr i32 %59, 31\n %62 = zext i32 %60 to i64\n %63 = zext i32 %61 to i64\n %64 = mul i64 %63, 4294967296\n %65 = or i64 %64, %62\n %66 = zext i8 %26 to i64\n %67 = sdiv i64 %65, %66\n %68 = trunc i64 %67 to i32\n %69 = add i64 %4, 8\n %70 = inttoptr i64 %69 to i32*\n %71 = urem i32 %68, 16\n %72 = icmp eq i32 %71, 0\n %73 = add i32 %68, -1\n %74 = and i32 %73, -16\n %storemerge3 = select i1 %72, i32 %68, i32 %74\n store i32 %storemerge3, i32* %70, align 4\n %75 = mul i32 %56, 4\n %76 = load i32, i32* %12, align 4\n %77 = sub nuw nsw i32 -32, %75\n %78 = sub nuw nsw i32 %77, %51\n %79 = add i32 %78, %76\n %80 = icmp eq i32 %79, 0\n %81 = icmp slt i32 %79, 0\n %82 = icmp eq i1 %81, false\n %83 = icmp eq i1 %80, false\n %84 = icmp eq i1 %82, %83\n br i1 %84, label LBL_13, label LBL_12\n LBL_12:\n %85 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_13:\n %86 = inttoptr i64 %rdi.0.reload to i32*\n store i32 1, i32* %86, align 4\n %87 = add i64 %rdi.0.reload, 4\n %88 = inttoptr i64 %87 to i32*\n store i32 1, i32* %88, align 4\n %89 = mul nuw nsw i64 %66, 24\n %90 = add i64 %4, 24\n %91 = add i64 %4, 16\n %92 = call i64 @FUNC(i64 %91, i64 %90, i64 %89)\n %93 = inttoptr i64 %90 to i64*\n %94 = load i64, i64* %93, align 8\n %95 = icmp eq i64 %94, 0\n %96 = icmp eq i1 %95, false\n br i1 %96, label LBL_14, label LBL_15\n LBL_14:\n %narrow = add nuw nsw i32 %75, 32\n %narrow2 = add nuw nsw i32 %narrow, %51\n %97 = zext i32 %narrow2 to i64\n %98 = add i64 %97, %3\n %99 = zext i32 %51 to i64\n %100 = add nsw i32 %56, -1\n %101 = inttoptr i64 %91 to i64*\n %102 = zext i32 %100 to i64\n %103 = add i64 %99, %3\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_16\n LBL_15:\n %104 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_9, i64 0, i64 0), i64 %90, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_16:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %105 = mul i64 %indvars.iv.reload, 4\n %106 = add i64 %103, %105\n %107 = add i64 %106, 32\n %108 = inttoptr i64 %107 to i8*\n %109 = load i8, i8* %108, align 1\n %110 = add i64 %106, 33\n %111 = inttoptr i64 %110 to i8*\n %112 = load i8, i8* %111, align 1\n %113 = add i64 %106, 34\n %114 = inttoptr i64 %113 to i8*\n %115 = load i8, i8* %114, align 1\n %116 = add i64 %106, 35\n %117 = inttoptr i64 %116 to i8*\n %118 = load i8, i8* %117, align 1\n %119 = load i32, i32* %70, align 4\n %120 = icmp eq i64 %indvars.iv.reload, %102\n %121 = icmp eq i1 %120, false\n br i1 %121, label LBL_18, label LBL_17\n LBL_17:\n %122 = mul i32 %119, %100\n %.neg6 = mul i32 %122, -1\n %123 = add i32 %119, 15\n %124 = add i32 %123, %.neg6\n %125 = and i32 %124, -16\n store i32 %125, i32* %sv_1.0.reg2mem\n store i32 %79, i32* %sv_0.0.reg2mem\n br label LBL_19\n LBL_18:\n %126 = add i64 %106, 36\n %127 = inttoptr i64 %126 to i8*\n %128 = load i8, i8* %127, align 1\n %129 = zext i8 %128 to i32\n %130 = mul i32 %129, 16777216\n %131 = add i64 %106, 37\n %132 = inttoptr i64 %131 to i8*\n %133 = load i8, i8* %132, align 1\n %134 = zext i8 %133 to i32\n %135 = mul i32 %134, 65536\n %136 = or i32 %135, %130\n %137 = add i64 %106, 38\n %138 = inttoptr i64 %137 to i8*\n %139 = load i8, i8* %138, align 1\n %140 = zext i8 %139 to i32\n %141 = mul i32 %140, 256\n %142 = or i32 %136, %141\n %143 = add i64 %106, 39\n %144 = inttoptr i64 %143 to i8*\n %145 = load i8, i8* %144, align 1\n %146 = zext i8 %145 to i32\n %147 = or i32 %142, %146\n store i32 %119, i32* %sv_1.0.reg2mem\n store i32 %147, i32* %sv_0.0.reg2mem\n br label LBL_19\n LBL_19:\n %148 = zext i8 %109 to i32\n %149 = mul i32 %148, 16777216\n %150 = zext i8 %112 to i32\n %151 = mul i32 %150, 65536\n %152 = or i32 %151, %149\n %153 = zext i8 %115 to i32\n %154 = mul i32 %153, 256\n %155 = or i32 %152, %154\n %156 = zext i8 %118 to i32\n %157 = or i32 %155, %156\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %158 = icmp ult i32 %sv_0.0.reload, %157\n %159 = icmp ugt i32 %sv_0.0.reload, %79\n %or.cond = or i1 %158, %159\n br i1 %or.cond, label LBL_21, label LBL_20\n LBL_20:\n %160 = trunc i64 %indvars.iv.reload to i32\n %161 = mul i32 %119, %160\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %162 = sub i32 %sv_0.0.reload, %157\n %163 = zext i32 %157 to i64\n %164 = load i64, i64* %101, align 8\n %165 = mul nuw nsw i64 %indvars.iv.reload, 24\n %166 = add i64 %164, %165\n %167 = add i64 %98, %163\n %168 = inttoptr i64 %166 to i64*\n store i64 %167, i64* %168, align 8\n %169 = load i64, i64* %101, align 8\n %170 = zext i32 %162 to i64\n %171 = add nuw nsw i64 %165, 8\n %172 = add i64 %171, %169\n %173 = inttoptr i64 %172 to i64*\n store i64 %170, i64* %173, align 8\n %174 = load i64, i64* %101, align 8\n %175 = add nuw nsw i64 %165, 16\n %176 = add i64 %175, %174\n %177 = inttoptr i64 %176 to i32*\n store i32 %sv_1.0.reload, i32* %177, align 4\n %178 = load i64, i64* %101, align 8\n %179 = add nuw nsw i64 %165, 20\n %180 = add i64 %179, %178\n %181 = inttoptr i64 %180 to i32*\n store i32 %161, i32* %181, align 4\n br label LBL_21\n LBL_21:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %66\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_22, label LBL_16\n LBL_22:\n %182 = trunc i64 %4 to i32\n %183 = icmp sgt i32 %182, -1\n store i64 %4, i64* %rdi.1.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %183, label LBL_23, label LBL_26\n LBL_23:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %184 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %184, align 4\n %185 = call i64 @FUNC(i64 %arg2, i64 %rdi.1.reload)\n %186 = trunc i64 %185 to i32\n %187 = icmp slt i32 %186, 0\n %188 = icmp eq i1 %187, false\n br i1 %188, label LBL_25, label LBL_24\n LBL_24:\n %189 = and i64 %185, 4294967295\n store i64 %189, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_25:\n %190 = load i32, i32* %12, align 4\n %191 = zext i32 %190 to i64\n store i64 %191, 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 %165, { 1, 2, 3, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i32 %157, { 1, 2, 0 }\n uselistorder i32 %119, { 2, 0, 3, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3, 4 }\n uselistorder i32 %79, { 1, 0, 3, 2 }\n uselistorder i32* %70, { 1, 0 }\n uselistorder i32 %68, { 1, 2, 0 }\n uselistorder i32 %56, { 1, 0 }\n uselistorder i32 %51, { 2, 1, 0, 3 }\n uselistorder i8 %26, { 0, 2, 1 }\n uselistorder i64 %rdi.0.reload, { 2, 1, 0 }\n uselistorder i32* %12, { 2, 0, 1, 3 }\n uselistorder i64 %4, { 0, 2, 9, 11, 10, 8, 13, 12, 7, 14, 6, 1, 5, 4, 3, 16, 15 }\n uselistorder i64 %3, { 2, 1, 8, 7, 11, 10, 9, 12, 6, 14, 13, 5, 0, 4, 15, 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 i64* %indvars.iv.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, 9, 8, 1, 7, 6, 5, 4, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder i32 -1, { 1, 0, 2, 3 }\n uselistorder i32 -16, { 1, 2, 0 }\n uselistorder i32 256, { 1, 0, 2 }\n uselistorder i32 65536, { 1, 0, 2 }\n uselistorder i64 24, { 0, 2, 1, 3 }\n uselistorder i8 0, { 2, 0, 3, 4, 1 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6, 7 }\n uselistorder label LBL_26, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder label LBL_21, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "Xasc_6437", "fun_name": "Xasc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i8* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rbx.1.lcssa.reg2mem = alloca i64\n %r12.0.shrunk.reg2mem = alloca i8\n %rbx.0.reg2mem = alloca i64\n %rbx.13.reg2mem = alloca i64\n %.reg2mem4 = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = icmp eq i8* %arg4, 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 ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %5 = trunc i64 %1 to i8\n switch i8 %5, label LBL_4 [\n i8 39, label LBL_3\n i8 34, label LBL_3\n ]\n LBL_3:\n %6 = ptrtoint i8* %arg4 to i64\n %7 = add i64 %6, 1\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, %5\n %11 = icmp eq i1 %10, false\n store i8 %9, i8* %.reg2mem\n store i64 %7, i64* %.reg2mem4\n store i64 %6, i64* %rbx.13.reg2mem\n store i64 %6, i64* %rbx.1.lcssa.reg2mem\n br i1 %11, label LBL_5, label LBL_19\n LBL_4:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_5:\n %.reload5 = load i64, i64* %.reg2mem4\n %.reload = load i8, i8* %.reg2mem\n %13 = icmp eq i8 %.reload, 92\n %14 = icmp eq i1 %13, false\n store i64 %.reload5, i64* %rbx.0.reg2mem\n store i8 %.reload, i8* %r12.0.shrunk.reg2mem\n br i1 %14, label LBL_18, label LBL_6\n LBL_6:\n %rbx.13.reload = load i64, i64* %rbx.13.reg2mem\n %15 = add i64 %rbx.13.reload, 2\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 116\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 9, i8* %r12.0.shrunk.reg2mem\n br i1 %18, label LBL_18, label LBL_7\n LBL_7:\n %19 = icmp sgt i8 %17, 116\n br i1 %19, label LBL_17, label LBL_8\n LBL_8:\n %20 = icmp eq i8 %17, 114\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 13, i8* %r12.0.shrunk.reg2mem\n br i1 %20, label LBL_18, label LBL_9\n LBL_9:\n %21 = icmp sgt i8 %17, 114\n br i1 %21, label LBL_17, label LBL_10\n LBL_10:\n %22 = icmp eq i8 %17, 110\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 10, i8* %r12.0.shrunk.reg2mem\n br i1 %22, label LBL_18, label LBL_11\n LBL_11:\n %23 = icmp sgt i8 %17, 110\n br i1 %23, label LBL_17, label LBL_12\n LBL_12:\n %24 = icmp eq i8 %17, 92\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 92, i8* %r12.0.shrunk.reg2mem\n br i1 %24, label LBL_18, label LBL_13\n LBL_13:\n %25 = icmp sgt i8 %17, 92\n br i1 %25, label LBL_17, label LBL_14\n LBL_14:\n %26 = icmp eq i8 %17, 48\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 0, i8* %r12.0.shrunk.reg2mem\n br i1 %26, label LBL_18, label LBL_15\n LBL_15:\n %27 = icmp sgt i8 %17, 48\n br i1 %27, label LBL_17, label LBL_16\n LBL_16:\n store i64 %15, i64* %rbx.0.reg2mem\n store i64 %15, i64* %rbx.0.reg2mem\n store i8 %17, i8* %r12.0.shrunk.reg2mem\n store i8 %17, i8* %r12.0.shrunk.reg2mem\n switch i8 %17, label LBL_17 [\n i8 34, label LBL_18\n i8 39, label LBL_18\n ]\n LBL_17:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_18:\n %r12.0.shrunk.reload = load i8, i8* %r12.0.shrunk.reg2mem\n %rbx.0.reload = load i64, i64* %rbx.0.reg2mem\n %29 = sext i8 %r12.0.shrunk.reload to i64\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %rbx.0.reload, 1\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, %5\n %36 = icmp eq i1 %35, false\n store i8 %34, i8* %.reg2mem\n store i64 %32, i64* %.reg2mem4\n store i64 %rbx.0.reload, i64* %rbx.13.reg2mem\n store i64 %rbx.0.reload, i64* %rbx.1.lcssa.reg2mem\n br i1 %36, label LBL_5, label LBL_19\n LBL_19:\n %rbx.1.lcssa.reload = load i64, i64* %rbx.1.lcssa.reg2mem\n %37 = add i64 %rbx.1.lcssa.reload, 2\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 0\n br i1 %40, label LBL_21, label LBL_20\n LBL_20:\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_21:\n ret i64 0\n\n uselistorder i64 %rbx.0.reload, { 0, 2, 1 }\n uselistorder i8 %17, { 2, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }\n uselistorder i64 %15, { 1, 2, 3, 0, 5, 4, 6, 7 }\n uselistorder i8 %5, { 0, 2, 1 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem4, { 2, 0, 1 }\n uselistorder i64* %rbx.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rbx.0.reg2mem, { 0, 2, 3, 4, 1, 6, 5, 7, 8 }\n uselistorder i8* %r12.0.shrunk.reg2mem, { 0, 2, 3, 4, 1, 6, 5, 7, 8 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i8 92, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i8*)* @error, { 2, 3, 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0, 7 }\n uselistorder label LBL_18, { 2, 1, 3, 0, 5, 4, 6, 7 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_queued_data_16749", "fun_name": "flush_queued_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg2, 72057594037927936\n %0 = ashr exact i64 %sext, 56\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = trunc i64 %0 to i8\n %4 = icmp eq i8 %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 @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\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 = urem i64 %0, 256\n %11 = call i64 @FUNC(i64 %6, i64 %9, i64 %9, i64 %10)\n ret i64 %11\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "thr_recvmsg_4343", "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 2, 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, { 1, 2, 0 }\n uselistorder i32 1, { 0, 1, 2, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nft_masq_ipv6_eval_4206", "fun_name": "nft_masq_ipv6_eval", "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 %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 4)\n %5 = inttoptr i64 %3 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %sv_0, 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 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = bitcast i64* %arg2 to i32*\n store i32 %13, i32* %14, align 4\n ret i64 %1\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_anon_ram_free_663", "fun_name": "qemu_anon_ram_free", "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)\n %1 = icmp eq i64 %arg1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i32 @getpagesize()\n %3 = inttoptr i64 %arg1 to i64*\n %4 = trunc i64 %arg2 to i32\n %5 = add i32 %2, %4\n %6 = call i32 @munmap(i64* %3, i32 %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 i64 %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aligned_dealloc_6446", "fun_name": "aligned_dealloc", "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 = urem i64 %arg1, 16\n %2 = icmp eq i64 %1, 0\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %arg1, -1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp ult i8 %7, 17\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i8, i8* %6, align 1\n %12 = zext i8 %11 to i64\n %13 = sub i64 %arg1, %12\n %14 = call i64 @FUNC(i64 %13)\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 i64 (i64)* @always_assert, { 1, 0 }\n uselistorder i32 1, { 1, 2, 3, 0 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "socketReceivedUDP_12365", "fun_name": "socketReceivedUDP", "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 %rsi.0.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 i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp ult i64 %3, 8\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_2, i64 9)\n %6 = ptrtoint i64* %sv_2 to i64\n %7 = or i64 %6, 6\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = zext i16 %9 to i64\n %11 = add nuw nsw i64 %10, 8\n %12 = icmp ugt i64 %3, %11\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC()\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = load i16, i16* %8, align 2\n %16 = zext i16 %15 to i64\n %17 = call i64 @FUNC(i64 0, i64 8, i64 %16)\n %18 = load i16, i16* %8, align 2\n %19 = zext i16 %18 to i64\n %20 = add nuw nsw i64 %19, 8\n %21 = icmp ugt i64 %3, %20\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 8, i64* %rsi.0.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %22 = call i64 @FUNC(i64 8, i64 %20, i64 1024)\n store i64 %22, i64* %sv_0.0.reg2mem\n store i64 %20, i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_5:\n %23 = bitcast i64* %sv_2 to i8*\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %24 = call i64 @FUNC(i64 %rsi.0.reload)\n store i64 %sv_0.0.reload, i64* %arg2, align 8\n %25 = or i64 %6, 3\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = or i64 %6, 2\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 2\n %31 = zext i8 %30 to i64\n %32 = or i64 %6, 1\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i64\n %36 = load i8, i8* %23, align 8\n %37 = zext i8 %27 to i64\n %38 = zext i8 %36 to i64\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %38, i64 %35, i64 %31, i64 %37, i64 %1)\n %40 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %39)\n %41 = or i64 %6, 4\n %42 = inttoptr i64 %41 to i16*\n %43 = load i16, i16* %42, align 4\n %44 = zext i16 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n %46 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %45)\n %47 = load i16, i16* %8, align 2\n %48 = zext i16 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %49)\n store i64 %17, i64* %sv_1, align 8\n %51 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i64 2)\n %52 = call i64 @FUNC(i64 %17, i64 %13)\n store i64 %52, 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 %17, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2, 3, 4 }\n uselistorder i64 %6, { 0, 3, 2, 1, 4 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @jsvNewFromInteger, { 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @jsvObjectSetChildAndUnLock, { 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @jsvNewFromStringVar, { 1, 0 }\n uselistorder i64 8, { 1, 0, 4, 3, 5, 2 }\n uselistorder label LBL_6, { 2, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipt_recent_checkentry_3896", "fun_name": "ipt_recent_checkentry", "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 i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 16\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_15\n LBL_1:\n %6 = ptrtoint i64* %arg4 to i64\n %7 = urem i64 %1, 4\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\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 %13 = icmp eq i1 %12, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_15, label LBL_3\n LBL_3:\n %14 = add i64 %6, 8\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* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_15\n LBL_4:\n %18 = add i64 %6, 12\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 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_15, label LBL_5\n LBL_5:\n %22 = call i32 @strnlen(i8* %19, i32 32)\n %23 = icmp eq i32 %22, 32\n %24 = icmp eq i1 %23, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_6, label LBL_15\n LBL_6:\n %25 = call i64 @FUNC(i64* nonnull @gv_0)\n %26 = call i64 @FUNC(i64 %18)\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = inttoptr i64 %26 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 store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_8:\n %31 = call i64 @FUNC(i64 8272, i64 0)\n %32 = icmp eq i64 %31, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_14, label LBL_9\n LBL_9:\n %33 = inttoptr i64 %31 to i32*\n store i32 1, i32* %33, align 4\n %34 = add i64 %31, 4\n %35 = inttoptr i64 %34 to i8*\n %36 = call i8* @strcpy(i8* %35, i8* %19)\n %37 = add i64 %31, 40\n %38 = call i64 @FUNC(i64 %37)\n %39 = add i64 %31, 56\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 %40 = mul i64 %indvars.iv.reload, 16\n %41 = add i64 %39, %40\n %42 = call i64 @FUNC(i64 %41)\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_11, label LBL_10\n LBL_11:\n %43 = load i64, i64* @gv_1, align 8\n %44 = load i32, i32* @gv_2, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %34, i64 %45, i64 %43)\n %47 = add i64 %31, 4152\n %48 = inttoptr i64 %47 to i64*\n store i64 %46, i64* %48, align 8\n %49 = icmp eq i64 %46, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_13, label LBL_12\n LBL_12:\n %51 = call i64 @FUNC(i64 %31)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %52 = inttoptr i64 %46 to i64*\n store i64 ptrtoint (i64* @gv_3 to i64), i64* %52, align 8\n %53 = load i64, i64* %48, align 8\n %54 = add i64 %53, 8\n %55 = inttoptr i64 %54 to i64*\n store i64 %31, i64* %55, align 8\n %56 = call i64 @FUNC(i64* nonnull @gv_4)\n %57 = add i64 %31, 4160\n %58 = call i64 @FUNC(i64 %57, i64* nonnull @gv_5)\n %59 = call i64 @FUNC(i64* nonnull @gv_4)\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 %60 = call i64 @FUNC(i64* nonnull @gv_0)\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 i64 %46, { 1, 0, 2 }\n uselistorder i64 %31, { 1, 2, 3, 4, 0, 5, 6, 7, 8 }\n uselistorder i32* %28, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 4, 3, 5 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i32 0, { 3, 4, 5, 0, 1, 2 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder label LBL_15, { 5, 1, 0, 3, 2, 4 }\n uselistorder label LBL_14, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_bink_idct_c_2986", "fun_name": "ff_bink_idct_c", "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 %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 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 %2 = mul i64 %indvars.iv.reload, 4\n %3 = add i64 %2, %0\n %4 = add i64 %2, %1\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond3 = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond3, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %5\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_renderer_resource_attach_iov_5321", "fun_name": "vrend_renderer_resource_attach_iov", "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 %arg1, 4294967295\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 22, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n store i64 %7, i64* %4, align 8\n %8 = trunc i64 %arg3 to i32\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, 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 label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysview_device_free_4967", "fun_name": "sysview_device_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.1.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_5\n LBL_1:\n %2 = add i64 %arg1, 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 = call i64 @FUNC(i64 %6, i64 %arg1, i64 %arg1)\n %8 = load i64, i64* %3, 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 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %6, i64 %arg1)\n %15 = add i64 %arg1, 32\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n store i64 %13, i64* %rdi.1.reg2mem\n switch i32 %17, label LBL_4 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n ]\n LBL_2:\n %18 = add i64 %arg1, 8\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 %21, i64* %19, align 8\n store i64 %20, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_3:\n %22 = add i64 %arg1, 16\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 %25, i64* %23, align 8\n store i64 %24, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %26 = inttoptr i64 %rdi.1.reload to i64*\n call void @free(i64* %26)\n %27 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %27)\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @udev_device_unref, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @hashmap_remove_value, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 4, 0, 7, 5, 6, 8 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spatial_decompose53i_3235", "fun_name": "spatial_decompose53i", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %0 = add i32 %arg3, -1\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 4294967293, i64 %1)\n %3 = call i64 @FUNC(i64 4294967294, i64 %1)\n %4 = icmp sgt i32 %arg3, -2\n store i64 4294967294, i64* %storemerge.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n %7 = mul i32 %6, %arg4\n %8 = sext i32 %7 to i64\n %9 = mul i64 %8, 4\n %10 = add i64 %9, %5\n %11 = trunc i64 %2 to i32\n %12 = mul i32 %11, %arg4\n %13 = sext i32 %12 to i64\n %14 = mul i64 %13, 4\n %15 = add i64 %14, %5\n %16 = zext i32 %arg2 to i64\n store i32 -2, i32* %storemerge7.reg2mem\n store i64 %10, i64* %sv_1.05.reg2mem\n store i64 %15, 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 %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %17 = or i32 %storemerge7.reload, 1\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i64 %1)\n %20 = trunc i64 %19 to i32\n %21 = mul i32 %20, %arg4\n %22 = sext i32 %21 to i64\n %23 = mul i64 %22, 4\n %24 = add i64 %23, %5\n %25 = add i32 %storemerge7.reload, 2\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %1)\n %28 = icmp ult i32 %17, %arg3\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = call i64 @FUNC(i64 %24, i64 %16)\n br label LBL_4\n LBL_4:\n %31 = trunc i64 %27 to i32\n %32 = mul i32 %31, %arg4\n %33 = sext i32 %32 to i64\n %34 = mul i64 %33, 4\n %35 = add i64 %34, %5\n %36 = icmp ult i32 %25, %arg3\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = call i64 @FUNC(i64 %35, i64 %16)\n br label LBL_6\n LBL_6:\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %39 = call i64 @FUNC(i64 %sv_1.05.reload, i64 %24, i64 %35, i32 %arg2)\n br label LBL_8\n LBL_8:\n %40 = icmp ult i32 %storemerge7.reload, %arg3\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 %sv_0.04.reload, i64 %sv_1.05.reload, i64 %24, i32 %arg2)\n br label LBL_10\n LBL_10:\n %43 = icmp slt i32 %25, %arg3\n store i32 %25, i32* %storemerge7.reg2mem\n store i64 %35, i64* %sv_1.05.reg2mem\n store i64 %24, i64* %sv_0.04.reg2mem\n store i64 %26, i64* %storemerge.lcssa.reg2mem\n br i1 %43, label LBL_2, 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 %35, { 0, 2, 1 }\n uselistorder i64 %24, { 0, 3, 2, 1 }\n uselistorder i32 %storemerge7.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.05.reload, { 1, 0 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @horizontal_decompose53i, { 1, 0 }\n uselistorder i64 (i64, i64)* @mirror, { 3, 2, 1, 0 }\n uselistorder i32 %arg3, { 4, 1, 2, 3, 0, 5 }\n uselistorder i32 %arg2, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_changeattr_8874", "fun_name": "update_changeattr", "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 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 4\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %1 to i32\n %7 = or i32 %6, 3\n store i32 %7, i32* %arg1, align 4\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 0\n %.pre3 = ptrtoint i32* %arg2 to i64\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %.pre3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, %6\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %3)\n br label LBL_3\n LBL_3:\n %15 = add i64 %.pre3, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n store i32 %17, i32* %arg1, align 4\n %18 = call i64 @FUNC(i64 %4)\n ret i64 %18\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_sector_read_2378", "fun_name": "ide_sector_read", "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 = bitcast i64* %arg1 to i32*\n store i32 3, 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 = call i64 @FUNC(i64 %0)\n %5 = add i64 %0, 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 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_5\n LBL_2:\n %11 = bitcast i64* %rdi to i32*\n %12 = load i32, i32* %11, align 8\n %13 = or i32 %12, 4\n store i32 %13, i32* %1, align 4\n %14 = add i64 %0, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = sext i32 %7 to i64\n %19 = icmp sgt i64 %18, %17\n %spec.select = select i1 %19, i32 %16, i32 %7\n %20 = call i64 @FUNC(i64 %0, i64 %4, i32 %spec.select)\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_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %0)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %0, 24\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n %30 = mul i32 %spec.select, 512\n %31 = sext i32 %30 to i64\n %32 = add i64 %0, 32\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n %34 = add i64 %0, 40\n %35 = call i64 @FUNC(i64 %34, i64 %28, i64 1)\n %36 = add i64 %0, 64\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, i64 %36, i64 %31, i64 0)\n %41 = load i64, i64* %38, align 8\n %42 = zext i32 %spec.select to i64\n %43 = call i64 @FUNC(i64 %41, i64 %4, i64 %34, i64 %42, i64 4198843, i64 %0)\n %44 = add i64 %0, 48\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\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 i32 %spec.select, { 2, 0, 1 }\n uselistorder i64 %0, { 1, 2, 4, 3, 5, 6, 8, 7, 9, 10, 11, 0, 13, 12, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_frame_16809", "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 i32\n %sv_0.02.reg2mem = alloca i32\n %storemerge3.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 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n store i32 %4, i32* %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* %storemerge3.reg2mem\n store i32 %4, i32* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %8 = zext i32 %storemerge3.reload to i64\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = add i32 %sv_0.02.reload, %10\n %12 = add i32 %storemerge3.reload, 1\n %13 = sext i32 %12 to i64\n %14 = icmp sgt i64 %7, %13\n store i32 %12, i32* %storemerge3.reg2mem\n store i32 %11, i32* %sv_0.02.reg2mem\n store i32 %11, i32* %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 i32, i32* %sv_0.0.lcssa.reg2mem\n %15 = sub i32 0, %sv_0.0.lcssa.reload\n %16 = urem i32 %15, 8\n %17 = add i32 %sv_0.0.lcssa.reload, 16\n %18 = add i32 %17, %16\n %19 = ashr i32 %18, 3\n %20 = zext i32 %19 to i64\n ret i64 %20\n\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_packet_ref_17172", "fun_name": "av_packet_ref", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi2.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 %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 store i64 %6, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %7 = icmp eq i64* %arg2, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = add i64 %0, 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 = call i64 @FUNC(i64 %1, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n br i1 %15, label LBL_7, label LBL_4\n LBL_4:\n %16 = load i32, i32* %10, align 4\n %17 = add i64 %0, 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 = call i64* @memcpy(i64* %arg1, i64* %20, i32 %16)\n %22 = add i64 %1, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %1, i64* %23, align 8\n store i32* %10, i32** %.pre-phi2.reg2mem\n br label LBL_6\n LBL_5:\n %24 = call i64 @FUNC(i64 %0)\n store i64 %24, i64* %arg1, align 8\n %25 = add i64 %0, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %1, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n %.pre = add i64 %0, 16\n %.pre1 = inttoptr i64 %.pre to i32*\n store i32* %.pre1, i32** %.pre-phi2.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem\n %30 = load i32, i32* %.pre-phi2.reload, align 4\n %31 = add i64 %1, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %33 = call i64 @FUNC(i64 %1)\n %34 = and i64 %13, 4294967295\n store i64 %34, 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, 4, 5, 1, 0, 3, 6 }\n uselistorder i64 %0, { 0, 3, 4, 1, 2, 5 }\n uselistorder i32** %.pre-phi2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 16, { 2, 0, 3, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "netlink_kernel_create_4958", "fun_name": "netlink_kernel_create", "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 %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\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, 10\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 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 0, i64 0, i64 %5, i64* nonnull %sv_1)\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_2, label LBL_12\n LBL_2:\n %9 = ptrtoint i64* %arg5 to i64\n %10 = ptrtoint i64* %arg1 to i64\n %11 = load i64, i64* %sv_1, align 8\n %12 = call i64 @FUNC(i64 %10, i64 %11, i64 %9, i32 %3)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_11, label LBL_3\n LBL_3:\n %sext3 = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext3, 32\n %16 = trunc i64 %15 to i32\n %17 = icmp ult i32 %16, 32\n %spec.select = select i1 %17, i64 32, i64 %15\n %18 = mul i64 %spec.select, 8\n %19 = and i64 %18, 34359738360\n %20 = call i64 @FUNC(i64 %19, i64 0)\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_11, label LBL_4\n LBL_4:\n %22 = load i64, i64* %sv_1, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i64*\n store i64 4198726, i64* %25, align 8\n %26 = icmp eq i64 %arg4, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %24)\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %arg4, i64* %29, align 8\n br label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %24, i64 %10, i64 0)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %20, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_11, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %24)\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = or i32 %36, 1\n store i32 %37, i32* %35, align 4\n %38 = call i64 @FUNC()\n %39 = ashr exact i64 %sext, 30\n %40 = add nsw i64 %39, %1\n %41 = mul i64 %40, 8\n %42 = add i64 %41, ptrtoint (i32** @gv_0 to i64)\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 8\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = ptrtoint i64* %arg6 to i64\n %48 = add i64 %41, ptrtoint (i32** @gv_1 to i64)\n %49 = trunc i64 %spec.select to i32\n %50 = inttoptr i64 %48 to i32*\n store i32 %49, i32* %50, align 8\n %51 = add i64 %41, ptrtoint (i64* @gv_2 to i64)\n %52 = inttoptr i64 %51 to i64*\n store i64 %20, i64* %52, align 8\n %53 = add i64 %41, ptrtoint (i64* @gv_3 to i64)\n %54 = inttoptr i64 %53 to i64*\n store i64 %9, i64* %54, align 8\n %55 = add i64 %41, ptrtoint (i64* @gv_4 to i64)\n %56 = inttoptr i64 %55 to i64*\n store i64 %47, i64* %56, align 8\n store i32 1, i32* %43, align 8\n br label LBL_10\n LBL_9:\n %57 = call i64 @FUNC(i64 %20)\n br label LBL_10\n LBL_10:\n %58 = call i64 @FUNC()\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %59 = call i64 @FUNC(i64 %sv_0.0.reload)\n %60 = load i64, i64* %sv_1, align 8\n %61 = call i64 @FUNC(i64 %60)\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 %41, { 4, 3, 2, 1, 0 }\n uselistorder i64 %24, { 0, 2, 3, 1, 4 }\n uselistorder i64 %20, { 2, 1, 0, 3 }\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 (i64)* @nlk_sk, { 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_12, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_bp_event_13572", "fun_name": "perf_bp_event", "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(i64* nonnull %sv_0, i64 %1)\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 = 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_3, label LBL_1\n LBL_1:\n %9 = load i64, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %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 store i64 %10, i64* %rax.0.reg2mem\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 %1, i64 1, i64* nonnull %sv_0, i64 %14)\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* %sv_0, { 0, 2, 3, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_netmask_v4_4532", "fun_name": "is_netmask_v4", "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 32, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = bitcast i64* %arg1 to i8*\n %3 = call i8* @strchr(i8* %2, i32 47)\n %4 = icmp eq i8* %3, null\n store i64 32, i64* %rax.0.reg2mem\n br i1 %4, label LBL_5, label LBL_2\n LBL_2:\n %5 = ptrtoint i8* %3 to i64\n %6 = add i64 %5, 1\n %7 = inttoptr i64 %6 to i8*\n store i8 0, i8* %3, align 1\n %8 = call i8* @strchr(i8* %7, i32 46)\n %9 = icmp eq i8* %8, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %10 = call i32 @atoi(i8* %7)\n %11 = icmp ult i32 %10, 33\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_5\n LBL_4:\n %12 = urem i32 %10, 256\n %phitmp = zext i32 %12 to i64\n store i64 %phitmp, 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* %3, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2, 5 }\n uselistorder label LBL_5, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "entries_12020", "fun_name": "entries", "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_3\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1)\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 %5 = inttoptr i64 %2 to i64*\n %6 = load i64, i64* %5, align 8\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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "milkymist_softusb_init_809", "fun_name": "milkymist_softusb_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 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2, i64 %0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 1024)\n %4 = call i64 @FUNC(i64 %0, i64 %2)\n %5 = add i64 %0, 48\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %0, 16\n %9 = call i64 @FUNC(i64 %8, i64 %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64* nonnull @gv_3)\n %10 = call i64 @FUNC(i64 %8)\n %11 = call i64 @FUNC(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 %8)\n %15 = add i64 %0, 56\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %0, 24\n %19 = call i64 @FUNC(i64 %18, i64 %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %17, i64* nonnull @gv_3)\n %20 = call i64 @FUNC(i64 %18)\n %21 = call i64 @FUNC(i64 %18)\n %22 = add i64 %0, 40\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = call i64 @FUNC(i64 %0, i64 %18)\n %25 = load i64, i64* @gv_5, align 8\n %26 = add i64 %0, 64\n %27 = call i64 @FUNC(i64 %26, i64 1, i64 %25)\n %28 = load i64, i64* @gv_6, align 8\n %29 = add i64 %0, 72\n %30 = call i64 @FUNC(i64 %29, i64 2, i64 %28)\n ret i64 0\n\n uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 13, 15, 17, 16 }\n uselistorder i64 (i64, i64, i64)* @hid_init, { 1, 0 }\n uselistorder i64 (i64)* @memory_region_get_ram_ptr, { 1, 0 }\n uselistorder i64 (i64)* @vmstate_register_ram_global, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64*)* @memory_region_init_ram, { 1, 0 }\n uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_lzf_uncompress_1891", "fun_name": "ff_lzf_uncompress", "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 %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %.pn.reg2mem = alloca i64\n %sv_1.2.be.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_1.23.reg2mem = alloca i64\n %sv_0.04.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 = trunc i64 %2 to i32\n %4 = icmp sgt i32 %3, 2\n store i64 0, i64* %sv_0.04.reg2mem\n store i64 %0, i64* %sv_1.23.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_12\n LBL_1:\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 %5 = call i64 @FUNC(i64 %1)\n %6 = trunc i64 %5 to i8\n %7 = icmp ult i8 %6, -32\n br i1 %7, label LBL_2, label LBL_7\n LBL_2:\n %8 = add i8 %6, 1\n %9 = zext i8 %8 to i64\n %10 = sub i64 %9, %sv_0.04.reload\n %11 = icmp slt i64 %10, %9\n store i64 %sv_1.23.reload, i64* %sv_1.0.reg2mem\n br i1 %11, label LBL_3, label LBL_5\n LBL_3:\n %12 = udiv i64 %9, 2\n %13 = add nuw nsw i64 %12, %9\n store i64 %13, i64* %arg3, align 8\n %14 = call i64 @FUNC(i64 %0, 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 i64 %14, i64* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_4, label LBL_13\n LBL_4:\n %18 = add i64 %13, %sv_0.04.reload\n store i64 %18, 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 %19 = call i64 @FUNC(i64 %1, i64 %sv_1.0.reload, i8 %8)\n %20 = add i64 %sv_1.0.reload, %9\n store i64 %20, i64* %sv_1.2.be.reg2mem\n store i64 %9, i64* %.pn.reg2mem\n br label LBL_6\n LBL_6:\n %.pn.reload = load i64, i64* %.pn.reg2mem\n %sv_1.2.be.reload = load i64, i64* %sv_1.2.be.reg2mem\n %sv_0.0.be = add i64 %.pn.reload, %sv_0.04.reload\n %21 = call i64 @FUNC(i64 %1)\n %22 = trunc i64 %21 to i32\n %23 = icmp sgt i32 %22, 2\n store i64 %sv_0.0.be, i64* %sv_0.04.reg2mem\n store i64 %sv_1.2.be.reload, i64* %sv_1.23.reg2mem\n store i64 %sv_0.0.be, i64* %sv_0.0.lcssa.reg2mem\n br i1 %23, label LBL_1, label LBL_12\n LBL_7:\n %24 = sext i8 %6 to i32\n %25 = mul i32 %24, 256\n %26 = and i32 %25, 7936\n %27 = or i32 %26, 1\n %28 = call i64 @FUNC(i64 %1)\n %29 = trunc i64 %28 to i32\n %30 = urem i32 %29, 256\n %31 = add nuw nsw i32 %30, %27\n %32 = zext i32 %31 to i64\n %33 = icmp slt i64 %sv_0.04.reload, %32\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_13, label LBL_8\n LBL_8:\n %34 = udiv i32 %24, 32\n %35 = urem i32 %34, 8\n %36 = add nuw nsw i32 %35, 2\n %37 = zext i32 %36 to i64\n %38 = sub i64 %37, %sv_0.04.reload\n %39 = icmp slt i64 %38, %37\n store i64 %sv_1.23.reload, i64* %sv_1.1.reg2mem\n br i1 %39, label LBL_9, label LBL_11\n LBL_9:\n %40 = udiv i64 %37, 2\n %41 = add nuw nsw i64 %40, %37\n store i64 %41, i64* %arg3, align 8\n %42 = call i64 @FUNC(i64 %0, i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %42, i64* %rax.0.shrunk.reg2mem\n br i1 %45, label LBL_10, label LBL_13\n LBL_10:\n %46 = add i64 %41, %sv_0.04.reload\n store i64 %46, i64* %sv_1.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %47 = call i64 @FUNC(i64 %sv_1.1.reload, i64 %32, i32 %36)\n %48 = add i64 %sv_1.1.reload, %37\n store i64 %48, i64* %sv_1.2.be.reg2mem\n store i64 %37, i64* %.pn.reg2mem\n br label LBL_6\n LBL_12:\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 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 i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %37, { 0, 2, 3, 1, 5, 4 }\n uselistorder i32 %36, { 1, 0 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %9, { 0, 2, 3, 1, 4, 5 }\n uselistorder i8 %6, { 2, 0, 1 }\n uselistorder i64 %sv_0.04.reload, { 3, 0, 1, 5, 4, 2 }\n uselistorder i64 %1, { 1, 4, 2, 3, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.2.be.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pn.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @av_reallocp, { 1, 0 }\n uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 }\n uselistorder i64 0, { 0, 1, 2, 3, 5, 4, 7, 6, 8 }\n uselistorder i32 2, { 2, 1, 0 }\n uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 }\n uselistorder i64* %arg3, { 2, 1, 0 }\n uselistorder label LBL_13, { 3, 0, 1, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "strict_blocks_to_sectors_9776", "fun_name": "strict_blocks_to_sectors", "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 @FUNC(i64 %arg1, i64 10, 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 store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = load i64, i64* %sv_0, align 8\n %5 = icmp slt 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_3\n LBL_2:\n %7 = mul i64 %4, 2\n store i64 %7, i64* %arg2, 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* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ctxt_switch_to_12174", "fun_name": "ctxt_switch_to", "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, 112\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* %5, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC()\n %11 = load i64, i64* %5, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC()\n %15 = call i64 @FUNC(i64 %0)\n ret i64 %15\n\n uselistorder i64* %5, { 1, 0, 2 }\n uselistorder i64 ()* @isb, { 2, 1, 0 }\n uselistorder i64 (i64)* @is_32bit_domain, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "AVI_read_frame_13315", "fun_name": "AVI_read_frame", "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 %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 store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_2:\n %5 = ptrtoint i32* %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 = 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 store i32 -2, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_4:\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp slt i32 %13, 0\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_11, label LBL_5\n LBL_5:\n %15 = add i64 %5, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp ult i32 %13, %17\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %18, label LBL_6, label LBL_11\n LBL_6:\n %19 = sext i32 %13 to i64\n %20 = mul nsw i64 %19, 12\n %21 = add i64 %20, %8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %21, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 16\n %28 = zext i1 %27 to i32\n store i32 %28, i32* %arg3, align 4\n %29 = icmp eq i64 %arg2, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = load i32, i32* %12, align 4\n %32 = add i32 %31, 1\n store i32 %32, i32* %12, align 4\n store i32 %23, i32* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_8:\n %33 = load i64, i64* %7, align 8\n %34 = load i32, i32* %12, align 4\n %35 = sext i32 %34 to i64\n %36 = mul nsw i64 %35, 12\n %37 = add i64 %33, 8\n %38 = add i64 %37, %36\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 %5, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %41, i64 0)\n %46 = load i64, i64* %43, align 8\n %47 = call i64 @FUNC(i64 %46, i64 %arg2, i32 %23)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %23, %48\n br i1 %49, label LBL_10, label LBL_9\n LBL_9:\n store i32 -3, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_10:\n %50 = load i32, i32* %12, align 4\n %51 = add i32 %50, 1\n store i32 %51, i32* %12, align 4\n store i32 %23, i32* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\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 %23, { 1, 2, 3, 0 }\n uselistorder i32* %12, { 3, 2, 4, 1, 0, 5 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 6, 5, 2, 1, 4, 3 }\n uselistorder i32 -1, { 4, 1, 0, 3, 2, 5 }\n uselistorder label LBL_11, { 2, 3, 4, 1, 0, 5, 6 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "remove_bond_6496", "fun_name": "remove_bond", "llvm_ir_function": "define i64 @FUNC(i32* %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 br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = ptrtoint i32* %arg1 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 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %12 = ptrtoint i32* %arg1 to i64\n %13 = call i64 @FUNC(i64 %12)\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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "memory_global_sync_dirty_bitmap_413", "fun_name": "memory_global_sync_dirty_bitmap", "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 ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_write_pixels_generic_2711", "fun_name": "vnc_write_pixels_generic", "llvm_ir_function": "define i64 @FUNC(i32* %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.iv23.reg2mem = alloca i64\n %indvars.iv25.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\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, 4\n %7 = icmp eq i1 %6, false\n %8 = ptrtoint i32* %arg2 to i64\n %9 = trunc i64 %1 to i32\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %10 = icmp sgt i32 %arg3, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_15\n LBL_2:\n %11 = udiv i32 %arg3, 4\n %12 = zext i32 %11 to i64\n store i64 0, i64* %indvars.iv25.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem\n %13 = mul i64 %indvars.iv25.reload, 4\n %14 = add i64 %13, %8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %16)\n %18 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %9)\n %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1\n %19 = icmp ult i64 %indvars.iv.next26, %12\n store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem\n br i1 %19, label LBL_3, label LBL_14\n LBL_4:\n %20 = icmp eq i32 %5, 2\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_8, label LBL_5\n LBL_5:\n %22 = icmp sgt i32 %arg3, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_15\n LBL_6:\n %23 = udiv i32 %arg3, 2\n %24 = zext i32 %23 to i64\n store i64 0, i64* %indvars.iv23.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n %25 = mul i64 %indvars.iv23.reload, 2\n %26 = add i64 %25, %8\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = zext i16 %28 to i32\n %30 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %29)\n %31 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %9)\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %32 = icmp ult i64 %indvars.iv.next24, %24\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n br i1 %32, label LBL_7, label LBL_13\n LBL_8:\n %33 = icmp eq i32 %5, 1\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_12, label LBL_9\n LBL_9:\n %35 = icmp sgt i32 %arg3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_10, label LBL_15\n LBL_10:\n %wide.trip.count = zext i32 %arg3 to i64\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 %36 = add i64 %indvars.iv.reload, %8\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i32\n %40 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %39)\n %41 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i32 %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 store i64 %wide.trip.count, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_11\n LBL_12:\n %42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %43 = call i32 @fwrite(i64* bitcast ([62 x i8]* @gv_1 to i64*), i32 1, i32 61, %_IO_FILE* %42)\n %44 = sext i32 %43 to i64\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %45 = and i64 %indvars.iv.next24, 4294967295\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %46 = and i64 %indvars.iv.next26, 4294967295\n store i64 %46, 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.next24, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.next26, { 1, 0, 2 }\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 7, 1, 6, 4, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 3 }\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 i32 %arg3, { 2, 3, 0, 4, 1, 5 }\n uselistorder label LBL_15, { 2, 4, 6, 0, 5, 3, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xtensa_cpu_class_init_14186", "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 %27 = inttoptr i64 %3 to i8*\n store i8 1, i8* %27, align 1\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_warc_read_5510", "fun_name": "_warc_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 %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 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 = icmp ugt i64 %3, %0\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %arg2, align 8\n store i64 0, i64* %arg3, align 8\n %7 = add i64 %0, 4\n store i64 %7, i64* %arg4, align 8\n store i64 0, i64* %6, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %8 = load i64, i64* %6, 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 %0, i64 %8)\n store i64 0, i64* %6, align 8\n br label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %sv_0)\n %12 = load i64, i64* %sv_0, align 8\n %13 = icmp slt i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n store i64 0, i64* %arg3, align 8\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %15 = icmp eq i64 %12, 0\n br i1 %15, label LBL_1, label LBL_7\n LBL_7:\n %16 = load i64, i64* %2, align 8\n %17 = sub i64 %16, %0\n %18 = icmp ult i64 %17, %12\n %19 = icmp eq i1 %18, false\n store i64 %12, i64* %.reg2mem\n br i1 %19, label LBL_9, label LBL_8\n LBL_8:\n store i64 %17, i64* %sv_0, align 8\n store i64 %17, i64* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n store i64 %0, i64* %arg4, align 8\n store i64 %.reload, i64* %arg3, align 8\n store i64 %11, i64* %arg2, align 8\n %20 = add i64 %.reload, %0\n store i64 %20, i64* %arg1, align 8\n store i64 %.reload, i64* %6, 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 %.reload, { 0, 2, 1 }\n uselistorder i64 %12, { 1, 2, 3, 0, 4 }\n uselistorder i64* %6, { 1, 2, 3, 0 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 3, 4, 5, 2, 1, 6, 7, 8 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_collapse_ofo_queue_12769", "fun_name": "tcp_collapse_ofo_queue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32*\n %sv_2.0.ph.in.in.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.1.ph.reg2mem = alloca i32*\n %sv_1.07.in.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 = call i64 @FUNC(i64 %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 = ptrtoint i64* %sv_3 to i64\n %6 = add i64 %5, -8\n %7 = inttoptr i64 %6 to i64*\n store i64 %2, i64* %sv_1.07.in.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %1)\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n ret i64 %8\n LBL_3:\n %sv_1.07.in.reload = load i64, i64* %sv_1.07.in.reg2mem\n %sv_1.07 = inttoptr i64 %sv_1.07.in.reload to i32*\n %11 = load i32, i32* %sv_1.07, align 4\n %12 = add i64 %sv_1.07.in.reload, 4\n store i32* %sv_1.07, i32** %sv_1.1.ph.reg2mem\n store i32 %11, i32* %sv_0.0.ph.reg2mem\n store i64 %12, i64* %sv_2.0.ph.in.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_2.0.ph.in.in.reload = load i64, i64* %sv_2.0.ph.in.in.reg2mem\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_1.1.ph.reload = load i32*, i32** %sv_1.1.ph.reg2mem\n %sv_2.0.ph.in = inttoptr i64 %sv_2.0.ph.in.in.reload to i32*\n %sv_2.0.ph = load i32, i32* %sv_2.0.ph.in, align 4\n %13 = zext i32 %sv_2.0.ph to i64\n store i32* %sv_1.1.ph.reload, i32** %sv_1.1.reg2mem\n store i32 %sv_0.0.ph.reload, 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.1.reload = load i32*, i32** %sv_1.1.reg2mem\n %14 = ptrtoint i32* %sv_1.1.reload to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_6, label LBL_7\n LBL_6:\n store i64 %13, i64* %7, align 8\n %17 = zext i32 %sv_0.0.reload to i64\n %18 = call i64 @FUNC(i64 %0, i64 0, i64 %1, i64 %sv_1.07.in.reload, i64 0, i64 %17)\n br label LBL_2\n LBL_7:\n %19 = inttoptr i64 %15 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 %13)\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_9, label LBL_8\n LBL_8:\n %26 = add i64 %15, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %sv_0.0.reload to i64\n %30 = zext i32 %28 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n store i64 %13, i64* %7, align 8\n %34 = zext i32 %sv_0.0.reload to i64\n %35 = call i64 @FUNC(i64 %0, i64 0, i64 %1, i64 %sv_1.07.in.reload, i64 %15, i64 %34)\n store i64 %15, i64* %sv_1.07.in.reg2mem\n br label LBL_3\n LBL_10:\n %36 = load i32, i32* %19, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37, i64 %29)\n %39 = and i64 %38, 4294967295\n %40 = call i64 @FUNC(i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = load i32, i32* %19, align 4\n store i32 %43, 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 %44 = load i32, i32* %27, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45, i64 %13)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n store i32* %19, i32** %sv_1.1.ph.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.ph.reg2mem\n store i64 %26, i64* %sv_2.0.ph.in.in.reg2mem\n store i32* %19, i32** %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n br i1 %48, label LBL_5, label LBL_4\n\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1, 3 }\n uselistorder i64 %13, { 2, 1, 3, 0 }\n uselistorder i64 %sv_1.07.in.reload, { 2, 3, 1, 0 }\n uselistorder i64* %7, { 1, 0 }\n uselistorder i64 %1, { 3, 0, 2, 1, 4 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %sv_1.07.in.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.1.ph.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.ph.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.1.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @before, { 1, 0 }\n uselistorder i64 (i64, i64)* @after, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @tcp_collapse, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcp_parse_options_7162", "fun_name": "tcp_parse_options", "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.be.reg2mem = alloca i64\n %rcx.0.be.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %.reg2mem7 = alloca i32\n %rcx.03.reg2mem = alloca i64\n %r8.04.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, 48\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %2, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %2, 32\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = add i64 %10, %14\n %16 = load i64, i64* %4, align 8\n %17 = add i64 %2, 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 = add i64 %16, %20\n %22 = icmp ugt i64 %15, %21\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_16, label LBL_1\n LBL_1:\n %23 = add i32 %19, -20\n %24 = load i32, i32* %sv_0, align 4\n %25 = icmp ugt i32 %23, %24\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_2, label LBL_16\n LBL_2:\n %26 = add i64 %5, 20\n %27 = add i64 %2, 40\n %28 = inttoptr i64 %27 to i64*\n %29 = ptrtoint i32* %sv_0 to i64\n store i32 %24, i32* %.reg2mem\n store i64 %16, i64* %rcx.03.reg2mem\n br label LBL_3\n LBL_3:\n %rcx.03.reload = load i64, i64* %rcx.03.reg2mem\n %r8.04.reload = load i64, i64* %r8.04.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %30 = add i32 %.reload, 1\n store i32 %30, i32* %sv_0, align 4\n %31 = zext i32 %.reload to i64\n %32 = add i64 %26, %31\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = load i32, i32* %18, align 4\n %36 = add i32 %35, -20\n %37 = icmp ule i32 %36, %30\n %38 = icmp ult i8 %34, 2\n %or.cond = or i1 %38, %37\n store i32 %30, i32* %.reg2mem7\n store i32 1, i32* %storemerge.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %39 = add i32 %.reload, 2\n store i32 %39, i32* %sv_0, align 4\n %40 = zext i32 %30 to i64\n %41 = add i64 %26, %40\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = sext i8 %43 to i32\n store i32 %39, i32* %.reg2mem7\n store i32 %44, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %45 = load i64, i64* %28, align 8\n %46 = icmp eq i64 %45, 0\n br i1 %46, label LBL_7, label LBL_6\n LBL_6:\n %.reload8 = load i32, i32* %.reg2mem7\n %47 = zext i32 %.reload8 to i64\n %48 = add i64 %26, %47\n %49 = icmp ugt i64 %48, %45\n store i64 0, i64* %rax.0.reg2mem\n br i1 %49, label LBL_16, label LBL_7\n LBL_7:\n %50 = trunc i32 %storemerge.reload to i8\n %51 = icmp eq i8 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %52, label LBL_8, label LBL_16\n LBL_8:\n %53 = zext i8 %34 to i64\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %53, i8 %50, i64 %rcx.03.reload, i64 %r8.04.reload, i64 %1)\n store i64 %53, i64* @0, align 8\n store i64 %rcx.03.reload, i64* %rcx.0.be.reg2mem\n store i64 %rcx.03.reload, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n switch i8 %34, label LBL_15 [\n i8 0, label LBL_9\n i8 1, label LBL_9\n i8 2, label LBL_12\n i8 3, label LBL_10\n i8 4, label LBL_11\n i8 5, label LBL_14\n i8 8, label LBL_13\n ]\n LBL_9:\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 %55 = load i32, i32* %18, align 4\n %56 = add i32 %55, -20\n %57 = load i32, i32* %sv_0, align 4\n %58 = icmp ugt i32 %56, %57\n store i32 %57, i32* %.reg2mem\n store i64 %r8.0.be.reload, i64* %r8.04.reg2mem\n store i64 %rcx.0.be.reload, i64* %rcx.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_3, label LBL_16\n LBL_10:\n %59 = call i64 @FUNC(i64 %2, i8 %50, i64 %26, i32* nonnull %sv_0)\n store i64 %29, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_11:\n %60 = call i64 @FUNC(i64 %2, i64 %2, i8 %50, i32* nonnull %sv_0)\n store i64 %29, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_12:\n %61 = call i64 @FUNC(i64 %2, i8 %50, i64 %26, i32* nonnull %sv_0)\n store i64 %29, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_13:\n %62 = call i64 @FUNC(i64 %2, i64 %2, i8 %50, i64 %26, i32* nonnull %sv_0)\n store i64 %26, i64* %rcx.0.be.reg2mem\n store i64 %29, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_14:\n %63 = add nsw i32 %storemerge.reload, 254\n %64 = urem i32 %63, 256\n %65 = zext i32 %64 to i64\n %66 = load i32, i32* %sv_0, align 4\n %67 = zext i32 %66 to i64\n %68 = add i64 %26, %67\n %69 = call i64 @FUNC(i64 %2, i64 %68, i64 %65)\n %70 = load i32, i32* %sv_0, align 4\n %71 = urem i32 %storemerge.reload, 256\n %72 = add nsw i32 %71, -2\n %73 = add i32 %72, %70\n store i32 %73, i32* %sv_0, align 4\n store i64 %68, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_15:\n %74 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %53, i8 %50, i64 %rcx.03.reload, i64 %r8.04.reload, i64 %1)\n %75 = load i32, i32* %sv_0, align 4\n %76 = urem i32 %storemerge.reload, 256\n %77 = add nsw i32 %76, -2\n %78 = add i32 %77, %75\n store i32 %78, i32* %sv_0, align 4\n store i64 %rcx.03.reload, i64* %rcx.0.be.reg2mem\n store i64 %r8.04.reload, i64* %r8.0.be.reg2mem\n br label LBL_9\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %53, { 2, 1, 0 }\n uselistorder i8 %50, { 4, 0, 3, 1, 2, 5, 6 }\n uselistorder i32 %storemerge.reload, { 3, 2, 1, 0 }\n uselistorder i8 %34, { 2, 0, 1 }\n uselistorder i32 %30, { 2, 0, 1, 3 }\n uselistorder i32 %.reload, { 0, 2, 1 }\n uselistorder i64 %r8.04.reload, { 6, 7, 5, 2, 4, 3, 0, 1, 8 }\n uselistorder i64 %rcx.03.reload, { 2, 3, 0, 1, 4 }\n uselistorder i64 %29, { 0, 1, 3, 2 }\n uselistorder i64 %26, { 1, 0, 7, 5, 6, 2, 3, 4 }\n uselistorder i32* %18, { 1, 0, 2 }\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, 11, 12 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.04.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem7, { 0, 2, 1 }\n uselistorder i32* %storemerge.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* %rax.0.reg2mem, { 0, 3, 1, 2, 4, 5 }\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_16, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_9, { 2, 7, 6, 5, 4, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_memlimit_command_9593", "fun_name": "process_memlimit_command", "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 %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 ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 44, 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* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = bitcast i32* %sv_0 to i64*\n %9 = call i64 @FUNC(i64 %7, i64* nonnull %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 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %14 = load i32, i32* %sv_0, align 4\n %15 = icmp ult i32 %14, 8\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %16 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0))\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %17 = icmp ult i32 %14, 1000000001\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %18 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0))\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %19 = zext i32 %14 to i64\n %20 = mul i64 %19, 1048576\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_12, label LBL_9\n LBL_9:\n %24 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4\n %25 = icmp slt i32 %24, 1\n br i1 %25, label LBL_11, label LBL_10\n LBL_10:\n %26 = load i32, i32* %sv_0, align 4\n %27 = zext i32 %26 to i64\n %28 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8\n %29 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i64 %27)\n br label LBL_11\n LBL_11:\n %30 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0))\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_9, i64 0, i64 0))\n store i64 %31, 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 %3, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 1 }\n uselistorder i64 (i64, i8*)* @out_string, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "buffer_append_842", "fun_name": "buffer_append", "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 %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 = inttoptr i64 %4 to i64*\n %6 = inttoptr i64 %arg2 to i64*\n %7 = trunc i64 %arg3 to i32\n %8 = call i64* @memcpy(i64* %5, i64* %6, i32 %7)\n %9 = load i64, i64* %2, align 8\n %10 = add i64 %9, %arg3\n store i64 %10, i64* %2, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "can_safely_read_14786", "fun_name": "can_safely_read", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = sub i32 %1, %3\n %5 = xor i64 %2, %arg2\n %6 = trunc i64 %5 to i32\n %7 = xor i32 %4, %1\n %8 = and i32 %7, %6\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i32 %4, 0\n %11 = icmp slt i32 %4, 0\n %12 = icmp ne i1 %11, %9\n %13 = or i1 %10, %12\n %14 = zext i1 %13 to i64\n ret i64 %14\n\n uselistorder i32 %4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemuio_add_command_15895", "fun_name": "qemuio_add_command", "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 = add i32 %0, 1\n store i32 %1, i32* @gv_0, align 4\n %2 = sext i32 %1 to i64\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 i32, i32* @gv_0, align 4\n %7 = sext i32 %6 to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %5, -8\n %10 = add i64 %9, %8\n %11 = inttoptr i64 %10 to i64*\n store i64 %4, i64* %11, align 8\n %12 = load i64, i64* @gv_1, align 8\n %13 = inttoptr i64 %12 to i64*\n call void @qsort(i64* %13, i32 %6, i32 8, i32 (i64*, i64*)* inttoptr (i64 4198758 to i32 (i64*, i64*)*))\n ret i64 ptrtoint (i32* @0 to i64)\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bnx2x_set_dump_4135", "fun_name": "bnx2x_set_dump", "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 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %.off = add i32 %4, -1\n %5 = icmp ult i32 %.off, 10\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = inttoptr i64 %3 to i32*\n store i32 %4, i32* %6, 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": "restore_fpu_state_2487", "fun_name": "restore_fpu_state", "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 256)\n %3 = add i64 %0, 256\n %4 = add i64 %1, 256\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 = or i64 %7, %2\n %9 = and i64 %8, 4294967295\n ret i64 %9\n\n uselistorder i64 256, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MatrixElemTypeFree_5658", "fun_name": "MatrixElemTypeFree", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.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 = 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, i64 %0)\n %7 = inttoptr i64 %2 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n store i64 %5, i64* %rdi.1.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i32, i32* %3, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %8)\n store i64 %11, i64* %rdi.1.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %13 = load i32, i32* %3, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %rdi.1.reload)\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* %3, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @_cmsFree, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_get_request_1872", "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 = and i64 %1, 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 %8 = icmp eq i1 %7, false\n store i64 %3, i64* %storemerge.reg2mem\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.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": "0" }, { "dataset": "CompRealVul", "file": "_put_cluster_clk_and_freq_table_4036", "fun_name": "_put_cluster_clk_and_freq_table", "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 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = mul i64 %5, 8\n %7 = and i64 %6, 34359738360\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %7, ptrtoint (i64* @gv_1 to i64)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %8)\n %18 = and i64 %5, 4294967295\n %19 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %2, i64 %1)\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 %5, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qed_check_for_leaks_1227", "fun_name": "qed_check_for_leaks", "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 %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 ugt i64 %3, %0\n store i64 %3, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 %0, i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %9 = load i64, i64* %6, align 8\n %10 = call i64 @FUNC(i64 %9, i64 %storemerge1.reload)\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* %8, align 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %16, 1\n store i64 %17, i64* %15, align 8\n br label LBL_4\n LBL_4:\n %18 = add nuw i64 %storemerge1.reload, 1\n %19 = load i64, i64* %2, align 8\n %20 = icmp ult i64 %18, %19\n store i64 %18, i64* %storemerge1.reg2mem\n store i64 %19, i64* %.lcssa.reg2mem\n br i1 %20, label LBL_2, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64* %2, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 3, 1, 4 }\n uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_readdir_response_size_123", "fun_name": "v9fs_readdir_response_size", "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, 24\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spr_write_hdecr_764", "fun_name": "spr_write_hdecr", "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 %arg3, 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 = load i64, i64* @gv_1, align 8\n %10 = call i64 @FUNC(i64 %9, i64 %8)\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": "fd_start_outgoing_migration_14112", "fun_name": "fd_start_outgoing_migration", "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 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i8* %arg2 to i64\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0)\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_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n store i64 %8, i64* %arg1, align 8\n %9 = call i64 @FUNC(i64 %6)\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 %3, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ProcXFixesCopyRegion_4103", "fun_name": "ProcXFixesCopyRegion", "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 %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = sext i32 %6 to i64\n %8 = call i64 @FUNC(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 %. = select i1 %11, i64 0, i64 4294967295\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dma_blk_cb_170", "fun_name": "dma_blk_cb", "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 i32\n %.reg2mem5 = alloca i64\n %.reg2mem3 = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = add i64 %0, 32\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = add i64 %0, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = add i32 %10, 511\n %12 = icmp slt i32 %10, 0\n %13 = select i1 %12, i32 %11, i32 %10\n %14 = ashr i32 %13, 9\n %15 = add i32 %14, %8\n store i32 %15, i32* %7, align 4\n %16 = add i64 %0, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %0, 16\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 %18, %23\n br i1 %24, label LBL_2, label LBL_1\n LBL_1:\n %25 = trunc i64 %1 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 = and i64 %1, 4294967295\n %29 = call i64 @FUNC(i64 %0, i64 %28)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %30 = call i64 @FUNC(i64 %0)\n %31 = load i32, i32* %17, align 4\n %32 = load i64, i64* %20, align 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp ult i32 %31, %34\n br i1 %35, label LBL_4, label LBL_9\n LBL_4:\n %36 = add i64 %0, 12\n %37 = inttoptr i64 %36 to i32*\n %38 = add i64 %0, 48\n %39 = inttoptr i64 %38 to i32*\n %40 = bitcast i32* %sv_0 to i64*\n store i64 %32, i64* %.reg2mem\n store i32 %31, i32* %.reg2mem3\n br label LBL_5\n LBL_5:\n %.reload4 = load i32, i32* %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %41 = add i64 %.reload, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = sext i32 %.reload4 to i64\n %45 = mul i64 %44, 8\n %46 = add i64 %45, %43\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 = add i32 %49, %48\n %51 = sext i32 %50 to i64\n %52 = add i64 %46, 4\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = sub i32 %54, %49\n store i32 %55, i32* %sv_0, align 4\n %56 = load i32, i32* %39, align 4\n %57 = add i64 %.reload, 16\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %59, i64 %51, i64* nonnull %40, i32 %56)\n %61 = icmp eq i64 %60, 0\n br i1 %61, label LBL_9, label LBL_6\n LBL_6:\n %62 = load i32, i32* %sv_0, align 4\n %63 = sext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %0, i64 %60, i64 %63)\n %65 = load i32, i32* %37, align 4\n %66 = load i32, i32* %sv_0, align 4\n %67 = add i32 %66, %65\n store i32 %67, i32* %37, align 4\n %68 = load i64, i64* %20, align 8\n %69 = add i64 %68, 8\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = load i32, i32* %17, align 4\n %73 = sext i32 %72 to i64\n %74 = mul i64 %73, 8\n %75 = add i64 %71, 4\n %76 = add i64 %75, %74\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = icmp eq i32 %67, %78\n %80 = icmp eq i1 %79, false\n store i64 %68, i64* %.reg2mem5\n store i32 %72, i32* %.reg2mem7\n br i1 %80, label LBL_7, label LBL_8\n LBL_7:\n %.reload8 = load i32, i32* %.reg2mem7\n %.reload6 = load i64, i64* %.reg2mem5\n %81 = inttoptr i64 %.reload6 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = icmp ult i32 %.reload8, %82\n store i64 %.reload6, i64* %.reg2mem\n store i32 %.reload8, i32* %.reg2mem3\n br i1 %83, label LBL_5, label LBL_9\n LBL_8:\n store i32 0, i32* %37, align 4\n %84 = load i32, i32* %17, align 4\n %85 = add i32 %84, 1\n store i32 %85, i32* %17, align 4\n %.pre = load i64, i64* %20, align 8\n store i64 %.pre, i64* %.reg2mem5\n store i32 %85, i32* %.reg2mem7\n br label LBL_7\n LBL_9:\n %86 = load i32, i32* %9, align 8\n %87 = icmp eq i32 %86, 0\n %88 = icmp eq i1 %87, false\n br i1 %88, label LBL_11, label LBL_10\n LBL_10:\n %89 = call i64 @FUNC(i64 %0)\n %90 = add i64 %0, 24\n %91 = inttoptr i64 %90 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = call i64 @FUNC(i64 %92)\n %94 = call i64 @FUNC(i64 %93, i64 4198931, i64 %0)\n %95 = add i64 %0, 40\n %96 = inttoptr i64 %95 to i64*\n store i64 %94, i64* %96, align 8\n %97 = call i64 @FUNC(i64 %94)\n store i64 %97, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_11:\n %98 = icmp ult i32 %86, 512\n br i1 %98, label LBL_13, label LBL_12\n LBL_12:\n %99 = and i32 %86, -512\n %100 = sext i32 %99 to i64\n %101 = call i64 @FUNC(i64 %0, i64 %100)\n br label LBL_13\n LBL_13:\n %102 = add i64 %0, 24\n %103 = inttoptr i64 %102 to i64*\n %104 = load i64, i64* %103, align 8\n store i64 %104, i64* %5, align 8\n %105 = icmp eq i64 %104, 0\n %106 = icmp eq i1 %105, false\n store i64 %104, i64* %rax.0.reg2mem\n br i1 %106, label LBL_15, label LBL_14\n LBL_14:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 117, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\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 i64 %.reload6, { 1, 0 }\n uselistorder i32 %.reload8, { 1, 0 }\n uselistorder i32 %49, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32* %37, { 0, 2, 1, 3 }\n uselistorder i64* %20, { 0, 2, 1, 3 }\n uselistorder i32* %17, { 2, 1, 3, 0, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 6, 5, 1, 2, 3, 4, 0, 8, 7, 9, 10, 11, 12, 13, 14, 15 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem3, { 1, 0, 2 }\n uselistorder i64* %.reg2mem5, { 1, 0, 2 }\n uselistorder i32* %.reg2mem7, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 8, { 0, 2, 1, 3, 4 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_get_command_status_15342", "fun_name": "vmxnet3_get_command_status", "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 = trunc i64 %1 to i32\n %4 = and i64 %1, 4294967295\n store i64 %4, i64* @0, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n switch i32 %3, label LBL_6 [\n i32 1, label LBL_1\n i32 2, label LBL_7\n i32 3, label LBL_7\n i32 4, label LBL_7\n i32 5, label LBL_2\n i32 6, label LBL_3\n i32 7, label LBL_4\n i32 8, label LBL_5\n i32 9, label LBL_7\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 %8 = icmp eq i32 %7, 0\n %. = sext i1 %8 to i64\n %9 = sext i1 %8 to i32\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i32 %9)\n store i64 %., i64* %sv_0.0.reg2mem\n br label LBL_7\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 = trunc i64 %13 to i32\n %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i32 %14)\n store i64 %13, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_3:\n %16 = add i64 %2, 16\n %17 = call i64 @FUNC(i64 %16)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %18 = add i64 %2, 16\n %19 = call i64 @FUNC(i64 %18)\n store i64 %19, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %20 = call i64 @FUNC(i64 %2)\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i32 %3)\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 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 1, 2, 3, 4 }\n uselistorder label LBL_7, { 9, 4, 5, 6, 7, 8, 0, 3, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ehci_set_state_8565", "fun_name": "ehci_set_state", "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 %arg2 to i32\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = icmp eq i32 %2, 0\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %6)\n %9 = trunc i64 %3 to i32\n store i32 %9, i32* %arg1, align 4\n %10 = icmp eq i32 %7, 0\n %11 = icmp eq i1 %10, false\n %12 = ptrtoint i32* %arg1 to i64\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %12, i64 1)\n %14 = call i64 @FUNC(i64 %12)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %15 = call i64 @FUNC(i64 %12, i64 1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %6)\n %17 = ptrtoint i32* %arg1 to i64\n %18 = trunc i64 %3 to i32\n %19 = add i64 %17, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = icmp eq i32 %18, 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 %17, i64 2)\n %24 = call i64 @FUNC(i64 %17)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %25 = call i64 @FUNC(i64 %17, i64 2)\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 %17, { 1, 2, 0, 3 }\n uselistorder i64 %12, { 2, 0, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @ehci_set_usbsts, { 1, 0 }\n uselistorder i64 (i64)* @ehci_update_halt, { 1, 0 }\n uselistorder i64 (i64, i64)* @ehci_clear_usbsts, { 1, 0 }\n uselistorder i64 (i8*, i64)* @trace_usb_ehci_state, { 1, 0 }\n uselistorder i32* %arg1, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cosine_read_11255", "fun_name": "cosine_read", "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 %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0, i64* nonnull %sv_0)\n %4 = icmp slt 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_3\n LBL_1:\n store i64 %3, i64* %arg4, align 8\n %6 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 %1, 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 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = add i64 %2, 16\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, i64 %2, i32 %7, i64 %10, i64 %1, i64 %0)\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 %2, { 1, 2, 0, 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": "BN_bn2dec_5709", "fun_name": "BN_bn2dec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.07.reg2mem = alloca i32\n %sv_2.09.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i32\n %sv_2.08.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_3.2.lcssa.reg2mem = alloca i8*\n %sv_3.212.reg2mem = alloca i8*\n %sv_3.313.reg2mem = alloca i8*\n %sv_4.114.reg2mem = alloca i64\n %sv_3.1.lcssa.reg2mem = alloca i8*\n %sv_3.115.reg2mem = alloca i8*\n %sv_4.0.lcssa.reg2mem = alloca i64\n %sv_4.017.reg2mem = alloca i64\n %sv_3.0.ph.reg2mem = alloca i8*\n %0 = ptrtoint i32* %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.cond5 = icmp eq i1 %4, %6\n br i1 %or.cond5, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 1, i64 2)\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n br label LBL_17\n LBL_2:\n %8 = call i64 @FUNC(i64 %0)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %sv_2.08.reg2mem\n store i32 0, i32* %sv_1.06.reg2mem\n br i1 %9, label LBL_18, label LBL_3\n LBL_3:\n %10 = inttoptr i64 %3 to i8*\n %11 = call i64 @FUNC(i64 %8)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %3, 1\n store i8 48, i8* %10, align 1\n %15 = inttoptr i64 %14 to i8*\n store i8 0, i8* %15, align 1\n store i64 %8, i64* %sv_2.08.reg2mem\n store i32 1, i32* %sv_1.06.reg2mem\n br label LBL_18\n LBL_5:\n %16 = call i64 @FUNC(i64 %8)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i8* %10, i8** %sv_3.0.ph.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = add i64 %3, 1\n %20 = inttoptr i64 %19 to i8*\n store i8 45, i8* %10, align 1\n store i8* %20, i8** %sv_3.0.ph.reg2mem\n br label LBL_7\n LBL_7:\n %sv_3.0.ph.reload = load i8*, i8** %sv_3.0.ph.reg2mem\n %21 = call i64 @FUNC(i64 %8)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 %2, i64* %sv_4.017.reg2mem\n store i64 %2, i64* %sv_4.0.lcssa.reg2mem\n br i1 %23, label LBL_8, label LBL_11\n LBL_8:\n %sv_4.017.reload = load i64, i64* %sv_4.017.reg2mem\n %24 = sub i64 %sv_4.017.reload, %2\n %25 = icmp slt i64 %24, 8\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %25, label LBL_9, label LBL_17\n LBL_9:\n %26 = call i64 @FUNC(i64 %8, i64 10)\n %27 = inttoptr i64 %sv_4.017.reload to i64*\n store i64 %26, i64* %27, align 8\n %28 = icmp eq i64 %26, -1\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %28, label LBL_17, label LBL_10\n LBL_10:\n %29 = add i64 %sv_4.017.reload, 8\n %30 = call i64 @FUNC(i64 %8)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %29, i64* %sv_4.017.reg2mem\n store i64 %29, i64* %sv_4.0.lcssa.reg2mem\n br i1 %32, label LBL_8, label LBL_11\n LBL_11:\n %sv_4.0.lcssa.reload = load i64, i64* %sv_4.0.lcssa.reg2mem\n %33 = add i64 %sv_4.0.lcssa.reload, -8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = trunc i64 %35 to i32\n %37 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_3.0.ph.reload, i32 undef, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %36)\n %38 = load i8, i8* %sv_3.0.ph.reload, align 1\n %39 = icmp eq i8 %38, 0\n %40 = icmp eq i1 %39, false\n store i8* %sv_3.0.ph.reload, i8** %sv_3.115.reg2mem\n store i8* %sv_3.0.ph.reload, i8** %sv_3.1.lcssa.reg2mem\n br i1 %40, label LBL_12, label LBL_13\n LBL_12:\n %sv_3.115.reload = load i8*, i8** %sv_3.115.reg2mem\n %41 = ptrtoint i8* %sv_3.115.reload to i64\n %42 = add i64 %41, 1\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 store i8* %43, i8** %sv_3.115.reg2mem\n store i8* %43, i8** %sv_3.1.lcssa.reg2mem\n br i1 %46, label LBL_12, label LBL_13\n LBL_13:\n %sv_3.1.lcssa.reload = load i8*, i8** %sv_3.1.lcssa.reg2mem\n %47 = icmp eq i64 %33, %2\n %48 = icmp eq i1 %47, false\n store i64 %33, i64* %sv_4.114.reg2mem\n store i8* %sv_3.1.lcssa.reload, i8** %sv_3.313.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %48, label LBL_14, label LBL_17\n LBL_14:\n %sv_3.313.reload = load i8*, i8** %sv_3.313.reg2mem\n %sv_4.114.reload = load i64, i64* %sv_4.114.reg2mem\n %49 = add i64 %sv_4.114.reload, -8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = trunc i64 %51 to i32\n %53 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_3.313.reload, i32 undef, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %52)\n %54 = load i8, i8* %sv_3.313.reload, align 1\n %55 = icmp eq i8 %54, 0\n %56 = icmp eq i1 %55, false\n store i8* %sv_3.313.reload, i8** %sv_3.212.reg2mem\n store i8* %sv_3.313.reload, i8** %sv_3.2.lcssa.reg2mem\n br i1 %56, label LBL_15, label LBL_16\n LBL_15:\n %sv_3.212.reload = load i8*, i8** %sv_3.212.reg2mem\n %57 = ptrtoint i8* %sv_3.212.reload to i64\n %58 = add i64 %57, 1\n %59 = inttoptr i64 %58 to i8*\n %60 = load i8, i8* %59, align 1\n %61 = icmp eq i8 %60, 0\n %62 = icmp eq i1 %61, false\n store i8* %59, i8** %sv_3.212.reg2mem\n store i8* %59, i8** %sv_3.2.lcssa.reg2mem\n br i1 %62, label LBL_15, label LBL_16\n LBL_16:\n %sv_3.2.lcssa.reload = load i8*, i8** %sv_3.2.lcssa.reg2mem\n %63 = icmp eq i64 %49, %2\n %64 = icmp eq i1 %63, false\n store i64 %49, i64* %sv_4.114.reg2mem\n store i8* %sv_3.2.lcssa.reload, i8** %sv_3.313.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %64, label LBL_14, label LBL_17\n LBL_17:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.08.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.06.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.09.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.07.reg2mem\n br i1 %5, label LBL_19, label LBL_18\n LBL_18:\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem\n %65 = call i64 @FUNC(i64 %2)\n store i64 %sv_2.08.reload, i64* %sv_2.09.reg2mem\n store i32 %sv_1.06.reload, i32* %sv_1.07.reg2mem\n br label LBL_19\n LBL_19:\n %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n %66 = icmp eq i64 %sv_2.09.reload, 0\n br i1 %66, label LBL_21, label LBL_20\n LBL_20:\n %67 = call i64 @FUNC(i64 %sv_2.09.reload)\n br label LBL_21\n LBL_21:\n %68 = icmp eq i32 %sv_1.07.reload, 0\n %69 = icmp eq i1 %68, false\n %70 = icmp eq i64 %3, 0\n %or.cond = or i1 %70, %69\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_23, label LBL_22\n LBL_22:\n %71 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i8* %sv_3.0.ph.reload, { 0, 1, 3, 2 }\n uselistorder i8* %10, { 2, 0, 1 }\n uselistorder i64 %8, { 3, 4, 7, 1, 6, 2, 5, 8, 0, 9, 10 }\n uselistorder i64 %3, { 5, 0, 4, 1, 2, 3, 6 }\n uselistorder i64 %2, { 6, 4, 2, 5, 0, 1, 3 }\n uselistorder i8** %sv_3.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_4.017.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.115.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_4.114.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.313.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.212.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %sv_2.08.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_1.06.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_2.09.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.07.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @OPENSSL_free, { 1, 0 }\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, { 2, 0, 1 }\n uselistorder i32 0, { 5, 6, 1, 2, 4, 7, 8, 0, 3, 9, 10 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 4, 6, 5, 2, 1, 7, 0, 3, 8 }\n uselistorder i64 (i64)* @OPENSSL_malloc, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder label LBL_18, { 2, 1, 0 }\n uselistorder label LBL_17, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drive_hot_add_2890", "fun_name": "drive_hot_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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %9, label LBL_11, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %8, 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 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_10\n LBL_3:\n %16 = inttoptr i64 %8 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 switch i32 %17, label LBL_9 [\n i32 1, label LBL_4\n i32 2, label LBL_8\n ]\n LBL_4:\n %20 = bitcast i32* %sv_1 to i64*\n %21 = bitcast i32* %sv_2 to i64*\n %22 = call i64 @FUNC(i64 %10, i64 %6, i64* nonnull %sv_0, i64* nonnull %20, 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_10, label LBL_5\n LBL_5:\n %26 = load i32, i32* %sv_2, align 4\n %27 = zext i32 %26 to i64\n %28 = load i32, i32* %sv_1, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %27, i64 0)\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 = ptrtoint i32* %sv_2 to i64\n %34 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %6, i64 %27, i64 %33, i64 %1)\n br label LBL_10\n LBL_7:\n %35 = call i64 @FUNC(i64 %30, i64 %8, i64 1)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n store i64 %35, i64* %rax.1.reg2mem\n br i1 %37, label LBL_11, label LBL_10\n LBL_8:\n %38 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %38, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_9:\n %39 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %18, i64 %4, i64 %2, i64 %1)\n br label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %8)\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 %10, { 1, 2, 3, 4, 0 }\n uselistorder i64 %8, { 1, 0, 3, 2, 4 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 3, 0 }\n uselistorder label LBL_10, { 2, 1, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_parse_framesize_10715", "fun_name": "ff_h264_parse_framesize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.3.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_1.2.lcssa.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8\n %.in.reg2mem = alloca i64\n %.in15.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n store i64 %arg2, 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 %0 = inttoptr i64 %sv_1.0.reload to i8*\n %1 = load i8, i8* %0, align 1\n %cond = icmp eq i8 %1, 32\n %2 = add i64 %sv_1.0.reload, 1\n store i64 %2, i64* %sv_1.0.reg2mem\n br i1 %cond, label LBL_1, label LBL_2\n LBL_2:\n %3 = icmp eq i8 %1, 0\n store i64 %sv_1.0.reload, i64* %.in15.reg2mem\n store i8 0, i8* %.lcssa.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.2.lcssa.reg2mem\n br i1 %3, label LBL_6, label LBL_4\n LBL_3:\n %cond310 = icmp eq i8 %.pre, 32\n store i64 %4, i64* %.in.reg2mem\n store i8 %.pre, i8* %.lcssa.reg2mem\n store i64 %4, i64* %sv_1.2.lcssa.reg2mem\n br i1 %cond310, label LBL_5, label LBL_6\n LBL_4:\n %.in15.reload = load i64, i64* %.in15.reg2mem\n %4 = add i64 %.in15.reload, 1\n %.phi.trans.insert = inttoptr i64 %4 to i8*\n %.pre = load i8, i8* %.phi.trans.insert, align 1\n %5 = icmp ne i8 %.pre, 0\n %6 = icmp eq i8 %.pre, 32\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n store i64 %4, i64* %.in15.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_5:\n %.in.reload = load i64, i64* %.in.reg2mem\n %8 = add i64 %.in.reload, 1\n %.phi.trans.insert4 = inttoptr i64 %8 to i8*\n %.pre5 = load i8, i8* %.phi.trans.insert4, align 1\n %cond3 = icmp eq i8 %.pre5, 32\n store i64 %8, i64* %.in.reg2mem\n store i8 %.pre5, i8* %.lcssa.reg2mem\n store i64 %8, i64* %sv_1.2.lcssa.reg2mem\n br i1 %cond3, label LBL_5, label LBL_6\n LBL_6:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = bitcast i64* %sv_2 to i8*\n %sv_1.2.lcssa.reload = load i64, i64* %sv_1.2.lcssa.reg2mem\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %11 = ptrtoint i64* %sv_2 to i64\n store i8 %.lcssa.reload, i8* %.reg2mem\n store i64 %sv_1.2.lcssa.reload, i64* %sv_1.3.reg2mem\n store i8* %10, i8** %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %12 = add i64 %sv_1.3.reload, 1\n %13 = add i64 %15, 1\n %14 = inttoptr i64 %13 to i8*\n store i8 %.reload, i8* %sv_0.0.reload, align 1\n %.phi.trans.insert6 = inttoptr i64 %12 to i8*\n %.pre7 = load i8, i8* %.phi.trans.insert6, align 1\n store i8 %.pre7, i8* %.reg2mem\n store i64 %12, i64* %sv_1.3.reg2mem\n store i8* %14, 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 %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %.reload = load i8, i8* %.reg2mem\n switch i8 %.reload, label LBL_9 [\n i8 0, label LBL_10\n i8 45, label LBL_10\n ]\n LBL_9:\n %15 = ptrtoint i8* %sv_0.0.reload to i64\n %16 = sub i64 %15, %11\n %17 = icmp ult i64 %16, 49\n br i1 %17, label LBL_7, label LBL_10\n LBL_10:\n store i8 0, i8* %sv_0.0.reload, align 1\n %18 = call i32 @atoi(i8* nonnull %10)\n %19 = bitcast i64* %arg1 to i32*\n store i32 %18, i32* %19, align 4\n %20 = add i64 %sv_1.3.reload, 1\n %21 = inttoptr i64 %20 to i8*\n %22 = call i32 @atoi(i8* %21)\n %23 = sext i32 %22 to i64\n %24 = add i64 %9, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 %22, i32* %25, align 4\n ret i64 %23\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i8 %.reload, { 1, 0 }\n uselistorder i64 %sv_1.3.reload, { 1, 0 }\n uselistorder i8* %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i8* %10, { 1, 0 }\n uselistorder i8 %.pre, { 2, 3, 1, 0 }\n uselistorder i64 %4, { 2, 3, 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.in15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.lcssa.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_1.2.lcssa.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.3.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*)* @atoi, { 1, 0 }\n uselistorder i8 0, { 3, 2, 4, 0, 1 }\n uselistorder i64 1, { 4, 2, 3, 1, 0, 5 }\n uselistorder i8 32, { 1, 3, 0, 2 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ctr_instantiate_4052", "fun_name": "ctr_instantiate", "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 %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, 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 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg4 to i64\n %5 = ptrtoint i64* %arg6 to i64\n %6 = call i64* @memset(i64* %arg1, i32 0, i32 32)\n %7 = add i64 %2, 32\n %8 = inttoptr i64 %7 to i64*\n %9 = call i64* @memset(i64* %8, i32 0, i32 16)\n %10 = add i64 %2, 48\n %11 = add i64 %2, 292\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 %2, i64 %14, i64 %10)\n %16 = call i64 @FUNC(i64 %2, i64 %3, i64 %arg3, i64 %5, i64 %arg7, i64 %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 %2, { 0, 1, 2, 4, 3 }\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": "migrate_fd_error_15731", "fun_name": "migrate_fd_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = icmp eq i64* %arg1, null\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 28, 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 %3 = add i64 %2, 8\n %4 = call i64 @FUNC(i64 %3, i64 1, i64 2)\n %5 = call i64 @FUNC(i64* nonnull @gv_3, i64 %2)\n ret i64 %5\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "adb_register_types_907", "fun_name": "adb_register_types", "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 ret i64 %1\n\n uselistorder i64 (i64*)* @type_register_static, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ffio_read_indirect_1530", "fun_name": "ffio_read_indirect", "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 %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\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 = icmp slt i64 %5, %1\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\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 %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n store i64 %0, i64* %arg4, align 8\n %12 = add i64 %1, %0\n store i64 %12, i64* %arg1, align 8\n %13 = and i64 %1, 4294967295\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %14 = ptrtoint i64* %arg2 to i64\n store i64 %14, i64* %arg4, align 8\n %15 = trunc i64 %1 to i32\n %16 = call i64 @FUNC(i64 %0, i64 %14, i32 %15)\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 i64 %1, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 3, 0, 1, 2, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_hub_handle_data_16179", "fun_name": "usb_hub_handle_data", "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.16.reg2mem = alloca i32\n %indvars.iv8.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 105\n %4 = icmp eq i1 %3, false\n store i64 4294967293, i64* %storemerge3.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\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 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n store i64 4294967293, i64* %storemerge3.reg2mem\n br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %5, 8\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 %17 = icmp eq i32 %14, 0\n %or.cond = icmp eq i1 %17, %16\n store i64 0, i64* %indvars.iv8.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n store i64 4294967295, i64* %storemerge3.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_3\n LBL_3:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %18 = mul i64 %indvars.iv8.reload, 4\n %19 = add i64 %18, %11\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %.pre = add nuw nsw i64 %indvars.iv8.reload, 1\n %23 = trunc i64 %.pre to i32\n %24 = shl i32 1, %23\n %25 = select i1 %22, i32 0, i32 %24\n %sv_0.0 = or i32 %25, %sv_0.16.reload\n %exitcond = icmp eq i64 %.pre, 4\n store i64 %.pre, i64* %indvars.iv8.reg2mem\n store i32 %sv_0.0, i32* %sv_0.16.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %26 = icmp eq i32 %sv_0.0, 0\n store i64 4294967294, i64* %storemerge3.reg2mem\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %5, 12\n %28 = trunc i32 %sv_0.0 to i8\n %29 = inttoptr i64 %27 to i8*\n store i8 %28, i8* %29, align 1\n store i64 1, i64* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i32 %sv_0.0, { 1, 2, 0 }\n uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 1, 4, 5, 3, 2 }\n uselistorder i32 0, { 4, 1, 3, 0, 2 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 4294967293, { 1, 0 }\n uselistorder label LBL_6, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "try_to_del_timer_sync_6805", "fun_name": "try_to_del_timer_sync", "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, i64* nonnull %sv_1)\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 4294967295, 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 %2, i64 1)\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 %7 = load i64, i64* %sv_1, align 8\n %8 = add i64 %2, 8\n %9 = call i64 @FUNC(i64 %8, i64 %7)\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_mi_uptime_17909", "fun_name": "init_mi_uptime", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i32 @time(i32* bitcast (i32** @gv_0 to i32*))\n %1 = call i8* @ctime(i32* bitcast (i32** @gv_0 to i32*))\n %2 = call i32 @strlen(i8* %1)\n %3 = add i32 %2, -1\n store i32 %3, i32* @gv_1, align 4\n %4 = sext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i8*\n store i8* %6, i8** @gv_2, align 8\n %7 = icmp eq i64 %5, 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 ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = load i32, i32* @gv_1, align 4\n %11 = inttoptr i64 %5 to i64*\n %12 = bitcast i8* %1 to i64*\n %13 = call i64* @memcpy(i64* %11, i64* %12, i32 %10)\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* @gv_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_buf_read_at_6442", "fun_name": "r_buf_read_at", "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 ne i64* %arg1, null\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 -1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_3\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 0, i64 1)\n %5 = call i64 @FUNC(i64 %3, i64 %arg2, i64 0)\n %6 = icmp slt i64 %5, 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_3\n LBL_2:\n %8 = ptrtoint i64* %arg3 to i64\n %9 = call i64 @FUNC(i64 %3, i64 %8, i64 %arg4)\n %10 = call i64 @FUNC(i64 %3, i64 %4, 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 i64 %3, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @r_buf_seek, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\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": "ipv6_proxy_select_ident_13648", "fun_name": "ipv6_proxy_select_ident", "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 %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 32, i64* nonnull %sv_0)\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_2\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %3, 16\n %8 = call i64 @FUNC(i64 %6, i64 %7, i64 %3)\n %9 = trunc i64 %8 to i32\n %10 = call i32 @htonl(i32 %9)\n %11 = sext i32 %10 to i64\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 %3, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "new_audio_stream_3254", "fun_name": "new_audio_stream", "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 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 1)\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, 12\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %3, 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_4, label LBL_1\n LBL_1:\n %15 = inttoptr i64 %7 to i32*\n store i32 2, i32* %15, align 4\n %16 = call i64 @FUNC(i64 2)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %7, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = icmp eq i32 %17, -1\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 2, i64 %2, i64 %1)\n %23 = call i64 @FUNC(i64 1)\n unreachable\n LBL_3:\n %24 = add i64 %7, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 2, i32* %25, align 4\n %26 = call i64 @FUNC(i64 2)\n %27 = add i64 %3, 16\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n br label LBL_4\n LBL_4:\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 2, { 1, 0, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 5, 2, 3, 4, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pptp_close_9263", "fun_name": "pptp_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 %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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %7 = add i32 %6, -1\n store i32 %7, i32* bitcast (i64* @gv_0 to i32*), align 8\n %8 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %8, align 4\n %9 = add i64 %2, 4\n %10 = call i64 @FUNC(i64 %9, i64 3, i64 1)\n %11 = call i64 @FUNC(i64 %2, i64 3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %2, i64 4198715, i64 %2)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %15 = call i64 @FUNC(i64 %2, 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 = call i64 @FUNC(i64 %2, i64 4198715, i64 %2)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %19 = add i64 %2, 8\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 = call i64 @FUNC(i64 %19, i64 0)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %24 = call i64 @FUNC(i64 %2, i64 %19, i64 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 %2, { 6, 7, 5, 4, 8, 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @triton_context_call, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_die_7258", "fun_name": "parse_die", "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 %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n store i64 %arg6, i64* %sv_1, align 8\n %0 = icmp eq i64* %arg3, inttoptr (i64 1 to i64*)\n store i64 %arg1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %0, label LBL_7, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg8 to i64\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %sv_1 to i64\n %5 = ptrtoint i64* %arg5 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %4, -16\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %2, 1\n store i64 0, i64* %storemerge9.reg2mem\n store i64 %arg1, i64* %sv_0.08.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n %13 = load i64, i64* %7, align 8\n %14 = mul i64 %storemerge9.reload, 24\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 24)\n %18 = load i64, i64* %7, align 8\n %19 = add i64 %18, %14\n %20 = load i64, i64* %9, align 8\n %21 = add i64 %20, %storemerge9.reload\n %22 = sub i64 %arg2, %sv_0.08.reload\n %23 = load i64, i64* %sv_1, align 8\n store i64 %arg7, i64* %11, align 8\n %24 = call i64 @FUNC(i64 %sv_0.08.reload, i64 %22, i64 %21, i64 %19, i64 %2, i64 %23)\n %25 = load i64, i64* %7, align 8\n %26 = add i64 %25, %14\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp ne i32 %28, 1\n %30 = icmp eq i32 %28, 2\n %31 = icmp eq i1 %30, false\n %or.cond6 = icmp eq i1 %29, %31\n br i1 %or.cond6, label LBL_6, label LBL_3\n LBL_3:\n %32 = add i64 %26, 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_6, label LBL_4\n LBL_4:\n %36 = add i64 %26, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 3\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_6, label LBL_5\n LBL_5:\n %41 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %34, i64 0)\n br label LBL_6\n LBL_6:\n store i64 %12, i64* %arg5, align 8\n %42 = add nuw i64 %storemerge9.reload, 1\n %43 = icmp ult i64 %42, %2\n store i64 %42, i64* %storemerge9.reg2mem\n store i64 %24, i64* %sv_0.08.reg2mem\n store i64 %24, i64* %sv_0.0.lcssa.reg2mem\n br i1 %43, label LBL_2, label LBL_7\n LBL_7:\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 %storemerge9.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.08.reload, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_6, { 2, 3, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_target_time_17368", "fun_name": "compute_target_time", "llvm_ir_function": "define i128 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %sv_0.1.off0.reg2mem = alloca i64\n %sv_1.0.off0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i128\n %extract.t9.pre-phi.reg2mem = alloca i64\n %zf.0.reg2mem = alloca i1\n %cf.0.reg2mem = alloca i1\n %sv_0.0.reg2mem = alloca i128\n %2 = load i64, i64* %1\n %3 = load i64, i64* %1\n %4 = load i64, i64* %1\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %sv_2 = alloca i64, align 8\n %7 = icmp ult i64* %sv_2, inttoptr (i64 56 to i64*)\n %8 = call i64 @__asm_movsd.1(i128 %5)\n %9 = call i128 @FUNC(i64 %arg1)\n %10 = call i128 @FUNC(i64 %8)\n %11 = call i128 @FUNC(i128 %10, i128 %9)\n %12 = call i64 @__asm_movsd.1(i128 %11)\n %13 = sext i64 %12 to i128\n %14 = call i128 @FUNC(i128 %11, i128 %11)\n call void @FUNC(i128 %14, i128 %13)\n %15 = icmp eq i1 %7, false\n br i1 %15, label LBL_1, label LBL_2\n LBL_1:\n %16 = add i64 %arg1, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i128 @FUNC(i64 %18)\n %20 = call i64 @__asm_movsd.1(i128 %19)\n %21 = sext i64 %20 to i128\n store i128 %21, i128* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %22 = call i128 @FUNC(i64 %12)\n %23 = load i128, i128* @gv_0, align 8\n call void @FUNC(i128 %22, i128 %23)\n %24 = call i128 @FUNC(i64 %12)\n %25 = call i64 @__asm_movsd.1(i128 %24)\n %26 = add i64 %arg1, 8\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n store i128 %13, i128* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i128, i128* %sv_0.0.reg2mem\n %28 = call i128 @FUNC(i64 %8)\n %29 = call i64 @__asm_movsd.1(i128 %28)\n %30 = inttoptr i64 %arg1 to i64*\n store i64 %29, i64* %30, align 8\n %31 = add i64 %arg1, 24\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 br i1 %35, label LBL_5, label LBL_4\n LBL_4:\n %36 = add i64 %arg1, 32\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 i1 false, i1* %cf.0.reg2mem\n store i1 false, i1* %zf.0.reg2mem\n br i1 %40, label LBL_6, label LBL_5\n LBL_5:\n %41 = icmp eq i32 %33, 1\n %42 = icmp eq i1 %41, false\n %extract.t = trunc i128 %6 to i64\n %extract.t8 = trunc i128 %sv_0.0.reload to i64\n store i1 %34, i1* %cf.0.reg2mem\n store i1 true, i1* %zf.0.reg2mem\n store i64 %extract.t, i64* %sv_1.0.off0.reg2mem\n store i64 %extract.t8, i64* %sv_0.1.off0.reg2mem\n br i1 %42, label LBL_11, label LBL_6\n LBL_6:\n %zf.0.reload = load i1, i1* %zf.0.reg2mem\n %cf.0.reload = load i1, i1* %cf.0.reg2mem\n %43 = call i128 @FUNC(i64 %arg1)\n %44 = call i64 @FUNC(i128 %43)\n %45 = call i128 @FUNC(i64 %arg1)\n %46 = call i128 @FUNC(i128 %45)\n %47 = call i128 @__asm_movq.2(i64 %44)\n %48 = call i128 @FUNC(i128 %47, i128 %46)\n %49 = call i64 @__asm_movsd.1(i128 %48)\n %50 = call i128 @FUNC(i64 4576918229304087675)\n call void @FUNC(i128 %50, i128 %sv_0.0.reload)\n %51 = or i1 %cf.0.reload, %zf.0.reload\n br i1 %51, label LBL_8, label LBL_7\n LBL_7:\n %52 = call i128 @FUNC(i64 4576918229304087675)\n %.pre = trunc i128 %sv_0.0.reload to i64\n store i64 %.pre, i64* %extract.t9.pre-phi.reg2mem\n store i128 %52, i128* %storemerge.reg2mem\n br label LBL_9\n LBL_8:\n %53 = trunc i128 %sv_0.0.reload to i64\n %54 = call i128 @FUNC(i64 %53)\n store i64 %53, i64* %extract.t9.pre-phi.reg2mem\n store i128 %54, i128* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i128, i128* %storemerge.reg2mem\n %extract.t9.pre-phi.reload = load i64, i64* %extract.t9.pre-phi.reg2mem\n %55 = call i64 @__asm_movsd.1(i128 %storemerge.reload)\n %56 = call i128 @FUNC(i64 %49)\n %57 = call i128 @__asm_movq.2(i64 9223372036854775807)\n %58 = call i128 @FUNC(i128 %57, i128 %56)\n %59 = call i128 @FUNC(i64 4591870180066957722)\n call void @FUNC(i128 %59, i128 %58)\n store i64 %49, i64* %sv_1.0.off0.reg2mem\n store i64 %extract.t9.pre-phi.reload, i64* %sv_0.1.off0.reg2mem\n br i1 %51, label LBL_11, label LBL_10\n LBL_10:\n %60 = sext i64 %49 to i128\n %61 = call i128 @FUNC(i64 %55)\n %62 = call i128 @__asm_movq.2(i64 -9223372036854775808)\n %63 = call i128 @FUNC(i128 %61, i128 %62)\n call void @FUNC(i128 %63, i128 %60)\n %64 = call i128 @FUNC(i128 %63, i128 %63)\n %65 = call i64 @__asm_movsd.1(i128 %64)\n store i64 %49, i64* %sv_1.0.off0.reg2mem\n store i64 %65, i64* %sv_0.1.off0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.off0.reload = load i64, i64* %sv_0.1.off0.reg2mem\n %sv_1.0.off0.reload = load i64, i64* %sv_1.0.off0.reg2mem\n %66 = add i64 %arg1, 16\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i128 @FUNC(i64 %68)\n %70 = call i128 @__asm_addsd.3(i128 %69, i64 %sv_0.1.off0.reload)\n %71 = call i64 @__asm_movsd.1(i128 %70)\n store i64 %71, i64* %67, align 8\n %72 = call i128 @FUNC(i64 %sv_1.0.off0.reload)\n %73 = call i128 @__asm_movq.2(i64 -9223372036854775808)\n %74 = call i128 @FUNC(i128 %73, i128 %72)\n %75 = call i128 @FUNC(i64 %8)\n %76 = call i128 @FUNC(i128 %74)\n %77 = call i128 @FUNC(i128 %75)\n %78 = call i128 @__asm_movq.2(i64 %sv_0.1.off0.reload)\n %79 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2)\n %80 = load i64, i64* %67, align 8\n %81 = call i128 @FUNC(i64 %80)\n ret i128 %81\n\n uselistorder i128 %63, { 1, 0, 2 }\n uselistorder i64 %49, { 0, 3, 1, 2 }\n uselistorder i128 %sv_0.0.reload, { 0, 3, 1, 2 }\n uselistorder i128 %11, { 2, 1, 0 }\n uselistorder i1* %cf.0.reg2mem, { 0, 2, 1 }\n uselistorder i1* %zf.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %extract.t9.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %1, { 2, 1, 0 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1, 3, 4, 5 }\n uselistorder i128 (i64)* @__asm_movsd, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 12, 14, 15, 16, 17 }\n uselistorder i64 %arg1, { 3, 2, 1, 5, 4, 6, 0, 7, 8 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bochs_fbdev_fini_4653", "fun_name": "bochs_fbdev_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 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n br label LBL_2\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 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %6)\n br label LBL_4\n LBL_4:\n %11 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %11, align 1\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_device_exit_1754", "fun_name": "virtio_net_device_exit", "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 %.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 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %0)\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 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_2\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 = 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 store i64 0, i64* %6, 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 %12)\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 i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = add i64 %0, 40\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %.pre = add i64 %0, 48\n %.pre3 = inttoptr i64 %.pre to i64*\n store i64 %24, i64* %.reg2mem\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge1.reg2mem\n store i64 %24, i64* %.lcssa.reg2mem\n br i1 %21, label LBL_10, label LBL_5\n LBL_5:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload = load i64, i64* %.reg2mem\n %25 = mul i64 %.reload8, 16\n %26 = add i64 %25, %.reload\n %27 = load i64, i64* %.pre3, align 8\n %28 = zext i32 %storemerge1.reload to i64\n %29 = call i64 @FUNC(i64 %27, i64 %28)\n %30 = call i64 @FUNC(i64 %29)\n %31 = inttoptr i64 %26 to i64*\n %32 = load i64, i64* %31, align 8\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 %35 = load i64, i64* %31, align 8\n %36 = call i64 @FUNC(i64 %35)\n br label LBL_9\n LBL_7:\n %37 = add i64 %26, 8\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 = call i64 @FUNC(i64 %39)\n br label LBL_9\n LBL_9:\n %42 = add i32 %storemerge1.reload, 1\n %43 = load i32, i32* %19, align 4\n %44 = zext i32 %43 to i64\n %45 = sext i32 %42 to i64\n %46 = icmp slt i64 %45, %44\n %47 = load i64, i64* %23, align 8\n store i64 %47, i64* %.reg2mem\n store i64 %45, i64* %.reg2mem7\n store i32 %42, i32* %storemerge1.reg2mem\n store i64 %47, i64* %.lcssa.reg2mem\n br i1 %46, label LBL_5, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %48 = call i64 @FUNC(i64 %.lcssa.reload)\n %49 = load i64, i64* %.pre3, align 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i64 %0)\n ret i64 %51\n\n uselistorder i64* %23, { 1, 0 }\n uselistorder i32* %19, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 4, 3, 6, 5, 7, 1, 9, 8, 10 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_chmod_2544", "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 ne i32 %3, 2\n %11 = icmp eq i32 %3, 3\n %12 = icmp eq i1 %11, false\n %or.cond = icmp eq i1 %10, %12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %13 = trunc i64 %2 to i32\n %14 = ptrtoint i32* %arg1 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %arg2)\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 @chmod(i8* %16, i32 %13)\n %18 = sext i32 %17 to i64\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 i32 %3, { 2, 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": "0" }, { "dataset": "CompRealVul", "file": "set_extent_mask_and_shift_8089", "fun_name": "set_extent_mask_and_shift", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n store i32 -1, i32* %2, align 4\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\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.in.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = urem i32 %6, 2\n %9 = icmp eq i32 %8, 0\n store i32 %6, i32* %sv_0.02.reg2mem\n store i64 1, i64* %rax.0.in.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %10 = ashr i32 %sv_0.02.reload, 1\n %11 = load i32, i32* %2, align 4\n %12 = mul i32 %11, 2\n store i32 %12, i32* %2, align 4\n %13 = load i32, i32* %4, align 4\n %14 = add i32 %13, 1\n store i32 %14, i32* %4, align 4\n %15 = and i32 %sv_0.02.reload, 2\n %16 = icmp eq i32 %15, 0\n store i32 %10, i32* %sv_0.02.reg2mem\n store i64 1, i64* %rax.0.in.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n ret i64 %rax.0.in.reload\n\n uselistorder i32 %sv_0.02.reload, { 1, 0 }\n uselistorder i32* %4, { 1, 0, 2 }\n uselistorder i32* %2, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg_unref_picture_16582", "fun_name": "ff_mpeg_unref_picture", "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 = add i64 %2, 8\n store i64 %3, i64* %arg2, align 8\n %4 = trunc i64 %1 to i32\n %.off = add i32 %4, -1\n %switch = icmp ult i32 %.off, 3\n br i1 %switch, 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 = call i64 @FUNC(i64 %8, i64 %2)\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %3)\n br label LBL_3\n LBL_3:\n %11 = add i64 %2, 24\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %2, 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_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %2)\n br label LBL_5\n LBL_5:\n %18 = inttoptr i64 %11 to i64*\n %19 = call i64* @memset(i64* %18, i32 0, i32 8)\n %20 = ptrtoint i64* %19 to i64\n ret i64 %20\n\n uselistorder i64 %2, { 1, 3, 2, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dtls1_reset_seq_numbers_8816", "fun_name": "dtls1_reset_seq_numbers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg2, 2\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, 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 = load i64, i64* %4, align 8\n %11 = add i64 %10, 24\n %12 = add i64 %10, 16\n %13 = inttoptr i64 %11 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %12 to i64*\n store i64 %14, i64* %15, align 8\n %16 = load i64, i64* %4, align 8\n %17 = add i64 %16, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = call i64* @memset(i64* %18, i32 0, i32 8)\n %20 = call i64 @FUNC(i64 %0)\n store i64* %arg1, i64** %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %21 = add i64 %0, 8\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %21 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 = load i64, i64* %23, 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 i32 %31, 1\n store i32 %32, i32* %30, align 4\n store i64* %25, i64** %.pre-phi.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %33 = call i64* @memset(i64* %.pre-phi.reload, i32 0, i32 8)\n %34 = ptrtoint i64* %33 to i64\n ret i64 %34\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_udp_3474", "fun_name": "qemu_chr_open_udp", "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 32)\n %2 = call i64 @FUNC(i64 12)\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_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 ([24 x i8]* @gv_1 to i64*), i32 1, i32 23, %_IO_FILE* %7)\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = inttoptr i64 %2 to i32*\n store i32 %4, i32* %11, align 4\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %16, align 8\n %17 = add i64 %1, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 4198897, i64* %18, align 8\n %19 = add i64 %1, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 4198904, i64* %20, align 8\n %21 = add i64 %1, 24\n %22 = inttoptr i64 %21 to i64*\n store i64 4198911, i64* %22, 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, { 0, 1, 2, 4, 3 }\n uselistorder i64 %1, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DFcleanup_12382", "fun_name": "DFcleanup", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge12.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, 8\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 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %storemerge12.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %6 = add i64 %storemerge12.reload, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %storemerge12.reload to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i64*\n call void @free(i64* %11)\n call void @free(i64* %9)\n %12 = icmp eq i64 %8, 0\n %13 = icmp eq i1 %12, false\n store i64 %8, i64* %storemerge12.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_3:\n store i64 0, i64* %2, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 101\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 100\n\n uselistorder i64 %storemerge12.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "latm_write_packet_3240", "fun_name": "latm_write_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 %rcx.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32*\n %rcx.0.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %storemerge3.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 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n store i32 57430, i32* %sv_2, align 4\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_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %7, i64 %6)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_2:\n %12 = add i64 %7, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = trunc i64 %4 to i32\n %16 = icmp slt i32 %15, 3\n br i1 %16, label LBL_7, label LBL_3\n LBL_3:\n %17 = add i64 %6, 8\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 = icmp eq i8 %21, -1\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_4\n LBL_4:\n %24 = add i64 %19, 1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp ugt i8 %26, -17\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 %7, i64 0, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_6:\n %30 = icmp sgt i32 %15, 8191\n store i32* null, i32** %sv_0.0.reg2mem\n br i1 %30, label LBL_17, label LBL_7\n LBL_7:\n %31 = add i32 %15, 1280\n %32 = sext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\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_8, label LBL_18\n LBL_8:\n %36 = zext i32 %31 to i64\n %37 = call i64 @FUNC(i64* nonnull %sv_1, i64 %33, i64 %36)\n %38 = call i64 @FUNC(i64 %7, i64* nonnull %sv_1)\n %39 = icmp eq i32 %15, 254\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %39, label LBL_11, label LBL_9\n LBL_9:\n %40 = add i64 %4, 4294967042\n %41 = and i64 %40, 4294967295\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %42 = call i64 @FUNC(i64* nonnull %sv_1, i64 8, i64 255)\n %43 = add i32 %storemerge3.reload, 255\n %44 = sext i32 %43 to i64\n %45 = icmp sgt i64 %41, %44\n store i32 %43, i32* %storemerge3.reg2mem\n store i32 %43, i32* %storemerge.lcssa.reg2mem\n br i1 %45, label LBL_10, label LBL_11\n LBL_11:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %46 = sub i32 %15, %storemerge.lcssa.reload\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64* nonnull %sv_1, i64 8, i64 %47)\n %49 = icmp eq i32 %15, 0\n %.pre = add i64 %6, 8\n %.pre6 = inttoptr i64 %.pre to i64*\n %.pre8 = load i64, i64* %.pre6, align 8\n br i1 %49, label LBL_14, label LBL_12\n LBL_12:\n %50 = inttoptr i64 %.pre8 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = and i8 %51, -31\n %53 = icmp eq i8 %52, -127\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_14, label LBL_13\n LBL_13:\n %55 = and i8 %51, -2\n %56 = zext i8 %55 to i64\n %57 = call i64 @FUNC(i64* nonnull %sv_1, i64 8, i64 %56)\n %58 = mul i64 %4, 8\n %59 = add i64 %58, 4294967288\n %60 = and i64 %59, 4294967288\n %61 = load i64, i64* %.pre6, align 8\n %62 = add i64 %61, 1\n %63 = call i64 @FUNC(i64* nonnull %sv_1, i64 %62, i64 %60)\n store i64 %62, i64* %rcx.0.reg2mem\n br label LBL_15\n LBL_14:\n %64 = mul i64 %4, 8\n %65 = and i64 %64, 4294967288\n %66 = call i64 @FUNC(i64* nonnull %sv_1, i64 %.pre8, i64 %65)\n store i64 %.pre8, i64* %rcx.0.reg2mem\n br label LBL_15\n LBL_15:\n %67 = inttoptr i64 %33 to i32*\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %68 = call i64 @FUNC(i64* nonnull %sv_1)\n %69 = call i64 @FUNC(i64* nonnull %sv_1)\n %70 = call i64 @FUNC(i64* nonnull %sv_1)\n %71 = trunc i64 %70 to i32\n %72 = icmp sgt i32 %71, 65535\n store i32* %67, i32** %sv_0.0.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n br i1 %72, label LBL_17, label LBL_16\n LBL_16:\n %73 = ashr i32 %71, 3\n %74 = call i64 @FUNC(i64 %14, i32* nonnull %sv_2, i64 3)\n %75 = zext i32 %73 to i64\n %76 = call i64 @FUNC(i64 %14, i32* %67, i64 %75)\n %77 = call i64 @FUNC(i64 %33)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %78 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1)\n %79 = ptrtoint i32* %sv_0.0.reload to i64\n %80 = call i64 @FUNC(i64 %79)\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 i32 %71, { 1, 0 }\n uselistorder i32* %67, { 1, 0 }\n uselistorder i64* %.pre6, { 1, 0 }\n uselistorder i64 %33, { 0, 2, 1, 3 }\n uselistorder i32 %15, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %7, { 3, 2, 1, 4, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %4, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @av_free, { 1, 0 }\n uselistorder i64 (i64, i32*, i64)* @avio_write, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @avpriv_copy_bits, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @put_bits, { 1, 0, 2 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 0, { 7, 3, 4, 0, 10, 8, 5, 6, 1, 2, 9 }\n uselistorder i64 1, { 1, 2, 0, 3 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 8, { 0, 1, 3, 2, 4, 5, 6, 7 }\n uselistorder label LBL_18, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_partial_buffer_361", "fun_name": "get_partial_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 %sv_0.0.in.in.reg2mem = alloca i64\n %0 = trunc i64 %arg3 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 = 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 = sub i64 %6, %3\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.in.in.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %3)\n %12 = load i64, i64* %5, align 8\n %13 = sub i64 %12, %3\n store i64 %13, i64* %sv_0.0.in.in.reg2mem\n br label LBL_3\n LBL_3:\n %14 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\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 %15 = trunc i64 %sv_0.0 to i32\n %16 = icmp sgt i32 %15, %0\n %17 = ashr exact i64 %sext, 32\n %spec.select = select i1 %16, i64 %17, i64 %sv_0.0\n %18 = trunc i64 %spec.select to i32\n %19 = call i64* @memcpy(i64* %arg2, i64* %arg1, i32 %18)\n %20 = add i64 %spec.select, %14\n store i64 %20, i64* %arg1, align 8\n %21 = and i64 %spec.select, 4294967295\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 %spec.select, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msecs_to_jiffies_10405", "fun_name": "msecs_to_jiffies", "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, 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 = add i64 %arg1, 9\n %4 = and i64 %3, 4294967295\n %narrow = mul nuw i64 %4, 3435973837\n %5 = udiv i64 %narrow, 34359738368\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 4294967295, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stsd_Write_7976", "fun_name": "stsd_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_3\n LBL_2:\n %6 = call i64 @FUNC(i64 %1)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %0, i64 %7)\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": "tg3_phy_fet_toggle_apd_8290", "fun_name": "tg3_phy_fet_toggle_apd", "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 %sv_1 = alloca i32, align 4\n %1 = bitcast i32* %sv_1 to i64*\n %2 = call i64 @FUNC(i64 %0, i64 1, 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_4, label LBL_1\n LBL_1:\n %6 = load i32, i32* %sv_1, align 4\n %7 = or i32 %6, 2\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %0, i64 1, i64 %8)\n %10 = bitcast i32* %sv_0 to i64*\n %11 = call i64 @FUNC(i64 %0, i64 3, 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 br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = trunc i64 %arg2 to i8\n %16 = icmp eq i8 %15, 0\n %17 = load i32, i32* %sv_0, align 4\n %18 = and i32 %17, -5\n %19 = or i32 %17, 4\n %storemerge = select i1 %16, i32 %18, i32 %19\n store i32 %storemerge, i32* %sv_0, align 4\n %20 = zext i32 %storemerge to i64\n %21 = call i64 @FUNC(i64 %0, i64 3, i64 %20)\n br label LBL_3\n LBL_3:\n %22 = load i32, i32* %sv_1, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %0, i64 1, i64 %23)\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 i32 %storemerge, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4 }\n uselistorder i64 (i64, i64, i64)* @tg3_writephy, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @tg3_readphy, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ion_free_13555", "fun_name": "ion_free", "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* %arg1, %arg2\n %3 = icmp eq i1 %2, false\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %1)\n %7 = call i64 @FUNC(i64 %1, i64 %0)\n %8 = call i64 @FUNC(i64 %1)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvm_free_4268", "fun_name": "nvm_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, 16\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, 24\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 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 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_nonprimary_guard_connect_timeout_10705", "fun_name": "get_nonprimary_guard_connect_timeout", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 30, i64 1, i64 2147483647)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_jmp_tb_10063", "fun_name": "gen_jmp_tb", "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 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2, i64 2)\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 = zext i32 %arg3 to i64\n %8 = call i64 @FUNC(i64 %2, i64 %7, i64 %arg2)\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %11 = call i64 @FUNC(i64 %arg2)\n %12 = call i64 @FUNC(i64 %2)\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, { 3, 0, 2, 1, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "omap_mcbsp_i2s_attach_2932", "fun_name": "omap_mcbsp_i2s_attach", "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 %2 = call i64 @FUNC(i64 4198741, i64 %1, i64 0)\n store i64 %2, i64* %arg2, align 8\n %3 = call i64 @FUNC(i64 4198752, i64 %1, 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 %3\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qemu_allocate_irq, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcx_initfn_2273", "fun_name": "tcx_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 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 1024, i64* nonnull @gv_1)\n %4 = call i64 @FUNC(i64 %2, i64 1)\n %5 = call i64 @FUNC(i64 %1, i64 %2)\n %6 = add i64 %2, 8\n %7 = call i64 @FUNC(i64 %6, i64 %2, i64* nonnull @gv_2, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 16)\n %8 = call i64 @FUNC(i64 %1, i64 %6)\n %9 = add i64 %2, 16\n %10 = call i64 @FUNC(i64 %9, i64 %2, i64* nonnull @gv_4, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 16)\n %11 = call i64 @FUNC(i64 %1, i64 %9)\n %12 = add i64 %2, 24\n %13 = call i64 @FUNC(i64 %12, i64 %2, i64* nonnull @gv_6, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 16)\n %14 = call i64 @FUNC(i64 %1, i64 %12)\n %15 = add i64 %2, 32\n %16 = call i64 @FUNC(i64 %15, i64 %2, i64* nonnull @gv_8, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 16)\n %17 = call i64 @FUNC(i64 %1, i64 %15)\n %18 = add i64 %2, 40\n %19 = call i64 @FUNC(i64 %18, i64 %2, i64* nonnull @gv_10, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_11, i64 0, i64 0), i64 16)\n %20 = call i64 @FUNC(i64 %1, i64 %18)\n %21 = add i64 %2, 48\n %22 = call i64 @FUNC(i64 %21, i64 %2, i64* nonnull @gv_12, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0), i64 16)\n %23 = call i64 @FUNC(i64 %1, i64 %21)\n %24 = add i64 %2, 56\n %25 = call i64 @FUNC(i64 %24, i64 %2, i64* nonnull @gv_14, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_15, i64 0, i64 0), i64 16)\n %26 = call i64 @FUNC(i64 %1, i64 %24)\n %27 = add i64 %2, 64\n %28 = call i64 @FUNC(i64 %27, i64 %2, i64* nonnull @gv_10, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_16, i64 0, i64 0), i64 16)\n %29 = call i64 @FUNC(i64 %1, i64 %27)\n %30 = add i64 %2, 72\n %31 = call i64 @FUNC(i64 %30, i64 %2, i64* nonnull @gv_10, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_17, i64 0, i64 0), i64 16)\n %32 = call i64 @FUNC(i64 %1, i64 %30)\n ret i64 %32\n\n uselistorder i64 %2, { 1, 0, 2, 4, 3, 5, 7, 6, 8, 10, 9, 11, 13, 12, 14, 16, 15, 17, 19, 18, 20, 22, 21, 23, 25, 24, 26, 27, 28, 29 }\n uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 }\n uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "printbuf_memappend_7327", "fun_name": "printbuf_memappend", "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 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 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 = sub i32 2147483646, %4\n %6 = zext i32 %5 to i64\n %7 = icmp sgt i64 %1, %6\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n %8 = add i64 %0, 12\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %1 to i32\n %12 = add i32 %11, 1\n %13 = add i32 %12, %4\n %14 = icmp ugt i32 %10, %13\n store i32 %4, i32* %.reg2mem\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %0, i64 %15)\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_2.LBL_4_crit_edge, label LBL_5\n LBL_3:\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 %20 = sext i32 %.reload to i64\n %21 = add i64 %20, %0\n %22 = inttoptr i64 %21 to i64*\n %23 = inttoptr i64 %arg2 to i64*\n %24 = call i64* @memcpy(i64* %22, i64* %23, i32 %11)\n %25 = load i32, i32* %3, align 4\n %26 = add i32 %25, %11\n store i32 %26, i32* %3, align 4\n %27 = sext i32 %26 to i64\n %28 = add i64 %21, %27\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n %30 = and i64 %1, 4294967295\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 %11, { 0, 2, 1 }\n uselistorder i32* %3, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xcbc_init_tfm_9050", "fun_name": "xcbc_init_tfm", "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 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = icmp ult i64 %3, -1000\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %5, 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 %3, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_find_file_752", "fun_name": "qemu_find_file", "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 %storemerge5.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i32 @access(i8* %arg2, i32 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 = ptrtoint i8* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %6)\n %8 = call i64 @FUNC(i64 %6)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %9 = trunc i64 %arg1 to i32\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge3.reg2mem\n switch i32 %9, label LBL_3 [\n i32 0, label LBL_5\n i32 1, label LBL_4\n ]\n LBL_3:\n call void @abort()\n unreachable\n LBL_4:\n store i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64* %storemerge3.reg2mem\n br label LBL_5\n LBL_5:\n %10 = load i32, i32* @gv_2, align 4\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_10, label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %12 = ptrtoint i8* %arg2 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %13 = mul i64 %.reload, 8\n %14 = add i64 %13, ptrtoint (i64* @gv_3 to i64)\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64 %16, i64 %storemerge3.reload, i64 %12, i64 %2, i64 %1)\n %18 = inttoptr i64 %17 to i8*\n %19 = call i32 @access(i8* %18, i32 4)\n %20 = icmp eq i32 %19, 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, i64 %17)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %23 = call i64 @FUNC(i64 %17)\n %24 = add i32 %storemerge5.reload, 1\n %25 = load i32, i32* @gv_2, 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* %storemerge5.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, 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 %17, { 2, 0, 1, 3 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @trace_load_file, { 1, 0 }\n uselistorder i32 (i8*, i32)* @access, { 1, 0 }\n uselistorder i8* %arg2, { 1, 0, 2 }\n uselistorder label LBL_10, { 0, 2, 1, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_invoke_set_guest_debug_3364", "fun_name": "kvm_invoke_set_guest_debug", "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 = call i64 @FUNC(i64 %0, i64 1, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 %3, i32* %5, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_reduce_14164", "fun_name": "av_reduce", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg4)\n %1 = call i64 @FUNC(i64 %arg3)\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = call i64 @FUNC(i64 %arg3)\n %4 = call i64 @FUNC(i64 %arg4)\n store i64 1, i64* %.reg2mem\n br i1 false, label LBL_1, label LBL_9\n LBL_1:\n br i1 undef, label LBL_2, label LBL_8\n LBL_2:\n br i1 undef, label LBL_4, label LBL_3\n LBL_3:\n br label LBL_4\n LBL_4:\n br i1 undef, label LBL_6, label LBL_5\n LBL_5:\n br label LBL_6\n LBL_6:\n store i64 0, i64* %.reg2mem\n br i1 undef, label LBL_7, label LBL_9\n LBL_7:\n store i64 0, i64* %.reg2mem\n br label LBL_9\n LBL_8:\n store i64 1, i64* %.reg2mem\n br i1 undef, label LBL_1, label LBL_9\n LBL_9:\n %5 = udiv i64 %3, %2\n %6 = sext i64 %5 to i128\n %7 = icmp sgt i64 %5, %arg5\n %8 = icmp slt i64 %arg5, 0\n %or.cond = or i1 %7, %8\n %spec.select27 = select i1 %or.cond, i128 1, i128 %6\n %extract.t1743 = trunc i128 %spec.select27 to i64\n %.reload = load i64, i64* %.reg2mem\n %9 = call i64 @FUNC(i64 %extract.t1743, i64 0)\n %10 = icmp eq i64 %9, 1\n br i1 %10, label LBL_11, label LBL_10\n LBL_10:\n call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_11\n LBL_11:\n %11 = xor i64 %arg4, %arg3\n %extract.t1342 = trunc i128 %spec.select27 to i32\n %12 = icmp sgt i64 %11, -1\n %13 = sub i32 0, %extract.t1342\n %storemerge.in = select i1 %12, i32 %extract.t1342, i32 %13\n %14 = bitcast i64* %arg1 to i32*\n store i32 %storemerge.in, i32* %14, align 4\n %15 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %15, align 4\n ret i64 %.reload\n\n uselistorder i128 %spec.select27, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @ff_gcd, { 1, 0 }\n uselistorder i64 (i64)* @FFABS, { 3, 2, 1, 0 }\n uselistorder label LBL_9, { 0, 3, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ivshmem_server_parse_args_16468", "fun_name": "ivshmem_server_parse_args", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %.pre-phi3.reg2mem = alloca i64*\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = 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 %1 = trunc i64 %arg2 to i32\n %2 = inttoptr i64 %arg3 to i8**\n %3 = call i32 @getopt(i32 %1, i8** %2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_0.LBL_17_crit_edge\n LBL_1:\n %.pre = add i64 %0, 40\n %.pre2 = inttoptr i64 %.pre to i64*\n store i64* %.pre2, i64** %.pre-phi3.reg2mem\n br label LBL_17\n LBL_2:\n %6 = bitcast i64* %arg1 to i32*\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %0, 32\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %0, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 %3, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %18 = add i32 %.reload, -70\n %19 = zext i32 %18 to i64\n store i64 %19, i64* @0, align 8\n switch i32 %.reload, label LBL_16 [\n i32 70, label LBL_7\n i32 83, label LBL_9\n i32 104, label LBL_4\n i32 108, label LBL_11\n i32 109, label LBL_10\n i32 110, label LBL_13\n i32 112, label LBL_8\n i32 118, label LBL_5\n ]\n LBL_4:\n %20 = call i64 @FUNC(i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 0)\n unreachable\n LBL_5:\n store i32 1, i32* %6, align 4\n br label LBL_6\n LBL_6:\n %21 = call i32 @getopt(i32 %1, i8** %2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %22 = icmp eq i32 %21, -1\n %23 = icmp eq i1 %22, false\n store i32 %21, i32* %.reg2mem\n store i64* %10, i64** %.pre-phi3.reg2mem\n br i1 %23, label LBL_3, label LBL_17\n LBL_7:\n store i32 1, i32* %17, align 4\n br label LBL_6\n LBL_8:\n %24 = load i8*, i8** @gv_1, align 8\n %25 = call i8* @strdup(i8* %24)\n %26 = ptrtoint i8* %25 to i64\n store i64 %26, i64* %8, align 8\n br label LBL_6\n LBL_9:\n %27 = load i8*, i8** @gv_1, align 8\n %28 = call i8* @strdup(i8* %27)\n %29 = ptrtoint i8* %28 to i64\n store i64 %29, i64* %15, align 8\n br label LBL_6\n LBL_10:\n %30 = load i8*, i8** @gv_1, align 8\n %31 = call i8* @strdup(i8* %30)\n %32 = ptrtoint i8* %31 to i64\n store i64 %32, i64* %12, align 8\n br label LBL_6\n LBL_11:\n %33 = load i8*, i8** @gv_1, align 8\n %34 = ptrtoint i8* %33 to i64\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %34, i64 %13, i64* nonnull %sv_1)\n %36 = load i64, i64* %sv_1, align 8\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_6, label LBL_12\n LBL_12:\n %38 = call i64 @FUNC(i64 %36)\n %39 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %40 = inttoptr i64 %38 to i8*\n %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* %40)\n %42 = load i64, i64* %sv_1, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = call i64 @FUNC(i64 %38, i64 1)\n unreachable\n LBL_13:\n %45 = load i8*, i8** @gv_1, align 8\n %46 = ptrtoint i8* %45 to i64\n %47 = call i64 @FUNC(i64 %46, i64* nonnull %sv_0, i64 0)\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_15, label LBL_14\n LBL_14:\n %51 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %52 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_5 to i64*), i32 1, i32 23, %_IO_FILE* %51)\n %53 = call i64 @FUNC(i64 23, i64 1)\n unreachable\n LBL_15:\n %54 = load i64, i64* %sv_0, align 8\n store i64 %54, i64* %10, align 8\n br label LBL_6\n LBL_16:\n %55 = call i64 @FUNC(i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 1)\n unreachable\n LBL_17:\n %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem\n %56 = load i64, i64* %.pre-phi3.reload, align 8\n %57 = icmp ult i64 %56, 1025\n br i1 %57, label LBL_19, label LBL_18\n LBL_18:\n %58 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %59 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %58, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0), i64 1024)\n %60 = call i64 @FUNC(i64 1024, i64 1)\n unreachable\n LBL_19:\n %61 = bitcast i64* %rdi to i32*\n %62 = load i32, i32* %61, align 8\n %63 = icmp eq i32 %62, 1\n %64 = icmp eq i1 %63, false\n store i32 %62, i32* %rax.0.in.reg2mem\n br i1 %64, label LBL_22, label LBL_20\n LBL_20:\n %65 = add i64 %0, 4\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n store i32 %67, i32* %rax.0.in.reg2mem\n br i1 %69, label LBL_22, label LBL_21\n LBL_21:\n %70 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %71 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_7 to i64*), i32 1, i32 34, %_IO_FILE* %70)\n %72 = call i64 @FUNC(i64 34, i64 1)\n unreachable\n LBL_22:\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 i64* %10, { 1, 0 }\n uselistorder i8** %2, { 1, 0 }\n uselistorder i32 %1, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder %_IO_FILE** @gv_3, { 3, 2, 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 2, 1, 0 }\n uselistorder i8** @gv_1, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ivshmem_server_usage, { 2, 0, 1, 5, 4, 3 }\n uselistorder i64 ptrtoint ([14 x i8]* @gv_0 to i64), { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i1 false, { 2, 3, 1, 4, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i32, i8**, i8*)* @getopt, { 1, 0 }\n uselistorder [14 x i8]* @gv_0, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder label LBL_6, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wnv1_get_code_1819", "fun_name": "wnv1_get_code", "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 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0, i64 8, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 15\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = sub i64 8, %1\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %sext3 = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext3, 30\n %11 = add i64 %10, ptrtoint (i32** @gv_0 to i64)\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %15 = trunc i64 %1 to i32\n %16 = add i32 %4, -7\n %17 = urem i32 %15, 32\n %18 = shl i32 %16, %17\n %rdx.0 = zext i32 %18 to i64\n %19 = add i64 %rdx.0, %arg2\n %20 = and i64 %19, 4294967295\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 }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_puid_9812", "fun_name": "encode_puid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i32\n %.pre.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 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i32 %1, i32* %.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = bitcast i64* %rdi to i32*\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, align 4\n store i64 %0, i64* %.pre.reg2mem\n br label LBL_2\n LBL_2:\n %.pre.reload = load i64, i64* %.pre.reg2mem\n %7 = call i64 @FUNC()\n %8 = trunc i64 %7 to i32\n %9 = inttoptr i64 %.pre.reload to i32*\n store i32 %8, i32* %9, align 4\n %10 = load i32, i32* %3, align 8\n %11 = icmp eq i32 %10, 0\n store i32 %10, i32* %.lcssa.reg2mem\n br i1 %11, label LBL_2.LBL_2_crit_edge, label LBL_4\n LBL_3:\n %.pre.pre = load i64, i64* %rdi, align 8\n store i64 %.pre.pre, i64* %.pre.reg2mem\n br label LBL_2\n LBL_4:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %12 = load [13 x i8]*, [13 x i8]** @gv_0, align 8\n %13 = zext i32 %.lcssa.reload to i64\n %14 = getelementptr inbounds [13 x i8], [13 x i8]* %12, i64 0, i64 0\n %15 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_1 to i8*), i32 276, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* %14, i64 %13)\n ret i64 ptrtoint (i8** @gv_1 to i64)\n\n uselistorder i64* %.pre.reg2mem, { 2, 0, 1 }\n uselistorder i8** @gv_1, { 1, 0 }\n uselistorder i64 ()* @getrandom16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_optimize_checksum_8324", "fun_name": "ssl_optimize_checksum", "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 sgt i32 %3, 2\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 = inttoptr i64 %7 to i64*\n store i64 4198710, i64* %8, align 8\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %9 = trunc i64 %arg2 to i32\n %10 = icmp ne i32 %9, 0\n %11 = icmp eq i32 %9, 1\n %12 = icmp eq i1 %11, false\n %or.cond = icmp eq i1 %10, %12\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 i64*\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n store i64 4198717, i64* %16, align 8\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n store i64 4198724, i64* %16, align 8\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* %16, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "j2k_flush_15222", "fun_name": "j2k_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, -1\n %3 = icmp eq i1 %2, false\n %.pre = add i64 %0, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i64 %.pre, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 8, i32* %5, align 4\n store i64 %.pre, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blog_post_6412", "fun_name": "blog_post", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i8 %2, 46\n %or.cond = or i1 %5, %4\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %6 = bitcast i64* %arg1 to i8*\n %7 = call i8* @strchr(i8* %6, i32 47)\n %8 = icmp eq i8* %7, null\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 ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))\n %11 = call i64 @FUNC()\n %12 = call i32 @puts(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0))\n %13 = sext i32 %12 to i64\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_3:\n %14 = ptrtoint i64* %arg1 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 1\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 %14)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n %20 = call i64 @FUNC()\n %21 = call i64 @FUNC()\n %22 = bitcast i64* %sv_1 to i8*\n %23 = bitcast i64* %sv_0 to i8*\n call void @FUNC(i8* nonnull %23, i8* nonnull %22, i64 137)\n %24 = call i64 @FUNC()\n br label LBL_6\n LBL_5:\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))\n %27 = call i64 @FUNC()\n %28 = call i64 @FUNC()\n %29 = call i64 @FUNC()\n br label LBL_6\n LBL_6:\n %30 = call i64 @FUNC()\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 i8 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 ()* @template_header, { 1, 0 }\n uselistorder i32 (i8*)* @puts, { 3, 2, 1, 0 }\n uselistorder i64 ()* @terminate_headers, { 2, 1, 0 }\n uselistorder i64 (i8*, i8*)* @send_header, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event__synthesize_threads_18197", "fun_name": "perf_event__synthesize_threads", "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.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 = ptrtoint i64* %arg3 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 i64, align 8\n %sv_6 = alloca i64, align 8\n %sext = mul i64 %arg5, 4294967296\n %1 = ashr exact i64 %sext, 32\n store i64 %1, i64* %sv_6, align 8\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* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_16\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 = trunc i64 %7 to i32\n %9 = add i32 %8, 16\n %10 = call i64* @malloc(i32 %9)\n %11 = icmp eq i64* %10, null\n store i64 4294967295, i64* %sv_0.3.reg2mem\n br i1 %11, label LBL_15, label LBL_2\n LBL_2:\n %12 = load i64, i64* %6, align 8\n %13 = trunc i64 %12 to i32\n %14 = add i32 %13, 16\n %15 = call i64* @malloc(i32 %14)\n %16 = icmp eq i64* %15, null\n store i64 4294967295, i64* %sv_0.2.reg2mem\n br i1 %16, label LBL_14, label LBL_3\n LBL_3:\n %17 = load i64, i64* %6, align 8\n %18 = trunc i64 %17 to i32\n %19 = add i32 %18, 16\n %20 = call i64* @malloc(i32 %19)\n %21 = icmp eq i64* %20, null\n store i64 4294967295, i64* %sv_0.1.reg2mem\n br i1 %21, label LBL_13, label LBL_4\n LBL_4:\n %22 = bitcast i64* %sv_5 to i8*\n %23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %22, i32 4096, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* %arg3)\n %24 = call %__dirstream* @opendir(i8* nonnull %22)\n %25 = icmp eq %__dirstream* %24, null\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_12, label LBL_5\n LBL_5:\n %26 = bitcast i64* %sv_3 to %dirent*\n %27 = bitcast i64* %sv_1 to %dirent**\n %28 = call i32 @readdir_r(%__dirstream* nonnull %24, %dirent* nonnull %26, %dirent** nonnull %27)\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_11, label LBL_6\n LBL_6:\n %31 = ptrtoint i64* %arg1 to i64\n %32 = ptrtoint i64* %sv_6 to i64\n %33 = urem i64 %arg4, 256\n %34 = ptrtoint i64* %10 to i64\n %35 = ptrtoint i64* %15 to i64\n %36 = ptrtoint i64* %20 to i64\n %37 = bitcast i64* %sv_2 to i8*\n %38 = add i64 %32, -8\n %39 = inttoptr i64 %38 to i64*\n %40 = add i64 %32, -16\n %41 = inttoptr i64 %40 to i64*\n %42 = add i64 %32, -24\n %43 = inttoptr i64 %42 to i64*\n %44 = add i64 %32, -32\n %45 = inttoptr i64 %44 to i64*\n br label LBL_10\n LBL_7:\n %46 = call i32 @strtol(i8* nonnull %37, i8** nonnull %sv_4, i32 10)\n %47 = load i8*, i8** %sv_4, align 8\n %48 = load i8, i8* %47, align 1\n %49 = icmp eq i8 %48, 0\n br i1 %49, label LBL_8, label LBL_9\n LBL_8:\n %50 = load i64, i64* %sv_6, align 8\n %51 = and i64 %50, 4294967295\n store i64 %51, i64* %39, align 8\n store i64 %33, i64* %41, align 8\n store i64 %0, i64* %43, align 8\n store i64 %31, i64* %45, align 8\n %52 = sext i32 %46 to i64\n %53 = call i64 @FUNC(i64 %34, i64 %35, i64 %36, i32 %46, i64 1, i64 %arg2, i64 %52)\n br label LBL_9\n LBL_9:\n %54 = call i32 @readdir_r(%__dirstream* nonnull %24, %dirent* nonnull %26, %dirent** nonnull %27)\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_11, label LBL_10\n LBL_10:\n %57 = load i64, i64* %sv_1, 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_11\n LBL_11:\n %60 = call i32 @closedir(%__dirstream* nonnull %24)\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 call void @free(i64* nonnull %20)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n call void @free(i64* nonnull %15)\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n call void @free(i64* nonnull %10)\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %61 = and i64 %sv_0.3.reload, 4294967295\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 i32 %46, { 1, 0 }\n uselistorder %dirent** %27, { 1, 0 }\n uselistorder %dirent* %26, { 1, 0 }\n uselistorder %__dirstream* %24, { 1, 2, 0, 3 }\n uselistorder i64* %20, { 0, 2, 1 }\n uselistorder i64* %15, { 0, 2, 1 }\n uselistorder i64* %10, { 0, 2, 1 }\n uselistorder i64* %sv_6, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 (%__dirstream*, %dirent*, %dirent**)* @readdir_r, { 1, 0 }\n uselistorder i64 4294967295, { 4, 5, 3, 2, 1, 0, 6 }\n uselistorder i64* (i32)* @malloc, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\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_12, { 1, 0 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xmt_new_parser_6274", "fun_name": "xmt_new_parser", "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, 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 %2, 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 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_5\n LBL_2:\n %11 = call i64* @malloc(i32 80)\n %12 = icmp eq i64* %11, null\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_3:\n %14 = ptrtoint i64* %11 to i64\n %15 = call i64 @FUNC()\n store i64 %15, i64* %11, align 8\n %16 = call i64 @FUNC()\n %17 = add i64 %14, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = call i64 @FUNC()\n %20 = add i64 %14, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = call i64 @FUNC()\n %23 = add i64 %14, 24\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = call i64 @FUNC()\n %26 = add i64 %14, 32\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = call i64 @FUNC()\n %29 = add i64 %14, 40\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n %31 = call i64 @FUNC()\n %32 = add i64 %14, 48\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n %34 = call i64 @FUNC()\n %35 = add i64 %14, 56\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = call i64 @FUNC(i64 4198778, i64 4198785, i64 4198792, i64 %14)\n %38 = add i64 %14, 64\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = add i64 %14, 72\n %41 = inttoptr i64 %40 to i64*\n store i64 %2, i64* %41, align 8\n %42 = add i64 %2, 16\n %43 = inttoptr i64 %42 to i64*\n store i64 %14, i64* %43, align 8\n %44 = add i64 %2, 8\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 %14, i64* %rax.0.reg2mem\n br i1 %47, label LBL_5, label LBL_4\n LBL_4:\n %48 = inttoptr i64 %46 to i32*\n store i32 1, i32* %48, align 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 %14, { 1, 0, 2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12 }\n uselistorder i64* %11, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 ()* @gf_list_new, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_disable_se_5947", "fun_name": "nfc_disable_se", "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 = 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 = add i64 %4, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %5, i64 %7, i64 %2, i64 %1)\n %9 = call i64 @FUNC(i64 %6)\n %10 = trunc i64 %3 to i32\n %11 = icmp eq i32 %10, 0\n store i64* inttoptr (i32 19 to i64*), i64** %sv_0.0.reg2mem\n br i1 %11, label LBL_1, label LBL_8\n LBL_1:\n %12 = add i64 %4, 4\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 store i64* inttoptr (i32 19 to i64*), i64** %sv_0.0.reg2mem\n br i1 %16, label LBL_2, label LBL_8\n LBL_2:\n %17 = add i64 %4, 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 %22 = icmp eq i64 %21, 0\n store i64* inttoptr (i32 95 to i64*), i64** %sv_0.0.reg2mem\n br i1 %22, label LBL_8, label LBL_3\n LBL_3:\n %23 = add i64 %19, 8\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* inttoptr (i32 95 to i64*), i64** %sv_0.0.reg2mem\n br i1 %27, label LBL_4, label LBL_8\n LBL_4:\n %28 = call i64 @FUNC(i64 %4, i64 %5)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64* inttoptr (i32 22 to i64*), i64** %sv_0.0.reg2mem\n br i1 %30, label LBL_5, label LBL_8\n LBL_5:\n %31 = inttoptr i64 %28 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 store i64* inttoptr (i32 114 to i64*), i64** %sv_0.0.reg2mem\n br i1 %34, label LBL_6, label LBL_8\n LBL_6:\n %35 = trunc i64 %4 to i32\n %36 = and i64 %4, 4294967295\n %37 = inttoptr i64 %36 to i64*\n %38 = icmp slt i32 %35, 0\n store i64* %37, i64** %sv_0.0.reg2mem\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n store i32 0, i32* %31, 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 %39 = call i64 @FUNC(i64 %6)\n %40 = ptrtoint i64* %sv_0.0.reload to i64\n %41 = and i64 %40, 4294967295\n ret i64 %41\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 4, 3, 2, 5 }\n uselistorder i64** %sv_0.0.reg2mem, { 0, 7, 8, 1, 2, 4, 3, 5, 6 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64* inttoptr (i32 95 to i64*), { 1, 0 }\n uselistorder label LBL_8, { 7, 6, 0, 1, 3, 2, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sunkbd_enable_12886", "fun_name": "sunkbd_enable", "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 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i8*\n store i8 %1, i8* %4, align 1\n %5 = call i64 @FUNC(i64 %0)\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_note_netbsd_version_8459", "fun_name": "do_note_netbsd_version", "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.lcssa.reg2mem = alloca i32\n %sv_0.09.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 = and i64 %arg2, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, -1\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_10, label LBL_1\n LBL_1:\n %12 = trunc i64 %8 to i32\n %13 = and i64 %8, 4294967295\n %14 = icmp ult i32 %12, 100000001\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %14, label LBL_10, label LBL_2\n LBL_2:\n %15 = mul nuw nsw i64 %13, 1125899907\n %16 = udiv i64 %15, 1125899906842624\n %narrow3 = mul nuw nsw i64 %16, 1374389535\n %17 = udiv i64 %narrow3, 137438953472\n %18 = mul nuw nsw i64 %17, 4294967196\n %19 = add nuw nsw i64 %18, %16\n %20 = mul nuw nsw i64 %13, 1441151881\n %21 = udiv i64 %20, 144115188075855872\n %22 = and i64 %19, 4294967295\n %23 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %22, i64 %2, i64 %1)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, -1\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %25, label LBL_10, label LBL_3\n LBL_3:\n %26 = mul nuw nsw i64 %13, 1374389535\n %27 = udiv i64 %26, 137438953472\n %narrow = mul nuw nsw i64 %27, 1374389535\n %28 = udiv i64 %narrow, 137438953472\n %29 = trunc i64 %28 to i32\n %30 = trunc i64 %27 to i32\n %31 = mul nsw i32 %29, -100\n %32 = add nsw i32 %31, %30\n %33 = mul nuw i64 %13, 3518437209\n %34 = udiv i64 %33, 35184372088832\n %narrow2 = mul nuw nsw i64 %34, 1374389535\n %35 = udiv i64 %narrow2, 137438953472\n %36 = trunc i64 %35 to i32\n %37 = trunc i64 %34 to i32\n %38 = mul nsw i32 %36, -100\n %39 = add nsw i32 %38, %37\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n %42 = icmp eq i32 %32, 0\n %or.cond = or i1 %42, %41\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %43 = zext i32 %32 to i64\n %44 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %43, i64 %22, i64 %2, i64 %1)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %40, label LBL_10, label LBL_6\n LBL_6:\n %45 = icmp ult i32 %39, 27\n store i32 %39, i32* %sv_0.09.reg2mem\n store i32 %39, i32* %sv_0.0.lcssa.reg2mem\n br i1 %45, label LBL_9, label LBL_7\n LBL_7:\n %46 = call i64 @FUNC(i64 %5, i8* inttoptr (i64 4202536 to i8*), i64 %21, i64 %22, i64 %2, i64 %1)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, -1\n store i64 %46, i64* %rax.0.reg2mem\n br i1 %48, label LBL_10, label LBL_8\n LBL_8:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %49 = add i32 %sv_0.09.reload, -26\n %50 = icmp ult i32 %49, 27\n store i32 %49, i32* %sv_0.09.reg2mem\n store i32 %49, i32* %sv_0.0.lcssa.reg2mem\n br i1 %50, label LBL_9, label LBL_7\n LBL_9:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %51 = add i32 %sv_0.0.lcssa.reload, 64\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %52, i64 %22, i64 %2, i64 %1)\n store i64 %53, 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 %32, { 1, 0 }\n uselistorder i64 %22, { 2, 1, 0, 3 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %13, { 3, 4, 2, 1, 0 }\n uselistorder i64 %5, { 2, 1, 0, 3, 4 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2, 5, 6, 7 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 27, { 1, 0 }\n uselistorder i64 137438953472, { 1, 2, 3, 0 }\n uselistorder i64 1374389535, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @file_printf, { 3, 4, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 3, 0, 4 }\n uselistorder label LBL_10, { 3, 0, 4, 5, 1, 6, 2 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "au1100fb_fb_blank_10184", "fun_name": "au1100fb_fb_blank", "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 %arg1 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %0)\n %5 = icmp eq i32 %1, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = icmp sgt i32 %1, -1\n %7 = add i32 %1, -1\n %8 = icmp ult i32 %7, 3\n %or.cond = icmp eq i1 %6, %8\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_2:\n %9 = inttoptr i64 %2 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, 1\n store i32 %13, i32* %11, align 4\n %14 = call i64 @FUNC()\n br label LBL_4\n LBL_3:\n %15 = inttoptr i64 %2 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 store i32 %19, i32* %17, align 4\n %20 = call i64 @FUNC()\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i64 ()* @au_sync, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_ni_value_4396", "fun_name": "get_ni_value", "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 %storemerge7.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sext = mul i64 %arg1, 4294967296\n %sext3 = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext3, 32\n %5 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %narrow = mul nuw nsw i32 %storemerge7.reload, 24\n %6 = zext i32 %narrow 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 8\n %10 = zext i32 %9 to i64\n %11 = icmp sgt i64 %5, %10\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %12 = icmp eq i32 %storemerge7.reload, 1\n store i32 1, i32* %storemerge7.reg2mem\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_16, label LBL_1\n LBL_3:\n %13 = trunc i64 %4 to i32\n %14 = icmp eq i32 %13, 48000\n br i1 %14, label LBL_14, label LBL_4\n LBL_4:\n %15 = icmp sgt i32 %13, 48000\n br i1 %15, label LBL_15, label LBL_5\n LBL_5:\n %16 = icmp eq i32 %13, 44100\n br i1 %16, label LBL_13, label LBL_6\n LBL_6:\n %17 = icmp sgt i32 %13, 44100\n br i1 %17, label LBL_15, label LBL_7\n LBL_7:\n %18 = icmp eq i32 %13, 32000\n br i1 %18, label LBL_12, label LBL_8\n LBL_8:\n %19 = icmp sgt i32 %13, 32000\n br i1 %19, label LBL_15, label LBL_9\n LBL_9:\n switch i32 %13, label LBL_15 [\n i32 8000, label LBL_10\n i32 16000, label LBL_11\n ]\n LBL_10:\n %20 = add i64 %6, ptrtoint (i32** @gv_1 to i64)\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 8\n store i32 %22, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_11:\n %23 = add i64 %6, ptrtoint (i32** @gv_2 to i64)\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 8\n store i32 %25, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_12:\n %26 = add i64 %6, ptrtoint (i32** @gv_3 to i64)\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 8\n store i32 %28, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_13:\n %29 = add i64 %6, ptrtoint (i32** @gv_4 to i64)\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 8\n store i32 %31, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_14:\n %32 = add i64 %6, ptrtoint (i32** @gv_5 to i64)\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 8\n store i32 %34, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_15:\n %35 = and i64 %4, 4294967295\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i64 %35, i64 %3, i64 %2, i64 %1)\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br label LBL_16\n LBL_16:\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 %6, { 4, 3, 2, 0, 1, 5 }\n uselistorder i32 %storemerge7.reload, { 1, 0 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 6, 7, 5, 4, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 32000, { 1, 0 }\n uselistorder i32 44100, { 1, 0 }\n uselistorder i32 48000, { 1, 0 }\n uselistorder i32 -22, { 1, 0 }\n uselistorder i32 1, { 4, 6, 5, 3, 2, 7, 1, 0 }\n uselistorder label LBL_16, { 1, 2, 3, 4, 5, 6, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cond_read_av_list_4021", "fun_name": "cond_read_av_list", "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 %storemerge2.reg2mem = alloca i32\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n store i64 0, i64* %arg3, align 8\n %0 = bitcast i32* %sv_1 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0, i64 %arg2, i64 4)\n %2 = trunc i64 %1 to i32\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_7\n LBL_1:\n %5 = load i32, i32* %sv_1, 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, 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_7\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n store i64 %11, i64* %sv_0, align 8\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %11, i64 %arg2, i64 %11, i64 4198760, i64* nonnull %sv_0)\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_7\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %16 = add nuw i32 %storemerge2.reload, 1\n %17 = icmp ult i32 %16, %8\n store i32 %16, i32* %storemerge2.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_6:\n store i64 0, i64* %arg3, 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 %11, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_7, { 3, 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__tcp_set_ulp_6438", "fun_name": "__tcp_set_ulp", "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 = 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 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64* inttoptr (i32 -17 to i64*), i64** %sv_0.0.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = icmp eq i64* %arg1, null\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 0, i64 %1)\n br label LBL_3\n LBL_3:\n %9 = add i64 %0, 16\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 %14 = add i64 %1, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 10\n store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.0.reg2mem\n br i1 %17, label LBL_7, label LBL_5\n LBL_5:\n %18 = trunc i64 %1 to i32\n %19 = and i64 %1, 4294967295\n %20 = inttoptr i64 %19 to i64*\n %21 = icmp eq i32 %18, 0\n %22 = icmp eq i1 %21, false\n store i64* %20, i64** %sv_0.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n store i64 %0, i64* %3, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %23 = add i64 %0, 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 = ptrtoint i64* %sv_0.0.reload to i64\n %28 = and i64 %27, 4294967295\n store i64 %28, 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 %1, { 2, 1, 0, 3, 4 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64** %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gui_buffer_local_var_remove_4479", "fun_name": "gui_buffer_local_var_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.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_12, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %arg2 to i64*\n call void @free(i64* %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 %arg2, i64* %rdi.1.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to i64*\n call void @free(i64* %7)\n store i64 %5, i64* %rdi.1.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %8 = add i64 %arg2, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %.pre = add i64 %arg2, 24\n %.pre2 = inttoptr i64 %.pre to i64*\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = load i64, i64* %.pre2, align 8\n %13 = add i64 %10, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n br label LBL_5\n LBL_5:\n %15 = load i64, i64* %.pre2, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = load i64, i64* %9, align 8\n %18 = add i64 %15, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n br label LBL_7\n LBL_7:\n %20 = icmp eq i64 %rdi.1.reload, %arg2\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %22 = load i64, i64* %.pre2, align 8\n store i64 %22, i64* %arg1, align 8\n br label LBL_9\n LBL_9:\n %23 = ptrtoint i64* %arg1 to i64\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, %arg2\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n %29 = load i64, i64* %9, align 8\n store i64 %29, i64* %25, align 8\n br label LBL_11\n LBL_11:\n call void @free(i64* %2)\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 i64* %9, { 1, 0, 2 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 %arg2, { 2, 3, 1, 4, 0, 5, 6, 7 }\n uselistorder i64* %arg1, { 2, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evictionPoolAlloc_9193", "fun_name": "evictionPoolAlloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1600)\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 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 100\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 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "latm_get_value_10062", "fun_name": "latm_get_value", "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 i32\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 2)\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 256\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %storemerge2.reg2mem\n store i32 0, i32* %sv_0.01.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %5 = mul i32 %sv_0.01.reload, 256\n %6 = call i64 @FUNC(i64 %0, i64 8)\n %7 = trunc i64 %6 to i32\n %8 = urem i32 %7, 256\n %9 = or i32 %8, %5\n %10 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %10, %3\n store i32 %10, i32* %storemerge2.reg2mem\n store i32 %9, i32* %sv_0.01.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %phitmp = zext i32 %9 to i64\n store i64 %phitmp, 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 ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32 256, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @faad_getbits, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rt_sigreturn_v1_18930", "fun_name": "do_rt_sigreturn_v1", "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 = add i64 %0, 104\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 = urem i64 %3, 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_7, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_7, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %12 = call i64 @FUNC(i64* nonnull %sv_0)\n %13 = call i64 @FUNC(i64 %0, i64 128)\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_7, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %0)\n %18 = add i64 %3, 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_7, label LBL_4\n LBL_4:\n %22 = load i64, i64* @gv_0, 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_6, label LBL_5\n LBL_5:\n %26 = load i64, i64* @gv_0, align 8\n %27 = call i64 @FUNC(i64 5, i64 %26, i64 1)\n br label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 0, i64 %3, i64 0)\n store i64 -1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %29 = call i64 @FUNC(i64 0, i64 %3, i64 0)\n %30 = call i64 @FUNC(i64 11)\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 %3, { 4, 1, 2, 3, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_S2prot_3398", "fun_name": "get_S2prot", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i32\n %0 = urem i64 %arg2, 2\n %1 = icmp eq i64 %0, 0\n %not. = icmp ne i1 %1, true\n %spec.select = zext i1 %not. to i32\n %2 = trunc i64 %arg2 to i32\n %3 = and i32 %2, 2\n %4 = or i32 %3, %spec.select\n %5 = icmp eq i32 %arg3, 0\n %6 = icmp eq i1 %5, false\n store i32 %4, i32* %sv_0.2.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %or.cond = icmp eq i1 %1, %10\n %11 = or i32 %4, 4\n %spec.select4 = select i1 %or.cond, i32 %4, i32 %11\n store i32 %spec.select4, i32* %sv_0.2.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %12 = zext i32 %sv_0.2.reload to i64\n ret i64 %12\n\n uselistorder i32 %4, { 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rv34_idct_dc_add_c_14122", "fun_name": "rv34_idct_dc_add_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.05.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = mul i32 %arg3, 169\n %2 = add i32 %1, 512\n %3 = ashr i32 %2, 10\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64)\n %6 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge6.reg2mem\n store i64 %0, i64* %sv_0.05.reg2mem\n br label LBL_3\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %7 = add i64 %indvars.iv.reload, %sv_0.05.reload\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i64\n %11 = add i64 %5, %10\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n store i8 %13, i8* %8, align 1\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 %14 = add i64 %sv_0.05.reload, %6\n %15 = add nuw nsw i32 %storemerge6.reload, 1\n %exitcond7 = icmp eq i32 %15, 4\n store i32 %15, i32* %storemerge6.reg2mem\n store i64 %14, i64* %sv_0.05.reg2mem\n br i1 %exitcond7, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_4:\n ret i64 %6\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "color_esycc_to_rgb_4553", "fun_name": "color_esycc_to_rgb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.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 %xmm0.06.reg2mem = alloca i128\n %xmm2.07.reg2mem = alloca i128\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 i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 3\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = add i64 %0, 20\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %0, 52\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %7, %10\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_2\n LBL_2:\n %13 = add i64 %0, 84\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %7, %15\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_3\n LBL_3:\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %0, 56\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %20, %23\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add i64 %0, 88\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %20, %28\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 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i64 27)\n %32 = sext i32 %31 to i64\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_16\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 = mul i32 %35, %3\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_15, label LBL_7\n LBL_7:\n %38 = add i64 %0, 16\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i32 %40, 31\n %42 = urem i32 %41, 32\n %43 = shl i32 1, %42\n %44 = urem i32 %40, 32\n %45 = icmp eq i32 %44, 0\n %notmask = shl nsw i32 -1, %44\n %46 = sub i32 0, %notmask\n %phitmp = sub i32 %46, 1\n %storemerge = select i1 %45, i32 0, i32 %phitmp\n %47 = add i64 %0, 92\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = add i64 %0, 60\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %0, 32\n %54 = inttoptr i64 %53 to i64*\n %55 = add i64 %0, 64\n %56 = inttoptr i64 %55 to i64*\n %57 = icmp eq i32 %52, 0\n %58 = icmp eq i1 %57, false\n %59 = select i1 %58, i32 0, i32 %43\n %60 = icmp eq i32 %49, 0\n %61 = icmp eq i1 %60, false\n %62 = select i1 %61, i32 0, i32 %43\n %wide.trip.count = zext i32 %36 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %xmm0.06.reload = load i128, i128* %xmm0.06.reg2mem\n %xmm2.07.reload = load i128, i128* %xmm2.07.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %63 = mul i64 %indvars.iv.reload, 4\n %64 = add i64 %63, %0\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = load i64, i64* %54, align 8\n %68 = add i64 %67, %63\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = load i64, i64* %56, align 8\n %72 = add i64 %71, %63\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %spec.select = sub i32 %70, %59\n %sv_1.0 = sub i32 %74, %62\n %75 = call i128 @FUNC(i128 %xmm0.06.reload, i128 %xmm0.06.reload)\n %76 = call i128 @FUNC(i32 %66)\n %77 = call i128 @FUNC(i128 %xmm2.07.reload, i128 %xmm2.07.reload)\n %78 = call i128 @FUNC(i32 %spec.select)\n %79 = call i128 @FUNC(i32 941250995)\n %80 = call i128 @FUNC(i128 %78, i128 %79)\n %81 = call i128 @FUNC(i128 %76)\n %82 = call i128 @FUNC(i128 %81, i128 %80)\n %83 = call i128 @FUNC(i128 %80, i128 %80)\n %84 = call i128 @FUNC(i32 %sv_1.0)\n %85 = call i128 @FUNC(i32 1068725353)\n %86 = call i128 @FUNC(i128 %85, i128 %84)\n %87 = call i128 @FUNC(i128 %82, i128 %86)\n %88 = call i128 @FUNC(i32 1056964608)\n %89 = call i128 @FUNC(i128 %88, i128 %87)\n %90 = call i32 @FUNC(i128 %89)\n %91 = icmp sgt i32 %90, %storemerge\n store i32 %storemerge, i32* %sv_0.0.reg2mem\n br i1 %91, label LBL_10, label LBL_9\n LBL_9:\n %92 = icmp slt i32 %90, 0\n %93 = icmp eq i1 %92, false\n %spec.select3 = select i1 %93, i32 %90, i32 0\n store i32 %spec.select3, 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 i32 %sv_0.0.reload, i32* %65, align 4\n %94 = call i128 @FUNC(i128 %87, i128 %87)\n %95 = call i128 @FUNC(i32 %66)\n %96 = call i128 @FUNC(i32 1065355733)\n %97 = call i128 @FUNC(i128 %96, i128 %95)\n %98 = call i128 @FUNC(i128 %84, i128 %84)\n %99 = call i128 @FUNC(i32 %spec.select)\n %100 = call i128 @FUNC(i32 1051734311)\n %101 = call i128 @FUNC(i128 %100, i128 %99)\n %102 = call i128 @FUNC(i128 %97, i128 %101)\n %103 = call i128 @FUNC(i128 %99, i128 %99)\n %104 = call i128 @FUNC(i32 %sv_1.0)\n %105 = call i128 @FUNC(i32 1060556825)\n %106 = call i128 @FUNC(i128 %104, i128 %105)\n %107 = call i128 @FUNC(i128 %102)\n %108 = call i128 @FUNC(i128 %107, i128 %106)\n %109 = call i128 @FUNC(i32 1056964608)\n %110 = call i128 @FUNC(i128 %109, i128 %108)\n %111 = call i32 @FUNC(i128 %110)\n %112 = icmp sgt i32 %111, %storemerge\n store i32 %storemerge, i32* %sv_0.1.reg2mem\n br i1 %112, label LBL_12, label LBL_11\n LBL_11:\n %113 = icmp slt i32 %111, 0\n %114 = icmp eq i1 %113, false\n %spec.select4 = select i1 %114, i32 %111, i32 0\n store i32 %spec.select4, 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 %115 = load i64, i64* %54, align 8\n %116 = add i64 %115, %63\n %117 = inttoptr i64 %116 to i32*\n store i32 %sv_0.1.reload, i32* %117, align 4\n %118 = call i128 @FUNC(i128 %108, i128 %108)\n %119 = call i128 @FUNC(i32 %66)\n %120 = call i128 @FUNC(i32 1065350246)\n %121 = call i128 @FUNC(i128 %119, i128 %120)\n %122 = call i128 @FUNC(i128 %106, i128 %106)\n %123 = call i128 @FUNC(i32 %spec.select)\n %124 = call i128 @FUNC(i32 1071829557)\n %125 = call i128 @FUNC(i128 %124, i128 %123)\n %126 = call i128 @FUNC(i128 %125, i128 %121)\n %127 = call i128 @FUNC(i128 %123, i128 %123)\n %128 = call i128 @FUNC(i32 %sv_1.0)\n %129 = load i32, i32* inttoptr (i64 4202644 to i32*), align 4\n %130 = call i128 @FUNC(i32 %129)\n %131 = call i128 @FUNC(i128 %128, i128 %130)\n %132 = call i128 @FUNC(i128 %126)\n %133 = call i128 @FUNC(i128 %132, i128 %131)\n %134 = call i128 @FUNC(i32 1056964608)\n %135 = call i128 @FUNC(i128 %134, i128 %133)\n %136 = call i32 @FUNC(i128 %135)\n %137 = icmp sgt i32 %136, %storemerge\n store i32 %storemerge, i32* %sv_0.2.reg2mem\n br i1 %137, label LBL_14, label LBL_13\n LBL_13:\n %138 = icmp slt i32 %136, 0\n %139 = icmp eq i1 %138, false\n %spec.select5 = select i1 %139, i32 %136, i32 0\n store i32 %spec.select5, 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 %140 = load i64, i64* %56, align 8\n %141 = add i64 %140, %63\n %142 = inttoptr i64 %141 to i32*\n store i32 %sv_0.2.reload, i32* %142, 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 i128 %131, i128* %xmm2.07.reg2mem\n store i128 %135, i128* %xmm0.06.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_8\n LBL_15:\n store i32 0, i32* %34, align 4\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 i128 %123, { 2, 1, 0 }\n uselistorder i128 %108, { 1, 0, 2 }\n uselistorder i128 %106, { 1, 0, 2 }\n uselistorder i128 %99, { 2, 1, 0 }\n uselistorder i128 %87, { 1, 0, 2 }\n uselistorder i128 %84, { 1, 0, 2 }\n uselistorder i128 %80, { 2, 1, 0 }\n uselistorder i64 %63, { 4, 3, 2, 1, 0 }\n uselistorder i128 %xmm2.07.reload, { 1, 0 }\n uselistorder i128 %xmm0.06.reload, { 1, 0 }\n uselistorder i32 %storemerge, { 0, 3, 1, 4, 2, 5 }\n uselistorder i64 %0, { 0, 1, 2, 3, 12, 11, 14, 10, 9, 7, 8, 6, 5, 4, 13 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm2.07.reg2mem, { 1, 0 }\n uselistorder i128* %xmm0.06.reg2mem, { 1, 0 }\n uselistorder i32 0, { 13, 4, 8, 5, 9, 6, 10, 2, 11, 3, 12, 7, 0, 14, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ndisc_net_init_8360", "fun_name": "ndisc_net_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* nonnull %sv_0, i64 10, i64 3, i64 58, 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 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 0, i64 %5, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %5)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = load i64, i64* %sv_0, align 8\n store i64 %7, i64* %arg1, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %8 to i32*\n store i32 255, i32* %9, align 4\n %10 = add i64 %8, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, 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* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_emulation_failure_12637", "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 = trunc i64 %1 to i32\n %3 = add i32 %2, 1\n store i32 %3, i32* %arg1, align 4\n %4 = ptrtoint i32* %arg1 to i64\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 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %4, 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 %4, i64 4)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %4, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sspi_SecureHandleGetUpperPointer_12584", "fun_name": "sspi_SecureHandleGetUpperPointer", "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 %2 = icmp eq i1 %1, false\n %3 = sub i64 0, %0\n %4 = sub i64 %3, 1\n %storemerge = select i1 %2, i64 %4, i64 0\n ret i64 %storemerge\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pnm_getsintstr_8351", "fun_name": "pnm_getsintstr", "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.1.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 br label LBL_1\n LBL_1:\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 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_13\n LBL_2:\n %5 = call i16** @__ctype_b_loc()\n %6 = load i16*, i16** %5, align 8\n %7 = ptrtoint i16* %6 to i64\n %sext = mul i64 %1, 4294967296\n %8 = ashr exact i64 %sext, 31\n %9 = add i64 %8, %7\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = and i16 %11, 8192\n %13 = icmp eq i16 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_1, label LBL_3\n LBL_3:\n %15 = icmp eq i32 %2, 45\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(i64 %0)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n store i64 %17, i64* %sv_1.0.reg2mem\n store i32 -1, i32* %sv_2.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_13\n LBL_5:\n %21 = icmp eq i32 %2, 43\n %22 = icmp eq i1 %21, false\n store i64 %1, i64* %sv_1.0.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %0)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, -1\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %sv_1.0.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_13\n LBL_7:\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 store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %27 = ashr exact i64 %sext1, 32\n %28 = mul i64 %sv_0.0.reload, 10\n %29 = add nsw i64 %27, -48\n %30 = add i64 %29, %28\n %31 = call i64 @FUNC(i64 %0)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %31, i64* %sv_1.1.reg2mem\n store i64 %30, i64* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_9, label LBL_13\n LBL_9:\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 %35 = call i16** @__ctype_b_loc()\n %36 = load i16*, i16** %35, align 8\n %37 = ptrtoint i16* %36 to i64\n %sext1 = mul i64 %sv_1.1.reload, 4294967296\n %38 = ashr exact i64 %sext1, 31\n %39 = add i64 %38, %37\n %40 = inttoptr i64 %39 to i16*\n %41 = load i16, i16* %40, align 2\n %42 = and i16 %41, 2048\n %43 = icmp eq i16 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_8, label LBL_10\n LBL_10:\n %45 = call i16** @__ctype_b_loc()\n %46 = load i16*, i16** %45, align 8\n %47 = ptrtoint i16* %46 to i64\n %48 = add i64 %38, %47\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 store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %53, label LBL_11, label LBL_13\n LBL_11:\n %54 = icmp eq i64* %arg2, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = icmp slt i32 %sv_2.0.reload, 0\n %56 = icmp eq i1 %55, false\n %57 = sub i64 0, %sv_0.0.reload\n %storemerge = select i1 %56, i64 %sv_0.0.reload, i64 %57\n store i64 %storemerge, i64* %arg2, align 8\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 %sext1, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 6, 7, 1 }\n uselistorder i16** ()* @__ctype_b_loc, { 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 3, 4, 0 }\n uselistorder i32 -1, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @pnm_getc, { 3, 2, 1, 0 }\n uselistorder label LBL_13, { 3, 2, 4, 1, 5, 6, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_bugs_smt_update_6144", "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 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_9, label LBL_8\n LBL_8:\n %20 = load i64, i64* bitcast ([2 x i8*]* @gv_3 to i64*), align 8\n %21 = call i64 @FUNC(i64 %20)\n br label LBL_9\n LBL_9:\n %22 = call i64 @FUNC()\n br label LBL_10\n LBL_10:\n %23 = load i32, i32* @gv_4, align 4\n %24 = icmp slt i32 %23, 2\n %25 = icmp slt i32 %23, 0\n %26 = icmp eq i1 %25, false\n %or.cond = icmp eq i1 %24, %26\n br i1 %or.cond, label LBL_11, label LBL_13\n LBL_11:\n %27 = call i64 @FUNC()\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_13, label LBL_12\n LBL_12:\n %30 = load [23 x i8]*, [23 x i8]** @gv_5, align 8\n %31 = ptrtoint [23 x i8]* %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n br label LBL_13\n LBL_13:\n %33 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %33\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %1, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @pr_warn_once, { 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, { 8, 2, 9, 10, 1, 0, 3, 4, 5, 6, 7 }\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": "0" }, { "dataset": "CompRealVul", "file": "qemu_iovec_init_16320", "fun_name": "qemu_iovec_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 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 28\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %arg1, align 8\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 %1, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "scsi_write_complete_12154", "fun_name": "scsi_write_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 %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, 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_2, label LBL_1\n LBL_1:\n store i64 0, i64* %5, align 8\n %8 = add i64 %3, 36\n %9 = call i64 @FUNC(i64 0, i64 %8)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %10 = ashr exact i64 %sext, 32\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 = sub nsw i64 0, %10\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 %3, i64 %14, i64 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 %14, i64* %rcx.0.reg2mem\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_4\n LBL_4:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %19 = add i64 %3, 32\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = udiv i32 %21, 512\n %23 = add i64 %3, 24\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i32 %25, %22\n store i32 %26, i32* %24, 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 = sub i32 %29, %22\n store i32 %30, i32* %28, align 4\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = call i64 @FUNC(i64 %3, i64 0)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %34 = mul i32 %30, 512\n %35 = icmp ult i32 %34, 65536\n %spec.select = select i1 %35, i32 %34, i32 65536\n store i32 %spec.select, i32* %20, align 4\n %36 = add i64 %3, 16\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(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %39, i32 %spec.select, i64 %rcx.0.reload, i64 %2, i64 %1)\n %41 = zext i32 %spec.select to i64\n %42 = call i64 @FUNC(i64 %3, i64 %41)\n store i64 %42, 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 %34, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %3, { 2, 3, 4, 5, 7, 6, 1, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "encode_subband_2260", "fun_name": "encode_subband", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6, i32 %arg7, i32 %arg8, i64 %arg9) 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 = and i64 %arg6, 4294967295\n %5 = and i64 %arg5, 4294967295\n %6 = call i64 @FUNC(i64 %3, i64 %2, i64 %1, i64 %0, i64 %5, i64 %4)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "choose_sample_rate_250", "fun_name": "choose_sample_rate", "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.lcssa8.reg2mem = alloca i32\n %sv_0.1.lcssa7.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i32\n %sv_2.05.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg2, null\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %arg2 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_5\n LBL_2:\n %9 = trunc i64 %4 to i32\n %10 = ptrtoint i64* %arg2 to i64\n store i32 %6, i32* %.reg2mem\n store i64 %10, i64* %sv_2.05.reg2mem\n store i32 2147483647, i32* %sv_1.14.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem\n %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %11 = sub i32 %9, %.reload\n %12 = sub i32 0, %11\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = select i1 %14, i32 %12, i32 %11\n %16 = icmp slt i32 %15, %sv_1.14.reload\n %spec.select = select i1 %16, i32 %.reload, i32 %sv_0.13.reload\n %spec.select1 = select i1 %16, i32 %15, i32 %sv_1.14.reload\n %17 = add i64 %sv_2.05.reload, 4\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 store i32 %19, i32* %.reg2mem\n store i64 %17, i64* %sv_2.05.reg2mem\n store i32 %spec.select1, i32* %sv_1.14.reg2mem\n store i32 %spec.select, i32* %sv_0.13.reg2mem\n br i1 %21, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = icmp eq i32 %spec.select1, 0\n store i32 %spec.select, i32* %sv_0.1.lcssa7.reg2mem\n store i32 %spec.select, i32* %sv_0.1.lcssa8.reg2mem\n br i1 %phitmp, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.1.lcssa7.reload = load i32, i32* %sv_0.1.lcssa7.reg2mem\n %22 = zext i32 %sv_0.1.lcssa7.reload to i64\n %23 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0), i64 %22, i64 %2, i64 %1)\n store i32 %sv_0.1.lcssa7.reload, i32* %sv_0.1.lcssa8.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.lcssa8.reload = load i32, i32* %sv_0.1.lcssa8.reg2mem\n %24 = bitcast i64* %arg1 to i32*\n store i32 %sv_0.1.lcssa8.reload, i32* %24, align 4\n store i64 %4, 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 %spec.select1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.05.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.1.lcssa8.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 0, 4, 2, 3, 1 }\n uselistorder i64* %arg2, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_calc_verify_ssl_8577", "fun_name": "ssl_calc_verify_ssl", "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* %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 i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64* @memset(i64* nonnull %sv_2, i32 54, i32 48)\n %3 = ptrtoint i64* %sv_1 to i64\n %4 = call i64* @memset(i64* nonnull %sv_1, i32 92, i32 48)\n %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 48)\n %6 = ptrtoint i64* %sv_2 to i64\n %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6, i64 48)\n %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %9 = ptrtoint i64* %sv_0 to i64\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9, i64 48)\n %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 48)\n %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 16)\n %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9, i64 48)\n %16 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6, i64 40)\n %17 = add i64 %0, 16\n %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %17)\n %19 = call i64 @FUNC(i64* nonnull %sv_0)\n %20 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9, i64 48)\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 40)\n %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %17, i64 20)\n %23 = call i64 @FUNC(i64* nonnull %sv_0, i64 %17)\n %24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %sv_0, align 8\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %25 = add i64 %storemerge1.reload, %0\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = zext i8 %27 to i32\n %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 %28)\n %30 = load i64, i64* %sv_0, align 8\n %31 = add i64 %30, 1\n store i64 %31, i64* %sv_0, align 8\n %32 = icmp ult i64 %31, 36\n store i64 %31, i64* %storemerge1.reg2mem\n br i1 %32, label LBL_1, label LBL_2\n LBL_2:\n %33 = call i32 @putchar(i32 10)\n %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n %35 = sext i32 %34 to i64\n ret i64 %35\n\n uselistorder i64 %31, { 0, 2, 1 }\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 18, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19, 15, 16, 17 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64*, i64)* @sha1_finish, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @sha1_update, { 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64*, i64)* @md5_finish, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @md5_update, { 4, 3, 2, 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 3, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iax2_provision_13059", "fun_name": "iax2_provision", "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 %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\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 i32, align 4\n %6 = bitcast i32* %sv_4 to i64*\n %7 = call i64* @memset(i64* nonnull %6, i32 0, i32 4)\n %8 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %arg4, i64 %arg5, i64 %2)\n %9 = trunc i64 %arg5 to i32\n %10 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_3, i64 %arg4, i32 %9)\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 %arg5, 4294967295\n %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %arg4, i64 %13, i64 %arg5, i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\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 = ptrtoint i64* %sv_2 to i64\n store i64 %16, i64* %sv_1, align 8\n store i32 %arg2, i32* %sv_4, align 4\n br label LBL_5\n LBL_4:\n %17 = call i64 @FUNC(i64 %3, i64 0, i64* nonnull %sv_1, i64* nonnull %6)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_9\n LBL_5:\n %20 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 260)\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64* nonnull %sv_2, i32 %5)\n %22 = load i32, i32* %sv_4, align 4\n %23 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %24 = zext i32 %22 to i64\n %25 = zext i32 %23 to i64\n %26 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_1, i64 %25, i64 %24)\n %27 = trunc i64 %26 to i32\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_6, label LBL_9\n LBL_6:\n %sext = mul i64 %26, 4294967296\n %30 = ashr exact i64 %sext, 29\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 = icmp eq i64 %33, 0\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %35 = ashr exact i64 %sext, 32\n %36 = load i64, i64* @gv_3, align 8\n %37 = load i64, i64* @gv_4, align 8\n %38 = inttoptr i64 %33 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %37, i64 15000, i64 %36, i64 %35)\n store i64 %40, i64* %38, align 8\n %41 = load i64, i64* %32, align 8\n %42 = call i64 @FUNC(i64 %41, i64 2)\n %43 = load i64, i64* %32, align 8\n %44 = zext i32 %4 to i64\n %45 = call i64 @FUNC(i64 %43, i64 3, i64 4, i64 0, i64* nonnull %sv_0, i64 %44)\n br label LBL_8\n LBL_8:\n %46 = add i64 %30, ptrtoint (i64* @gv_5 to i64)\n %47 = call i64 @FUNC(i64 %46)\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* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ast_debug, { 1, 0 }\n uselistorder i64 1, { 0, 2, 3, 4, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i64 %arg5, { 0, 2, 1, 3 }\n uselistorder label LBL_9, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "colo_compare_finalize_2353", "fun_name": "colo_compare_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 = 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 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 32\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %0, 40\n %13 = call i64 @FUNC(i64 %12, i64 4198795, i64 %0)\n %14 = call i64 @FUNC(i64 %12)\n %15 = add i64 %0, 48\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 %0, 56\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %0, 64\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 %0, 72\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 (i64)* @g_free, { 2, 1, 0 }\n uselistorder i64 (i64)* @qemu_chr_fe_deinit, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_deprecated_9940", "fun_name": "jas_deprecated", "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* %0\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([382 x i8], [382 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i8* %arg1, i64 %3, i64 %4, i64 %2, i64 %1)\n ret i64 %6\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @jas_eprintf, { 1, 0 }\n uselistorder i32 1, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_new_net_queue_14473", "fun_name": "qemu_new_net_queue", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 24)\n %1 = inttoptr i64 %0 to i64*\n store i64 %arg1, i64* %1, align 8\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 i32*\n store i32 0, i32* %5, align 4\n ret i64 %0\n\n uselistorder i32 0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "IsMETA_8943", "fun_name": "IsMETA", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp ult i64 %arg2, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, 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 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_4\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, 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_4\n LBL_3:\n %10 = call i64 @FUNC(i64 %1, i8* bitcast (i8** @gv_2 to i8*), i64 2)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %. = zext i1 %12 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 (i64, i8*, i64)* @LocaleNCompare, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_cipher_alloc_ctx_5977", "fun_name": "crypto_cipher_alloc_ctx", "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 %arg2, 4294967295\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(i64 %5, i64 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_3, label LBL_4\n LBL_3:\n store i64 %6, i64* %arg1, 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": "neon_store_reg_559", "fun_name": "neon_store_reg", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, 4294967295\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = and i64 %2, 4294967295\n %4 = load i64, i64* @gv_0, align 8\n %5 = and i64 %arg3, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n %7 = call i64 @FUNC(i64 %5)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uninit_4341", "fun_name": "uninit", "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 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 call void @free(i64* nonnull %arg1)\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 call void @free(i64* %5)\n %6 = add i64 %4, 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 %8, 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 %12, 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 %18 = add i64 %16, 40\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp slt i32 %20, 0\n store i64* %17, i64** %.pre-phi.reg2mem\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = zext i32 %20 to i64\n %23 = call i32 @close(i32 %20)\n %.pre = inttoptr i64 %22 to i64*\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 call void @free(i64* %.pre-phi.reload)\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 i32 %20, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "early_setup_18077", "fun_name": "early_setup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n %1 = and i64 %0, 4294967295\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = call i64 @FUNC(i64 4210734, i64 0)\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = trunc i64 %arg1 to i32\n %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i32 %7)\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64* inttoptr (i64 4210733 to i64*))\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC()\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC()\n %17 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n %18 = call i64 @FUNC()\n ret i64 %18\n\n uselistorder i64 ()* @fixup_boot_paca, { 1, 0 }\n uselistorder i64 (i64*)* @setup_paca, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "napi_frags_skb_6137", "fun_name": "napi_frags_skb", "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 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %3, i64 4)\n %7 = and i64 %6, 4294967295\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_3, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %3, i64 4, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = zext i1 %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 store i64 %11, i64* %sv_0.0.in.reg2mem\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = add i64 %3, 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 %22 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 4, i64 %2, i64 %1)\n %23 = call i64 @FUNC(i64 %3, i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %24 = call i64 @FUNC(i64 %3, i64 4)\n %25 = call i64 @FUNC(i64 %3)\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i32 %27, 4\n store i32 %28, i32* %26, align 4\n %29 = call i64 @FUNC(i64 %3)\n %30 = add i64 %29, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i32 %32, -4\n store i32 %33, i32* %31, align 4\n store i64 %7, 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_0.0 = inttoptr i64 %sv_0.0.in.reload to i32*\n %34 = call i64 @FUNC(i64 %3, i64 4)\n %35 = load i32, i32* %sv_0.0, align 4\n %36 = add i64 %3, 8\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n store i64 %3, 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, { 0, 6, 5, 7, 9, 8, 2, 1, 3, 4, 10, 11, 12 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @NAPI_GRO_CB, { 1, 0 }\n uselistorder i64 (i64)* @unlikely, { 1, 0 }\n uselistorder i64 4, { 1, 5, 0, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uc32_cpu_initfn_1169", "fun_name": "uc32_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 = inttoptr i64 %2 to i32*\n store i32 1, i32* %4, align 4\n %5 = add i64 %2, 128\n %6 = inttoptr i64 %5 to i32*\n store i32 50331648, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %1, i64 1)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1\n %12 = icmp eq i8 %11, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8\n %13 = call i64 @FUNC()\n store i64 %13, 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 i8 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_direct_commit_release_3813", "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-phi3.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 = trunc i64 %3 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 = add i64 %5, 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 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %15, i32 %9, i64 %4, i64 %2, i64 %1)\n %17 = add i64 %8, 64\n %18 = inttoptr i64 %17 to i32*\n store i32 1, i32* %18, align 4\n store i32* %13, i32** %.pre-phi3.reg2mem\n br label LBL_4\n LBL_2:\n %19 = add i64 %5, 8\n %20 = inttoptr i64 %8 to i64*\n %21 = inttoptr i64 %19 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 %.pre2 = inttoptr i64 %.pre to i32*\n store i32* %.pre2, i32** %.pre-phi3.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = load i32, i32* %.pre2, 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 %19, i64 %2, i64 %1)\n %27 = add i64 %8, 64\n %28 = inttoptr i64 %27 to i32*\n store i32 1, i32* %28, align 4\n store i32* %.pre2, i32** %.pre-phi3.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem\n %29 = load i32, i32* %.pre-phi3.reload, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %30, i32 %9, i64 %rcx.0.reload, i64 %2, i64 %1)\n %32 = add i64 %5, 80\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %8, i64 %34)\n %36 = call i64 @FUNC(i64 %5)\n ret i64 %36\n\n uselistorder i32* %.pre2, { 1, 2, 0 }\n uselistorder i64 %19, { 1, 2, 0, 3 }\n uselistorder i32 %9, { 2, 1, 0 }\n uselistorder i64 %8, { 2, 1, 3, 0 }\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-phi3.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": "0" }, { "dataset": "CompRealVul", "file": "gen_neon_trn_u16_3085", "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)* @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, { 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": "virtio_gpu_object_wait_7921", "fun_name": "virtio_gpu_object_wait", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.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 1, i8 %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 %6 = icmp eq i1 %5, false\n store i64 %2, i64* %storemerge.in.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i64 1, i8 %1)\n %8 = call i64 @FUNC(i64 %0)\n store i64 %7, i64* %storemerge.in.reg2mem\n br label LBL_2\n LBL_2:\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 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tor_free_all_4771", "fun_name": "tor_free_all", "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 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 0)\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC()\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 %13 = call i64 @FUNC()\n %14 = call i64 @FUNC()\n %15 = icmp eq i32 %0, 0\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()\n %18 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %19 = call i64 @FUNC()\n %20 = load i64, i64* @gv_0, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = load i64, i64* @gv_1, align 8\n %23 = call i64 @FUNC(i64 %22)\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC()\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 i32 1, { 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": "gf_import_message_6272", "fun_name": "gf_import_message", "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 %. = select i1 %21, i64 3, i64 2\n %22 = call i64 @FUNC(i64 1, i64 %.)\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 store i32 24, i32* %sv_1, align 4\n %25 = ptrtoint i32* %sv_1 to i64\n %26 = bitcast i64* %sv_0 to i8*\n %27 = call i32 @vsnprintf(i8* nonnull %26, i32 1024, i8* %arg3, i64 %25)\n %28 = call i32 @puts(i8* nonnull %26)\n br label LBL_4\n LBL_4:\n %29 = zext i32 %arg2 to i64\n ret i64 %29\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unpack_block_qpis_322", "fun_name": "unpack_block_qpis", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i32\n %storemerge9.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i32\n %sv_1.1.lcssa11.reg2mem = alloca i32\n %sv_1.1.lcssa12.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_1.16.reg2mem = alloca i32\n %sv_2.17.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_6.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 = 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, 1\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %6, label LBL_17, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = bitcast i64* %rdi to i32*\n %9 = trunc i64 %1 to i32\n %10 = add i64 %2, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %2, 16\n %15 = inttoptr i64 %14 to i64*\n store i32 0, i32* %storemerge9.reg2mem\n store i32 %9, i32* %sv_0.08.reg2mem\n br label LBL_16\n LBL_2:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %16 = call i64 @FUNC(i64 %7)\n %17 = trunc i64 %16 to i32\n store i32 0, i32* %sv_6.0.reg2mem\n store i32 0, i32* %sv_5.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %17, i32* %sv_4.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem\n %18 = load i32, i32* %11, align 4\n %19 = call i64 @FUNC(i64 %7, i32 %18, i64 6, i64 2)\n %20 = trunc i64 %19 to i32\n %21 = add i32 %20, 1\n %22 = icmp eq i32 %20, 33\n %23 = icmp eq i1 %22, false\n store i32 %21, i32* %sv_3.0.reg2mem\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %7, i64 12)\n %25 = trunc i64 %24 to i32\n %26 = add i32 %21, %25\n store i32 %26, i32* %sv_3.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %27 = icmp sgt i32 %sv_3.0.reload, 0\n store i32 0, i32* %sv_2.17.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.16.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa12.reg2mem\n br i1 %27, label LBL_6, label LBL_12\n LBL_6:\n %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem\n %28 = load i32, i32* %8, align 8\n %29 = zext i32 %28 to i64\n %30 = sext i32 %sv_1.16.reload to i64\n %31 = icmp slt i64 %30, %29\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %31, label LBL_7, label LBL_17\n LBL_7:\n %sv_2.17.reload = load i32, i32* %sv_2.17.reg2mem\n %32 = load i64, i64* %13, align 8\n %33 = load i64, i64* %15, align 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = mul i64 %30, 4\n %37 = add i64 %35, %36\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, %32\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %storemerge9.reload, %44\n %46 = icmp eq i1 %45, false\n store i32 %sv_2.17.reload, i32* %sv_2.0.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = add i32 %44, %sv_4.0.reload\n store i32 %47, i32* %43, align 4\n %48 = add i32 %sv_2.17.reload, 1\n store i32 %48, i32* %sv_2.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %49 = add i32 %sv_1.16.reload, 1\n %50 = icmp slt i32 %sv_2.0.reload, %sv_3.0.reload\n store i32 %sv_2.0.reload, i32* %sv_2.17.reg2mem\n store i32 %49, i32* %sv_1.16.reg2mem\n br i1 %50, label LBL_6, label LBL_10\n LBL_10:\n %51 = icmp eq i32 %sv_3.0.reload, 34\n %52 = icmp eq i1 %51, false\n store i32 %49, i32* %sv_1.1.lcssa12.reg2mem\n br i1 %52, label LBL_12, label LBL_11\n LBL_11:\n %53 = call i64 @FUNC(i64 %7)\n %54 = trunc i64 %53 to i32\n store i32 %49, i32* %sv_1.1.lcssa11.reg2mem\n store i32 %54, i32* %storemerge1.reg2mem\n br label LBL_13\n LBL_12:\n %sv_1.1.lcssa12.reload = load i32, i32* %sv_1.1.lcssa12.reg2mem\n %55 = xor i32 %sv_4.0.reload, 1\n store i32 %sv_1.1.lcssa12.reload, i32* %sv_1.1.lcssa11.reg2mem\n store i32 %55, i32* %storemerge1.reg2mem\n br label LBL_13\n LBL_13:\n %56 = add i32 %sv_3.0.reload, %sv_5.0.reload\n %57 = icmp eq i32 %sv_4.0.reload, 0\n %58 = icmp eq i1 %57, false\n %59 = select i1 %58, i32 0, i32 %sv_3.0.reload\n %spec.select = add i32 %59, %sv_6.0.reload\n %60 = icmp slt i32 %56, %sv_0.08.reload\n br i1 %60, label LBL_14, label LBL_15\n LBL_14:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %sv_1.1.lcssa11.reload = load i32, i32* %sv_1.1.lcssa11.reg2mem\n %61 = call i64 @FUNC(i64 %7)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, 0\n %64 = icmp slt i32 %62, 0\n %65 = icmp eq i1 %64, false\n %66 = icmp eq i1 %63, false\n %67 = icmp eq i1 %65, %66\n store i32 %spec.select, i32* %sv_6.0.reg2mem\n store i32 %56, i32* %sv_5.0.reg2mem\n store i32 %sv_1.1.lcssa11.reload, i32* %sv_1.0.reg2mem\n store i32 %storemerge1.reload, i32* %sv_4.0.reg2mem\n br i1 %67, label LBL_3, label LBL_15\n LBL_15:\n %68 = sub i32 %sv_0.08.reload, %spec.select\n %69 = add i32 %storemerge9.reload, 1\n %70 = load i32, i32* %4, align 4\n %71 = add i32 %70, -1\n %72 = zext i32 %71 to i64\n %73 = sext i32 %69 to i64\n %74 = icmp slt i64 %73, %72\n store i32 %69, i32* %storemerge9.reg2mem\n store i32 %68, i32* %sv_0.08.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %74, label LBL_16, label LBL_17\n LBL_16:\n %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem\n %75 = icmp eq i32 %sv_0.08.reload, 0\n %76 = icmp slt i32 %sv_0.08.reload, 0\n %77 = icmp eq i1 %76, false\n %78 = icmp eq i1 %75, false\n %79 = icmp eq i1 %77, %78\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %79, label LBL_2, label LBL_17\n LBL_17:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %sv_0.08.reload, { 3, 2, 1, 0 }\n uselistorder i32 %62, { 1, 0 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_2.17.reload, { 1, 0 }\n uselistorder i32 %sv_3.0.reload, { 2, 4, 0, 1, 3 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %7, { 2, 1, 0, 3, 4 }\n uselistorder i32* %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i32* %sv_6.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.17.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.1.lcssa12.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.lcssa11.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i1 false, { 7, 0, 2, 1, 5, 4, 3, 6 }\n uselistorder i64 (i64)* @get_bits1, { 1, 0 }\n uselistorder i32 0, { 10, 11, 7, 8, 6, 9, 1, 5, 2, 3, 4, 0 }\n uselistorder label LBL_17, { 1, 0, 2, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "H264SwDecInit_12271", "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 i32 @puts(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 i32 @puts(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)\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 i32 @puts(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, 256\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, 264\n %15 = inttoptr i64 %14 to i32*\n store i32 1, i32* %15, align 4\n %16 = add i64 %4, 268\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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "load_vmstate_18646", "fun_name": "load_vmstate", "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 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64* nonnull %sv_1)\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 = load i64, i64* %sv_1, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %3, i64 %2, i64 %1)\n store i64 4294967201, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_2:\n %13 = ptrtoint i8* %arg1 to i64\n %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_1)\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_4, label LBL_3\n LBL_3:\n %18 = load i64, i64* %sv_1, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %13, i64 %2, i64 %1)\n %21 = and i64 %14, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_4:\n %22 = ptrtoint i64* %sv_1 to i64\n %23 = call i64 @FUNC()\n %24 = icmp eq i64 %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 %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %3, i64 %2, i64 %1)\n store i64 4294967201, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_6:\n %27 = call i64 @FUNC(i64 %23)\n %28 = call i64 @FUNC(i64 %27)\n %29 = call i64 @FUNC(i64 %23, i64* nonnull %sv_0, i64 %13)\n %30 = trunc i64 %29 to i32\n %31 = call i64 @FUNC(i64 %27)\n %32 = icmp slt i32 %30, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = and i64 %29, 4294967295\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_8:\n %35 = ptrtoint i64* %sv_0 to i64\n %36 = load i64, i64* %sv_0, align 8\n %37 = icmp eq i64 %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(i64 %4, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 %35, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_10:\n %40 = call i64 @FUNC()\n %41 = call i64 @FUNC(i64 %13, 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_12, label LBL_11\n LBL_11:\n %45 = load i64, i64* %sv_1, align 8\n %46 = call i64 @FUNC(i64 %45)\n %47 = and i64 %41, 4294967295\n %48 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i64 %47, i64 %13, i64 %46, i64 %1)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_12:\n %49 = call i64 @FUNC(i64 %23, i64 0)\n %50 = icmp eq i64 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_14, label LBL_13\n LBL_13:\n %52 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_5, i64 0, i64 0), i64 %22, i64 %35, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %53 = call i64 @FUNC(i64 0)\n %54 = inttoptr i64 %5 to i64*\n store i64 %49, i64* %54, align 8\n %55 = call i64 @FUNC(i64 %27)\n %56 = call i64 @FUNC(i64 %49)\n %57 = trunc i64 %56 to i32\n %58 = call i64 @FUNC(i64 %49)\n %59 = call i64 @FUNC(i64 %27)\n %60 = call i64 @FUNC()\n %61 = icmp slt i32 %57, 0\n %62 = icmp eq i1 %61, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %62, label LBL_16, label LBL_15\n LBL_15:\n %63 = and i64 %56, 4294967295\n %64 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %63, i64 %35, i64 %2, i64 %1)\n store i64 %63, 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 %49, { 1, 0, 2, 3 }\n uselistorder i64 %35, { 2, 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %13, { 1, 2, 4, 3, 0, 5 }\n uselistorder i64* %sv_1, { 3, 0, 5, 4, 1, 6, 2 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %4, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 1, 8, 7, 6, 5, 4, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 (i64)* @aio_context_release, { 1, 0 }\n uselistorder i64 (i64)* @aio_context_acquire, { 1, 0 }\n uselistorder i64 4294967201, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @bdrv_get_device_name, { 2, 1, 0 }\n uselistorder label LBL_16, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_wrmsr_6575", "fun_name": "handle_wrmsr", "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 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = and i64 %0, 4294967295\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = mul i64 %7, 4294967296\n %9 = or i64 %8, %4\n store i64 %9, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = and i64 %3, 4294967295\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %13, i64 %9)\n %15 = call i64 @FUNC(i64 %0, i64 0)\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 %13, i64 %9)\n %17 = call i64 @FUNC(i64 %0)\n br label LBL_3\n LBL_3:\n ret i64 1\n\n uselistorder i64 %0, { 1, 0, 3, 4, 2, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_next_block_1294", "fun_name": "get_next_block", "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 = load i64, i64* %arg2, align 8\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_8\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %arg1 to i32*\n %5 = add i64 %3, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %3, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = add i64 %3, 12\n %12 = inttoptr i64 %11 to i32*\n store i64 %0, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n store i32 0, i32* %4, align 4\n store i64 %.reload, i64* %6, align 8\n %13 = load i32, i32* %8, align 4\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_8, label LBL_3\n LBL_3:\n %15 = add i64 %.reload, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = load i32, i32* %10, align 4\n %19 = load i32, i32* %12, align 4\n %20 = add i32 %19, %18\n %21 = icmp ult i32 %17, %20\n br i1 %21, label LBL_4, label LBL_7\n LBL_4:\n %22 = add i64 %.reload, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp ugt i32 %24, %18\n br i1 %25, label LBL_5, label LBL_7\n LBL_5:\n %26 = icmp ugt i32 %18, %17\n store i64 0, i64* %storemerge.reg2mem\n br i1 %26, label LBL_6, label LBL_8\n LBL_6:\n %27 = sub i32 %18, %17\n store i32 %27, i32* %4, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %28 = inttoptr i64 %.reload 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 store i64 %29, i64* %.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %31, 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 i32 %18, { 0, 1, 3, 2 }\n uselistorder i64 %.reload, { 3, 1, 0, 2 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 5, 2, 3 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_8, { 0, 3, 4, 1, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_vma_flags_4305", "fun_name": "check_vma_flags", "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 = urem i32 %2, 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_11\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %arg2, 4\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 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_11\n LBL_3:\n %12 = trunc i64 %arg2 to i32\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_7, label LBL_4\n LBL_4:\n %15 = and i32 %2, 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_10, label LBL_5\n LBL_5:\n %18 = and i64 %arg2, 8\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_11\n LBL_6:\n %21 = and i64 %1, 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 i64 1, i64* %rax.0.reg2mem\n br i1 %25, label LBL_10, label LBL_11\n LBL_7:\n %26 = and i32 %2, 8\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_8\n LBL_8:\n %29 = and i64 %arg2, 8\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %31, label LBL_9, label LBL_11\n LBL_9:\n %32 = and i32 %2, 16\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %34, label LBL_10, label LBL_11\n LBL_10:\n %35 = and i64 %arg2, 2\n %36 = call i64 @FUNC(i64 %5, i32 %13, i64 0, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %. = zext i1 %38 to i64\n store 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 i32 %13, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %2, { 1, 3, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 1, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dfa_probe_1028", "fun_name": "dfa_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 = 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, 3\n %5 = trunc i64 %0 to i32\n %6 = icmp eq i32 %5, 1095321156\n %or.cond = icmp eq i1 %6, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\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, 128\n %. = select i1 %10, i64 100, i64 25\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 %0, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_udiv_13870", "fun_name": "helper_udiv", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.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 %arg2, 4294967295\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %0, i64* %.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 1)\n %.pre = load i64, i64* @gv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %7 = and i64 %arg1, 4294967295\n %8 = mul i64 %2, 4294967296\n %9 = or i64 %8, %7\n %.reload = load i64, i64* %.reg2mem\n %10 = udiv i64 %9, %3\n %11 = icmp ult i64 %10, 4294967296\n %12 = add i64 %.reload, 8\n %13 = inttoptr i64 %12 to i32*\n %not. = icmp ne i1 %11, true\n %. = zext i1 %not. to i32\n %.5 = select i1 %11, i64 %10, i64 4294967295\n store i32 %., i32* %13, align 4\n ret i64 %.5\n\n uselistorder i1 %11, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r5l_load_log_3880", "fun_name": "r5l_load_log", "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.1.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 i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp ult 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 = trunc i64 %3 to i32\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 8)\n %9 = and i64 %8, 4294967295\n %sext2 = mul i64 %3, 4294967296\n %10 = ashr exact i64 %sext2, 32\n %11 = icmp eq i64 %9, %10\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 0)\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_4, label LBL_13\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %15 = sext i32 %sv_0.0.reload to i64\n %16 = call i64 @FUNC(i64 %0, i64 %15, i64 4096, i64 %12, i64 0, i64 0, i64 0)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 1\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %12)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %20 = call i64 @FUNC(i64 %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 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 305419896\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_10, label LBL_7\n LBL_7:\n %28 = add i64 %20, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 1\n br i1 %31, label LBL_8, label LBL_10\n LBL_8:\n %32 = add i64 %20, 8\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 %35)\n %37 = trunc i64 %36 to i32\n store i32 0, i32* %33, align 4\n %38 = inttoptr i64 %1 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 %20, i64 4096)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %37, %42\n br i1 %43, label LBL_9, label LBL_10\n LBL_9:\n %44 = add i64 %20, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = icmp eq i64 %47, %15\n br i1 %48, label LBL_11, label LBL_10\n LBL_10:\n %49 = call i64 @FUNC()\n %sext = mul i64 %49, 4294967296\n %50 = ashr exact i64 %sext, 32\n %51 = add i64 %0, 16\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = call i64 @FUNC(i64 %0, i64 0)\n store i32 0, i32* %sv_0.1.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br label LBL_12\n LBL_11:\n %54 = add i64 %20, 24\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, 16\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i64 %56, i64* %rdi.0.reg2mem\n br label LBL_12\n LBL_12:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %60 = and i64 %rdi.0.reload, 4294967295\n %61 = call i64 @FUNC(i64 %60, i64 8)\n %62 = and i64 %61, 4294967295\n %63 = add i64 %0, 24\n %64 = inttoptr i64 %63 to i64*\n store i64 %62, i64* %64, align 8\n %65 = udiv i64 %62, 4\n %66 = add i64 %0, 32\n %67 = inttoptr i64 %66 to i64*\n %68 = icmp ult i64 %62, 4100\n %spec.store.select = select i1 %68, i64 %65, i64 1024\n store i64 %spec.store.select, i64* %67, align 8\n %69 = sext i32 %sv_0.1.reload to i64\n %70 = add i64 %0, 40\n %71 = inttoptr i64 %70 to i64*\n store i64 %69, i64* %71, align 8\n %72 = add i64 %0, 48\n %73 = inttoptr i64 %72 to i64*\n store i64 %69, i64* %73, align 8\n %74 = call i64 @FUNC(i64 %12)\n %75 = call i64 @FUNC(i64 %0)\n store i64 %75, 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 %62, { 1, 0, 2 }\n uselistorder i64 %20, { 4, 0, 1, 3, 2, 5 }\n uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 0, 1, 2, 9, 10, 11 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @le64_to_cpu, { 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder i64 (i64)* @__free_page, { 1, 0 }\n uselistorder i32 0, { 0, 2, 1, 3 }\n uselistorder i64 32, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @round_down, { 1, 0 }\n uselistorder i64 8, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_13, { 1, 2, 0 }\n uselistorder label LBL_10, { 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shut_5864", "fun_name": "shut", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\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 i8*, align 8\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC()\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %3 to i8*\n %7 = call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %10 = call i32 @fwrite(i64* bitcast ([39 x i8]* @gv_2 to i64*), i32 1, i32 38, %_IO_FILE* %9)\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %sext = mul i64 %arg1, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = inttoptr i64 %3 to i64*\n call void @free(i64* %12)\n %13 = call i32 @getuid()\n %14 = icmp eq i32 %13, 0\n %.pre = and i64 %11, 4294967295\n br i1 %14, label LBL_7, label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_5:\n %16 = call i64 @FUNC(i64 %.pre)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %13, %17\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %20 = call i32 @fwrite(i64* bitcast ([80 x i8]* @gv_4 to i64*), i32 1, i32 79, %_IO_FILE* %19)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %21 = trunc i64 %11 to i32\n %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i32 %21)\n %23 = call i32 @kill(i32 %21, i32 15)\n %24 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0), i64 %.pre)\n %25 = icmp eq i32 %24, -1\n %26 = icmp eq i1 %25, false\n store i32 11, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_11, label LBL_8\n LBL_8:\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0))\n unreachable\n LBL_9:\n %28 = call i32 @sleep(i32 1)\n %29 = load i8*, i8** %sv_3, align 8\n %30 = call %_IO_FILE* @fopen(i8* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0))\n %31 = icmp eq %_IO_FILE* %30, null\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_10, label LBL_12\n LBL_10:\n %33 = add nsw i32 %sv_0.0.reload, -1\n %34 = call i32 @fread(i64* nonnull %sv_2, i32 1, i32 1, %_IO_FILE* %30)\n %35 = call i32 @fclose(%_IO_FILE* %30)\n %36 = icmp eq i32 %34, 0\n %37 = icmp eq i1 %36, false\n store i32 %33, i32* %sv_0.0.reg2mem\n br i1 %37, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %38 = icmp eq i32 %sv_0.0.reload, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_9, label LBL_13\n LBL_12:\n %40 = load i8*, i8** %sv_3, align 8\n %41 = bitcast i8* %40 to i64*\n call void @free(i64* %41)\n br label LBL_16\n LBL_13:\n %42 = load i8*, i8** %sv_3, align 8\n %43 = bitcast i8* %42 to i64*\n call void @free(i64* %43)\n %44 = bitcast i32* %sv_1 to i64*\n %45 = call i64 @FUNC(i64 %.pre, i64* nonnull %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_15, label LBL_14\n LBL_14:\n %49 = load i32, i32* %sv_1, align 4\n %50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i32 %49)\n %51 = load i32, i32* %sv_1, align 4\n %52 = call i32 @kill(i32 %51, i32 9)\n br label LBL_15\n LBL_15:\n %53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i32 %21)\n %54 = call i32 @kill(i32 %21, i32 9)\n br label LBL_16\n LBL_16:\n %55 = call i64 @FUNC()\n %56 = call i64 @FUNC(i64 %.pre)\n ret i64 %56\n\n uselistorder %_IO_FILE* %30, { 1, 0, 2 }\n uselistorder i32 %21, { 1, 0, 2, 3 }\n uselistorder i64 %.pre, { 1, 0, 2, 3 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i8** %sv_3, { 0, 2, 1, 3 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 2, 3, 0, 1, 4 }\n uselistorder i32 (i32, i32)* @kill, { 2, 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 }\n uselistorder i64 (i8*)* @errExit, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4 }\n uselistorder i64 ()* @EUID_ROOT, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmx_enable_tdp_8531", "fun_name": "vmx_enable_tdp", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = zext i1 %2 to i64\n %4 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %5 = icmp eq i32 %4, 0\n %. = select i1 %5, i64 0, i64 4\n %6 = load i32, i32* @gv_0, align 4\n %7 = icmp eq i32 %6, 0\n %storemerge = select i1 %7, i64 0, i64 2\n %8 = call i64 @FUNC(i64 1, i64 %storemerge, i64 %., i64 0, i64 8, i64 %3)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n ret i64 %10\n\n uselistorder i32 1, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_addReplyStringToList_9692", "fun_name": "_addReplyStringToList", "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 = 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_9, label LBL_1\n LBL_1:\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 = 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 %arg2, i64 %arg3)\n %14 = load i64, i64* %8, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %13)\n %16 = call i64 @FUNC(i64 %13)\n %17 = add i64 %arg1, 8\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* %18, align 8\n br label LBL_8\n LBL_3:\n %21 = load i64, i64* %8, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 %22)\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_4\n LBL_4:\n %27 = add i64 %23, 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 br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = call i64 @FUNC(i64 %25)\n %33 = add i64 %32, %arg3\n %34 = icmp ult i64 %33, 4097\n br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n %35 = load i64, i64* %24, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = add i64 %arg1, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = sub i64 %39, %36\n store i64 %40, i64* %38, align 8\n %41 = load i64, i64* %8, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %arg2, i64 %arg3)\n store i64 %45, i64* %43, align 8\n %46 = call i64 @FUNC(i64 %45)\n %47 = load i64, i64* %38, align 8\n %48 = add i64 %47, %46\n store i64 %48, i64* %38, align 8\n br label LBL_8\n LBL_7:\n %49 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %50 = load i64, i64* %8, align 8\n %51 = call i64 @FUNC(i64 %50, i64 %49)\n %52 = call i64 @FUNC(i64 %49)\n %53 = add i64 %arg1, 8\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = add i64 %55, %52\n store i64 %56, i64* %54, align 8\n br label LBL_8\n LBL_8:\n %57 = call i64 @FUNC(i64 %arg1)\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* %38, { 1, 0, 2, 3 }\n uselistorder i64* %8, { 2, 1, 3, 0, 4 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 (i64)* @sdsZmallocSize, { 1, 0 }\n uselistorder i64 (i64)* @getStringObjectSdsUsedMemory, { 1, 0 }\n uselistorder i64 (i64, i64)* @listAddNodeTail, { 1, 0 }\n uselistorder i64 (i64, i64)* @createStringObject, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64 %arg3, { 3, 2, 0, 1 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uhci_broadcast_packet_15005", "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, 12\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\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 %6 to i64\n %17 = zext i32 %9 to i64\n %18 = zext i32 %12 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %18, i64 %17, i64 %16, i64 %1)\n %20 = icmp ne i32 %13, 0\n %21 = icmp eq i32 %13, 1\n %22 = icmp eq i1 %21, false\n %or.cond5 = icmp eq i1 %20, %22\n br i1 %or.cond5, label LBL_2, label LBL_1\n LBL_1:\n %23 = load i32, i32* %5, align 4\n %24 = add i64 %3, 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)\n br label LBL_2\n LBL_2:\n %29 = 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 %30 = mul i64 %indvars.iv.reload, 16\n %31 = add i64 %30, %29\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 -1, i32* %sv_0.0.reg2mem\n br i1 %34, label LBL_6, label LBL_4\n LBL_4:\n %35 = add i64 %31, 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 i32 -1, i32* %sv_0.0.reg2mem\n br i1 %39, label LBL_6, label LBL_5\n LBL_5:\n %40 = call i64 @FUNC(i64 %33, i64 %3)\n %41 = trunc i64 %40 to i32\n store i32 %41, 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 %42 = icmp ult i64 %indvars.iv.next, 4\n %43 = icmp eq i32 %sv_0.0.reload, -1\n %or.cond = icmp eq i1 %42, %43\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 %44 = load i32, i32* %5, align 4\n %45 = zext i32 %44 to i64\n %46 = zext i32 %sv_0.0.reload to i64\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %46, i64 %45, i64 %17, i64 %16, i64 %1)\n %48 = icmp eq i32 %13, 2\n %49 = icmp eq i1 %48, false\n %50 = icmp slt i32 %sv_0.0.reload, 1\n %or.cond3 = or i1 %49, %50\n br i1 %or.cond3, label LBL_9, label LBL_8\n LBL_8:\n %51 = add i64 %3, 16\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53, i64 %46)\n br label LBL_9\n LBL_9:\n ret i64 %46\n\n uselistorder i64 %46, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i32* %5, { 1, 0, 2 }\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 i64 16, { 1, 0, 2 }\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": "1" }, { "dataset": "CompRealVul", "file": "spl_ptr_heap_insert_5607", "fun_name": "spl_ptr_heap_insert", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rdi.1.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %.reg2mem11 = alloca i32\n %storemerge.lcssa.ph.reg2mem = alloca i32\n %rdi.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\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 = add i64 %0, 12\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp ult i32 %3, %6\n store i32 %3, i32* %.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = sext i32 %6 to i64\n %9 = mul i64 %8, 8\n %10 = call i64 @FUNC(i64 %0, i64 8, i64 %8, i64 %9)\n store i64 %10, i64* %arg1, align 8\n %11 = load i32, i32* %5, align 4\n %12 = mul i32 %11, 2\n store i32 %12, i32* %5, align 4\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 %13 = icmp slt i32 %.reload, 1\n store i32 %.reload, i32* %storemerge2.reg2mem\n store i64 %arg2, i64* %rdi.01.reg2mem\n store i32 %.reload, i32* %.reg2mem11\n store i32 %.reload, i32* %storemerge.lcssa.reg2mem\n store i64 %arg2, i64* %rdi.1.reg2mem\n br i1 %13, label LBL_6, label LBL_4\n LBL_3:\n %14 = add i64 %28, %31\n %15 = sext i32 %storemerge2.reload to i64\n %16 = mul i64 %15, 8\n %17 = add i64 %31, %16\n %18 = inttoptr i64 %14 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %17 to i64*\n store i64 %19, i64* %20, align 8\n %21 = icmp slt i32 %25, 2\n store i32 %26, i32* %storemerge2.reg2mem\n store i64 %31, i64* %rdi.01.reg2mem\n store i32 %26, i32* %storemerge.lcssa.ph.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %22 = add i32 %storemerge2.reload, -1\n %23 = icmp slt i32 %22, 0\n %24 = zext i1 %23 to i32\n %25 = add i32 %22, %24\n %26 = ashr i32 %25, 1\n %27 = sext i32 %26 to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %28, %rdi.01.reload\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n store i32 %storemerge2.reload, i32* %storemerge.lcssa.ph.reg2mem\n br i1 %33, label LBL_3, label LBL_5\n LBL_5:\n %storemerge.lcssa.ph.reload = load i32, i32* %storemerge.lcssa.ph.reg2mem\n %.pre10 = load i32, i32* %2, align 4\n store i32 %.pre10, i32* %.reg2mem11\n store i32 %storemerge.lcssa.ph.reload, i32* %storemerge.lcssa.reg2mem\n store i64 %31, i64* %rdi.1.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %.reload12 = load i32, i32* %.reg2mem11\n %34 = add i32 %.reload12, 1\n store i32 %34, i32* %2, align 4\n %35 = sext i32 %storemerge.lcssa.reload to i64\n %36 = mul i64 %35, 8\n %37 = add i64 %36, %rdi.1.reload\n %38 = inttoptr i64 %37 to i64*\n store i64 %arg2, i64* %38, align 8\n ret i64 %arg2\n\n uselistorder i64 %31, { 0, 4, 2, 3, 1 }\n uselistorder i32 %26, { 2, 1, 0 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i32 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32* %5, { 1, 0, 2 }\n uselistorder i32* %2, { 2, 0, 1, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 8, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %arg2, { 2, 3, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "util_path_encode_5777", "fun_name": "util_path_encode", "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 %.reg2mem3 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.01.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_2 to i64\n store i64 %arg2, i64* %sv_2, align 8\n %2 = mul i64 %arg2, 4\n %3 = or i64 %2, 1\n %4 = add i64 %3, 15\n %5 = udiv i64 %4, 16\n %6 = mul i64 %5, 16\n %7 = sub i64 %1, %6\n %8 = bitcast i64* %arg1 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 %9, i8* %.reg2mem\n store i64 0, i64* %sv_0.12.reg2mem\n store i64 0, i64* %sv_1.01.reg2mem\n store i64 %arg2, i64* %.reg2mem3\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %11, label LBL_1, label LBL_8\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 %.reload = load i8, i8* %.reg2mem\n %12 = icmp eq i8 %.reload, 47\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = add i64 %sv_0.12.reload, %7\n %15 = inttoptr i64 %14 to i64*\n %16 = call i64* @memcpy(i64* %15, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %17 = add i64 %sv_0.12.reload, 4\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_3:\n %18 = icmp eq i8 %.reload, 92\n %19 = icmp eq i1 %18, false\n %20 = add i64 %sv_0.12.reload, %7\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %21 = inttoptr i64 %20 to i64*\n %22 = call i64* @memcpy(i64* %21, i64* bitcast ([5 x i8]* @gv_1 to i64*), i32 4)\n %23 = add i64 %sv_0.12.reload, 4\n store i64 %23, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %24 = inttoptr i64 %20 to i8*\n store i8 %.reload, i8* %24, align 1\n %25 = add i64 %sv_0.12.reload, 1\n store i64 %25, 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 %26 = add i64 %sv_1.01.reload, 1\n %27 = add i64 %26, %0\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 store i8 %29, i8* %.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 %26, i64* %sv_1.01.reg2mem\n br i1 %31, label LBL_1, label LBL_7\n LBL_7:\n %.pre = load i64, i64* %sv_2, align 8\n store i64 %.pre, i64* %.reg2mem3\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %.reload4 = load i64, i64* %.reg2mem3\n %32 = icmp eq i64 %.reload4, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_9, label LBL_10\n LBL_9:\n %34 = add i64 %.reload4, -1\n %35 = icmp ugt i64 %sv_0.1.lcssa.reload, %34\n %36 = select i1 %35, i64 %34, i64 %sv_0.1.lcssa.reload\n %37 = inttoptr i64 %7 to i64*\n %38 = trunc i64 %36 to i32\n %39 = call i64* @memcpy(i64* %arg1, i64* %37, i32 %38)\n %40 = add i64 %36, %0\n %41 = inttoptr i64 %40 to i8*\n store i8 0, i8* %41, align 1\n br label LBL_10\n LBL_10:\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %sv_0.1.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %sv_0.12.reload, { 2, 1, 4, 0, 3 }\n uselistorder i64 %7, { 2, 0, 1 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\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, 3, 2, 1 }\n uselistorder i64* %.reg2mem3, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 3, 4, 1, 2, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_process_times_5823", "fun_name": "update_process_times", "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 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %1)\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()\n br label LBL_2\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = load i32, i32* @gv_1, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12, i64 24)\n %14 = add i64 %13, %arg1\n %15 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %16 = sext i32 %15 to i64\n %17 = and i64 %14, 4294967295\n %18 = call i64 @FUNC(i64 %16, i64 %17)\n ret i64 %18\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtp_asf_fix_header_2729", "fun_name": "rtp_asf_fix_header", "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 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 54\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_9, label LBL_1\n LBL_1:\n %2 = call i32 @memcmp(i64* %arg1, i64* nonnull @gv_0, i32 16)\n %3 = icmp eq i32 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_9\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = add i64 %5, %4\n %7 = add i64 %4, 30\n store i64 %7, 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 %8 = add i64 %sv_0.0.reload, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %sv_0.0.reload to i64*\n %12 = call i32 @memcmp(i64* %11, i64* nonnull @gv_1, i32 16)\n %13 = icmp eq i32 %12, 0\n %14 = sub i64 %6, %sv_0.0.reload\n br i1 %13, label LBL_6, label LBL_4\n LBL_4:\n %15 = icmp ugt i64 %10, %14\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_9, label LBL_5\n LBL_5:\n %16 = add i64 %10, %sv_0.0.reload\n %17 = sub i64 %6, %16\n %18 = icmp ult i64 %17, 24\n store i64 %16, i64* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_9, label LBL_3\n LBL_6:\n %19 = icmp slt i64 %14, 100\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_9, label LBL_7\n LBL_7:\n %20 = add i64 %sv_0.0.reload, 92\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %sv_0.0.reload, 96\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 store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n store i32 0, i32* %21, 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 %sv_0.0.reload, { 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 4, 3, 1, 2, 6, 5 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 6, 3, 2, 0, 1, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_netdev_add_689", "fun_name": "do_netdev_add", "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 = call i64 @FUNC(i64 4210725, 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_4\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %1, i64 1)\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 %1)\n br label LBL_3\n LBL_3:\n %10 = and i64 %5, 4294967295\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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ccm_calculate_auth_mac_10347", "fun_name": "ccm_calculate_auth_mac", "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 %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i16, align 2\n %sv_5 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i32\n store i32 0, i32* %sv_5, align 4\n %6 = icmp ult i32 %5, 65280\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = urem i64 %1, 65536\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i16\n store i16 %9, i16* %sv_4, align 2\n store i64 2, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 65534)\n %11 = trunc i64 %10 to i16\n store i16 %11, i16* %sv_4, align 2\n %12 = and i64 %1, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_3)\n store i64 6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %14 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %15 = call i64 @FUNC(i64 %4)\n %16 = inttoptr i64 %4 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = and i64 %15, 4294967295\n %19 = call i64 @FUNC(i64 %14, i16* nonnull %sv_4, i64 %storemerge.reload, i32* nonnull %sv_5, i64 %17, i64 %18)\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64* nonnull %sv_2, i64 %22)\n store i32 %5, 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 %24 = zext i32 %sv_1.0.reload to i64\n %25 = call i64 @FUNC(i64* nonnull %sv_2, 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 br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = load i64, i64* %sv_2, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64* nonnull %sv_2, i64 %30)\n %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 %24)\n %33 = trunc i64 %32 to i32\n store i32 %33, 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 %34 = call i64 @FUNC(i64* nonnull %sv_2)\n %35 = call i64 @FUNC(i64 %4)\n %36 = load i64, i64* %16, align 8\n %37 = zext i32 %sv_0.0.reload to i64\n %38 = and i64 %35, 4294967295\n %39 = inttoptr i64 %34 to i16*\n %40 = call i64 @FUNC(i64 %14, i16* %39, i64 %37, i32* nonnull %sv_5, i64 %36, i64 %38)\n %41 = sub i32 %sv_1.0.reload, %sv_0.0.reload\n %42 = call i64 @FUNC(i64 %34)\n %43 = call i64 @FUNC(i64* nonnull %sv_2, i64 %37)\n %44 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i32 %41)\n %45 = icmp eq i32 %41, 0\n %46 = icmp eq i1 %45, false\n store i32 %41, i32* %sv_1.0.reg2mem\n br i1 %46, label LBL_4, label LBL_7\n LBL_7:\n ret i64 %44\n\n uselistorder i32 %41, { 0, 2, 1 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 0, 1, 2, 3, 4, 7, 5, 6 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64*, i64)* @scatterwalk_clamp, { 1, 0 }\n uselistorder i64 (i64*, i64)* @scatterwalk_start, { 1, 0 }\n uselistorder i64 (i64, i16*, i64, i32*, i64, i64)* @ce_aes_ccm_auth_data, { 1, 0 }\n uselistorder i64 (i64)* @num_rounds, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @cpu_to_be16, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_renderer_create_sub_ctx_10788", "fun_name": "vrend_renderer_create_sub_ctx", "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.in6.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8, align 1\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %2, 16\n %storemerge3.in.in.in4 = inttoptr i64 %4 to i64*\n %storemerge3.in.in5 = load i64, i64* %storemerge3.in.in.in4, align 8\n %5 = add i64 %storemerge3.in.in5, -16\n %6 = icmp eq i64 %5, %2\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = trunc i64 %3 to i32\n store i64 %storemerge3.in.in5, i64* %storemerge3.in.in6.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.in.in6.reload = load i64, i64* %storemerge3.in.in6.reg2mem\n %storemerge3.in = add i64 %storemerge3.in.in6.reload, -24\n %storemerge3 = inttoptr i64 %storemerge3.in to i32*\n %9 = load i32, i32* %storemerge3, align 4\n %10 = icmp eq i32 %9, %8\n br i1 %10, label LBL_9, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %storemerge3.in.in6.reload to i64*\n %12 = load i64, i64* %11, align 8\n %storemerge3.in.in.in = inttoptr i64 %12 to i64*\n %storemerge3.in.in = load i64, i64* %storemerge3.in.in.in, align 8\n %13 = add i64 %storemerge3.in.in, -16\n %14 = icmp eq i64 %13, %2\n %15 = icmp eq i1 %14, false\n store i64 %storemerge3.in.in, i64* %storemerge3.in.in6.reg2mem\n br i1 %15, label LBL_2, label LBL_4\n LBL_4:\n %16 = call i64* @calloc(i32 1, i32 88)\n %17 = ptrtoint i64* %16 to i64\n %18 = icmp eq i64* %16, null\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %18, label LBL_10, label LBL_5\n LBL_5:\n %19 = trunc i64 %1 to i32\n %20 = bitcast i64* %16 to i32*\n %21 = icmp eq i32 %19, 0\n %22 = icmp eq i1 %21, false\n %23 = trunc i64 %3 to i32\n %24 = icmp ne i32 %23, 0\n %narrow = or i1 %24, %22\n %storemerge = zext i1 %narrow to i8\n store i8 %storemerge, i8* %sv_0, align 1\n %25 = add i64 %17, 72\n %26 = inttoptr i64 %25 to i64*\n %27 = ptrtoint i8* %sv_0 to i64\n store i64 %27, i64* %26, align 8\n store i32 %23, i32* %20, align 4\n %28 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4\n %29 = icmp eq i8 %28, 1\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = add i64 %17, 4\n %31 = call i64 @FUNC(i64 1, i64 %30)\n %32 = inttoptr i64 %30 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 br label LBL_7\n LBL_7:\n %36 = add i64 %17, 8\n %37 = call i64 @FUNC(i64 1, i64 %36)\n %38 = add i64 %17, 12\n %39 = call i64 @FUNC(i64 2, i64 %38)\n %40 = add i64 %17, 40\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %17, 56\n %43 = call i64 @FUNC(i64 %42)\n %44 = call i64 @FUNC()\n %45 = add i64 %17, 80\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = add i64 %2, 8\n %48 = inttoptr i64 %47 to i64*\n store i64 %17, i64* %48, align 8\n %49 = add i64 %17, 24\n %50 = call i64 @FUNC(i64 %49, i64 %4)\n %51 = icmp eq i32 %23, 0\n %52 = icmp eq i1 %51, false\n store i64 %50, i64* %rax.0.reg2mem\n br i1 %52, label LBL_10, label LBL_8\n LBL_8:\n %53 = add i64 %2, 32\n %54 = inttoptr i64 %53 to i64*\n store i64 %17, i64* %54, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %55 = and i64 %3, 4294967295\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 i64 %17, { 2, 3, 4, 5, 6, 7, 8, 9, 1, 10, 0 }\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 3, 4, 1, 5 }\n uselistorder i64* %storemerge3.in.in6.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @glGenFramebuffers, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 -16, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 3, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "falcon_mtd_probe_4003", "fun_name": "falcon_mtd_probe", "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 i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 2, i64 56, i64 0)\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_9\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 %8 = icmp ult i64* %arg1, inttoptr (i64 257 to i64*)\n %or.cond = or i1 %8, %7\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %1 to i64*\n store i64 %4, i64* %9, align 8\n %10 = add i64 %1, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 256, i64* %11, align 8\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %13, align 8\n %14 = add i64 %1, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 ptrtoint ([18 x i8]* @gv_1 to i64), i64* %15, align 8\n %16 = add i64 %1, 32\n %17 = inttoptr i64 %16 to i32*\n store i32 1, i32* %17, align 4\n %18 = add i64 %1, 36\n %19 = inttoptr i64 %18 to i32*\n store i32 4, i32* %19, align 4\n %20 = add i64 %4, -256\n %21 = add i64 %1, 40\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n %23 = add i64 %4, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %1, 48\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\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 %28 = add i64 %4, 16\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_6, label LBL_4\n LBL_4:\n %32 = inttoptr i64 %28 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp ult i64 %33, 513\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = mul nuw nsw i64 %sv_0.0.reload, 56\n %36 = add i64 %35, %1\n %37 = inttoptr i64 %36 to i64*\n store i64 %28, i64* %37, align 8\n %38 = add i64 %36, 8\n %39 = inttoptr i64 %38 to i64*\n store i64 512, i64* %39, align 8\n %40 = add i64 %36, 16\n %41 = inttoptr i64 %40 to i64*\n store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %41, align 8\n %42 = add i64 %36, 24\n %43 = inttoptr i64 %42 to i64*\n store i64 ptrtoint ([15 x i8]* @gv_3 to i64), i64* %43, align 8\n %44 = add i64 %36, 32\n %45 = inttoptr i64 %44 to i32*\n store i32 2, i32* %45, align 4\n %46 = add i64 %36, 36\n %47 = inttoptr i64 %46 to i32*\n store i32 8, i32* %47, align 4\n %48 = load i64, i64* %32, align 8\n %49 = call i64 @FUNC(i64 %48, i64 768)\n %50 = add i64 %49, -512\n %51 = add i64 %36, 40\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = add i64 %4, 24\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = add i64 %36, 48\n %57 = inttoptr i64 %56 to i64*\n store i64 %55, i64* %57, align 8\n %58 = add nuw nsw i64 %sv_0.0.reload, 1\n store i64 %58, 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 %59 = add i64 %1, 16\n %60 = call i64 @FUNC(i64 %4, i64 %59, i64 %sv_0.1.reload, i64 56)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n br i1 %62, label LBL_8, label LBL_7\n LBL_7:\n %63 = call i64 @FUNC(i64 %1)\n br label LBL_8\n LBL_8:\n %64 = and i64 %60, 4294967295\n store i64 %64, 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 %28, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 3, 2, 0, 1 }\n uselistorder i64 %4, { 4, 0, 5, 1, 2, 3, 6 }\n uselistorder i64 %1, { 9, 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @falcon_spi_present, { 1, 0 }\n uselistorder i64 56, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ldb_dn_add_base_fmt_9820", "fun_name": "ldb_dn_add_base_fmt", "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 %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 = icmp ne i64* %arg1, null\n %24 = icmp eq i8 %22, 0\n %or.cond = icmp eq i1 %23, %24\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_5\n LBL_3:\n %25 = ptrtoint i64* %arg1 to i64\n store i32 16, i32* %sv_0, align 4\n %26 = ptrtoint i8* %arg2 to i64\n %27 = call i64 @FUNC(i64 %25, i64 %26, i32* nonnull %sv_0)\n %28 = icmp eq i64 %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_5\n LBL_4:\n %30 = add i64 %25, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %27, i64 %32, i64 %27)\n %34 = call i64 @FUNC(i64 %25, i64 %33)\n %35 = call i64 @FUNC(i64 %27)\n %36 = urem i64 %34, 256\n store i64 %36, 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 %27, { 2, 0, 1, 3 }\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %1, { 1, 0 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jswrap_function_replaceWith_6873", "fun_name": "jswrap_function_replaceWith", "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 %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i8\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 = 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, 1\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_22\n LBL_3:\n %12 = trunc i64 %1 to i32\n %13 = call i64 @FUNC(i64 %2)\n %14 = call i64 @FUNC(i64 %7)\n %15 = trunc i64 %13 to i8\n %16 = trunc i64 %14 to i8\n %17 = icmp eq i8 %15, %16\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %7)\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 = or i32 %12, 2\n store i32 %21, i32* %arg1, align 4\n br label LBL_7\n LBL_6:\n %22 = and i32 %12, -3\n store i32 %22, i32* %arg1, align 4\n br label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %2)\n %24 = call i64 @FUNC(i64 %7)\n %25 = trunc i64 %23 to i8\n %26 = trunc i64 %24 to i8\n %27 = icmp eq i8 %25, %26\n br i1 %27, label LBL_11, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i64 %7)\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 0\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = and i32 %12, -13\n %32 = or i32 %31, 8\n store i32 %32, i32* %arg1, align 4\n br label LBL_11\n LBL_10:\n %33 = and i32 %12, -21\n %34 = or i32 %33, 16\n store i32 %34, i32* %arg1, align 4\n br label LBL_11\n LBL_11:\n %35 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0)\n %36 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 0)\n %37 = call i64 @FUNC(i64 %2)\n %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 %7)\n %39 = call i64 @FUNC(i64* nonnull %sv_0)\n %40 = trunc i64 %39 to i8\n %41 = icmp eq i8 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_12, label LBL_17\n LBL_12:\n %43 = call i64 @FUNC(i64* nonnull %sv_0)\n %44 = call i64 @FUNC(i64* nonnull %sv_0)\n %45 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %46 = trunc i64 %45 to i8\n %47 = icmp eq i8 %46, 1\n br i1 %47, label LBL_16, label LBL_13\n LBL_13:\n %48 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n %49 = trunc i64 %48 to i8\n %50 = icmp eq i8 %49, 1\n br i1 %50, label LBL_16, label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %43, i64 1)\n store i64 %51, i64* %sv_0, align 8\n %52 = icmp eq i64 %51, 0\n br i1 %52, label LBL_16, label LBL_15\n LBL_15:\n %53 = call i64 @FUNC(i64 %2, i64 %51)\n %54 = load i64, i64* %sv_0, align 8\n %55 = call i64 @FUNC(i64 %54)\n br label LBL_16\n LBL_16:\n %56 = call i64 @FUNC(i64 %43)\n %57 = call i64 @FUNC(i64* nonnull %sv_0)\n %58 = trunc i64 %57 to i8\n %59 = icmp eq i8 %58, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_12, label LBL_17\n LBL_17:\n %61 = call i64 @FUNC(i64* nonnull %sv_0)\n %62 = icmp eq i64 %35, 0\n br i1 %62, label LBL_19, label LBL_18\n LBL_18:\n %63 = call i64 @FUNC(i64 %2, i64 %35)\n br label LBL_19\n LBL_19:\n %64 = call i64 @FUNC(i64 %35)\n %65 = icmp eq i64 %36, 0\n br i1 %65, label LBL_21, label LBL_20\n LBL_20:\n %66 = call i64 @FUNC(i64 %2, i64 %36)\n br label LBL_21\n LBL_21:\n %67 = call i64 @FUNC(i64 %36)\n store i64 %67, 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 %43, { 2, 0, 1, 3 }\n uselistorder i64 %36, { 0, 2, 1 }\n uselistorder i64 %35, { 0, 2, 1 }\n uselistorder i32 %12, { 1, 0, 2, 3 }\n uselistorder i64 %7, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64* %sv_0, { 1, 2, 6, 7, 3, 4, 0, 5 }\n uselistorder i64 %2, { 1, 0, 2, 3, 5, 4, 6, 7, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @jsvUnLock, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @jsvAddName, { 2, 0, 1 }\n uselistorder i64 (i64, i8*)* @jsvIsStringEqual, { 1, 0 }\n uselistorder i64 (i64*)* @jsvObjectIteratorHasValue, { 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @jsvFindChildFromString, { 1, 0 }\n uselistorder i64 (i64)* @jsvIsFunctionReturn, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @jsvIsNativeFunction, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64)* @jsvIsFunction, { 1, 0 }\n uselistorder i32* %arg1, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "append_payload_vec_4827", "fun_name": "append_payload_vec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) 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 ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([19 x i8], [19 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 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %4, 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 ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([2 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %5 = icmp eq i64 %arg3, 0\n %6 = icmp eq i1 %5, false\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %6, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([7 x i8]* @gv_4 to i64), i64* %rdi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %7 = inttoptr i64 %rdi.2.reload to i64*\n store i64 32, i64* %7, align 8\n %8 = add i64 %rdi.2.reload, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %rdi.2.reload, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 %arg2, i64* %11, align 8\n %12 = add i64 %rdi.2.reload, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 %arg3, i64* %13, align 8\n %14 = mul i64 %rdi.2.reload, 2\n store i64 %14, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %rdi.2.reload, { 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder [7 x i8]* @gv_4, { 1, 0 }\n uselistorder [2 x i8]* @gv_3, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder [2 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nhmldmx_finalize_6358", "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 br i1 %34, label LBL_14, label LBL_13\n LBL_13:\n %35 = call i64 @FUNC(i64 %33)\n br label LBL_14\n LBL_14:\n %36 = add i64 %1, 56\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_16, label LBL_15\n LBL_15:\n %40 = call i64 @FUNC(i64 %38)\n store i64 %40, 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 (i64)* @gf_bs_del, { 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opfstenv_8860", "fun_name": "opfstenv", "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, 2\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, 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 %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 -39, 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 label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mount_load_proc_self_mountinfo_4655", "fun_name": "mount_load_proc_self_mountinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rbx.2.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.26.reg2mem = alloca i32\n %rbx.1.ph.in.reg2mem = alloca i64\n %sv_0.02330.reg2mem = alloca i32\n %.lcssa.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 %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n store i64 0, i64* %sv_5, align 8\n store i64 0, i64* %sv_4, 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 ([64 x i8], [64 x i8]* @gv_1, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = call i64 @FUNC()\n store i64 %2, i64* %sv_5, align 8\n %3 = icmp eq i64 %2, 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()\n %6 = and i64 %5, 4294967295\n store i64 %6, i64* %rbx.2.reg2mem\n br label LBL_22\n LBL_4:\n %7 = call i64 @FUNC(i64 0)\n store i64 %7, i64* %sv_4, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = call i64 @FUNC()\n %11 = and i64 %10, 4294967295\n store i64 %11, i64* %rbx.2.reg2mem\n br label LBL_22\n LBL_6:\n %12 = load i64, i64* %sv_5, align 8\n %13 = call i64 @FUNC(i64 %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 br i1 %16, label LBL_7, label LBL_9\n LBL_7:\n store i64 0, i64* %sv_3, align 8\n store i64 0, i64* %sv_2, align 8\n %17 = load i64, i64* %sv_4, align 8\n %18 = load i64, i64* %sv_5, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %17, i64* nonnull %sv_1)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_8, label LBL_21\n LBL_8:\n %23 = ptrtoint i64* %arg1 to i64\n %24 = urem i64 %arg2, 256\n %25 = icmp slt i32 %20, 0\n %26 = icmp eq i1 %25, false\n store i64 %19, i64* %.lcssa.reg2mem\n store i32 0, i32* %sv_0.02330.reg2mem\n br i1 %26, label LBL_12, label LBL_11\n LBL_9:\n %27 = and i64 %13, 4294967295\n %28 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0))\n %29 = and i64 %28, 4294967295\n store i64 %29, i64* %rbx.2.reg2mem\n br label LBL_22\n LBL_10:\n %30 = icmp slt i32 %67, 0\n %31 = icmp eq i1 %30, false\n store i64 %66, i64* %.lcssa.reg2mem\n store i32 %sv_0.26.reload, i32* %sv_0.02330.reg2mem\n br i1 %31, label LBL_12, label LBL_11\n LBL_11:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %32 = and i64 %.lcssa.reload, 4294967295\n %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0))\n store i64 %33, i64* %rbx.1.ph.in.reg2mem\n br label LBL_17\n LBL_12:\n %sv_0.02330.reload = load i32, i32* %sv_0.02330.reg2mem\n %34 = load i64, i64* %sv_1, align 8\n %35 = call i64 @FUNC(i64 %34)\n %36 = load i64, i64* %sv_1, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = load i64, i64* %sv_1, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = load i64, i64* %sv_1, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = icmp ne i64 %35, 0\n %43 = icmp eq i64 %37, 0\n %44 = icmp eq i1 %43, false\n %or.cond = icmp eq i1 %42, %44\n br i1 %or.cond, label LBL_13, label LBL_18\n LBL_13:\n %45 = call i64 @FUNC(i64 %35, i64 0, i64* nonnull %sv_3)\n %46 = trunc i64 %45 to i32\n %47 = icmp slt i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n %49 = call i64 @FUNC()\n store i64 %49, i64* %rbx.1.ph.in.reg2mem\n br label LBL_17\n LBL_15:\n %50 = call i64 @FUNC(i64 %37, i64 0, i64* nonnull %sv_2)\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_19, label LBL_16\n LBL_16:\n %54 = call i64 @FUNC()\n store i64 %54, i64* %rbx.1.ph.in.reg2mem\n br label LBL_17\n LBL_17:\n %rbx.1.ph.in.reload = load i64, i64* %rbx.1.ph.in.reg2mem\n %rbx.1.ph = and i64 %rbx.1.ph.in.reload, 4294967295\n call void @free(i64* nonnull %sv_2)\n call void @free(i64* nonnull %sv_3)\n store i64 %rbx.1.ph, i64* %rbx.2.reg2mem\n br label LBL_22\n LBL_18:\n call void @free(i64* nonnull %sv_2)\n store i32 %sv_0.02330.reload, i32* %sv_0.26.reg2mem\n br label LBL_20\n LBL_19:\n %55 = load i64, i64* %sv_3, align 8\n %56 = call i64 @FUNC(i64 %23, i64 %55, i64 1, i64 0, i64 %24)\n %57 = load i64, i64* %sv_2, align 8\n %58 = load i64, i64* %sv_3, align 8\n %59 = call i64 @FUNC(i64 %23, i64 %58, i64 %57, i64 %39, i64 %41, i64 %24)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %sv_0.02330.reload, 0\n %62 = icmp slt i32 %60, 0\n %63 = icmp eq i1 %61, %62\n %sv_0.1 = select i1 %63, i32 %60, i32 %sv_0.02330.reload\n call void @free(i64* nonnull %sv_2)\n store i32 %sv_0.1, i32* %sv_0.26.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.26.reload = load i32, i32* %sv_0.26.reg2mem\n call void @free(i64* nonnull %sv_3)\n store i64 0, i64* %sv_3, align 8\n store i64 0, i64* %sv_2, align 8\n %64 = load i64, i64* %sv_4, align 8\n %65 = load i64, i64* %sv_5, align 8\n %66 = call i64 @FUNC(i64 %65, i64 %64, i64* nonnull %sv_1)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 1\n %69 = icmp eq i1 %68, false\n store i32 %sv_0.26.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %69, label LBL_10, label LBL_21\n LBL_21:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n call void @free(i64* nonnull %sv_2)\n call void @free(i64* nonnull %sv_3)\n %70 = zext i32 %sv_0.0.lcssa.reload to i64\n store i64 %70, i64* %rbx.2.reg2mem\n br label LBL_22\n LBL_22:\n %rbx.2.reload = load i64, i64* %rbx.2.reg2mem\n %71 = call i64 @FUNC(i64* nonnull %sv_4)\n %72 = call i64 @FUNC(i64* nonnull %sv_5)\n ret i64 %rbx.2.reload\n\n uselistorder i32 %67, { 1, 0 }\n uselistorder i64 %66, { 1, 0 }\n uselistorder i64 %37, { 1, 0 }\n uselistorder i32 %sv_0.02330.reload, { 2, 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64* %sv_5, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64* %sv_4, { 1, 2, 0, 3, 4 }\n uselistorder i64* %sv_3, { 1, 7, 3, 5, 6, 2, 4, 0 }\n uselistorder i64* %sv_2, { 4, 7, 1, 6, 2, 3, 5, 0 }\n uselistorder i64* %sv_1, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32* %sv_0.02330.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.26.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rbx.2.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder void (i64*)* @free, { 0, 7, 8, 2, 3, 1, 4, 6, 5 }\n uselistorder i64 (i64, i64, i64*)* @cunescape, { 1, 0 }\n uselistorder i64 (i64, i8*)* @log_error_errno, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @mnt_table_next_fs, { 1, 0 }\n uselistorder i32 0, { 3, 6, 7, 8, 9, 1, 2, 0, 10, 4, 5 }\n uselistorder i64 ()* @log_oom, { 3, 2, 1, 0 }\n uselistorder i1 false, { 6, 3, 4, 2, 5, 0, 1, 7, 8, 9, 10 }\n uselistorder i64 0, { 27, 28, 21, 22, 23, 8, 31, 11, 12, 13, 14, 6, 7, 24, 32, 25, 33, 15, 16, 17, 18, 0, 1, 29, 30, 19, 20, 2, 3, 4, 5, 9, 10, 26 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_22, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_client_init_11614", "fun_name": "nbd_client_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4, i8* %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg6 to i64\n %1 = ptrtoint i8* %arg5 to i64\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i8* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %3, i64 %2, i64 %1, i64 %0)\n %8 = call i64 @FUNC(i64 %4, i64 1, i64 0)\n %9 = add i64 %6, 8\n %10 = call i64 @FUNC(i64 %4, i64 %3, i64 %6, i64 %2, i64 %1, 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_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %6, i64 %2, i64 %1, i64 %9)\n %15 = and i64 %10, 4294967295\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_2:\n %16 = inttoptr i64 %6 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n store i32 %17, i32* %.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = bitcast i64* %arg1 to i32*\n store i32 4, i32* %20, 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 = or i32 %23, 4\n store i32 %24, i32* %22, align 4\n %.pre = load i32, i32* %16, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %25 = and i32 %.reload, 2\n %26 = icmp eq i32 %25, 0\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 = or i32 %29, 8\n store i32 %30, i32* %28, align 4\n br label LBL_6\n LBL_6:\n %31 = add i64 %6, 32\n %32 = call i64 @FUNC(i64 %31)\n %33 = add i64 %6, 40\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %6, 24\n %36 = inttoptr i64 %35 to i64*\n store i64 %4, i64* %36, align 8\n %37 = call i64 @FUNC(i64 %4)\n %38 = call i64 @FUNC(i64 %37)\n %39 = inttoptr i64 %9 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 br i1 %42, label LBL_8, label LBL_7\n LBL_7:\n store i64 %4, i64* %39, align 8\n %43 = call i64 @FUNC(i64 %4)\n %44 = call i64 @FUNC(i64 %43)\n br label LBL_8\n LBL_8:\n %45 = call i64 @FUNC(i64 %4, i64 0, i64 0)\n %46 = call i64 @FUNC(i64 %5)\n %47 = call i64 @FUNC(i64 %5, i64 %46)\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %46, i64 %46, i64 %2, i64 %1, i64 %9)\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 %46, { 2, 1, 0 }\n uselistorder i64 %9, { 2, 0, 1, 3 }\n uselistorder i64 %6, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i64 %5, { 3, 2, 1, 0, 4 }\n uselistorder i64 %4, { 3, 0, 2, 1, 4, 5, 6 }\n uselistorder i64 %3, { 0, 1, 3, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @object_ref, { 1, 0 }\n uselistorder i64 (i64)* @OBJECT, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qio_channel_set_blocking, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @logout, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_client_init_4995", "fun_name": "nbd_client_init", "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 %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg6 to i64\n %1 = ptrtoint i64* %arg4 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg3, i64 %1, i64 %arg5, i64 %0)\n %6 = call i64 @FUNC(i64 %2)\n %7 = call i64 @FUNC(i64 %6, i64 1, i64 0)\n %8 = add i64 %4, 8\n %9 = call i64 @FUNC(i64 %2)\n %10 = call i64 @FUNC(i64 %9, i64 %arg3, i64 %4, i64 %1, i64 %arg5, i64 %8)\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_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %4, i64 %1, i64 %arg5, i64 %8)\n %15 = and i64 %10, 4294967295\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_2:\n %16 = inttoptr i64 %4 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n store i32 %17, i32* %.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = bitcast i64* %arg1 to i32*\n store i32 4, i32* %20, align 4\n %21 = add i64 %3, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = or i32 %23, 4\n store i32 %24, i32* %22, align 4\n %.pre = load i32, i32* %16, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %25 = and i32 %.reload, 2\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %3, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = or i32 %29, 8\n store i32 %30, i32* %28, align 4\n br label LBL_6\n LBL_6:\n %31 = add i64 %4, 24\n %32 = call i64 @FUNC(i64 %31)\n %33 = add i64 %4, 32\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %4, 40\n %36 = inttoptr i64 %35 to i64*\n store i64 %2, i64* %36, align 8\n %37 = call i64 @FUNC(i64 %2)\n %38 = call i64 @FUNC(i64 %37)\n %39 = inttoptr i64 %8 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 br i1 %42, label LBL_8, label LBL_7\n LBL_7:\n %43 = call i64 @FUNC(i64 %2)\n store i64 %43, i64* %39, align 8\n %44 = call i64 @FUNC(i64 %43)\n %45 = call i64 @FUNC(i64 %44)\n br label LBL_8\n LBL_8:\n %46 = call i64 @FUNC(i64 %2)\n %47 = call i64 @FUNC(i64 %46, i64 0, i64 0)\n %48 = call i64 @FUNC(i64 4199093, i64 %4)\n %49 = add i64 %4, 48\n %50 = inttoptr i64 %49 to i64*\n store i64 %48, i64* %50, align 8\n %51 = call i64 @FUNC(i64 %3)\n %52 = call i64 @FUNC(i64 %3, i64 %51)\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %51, i64 %51, i64 %1, i64 %arg5, i64 %8)\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 %51, { 2, 1, 0 }\n uselistorder i64 %8, { 2, 0, 1, 3 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 6, 5, 7, 8 }\n uselistorder i64 %3, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @object_ref, { 1, 0 }\n uselistorder i64 (i64)* @OBJECT, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qio_channel_set_blocking, { 1, 0 }\n uselistorder i64 (i64)* @QIO_CHANNEL, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @logout, { 2, 1, 0 }\n uselistorder i64 %arg5, { 1, 0, 2, 3 }\n uselistorder i64 %arg3, { 0, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AV1_RewriteESDescriptorEx_7243", "fun_name": "AV1_RewriteESDescriptorEx", "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 = 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 br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 2)\n store i64 %4, i64* %arg1, align 8\n store i32 1, i32* inttoptr (i64 2 to i32*), align 4\n store i32 2, i32* inttoptr (i64 6 to i32*), align 4\n %5 = icmp eq i64 %1, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = inttoptr i64 %1 to i32*\n %7 = load i32, i32* %6, align 4\n store i32 %7, i32* inttoptr (i64 10 to i32*), align 4\n %8 = add i64 %1, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n store i32 %10, i32* inttoptr (i64 14 to i32*), align 4\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* inttoptr (i64 18 to i32*), align 4\n br 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 = icmp eq i64 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_8, label LBL_5\n LBL_5:\n %18 = inttoptr i64 %16 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %19)\n %22 = icmp eq i64 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = add i64 %19, 24\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, 8\n %27 = call i64 @FUNC(i64 %21, i64 %25, i64 %26)\n %28 = call i64 @FUNC(i64 %21)\n store i64 %28, 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 %21, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "new_pcichild_device_4324", "fun_name": "new_pcichild_device", "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 %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 24, i64 0)\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_4\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = inttoptr i64 %2 to i64*\n store i64 %5, i64* %6, align 8\n %7 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32)\n %8 = ptrtoint i64* %sv_0 to i64\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\n %10 = ptrtoint i64* %sv_1 to i64\n %11 = bitcast i64* %sv_1 to i32*\n store i32 0, i32* %11, align 8\n %12 = bitcast i64* %rsi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = or i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %8, i64 %10, i64 8, i64* nonnull %sv_1, 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 br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64* nonnull %sv_0)\n %21 = load i32, i32* %12, align 8\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %2, i64 0)\n %25 = call i64 @FUNC(i64 %2, i64 1)\n %26 = add i64 %5, 8\n %27 = call i64 @FUNC(i64 %26, i64 %1)\n %28 = add i64 %5, 16\n %29 = add i64 %2, 16\n %30 = call i64 @FUNC(i64 %29, i64 %28)\n %31 = call i64 @FUNC(i64 %26, i64 %1)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %32 = call i64 @FUNC(i64 %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 %10, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 5, 0, 1, 3, 2, 4, 6, 7 }\n uselistorder i64* %sv_1, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @get_pcichild, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "slhc_init_5577", "fun_name": "slhc_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem12 = alloca i16\n %storemerge11.reg2mem = alloca i64\n %.reg2mem = alloca i16\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 store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_17, label LBL_1\n LBL_1:\n %sext3 = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext3, 32\n %6 = trunc i64 %5 to i32\n %7 = icmp ult i32 %6, 256\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_17\n LBL_2:\n %8 = call i64 @FUNC(i64 32, i64 0)\n %9 = icmp eq i64 %8, 0\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %9, label LBL_17, label LBL_3\n LBL_3:\n %10 = icmp slt i32 %3, 1\n br i1 %10, label LBL_6, label LBL_4\n LBL_4:\n %11 = ashr exact i64 %sext, 28\n %12 = call i64 @FUNC(i64 %11, i64 0)\n %13 = inttoptr i64 %8 to i64*\n store i64 %12, i64* %13, align 8\n %14 = icmp eq i64 %12, 0\n br i1 %14, label LBL_16, label LBL_5\n LBL_5:\n %15 = trunc i64 %1 to i16\n %16 = add i16 %15, -1\n %17 = add i64 %8, 16\n %18 = inttoptr i64 %17 to i16*\n store i16 %16, i16* %18, align 2\n br label LBL_6\n LBL_6:\n %19 = icmp slt i32 %6, 1\n br i1 %19, label LBL_9, label LBL_7\n LBL_7:\n %20 = ashr exact i64 %sext3, 28\n %21 = call i64 @FUNC(i64 %20, i64 0)\n %22 = add i64 %8, 8\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_15, label LBL_8\n LBL_8:\n %25 = trunc i64 %5 to i16\n %26 = add i16 %25, -1\n %27 = add i64 %8, 18\n %28 = inttoptr i64 %27 to i16*\n store i16 %26, i16* %28, align 2\n br label LBL_9\n LBL_9:\n %29 = add i64 %8, 20\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = add i64 %8, 21\n %32 = inttoptr i64 %31 to i8*\n store i8 -1, i8* %32, align 1\n %33 = add i64 %8, 22\n %34 = inttoptr i64 %33 to i8*\n store i8 -1, i8* %34, align 1\n %35 = add i64 %8, 24\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = or i32 %37, 1\n store i32 %38, i32* %36, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %19, label LBL_17, label LBL_10\n LBL_10:\n %39 = add i64 %8, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %8, 18\n %43 = inttoptr i64 %42 to i16*\n %44 = load i16, i16* %43, align 2\n %45 = icmp eq i16 %44, 0\n %46 = icmp slt i16 %44, 0\n %47 = icmp eq i1 %46, false\n %48 = icmp eq i1 %45, false\n %49 = icmp eq i1 %47, %48\n store i16 %44, i16* %.reg2mem12\n br i1 %49, label LBL_11, label LBL_14\n LBL_11:\n %50 = zext i16 %44 to i64\n store i16 %44, i16* %.reg2mem\n store i64 %50, i64* %storemerge11.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge11.reload = load i64, i64* %storemerge11.reg2mem\n %.reload = load i16, i16* %.reg2mem\n %sext6 = mul i64 %storemerge11.reload, 281474976710656\n %51 = ashr exact i64 %sext6, 44\n %52 = add i64 %51, %41\n %53 = inttoptr i64 %52 to i16*\n store i16 %.reload, i16* %53, align 2\n %54 = add i64 %52, -16\n %55 = add i64 %52, 8\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = add nuw nsw i64 %storemerge11.reload, 4294967295\n %58 = and i64 %57, 4294967295\n %59 = trunc i64 %57 to i16\n %60 = icmp eq i16 %59, 0\n %61 = icmp slt i16 %59, 0\n %62 = icmp eq i1 %61, false\n %63 = icmp eq i1 %60, false\n %64 = icmp eq i1 %62, %63\n store i16 %59, i16* %.reg2mem\n store i64 %58, i64* %storemerge11.reg2mem\n br i1 %64, label LBL_12, label LBL_13\n LBL_13:\n %.pre = load i16, i16* %43, align 2\n store i16 %.pre, i16* %.reg2mem12\n br label LBL_14\n LBL_14:\n %.reload13 = load i16, i16* %.reg2mem12\n %65 = sext i16 %.reload13 to i64\n %66 = mul i64 %65, 16\n %67 = add i64 %66, %41\n %68 = add i64 %41, 8\n %69 = inttoptr i64 %68 to i64*\n store i64 %67, i64* %69, align 8\n %70 = inttoptr i64 %41 to i16*\n store i16 0, i16* %70, align 2\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n %71 = inttoptr i64 %8 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %72)\n br label LBL_16\n LBL_16:\n %74 = call i64 @FUNC(i64 %8)\n store i64 4294967284, 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 i16 %59, { 0, 2, 1 }\n uselistorder i64 %52, { 1, 0, 2 }\n uselistorder i16 %44, { 1, 4, 0, 2, 3 }\n uselistorder i64 %41, { 2, 3, 0, 1 }\n uselistorder i64 %8, { 4, 5, 1, 9, 8, 0, 10, 11, 12, 13, 6, 7, 2, 3, 14 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %sext3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i16* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i16* %.reg2mem12, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2, 6, 5 }\n uselistorder i16 0, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64, i64)* @kzalloc, { 2, 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_17, { 0, 3, 2, 1, 5, 4 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s390x_new_cpu_15556", "fun_name": "s390x_new_cpu", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %sv_1, align 8\n %3 = call i64 @FUNC(i64 %2, i32 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1)\n %4 = load i64, i64* %sv_1, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1)\n %.pr = load i64, i64* %sv_1, align 8\n store i64 %.pr, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %8 = icmp eq i64 %.reload, 0\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %.reload)\n %11 = call i64 @FUNC(i64 %2)\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 %2, { 2, 0, 1, 3 }\n uselistorder i64* %sv_1, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vnet_select_queue_4692", "fun_name": "vnet_select_queue", "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* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\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 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = inttoptr i64 %3 to i16*\n %7 = load i16, i16* %6, align 2\n %8 = zext i16 %7 to i64\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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "join_session_keyring_3694", "fun_name": "join_session_keyring", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) 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_1.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 = load i64, i64* @gv_0, align 8\n %4 = sub i64 0, %3\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_2:\n %5 = call i64 @FUNC()\n %6 = icmp eq i64 %arg1, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %0, i64 0)\n %9 = icmp slt i64 %8, 0\n store i64 %8, i64* %sv_0.2.reg2mem\n br i1 %9, label LBL_15, label LBL_4\n LBL_4:\n %10 = inttoptr i64 %0 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 %0)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n %spec.select = select i1 %16, i64 %14, i64 %13\n ret i64 %spec.select\n LBL_5:\n %17 = call i64 @FUNC(i64* nonnull @gv_1)\n %18 = call i64 @FUNC(i64 %arg1, i64 0)\n %19 = call i64 @FUNC(i64 %18)\n %20 = load i64, i64* @gv_2, align 8\n %21 = sub i64 0, %20\n %22 = icmp eq i64 %19, %21\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = add i64 %5, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %5, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = call i64 @FUNC(i64 %arg1, i32 %29, i32 %26, i64 %5, i64 3, i64 4, i64 0)\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 0\n store i64 %30, i64* %sv_1.0.reg2mem\n br i1 %33, label LBL_12, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %30)\n store i64 %34, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_8:\n %35 = call i64 @FUNC(i64 %18)\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 0\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %18)\n store i64 %38, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_10:\n %39 = inttoptr i64 %0 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %18, %40\n %42 = icmp eq i1 %41, false\n store i64 %18, i64* %sv_1.0.reg2mem\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_12:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %44 = call i64 @FUNC(i64 %0, i64 %sv_1.0.reload)\n %45 = icmp slt i64 %44, 0\n store i64 %44, i64* %sv_0.1.reg2mem\n br i1 %45, label LBL_14, label LBL_13\n LBL_13:\n %46 = call i64 @FUNC(i64 %0)\n %47 = call i64 @FUNC(i64* nonnull @gv_1)\n %48 = inttoptr i64 %sv_1.0.reload to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %sv_1.0.reload)\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %51 = call i64 @FUNC(i64* nonnull @gv_1)\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 %52 = call i64 @FUNC(i64 %0)\n store i64 %sv_0.2.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 i64 %sv_1.0.reload, { 1, 2, 0 }\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i64 %18, { 3, 0, 2, 1, 4, 5 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %0, { 4, 3, 5, 6, 1, 0, 2, 7 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @key_put, { 1, 0 }\n uselistorder i64 (i64)* @IS_ERR, { 1, 0 }\n uselistorder i64 (i64)* @PTR_ERR, { 2, 1, 0 }\n uselistorder i64* @gv_1, { 1, 0, 2 }\n uselistorder i64 (i64)* @commit_creds, { 1, 0 }\n uselistorder i64 (i64, i64)* @install_session_keyring_to_cred, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_16, { 1, 0, 2 }\n uselistorder label LBL_15, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nut_write_trailer_199", "fun_name": "nut_write_trailer", "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 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 = trunc i64 %1 to i32\n %7 = icmp slt i32 %6, 3\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = call i64 @FUNC(i64 %2, i64 %5)\n br label LBL_1\n LBL_2:\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\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 %12 = add i64 %2, 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_5, label LBL_4\n LBL_4:\n %16 = inttoptr i64 %3 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 = load i64, i64* %sv_0, align 8\n %21 = call i64 @FUNC(i64 %2, i64 %20)\n %22 = load i64, i64* %sv_0, align 8\n %23 = call i64 @FUNC(i64 %2, i64 %5, i64 %22, i64 1, i64 0)\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uprobe_write_opcode_18314", "fun_name": "uprobe_write_opcode", "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.0.reg2mem = alloca i32\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 %1 = ptrtoint i64* %sv_4 to i64\n store i64 %arg3, i64* %sv_3, 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_1 to i64\n br label LBL_1\n LBL_1:\n store i64 0, i64* %3, align 8\n store i64 %6, i64* %5, align 8\n %7 = call i64 @FUNC(i64 0, i64 %0, i64 %arg2, i64 1, i64 0, i64* nonnull %sv_2)\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 i32 %8, i32* %storemerge.in.reg2mem\n br i1 %13, label LBL_2, label LBL_7\n LBL_2:\n %14 = load i64, i64* %sv_2, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %arg2, i64* nonnull %sv_3)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 1\n store i32 %16, i32* %sv_0.0.reg2mem\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = load i64, i64* %sv_1, align 8\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 store i32 %20, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = load i64, i64* %sv_1, align 8\n %24 = call i64 @FUNC(i64 0, i64 %23, i64 %arg2)\n %25 = icmp eq i64 %24, 0\n store i32 -12, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %24)\n %27 = load i64, i64* %sv_2, align 8\n %28 = call i64 @FUNC(i64 %24, i64 %27)\n %29 = call i64 @FUNC(i64 %24, i64 %arg2, i64* nonnull %sv_3, i64 4)\n %30 = load i64, i64* %sv_2, align 8\n %31 = load i64, i64* %sv_1, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %arg2, i64 %30, i64 %24)\n %33 = trunc i64 %32 to i32\n %34 = call i64 @FUNC(i64 %24)\n store i32 %33, 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 %35 = load i64, i64* %sv_2, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp eq i32 %sv_0.0.reload, -11\n %38 = icmp eq i1 %37, false\n store i32 %sv_0.0.reload, i32* %storemerge.in.reg2mem\n br i1 %38, label LBL_7, label LBL_1\n LBL_7:\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 %24, { 1, 0, 4, 3, 2, 5 }\n uselistorder i32 %8, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64)* @put_page, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qpci_pc_config_writeb_1639", "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 %.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, 256\n %6 = call i64 @FUNC(i64 3324, i64 %5)\n ret i64 %6\n\n uselistorder i64 256, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_fat_8105", "fun_name": "set_fat", "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.0.in.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8*\n %sv_3.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sext5 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext5, 32\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n store i64 268435448, i64* %sv_3.0.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = icmp eq i32 %5, -2\n %9 = icmp eq i1 %8, false\n %spec.select = select i1 %9, i64 %4, i64 268435447\n store i64 %spec.select, i64* %sv_3.0.reg2mem\n br label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = trunc i64 %2 to i32\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %13 = icmp eq i32 %12, 32\n br i1 %13, label LBL_12, label LBL_3\n LBL_3:\n %14 = icmp sgt i32 %12, 32\n br i1 %14, label LBL_13, label LBL_4\n LBL_4:\n switch i32 %12, label LBL_13 [\n i32 12, label LBL_5\n i32 16, label LBL_11\n ]\n LBL_5:\n %15 = add i64 %10, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = mul nsw i64 %11, 3\n %19 = udiv i64 %18, 2\n %20 = urem i64 %19, 2147483648\n %21 = add i64 %17, %20\n %22 = inttoptr i64 %21 to i8*\n %23 = add i64 %10, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = trunc i64 %11 to i32\n %arg2.tr6 = trunc i64 %arg2 to i32\n %27 = mul i32 %arg2.tr6, 2\n %28 = add i32 %27, %26\n %29 = udiv i32 %28, 2\n %30 = add i32 %25, %29\n %31 = urem i64 %arg2, 2\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = add nsw i64 %11, 4294967295\n %34 = and i64 %33, 4294967295\n %35 = bitcast i32* %sv_6 to i64*\n %36 = call i64 @FUNC(i64* nonnull %35, i64 %17, i64 %34, i64 %10)\n %37 = trunc i64 %sv_3.0.reload to i32\n %38 = mul i32 %37, 16\n %39 = load i32, i32* %sv_6, align 4\n %40 = udiv i32 %39, 256\n %41 = or i32 %40, %38\n %42 = trunc i32 %41 to i8\n store i8 %42, i8* %22, align 1\n %43 = udiv i32 %37, 16\n %44 = add i64 %21, 1\n %45 = trunc i32 %43 to i8\n %46 = inttoptr i64 %44 to i8*\n store i8 %45, i8* %46, align 1\n store i8* %22, i8** %sv_2.0.reg2mem\n store i32 %30, i32* %sv_1.0.in.reg2mem\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_7:\n %47 = add i64 %10, 12\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = add i32 %49, 1\n %51 = icmp eq i32 %50, %26\n br i1 %51, label LBL_9, label LBL_8\n LBL_8:\n %52 = add nsw i64 %11, 1\n %53 = and i64 %52, 4294967295\n %54 = bitcast i32* %sv_5 to i64*\n %55 = call i64 @FUNC(i64* nonnull %54, i64 %17, i64 %53, i64 %10)\n br label LBL_10\n LBL_9:\n store i32 0, i32* %sv_5, align 4\n br label LBL_10\n LBL_10:\n %56 = trunc i64 %sv_3.0.reload to i8\n store i8 %56, i8* %22, align 1\n %57 = trunc i64 %sv_3.0.reload to i32\n %58 = udiv i32 %57, 256\n %59 = load i32, i32* %sv_5, align 4\n %60 = mul i32 %59, 16\n %61 = add i64 %21, 1\n %62 = or i32 %60, %58\n %63 = trunc i32 %62 to i8\n %64 = inttoptr i64 %61 to i8*\n store i8 %63, i8* %64, align 1\n store i8* %22, i8** %sv_2.0.reg2mem\n store i32 %30, i32* %sv_1.0.in.reg2mem\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_11:\n %65 = add i64 %10, 24\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = mul i64 %arg2, 2\n %69 = and i64 %68, 4294967294\n %70 = add i64 %67, %69\n %71 = inttoptr i64 %70 to i8*\n %72 = add i64 %10, 4\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %arg2.tr = trunc i64 %arg2 to i32\n %75 = mul i32 %arg2.tr, 2\n %76 = add i32 %74, %75\n %77 = urem i64 %sv_3.0.reload, 65536\n %78 = call i64 @FUNC(i64 %77)\n %79 = trunc i64 %78 to i16\n %80 = inttoptr i64 %70 to i16*\n store i16 %79, i16* %80, align 2\n store i8* %71, i8** %sv_2.0.reg2mem\n store i32 %76, i32* %sv_1.0.in.reg2mem\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_12:\n %81 = add i64 %10, 24\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = and i64 %11, 4294967295\n %85 = call i64 @FUNC(i64* nonnull %sv_4, i64 %83, i64 %84, i64 %10)\n %86 = load i64, i64* %82, align 8\n %87 = mul i64 %arg2, 4\n %88 = and i64 %87, 4294967292\n %89 = add i64 %86, %88\n %90 = inttoptr i64 %89 to i8*\n %91 = add i64 %10, 4\n %92 = inttoptr i64 %91 to i32*\n %93 = load i32, i32* %92, align 4\n %arg2.tr7 = trunc i64 %arg2 to i32\n %94 = mul i32 %arg2.tr7, 4\n %95 = add i32 %93, %94\n %96 = trunc i64 %sv_3.0.reload to i32\n %97 = urem i32 %96, 268435456\n %98 = mul i32 %3, 268435456\n %99 = or i32 %97, %98\n %100 = zext i32 %99 to i64\n %101 = call i64 @FUNC(i64 %100)\n %102 = trunc i64 %101 to i32\n %103 = inttoptr i64 %89 to i32*\n store i32 %102, i32* %103, align 4\n store i8* %90, i8** %sv_2.0.reg2mem\n store i32 %95, i32* %sv_1.0.in.reg2mem\n store i64 4, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %104 = and i64 %2, 4294967295\n %105 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %104)\n unreachable\n LBL_14:\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 i8*, i8** %sv_2.0.reg2mem\n %sv_1.0 = zext i32 %sv_1.0.in.reload to i64\n %106 = ptrtoint i8* %sv_2.0.reload to i64\n %107 = call i64 @FUNC(i64 %sv_1.0, i64 %sv_0.0.reload, i64 %106)\n %108 = add i64 %10, 16\n %109 = inttoptr i64 %108 to i32*\n %110 = load i32, i32* %109, align 4\n %111 = zext i32 %110 to i64\n %112 = icmp slt i32 %110, 2\n store i64 %111, i64* %rax.0.reg2mem\n br i1 %112, label LBL_16, label LBL_15\n LBL_15:\n %113 = add i64 %10, 8\n %114 = inttoptr i64 %113 to i32*\n %115 = load i32, i32* %114, align 4\n %116 = zext i32 %115 to i64\n %117 = add nuw nsw i64 %116, %sv_1.0\n %118 = call i64 @FUNC(i64 %117, i64 %sv_0.0.reload, i64 %106)\n store i64 %118, 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 %89, { 1, 0 }\n uselistorder i64 %70, { 1, 0 }\n uselistorder i32 %37, { 1, 0 }\n uselistorder i32 %30, { 1, 0 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i8* %22, { 1, 3, 0, 2 }\n uselistorder i64 %17, { 2, 1, 0 }\n uselistorder i64 %sv_3.0.reload, { 0, 4, 1, 2, 3 }\n uselistorder i32 %12, { 2, 1, 0 }\n uselistorder i64 %11, { 4, 0, 1, 2, 3 }\n uselistorder i64 %10, { 7, 8, 9, 11, 10, 0, 1, 4, 3, 2, 5, 6 }\n uselistorder i32* %sv_5, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32* %sv_1.0.in.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @fs_write, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64*, i64, i64, i64)* @get_fat, { 2, 1, 0 }\n uselistorder i32 2, { 3, 0, 2, 1 }\n uselistorder i64 4, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 2, { 2, 3, 1, 0, 5, 4 }\n uselistorder i32 16, { 0, 2, 1, 3 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 %arg2, { 4, 0, 6, 1, 3, 5, 2 }\n uselistorder label LBL_14, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_ack_events_2079", "fun_name": "vmxnet3_ack_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 ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i32 %0)\n %2 = sext i32 %1 to i64\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_nvram_init_961", "fun_name": "spapr_nvram_init", "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 = 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 %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n store i64 %5, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 1024, i64* %9, align 8\n %10 = call i64 @FUNC(i64 1024)\n %11 = add i64 %1, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\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 %.off = add i64 %.reload, -256\n %13 = icmp ult i64 %.off, 3841\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 256, i64 4096)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 4198806)\n %17 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 4198813)\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* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @spapr_rtas_register, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_bin_java_parse_attrs_17457", "fun_name": "r_bin_java_parse_attrs", "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 i64\n %sv_1.01.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, %arg2\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 4198823)\n store i64 %4, i64* %arg1, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %arg2, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %2, 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 = icmp eq i64 %7, 0\n store i64 2, i64* %sv_0.1.reg2mem\n br i1 %10, label LBL_5, label LBL_1\n LBL_1:\n %11 = add i64 %1, 24\n %12 = inttoptr i64 %11 to i64*\n store i64 2, i64* %sv_0.02.reg2mem\n store i32 0, i32* %sv_1.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %13 = add i64 %sv_0.02.reload, %arg2\n %14 = call i64 @FUNC(i64 %1, i64 %13, i64 %0, i64 %arg4)\n %15 = icmp eq i64 %14, 0\n store i64 %sv_0.02.reload, i64* %sv_0.1.reg2mem\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %1, i64 %14)\n %17 = inttoptr i64 %14 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, %sv_0.02.reload\n %20 = add i64 %19, %arg2\n %21 = icmp ult i64 %20, %arg4\n store i64 %19, i64* %sv_0.1.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem\n %22 = add i32 %sv_1.01.reload, 1\n %23 = load i64, i64* %12, align 8\n %24 = add i64 %23, 1\n store i64 %24, i64* %12, align 8\n %25 = sext i32 %22 to i64\n %26 = load i64, i64* %9, align 8\n %27 = icmp ugt i64 %26, %25\n store i64 %19, i64* %sv_0.02.reg2mem\n store i32 %22, i32* %sv_1.01.reg2mem\n store i64 %19, i64* %sv_0.1.reg2mem\n br i1 %27, label LBL_2, label LBL_5\n LBL_5:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %28 = add i64 %1, 32\n %29 = inttoptr i64 %28 to i64*\n store i64 %sv_0.1.reload, i64* %29, align 8\n ret i64 %sv_0.1.reload\n\n uselistorder i64 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %19, { 0, 2, 1, 3 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %sv_0.02.reload, { 2, 0, 1 }\n uselistorder i64 %1, { 3, 1, 2, 0, 4, 5, 6 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg2, { 0, 1, 3, 2 }\n uselistorder label LBL_5, { 0, 2, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qmp_query_spice_channels_17303", "fun_name": "qmp_query_spice_channels", "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 %sv_1.14.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i64\n %storemerge16.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %storemerge13 = load i64, i64* @gv_0, align 8\n %0 = icmp eq i64 %storemerge13, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = ptrtoint i64* %sv_3 to i64\n %3 = add i64 %2, -16\n %4 = inttoptr i64 %3 to i64*\n %5 = bitcast i64* %sv_2 to i8*\n %6 = bitcast i64* %sv_3 to i8*\n store i64 %storemerge13, i64* %storemerge16.reg2mem\n store i64 0, i64* %sv_0.15.reg2mem\n store i64 0, i64* %sv_1.14.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %7 = inttoptr i64 %storemerge16.reload 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 = urem i32 %10, 2\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 i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_4:\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem\n %15 = call i64 @FUNC(i64 16)\n %16 = call i64 @FUNC(i64 24)\n %17 = inttoptr i64 %15 to i64*\n store i64 %16, i64* %17, align 8\n %18 = call i64 @FUNC(i64 24)\n %19 = inttoptr i64 %16 to i64*\n store i64 %18, i64* %19, align 8\n %20 = load i64, i64* %7, align 8\n %21 = add i64 %20, 16\n %22 = add i64 %20, 144\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n store i64 3, i64* %4, align 8\n %25 = inttoptr i64 %21 to %sockaddr*\n %26 = call i32 @getnameinfo(%sockaddr* %25, i32 %24, i8* nonnull %5, i32 1025, i8* nonnull %6, i32 32, i32 %24)\n %27 = load i64, i64* %17, align 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64* nonnull %sv_2)\n %31 = inttoptr i64 %29 to i64*\n store i64 %30, i64* %31, align 8\n %32 = load i64, i64* %17, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64* nonnull %sv_3)\n %36 = add i64 %34, 8\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = inttoptr i64 %21 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = load i64, i64* %17, align 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = zext i16 %39 to i64\n %44 = call i64 @FUNC(i64 %43)\n %45 = trunc i64 %44 to i32\n %46 = add i64 %42, 16\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = load i64, i64* %7, align 8\n %49 = load i64, i64* %17, align 8\n %50 = add i64 %48, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %49, 8\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = load i64, i64* %7, align 8\n %56 = load i64, i64* %17, align 8\n %57 = add i64 %55, 8\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = add i64 %56, 12\n %61 = inttoptr i64 %60 to i32*\n store i32 %59, i32* %61, align 4\n %62 = load i64, i64* %7, align 8\n %63 = load i64, i64* %17, align 8\n %64 = add i64 %62, 12\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i64 %63, 16\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = load i64, i64* %7, align 8\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = load i64, i64* %17, align 8\n %73 = and i32 %71, 2\n %74 = add i64 %72, 20\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = icmp eq i64 %sv_1.14.reload, 0\n %77 = icmp eq i1 %76, false\n store i64 %15, i64* %sv_0.0.reg2mem\n br i1 %77, label LBL_5, label LBL_6\n LBL_5:\n %78 = add i64 %sv_1.14.reload, 8\n %79 = inttoptr i64 %78 to i64*\n store i64 %15, i64* %79, align 8\n store i64 %sv_0.15.reload, 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 %80 = add i64 %storemerge16.reload, 8\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* %storemerge16.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.15.reg2mem\n store i64 %15, i64* %sv_1.14.reg2mem\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %83, label LBL_2, label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %24, { 1, 0 }\n uselistorder i64 %15, { 1, 2, 0, 3 }\n uselistorder i64 %sv_1.14.reload, { 1, 0 }\n uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64*)* @g_strdup, { 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 2, 1, 0 }\n uselistorder i64 16, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i32 1, { 7, 6, 4, 3, 2, 1, 0, 5 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dns_packet_read_type_window_6049", "fun_name": "dns_packet_read_type_window", "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 %rsi.2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %sv_1.1.reg2mem = alloca i32\n %.reg2mem23 = alloca i32\n %rsi.0.reg2mem = alloca i64\n %sv_1.011.reg2mem = alloca i32\n %sv_2.012.reg2mem = alloca i8\n %rsi.113.reg2mem = alloca i64\n %.reg2mem21 = alloca i64\n %sv_1.214.reg2mem = alloca i32\n %rsi.315.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\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 ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([28 x i8], [28 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 ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = ptrtoint i64* %arg2 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 br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n %9 = and i64 %5, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_6:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = bitcast i32* %sv_5 to i64*\n %12 = call i64 @FUNC(i64 %10, i64* nonnull %11, 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_8, label LBL_7\n LBL_7:\n %16 = and i64 %12, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_8:\n %17 = bitcast i32* %sv_4 to i64*\n %18 = call i64 @FUNC(i64 %10, i64* nonnull %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_10, label LBL_9\n LBL_9:\n %22 = and i64 %18, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_10:\n %23 = load i32, i32* %sv_4, align 4\n %24 = trunc i32 %23 to i8\n %.off = add i8 %24, -1\n %25 = icmp ult i8 %.off, 32\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %25, label LBL_11, label LBL_27\n LBL_11:\n %26 = urem i32 %23, 256\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %10, i64 %27, i64* nonnull %sv_3, i64 0)\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_12, label LBL_13\n LBL_12:\n %32 = load i32, i32* %sv_4, align 4\n %33 = urem i32 %32, 256\n %34 = icmp eq i32 %33, 0\n store i32 %32, i32* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %27, i64* %rsi.315.reg2mem\n store i32 0, i32* %sv_1.214.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_27, label LBL_14\n LBL_13:\n %35 = and i64 %28, 4294967295\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_14:\n %sv_1.214.reload = load i32, i32* %sv_1.214.reg2mem\n %rsi.315.reload = load i64, i64* %rsi.315.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %36 = load i64, i64* %sv_3, align 8\n %37 = add i64 %36, %indvars.iv.reload\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 i64 %36, i64* %.reg2mem21\n store i64 %rsi.315.reload, i64* %rsi.113.reg2mem\n store i8 -128, i8* %sv_2.012.reg2mem\n store i32 %sv_1.214.reload, i32* %sv_1.011.reg2mem\n br i1 %41, label LBL_16, label LBL_15\n LBL_15:\n %.reload = load i32, i32* %.reg2mem\n %42 = mul i32 %sv_1.214.reload, 16777216\n %sext = add i32 %42, 134217728\n %43 = ashr exact i32 %sext, 24\n store i32 %.reload, i32* %.reg2mem23\n store i32 %43, i32* %sv_1.1.reg2mem\n store i8 0, i8* %sv_0.0.reg2mem\n store i64 %rsi.315.reload, i64* %rsi.2.reg2mem\n br label LBL_23\n LBL_16:\n %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem\n %sv_2.012.reload = load i8, i8* %sv_2.012.reg2mem\n %rsi.113.reload = load i64, i64* %rsi.113.reg2mem\n %.reload22 = load i64, i64* %.reg2mem21\n %44 = add i64 %.reload22, %indvars.iv.reload\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = and i8 %46, %sv_2.012.reload\n %48 = icmp eq i8 %47, 0\n store i64 %rsi.113.reload, i64* %rsi.0.reg2mem\n br i1 %48, label LBL_20, label LBL_17\n LBL_17:\n %49 = load i32, i32* %sv_5, align 4\n %50 = mul i32 %49, 256\n %51 = urem i32 %sv_1.011.reload, 256\n %.masked = and i32 %50, 65280\n %52 = or i32 %.masked, %51\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i8\n %56 = icmp eq i8 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 %rsi.113.reload, i64* %rsi.0.reg2mem\n br i1 %57, label LBL_20, label LBL_18\n LBL_18:\n %58 = call i64 @FUNC(i64 %rsi.113.reload, i64 %53)\n %59 = trunc i64 %58 to i32\n %60 = icmp slt i32 %59, 0\n %61 = icmp eq i1 %60, false\n store i64 %53, i64* %rsi.0.reg2mem\n br i1 %61, label LBL_20, label LBL_19\n LBL_19:\n %62 = and i64 %58, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_20:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %63 = mul i32 %sv_1.011.reload, 16777216\n %sext7 = add i32 %63, 16777216\n %64 = ashr exact i32 %sext7, 24\n %65 = icmp ult i8 %sv_2.012.reload, 2\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_20.LBL_16_crit_edge, label LBL_22\n LBL_21:\n %67 = udiv i8 %sv_2.012.reload, 2\n %.pre = load i64, i64* %sv_3, align 8\n store i64 %.pre, i64* %.reg2mem21\n store i64 %rsi.0.reload, i64* %rsi.113.reg2mem\n store i8 %67, i8* %sv_2.012.reg2mem\n store i32 %64, i32* %sv_1.011.reg2mem\n br label LBL_16\n LBL_22:\n %.pre18 = load i32, i32* %sv_4, align 4\n store i32 %.pre18, i32* %.reg2mem23\n store i32 %64, i32* %sv_1.1.reg2mem\n store i8 1, i8* %sv_0.0.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.2.reg2mem\n br label LBL_23\n LBL_23:\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %.reload24 = load i32, i32* %.reg2mem23\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %68 = urem i32 %.reload24, 256\n %69 = zext i32 %68 to i64\n %70 = icmp ult i64 %indvars.iv.next, %69\n store i32 %.reload24, i32* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rsi.2.reload, i64* %rsi.315.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.214.reg2mem\n br i1 %70, label LBL_14, label LBL_24\n LBL_24:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %71 = icmp eq i8 %sv_0.0.reload, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %71, label LBL_25, label LBL_27\n LBL_25:\n %72 = icmp eq i64* %arg3, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %72, label LBL_27, label LBL_26\n LBL_26:\n store i64 0, 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 %.reload24, { 1, 0 }\n uselistorder i64 %rsi.113.reload, { 2, 0, 1 }\n uselistorder i8 %sv_2.012.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.011.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %sv_1.214.reload, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.315.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.214.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem21, { 2, 0, 1 }\n uselistorder i64* %rsi.113.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_2.012.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.011.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 10, 9, 1, 5, 8, 7, 6 }\n uselistorder i8 1, { 1, 0, 2, 3 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i32 16777216, { 3, 0, 1, 4, 2 }\n uselistorder i8 0, { 2, 3, 0, 4, 1 }\n uselistorder i32 256, { 1, 2, 0, 3, 4, 5, 6 }\n uselistorder i64 (i64, i64*, i64)* @dns_packet_read_uint8, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_27, { 2, 1, 3, 5, 6, 0, 4, 7, 8, 9 }\n uselistorder label LBL_20, { 1, 0, 2 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parseUrlAddrFromRtspUrlString_13099", "fun_name": "parseUrlAddrFromRtspUrlString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem19 = alloca i64\n %.reg2mem = alloca i8\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_14\n LBL_1:\n %4 = call i8* @strrchr(i8* %1, i32 58)\n %5 = call i8* @strchr(i8* %1, i32 93)\n %6 = load i8, i8* %1, align 1\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = ptrtoint i8* %5 to i64\n %9 = ptrtoint i8* %1 to i64\n %10 = add i64 %9, -2\n store i8 %6, i8* %.reg2mem\n store i64 2, i64* %.reg2mem19\n store i32 2, i32* %storemerge6.reg2mem\n br label LBL_4\n LBL_3:\n %11 = add i32 %storemerge6.reload, 1\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, 0\n store i8 %15, i8* %.reg2mem\n store i64 %12, i64* %.reg2mem19\n store i32 %11, i32* %storemerge6.reg2mem\n br i1 %16, label LBL_6, label LBL_4\n LBL_4:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %17 = icmp eq i8 %.reload, 47\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_5\n LBL_5:\n %.reload20 = load i64, i64* %.reg2mem19\n %19 = add i64 %.reload20, %9\n %20 = add i64 %19, -1\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = icmp eq i8 %22, 47\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_3, label LBL_7\n LBL_6:\n %25 = bitcast i8* %1 to i64*\n call void @free(i64* %25)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %26 = inttoptr i64 %19 to i8*\n %27 = call i8* @strchr(i8* %26, i32 47)\n %28 = icmp eq i8* %5, null\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = add i64 %8, 1\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n br label LBL_13\n LBL_9:\n %31 = icmp eq i8* %4, null\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n store i8 0, i8* %4, align 1\n br label LBL_13\n LBL_11:\n %32 = icmp eq i8* %27, null\n br i1 %32, label LBL_13, label LBL_12\n LBL_12:\n store i8 0, i8* %27, align 1\n br label LBL_13\n LBL_13:\n %33 = bitcast i64* %arg2 to i8*\n %34 = call i8* @strcpy(i8* %33, i8* %26)\n %35 = bitcast i8* %1 to i64*\n call void @free(i64* %35)\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 %9, { 1, 0 }\n uselistorder i8* %4, { 1, 0 }\n uselistorder i8* %1, { 1, 2, 3, 0, 5, 4, 6 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 0, 2, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder i8* null, { 1, 2, 0, 3 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_swap_page_7732", "fun_name": "do_swap_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 %storemerge.in.reg2mem = alloca i32\n %sv_0.5.reg2mem = alloca i32\n %sv_0.4.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\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 store i64 0, i64* %sv_5, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %arg5, i64 %arg4)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i32 0, i32* %storemerge.in.reg2mem\n br i1 %5, label LBL_27, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC()\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\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_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2, i64 %arg5, i64 %arg3)\n store i32 0, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_4:\n %17 = call i64 @FUNC()\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i32 2, i32* %storemerge.in.reg2mem\n br i1 %19, label LBL_5, label LBL_27\n LBL_5:\n %20 = call i64 @FUNC(i64 %6, i64 %arg3, i64 0)\n store i32 1, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_6:\n %21 = call i64 @FUNC(i64 256)\n %22 = call i64 @FUNC()\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_10, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %2)\n %26 = call i64 @FUNC(i64 32, i64 %6, i64 %arg3)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = call i64 @FUNC(i64 %2, i64 %arg5, i64 %arg3, i64* nonnull %sv_4)\n %30 = call i64 @FUNC()\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n %spec.select = zext i1 %33 to i32\n %34 = call i64 @FUNC(i64 256)\n store i64 %29, i64* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br label LBL_24\n LBL_9:\n %35 = call i64 @FUNC(i64 0)\n store i32 4, i32* %sv_0.1.reg2mem\n store i64 %26, i64* %sv_3.0.reg2mem\n br label LBL_12\n LBL_10:\n %36 = call i64 @FUNC(i64 %22)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n store i32 0, i32* %sv_0.1.reg2mem\n store i64 %22, i64* %sv_3.0.reg2mem\n br i1 %38, label LBL_12, label LBL_11\n LBL_11:\n %39 = call i64 @FUNC(i64 256)\n store i32 2, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_12:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %40 = call i64 @FUNC(i64 %sv_3.0.reload)\n %41 = call i64 @FUNC(i64 256)\n %42 = call i64 @FUNC(i64 %2, i64 %sv_3.0.reload, i64 64, i64* nonnull %sv_5)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i32 1, i32* %sv_0.5.reg2mem\n br i1 %44, label LBL_13, label LBL_26\n LBL_13:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %45 = call i64 @FUNC(i64 %2, i64 %arg5, i64 %arg3, i64* nonnull %sv_4)\n %46 = call i64 @FUNC()\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n %50 = icmp eq i1 %49, false\n store i32 %sv_0.1.reload, i32* %sv_0.4.reg2mem\n br i1 %50, label LBL_25, label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %sv_3.0.reload)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i32 8, i32* %sv_0.4.reg2mem\n br i1 %54, label LBL_15, label LBL_25\n LBL_15:\n %sext = mul i64 %arg6, 4294967296\n %55 = ashr exact i64 %sext, 32\n %56 = call i64 @FUNC(i64 %2, i64 128)\n %57 = and i64 %1, 4294967295\n %58 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %57)\n %59 = and i64 %arg6, 16\n %60 = icmp eq i64 %59, 0\n store i64 %55, i64* %sv_2.0.reg2mem\n br i1 %60, label LBL_18, label LBL_16\n LBL_16:\n %61 = call i64 @FUNC(i64 %sv_3.0.reload)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, 0\n store i64 %55, i64* %sv_2.0.reg2mem\n br i1 %63, label LBL_18, label LBL_17\n LBL_17:\n %64 = call i64 @FUNC()\n %65 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %sv_2.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %66 = call i64 @FUNC(i64 %6, i64 %sv_3.0.reload)\n %67 = call i64 @FUNC(i64 %2, i64 %arg3, i64 %45)\n %68 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %6, i64 %arg3)\n %69 = load i64, i64* %sv_5, align 8\n %70 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %69)\n %71 = call i64 @FUNC()\n %72 = call i64 @FUNC()\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_20, label LBL_19\n LBL_19:\n %76 = call i64 @FUNC(i64 %sv_3.0.reload)\n %77 = trunc i64 %76 to i32\n %78 = icmp eq i32 %77, 0\n br i1 %78, label LBL_21, label LBL_20\n LBL_20:\n %79 = call i64 @FUNC(i64 %sv_3.0.reload)\n br label LBL_21\n LBL_21:\n %80 = call i64 @FUNC(i64 %sv_3.0.reload)\n %81 = and i64 %sv_2.0.reload, 16\n %82 = icmp eq i64 %81, 0\n br i1 %82, label LBL_23, label LBL_22\n LBL_22:\n %83 = load i64, i64* %sv_4, align 8\n %84 = call i64 @FUNC(i64 %2, i64 %6, i64 %arg3, i64 %45, i64 %arg5, i64 %83)\n %85 = trunc i64 %84 to i32\n %86 = or i32 %sv_0.1.reload, %85\n store i32 %86, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_23:\n %87 = call i64 @FUNC(i64 %6, i64 %arg3)\n store i64 %45, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_24\n LBL_24:\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 %88 = load i64, i64* %sv_4, align 8\n %89 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %88)\n store i32 %sv_0.2.reload, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_25:\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %90 = load i64, i64* %sv_5, align 8\n %91 = call i64 @FUNC(i64 %90)\n %92 = load i64, i64* %sv_4, align 8\n %93 = call i64 @FUNC(i64 %45, i64 %92)\n store i32 %sv_0.4.reload, i32* %sv_0.5.reg2mem\n br label LBL_26\n LBL_26:\n %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem\n %94 = call i64 @FUNC(i64 %sv_3.0.reload)\n %95 = call i64 @FUNC(i64 %sv_3.0.reload)\n store i32 %sv_0.5.reload, i32* %storemerge.in.reg2mem\n br label LBL_27\n LBL_27:\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 %45, { 3, 0, 1, 2 }\n uselistorder i32 %sv_0.1.reload, { 1, 2, 0 }\n uselistorder i64 %sv_3.0.reload, { 2, 3, 10, 9, 11, 7, 8, 6, 12, 5, 4, 0, 1 }\n uselistorder i64 %6, { 4, 3, 6, 5, 2, 1, 0 }\n uselistorder i64* %sv_5, { 1, 2, 0, 3 }\n uselistorder i64* %sv_4, { 2, 3, 4, 0, 1 }\n uselistorder i64 %2, { 3, 4, 5, 6, 7, 1, 2, 0, 8 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.5.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 8, 6, 5, 4, 3, 1, 2, 7 }\n uselistorder i64 (i64, i64)* @pte_unmap_unlock, { 1, 0 }\n uselistorder i64 (i64)* @unlock_page, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @delayacct_clear_flag, { 2, 1, 0 }\n uselistorder i64 ()* @pte_same, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64*)* @pte_offset_map_lock, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 3, 0, 4, 1, 5, 6, 7, 2, 8 }\n uselistorder i32 0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 0, 12, 13, 1, 14 }\n uselistorder i64 %arg6, { 1, 0 }\n uselistorder i64 %arg5, { 2, 3, 1, 0, 4 }\n uselistorder i64 %arg3, { 5, 4, 7, 6, 8, 2, 3, 1, 0 }\n uselistorder label LBL_27, { 7, 4, 3, 2, 1, 6, 0, 5 }\n uselistorder label LBL_26, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "skip_white_12583", "fun_name": "skip_white", "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 %.reg2mem7 = alloca i8*\n %.reg2mem = alloca i8\n %0 = bitcast i64* %arg1 to i8*\n %1 = load i8, i8* %0, align 1\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_1, label LBL_5\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n store i8 %1, i8* %.reg2mem\n store i8* %0, i8** %.reg2mem7\n store i64 %4, i64* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i8, i8* %.reg2mem\n %5 = icmp ne i8 %.reload, 10\n %6 = icmp eq i8 %.reload, 13\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_5\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %.reload8 = load i8*, i8** %.reg2mem7\n %8 = call i16** @__ctype_b_loc()\n %9 = load i16*, i16** %8, align 8\n %10 = ptrtoint i16* %9 to i64\n %11 = load i8, i8* %.reload8, align 1\n %12 = sext i8 %11 to i64\n %13 = mul i64 %12, 2\n %14 = add i64 %13, %10\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = and i16 %16, 8192\n %18 = icmp eq i16 %17, 0\n store i64 %storemerge2.reload, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %storemerge2.reload, 1\n %20 = inttoptr i64 %19 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 i8* %20, i8** %.reg2mem7\n store i64 %19, i64* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, 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 %storemerge2.reload, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem7, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dtls1_retrieve_buffered_fragment_6526", "fun_name": "dtls1_retrieve_buffered_fragment", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) 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 %sv_1.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %0, align 4\n store i64 %arg1, i64* %rdi.0.reg2mem\n br label LBL_1\n LBL_1:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %1 = call i64 @FUNC(i64 %rdi.0.reload)\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_2, label LBL_10\n LBL_2:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %rdi.0.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp ult i64 %8, %11\n %13 = icmp eq i1 %12, false\n store i64 %1, i64* %sv_1.0.reg2mem\n store i64 %5, i64* %sv_0.0.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %rdi.0.reload)\n %15 = call i64 @FUNC(i64 %5)\n %16 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 %1, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %17 = icmp eq i64 %sv_1.0.reload, 0\n store i64 %rdi.1.reload, i64* %rdi.0.reg2mem\n br i1 %17, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = add i64 %sv_0.0.reload, 32\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_10\n LBL_6:\n %22 = add i64 %rdi.1.reload, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %sv_0.0.reload, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %24, %27\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_10, label LBL_7\n LBL_7:\n %30 = inttoptr i64 %sv_0.0.reload to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %rdi.1.reload)\n %33 = call i64 @FUNC(i64 %arg1, i64 %sv_0.0.reload)\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_9, label LBL_8\n LBL_8:\n %37 = add i64 %arg1, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %41, 13\n %43 = load i64, i64* %30, align 8\n %44 = add i64 %sv_0.0.reload, 24\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = add i64 %sv_0.0.reload, 8\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = add i64 %42, %49\n %51 = inttoptr i64 %50 to i64*\n %52 = inttoptr i64 %46 to i64*\n %53 = trunc i64 %43 to i32\n %54 = call i64* @memcpy(i64* %51, i64* %52, i32 %53)\n %55 = call i64 @FUNC(i64 %sv_0.0.reload)\n %56 = call i64 @FUNC(i64 %sv_1.0.reload)\n store i32 1, i32* %0, align 4\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %57 = call i64 @FUNC(i64 %sv_0.0.reload)\n %58 = call i64 @FUNC(i64 %sv_1.0.reload)\n %59 = call i64 @FUNC(i64 %arg1, i64 2, i32 %34)\n %60 = add i64 %arg1, 16\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n store i32 0, i32* %0, align 4\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 %sv_0.0.reload, { 7, 4, 5, 6, 1, 0, 2, 3 }\n uselistorder i64 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i64 %rdi.1.reload, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1, 3, 4 }\n uselistorder i64 %rdi.0.reload, { 2, 0, 3, 1 }\n uselistorder i32* %0, { 1, 0, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 }\n uselistorder i64 (i64)* @pitem_free, { 0, 2, 1 }\n uselistorder i64 (i64)* @dtls1_hm_fragment_free, { 0, 2, 1 }\n uselistorder i64 (i64)* @pqueue_pop, { 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 1, 4, 0 }\n uselistorder label LBL_10, { 3, 4, 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_migrate_set_cache_size_2732", "fun_name": "qmp_migrate_set_cache_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* %arg2 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = icmp slt i64 %2, %arg1\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = icmp slt 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 %0, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %9 = inttoptr i64 %1 to i64*\n store i64 %5, i64* %9, align 8\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, 2, 1, 3 }\n uselistorder i64 (i64, i64, i8*, i8*)* @error_set, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gnttab_copy_release_buf_12107", "fun_name": "gnttab_copy_release_buf", "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_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 %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 %.pre = add i64 %0, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = load i64, i64* %.pre1, align 8\n %8 = call i64 @FUNC(i64 %7)\n store i32 0, i32* %4, align 4\n br label LBL_4\n LBL_4:\n %9 = load i64, i64* %.pre1, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %.pre1, align 8\n br label LBL_6\n LBL_6:\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = add i64 %0, 28\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %0, 32\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %0, 36\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %21 to i64\n %26 = zext i32 %24 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %25, i32 %18)\n store i32 0, i32* %13, 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 %0, { 0, 5, 4, 3, 6, 1, 7, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_cmd_10402", "fun_name": "get_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 %sv_0.0.reg2mem = alloca i32\n %.pre-phi3.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 124\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_3, label LBL_1\n LBL_1:\n %7 = add i64 %2, 32\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %2, 36\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %12, 256\n %14 = or i32 %13, %9\n %15 = add i64 %2, 40\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = mul i32 %17, 65536\n %19 = or i32 %14, %18\n %20 = trunc i64 %arg3 to i32\n %21 = urem i32 %20, 256\n %22 = icmp ugt i32 %19, %21\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_8, label LBL_1.LBL_4_crit_edge\n LBL_2:\n %.pre = add i64 %2, 56\n %.pre2 = inttoptr i64 %.pre to i32*\n store i32* %.pre2, i32** %.pre-phi3.reg2mem\n store i32 %19, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %23 = ptrtoint i64* %arg2 to i64\n %24 = add i64 %2, 56\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %2, 64\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i64*\n %31 = call i64* @memcpy(i64* %arg2, i64* %30, i32 %26)\n %32 = add i64 %23, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = udiv i8 %34, 32\n %36 = bitcast i64* %arg2 to i8*\n store i8 %35, i8* %36, align 1\n store i32* %25, i32** %.pre-phi3.reg2mem\n store i32 %26, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %37 = urem i64 %1, 256\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem\n %38 = zext i32 %sv_0.0.reload to i64\n %39 = call i64 @FUNC(i64 %38, i64 %37)\n store i32 0, i32* %.pre-phi3.reload, align 4\n %40 = add i64 %2, 72\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = add i64 %2, 76\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n %44 = add i64 %2, 96\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_6, label LBL_5\n LBL_5:\n %48 = call i64 @FUNC(i64 %46)\n %49 = add i64 %2, 120\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n br label LBL_6\n LBL_6:\n %51 = add i64 %2, 112\n %52 = call i64 @FUNC(i64 %51, i64 0, i64 %37, i64 0)\n %53 = add i64 %2, 104\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 store i64 %38, i64* %rax.0.reg2mem\n br i1 %56, label LBL_8, label LBL_7\n LBL_7:\n %57 = add i64 %2, 44\n %58 = inttoptr i64 %57 to i32*\n store i32 0, i32* %58, align 4\n %59 = add i64 %2, 48\n %60 = inttoptr i64 %59 to i32*\n store i32 1, i32* %60, align 4\n %61 = add i64 %2, 52\n %62 = inttoptr i64 %61 to i32*\n store i32 0, i32* %62, align 4\n %63 = call i64 @FUNC(i64 %2)\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 %2, { 1, 2, 3, 4, 6, 5, 8, 7, 9, 10, 12, 11, 0, 15, 13, 14, 16 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_task_switch_9854", "fun_name": "handle_task_switch", "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)\n %2 = call i64 @FUNC(i64 11)\n %3 = trunc i64 %2 to i32\n %4 = udiv i32 %3, 1073741824\n %5 = urem i64 %2, 65536\n %6 = call i64 @FUNC(i64 %0, i64 %5, i32 %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* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = call i64 @FUNC(i64 10)\n %11 = and i64 %10, -56\n %12 = call i64 @FUNC(i64 10, i64 %11)\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 (i64)* @vmcs_readl, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "am_check_url_11830", "fun_name": "am_check_url", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.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* %storemerge12.reg2mem\n store i64 200, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_4\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* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %7 = add i64 %storemerge12.reload, 1\n %8 = inttoptr i64 %7 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 %9, i8* %.reg2mem\n store i64 %7, i64* %storemerge12.reg2mem\n store i64 200, 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 i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder label LBL_4, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "smk_curacc_on_task_4218", "fun_name": "smk_curacc_on_task", "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 %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, i64 %arg3, i64 0)\n %4 = call i64 @FUNC(i64* nonnull %2, i64 %0)\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC(i64 %1, i64 %5, i64* nonnull %2)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64 %0, i64 %5, i64 %8)\n %10 = and i64 %9, 4294967295\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "skip_white_6530", "fun_name": "skip_white", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %.reg2mem7 = alloca i8*\n %.reg2mem = alloca i8\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_6, label LBL_1\n LBL_1:\n %1 = bitcast i64* %arg1 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 i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_6\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n store i8 %2, i8* %.reg2mem\n store i8* %1, i8** %.reg2mem7\n store i64 %5, i64* %sv_0.02.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i8, i8* %.reg2mem\n %6 = icmp ne i8 %.reload, 10\n %7 = icmp eq i8 %.reload, 13\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_4, label LBL_6\n LBL_4:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %.reload8 = load i8*, i8** %.reg2mem7\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 i8, i8* %.reload8, align 1\n %13 = sext i8 %12 to i64\n %14 = mul i64 %13, 2\n %15 = add i64 %14, %11\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 store i64 %sv_0.02.reload, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = add i64 %sv_0.02.reload, 1\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 i8 %22, i8* %.reg2mem\n store i8* %21, i8** %.reg2mem7\n store i64 %20, i64* %sv_0.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, 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 %sv_0.02.reload, { 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem7, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64* %arg1, { 2, 0, 1 }\n uselistorder label LBL_6, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rs_get_tbl_info_from_mcs_4970", "fun_name": "rs_get_tbl_info_from_mcs", "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 %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64* @memset(i64* %arg3, i32 0, i32 20)\n %5 = call i64 @FUNC(i64 %2)\n %6 = trunc i64 %5 to i32\n %7 = bitcast i64* %arg4 to i32*\n store i32 %6, i32* %7, align 4\n %8 = trunc i64 %1 to i32\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 store i32 -1, i32* %7, align 4\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_2:\n %11 = ptrtoint i64* %arg3 to i64\n %12 = trunc i64 %3 to i8\n %13 = trunc i64 %arg1 to i32\n %14 = urem i32 %13, 8\n %15 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %11, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %14, i32* %19, align 4\n %20 = add i64 %11, 12\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %11, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 10, i32* %23, align 4\n %24 = and i64 %arg1, 8\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_3\n LBL_3:\n %27 = icmp eq i8 %12, 1\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_19, label LBL_4\n LBL_4:\n %29 = icmp eq i32 %arg2, 1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n store i32 1, i32* %21, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_6:\n store i32 2, i32* %21, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_7:\n %31 = and i64 %arg1, 16\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n store i32 1, i32* %15, align 4\n br label LBL_9\n LBL_9:\n %33 = and i64 %arg1, 32\n %34 = icmp eq i64 %33, 0\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n store i32 1, i32* %17, align 4\n br label LBL_11\n LBL_11:\n %35 = call i64 @FUNC(i64 %2)\n %36 = trunc i64 %35 to i8\n %37 = icmp ult i8 %36, 13\n br i1 %37, label LBL_12, label LBL_14\n LBL_12:\n %38 = icmp eq i8 %12, 1\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %39, label LBL_19, label LBL_13\n LBL_13:\n store i32 3, i32* %21, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_14:\n %40 = icmp ult i8 %36, 29\n br i1 %40, label LBL_15, label LBL_17\n LBL_15:\n %41 = icmp eq i8 %12, 2\n %42 = icmp eq i1 %41, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %42, label LBL_19, label LBL_16\n LBL_16:\n store i32 4, i32* %21, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_17:\n %43 = icmp eq i8 %12, 3\n %44 = icmp eq i1 %43, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %44, label LBL_19, label LBL_18\n LBL_18:\n store i32 20, i32* %23, align 4\n store i32 5, i32* %21, align 4\n store i64 0, 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 i32* %21, { 2, 3, 4, 0, 1, 5 }\n uselistorder i8 %12, { 2, 1, 3, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10 }\n uselistorder i64 16, { 3, 4, 1, 0, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 20, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder i64 %arg1, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_19, { 8, 7, 6, 5, 4, 3, 2, 1, 0, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hns_roce_alloc_ucontext_5250", "fun_name": "hns_roce_alloc_ucontext", "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 store i32 0, i32* %sv_1, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n store i32 %3, i32* %sv_1, align 4\n %4 = call i64 @FUNC(i64 24, i64 0)\n %sext = mul i64 %4, 4294967296\n %5 = icmp eq i64 %sext, 0\n %6 = icmp eq i1 %5, false\n store i64 -12, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = ashr exact i64 %sext, 32\n %8 = call i64 @FUNC(i64 %1, 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_6, label LBL_2\n LBL_2:\n %12 = add i64 %1, 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 br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add nsw i64 %7, 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = add nsw i64 %7, 16\n %20 = call i64 @FUNC(i64 %19)\n br label LBL_4\n LBL_4:\n %21 = ptrtoint i64* %arg2 to i64\n %22 = call i64 @FUNC(i64 %21, i32* nonnull %sv_1, 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 %7, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_7\n LBL_5:\n %26 = call i64 @FUNC(i64 %1, i64 %7)\n store i64 %22, 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 %7)\n %sext1 = mul i64 %sv_0.0.reload, 4294967296\n %28 = ashr exact i64 %sext1, 32\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 %7, { 4, 3, 0, 2, 1, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "object_create_2818", "fun_name": "object_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* %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 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %1, 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 %2, 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 ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = call i64 @FUNC(i64 %1)\n %11 = call i64 @FUNC(i64 %0, i64 4198979, i64 %10, i64 1)\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 = call i64 @FUNC(i64 %10)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n %18 = call i64 @FUNC(i64 %17, i64 %2, i64 %10, i64 0)\n %19 = call i64 @FUNC(i64 %10)\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, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @object_unref, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_nested_7978", "fun_name": "free_nested", "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 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_10, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %8, align 1\n %9 = add i64 %7, 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 %12)\n %14 = call i64 @FUNC(i64 %7)\n %15 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1\n %16 = icmp eq i8 %15, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = add i64 %7, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n br label LBL_3\n LBL_3:\n %21 = add i64 %7, 16\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 = call i64 @FUNC(i64 %23)\n store i64 0, i64* %22, align 8\n br label LBL_5\n LBL_5:\n %26 = add i64 %7, 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_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %28)\n store i64 0, i64* %27, align 8\n br label LBL_7\n LBL_7:\n %31 = add i64 %7, 32\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_9, label LBL_8\n LBL_8:\n %35 = call i64 @FUNC(i64 %33)\n %36 = load i64, i64* %32, align 8\n %37 = call i64 @FUNC(i64 %36)\n store i64 0, i64* %32, align 8\n %38 = add i64 %7, 40\n %39 = inttoptr i64 %38 to i64*\n store i64 0, i64* %39, align 8\n br label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64 %7)\n store i64 %40, 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 %7, { 2, 1, 3, 4, 5, 0, 7, 6 }\n uselistorder i64 (i64)* @nested_release_page, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_store_14710", "fun_name": "gen_store", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) 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)\n %3 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %3, align 4\n %4 = icmp sgt i32 %1, 4\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = trunc i64 %2 to i32\n %6 = icmp sgt i32 %1, 2\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n switch i32 %1, label LBL_6 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %7 = zext i32 %arg3 to i64\n %8 = zext i32 %arg4 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %7, i32 %5)\n br label LBL_7\n LBL_4:\n %10 = zext i32 %arg3 to i64\n %11 = zext i32 %arg4 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %10, i32 %5)\n br label LBL_7\n LBL_5:\n %13 = zext i32 %arg3 to i64\n %14 = zext i32 %arg4 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %13, i32 %5)\n br label LBL_7\n LBL_6:\n %16 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %17 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %18 = zext i32 %17 to i64\n store i32 %17, i32* inttoptr (i64 4210732 to i32*), align 4\n ret i64 %18\n\n uselistorder i32 %5, { 2, 0, 1 }\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i32 %arg4, { 2, 0, 1 }\n uselistorder i32 %arg3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qbus_initfn_3374", "fun_name": "qbus_initfn", "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 %arg1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 0, i64 0)\n %2 = load i64, i64* @gv_2, align 8\n %3 = load i64, i64* @gv_3, align 8\n %4 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_aio_ring_file_8643", "fun_name": "put_aio_ring_file", "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, i64 0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %0, 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 = call i64 @FUNC(i64 %0)\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\n uselistorder i64 %0, { 1, 5, 4, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "store_bl_curve_3872", "fun_name": "store_bl_curve", "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 %.reg2mem4 = alloca i64\n %storemerge23.reg2mem = alloca i8*\n %.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 i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 19, i64* %rax.0.reg2mem\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 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 19, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_9\n LBL_2:\n %7 = icmp eq i64 %arg3, 192\n store i64 22, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_9\n LBL_3:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = ptrtoint i64* %sv_2 to i64\n %10 = ptrtoint i64* %sv_1 to i64\n %11 = ptrtoint i64* %sv_0 to i64\n %12 = add i64 %10, -8\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %10, -16\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %10, -24\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %10, -32\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %.reg2mem\n store i8* null, i8** %storemerge23.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge23.reload = load i8*, i8** %storemerge23.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %20 = mul i64 %.reload, 8\n %21 = and i64 %20, 4294967288\n %22 = or i64 %21, 7\n %23 = add i64 %22, %11\n %24 = or i64 %21, 6\n %25 = add i64 %24, %11\n %26 = or i64 %21, 5\n %27 = add i64 %26, %11\n %28 = or i64 %21, 4\n %29 = add i64 %28, %11\n %30 = or i64 %21, 3\n %31 = add i64 %30, %11\n %32 = or i64 %21, 2\n %33 = add i64 %32, %11\n %34 = or i64 %21, 1\n %35 = add i64 %34, %11\n %36 = add i64 %21, %11\n %37 = mul nuw nsw i64 %.reload, 24\n %38 = and i64 %37, 4294967288\n %39 = add i64 %38, %8\n store i64 %23, i64* %13, align 8\n store i64 %25, i64* %15, align 8\n store i64 %27, i64* %17, align 8\n store i64 %29, i64* %19, align 8\n %40 = inttoptr i64 %39 to i8*\n %41 = inttoptr i64 %36 to i8*\n %42 = inttoptr i64 %35 to i8*\n %43 = inttoptr i64 %33 to i8*\n %44 = inttoptr i64 %31 to i8*\n %45 = call i32 (i8*, i8*, ...) @sscanf(i8* %40, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i8* %41, i8* nonnull %42, i8* nonnull %43, i8* nonnull %44, i8* %storemerge23.reload)\n %46 = icmp eq i32 %45, 8\n store i64 22, i64* %rax.0.reg2mem\n br i1 %46, label LBL_5, label LBL_9\n LBL_5:\n %47 = add nuw nsw i64 %.reload, 1\n %48 = and i64 %47, 4294967295\n %49 = inttoptr i64 %48 to i8*\n %50 = trunc i64 %47 to i32\n %51 = icmp ult i32 %50, 8\n store i64 %48, i64* %.reg2mem\n store i8* %49, i8** %storemerge23.reg2mem\n br i1 %51, label LBL_4, label LBL_6\n LBL_6:\n %52 = add i64 %1, 8\n %53 = call i64 @FUNC(i64 %52)\n %54 = add i64 %9, -96\n %55 = add i64 %1, 48\n store i64 0, i64* %.reg2mem4\n br label LBL_7\n LBL_7:\n %.reload5 = load i64, i64* %.reg2mem4\n %56 = add i64 %54, %.reload5\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = add i64 %55, %.reload5\n %60 = inttoptr i64 %59 to i8*\n store i8 %58, i8* %60, align 1\n %61 = add nuw nsw i64 %.reload5, 1\n %62 = and i64 %61, 4294967295\n %63 = trunc i64 %61 to i32\n %64 = icmp ult i32 %63, 64\n store i64 %62, i64* %.reg2mem4\n br i1 %64, label LBL_7, label LBL_8\n LBL_8:\n %65 = call i64 @FUNC(i64 %52)\n store i64 192, 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* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem4, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 19, { 1, 0 }\n uselistorder label LBL_9, { 4, 0, 1, 3, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_is_pdf_13246", "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 %0 = call i64 @FUNC(i64 %arg1)\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 i8*\n %3 = call i8* @strstr(i8* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i8* %3, null\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, 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 %5 = inttoptr i64 %0 to i64*\n call void @free(i64* %5)\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": "get_bool_16455", "fun_name": "get_bool", "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 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = zext i1 %4 to i8\n %6 = bitcast i64* %arg2 to i8*\n store i8 %5, i8* %6, align 1\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_build_single_partitionline_info_7630", "fun_name": "_build_single_partitionline_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i8*, i8** @gv_0, align 8\n %2 = ptrtoint i8* %1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 4198829, 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()\n %7 = call i64 @FUNC(i64 %2)\n %8 = inttoptr i64 %6 to i64*\n store i64 %7, i64* %8, align 8\n store i64 %6, i64* %sv_0.0.reg2mem\n store i64 %2, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i64 %2)\n store i64 %3, i64* %sv_0.0.reg2mem\n store i64 ptrtoint ([51 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %10 = add i64 %0, 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 = load i8*, i8** @gv_2, align 8\n %15 = icmp eq i8* %14, null\n br i1 %15, label LBL_7, label LBL_5\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %16 = inttoptr i64 %rdi.0.reload to i8*\n %17 = call i32 @strcmp(i8* nonnull %14, i8* %16)\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = ptrtoint i8* %14 to i64\n %20 = load i8*, i8** @gv_2, align 8\n %21 = ptrtoint i8* %20 to i64\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %19)\n br label LBL_7\n LBL_7:\n %23 = load i8*, i8** @gv_2, align 8\n %24 = ptrtoint i8* %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %24)\n %27 = inttoptr i64 %26 to i8*\n store i8* %27, i8** @gv_2, align 8\n store i64 %sv_0.0.reload, i64* @gv_4, align 8\n br label LBL_8\n LBL_8:\n %28 = add i64 %0, 12\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n %33 = zext i1 %32 to i32\n %34 = add i64 %sv_0.0.reload, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = add i64 %0, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %sv_0.0.reload, 12\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %0, 20\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %sv_0.0.reload, 16\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %0, 24\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %sv_0.0.reload, 20\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n %51 = add i64 %0, 28\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %sv_0.0.reload, 24\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = add i64 %0, 32\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i64 %sv_0.0.reload, 28\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = add i64 %0, 36\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 %66 = zext i1 %65 to i32\n %67 = add i64 %sv_0.0.reload, 32\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = add i64 %0, 40\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 = zext i1 %73 to i32\n %75 = add i64 %sv_0.0.reload, 36\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n %77 = add i64 %0, 48\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_10, label LBL_9\n LBL_9:\n %81 = add i64 %sv_0.0.reload, 40\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* %78, align 8\n %86 = call i64 @FUNC(i64 %85)\n store i64 %86, i64* %82, align 8\n br label LBL_10\n LBL_10:\n %87 = add i64 %0, 56\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = icmp eq i64 %89, 0\n br i1 %90, label LBL_16, label LBL_11\n LBL_11:\n %91 = add i64 %sv_0.0.reload, 48\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = icmp eq i64 %93, 0\n br i1 %94, label LBL_15, label LBL_12\n LBL_12:\n %95 = call i64 @FUNC(i64 %93)\n %96 = load i64, i64* %88, align 8\n %97 = call i64 @FUNC(i64 %95, i64 %96)\n %98 = call i64 @FUNC(i64 %95)\n %99 = trunc i64 %98 to i32\n %100 = call i64 @FUNC(i64 %95)\n %101 = call i64 @FUNC(i64 %95)\n %102 = trunc i64 %101 to i32\n %103 = icmp eq i32 %99, %102\n br i1 %103, label LBL_14, label LBL_13\n LBL_13:\n %104 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %95)\n unreachable\n LBL_14:\n %105 = load i64, i64* %92, align 8\n %106 = inttoptr i64 %105 to i8*\n %107 = call i32 @strlen(i8* %106)\n %108 = load i64, i64* %88, align 8\n %109 = inttoptr i64 %108 to i8*\n %110 = call i32 @strlen(i8* %109)\n %111 = add i32 %107, 2\n %112 = add i32 %111, %110\n %113 = load i64, i64* %92, align 8\n %114 = call i64 @FUNC(i64 %113)\n %115 = sext i32 %112 to i64\n %116 = call i64 @FUNC(i64 %115)\n store i64 %116, i64* %92, align 8\n %117 = zext i32 %112 to i64\n %118 = call i64 @FUNC(i64 %95, i64 %117, i64 %116)\n %119 = call i64 @FUNC(i64 %95)\n br label LBL_16\n LBL_15:\n %120 = call i64 @FUNC(i64 %89)\n store i64 %120, i64* %92, align 8\n br label LBL_16\n LBL_16:\n ret i64 0\n\n uselistorder i64 %95, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder i64* %92, { 3, 0, 1, 2, 4 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 8, 9, 7, 6, 5, 4, 3, 2, 1, 0, 10 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @hostlist_count, { 1, 0 }\n uselistorder i64 (i64)* @xfree, { 2, 1, 0 }\n uselistorder i8** @gv_2, { 3, 2, 1, 0 }\n uselistorder [51 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64)* @xstrdup, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "leak_memalign_11882", "fun_name": "leak_memalign", "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 ult i64 %arg1, 17\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_7\n LBL_2:\n %2 = add i64 %arg1, -1\n %3 = and i64 %2, %arg1\n %4 = icmp eq i64 %3, 0\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = trunc i64 %arg1 to i32\n %6 = call i32 @llvm.ctlz.i32(i32 %5, i1 true), !range !11\n %7 = icmp eq i32 %5, 0\n %.op = xor i32 %6, 31\n %8 = select i1 %7, i32 0, i32 %.op\n %9 = icmp eq i32 %8, 0\n %10 = zext i32 %8 to i64\n %11 = shl i64 1, %10\n %storemerge = select i1 %9, i64 1, i64 %11\n store i64 %storemerge, 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 = add i64 %arg2, -16\n %13 = add i64 %12, %sv_0.0.reload\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_7, label LBL_5\n LBL_5:\n %16 = urem i64 %14, %sv_0.0.reload\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_7\n LBL_6:\n %19 = sub i64 0, %14\n %20 = urem i64 %19, %sv_0.0.reload\n %21 = add i64 %20, %14\n %22 = add i64 %21, -8\n %23 = inttoptr i64 %22 to i64*\n store i64 3735928559, i64* %23, align 8\n %24 = add i64 %21, -16\n %25 = inttoptr i64 %24 to i64*\n store i64 %14, i64* %25, align 8\n store i64 %21, 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, { 3, 1, 4, 0, 2, 5 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64 -16, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 (i64)* @leak_malloc, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sudoaddable_17552", "fun_name": "sudoaddable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mpl2_probe_1120", "fun_name": "mpl2_probe", "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 %storemerge2.reg2mem = alloca i32\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 = 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 store i32 1, 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 %6 = inttoptr i64 %sv_0.01.reload to i8*\n %7 = call i32 (i8*, i8*, ...) @sscanf(i8* %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %8 = icmp eq i32 %7, 3\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i32 (i8*, i8*, ...) @sscanf(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_3)\n %10 = icmp eq i32 %9, 2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = call i64 @FUNC(i64 %sv_0.01.reload)\n %sext = mul i64 %11, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = add i64 %12, %sv_0.01.reload\n %14 = icmp ult i64 %13, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = icmp ult i32 %storemerge2.reload, 2\n store i32 2, i32* %storemerge2.reg2mem\n store i64 %13, i64* %sv_0.01.reg2mem\n store i64 100, i64* %rax.0.reg2mem\n br i1 %15, 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 %sv_0.01.reload, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath10k_pci_probe_7664", "fun_name": "ath10k_pci_probe", "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.5.reg2mem = alloca i64\n %sv_0.4.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 %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i32\n store i64 0, i64* %storemerge.reg2mem\n switch i32 %3, label LBL_1 [\n i32 60, label LBL_3\n i32 61, label LBL_2\n ]\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 ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_2:\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = call i64 @FUNC(i64 40, i64 %7, i64 0, i64 %storemerge.reload, i64* nonnull @gv_3)\n %sext = mul i64 %8, 4294967296\n %9 = icmp eq i64 %sext, 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(i64 %7, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 %storemerge.reload, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_5:\n %12 = ashr exact i64 %sext, 32\n %13 = call i64 @FUNC(i64 %12, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge.reload, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n %14 = call i64 @FUNC(i64 %12)\n %15 = inttoptr i64 %14 to i64*\n store i64 %6, i64* %15, align 8\n %16 = add i64 %14, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %7, i64* %17, align 8\n %18 = add i64 %14, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %12, i64* %19, align 8\n %20 = add i64 %14, 28\n %21 = call i64 @FUNC(i64 %20)\n %22 = load i64, i64* @gv_6, align 8\n %23 = add i64 %14, 32\n %24 = call i64 @FUNC(i64 %23, i64 %22, i64 %12)\n %25 = call i64 @FUNC(i64 %12)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i32 %26, i64 %23, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n store i64 %25, i64* %sv_0.5.reg2mem\n br label LBL_28\n LBL_7:\n %29 = call i64 @FUNC(i64 %12)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0), i32 %30, i64 %23, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n store i64 %29, i64* %sv_0.4.reg2mem\n br label LBL_27\n LBL_9:\n %33 = call i64 @FUNC(i64 %12)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_11, label LBL_10\n LBL_10:\n %36 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_9, i64 0, i64 0), i32 %34, i64 %23, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n store i64 %33, i64* %sv_0.3.reg2mem\n br label LBL_26\n LBL_11:\n %37 = call i64 @FUNC(i64 %12)\n %38 = call i64 @FUNC(i64 %12)\n %39 = call i64 @FUNC(i64 %12)\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 %12, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_10, i64 0, i64 0), i32 %40, i64 %23, i64 ptrtoint (i64* @gv_3 to i64), i64 %1)\n store i64 %39, i64* %sv_0.2.reg2mem\n br label LBL_25\n LBL_13:\n %43 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4\n %44 = load i32, i32* @gv_11, align 4\n %45 = add i64 %14, 24\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = call i64 @FUNC(i64 %12)\n %49 = zext i32 %43 to i64\n %50 = zext i32 %44 to i64\n %51 = zext i32 %47 to i64\n %52 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_12, i64 0, i64 0), i64 %48, i64 %51, i64 %50, i64 %49)\n %53 = call i64 @FUNC(i64 %12)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_15, label LBL_14\n LBL_14:\n %56 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_13, i64 0, i64 0), i32 %54, i64 %51, i64 %50, i64 %49)\n store i64 %53, i64* %sv_0.1.reg2mem\n br label LBL_24\n LBL_15:\n %57 = call i64 @FUNC(i64 %12)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_17, label LBL_16\n LBL_16:\n %60 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_14, i64 0, i64 0), i32 %58, i64 %51, i64 %50, i64 %49)\n store i64 %57, i64* %sv_0.0.reg2mem\n br label LBL_23\n LBL_17:\n %61 = call i64 @FUNC(i64 %12, i64 0)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, -1\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_19, label LBL_18\n LBL_18:\n %65 = trunc i64 %48 to i32\n %66 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_15, i64 0, i64 0), i32 %65, i64 %51, i64 %50, i64 %49)\n store i64 %57, i64* %sv_0.0.reg2mem\n br label LBL_23\n LBL_19:\n %67 = bitcast i64* %rdi to i32*\n %68 = load i32, i32* %67, align 8\n %69 = and i64 %61, 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 br i1 %74, label LBL_21, label LBL_20\n LBL_20:\n %75 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_16, i64 0, i64 0), i32 %68, i64 %69, i64 %50, i64 %49)\n store i64 %57, i64* %sv_0.3.reg2mem\n br label LBL_26\n LBL_21:\n %76 = call i64 @FUNC(i64 %12, i64 %69)\n %77 = trunc i64 %76 to i32\n %78 = icmp eq i32 %77, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %78, label LBL_29, label LBL_22\n LBL_22:\n %79 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_17, i64 0, i64 0), i32 %77, i64 %51, i64 %50, i64 %49)\n store i64 %76, i64* %sv_0.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %80 = call i64 @FUNC(i64 %12)\n %81 = call i64 @FUNC(i64 %12)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_24\n LBL_24:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %82 = call i64 @FUNC(i64 %12)\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_25\n LBL_25:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %83 = call i64 @FUNC(i64 %12)\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br label LBL_26\n LBL_26:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %84 = call i64 @FUNC(i64 %12)\n store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem\n br label LBL_27\n LBL_27:\n %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem\n %85 = call i64 @FUNC(i64 %12)\n store i64 %sv_0.4.reload, i64* %sv_0.5.reg2mem\n br label LBL_28\n LBL_28:\n %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem\n %86 = call i64 @FUNC(i64 %12)\n %87 = and i64 %sv_0.5.reload, 4294967295\n store i64 %87, 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 %69, { 1, 0, 2 }\n uselistorder i64 %57, { 0, 2, 1, 3 }\n uselistorder i64 %51, { 3, 2, 1, 0, 4 }\n uselistorder i64 %50, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %49, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %23, { 3, 2, 1, 0, 4 }\n uselistorder i64 %12, { 8, 9, 10, 11, 12, 13, 14, 15, 16, 7, 6, 17, 5, 18, 4, 19, 20, 21, 3, 22, 23, 24, 2, 25, 1, 26, 0, 27, 28, 29, 30, 31 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %storemerge.reload, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.3.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @ath10k_err, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_3 to i64), { 4, 3, 2, 1, 5, 0 }\n uselistorder i64* @gv_3, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_29, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lldp_private_8023_print_11589", "fun_name": "lldp_private_8023_print", "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 = icmp ult i32 %arg3, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_11, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = add i64 %1, 3\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = bitcast i32* %arg1 to i8*\n %6 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i32 ptrtoint ([8 x i8]* @gv_1 to i32))\n %7 = icmp eq i8 %4, 4\n br i1 %7, label LBL_10, label LBL_2\n LBL_2:\n %8 = icmp ugt i8 %4, 4\n store i64 1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_11, label LBL_3\n LBL_3:\n store i64 1, i64* %rax.0.reg2mem\n switch i8 %4, label LBL_11 [\n i8 3, label LBL_8\n i8 1, label LBL_4\n i8 2, label LBL_6\n ]\n LBL_4:\n %9 = icmp ult i32 %arg3, 9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_11, label LBL_5\n LBL_5:\n %10 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i32 ptrtoint ([5 x i8]* @gv_3 to i32))\n %11 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0), i32 ptrtoint ([8 x i8]* @gv_1 to i32))\n %12 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i32 ptrtoint ([8 x i8]* @gv_1 to i32))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %13 = icmp ult i32 %arg3, 7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_11, label LBL_7\n LBL_7:\n %14 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %15 = icmp ult i32 %arg3, 9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_11, label LBL_9\n LBL_9:\n %16 = call i32 (i8*, ...) @printf(i8* %5, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_7, i64 0, i64 0), i32 ptrtoint ([5 x i8]* @gv_3 to i32))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %17 = call i32 (i8*, ...) @printf(i8* %5, i32 ptrtoint (i32* @gv_8 to i32))\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* %5, { 5, 4, 0, 3, 2, 1, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 7, 3, 8, 4, 9, 1, 2, 10 }\n uselistorder [5 x i8]* @gv_3, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 5, 0, 4, 6, 3, 2, 1 }\n uselistorder i32 %arg3, { 2, 0, 1, 3 }\n uselistorder label LBL_11, { 4, 3, 6, 2, 7, 1, 8, 0, 5, 9 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tg3_load_tso_firmware_9293", "fun_name": "tg3_load_tso_firmware", "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 i32\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)\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_10, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 2)\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* %rax.0.reg2mem\n br i1 %10, label LBL_10, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %2, i64 3)\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_3, label LBL_10\n LBL_3:\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, 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 store i32 %22, i32* %sv_0, align 4\n %23 = load i64, i64* %15, align 8\n %24 = call i64 @FUNC(i64 %2)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 5705\n %27 = icmp eq i1 %26, false\n %. = select i1 %27, i64 20480, i64 %23\n %.1 = select i1 %27, i64 8192, i64 4096\n %.2 = select i1 %27, i64 16384, i64 12288\n %28 = call i64 @FUNC(i64 %2, i64 %.1, i64 %.2, i64 %., i32* nonnull %sv_0)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = and i64 %28, 4294967295\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %32 = add nuw nsw i64 %.1, 24576\n %33 = call i64 @FUNC(i64 %32, i64 4294967295)\n %34 = load i32, i32* %sv_0, align 4\n %35 = add nuw nsw i64 %.1, 28672\n %36 = zext i32 %34 to i64\n %37 = call i64 @FUNC(i64 %35, i64 %36)\n %38 = or i64 %.1, 32768\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %39 = call i64 @FUNC(i64 %35)\n %40 = load i32, i32* %sv_0, align 4\n %41 = trunc i64 %39 to i32\n %42 = icmp eq i32 %40, %41\n %43 = call i64 @FUNC(i64 %32, i64 4294967295)\n br i1 %42, label LBL_9, label LBL_7\n LBL_7:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %44 = call i64 @FUNC(i64 %38, i64 36864)\n %45 = load i32, i32* %sv_0, align 4\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %35, i64 %46)\n %48 = call i64 @FUNC(i64 1000)\n %49 = add nuw nsw i32 %storemerge3.reload, 1\n %50 = icmp ult i32 %49, 5\n store i32 %49, i32* %storemerge3.reg2mem\n br i1 %50, label LBL_6, label LBL_8\n LBL_8:\n %51 = load i32, i32* %sv_0, align 4\n %52 = call i64 @FUNC(i64 %35)\n %53 = add i64 %2, 16\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = zext i32 %51 to i64\n %57 = and i64 %52, 4294967295\n %58 = call i64 @FUNC(i64 %55, 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 %57, i64 %56, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %59 = call i64 @FUNC(i64 %38, 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 i64 %.1, { 3, 1, 2, 0 }\n uselistorder i32* %sv_0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @tr32, { 1, 0 }\n uselistorder i64 (i64, i64)* @tw32_f, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @tw32, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @tg3_flag, { 2, 1, 0 }\n uselistorder label LBL_10, { 3, 4, 5, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp8_decode_flush_impl_9207", "fun_name": "vp8_decode_flush_impl", "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 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, %0\n %2 = call i64 @FUNC(i64 %0, i64 %1)\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 %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 = call i64* @memset(i64* %6, i32 0, i32 8)\n %8 = ptrtoint i64* %7 to i64\n %9 = trunc i64 %arg2 to i32\n %10 = icmp eq i32 %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)\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 %0, { 1, 2, 3, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "generate_2_noise_channels_1184", "fun_name": "generate_2_noise_channels", "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 %sv_0.05.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i64 %arg2, 16\n %2 = and i64 %1, 68719476720\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %3, 4\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 = icmp eq i32 %11, 0\n store i32 %5, i32* %sv_0.0.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_1\n LBL_1:\n %13 = add i64 %3, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = add i32 %8, 1\n %18 = zext i32 %17 to i64\n %19 = add i32 %8, 2\n %20 = zext i32 %19 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %5, i32* %sv_0.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = mul i32 %sv_0.05.reload, 512\n %22 = ashr i32 %21, 16\n %23 = udiv i32 %sv_0.05.reload, 32768\n %24 = zext i32 %23 to i64\n %sext = mul i64 %24, 72057594037927936\n %25 = ashr exact i64 %sext, 56\n %26 = load i32, i32* %14, align 4\n %27 = urem i32 %26, 32\n %28 = icmp eq i32 %27, 0\n %29 = trunc i64 %25 to i32\n %30 = shl i32 %29, %27\n %31 = zext i32 %30 to i64\n %rdx.0 = select i1 %28, i64 %25, i64 %31\n %32 = load i64, i64* %16, align 8\n %33 = mul i64 %indvars.iv.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 = add i64 %36, %18\n %38 = trunc i64 %rdx.0 to i8\n %39 = inttoptr i64 %37 to i8*\n store i8 %38, i8* %39, align 1\n %40 = zext i32 %22 to i64\n %sext3 = mul i64 %40, 72057594037927936\n %41 = ashr exact i64 %sext3, 56\n %42 = load i32, i32* %14, align 4\n %43 = urem i32 %42, 32\n %44 = icmp eq i32 %43, 0\n %45 = trunc i64 %41 to i32\n %46 = shl i32 %45, %43\n %47 = zext i32 %46 to i64\n %rdx.1 = select i1 %44, i64 %41, i64 %47\n %48 = load i64, i64* %16, align 8\n %49 = add i64 %48, %33\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %51, %20\n %53 = trunc i64 %rdx.1 to i8\n %54 = inttoptr i64 %52 to i8*\n store i8 %53, i8* %54, align 1\n %55 = mul i32 %sv_0.05.reload, 65536\n %56 = urem i32 %22, 65536\n %57 = or i32 %56, %55\n %58 = mul i32 %22, 32\n %59 = and i32 %58, 2097120\n %60 = xor i32 %59, %57\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %61 = load i32, i32* %10, align 4\n %62 = zext i32 %61 to i64\n %63 = icmp ult i64 %indvars.iv.next, %62\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %60, i32* %sv_0.05.reg2mem\n store i32 %60, i32* %sv_0.0.lcssa.reg2mem\n br i1 %63, label LBL_2, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %4, align 4\n ret i64 %3\n\n uselistorder i32 %43, { 1, 0 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i32 %sv_0.05.reload, { 2, 0, 1 }\n uselistorder i32* %10, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 4, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flex_array_alloc_4851", "fun_name": "flex_array_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 = trunc i64 %arg2 to i32\n %.rhs.trunc = trunc i64 %arg1 to i32\n %1 = udiv i32 1024, %.rhs.trunc\n %2 = mul nuw nsw i32 %1, 10\n %3 = icmp ult 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 = and i64 %arg3, 4294967295\n %5 = call i64 @FUNC(i64 88, 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_2, label LBL_5\n LBL_2:\n %8 = inttoptr i64 %5 to i32*\n store i32 %.rhs.trunc, i32* %8, align 4\n %9 = add i64 %5, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %0, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %5)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_3\n LBL_3:\n %14 = urem i64 %arg3, 2\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %5, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = call i64* @memset(i64* %18, i32 0, i32 80)\n store i64 %5, 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, { 2, 3, 1, 0, 4, 5, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i32 0, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_nego_14833", "fun_name": "do_nego", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = icmp eq i32 %0, -2147483648\n %2 = icmp eq i1 %1, false\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* @gv_1, align 4\n %4 = load i32, i32* @gv_2, align 4\n %5 = sub i32 0, %4\n %6 = zext i32 %5 to i64\n store i32 %5, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n store i32 1, i32* @gv_1, align 4\n store i32 1, i32* inttoptr (i64 4210740 to i32*), 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, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "compare_codec_desc_3082", "fun_name": "compare_codec_desc", "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 = trunc i64 %1 to i32\n %3 = trunc i64 %0 to i32\n %4 = icmp eq i32 %2, %3\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %0, 4294967295\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 %5)\n store i64 %7, i64* %storemerge.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 = add i64 %1, 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 = inttoptr i64 %10 to i8*\n %16 = call i32 @strcmp(i8* %14, i8* %15)\n %17 = sext i32 %16 to i64\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 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rawvideo_read_packet_15524", "fun_name": "rawvideo_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* %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, 8\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 = call i64 @FUNC(i64 %10, i64 %9, i32 %5)\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_1, label LBL_2\n LBL_1:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = inttoptr i64 %6 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %15, i32 %12)\n %19 = trunc i64 %18 to i32\n %20 = add i64 %15, 12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\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 = and i64 %11, 4294967295\n %29 = sdiv i64 %27, %28\n %30 = trunc i64 %29 to i32\n %31 = add i64 %15, 4\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = bitcast i64* %arg2 to i32*\n store i32 %30, i32* %33, align 4\n %34 = add i64 %15, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = icmp eq i32 %12, %19\n %. = select i1 %36, i64 0, i64 4294967291\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 %15, { 0, 1, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfc_llcp_get_local_ssap_7893", "fun_name": "nfc_llcp_get_local_ssap", "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 = add i64 %0, 40\n %3 = call i64 @FUNC(i64 %2, i64 8)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 8\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 store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = trunc i64 %3 to i32\n %9 = urem i32 %8, 256\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %2)\n %12 = call i64 @FUNC(i64 %0)\n %13 = add nuw nsw i32 %9, 1\n %14 = zext i32 %13 to i64\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 i32 %9, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "disable_each_ist_7286", "fun_name": "disable_each_ist", "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 0)\n %4 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %4\n\n uselistorder i64 (i64, i64)* @set_ist, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mipsdsp_sub_i16_1703", "fun_name": "mipsdsp_sub_i16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i16\n %1 = trunc i64 %arg2 to i16\n %sext3 = mul i64 %arg2, 281474976710656\n %2 = ashr exact i64 %sext3, 48\n %3 = sub i16 %0, %1\n %4 = icmp slt i16 %0, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = trunc i64 %2 to i16\n %6 = icmp slt i16 %5, 0\n %7 = icmp slt i16 %3, 0\n %or.cond = icmp eq i1 %7, %6\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_2:\n %8 = icmp ne i16 %0, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_3\n LBL_3:\n %10 = trunc i64 %2 to i16\n %11 = icmp slt i16 %10, 1\n %12 = icmp slt i16 %3, 1\n %or.cond6 = or i1 %12, %11\n br i1 %or.cond6, label LBL_5, label LBL_4\n LBL_4:\n %13 = ptrtoint i64* %arg3 to i64\n %14 = call i64 @FUNC(i64 1, i64 20, i64 %13)\n br label LBL_5\n LBL_5:\n %15 = zext i16 %3 to i64\n ret i64 %15\n\n uselistorder i16 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i16 %0, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evbuffer_add_18732", "fun_name": "evbuffer_add", "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* %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, %arg3\n %5 = add i64 %4, %3\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp ugt i64 %5, %8\n store i64 %3, i64* %.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_1:\n %10 = call i64 @FUNC(i64 %0, i64 %arg3)\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_1.LBL_3_crit_edge, label LBL_4\n LBL_2:\n %.pre = load i64, i64* %2, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %16, %.reload\n %18 = inttoptr i64 %17 to i64*\n %19 = inttoptr i64 %arg2 to i64*\n %20 = trunc i64 %arg3 to i32\n %21 = call i64* @memcpy(i64* %18, i64* %19, i32 %20)\n %22 = load i64, i64* %2, align 8\n %23 = add i64 %22, %arg3\n store i64 %23, i64* %2, align 8\n ret i64 0\n LBL_4:\n ret i64 4294967295\n\n uselistorder i64* %2, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg3, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fsck_walk_150", "fun_name": "fsck_walk", "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 = icmp eq i32* %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_10\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 br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = call i64 @FUNC(i64 %8)\n br label LBL_3\n LBL_3:\n %10 = icmp eq i32 %4, 4\n br i1 %10, label LBL_8, label LBL_4\n LBL_4:\n %11 = icmp sgt i32 %4, 4\n br i1 %11, label LBL_9, label LBL_5\n LBL_5:\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_9 [\n i32 3, label LBL_7\n i32 1, label LBL_10\n i32 2, label LBL_6\n ]\n LBL_6:\n %12 = ptrtoint i32* %arg3 to i64\n %13 = ptrtoint i32* %arg1 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %arg2, i64 %12)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %15 = ptrtoint i32* %arg3 to i64\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %arg2, i64 %15)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %18 = ptrtoint i32* %arg3 to i64\n %19 = ptrtoint i32* %arg1 to i64\n %20 = call i64 @FUNC(i64 %19, i64 %arg2, i64 %18)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %21 = ptrtoint i32* %arg1 to i64\n %22 = ptrtoint i32* %arg3 to i64\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %23)\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 i32 %4, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 3, 1, 2 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32* %arg3, { 2, 3, 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder i32* %arg1, { 3, 4, 2, 1, 0, 5 }\n uselistorder label LBL_10, { 2, 3, 4, 5, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_idmap_init_keyring_8120", "fun_name": "nfs_idmap_init_keyring", "llvm_ir_function": "define i64 @FUNC() 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 %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* bitcast ([2 x i8*]* @gv_0 to i64*), align 8\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64 0)\n %8 = icmp eq i64 %7, 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_9\n LBL_1:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0, i64 %7, i64 4294967294, i64 8, i64 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_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %10)\n store i64 %14, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_3:\n %15 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_0, i64 0, i64 0))\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n store i64 %15, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i8** bitcast ([19 x i8]** @gv_3 to i8**))\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 16, i64 %10)\n %22 = inttoptr i64 %7 to i64*\n store i64 %10, i64* %22, align 8\n %23 = add i64 %7, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 32, i32* %24, align 4\n store i64 %7, i64* @gv_4, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %25 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_0, i64 0, i64 0))\n store i64 %18, 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 %26 = call i64 @FUNC(i64 %10)\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 %27 = call i64 @FUNC(i64 %7)\n %28 = and i64 %sv_0.1.reload, 4294967295\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 %10, { 3, 2, 1, 0, 4 }\n uselistorder i64 %7, { 3, 0, 1, 2, 4, 5 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8**)* @register_key_type, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 8, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qtest_quit_1231", "fun_name": "qtest_quit", "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)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32 @kill(i32 %3, i32 15)\n %6 = bitcast i64* %sv_0 to i32*\n %7 = call i32 @waitpid(i32 %3, i32* nonnull %6, i32 0)\n br label LBL_2\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = call i32 @close(i32 %8)\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = call i32 @close(i32 %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, i64 1)\n %18 = add i64 %arg1, 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 i32 @unlink(i8* %21)\n %23 = add i64 %arg1, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i8*\n %27 = call i32 @unlink(i8* %26)\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 i8*\n %32 = call i32 @unlink(i8* %31)\n %33 = load i64, i64* %19, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = load i64, i64* %24, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = load i64, i64* %29, align 8\n %38 = call i64 @FUNC(i64 %37)\n %39 = call i64 @FUNC(i64 %arg1)\n ret i64 %39\n\n uselistorder i32 %3, { 1, 0, 2 }\n uselistorder i64 (i64)* @g_free, { 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @unlink, { 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 5, 4, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "memory_region_present_2870", "fun_name": "memory_region_present", "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()\n %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64 1)\n %3 = call i64 @FUNC()\n %4 = icmp ne i64 %2, 0\n %5 = icmp ne i64 %2, %0\n %not.or.cond = icmp eq i1 %5, %4\n %storemerge = zext i1 %not.or.cond to i64\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grpc_call_destroy_6653", "fun_name": "grpc_call_destroy", "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 i32, align 4\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 %0)\n %3 = icmp eq i64* %arg1, null\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = add i64 %0, 48\n %5 = call i64 @FUNC(i64 %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 %8, %0\n %10 = icmp eq i1 %9, false\n %.pre2 = add i64 %0, 16\n %.pre4 = inttoptr i64 %.pre2 to i64*\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = load i64, i64* %.pre4, align 8\n %12 = icmp eq i64 %11, %0\n %13 = icmp eq i1 %12, false\n %spec.store.select = select i1 %13, i64 %11, i64 0\n store i64 %spec.store.select, i64* %7, align 8\n br label LBL_3\n LBL_3:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = load i64, i64* %.pre4, align 8\n %18 = add i64 %16, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = load i64, i64* %.pre4, align 8\n %21 = load i64, i64* %15, align 8\n %22 = add i64 %20, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = call i64 @FUNC(i64 %4)\n %25 = bitcast i32* %sv_0 to i64*\n %26 = call i64 @FUNC(i64* nonnull %25, i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %27 = add i64 %0, 32\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, 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 %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_6:\n store i32 1, i32* %28, align 4\n %33 = add i64 %0, 36\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n %37 = add i64 %0, 40\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 br i1 %41, label LBL_8, label LBL_9\n LBL_8:\n store i32 0, i32* %sv_0, align 4\n %.pre = bitcast i32* %sv_0 to i64*\n store i64* %.pre, i64** %.pre-phi.reg2mem\n br label LBL_10\n LBL_9:\n store i32 1, i32* %sv_0, align 4\n %42 = bitcast i32* %sv_0 to i64*\n %43 = call i64 @FUNC(i64* nonnull %42, i64 %0, i64 0, i64 1)\n store i64* %42, i64** %.pre-phi.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %44 = call i64 @FUNC(i64* nonnull %.pre-phi.reload, i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0))\n %45 = call i64 @FUNC(i64* nonnull %.pre-phi.reload)\n %46 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 0)\n ret i64 %46\n\n uselistorder i32* %sv_0, { 4, 2, 0, 1, 3 }\n uselistorder i64 %0, { 9, 8, 7, 10, 11, 3, 4, 1, 0, 2, 6, 5, 12 }\n uselistorder i64 (i64)* @gpr_atm_acq_load, { 1, 0 }\n uselistorder i64 (i64*, i64, i8*)* @GRPC_CALL_INTERNAL_UNREF, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sync_start_4200", "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 4210764)\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 %27 = call i64 @FUNC()\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 %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)\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, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12 }\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": "0" }, { "dataset": "CompRealVul", "file": "gids_set_security_env_7536", "fun_name": "gids_set_security_env", "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 %2 = alloca i8\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %4 = load i64, i64* %0\n %5 = load i32, i32* %1\n %6 = load i8, i8* %2\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %7 = icmp ne i32* %arg1, null\n %8 = icmp eq i64* %arg2, null\n %9 = icmp eq i1 %8, false\n %or.cond = icmp eq i1 %7, %9\n br i1 %or.cond, 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 ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %10 = trunc i64 %4 to i32\n %11 = and i64 %3, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 0)\n %13 = ptrtoint i32* %arg1 to i64\n %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_3, i64 0, i64 230, i64 0, i64 0)\n store i64 0, i64* %storemerge.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %10, label LBL_21 [\n i32 1, label LBL_4\n i32 2, label LBL_3\n ]\n LBL_3:\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %15 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %sv_3, 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 = urem i32 %18, 2\n %20 = icmp eq i32 %19, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %20, label LBL_5, label LBL_21\n LBL_5:\n %21 = bitcast i64* %rdi to i32*\n %22 = bitcast i64* %rsi to i32*\n %23 = ptrtoint i64* %sv_2 to i64\n %24 = or i64 %23, 1\n %25 = bitcast i64* %sv_2 to i8*\n store i8 -128, i8* %25, align 8\n %26 = or i64 %23, 2\n %27 = inttoptr i64 %24 to i8*\n store i8 1, i8* %27, align 1\n %28 = add i64 %15, 8\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = zext i8 %30 to i64\n %32 = call i64 @FUNC(i64 %13, i64 %31, i64 %26)\n %33 = load i32, i32* %22, align 8\n %34 = icmp eq i32 %33, 1\n %35 = icmp eq i1 %34, false\n %36 = inttoptr i64 %26 to i8*\n %37 = load i8, i8* %36, align 2\n %storemerge5.v = select i1 %35, i8 80, i8 64\n %storemerge5 = or i8 %storemerge5.v, %37\n store i8 %storemerge5, i8* %36, align 2\n %38 = load i32, i32* %17, align 4\n %39 = and i32 %38, 2\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i32 %38, i32* %.reg2mem\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n %42 = load i32, i32* %21, align 8\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %43, i64 0, i64 4294967294)\n %.pre = load i32, i32* %17, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %45 = or i64 %23, 3\n %.reload = load i32, i32* %.reg2mem\n %46 = and i32 %.reload, 4\n %47 = icmp eq i32 %46, 0\n %48 = add nsw i64 %45, 1\n %49 = inttoptr i64 %45 to i8*\n %. = select i1 %47, i8 -124, i8 -125\n store i8 %., i8* %49, align 1\n %50 = add i64 %15, 264\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = trunc i64 %52 to i8\n %54 = inttoptr i64 %48 to i8*\n store i8 %53, i8* %54, align 4\n %55 = add i64 %23, 254\n %56 = sub i64 %55, %45\n %57 = load i64, i64* %51, align 8\n %58 = icmp ult i64 %56, %57\n %59 = icmp eq i1 %58, false\n store i64 %57, i64* %.reg2mem10\n br i1 %59, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n %.pre8 = load i64, i64* %51, align 8\n store i64 %.pre8, i64* %.reg2mem10\n br label LBL_9\n LBL_9:\n %sext = mul i64 %arg3, 4294967296\n %60 = ashr exact i64 %sext, 32\n %61 = add nsw i64 %45, 2\n %.reload11 = load i64, i64* %.reg2mem10\n %62 = inttoptr i64 %61 to i64*\n %63 = inttoptr i64 %28 to i64*\n %64 = trunc i64 %.reload11 to i32\n %65 = call i64* @memcpy(i64* nonnull %62, i64* %63, i32 %64)\n %66 = load i64, i64* %51, align 8\n %67 = trunc i64 %60 to i32\n %68 = icmp slt i32 %67, 1\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 %28, i64* %rcx.0.reg2mem\n br i1 %68, label LBL_11, label LBL_10\n LBL_10:\n %69 = call i64 @FUNC(i64 %13)\n %70 = load i32, i32* %21, align 8\n %71 = and i64 %69, 4294967295\n %72 = zext i32 %70 to i64\n %73 = call i64 @FUNC(i64 %72, i64 %71, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0))\n store i32 1, i32* %sv_1.0.reg2mem\n store i64 %71, i64* %rcx.0.reg2mem\n br label LBL_11\n LBL_11:\n %74 = sub i64 %61, %23\n %75 = add i64 %74, %66\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n br i1 %77, label LBL_16, label LBL_12\n LBL_12:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %78 = call i64 @FUNC(i64 %13, i64* nonnull %sv_3)\n %79 = trunc i64 %78 to i32\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_14, label LBL_13\n LBL_13:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %81 = and i64 %78, 4294967295\n %82 = call i64 @FUNC(i64 %81)\n %83 = load i32, i32* %21, align 8\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i64 %84, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i64 %82, i64 %rcx.0.reload, i64 0, i64 0)\n store i64 %78, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_14:\n %86 = zext i8 %6 to i64\n %87 = urem i32 %5, 256\n %88 = zext i32 %87 to i64\n %89 = call i64 @FUNC(i64 %13, i64 %88, i64 %86)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n br i1 %91, label LBL_16, label LBL_15\n LBL_15:\n %92 = and i64 %89, 4294967295\n %93 = call i64 @FUNC(i64 %92)\n %94 = load i32, i32* %21, align 8\n %95 = zext i32 %94 to i64\n %96 = call i64 @FUNC(i64 %95, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 %93, i64 %88, i64 0, i64 0)\n store i64 %89, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_16:\n %97 = icmp eq i32 %67, 0\n %98 = icmp slt i32 %67, 0\n %99 = icmp eq i1 %98, false\n %100 = icmp eq i1 %97, false\n %101 = icmp eq i1 %99, %100\n store i64 0, i64* %rax.0.reg2mem\n br i1 %101, label LBL_17, label LBL_21\n LBL_17:\n %102 = and i64 %60, 4294967295\n %103 = call i64 @FUNC(i64 %13, i64* nonnull %sv_3, i64 0, i64 230, i64 242, i64 %102)\n %104 = call i64 @FUNC(i64 %13, i64* nonnull %sv_3)\n %105 = call i64 @FUNC(i64 %13)\n %106 = load i32, i32* %21, align 8\n %107 = and i64 %104, 4294967295\n %108 = zext i32 %106 to i64\n %109 = call i64 @FUNC(i64 %108, i64 %107, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0))\n %110 = zext i8 %6 to i64\n %111 = urem i32 %5, 256\n %112 = zext i32 %111 to i64\n %113 = call i64 @FUNC(i64 %13, i64 %112, i64 %110)\n store i64 %113, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_18:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %114 = icmp eq i32 %sv_1.0.reload, 0\n br i1 %114, label LBL_20, label LBL_19\n LBL_19:\n %115 = call i64 @FUNC(i64 %13)\n br label LBL_20\n LBL_20:\n %116 = and i64 %sv_0.0.reload, 4294967295\n store i64 %116, 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* %51, { 1, 0, 2, 3 }\n uselistorder i64 %45, { 1, 0, 3, 2 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i32* %21, { 4, 3, 2, 1, 0 }\n uselistorder i64 %13, { 1, 4, 7, 6, 5, 2, 3, 0, 8, 9 }\n uselistorder i64* %sv_3, { 1, 2, 3, 0, 4 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem10, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @sc_unlock, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @sc_check_sw, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @sc_log, { 1, 0 }\n uselistorder i64 (i64)* @sc_strerror, { 1, 0 }\n uselistorder i64 (i64, i64*)* @sc_transmit_apdu, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @LOG_TEST_RET, { 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @sc_format_apdu, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_21, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "helper_rfdi_249", "fun_name": "helper_rfdi", "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, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_wrpsr_17165", "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 %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 2, i64 0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %5, i64 %arg2)\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 %5, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "host_start_5379", "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_8\n LBL_1:\n %3 = ptrtoint i64* %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 = call i64 @FUNC(i64 %6)\n %8 = load i64, i64* %5, align 8\n %9 = call i64 @FUNC(i64* nonnull @gv_0, i64 %8, i64 %7)\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_8\n LBL_2:\n %12 = load i64, i64* %5, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %3)\n %14 = add i64 %9, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %12, i64* %15, align 8\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %9, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\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 %9, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 %23, i64* %25, align 8\n %26 = add i64 %9, 32\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n %28 = add i64 %3, 48\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 = add i64 %9, 36\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = add i64 %3, 64\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = add i64 %9, 40\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = call i64 @FUNC(i64 %9)\n %41 = add i64 %3, 24\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = inttoptr i64 %40 to i64*\n store i64 %43, i64* %44, align 8\n %45 = add i64 %3, 32\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %40, 8\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = call i64 @FUNC(i64 %9, i64 0, i64 0)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_4, label LBL_3\n LBL_3:\n %53 = call i64 @FUNC(i64 %9)\n br label LBL_5\n LBL_4:\n %54 = add i64 %3, 56\n %55 = inttoptr i64 %54 to i64*\n store i64 %9, i64* %55, align 8\n br label LBL_5\n LBL_5:\n %56 = load i64, i64* %29, 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, 2\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_7, label LBL_6\n LBL_6:\n %62 = call i64 @FUNC(i64 %3, i64 0, i64 1, i64 1)\n br label LBL_7\n LBL_7:\n %63 = and i64 %50, 4294967295\n store i64 %63, 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 %9, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evtchn_unmask_7169", "fun_name": "evtchn_unmask", "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 = and i64 %arg1, 4294967295\n %6 = call i64 @FUNC(i64 %4, 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 4294967274, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = call i64 @FUNC(i64 %4, i64 %5)\n %11 = call i64 @FUNC(i64 %10, i64 %1)\n %12 = call i64 @FUNC(i64 %4, i64 %10)\n %13 = call i64 @FUNC(i64 %10, 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 label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "removeIndexEntry_18101", "fun_name": "removeIndexEntry", "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 %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 %sv_0 = alloca i32, align 4\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64 %3, i64* nonnull %5)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = icmp sgt i32 %7, 1\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg4 to i64\n store i64 %6, i64* %rax.0.reg2mem\n switch i32 %7, label LBL_7 [\n i32 0, label LBL_2\n i32 1, label LBL_5\n ]\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %5)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i32 %arg3, 0\n %14 = icmp eq i1 %13, false\n %or.cond = or i1 %14, %12\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %9, i64 %2, i64 %1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %16 = call i64 @FUNC(i64 %4, i64 %3, i64* nonnull %5)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %17 = icmp eq i32 %arg3, 0\n %18 = icmp eq i1 %17, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %9, i64 %2, 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 %6, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 5, 4, 1, 6 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 4, 5, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "apply_filters_to_response_10162", "fun_name": "apply_filters_to_response", "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.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg3, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %3, label LBL_1, label LBL_12\n LBL_1:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %1 to i32\n %8 = urem i32 %7, 2\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = and i32 %7, 2\n %12 = icmp eq i32 %11, 0\n store i64 %4, i64* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %10, label LBL_12, label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %storemerge3.reload to i32*\n %14 = load i32, i32* %13, align 4\n %.off = add i32 %14, -1\n %switch = icmp ugt i32 %.off, 1\n %15 = icmp eq i32 %14, 3\n %16 = icmp eq i1 %15, false\n %or.cond = icmp eq i1 %switch, %16\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %17 = add i64 %storemerge3.reload, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n store i64 %19, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_6:\n %20 = add i64 %storemerge3.reload, 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_8, label LBL_7\n LBL_7:\n %24 = call i64 @FUNC(i64 %22, i64 %4, i64 %6, i64 %6, i64 4)\n %25 = and i64 %24, 4294967295\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = load i64, i64* %21, align 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 5\n %32 = icmp eq i1 %31, false\n %33 = icmp eq i32 %27, 0\n %34 = zext i1 %33 to i32\n %sv_1.0 = select i1 %32, i32 %27, i32 %34\n %35 = icmp eq i32 %sv_1.0, 0\n store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem\n br i1 %35, label LBL_11, label LBL_8\n LBL_8:\n %36 = call i64 @FUNC(i64 %6, i64 %5, i64 %storemerge3.reload)\n %37 = trunc i64 %36 to i32\n %38 = icmp sgt i32 %37, -1\n store i64 4294967295, i64* %storemerge1.reg2mem\n br i1 %38, label LBL_9, label LBL_12\n LBL_9:\n %39 = icmp eq i32 %37, 0\n %40 = icmp eq i1 %39, false\n store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem\n br i1 %40, label LBL_11, label LBL_10\n LBL_10:\n %41 = call i64 @FUNC(i64 %6, i64 %5, i64 %storemerge3.reload)\n store i64 %storemerge3.reload, 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 %42 = add i64 %sv_0.0.reload, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 %44, i64* %storemerge3.reg2mem\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %46, label LBL_2, label LBL_12\n LBL_12:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %storemerge3.reload, { 1, 7, 2, 6, 0, 4, 3, 5 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %6, { 2, 3, 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 5, 2, 3, 1, 4, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1, 3 }\n uselistorder label LBL_11, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "security_fips_decrypt_5581", "fun_name": "security_fips_decrypt", "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 = alloca i64, align 8\n %0 = icmp eq i64* %arg3, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg3 to i64\n %2 = ptrtoint i16* %arg1 to i64\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64 %arg2, i64 %2, 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 %. = zext i1 %6 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 %2, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GetPSDRowSize_13491", "fun_name": "GetPSDRowSize", "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, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %8, 7\n %10 = udiv i64 %9, 8\n %11 = call i64 @FUNC(i64 %2)\n %12 = mul i64 %11, %10\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i64 %2)\n %14 = mul i64 %13, %8\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 %2, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @GetPSDPacketSize, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_intent_set_file_13631", "fun_name": "nfs4_intent_set_file", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.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* %arg2 to i64\n %4 = urem i32 %arg4, 2\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %rsi.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = ptrtoint i32* %arg3 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 = zext i32 %12 to i64\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 %14, i64 %13, i32 %6)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n store i64 %13, i64* %rsi.0.reg2mem\n store i64 %7, i64* %.pre-phi.reg2mem\n store i64 %15, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_5, label LBL_2\n LBL_2:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %18 = ptrtoint i32* %arg1 to i64\n %19 = call i64 @FUNC(i64 %18, i64 %rsi.0.reload, i64 0)\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %.pre = ptrtoint i32* %arg3 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %21 = call i64 @FUNC(i64 %19)\n %22 = ptrtoint i32* %arg3 to i64\n %23 = inttoptr i64 %21 to i64*\n store i64 %22, i64* %23, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %24 = and i32 %arg4, 6\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %3, i64 %.pre-phi.reload, i64 %25)\n %27 = and i64 %sv_0.0.reload, 4294967295\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 i64 %3, { 1, 0 }\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* %0, { 1, 0 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder i32* %arg3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fio_worker_cleanup_7071", "fun_name": "fio_worker_cleanup", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %storemerge13.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 = load i64, i64* %0\n %6 = load i64, i64* @gv_0, 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 br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i32 @getpid()\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %4, i64 %5, i64 %2, i64 %1)\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 1)\n store i64 0, i64* %storemerge26.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge26.reload = load i64, i64* %storemerge26.reg2mem\n %15 = call i64 @FUNC(i64 %storemerge26.reload)\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 = call i64 @FUNC(i64 %storemerge26.reload)\n %19 = call i64 @FUNC(i64 4199056, i64 %18, i64 0)\n br label LBL_6\n LBL_6:\n %20 = add i64 %storemerge26.reload, 1\n %21 = load i64, i64* @gv_0, align 8\n %22 = add i64 %21, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ugt i64 %20, %24\n store i64 %20, i64* %storemerge26.reg2mem\n br i1 %25, label LBL_7, label LBL_4\n LBL_7:\n %26 = call i64 @FUNC(i64 4199063, i64 0, i64 0)\n %27 = call i64 @FUNC()\n store i64 0, i64* %storemerge13.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %28 = call i64 @FUNC(i64 %storemerge13.reload)\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_10, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC(i64 %storemerge13.reload)\n %33 = icmp ult i64 %32, 4294967296\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = call i64 @FUNC(i64 %storemerge13.reload)\n %35 = call i64 @FUNC(i64 %34)\n br label LBL_11\n LBL_11:\n %36 = add i64 %storemerge13.reload, 1\n %37 = load i64, i64* @gv_0, align 8\n %38 = add i64 %37, 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp ugt i64 %36, %40\n store i64 %36, i64* %storemerge13.reg2mem\n br i1 %41, label LBL_12, label LBL_8\n LBL_12:\n %42 = call i64 @FUNC()\n %43 = call i64 @FUNC()\n %44 = load i64, i64* @gv_0, align 8\n %45 = inttoptr i64 %44 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 store i64 0, i64* %rsi.0.reg2mem\n br i1 %48, label LBL_15, label LBL_13\n LBL_13:\n %49 = call i32 @kill(i32 0, i32 2)\n br label LBL_14\n LBL_14:\n %50 = call i32 @wait(i64 0)\n %51 = icmp eq i32 %50, -1\n %52 = icmp eq i1 %51, false\n store i64 2, i64* %rsi.0.reg2mem\n br i1 %52, label LBL_14, label LBL_15\n LBL_15:\n %53 = call i64 @FUNC()\n %54 = call i64 @FUNC(i64 2)\n %55 = call i64 @FUNC()\n %56 = call i64 @FUNC()\n %57 = load i64, i64* @gv_0, align 8\n %58 = add i64 %57, 4\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = call i32 @getpid()\n %62 = icmp eq i32 %60, %61\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_17, label LBL_16\n LBL_16:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %rsi.0.reload, i64 0, i64 %5, i64 %2, i64 %1)\n store i64 %64, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_17:\n %65 = call i32 @getpid()\n %66 = zext i32 %65 to i64\n %67 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %66, i64 0, i64 %5, i64 %2, i64 %1)\n store i64 %67, 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 %storemerge13.reload, { 3, 1, 0, 2 }\n uselistorder i64 %storemerge26.reload, { 2, 0, 1 }\n uselistorder i64 %5, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %storemerge26.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\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 i64 ()* @fio_defer_perform, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @fd2uuid, { 1, 0 }\n uselistorder i64 (i64)* @fd_data, { 2, 1, 0 }\n uselistorder i64 (i64)* @fio_state_callback_force, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FIO_LOG_INFO, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_up_read_2817", "fun_name": "pci_up_read", "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 = 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 = and i32 %9, %6\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %11, i32 %6, i64 %4, i64 %2, i64 %1)\n ret i64 %11\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_ntfs_dotgit_19001", "fun_name": "is_ntfs_dotgit", "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 store i64 0, i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %0 = add i64 %storemerge.reload, %arg1\n %1 = inttoptr i64 %0 to i8*\n %2 = load i8, i8* %1, align 1\n switch i8 %2, label LBL_2 [\n i8 0, label LBL_3\n i8 92, label LBL_3\n ]\n LBL_2:\n %3 = sext i8 %2 to i64\n %4 = and i64 %3, 4294967295\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_8, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg1, i64 %storemerge.reload, i64 4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = inttoptr i64 %arg1 to i8*\n %12 = call i32 @strncasecmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4)\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_5, label LBL_9\n LBL_5:\n %15 = call i64 @FUNC(i64 %arg1, i64 %storemerge.reload, i64 5)\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 = inttoptr i64 %arg1 to i8*\n %19 = call i32 @strncasecmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5)\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %21, label LBL_7, label LBL_9\n LBL_7:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %22 = add i64 %storemerge.reload, 1\n store i64 %22, i64* %storemerge.reg2mem\n br label LBL_1\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %2, { 1, 0 }\n uselistorder i64 %storemerge.reload, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 5, 0, 1, 2, 6, 3, 4 }\n uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @only_spaces_and_periods, { 1, 0 }\n uselistorder i32 1, { 1, 0, 3, 2 }\n uselistorder i64 %arg1, { 2, 3, 1, 4, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "getPreferredTag_6512", "fun_name": "getPreferredTag", "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 zext (i32 ptrtoint ([10 x i8*]* @gv_0 to i32) to i64), i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp slt 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_4\n LBL_1:\n %4 = icmp sgt i32 %1, 9\n %sext = mul i64 %0, 4294967296\n %5 = ashr exact i64 %sext, 29\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %5, ptrtoint ([10 x i8*]* @gv_1 to i64)\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_4\n LBL_3:\n %10 = add i64 %5, ptrtoint ([10 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(i64 %12)\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, 3 }\n uselistorder i64 (i64)* @estrdup, { 1, 0 }\n uselistorder i32 0, { 40, 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, 36, 37, 38, 39 }\n uselistorder [10 x i8*]* @gv_0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_bignum_allocate_5976", "fun_name": "crypto_bignum_allocate", "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 = mul 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 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = add i64 %1, -4\n %6 = inttoptr i64 %2 to i64*\n store i64 %5, i64* %6, 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 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_tlm_14126", "fun_name": "get_tlm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = udiv i64 %2, 16\n %4 = trunc i64 %3 to i8\n %5 = urem i8 %4, 4\n %6 = udiv i64 %2, 64\n %7 = trunc i64 %6 to i8\n %8 = urem i8 %7, 2\n %9 = add i64 %arg2, 4294967292\n %narrow = mul i8 %8, 2\n %10 = add nuw nsw i8 %5, 2\n %narrow3 = add nuw nsw i8 %10, %narrow\n %11 = trunc i64 %9 to i32\n %12 = ashr i32 %11, 31\n %13 = and i64 %9, 4294967295\n %14 = zext i32 %12 to i64\n %15 = mul i64 %14, 4294967296\n %16 = or i64 %15, %13\n %17 = zext i8 %narrow3 to i64\n %18 = sdiv i64 %16, %17\n %19 = trunc i64 %18 to i8\n %20 = icmp eq i8 %19, 0\n br i1 %20, label LBL_11, label LBL_1\n LBL_1:\n %21 = icmp eq i8 %5, 1\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i8 %8, 0\n %24 = icmp eq i1 %23, false\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n switch i8 %5, label LBL_3 [\n i8 3, label LBL_6\n i8 2, label LBL_5\n i8 0, label LBL_7\n ]\n LBL_3:\n br i1 %22, label LBL_7, label LBL_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %0)\n br label LBL_7\n LBL_5:\n %26 = call i64 @FUNC(i64 %0)\n br label LBL_7\n LBL_6:\n %27 = call i64 @FUNC(i64 %0)\n br label LBL_7\n LBL_7:\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i64 %0)\n br label LBL_10\n LBL_9:\n %29 = call i64 @FUNC(i64 %0)\n br label LBL_10\n LBL_10:\n %30 = mul i32 %storemerge4.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 %19, %32\n store i32 %31, i32* %storemerge4.reg2mem\n br i1 %33, label LBL_2, label LBL_11\n LBL_11:\n ret i64 0\n\n uselistorder i8 %19, { 1, 0 }\n uselistorder i8 %8, { 1, 0 }\n uselistorder i8 %5, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder i64 (i64)* @bytestream_get_be32, { 1, 0 }\n uselistorder i64 (i64)* @bytestream_get_be16, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i8 2, { 2, 3, 0, 1 }\n uselistorder i64 (i64)* @bytestream_get_byte, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bsg_complete_all_commands_8891", "fun_name": "bsg_complete_all_commands", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.01.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %5, i64 %6)\n %8 = add i64 %0, 24\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 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 %15 = call i64 @FUNC(i64 %8)\n store i32 0, i32* %sv_0.01.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_3\n LBL_1:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %16 = call i64 @FUNC(i64 %0)\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 i32 %sv_0.01.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = add i64 %16, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %16, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %16, 8\n %28 = inttoptr i64 %16 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29, i64 %27, i64 %26, i64 %23)\n %31 = icmp eq i32 %sv_0.01.reload, 0\n %32 = icmp eq i1 %31, false\n %33 = trunc i64 %30 to i32\n %spec.select = select i1 %32, i32 %sv_0.01.reload, i32 %33\n %34 = call i64 @FUNC(i64 %16)\n %35 = call i64 @FUNC(i64 %8)\n %36 = load i32, i32* %11, align 4\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n %39 = call i64 @FUNC(i64 %8)\n store i32 %spec.select, i32* %sv_0.01.reg2mem\n store i32 %spec.select, i32* %sv_0.0.lcssa.reg2mem\n br i1 %38, label LBL_1, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %40 = zext i32 %sv_0.0.lcssa.reload to i64\n ret i64 %40\n\n uselistorder i64 %16, { 0, 3, 4, 2, 1, 5 }\n uselistorder i32 %sv_0.01.reload, { 1, 2, 0 }\n uselistorder i32* %11, { 1, 0 }\n uselistorder i64 %8, { 2, 3, 0, 1 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i32 0, { 5, 3, 4, 0, 1, 2 }\n uselistorder i64 (i64)* @spin_lock_irq, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cardos_have_2048bit_package_5732", "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 %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 = and i64 %3, 4294967295\n %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %4)\n store i64 256, i64* %sv_1.04.reg2mem\n store i64 %1, i64* %sv_0.03.reg2mem\n br label LBL_1\n LBL_1:\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 %6 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 %sv_0.03.reload, i64 %sv_1.04.reload, i64 225, i64* nonnull %sv_4)\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 %9 = load i64, i64* %sv_4, align 8\n %10 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 %6, i64 %9, i64 1, i64* nonnull %sv_3)\n %11 = icmp ne i64 %10, 0\n %12 = load i64, i64* %sv_3, align 8\n %13 = icmp eq i64 %12, 4\n %or.cond = icmp eq i1 %11, %13\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_5\n LBL_3:\n %14 = inttoptr i64 %10 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 28\n %17 = icmp eq i1 %16, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = load i64, i64* %sv_4, align 8\n %19 = add i64 %18, %sv_0.03.reload\n %20 = add i64 %sv_1.04.reload, -2\n %21 = sub i64 %20, %18\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %sv_1.04.reg2mem\n store i64 %19, i64* %sv_0.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, 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 %sv_0.03.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 i1 false, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64, i64, i64*)* @sc_asn1_find_tag, { 1, 0 }\n uselistorder [8 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "connect_namedsocket_16858", "fun_name": "connect_namedsocket", "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 i64, align 8\n %0 = call i32 @socket(i32 1, i32 1, i32 0)\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 = call i8* @strerror(i32 %4)\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 ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* %5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %8 = bitcast i64* %sv_0 to i8*\n %9 = inttoptr i64 %arg1 to i8*\n %10 = call i8* @strcpy(i8* nonnull %8, i8* %9)\n store i64 1, i64* %sv_1, align 8\n %11 = call i32 @strlen(i8* nonnull %8)\n %12 = add i32 %11, 2\n %13 = bitcast i64* %sv_1 to %sockaddr*\n %14 = call i32 @connect(i32 %0, %sockaddr* nonnull %13, i32 %12)\n %15 = icmp slt 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 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %18 = call i32 @fwrite(i64* bitcast ([14 x i8]* @gv_2 to i64*), i32 1, i32 13, %_IO_FILE* %17)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %19 = call i32 @unlink(i8* %9)\n %20 = zext i32 %0 to i64\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* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "zend_accel_hash_update_5917", "fun_name": "zend_accel_hash_update", "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.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %rdi.16.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge19.reg2mem = alloca i64\n %0 = icmp eq i32 %arg4, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = add i64 %arg5, 40\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 store i64 %arg5, i64* %storemerge19.reg2mem\n store i64 %arg5, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %storemerge19.reload = load i64, i64* %storemerge19.reg2mem\n %6 = add i64 %storemerge19.reload, 24\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, 40\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 %8, i64* %storemerge19.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_3:\n %14 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = zext i32 %arg3 to i64\n %16 = call i64 @FUNC(i64 %arg2, i64 %15)\n %17 = load i64, i64* @gv_0, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = xor i64 %18, %16\n %20 = add i64 %14, 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 = urem i64 %19, %23\n %25 = mul i64 %24, 8\n %26 = add i64 %25, %17\n %storemerge.in4 = inttoptr i64 %26 to i64*\n %storemerge5 = load i64, i64* %storemerge.in4, align 8\n %27 = icmp eq i64 %storemerge5, 0\n %28 = icmp eq i1 %27, false\n store i32 %22, i32* %.reg2mem\n store i64 %17, i64* %rdi.1.lcssa.reg2mem\n br i1 %28, label LBL_4, label LBL_17\n LBL_4:\n %29 = inttoptr i64 %arg2 to i64*\n store i64 %storemerge5, i64* %storemerge7.reg2mem\n store i64 %17, i64* %rdi.16.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.16.reload = load i64, i64* %rdi.16.reg2mem\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %30 = inttoptr i64 %storemerge7.reload to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %19, %31\n %33 = icmp eq i1 %32, false\n store i64 %rdi.16.reload, i64* %rdi.0.reg2mem\n br i1 %33, label LBL_15, label LBL_6\n LBL_6:\n %34 = add i64 %storemerge7.reload, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, %arg3\n %38 = icmp eq i1 %37, false\n store i64 %rdi.16.reload, i64* %rdi.0.reg2mem\n br i1 %38, label LBL_15, label LBL_7\n LBL_7:\n %39 = add i64 %storemerge7.reload, 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 = call i32 @memcmp(i64* %42, i64* %29, i32 %arg3)\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %41, i64* %rdi.0.reg2mem\n br i1 %45, label LBL_15, label LBL_8\n LBL_8:\n %46 = add i64 %storemerge7.reload, 40\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %49, label LBL_12, label LBL_9\n LBL_9:\n %51 = add i64 %storemerge7.reload, 24\n %52 = inttoptr i64 %51 to i64*\n br i1 %50, label LBL_11, label LBL_10\n LBL_10:\n store i64 %sv_0.0.reload, i64* %52, align 8\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_11:\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %53, 24\n %55 = inttoptr i64 %54 to i64*\n store i64 %arg5, i64* %55, align 8\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_12:\n br i1 %50, label LBL_14, label LBL_13\n LBL_13:\n %56 = add i64 %14, 24\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 %60 = add i64 %storemerge7.reload, 24\n %61 = inttoptr i64 %60 to i64*\n store i64 %sv_0.0.reload, i64* %61, align 8\n store i32 1, i32* %47, align 4\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_14:\n %62 = add i64 %storemerge7.reload, 24\n %63 = inttoptr i64 %62 to i64*\n store i64 %arg5, i64* %63, align 8\n store i64 %storemerge7.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_15:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %64 = add i64 %storemerge7.reload, 32\n %storemerge.in = inttoptr i64 %64 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %65 = icmp eq i64 %storemerge, 0\n %66 = icmp eq i1 %65, false\n store i64 %storemerge, i64* %storemerge7.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.16.reg2mem\n br i1 %66, label LBL_5, label LBL_16\n LBL_16:\n %.pre = load i32, i32* %21, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem\n br label LBL_17\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %67 = add i64 %14, 20\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = icmp eq i32 %69, %.reload\n %71 = icmp eq i1 %70, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %71, label LBL_18, label LBL_22\n LBL_18:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %72 = add i64 %14, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = add i32 %69, 1\n store i32 %75, i32* %68, align 4\n %76 = zext i32 %69 to i64\n %77 = mul nuw nsw i64 %76, 48\n %78 = add i64 %74, %77\n br i1 %0, label LBL_20, label LBL_19\n LBL_19:\n %79 = add i64 %78, 24\n %80 = inttoptr i64 %79 to i64*\n store i64 %sv_0.0.reload, i64* %80, align 8\n %81 = add i64 %78, 40\n %82 = inttoptr i64 %81 to i32*\n store i32 1, i32* %82, align 4\n br label LBL_21\n LBL_20:\n %83 = add i64 %14, 24\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = add i32 %85, 1\n store i32 %86, i32* %84, align 4\n %87 = add i64 %78, 24\n %88 = inttoptr i64 %87 to i64*\n store i64 %arg5, i64* %88, align 8\n %89 = add i64 %78, 40\n %90 = inttoptr i64 %89 to i32*\n store i32 0, i32* %90, align 4\n br label LBL_21\n LBL_21:\n %91 = inttoptr i64 %78 to i64*\n store i64 %19, i64* %91, align 8\n %92 = add i64 %78, 8\n %93 = inttoptr i64 %92 to i64*\n store i64 %arg2, i64* %93, align 8\n %94 = add i64 %78, 16\n %95 = inttoptr i64 %94 to i32*\n store i32 %arg3, i32* %95, align 4\n %96 = add i64 %rdi.1.lcssa.reload, %25\n %97 = inttoptr i64 %96 to i64*\n %98 = load i64, i64* %97, align 8\n %99 = add i64 %78, 32\n %100 = inttoptr i64 %99 to i64*\n store i64 %98, i64* %100, align 8\n store i64 %78, i64* %97, align 8\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 i64 %78, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9 }\n uselistorder i32 %69, { 1, 0, 2 }\n uselistorder i64* %52, { 1, 0 }\n uselistorder i1 %50, { 1, 0 }\n uselistorder i64 %storemerge7.reload, { 7, 3, 9, 2, 11, 1, 0, 8, 10, 4, 5, 6 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %17, { 1, 0, 2, 3 }\n uselistorder i64 %sv_0.0.reload, { 3, 2, 0, 1 }\n uselistorder i64 %14, { 0, 2, 1, 3, 4 }\n uselistorder i64* %storemerge19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 3, 2 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i1 false, { 5, 6, 2, 3, 4, 1, 7, 0 }\n uselistorder i64 40, { 1, 2, 3, 4, 0 }\n uselistorder i64 %arg5, { 3, 5, 4, 0, 1, 2 }\n uselistorder i32 %arg3, { 1, 2, 0, 3 }\n uselistorder label LBL_22, { 5, 0, 4, 3, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "f2fs_preallocate_blocks_10111", "fun_name": "f2fs_preallocate_blocks", "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 %0 = call i64 @FUNC(i64 %arg1)\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 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_11\n LBL_1:\n %4 = add i64 %arg1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %6, -64\n store i64 %7, i64* %sv_1, align 8\n %8 = call i64 @FUNC(i64 %arg2)\n %9 = add i64 %arg1, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = and i32 %11, 2\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %0)\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 = and i64 %14, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %18 = call i64 @FUNC(i64 %0, i64 1)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = zext i1 %20 to i64\n %22 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 1, i64 %21)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %23 = load i64, i64* %5, align 8\n %24 = call i64 @FUNC(i64 %arg2)\n %25 = add i64 %24, %23\n %26 = icmp ult i64 %25, 4097\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_8, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %0)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %27, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = and i64 %27, 4294967295\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_11\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 %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_10, label LBL_9\n LBL_9:\n %35 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 1, i64 0)\n store i64 %35, 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 %36 = and i64 %sv_0.0.reload, 4294967295\n store i64 %36, 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 %27, { 1, 0, 2 }\n uselistorder i64 %0, { 4, 5, 3, 1, 0, 2, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64*, i64, i64)* @f2fs_map_blocks, { 1, 0 }\n uselistorder i64 (i64)* @f2fs_convert_inline_inode, { 1, 0 }\n uselistorder i64 (i64)* @iov_iter_count, { 1, 0 }\n uselistorder i64 0, { 9, 1, 0, 2, 3, 4, 5, 6, 7, 8, 10 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 2, 3, 4, 5, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "emulate_spapr_hypercall_15337", "fun_name": "emulate_spapr_hypercall", "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 = add i64 %0, 12\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 %0, i64 %5, i64 %1)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %3, align 4\n ret i64 %6\n\n uselistorder i64 %6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "new_connection_1054", "fun_name": "new_connection", "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 i32, align 4\n %0 = trunc i64 %arg1 to i32\n store i32 16, i32* %sv_1, align 4\n %1 = bitcast i64* %sv_0 to %sockaddr*\n %2 = call i32 @accept(i32 %0, %sockaddr* nonnull %1, i32* nonnull %sv_1)\n %3 = sext i32 %2 to i64\n %4 = icmp slt i32 %2, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = call i32 (i32, i32, ...) @fcntl(i32 %2, i32 4)\n %6 = load i32, i32* @gv_0, align 4\n %7 = load i32, i32* inttoptr (i64 4210812 to i32*), align 4\n %8 = icmp ult i32 %6, %7\n br i1 %8, label LBL_2, label LBL_6\n LBL_2:\n %9 = call i64 @FUNC(i64 56)\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %9 to i32*\n store i32 %2, i32* %11, align 4\n %12 = add i64 %9, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = load i64, i64* %sv_0, align 8\n %15 = add i64 %9, 4\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = add i64 %9, 12\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %9, 32\n %20 = inttoptr i64 %19 to i64*\n store i64 4096, i64* %20, align 8\n %21 = call i64 @FUNC(i64 4096)\n %22 = add i64 %9, 40\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_5, label LBL_4\n LBL_4:\n %25 = and i64 %arg2, 4294967295\n %26 = load i64, i64* @gv_1, align 8\n %27 = add i64 %9, 48\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n store i64 %9, i64* @gv_1, align 8\n store i32 ptrtoint (i32* @gv_2 to i32), i32* @gv_0, align 4\n %29 = call i64 @FUNC(i64 %9, i64 %25)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %30 = call i64 @FUNC(i64 0)\n %31 = call i64 @FUNC(i64 %9)\n br label LBL_6\n LBL_6:\n %32 = call i32 @close(i32 %2)\n %33 = sext i32 %32 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 %2, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @av_free, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avoid_clipping_14406", "fun_name": "avoid_clipping", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i1\n %rax.0.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem42 = alloca i32\n %.reg2mem40 = alloca i32\n %.reg2mem38 = alloca i32\n %.reg2mem36 = alloca i32\n %.reg2mem34 = alloca i32\n %.reg2mem32 = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.reg2mem30 = alloca i64\n %.reg2mem28 = alloca i32\n %storemerge24.reg2mem = alloca i32\n %.reg2mem26 = alloca i64\n %sv_0.05.reg2mem = alloca i32\n %storemerge16.reg2mem = alloca i32\n %.reg2mem24 = alloca i64\n %.reg2mem22 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i1, i1* %0\n %2 = load i1, i1* %0\n %3 = ptrtoint i64* %arg2 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 = call i128 @FUNC(i32 %6)\n %8 = load i32, i32* inttoptr (i64 4202512 to i32*), align 16\n %9 = call i128 @FUNC(i32 %8)\n call void @FUNC(i128 %9, i128 %7)\n %10 = or i1 %1, %2\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %10, label LBL_11, label LBL_1\n LBL_1:\n %11 = add i64 %3, 12\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* %rax.0.reg2mem\n br i1 %14, label LBL_11, label LBL_2\n LBL_2:\n %15 = add i64 %3, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %3, 24\n %18 = inttoptr i64 %17 to i64*\n %.pre = load i32, i32* %16, align 4\n store i32 %13, i32* %.reg2mem38\n store i32 %.pre, i32* %.reg2mem40\n store i32 %.pre, i32* %.reg2mem42\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_9\n LBL_3:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %storemerge16.reload = load i32, i32* %storemerge16.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %.reload23 = load i64, i64* %.reg2mem22\n %.reload = load i32, i32* %.reg2mem\n %19 = sext i32 %sv_0.05.reload to i64\n %20 = add nsw i64 %19, %54\n %21 = mul i64 %.reload25, 4\n %22 = add i64 %21, %.reload23\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n store i64 0, i64* %.reg2mem26\n store i32 0, i32* %storemerge24.reg2mem\n store i32 %.reload, i32* %.reg2mem28\n store i64 %.reload23, i64* %.reg2mem30\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %25, label LBL_6, label LBL_4\n LBL_4:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %.reload27 = load i64, i64* %.reg2mem26\n %reass.add = add nsw i64 %20, %.reload27\n %reass.mul = mul i64 %reass.add, 4\n %26 = add i64 %reass.mul, %3\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = call i128 @FUNC(i32 %28)\n %30 = load i32, i32* %5, align 4\n %31 = call i128 @FUNC(i32 %30)\n %32 = call i128 @FUNC(i128 %31, i128 %29)\n %33 = call i64 @__asm_movss.1(i128 %32)\n %34 = trunc i64 %33 to i32\n store i32 %34, i32* %27, align 4\n %35 = add i32 %storemerge24.reload, 1\n %36 = load i64, i64* %18, align 8\n %37 = add i64 %36, %21\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = sext i32 %35 to i64\n %42 = icmp slt i64 %41, %40\n store i64 %41, i64* %.reg2mem26\n store i32 %35, i32* %storemerge24.reg2mem\n br i1 %42, label LBL_4, label LBL_5\n LBL_5:\n %.pre12 = load i32, i32* %16, align 4\n store i32 %.pre12, i32* %.reg2mem28\n store i64 %36, i64* %.reg2mem30\n store i32 %39, i32* %.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.reload31 = load i64, i64* %.reg2mem30\n %.reload29 = load i32, i32* %.reg2mem28\n %43 = add i32 %.lcssa.reload, %sv_0.05.reload\n %44 = add i32 %storemerge16.reload, 1\n %45 = zext i32 %.reload29 to i64\n %46 = sext i32 %44 to i64\n %47 = icmp slt i64 %46, %45\n store i32 %.reload29, i32* %.reg2mem\n store i64 %.reload31, i64* %.reg2mem22\n store i64 %46, i64* %.reg2mem24\n store i32 %44, i32* %storemerge16.reg2mem\n store i32 %43, i32* %sv_0.05.reg2mem\n br i1 %47, label LBL_3, label LBL_7\n LBL_7:\n %.pre13 = load i32, i32* %12, align 4\n store i32 %.pre13, i32* %.reg2mem32\n store i32 %.reload29, i32* %.reg2mem34\n store i32 %.reload29, i32* %.reg2mem36\n br label LBL_8\n LBL_8:\n %.reload37 = load i32, i32* %.reg2mem36\n %.reload35 = load i32, i32* %.reg2mem34\n %.reload33 = load i32, i32* %.reg2mem32\n %48 = add i32 %storemerge7.reload, 1\n %49 = zext i32 %.reload33 to i64\n %50 = sext i32 %48 to i64\n %51 = icmp slt i64 %50, %49\n store i32 %.reload33, i32* %.reg2mem38\n store i32 %.reload35, i32* %.reg2mem40\n store i32 %.reload37, i32* %.reg2mem42\n store i32 %48, i32* %storemerge7.reg2mem\n store i64 %49, i64* %rax.0.reg2mem\n br i1 %51, label LBL_9, label LBL_11\n LBL_9:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload43 = load i32, i32* %.reg2mem42\n %.reload41 = load i32, i32* %.reg2mem40\n %.reload39 = load i32, i32* %.reg2mem38\n %52 = icmp eq i32 %.reload43, 0\n store i32 %.reload39, i32* %.reg2mem32\n store i32 %.reload41, i32* %.reg2mem34\n store i32 0, i32* %.reg2mem36\n br i1 %52, label LBL_8, label LBL_3.lr.ph\n LBL_10:\n %53 = mul i32 %storemerge7.reload, 128\n %54 = sext i32 %53 to i64\n %.pre11 = load i64, i64* %18, align 8\n store i32 %.reload41, i32* %.reg2mem\n store i64 %.pre11, i64* %.reg2mem22\n store i64 0, i64* %.reg2mem24\n store i32 0, i32* %storemerge16.reg2mem\n store i32 0, i32* %sv_0.05.reg2mem\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 i32 %storemerge7.reload, { 1, 0 }\n uselistorder i32 %.reload29, { 0, 1, 3, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %sv_0.05.reload, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32* %.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem22, { 2, 1, 0 }\n uselistorder i64* %.reg2mem24, { 2, 1, 0 }\n uselistorder i32* %storemerge16.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.05.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem26, { 2, 0, 1 }\n uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem28, { 0, 2, 1 }\n uselistorder i64* %.reg2mem30, { 0, 2, 1 }\n uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem32, { 2, 0, 1 }\n uselistorder i32* %.reg2mem34, { 2, 0, 1 }\n uselistorder i32* %.reg2mem36, { 2, 0, 1 }\n uselistorder i1* %0, { 1, 0 }\n uselistorder i32 0, { 4, 5, 1, 7, 2, 3, 6, 0, 8 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "alc_mux_select_17786", "fun_name": "alc_mux_select", "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 %indvars.iv.reg2mem = alloca i64\n %.pre-phi.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 = and i64 %arg2, 4294967295\n %5 = trunc i64 %1 to i32\n %6 = icmp ugt i32 %5, %3\n %7 = icmp eq i1 %6, false\n %storemerge11 = select i1 %7, i64 0, i64 %4\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = mul i64 %storemerge11, 16\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 %16 = icmp eq i1 %15, false\n %17 = icmp eq i64 %storemerge11, 0\n %or.cond = or i1 %17, %16\n %18 = inttoptr i64 %10 to i32*\n %spec.select = select i1 %or.cond, i32* %13, i32* %18\n %19 = load i32, i32* %spec.select, align 4\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_1, label LBL_11\n LBL_1:\n %sext6 = mul i64 %arg3, 4294967296\n %22 = ashr exact i64 %sext6, 32\n %23 = trunc i64 %22 to i32\n %24 = icmp ugt i32 %19, %23\n %25 = add i32 %19, -1\n %26 = sext i32 %25 to i64\n %sv_0.0 = select i1 %24, i64 %22, i64 %26\n %27 = add i64 %2, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = mul i64 %arg2, 4\n %31 = and i64 %30, 17179869180\n %32 = add i64 %29, %31\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = trunc i64 %sv_0.0 to i32\n %36 = icmp eq i32 %34, %35\n %37 = icmp eq i1 %36, false\n %38 = trunc i64 %arg4 to i8\n %39 = icmp eq i8 %38, 1\n %or.cond14 = or i1 %39, %37\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond14, label LBL_2, label LBL_11\n LBL_2:\n store i32 %35, i32* %33, align 4\n %40 = add i64 %2, 24\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_4, label LBL_3\n LBL_3:\n %44 = load i64, i64* %28, align 8\n %45 = add i64 %44, %31\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n %. = select i1 %48, i64 2, i64 1\n %49 = add i64 %2, 44\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = call i64 @FUNC(i64 %2, i32 %51, i64 0, i64 0, i64 %.)\n %53 = load i64, i64* %28, align 8\n %54 = add i64 %53, %31\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n %58 = zext i1 %57 to i8\n %59 = add i64 %2, 25\n %60 = inttoptr i64 %59 to i8*\n store i8 %58, i8* %60, align 1\n %61 = call i64 @FUNC(i64 %2)\n br label LBL_4\n LBL_4:\n %62 = add i64 %2, 26\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = icmp eq i8 %64, 0\n store i64 %4, i64* %.pre-phi.reg2mem\n br i1 %65, label LBL_6, label LBL_5\n LBL_5:\n %66 = and i64 %sv_0.0, 4294967295\n %67 = call i64 @FUNC(i64 %2, i64 %66)\n %68 = add i64 %2, 32\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = mul i64 %sv_0.0, 4\n %72 = and i64 %71, 17179869180\n %73 = add i64 %70, %72\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = zext i32 %75 to i64\n store i64 %76, i64* %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %77 = call i64 @FUNC(i64 %2, i64 %.pre-phi.reload)\n %78 = and i64 %77, 4294967295\n %79 = call i64 @FUNC(i64 %2, i64 %78, i64 0)\n %80 = trunc i64 %79 to i32\n %81 = icmp sgt i32 %80, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %81, label LBL_7, label LBL_11\n LBL_7:\n %82 = trunc i64 %77 to i32\n %83 = call i64 @FUNC(i64 %2, i64 %78)\n %84 = and i64 %83, 4294967295\n %85 = call i64 @FUNC(i64 %84)\n %86 = trunc i64 %85 to i32\n %87 = icmp eq i32 %86, 3\n %88 = icmp eq i1 %87, false\n %89 = ptrtoint i32* %spec.select to i64\n %90 = add i64 %89, 8\n %91 = inttoptr i64 %90 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = mul i64 %sv_0.0, 4\n %94 = and i64 %93, 17179869180\n %95 = add i64 %92, %94\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = zext i32 %97 to i64\n br i1 %88, label LBL_10, label LBL_8\n LBL_8:\n %wide.trip.count = and i64 %79, 4294967295\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 %99 = icmp eq i64 %indvars.iv.reload, %98\n %100 = icmp eq i1 %99, false\n %.12 = select i1 %100, i64 4, i64 0\n %101 = call i64 @FUNC(i64 %2, i32 %82, i64 5, i64 %indvars.iv.reload, i64 4, i64 %.12)\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 1, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_9\n LBL_10:\n %102 = call i64 @FUNC(i64 %2, i32 %82, i64 0, i64 6, i64 %98)\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 %98, { 1, 0 }\n uselistorder i32 %82, { 1, 0 }\n uselistorder i64 %77, { 1, 0 }\n uselistorder i64* %28, { 1, 0, 2 }\n uselistorder i64 %sv_0.0, { 0, 1, 3, 2 }\n uselistorder i32* %spec.select, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %storemerge11, { 1, 0 }\n uselistorder i64 %2, { 6, 5, 7, 8, 9, 3, 4, 10, 0, 1, 2, 12, 11, 13, 14 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 17179869180, { 1, 2, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 3, 4, 1 }\n uselistorder label LBL_11, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "imap_auth_cram_md5_5351", "fun_name": "imap_auth_cram_md5", "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 = 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 i64, align 8\n %5 = add i64 %4, 1032\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 = trunc i64 %9 to i32\n %11 = icmp eq i32 %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_13\n LBL_1:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @globalFUNCvarFUNC402020, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(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 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_13\n LBL_2:\n %19 = call i64 @FUNC(i64 %13)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_13\n LBL_3:\n %23 = ptrtoint i64* %sv_3 to i64\n %24 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %4)\n %26 = trunc i64 %25 to i32\n switch i32 %26, label LBL_5 [\n i32 3, label LBL_4\n i32 4, label LBL_6\n ]\n LBL_5:\n %27 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 %3, i64 %2, i64 %1)\n br label LBL_12\n LBL_6:\n %28 = add i64 %4, 10\n %29 = call i64 @FUNC(i64* nonnull %sv_1, i64 %28, i64 1024)\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_8, label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64* inttoptr (i64 1024 to i64*), i64 %28, i64 %2, i64 %1)\n br label LBL_12\n LBL_8:\n %sext = mul i64 %29, 4294967296\n %34 = ashr exact i64 %sext, 32\n %35 = add i64 %23, -3088\n %36 = add i64 %35, %34\n %37 = inttoptr i64 %36 to i8*\n store i8 0, i8* %37, align 1\n %38 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %28, i64 %2, i64 %1)\n %39 = load i64, i64* inttoptr (i64 10 to i64*), align 8\n %40 = call i64 @FUNC(i64 %39, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %41 = bitcast i64* %sv_1 to i8*\n %42 = inttoptr i64 %39 to i8*\n %43 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %41, i32 1024, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i8* %42)\n %44 = sext i32 %43 to i64\n %45 = ptrtoint i64* %sv_1 to i64\n %46 = add i64 %44, %45\n %47 = call i64 @FUNC(i64* nonnull %sv_0, i64 %46)\n %48 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1, i64 %39, i64 %2, i64 %1)\n %49 = call i32 @strlen(i8* nonnull %41)\n %50 = sext i32 %49 to i64\n %51 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %50, i64 2046)\n %52 = ptrtoint i64* %sv_2 to i64\n %53 = call i64 @FUNC(i64* nonnull %sv_2, i64 2048, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %54 = call i64 @FUNC(i64 %52, i64* nonnull %sv_2)\n br label LBL_9\n LBL_9:\n %55 = call i64 @FUNC(i64 %4)\n %56 = trunc i64 %55 to i32\n switch i32 %56, label LBL_10 [\n i32 3, label LBL_9\n i32 5, label LBL_11\n ]\n LBL_10:\n %57 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_2, i64 2046, i64 %2, i64 %1)\n br label LBL_12\n LBL_11:\n %58 = add i64 %4, 8\n %59 = call i64 @FUNC(i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %61, label LBL_12, label LBL_13\n LBL_12:\n %62 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @globalFUNCvarFUNC4020f8, i64 0, i64 0))\n %63 = call i64 @FUNC(i64 %62)\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 %39, { 1, 0, 2 }\n uselistorder i64 %28, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 0, 1, 2, 5, 3, 4 }\n uselistorder i64* %sv_1, { 0, 1, 6, 2, 3, 4, 5 }\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, 5, 1, 2, 3, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @mutt_debug, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @imap_cmd_step, { 1, 0 }\n uselistorder i64 (i8*)* @_, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 1, { 2, 4, 5, 6, 0, 1, 7, 3 }\n uselistorder label LBL_13, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_tpm2_3136", "fun_name": "build_tpm2", "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 24)\n %2 = inttoptr i64 %1 to i16*\n store i16 4660, i16* %2, align 2\n %3 = call i64 @FUNC()\n %4 = and i64 %3, 4294967295\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 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %1, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n br label LBL_3\n LBL_2:\n %12 = call i64 @FUNC()\n br label LBL_3\n LBL_3:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %0, i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 24, i64 4)\n ret i64 %14\n\n uselistorder i64 %1, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bindresvport_sa_18824", "fun_name": "bindresvport_sa", "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.16.reg2mem = alloca i16\n %storemerge7.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i16\n %storemerge5.reg2mem = alloca i32\n %sv_1.0.in.reg2mem = alloca i16\n %sv_2.0.in.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp eq i64* %arg2, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 128)\n %6 = trunc i64 %2 to i32\n %7 = bitcast i64* %sv_4 to %sockaddr*\n %8 = call i32 @getsockname(i32 %6, %sockaddr* nonnull %7, i32* nonnull %sv_3)\n %9 = icmp eq i32 %8, -1\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_16\n LBL_2:\n %11 = bitcast i64* %sv_4 to i16*\n %12 = load i16, i16* %11, align 8\n %13 = load i32, i32* %sv_3, align 4\n %14 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 %13)\n store i64* %sv_4, i64** %sv_2.0.in.reg2mem\n store i16 %12, i16* %sv_1.0.in.reg2mem\n br label LBL_4\n LBL_3:\n %15 = trunc i64 %1 to i16\n store i64* %arg2, i64** %sv_2.0.in.reg2mem\n store i16 %15, i16* %sv_1.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.in.reload = load i16, i16* %sv_1.0.in.reg2mem\n %sv_2.0.in.reload = load i64*, i64** %sv_2.0.in.reg2mem\n %16 = icmp eq i16 %sv_1.0.in.reload, 2\n %17 = icmp eq i1 %16, false\n store i32 16, i32* %storemerge5.reg2mem\n br i1 %17, label LBL_5, label LBL_7\n LBL_5:\n %18 = icmp eq i16 %sv_1.0.in.reload, 10\n %19 = icmp eq i1 %18, false\n store i32 28, i32* %storemerge5.reg2mem\n br i1 %19, label LBL_6, label LBL_7\n LBL_6:\n %20 = call i32* @__errno_location()\n store i32 96, i32* %20, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_7:\n %sv_2.0 = ptrtoint i64* %sv_2.0.in.reload to i64\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n store i32 %storemerge5.reload, i32* %sv_3, align 4\n %storemerge4.in = add i64 %sv_2.0, 2\n %storemerge4 = inttoptr i64 %storemerge4.in to i16*\n %21 = bitcast i64* %sv_2.0.in.reload to i16*\n store i16 %sv_1.0.in.reload, i16* %21, align 2\n %22 = load i16, i16* %storemerge4, align 2\n %23 = call i16 @ntohs(i16 %22)\n %24 = icmp eq i16 %23, 0\n %25 = icmp eq i1 %24, false\n store i16 %23, i16* %sv_0.0.reg2mem\n br i1 %25, label LBL_9, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 1000)\n %27 = trunc i64 %26 to i16\n %28 = add i16 %27, 1024\n store i16 %28, i16* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i16, i16* %sv_0.0.reg2mem\n %29 = trunc i64 %2 to i32\n %30 = bitcast i64* %sv_2.0.in.reload to %sockaddr*\n store i32 0, i32* %storemerge7.reg2mem\n store i16 %sv_0.0.reload, i16* %sv_0.16.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.16.reload = load i16, i16* %sv_0.16.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %31 = call i16 @htons(i16 %sv_0.16.reload)\n store i16 %31, i16* %storemerge4, align 2\n %32 = load i32, i32* %sv_3, align 4\n %33 = call i32 @bind(i32 %29, %sockaddr* %30, i32 %32)\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_15, label LBL_11\n LBL_11:\n %35 = icmp slt i32 %33, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_14, label LBL_12\n LBL_12:\n %37 = call i32* @__errno_location()\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 98\n br i1 %39, label LBL_14, label LBL_13\n LBL_13:\n %40 = call i32* @__errno_location()\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %41, 22\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_15, label LBL_14\n LBL_14:\n %44 = add i16 %sv_0.16.reload, 1\n %45 = add nuw nsw i32 %storemerge7.reload, 1\n %46 = icmp ult i32 %45, 1000\n store i32 %45, i32* %storemerge7.reg2mem\n store i16 %44, i16* %sv_0.16.reg2mem\n br i1 %46, label LBL_10, label LBL_15\n LBL_15:\n %47 = zext i32 %33 to i64\n store i64 %47, 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_2.0.in.reload, { 2, 1, 0 }\n uselistorder i16 %sv_1.0.in.reload, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 3, 1, 2, 4 }\n uselistorder i32* %sv_3, { 2, 0, 1, 3 }\n uselistorder i64** %sv_2.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i16* %sv_1.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i16* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_16, { 1, 2, 0 }\n uselistorder label LBL_15, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "make_ydt24_entry_296", "fun_name": "make_ydt24_entry", "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 %sext = mul i64 %arg1, 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 = sext i16 %4 to i64\n %sext1 = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext1, 31\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = sext i16 %9 to i64\n %reass.mul = mul nsw i64 %10, 65792\n %11 = add nsw i64 %reass.mul, %5\n %12 = mul i64 %11, 2\n %13 = and i64 %12, 4294967294\n ret i64 %13\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inet_set_tos_8330", "fun_name": "inet_set_tos", "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 %arg3, 281474976710656\n %0 = ashr exact i64 %sext, 48\n %sv_1 = alloca i64, align 8\n %sext4 = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext4, 32\n %sext5 = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext5, 32\n store i64 %2, i64* %sv_1, align 8\n %3 = trunc i64 %0 to i16\n %4 = icmp eq i16 %3, 2\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = call i32 @setsockopt(i32 %6, i32 0, i32 1, i64* nonnull %sv_1, i32 4)\n br label LBL_2\n LBL_2:\n %8 = urem i64 %0, 65536\n %9 = icmp eq i16 %3, 10\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n %11 = bitcast i64* %sv_0 to i32*\n %12 = load i32, i32* %11, align 8\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_7, label LBL_4\n LBL_4:\n %15 = ptrtoint i64* %sv_0 to i64\n %16 = or i64 %15, 4\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_7, label LBL_5\n LBL_5:\n %21 = add i64 %15, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 8\n %24 = call i32 @htonl(i32 65535)\n %25 = icmp eq i32 %23, %24\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = trunc i64 %1 to i32\n %28 = call i32 @setsockopt(i32 %27, i32 0, i32 1, i64* nonnull %sv_1, i32 4)\n %29 = sext i32 %28 to i64\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %30 = trunc i64 %1 to i32\n %31 = call i32 @setsockopt(i32 %30, i32 41, i32 67, i64* nonnull %sv_1, i32 4)\n %32 = sext i32 %31 to i64\n store i64 %32, 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 %15, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 3, 2, 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 (i32, i32, i32, i64*, i32)* @setsockopt, { 1, 2, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "replay_save_instructions_14142", "fun_name": "replay_save_instructions", "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 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 4210728 to i32*), align 8\n %3 = zext i32 %2 to i64\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_5, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC()\n %8 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %9 = trunc i64 %7 to i32\n %10 = sub i32 %9, %8\n %11 = icmp slt i32 %10, 1\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 2)\n %13 = zext i32 %10 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %16 = add i32 %15, %10\n store i32 %16, i32* bitcast (i64* @gv_1 to i32*), align 8\n br label LBL_4\n LBL_4:\n %17 = call i64 @FUNC()\n store i64 %17, 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, { 5, 6, 4, 3, 2, 1, 0, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tg3_write_mem_8439", "fun_name": "tg3_write_mem", "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* %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, 5906\n %6 = and i64 %arg2, 4294963200\n %7 = icmp eq i64 %6, 4096\n %or.cond = icmp eq i1 %7, %5\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %8 = ashr exact i64 %sext, 32\n %sext2 = mul i64 %arg3, 4294967296\n %9 = ashr exact i64 %sext2, 32\n %10 = add i64 %1, 8\n %11 = call i64 @FUNC(i64 %10, i64 %2)\n %12 = call i64 @FUNC(i64 %1, i64 1)\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 = trunc i64 %8 to i32\n %16 = call i64 @FUNC(i64 %1, i64 12288, i32 %15)\n %17 = trunc i64 %9 to i32\n %18 = call i64 @FUNC(i64 %1, i64 12292, i32 %17)\n %19 = call i64 @FUNC(i64 %1, i64 12288, i32 0)\n br label LBL_4\n LBL_3:\n %20 = and i64 %8, 4294967295\n %21 = call i64 @FUNC(i64 12288, i64 %20)\n %22 = and i64 %9, 4294967295\n %23 = call i64 @FUNC(i64 12292, i64 %22)\n %24 = call i64 @FUNC(i64 12288, i64 0)\n br label LBL_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %10, i64 %2)\n store i64 %25, 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, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0, 4, 3, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @tw32_f, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i32)* @pci_write_config_dword, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_export_close_2010", "fun_name": "nbd_export_close", "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)\n %2 = icmp eq i64* %arg1, null\n store i64 %0, i64* %storemerge1.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %3 = inttoptr i64 %storemerge1.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %storemerge1.reload)\n %6 = icmp eq i64 %4, 0\n store i64 %4, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 0)\n %8 = call i64 @FUNC(i64 %0)\n ret i64 %8\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smb_send_rqst_5477", "fun_name": "smb_send_rqst", "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.2.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_1.03.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* %arg2 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = call i64 @FUNC(i64 %4)\n store i32 1, i32* %sv_4, align 4\n %9 = icmp eq i64* %arg2, null\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_12\n LBL_1:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = and i64 %8, 4294967295\n %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %3, i64 %2, i64 %1)\n %14 = inttoptr i64 %5 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64 %15)\n %17 = call i64 @FUNC(i64 %4, i64 4, i64 3, i32* nonnull %sv_4, i64 4)\n %18 = call i64 @FUNC(i64 %11, i64 %4, i32 %7, i64* nonnull %sv_3)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n store i64 0, i64* %sv_1.1.reg2mem\n store i32 %19, i32* %sv_0.1.reg2mem\n br i1 %20, label LBL_6, label LBL_2\n LBL_2:\n %21 = load i64, i64* %sv_3, align 8\n %22 = add i64 %4, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n store i64 %21, i64* %sv_1.1.reg2mem\n store i32 %19, i32* %sv_0.1.reg2mem\n br i1 %25, label LBL_6, label LBL_3\n LBL_3:\n %26 = ptrtoint i64* %sv_2 to i64\n %27 = add i64 %4, 16\n %28 = inttoptr i64 %27 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %21, i64* %sv_1.03.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64* nonnull %sv_2)\n %30 = call i64 @FUNC(i64 %11, i64 %26, i32 1, i64* nonnull %sv_3)\n %31 = trunc i64 %30 to i32\n %32 = load i64, i64* %28, align 8\n %33 = mul i64 %indvars.iv.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 %36)\n %38 = icmp slt i32 %31, 0\n store i64 %sv_1.03.reload, i64* %sv_1.1.reg2mem\n store i32 %31, i32* %sv_0.1.reg2mem\n br i1 %38, label LBL_6, label LBL_5\n LBL_5:\n %39 = load i64, i64* %sv_3, align 8\n %40 = add i64 %39, %sv_1.03.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %41 = load i32, i32* %23, 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 store i64 %40, i64* %sv_1.03.reg2mem\n store i64 %40, i64* %sv_1.1.reg2mem\n store i32 %31, i32* %sv_0.1.reg2mem\n br i1 %43, label LBL_4, label LBL_6\n LBL_6:\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 store i32 0, i32* %sv_4, align 4\n %44 = ptrtoint i32* %sv_4 to i64\n %45 = call i64 @FUNC(i64 %4, i64 4, i64 3, i32* nonnull %sv_4, i64 4)\n %46 = icmp eq i64 %sv_1.1.reload, 0\n store i64 %44, i64* %rcx.0.reg2mem\n br i1 %46, label LBL_9, label LBL_7\n LBL_7:\n %47 = add i64 %8, 4\n %48 = and i64 %47, 4294967295\n %49 = icmp eq i64 %sv_1.1.reload, %48\n store i64 %44, i64* %rcx.0.reg2mem\n br i1 %49, label LBL_9, label LBL_8\n LBL_8:\n %50 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %48, i64 %sv_1.1.reload, i64 4, i64 %1)\n %51 = add i64 %11, 8\n %52 = inttoptr i64 %51 to i32*\n store i32 2, i32* %52, align 4\n store i64 %sv_1.1.reload, i64* %rcx.0.reg2mem\n br label LBL_9\n LBL_9:\n %53 = icmp slt i32 %sv_0.1.reload, 0\n %54 = icmp eq i1 %53, false\n %55 = icmp eq i32 %sv_0.1.reload, -4\n %or.cond = or i1 %55, %54\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_10:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %56 = zext i32 %sv_0.1.reload to i64\n %57 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %56, i64 %rcx.0.reload, i64 4, i64 %1)\n store i32 %sv_0.1.reload, 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 %58 = zext i32 %sv_0.2.reload to i64\n store i64 %58, 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 %48, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.03.reload, { 1, 0 }\n uselistorder i32* %23, { 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i32* %sv_4, { 0, 2, 3, 1, 4 }\n uselistorder i64* %sv_3, { 2, 0, 3, 1 }\n uselistorder i64 %4, { 3, 2, 0, 1, 4, 5, 7, 6 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i32, i64*)* @smb_send_kvec, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32*, i64)* @kernel_setsockopt, { 1, 0 }\n uselistorder i64 4, { 2, 1, 0, 4, 3, 6, 5 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cFYI, { 1, 0 }\n uselistorder [24 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0, 3 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_close_2849", "fun_name": "bdrv_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 = 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 = 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_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 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %8, align 8\n store i64 0, i64* %arg1, align 8\n %11 = add i64 %0, 40\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n %13 = add i64 %0, 48\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 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %0, 56\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_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, 4, 5, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http1_on_ready_7074", "fun_name": "http1_on_ready", "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 = trunc i64 %1 to i32\n %3 = and i32 %2, 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = xor i32 %2, 4\n store i32 %5, i32* %arg2, align 4\n %6 = call i64 @FUNC(i64 %arg1, i64 1)\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 i32 %2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_matrix_bindsub_5246", "fun_name": "jas_matrix_bindsub", "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 %.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, 16\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 %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 br label LBL_3\n LBL_3:\n store i64 0, i64* %arg1, align 8\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n br label LBL_4\n LBL_4:\n %11 = add i64 %0, 48\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 store i64 0, i64* %12, align 8\n br label LBL_6\n LBL_6:\n %16 = add i64 %0, 16\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 %20 = sub i64 1, %arg3\n %21 = add i64 %20, %arg5\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = sub i64 1, %arg4\n %25 = add i64 %24, %arg6\n %26 = add i64 %0, 32\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = load i64, i64* %23, align 8\n %29 = add i64 %0, 40\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n %31 = call i64 @FUNC(i64 %28, i64 8)\n store i64 %31, i64* %12, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_7, label LBL_9\n LBL_7:\n %34 = ptrtoint i64* %arg2 to i64\n %35 = load i64, i64* %23, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_11, label LBL_8\n LBL_8:\n %37 = add i64 %34, 48\n %38 = inttoptr i64 %37 to i64*\n %39 = mul i64 %arg4, 4\n %40 = load i64, i64* %38, align 8\n %41 = mul i64 %arg3, 8\n %42 = add i64 %41, %40\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %44, %39\n %46 = inttoptr i64 %31 to i64*\n store i64 %45, i64* %46, align 8\n %47 = load i64, i64* %23, align 8\n %48 = icmp ugt i64 %47, 1\n store i64 1, i64* %.reg2mem\n br i1 %48, label LBL_10, label LBL_11\n LBL_9:\n call void @abort()\n unreachable\n LBL_10:\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %12, align 8\n %49 = load i64, i64* %38, align 8\n %50 = add i64 %.reload, %arg3\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 = mul i64 %.reload, 8\n %56 = add i64 %55, %.pre\n %57 = add i64 %54, %39\n %58 = inttoptr i64 %56 to i64*\n store i64 %57, i64* %58, align 8\n %59 = add nuw i64 %.reload, 1\n %60 = load i64, i64* %23, align 8\n %61 = icmp ult i64 %59, %60\n store i64 %59, i64* %.reg2mem\n br i1 %61, label LBL_10, label LBL_11\n LBL_11:\n %62 = add i64 %34, 56\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = trunc i64 %arg4 to i32\n %66 = add i32 %64, %65\n %67 = add i64 %0, 56\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = add i64 %34, 60\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = trunc i64 %arg3 to i32\n %73 = add i32 %71, %72\n %74 = add i64 %0, 60\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = load i32, i32* %68, align 4\n %77 = load i64, i64* %27, align 8\n %78 = trunc i64 %77 to i32\n %79 = add i32 %76, %78\n %80 = add i64 %0, 64\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = load i32, i32* %75, align 4\n %83 = load i64, i64* %23, align 8\n %84 = trunc i64 %83 to i32\n %85 = add i32 %82, %84\n %86 = add i64 %0, 68\n %87 = inttoptr i64 %86 to i32*\n store i32 %85, i32* %87, align 4\n ret i64 %0\n\n uselistorder i64 %.reload, { 1, 2, 0 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64* %38, { 1, 0 }\n uselistorder i64 %34, { 0, 2, 1 }\n uselistorder i64* %23, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64* %12, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 4, 3, 5, 6, 7, 8, 9, 10, 11, 12, 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @jas_free, { 1, 0 }\n uselistorder i64 %arg4, { 2, 0, 1 }\n uselistorder i64 %arg3, { 3, 2, 0, 1 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_core_bin_set_env_12717", "fun_name": "r_core_bin_set_env", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %0, label LBL_9, label LBL_1\n LBL_1:\n %1 = load i64, i64* %arg2, align 8\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %2, label LBL_9, label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %1 to i32*\n %5 = load i32, i32* %4, align 4\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 %1, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\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)\n %16 = load i64, i64* %arg2, align 8\n %17 = icmp eq i64 %16, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = inttoptr i64 %16 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %21 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %storemerge.reload)\n %22 = and i64 %15, 4294967295\n %23 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %22)\n %24 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %8)\n %25 = urem i32 %11, 65536\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %26)\n %28 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %8)\n %29 = add i64 %1, 24\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_7, label LBL_5\n LBL_5:\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_7, label LBL_6\n LBL_6:\n %36 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %31)\n br label LBL_8\n LBL_7:\n %37 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %8)\n br label LBL_8\n LBL_8:\n %38 = ptrtoint i64* %arg2 to i64\n %39 = add i64 %3, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %8)\n %43 = zext i32 %5 to i64\n %44 = call i64 @FUNC(i64 %3, i64 0, i64 1, i64 %43, i64 0, i64 0)\n %45 = call i64 @FUNC(i64 %3, i64 %38)\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 i64 %14, { 1, 0, 6, 5, 4, 3, 2, 7 }\n uselistorder i64 %8, { 0, 1, 3, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @r_config_set, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @r_config_set_i, { 2, 1, 0 }\n uselistorder i64* %arg2, { 3, 0, 1, 2 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_macaddr_default_if_unset_16994", "fun_name": "qemu_macaddr_default_if_unset", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = bitcast i32* %arg1 to i64*\n %1 = call i32 @memcmp(i64* %0, i64* inttoptr (i64 4202556 to i64*), i32 6)\n %2 = sext i32 %1 to i64\n %3 = icmp eq i32 %1, 0\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 %5 = bitcast i32* %arg1 to i8*\n store i8 82, i8* %5, align 1\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 1\n %8 = inttoptr i64 %7 to i8*\n store i8 84, i8* %8, align 1\n %9 = add i64 %6, 2\n %10 = inttoptr i64 %9 to i8*\n store i8 0, i8* %10, align 1\n %11 = add i64 %6, 3\n %12 = inttoptr i64 %11 to i8*\n store i8 18, i8* %12, align 1\n %13 = add i64 %6, 4\n %14 = inttoptr i64 %13 to i8*\n store i8 52, i8* %14, align 1\n %15 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 ptrtoint (i64* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8\n %16 = trunc i32 %15 to i8\n %17 = add i8 %16, 86\n %18 = add i64 %6, 5\n %19 = inttoptr i64 %18 to i8*\n store i8 %17, i8* %19, align 1\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 i8 0, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "next_active_pageblock_10647", "fun_name": "next_active_pageblock", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = urem i64 %0, 512\n %2 = icmp eq i64 %1, 0\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 ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %3)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = trunc i64 %8 to i32\n %.off = add i32 %9, -9\n %10 = icmp ugt i32 %.off, 1\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = urem i32 %9, 32\n %12 = icmp eq i32 %11, 0\n store i64 4, i64* %storemerge.reg2mem\n br i1 %12, label %15, label %13\n LBL_5:\n %17 = add i64 %arg1, 2048\n store i64 %17, 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 i32 %11, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 %arg1, { 2, 0, 1, 3, 4 }\n uselistorder label %15, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_sigcontext_14978", "fun_name": "restore_sigcontext", "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* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = urem i64 %1, 65536\n %5 = call i64 @FUNC(i64 %4)\n %6 = urem i64 %5, 65536\n %7 = call i64 @FUNC(i64 %3, i64 0, i64 %6)\n %8 = add i64 %2, 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 %11)\n %13 = urem i64 %12, 65536\n %14 = call i64 @FUNC(i64 %3, i64 1, i64 %13)\n %15 = add i64 %2, 4\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 = urem i64 %19, 65536\n %21 = call i64 @FUNC(i64 %3, i64 2, i64 %20)\n %22 = add i64 %2, 6\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 = urem i64 %26, 65536\n %28 = call i64 @FUNC(i64 %3, i64 3, i64 %27)\n %29 = add i64 %2, 8\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 %35 = add i64 %3, 16\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = add i64 %2, 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 %40)\n %42 = trunc i64 %41 to i32\n %43 = add i64 %3, 20\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %2, 16\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, 24\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = add i64 %2, 20\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, 28\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = add i64 %2, 24\n %62 = inttoptr i64 %61 to i32*\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 = add i64 %3, 32\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = add i64 %2, 28\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = zext i32 %71 to i64\n %73 = call i64 @FUNC(i64 %72)\n %74 = trunc i64 %73 to i32\n %75 = add i64 %3, 36\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n %77 = add i64 %2, 32\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = zext i32 %79 to i64\n %81 = call i64 @FUNC(i64 %80)\n %82 = trunc i64 %81 to i32\n %83 = add i64 %3, 40\n %84 = inttoptr i64 %83 to i32*\n store i32 %82, i32* %84, align 4\n %85 = add i64 %2, 36\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 %88)\n %90 = trunc i64 %89 to i32\n store i32 %90, i32* %68, align 4\n %91 = add i64 %2, 40\n %92 = call i64 @FUNC(i64 %91)\n %93 = and i64 %92, 65532\n %94 = or i64 %93, 3\n %95 = call i64 @FUNC(i64 %3, i64 11, i64 %94)\n %96 = add i64 %2, 44\n %97 = call i64 @FUNC(i64 %96)\n %98 = and i64 %97, 65532\n %99 = or i64 %98, 3\n %100 = call i64 @FUNC(i64 %3, i64 12, i64 %99)\n %101 = add i64 %2, 48\n %102 = inttoptr i64 %101 to i32*\n %103 = load i32, i32* %102, align 4\n %104 = zext i32 %103 to i64\n %105 = call i64 @FUNC(i64 %104)\n %106 = trunc i64 %105 to i32\n %107 = load i32, i32* %76, align 4\n %108 = and i32 %107, -265686\n %109 = and i32 %106, 265685\n %110 = or i32 %108, %109\n store i32 %110, i32* %76, align 4\n %111 = add i64 %2, 52\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = zext i32 %113 to i64\n %115 = call i64 @FUNC(i64 %114)\n %116 = and i64 %115, 4294967295\n %117 = icmp eq i64 %116, 0\n br i1 %117, label LBL_3, label LBL_1\n LBL_1:\n %118 = call i64 @FUNC(i64 0, i64 %116, i64 0)\n %119 = trunc i64 %118 to i32\n %120 = icmp eq i32 %119, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %120, label LBL_4, label LBL_2\n LBL_2:\n %121 = call i64 @FUNC(i64 %3, i64 %116, i64 1)\n br label LBL_3\n LBL_3:\n %122 = add i64 %2, 56\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 %125)\n %127 = trunc i64 %126 to i32\n %128 = bitcast i64* %arg3 to i32*\n store i32 %127, i32* %128, align 4\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 i64 (i64)* @lduw, { 1, 0 }\n uselistorder i64 (i64)* @tswapl, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 0, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @cpu_x86_load_seg, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @tswap16, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "async_polkit_query_free_13498", "fun_name": "async_polkit_query_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_5, 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 %.pre = add i64 %arg1, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n br i1 %5, label LBL_4, 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 = call i64 @FUNC(i64 %4, i64 %6)\n br label LBL_4\n LBL_4:\n %9 = load i64, i64* %.pre1, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %arg1, 24\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 %arg1, 32\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i64*\n call void @free(i64* %18)\n %19 = add i64 %arg1, 40\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %arg1, 48\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %27)\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 void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64)* @sd_bus_message_unref, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 4, 3, 5, 0, 6, 7, 8 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i915_gem_context_close_13169", "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 4198703, i64 0)\n %4 = call i64 @FUNC(i64 %2)\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "IRQ_check_981", "fun_name": "IRQ_check", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = 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 %sv_1.14.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i64\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 %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n %or.cond = or i1 %6, %4\n %.pre = ptrtoint i32* %arg2 to i64\n store i32 -1, i32* %sv_1.2.reg2mem\n store i32 -1, i32* %sv_0.2.reg2mem\n br i1 %or.cond, label LBL_5, 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 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge6.reg2mem\n store i32 -1, i32* %sv_0.15.reg2mem\n store i32 -1, 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 %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %11 = zext i32 %storemerge6.reload to i64\n %12 = call i64 @FUNC(i64 %.pre, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\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 br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %15 = load i64, i64* %9, align 8\n %16 = mul i64 %.reload, 4\n %17 = add i64 %15, %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 = zext i32 %sv_0.15.reload to i64\n %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %20, i64 %21)\n %23 = load i64, i64* %9, align 8\n %24 = add i64 %23, %16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = sext i32 %sv_0.15.reload to i64\n %29 = icmp slt i64 %28, %27\n %spec.select = select i1 %29, i32 %storemerge6.reload, i32 %sv_1.14.reload\n %spec.select3 = select i1 %29, i32 %26, i32 %sv_0.15.reload\n store i32 %spec.select, i32* %sv_1.0.reg2mem\n store i32 %spec.select3, 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 %30 = add i32 %storemerge6.reload, 1\n %31 = sext i32 %30 to i64\n %32 = icmp sgt i64 %10, %31\n store i64 %31, i64* %.reg2mem\n store i32 %30, i32* %storemerge6.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 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 %32, label LBL_2, label LBL_5\n LBL_5:\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 %33 = add i64 %.pre, 4\n %34 = inttoptr i64 %33 to i32*\n store i32 %sv_1.2.reload, i32* %34, align 4\n %35 = add i64 %.pre, 8\n %36 = inttoptr i64 %35 to i32*\n store i32 %sv_0.2.reload, i32* %36, align 4\n ret i64 %.pre\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i32 %storemerge6.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.15.reload, { 1, 2, 3, 0 }\n uselistorder i32 %sv_1.14.reload, { 1, 0 }\n uselistorder i64 %.pre, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge6.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 i32* %sv_1.2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\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": "parse_set_vlan_pcp_8813", "fun_name": "parse_set_vlan_pcp", "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 i32, align 4\n %4 = bitcast i32* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %4)\n %6 = icmp eq i64 %5, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_4\n LBL_1:\n %7 = load i32, i32* %sv_0, align 4\n %8 = and i32 %7, 248\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = ptrtoint i32* %sv_0 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %10, i64 %3, i64 %2, i64 %1)\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 = call i64 @FUNC(i64 %12)\n %14 = load i32, i32* %sv_0, align 4\n %15 = trunc i32 %14 to i8\n %16 = inttoptr i64 %13 to i8*\n store i8 %15, i8* %16, align 1\n %17 = add i64 %13, 1\n %18 = inttoptr i64 %17 to i8*\n store i8 %arg3, i8* %18, align 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 i32* %sv_0, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_pre_routing_9083", "fun_name": "setup_pre_routing", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = load i32, i32* %6, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_2:\n store i32 2, i32* %arg1, align 4\n %10 = load i32, i32* %6, align 4\n %11 = or i32 %10, 1\n store i32 %11, i32* %6, align 4\n store i32 %11, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %12 = or i32 %.reload, 2\n store i32 %12, i32* %6, align 4\n %13 = add i64 %2, 8\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 = load i64, i64* %14, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 %19, i64* %14, align 8\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = call i16 @htons(i16 -32512)\n %24 = icmp eq i16 %22, %23\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = load i32, i32* %6, align 4\n %27 = or i32 %26, 4\n store i32 %27, i32* %6, align 4\n br label LBL_7\n LBL_5:\n %28 = load i16, i16* %21, align 2\n %29 = call i16 @htons(i16 -30620)\n %30 = icmp eq i16 %28, %29\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = load i32, i32* %6, align 4\n %33 = or i32 %32, 8\n store i32 %33, i32* %6, align 4\n br label LBL_7\n LBL_7:\n %34 = load i64, i64* %14, align 8\n ret i64 %34\n\n uselistorder i64* %14, { 0, 2, 1, 3 }\n uselistorder i32* %6, { 6, 5, 4, 3, 7, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcg_target_qemu_prologue_3393", "fun_name": "tcg_target_qemu_prologue", "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 = call i64 @FUNC(i64 %0, i64 1, i64 4294967264)\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 %2 = mul i64 %indvars.iv4.reload, 4\n %3 = add nuw nsw i64 %2, 16\n %4 = add i64 %2, ptrtoint (i32** @gv_0 to i64)\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = call i64 @FUNC(i64 %0, i64 0, i32 %6, i64 1, i64 %3)\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 4\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_2, label LBL_1\n LBL_2:\n %8 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 %9, i64 0)\n %11 = load i32, i32* @gv_1, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %0, i64 1, i64 2, i64 %12)\n store i64 %0, i64* @gv_2, align 8\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 = mul i64 %indvars.iv.reload, 4\n %15 = add nuw nsw i64 %14, 16\n %16 = add i64 %14, ptrtoint (i32** @gv_0 to i64)\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = call i64 @FUNC(i64 %0, i64 0, i32 %18, i64 1, i64 %15)\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 %20 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 3, i64 0)\n %21 = call i64 @FUNC(i64 %0, i64 1, i64 32)\n ret i64 %21\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 4, 5, 3, 6, 7 }\n uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @tcg_out_opc_reg, { 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 4, { 3, 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @tcg_out_addi, { 1, 0 }\n uselistorder i64 1, { 2, 1, 3, 4, 0, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_proc_unlink_setup_4785", "fun_name": "nfs4_proc_unlink_setup", "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 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %2 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %2, i64* %10, align 8\n %11 = inttoptr i64 %5 to i32*\n store i32 10, i32* %11, align 4\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %13, align 8\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_divq_EAX_T0_17213", "fun_name": "helper_divq_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 i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "netif_receive_skb_10484", "fun_name": "netif_receive_skb", "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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\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_2\n LBL_2:\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* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n %7 = call i64 @FUNC(i64 %0)\n store i64 %7, 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": "tca_action_gd_9320", "fun_name": "tca_action_gd", "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 %storemerge7.reg2mem = alloca i32\n %.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 i32*, align 8\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32*, align 8\n %sv_3 = alloca i32*, align 8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n store i32 0, i32* %sv_4, align 4\n store i32* null, i32** %sv_3, align 8\n store i32* null, i32** %sv_2, align 8\n %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 16, 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 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_19\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = icmp eq i32 %arg4, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = and i64 %1, 256\n %12 = icmp eq i64 %11, 0\n %13 = load i64, i64* %sv_1, align 8\n %14 = icmp eq i64 %13, 0\n %or.cond = or i1 %12, %14\n %15 = icmp eq i64 %3, 0\n %16 = icmp eq i1 %15, false\n %or.cond6 = or i1 %16, %or.cond\n br i1 %or.cond6, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %13, i64 %8, i32 %arg3)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_4:\n %18 = ptrtoint i64* %sv_5 to i64\n %19 = add i64 %18, -192\n %20 = bitcast i32** %sv_3 to i64*\n %21 = bitcast i32** %sv_2 to i64*\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_10\n LBL_5:\n %22 = call i64 @FUNC(i64 %44, i64 %8, i32 %arg3, i32* nonnull %sv_4)\n %23 = inttoptr i64 %22 to i32*\n store i32* %23, i32** %sv_0, align 8\n %24 = icmp eq i64 %22, 0\n br i1 %24, label LBL_18, label LBL_6\n LBL_6:\n %25 = add nuw i32 %storemerge7.reload, 1\n store i32 %25, i32* %23, align 4\n %26 = load i32*, i32** %sv_3, align 8\n %27 = icmp eq i32* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = load i32*, i32** %sv_0, align 8\n %30 = ptrtoint i32* %29 to i64\n store i64 %30, i64* %20, align 8\n store i64 %30, i64* %.reg2mem\n br label LBL_9\n LBL_8:\n %31 = load i32*, i32** %sv_2, align 8\n %32 = ptrtoint i32* %31 to i64\n %33 = load i32*, i32** %sv_0, align 8\n %34 = ptrtoint i32* %33 to i64\n %35 = add i64 %32, 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 store i64 %38, i64* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n store i64 %.reload, i64* %21, align 8\n %39 = icmp ugt i32 %storemerge7.reload, 14\n store i32 %25, i32* %storemerge7.reg2mem\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %40 = sext i32 %storemerge7.reload to i64\n %41 = mul i64 %40, 8\n %42 = add i64 %19, %41\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_5, label LBL_11\n LBL_11:\n %47 = icmp eq i32 %arg4, 2\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_13, label LBL_12\n LBL_12:\n %49 = load i32*, i32** %sv_3, align 8\n %50 = ptrtoint i32* %49 to i64\n %51 = zext i32 %arg3 to i64\n %52 = call i64 @FUNC(i64 %51, i64 %8, i64 %50, i32 %arg4)\n %53 = trunc i64 %52 to i32\n store i32 %53, i32* %sv_4, align 4\n br label LBL_18\n LBL_13:\n %54 = call i64 @FUNC(i64 1024, i64 0)\n %55 = icmp eq i64 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_15, label LBL_14\n LBL_14:\n store i32 -105, i32* %sv_4, align 4\n br label LBL_18\n LBL_15:\n %57 = add i64 %8, 4\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = load i32*, i32** %sv_3, align 8\n %61 = ptrtoint i32* %60 to i64\n %62 = zext i32 %arg4 to i64\n %63 = call i64 @FUNC(i64 %54, i64 %61, i32 %arg3, i32 %59, i64 0, i64 %62)\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n %66 = icmp slt i32 %64, 0\n %67 = icmp eq i1 %66, false\n %68 = icmp eq i1 %65, false\n %69 = icmp eq i1 %67, %68\n br i1 %69, label LBL_17, label LBL_16\n LBL_16:\n %70 = call i64 @FUNC(i64 %54)\n store i32 -22, i32* %sv_4, align 4\n br label LBL_18\n LBL_17:\n %71 = call i64 @FUNC(i64 %61, i64 0)\n %72 = bitcast i64* %rsi to i32*\n %73 = load i32, i32* %72, align 8\n %74 = and i32 %73, 2\n %75 = zext i32 %74 to i64\n %76 = call i64 @FUNC(i64 %54, i32 %arg3, i64 1, i64 %75)\n %77 = trunc i64 %76 to i32\n %78 = icmp slt i32 %77, 1\n %79 = and i64 %76, 4294967295\n %spec.select = select i1 %78, i64 %79, i64 0\n ret i64 %spec.select\n LBL_18:\n %80 = load i32*, i32** %sv_3, align 8\n %81 = ptrtoint i32* %80 to i64\n %82 = call i64 @FUNC(i64 %81)\n %83 = load i32, i32* %sv_4, align 4\n %84 = zext i32 %83 to i64\n store i64 %84, 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 %64, { 1, 0 }\n uselistorder i64 %54, { 1, 0, 2, 3 }\n uselistorder i64 %44, { 1, 0 }\n uselistorder i32 %storemerge7.reload, { 1, 0, 2 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %8, { 3, 2, 1, 0 }\n uselistorder i32* %sv_4, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32** %sv_3, { 5, 4, 3, 2, 0, 1 }\n uselistorder i32** %sv_2, { 2, 0, 1 }\n uselistorder i32** %sv_0, { 0, 3, 1, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 2, 1, 3, 5, 6, 4, 0, 7, 8 }\n uselistorder i32 %arg4, { 0, 2, 1, 3 }\n uselistorder i32 %arg3, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_19, { 1, 2, 0 }\n uselistorder label LBL_18, { 1, 2, 3, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "redisSetProcTitle_10687", "fun_name": "redisSetProcTitle", "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 ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_build_node_spec_bitmap_4868", "fun_name": "_build_node_spec_bitmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* @gv_0, align 8\n %4 = sub i64 %2, %3\n %5 = udiv i64 %4, 8\n %6 = trunc i64 %5 to i32\n %7 = mul i32 %6, -1431655765\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = add i32 %7, 1\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = sub i32 %14, %10\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(i64 %18)\n %20 = zext i32 %15 to i64\n %21 = call i64 @FUNC(i64 %20)\n store i64 %21, i64* %17, align 8\n %22 = add i32 %15, -1\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %21, i64 0, i64 %23)\n %25 = call i64 @FUNC(i64 %21)\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 br i1 %29, label LBL_2, label LBL_4\n LBL_2:\n %30 = add i64 %2, 16\n %31 = inttoptr i64 %30 to i32*\n store i32 %27, i32* %.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 i32, i32* %.reg2mem\n %32 = or i32 %storemerge1.reload, 1\n %33 = zext i32 %32 to i64\n %34 = mul i64 %33, 4\n %35 = add i64 %34, %25\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = load i32, i32* %31, align 4\n %39 = udiv i32 %37, %38\n %40 = udiv i32 %.reload, %38\n %41 = load i64, i64* %17, align 8\n %42 = zext i32 %39 to i64\n %43 = zext i32 %40 to i64\n %44 = call i64 @FUNC(i64 %41, i64 %43, i64 %42)\n %45 = add i32 %storemerge1.reload, 2\n %46 = zext i32 %45 to i64\n %47 = mul i64 %46, 4\n %48 = add i64 %47, %25\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp eq i32 %50, -1\n %52 = icmp eq i1 %51, false\n store i32 %50, i32* %.reg2mem\n store i32 %45, i32* %storemerge1.reg2mem\n br i1 %52, label LBL_3, label LBL_4\n LBL_4:\n %53 = call i64 @FUNC(i64 %25)\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i32 %storemerge1.reload, { 1, 0 }\n uselistorder i64 %25, { 3, 0, 1, 2 }\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i64 (i64)* @cr_get_coremap_offset, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\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": "qemu_create_pidfile_14029", "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_4\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_4\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 %14 = call i32 @close(i32 %1)\n %. = select i1 %13, 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 i32 %1, { 1, 2, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder label LBL_4, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_fe_read_all_3243", "fun_name": "qemu_chr_fe_read_all", "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.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\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_19\n LBL_1:\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 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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = trunc i64 %arg3 to i32\n %12 = trunc i64 %3 to i32\n %13 = and i64 %3, 4294967295\n %14 = icmp eq i32 %12, -1\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i32 %12, 0\n %17 = icmp slt i32 %12, 0\n %18 = icmp eq i1 %17, false\n store i32 0, i32* %sv_0.0.reg2mem\n store i32 10, i32* %sv_1.0.reg2mem\n br label LBL_12\n LBL_4:\n %19 = call i64 @FUNC(i64 %2)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_5:\n %20 = call i64 @FUNC(i64 100)\n %21 = call i32* @__errno_location()\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 11\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_6, label LBL_5\n LBL_6:\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %16, label LBL_15, label LBL_7\n LBL_7:\n br i1 %18, label LBL_11, label LBL_8\n LBL_8:\n %25 = load i32, i32* %5, align 4\n %26 = icmp eq i32 %25, 0\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %26, label LBL_19, label LBL_9\n LBL_9:\n %27 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %28 = icmp eq i32 %27, 2\n %29 = icmp eq i1 %28, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %29, label LBL_19, label LBL_10\n LBL_10:\n %30 = call i64 @FUNC(i64 %13)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_11:\n %31 = add i32 %sv_0.0.reload, %12\n %32 = add nsw i32 %sv_1.0.reload, -1\n %33 = icmp eq i32 %sv_1.0.reload, 0\n store i32 %31, i32* %sv_0.0.reg2mem\n store i32 %32, i32* %sv_1.0.reg2mem\n store i32 %31, i32* %sv_0.1.reg2mem\n br i1 %33, label LBL_15, label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %34 = icmp slt i32 %sv_0.0.reload, %11\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %34, label LBL_13, label LBL_15\n LBL_13:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n br i1 %15, label LBL_6, label LBL_14\n LBL_14:\n %35 = call i32* @__errno_location()\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 11\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_6, label LBL_5\n LBL_15:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %39 = load i32, i32* %5, align 4\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_18, label LBL_16\n LBL_16:\n %41 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %42 = icmp eq i32 %41, 2\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_18, label LBL_17\n LBL_17:\n %44 = zext i32 %sv_0.1.reload to i64\n %45 = call i64 @FUNC(i64 %2, i64 %44)\n br label LBL_18\n LBL_18:\n %46 = zext i32 %sv_0.1.reload to i64\n store i64 %46, 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.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1, 3 }\n uselistorder i64 %13, { 2, 3, 1, 0 }\n uselistorder i32 %12, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 5, 4 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i1 false, { 1, 0, 2, 4, 3, 5, 6, 7 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_19, { 4, 2, 1, 0, 5, 3 }\n uselistorder label LBL_15, { 2, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ieee80211_sta_ps_deliver_uapsd_10457", "fun_name": "ieee80211_sta_ps_deliver_uapsd", "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.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 i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, 0\n store i64 0, 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 = icmp eq i32 %7, 3\n store i32 6, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_6, label LBL_2\n LBL_2:\n %9 = icmp sgt i32 %7, 3\n store i32 %7, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n store i32 4, i32* %sv_0.0.reg2mem\n switch i32 %7, label LBL_4 [\n i32 2, label LBL_6\n i32 0, label LBL_5\n ]\n LBL_4:\n %10 = icmp eq i32 %7, 1\n %11 = icmp eq i1 %10, false\n %spec.select = select i1 %11, i32 %7, i32 2\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n store i32 8, 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 %12 = sub i8 0, %5\n %13 = sub i8 %12, 1\n %14 = zext i8 %13 to i64\n %15 = call i64 @FUNC(i64 %2, i32 %sv_0.0.reload, i64 %14, i64 0)\n store i64 %15, 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, { 1, 2, 5, 0, 3, 4 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 4, 3, 5, 2 }\n uselistorder i32 3, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flask_security_make_bools_6104", "fun_name": "flask_security_make_bools", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64* nonnull %2, i64 0, i64* nonnull %sv_1, i64* nonnull @gv_1)\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 i32, i32* %sv_0, align 4\n store i32 %7, i32* @gv_2, align 4\n %8 = load i64, i64* %sv_1, align 8\n store i64 %8, i64* @gv_0, align 8\n br label LBL_2\n LBL_2:\n %9 = and i64 %3, 4294967295\n ret i64 %9\n\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 1, { 7, 6, 8, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "armv7m_nvic_init_14503", "fun_name": "armv7m_nvic_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 = inttoptr i64 %1 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %1, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %1, 24\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = zext i32 %8 to i64\n %12 = call i64 @FUNC(i64 %1, i64 %11)\n %13 = add i64 %1, 32\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4096)\n %15 = add i64 %1, 40\n %16 = call i64 @FUNC(i64 %15, i64 4198694, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4096)\n %17 = call i64 @FUNC(i64 %13, i64 0, i64 %15)\n %18 = add i64 %1, 16\n %19 = add i64 %1, 48\n %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 256, i64 3072)\n %21 = call i64 @FUNC(i64 %13, i64 256, i64 %19, i64 1)\n %22 = call i64 @FUNC()\n %23 = call i64 @FUNC(i64 %22, i64 3758153728, i64 %13)\n %24 = load i64, i64* @gv_3, align 8\n %25 = call i64 @FUNC(i64 %24, i64 4198921, i64 %1)\n %26 = add i64 %1, 56\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n ret i64 0\n\n uselistorder i64 (i64, i64, i64)* @memory_region_add_subregion, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "check_tty_5769", "fun_name": "check_tty", "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-phi.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n br i1 %2, label LBL_8, 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 br i1 %5, label LBL_2, label LBL_8\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 br i1 %10, label LBL_4, label LBL_8\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 %.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 br i1 %15, label LBL_8, label LBL_6\n LBL_6:\n %16 = call i32 @strcmp(i8* %.pre-phi.reload, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = call i32 @strcmp(i8* %.pre-phi.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n %spec.select = select i1 %20, i64 %sv_0.0.reload, i64 0\n ret i64 %spec.select\n LBL_8:\n ret i64 0\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 i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_try_spin_lock_17852", "fun_name": "btrfs_try_spin_lock", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 0, 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 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = add i64 %0, 4\n %7 = call i64 @FUNC(i64 %6)\n store i32 1, i32* %storemerge2.reg2mem\n br 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 store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(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 store i64 1, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %16 = call i64 @FUNC(i64 %6)\n %17 = icmp ult i32 %storemerge2.reload, 2\n store i32 2, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_2, 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, 2, 3, 4, 5 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64, i64)* @test_bit, { 1, 0 }\n uselistorder i64 (i64)* @spin_nested, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "create_core_backtrace_9977", "fun_name": "create_core_backtrace", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3, i64* %arg4) 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": "manager_invoke_notify_message_5582", "fun_name": "manager_invoke_notify_message", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i64 %arg4, i64* %arg5) 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 i32* %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 64, 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 65, 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 66, 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 = call i64 @FUNC(i64 %arg4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0))\n store i64 %6, i64* %sv_0, align 8\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_8, label LBL_7\n LBL_7:\n %9 = call i64 @FUNC()\n br label LBL_8\n LBL_8:\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %10\n\n uselistorder i64* null, { 2, 3, 0, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 0, 7, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bid_keycmp_8075", "fun_name": "bid_keycmp", "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 %storemerge.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %0 = icmp slt i64 %arg3, 1\n store i32 0, i32* %storemerge8.reg2mem\n store i64 %arg3, i64* %sv_2.07.reg2mem\n store i64 %arg2, i64* %sv_0.06.reg2mem\n store i64 %arg1, i64* %sv_1.05.reg2mem\n store i64 %arg1, i64* %sv_1.0.lcssa.reg2mem\n store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_5, label LBL_3\n LBL_1:\n %1 = icmp eq i8 %9, %12\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_10, label LBL_2\n LBL_2:\n %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem\n %3 = add nsw i64 %sv_2.07.reload, -1\n %4 = add i64 %sv_1.05.reload, 1\n %5 = add i64 %sv_0.06.reload, 1\n %6 = add i32 %storemerge8.reload, 1\n %7 = icmp slt i64 %sv_2.07.reload, 2\n store i32 %6, i32* %storemerge8.reg2mem\n store i64 %3, i64* %sv_2.07.reg2mem\n store i64 %5, i64* %sv_0.06.reg2mem\n store i64 %4, i64* %sv_1.05.reg2mem\n store i64 %4, i64* %sv_1.0.lcssa.reg2mem\n store i64 %5, i64* %sv_0.0.lcssa.reg2mem\n store i32 %6, i32* %storemerge.lcssa.reg2mem\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %8 = inttoptr i64 %sv_1.05.reload to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n store i64 %sv_1.05.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.06.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %storemerge8.reload, i32* %storemerge.lcssa.reg2mem\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = inttoptr i64 %sv_0.06.reload 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 i64 %sv_1.05.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.06.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %storemerge8.reload, i32* %storemerge.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %15 = inttoptr i64 %sv_0.0.lcssa.reload to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_10\n LBL_6:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %18 = inttoptr i64 %sv_1.0.lcssa.reload to i8*\n %19 = load i8, i8* %18, align 1\n switch i8 %19, label LBL_7 [\n i8 61, label LBL_9\n i8 32, label LBL_9\n i8 9, label LBL_9\n i8 10, label LBL_9\n i8 13, label LBL_9\n ]\n LBL_7:\n %20 = icmp eq i8 %19, 92\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_10, label LBL_8\n LBL_8:\n %22 = add i64 %sv_1.0.lcssa.reload, 1\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp ne i8 %24, 10\n %26 = icmp eq i8 %24, 13\n %27 = icmp eq i1 %26, false\n %or.cond = icmp eq i1 %25, %27\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_9\n LBL_9:\n %28 = zext i32 %storemerge.lcssa.reload to i64\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 i8 %19, { 1, 0 }\n uselistorder i64 %sv_1.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %12, { 1, 0 }\n uselistorder i8 %9, { 1, 0 }\n uselistorder i64 %sv_0.06.reload, { 0, 3, 1, 2 }\n uselistorder i64 %sv_1.05.reload, { 0, 1, 3, 2 }\n uselistorder i64 %sv_2.07.reload, { 1, 0 }\n uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.07.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.05.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 2, 4, 1 }\n uselistorder i8 10, { 1, 0 }\n uselistorder i1 false, { 0, 1, 3, 2 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_10, { 4, 2, 1, 3, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sd_reset_2049", "fun_name": "sd_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\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 %arg2, i64* nonnull %sv_0)\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n store i64 0, i64* %sv_0, align 8\n store i64 0, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %2 = ptrtoint i64* %arg1 to i64\n %.reload = load i64, i64* %.reg2mem\n %3 = mul i64 %.reload, 512\n %4 = udiv i64 %.reload, 512\n %5 = and i64 %4, 70368744177663\n %6 = add nuw nsw i64 %5, 1\n store i64 %6, i64* %sv_0, 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 0, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %2)\n %13 = call i64 @FUNC(i64 %2, i64 %3)\n %14 = call i64 @FUNC(i64 %2)\n %15 = call i64 @FUNC(i64 %2)\n %16 = add i64 %2, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 %arg2, i64* %17, align 8\n %18 = add i64 %2, 8\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_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %20)\n br label LBL_5\n LBL_5:\n store i32 0, i32* %storemerge.reg2mem\n br i1 %0, label LBL_7, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %arg2)\n %phitmp = trunc i64 %23 to i32\n store i32 %phitmp, i32* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %storemerge.reload, i32* %25, align 4\n %26 = load i64, i64* %sv_0, align 8\n %27 = mul i64 %26, 4\n %28 = call i64 @FUNC(i64 %27)\n store i64 %28, i64* %19, align 8\n %29 = add i64 %2, 32\n %30 = inttoptr i64 %29 to i64*\n %31 = call i64* @memset(i64* %30, i32 0, i32 24)\n %32 = add i64 %2, 56\n %33 = inttoptr i64 %32 to i64*\n store i64 0, i64* %33, align 8\n %34 = add i64 %2, 64\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %35, align 8\n %36 = add i64 %2, 72\n %37 = inttoptr i64 %36 to i64*\n store i64 %3, i64* %37, align 8\n %38 = add i64 %2, 80\n %39 = inttoptr i64 %38 to i64*\n store i64 512, i64* %39, align 8\n %40 = add i64 %2, 88\n %41 = inttoptr i64 %40 to i64*\n store i64 0, i64* %41, align 8\n ret i64 %2\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 3, 4, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 3, 4, 2 }\n uselistorder i64 512, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "valid_next_sp_10389", "fun_name": "valid_next_sp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = urem i64 %arg1, 16\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %arg1, i64 %2, i64 16)\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_2, label LBL_4\n LBL_2:\n %7 = add i64 %arg2, 64\n %8 = icmp ugt i64 %7, %arg1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = xor i64 %arg2, %arg1\n %10 = icmp ugt i64 %9, 1023\n %. = zext i1 %10 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 16, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_arguments_7942", "fun_name": "parse_arguments", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) 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 = icmp eq i64 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %2)\n br label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 ptrtoint ([10 x i8]* @gv_1 to i64))\n ret i64 %8\n\n uselistorder i64 (i64)* @set_refuse_options, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "config_error_1764", "fun_name": "config_error", "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 %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 store i32 16, i32* %sv_0, align 4\n %21 = icmp eq i64 %arg1, 0\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = ptrtoint i8* %arg2 to i64\n %23 = call i64 @FUNC(i64 %arg1, i64 %22, i32* nonnull %sv_0)\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %25 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_1 to i64*), i32 1, i32 6, %_IO_FILE* %24)\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %27 = ptrtoint i32* %sv_0 to i64\n %28 = call i32 @vfprintf(%_IO_FILE* %26, i8* %arg2, i64 %27)\n %29 = sext i32 %28 to i64\n store i64 %29, 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 i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8* %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udf_encode_fh_13714", "fun_name": "udf_encode_fh", "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 = trunc i64 %1 to i32\n %3 = icmp eq i64* %arg4, null\n %4 = icmp sgt i32 %2, 4\n %or.cond = or i1 %3, %4\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n store i32 5, i32* %arg3, align 4\n store i64 255, i64* %rax.0.reg2mem\n br label LBL_5\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 sgt i32 %2, 2\n store i32 3, i32* %arg3, align 4\n store i64 255, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %10 = ptrtoint i64* %arg2 to i64\n store i64 %5, i64* %arg2, align 8\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %8, i64* %12, align 8\n %13 = add i64 %10, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %10, 32\n %16 = inttoptr i64 %15 to i64*\n store i64 %5, i64* %16, align 8\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_5, label LBL_4\n LBL_4:\n %17 = ptrtoint i64* %arg4 to i64\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %10, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 %17, i64* %22, align 8\n store i64 %20, i64* %14, align 8\n %23 = add i64 %10, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 %5, i64* %24, align 8\n store i32 5, i32* %arg3, 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 ret i64 %rax.0.reload\n\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder i32* %arg3, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "name_parse_7982", "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 %sv_0.1.reg2mem = alloca i64\n %sv_1.020.reg2mem = alloca i32\n %sv_0.021.reg2mem = alloca i64\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_2.0.ph.reload = load i32, i32* %sv_2.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 = icmp slt i32 %sv_1.0.ph.reload, %8\n store i64 %sv_0.0.ph.reload, i64* %sv_0.021.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.020.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_16\n LBL_2:\n %sv_1.020.reload = load i32, i32* %sv_1.020.reg2mem\n %sv_0.021.reload = load i64, i64* %sv_0.021.reg2mem\n %10 = add i32 %sv_1.020.reload, 1\n %11 = sext i32 %sv_1.020.reload to i64\n %12 = add i64 %11, %3\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n br i1 %15, label LBL_14, label LBL_3\n LBL_3:\n %16 = sext i8 %14 to i32\n %17 = and i32 %16, 192\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_4\n LBL_4:\n %19 = icmp slt i32 %10, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_16\n LBL_5:\n %20 = sext i32 %10 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 = zext i8 %23 to i32\n %25 = mul i32 %16, 256\n %26 = and i32 %25, 16128\n %27 = or i32 %26, %24\n %28 = icmp slt i32 %27, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_16\n LBL_6:\n %29 = icmp slt i32 %sv_3.0.ph.reload, 0\n %30 = icmp eq i1 %29, false\n %31 = add i32 %sv_1.020.reload, 2\n %spec.select = select i1 %30, i32 %sv_3.0.ph.reload, i32 %31\n %32 = add i32 %sv_2.0.ph.reload, 1\n %33 = icmp sgt i32 %32, %8\n store i32 %spec.select, i32* %sv_3.0.ph.reg2mem\n store i32 %27, i32* %sv_1.0.ph.reg2mem\n store i32 %32, i32* %sv_2.0.ph.reg2mem\n store i64 %sv_0.021.reload, i64* %sv_0.0.ph.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_16, label LBL_1\n LBL_7:\n %34 = icmp ult i8 %14, 64\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_8, label LBL_16\n LBL_8:\n %35 = icmp eq i64 %sv_0.021.reload, %2\n store i64 %2, i64* %sv_0.1.reg2mem\n br i1 %35, label LBL_11, label LBL_9\n LBL_9:\n %36 = add i64 %sv_0.021.reload, 1\n %37 = icmp ugt i64 %7, %36\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %37, label LBL_10, label LBL_16\n LBL_10:\n %38 = inttoptr i64 %sv_0.021.reload to i8*\n store i8 46, i8* %38, align 1\n store i64 %36, 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 %39 = urem i32 %16, 256\n %40 = zext i32 %39 to i64\n %41 = add i64 %sv_0.1.reload, %40\n %42 = icmp ugt i64 %7, %41\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %42, label LBL_12, label LBL_16\n LBL_12:\n %43 = add i32 %39, %10\n %44 = zext i32 %43 to i64\n %45 = icmp slt i64 %4, %44\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %45, label LBL_16, label LBL_13\n LBL_13:\n %46 = sext i32 %10 to i64\n %47 = add i64 %46, %3\n %48 = inttoptr i64 %sv_0.1.reload to i64*\n %49 = inttoptr i64 %47 to i64*\n %50 = call i64* @memcpy(i64* %48, i64* %49, i32 %39)\n %51 = icmp slt i32 %43, %8\n store i64 %41, i64* %sv_0.021.reg2mem\n store i32 %43, i32* %sv_1.020.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %51, label LBL_2, label LBL_16\n LBL_14:\n %52 = icmp ult i64 %sv_0.021.reload, %7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %52, label LBL_15, label LBL_16\n LBL_15:\n %53 = inttoptr i64 %sv_0.021.reload to i8*\n store i8 0, i8* %53, align 1\n %54 = icmp slt i32 %sv_3.0.ph.reload, 0\n %55 = icmp eq i1 %54, false\n %sv_3.0. = select i1 %55, i32 %sv_3.0.ph.reload, i32 %10\n store i32 %sv_3.0., i32* %arg3, align 4\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 i32 %39, { 1, 2, 0 }\n uselistorder i32 %16, { 1, 0, 2 }\n uselistorder i32 %10, { 0, 4, 3, 2, 1 }\n uselistorder i64 %sv_0.021.reload, { 3, 4, 2, 1, 0, 5 }\n uselistorder i32 %sv_1.020.reload, { 2, 0, 1 }\n uselistorder i32 %sv_3.0.ph.reload, { 2, 3, 0, 1 }\n uselistorder i32 %8, { 4, 0, 1, 2, 3 }\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 i64* %sv_0.021.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.020.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 3, 4, 2, 1 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i64 4294967295, { 9, 8, 7, 6, 5, 4, 2, 3, 1, 0 }\n uselistorder label LBL_16, { 10, 9, 8, 7, 6, 5, 4, 2, 3, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_nfs4_open_expired_9270", "fun_name": "_nfs4_open_expired", "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 = icmp ult i64 %2, -1000\n store i64 %2, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = call i64 @FUNC(i64 %2, i64 %0)\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 i64 @FUNC(i64 %2)\n br label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %2)\n %10 = and i64 %4, 4294967295\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 %2, { 2, 1, 3, 0, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "WildMidi_Open_5523", "fun_name": "WildMidi_Open", "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 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n store i32 0, i32* %sv_3, 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 4210748 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 ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 67, i64 1, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_2:\n %4 = icmp eq i64 %arg1, 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(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 70, i64 2, i64 ptrtoint ([16 x i8]* @gv_1 to i64), i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_4:\n %7 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_3)\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_5, label LBL_19\n LBL_5:\n %10 = load i32, i32* %sv_3, align 4\n %11 = icmp ult i32 %10, 18\n br i1 %11, label LBL_6, label LBL_7\n LBL_6:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 75, i64 3, i64 ptrtoint ([12 x i8]* @gv_2 to i64), i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_7:\n %13 = inttoptr i64 %7 to i64*\n %14 = call i32 @memcmp(i64* %13, 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_9, label LBL_8\n LBL_8:\n %17 = load i32, i32* %sv_3, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %7, i64 %18)\n store i64 %19, i64* %sv_0.0.reg2mem\n br label LBL_16\n LBL_9:\n %20 = call i32 @memcmp(i64* %13, i64* bitcast ([19 x i8]* @gv_4 to i64*), i32 18)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_11, label LBL_10\n LBL_10:\n %23 = load i32, i32* %sv_3, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %7, i64 %24)\n store i64 %25, i64* %sv_0.0.reg2mem\n br label LBL_16\n LBL_11:\n %26 = bitcast i32* %sv_2 to i64*\n %27 = call i32 @memcmp(i64* %13, i64* nonnull %26, i32 4)\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_13, label LBL_12\n LBL_12:\n %30 = load i32, i32* %sv_3, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %7, i64 %31)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_16\n LBL_13:\n %33 = bitcast i32* %sv_1 to i64*\n %34 = call i32 @memcmp(i64* %13, i64* nonnull %33, i32 4)\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n %37 = load i32, i32* %sv_3, align 4\n %38 = zext i32 %37 to i64\n br i1 %36, label LBL_15, label LBL_14\n LBL_14:\n %39 = call i64 @FUNC(i64 %7, i64 %38)\n store i64 %39, i64* %sv_0.0.reg2mem\n br label LBL_16\n LBL_15:\n %40 = call i64 @FUNC(i64 %7, i64 %38)\n store i64 %40, 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 call void @free(i64* %13)\n %41 = icmp eq i64 %sv_0.0.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_19, label LBL_17\n LBL_17:\n %42 = call i64 @FUNC(i64 %sv_0.0.reload)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %44, label LBL_19, label LBL_18\n LBL_18:\n %45 = call i64 @FUNC(i64 %sv_0.0.reload)\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 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %7, { 3, 4, 2, 1, 0, 5, 6 }\n uselistorder i32* %sv_3, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 7, 4, 6, 5 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 0, 3, 2, 1 }\n uselistorder i32 18, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64)* @_WM_GLOBAL_ERROR, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_19, { 2, 1, 0, 4, 3, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "url_decode_r_11909", "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 = bitcast 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 i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond1, label LBL_1, label LBL_10\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n store i8 %4, i8* %.reg2mem\n store i64 %0, i64* %sv_0.13.reg2mem\n store i64 %7, i64* %sv_1.12.reg2mem\n br label LBL_2\n LBL_2:\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 %8 = icmp eq i8 %.reload, 37\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %10 = add i64 %sv_1.12.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 %15 = icmp eq i1 %14, 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 %15, label LBL_9, label LBL_4\n LBL_4:\n %16 = add i64 %sv_1.12.reload, 2\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 %21 = icmp eq i1 %20, 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 %21, label LBL_9, label LBL_5\n LBL_5:\n %22 = sext i8 %12 to i64\n %23 = and i64 %22, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i8\n %26 = mul i8 %25, 16\n %27 = load i8, i8* %17, align 1\n %28 = sext i8 %27 to i64\n %29 = and i64 %28, 4294967295\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i8\n %32 = add i64 %sv_0.13.reload, 1\n %33 = or i8 %26, %31\n %34 = inttoptr i64 %sv_0.13.reload to i8*\n store i8 %33, i8* %34, align 1\n store i64 %16, i64* %sv_1.0.reg2mem\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %35 = icmp eq i8 %.reload, 43\n %36 = icmp eq i1 %35, false\n %37 = add i64 %sv_0.13.reload, 1\n %38 = inttoptr i64 %sv_0.13.reload to i8*\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n store i8 32, i8* %38, align 1\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n store i8 %.reload, i8* %38, align 1\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %37, 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 %39 = add i64 %sv_1.0.reload, 1\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 ult i64 %sv_0.0.reload, %2\n %or.cond = icmp eq i1 %43, %42\n store i8 %41, i8* %.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.13.reg2mem\n store i64 %39, 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_2, label LBL_10\n LBL_10:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %44 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n store i8 0, i8* %44, align 1\n ret i64 %0\n\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i8* %38, { 1, 0 }\n uselistorder i64 %37, { 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, 1, 0, 2, 3 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 }\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 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 i64* %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_malloc_2266", "fun_name": "av_malloc", "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, 2147483632\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64* @malloc(i32 %0)\n %3 = ptrtoint i64* %2 to i64\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": "oggvorbis_init_encoder_17394", "fun_name": "oggvorbis_init_encoder", "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 %storemerge.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %4, 16\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 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i128 @FUNC(i128 %3, i128 %3)\n %13 = call i128 @FUNC(i32 %10)\n %14 = load i32, i32* inttoptr (i64 4202524 to i32*), align 4\n %15 = call i128 @__asm_movss.1(i32 %14)\n %16 = call i128 @FUNC(i128 %13, i128 %15)\n %17 = call i32 @FUNC(i128 %16)\n %18 = add i64 %4, 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 i128 @__asm_movd.2(i32 %17)\n %23 = and i64 %2, 4294967295\n %24 = call i64 @FUNC(i64 %5, i64 %23, i64 %21)\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %25 = trunc i64 %2 to i32\n %26 = add i64 %4, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %4, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %28 to i64\n %33 = call i64 @FUNC(i64 %5, i32 %25, i32 %31, i64 4294967295, i64 %32, i64 4294967295)\n store i64 %33, 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 %4, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cudaupload_query_formats_2822", "fun_name": "cudaupload_query_formats", "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, i64 add (i64 ptrtoint (i64* @gv_0 to i64), i64 8))\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 ret i64 %5\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64* nonnull @gv_1)\n %8 = add i64 %6, 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 %7, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = and i64 %13, 4294967295\n %spec.select = select i1 %16, i64 0, i64 %17\n ret i64 %spec.select\n\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @ff_formats_ref, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64*)* @ff_make_format_list, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cxusb_aver_power_ctrl_8355", "fun_name": "cxusb_aver_power_ctrl", "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 %indvars.iv.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 i8, align 1\n %sv_2 = alloca i64, align 8\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_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0, i64 0, i64 0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_3\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 = call i64 @FUNC(i64 %12, i64 0, i64 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_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %2, i64 1, i64 0, i64 0, 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 i32 %19, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_8, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %2, i64 21, i64 0, i64 0, 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 store i32 %23, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %2, i64 23, i64 0, i64 0, i64 0, i64 0)\n %27 = trunc i64 %26 to i32\n store i32 %27, 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 %28 = icmp eq i32 %sv_0.0.reload, 0\n %29 = icmp eq i1 %28, false\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %29, label LBL_13, label LBL_9\n LBL_9:\n store i64 -143549976838929906, i64* %sv_2, align 8\n %30 = call i64 @FUNC(i64 20)\n %31 = ptrtoint i64* %sv_2 to i64\n %32 = ptrtoint i8* %sv_1 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 %33 = add i64 %indvars.iv.reload, %31\n %34 = call i64 @FUNC(i64 %2, i64 2, i64 %33, i64 4, i64 %32, i64 1)\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.2.reg2mem\n br i1 %37, label LBL_13, label LBL_11\n LBL_11:\n %38 = load i8, i8* %sv_1, align 1\n %39 = icmp eq i8 %38, 8\n store i64 4294967175, i64* %rax.0.reg2mem\n br i1 %39, label LBL_12, label LBL_14\n LBL_12:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 4\n %40 = icmp ult i64 %indvars.iv.next, 40\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %35, i32* %sv_0.2.reg2mem\n br i1 %40, label LBL_10, label LBL_13\n LBL_13:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %41 = zext i32 %sv_0.2.reload to i64\n store i64 %41, 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, 0 }\n uselistorder i64 %2, { 2, 0, 1, 3, 5, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @cxusb_ctrl_msg, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_vorbis_len2vlc_3330", "fun_name": "ff_vorbis_len2vlc", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i1\n %rax.0.reg2mem = alloca i64\n %indvars.iv42.reg2mem = alloca i64\n %storemerge3.in16.reg2mem = alloca i32\n %storemerge317.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge414.reg2mem = alloca i32\n %sv_0.018.reg2mem = alloca i32\n %storemerge5.lcssa.reg2mem = alloca i32\n %storemerge519.reg2mem = alloca i32\n %indvars.iv29.reg2mem = alloca i64\n %storemerge8.lcssa.reg2mem = alloca i32\n %storemerge822.reg2mem = alloca i32\n %1 = load i1, i1* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_1 to i64\n %3 = bitcast i64* %sv_1 to i8*\n call void @FUNC(i8* nonnull %3, i64 0, i64 16)\n %4 = select i1 %1, i64 -128, i64 128\n %5 = add i64 %4, %2\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 8\n store i64 404, i64* %sv_1, align 8\n %7 = icmp ne i32 %arg3, 0\n %8 = icmp eq i1 %7, false\n store i32 0, i32* %storemerge8.lcssa.reg2mem\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = ptrtoint i32* %arg1 to i64\n store i32 0, i32* %storemerge822.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i32 %storemerge822.reload, 1\n %11 = icmp ult i32 %10, %arg3\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %storemerge822.reg2mem\n store i32 %10, i32* %storemerge8.lcssa.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %storemerge822.reload = load i32, i32* %storemerge822.reg2mem\n %13 = zext i32 %storemerge822.reload to i64\n %14 = add i64 %13, %9\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n store i32 %storemerge822.reload, i32* %storemerge8.lcssa.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_4:\n %storemerge8.lcssa.reload = load i32, i32* %storemerge8.lcssa.reg2mem\n %18 = icmp eq i32 %storemerge8.lcssa.reload, %arg3\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_27\n LBL_5:\n %20 = ptrtoint i64* %arg2 to i64\n %21 = zext i32 %storemerge8.lcssa.reload to i64\n %22 = mul i64 %21, 4\n %23 = add i64 %22, %20\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = ptrtoint i32* %arg1 to i64\n %26 = add i64 %21, %25\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp ult i8 %28, 33\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_27\n LBL_6:\n %30 = ptrtoint i64* %sv_2 to i64\n %31 = icmp eq i8 %28, 0\n br i1 %31, label LBL_9, label LBL_7\n LBL_7:\n %32 = add i64 %30, -160\n store i64 0, i64* %indvars.iv29.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem\n %33 = trunc i64 %indvars.iv29.reload to i32\n %34 = urem i32 %33, 32\n %35 = shl i32 1, %34\n %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1\n %36 = mul i64 %indvars.iv.next30, 4\n %37 = add i64 %32, %36\n %38 = inttoptr i64 %37 to i32*\n store i32 %35, i32* %38, align 4\n %39 = load i8, i8* %27, align 1\n %40 = zext i8 %39 to i64\n %41 = icmp ult i64 %indvars.iv.next30, %40\n store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem\n br i1 %41, label LBL_8, label LBL_9\n LBL_9:\n %42 = add i32 %storemerge8.lcssa.reload, 1\n %43 = icmp ult i32 %42, %arg3\n %44 = icmp eq i1 %43, false\n store i32 %42, i32* %storemerge519.reg2mem\n store i32 %42, i32* %storemerge5.lcssa.reg2mem\n br i1 %44, label LBL_12, label LBL_11\n LBL_10:\n %45 = add i32 %storemerge519.reload, 1\n %46 = icmp ult i32 %45, %arg3\n %47 = icmp eq i1 %46, false\n store i32 %45, i32* %storemerge519.reg2mem\n store i32 %45, i32* %storemerge5.lcssa.reg2mem\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %storemerge519.reload = load i32, i32* %storemerge519.reg2mem\n %48 = zext i32 %storemerge519.reload to i64\n %49 = add i64 %48, %25\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = icmp eq i8 %51, 0\n store i32 %storemerge519.reload, i32* %storemerge5.lcssa.reg2mem\n br i1 %52, label LBL_10, label LBL_12\n LBL_12:\n %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem\n %53 = icmp eq i32 %storemerge5.lcssa.reload, %arg3\n %54 = icmp eq i1 %53, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_13, label LBL_27\n LBL_13:\n %55 = add i64 %30, -160\n store i32 %42, i32* %sv_0.018.reg2mem\n br i1 %43, label LBL_14, label LBL_24\n LBL_14:\n %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem\n %56 = zext i32 %sv_0.018.reload to i64\n %57 = add i64 %56, %25\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = icmp ult i8 %59, 33\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %60, label LBL_15, label LBL_27\n LBL_15:\n %61 = icmp eq i8 %59, 0\n br i1 %61, label LBL_23, label LBL_16\n LBL_16:\n %62 = zext i8 %59 to i32\n store i32 %62, i32* %storemerge414.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge414.reload = load i32, i32* %storemerge414.reg2mem\n %63 = zext i32 %storemerge414.reload to i64\n %64 = mul i64 %63, 4\n %65 = add i64 %64, %55\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_19, label LBL_18\n LBL_18:\n %70 = add i32 %storemerge414.reload, -1\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n store i32 %70, i32* %storemerge414.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %72, label LBL_17, label LBL_27\n LBL_19:\n store i32 0, i32* %66, align 4\n %storemerge315 = add i32 %storemerge414.reload, 1\n %73 = load i8, i8* %58, align 1\n %74 = zext i8 %73 to i32\n %75 = icmp ugt i32 %storemerge315, %74\n br i1 %75, label LBL_22, label LBL_20\n LBL_20:\n %76 = zext i32 %storemerge315 to i64\n store i64 %76, i64* %indvars.iv.reg2mem\n store i32 %storemerge315, i32* %storemerge317.reg2mem\n store i32 %storemerge414.reload, i32* %storemerge3.in16.reg2mem\n br label LBL_21\n LBL_21:\n %storemerge3.in16.reload = load i32, i32* %storemerge3.in16.reg2mem\n %storemerge317.reload = load i32, i32* %storemerge317.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %77 = urem i32 %storemerge3.in16.reload, 32\n %78 = shl i32 1, %77\n %79 = add i32 %78, %67\n %80 = mul i64 %indvars.iv.reload, 4\n %81 = add i64 %80, %55\n %82 = inttoptr i64 %81 to i32*\n store i32 %79, i32* %82, align 4\n %storemerge3 = add i32 %storemerge317.reload, 1\n %83 = load i8, i8* %58, align 1\n %84 = zext i8 %83 to i32\n %85 = icmp ugt i32 %storemerge3, %84\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %86 = trunc i64 %indvars.iv.reload to i32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %storemerge3, i32* %storemerge317.reg2mem\n store i32 %86, i32* %storemerge3.in16.reg2mem\n br i1 %85, label LBL_22, label LBL_21\n LBL_22:\n %87 = mul i64 %56, 4\n %88 = add i64 %87, %20\n %89 = inttoptr i64 %88 to i32*\n store i32 %67, i32* %89, align 4\n br label LBL_23\n LBL_23:\n %90 = add i32 %sv_0.018.reload, 1\n %91 = icmp ult i32 %90, %arg3\n store i32 %90, i32* %sv_0.018.reg2mem\n br i1 %91, label LBL_14, label LBL_24\n LBL_24:\n store i64 1, i64* %indvars.iv42.reg2mem\n br label LBL_25\n LBL_25:\n %indvars.iv42.reload = load i64, i64* %indvars.iv42.reg2mem\n %92 = mul i64 %indvars.iv42.reload, 4\n %93 = add i64 %92, %55\n %94 = inttoptr i64 %93 to i32*\n %95 = load i32, i32* %94, align 4\n %96 = icmp eq i32 %95, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %96, label LBL_26, label LBL_27\n LBL_26:\n %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42.reload, 1\n %97 = icmp ult i64 %indvars.iv.next43, 33\n store i64 %indvars.iv.next43, i64* %indvars.iv42.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %97, label LBL_25, 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 %indvars.iv.reload, { 1, 0, 2 }\n uselistorder i32 %storemerge414.reload, { 0, 3, 1, 2 }\n uselistorder i8* %58, { 1, 0, 2 }\n uselistorder i32 %storemerge519.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next30, { 0, 2, 1 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %storemerge8.lcssa.reload, { 0, 2, 1 }\n uselistorder i32 %storemerge822.reload, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv29.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge519.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.018.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge414.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge317.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.in16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv42.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6, 7 }\n uselistorder i8 0, { 1, 2, 0, 3 }\n uselistorder i32 %arg3, { 2, 3, 4, 1, 5, 6, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_27, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_17, { 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, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "janus_voicemail_incoming_rtp_6676", "fun_name": "janus_voicemail_incoming_rtp", "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 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %5 = icmp eq i32* %arg1, null\n br i1 %5, label LBL_16, label LBL_1\n LBL_1:\n %6 = ptrtoint i32* %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 store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_16, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 ptrtoint (i32* @gv_0 to i64))\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* %rax.0.reg2mem\n br i1 %14, label LBL_16, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 4210748)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %17, label LBL_16, label LBL_4\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 = icmp eq i64 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_16, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(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 %22, i64* %rax.0.reg2mem\n br i1 %25, label LBL_16, label LBL_6\n LBL_6:\n %26 = add i64 %20, 4\n %27 = call i64 @FUNC(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 %27, i64* %rax.0.reg2mem\n br i1 %30, label LBL_16, label LBL_7\n LBL_7:\n %31 = add i64 %20, 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %34, label LBL_16, label LBL_8\n LBL_8:\n %35 = add i64 %20, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_16, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC()\n %40 = load i32, i32* %36, align 4\n %41 = sext i32 %40 to i64\n %42 = sub i64 %39, %41\n %43 = icmp slt i64 %42, 10000000\n br i1 %43, label LBL_11, label LBL_10\n LBL_10:\n %44 = call i64 @FUNC(i64 %31, i64 0)\n %45 = add i64 %20, 32\n %46 = call i64 @FUNC(i64 %45)\n %47 = call i64 @FUNC(i64 32)\n %48 = inttoptr i64 %47 to i64*\n store i64 %6, i64* %48, align 8\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), 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), i64 %4, i64 %2, i64 %1)\n %50 = add i64 %47, 8\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n %52 = add i64 %47, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %53, align 8\n %54 = add i64 %47, 24\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %55, align 8\n %56 = load i64, i64* @gv_4, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %47)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_11:\n %58 = ptrtoint i16* %arg2 to i64\n %59 = add i64 %58, 8\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = inttoptr i64 %61 to i16*\n %63 = load i16, i16* %62, align 2\n %64 = call i16 @ntohs(i16 %63)\n %65 = sext i16 %64 to i32\n %66 = add i64 %20, 16\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 0\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_13, label LBL_12\n LBL_12:\n %71 = urem i32 %65, 65536\n store i32 %71, i32* %67, align 4\n br label LBL_13\n LBL_13:\n store i32 0, i32* %sv_0, align 4\n %72 = urem i64 %3, 65536\n %73 = call i64 @FUNC(i64 %61, i64 %72, i32* nonnull %sv_0)\n %74 = icmp eq i64 %73, 0\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_15, label LBL_14\n LBL_14:\n %76 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_5, i64 0, i64 0))\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %77 = load i32, i32* %sv_0, align 4\n %78 = zext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %73, i64 %78)\n %80 = load i32, i32* %67, align 4\n %81 = urem i32 %65, 65536\n %82 = sub i32 %81, %80\n %83 = mul i32 %82, 960\n %84 = add i32 %83, 960\n %85 = inttoptr i64 %79 to i32*\n store i32 %84, i32* %85, align 4\n %86 = add i64 %20, 24\n %87 = inttoptr i64 %86 to i64*\n %88 = load i64, i64* %87, align 8\n %89 = call i64 @FUNC(i64 %88, i64 %79)\n %90 = call i64 @FUNC(i64 %79)\n %91 = call i64 @FUNC(i64 %20)\n store i64 %91, 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 %20, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @g_malloc, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @g_atomic_int_get, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_16, { 9, 10, 11, 4, 3, 2, 1, 0, 8, 7, 6, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_one_step_complete_msg_4325", "fun_name": "_one_step_complete_msg", "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 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_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %5 = and i64 %arg3, 4294967295\n store i32 -1, i32* %sv_2, align 4\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %5, i64 %4, i64 %2, i64 %1)\n %8 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32)\n %sext5 = mul i64 %3, 4294967296\n %9 = ashr exact i64 %sext5, 32\n store i64 %9, i64* %sv_1, align 8\n %10 = call i64 @FUNC(i64 0)\n %11 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4\n %12 = icmp eq i8 %11, 1\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = ptrtoint i64* %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 = load i64, i64* @gv_2, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = load i64, i64* @gv_2, align 8\n %20 = call i64 @FUNC(i64 %19, i64 2, i64 %10)\n store i8 1, i8* bitcast (i32* @gv_1 to i8*), align 4\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 1, i64* %sv_0, align 8\n %23 = load i32, i32* @gv_3, align 4\n %24 = icmp eq i32 %23, -1\n %25 = icmp eq i1 %24, false\n %26 = load i32, i32* @gv_4, align 4\n br i1 %25, label LBL_5, label LBL_3\n LBL_3:\n %27 = trunc i64 %21 to i32\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_5, i64 0, i64 0), i64 %28, i32 %27, i64 %5, i64 %2, i64 %1)\n %30 = call i64 @FUNC(i64* nonnull %sv_0, i32* nonnull %sv_2)\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_4\n LBL_4:\n %34 = ptrtoint i32* %sv_2 to i64\n %35 = load i32, i32* @gv_4, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_6, i64 0, i64 0), i64 %36, i64 %34, i64 %5, i64 %2, i64 %1)\n br label LBL_12\n LBL_5:\n %38 = and i64 %21, 4294967295\n %39 = zext i32 %26 to i64\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_7, i64 0, i64 0), i64 %39, i32 %23, i64 %38, i64 %5, i64 %1)\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %41 = icmp eq i32 %storemerge4.reload, 0\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n %42 = call i32 @sleep(i32 1)\n br label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64* nonnull %sv_0, i32* nonnull %sv_2, i64 0)\n %44 = trunc i64 %43 to i32\n %45 = load i32, i32* %sv_2, align 4\n %46 = or i32 %45, %44\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_12, label LBL_9\n LBL_9:\n %48 = add nuw nsw i32 %storemerge4.reload, 1\n %49 = icmp ult i32 %48, 5\n store i32 %48, i32* %storemerge4.reg2mem\n br i1 %49, label LBL_6, label LBL_10\n LBL_10:\n %50 = load i32, i32* @gv_4, align 4\n %51 = trunc i64 %21 to i32\n %52 = zext i32 %50 to i64\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_8, i64 0, i64 0), i64 %52, i32 %51, i64 %5, i64 %5, i64 %1)\n %54 = call i64 @FUNC(i64* nonnull %sv_0, i32* nonnull %sv_2)\n %55 = trunc i64 %54 to i32\n %56 = icmp slt i32 %55, 0\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_12, label LBL_11\n LBL_11:\n %58 = ptrtoint i32* %sv_2 to i64\n %59 = load i32, i32* @gv_4, align 4\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_9, i64 0, i64 0), i64 %60, i64 %58, i64 %5, i64 %5, i64 %1)\n br label LBL_12\n LBL_12:\n %62 = call i64 @FUNC(i64 %10)\n ret i64 %62\n\n uselistorder i32 %26, { 1, 0 }\n uselistorder i64 %21, { 1, 2, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %5, { 6, 3, 5, 2, 4, 1, 0, 7 }\n uselistorder i32* %sv_2, { 4, 1, 0, 2, 5, 3, 6 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 1, 2, 4, 3 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 5, 4, 0, 3, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error, { 1, 0 }\n uselistorder i64 (i64*, i32*)* @slurm_send_recv_controller_rc_msg, { 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @debug3, { 2, 1, 0 }\n uselistorder i32* @gv_4, { 3, 2, 0, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i8* bitcast (i32* @gv_1 to i8*), { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 8, 1, 7, 0, 9, 2, 3, 4, 5, 6 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder label LBL_12, { 4, 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_decode_entry_point_3338", "fun_name": "vc1_decode_entry_point", "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 %storemerge1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\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, i64 32)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2, i64 %1)\n %9 = call i64 @FUNC(i64 %3)\n %10 = trunc i64 %9 to i32\n %11 = bitcast i64* %arg2 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %3)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %4, 4\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 %4, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %3)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %4, 12\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %3)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %4, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %3)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %4, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = call i64 @FUNC(i64 %3)\n %33 = trunc i64 %32 to i32\n %34 = add i64 %4, 24\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = call i64 @FUNC(i64 %3, i64 2)\n %37 = trunc i64 %36 to i32\n %38 = add i64 %4, 28\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = call i64 @FUNC(i64 %3)\n %41 = trunc i64 %40 to i32\n %42 = add i64 %4, 32\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n %44 = call i64 @FUNC(i64 %3)\n %45 = trunc i64 %44 to i32\n %46 = add i64 %4, 36\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = call i64 @FUNC(i64 %3, i64 2)\n %49 = trunc i64 %48 to i32\n %50 = add i64 %4, 40\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n %52 = add i64 %4, 44\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_3, label LBL_1\n LBL_1:\n %56 = add i64 %4, 48\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %59, label LBL_3, label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %60 = call i64 @FUNC(i64 %3, i64 8)\n %61 = add i32 %storemerge1.reload, 1\n %62 = load i32, i32* %57, 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 i32 %61, i32* %storemerge1.reg2mem\n br i1 %65, label LBL_2, label LBL_3\n LBL_3:\n %66 = call i64 @FUNC(i64 %3)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 0\n store i64 %7, i64* %rcx.0.reg2mem\n br i1 %68, label LBL_5, label LBL_4\n LBL_4:\n %69 = call i64 @FUNC(i64 %3, i64 12)\n %70 = mul i64 %69, 2\n %71 = add i64 %70, 2\n %72 = call i64 @FUNC(i64 %3, i64 12)\n %73 = trunc i64 %72 to i32\n %74 = mul i32 %73, 2\n %75 = add i32 %74, 2\n %76 = and i64 %71, 4294967294\n %77 = call i64 @FUNC(i64 %5, i64 %76, i32 %75)\n store i64 %76, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %78 = load i32, i32* %35, align 4\n %79 = icmp eq i32 %78, 0\n br i1 %79, label LBL_7, label LBL_6\n LBL_6:\n %80 = call i64 @FUNC(i64 %3)\n %81 = trunc i64 %80 to i32\n %82 = add i64 %4, 52\n %83 = inttoptr i64 %82 to i32*\n store i32 %81, i32* %83, align 4\n br label LBL_7\n LBL_7:\n %84 = call i64 @FUNC(i64 %3)\n %85 = trunc i64 %84 to i32\n %86 = add i64 %4, 56\n %87 = inttoptr i64 %86 to i32*\n store i32 %85, i32* %87, align 4\n %88 = icmp eq i32 %85, 0\n br i1 %88, label LBL_9, label LBL_8\n LBL_8:\n %89 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n %90 = call i64 @FUNC(i64 %3, i64 3)\n %91 = trunc i64 %90 to i32\n %92 = add i64 %4, 60\n %93 = inttoptr i64 %92 to i32*\n store i32 %91, i32* %93, align 4\n br label LBL_9\n LBL_9:\n %94 = call i64 @FUNC(i64 %3)\n %95 = trunc i64 %94 to i32\n %96 = add i64 %4, 64\n %97 = inttoptr i64 %96 to i32*\n store i32 %95, i32* %97, align 4\n %98 = icmp eq i32 %95, 0\n br i1 %98, label LBL_11, label LBL_10\n LBL_10:\n %99 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n %100 = call i64 @FUNC(i64 %3, i64 3)\n %101 = trunc i64 %100 to i32\n %102 = add i64 %4, 68\n %103 = inttoptr i64 %102 to i32*\n store i32 %101, i32* %103, align 4\n br label LBL_11\n LBL_11:\n %104 = load i32, i32* %19, align 4\n %105 = load i32, i32* %15, align 4\n %106 = bitcast i64* %rsi to i32*\n %107 = load i32, i32* %106, align 8\n %108 = zext i32 %104 to i64\n %109 = zext i32 %105 to i64\n %110 = zext i32 %107 to i64\n %111 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([160 x i8], [160 x i8]* @gv_3, i64 0, i64 0), i64 %110, i64 %109, i64 %108)\n ret i64 0\n\n uselistorder i32* %57, { 1, 0 }\n uselistorder i64 %5, { 3, 2, 1, 0, 4 }\n uselistorder i64 %4, { 3, 4, 2, 5, 1, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }\n uselistorder i64 %3, { 5, 6, 4, 7, 3, 2, 1, 8, 0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @get_bits1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vidioc_g_register_4769", "fun_name": "vidioc_g_register", "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* %arg2 to i64\n %3 = trunc i64 %1 to i32\n %4 = call i64 @FUNC(i64 %2, i64 0)\n %5 = trunc i64 %4 to i32\n %6 = add i32 %5, -4\n %7 = icmp ult i32 %6, %3\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg3 to i64\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %2, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %8, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = add i64 %8, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 4, 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 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inject_fake_duration_metadata_3688", "fun_name": "inject_fake_duration_metadata", "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 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 55\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %arg1, align 8\n %6 = icmp eq i64 %4, 0\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* %arg1, align 8\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = inttoptr i64 %4 to i64*\n %9 = call i64* @memcpy(i64* %8, i64* nonnull %arg1, i32 13)\n %10 = load i64, i64* %2, align 8\n %11 = add i64 %0, 13\n %12 = add i64 %3, 123\n %13 = inttoptr i64 %12 to i64*\n %14 = inttoptr i64 %11 to i64*\n %15 = trunc i64 %10 to i32\n %16 = add i32 %15, -13\n %17 = call i64* @memcpy(i64* %13, i64* %14, i32 %16)\n %18 = load i64, i64* %2, align 8\n %19 = add i64 %18, 55\n store i64 %19, i64* %2, align 8\n %20 = call i64 @FUNC(i64 %0)\n store i64 %11, i64* %sv_0, align 8\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 18)\n %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 40)\n %23 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %24 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %25 = call i64 @FUNC(i64* nonnull %sv_0, i64 12)\n %26 = call i64 @FUNC(i64* nonnull %sv_0, i64 10)\n %27 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 10)\n %28 = call i64 @FUNC(i64* nonnull %sv_0, i64 8)\n %29 = call i64 @FUNC(i64* nonnull %sv_0, i64 1)\n %30 = call i64 @FUNC(i64* nonnull %sv_0, i64 8)\n %31 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 8)\n %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %33 = add i64 %0, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i128 @FUNC(i64 %35)\n %37 = call i64 @FUNC()\n %sext = mul i64 %37, 4294967296\n %38 = ashr exact i64 %sext, 32\n %39 = call i64 @FUNC(i64* nonnull %sv_0, i64 %38)\n %40 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %41 = call i64 @FUNC(i64* nonnull %sv_0, i64 9)\n %42 = call i64 @FUNC(i64* nonnull %sv_0, i64 52)\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, 2, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*, i8*, i64)* @bytestream_put_buffer, { 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream_put_be16, { 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream_put_be32, { 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream_put_be24, { 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream_put_byte, { 4, 3, 2, 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_get_stream_index_3244", "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_7, 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 = icmp eq i64 %15, 0\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = inttoptr i64 %15 to i64*\n %18 = call i32 @memcmp(i64* %8, i64* %17, i32 16)\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 = zext i32 %storemerge4.reload to i64\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %22 = add i32 %storemerge4.reload, 1\n %23 = sext i32 %22 to i64\n %24 = icmp sgt i64 %9, %23\n store i64 %23, i64* %.reg2mem\n store i32 %22, i32* %storemerge4.reg2mem\n br i1 %24, label LBL_2, label LBL_6\n LBL_6:\n %phitmp = icmp eq i32 %2, 1\n %phitmp8 = icmp eq i1 %phitmp, false\n %phitmp9 = select i1 %phitmp8, i64 4294967295, i64 0\n store i64 %phitmp9, 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, { 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_7, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r100_cs_parse_4736", "fun_name": "r100_cs_parse", "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 %.reg2mem3 = alloca i32\n %sv_0.0.in.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i32, i32* %0\n %sv_1 = alloca i32, align 4\n store i64 0, i64* %rdi, align 8\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 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_1, label LBL_14\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 0, i64 %2)\n %7 = add i64 %5, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %2, i64* %8, align 8\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = bitcast i32* %sv_1 to i64*\n %12 = add i32 %1, 2\n %13 = bitcast i64* %rdi to i32*\n %14 = add i64 %5, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %5, 32\n %17 = inttoptr i64 %16 to i32*\n %.pre = load i32, i32* %10, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n store i64 %5, i64* %rdi, align 8\n %18 = call i64 @FUNC(i64 %5, i64* nonnull %11, i32 %.reload)\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_3, label LBL_14\n LBL_3:\n %21 = load i32, i32* %10, align 4\n %22 = add i32 %12, %21\n store i32 %22, i32* %10, align 4\n %23 = load i32, i32* %sv_1, align 4\n %24 = icmp eq i32 %23, 3\n br i1 %24, label LBL_9, label LBL_4\n LBL_4:\n %25 = icmp sgt i32 %23, 3\n br i1 %25, label LBL_10, label LBL_5\n LBL_5:\n store i32 %22, i32* %.reg2mem3\n switch i32 %23, label LBL_10 [\n i32 0, label LBL_6\n i32 2, label LBL_13\n ]\n LBL_6:\n %26 = load i32, i32* %13, align 8\n %27 = icmp slt i32 %26, 200\n %28 = load i64, i64* %rdi, align 8\n %29 = add i64 %28, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %28, 4\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %35 = call i64 @FUNC(i64 %5, i64* nonnull %11, i32 %34, i32 %31, i64 4198877)\n store i64 %35, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_8:\n %36 = call i64 @FUNC(i64 %5, i64* nonnull %11, i32 %34, i32 %31, i64 4198896)\n store i64 %36, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_9:\n %37 = call i64 @FUNC(i64 %5, i64* nonnull %11)\n store i64 %37, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_10:\n %38 = zext i32 %23 to i64\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %38)\n store i64 4294967274, i64* %rax.0.shrunk.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 %40 = icmp eq i32 %sv_0.0, 0\n store i64 %sv_0.0.in.reload, i64* %rax.0.shrunk.reg2mem\n br i1 %40, label LBL_11.LBL_13_crit_edge, label LBL_14\n LBL_12:\n %.pre2 = load i32, i32* %10, align 4\n store i32 %.pre2, i32* %.reg2mem3\n br label LBL_13\n LBL_13:\n %.reload4 = load i32, i32* %.reg2mem3\n %41 = load i64, i64* %15, align 8\n %42 = load i32, i32* %17, align 4\n %43 = sext i32 %42 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %44, %41\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp ult i32 %.reload4, %47\n store i32 %.reload4, i32* %.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %48, label LBL_2, 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 i32 %.reload4, { 1, 0 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %31, { 1, 0 }\n uselistorder i64* %11, { 2, 0, 1, 3 }\n uselistorder i32* %10, { 0, 3, 2, 1 }\n uselistorder i64 %5, { 4, 0, 1, 6, 7, 3, 2, 5, 8 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rdi, { 3, 1, 2, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %.reg2mem3, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 2, 5, 3, 4 }\n uselistorder i64 (i64, i64*, i32, i32, i64)* @r100_cs_parse_packet0, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_14, { 0, 1, 4, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pbs_disconnect_5421", "fun_name": "pbs_disconnect", "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, 11\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 27\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 = inttoptr i64 %5 to i64*\n %7 = call i32 @pthread_mutex_lock(i64* %6)\n %8 = add i64 %2, ptrtoint (i32** @gv_1 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 = call i64 @FUNC(i64 %11)\n %13 = add i64 %2, ptrtoint (i64* @gv_2 to i64)\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_3, label LBL_2\n LBL_2:\n %17 = inttoptr i64 %15 to i64*\n call void @free(i64* %17)\n br label LBL_3\n LBL_3:\n %18 = add i64 %2, ptrtoint (i32** @gv_3 to i64)\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 8\n %20 = add i64 %2, ptrtoint (i32** @gv_4 to i64)\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 8\n %22 = load i64, i64* %4, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = call i32 @pthread_mutex_unlock(i64* %23)\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 i32 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "picoquic_decode_stop_sending_frame_13263", "fun_name": "picoquic_decode_stop_sending_frame", "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 %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 %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 %2 = add i64 %0, 1\n %3 = call i64 @FUNC(i64 %2, i64 %arg3, i64* nonnull %sv_2)\n %4 = icmp eq i64 %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 %3, i64 %arg3, i64* nonnull %sv_1)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = call i64 @FUNC(i64 %1, i64 1, i64 4)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_3:\n %9 = load i64, i64* %sv_2, align 8\n %10 = call i64 @FUNC(i64 %1, i64 %9, i64 1)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_4, label LBL_14\n LBL_4:\n %13 = load i64, i64* %sv_2, align 8\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 br i1 %17, label LBL_7, label LBL_5\n LBL_5:\n %18 = add i64 %1, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = load i64, i64* %sv_2, align 8\n %22 = zext i32 %20 to i64\n %23 = call i64 @FUNC(i64 %21, 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_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %1, i64 2, i64 4)\n store i64 %5, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_7:\n %28 = add i64 %10, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %5, i64* %sv_0.1.reg2mem\n br i1 %32, label LBL_14, label LBL_8\n LBL_8:\n %33 = add i64 %10, 12\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 i64 %5, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_14, label LBL_9\n LBL_9:\n store i32 1, i32* %29, align 4\n %38 = load i64, i64* %sv_1, align 8\n %39 = add i64 %10, 24\n %40 = inttoptr i64 %39 to i64*\n store i64 %38, i64* %40, align 8\n %41 = add i64 %1, 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 %5, i64* %sv_0.1.reg2mem\n br i1 %44, label LBL_14, label LBL_10\n LBL_10:\n %45 = add i64 %10, 16\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 %5, i64* %sv_0.1.reg2mem\n br i1 %49, label LBL_14, label LBL_11\n LBL_11:\n %50 = trunc i64 %1 to i32\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_13, label LBL_12\n LBL_12:\n %52 = inttoptr i64 %10 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %1, 8\n %55 = call i64 @FUNC(i64 %1, i64 %54, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %53, i64 3)\n %56 = call i64 @FUNC(i64 %1, i64 3, i64 4)\n br label LBL_13\n LBL_13:\n store i32 1, i32* %46, align 4\n store i64 %5, 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 ret i64 %sv_0.1.reload\n\n uselistorder i64 %10, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %5, { 1, 2, 3, 4, 5, 0, 6, 7 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0, 4 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %1, { 3, 6, 2, 5, 4, 0, 1, 7, 8 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 4, 5, 6, 7, 2, 1, 8 }\n uselistorder i64 (i64, i64, i64)* @picoquic_connection_error, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @picoquic_frames_varint_decode, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 0, 1, 5, 6 }\n uselistorder label LBL_14, { 1, 2, 3, 4, 5, 6, 0, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "AppLayerProtoDetectGetProtoByName_10584", "fun_name": "AppLayerProtoDetectGetProtoByName", "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()\n %1 = inttoptr i64 %arg1 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 %2 = mul i64 %indvars.iv.reload, 8\n %3 = add i64 %2, ptrtoint ([3 x i8*]* @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 br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to i8*\n %8 = call i32 @strlen(i8* %7)\n %9 = call i32 @strlen(i8* %1)\n %10 = icmp eq i32 %8, %9\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = call i32 @strlen(i8* %1)\n %13 = sext i32 %12 to i64\n %14 = load i64, i64* %4, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %arg1, i64 %13)\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 %indvars.iv.reload, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\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, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_1\n LBL_6:\n %20 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n ret i64 %20\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scene_sad8_1440", "fun_name": "scene_sad8", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i32 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %0 = add i64 %arg7, 4294967289\n %1 = and i64 %0, 4294967295\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = add i32 %arg6, -7\n %4 = zext i32 %3 to i64\n %5 = icmp eq i32 %3, 0\n %6 = zext i32 %arg3 to i64\n store i64 0, i64* %sv_0.15.reg2mem\n store i32 0, i32* %sv_1.04.reg2mem\n br label LBL_4\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %7 = add i64 %sv_0.02.reload, %6\n %8 = add i32 %storemerge3.reload, 8\n %9 = sext i32 %8 to i64\n %10 = icmp slt i64 %9, %4\n store i32 %8, i32* %storemerge3.reg2mem\n store i64 %7, i64* %sv_0.02.reg2mem\n store i64 %7, i64* %sv_0.0.lcssa.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %11 = add i32 %sv_1.04.reload, 8\n %12 = sext i32 %11 to i64\n %13 = icmp sgt i64 %1, %12\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.15.reg2mem\n store i32 %11, i32* %sv_1.04.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %13, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.02.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_5:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %14 = call i64 @FUNC()\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %sv_0.15.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "chd_dec_fetch_cdata_5389", "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 %_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": "0" }, { "dataset": "CompRealVul", "file": "imap_subscribe_5515", "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 %.pre-phi.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 %sv_3 = alloca i8, align 1\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\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_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_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_3, label LBL_2\n LBL_2:\n %10 = load i64, i64* %sv_5, 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 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @globalFUNCvarFUNC402017, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 %13)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %15 = call i64 @FUNC(i64* nonnull %sv_4, i64 0)\n %sext3 = mul i64 %15, 4294967296\n %16 = icmp eq i64 %sext3, 0\n br i1 %16, label LBL_20, label LBL_5\n LBL_5:\n %17 = ashr exact i64 %sext3, 32\n %18 = load i64, i64* %sv_5, align 8\n %19 = bitcast i8* %sv_3 to i64*\n %20 = call i64 @FUNC(i64 %17, i64 %18, i64* nonnull %19, i64 1024)\n %21 = load i8, i8* %sv_3, 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_6\n LBL_6:\n %24 = call i64 @FUNC(i64* nonnull %19, 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 %25 = ashr exact i64 %sext, 56\n %26 = load i8, i8* inttoptr (i64 4210788 to i8*), align 4\n %27 = icmp eq i8 %26, 0\n br i1 %27, label LBL_7.LBL_12_crit_edge, label LBL_9\n LBL_8:\n %.pre = trunc i64 %25 to i8\n store i8 %.pre, i8* %.pre-phi.reg2mem\n br label LBL_12\n LBL_9:\n %28 = call i64 @FUNC(i64* nonnull %sv_4)\n %29 = call i64 @FUNC(i64* nonnull %sv_2)\n %30 = ptrtoint i64* %sv_1 to i64\n store i64 %30, i64* %sv_2, align 8\n %31 = trunc i64 %25 to i8\n %32 = icmp eq i8 %31, 0\n %33 = bitcast i64* %sv_0 to i8*\n %34 = select i1 %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*)\n %35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %33, i32 1024, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* %34)\n %36 = sext i32 %35 to i64\n %37 = sub nsw i64 1024, %36\n %38 = ptrtoint i64* %sv_0 to i64\n %39 = add i64 %36, %38\n %40 = call i64 @FUNC(i64 %39, i64 %37, i64 %arg1, i64 1)\n %41 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_4, i64* nonnull %sv_2)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_11, label LBL_10\n LBL_10:\n %44 = ptrtoint i64* %sv_4 to i64\n %45 = 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 %44, i64 %2, i64 %1)\n br label LBL_11\n LBL_11:\n %46 = call i64 @FUNC(i64* nonnull %sv_4)\n store i8 %31, i8* %.pre-phi.reg2mem\n br label LBL_12\n LBL_12:\n %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem\n %47 = icmp eq i8 %.pre-phi.reload, 0\n br i1 %47, label LBL_14, label LBL_13\n LBL_13:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @globalFUNCvarFUNC402065, i64 0, i64 0))\n %49 = call i64 @FUNC(i64 %48, i64* nonnull %19)\n br label LBL_15\n LBL_14:\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @globalFUNCvarFUNC40207a, i64 0, i64 0))\n %51 = call i64 @FUNC(i64 %50, i64* nonnull %19)\n br label LBL_15\n LBL_15:\n %52 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0, i64 1024, i64* nonnull %19)\n %53 = select i1 %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*)\n %54 = 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* %53, i64* nonnull %sv_0)\n %55 = call i64 @FUNC(i64 %17, i64* nonnull %19, i64 0)\n %56 = trunc i64 %55 to i32\n %57 = icmp slt i32 %56, 0\n br i1 %57, label LBL_20, label LBL_16\n LBL_16:\n %58 = load i64, i64* %sv_5, align 8\n %59 = call i64 @FUNC(i64 %17, i64 %58)\n %60 = load i64, i64* %sv_5, align 8\n br i1 %47, label LBL_18, label LBL_17\n LBL_17:\n %61 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @globalFUNCvarFUNC4020a5, i64 0, i64 0))\n %62 = inttoptr i64 %60 to i64*\n %63 = call i64 @FUNC(i64 %61, i64* %62)\n br label LBL_19\n LBL_18:\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @globalFUNCvarFUNC4020b6, i64 0, i64 0))\n %65 = inttoptr i64 %60 to i64*\n %66 = call i64 @FUNC(i64 %64, i64* %65)\n br label LBL_19\n LBL_19:\n %67 = call i64 @FUNC(i64* nonnull %sv_5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %68 = 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 %60, { 1, 0 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64* %19, { 2, 3, 4, 1, 0, 5 }\n uselistorder i64* %sv_5, { 0, 1, 3, 4, 5, 6, 2 }\n uselistorder i64* %sv_4, { 0, 4, 1, 2, 3 }\n uselistorder i8* %sv_3, { 2, 0, 1 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 0, 1, 2, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64*)* @mutt_message, { 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @FREE, { 2, 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @mutt_buffer_init, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 (i8*)* @_, { 4, 3, 2, 1, 0 }\n uselistorder i64 0, { 0, 11, 12, 13, 14, 31, 15, 16, 4, 5, 9, 10, 17, 18, 19, 20, 21, 22, 6, 7, 23, 24, 8, 32, 25, 26, 34, 1, 2, 3, 27, 28, 35, 29, 30, 33 }\n uselistorder i32 1, { 11, 10, 6, 9, 8, 7, 5, 4, 3, 12, 2, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "url_connect_901", "fun_name": "url_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 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 0)\n %3 = ptrtoint i64* %sv_1 to i64\n %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 0)\n %5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64 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 %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 %3)\n store i64 0, i64* %arg1, 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 %13 = call i64 @FUNC(i64* nonnull %sv_1)\n %14 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %14\n\n uselistorder i64* %sv_1, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 (i64*, i64, i64)* @av_dict_copy, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ttm_bo_cleanup_refs_and_unlock_3758", "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 i32\n %sv_0.05.reg2mem = alloca i32\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 = 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 store i64 %1, i64* %storemerge3.reg2mem\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 i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, i64* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %10 = call i64 @FUNC(i64 %storemerge3.reload, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n %14 = trunc i64 %arg3 to i8\n %15 = icmp eq i8 %14, 1\n %or.cond = or i1 %15, %13\n br i1 %or.cond, label LBL_7, label LBL_3\n LBL_3:\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 = call i64 @FUNC(i64 %0)\n %21 = trunc i64 %arg2 to i8\n %22 = call i64 @FUNC(i64 %storemerge3.reload, i64 1, i8 %21, i64 3000)\n %23 = icmp slt i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_14\n LBL_4:\n %25 = icmp eq i64 %22, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_5, label LBL_14\n LBL_5:\n %27 = call i64 @FUNC(i64 %0)\n %28 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 0)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n store i32 0, i32* %sv_0.05.reg2mem\n br i1 %30, label LBL_8, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %. = sext i1 %12 to i32\n %32 = icmp eq i1 %13, false\n store i32 %., i32* %sv_0.05.reg2mem\n store i32 %., i32* %sv_0.06.reg2mem\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %33 = call i64 @FUNC(i64 %1)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n %37 = icmp eq i1 %36, false\n store i32 %sv_0.05.reload, i32* %sv_0.06.reg2mem\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %38 = call i64 @FUNC(i64 %0)\n %39 = call i64 @FUNC(i64 %0)\n %40 = zext i32 %sv_0.06.reload to i64\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_10:\n %41 = call i64 @FUNC(i64 %0)\n %42 = call i64 @FUNC(i64 %1)\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_13, label LBL_11\n LBL_11:\n %46 = add i64 %0, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, %1\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = call i64 @FUNC(i64 %1)\n br label LBL_13\n LBL_13:\n %51 = call i64 @FUNC(i64 %1)\n %52 = add i64 %0, 32\n %53 = call i64 @FUNC(i64 %52, i64 4198901)\n %54 = call i64 @FUNC(i64 %0)\n %55 = 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 %22, { 1, 0, 2 }\n uselistorder i1 %12, { 1, 0 }\n uselistorder i64 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 4, 5, 0, 6 }\n uselistorder i64 %0, { 6, 7, 8, 5, 9, 10, 11, 0, 1, 2, 3, 4, 12, 13 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.06.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 1, 2 }\n uselistorder i64 (i64)* @spin_unlock, { 3, 2, 1, 0 }\n uselistorder i1 false, { 3, 1, 4, 5, 6, 7, 0, 2, 8 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64 (i64)* @list_empty, { 2, 1, 0 }\n uselistorder label LBL_14, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "EVP_DecodeFinal_8295", "fun_name": "EVP_DecodeFinal", "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 = bitcast i64* %arg3 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 store i64 1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = call i64 @FUNC(i64 %5, i64 %7, i32 %3)\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_3\n LBL_2:\n store i32 0, i32* %arg1, align 4\n store i32 %9, i32* %2, 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 i32 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_fatal_signal_10621", "fun_name": "print_fatal_signal", "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 = call i64 @FUNC()\n %4 = load i8*, i8** @gv_0, align 8\n %5 = ptrtoint i8* %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = and i64 %6, 4294967295\n %8 = load i8*, i8** @gv_0, align 8\n %9 = ptrtoint i8* %8 to i64\n %10 = and i64 %arg1, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %7, i64 %10, i64 %2, i64 %1)\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC(i64 %3)\n %14 = call i64 @FUNC()\n ret i64 %14\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 6, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_asn1_ltostr_5206", "fun_name": "_asn1_ltostr", "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.1.reg2mem = alloca i64\n %indvars.iv6.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %0 = icmp slt i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 %arg1, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = bitcast i64* %arg2 to i8*\n store i8 45, i8* %2, align 1\n %3 = sub i64 0, %arg1\n store i64 %3, i64* %sv_0.0.reg2mem\n store i64 1, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %sv_2 to i64\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 %5, -64\n %7 = or i64 %sv_1.0.reload, %6\n store i64 0, i64* %indvars.iv6.reg2mem\n store i64 %sv_0.0.reload, 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 %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %8 = lshr i64 %sv_0.1.reload, 63\n %9 = ashr i64 %sv_0.1.reload, 63\n %10 = and i64 %9, 246\n %11 = add i64 %10, %sv_0.1.reload\n %12 = trunc i64 %11 to i8\n %13 = add i8 %12, 48\n %14 = add i64 %7, %indvars.iv6.reload\n %15 = inttoptr i64 %14 to i8*\n store i8 %13, i8* %15, align 1\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %16 = icmp ne i64 %8, 0\n %17 = add nuw nsw i64 %indvars.iv.next7, %sv_1.0.reload\n %18 = icmp ult i64 %17, 19\n %or.cond = icmp eq i1 %18, %16\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n store i64 %8, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_4:\n %19 = trunc i64 %indvars.iv.next7 to i32\n %20 = icmp sgt i32 %19, 0\n %sext8 = mul i64 %17, 4294967296\n %21 = ashr exact i64 %sext8, 32\n br i1 %20, label LBL_5, label LBL_7\n LBL_5:\n %22 = add i64 %sv_1.0.reload, %4\n %23 = add i64 %21, %6\n %wide.trip.count = and i64 %indvars.iv.next7, 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 %24 = sub i64 0, %indvars.iv.reload\n %25 = sub i64 %24, 1\n %26 = add i64 %22, %indvars.iv.reload\n %27 = add i64 %23, %25\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = inttoptr i64 %26 to i8*\n store i8 %29, i8* %30, 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_7, label LBL_6\n LBL_7:\n %31 = add i64 %21, %4\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 1\n ret i64 %4\n\n uselistorder i64 %indvars.iv.next7, { 1, 2, 0, 3 }\n uselistorder i64 %sv_0.1.reload, { 0, 2, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0, 2 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 3, 1, 2, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "adx_decode_1646", "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 %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %sv_2.05.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\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 %sv_3 = alloca i64, align 8\n %sext = mul i64 %arg4, 4294967296\n %5 = ashr exact i64 %sext, 30\n %6 = add i64 %5, %4\n %7 = inttoptr i64 %6 to i16*\n %8 = trunc i64 %1 to i32\n %9 = mul i32 %8, 256\n %10 = and i32 %9, 65280\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 i32\n %15 = or i32 %10, %14\n %16 = add i64 %2, 2\n %17 = call i64 @FUNC(i64* nonnull %sv_3, i64 %16, i64 128)\n %18 = load i16, i16* %7, align 2\n %19 = sext i16 %18 to i32\n %20 = add i64 %6, 2\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = sext i16 %22 to i32\n %24 = mul i32 %15, 4096\n %25 = add i64 %4, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %storemerge6.reg2mem\n store i32 %23, i32* %sv_2.05.reg2mem\n store i32 %19, i32* %sv_1.04.reg2mem\n store i64 %3, i64* %sv_0.03.reg2mem\n br label LBL_1\n LBL_1:\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 %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %27 = call i64 @FUNC(i64* nonnull %sv_3, i64 4)\n %28 = trunc i64 %27 to i32\n %29 = mul i32 %24, %28\n %30 = sub i32 %sv_1.04.reload, %sv_2.05.reload\n %31 = add i32 %29, %30\n %32 = icmp slt i32 %31, -134217728\n store i64 4294934528, i64* %storemerge2.reg2mem\n br i1 %32, label LBL_3, label LBL_2\n LBL_2:\n %33 = ashr i32 %31, 12\n %34 = add nsw i32 %33, -32767\n %35 = sub nsw i32 32766, %33\n %36 = and i32 %35, %33\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i32 %34, 0\n %39 = icmp slt i32 %34, 0\n %40 = icmp eq i1 %39, %37\n %41 = icmp eq i1 %38, false\n %42 = icmp eq i1 %40, %41\n %43 = zext i32 %33 to i64\n %44 = select i1 %42, i64 32767, i64 %43\n store i64 %44, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %45 = trunc i64 %storemerge2.reload to i32\n %46 = trunc i64 %storemerge2.reload to i16\n %47 = inttoptr i64 %sv_0.03.reload to i16*\n store i16 %46, i16* %47, align 2\n %48 = load i32, i32* %26, align 4\n %49 = sext i32 %48 to i64\n %50 = mul i64 %49, 2\n %51 = add i64 %50, %sv_0.03.reload\n %52 = add nuw nsw i32 %storemerge6.reload, 1\n %exitcond = icmp eq i32 %52, 32\n store i32 %52, i32* %storemerge6.reg2mem\n store i32 %sv_1.04.reload, i32* %sv_2.05.reg2mem\n store i32 %45, i32* %sv_1.04.reg2mem\n store i64 %51, i64* %sv_0.03.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n store i16 %46, i16* %7, align 2\n %53 = trunc i32 %sv_1.04.reload to i16\n store i16 %53, i16* %21, align 2\n ret i64 %6\n\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %33, { 2, 0, 3, 1 }\n uselistorder i32 %sv_1.04.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.03.reload, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.05.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shmem_remount_fs_11842", "fun_name": "shmem_remount_fs", "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 %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 = 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 store i64 %3, i64* %sv_1, align 8\n %7 = add i64 %1, 24\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_1, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 4294967274, i64* %storemerge.in.reg2mem\n br i1 %12, label LBL_1, label LBL_8\n LBL_1:\n %13 = add i64 %1, 32\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i64, i64* %5, align 8\n %16 = add i64 %1, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = sub i64 %15, %18\n %20 = load i64, i64* %sv_1, align 8\n %21 = add i64 %1, 40\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 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 %29 = icmp ult i64 %6, %19\n %or.cond = or i1 %29, %28\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_2\n LBL_2:\n %30 = load i64, i64* %sv_1, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %32 = load i64, i64* %2, align 8\n %33 = icmp eq i64 %32, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_7, label LBL_4\n LBL_4:\n %34 = icmp eq i64 %6, 0\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = load i64, i64* %5, align 8\n %36 = icmp eq i64 %35, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n store i64 %30, i64* %2, align 8\n store i64 %6, i64* %5, align 8\n %37 = sub i64 %6, %19\n store i64 %37, i64* %17, align 8\n %38 = load i64, i64* %8, align 8\n %39 = call i64 @FUNC(i64 %38)\n store i64 %9, i64* %8, align 8\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 %40 = call i64 @FUNC(i64 %13)\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\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 %23, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64* %8, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 2, 3, 0 }\n uselistorder i64* %5, { 1, 0, 2, 3 }\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64* %sv_1, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 4294967274, { 2, 1, 3, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "omap2_gpio_module_readp_3500", "fun_name": "omap2_gpio_module_readp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, -4\n %1 = call i64 @FUNC(i64 %arg1, i64 %0)\n %2 = trunc i64 %arg2 to i32\n %3 = mul i32 %2, 8\n %4 = and i32 %3, 24\n %5 = icmp eq i32 %4, 0\n %6 = trunc i64 %1 to i32\n %7 = lshr i32 %6, %4\n %8 = zext i32 %7 to i64\n %storemerge = select i1 %5, i64 %1, i64 %8\n ret i64 %storemerge\n\n uselistorder i32 %4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_dec_create_9712", "fun_name": "jpc_dec_create", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 144)\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 store i64 0, i64* %3, align 8\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, 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 store i32 0, i32* %13, align 4\n %14 = add i64 %0, 28\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 36\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 40\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 44\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 48\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 56\n %27 = inttoptr i64 %26 to i64*\n store i64 0, i64* %27, align 8\n %28 = add i64 %0, 64\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %0, 68\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = ptrtoint i32* %arg2 to i64\n %33 = add i64 %0, 72\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = add i64 %0, 80\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n %37 = bitcast i64* %rdi to i32*\n %38 = load i32, i32* %37, align 8\n %39 = add i64 %0, 88\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = ptrtoint i32* %arg1 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 = add i64 %0, 92\n %46 = inttoptr i64 %45 to i32*\n store i32 %44, i32* %46, align 4\n %47 = add i64 %0, 96\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, align 4\n %49 = add i64 %0, 100\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = add i64 %0, 104\n %52 = inttoptr i64 %51 to i32*\n store i32 0, i32* %52, align 4\n %53 = add i64 %0, 112\n %54 = inttoptr i64 %53 to i64*\n store i64 0, i64* %54, align 8\n %55 = add i64 %0, 120\n %56 = inttoptr i64 %55 to i64*\n store i64 0, i64* %56, align 8\n %57 = add i64 %0, 128\n %58 = inttoptr i64 %57 to i64*\n store i64 0, i64* %58, align 8\n %59 = add i64 %0, 136\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = add i64 %41, 8\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i64 %0, 140\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, 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": "full_stripe_write_3987", "fun_name": "full_stripe_write", "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, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = and i64 %1, 4294967295\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %6 = call i64 @FUNC(i64 %0)\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* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = 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* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysbus_fdc_class_init_1643", "fun_name": "sysbus_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 = or i64 %4, 1\n store i64 %5, i64* %3, align 8\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": "VectorClamp_12696", "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 ()* @MinF, { 3, 2, 1, 0 }\n uselistorder i64 ()* @MaxF, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_st8_14461", "fun_name": "gen_st8", "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()\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fuse_aio_complete_9624", "fun_name": "fuse_aio_complete", "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 %0 = trunc i64 %arg2 to i32\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = add i64 %arg1, 32\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i32 %0, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\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 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n %spec.select = select i1 %10, i64 %8, i64 %arg2\n %11 = trunc i64 %spec.select to i32\n store i32 %11, i32* %6, align 4\n br label LBL_5\n LBL_2:\n %12 = icmp slt i64 %arg3, 0\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = add i64 %arg1, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp slt i64 %15, 0\n %17 = icmp sgt i64 %15, %arg3\n %or.cond = or i1 %16, %17\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_4:\n store i64 %arg3, i64* %14, align 8\n br label LBL_5\n LBL_5:\n %18 = add i64 %arg1, 24\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i32 %20, -1\n store i32 %21, i32* %19, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n %24 = trunc i64 %1 to i8\n %25 = icmp eq i8 %24, 0\n %or.cond5 = or i1 %25, %23\n br i1 %or.cond5, label LBL_7, label LBL_6\n LBL_6:\n %26 = add i64 %arg1, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n br label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %2)\n store i64 %30, i64* %rax.1.reg2mem\n br i1 %23, label LBL_12, label LBL_8\n LBL_8:\n %sext3.mask6 = urem i64 %1, 256\n %31 = icmp eq i64 %sext3.mask6, 1\n store i64 0, i64* %rax.1.reg2mem\n br i1 %31, label LBL_12, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC(i64 %arg1)\n %33 = icmp slt i64 %32, 0\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = add i64 %arg1, 8\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 %37)\n %39 = call i64 @FUNC(i64 %37)\n %40 = add i64 %38, 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = inttoptr i64 %38 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i32 %43, 1\n store i32 %44, i32* %42, align 4\n %45 = inttoptr i64 %39 to i32*\n store i32 %44, i32* %45, align 4\n %46 = call i64 @FUNC(i64 %40)\n br label LBL_11\n LBL_11:\n %47 = call i64 @FUNC(i64 %arg1)\n store i64 %47, 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 i1 %23, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder i64 %arg1, { 4, 3, 5, 2, 6, 1, 0, 7, 8 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_rdma_route_resolved_3747", "fun_name": "nvme_rdma_route_resolved", "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 = 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 = sext i32 %5 to i64\n store i64 %6, i64* %sv_0, align 8\n %7 = call i64 @FUNC(i64 1)\n %8 = call i64 @FUNC(i64 %0)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %0, 32\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 = load i32, i32* %12, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_0)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %24, label LBL_2, label LBL_1\n LBL_1:\n %25 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %23)\n %26 = call i64 @FUNC(i64 %0)\n %27 = and i64 %22, 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 i64 (i64)* @cpu_to_le16, { 3, 2, 1, 0 }\n uselistorder i64 0, { 3, 4, 0, 6, 1, 2, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_attach_1485", "fun_name": "v9fs_attach", "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 %.reg2mem7 = alloca i32\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\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 %5 = load i32, i32* %1\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %6 = load i64, i64* %0\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, 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 = bitcast i32* %sv_3 to i64*\n %11 = bitcast i32* %sv_4 to i64*\n %12 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %10, i64* nonnull %11, i64* nonnull %sv_5)\n %13 = load i64, i64* %sv_5, align 8\n %14 = load i32, i32* %sv_4, align 4\n %15 = zext i32 %14 to i64\n %16 = load i32, i32* %sv_3, align 4\n %17 = zext i32 %16 to i64\n %18 = trunc i64 %2 to i32\n %19 = add i64 %3, 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 %22, i32 %18, i64 %17, i64 %15, i64 %13, i64 %6)\n %24 = load i32, i32* %sv_3, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %9, i64 %25)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i32 %18, i32* %.reg2mem\n store i64 -22, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_1, label LBL_7\n LBL_1:\n %29 = inttoptr i64 %26 to i32*\n %30 = add i64 %26, 8\n %31 = call i64 @FUNC(i64 %3, i64 0, i64 4202518, i64 %30)\n %32 = icmp slt i64 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_3, label LBL_2\n LBL_2:\n %34 = load i32, i32* %sv_3, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %9, i64 %35)\n store i64 -22, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_3:\n %37 = bitcast i32* %sv_1 to i64*\n %38 = call i64 @FUNC(i64 %3, i64 %26, i64* nonnull %37)\n %39 = icmp slt i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_5, label LBL_4\n LBL_4:\n %41 = load i32, i32* %sv_3, align 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %9, i64 %42)\n store i64 -22, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %44 = call i64 @FUNC(i64 %3, i64 7, i64 4202520, i64* nonnull %37)\n %45 = add i64 %44, 7\n store i64 %45, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %46 = bitcast i64* %rdi to i32*\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %47 = call i64 @FUNC(i64 %3, i64 %26)\n %.pre = load i32, i32* %sv_1, align 4\n %.pre6 = load i32, i32* %46, align 8\n store i32 %.pre6, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem7\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 %.reload8 = load i32, i32* %.reg2mem7\n %.reload = load i32, i32* %.reg2mem\n %48 = zext i32 %.reload8 to i64\n %49 = load i32, i32* %20, align 4\n %50 = zext i32 %5 to i64\n %51 = zext i32 %49 to i64\n %52 = call i64 @FUNC(i64 %51, i32 %.reload, i64 %48, i32 %4, i64 %50)\n %53 = call i64 @FUNC(i64 %9, i64 %3, i64 %sv_0.1.reload)\n %54 = call i64 @FUNC(i64* nonnull %sv_5)\n %55 = call i64 @FUNC(i64* nonnull %sv_2)\n ret i64 %55\n\n uselistorder i64 %26, { 1, 0, 2, 3, 4 }\n uselistorder i64 %9, { 2, 1, 0, 3 }\n uselistorder i64* %sv_5, { 0, 2, 1 }\n uselistorder i32* %sv_3, { 3, 2, 1, 0, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64*)* @v9fs_string_free, { 1, 0 }\n uselistorder i64 (i64, i64)* @clunk_fid, { 1, 0 }\n uselistorder i64 -22, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grpc_call_destroy_12708", "fun_name": "grpc_call_destroy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\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, 48\n %2 = call i64 @FUNC(i64 %1)\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, %arg1\n %7 = icmp eq i1 %6, false\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 = icmp eq i64 %10, %arg1\n %12 = icmp eq i1 %11, false\n %spec.store.select = select i1 %12, i64 %10, i64 0\n store i64 %spec.store.select, i64* %4, align 8\n %13 = add i64 %arg1, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = load i64, i64* %9, align 8\n %17 = add i64 %15, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = load i64, i64* %9, align 8\n %20 = load i64, i64* %14, align 8\n %21 = add i64 %19, 24\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n br label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %1)\n br label LBL_4\n LBL_4:\n %24 = add i64 %arg1, 32\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n %26 = add i64 %arg1, 36\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_6, label LBL_5\n LBL_5:\n %30 = add i64 %arg1, 40\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 br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n store i32 0, i32* %sv_0, align 4\n br label LBL_8\n LBL_7:\n store i32 1, i32* %sv_0, align 4\n %35 = call i64 @FUNC(i32* nonnull %sv_0, i64 %arg1, i64 0, i64 1)\n br label LBL_8\n LBL_8:\n %36 = call i64 @FUNC(i32* nonnull %sv_0)\n ret i64 %36\n\n uselistorder i32* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @gpr_atm_acq_load, { 1, 0 }\n uselistorder i32 1, { 5, 7, 6, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 4, 6, 7, 2, 0, 3, 1, 9, 8, 10 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "check_rowcol_8164", "fun_name": "check_rowcol", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem22 = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.reg2mem20 = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem18 = alloca i32\n %.reg2mem16 = alloca i32\n %.reg2mem14 = alloca i32\n %.reg2mem12 = 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 = trunc i64 %1 to i32\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, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = urem i32 %10, 2\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 %4, i32* %.reg2mem\n store i32 %7, i32* %.reg2mem12\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %14 = or i32 %10, 1\n store i32 %14, i32* %9, align 4\n %15 = load i32, i32* %3, align 8\n %16 = add i32 %15, 1\n %17 = bitcast i64* %arg1 to i32*\n store i32 %16, i32* %17, align 4\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp ugt i32 %15, %20\n br i1 %21, label LBL_2, label LBL_3\n LBL_2:\n store i32 %15, i32* %19, align 4\n br label LBL_3\n LBL_3:\n store i32 -1, i32* %6, align 4\n %.pre = load i32, i32* %3, align 8\n store i32 %.pre, i32* %.reg2mem\n store i32 -1, i32* %.reg2mem12\n br label LBL_4\n LBL_4:\n %.reload13 = load i32, i32* %.reg2mem12\n %.reload = load i32, i32* %.reg2mem\n %22 = icmp eq i32 %.reload, -1\n %23 = icmp eq i1 %22, false\n store i32 %.reload13, i32* %.reg2mem14\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %24, align 4\n %.pre1 = load i32, i32* %6, align 4\n store i32 %.pre1, i32* %.reg2mem14\n br label LBL_6\n LBL_6:\n %.reload15 = load i32, i32* %.reg2mem14\n %25 = icmp eq i32 %.reload15, -1\n %26 = icmp eq i1 %25, false\n store i32 %.reload, i32* %.reg2mem16\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n store i32 0, i32* %6, align 4\n %.pre2.pre = load i32, i32* %3, align 8\n store i32 %.pre2.pre, i32* %.reg2mem16\n br label LBL_8\n LBL_8:\n %27 = ptrtoint i64* %arg2 to i64\n %.reload17 = load i32, i32* %.reg2mem16\n %28 = add i64 %2, 20\n %29 = bitcast i64* %arg1 to i32*\n store i32 %.reload17, i32* %.reg2mem18\n br label LBL_9\n LBL_9:\n %.reload19 = load i32, i32* %.reg2mem18\n %30 = zext i32 %.reload19 to i64\n %31 = call i64 @FUNC(i64 %2, i64 %30)\n %.pr = load i32, i32* %6, align 4\n %32 = icmp sgt i32 %.pr, 99\n br i1 %32, label LBL_13, label LBL_10\n LBL_10:\n %33 = sext i32 %.pr to i64\n %34 = sext i32 %.reload19 to i64\n %35 = mul nsw i64 %34, 100\n %36 = add nsw i64 %35, %33\n %37 = mul i64 %36, 4\n %38 = add i64 %28, %37\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = and i32 %40, 12\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %33, i64* %indvars.iv.reg2mem\n store i32 %.reload19, i32* %.reg2mem20\n store i32 %.pr, i32* %.lcssa.reg2mem\n br i1 %43, label LBL_11, label LBL_14\n LBL_11:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %44 = trunc i64 %indvars.iv.reload to i32\n %45 = add i32 %44, 1\n store i32 %45, i32* %6, align 4\n %46 = icmp sgt i32 %45, 99\n br i1 %46, label LBL_13, label LBL_11.dec_label_pc_40121e_crit_edge\n LBL_12:\n %.pre3 = load i32, i32* %3, align 8\n %47 = sext i32 %45 to i64\n %48 = sext i32 %.pre3 to i64\n %49 = mul nsw i64 %48, 100\n %50 = add nsw i64 %49, %47\n %51 = mul i64 %50, 4\n %52 = add i64 %28, %51\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = and i32 %54, 12\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %.pre3, i32* %.reg2mem20\n store i32 %45, i32* %.lcssa.reg2mem\n br i1 %57, label LBL_11, label LBL_14\n LBL_13:\n store i32 0, i32* %6, align 4\n %58 = load i32, i32* %3, align 8\n %59 = add i32 %58, 1\n store i32 %59, i32* %29, align 4\n store i32 %58, i32* %.reg2mem18\n br label LBL_9\n LBL_14:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.reload21 = load i32, i32* %.reg2mem20\n %60 = add i64 %2, 8\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp ugt i32 %.reload21, %62\n store i32 %.lcssa.reload, i32* %.reg2mem22\n br i1 %63, label LBL_15, label LBL_16\n LBL_15:\n store i32 %.reload21, i32* %61, align 4\n %.pre4 = load i32, i32* %6, align 4\n store i32 %.pre4, i32* %.reg2mem22\n br label LBL_16\n LBL_16:\n %.reload23 = load i32, i32* %.reg2mem22\n %64 = add i64 %2, 12\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = icmp ugt i32 %.reload23, %66\n br i1 %67, label LBL_17, label LBL_18\n LBL_17:\n store i32 %.reload23, i32* %65, align 4\n br label LBL_18\n LBL_18:\n %68 = load i32, i32* %3, align 8\n %69 = icmp eq i32 %68, %4\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_20, label LBL_19\n LBL_19:\n %71 = load i32, i32* %6, align 4\n %72 = icmp eq i32 %7, %71\n br i1 %72, label LBL_21, label LBL_20\n LBL_20:\n %73 = call i64 @FUNC(i64 %2, i64 %27)\n br label LBL_21\n LBL_21:\n %74 = load i32, i32* %9, align 4\n %75 = or i32 %74, 2\n store i32 %75, i32* %9, align 4\n ret i64 %2\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32 %15, { 1, 0, 2 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32* %9, { 2, 1, 0, 3 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32* %6, { 4, 0, 5, 6, 2, 7, 1, 3, 8 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32* %3, { 5, 4, 1, 0, 2, 3 }\n uselistorder i64 %2, { 2, 3, 4, 5, 6, 0, 1, 7, 8 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i32* %.reg2mem14, { 0, 2, 1 }\n uselistorder i32* %.reg2mem18, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 12, { 1, 0 }\n uselistorder i64 100, { 1, 0 }\n uselistorder i32 99, { 1, 0 }\n uselistorder i32 -1, { 1, 2, 0, 3 }\n uselistorder i1 false, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 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": "__machine__findnew_thread_3999", "fun_name": "__machine__findnew_thread", "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.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = 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 br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %3, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, %arg3\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = load i64, i64* %arg1, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %0, i64* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_8\n LBL_3:\n %13 = sext i32 %arg3 to i64\n store i64 %10, i64* %.reg2mem\n br label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %0, i64 %3, i32 %arg2)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %15 = add i64 %.reload, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, %arg3\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n store i64 %.reload, i64* %2, align 8\n %20 = call i64 @FUNC(i64 %0, i64 %.reload, i32 %arg2)\n store i64 %.reload, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %21 = zext i32 %17 to i64\n %22 = icmp slt i64 %13, %21\n %23 = add i64 %.reload, 8\n %spec.select = select i1 %22, i64 %.reload, i64 %23\n %24 = inttoptr i64 %spec.select 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 store i64 %spec.select, i64* %sv_1.0.lcssa.reg2mem\n store i64 %.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %27, label LBL_5, label LBL_8\n LBL_8:\n %28 = icmp eq i8 %arg4, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_9, label LBL_12\n LBL_9:\n %29 = zext i32 %arg3 to i64\n %30 = zext i32 %arg2 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n %32 = icmp eq i64 %31, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_12, label LBL_10\n LBL_10:\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 %33 = call i64 @FUNC(i64 %31, i64 %sv_0.0.lcssa.reload, i64 %sv_1.0.lcssa.reload)\n %34 = call i64 @FUNC(i64 %31, i64 %0)\n store i64 %31, i64* %2, align 8\n %35 = call i64 @FUNC(i64 %31, i64 %0)\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 0\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %37, label LBL_12, label LBL_11\n LBL_11:\n %38 = call i64 @FUNC(i64 %31)\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 %31, { 1, 0, 2, 5, 4, 3, 6 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i64 %.reload, { 1, 3, 2, 0, 6, 5, 4 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0, 5 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 6, 4 }\n uselistorder i64 (i64, i64, i32)* @machine__update_thread_pid, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder i32 %arg3, { 2, 0, 3, 1 }\n uselistorder i32 %arg2, { 1, 2, 0 }\n uselistorder label LBL_12, { 3, 1, 0, 2, 4, 5 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "show_http_header_8575", "fun_name": "show_http_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r8.0.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.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 = ptrtoint i8* %arg3 to i64\n %sv_0 = alloca i64, align 8\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %4, i64 %3, i64 %2, i64 %1)\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64 %6, i64 %3, i64 %2, i64 %1)\n %8 = ptrtoint i64* %sv_0 to i64\n %9 = call i64 @FUNC(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), i64* nonnull %sv_0, i64 256)\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(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0), i64 %8, i64 %8, i64 256, i64 %2, i64 %1)\n store i64 %8, i64* %rsi.0.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_6 to i64), i64 %8, i64 256, i64 %2, i64 %1)\n store i64 ptrtoint ([6 x i8]* @gv_6 to i64), i64* %rsi.0.reg2mem\n br label LBL_3\n LBL_3:\n %14 = trunc i64 %8 to i8\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %15 = icmp eq i8* %arg3, null\n %16 = icmp eq i8 %14, 0\n %or.cond = or i1 %15, %16\n store i64 %8, i64* %.reg2mem\n store i64 256, i64* %rcx.0.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %17 = ptrtoint i64* %arg1 to i64\n %18 = call i64 @FUNC(i64 %17, i64 %4, i64 0, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0))\n store i64 0, i64* %.reg2mem\n store i64 0, i64* %rcx.0.reg2mem\n store i64 %4, i64* %rsi.1.reg2mem\n store i64 ptrtoint ([6 x i8]* @gv_7 to i64), i64* %r8.0.reg2mem\n br label LBL_5\n LBL_5:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %19 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_9, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n br label LBL_7\n LBL_7:\n %23 = trunc i64 %arg2 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_10, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_11, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n br label LBL_9\n LBL_9:\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0), i64 %rsi.1.reload, i64 %.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n ret i64 %27\n\n uselistorder i64 %.reload, { 4, 2, 3, 0, 1 }\n uselistorder i64 %8, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64 %2, { 2, 3, 0, 1 }\n uselistorder i64 %1, { 8, 6, 7, 4, 5, 3, 2, 0, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder [6 x i8]* @gv_7, { 1, 0 }\n uselistorder [6 x i8]* @gv_6, { 1, 0 }\n uselistorder i64 256, { 0, 2, 1, 3 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @rsprintf, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "url_open_2695", "fun_name": "url_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge28.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.010.reg2mem = alloca i64\n %sv_0.111.reg2mem = alloca i8*\n %.reg2mem = alloca i8*\n %sv_2 = alloca i64, align 8\n %0 = bitcast i64* %sv_2 to i8*\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, 58\n %5 = icmp eq i1 %4, false\n %or.cond9 = icmp eq i1 %3, %5\n store i8* %0, i8** %sv_0.1.lcssa.reg2mem\n store i8 %2, i8* %.lcssa.reg2mem\n br i1 %or.cond9, label LBL_1, label LBL_6\n LBL_1:\n %6 = ptrtoint i64* %sv_2 to i64\n store i8* %1, i8** %.reg2mem\n store i8* %0, i8** %sv_0.111.reg2mem\n store i64 %arg2, i64* %sv_1.010.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i8*, i8** %.reg2mem\n %7 = call i16** @__ctype_b_loc()\n %8 = load i16*, i16** %7, align 8\n %9 = ptrtoint i16* %8 to i64\n %10 = load i8, i8* %.reload, align 1\n %11 = sext i8 %10 to i64\n %12 = mul i64 %11, 2\n %13 = add i64 %12, %9\n %14 = inttoptr i64 %13 to i16*\n %15 = load i16, i16* %14, align 2\n %16 = and i16 %15, 1024\n %17 = icmp eq i16 %16, 0\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem\n %sv_0.111.reload = load i8*, i8** %sv_0.111.reg2mem\n %18 = ptrtoint i8* %sv_0.111.reload to i64\n %19 = sub i64 %18, %6\n %20 = icmp ult i64 %19, 127\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br i1 %20, label LBL_4, label LBL_5\n LBL_4:\n %21 = add i64 %18, 1\n %22 = inttoptr i64 %21 to i8*\n store i8 %10, i8* %sv_0.111.reload, align 1\n store i8* %22, 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 %23 = add i64 %sv_1.010.reload, 1\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 i8 %25, 58\n %28 = icmp eq i1 %27, false\n %or.cond = icmp eq i1 %26, %28\n store i8* %24, i8** %.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.111.reg2mem\n store i64 %23, i64* %sv_1.010.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem\n store i8 %25, i8* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_6\n LBL_6:\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %29 = icmp eq i8 %.lcssa.reload, 0\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %arg2)\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 store i64 1701603686, i64* %sv_2, align 8\n br label LBL_10\n LBL_9:\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 br label LBL_10\n LBL_10:\n %33 = ptrtoint i64* %arg1 to i64\n %storemerge27 = load i64, i64* @gv_0, align 8\n %34 = icmp eq i64 %storemerge27, 0\n %35 = icmp eq i1 %34, false\n store i64 %storemerge27, i64* %storemerge28.reg2mem\n br i1 %35, label LBL_11, label LBL_14\n LBL_11:\n %storemerge28.reload = load i64, i64* %storemerge28.reg2mem\n %36 = inttoptr i64 %storemerge28.reload to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %37 to i8*\n %39 = call i32 @strcmp(i8* nonnull %0, i8* %38)\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %42 = call i64 @FUNC(i64 %33, i64 %storemerge28.reload, i64 %arg2, i32 %arg3)\n store i64 %42, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_13:\n %43 = add i64 %storemerge28.reload, 8\n %44 = inttoptr i64 %43 to i64*\n %storemerge2 = load i64, i64* %44, align 8\n %45 = icmp eq i64 %storemerge2, 0\n %46 = icmp eq i1 %45, false\n store i64 %storemerge2, i64* %storemerge28.reg2mem\n br i1 %46, label LBL_11, label LBL_14\n LBL_14:\n store i64 0, i64* %arg1, align 8\n store i64 4294967294, 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 %storemerge28.reload, { 0, 2, 1 }\n uselistorder i8* %sv_0.111.reload, { 2, 0, 1 }\n uselistorder i8* %0, { 2, 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0 }\n uselistorder i8** %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.111.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.010.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge28.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 4, 3, 1, 2, 0 }\n uselistorder i8 58, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 %arg2, { 3, 2, 0, 1 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_xmt_done_12070", "fun_name": "load_xmt_done", "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 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_8, 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 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n store i64 %5, i64* %.reg2mem\n store i64 %4, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %7 = load i64, i64* %3, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %.reload to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = load i64, i64* %9, align 8\n %13 = call i64 @FUNC(i64 %12, i64 0)\n %14 = call i64 @FUNC(i64 %.reload)\n %15 = load i64, i64* %3, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = icmp eq i64 %16, 0\n store i64 %16, i64* %.reg2mem\n store i64 %15, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %18 = icmp eq i64 %.lcssa.reload, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %.lcssa.reload)\n br label LBL_5\n LBL_5:\n %20 = load i64, i64* %3, align 8\n %21 = call i64 @FUNC(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 = call i64 @FUNC(i64 %24)\n %26 = add i64 %0, 24\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, 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 %0, 40\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, 48\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, 56\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, 64\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, 72\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, 80\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_7, label LBL_6\n LBL_6:\n %58 = call i64 @FUNC(i64 %56)\n br label LBL_7\n LBL_7:\n %59 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_8\n LBL_8:\n ret i64 %0\n\n uselistorder i64 %.lcssa.reload, { 1, 0 }\n uselistorder i64* %3, { 0, 3, 2, 1 }\n uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 7, 6, 9, 8, 10, 11 }\n uselistorder i64* %.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_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_reject_length_3252", "fun_name": "nbd_reject_length", "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 = 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 ([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 37, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg3 to i64\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 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %7, i64 4294967295, i64 %6, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 %12, i64 %1)\n %14 = trunc i64 %arg2 to i8\n %15 = icmp eq i8 %14, 0\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = trunc i64 %13 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 = load i32, i32* %9, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 ptrtoint ([34 x i8]* @gv_3 to i64), i64 %12, i64 %1)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %23 = and i64 %13, 4294967295\n store i64 %23, 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* %0, { 1, 0 }\n uselistorder [34 x i8]* @gv_3, { 1, 0 }\n uselistorder i64 (i64)* @nbd_opt_lookup, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "slavio_check_interrupts_1269", "fun_name": "slavio_check_interrupts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv22.reg2mem = alloca i64\n %.reg2mem31 = alloca i32\n %.reg2mem29 = alloca i32\n %indvars.iv19.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.112.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv24.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 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sub i32 0, %7\n %9 = sub i32 %8, 1\n %10 = and i32 %9, %4\n %11 = zext i32 %7 to i64\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n %14 = icmp eq i32 %10, 0\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = trunc i64 %arg2 to i32\n %18 = icmp eq i32 %17, 0\n %19 = add i64 %2, 48\n store i64 0, i64* %indvars.iv24.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %14, label LBL_8, label LBL_2\n LBL_2:\n %20 = load i32, i32* %6, align 4\n %21 = urem i32 %20, 2\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %23, label LBL_8, label LBL_3\n LBL_3:\n %24 = load i32, i32* %16, align 4\n %25 = zext i32 %24 to i64\n %26 = icmp eq i64 %indvars.iv24.reload, %25\n %27 = icmp eq i1 %26, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.112.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %27, label LBL_8, label LBL_4\n LBL_4:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %28 = trunc i64 %indvars.iv.reload to i32\n %29 = shl i32 1, %28\n %30 = and i32 %29, %10\n %31 = icmp eq i32 %30, 0\n store i32 %sv_0.112.reload, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = mul i64 %indvars.iv.reload, 4\n %33 = add i64 %32, ptrtoint (i32** @gv_0 to i64)\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 %sv_0.112.reload, i32* %sv_0.0.reg2mem\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n %37 = urem i32 %35, 32\n %38 = shl i32 1, %37\n %39 = or i32 %38, %sv_0.112.reload\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 %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_0.0.reload, i32* %sv_0.112.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_4\n LBL_8:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %40 = mul i64 %indvars.iv24.reload, 8\n %41 = add i64 %40, %2\n %42 = add i64 %41, 12\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = and i32 %44, -65533\n store i32 %45, i32* %43, align 4\n %46 = load i32, i32* %16, align 4\n %47 = zext i32 %46 to i64\n %48 = icmp eq i64 %indvars.iv24.reload, %47\n %49 = icmp eq i1 %48, false\n store i32 %45, i32* %.reg2mem\n store i64 0, i64* %indvars.iv19.reg2mem\n store i32 %45, i32* %.reg2mem31\n br i1 %49, label LBL_13, label LBL_9\n LBL_9:\n %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %50 = load i32, i32* %3, align 8\n %51 = trunc i64 %indvars.iv19.reload to i32\n %52 = shl i32 1, %51\n %53 = and i32 %52, %50\n %54 = icmp eq i32 %53, 0\n store i32 %.reload, i32* %.reg2mem29\n br i1 %54, label LBL_12, label LBL_10\n LBL_10:\n %55 = mul i64 %indvars.iv19.reload, 4\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 = icmp eq i32 %58, 0\n store i32 %.reload, i32* %.reg2mem29\n br i1 %59, label LBL_12, label LBL_11\n LBL_11:\n %60 = urem i32 %58, 32\n %61 = shl i32 1, %60\n %62 = or i32 %61, %.reload\n store i32 %62, i32* %43, align 4\n store i32 %62, i32* %.reg2mem29\n br label LBL_12\n LBL_12:\n %.reload30 = load i32, i32* %.reg2mem29\n %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1\n %exitcond21 = icmp eq i64 %indvars.iv.next20, 32\n store i32 %.reload30, i32* %.reg2mem\n store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem\n store i32 %.reload30, i32* %.reg2mem31\n br i1 %exitcond21, label LBL_13, label LBL_9\n LBL_13:\n %.reload32 = load i32, i32* %.reg2mem31\n %63 = load i32, i32* %6, align 4\n %64 = urem i32 %63, 2\n %65 = icmp eq i32 %64, 0\n %66 = icmp eq i1 %65, false\n %67 = urem i32 %.reload32, 4\n %68 = select i1 %66, i32 0, i32 %67\n %69 = udiv i32 %.reload32, 65536\n %sv_0.3 = or i32 %69, %sv_0.2.reload\n %70 = or i32 %sv_0.3, %68\n %.pre = add i64 %41, 16\n %.pre27 = inttoptr i64 %.pre to i32*\n br i1 %18, label LBL_21, label LBL_14\n LBL_14:\n %71 = mul i64 %indvars.iv24.reload, 16\n store i64 15, i64* %indvars.iv22.reg2mem\n br label LBL_15\n LBL_15:\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n %72 = trunc i64 %indvars.iv22.reload to i32\n %73 = shl i32 1, %72\n %74 = and i32 %73, %70\n %75 = icmp eq i32 %74, 0\n %76 = load i32, i32* %.pre27, align 4\n %77 = and i32 %73, %76\n %78 = icmp eq i32 %77, 0\n br i1 %75, label LBL_18, label LBL_16\n LBL_16:\n %79 = icmp eq i1 %78, false\n br i1 %79, label LBL_20, label LBL_17\n LBL_17:\n %80 = add nuw nsw i64 %indvars.iv22.reload, %71\n %81 = mul i64 %80, 8\n %82 = add i64 %81, %19\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = call i64 @FUNC(i64 %84)\n br label LBL_20\n LBL_18:\n br i1 %78, label LBL_20, label LBL_19\n LBL_19:\n %86 = add nuw nsw i64 %indvars.iv22.reload, %71\n %87 = mul i64 %86, 8\n %88 = add i64 %87, %19\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = call i64 @FUNC(i64 %90)\n br label LBL_20\n LBL_20:\n %indvars.iv.next23 = add nsw i64 %indvars.iv22.reload, -1\n %92 = icmp eq i64 %indvars.iv.next23, 0\n %93 = icmp eq i1 %92, false\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n br i1 %93, label LBL_15, label LBL_21\n LBL_21:\n store i32 %70, i32* %.pre27, align 4\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %exitcond26 = icmp eq i64 %indvars.iv.next25, 4\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n br i1 %exitcond26, label LBL_22, label LBL_1\n LBL_22:\n ret i64 %2\n\n uselistorder i64 %indvars.iv22.reload, { 0, 3, 2, 1 }\n uselistorder i64 %71, { 1, 0 }\n uselistorder i32 %70, { 1, 0 }\n uselistorder i32 %.reload32, { 1, 0 }\n uselistorder i32 %.reload, { 2, 1, 0 }\n uselistorder i64 %indvars.iv19.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %sv_0.112.reload, { 2, 0, 1 }\n uselistorder i64 %indvars.iv24.reload, { 0, 4, 2, 3, 1 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.112.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv19.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem29, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 }\n uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 0, { 7, 8, 5, 11, 10, 6, 12, 13, 0, 3, 1, 14, 2, 9, 15, 4 }\n uselistorder i64 4, { 2, 0, 1, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "removeIndexEntry_4477", "fun_name": "removeIndexEntry", "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 %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 %sv_0 = alloca i32, align 4\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64 %3, i64* nonnull %5)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = icmp sgt i32 %7, 1\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg4 to i64\n switch i32 %7, label LBL_7 [\n i32 0, label LBL_2\n i32 1, label LBL_5\n ]\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %5)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i32 %arg3, 0\n %14 = icmp eq i1 %13, false\n %or.cond = or i1 %14, %12\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %9, i64 %2, i64 %1)\n br label LBL_7\n LBL_4:\n %16 = call i64 @FUNC(i64 %4, i64 %3, i64* nonnull %5)\n br label LBL_7\n LBL_5:\n %17 = icmp eq i32 %arg3, 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 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %9, i64 %2, i64 %1)\n br label LBL_7\n LBL_7:\n %20 = call i64 @FUNC()\n ret i64 %20\n\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 4, 5, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avfilter_ref_buffer_1913", "fun_name": "avfilter_ref_buffer", "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 @FUNC(i64 64)\n store i64 %0, i64* %sv_0, align 8\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_15\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 = inttoptr i64 %0 to i64*\n store i64 64, i64* %6, align 8\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %5, i64* %8, align 8\n %9 = add i64 %arg1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %arg1, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %11, i64* %16, align 8\n %17 = add i64 %0, 24\n %18 = inttoptr i64 %17 to i64*\n store i64 %14, i64* %18, align 8\n %19 = add i64 %arg1, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %arg1, 40\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %0, 32\n %26 = inttoptr i64 %25 to i64*\n store i64 %21, i64* %26, align 8\n %27 = add i64 %0, 40\n %28 = inttoptr i64 %27 to i64*\n store i64 %24, i64* %28, align 8\n %29 = add i64 %arg1, 48\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %arg1, 56\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %0, 48\n %36 = inttoptr i64 %35 to i64*\n store i64 %31, i64* %36, align 8\n %37 = add i64 %0, 56\n %38 = inttoptr i64 %37 to i64*\n store i64 %34, i64* %38, align 8\n %39 = load i64, i64* %sv_0, align 8\n %40 = add i64 %39, 48\n %41 = inttoptr i64 %40 to i64*\n store i64 0, i64* %41, align 8\n %42 = load i64, i64* %30, align 8\n %43 = load i64, i64* %sv_0, align 8\n %44 = add i64 %43, 48\n %45 = call i64 @FUNC(i64 %44, i64 %42, i64 0)\n %46 = inttoptr i64 %3 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_5, label LBL_2\n LBL_2:\n %50 = call i64 @FUNC(i64 0)\n %51 = add i64 %43, 16\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = load i64, i64* %sv_0, align 8\n %54 = add i64 %53, 16\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_4, label LBL_3\n LBL_3:\n %59 = call i64 @FUNC(i64 %53)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %60 = load i64, i64* %10, align 8\n %61 = call i64 @FUNC(i64 %56, i64 %60)\n %62 = load i64, i64* %sv_0, align 8\n %63 = add i64 %62, 40\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = add i64 %62, 32\n %67 = inttoptr i64 %66 to i64*\n store i64 %65, i64* %67, align 8\n br label LBL_14\n LBL_5:\n %68 = icmp eq i32 %47, 1\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_14, label LBL_6\n LBL_6:\n %70 = call i64 @FUNC(i64 4)\n %71 = add i64 %43, 24\n %72 = inttoptr i64 %71 to i64*\n store i64 %70, i64* %72, align 8\n %73 = load i64, i64* %sv_0, align 8\n %74 = add i64 %73, 24\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 br i1 %78, label LBL_8, label LBL_7\n LBL_7:\n %79 = call i64 @FUNC(i64 %73)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n %80 = load i64, i64* %13, align 8\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = inttoptr i64 %76 to i32*\n store i32 %82, i32* %83, align 4\n %84 = load i64, i64* %20, align 8\n %85 = icmp eq i64 %84, 0\n br i1 %85, label LBL_13, label LBL_9\n LBL_9:\n %86 = load i64, i64* %23, align 8\n %87 = icmp eq i64 %84, %86\n br i1 %87, label LBL_13, label LBL_10\n LBL_10:\n %88 = load i64, i64* %13, align 8\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = zext i32 %90 to i64\n %92 = call i64 @FUNC(i64 %91)\n %sext2 = mul i64 %92, 4294967296\n %93 = ashr exact i64 %sext2, 32\n %94 = load i64, i64* %sv_0, align 8\n %95 = call i64 @FUNC(i64 %93)\n %96 = add i64 %94, 32\n %97 = inttoptr i64 %96 to i64*\n store i64 %95, i64* %97, align 8\n %98 = icmp eq i64 %95, 0\n %99 = icmp eq i1 %98, false\n br i1 %99, label LBL_12, label LBL_11\n LBL_11:\n %100 = load i64, i64* %sv_0, align 8\n %101 = add i64 %100, 24\n %102 = call i64 @FUNC(i64 %101)\n %103 = ptrtoint i64* %sv_0 to i64\n %104 = call i64 @FUNC(i64 %103)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %105 = trunc i64 %92 to i32\n %106 = load i64, i64* %20, align 8\n %107 = load i64, i64* %sv_0, align 8\n %108 = add i64 %107, 32\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = inttoptr i64 %110 to i64*\n %112 = inttoptr i64 %106 to i64*\n %113 = call i64* @memcpy(i64* %111, i64* %112, i32 %105)\n br label LBL_14\n LBL_13:\n %114 = load i64, i64* %sv_0, align 8\n %115 = add i64 %114, 40\n %116 = inttoptr i64 %115 to i64*\n %117 = load i64, i64* %116, align 8\n %118 = add i64 %114, 32\n %119 = inttoptr i64 %118 to i64*\n store i64 %117, i64* %119, align 8\n br label LBL_14\n LBL_14:\n %120 = load i64, i64* %sv_0, align 8\n %121 = add i64 %120, 56\n %122 = inttoptr i64 %121 to i32*\n %123 = load i32, i32* %122, align 4\n %124 = trunc i64 %arg2 to i32\n %125 = and i32 %123, %124\n store i32 %125, i32* %122, align 4\n %126 = load i64, i64* %sv_0, align 8\n %127 = inttoptr i64 %126 to i64*\n %128 = load i64, i64* %127, align 8\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = add i32 %130, 1\n store i32 %131, i32* %129, align 4\n %132 = load i64, i64* %sv_0, align 8\n store i64 %132, 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 %92, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i64 %arg1, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder label LBL_15, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shmem_removexattr_10144", "fun_name": "shmem_removexattr", "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 %arg2 to i8*\n %3 = call i32 @strncmp(i8* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 5)\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 %0, i64 %arg2)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg2)\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 = call i64 @FUNC(i64 %1, i64 %arg2)\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, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_dev_reset_owner_9708", "fun_name": "vhost_dev_reset_owner", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.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 = call i64 @FUNC(i64 %1, i64 1)\n %3 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %1, 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 = icmp eq i32 %7, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 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 %11 = load i64, i64* %10, align 8\n %12 = mul i64 %.reload, 8\n %13 = add i64 %11, %12\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %0, i64* %16, align 8\n %17 = add i32 %storemerge2.reload, 1\n %18 = load i32, i32* %6, align 8\n %19 = zext i32 %18 to i64\n %20 = sext i32 %17 to i64\n %21 = icmp slt i64 %20, %19\n store i64 %20, i64* %.reg2mem\n store i32 %17, i32* %storemerge2.reg2mem\n store i64 %19, i64* %.lcssa.reg2mem\n br i1 %21, 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* %6, { 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": "0" }, { "dataset": "CompRealVul", "file": "bdrv_new_17042", "fun_name": "bdrv_new", "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)\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 %0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %5 = call i64 @FUNC(i64 %1)\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %8 = call i64 @FUNC(i64 400)\n %9 = call i64 @FUNC(i64 %8, i64 256, i64 %1)\n %10 = call i64 @FUNC(i64 %8)\n %11 = add i64 %8, 360\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %8, 368\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %8, 376\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %8, 384\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %8, 256\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = call i64 @FUNC()\n %22 = add i64 %8, 392\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\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, { 0, 1, 3, 2, 7, 6, 5, 4, 8 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @qemu_co_queue_init, { 1, 0 }\n uselistorder i64 256, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @error_setg, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "crypt_iv_essiv_ctr_4318", "fun_name": "crypt_iv_essiv_ctr", "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 %0 = icmp eq i64 %arg3, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n store i64 ptrtoint ([40 x i8]* @gv_0 to i64), i64* %arg2, align 8\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_2:\n %2 = call i64 @FUNC(i64 %arg3, i64 0, i64 0)\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_4, label LBL_3\n LBL_3:\n store i64 ptrtoint ([30 x i8]* @gv_1 to i64), i64* %arg2, align 8\n %6 = call i64 @FUNC(i64 %2)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %7 = call i64 @FUNC(i64 %2)\n %8 = and i64 %7, 4294967295\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_6, label LBL_5\n LBL_5:\n store i64 ptrtoint ([39 x i8]* @gv_2 to i64), i64* %arg2, align 8\n %12 = call i64 @FUNC(i64 %2)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n %13 = ptrtoint i64* %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 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8, i64 %17)\n store i64 %2, i64* %sv_0, align 8\n %19 = load i64, i64* %15, align 8\n %20 = and i64 %19, 4294967295\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_0, i64 %20, i64 %9)\n %22 = trunc i64 %21 to i32\n %23 = call i64 @FUNC(i64 %2)\n %24 = icmp eq i32 %22, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n store i64 ptrtoint ([32 x i8]* @gv_3 to i64), i64* %arg2, align 8\n %25 = call i64 @FUNC(i64 %9)\n %26 = and i64 %21, 4294967295\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n %27 = add i64 %13, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29, i64 0, i64 0)\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_10, label LBL_9\n LBL_9:\n store i64 ptrtoint ([38 x i8]* @gv_4 to i64), i64* %arg2, align 8\n %34 = call i64 @FUNC(i64 %9)\n %35 = call i64 @FUNC(i64 %30)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n %36 = call i64 @FUNC(i64 %30)\n %37 = trunc i64 %36 to i32\n %38 = add i64 %13, 32\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %37, %42\n br i1 %43, label LBL_12, label LBL_11\n LBL_11:\n store i64 ptrtoint ([66 x i8]* @gv_5 to i64), i64* %arg2, align 8\n %44 = call i64 @FUNC(i64 %30)\n %45 = call i64 @FUNC(i64 %9)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %46 = trunc i64 %7 to i32\n %47 = call i64 @FUNC(i64 %30, i64 %9, i32 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n br i1 %49, label LBL_14, label LBL_13\n LBL_13:\n store i64 ptrtoint ([35 x i8]* @gv_6 to i64), i64* %arg2, align 8\n %50 = call i64 @FUNC(i64 %30)\n %51 = call i64 @FUNC(i64 %9)\n %52 = and i64 %47, 4294967295\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %53 = call i64 @FUNC(i64 %9)\n %54 = add i64 %13, 16\n %55 = inttoptr i64 %54 to i64*\n store i64 %30, i64* %55, 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 %30, { 3, 2, 4, 1, 5, 0, 6 }\n uselistorder i64 %9, { 4, 3, 5, 2, 1, 0, 6, 7 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %2, { 2, 3, 1, 4, 0, 5 }\n uselistorder i64* %sv_0, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 (i64)* @crypto_free_cipher, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @crypto_free_hash, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i64)* @PTR_ERR, { 1, 0 }\n uselistorder i64 (i64)* @IS_ERR, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_send_fatal_handshake_failure_9237", "fun_name": "ssl_send_fatal_handshake_failure", "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 2, i64 40)\n %2 = and i64 %1, 4294967295\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "callbackValDup_7122", "fun_name": "callbackValDup", "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 = call i64 @FUNC(i64 4)\n %3 = trunc i64 %1 to i32\n %4 = inttoptr i64 %2 to i32*\n store i32 %3, i32* %4, align 4\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_aead_report_6076", "fun_name": "crypto_aead_report", "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 i32, align 4\n store i32 1684104545, i32* %sv_1, align 4\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n %3 = bitcast i64* %sv_0 to i8*\n %4 = bitcast i64* %arg2 to i8*\n %5 = select i1 %2, i8* %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)\n %6 = call i8* @strncpy(i8* nonnull %3, i8* %5, i32 16)\n %7 = call i64 @FUNC(i64 %0, i64 1, i64 48, i32* 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 %storemerge1 = select i1 %10, i64 4294967206, i64 0\n ret i64 %storemerge1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "name_from_null_10735", "fun_name": "name_from_null", "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_0.16.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_1, label LBL_9\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = urem i64 %arg4, 2\n %3 = icmp eq i64 %2, 0\n %4 = trunc i64 %arg3 to i32\n %5 = icmp eq i32 %4, 10\n br i1 %3, label LBL_5, label LBL_2\n LBL_2:\n store i32 0, i32* %sv_0.05.reg2mem\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %arg1, align 8\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %10, align 4\n %11 = icmp eq i32 %4, 2\n store i32 1, i32* %sv_0.05.reg2mem\n store i32 1, i32* %sv_0.2.reg2mem\n br i1 %11, label LBL_8, label LBL_4\n LBL_4:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %12 = add nuw nsw i32 %sv_0.05.reload, 1\n %narrow = mul nuw nsw i32 %sv_0.05.reload, 20\n %13 = zext i32 %narrow to i64\n %14 = add i64 %13, %1\n %15 = inttoptr i64 %14 to i64*\n store i64 0, 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 %18 = add i64 %14, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = inttoptr i64 %14 to i32*\n store i32 10, i32* %20, align 4\n store i32 %12, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_5:\n store i32 0, i32* %sv_0.16.reg2mem\n br i1 %5, label LBL_7, label LBL_6\n LBL_6:\n store i64 0, i64* %arg1, align 8\n %21 = add i64 %1, 8\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n %23 = add i64 %1, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %25, align 4\n %26 = add i64 %1, 4\n %27 = inttoptr i64 %26 to i8*\n store i8 127, i8* %27, align 1\n %28 = add i64 %1, 7\n %29 = inttoptr i64 %28 to i8*\n store i8 1, i8* %29, align 1\n %30 = icmp eq i32 %4, 2\n store i32 1, i32* %sv_0.16.reg2mem\n store i32 1, i32* %sv_0.2.reg2mem\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %31 = add nuw nsw i32 %sv_0.16.reload, 1\n %narrow4 = mul nuw nsw i32 %sv_0.16.reload, 20\n %32 = zext i32 %narrow4 to i64\n %33 = add i64 %32, %1\n %34 = inttoptr i64 %33 to i64*\n store i64 0, i64* %34, align 8\n %35 = add i64 %33, 8\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n %37 = add i64 %33, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n %39 = inttoptr i64 %33 to i32*\n store i32 10, i32* %39, align 4\n %40 = add i64 %33, 19\n %41 = inttoptr i64 %40 to i8*\n store i8 1, i8* %41, align 1\n store i32 %31, 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 %42 = zext i32 %sv_0.2.reload to i64\n store i64 %42, 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 %33, { 4, 3, 2, 1, 0 }\n uselistorder i32 %sv_0.16.reload, { 1, 0 }\n uselistorder i64 %14, { 3, 2, 1, 0 }\n uselistorder i32 %sv_0.05.reload, { 1, 0 }\n uselistorder i1 %5, { 1, 0 }\n uselistorder i32 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 7, 6, 5, 4, 1, 3, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 0, 2, 1, 3 }\n uselistorder i32 0, { 2, 3, 0, 4, 5, 1 }\n uselistorder i32 10, { 1, 2, 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": "fio_timer_calc_due_7070", "fun_name": "fio_timer_calc_due", "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 = call i64 @FUNC()\n %1 = icmp ult i64 %arg1, 1000\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = udiv i64 %arg1, 8\n %3 = urem i64 %2, 1000\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 %4 = mul i64 %sv_0.0.reload, 1000000\n %5 = add i64 %4, %arg3\n %6 = icmp sgt i64 %5, 999999999\n %7 = zext i1 %6 to i64\n %spec.select = add i64 %0, %7\n ret i64 %spec.select\n\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_cipher_disabled_9716", "fun_name": "ssl_cipher_disabled", "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 %3 = and i64 %2, %1\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* %storemerge.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %7, 4\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 = and i32 %14, %11\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_2\n LBL_2:\n %18 = add i64 %7, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %8, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = and i32 %23, %20\n %25 = icmp eq i32 %24, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %25, label LBL_3, label LBL_4\n LBL_3:\n %26 = add i64 %7, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = trunc i64 %arg3 to i32\n %30 = call i64 @FUNC(i64 %8, i32 %29, i32 %28, i64 0, i64 %7)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = zext i1 %32 to i64\n store i64 %33, 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 %7, { 2, 3, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ResetWindow_9129", "fun_name": "ResetWindow", "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 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\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 0, i32* %4, align 4\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, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 20\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\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, 28\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 32\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %0, 36\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 40\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %0, 44\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 48\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 80\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i32 %29, -1\n %31 = add i64 %0, 52\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %0, 56\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n %35 = add i64 %0, 64\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n %37 = add i64 %0, 60\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n %39 = add i64 %0, 68\n %40 = inttoptr i64 %39 to i32*\n store i32 1, i32* %40, align 4\n %41 = add i64 %0, 72\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %43 = add i64 %0, 76\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %0, 84\n %47 = inttoptr i64 %46 to i64*\n %48 = call i64* @memset(i64* %47, i32 0, i32 %45)\n %49 = load i32, i32* %44, align 4\n %50 = icmp ugt i32 %49, 8\n store i64 8, i64* %.reg2mem\n store i32 8, i32* %storemerge1.reg2mem\n br i1 %50, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %51 = mul i64 %.reload, 4\n %52 = add i64 %51, %46\n %53 = inttoptr i64 %52 to i32*\n store i32 1, i32* %53, align 4\n %54 = add i32 %storemerge1.reload, 8\n %55 = load i32, i32* %44, 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 br i1 %58, label LBL_1, label LBL_2\n LBL_2:\n %59 = add i64 %0, 484\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = call i64 @FUNC(i64 %0)\n ret i64 %61\n\n uselistorder i32* %44, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i32 8, { 2, 0, 1 }\n uselistorder i32 0, { 2, 1, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "x25_state1_machine_4513", "fun_name": "x25_state1_machine", "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 = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %2 = trunc i64 %arg3 to i32\n store i64 0, i64* %storemerge.reg2mem\n switch i32 %2, label LBL_8 [\n i32 1, label LBL_1\n i32 2, label LBL_7\n ]\n LBL_1:\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %1)\n %5 = inttoptr i64 %3 to i32*\n store i32 0, 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 0, i32* %11, align 4\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %3, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 3, i32* %15, align 4\n %16 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %0, i64 5)\n %18 = bitcast i32* %sv_0 to i64*\n %19 = call i64 @FUNC(i64 %0, i64* nonnull %18, i64* nonnull %18)\n %20 = trunc i64 %19 to i32\n store i32 %20, i32* %sv_0, align 4\n %21 = icmp slt i32 %20, 1\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = and i64 %19, 4294967295\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n br label LBL_3\n LBL_3:\n %24 = add i64 %3, 24\n %25 = call i64 @FUNC(i64 %0, i64 %24, i64 %24, i64 %24)\n %26 = trunc i64 %25 to i32\n store i32 %26, i32* %sv_0, align 4\n %27 = icmp slt i32 %26, 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %27, label LBL_8, label LBL_4\n LBL_4:\n %28 = and i64 %25, 4294967295\n %29 = call i64 @FUNC(i64 %0, i64 %28)\n %30 = bitcast i64* %rsi to i32*\n %31 = load i32, i32* %30, align 8\n %32 = icmp slt i32 %31, 1\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = add i64 %3, 28\n %34 = call i64 @FUNC(i64 %0, i64 %33, i32 %31)\n %35 = add i64 %3, 284\n %36 = inttoptr i64 %35 to i32*\n store i32 %31, i32* %36, align 4\n br label LBL_6\n LBL_6:\n %37 = call i64 @FUNC(i64 %1, i64 1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %38 = call i64 @FUNC(i64 %1, i64 4)\n %39 = add i64 %0, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %41, 4\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = zext i8 %44 to i64\n %46 = add i64 %41, 3\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 %1, i64 111, i64 %49, i64 %45)\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, 2 }\n uselistorder i64 %24, { 2, 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 1, 2, 4, 3 }\n uselistorder i64 %0, { 0, 2, 3, 4, 1, 6, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 4294967295, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @skb_pull, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hid_sensor_remove_trigger_4911", "fun_name": "hid_sensor_remove_trigger", "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 store i64 0, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "silk_stabilize_lsf_74", "fun_name": "silk_stabilize_lsf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.3.reg2mem = alloca i64\n %rax.1.reg2mem = alloca i64\n %storemerge.in57.reg2mem = alloca i64\n %storemerge2358.reg2mem = alloca i64\n %storemerge27.lcssa.reg2mem = alloca i32\n %storemerge2760.reg2mem = alloca i32\n %storemerge2663.reg2mem = alloca i64\n %.reg2mem99 = alloca i32\n %sv_0.383.reg2mem = alloca i64\n %storemerge2884.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.080.reg2mem = alloca i32\n %storemerge43.in81.reg2mem = alloca i64\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_2.077.reg2mem = alloca i32\n %storemerge4678.reg2mem = alloca i64\n %storemerge53.reg2mem = alloca i32\n %storemerge54.reg2mem = alloca i32\n %sv_3.165.reg2mem = alloca i32\n %sv_0.166.reg2mem = alloca i64\n %storemerge5267.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = add i64 %1, -2\n %6 = bitcast i64* %rdx to i16*\n %7 = bitcast i64* %arg1 to i16*\n %8 = ashr exact i64 %sext, 31\n %9 = add i64 %8, %0\n %10 = inttoptr i64 %9 to i16*\n %11 = add i64 %8, %5\n %12 = inttoptr i64 %11 to i16*\n %13 = trunc i64 %arg2 to i32\n store i32 0, i32* %storemerge2884.reg2mem\n br label LBL_17\n LBL_1:\n %sv_3.165.reload = load i32, i32* %sv_3.165.reg2mem\n %sv_0.166.reload = load i64, i64* %sv_0.166.reg2mem\n %storemerge5267.reload = load i64, i64* %storemerge5267.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %14 = icmp eq i32 %.reload, 0\n %.pre98 = mul i64 %storemerge5267.reload, 2\n store i32 0, i32* %storemerge54.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %.pre98, %5\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = sext i16 %17 to i32\n store i32 %18, i32* %storemerge54.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge54.reload = load i32, i32* %storemerge54.reg2mem\n %19 = icmp eq i32 %.reload, %3\n store i32 32768, i32* %storemerge53.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = add i64 %.pre98, %1\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = sext i16 %22 to i32\n store i32 %23, i32* %storemerge53.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge53.reload = load i32, i32* %storemerge53.reg2mem\n %24 = sub nsw i32 %storemerge53.reload, %storemerge54.reload\n %25 = add i64 %.pre98, %0\n %26 = inttoptr i64 %25 to i16*\n %27 = load i16, i16* %26, align 2\n %28 = zext i16 %27 to i32\n %29 = sub nsw i32 %24, %28\n %30 = icmp slt i32 %29, %sv_3.165.reload\n %spec.select = select i1 %30, i32 %29, i32 %sv_3.165.reload\n %spec.select94 = select i1 %30, i64 %storemerge5267.reload, i64 %sv_0.166.reload\n %31 = mul i64 %storemerge5267.reload, 4294967296\n %sext51 = add i64 %31, 4294967296\n %32 = ashr exact i64 %sext51, 32\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %3, %33\n store i32 %33, i32* %.reg2mem\n store i64 %32, i64* %storemerge5267.reg2mem\n store i64 %spec.select94, i64* %sv_0.166.reg2mem\n store i32 %spec.select, i32* %sv_3.165.reg2mem\n br i1 %34, label LBL_6, label LBL_1\n LBL_6:\n %35 = icmp eq i32 %spec.select, 0\n br i1 %35, label LBL_38, label LBL_7\n LBL_7:\n %36 = trunc i64 %spec.select94 to i32\n %37 = icmp eq 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 = load i16, i16* %6, align 8\n store i16 %39, i16* %7, align 2\n br label LBL_16\n LBL_9:\n %40 = icmp eq i32 %36, %3\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_10, label LBL_11\n LBL_10:\n %42 = icmp sgt i32 %36, 0\n store i64 0, i64* %storemerge4678.reg2mem\n store i32 0, i32* %sv_2.077.reg2mem\n store i32 0, i32* %sv_2.0.lcssa.reg2mem\n br i1 %42, label LBL_12, label LBL_13\n LBL_11:\n %43 = load i16, i16* %10, align 2\n %44 = sub i16 -32768, %43\n store i16 %44, i16* %12, align 2\n br label LBL_16\n LBL_12:\n %sv_2.077.reload = load i32, i32* %sv_2.077.reg2mem\n %storemerge4678.reload = load i64, i64* %storemerge4678.reg2mem\n %45 = mul i64 %storemerge4678.reload, 2\n %46 = add i64 %45, %0\n %47 = inttoptr i64 %46 to i16*\n %48 = load i16, i16* %47, align 2\n %49 = zext i16 %48 to i32\n %50 = add i32 %sv_2.077.reload, %49\n %51 = mul i64 %storemerge4678.reload, 4294967296\n %sext45 = add i64 %51, 4294967296\n %52 = ashr exact i64 %sext45, 32\n %53 = trunc i64 %52 to i32\n %54 = icmp slt i32 %53, %36\n store i64 %52, i64* %storemerge4678.reg2mem\n store i32 %50, i32* %sv_2.077.reg2mem\n store i32 %50, i32* %sv_2.0.lcssa.reg2mem\n br i1 %54, label LBL_12, label LBL_13\n LBL_13:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %sext31 = mul i64 %spec.select94, 4294967296\n %55 = ashr exact i64 %sext31, 31\n %56 = add i64 %55, %0\n %57 = inttoptr i64 %56 to i16*\n %58 = load i16, i16* %57, align 2\n %59 = icmp sgt i32 %13, %36\n store i64 %sext, i64* %storemerge43.in81.reg2mem\n store i32 32768, i32* %sv_1.080.reg2mem\n store i32 32768, i32* %sv_1.0.lcssa.reg2mem\n br i1 %59, label LBL_14, label LBL_15\n LBL_14:\n %sv_1.080.reload = load i32, i32* %sv_1.080.reg2mem\n %storemerge43.in81.reload = load i64, i64* %storemerge43.in81.reg2mem\n %60 = ashr exact i64 %storemerge43.in81.reload, 31\n %61 = add i64 %60, %0\n %62 = inttoptr i64 %61 to i16*\n %63 = load i16, i16* %62, align 2\n %64 = zext i16 %63 to i32\n %65 = sub i32 %sv_1.080.reload, %64\n %sext42 = add i64 %storemerge43.in81.reload, -4294967296\n %66 = udiv i64 %sext42, 4294967296\n %67 = trunc i64 %66 to i32\n %68 = icmp sgt i32 %67, %36\n store i64 %sext42, i64* %storemerge43.in81.reg2mem\n store i32 %65, i32* %sv_1.080.reg2mem\n store i32 %65, i32* %sv_1.0.lcssa.reg2mem\n br i1 %68, label LBL_14, label LBL_15\n LBL_15:\n %69 = udiv i16 %58, 2\n %70 = zext i16 %69 to i32\n %71 = add i32 %sv_2.0.lcssa.reload, %70\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %72 = sub i32 %sv_1.0.lcssa.reload, %70\n %73 = add i64 %55, %5\n %74 = inttoptr i64 %73 to i16*\n %75 = load i16, i16* %74, align 2\n %76 = add i64 %55, %1\n %77 = inttoptr i64 %76 to i16*\n %78 = load i16, i16* %77, align 2\n %79 = sext i16 %78 to i32\n %80 = sext i16 %75 to i32\n %81 = add nsw i32 %79, %80\n %82 = ashr i32 %81, 1\n %83 = urem i32 %81, 2\n %84 = add nsw i32 %83, %82\n %85 = sub i32 %84, %71\n %86 = xor i32 %84, %71\n %87 = xor i32 %85, %84\n %88 = and i32 %87, %86\n %89 = icmp slt i32 %88, 0\n %90 = icmp slt i32 %85, 0\n %91 = icmp eq i1 %90, %89\n %92 = select i1 %91, i32 %84, i32 %71\n %93 = sub i32 %72, %92\n %94 = xor i32 %92, %72\n %95 = xor i32 %93, %72\n %96 = and i32 %95, %94\n %97 = icmp slt i32 %96, 0\n %98 = icmp eq i32 %93, 0\n %99 = icmp slt i32 %93, 0\n %100 = icmp ne i1 %99, %97\n %101 = or i1 %98, %100\n %102 = select i1 %101, i32 %72, i32 %92\n %103 = trunc i32 %102 to i16\n %104 = sub i16 %103, %69\n store i16 %104, i16* %74, align 2\n %105 = load i16, i16* %57, align 2\n %106 = add i16 %104, %105\n store i16 %106, i16* %77, align 2\n br label LBL_16\n LBL_16:\n %107 = add nuw nsw i32 %storemerge2884.reload, 1\n %108 = icmp ult i32 %107, 20\n store i32 %107, i32* %storemerge2884.reg2mem\n store i64 %spec.select94, i64* %sv_0.383.reg2mem\n br i1 %108, label LBL_17, label LBL_18\n LBL_17:\n %sv_0.383.reload = load i64, i64* %sv_0.383.reg2mem\n %storemerge2884.reload = load i32, i32* %storemerge2884.reg2mem\n store i32 0, i32* %.reg2mem\n store i64 0, i64* %storemerge5267.reg2mem\n store i64 %sv_0.383.reload, i64* %sv_0.166.reg2mem\n store i32 0, i32* %sv_3.165.reg2mem\n br i1 %4, label LBL_38, label LBL_1\n LBL_18:\n %109 = icmp sgt i32 %3, 1\n br i1 %109, label LBL_19, label LBL_25\n LBL_19:\n %110 = add i64 %1, 2\n store i32 1, i32* %.reg2mem99\n store i64 1, i64* %storemerge2663.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge2663.reload = load i64, i64* %storemerge2663.reg2mem\n %.reload100 = load i32, i32* %.reg2mem99\n %111 = mul i64 %storemerge2663.reload, 2\n %112 = add i64 %111, %1\n %113 = inttoptr i64 %112 to i16*\n %114 = load i16, i16* %113, align 2\n %storemerge2759 = add i32 %.reload100, -1\n %115 = icmp slt i32 %storemerge2759, 0\n store i32 %storemerge2759, i32* %storemerge27.lcssa.reg2mem\n br i1 %115, label LBL_24, label LBL_21\n LBL_21:\n %116 = sext i16 %114 to i64\n store i32 %storemerge2759, i32* %storemerge2760.reg2mem\n br label LBL_23\n LBL_22:\n %117 = add i64 %121, %110\n %118 = inttoptr i64 %117 to i16*\n store i16 %124, i16* %118, align 2\n %storemerge27 = add i32 %storemerge2760.reload, -1\n %119 = icmp slt i32 %storemerge27, 0\n store i32 %storemerge27, i32* %storemerge2760.reg2mem\n store i32 -1, i32* %storemerge27.lcssa.reg2mem\n br i1 %119, label LBL_24, label LBL_23\n LBL_23:\n %storemerge2760.reload = load i32, i32* %storemerge2760.reg2mem\n %120 = sext i32 %storemerge2760.reload to i64\n %121 = mul i64 %120, 2\n %122 = add i64 %121, %1\n %123 = inttoptr i64 %122 to i16*\n %124 = load i16, i16* %123, align 2\n %125 = sext i16 %124 to i64\n %126 = and i64 %125, 4294967295\n %127 = icmp sgt i64 %126, %116\n store i32 %storemerge2760.reload, i32* %storemerge27.lcssa.reg2mem\n br i1 %127, label LBL_22, label LBL_24\n LBL_24:\n %storemerge27.lcssa.reload = load i32, i32* %storemerge27.lcssa.reg2mem\n %128 = sext i32 %storemerge27.lcssa.reload to i64\n %129 = mul i64 %128, 2\n %130 = add i64 %129, %110\n %131 = inttoptr i64 %130 to i16*\n store i16 %114, i16* %131, align 2\n %132 = mul i64 %storemerge2663.reload, 4294967296\n %sext25 = add i64 %132, 4294967296\n %133 = ashr exact i64 %sext25, 32\n %134 = trunc i64 %133 to i32\n %135 = icmp slt i32 %134, %3\n store i32 %134, i32* %.reg2mem99\n store i64 %133, i64* %storemerge2663.reg2mem\n br i1 %135, label LBL_20, label LBL_25\n LBL_25:\n %136 = bitcast i64* %rdi to i16*\n %137 = load i16, i16* %136, align 8\n %138 = sext i16 %137 to i64\n %139 = load i16, i16* %6, align 8\n %140 = zext i16 %139 to i64\n %141 = icmp slt i64 %138, %140\n br i1 %141, label LBL_26, label LBL_27\n LBL_26:\n store i16 %139, i16* %7, align 2\n br label LBL_27\n LBL_27:\n store i64 1, i64* %storemerge2358.reg2mem\n br i1 %109, label LBL_28, label LBL_31\n LBL_28:\n %storemerge2358.reload = load i64, i64* %storemerge2358.reg2mem\n %142 = mul i64 %storemerge2358.reload, 2\n %143 = add i64 %142, %1\n %144 = inttoptr i64 %143 to i16*\n %145 = load i16, i16* %144, align 2\n %146 = sext i16 %145 to i64\n %147 = and i64 %146, 4294967295\n %148 = add i64 %142, %5\n %149 = inttoptr i64 %148 to i16*\n %150 = load i16, i16* %149, align 2\n %151 = add i64 %142, %0\n %152 = inttoptr i64 %151 to i16*\n %153 = load i16, i16* %152, align 2\n %154 = zext i16 %153 to i64\n %155 = sext i16 %150 to i64\n %156 = add nsw i64 %154, %155\n %157 = and i64 %156, 4294967295\n %158 = icmp ult i64 %147, %157\n br i1 %158, label LBL_29, label LBL_30\n LBL_29:\n %159 = add i16 %153, %150\n store i16 %159, i16* %144, align 2\n br label LBL_30\n LBL_30:\n %160 = mul i64 %storemerge2358.reload, 4294967296\n %sext22 = add i64 %160, 4294967296\n %161 = ashr exact i64 %sext22, 32\n %162 = trunc i64 %161 to i32\n %163 = icmp slt i32 %162, %3\n store i64 %161, i64* %storemerge2358.reg2mem\n br i1 %163, label LBL_28, label LBL_31\n LBL_31:\n %164 = load i16, i16* %12, align 2\n %165 = sext i16 %164 to i64\n %166 = and i64 %165, 4294967295\n %167 = load i16, i16* %10, align 2\n %168 = zext i16 %167 to i64\n %169 = sub nsw i64 32768, %168\n %170 = and i64 %169, 4294967295\n %171 = icmp ugt i64 %166, %170\n br i1 %171, label LBL_32, label LBL_33\n LBL_32:\n %172 = sub i16 -32768, %167\n store i16 %172, i16* %12, align 2\n br label LBL_33\n LBL_33:\n %173 = add nsw i64 %2, 4294967294\n %174 = and i64 %173, 4294967295\n %175 = trunc i64 %173 to i32\n %176 = icmp slt i32 %175, 0\n %177 = icmp eq i1 %176, false\n store i64 %174, i64* %rax.3.reg2mem\n br i1 %177, label LBL_34, label LBL_39\n LBL_34:\n %sext8 = mul i64 %173, 4294967296\n store i64 %sext8, i64* %storemerge.in57.reg2mem\n br label LBL_35\n LBL_35:\n %storemerge.in57.reload = load i64, i64* %storemerge.in57.reg2mem\n %178 = ashr exact i64 %storemerge.in57.reload, 31\n %179 = add i64 %178, %1\n %180 = inttoptr i64 %179 to i16*\n %181 = load i16, i16* %180, align 2\n %182 = sext i16 %181 to i64\n %183 = and i64 %182, 4294967295\n %184 = add nsw i64 %178, 2\n %185 = add i64 %184, %1\n %186 = inttoptr i64 %185 to i16*\n %187 = load i16, i16* %186, align 2\n %188 = add i64 %184, %0\n %189 = inttoptr i64 %188 to i16*\n %190 = load i16, i16* %189, align 2\n %191 = sext i16 %187 to i64\n %192 = zext i16 %190 to i64\n %193 = sub nsw i64 %191, %192\n %194 = and i64 %193, 4294967295\n %195 = icmp ugt i64 %183, %194\n store i64 %183, i64* %rax.1.reg2mem\n br i1 %195, label LBL_36, label LBL_37\n LBL_36:\n %196 = sub i16 %187, %190\n store i16 %196, i16* %180, align 2\n store i64 %179, i64* %rax.1.reg2mem\n br label LBL_37\n LBL_37:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n %sext15 = add i64 %storemerge.in57.reload, -4294967296\n %197 = udiv i64 %sext15, 4294967296\n %198 = trunc i64 %197 to i32\n %199 = icmp slt i32 %198, 0\n %200 = icmp eq i1 %199, false\n store i64 %sext15, i64* %storemerge.in57.reg2mem\n store i64 %rax.1.reload, i64* %rax.3.reg2mem\n br i1 %200, label LBL_35, label LBL_39\n LBL_38:\n %rax.0.le = and i64 %2, 4294967295\n store i64 %rax.0.le, i64* %rax.3.reg2mem\n br label LBL_39\n LBL_39:\n %rax.3.reload = load i64, i64* %rax.3.reg2mem\n ret i64 %rax.3.reload\n\n uselistorder i64 %178, { 1, 0 }\n uselistorder i64 %142, { 2, 1, 0 }\n uselistorder i64 %storemerge2358.reload, { 1, 0 }\n uselistorder i16 %124, { 1, 0 }\n uselistorder i32 %storemerge2759, { 1, 0, 2 }\n uselistorder i64 %storemerge2663.reload, { 1, 0 }\n uselistorder i32 %93, { 1, 2, 0 }\n uselistorder i32 %92, { 1, 0, 2 }\n uselistorder i32 %85, { 1, 0 }\n uselistorder i32 %84, { 2, 0, 1, 3 }\n uselistorder i32 %72, { 2, 0, 1, 3 }\n uselistorder i32 %71, { 2, 0, 1 }\n uselistorder i32 %70, { 1, 0 }\n uselistorder i16 %69, { 1, 0 }\n uselistorder i64 %storemerge4678.reload, { 1, 0 }\n uselistorder i32 %36, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 %spec.select94, { 0, 2, 3, 1 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64 %.pre98, { 2, 1, 0 }\n uselistorder i64 %storemerge5267.reload, { 2, 0, 1 }\n uselistorder i32 %sv_3.165.reload, { 1, 0 }\n uselistorder i16* %12, { 1, 0, 2 }\n uselistorder i32 %3, { 2, 0, 1, 3, 6, 5, 4 }\n uselistorder i64 %sext, { 0, 2, 1 }\n uselistorder i64 %1, { 0, 1, 2, 3, 4, 8, 5, 6, 7 }\n uselistorder i32* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %storemerge5267.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.166.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_3.165.reg2mem, { 1, 2, 0 }\n uselistorder i32* %storemerge54.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge53.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge4678.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.077.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge43.in81.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.080.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem99, { 1, 0, 2 }\n uselistorder i64* %storemerge2663.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2358.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in57.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.3.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 -1, { 0, 2, 1 }\n uselistorder i64 -4294967296, { 1, 0 }\n uselistorder i16 -32768, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 31, { 3, 0, 1, 2 }\n uselistorder i64 32, { 3, 2, 1, 0, 4 }\n uselistorder i64 4294967296, { 7, 0, 12, 1, 11, 2, 8, 3, 10, 4, 9, 5, 6 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_39, { 2, 0, 1 }\n uselistorder label LBL_37, { 1, 0 }\n uselistorder label LBL_35, { 1, 0 }\n uselistorder label LBL_33, { 1, 0 }\n uselistorder label LBL_30, { 1, 0 }\n uselistorder label LBL_28, { 1, 0 }\n uselistorder label LBL_27, { 1, 0 }\n uselistorder label LBL_24, { 1, 0, 2 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "proxy_socket_14128", "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 @socket(i32 1, i32 1, i32 0)\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 %8 = 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 %9 = call i32 @umask(i32 7)\n store i16 1, i16* %sv_3, align 2\n %10 = bitcast i64* %sv_2 to i8*\n %11 = call i8* @strcpy(i8* nonnull %10, i8* %0)\n %12 = bitcast i16* %sv_3 to %sockaddr*\n %13 = call i32 @bind(i32 %5, %sockaddr* nonnull %12, i32 110)\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 = 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 %17 = trunc i64 %arg2 to i32\n %18 = call i32 @chown(i8* nonnull %10, i32 %17, i32 %arg3)\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = 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 %22 = call i32 @listen(i32 %5, i32 1)\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_10, label LBL_9\n LBL_9:\n %25 = 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 %26 = bitcast i64* %sv_0 to %sockaddr*\n %27 = call i32 @accept(i32 %5, %sockaddr* nonnull %26, i32* nonnull %sv_1)\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n %30 = 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 %31 = call i32 @close(i32 %5)\n %32 = zext i32 %27 to i64\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %33 = call i32 @close(i32 %5)\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 uselistorder i64 4294967295, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "brk_rnd_10620", "fun_name": "brk_rnd", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %5 = srem i32 %4, 2048\n store i32 %5, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %6 = srem i32 %4, 262144\n store i32 %6, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = sext i32 %storemerge.in.reload to i64\n %7 = mul i64 %storemerge, 4096\n ret i64 %7\n\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aldap_parse_url_18908", "fun_name": "aldap_parse_url", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i8* @strdup(i8* %0)\n %2 = ptrtoint i8* %1 to i64\n store i64 %2, i64* %arg2, align 8\n %3 = icmp eq i64* %arg2, null\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_34\n LBL_1:\n %5 = call i32 @strncasecmp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* %1, i32 7)\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %2, i64* %rsi.1.reg2mem\n br i1 %7, label LBL_33, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %8, 120\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n %11 = add i64 %2, 7\n %12 = inttoptr i64 %11 to i8*\n %13 = call i8* @strchr(i8* %12, i32 47)\n %14 = icmp eq i8* %13, null\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n store i8 0, i8* %13, align 1\n br label LBL_4\n LBL_4:\n %15 = call i8* @strchr(i8* %12, i32 58)\n %16 = icmp eq i8* %15, null\n store i64 58, i64* %rsi.0.reg2mem\n br i1 %16, label LBL_7, label LBL_5\n LBL_5:\n store i8 0, i8* %15, align 1\n %17 = ptrtoint i8* %15 to i64\n %18 = add i64 %17, 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 i64 58, i64* %rsi.0.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %18, i64 0, i64 65535, i64* nonnull %sv_1)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %8, 112\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = load i64, i64* %sv_1, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %rsi.0.reg2mem\n store i64 0, i64* %rsi.1.reg2mem\n br i1 %28, label LBL_33, label LBL_7\n LBL_7:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %29 = load i8, i8* %12, align 1\n %30 = icmp eq i8 %29, 0\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n br i1 %30, label LBL_33, label LBL_8\n LBL_8:\n %31 = add i64 %8, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 %11, i64* %32, align 8\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_34, label LBL_9\n LBL_9:\n %33 = ptrtoint i8* %13 to i64\n %34 = add i64 %33, 1\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 1, i64* %rax.0.reg2mem\n br i1 %37, label LBL_34, label LBL_10\n LBL_10:\n %38 = call i8* @strchr(i8* %35, i32 63)\n %39 = icmp eq i8* %38, null\n br i1 %39, label LBL_11, label LBL_12\n LBL_11:\n %40 = add i64 %8, 16\n %41 = inttoptr i64 %40 to i64*\n store i64 %34, i64* %41, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_12:\n store i8 0, i8* %38, align 1\n %42 = add i64 %8, 16\n %43 = inttoptr i64 %42 to i64*\n store i64 %34, i64* %43, align 8\n %44 = ptrtoint i8* %38 to i64\n %45 = add i64 %44, 1\n %46 = inttoptr i64 %45 to i8*\n %47 = load i8, i8* %46, align 1\n %48 = icmp eq i8 %47, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %48, label LBL_34, label LBL_13\n LBL_13:\n %49 = call i8* @strchr(i8* %46, i32 63)\n %50 = icmp eq i8* %49, null\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n store i8 0, i8* %49, align 1\n br label LBL_15\n LBL_15:\n %51 = add i64 %8, 32\n store i64 0, i64* %indvars.iv.reg2mem\n store i8* %46, i8** %sv_0.07.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.07.reload = load i8*, i8** %sv_0.07.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %52 = call i8* @strchr(i8* %sv_0.07.reload, i32 44)\n %53 = icmp eq i8* %52, null\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_19, label LBL_17\n LBL_17:\n %55 = load i8, i8* %sv_0.07.reload, align 1\n %56 = icmp eq i8 %55, 0\n br i1 %56, label LBL_20, label LBL_18\n LBL_18:\n %sext = mul i64 %indvars.iv.reload, 4294967296\n %57 = ptrtoint i8* %sv_0.07.reload to i64\n %58 = ashr exact i64 %sext, 29\n %59 = add i64 %58, %51\n %60 = inttoptr i64 %59 to i64*\n store i64 %57, i64* %60, align 8\n br label LBL_20\n LBL_19:\n store i8 0, i8* %52, align 1\n %61 = ptrtoint i8* %sv_0.07.reload to i64\n %62 = mul i64 %indvars.iv.reload, 8\n %63 = add i64 %62, %51\n %64 = inttoptr i64 %63 to i64*\n store i64 %61, i64* %64, align 8\n %65 = ptrtoint i8* %52 to i64\n %66 = add i64 %65, 1\n %67 = inttoptr i64 %66 to i8*\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %68 = icmp ult i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8* %67, i8** %sv_0.07.reg2mem\n br i1 %68, label LBL_16, label LBL_20\n LBL_20:\n store i64 1, i64* %rax.0.reg2mem\n br i1 %50, label LBL_34, label LBL_21\n LBL_21:\n %69 = ptrtoint i8* %49 to i64\n %70 = add i64 %69, 1\n %71 = inttoptr i64 %70 to i8*\n %72 = load i8, i8* %71, align 1\n %73 = icmp eq i8 %72, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %73, label LBL_34, label LBL_22\n LBL_22:\n %74 = call i8* @strchr(i8* %71, i32 63)\n %75 = icmp eq i8* %74, null\n br i1 %75, label LBL_24, label LBL_23\n LBL_23:\n store i8 0, i8* %74, align 1\n br label LBL_24\n LBL_24:\n %76 = call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n br i1 %78, label LBL_26, label LBL_25\n LBL_25:\n %79 = add i64 %8, 116\n %80 = inttoptr i64 %79 to i32*\n store i32 0, i32* %80, align 4\n br label LBL_30\n LBL_26:\n %81 = call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([4 x i8], [4 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_28, label LBL_27\n LBL_27:\n %84 = add i64 %8, 116\n %85 = inttoptr i64 %84 to i32*\n store i32 1, i32* %85, align 4\n br label LBL_30\n LBL_28:\n %86 = call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0))\n %87 = icmp eq i32 %86, 0\n %88 = icmp eq i1 %87, false\n store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rsi.1.reg2mem\n br i1 %88, label LBL_33, label LBL_29\n LBL_29:\n %89 = add i64 %8, 116\n %90 = inttoptr i64 %89 to i32*\n store i32 2, i32* %90, align 4\n br label LBL_30\n LBL_30:\n store i64 1, i64* %rax.0.reg2mem\n br i1 %75, label LBL_34, label LBL_31\n LBL_31:\n %91 = ptrtoint i8* %74 to i64\n %92 = add i64 %91, 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 i64 %92, 0\n %or.cond = or i1 %96, %95\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_34, label LBL_32\n LBL_32:\n %97 = add i64 %8, 24\n %98 = inttoptr i64 %97 to i64*\n store i64 %92, i64* %98, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_33:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %99 = inttoptr i64 %rsi.1.reload to i64*\n call void @free(i64* %99)\n store i64 0, i64* %arg2, align 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_34:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %92, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i8* %sv_0.07.reload, { 0, 2, 3, 1 }\n uselistorder i64 %34, { 1, 0, 2 }\n uselistorder i8* %15, { 1, 0, 2 }\n uselistorder i64 %8, { 5, 6, 4, 3, 0, 7, 1, 8, 2, 9 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.1.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 2, 9, 8, 7, 6, 5, 1, 4, 3, 10 }\n uselistorder [4 x i8]* @gv_3, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i8* null, { 1, 0, 2, 3, 4, 5 }\n uselistorder i8* (i8*, i32)* @strchr, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i64* %arg2, { 0, 3, 1, 2 }\n uselistorder label LBL_34, { 10, 1, 8, 7, 6, 5, 4, 0, 3, 2, 9 }\n uselistorder label LBL_20, { 0, 2, 1 }\n uselistorder label LBL_16, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "balloon_stats_poll_cb_777", "fun_name": "balloon_stats_poll_cb", "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_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 br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %0, 12\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 store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16, i64 %0, i32 %13)\n %18 = load i64, i64* %15, align 8\n %19 = call i64 @FUNC(i64 %0, i64 %18)\n %20 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, 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 %0, { 0, 2, 1, 3, 5, 4, 8, 7, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r128_cce_idle_4285", "fun_name": "r128_cce_idle", "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* %arg1 to i64\n %3 = call i64 @FUNC(i64 4202515)\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 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %2)\n ret i64 %7\n\n uselistorder i64 %2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aux_register_types_1945", "fun_name": "aux_register_types", "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* nonnull @gv_2)\n ret i64 %2\n\n uselistorder i64 (i64*)* @type_register_static, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gif_encode_close_13785", "fun_name": "gif_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 %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\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, 24\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 32\n %9 = call i64 @FUNC(i64 %8)\n ret i64 0\n\n uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_external_interrupt_irqoff_5960", "fun_name": "handle_external_interrupt_irqoff", "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 = load i64, i64* @gv_0, align 8\n %3 = and i64 %1, 4294967295\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 %2)\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %0, i64 %8)\n %10 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %10, 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 label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_set_features_1692", "fun_name": "qvirtio_pci_set_features", "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 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %arg1, i32 %2, i64 0, i64 %3)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GC_generic_malloc_4647", "fun_name": "GC_generic_malloc", "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 %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 br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC()\n %5 = icmp ult i64 %arg1, 1024\n br i1 %5, label LBL_3, label LBL_4\n LBL_3:\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i64 %arg1, i64 %6)\n store i64 %7, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_4:\n %8 = add i64 %arg1, 7\n %9 = and i64 %8, -8\n %10 = icmp ult i64 %9, %arg1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = trunc i64 %arg1 to i32\n %13 = call i64* @malloc(i32 %12)\n %14 = ptrtoint i64* %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %15 = ptrtoint i64* %sv_1 to i64\n %sext = mul i64 %arg2, 4294967296\n %16 = trunc i64 %9 to i32\n %17 = ashr exact i64 %sext, 30\n %18 = add nsw i64 %17, -40\n %19 = add i64 %18, %15\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = call i64* @malloc(i32 %16)\n %23 = ptrtoint i64* %22 to i64\n %24 = icmp eq i64* %22, null\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = udiv i64 %8, 8\n store i64 0, i64* %22, align 8\n %26 = add i64 %23, 8\n %27 = inttoptr i64 %26 to i64*\n store i64 0, i64* %27, align 8\n %28 = call i64 @FUNC(i64 %25)\n %29 = mul i64 %28, 8\n %30 = add i64 %23, -8\n %31 = add i64 %30, %29\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = call i64 @FUNC(i64 %25)\n %34 = mul i64 %33, 8\n %35 = add i64 %23, -16\n %36 = add i64 %35, %34\n %37 = inttoptr i64 %36 to i64*\n store i64 0, i64* %37, align 8\n br label LBL_8\n LBL_8:\n %38 = load i64, i64* @gv_1, align 8\n %sext6 = mul i64 %9, 4294967296\n %39 = ashr exact i64 %sext6, 32\n %40 = add i64 %38, %39\n store i64 %40, i64* @gv_1, align 8\n %41 = icmp eq i32 %21, 0\n %or.cond = or i1 %41, %24\n store i64 %23, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_9\n LBL_9:\n %42 = trunc i64 %8 to i32\n %43 = and i32 %42, -8\n %44 = add i32 %43, 4095\n %45 = and i32 %44, -4096\n %46 = call i64* @memset(i64* nonnull %22, i32 0, i32 %45)\n store i64 %23, 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 %47 = icmp eq i64 %sv_0.0.reload, 0\n %48 = icmp eq i1 %47, false\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %48, label LBL_12, label LBL_11\n LBL_11:\n %49 = trunc i64 %arg1 to i32\n %50 = call i64* @malloc(i32 %49)\n %51 = ptrtoint i64* %50 to i64\n store i64 %51, 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 %25, { 1, 0 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @GRANULES_TO_WORDS, { 1, 0 }\n uselistorder i64 8, { 0, 1, 3, 2 }\n uselistorder i64* (i32)* @malloc, { 3, 2, 1, 0 }\n uselistorder i64 -8, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 5, 4, 3 }\n uselistorder label LBL_12, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atusb_get_and_show_revision_6800", "fun_name": "atusb_get_and_show_revision", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %.pre-phi3.reg2mem = alloca i8*\n %0 = call i64 @FUNC(i64 3, 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_8\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = and i64 %4, 4294967295\n %6 = call i64 @FUNC(i64 %3, i64 %5, i64 0, i64 0, i64 0, i64 0, i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n br i1 %8, label LBL_1.LBL_4_crit_edge, label LBL_3\n LBL_2:\n %.pre = add i64 %3, 8\n %.pre2 = inttoptr i64 %.pre to i8*\n store i8* %.pre2, i8** %.pre-phi3.reg2mem\n store i64 0, i64* %r8.0.reg2mem\n br label LBL_4\n LBL_3:\n %9 = inttoptr i64 %0 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i8*\n store i8 %10, i8* %12, align 1\n %13 = add i64 %0, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = add i64 %3, 9\n %17 = inttoptr i64 %16 to i8*\n store i8 %15, i8* %17, align 1\n %18 = add i64 %0, 2\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = add i64 %3, 10\n %22 = inttoptr i64 %21 to i8*\n store i8 %20, i8* %22, align 1\n %23 = load i8, i8* %17, align 1\n %24 = zext i8 %23 to i64\n %25 = load i8, i8* %12, align 1\n %26 = zext i8 %25 to i64\n %27 = zext i8 %20 to i64\n %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %24, i64 %27, i64 0)\n store i8* %12, i8** %.pre-phi3.reg2mem\n store i64 %27, i64* %r8.0.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi3.reload = load i8*, i8** %.pre-phi3.reg2mem\n %29 = load i8, i8* %.pre-phi3.reload, align 1\n %30 = icmp eq i8 %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 %3, 9\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp ult i8 %34, 2\n br i1 %35, label LBL_6, label LBL_7\n LBL_6:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %36 = zext i8 %34 to i64\n %37 = zext i8 %29 to i64\n %38 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 %37, i64 %36, i64 %r8.0.reload, i64 0)\n %39 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %37, i64 %36, i64 %r8.0.reload, i64 0)\n br label LBL_7\n LBL_7:\n %40 = call i64 @FUNC(i64 %0)\n %41 = and i64 %6, 4294967295\n store i64 %41, 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 %37, { 1, 0 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %3, { 6, 5, 7, 1, 2, 3, 4, 0, 8, 9 }\n uselistorder i64 %0, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_info, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_r_bin_dwarf_debug_abbrev_9385", "fun_name": "dump_r_bin_dwarf_debug_abbrev", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi.3.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.212.reg2mem = alloca i64\n %storemerge113.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %rsi.414.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i64* %arg2, null\n %or.cond = or i1 %0, %1\n br i1 %or.cond, label LBL_12, label LBL_1\n LBL_1:\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 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_12, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %arg1 to %_IO_FILE*\n store i64 0, i64* %storemerge15.reg2mem\n store i64 %2, i64* %rsi.414.reg2mem\n br label LBL_3\n LBL_3:\n %rsi.414.reload = load i64, i64* %rsi.414.reg2mem\n %storemerge15.reload = load i64, i64* %storemerge15.reg2mem\n %8 = mul i64 %storemerge15.reload, 48\n %9 = add i64 %8, %rsi.414.reload\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %9, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %14)\n %16 = icmp ugt i32 %11, 99\n store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = sext i32 %11 to i64\n %18 = mul i64 %17, 8\n %19 = add i64 %18, ptrtoint ([3 x i8*]* @gv_1 to i64)\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 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* %22)\n store i64 ptrtoint ([8 x i8]* @gv_2 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 %24 = add i64 %8, 16\n %25 = add i64 %24, %rsi.0.reload\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n %29 = select i1 %28, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0)\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* %29)\n %31 = add i64 %8, add (i64 ptrtoint ([6 x i8]* @gv_5 to i64), i64 24)\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 %33)\n %35 = add i64 %8, add (i64 ptrtoint ([15 x i8]* @gv_6 to i64), i64 32)\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n store i64 ptrtoint ([15 x i8]* @gv_6 to i64), i64* %rsi.3.reg2mem\n br i1 %38, label LBL_11, label LBL_6\n LBL_6:\n %39 = add i64 %8, add (i64 ptrtoint ([15 x i8]* @gv_6 to i64), i64 40)\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, 0\n store i64 ptrtoint ([15 x i8]* @gv_6 to i64), i64* %rsi.3.reg2mem\n br i1 %42, label LBL_11, label LBL_7\n LBL_7:\n %43 = add i64 %8, ptrtoint ([15 x i8]* @gv_6 to i64)\n store i64 %43, i64* %.reg2mem\n store i64 0, i64* %storemerge113.reg2mem\n store i64 ptrtoint ([15 x i8]* @gv_6 to i64), i64* %rsi.212.reg2mem\n br label LBL_8\n LBL_8:\n %rsi.212.reload = load i64, i64* %rsi.212.reg2mem\n %storemerge113.reload = load i64, i64* %storemerge113.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %44 = add i64 %.reload, 32\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = mul i64 %storemerge113.reload, 16\n %48 = add i64 %46, %47\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = add i64 %48, 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = icmp eq i64 %50, 1\n %55 = icmp eq i64 %53, 1\n %56 = icmp eq i1 %54, %55\n store i64 %rsi.212.reload, i64* %rsi.1.reg2mem\n br i1 %56, label LBL_9, label LBL_10\n LBL_9:\n %57 = load i64, i64* inttoptr (i64 add (i64 ptrtoint ([2 x i8*]* @gv_7 to i64), i64 8) to i64*), align 8\n %58 = load i64, i64* inttoptr (i64 add (i64 ptrtoint ([2 x i8*]* @gv_8 to i64), i64 8) to i64*), align 8\n %59 = inttoptr i64 %58 to i8*\n %60 = inttoptr i64 %57 to i8*\n %61 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_9, i64 0, i64 0), i8* %59, i8* %60)\n store i64 ptrtoint ([11 x i8]* @gv_9 to i64), i64* %rsi.1.reg2mem\n br label LBL_10\n LBL_10:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %62 = add nuw i64 %storemerge113.reload, 1\n %63 = add i64 %rsi.1.reload, %8\n %64 = add i64 %63, 40\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = icmp ult i64 %62, %66\n store i64 %63, i64* %.reg2mem\n store i64 %62, i64* %storemerge113.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.212.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.3.reg2mem\n br i1 %67, label LBL_8, label LBL_11\n LBL_11:\n %rsi.3.reload = load i64, i64* %rsi.3.reg2mem\n %68 = add nuw i64 %storemerge15.reload, 1\n %69 = load i64, i64* %4, align 8\n %70 = icmp ult i64 %68, %69\n store i64 %68, i64* %storemerge15.reg2mem\n store i64 %rsi.3.reload, i64* %rsi.414.reg2mem\n store i64 %69, i64* %rax.0.reg2mem\n br i1 %70, label LBL_3, 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 %rsi.1.reload, { 0, 2, 1 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %8, { 0, 2, 1, 4, 5, 6, 3 }\n uselistorder %_IO_FILE* %7, { 1, 2, 3, 0, 4 }\n uselistorder i64* %4, { 1, 0 }\n uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.414.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge113.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.212.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }\n uselistorder [11 x i8]* @gv_9, { 1, 0 }\n uselistorder i64 1, { 3, 2, 0, 1 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 ptrtoint ([15 x i8]* @gv_6 to i64), { 2, 3, 0, 4, 1, 5 }\n uselistorder [15 x i8]* @gv_6, { 1, 0 }\n uselistorder [6 x i8]* @gv_5, { 1, 0 }\n uselistorder [8 x i8]* @gv_2, { 1, 0 }\n uselistorder i32 0, { 14, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 4, 0, 3, 1 }\n uselistorder [24 x i8]* @gv_0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v4l2_decode_init_1715", "fun_name": "v4l2_decode_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 %sv_0 = alloca i32*, align 8\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 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_5\n LBL_2:\n %9 = trunc i64 %1 to i32\n %10 = load i32*, i32** %sv_0, align 8\n %11 = ptrtoint i32* %10 to i64\n %12 = add i64 %11, 16\n store i32 %9, i32* %10, align 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %9, 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 = add i64 %11, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %11, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 %16, i32* %20, 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 = add i64 %11, 24\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %11, 28\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %11, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, align 4\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 %11, 12\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = call i64 @FUNC(i64 %2)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_4, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n %39 = and i64 %35, 4294967295\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %40 = load i32*, i32** %sv_0, align 8\n %41 = ptrtoint i32* %40 to i64\n %42 = call i64 @FUNC(i64 %41)\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 %11, { 6, 5, 0, 1, 2, 4, 3 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32** %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "CreateCachedPlan_4812", "fun_name": "CreateCachedPlan", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 1024, i64 2048, i64 8192)\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 200)\n %8 = inttoptr i64 %7 to i32*\n store i32 12345, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = call i64 @FUNC(i64 %arg2)\n %13 = add i64 %7, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = add i64 %7, 24\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg3, i64* %16, align 8\n %17 = add i64 %7, 32\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n %19 = add i64 %7, 40\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %7, 48\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n %23 = add i64 %7, 56\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n %25 = add i64 %7, 64\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %7, 68\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %7, 72\n %30 = inttoptr i64 %29 to i64*\n store i64 0, i64* %30, align 8\n %31 = add i64 %7, 80\n %32 = inttoptr i64 %31 to i64*\n store i64 %5, i64* %32, align 8\n %33 = add i64 %7, 88\n %34 = inttoptr i64 %33 to i64*\n store i64 0, i64* %34, align 8\n %35 = add i64 %7, 96\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n %37 = add i64 %7, 104\n %38 = inttoptr i64 %37 to i64*\n store i64 0, i64* %38, align 8\n %39 = add i64 %7, 112\n %40 = inttoptr i64 %39 to i64*\n store i64 0, i64* %40, align 8\n %41 = add i64 %7, 120\n %42 = inttoptr i64 %41 to i64*\n store i64 0, i64* %42, align 8\n %43 = add i64 %7, 128\n %44 = inttoptr i64 %43 to i64*\n store i64 0, i64* %44, align 8\n %45 = add i64 %7, 136\n %46 = inttoptr i64 %45 to i32*\n store i32 0, i32* %46, align 4\n %47 = add i64 %7, 140\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, align 4\n %49 = add i64 %7, 144\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = add i64 %7, 148\n %52 = inttoptr i64 %51 to i32*\n store i32 0, i32* %52, align 4\n %53 = add i64 %7, 152\n %54 = inttoptr i64 %53 to i32*\n store i32 0, i32* %54, align 4\n %55 = add i64 %7, 160\n %56 = inttoptr i64 %55 to i64*\n store i64 0, i64* %56, align 8\n %57 = call i128 @FUNC(i64 -4616189618054758400)\n %58 = call i64 @__asm_movsd.1(i128 %57)\n %59 = add i64 %7, 168\n %60 = inttoptr i64 %59 to i64*\n store i64 %58, i64* %60, align 8\n %61 = call i128 @FUNC(i128 %57, i128 %57)\n %62 = call i64 @__asm_movsd.1(i128 %61)\n %63 = add i64 %7, 176\n %64 = inttoptr i64 %63 to i64*\n store i64 %62, i64* %64, align 8\n %65 = add i64 %7, 184\n %66 = inttoptr i64 %65 to i32*\n store i32 0, i32* %66, align 4\n %67 = add i64 %7, 188\n %68 = inttoptr i64 %67 to i32*\n store i32 0, i32* %68, align 4\n %69 = add i64 %7, 192\n %70 = inttoptr i64 %69 to i32*\n store i32 0, i32* %70, align 4\n %71 = add i64 %7, 196\n %72 = inttoptr i64 %71 to i32*\n store i32 0, i32* %72, align 4\n %73 = call i64 @FUNC(i64 %6)\n ret i64 %7\n\n uselistorder i128 %57, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0 }\n uselistorder i64 (i64)* @MemoryContextSwitchTo, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "convert_case_filter_5669", "fun_name": "convert_case_filter", "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 %sv_0 = alloca i32, align 4\n %2 = trunc i64 %arg1 to i32\n %3 = icmp ult i32 %2, 16777216\n br i1 %3, label LBL_1, label LBL_17\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %4 = ashr exact i64 %sext, 32\n %.cast = ptrtoint i32* %arg2 to i64\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n store i64 %6, i64* @0, align 8\n switch i32 %5, label LBL_17 [\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_8\n ]\n LBL_2:\n %7 = add i64 %.cast, 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 %4, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n %13 = trunc i64 %12 to i32\n store i32 %13, i32* %sv_0, align 4\n br label LBL_17\n LBL_3:\n %14 = add i64 %.cast, 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 = and i64 %4, 4294967295\n %19 = call i64 @FUNC(i64 %18, i64 %17, i32* nonnull %sv_0)\n br label LBL_17\n LBL_4:\n %20 = add i64 %.cast, 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 = and i64 %4, 4294967295\n %25 = call i64 @FUNC(i64 %24, i64 %23)\n %26 = trunc i64 %25 to i32\n store i32 %26, i32* %sv_0, align 4\n br label LBL_17\n LBL_5:\n %27 = add i64 %.cast, 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 = and i64 %4, 4294967295\n %32 = call i64 @FUNC(i64 %31, i64 %30, i32* nonnull %sv_0)\n br label LBL_17\n LBL_6:\n %33 = add i64 %.cast, 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 = and i64 %4, 4294967295\n %38 = call i64 @FUNC(i64 %37, i64 %36, i32* nonnull %sv_0)\n br label LBL_17\n LBL_7:\n %39 = add i64 %.cast, 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 = and i64 %4, 4294967295\n %44 = call i64 @FUNC(i64 %43, i64 %42)\n %45 = trunc i64 %44 to i32\n store i32 %45, i32* %sv_0, align 4\n br label LBL_17\n LBL_8:\n %46 = add i64 %.cast, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i32 %5, 7\n %51 = icmp eq i1 %50, false\n %52 = add i64 %.cast, 4\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = zext i32 %54 to i64\n %56 = and i64 %4, 4294967295\n br i1 %49, label LBL_12, label LBL_9\n LBL_9:\n br i1 %51, label LBL_11, label LBL_10\n LBL_10:\n %57 = call i64 @FUNC(i64 %56, i64 %55)\n %58 = trunc i64 %57 to i32\n store i32 %58, i32* %sv_0, align 4\n br label LBL_15\n LBL_11:\n %59 = call i64 @FUNC(i64 %56, i64 %55, i32* nonnull %sv_0)\n br label LBL_15\n LBL_12:\n br i1 %51, label LBL_14, label LBL_13\n LBL_13:\n %60 = call i64 @FUNC(i64 %56, i64 %55)\n %61 = trunc i64 %60 to i32\n store i32 %61, i32* %sv_0, align 4\n br label LBL_15\n LBL_14:\n %62 = call i64 @FUNC(i64 %56, i64 %55, i32* nonnull %sv_0)\n br label LBL_15\n LBL_15:\n %63 = call i64 @FUNC(i64 %56)\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_17, label LBL_16\n LBL_16:\n %67 = call i64 @FUNC(i64 %56)\n %68 = trunc i64 %67 to i32\n store i32 %68, i32* %47, align 4\n br label LBL_17\n LBL_17:\n ret i64 0\n\n uselistorder i64 %56, { 1, 0, 5, 4, 2, 3 }\n uselistorder i64 %55, { 3, 2, 0, 1 }\n uselistorder i1 %51, { 1, 0 }\n uselistorder i64 %.cast, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_0, { 0, 5, 1, 6, 7, 2, 3, 8, 4, 9 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64, i32*)* @php_unicode_tolower_full, { 1, 0 }\n uselistorder i64 (i64, i64)* @php_unicode_tolower_simple, { 1, 0 }\n uselistorder i64 4294967295, { 7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11 }\n uselistorder label LBL_17, { 7, 8, 6, 5, 4, 3, 2, 1, 0, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "initrd_load_6124", "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_11, 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 br label LBL_3\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 br label LBL_5\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 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 br label LBL_7\n LBL_7:\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_8\n LBL_8:\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, i64 0)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_10, label LBL_9\n LBL_9:\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_9, i64 0, i64 0))\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\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_8, 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 %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, { 1, 0, 2 }\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_11, { 0, 2, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uprobe_write_opcode_4703", "fun_name": "uprobe_write_opcode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) 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 %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 %1 = ptrtoint i64* %sv_4 to i64\n store i32 %arg3, i32* %sv_3, align 4\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_1 to i64\n br label LBL_1\n LBL_1:\n store i64 0, i64* %3, align 8\n store i64 %6, i64* %5, align 8\n %7 = call i64 @FUNC(i64 0, i64 %0, i64 %arg2, i64 1, i64 3, i64* nonnull %sv_2)\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 i32 %8, i32* %storemerge.in.reg2mem\n br i1 %13, label LBL_2, label LBL_7\n LBL_2:\n %14 = load i64, i64* %sv_2, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %arg2, i32* nonnull %sv_3)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 1\n store i32 %16, i32* %sv_0.0.reg2mem\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = load i64, i64* %sv_1, align 8\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 store i32 %20, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = load i64, i64* %sv_1, align 8\n %24 = call i64 @FUNC(i64 3, i64 %23, i64 %arg2)\n %25 = icmp eq i64 %24, 0\n store i32 -12, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %24)\n %27 = load i64, i64* %sv_2, align 8\n %28 = call i64 @FUNC(i64 %24, i64 %27)\n %29 = call i64 @FUNC(i64 %24, i64 %arg2, i32* nonnull %sv_3, i64 4)\n %30 = load i64, i64* %sv_2, align 8\n %31 = load i64, i64* %sv_1, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %arg2, i64 %30, i64 %24)\n %33 = trunc i64 %32 to i32\n %34 = call i64 @FUNC(i64 %24)\n store i32 %33, 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 %35 = load i64, i64* %sv_2, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp eq i32 %sv_0.0.reload, -11\n %38 = icmp eq i1 %37, false\n store i32 %sv_0.0.reload, i32* %storemerge.in.reg2mem\n br i1 %38, label LBL_7, label LBL_1\n LBL_7:\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 %24, { 1, 0, 4, 3, 2, 5 }\n uselistorder i32 %8, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64)* @put_page, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_setstring_10762", "fun_name": "put_setstring", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\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_10\n LBL_1:\n %4 = icmp eq i8* %arg3, null\n br i1 %4, label LBL_9, label LBL_2\n LBL_2:\n %5 = ptrtoint i8* %arg3 to i64\n %6 = icmp eq i64* %arg4, @gv_1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %8 = trunc i64 %5 to i8\n store i8* %arg3, i8** %sv_0, align 8\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = bitcast i8** %sv_0 to i64*\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64* nonnull %11, i64 0)\n %13 = call i64 @FUNC(i64 %arg1, i64 %12, i64 2)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, -1\n %16 = icmp eq i1 %15, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_10\n LBL_5:\n br i1 %10, label LBL_4, label LBL_9\n LBL_6:\n %17 = trunc i64 %arg5 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = call i64 @FUNC(i64 1024)\n %20 = call i64 @FUNC(i64 0, i64 %5, i64 %19, i64 1024, i64 0)\n %21 = call i64 @FUNC(i64 %arg1, i64 %19, i64 2)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, -1\n %24 = icmp eq i1 %23, false\n %25 = call i64 @FUNC(i64 %19)\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %24, label LBL_9, label LBL_10\n LBL_8:\n %26 = call i64 @FUNC(i64 %arg1, i64 %5, i64 2)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, -1\n %29 = icmp eq i1 %28, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_9, label LBL_10\n LBL_9:\n %30 = call i64 @FUNC(i64 %arg1)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n %. = select i1 %33, i64 0, i64 4294967295\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 %5, { 2, 0, 1 }\n uselistorder i8** %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 }\n uselistorder i64 (i64, i64, i64)* @put_escstr, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 4294967295, { 4, 1, 2, 0, 3, 5, 6 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder i8* %arg3, { 1, 3, 0, 2 }\n uselistorder i64 %arg1, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_10, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_9, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_decode_p_blocks_31", "fun_name": "vc1_decode_p_blocks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem17 = alloca i32\n %.reg2mem15 = alloca i32\n %.reg2mem13 = alloca i32\n %storemerge2.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, 2\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = icmp sgt i32 %3, 2\n br i1 %5, label LBL_12, label LBL_2\n LBL_2:\n store i32 %3, i32* %.reg2mem\n switch i32 %3, label LBL_8 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\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, -8\n %10 = sub i32 7, %8\n %11 = and i32 %10, %8\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i32 %9, 0\n %14 = icmp slt i32 %9, 0\n %15 = icmp eq i1 %14, %12\n %16 = icmp eq i1 %13, false\n %17 = icmp eq i1 %15, %16\n %18 = zext i1 %17 to i32\n %19 = add i64 %2, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n br label LBL_6\n LBL_4:\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 2, i32* %22, align 4\n br label LBL_6\n LBL_5:\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 3, i32* %24, align 4\n br label LBL_6\n LBL_6:\n %25 = bitcast i64* %rdi to i32*\n %.pr = load i32, i32* %25, align 8\n %26 = icmp eq i32 %.pr, 2\n br i1 %26, label LBL_11, label LBL_7\n LBL_7:\n %27 = icmp sgt i32 %.pr, 2\n store i32 %.pr, i32* %.reg2mem\n br i1 %27, label LBL_12, label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n switch i32 %.reload, label LBL_12 [\n i32 0, label LBL_9\n i32 1, label LBL_10\n ]\n LBL_9:\n %28 = add i64 %2, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp sgt i32 %30, 8\n %32 = select i1 %31, i32 5, i32 4\n %33 = add i64 %2, 12\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n br label LBL_12\n LBL_10:\n %35 = add i64 %2, 12\n %36 = inttoptr i64 %35 to i32*\n store i32 6, i32* %36, align 4\n br label LBL_12\n LBL_11:\n %37 = add i64 %2, 12\n %38 = inttoptr i64 %37 to i32*\n store i32 7, i32* %38, align 4\n br label LBL_12\n LBL_12:\n %39 = add i64 %2, 88\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %41, 0\n br i1 %42, label LBL_14, label LBL_13\n LBL_13:\n %43 = add i64 %2, 96\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp sgt i32 %47, 12\n store i32 1, i32* %storemerge2.reg2mem\n br i1 %48, label LBL_14, label LBL_15\n LBL_14:\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %49 = add i64 %2, 128\n %50 = inttoptr i64 %49 to i32*\n store i32 1, i32* %50, align 4\n %51 = add i64 %2, 124\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = mul i32 %53, 8\n %55 = add i64 %2, 24\n %56 = inttoptr i64 %55 to i64*\n %57 = call i64* @memset(i64* %56, i32 0, i32 %54)\n %58 = add i64 %2, 112\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = add i64 %2, 104\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = add i64 %2, 116\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = icmp ult i32 %60, %65\n store i32 %65, i32* %.reg2mem13\n br i1 %66, label LBL_16, label LBL_33\n LBL_16:\n %67 = add i64 %2, 108\n %68 = inttoptr i64 %67 to i32*\n %69 = add i64 %2, 120\n %70 = inttoptr i64 %69 to i32*\n %71 = add i64 %2, 20\n %72 = inttoptr i64 %71 to i32*\n %73 = icmp eq i32 %storemerge2.reload, 0\n %74 = add i64 %2, 136\n %75 = add i64 %2, 16\n %76 = inttoptr i64 %75 to i32*\n %77 = add i64 %2, 32\n %78 = inttoptr i64 %77 to i64*\n %79 = add i64 %2, 48\n %80 = add i64 %2, 40\n %81 = inttoptr i64 %80 to i64*\n %82 = inttoptr i64 %79 to i64*\n %83 = add i64 %2, 64\n %84 = add i64 %2, 56\n %85 = inttoptr i64 %84 to i64*\n %86 = inttoptr i64 %83 to i64*\n %87 = add i64 %2, 80\n %88 = add i64 %2, 72\n %89 = inttoptr i64 %88 to i64*\n %90 = inttoptr i64 %87 to i64*\n br label LBL_17\n LBL_17:\n store i32 0, i32* %68, align 4\n %91 = call i64 @FUNC(i64 %39)\n %92 = load i32, i32* %68, align 4\n %93 = load i32, i32* %70, align 4\n %94 = icmp ult i32 %92, %93\n br i1 %94, label LBL_18, label LBL_30\n LBL_18:\n %95 = call i64 @FUNC(i64 %39)\n %96 = load i32, i32* %72, align 4\n %97 = icmp eq i32 %96, 8\n %98 = icmp eq i1 %97, false\n br i1 %98, label LBL_20, label LBL_19\n LBL_19:\n %99 = call i64 @FUNC(i64 %2)\n br label LBL_23\n LBL_20:\n %100 = icmp eq i32 %96, 9\n %101 = icmp eq i1 %100, false\n br i1 %101, label LBL_22, label LBL_21\n LBL_21:\n %102 = call i64 @FUNC(i64 %2)\n br label LBL_23\n LBL_22:\n %103 = call i64 @FUNC(i64 %2)\n br label LBL_23\n LBL_23:\n %104 = load i32, i32* %62, align 4\n %105 = load i32, i32* %59, align 4\n %106 = icmp eq i32 %104, %105\n %or.cond = or i1 %73, %106\n br i1 %or.cond, label LBL_26, label LBL_24\n LBL_24:\n %107 = load i32, i32* %72, align 4\n %108 = icmp eq i32 %107, 10\n %109 = icmp eq i1 %108, false\n br i1 %109, label LBL_26, label LBL_25\n LBL_25:\n %110 = call i64 @FUNC(i64 %2)\n br label LBL_26\n LBL_26:\n %111 = call i64 @FUNC(i64 %74)\n %112 = load i32, i32* %76, align 4\n %113 = zext i32 %112 to i64\n %114 = icmp sgt i64 %111, %113\n br i1 %114, label LBL_28, label LBL_27\n LBL_27:\n %115 = call i64 @FUNC(i64 %74)\n %116 = trunc i64 %115 to i32\n %117 = icmp slt i32 %116, 0\n %118 = icmp eq i1 %117, false\n br i1 %118, label LBL_29, label LBL_28\n LBL_28:\n %119 = load i32, i32* %62, align 4\n %120 = load i32, i32* %68, align 4\n %121 = load i32, i32* %59, align 4\n %122 = zext i32 %119 to i64\n %123 = call i64 @FUNC(i64 %39, i64 0, i32 %121, i32 %120, i64 %122, i64 11)\n %124 = load i32, i32* %68, align 4\n %125 = load i32, i32* %76, align 4\n %126 = call i64 @FUNC(i64 %74)\n %127 = add i64 %2, 96\n %128 = inttoptr i64 %127 to i64*\n %129 = load i64, i64* %128, align 8\n %130 = zext i32 %124 to i64\n %131 = zext i32 %125 to i64\n %132 = and i64 %126, 4294967295\n %133 = call i64 @FUNC(i64 %129, i64 14, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %132, i64 %131, i64 %130)\n store i64 %133, i64* %storemerge.reg2mem\n br label LBL_40\n LBL_29:\n %134 = load i32, i32* %68, align 4\n %135 = add i32 %134, 1\n store i32 %135, i32* %68, align 4\n %136 = load i32, i32* %70, align 4\n %137 = icmp ult i32 %135, %136\n br i1 %137, label LBL_18, label LBL_30\n LBL_30:\n %138 = load i32, i32* %52, align 4\n %139 = mul i32 %138, 4\n %140 = call i64* @memmove(i64* %56, i64* %78, i32 %139)\n %141 = load i32, i32* %52, align 4\n %142 = mul i32 %141, 4\n %143 = call i64* @memmove(i64* %81, i64* %82, i32 %142)\n %144 = load i32, i32* %52, align 4\n %145 = mul i32 %144, 4\n %146 = call i64* @memmove(i64* %85, i64* %86, i32 %145)\n %147 = load i32, i32* %52, align 4\n %148 = mul i32 %147, 4\n %149 = call i64* @memmove(i64* %89, i64* %90, i32 %148)\n %150 = load i32, i32* %62, align 4\n %151 = load i32, i32* %59, align 4\n %152 = icmp eq i32 %150, %151\n br i1 %152, label LBL_32, label LBL_31\n LBL_31:\n %153 = mul i32 %150, 16\n %154 = add i32 %153, -16\n %155 = zext i32 %154 to i64\n %156 = call i64 @FUNC(i64 %39, i64 %155, i64 16)\n br label LBL_32\n LBL_32:\n store i32 0, i32* %50, align 4\n %157 = load i32, i32* %62, align 4\n %158 = add i32 %157, 1\n store i32 %158, i32* %62, align 4\n %159 = load i32, i32* %64, align 4\n %160 = icmp ult i32 %158, %159\n store i32 %159, i32* %.reg2mem13\n br i1 %160, label LBL_17, label LBL_33\n LBL_33:\n %.reload14 = load i32, i32* %.reg2mem13\n %161 = icmp eq i32 %storemerge2.reload, 0\n store i32 %.reload14, i32* %.reg2mem15\n br i1 %161, label LBL_37, label LBL_34\n LBL_34:\n %162 = add i64 %2, 108\n %163 = inttoptr i64 %162 to i32*\n store i32 0, i32* %163, align 4\n %164 = call i64 @FUNC(i64 %39)\n %165 = load i32, i32* %163, align 4\n %166 = add i64 %2, 120\n %167 = inttoptr i64 %166 to i32*\n %168 = load i32, i32* %167, align 4\n %169 = icmp ult i32 %165, %168\n br i1 %169, label LBL_35, label LBL_36\n LBL_35:\n %170 = call i64 @FUNC(i64 %39)\n %171 = call i64 @FUNC(i64 %2)\n %172 = load i32, i32* %163, align 4\n %173 = add i32 %172, 1\n store i32 %173, i32* %163, align 4\n %174 = load i32, i32* %167, align 4\n %175 = icmp ult i32 %173, %174\n br i1 %175, label LBL_35, label LBL_36\n LBL_36:\n %.pre = load i32, i32* %64, align 4\n store i32 %.pre, i32* %.reg2mem15\n br label LBL_37\n LBL_37:\n %.reload16 = load i32, i32* %.reg2mem15\n %176 = load i32, i32* %59, align 4\n %177 = icmp ult i32 %.reload16, %176\n store i32 %.reload16, i32* %.reg2mem17\n br i1 %177, label LBL_39, label LBL_38\n LBL_38:\n %178 = mul i32 %.reload16, 16\n %179 = add i32 %178, -16\n %180 = zext i32 %179 to i64\n %181 = call i64 @FUNC(i64 %39, i64 %180, i64 16)\n %.pre12 = load i32, i32* %64, align 4\n store i32 %.pre12, i32* %.reg2mem17\n br label LBL_39\n LBL_39:\n %.reload18 = load i32, i32* %.reg2mem17\n %182 = add i64 %2, 144\n %183 = inttoptr i64 %182 to i32*\n %184 = load i32, i32* %183, align 4\n %185 = urem i32 %184, 32\n %186 = shl i32 %.reload18, %185\n %187 = add i32 %186, -1\n %188 = zext i32 %187 to i64\n store i64 %188, i64* %rdi, align 8\n %189 = add i64 %2, 120\n %190 = inttoptr i64 %189 to i32*\n %191 = load i32, i32* %190, align 4\n %192 = add i32 %191, -1\n %193 = load i32, i32* %59, align 4\n %194 = load i32, i32* %183, align 4\n %195 = urem i32 %194, 32\n %196 = shl i32 %193, %195\n %197 = call i64 @FUNC(i64 %39, i64 0, i32 %196, i32 %192, i64 %188, i64 12)\n store i64 %197, i64* %storemerge.reg2mem\n br label LBL_40\n LBL_40:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %.reload16, { 2, 0, 1 }\n uselistorder i32* %167, { 1, 0 }\n uselistorder i32* %163, { 2, 1, 0, 3 }\n uselistorder i32 %158, { 1, 0 }\n uselistorder i32* %70, { 1, 0 }\n uselistorder i32* %68, { 4, 3, 1, 0, 2, 5 }\n uselistorder i32* %64, { 0, 1, 3, 2 }\n uselistorder i32* %62, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 %39, { 4, 5, 6, 7, 1, 0, 2, 3, 8 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %3, { 3, 0, 2, 1 }\n uselistorder i64 %2, { 4, 20, 19, 5, 6, 0, 28, 33, 32, 31, 22, 21, 24, 23, 26, 25, 27, 29, 1, 30, 2, 3, 7, 8, 9, 34, 10, 11, 12, 37, 35, 16, 17, 18, 36, 13, 15, 14 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem15, { 0, 2, 1 }\n uselistorder i32* %.reg2mem17, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @ff_draw_horiz_band, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memmove, { 2, 3, 1, 0 }\n uselistorder i64 (i64, i64, i32, i32, i64, i64)* @ff_er_add_slice, { 1, 0 }\n uselistorder i64 (i64)* @get_bits_count, { 2, 1, 0 }\n uselistorder i64 (i64)* @vc1_apply_p_loop_filter, { 1, 0 }\n uselistorder i64 (i64)* @ff_update_block_index, { 1, 0 }\n uselistorder i64 120, { 1, 2, 0 }\n uselistorder i64 108, { 1, 0 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i32 7, { 1, 0 }\n uselistorder i32 2, { 2, 0, 4, 3, 1 }\n uselistorder label LBL_35, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 2, 3, 4, 1, 5, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "btf_dump__free_5997", "fun_name": "btf_dump__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 %.reg2mem5 = alloca i64*\n %.pre2.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %.pre23.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 = 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_8, label LBL_1\n LBL_1:\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, 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* null, i64** %.reg2mem5\n br i1 %13, label LBL_7, label LBL_2\n LBL_2:\n %14 = and i64 %1, 4294967295\n store i64 %12, i64* %.pre23.reg2mem\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 %.pre23.reload = load i64, i64* %.pre23.reg2mem\n %15 = mul i64 %.reload, 8\n %16 = add i64 %15, %.pre23.reload\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 %.pre23.reload, i64* %.pre2.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = inttoptr i64 %18 to i64*\n call void @free(i64* %20)\n %.pre2.pre = load i64, i64* %11, align 8\n store i64 %.pre2.pre, i64* %.pre2.reg2mem\n br label LBL_5\n LBL_5:\n %.pre2.reload = load i64, i64* %.pre2.reg2mem\n %21 = add i32 %storemerge1.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp slt i64 %14, %22\n store i64 %.pre2.reload, i64* %.pre23.reg2mem\n store i64 %22, i64* %.reg2mem\n store i32 %21, i32* %storemerge1.reg2mem\n br i1 %23, label LBL_6, label LBL_3\n LBL_6:\n %phitmp = inttoptr i64 %.pre2.reload to i64*\n store i64* %phitmp, i64** %.reg2mem5\n br label LBL_7\n LBL_7:\n %.reload6 = load i64*, i64** %.reg2mem5\n call void @free(i64* %.reload6)\n %24 = add i64 %arg1, 24\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 = add i64 %arg1, 32\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n call void @free(i64* %31)\n %32 = add i64 %arg1, 40\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, 48\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_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.pre23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pre2.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.reg2mem5, { 0, 2, 1 }\n uselistorder i64 (i64)* @btf_dump_free_names, { 1, 0 }\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 6, 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 4, 6, 5, 7 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdhci_uninitfn_120", "fun_name": "sdhci_uninitfn", "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 = 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* %4, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 16\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 ret i64 %0\n\n uselistorder i64 (i64)* @timer_free, { 1, 0 }\n uselistorder i64 (i64)* @timer_del, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xan_huffman_decode_3727", "fun_name": "xan_huffman_decode", "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.reg2mem = alloca i8\n %sv_1.0.ph.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = trunc i64 %arg4 to i32\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 2\n %5 = and i32 %4, 510\n %6 = sub i32 0, %5\n %7 = sub i32 %6, 1\n %8 = add i32 %7, %2\n %9 = icmp slt i32 %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_7\n LBL_1:\n %11 = ptrtoint i64* %arg3 to i64\n %12 = ptrtoint i64* %arg1 to i64\n %13 = add i64 %11, 1\n %14 = trunc i64 %1 to i8\n %15 = urem i64 %1, 256\n %16 = add i8 %14, 22\n %sext = mul i64 %arg2, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = add i64 %17, %12\n %19 = mul i64 %15, 2\n %20 = add i64 %19, %13\n %21 = mul i32 %8, 8\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64* nonnull %sv_2, i64 %20, i64 %22)\n store i64 %12, i64* %sv_1.0.ph.reg2mem\n br label LBL_5\n LBL_2:\n %24 = zext i8 %sv_0.0.reload to i64\n %25 = add nuw nsw i64 %24, 4294967273\n %26 = call i64 @FUNC(i64* nonnull %sv_2)\n %27 = mul i64 %26, %15\n %28 = add i64 %25, %27\n %sext3 = mul i64 %28, 4294967296\n %29 = ashr exact i64 %sext3, 32\n %30 = add i64 %29, %13\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = icmp ult i8 %32, 22\n store i8 %32, i8* %sv_0.0.reg2mem\n br i1 %33, label LBL_3, label LBL_6\n LBL_3:\n %34 = icmp ult i64 %sv_1.0.ph.reload, %18\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_4, label LBL_7\n LBL_4:\n %35 = add i64 %sv_1.0.ph.reload, 1\n %36 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 %32, i8* %36, align 1\n store i64 %35, i64* %sv_1.0.ph.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n store i8 %16, 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 %37 = icmp eq i8 %sv_0.0.reload, 22\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, 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 i8 %32, { 1, 0, 2 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8 22, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qxl_realize_primary_1834", "fun_name": "qxl_realize_primary", "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(i64 %0)\n %2 = add i64 %1, 8\n store i64 0, i64* %sv_0, align 8\n %3 = inttoptr i64 %1 to i32*\n store i32 0, i32* %3, align 4\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %1, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = inttoptr i64 %2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = ashr i32 %7, 20\n %10 = add i64 %1, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %2, i64 %12, i64 1)\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 %2, i64 %16, i64 %15, i64 %14, i64 0)\n %18 = load i64, i64* @gv_0, align 8\n %19 = call i64 @FUNC(i64 %0)\n %20 = add i64 %1, 16\n %21 = call i64 @FUNC(i64 %20, i64 %19, i64 %18, i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %22 = call i64 @FUNC(i64 %20)\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %20, i64 %23, i64 944)\n %25 = call i64 @FUNC(i64 %0)\n %26 = call i64 @FUNC(i64 %25, i64 0, i64* nonnull @gv_2, i64 %1)\n %27 = inttoptr i64 %20 to i64*\n store i64 %26, i64* %27, align 8\n %28 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)\n %29 = load i64, i64* %sv_0, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_2, label LBL_1\n LBL_1:\n %31 = ptrtoint i64* %arg2 to i64\n %32 = call i64 @FUNC(i64 %31, i64 %29)\n store i64 %32, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %33 = add i64 %1, 24\n %34 = inttoptr i64 %33 to i64*\n store i64 ptrtoint (i64* @gv_3 to i64), i64* %34, align 8\n %35 = load i64, i64* %27, align 8\n %36 = add i64 %1, 32\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = call i64 @FUNC(i64 %33)\n store i64 %38, 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, { 0, 1, 3, 4, 5, 2, 6, 7, 8, 9 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @pci_address_space_io, { 1, 0 }\n uselistorder i64 (i64)* @OBJECT, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_strerror_3665", "fun_name": "av_strerror", "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 %storemerge4.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = trunc i64 %1 to i32\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %3 = sext i32 %storemerge4.reload to i64\n %4 = mul i64 %3, 16\n %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64)\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 8\n %8 = icmp eq i32 %7, %2\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = add nuw i32 %storemerge4.reload, 1\n %11 = icmp ult i32 %10, 3\n store i32 %10, i32* %storemerge4.reg2mem\n br i1 %11, label LBL_1, label LBL_5\n LBL_3:\n %12 = icmp eq i64 %5, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = add i64 %4, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8)\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %0, i64 %15, i64 %arg3)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %17 = sub nsw i64 0, %1\n %18 = and i64 %17, 4294967295\n %19 = call i64 @__xpg_strerror_r(i64 %18, i64 %0, i64 %arg3, i64 %18)\n %20 = and i64 %1, 4294967295\n %21 = bitcast i64* %arg2 to i8*\n %22 = trunc i64 %arg3 to i32\n %23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %21, i32 %22, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %20)\n store i64 4294967295, 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 %18, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get16_1388", "fun_name": "get16", "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 = sub i64 %arg2, %2\n %4 = icmp sgt i64 %3, 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = mul i64 %1, 256\n %6 = and i64 %5, 65280\n %7 = add i64 %2, 1\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i64\n %11 = or i64 %6, %10\n %12 = add i64 %2, 2\n store i64 %12, i64* %arg1, align 8\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 %2, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_def_list_15497", "fun_name": "build_def_list", "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 i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.220.reg2mem = alloca i32\n %sv_0.121.reg2mem = alloca i32\n %sv_2.122.reg2mem = alloca i32\n %sv_2.1.be.reg2mem = alloca i32\n %sv_0.1.be.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %storemerge5.in.reg2mem = alloca i32\n %.lcssa7.reg2mem = alloca i1\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_2.013.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i1\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.08.reg2mem = alloca i32\n %1 = load i32, i32* %0\n %2 = sext i32 %arg3 to i64\n %3 = icmp sgt i32 %arg3, 0\n %4 = zext i32 %1 to i64\n %5 = icmp sgt i64 %2, %4\n %or.cond19 = or i1 %3, %5\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond19, label LBL_1, label LBL_19\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %sext4 = mul i64 %arg5, 4294967296\n %8 = ashr exact i64 %sext4, 32\n %9 = trunc i64 %8 to i32\n %10 = xor i32 %9, 3\n %11 = trunc i64 %arg4 to i32\n %12 = icmp eq i32 %11, 0\n %13 = and i64 %8, 4294967295\n %14 = xor i64 %13, 3\n store i32 0, i32* %sv_0.121.reg2mem\n store i32 0, i32* %sv_1.220.reg2mem\n br label LBL_18\n LBL_2:\n %15 = add i32 %sv_1.08.reload, 1\n %16 = zext i32 %15 to i64\n %17 = icmp sgt i64 %2, %16\n store i32 %15, i32* %sv_1.08.reg2mem\n store i32 %15, i32* %sv_1.0.lcssa.reg2mem\n store i1 false, i1* %.lcssa.reg2mem\n br i1 %17, label LBL_3, label LBL_5\n LBL_3:\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %18 = sext i32 %sv_1.08.reload to i64\n %19 = mul i64 %18, 8\n %20 = add i64 %19, %6\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_2, label LBL_4\n LBL_4:\n %24 = inttoptr i64 %22 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = and i32 %25, %9\n %27 = icmp eq i32 %26, 0\n store i32 %sv_1.08.reload, i32* %sv_1.0.lcssa.reg2mem\n store i1 true, i1* %.lcssa.reg2mem\n br i1 %27, label LBL_2, label LBL_5\n LBL_5:\n %.lcssa.reload = load i1, i1* %.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %28 = zext i32 %sv_2.122.reload to i64\n %29 = icmp sgt i64 %2, %28\n store i32 %sv_2.122.reload, i32* %sv_2.013.reg2mem\n store i32 %sv_2.122.reload, i32* %sv_2.0.lcssa.reg2mem\n store i1 false, i1* %.lcssa7.reg2mem\n br i1 %29, label LBL_7, label LBL_9\n LBL_6:\n %30 = add i32 %sv_2.013.reload, 1\n %31 = zext i32 %30 to i64\n %32 = icmp sgt i64 %2, %31\n store i32 %30, i32* %sv_2.013.reg2mem\n store i32 %30, i32* %sv_2.0.lcssa.reg2mem\n store i1 false, i1* %.lcssa7.reg2mem\n br i1 %32, label LBL_7, label LBL_9\n LBL_7:\n %sv_2.013.reload = load i32, i32* %sv_2.013.reg2mem\n %33 = sext i32 %sv_2.013.reload to i64\n %34 = mul i64 %33, 8\n %35 = add i64 %34, %6\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_6, label LBL_8\n LBL_8:\n %39 = inttoptr i64 %37 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = and i32 %40, %10\n %42 = icmp eq i32 %41, 0\n store i32 %sv_2.013.reload, i32* %sv_2.0.lcssa.reg2mem\n store i1 true, i1* %.lcssa7.reg2mem\n br i1 %42, label LBL_6, label LBL_9\n LBL_9:\n %.lcssa7.reload = load i1, i1* %.lcssa7.reg2mem\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.121.reload, i32* %sv_0.0.reg2mem\n br i1 %.lcssa.reload, label LBL_10, label LBL_13\n LBL_10:\n %43 = sext i32 %sv_1.0.lcssa.reload to i64\n %44 = mul i64 %43, 8\n %45 = add i64 %44, %6\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n store i32 %sv_1.0.lcssa.reload, i32* %storemerge5.in.reg2mem\n br i1 %12, label LBL_11, label LBL_12\n LBL_11:\n %48 = add i64 %47, 8\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n store i32 %50, i32* %storemerge5.in.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge5.in.reload = load i32, i32* %storemerge5.in.reg2mem\n %51 = add i64 %47, 4\n %52 = inttoptr i64 %51 to i32*\n store i32 %storemerge5.in.reload, i32* %52, align 4\n %53 = add i32 %sv_1.0.lcssa.reload, 1\n %54 = load i64, i64* %46, align 8\n %55 = add i32 %sv_0.121.reload, 1\n %56 = sext i32 %sv_0.121.reload to i64\n %57 = mul nsw i64 %56, 12\n %58 = add i64 %57, %7\n %59 = call i64 @FUNC(i64 %58, i64 %54, i64 %13, i64 1)\n store i32 %53, i32* %sv_1.1.reg2mem\n store i32 %55, 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 %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem\n store i32 %sv_2.0.lcssa.reload, i32* %sv_2.1.be.reg2mem\n br i1 %.lcssa7.reload, label LBL_14, label LBL_17\n LBL_14:\n %60 = sext i32 %sv_2.0.lcssa.reload to i64\n %61 = mul i64 %60, 8\n %62 = add i64 %61, %6\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n store i32 %sv_2.0.lcssa.reload, i32* %storemerge.in.reg2mem\n br i1 %12, label LBL_15, label LBL_16\n LBL_15:\n %65 = add i64 %64, 8\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n store i32 %67, i32* %storemerge.in.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %68 = add i64 %64, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 %storemerge.in.reload, i32* %69, align 4\n %70 = add i32 %sv_2.0.lcssa.reload, 1\n %71 = load i64, i64* %63, align 8\n %72 = add i32 %sv_0.0.reload, 1\n %73 = sext i32 %sv_0.0.reload to i64\n %74 = mul nsw i64 %73, 12\n %75 = add i64 %74, %7\n %76 = call i64 @FUNC(i64 %75, i64 %71, i64 %14, i64 0)\n store i32 %72, i32* %sv_0.1.be.reg2mem\n store i32 %70, i32* %sv_2.1.be.reg2mem\n br label LBL_17\n LBL_17:\n %sv_2.1.be.reload = load i32, i32* %sv_2.1.be.reg2mem\n %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem\n %77 = zext i32 %sv_1.1.reload to i64\n %78 = icmp sgt i64 %2, %77\n %79 = zext i32 %sv_2.1.be.reload to i64\n %80 = icmp sgt i64 %2, %79\n %or.cond = or i1 %78, %80\n store i32 %sv_2.1.be.reload, i32* %sv_2.122.reg2mem\n store i32 %sv_0.1.be.reload, i32* %sv_0.121.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.220.reg2mem\n store i32 %sv_0.1.be.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_18, label LBL_19\n LBL_18:\n %sv_1.220.reload = load i32, i32* %sv_1.220.reg2mem\n %sv_0.121.reload = load i32, i32* %sv_0.121.reg2mem\n %sv_2.122.reload = load i32, i32* %sv_2.122.reg2mem\n %81 = zext i32 %sv_1.220.reload to i64\n %82 = icmp sgt i64 %2, %81\n store i32 %sv_1.220.reload, i32* %sv_1.08.reg2mem\n store i32 %sv_1.220.reload, i32* %sv_1.0.lcssa.reg2mem\n store i1 false, i1* %.lcssa.reg2mem\n br i1 %82, label LBL_3, label LBL_5\n LBL_19:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %83 = zext i32 %sv_0.1.lcssa.reload to i64\n ret i64 %83\n\n uselistorder i32 %sv_0.121.reload, { 2, 0, 1 }\n uselistorder i32 %sv_1.220.reload, { 2, 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %sv_2.0.lcssa.reload, { 2, 1, 3, 0 }\n uselistorder i32 %sv_1.0.lcssa.reload, { 2, 1, 3, 0 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %2, { 2, 5, 6, 3, 1, 4, 0 }\n uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i1* %.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i32* %sv_2.013.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1* %.lcssa7.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge5.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.be.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.1.be.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64)* @split_field_copy, { 1, 0 }\n uselistorder i1 false, { 3, 0, 1, 2 }\n uselistorder i32 0, { 5, 6, 1, 2, 4, 0, 3 }\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_12, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ppc_hash64_get_phys_page_debug_13909", "fun_name": "ppc_hash64_get_phys_page_debug", "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 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\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 = and i64 %arg2, 1152921504606846975\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %arg2)\n %8 = icmp eq i64 %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_6\n LBL_3:\n %10 = call i64 @FUNC(i64 %6, i64 %7, i64 %arg2, i64* nonnull %sv_0)\n %11 = icmp eq i64 %10, -1\n %12 = icmp eq i1 %11, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_6\n LBL_4:\n %13 = inttoptr i64 %7 to i32*\n %14 = load i64, i64* %sv_0, align 8\n %15 = load i32, i32* %13, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %14, i64 %1)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %20, label LBL_5, label LBL_6\n LBL_5:\n %21 = and i64 %1, -4096\n %22 = and i64 %17, 4294967295\n %23 = call i64 @FUNC(i64 %21, i64 0, i64 %22, i64 %arg2)\n %24 = and i64 %23, 1152921504606846975\n store i64 %24, 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, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 -1, { 0, 1, 4, 2, 3 }\n uselistorder i64 1152921504606846975, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_read_sequence_1046", "fun_name": "mxf_read_sequence", "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.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i32 %arg3, 4097\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %arg3, 4097\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_9, label LBL_2\n LBL_2:\n %4 = icmp eq i32 %arg3, 513\n br i1 %4, label LBL_5, label LBL_3\n LBL_3:\n %5 = icmp eq i32 %arg3, 514\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_4\n LBL_4:\n %7 = call i64 @FUNC(i64 %0)\n store i64 %7, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %8 = add i64 %1, 8\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 16)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %10 = call i64 @FUNC(i64 %0)\n %11 = and i64 %10, 4294967295\n %12 = add i64 %1, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = icmp ult i64 %11, 268435455\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_9\n LBL_7:\n %15 = mul i64 %11, 16\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %1, 32\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = icmp eq i64 %16, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_8, label LBL_9\n LBL_8:\n %21 = call i64 @FUNC(i64 %0, i64 4)\n %22 = load i64, i64* %13, align 8\n %23 = mul i64 %22, 16\n %24 = load i64, i64* %18, 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_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, { 2, 3, 4, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 7, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @get_buffer, { 1, 0 }\n uselistorder i32 4097, { 1, 0 }\n uselistorder i32 %arg3, { 2, 1, 0, 3 }\n uselistorder label LBL_9, { 4, 5, 6, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_check_mem_19051", "fun_name": "file_check_mem", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = icmp ult i64 %1, %0\n br i1 %2, label LBL_0.LBL_7_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %0, 8\n %.pre2 = inttoptr i64 %.pre to i64*\n %.pre4 = load i64, i64* %.pre2, align 8\n store i64 %.pre4, i64* %.reg2mem\n br label LBL_7\n LBL_2:\n %3 = add i64 %0, 20\n store i64 %3, i64* %arg1, align 8\n %4 = mul i64 %0, 4\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 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %4)\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %11 = call i64 @FUNC(i64 %7, i64 %4)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %6, align 8\n %12 = icmp eq i64 %storemerge.reload, 0\n %13 = icmp eq i1 %12, false\n store i64 %storemerge.reload, i64* %.reg2mem\n br i1 %13, label LBL_7, label LBL_6\n LBL_6:\n %14 = call i64 @FUNC(i64 %0, i64 %4)\n unreachable\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %15 = mul i64 %arg2, 4\n %16 = and i64 %15, 17179869180\n %17 = add i64 %.reload, %16\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n ret i64 0\n\n uselistorder i64 %storemerge.reload, { 0, 2, 1 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %0, { 2, 3, 0, 4, 1, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pcm_skip_6904", "fun_name": "pcm_skip", "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.12.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %rax.0.reg2mem\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, i64 %arg2, i64 1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_7\n LBL_2:\n %5 = icmp slt i64 %arg2, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_7\n LBL_3:\n %sext = mul i64 %1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %1 to i32\n %9 = icmp slt i32 %8, 1\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n store i64 %arg2, i64* %sv_0.12.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %10 = sub i64 %sv_0.0.reload, %7\n %11 = icmp eq i64 %10, 0\n %12 = icmp slt i64 %10, 0\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i1 %11, false\n %15 = icmp eq i1 %13, %14\n store i64 %10, i64* %sv_0.0.reg2mem\n store i64 %10, i64* %sv_0.12.reg2mem\n br i1 %15, label LBL_4, label LBL_6\n LBL_6:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %16 = icmp eq i64 %sv_0.12.reload, 0\n %17 = icmp eq i1 %16, false\n %. = select i1 %17, 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 %1, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.12.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder label LBL_7, { 0, 1, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exynos4210_combiner_init_13914", "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 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 %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, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "use_exit_tb_16021", "fun_name": "use_exit_tb", "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_3, 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 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 = urem i32 %10, 2\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 = add i64 %8, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = and i32 %16, 2\n %18 = icmp ne i32 %17, 0\n %spec.select = zext i1 %18 to i64\n ret i64 %spec.select\n LBL_3:\n ret i64 1\n\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_logfs_journal_wl_pass_4880", "fun_name": "do_logfs_journal_wl_pass", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i32\n %indvars.iv.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 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %1, 28\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 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 %10 = load i64, i64* %7, align 8\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 br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = zext i32 %14 to i64\n %17 = call i64 @FUNC(i64 %4, i64 %16)\n %18 = load i64, i64* %9, align 8\n %19 = add i64 %18, %11\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 = add i64 %22, %11\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, i32 %21)\n %28 = load i64, i64* %7, align 8\n %29 = add i64 %28, %11\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = load i64, i64* %9, align 8\n %32 = add i64 %31, %11\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n br 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, 10\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 = add i64 %1, 24\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_5\n LBL_5:\n %38 = bitcast i32* %sv_0 to i64*\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %39 = call i64 @FUNC(i64 %0, i64 %4, i64* nonnull %38)\n %40 = trunc i64 %39 to i32\n %41 = load i64, i64* %7, align 8\n %42 = sext i32 %storemerge4.reload to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %41, %43\n %45 = inttoptr i64 %44 to i32*\n store i32 %40, i32* %45, align 4\n %46 = load i64, i64* %9, align 8\n %47 = add i64 %46, %43\n %48 = load i32, i32* %sv_0, align 4\n %49 = inttoptr i64 %47 to i32*\n store i32 %48, i32* %49, align 4\n %50 = and i64 %39, 4294967295\n %51 = call i64 @FUNC(i64 %0, i64 %50)\n %52 = call i64 @FUNC(i64 %4, i32 %40, i64 1, i64 0)\n %53 = and i64 %52, 4294967295\n %54 = call i64 @FUNC(i64 %53)\n %55 = call i64 @FUNC(i64 %0, i64 %50, i64 1)\n %56 = and i64 %55, 4294967295\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i32 %storemerge4.reload, 1\n %59 = load i32, i32* %35, align 4\n %60 = icmp ugt i32 %59, %58\n store i32 %58, i32* %storemerge4.reg2mem\n br i1 %60, label LBL_6, label LBL_7\n LBL_7:\n %61 = inttoptr i64 %3 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %0, i64 %63)\n %65 = load i64, i64* %7, align 8\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n store i32 %67, i32* %61, align 4\n %68 = add i64 %3, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 0, i32* %69, align 4\n %70 = add i64 %3, 8\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = call i64 @FUNC(i64 %0)\n %73 = call i64 @FUNC(i64 %0)\n %74 = and i64 %73, 4294967295\n %75 = call i64 @FUNC(i64 %74)\n ret i64 %75\n\n uselistorder i64 %43, { 1, 0 }\n uselistorder i32* %35, { 1, 0 }\n uselistorder i64 %11, { 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @BUG_ON, { 0, 2, 1 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6, 7 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mig_save_device_bulk_14584", "fun_name": "mig_save_device_bulk", "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 i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_1 = 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 = trunc i64 %3 to i32\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n store i32 %4, i32* %sv_0.1.reg2mem\n br i1 %11, label LBL_5, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC()\n %13 = bitcast i64** %sv_1 to i32*\n %sext7 = mul i64 %3, 4294967296\n %14 = ashr exact i64 %sext7, 32\n %15 = icmp slt i64 %14, %0\n store i64 %14, i64* %.reg2mem\n store i32 %4, i32* %sv_0.05.reg2mem\n store i32 %4, i32* %sv_0.0.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_2:\n %16 = load i64*, i64** %sv_1, align 8\n %17 = ptrtoint i64* %16 to i64\n %18 = trunc i64 %17 to i32\n %19 = add i32 %sv_0.05.reload, %18\n %20 = sext i32 %19 to i64\n %21 = icmp sgt i64 %0, %20\n store i64 %20, i64* %.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_3, label LBL_4\n LBL_3:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %22 = call i64 @FUNC(i64 %7, i64 %.reload, i64 1024, i32* nonnull %13)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i32 %sv_0.05.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %24, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %25 = call i64 @FUNC()\n store i32 %sv_0.0.lcssa.reload, 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 = sext i32 %sv_0.1.reload to i64\n %27 = icmp sgt i64 %0, %26\n %28 = add i64 %0, 16\n %29 = inttoptr i64 %28 to i64*\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n store i64 %0, i64* %29, align 8\n store i64 %0, i64* %2, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n store i64 %26, i64* %29, align 8\n %30 = and i32 %sv_0.1.reload, -64\n %31 = sext i32 %30 to i64\n %32 = sub i64 %0, %31\n %33 = icmp sgt i64 %32, 63\n %34 = trunc i64 %0 to i32\n %35 = sub i32 %34, %30\n %36 = zext i32 %35 to i64\n %37 = inttoptr i64 %36 to i64*\n %storemerge4 = select i1 %33, i64* inttoptr (i32 64 to i64*), i64* %37\n store i64* %storemerge4, i64** %sv_1, align 8\n %38 = call i64 @FUNC(i64 64)\n %39 = call i64 @FUNC(i64 32768)\n %40 = inttoptr i64 %38 to i64*\n store i64 %39, i64* %40, align 8\n %41 = add i64 %38, 8\n %42 = inttoptr i64 %41 to i64*\n store i64 %0, i64* %42, align 8\n %43 = add i64 %38, 16\n %44 = inttoptr i64 %43 to i64*\n store i64 %31, i64* %44, align 8\n %45 = load i64*, i64** %sv_1, align 8\n %46 = ptrtoint i64* %45 to i64\n %47 = trunc i64 %46 to i32\n %48 = add i64 %38, 24\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = load i64, i64* %40, align 8\n %51 = add i64 %38, 32\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = load i64*, i64** %sv_1, align 8\n %54 = ptrtoint i64* %53 to i64\n %55 = trunc i64 %54 to i32\n %56 = mul i32 %55, 512\n %57 = sext i32 %56 to i64\n %58 = add i64 %38, 40\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = add i64 %38, 48\n %61 = call i64 @FUNC(i64 %60, i64 %51, i64 1)\n %62 = call i64 @FUNC()\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n %63 = call i64 @FUNC()\n %64 = call i64 @FUNC()\n %65 = load i64*, i64** %sv_1, align 8\n %66 = ptrtoint i64* %65 to i64\n %67 = and i64 %66, 4294967295\n %68 = call i64 @FUNC(i64 %7, i64 %31, i64 %60, i64 %67, i64 4198870, i64 %38)\n %69 = add i64 %38, 56\n %70 = inttoptr i64 %69 to i64*\n store i64 %68, i64* %70, align 8\n %71 = load i64*, i64** %sv_1, align 8\n %72 = ptrtoint i64* %71 to i64\n %73 = trunc i64 %72 to i32\n %74 = call i64 @FUNC(i64 %7, i64 %31, i32 %73)\n %75 = call i64 @FUNC()\n %76 = load i64*, i64** %sv_1, align 8\n %77 = ptrtoint i64* %76 to i64\n %sext = mul i64 %77, 4294967296\n %78 = ashr exact i64 %sext, 32\n %79 = add nsw i64 %78, %31\n store i64 %79, i64* %2, align 8\n %80 = sub i64 %0, %79\n %81 = xor i64 %79, %0\n %82 = xor i64 %80, %0\n %83 = and i64 %82, %81\n %84 = icmp slt i64 %83, 0\n %85 = icmp eq i64 %80, 0\n %86 = icmp slt i64 %80, 0\n %87 = icmp ne i1 %86, %84\n %88 = or i1 %85, %87\n %89 = zext i1 %88 to i64\n store i64 %89, 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 %80, { 1, 2, 0 }\n uselistorder i64* %29, { 1, 0 }\n uselistorder i64 %7, { 1, 2, 0 }\n uselistorder i32 %4, { 1, 2, 0 }\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64** %sv_1, { 6, 5, 4, 3, 2, 0, 1, 7 }\n uselistorder i64 %0, { 0, 1, 5, 6, 8, 7, 3, 11, 9, 10, 4, 2, 13, 12, 14 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @g_malloc, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 ()* @qemu_mutex_unlock_iothread, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 ()* @qemu_mutex_lock_iothread, { 1, 0 }\n uselistorder i64 32, { 1, 2, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ofputil_encode_table_features_request_10150", "fun_name": "ofputil_encode_table_features_request", "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, 3\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, -3\n %5 = icmp ult i32 %4, 4\n br i1 %5, label LBL_3, label LBL_4\n LBL_2:\n %6 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_3:\n %7 = and i64 %2, 4294967295\n %8 = call i64 @FUNC(i64 1, i64 %7, i64 0)\n ret i64 %8\n LBL_4:\n %9 = call i64 @FUNC()\n unreachable\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_init_qscale_tab_5170", "fun_name": "ff_init_qscale_tab", "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 %.in.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, 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* %.lcssa.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 %0, i64* %.in.reg2mem\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 %.in.reload = load i64, i64* %.in.reg2mem\n %12 = load i64, i64* %9, align 8\n %13 = load i64, i64* %11, align 8\n %14 = mul i64 %.reload, 4\n %15 = add i64 %13, %14\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, 4\n %20 = add i64 %19, %12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = mul i32 %22, 139\n %24 = add i32 %23, 6400\n %25 = udiv i32 %24, 8192\n %26 = add i64 %.in.reload, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = and i64 %.in.reload, 4294967295\n %30 = zext i32 %25 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %29, i32 %28)\n %32 = load i64, i64* %11, align 8\n %33 = add i64 %32, %14\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 i64 %3, %36\n %38 = trunc i64 %31 to i8\n %39 = inttoptr i64 %37 to i8*\n store i8 %38, i8* %39, align 1\n %40 = add i32 %storemerge1.reload, 1\n %41 = load i32, i32* %5, 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 i64 %30, i64* %.in.reg2mem\n store i64 %43, i64* %.reg2mem\n store i32 %40, i32* %storemerge1.reg2mem\n store i64 %42, i64* %.lcssa.reg2mem\n br i1 %44, 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 %14, { 1, 0 }\n uselistorder i32* %5, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "show_help_16826", "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 ([62 x i8], [62 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 i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dx_pack_dirents_8638", "fun_name": "dx_pack_dirents", "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_1.0.reg2mem = alloca i64\n %sv_2.02.reg2mem = alloca i64\n %sv_1.13.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = add i64 %1, %0\n %3 = icmp ugt i64 %2, %0\n store i64 %0, i64* %sv_0.14.reg2mem\n store i64 %0, i64* %sv_1.13.reg2mem\n store i64 %0, i64* %sv_2.02.reg2mem\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %sv_2.02.reload = load i64, i64* %sv_2.02.reg2mem\n %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %4 = call i64 @FUNC(i64 %sv_2.02.reload, i64 %1)\n %5 = inttoptr i64 %sv_2.02.reload to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = add i64 %sv_2.02.reload, 6\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 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = zext i8 %10 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp ugt i64 %sv_2.02.reload, %sv_1.13.reload\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = trunc i64 %13 to i32\n %16 = inttoptr i64 %sv_1.13.reload to i64*\n %17 = inttoptr i64 %sv_2.02.reload to i64*\n %18 = call i64* @memmove(i64* %16, i64* %17, i32 %15)\n br label LBL_5\n LBL_5:\n %19 = and i64 %13, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %1)\n %21 = trunc i64 %20 to i16\n %22 = add i64 %sv_1.13.reload, 4\n %23 = inttoptr i64 %22 to i16*\n store i16 %21, i16* %23, align 2\n %24 = add i64 %19, %sv_1.13.reload\n store i64 %24, i64* %sv_1.0.reg2mem\n store i64 %sv_1.13.reload, 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.reload = load i64, i64* %sv_1.0.reg2mem\n %25 = icmp ult i64 %4, %2\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem\n store i64 %4, i64* %sv_2.02.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %25, 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 %sv_1.13.reload, { 0, 6, 3, 5, 4, 1, 2 }\n uselistorder i64 %sv_2.02.reload, { 1, 0, 2, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.02.reg2mem, { 2, 0, 1 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "image_probe_1949", "fun_name": "image_probe", "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_3, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load [11 x i8]*, [11 x i8]** @gv_0, align 8\n %3 = ptrtoint [11 x i8]* %2 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %1)\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_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %3)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %. = select i1 %9, i64 50, i64 100\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, 3, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_neon_dup_low16_16285", "fun_name": "gen_neon_dup_low16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2, i64 %2)\n %4 = and i64 %0, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %2, i64 16)\n %6 = call i64 @FUNC(i64 %2, i64 %2, i32 %1)\n %7 = call i64 @FUNC(i64 %4)\n ret i64 %7\n\n uselistorder i64 %2, { 1, 0, 2, 4, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtconsole_realize_17274", "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 1, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %0, i64 4198704, i64 4198711, i64 4198718, i64 %0)\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 %0, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cirrus_write_bitblt_8325", "fun_name": "cirrus_write_bitblt", "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, 49\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = zext i8 %3 to i32\n %5 = trunc i64 %arg2 to i8\n store i8 %5, i8* %2, align 1\n %6 = urem i32 %4, 2\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = urem i64 %arg2, 2\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(i64 %0)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %12 = and i32 %4, 2\n %13 = zext i32 %12 to i64\n %14 = icmp eq i32 %12, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_6, label LBL_4\n LBL_4:\n %16 = and i64 %arg2, 2\n %17 = icmp eq i64 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %0)\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 i32 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dictCreate_7124", "fun_name": "dictCreate", "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, i64 %0, i64 %arg2)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xps_true_callback_glyph_name_11755", "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, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg3 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 i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = sext i32 %9 to i64\n store i64 %10, i64* %arg3, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = 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 %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": "detail_open_7657", "fun_name": "detail_open", "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.0.reg2mem = alloca i32\n %sv_1.13.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i64\n %storemerge5.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* %arg1 to i64\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\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 i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %9, 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 = zext i1 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %9, 20\n %19 = inttoptr i64 %18 to i32*\n store i32 1000000, i32* %19, align 4\n %20 = add i64 %9, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i8*\n %24 = call i32 (i8*, i32, ...) @open(i8* %23, i32 2)\n %25 = bitcast i64* %arg1 to i32*\n store i32 %24, i32* %25, align 4\n %26 = bitcast i64* %rdi to i32*\n %27 = load i32, i32* %26, align 8\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_12, label LBL_1\n LBL_1:\n %30 = inttoptr i64 %11 to i8*\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %4, i64 %3, i64 %2, i64 %1)\n %32 = bitcast i64* %sv_3 to %stat*\n %33 = call i32 @stat(i8* %30, %stat* nonnull %32)\n %34 = icmp slt i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_2\n LBL_2:\n %36 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 72)\n %37 = bitcast i64* %sv_2 to %_TYPEDEF_glob_t*\n %38 = call i32 @glob(i8* %30, i32 0, i32 (i8*, i32)* null, %_TYPEDEF_glob_t* nonnull %37)\n %39 = icmp eq i32 %38, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_3, label LBL_13\n LBL_3:\n %40 = load i64, i64* %sv_2, align 8\n %41 = icmp eq i64 %40, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge5.reg2mem\n store i64 0, i64* %sv_0.14.reg2mem\n store i32 -1, i32* %sv_1.13.reg2mem\n br i1 %41, label LBL_8, label LBL_4\n LBL_4:\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %42 = mul i64 %.reload, 8\n %43 = add i64 %42, %6\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = inttoptr i64 %45 to i8*\n %47 = call i32 @stat(i8* %46, %stat* nonnull %32)\n %48 = icmp slt i32 %47, 0\n store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %48, label LBL_6, label LBL_5\n LBL_5:\n %49 = icmp eq i32 %storemerge5.reload, 0\n %50 = icmp sgt i64 %sv_0.14.reload, %5\n %or.cond = or i1 %49, %50\n %spec.select = select i1 %or.cond, i32 %storemerge5.reload, i32 %sv_1.13.reload\n %spec.select2 = select i1 %or.cond, i64 %5, i64 %sv_0.14.reload\n store i32 %spec.select, i32* %sv_1.0.reg2mem\n store i64 %spec.select2, 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.reload = load i32, i32* %sv_1.0.reg2mem\n %51 = add i32 %storemerge5.reload, 1\n %52 = zext i32 %51 to i64\n %53 = load i64, i64* %sv_2, align 8\n %54 = icmp ugt i64 %53, %52\n store i64 %52, i64* %.reg2mem\n store i32 %51, i32* %storemerge5.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.13.reg2mem\n br i1 %54, label LBL_4, label LBL_7\n LBL_7:\n %55 = icmp slt i32 %sv_1.0.reload, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_9, label LBL_8\n LBL_8:\n call void @globfree(%_TYPEDEF_glob_t* nonnull %37)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_9:\n %57 = sext i32 %sv_1.0.reload to i64\n %58 = mul i64 %57, 8\n %59 = add i64 %58, %6\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = inttoptr i64 %61 to i8*\n %63 = call i8* @strdup(i8* %62)\n call void @globfree(%_TYPEDEF_glob_t* nonnull %37)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %64 = call i32 (i8*, i32, ...) @open(i8* %30, i32 2)\n store i32 %64, i32* %25, align 4\n %65 = call i32* @__errno_location()\n %66 = load i32, i32* %65, align 4\n %67 = call i8* @strerror(i32 %66)\n %68 = ptrtoint i8* %67 to i64\n %69 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %68, i64 %2, i64 %1)\n %70 = load i64, i64* %10, align 8\n %71 = icmp eq i64 %70, %11\n store i64 0, i64* %rax.0.reg2mem\n br i1 %71, label LBL_13, label LBL_11\n LBL_11:\n %72 = inttoptr i64 %11 to i64*\n call void @free(i64* %72)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %73 = add i64 %9, 24\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = icmp eq i64 %75, 0\n %77 = zext i1 %76 to i64\n %78 = call i64 @FUNC(i64 %77)\n %79 = add i64 %9, 32\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %82 = icmp eq i64 %81, 0\n %83 = zext i1 %82 to i64\n %84 = call i64 @FUNC(i64 %83)\n store i32 1, i32* %13, align 4\n %85 = add i64 %9, 40\n %86 = inttoptr i64 %85 to i32*\n store i32 0, i32* %86, align 4\n %87 = add i64 %9, 48\n %88 = inttoptr i64 %87 to i64*\n store i64 0, i64* %88, align 8\n %89 = add i64 %9, 56\n %90 = inttoptr i64 %89 to i32*\n store i32 0, i32* %90, align 4\n %91 = add i64 %9, 60\n %92 = inttoptr i64 %91 to i32*\n store i32 0, i32* %92, align 4\n %93 = add i64 %9, 64\n %94 = inttoptr i64 %93 to i32*\n store i32 0, i32* %94, align 4\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 i32 %storemerge5.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.14.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.13.reload, { 1, 0 }\n uselistorder %_TYPEDEF_glob_t* %37, { 1, 0, 2 }\n uselistorder i8* %30, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 3, 0, 1, 2 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder void (%_TYPEDEF_glob_t*)* @globfree, { 1, 0 }\n uselistorder i64 (i64)* @rad_assert, { 2, 1, 0 }\n uselistorder label LBL_13, { 3, 1, 0, 4, 5, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ecryptfs_add_global_auth_tok_4020", "fun_name": "ecryptfs_add_global_auth_tok", "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 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 = 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, i64 0)\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 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %11 = inttoptr i64 %7 to i64*\n %12 = call i64* @memcpy(i64* %11, i64* %arg2, i32 64)\n %13 = add i64 %7, 64\n %14 = inttoptr i64 %13 to i8*\n store i8 0, i8* %14, align 1\n %15 = ptrtoint i32* %arg1 to i64\n %16 = add i64 %15, 24\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %15, 8\n %19 = add i64 %7, 72\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n %21 = bitcast i64* %rdi to i32*\n %22 = load i32, i32* %21, align 8\n %23 = add i32 %22, 1\n store i32 %23, i32* %arg1, align 4\n %24 = call i64 @FUNC(i64 %16)\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 ret i64 %sv_0.0.reload\n\n uselistorder i64 %7, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "session_unlink_x11_socket_6111", "fun_name": "session_unlink_x11_socket", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.12.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_2\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %rdi.12.reg2mem\n br label LBL_3\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 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 %3 = icmp eq i64* %arg1, bitcast ([2 x i8]* @gv_0 to i64*)\n store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.12.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_7\n LBL_3:\n %rdi.12.reload = load i64, i64* %rdi.12.reg2mem\n %4 = inttoptr i64 %rdi.12.reload to i64*\n store i64 0, i64* %4, align 8\n %5 = add i64 %rdi.12.reload, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0))\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 ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %12 = inttoptr i64 %8 to i8*\n %13 = call i32 @unlink(i8* %12)\n %14 = inttoptr i64 %8 to i64*\n call void @free(i64* %14)\n %15 = icmp slt i32 %13, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = call i32* @__errno_location()\n %18 = load i32, i32* %17, align 4\n %19 = sub i32 0, %18\n %20 = zext i32 %19 to i64\n store i64 %20, 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 %rdi.12.reload, { 1, 0 }\n uselistorder i64* %rdi.12.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder [2 x i8]* @gv_0, { 1, 2, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_7, { 2, 0, 3, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_prism_read_palette_6405", "fun_name": "do_prism_read_palette", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %storemerge46.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rdx = alloca i64, align 8\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024)\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = call i64 @FUNC(i64 %3, i64 256)\n %5 = icmp sgt i64 %4, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i64* %sv_2 to i64\n %8 = add i64 %7, -1072\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge46.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge46.reload = load i32, i32* %storemerge46.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = mul nsw i64 %.reload, 6\n %10 = add nsw i64 %9, 128\n %11 = call i64 @FUNC(i64 %10)\n %12 = urem i64 %11, 65536\n %13 = add nsw i64 %9, 130\n %14 = call i64 @FUNC(i64 %13)\n %15 = urem i64 %14, 65536\n %16 = add nsw i64 %9, 132\n %17 = call i64 @FUNC(i64 %16)\n %18 = urem i64 %17, 65536\n %19 = call i64 @FUNC(i64 %12)\n %20 = trunc i64 %19 to i32\n %21 = call i64 @FUNC(i64 %15)\n %22 = trunc i64 %21 to i32\n %23 = call i64 @FUNC(i64 %18)\n %24 = trunc i64 %23 to i32\n %25 = mul i32 %22, 256\n %26 = and i32 %25, 65280\n %27 = urem i32 %20, 256\n %28 = or i32 %26, %27\n %29 = mul i32 %24, 65536\n %30 = and i32 %29, 16711680\n %31 = or i32 %28, %30\n %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 32, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %15, i64 %18)\n %33 = call i64 @FUNC(i64 %6, i64 %.reload, i32 %31, i64* nonnull %sv_0, i64 0, i64 0)\n %34 = mul i64 %.reload, 4\n %35 = add i64 %34, %8\n %36 = inttoptr i64 %35 to i32*\n store i32 %31, i32* %36, align 4\n %37 = add i32 %storemerge46.reload, 1\n %38 = sext i32 %37 to i64\n %39 = icmp sgt i64 %4, %38\n store i64 %38, i64* %.reg2mem\n store i32 %37, i32* %storemerge46.reg2mem\n br i1 %39, label LBL_2, label LBL_3\n LBL_3:\n %40 = bitcast i64* %rdx to i32*\n %41 = ptrtoint i32* %arg2 to i64\n %42 = add i64 %41, 4\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %43 = load i32, i32* %40, align 8\n %44 = zext i32 %storemerge5.reload to i64\n %45 = zext i32 %43 to i64\n %46 = call i64 @FUNC(i64 %45, i64 %44)\n %47 = mul i64 %46, 4\n %48 = and i64 %47, 17179869180\n %49 = add i64 %48, %8\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = mul i64 %.reload11, 4\n %53 = add i64 %42, %52\n %54 = inttoptr i64 %53 to i32*\n store i32 %51, i32* %54, align 4\n %55 = add i32 %storemerge5.reload, 1\n %56 = sext i32 %55 to i64\n %57 = icmp sgt i64 %4, %56\n store i64 %56, i64* %.reg2mem10\n store i32 %55, i32* %storemerge5.reg2mem\n store i64 %56, i64* %.lcssa.reg2mem\n br i1 %57, label LBL_4, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %.reload, { 2, 0, 1 }\n uselistorder i64 %4, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge46.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64 4, { 0, 1, 3, 2 }\n uselistorder i64 (i64)* @de_scale_1000_to_255, { 2, 1, 0 }\n uselistorder i64 (i64)* @de_getu16be, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_host_handle_reset_418", "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 = 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 = zext i32 %5 to i64\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\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 %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 = call i64 @FUNC(i64 %2)\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": "qemu_get_byte_1079", "fun_name": "qemu_get_byte", "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 1)\n %3 = and i64 %1, 4294967295\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "generic_permission_9130", "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 = urem i64 %arg2, 2\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, 4\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, { 2, 0, 3, 1 }\n uselistorder i64 (i64, i64)* @capable_wrt_inode_uidgid, { 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": "0" }, { "dataset": "CompRealVul", "file": "xar_read_data_skip_10626", "fun_name": "xar_read_data_skip", "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 1, 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 = 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 i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, %7\n %12 = call i64 @FUNC(i64 %4, i64 %11)\n %13 = icmp slt i64 %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_3\n LBL_2:\n %15 = add i64 %4, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %17, %12\n store i64 %18, i64* %16, align 8\n store i64 0, i64* %9, 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 %4, { 0, 1, 3, 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": "loader_exec_5046", "fun_name": "loader_exec", "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.shrunk.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i32\n %sv_0.0.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg6 to i64\n %1 = add i64 %0, 4208\n %2 = inttoptr i64 %1 to i32*\n store i32 32764, i32* %2, align 4\n %3 = add i64 %0, 4144\n %4 = inttoptr i64 %3 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 64)\n %6 = inttoptr i64 %arg1 to i8*\n %7 = call i32 (i8*, i32, ...) @open(i8* %6, i32 0)\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i32 %7, i32* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_1, label LBL_17\n LBL_1:\n %10 = bitcast i64* %arg6 to i32*\n store i32 %7, i32* %10, align 4\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %arg1, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %arg2)\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 = add i64 %0, 24\n %18 = inttoptr i64 %17 to i64*\n store i64 %arg2, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %arg3)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %0, 32\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 %arg3, i64* %24, align 8\n %25 = call i64 @FUNC(i64 %0)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n store i32 %26, i32* %sv_0.02.reg2mem\n br i1 %27, label LBL_14, label LBL_2\n LBL_2:\n %28 = ptrtoint i64* %arg5 to i64\n %29 = ptrtoint i64* %arg4 to i64\n %30 = add i64 %0, 48\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = icmp eq i8 %32, 127\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_7, label LBL_3\n LBL_3:\n %35 = add i64 %0, 49\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 69\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_7, label LBL_4\n LBL_4:\n %40 = add i64 %0, 50\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 76\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_7, label LBL_5\n LBL_5:\n %45 = add i64 %0, 51\n %46 = inttoptr i64 %45 to i8*\n %47 = load i8, i8* %46, align 1\n %48 = icmp eq i8 %47, 70\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_7, label LBL_6\n LBL_6:\n %50 = call i64 @FUNC(i64 %0, i64 %29, i64 %28)\n store i64 %50, i64* %sv_0.0.in.reg2mem\n br label LBL_13\n LBL_7:\n %51 = icmp eq i8 %32, 98\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_12, label LBL_8\n LBL_8:\n %53 = add i64 %0, 49\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = icmp eq i8 %55, 70\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_12, label LBL_9\n LBL_9:\n %58 = add i64 %0, 50\n %59 = inttoptr i64 %58 to i8*\n %60 = load i8, i8* %59, align 1\n %61 = icmp eq i8 %60, 76\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_12, label LBL_10\n LBL_10:\n %63 = add i64 %0, 51\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = icmp eq i8 %65, 84\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_12, label LBL_11\n LBL_11:\n %68 = call i64 @FUNC(i64 %0, i64 %29, i64 %28)\n store i64 %68, i64* %sv_0.0.in.reg2mem\n br label LBL_13\n LBL_12:\n %69 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %70 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %69)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_17\n LBL_13:\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 %71 = icmp slt i32 %sv_0.0, 0\n store i32 %sv_0.0, i32* %sv_0.02.reg2mem\n br i1 %71, label LBL_14, label LBL_15\n LBL_14:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_16\n LBL_15:\n %72 = call i64 @FUNC(i64 %29, i64 %28)\n store i32 %sv_0.0, i32* %rax.0.shrunk.reg2mem\n br label LBL_17\n LBL_16:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %73 = mul i64 %indvars.iv.reload, 8\n %74 = add i64 %73, %3\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i64 @FUNC(i64 %76)\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.02.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_16\n LBL_17:\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 %29, { 2, 1, 0 }\n uselistorder i64 %28, { 2, 1, 0 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64 %0, { 3, 2, 1, 0, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 14, 15, 16 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.02.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 (i64)* @count, { 1, 0 }\n uselistorder i64 8, { 2, 0, 3, 1 }\n uselistorder label LBL_17, { 0, 2, 3, 1 }\n uselistorder label LBL_14, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "throttle_get_config_1657", "fun_name": "throttle_get_config", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\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 %0)\n %2 = add nuw nsw i32 %storemerge1.reload, 1\n %exitcond = icmp eq i32 %2, 10\n store i32 %2, i32* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %1\n\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_wsr_ccompare_2710", "fun_name": "gen_wsr_ccompare", "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_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i32 %1, -256\n %3 = trunc i64 %0 to i32\n %4 = icmp ult i32 %2, %3\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %5, label LBL_6, label LBL_1\n LBL_1:\n %6 = zext i32 %2 to i64\n %7 = mul i64 %6, 4\n %8 = add i64 %0, 4\n %9 = add i64 %8, %7\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = urem i32 %11, 32\n %13 = icmp eq i32 %12, 0\n store i64 4294967294, i64* %storemerge.reg2mem\n br i1 %13, label %16, label %14\n LBL_2:\n %35 = call i64 @FUNC()\n br label LBL_3\n LBL_3:\n %36 = load i64, i64* @gv_0, align 8\n %37 = and i64 %17, 4294967295\n %38 = call i64 @FUNC(i64 %36, i64 %37)\n %39 = load i64, i64* %30, align 8\n %40 = call i64 @FUNC(i64 %39)\n %41 = urem i64 %40, 2\n %42 = icmp eq i64 %41, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_5, label LBL_4\n LBL_4:\n %43 = call i64 @FUNC()\n %44 = call i64 @FUNC(i64 %0, i64 0)\n store i64 1, 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 %45 = call i64 @FUNC(i64 %37)\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 ret i64 %sv_0.1.reload\n\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @tb_cflags, { 1, 0 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 0, { 4, 1, 2, 3, 0, 5, 6, 7 }\n uselistorder label %16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cdrom_media_changed_9533", "fun_name": "cdrom_media_changed", "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_3, label LBL_1\n LBL_1:\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 0)\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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "XGetFontPath_4593", "fun_name": "XGetFontPath", "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 %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %r12.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i8*\n %.reg2mem12 = alloca i32\n %sv_2.28.reg2mem = alloca i8*\n %sv_0.19.reg2mem = alloca i32\n %r12.110.reg2mem = alloca i64\n %storemerge411.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_2.07.reg2mem = alloca i8*\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %sv_3 = alloca i32, align 4\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 0, i64 %2)\n %7 = bitcast i32* %sv_3 to i64*\n %8 = call i64 @FUNC(i64 %3, i64* nonnull %7, i64 0, i64 0)\n %9 = load i32, i32* %sv_3, align 4\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %10, label LBL_10, label LBL_1\n LBL_1:\n %11 = sext i32 %9 to i64\n %12 = mul i64 %11, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp sgt i32 %4, 536870910\n store i8* null, i8** %sv_2.07.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = sext i32 %4 to i64\n %16 = mul i64 %15, 4\n %17 = or i64 %16, 1\n %18 = call i64 @FUNC(i64 %17)\n %19 = inttoptr i64 %18 to i8*\n %20 = icmp ne i64 %13, 0\n %21 = icmp eq i64 %18, 0\n %22 = icmp eq i1 %21, false\n %or.cond = icmp eq i1 %20, %22\n store i8* %19, i8** %sv_2.07.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %sv_2.07.reload = load i8*, i8** %sv_2.07.reg2mem\n %23 = call i64 @FUNC(i64 %13)\n %24 = ptrtoint i8* %sv_2.07.reload to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = zext i32 %4 to i64\n %27 = call i64 @FUNC(i64 %3, i64 %26)\n %28 = call i64 @FUNC(i64 %3)\n %29 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_4:\n %30 = call i64 @FUNC(i64 %3, i64 %18, i64 %16)\n %31 = load i32, i32* %sv_3, align 4\n %32 = icmp eq i32 %31, 0\n store i64 %13, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %32, label LBL_10, label LBL_5\n LBL_5:\n %33 = add i64 %18, %16\n %34 = load i8, i8* %19, align 1\n %35 = sext i8 %34 to i64\n store i32 %31, i32* %.reg2mem\n store i64 0, i64* %storemerge411.reg2mem\n store i64 %35, i64* %r12.110.reg2mem\n store i32 0, i32* %sv_0.19.reg2mem\n store i8* %19, i8** %sv_2.28.reg2mem\n br label LBL_6\n LBL_6:\n %sv_2.28.reload = load i8*, i8** %sv_2.28.reg2mem\n %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem\n %r12.110.reload = load i64, i64* %r12.110.reg2mem\n %storemerge411.reload = load i64, i64* %storemerge411.reg2mem\n %sext = mul i64 %r12.110.reload, 4294967296\n %36 = ashr exact i64 %sext, 32\n %37 = ptrtoint i8* %sv_2.28.reload to i64\n %38 = add i64 %36, %37\n %39 = icmp ugt i64 %33, %38\n %40 = mul i64 %storemerge411.reload, 8\n %41 = add i64 %40, %13\n br i1 %39, label LBL_7, label LBL_8\n LBL_7:\n %42 = add i64 %37, 1\n %43 = inttoptr i64 %41 to i64*\n store i64 %42, i64* %43, align 8\n %44 = add i64 %42, %36\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = sext i8 %46 to i64\n store i8 0, i8* %45, align 1\n %48 = add i32 %sv_0.19.reload, 1\n %.pre = load i32, i32* %sv_3, align 4\n store i32 %.pre, i32* %.reg2mem12\n store i8* %45, i8** %sv_2.1.reg2mem\n store i32 %48, i32* %sv_0.0.reg2mem\n store i64 %47, i64* %r12.0.reg2mem\n br label LBL_9\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %49 = inttoptr i64 %41 to i64*\n store i64 0, i64* %49, align 8\n store i32 %.reload, i32* %.reg2mem12\n store i8* %sv_2.28.reload, i8** %sv_2.1.reg2mem\n store i32 %sv_0.19.reload, i32* %sv_0.0.reg2mem\n store i64 %r12.110.reload, i64* %r12.0.reg2mem\n br label LBL_9\n LBL_9:\n %r12.0.reload = load i64, i64* %r12.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.1.reload = load i8*, i8** %sv_2.1.reg2mem\n %.reload13 = load i32, i32* %.reg2mem12\n %50 = add nuw nsw i64 %storemerge411.reload, 1\n %51 = and i64 %50, 4294967295\n %52 = trunc i64 %50 to i32\n %53 = icmp ugt i32 %.reload13, %52\n store i32 %.reload13, i32* %.reg2mem\n store i64 %51, i64* %storemerge411.reg2mem\n store i64 %r12.0.reload, i64* %r12.110.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.19.reg2mem\n store i8* %sv_2.1.reload, i8** %sv_2.28.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %53, label LBL_6, 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 %54 = bitcast i64* %arg2 to i32*\n store i32 %sv_0.2.reload, i32* %54, align 4\n %55 = call i64 @FUNC(i64 %3)\n %56 = call i64 @FUNC()\n store i64 %sv_1.0.reload, 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 %.reload13, { 1, 0 }\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i8* %19, { 0, 2, 1 }\n uselistorder i64 %16, { 2, 1, 0 }\n uselistorder i64 %13, { 0, 2, 1, 3, 4 }\n uselistorder i64 %3, { 3, 0, 2, 1, 4, 5 }\n uselistorder i8** %sv_2.07.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge411.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r12.110.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_2.28.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 ()* @SyncHandle, { 1, 0 }\n uselistorder i64 (i64)* @UnlockDisplay, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i64)* @Xmalloc, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__perf_sw_event_13579", "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)\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": "vsock_stream_recvmsg_7726", "fun_name": "vsock_stream_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.2.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 br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64 1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %. = zext i1 %7 to i64\n store i64 %., i64* %sv_0.2.reg2mem\n br label LBL_4\n LBL_2:\n %8 = urem i64 %arg5, 2\n %9 = icmp eq i64 %8, 0\n store i64 2, i64* %sv_0.2.reg2mem\n br i1 %9, label LBL_3, label LBL_4\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 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i64 %arg4, 0\n %16 = icmp eq i1 %15, false\n %or.cond = icmp eq i1 %16, %14\n %spec.select = select i1 %or.cond, i64 3, i64 0\n ret i64 %spec.select\n LBL_4:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n ret i64 %sv_0.2.reload\n\n uselistorder i64 %2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ref_pic_list_struct_6793", "fun_name": "ref_pic_list_struct", "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.1.reg2mem = alloca i32\n %sv_0.22.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %rdx = alloca i64, align 8\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 = bitcast i64* %arg3 to i32*\n store i32 %5, i32* %6, align 4\n %7 = trunc i64 %2 to i32\n %8 = trunc i64 %1 to i32\n %9 = icmp ugt i32 %7, %8\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_9, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg3 to i64\n %11 = icmp slt i32 %7, 1\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %3)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = icmp eq i32 %13, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %3, i64 1)\n %18 = trunc i64 %17 to i32\n %19 = load i32, i32* %15, align 4\n %20 = mul i64 %17, 8589934592\n %sext = sub i64 4294967296, %20\n %21 = udiv i64 %sext, 4294967296\n %22 = trunc i64 %21 to i32\n %23 = mul i32 %19, %22\n store i32 %23, i32* %15, align 4\n store i32 %18, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %24 = bitcast i64* %rdx to i32*\n %25 = load i32, i32* %24, align 8\n %26 = icmp ugt i32 %25, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %26, label LBL_5, label LBL_9\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %27 = add i64 %10, 4\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %storemerge13.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.22.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.22.reload = load i32, i32* %sv_0.22.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %28 = call i64 @FUNC(i64 %3)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %3, i64 1)\n %32 = trunc i64 %31 to i32\n store i32 %32, 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 %33 = add i32 %storemerge13.reload, -1\n %34 = sext i32 %33 to i64\n %35 = mul i64 %34, 4\n %36 = add i64 %35, %27\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = mul i32 %sv_0.1.reload, 2\n %40 = sub i32 1, %39\n %41 = mul i32 %40, %29\n %42 = add i32 %41, %38\n %43 = mul i64 %.reload, 4\n %44 = add i64 %43, %27\n %45 = inttoptr i64 %44 to i32*\n store i32 %42, i32* %45, align 4\n %46 = add i32 %storemerge13.reload, 1\n %47 = load i32, i32* %24, align 8\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* %.reg2mem\n store i32 %46, i32* %storemerge13.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.22.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %50, label LBL_6, 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.1.reload, { 1, 0 }\n uselistorder i32* %24, { 1, 0 }\n uselistorder i32* %15, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %3, { 2, 3, 0, 1, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i64 1, { 2, 0, 3, 1 }\n uselistorder i32 0, { 2, 0, 3, 1 }\n uselistorder i64 (i64)* @get_ue_golomb_long, { 2, 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "request_key_auth_destroy_4244", "fun_name": "request_key_auth_destroy", "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 = 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)\n %8 = inttoptr i64 %5 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %5)\n ret i64 %11\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ioapic_common_class_init_429", "fun_name": "ioapic_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 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 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": "qemu_irq_split_2456", "fun_name": "qemu_irq_split", "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 = inttoptr i64 %0 to i64*\n store i64 %arg1, 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 = call i64 @FUNC(i64 4198825, i64 %0, i64 0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msn_close_4122", "fun_name": "msn_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem25 = alloca i64\n %storemerge5.reg2mem = alloca i64\n %.reg2mem23 = alloca i64\n %storemerge19.reg2mem = alloca i64\n %storemerge1.in7.pre-phi.reg2mem = alloca i64*\n %storemerge212.reg2mem = alloca i64\n %.reg2mem21 = alloca i64\n %.reg2mem19 = alloca i64\n %.reg2mem = 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_0.LBL_16_crit_edge, label LBL_2\n LBL_1:\n %.pre17 = add i64 %2, 8\n %.pre18 = inttoptr i64 %.pre17 to i64*\n store i64* %.pre18, i64** %storemerge1.in7.pre-phi.reg2mem\n br label LBL_16\n LBL_2:\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n br label LBL_4\n LBL_4:\n %8 = add i64 %2, 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_10, label LBL_5\n LBL_5:\n %12 = inttoptr i64 %10 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 %10, i64* %.reg2mem\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %15 = call i64 @FUNC(i64 %13)\n %.pre = load i64, i64* %9, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %16 = add i64 %.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 store i64 %.reload, i64* %.reg2mem19\n br i1 %19, label LBL_9, label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i64 %18)\n %.pre13 = load i64, i64* %9, align 8\n store i64 %.pre13, i64* %.reg2mem19\n br label LBL_9\n LBL_9:\n %.reload20 = load i64, i64* %.reg2mem19\n %21 = call i64 @FUNC(i64 %.reload20)\n br label LBL_10\n LBL_10:\n %22 = add i64 %2, 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 = icmp eq i1 %25, false\n store i64 %24, i64* %.reg2mem21\n br i1 %26, label LBL_11, label LBL_12\n LBL_11:\n %.reload22 = load i64, i64* %.reg2mem21\n %27 = inttoptr i64 %.reload22 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = load i64, i64* %23, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %30, i64* %.reg2mem21\n br i1 %32, label LBL_11, label LBL_12\n LBL_12:\n %33 = add i64 %2, 24\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 %35, i64* %storemerge212.reg2mem\n br i1 %36, label LBL_15, label LBL_13\n LBL_13:\n %storemerge212.reload = load i64, i64* %storemerge212.reg2mem\n %37 = inttoptr i64 %storemerge212.reload 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 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @gv_0, i64 0, i64 0), i64 %40)\n %42 = load i64, i64* %39, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %38, 8\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 %38)\n %49 = add i64 %storemerge212.reload, 8\n %storemerge2.in = inttoptr i64 %49 to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %50 = icmp eq i64 %storemerge2, 0\n %51 = icmp eq i1 %50, false\n store i64 %storemerge2, i64* %storemerge212.reg2mem\n br i1 %51, label LBL_13, label LBL_14\n LBL_14:\n %.pre14 = load i64, i64* %34, align 8\n %52 = call i64 @FUNC(i64 %.pre14)\n br label LBL_15\n LBL_15:\n %53 = add i64 %2, 32\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = call i64 @FUNC(i64 %55)\n %57 = call i64 @FUNC(i64 %2)\n store i64* %9, i64** %storemerge1.in7.pre-phi.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge1.in7.pre-phi.reload = load i64*, i64** %storemerge1.in7.pre-phi.reg2mem\n %storemerge18 = load i64, i64* %storemerge1.in7.pre-phi.reload, align 8\n %58 = icmp eq i64 %storemerge18, 0\n %59 = icmp eq i1 %58, false\n store i64 %storemerge18, i64* %storemerge19.reg2mem\n store i64 %storemerge18, i64* %.reg2mem23\n br i1 %59, label LBL_17, label LBL_19\n LBL_17:\n %storemerge19.reload = load i64, i64* %storemerge19.reg2mem\n %60 = inttoptr i64 %storemerge19.reload to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %61)\n %storemerge1.in.in = add i64 %storemerge19.reload, 8\n %storemerge1.in = inttoptr i64 %storemerge1.in.in to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %63 = icmp eq i64 %storemerge1, 0\n %64 = icmp eq i1 %63, false\n store i64 %storemerge1, i64* %storemerge19.reg2mem\n br i1 %64, label LBL_17, label LBL_18\n LBL_18:\n %.pre15 = load i64, i64* %storemerge1.in7.pre-phi.reload, align 8\n store i64 %.pre15, i64* %.reg2mem23\n br label LBL_19\n LBL_19:\n %.reload24 = load i64, i64* %.reg2mem23\n %65 = call i64 @FUNC(i64 %.reload24)\n %66 = add i64 %2, 16\n %storemerge.in3 = inttoptr i64 %66 to i64*\n %storemerge4 = load i64, i64* %storemerge.in3, align 8\n %67 = icmp eq i64 %storemerge4, 0\n %68 = icmp eq i1 %67, false\n store i64 %storemerge4, i64* %storemerge5.reg2mem\n store i64 %storemerge4, i64* %.reg2mem25\n br i1 %68, label LBL_20, label LBL_22\n LBL_20:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %69 = inttoptr i64 %storemerge5.reload to i64*\n %70 = load i64, i64* %69, align 8\n %71 = call i64 @FUNC(i64 %70)\n %72 = add i64 %storemerge5.reload, 8\n %storemerge.in = inttoptr i64 %72 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %73 = icmp eq i64 %storemerge, 0\n %74 = icmp eq i1 %73, false\n store i64 %storemerge, i64* %storemerge5.reg2mem\n br i1 %74, label LBL_20, label LBL_21\n LBL_21:\n %.pre16 = load i64, i64* %storemerge.in3, align 8\n store i64 %.pre16, i64* %.reg2mem25\n br label LBL_22\n LBL_22:\n %.reload26 = load i64, i64* %.reg2mem25\n %75 = call i64 @FUNC(i64 %.reload26)\n %76 = load i64, i64* @gv_1, align 8\n %77 = call i64 @FUNC(i64 %76, i64 %2)\n store i64 %77, i64* @gv_1, align 8\n ret i64 %77\n\n uselistorder i64 %77, { 1, 0 }\n uselistorder i64 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %storemerge19.reload, { 1, 0 }\n uselistorder i64* %23, { 1, 0 }\n uselistorder i64 %2, { 7, 8, 3, 2, 1, 5, 4, 6, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 0, 2, 1 }\n uselistorder i64* %.reg2mem21, { 2, 0, 1 }\n uselistorder i64* %storemerge212.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem23, { 0, 2, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem25, { 0, 2, 1 }\n uselistorder i64 (i64)* @g_slist_free, { 2, 1, 0 }\n uselistorder i1 false, { 6, 3, 7, 2, 8, 9, 1, 11, 10, 0, 4, 12, 5 }\n uselistorder i64 (i64)* @g_free, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 3, 2, 4, 5, 6, 7, 1, 8, 10, 9, 0, 11 }\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_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fourxm_probe_1981", "fun_name": "fourxm_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 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1380533830\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, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 878202198\n %spec.select = select i1 %8, i64 100, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i64 (i64)* @AV_RL32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aio_write_done_1582", "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, 48\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, 40\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 %arg1, 32\n %39 = call i64 @FUNC(i64 %38)\n %40 = call i64 @FUNC(i64 %arg1)\n ret i64 %40\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 i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 3, 5, 4, 2, 1, 0, 7, 6 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dec_divu_518", "fun_name": "dec_divu", "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 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = and i64 %1, 4294967295\n %8 = add i64 %2, 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 i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %7, i64 %6)\n %13 = add i64 %2, 16\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 = urem i32 %17, 2\n %19 = icmp eq 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(i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0))\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %22 = call i64 @FUNC()\n %23 = load i32, i32* %4, align 4\n %24 = sext i32 %23 to i64\n %25 = mul i64 %24, 4\n %26 = add i64 %25, ptrtoint (i32** @gv_2 to i64)\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = and i64 %22, 4294967295\n %30 = zext i32 %28 to i64\n %31 = call i64 @FUNC(i64 1, i64 %30, i64 0, i64 %29)\n %32 = add i64 %2, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = load i32, i32* @gv_3, align 4\n %36 = zext i32 %34 to i64\n %37 = zext i32 %35 to i64\n %38 = call i64 @FUNC(i64 %37, i64 %36)\n %39 = call i64 @FUNC(i64 %2, i64 1)\n %40 = call i64 @FUNC(i64 %29)\n %41 = load i32, i32* %4, align 4\n %42 = sext i32 %41 to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %43, ptrtoint (i32** @gv_2 to i64)\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %sext = mul i64 %1, 4294967296\n %47 = ashr exact i64 %sext, 30\n %48 = add i64 %47, ptrtoint (i32** @gv_2 to i64)\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = load i32, i32* %9, align 4\n %52 = sext i32 %51 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 %50 to i64\n %58 = zext i32 %56 to i64\n %59 = call i64 @FUNC(i64 %58, i64 %57, i32 %46)\n store i64 %59, 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, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "igmp_marksources_10682", "fun_name": "igmp_marksources", "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 %.reg2mem = alloca i32*\n %sv_0.113.reg2mem = alloca i32\n %storemerge15.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge46.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n %storemerge.in.in.in.in7 = ptrtoint i32* %arg1 to i64\n br i1 %6, label LBL_1, label LBL_4\n LBL_1:\n %storemerge.in.in.in8 = add i64 %storemerge.in.in.in.in7, 8\n %storemerge.in.in9 = inttoptr i64 %storemerge.in.in.in8 to i64*\n %storemerge.in10 = load i64, i64* %storemerge.in.in9, align 8\n %7 = icmp eq i64 %storemerge.in10, 0\n %8 = trunc i64 %3 to i32\n %9 = icmp eq i32 %8, 0\n %or.cond12 = or i1 %9, %7\n br i1 %or.cond12, label LBL_2, label LBL_3\n LBL_2:\n %10 = add i64 %storemerge.in.in.in.in7, 16\n %11 = inttoptr i64 %10 to i32*\n store i32* %11, i32** %.reg2mem\n br label LBL_12\n LBL_3:\n %12 = icmp sgt i32 %8, 0\n store i64 %storemerge.in10, i64* %storemerge15.in.reg2mem\n store i32 0, i32* %sv_0.113.reg2mem\n br label LBL_7.preheader\n LBL_4:\n %13 = and i64 %3, 4294967295\n %14 = call i64 @FUNC(i64 %storemerge.in.in.in.in7, i64 %13, i64 %2)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %storemerge46.reload = load i32, i32* %storemerge46.reg2mem\n %15 = sext i32 %storemerge46.reload to i64\n %16 = mul i64 %15, 4\n %17 = add i64 %16, %2\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, %29\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = add i64 %storemerge15.in.reload, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 1, i32* %23, align 4\n %24 = add i32 %sv_0.113.reload, 1\n store i32 %24, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %25 = add nuw i32 %storemerge46.reload, 1\n %26 = icmp slt i32 %25, %8\n store i32 %25, i32* %storemerge46.reg2mem\n store i32 %sv_0.113.reload, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_5, label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %storemerge.in.in.in = add i64 %storemerge15.in.reload, 8\n %storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i64*\n %storemerge.in = load i64, i64* %storemerge.in.in, align 8\n %27 = icmp eq i64 %storemerge.in, 0\n %28 = icmp eq i32 %sv_0.0.reload, %8\n %or.cond = or i1 %28, %27\n store i64 %storemerge.in, i64* %storemerge15.in.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.113.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_7.preheader\n LBL_9:\n %sv_0.113.reload = load i32, i32* %sv_0.113.reg2mem\n %storemerge15.in.reload = load i64, i64* %storemerge15.in.reg2mem\n store i32 %sv_0.113.reload, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_5.lr.ph, label LBL_8\n LBL_10:\n %storemerge15 = inttoptr i64 %storemerge15.in.reload to i32*\n %29 = load i32, i32* %storemerge15, align 4\n store i32 0, i32* %storemerge46.reg2mem\n br label LBL_5\n LBL_11:\n %30 = icmp eq i32 %sv_0.0.reload, 0\n %31 = icmp eq i1 %30, false\n %32 = add i64 %storemerge.in.in.in.in7, 16\n %33 = inttoptr i64 %32 to i32*\n store i32* %33, i32** %.reg2mem\n br i1 %31, label LBL_13, label LBL_12\n LBL_12:\n %.reload = load i32*, i32** %.reg2mem\n store i32 0, i32* %.reload, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n store i32 1, i32* %33, 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* %33, { 1, 0 }\n uselistorder i64 %storemerge15.in.reload, { 0, 2, 1 }\n uselistorder i32 %sv_0.113.reload, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32 %8, { 3, 2, 0, 1 }\n uselistorder i64 %storemerge.in.in.in.in7, { 2, 0, 1, 3 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32* %storemerge46.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_7.preheader, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "allocDynamic_10814", "fun_name": "allocDynamic", "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 i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp eq i64 %arg3, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n store i64 %8, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %11 = trunc i64 %1 to i32\n %12 = bitcast i64* %arg1 to i32*\n store i32 %11, i32* %12, align 4\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg3, i64* %16, align 8\n store i64 %arg3, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %17 = icmp eq i64 %.reload, 0\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = trunc i64 %1 to i32\n %19 = add i64 %0, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 1, i32* %22, align 4\n %23 = add i64 %0, 12\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %25 = add i64 %0, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, 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 %1, { 1, 2, 0 }\n uselistorder i64 %0, { 5, 2, 3, 4, 6, 7, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_pci_reset_2209", "fun_name": "virtio_pci_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 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %0)\n ret i64 %5\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unquote_8329", "fun_name": "unquote", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.be.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 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 %0, i64* %.in.reg2mem\n store i64 %0, i64* %sv_0.04.reg2mem\n store i64 %0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %5 = add i64 %.in.reload, 1\n %6 = icmp eq i8 %.reload, 92\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %5 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 120\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = add i64 %.in.reload, 2\n %13 = add i64 %.in.reload, 3\n %14 = inttoptr i64 %12 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = sext i8 %15 to i32\n %17 = call i32 @toupper(i32 %16)\n %18 = zext i32 %17 to i64\n %sext2 = mul i64 %18, 72057594037927936\n %19 = call i16** @__ctype_b_loc()\n %20 = load i16*, i16** %19, align 8\n %21 = ptrtoint i16* %20 to i64\n %22 = ashr exact i64 %sext2, 55\n %23 = add i64 %22, %21\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = and i16 %25, 2048\n %27 = icmp eq i16 %26, 0\n %. = select i1 %27, i8 7, i8 0\n %28 = trunc i32 %17 to i8\n %29 = sub i8 %28, %.\n %30 = mul i8 %29, 16\n %31 = inttoptr i64 %sv_0.04.reload to i8*\n store i8 %30, i8* %31, align 1\n %32 = add i64 %.in.reload, 4\n %33 = inttoptr i64 %13 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = sext i8 %34 to i32\n %36 = call i32 @toupper(i32 %35)\n %37 = zext i32 %36 to i64\n %38 = load i8, i8* %31, align 1\n %39 = call i16** @__ctype_b_loc()\n %40 = load i16*, i16** %39, align 8\n %41 = ptrtoint i16* %40 to i64\n %sext = mul i64 %37, 72057594037927936\n %42 = ashr exact i64 %sext, 55\n %43 = add i64 %42, %41\n %44 = inttoptr i64 %43 to i16*\n %45 = load i16, i16* %44, align 2\n %46 = and i16 %45, 2048\n %47 = icmp eq i16 %46, 0\n %storemerge = select i1 %47, i8 55, i8 48\n %48 = trunc i32 %36 to i8\n %49 = sub i8 %48, %storemerge\n %50 = or i8 %49, %38\n store i8 %50, i8* %31, align 1\n store i64 %32, i64* %sv_1.0.be.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem\n %sv_0.0.be = add i64 %sv_0.04.reload, 1\n %51 = inttoptr i64 %sv_1.0.be.reload to i8*\n %52 = load i8, i8* %51, align 1\n %53 = icmp eq i8 %52, 0\n %54 = icmp eq i1 %53, false\n store i8 %52, i8* %.reg2mem\n store i64 %sv_1.0.be.reload, i64* %.in.reg2mem\n store i64 %sv_0.0.be, i64* %sv_0.04.reg2mem\n store i64 %sv_0.0.be, i64* %sv_0.0.lcssa.reg2mem\n br i1 %54, label LBL_1, label LBL_6\n LBL_5:\n %55 = inttoptr i64 %sv_0.04.reload to i8*\n store i8 %.reload, i8* %55, align 1\n store i64 %5, i64* %sv_1.0.be.reg2mem\n br label LBL_4\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %56 = sub i64 %sv_0.0.lcssa.reload, %0\n ret i64 %56\n\n uselistorder i64 %sv_1.0.be.reload, { 1, 0 }\n uselistorder i64 %.in.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_0.04.reload, { 2, 1, 0 }\n uselistorder i64 %0, { 3, 0, 1, 2 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i64 55, { 1, 0 }\n uselistorder i32 (i32)* @toupper, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i8 0, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_calculate_timeout_18922", "fun_name": "qemu_calculate_timeout", "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 %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = icmp slt i64 %3, 1\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n br label LBL_4\n LBL_3:\n %5 = call i64 @FUNC()\n %6 = icmp slt i64 %5, 10000000\n %spec.select = select i1 %6, i64 %5, i64 10000000\n %7 = call i64 @FUNC(i64 %spec.select)\n %8 = load i64, i64* @gv_1, align 8\n %9 = add i64 %8, %7\n store i64 %9, i64* @gv_1, align 8\n br label LBL_4\n LBL_4:\n ret i64 5000\n\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pc_q35_machine_options_372", "fun_name": "pc_q35_machine_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint ([31 x i8]* @gv_1 to i64), i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198694, 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 ptrtoint ([23 x i8]* @gv_2 to i64), i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n %13 = add i64 %0, 52\n %14 = inttoptr i64 %13 to i8*\n store i8 1, i8* %14, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_GetIntFromValueBase_5924", "fun_name": "Jsi_GetIntFromValueBase", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n store i64 %0, i64* %sv_1, align 8\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n store i64 4294967295, 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, i64 %0, i64 1, i64* nonnull %sv_0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_6\n LBL_2:\n %7 = load i64, i64* %sv_0, align 8\n %8 = call i128 @FUNC(i64 %7)\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_5, label LBL_3\n LBL_3:\n %13 = urem i64 %arg5, 2\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_6, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %18 = load i64, i64* %sv_0, align 8\n %19 = call i128 @FUNC(i64 %18)\n %20 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %21 = load i64, i64* %sv_0, align 8\n %22 = call i128 @FUNC(i64 %21)\n %23 = call i32 @FUNC(i128 %22)\n %24 = bitcast i64* %arg3 to i32*\n store i32 %23, 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 i64 %3, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 }\n uselistorder i64 4294967295, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 4, 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TTF_PSDupsDefault_6921", "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 %storemerge27.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 = add i64 %2, 40\n %storemerge2.in5 = inttoptr i64 %3 to i64*\n %storemerge26 = load i64, i64* %storemerge2.in5, align 8\n %4 = icmp eq i64 %storemerge26, 0\n store i64 %storemerge26, i64* %storemerge27.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %4, label LBL_25, label LBL_2\n LBL_1:\n %5 = add i64 %storemerge27.reload, 16\n %storemerge2.in = inttoptr i64 %5 to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %6 = icmp eq i64 %storemerge2, 0\n store i64 %storemerge2, i64* %storemerge27.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %6, label LBL_25, label LBL_2\n LBL_2:\n %storemerge27.reload = load i64, i64* %storemerge27.reg2mem\n %storemerge = inttoptr i64 %storemerge27.reload to i32*\n %7 = load i32, i32* %storemerge, align 4\n %8 = icmp eq i32 %7, 1033\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_1, label LBL_3\n LBL_3:\n %10 = add i64 %storemerge27.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 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i64* %arg1, null\n %or.cond = or i1 %16, %15\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n %17 = inttoptr i64 %14 to i8*\n %18 = bitcast i64* %arg1 to i8*\n %19 = call i32 @strcmp(i8* %17, i8* %18)\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 = load i64, i64* %11, align 8\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 i64, i64* %11, align 8\n %27 = inttoptr i64 %26 to i64*\n store i64 0, i64* %27, align 8\n br label LBL_6\n LBL_6:\n %28 = load i64, i64* %11, 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 = icmp eq i64 %31, 0\n br i1 %32, label LBL_10, label LBL_7\n LBL_7:\n %33 = add i64 %2, 8\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_8\n LBL_8:\n %37 = inttoptr i64 %31 to i8*\n %38 = inttoptr i64 %35 to i8*\n %39 = call i32 @strcmp(i8* %37, i8* %38)\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_10, label LBL_9\n LBL_9:\n %42 = load i64, i64* %11, align 8\n %43 = add i64 %42, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = inttoptr i64 %45 to i64*\n call void @free(i64* %46)\n %47 = load i64, i64* %11, align 8\n %48 = add i64 %47, 8\n %49 = inttoptr i64 %48 to i64*\n store i64 0, i64* %49, align 8\n br label LBL_10\n LBL_10:\n %50 = load i64, i64* %11, align 8\n %51 = add i64 %50, 16\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_14, label LBL_11\n LBL_11:\n %55 = add i64 %2, 16\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_14, label LBL_12\n LBL_12:\n %59 = inttoptr i64 %53 to i8*\n %60 = inttoptr i64 %57 to i8*\n %61 = call i32 @strcmp(i8* %59, i8* %60)\n %62 = icmp eq i32 %61, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_14, label LBL_13\n LBL_13:\n %64 = load i64, i64* %11, align 8\n %65 = add i64 %64, 16\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = inttoptr i64 %67 to i64*\n call void @free(i64* %68)\n %69 = load i64, i64* %11, align 8\n %70 = add i64 %69, 16\n %71 = inttoptr i64 %70 to i64*\n store i64 0, i64* %71, align 8\n br label LBL_14\n LBL_14:\n %72 = add i64 %2, 36\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = icmp eq 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 = add i64 %2, 24\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_21, label LBL_17\n LBL_16:\n %81 = add i64 %2, 32\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = call i128 @FUNC(i32 %83)\n %85 = call i128 @FUNC(i128 %1, i128 %1)\n %86 = call i128 @FUNC(i128 %84)\n %87 = call i64 @FUNC(i128 %86)\n %88 = call i128 @__asm_movq.1(i64 %87)\n %89 = bitcast i64* %sv_0 to i8*\n %90 = trunc i128 %88 to i64\n %91 = bitcast i64 %90 to double\n %92 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %89, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), double %91)\n br label LBL_18\n LBL_17:\n %93 = bitcast i64* %sv_0 to i8*\n %94 = inttoptr i64 %79 to i8*\n %95 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %93, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* %94)\n br label LBL_18\n LBL_18:\n %96 = load i64, i64* %11, align 8\n %97 = add i64 %96, 24\n %98 = inttoptr i64 %97 to i64*\n %99 = load i64, i64* %98, align 8\n %100 = icmp eq i64 %99, 0\n br i1 %100, label LBL_21, label LBL_19\n LBL_19:\n %101 = inttoptr i64 %99 to i8*\n %102 = bitcast i64* %sv_0 to i8*\n %103 = call i32 @strcmp(i8* %101, i8* nonnull %102)\n %104 = icmp eq i32 %103, 0\n %105 = icmp eq i1 %104, false\n br i1 %105, label LBL_21, label LBL_20\n LBL_20:\n %106 = load i64, i64* %11, align 8\n %107 = add i64 %106, 24\n %108 = inttoptr i64 %107 to i64*\n %109 = load i64, i64* %108, align 8\n %110 = inttoptr i64 %109 to i64*\n call void @free(i64* %110)\n %111 = load i64, i64* %11, align 8\n %112 = add i64 %111, 24\n %113 = inttoptr i64 %112 to i64*\n store i64 0, i64* %113, align 8\n br label LBL_21\n LBL_21:\n %114 = load i64, i64* %11, align 8\n %115 = add i64 %114, 32\n %116 = inttoptr i64 %115 to i64*\n %117 = load i64, i64* %116, align 8\n %118 = icmp eq i64 %117, 0\n br i1 %118, label LBL_24, label LBL_22\n LBL_22:\n %119 = call i64 @FUNC(i64 %2)\n %120 = load i64, i64* %11, align 8\n %121 = add i64 %120, 32\n %122 = inttoptr i64 %121 to i64*\n %123 = load i64, i64* %122, align 8\n %124 = inttoptr i64 %123 to i8*\n %125 = inttoptr i64 %119 to i8*\n %126 = call i32 @strcmp(i8* %124, i8* %125)\n %127 = icmp eq i32 %126, 0\n %128 = icmp eq i1 %127, false\n br i1 %128, label LBL_24, label LBL_23\n LBL_23:\n %129 = load i64, i64* %11, align 8\n %130 = add i64 %129, 32\n %131 = inttoptr i64 %130 to i64*\n %132 = load i64, i64* %131, align 8\n %133 = inttoptr i64 %132 to i64*\n call void @free(i64* %133)\n %134 = load i64, i64* %11, align 8\n %135 = add i64 %134, 32\n %136 = inttoptr i64 %135 to i64*\n store i64 0, i64* %136, align 8\n br label LBL_24\n LBL_24:\n %137 = load i64, i64* %11, align 8\n %138 = add i64 %137, 40\n %139 = inttoptr i64 %138 to i64*\n %140 = load i64, i64* %139, align 8\n %141 = inttoptr i64 %140 to i64*\n call void @free(i64* %141)\n %142 = load i64, i64* %11, align 8\n %143 = add i64 %142, 40\n %144 = inttoptr i64 %143 to i64*\n store i64 0, i64* %144, align 8\n store i64 %143, i64* %rax.1.reg2mem\n br label LBL_25\n LBL_25:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64* %11, { 9, 10, 6, 7, 8, 11, 12, 13, 14, 4, 5, 15, 2, 3, 16, 0, 1, 17 }\n uselistorder i64 %storemerge27.reload, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 3, 5, 4, 1, 0, 6 }\n uselistorder i64* %storemerge27.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 4, 3, 1, 0 }\n uselistorder label LBL_25, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip_idents_reserve_6973", "fun_name": "ip_idents_reserve", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16\n %2 = load i32, i32* @gv_0, align 4\n %3 = and i32 %2, %0\n %4 = zext i32 %3 to i64\n %5 = mul i64 %4, 4\n %6 = add i64 %5, ptrtoint (i32** @gv_1 to i64)\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %1, %8\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n store i32 %1, i32* %7, align 4\n %10 = sub i32 %1, %8\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n store i32 %13, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %14 = add i64 %5, ptrtoint (i32** @gv_2 to i64)\n %15 = inttoptr i64 %14 to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %16 = trunc i64 %arg2 to i32\n %17 = load i32, i32* %15, align 4\n %18 = add i32 %17, %sv_0.0.reload\n %19 = add i32 %18, %16\n store i32 %19, i32* %15, align 4\n %20 = zext i32 %18 to i64\n ret i64 %20\n\n uselistorder i32* %15, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %1, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raven_pcihost_class_init_17016", "fun_name": "raven_pcihost_class_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 %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = call i64 @FUNC(i64 0, i64 %2)\n %4 = add i64 %arg1, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 4198768, i64* %5, align 8\n %6 = add i64 %arg1, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %7, align 8\n %8 = add i64 %arg1, 24\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n ret i64 %arg1\n\n uselistorder i32 1, { 3, 1, 2, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "txd_decode_frame_7756", "fun_name": "txd_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.shrunk.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i32\n %sv_0.08.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32\n %indvars.iv.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 = ptrtoint i64* %arg4 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\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 %3, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %3, i32 %10)\n %12 = call i64 @FUNC(i64* nonnull %sv_1)\n %13 = call i64 @FUNC(i64* nonnull %sv_1, i64 72)\n %14 = call i64 @FUNC(i64* nonnull %sv_1)\n %15 = call i64 @FUNC(i64* nonnull %sv_1)\n %16 = call i64 @FUNC(i64* nonnull %sv_1)\n %17 = call i64 @FUNC(i64* nonnull %sv_1)\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 2)\n %19 = call i64 @FUNC(i64* nonnull %sv_1)\n %20 = and i64 %12, 4294967294\n %21 = icmp eq i64 %20, 8\n br i1 %21, label LBL_2, label LBL_1\n LBL_1:\n %22 = and i64 %12, 4294967295\n %23 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %22, i64 %2, i64 %1)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_33\n LBL_2:\n %24 = trunc i64 %17 to i32\n %25 = urem i32 %24, 256\n %26 = icmp eq i32 %25, 8\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = add i64 %4, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, align 4\n br label LBL_7\n LBL_4:\n %30 = icmp ne i32 %25, 16\n %31 = icmp eq i32 %25, 32\n %32 = icmp eq i1 %31, false\n %or.cond = icmp eq i1 %30, %32\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %33 = add i64 %4, 8\n %34 = inttoptr i64 %33 to i32*\n store i32 2, i32* %34, align 4\n br label LBL_7\n LBL_6:\n %35 = zext i32 %25 to i64\n %36 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %2, i64 %1)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_33\n LBL_7:\n %37 = trunc i64 %15 to i32\n %38 = urem i32 %37, 65536\n %39 = trunc i64 %16 to i32\n %40 = urem i32 %39, 65536\n %41 = zext i32 %38 to i64\n %42 = call i64 @FUNC(i64 %41, i32 %40, i64 0, i64 %4)\n %43 = trunc i64 %42 to i32\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i32 %43, i32* %rax.0.shrunk.reg2mem\n br i1 %45, label LBL_8, label LBL_33\n LBL_8:\n %46 = bitcast i64* %rdi to i32*\n %47 = load i32, i32* %46, align 8\n %48 = icmp eq i32 %38, %47\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_10, label LBL_9\n LBL_9:\n %50 = add i64 %4, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = icmp eq i32 %40, %52\n store i64 %4, i64* %rcx.0.reg2mem\n br i1 %53, label LBL_11, label LBL_10\n LBL_10:\n %54 = call i64 @FUNC(i64 %4, i64 %41, i32 %40)\n store i64 %41, i64* %rcx.0.reg2mem\n br label LBL_11\n LBL_11:\n %55 = call i64 @FUNC(i64 %4, i64 %7)\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_13, label LBL_12\n LBL_12:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %59 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n store i32 %56, i32* %rax.0.shrunk.reg2mem\n br label LBL_33\n LBL_13:\n %60 = add i64 %7, 96\n %61 = inttoptr i64 %60 to i32*\n store i32 1, i32* %61, align 4\n %62 = inttoptr i64 %7 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = add i64 %7, 64\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n br i1 %27, label LBL_19, label LBL_14\n LBL_14:\n %67 = add i64 %7, 8\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_15\n LBL_15:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %70 = call i64 @FUNC(i64* nonnull %sv_1)\n %71 = trunc i64 %70 to i32\n %72 = mul i64 %indvars.iv.reload, 4\n %73 = add i64 %72, %69\n %74 = udiv i32 %71, 256\n %75 = mul i32 %71, 16777216\n %76 = or i32 %74, %75\n %77 = inttoptr i64 %73 to i32*\n store i32 %76, i32* %77, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond12 = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond12, label LBL_16, label LBL_15\n LBL_16:\n %78 = call i64 @FUNC(i64* nonnull %sv_1, i64 4)\n %79 = icmp eq i32 %40, 0\n br i1 %79, label LBL_31, label LBL_17\n LBL_17:\n %80 = zext i32 %66 to i64\n store i32 0, i32* %storemerge9.reg2mem\n store i64 %63, i64* %sv_0.08.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %81 = call i64 @FUNC(i64* nonnull %sv_1, i64 %sv_0.08.reload, i32 %38)\n %82 = add i64 %sv_0.08.reload, %80\n %83 = add nuw nsw i32 %storemerge9.reload, 1\n %exitcond11 = icmp eq i32 %83, %40\n store i32 %83, i32* %storemerge9.reg2mem\n store i64 %82, i64* %sv_0.08.reg2mem\n br i1 %exitcond11, label LBL_31, label LBL_18\n LBL_19:\n %84 = trunc i64 %14 to i32\n %85 = icmp eq i32 %25, 16\n %86 = icmp eq i1 %85, false\n br i1 %86, label LBL_26, label LBL_20\n LBL_20:\n %87 = call i64 @FUNC(i64* nonnull %sv_1, i64 4)\n %88 = icmp eq i32 %84, 2\n br i1 %88, label LBL_25, label LBL_21\n LBL_21:\n %89 = icmp ult i32 %84, 3\n br i1 %89, label LBL_22, label LBL_32\n LBL_22:\n switch i32 %84, label LBL_32 [\n i32 0, label LBL_23\n i32 1, label LBL_24\n ]\n LBL_23:\n %90 = urem i64 %19, 2\n %91 = icmp eq i64 %90, 0\n br i1 %91, label LBL_32, label LBL_24\n LBL_24:\n %92 = zext i32 %66 to i64\n %93 = call i64 @FUNC(i64* nonnull %sv_1, i64 %63, i32 %38, i32 %40, i64 %92)\n br label LBL_31\n LBL_25:\n %94 = zext i32 %66 to i64\n %95 = call i64 @FUNC(i64* nonnull %sv_1, i64 %63, i32 %38, i32 %40, i64 %94)\n br label LBL_31\n LBL_26:\n %96 = icmp eq i32 %25, 32\n %97 = icmp eq i1 %96, false\n br i1 %97, label LBL_31, label LBL_27\n LBL_27:\n %98 = add i32 %84, -21\n %99 = icmp ult i32 %98, 2\n br i1 %99, label LBL_28, label LBL_32\n LBL_28:\n %100 = icmp eq i32 %40, 0\n br i1 %100, label LBL_31, label LBL_29\n LBL_29:\n %101 = mul i32 %38, 4\n %102 = zext i32 %66 to i64\n store i32 0, i32* %storemerge27.reg2mem\n store i64 %63, i64* %sv_0.16.reg2mem\n br label LBL_30\n LBL_30:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %103 = call i64 @FUNC(i64* nonnull %sv_1, i64 %sv_0.16.reload, i32 %101)\n %104 = add i64 %sv_0.16.reload, %102\n %105 = add nuw nsw i32 %storemerge27.reload, 1\n %exitcond = icmp eq i32 %105, %40\n store i32 %105, i32* %storemerge27.reg2mem\n store i64 %104, i64* %sv_0.16.reg2mem\n br i1 %exitcond, label LBL_31, label LBL_30\n LBL_31:\n %106 = ptrtoint i64* %arg2 to i64\n %107 = load i64, i64* %62, align 8\n %108 = add i64 %7, 8\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n store i64 %107, i64* %arg2, align 8\n %111 = add i64 %106, 8\n %112 = inttoptr i64 %111 to i64*\n store i64 %110, i64* %112, align 8\n %113 = add i64 %7, 16\n %114 = inttoptr i64 %113 to i64*\n %115 = load i64, i64* %114, align 8\n %116 = add i64 %7, 24\n %117 = inttoptr i64 %116 to i64*\n %118 = load i64, i64* %117, align 8\n %119 = add i64 %106, 16\n %120 = inttoptr i64 %119 to i64*\n store i64 %115, i64* %120, align 8\n %121 = add i64 %106, 24\n %122 = inttoptr i64 %121 to i64*\n store i64 %118, i64* %122, align 8\n %123 = add i64 %7, 32\n %124 = inttoptr i64 %123 to i64*\n %125 = load i64, i64* %124, align 8\n %126 = add i64 %7, 40\n %127 = inttoptr i64 %126 to i64*\n %128 = load i64, i64* %127, align 8\n %129 = add i64 %106, 32\n %130 = inttoptr i64 %129 to i64*\n store i64 %125, i64* %130, align 8\n %131 = add i64 %106, 40\n %132 = inttoptr i64 %131 to i64*\n store i64 %128, i64* %132, align 8\n %133 = add i64 %7, 48\n %134 = inttoptr i64 %133 to i64*\n %135 = load i64, i64* %134, align 8\n %136 = add i64 %7, 56\n %137 = inttoptr i64 %136 to i64*\n %138 = load i64, i64* %137, align 8\n %139 = add i64 %106, 48\n %140 = inttoptr i64 %139 to i64*\n store i64 %135, i64* %140, align 8\n %141 = add i64 %106, 56\n %142 = inttoptr i64 %141 to i64*\n store i64 %138, i64* %142, align 8\n %143 = inttoptr i64 %64 to i64*\n %144 = load i64, i64* %143, align 8\n %145 = add i64 %7, 72\n %146 = inttoptr i64 %145 to i64*\n %147 = load i64, i64* %146, align 8\n %148 = add i64 %106, 64\n %149 = inttoptr i64 %148 to i64*\n store i64 %144, i64* %149, align 8\n %150 = add i64 %106, 72\n %151 = inttoptr i64 %150 to i64*\n store i64 %147, i64* %151, align 8\n %152 = add i64 %7, 80\n %153 = inttoptr i64 %152 to i64*\n %154 = load i64, i64* %153, align 8\n %155 = add i64 %7, 88\n %156 = inttoptr i64 %155 to i64*\n %157 = load i64, i64* %156, align 8\n %158 = add i64 %106, 80\n %159 = inttoptr i64 %158 to i64*\n store i64 %154, i64* %159, align 8\n %160 = add i64 %106, 88\n %161 = inttoptr i64 %160 to i64*\n store i64 %157, i64* %161, align 8\n %162 = inttoptr i64 %60 to i64*\n %163 = load i64, i64* %162, align 8\n %164 = add i64 %106, 96\n %165 = inttoptr i64 %164 to i64*\n store i64 %163, i64* %165, align 8\n %166 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %166, align 4\n %167 = load i32, i32* %9, align 4\n store i32 %167, i32* %rax.0.shrunk.reg2mem\n br label LBL_33\n LBL_32:\n %168 = and i64 %14, 4294967295\n %169 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %168, i64 %2, i64 %1)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_33\n LBL_33:\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 %106, { 0, 8, 1, 11, 2, 3, 4, 5, 6, 7, 9, 10 }\n uselistorder i64 %sv_0.16.reload, { 1, 0 }\n uselistorder i32 %84, { 3, 0, 2, 1 }\n uselistorder i64 %sv_0.08.reload, { 1, 0 }\n uselistorder i32 %66, { 3, 2, 1, 0 }\n uselistorder i64 %63, { 0, 3, 2, 1 }\n uselistorder i32 %40, { 7, 6, 2, 3, 8, 5, 1, 4, 0 }\n uselistorder i32 %38, { 0, 3, 4, 5, 2, 1 }\n uselistorder i32 %25, { 3, 4, 0, 5, 1, 2 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %7, { 2, 1, 4, 7, 3, 10, 5, 6, 8, 9, 0, 12, 11, 13, 14 }\n uselistorder i64 %4, { 6, 5, 7, 8, 0, 4, 9, 3, 10, 2, 1, 11 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 6, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64*, i64, i32)* @bytestream2_get_buffer, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder i32 0, { 0, 2, 5, 1, 3, 6, 7, 4 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i32 -1, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 0, 3, 4, 5, 1 }\n uselistorder i64 (i64*)* @bytestream2_get_byte, { 1, 0 }\n uselistorder i64 (i64*)* @bytestream2_get_le16, { 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream2_skip, { 3, 2, 1, 0 }\n uselistorder i64 72, { 1, 2, 0 }\n uselistorder i64 (i64*)* @bytestream2_get_le32, { 1, 0 }\n uselistorder i64 8, { 1, 2, 3, 4, 5, 0, 6, 7 }\n uselistorder label LBL_33, { 1, 2, 3, 0, 4, 5 }\n uselistorder label LBL_32, { 1, 2, 0, 3 }\n uselistorder label LBL_31, { 1, 3, 4, 5, 6, 0, 2 }\n uselistorder label LBL_24, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mk_iov_create_3836", "fun_name": "mk_iov_create", "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 %2 = call i64 @FUNC(i64 48)\n %3 = inttoptr i64 %2 to i32*\n store i32 %1, i32* %3, align 4\n %sext = mul i64 %arg1, 4294967296\n %4 = ashr exact i64 %sext, 28\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 = ashr exact i64 %sext, 29\n %9 = call i64 @FUNC(i64 %8)\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 i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %2, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %2, 40\n %17 = inttoptr i64 %16 to i32*\n store i32 %0, i32* %17, align 4\n ret i64 %2\n\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @mk_mem_malloc, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysMapFD_12232", "fun_name": "sysMapFD", "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 %sv_1 = 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 call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %2, 4294967295\n %4 = bitcast i32* %sv_0 to i64*\n %5 = bitcast i32* %sv_1 to i64*\n %6 = call i64 @FUNC(i64 %3, i64* nonnull %4, i64* nonnull %5)\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_3, label LBL_6\n LBL_3:\n %10 = load i32, i32* %sv_0, align 4\n %11 = load i32, i32* %sv_1, align 4\n %12 = trunc i64 %2 to i32\n %13 = call i64* @mmap(i64* null, i32 %11, i32 1, i32 2, i32 %12, i32 %10)\n %14 = icmp eq i64* %13, inttoptr (i64 -1 to i64*)\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = sext i32 %10 to i64\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 = load i32, i32* %sv_0, align 4\n %22 = zext i32 %21 to i64\n %23 = load i32, i32* %sv_1, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 %3, i64 %22, i64 %20, i64 %16)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %26 = ptrtoint i64* %arg2 to i64\n %27 = ptrtoint i64* %13 to i64\n store i64 %27, i64* %arg2, align 8\n %28 = load i32, i32* %sv_1, align 4\n %29 = sext i32 %28 to i64\n %30 = add i64 %26, 8\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = add i64 %26, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 1, i32* %33, align 4\n %34 = call i64* @malloc(i32 16)\n %35 = ptrtoint i64* %34 to i64\n %36 = add i64 %26, 24\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n store i64 %27, i64* %34, align 8\n %38 = load i64, i64* %37, align 8\n %39 = load i32, i32* %sv_1, align 4\n %40 = sext i32 %39 to i64\n %41 = add i64 %38, 8\n %42 = inttoptr i64 %41 to i64*\n store i64 %40, i64* %42, 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* %13, { 1, 0 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0, 3, 2 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmxnet3_fill_stats_1330", "fun_name": "vmxnet3_fill_stats", "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 %.reg2mem5 = alloca i64\n %storemerge13.reg2mem = alloca i32\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 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_7, 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 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* %11, align 8\n %13 = mul i64 %.reload, 16\n %14 = add i64 %12, %13\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %14 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %3, i64 %17, i64 %15, i64 4)\n %19 = add i32 %storemerge13.reload, 1\n %20 = load i32, i32* %7, 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* %storemerge13.reg2mem\n br i1 %23, label LBL_3, label LBL_4\n LBL_4:\n %24 = add i64 %2, 8\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_7, label LBL_5\n LBL_5:\n %28 = add i64 %2, 24\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %.reg2mem5\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload6 = load i64, i64* %.reg2mem5\n %30 = load i64, i64* %29, align 8\n %31 = mul i64 %.reload6, 16\n %32 = add i64 %30, %31\n %33 = add i64 %32, 8\n %34 = inttoptr i64 %32 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %3, i64 %35, i64 %33, i64 4)\n %37 = add i32 %storemerge2.reload, 1\n %38 = load i32, i32* %25, align 4\n %39 = zext i32 %38 to i64\n %40 = sext i32 %37 to i64\n %41 = icmp slt i64 %40, %39\n store i64 %40, i64* %.reg2mem5\n store i32 %37, i32* %storemerge2.reg2mem\n store i64 %39, i64* %rax.0.reg2mem\n br i1 %41, 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 i32* %25, { 1, 0 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem5, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64, i64)* @pci_dma_write, { 1, 0 }\n uselistorder i32 0, { 0, 2, 1, 3, 5, 4 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fsnotify_destroy_mark_by_entry_4495", "fun_name": "fsnotify_destroy_mark_by_entry", "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 = call i64 @FUNC(i64 %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 %1, 0\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n %or.cond = or i1 %6, %8\n %not.or.cond4 = icmp ne i1 %or.cond, true\n %storemerge1 = zext i1 %not.or.cond4 to i64\n %9 = call i64 @FUNC(i64 %storemerge1)\n %10 = icmp ne i64 %5, 0\n %not.or.cond = icmp eq i1 %6, %10\n %storemerge = zext i1 %not.or.cond to i64\n %11 = call i64 @FUNC(i64 %storemerge)\n %12 = icmp eq i1 %6, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %1)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %14 = add i64 %0, 20\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = add i32 %16, -1\n %18 = sub i32 0, %16\n %19 = and i32 %16, %18\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i32 %17, 0\n %22 = icmp slt i32 %17, 0\n %23 = icmp ne i1 %22, %20\n %24 = or i1 %21, %23\n %25 = zext i1 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %0, 28\n %28 = call i64 @FUNC(i64 %27)\n %29 = call i64 @FUNC(i64 %5)\n %30 = add i64 %0, 40\n %31 = call i64 @FUNC(i64 %30)\n store i64 0, i64* %4, align 8\n %32 = add i64 %0, 24\n %33 = call i64 @FUNC(i64 %32)\n store i64 0, i64* %arg1, align 8\n %34 = call i64 @FUNC(i64 %0)\n %35 = call i64 @FUNC(i64 %5)\n %36 = call i64 @FUNC(i64 %5)\n %37 = call i64 @FUNC(i64 %27)\n %38 = call i64 @FUNC(i64 %1)\n %39 = call i64 @FUNC(i64 %5)\n %40 = call i64 @FUNC(i64 %32)\n %41 = and i64 %40, 4294967295\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i64 %42, i64* %rax.0.reg2mem\n br i1 %44, label LBL_4, label LBL_3\n LBL_3:\n %45 = call i64 @FUNC(i64 %1)\n store i64 %45, 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 %17, { 1, 0 }\n uselistorder i32 %16, { 1, 0, 2 }\n uselistorder i1 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 3, 2, 4, 5, 0 }\n uselistorder i64 %1, { 2, 1, 0, 3, 4 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64 (i64)* @spin_unlock, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @BUG_ON, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_set_pbaclr_14949", "fun_name": "e1000e_set_pbaclr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.2.reg2mem = 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 %3 = trunc i64 %arg3 to i32\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\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 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = trunc i64 %1 to i32\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %8, i64* %rax.2.reg2mem\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = trunc i64 %indvars.iv.reload to i32\n %14 = shl i32 1, %13\n %15 = and i32 %14, %12\n %16 = icmp eq i32 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = load i64, i64* %6, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %indvars.iv.reload)\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 %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 i64 %rax.0.reload, i64* %rax.2.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rtp_parse_mp4_au_496", "fun_name": "rtp_parse_mp4_au", "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 %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\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_9\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %1 to i32\n %7 = mul i32 %6, 256\n %8 = and i32 %7, 65280\n %9 = add i64 %4, 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 = or i32 %8, %12\n %14 = add nuw nsw i32 %13, 7\n %15 = udiv i32 %14, 8\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 %4, 2\n %19 = and i32 %14, 131064\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 %18, i64 %20)\n %22 = bitcast i64* %rdi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = add i64 %5, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i32 %26, %23\n %28 = icmp slt i32 %27, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_9, label LBL_2\n LBL_2:\n %29 = urem i32 %13, %27\n %30 = icmp eq i32 %29, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %30, label LBL_3, label LBL_9\n LBL_3:\n %31 = udiv i32 %13, %27\n %32 = add i64 %5, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %5, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, 0\n %.pre2 = add i64 %5, 16\n %.pre3 = inttoptr i64 %.pre2 to i32*\n br i1 %37, label LBL_5, label LBL_4\n LBL_4:\n %38 = load i32, i32* %.pre3, align 4\n %39 = icmp ult i32 %38, %31\n store i64 %36, i64* %.reg2mem\n br i1 %39, label LBL_5, label LBL_6\n LBL_5:\n %40 = inttoptr i64 %36 to i64*\n call void @free(i64* %40)\n %41 = load i32, i32* %33, align 4\n %42 = mul i32 %41, 8\n %43 = call i64* @malloc(i32 %42)\n %44 = ptrtoint i64* %43 to i64\n store i64 %44, i64* %35, align 8\n %45 = load i32, i32* %33, align 4\n store i32 %45, i32* %.pre3, align 4\n %.pre = load i64, i64* %35, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %46 = inttoptr i64 %.reload to i32*\n store i32 0, i32* %46, align 4\n %47 = load i64, i64* %35, align 8\n %48 = add i64 %47, 4\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n %50 = load i32, i32* %33, align 4\n %51 = icmp eq i32 %50, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %51, label LBL_8, label LBL_7\n LBL_7:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %52 = load i32, i32* %22, align 8\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64* nonnull %sv_0, i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = load i64, i64* %35, align 8\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i32 %58, %55\n store i32 %59, i32* %57, align 4\n %60 = load i32, i32* %25, align 4\n %61 = zext i32 %60 to i64\n %62 = call i64 @FUNC(i64* nonnull %sv_0, i64 %61)\n %63 = trunc i64 %62 to i32\n %64 = load i64, i64* %35, align 8\n %65 = add i64 %64, 4\n %66 = inttoptr i64 %65 to i32*\n store i32 %63, i32* %66, align 4\n %67 = add i32 %storemerge1.reload, 1\n %68 = load i32, i32* %33, align 4\n %69 = zext i32 %68 to i64\n %70 = sext i32 %67 to i64\n %71 = icmp slt i64 %70, %69\n store i32 %67, i32* %storemerge1.reg2mem\n br i1 %71, label LBL_7, label LBL_8\n LBL_8:\n store i32 1, i32* %33, 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 %36, { 1, 0, 2 }\n uselistorder i64* %35, { 1, 2, 3, 0, 4, 5 }\n uselistorder i32* %33, { 2, 1, 0, 3, 4, 5 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64*, i64)* @get_bits_long, { 1, 0 }\n uselistorder i64 0, { 0, 3, 1, 2 }\n uselistorder i32 0, { 0, 3, 5, 6, 7, 1, 2, 4, 8 }\n uselistorder i32 7, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 3, 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cqspi_wait_idle_8086", "fun_name": "cqspi_wait_idle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge13.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 = call i64 @FUNC(i64 1000)\n %6 = load i64, i64* @gv_0, align 8\n %7 = add i64 %6, %5\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = icmp ne i32 %9, 0\n %storemerge12 = zext i1 %10 to i32\n store i32 %storemerge12, i32* %storemerge13.reg2mem\n br label LBL_1\n LBL_1:\n %11 = load i64, i64* @gv_0, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %7)\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 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 1000, i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 %4)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = add i32 %storemerge13.reload, 1\n %storemerge1 = select i1 %19, i32 0, i32 %20\n %21 = icmp ult i32 %storemerge1, 3\n store i32 %storemerge1, i32* %storemerge13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %21, 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 %4, { 1, 0 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 0, { 1, 3, 2, 0 }\n uselistorder i64 (i64)* @cqspi_is_idle, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "configure_icount_14345", "fun_name": "configure_icount", "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, i64 0, i64* nonnull @gv_0, i64* nonnull @gv_1)\n %1 = icmp eq i64 %arg1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @strcmp(i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i32 @strtol(i8* %2, i8** null, i32 0)\n %6 = sext i32 %5 to i64\n store i32 %5, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i32 1, i32* bitcast (i64* @gv_4 to i32*), align 8\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n store i32 2, i32* bitcast (i64* @gv_4 to i32*), align 8\n store i32 3, i32* bitcast (i64* @gv_3 to i32*), align 8\n %7 = load i64, i64* @gv_5, align 8\n %8 = call i64 @FUNC(i64 %7, i64 4198833, i64 0)\n store i64 %8, i64* @gv_6, align 8\n %9 = load i64, i64* @gv_5, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %10, 1000\n %12 = load i64, i64* @gv_6, align 8\n %13 = and i64 %11, 4294967295\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n %15 = load i64, i64* @gv_7, align 8\n %16 = call i64 @FUNC(i64 %15, i64 4198840, i64 0)\n store i64 %16, i64* @gv_8, align 8\n %17 = load i64, i64* @gv_7, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC()\n %sext = mul i64 %19, 4294967296\n %20 = ashr exact i64 %sext, 32\n %narrow = mul nsw i64 %20, 1717986919\n %21 = udiv i64 %narrow, 4294967296\n %22 = trunc i64 %21 to i32\n %23 = ashr i32 %22, 2\n %24 = trunc i64 %19 to i32\n %25 = icmp slt i32 %24, 0\n %.neg = zext i1 %25 to i32\n %26 = trunc i64 %18 to i32\n %27 = add i32 %.neg, %26\n %28 = add i32 %27, %23\n %29 = load i64, i64* @gv_8, align 8\n %30 = zext i32 %28 to i64\n %31 = call i64 @FUNC(i64 %29, i64 %30)\n store i64 %31, 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 %19, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_mod_timer, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_channel_data_16471", "fun_name": "read_channel_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 %storemerge.lcssa.reg2mem = alloca i32\n %rdi.1.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge5.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 = add i64 %4, 8\n %6 = trunc i64 %4 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %4, i64* %rdi.1.reg2mem\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %7, label LBL_9, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = and i64 %4, 4294967295\n %10 = trunc i64 %arg3 to i32\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %8, i64* %sv_0.03.reg2mem\n br label LBL_8\n LBL_2:\n %13 = call i64 @FUNC(i64 %9)\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 %5, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %sv_0.03.reload, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = icmp ugt i32 %6, %16\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %5, 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_12\n LBL_4:\n %21 = icmp eq i32 %16, %10\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %5)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %sv_0.03.reload, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %5, i64 1, i64 16)\n %27 = trunc i64 %26 to i32\n %28 = add i64 %sv_0.03.reload, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = call i64 @FUNC(i64 %5, i64 2, i64 14)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %sv_0.03.reload, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = call i64 @FUNC(i64 %5, i64 1, i64 16)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %sv_0.03.reload, 20\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = load i32, i32* %25, align 4\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_7, label LBL_6\n LBL_6:\n %40 = call i64 @FUNC(i64 %5, i64 1, i64 16)\n %41 = trunc i64 %40 to i32\n %42 = add i64 %sv_0.03.reload, 24\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n %44 = call i64 @FUNC(i64 %5, i64 1, i64 16)\n %45 = trunc i64 %44 to i32\n %46 = add i64 %sv_0.03.reload, 28\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = call i64 @FUNC(i64 %5, i64 1, i64 16)\n %49 = trunc i64 %48 to i32\n %50 = add i64 %sv_0.03.reload, 32\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n %52 = call i64 @FUNC(i64 %5)\n %53 = trunc i64 %52 to i32\n %54 = add i64 %sv_0.03.reload, 36\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = load i32, i32* %12, align 4\n %57 = add i32 %56, -3\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %5, i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = add i32 %60, 3\n %62 = add i64 %sv_0.03.reload, 40\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n br label LBL_7\n LBL_7:\n %64 = add i64 %sv_0.03.reload, 44\n %65 = add nuw i32 %storemerge5.reload, 1\n %66 = icmp ult i32 %65, %6\n store i32 %65, i32* %storemerge5.reg2mem\n store i64 %64, i64* %sv_0.03.reg2mem\n store i64 %5, i64* %rdi.1.reg2mem\n store i32 %65, i32* %storemerge.lcssa.reg2mem\n br i1 %66, label LBL_8, label LBL_9\n LBL_8:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %67 = call i64 @FUNC(i64 %5)\n %68 = trunc i64 %67 to i32\n %69 = inttoptr i64 %sv_0.03.reload to i32*\n store i32 %68, i32* %69, align 4\n %70 = icmp eq i32 %68, 0\n store i64 %5, i64* %rdi.1.reg2mem\n store i32 %storemerge5.reload, i32* %storemerge.lcssa.reg2mem\n br i1 %70, label LBL_2, label LBL_9\n LBL_9:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %71 = icmp eq i32 %storemerge.lcssa.reload, %6\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_11, label LBL_10\n LBL_10:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %73 = call i64 @FUNC(i64 %rdi.1.reload, i64 0, i8* getelementptr inbounds ([23 x i8], [23 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_12\n LBL_11:\n %74 = call i64 @FUNC(i64 %5)\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 %sv_0.03.reload, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 }\n uselistorder i32 %16, { 1, 0, 2 }\n uselistorder i32 %6, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 3, 0, 14, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 2, 13 }\n uselistorder i64 %4, { 3, 1, 0, 2, 4 }\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, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @als_weighting, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i64)* @get_bits1, { 0, 2, 1 }\n uselistorder i64 16, { 0, 1, 2, 3, 6, 4, 5 }\n uselistorder i64 4294967295, { 0, 1, 3, 2 }\n uselistorder i32 0, { 4, 3, 1, 0, 2 }\n uselistorder label LBL_12, { 0, 2, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "interpolate_refplane_16436", "fun_name": "interpolate_refplane", "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 %.reg2mem = alloca i64\n %rsi.017.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 29\n %2 = add i64 %1, %0\n %3 = add i64 %0, 8\n %4 = add i64 %1, %3\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %2 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %6 to i64*\n store i64 %8, i64* %9, align 8\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* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_1\n LBL_1:\n %13 = ashr exact i64 %sext, 30\n %14 = inttoptr i64 %3 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %15, %13\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, 40\n %21 = inttoptr i64 %20 to i64*\n %22 = trunc i64 %arg5 to i32\n %23 = add i32 %22, 16\n store i64 1, i64* %indvars.iv.reg2mem\n store i64 %19, i64* %rsi.017.reg2mem\n br label LBL_2\n LBL_2:\n %rsi.017.reload = load i64, i64* %rsi.017.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %24 = load i64, i64* %21, align 8\n %25 = mul i64 %indvars.iv.reload, 8\n %26 = add i64 %24, %25\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 %.pre23 = add nsw i64 %rsi.017.reload, 8\n %.pre25 = inttoptr i64 %.pre23 to i64*\n store i64 %28, i64* %.reg2mem\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %31 = load i64, i64* %.pre25, align 8\n %32 = add i64 %31, %13\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = mul i32 %34, %23\n %36 = add i32 %35, 32\n %37 = sext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n store i64 %38, i64* %27, align 8\n %.pre = load i64, i64* %21, align 8\n %.pre20 = add i64 %.pre, %25\n %.pre21 = inttoptr i64 %.pre20 to i64*\n %.pre27 = load i64, i64* %.pre21, align 8\n store i64 %.pre27, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %39 = load i64, i64* %.pre25, align 8\n %40 = add i64 %39, %13\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = mul i32 %42, 8\n %44 = sext i32 %43 to i64\n %45 = add nsw i64 %44, 16\n %46 = load i64, i64* %5, align 8\n %47 = add i64 %46, %25\n %48 = add i64 %45, %.reload\n %49 = inttoptr i64 %47 to i64*\n store i64 %48, i64* %49, align 8\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 %45, i64* %rsi.017.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_2\n LBL_5:\n %50 = add i64 %0, 72\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = add i64 %52, %13\n %54 = inttoptr i64 %53 to i32*\n store i32 1, i32* %54, align 4\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 %25, { 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.017.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "media_present_14464", "fun_name": "media_present", "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 %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 %8 = zext i1 %7 to i64\n ret i64 %8\n\n uselistorder i1 false, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pty_chr_write_1251", "fun_name": "pty_chr_write", "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 %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 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %arg3 to i32\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %7, i32 %11)\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 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "b43_qos_clear_9496", "fun_name": "b43_qos_clear", "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 = inttoptr i64 %2 to i32*\n %4 = mul i64 %indvars.iv.reload, 4\n %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64)\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 3\n br i1 %8, label LBL_7, label LBL_2\n LBL_2:\n %9 = icmp ult i32 %7, 4\n br i1 %9, label LBL_3, label LBL_8\n LBL_3:\n switch i32 %7, label LBL_8 [\n i32 2, label LBL_6\n i32 0, label LBL_4\n i32 1, label LBL_5\n ]\n LBL_4:\n store i32 0, i32* %3, align 4\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 2, i32* %11, align 4\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %2, 12\n %15 = inttoptr i64 %14 to i32*\n store i32 1, i32* %15, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n store i32 0, i32* %3, align 4\n %16 = add i64 %2, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 2, i32* %17, align 4\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 1, i32* %19, align 4\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_9\n LBL_6:\n store i32 0, i32* %3, align 4\n %22 = add i64 %2, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 3, i32* %23, align 4\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n %26 = add i64 %2, 12\n %27 = inttoptr i64 %26 to i32*\n store i32 1023, i32* %27, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n store i32 0, i32* %3, align 4\n %28 = add i64 %2, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 7, i32* %29, align 4\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %31, align 4\n %32 = add i64 %2, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 1023, i32* %33, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %34 = call i64 @FUNC(i64 1)\n store i64 %34, i64* %rax.0.reg2mem\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_1\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %3, { 3, 2, 0, 1 }\n uselistorder i64 %2, { 3, 4, 5, 6, 2, 7, 8, 9, 0, 13, 14, 15, 1, 10, 11, 12, 16 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 2, 3 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 4, { 1, 2, 3, 4, 5, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ccw_machine_2_9_class_options_16675", "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 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %1, align 1\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 1\n %4 = inttoptr i64 %3 to i8*\n store i8 0, i8* %4, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vsp1_dlm_irq_frame_end_4768", "fun_name": "vsp1_dlm_irq_frame_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, 36\n %2 = call i64 @FUNC(i64 %1)\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 %5)\n store i64 0, i64* %4, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 1\n br i1 %10, label LBL_6, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %0, i64 4096)\n %12 = urem i64 %11, 2\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_6, label LBL_2\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 = icmp eq i64 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n store i64 %17, i64* %4, align 8\n store i64 0, i64* %16, align 8\n br label LBL_4\n LBL_4:\n %19 = add i64 %0, 24\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_5\n LBL_5:\n %23 = inttoptr i64 %21 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %0, i64 8192, i64 %24)\n %26 = add i64 %21, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = mul i32 %28, 8\n %30 = or i32 %29, 1\n %31 = sext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %0, i64 4096, i64 %31)\n store i64 %21, i64* %16, align 8\n store i64 0, i64* %20, align 8\n br label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i64 %1)\n ret i64 %33\n\n uselistorder i64 %21, { 2, 1, 0, 3 }\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @vsp1_write, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "insert_object_8604", "fun_name": "insert_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = mul i64 %1, 256\n %4 = and i64 %3, 65280\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 = or i64 %4, %8\n %10 = mul i64 %9, 8\n %11 = add i64 %10, ptrtoint (i64* @gv_0 to i64)\n %storemerge1.in3 = inttoptr i64 %11 to i64*\n %storemerge14 = load i64, i64* %storemerge1.in3, align 8\n %12 = icmp eq i64 %storemerge14, 0\n %13 = icmp eq i1 %12, false\n store i64 %storemerge14, i64* %storemerge15.reg2mem\n br i1 %13, label LBL_1, label LBL_3\n LBL_1:\n %storemerge15.reload = load i64, i64* %storemerge15.reg2mem\n %14 = call i64 @FUNC(i64 %2, i64 %storemerge15.reload)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %storemerge15.reload, i64* %storemerge.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_2:\n %18 = add i64 %storemerge15.reload, 24\n %storemerge1.in = inttoptr i64 %18 to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %19 = icmp eq i64 %storemerge1, 0\n %20 = icmp eq i1 %19, false\n store i64 %storemerge1, i64* %storemerge15.reg2mem\n br i1 %20, label LBL_1, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %2)\n %22 = load i64, i64* %storemerge1.in3, align 8\n %23 = add i64 %21, 24\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = add i64 %21, 20\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n store i64 %21, i64* %storemerge1.in3, align 8\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 %storemerge15.reload, { 1, 0, 2 }\n uselistorder i64* %storemerge1.in3, { 1, 0, 2 }\n uselistorder i64* %storemerge15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 24, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ovl_setattr_5486", "fun_name": "ovl_setattr", "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 %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_4, 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 %8 = icmp eq i1 %7, false\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = call i64 @FUNC(i64 %0)\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %10, i64 %9, i64 0)\n %15 = load i64, i64* %11, align 8\n %16 = call i64 @FUNC(i64 %15)\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 %17 = call i64 @FUNC(i64 %0)\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 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %18\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_storeq_reg_3097", "fun_name": "gen_storeq_reg", "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()\n %2 = trunc i64 %1 to i32\n %3 = and i64 %arg4, 4294967295\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i64 %0, i64 %6, i32 %2)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = call i64 @FUNC(i64 %3, i64 %3, i64 32)\n %11 = and i64 %8, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 %3)\n %13 = and i64 %arg3, 4294967295\n %14 = call i64 @FUNC(i64 %0, i64 %13, i32 %9)\n ret i64 %14\n\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64, i32)* @store_reg, { 1, 0 }\n uselistorder i64 (i64, i64)* @tcg_gen_trunc_i64_i32, { 1, 0 }\n uselistorder i64 ()* @tcg_temp_new_i32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_pp_2070", "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 = inttoptr i64 %1 to i8*\n %3 = call i32 (i8*, i32, ...) @open(i8* %2, i32 2)\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 %7 = sext i32 %3 to i64\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 4198857, i64* %10, align 8\n %11 = add i64 %6, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 4198877, 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, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "debugcon_parse_1468", "fun_name": "debugcon_parse", "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 %arg1, i64 0)\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 call void @exit(i32 1)\n unreachable\n LBL_2:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 0)\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 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %8 = call i32 @fwrite(i64* bitcast ([38 x i8]* @gv_3 to i64*), i32 1, i32 37, %_IO_FILE* %7)\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0))\n %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n ret i64 0\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 (i64, i8*, i8*)* @qemu_opt_set, { 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_decode_9707", "fun_name": "rose_decode", "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.shrunk.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 %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %arg6 to i32*\n store i32 0, i32* %6, align 4\n %7 = trunc i64 %1 to i32\n %8 = bitcast i64* %arg5 to i32*\n store i32 %7, i32* %8, align 4\n %9 = trunc i64 %2 to i32\n %10 = bitcast i64* %arg4 to i32*\n store i32 %9, i32* %10, align 4\n %11 = trunc i64 %4 to i32\n %12 = bitcast i64* %arg3 to i32*\n store i32 %11, i32* %12, align 4\n %13 = trunc i64 %3 to i32\n %14 = bitcast i64* %arg2 to i32*\n store i32 %13, i32* %14, align 4\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 = add nsw i32 %18, -1\n %20 = icmp ult i32 %19, 5\n %21 = icmp eq i8 %17, 6\n %22 = or i1 %21, %20\n store i8 %17, i8* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_3, label LBL_1\n LBL_1:\n %23 = urem i8 %17, 32\n %24 = icmp ne i8 %23, 7\n %25 = icmp eq i8 %23, 8\n %26 = icmp eq i1 %25, false\n %or.cond = icmp eq i1 %24, %26\n store i8 10, i8* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %27 = udiv i8 %17, 32\n %28 = zext i8 %27 to i32\n store i32 %28, i32* %12, align 4\n %29 = load i8, i8* %16, align 1\n %30 = urem i8 %29, 32\n store i8 %30, i8* %rax.0.shrunk.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.shrunk.reload = load i8, i8* %rax.0.shrunk.reg2mem\n %rax.0 = zext i8 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i8 %23, { 1, 0 }\n uselistorder i8 %17, { 1, 2, 0, 3, 4 }\n uselistorder i8* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8 32, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_uint8_287", "fun_name": "get_uint8", "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)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drwav_bytes_to_u32_6848", "fun_name": "drwav_bytes_to_u32", "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, 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 = mul i64 %6, 256\n %8 = urem i64 %1, 256\n %9 = or i64 %7, %8\n %10 = add i64 %2, 2\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i64\n %14 = mul i64 %13, 65536\n %15 = or i64 %9, %14\n %16 = add i64 %2, 3\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = zext i8 %18 to i64\n %20 = mul i64 %19, 16777216\n %21 = or i64 %15, %20\n ret i64 %21\n\n uselistorder i64 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gdb_set_spe_reg_2724", "fun_name": "gdb_set_spe_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 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = ashr exact i64 %sext, 30\n %7 = add i64 %1, 144\n %8 = add i64 %7, %6\n %9 = inttoptr i64 %8 to i32*\n store i32 %5, i32* %9, align 4\n store i64 4, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = icmp eq i32 %2, 32\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 %0)\n %13 = add i64 %1, 136\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n store i64 8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = icmp eq i32 %2, 33\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 i32 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "numa_add_2268", "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 %.reg2mem = alloca i32\n %sv_1 = alloca i8*, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %0 = call i64 @FUNC(i64* nonnull %sv_3, 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_3 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_23, label LBL_1\n LBL_1:\n %7 = load i32, i32* @gv_1, align 4\n %8 = icmp slt i32 %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_4.0 = select i1 %12, i8* %1, i8* %14\n %15 = ptrtoint i8* %sv_4.0 to i64\n %16 = call i64 @FUNC(i64* nonnull %sv_3, 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 i32, i32* @gv_1, align 4\n store i32 %20, i32* %sv_2, align 4\n store i32 %20, i32* %.reg2mem\n br label LBL_8\n LBL_5:\n %21 = bitcast i32* %sv_2 to i64*\n %22 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %21, i64 10)\n %23 = trunc i64 %22 to i32\n %24 = icmp slt i32 %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 %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_3)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %.pr = load i32, i32* %sv_2, align 4\n store i32 %.pr, i32* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %28 = icmp ult i32 %.reload, 128\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = sext i32 %.reload to i64\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0), i64 %29)\n call void @exit(i32 1)\n unreachable\n LBL_10:\n %32 = call i64 @FUNC(i64* nonnull %sv_3, i64 128, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %15)\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_12, label LBL_11\n LBL_11:\n %36 = load i32, i32* %sv_2, align 4\n %37 = sext i32 %36 to i64\n %38 = mul i64 %37, 8\n %39 = add i64 %38, ptrtoint (i64* @gv_8 to i64)\n %40 = inttoptr i64 %39 to i64*\n store i64 0, i64* %40, align 8\n br label LBL_16\n LBL_12:\n %41 = bitcast i8** %sv_1 to i64*\n %42 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %41)\n %43 = icmp slt i64 %42, 0\n br i1 %43, label LBL_14, label LBL_13\n LBL_13:\n %44 = load i8*, i8** %sv_1, align 8\n %45 = load i8, i8* %44, align 1\n %46 = icmp eq i8 %45, 0\n br i1 %46, label LBL_15, label LBL_14\n LBL_14:\n %47 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %48 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %47, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_9, i64 0, i64 0), i8* %sv_4.0)\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %49 = load i32, i32* %sv_2, align 4\n %50 = sext i32 %49 to i64\n %51 = mul i64 %50, 8\n %52 = add i64 %51, ptrtoint (i64* @gv_8 to i64)\n %53 = inttoptr i64 %52 to i64*\n store i64 %42, i64* %53, align 8\n br label LBL_16\n LBL_16:\n %54 = call i64 @FUNC(i64* nonnull %sv_3, i64 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i64 %15)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n br i1 %56, label LBL_22, label LBL_17\n LBL_17:\n %57 = call i64 @strtoull(i8* nonnull %3, i8** nonnull %sv_1, i32 10)\n %58 = load i8*, i8** %sv_1, align 8\n %59 = load i8, i8* %58, align 1\n %60 = icmp eq i8 %59, 45\n %61 = icmp eq i1 %60, false\n store i64 %57, i64* %storemerge.reg2mem\n br i1 %61, label LBL_19, label LBL_18\n LBL_18:\n %62 = ptrtoint i8* %58 to i64\n %63 = add i64 %62, 1\n %64 = inttoptr i64 %63 to i8*\n %65 = call i64 @strtoull(i8* %64, i8** nonnull %sv_1, i32 10)\n store i64 %65, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %66 = icmp ult i64 %storemerge.reload, 64\n store i64 %storemerge.reload, i64* %sv_0.0.reg2mem\n br i1 %66, label LBL_21, label LBL_20\n LBL_20:\n %67 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %68 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %67, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_11, i64 0, i64 0), i64 64)\n store i64 63, 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 %69 = sub i64 1, %57\n %70 = add i64 %69, %sv_0.0.reload\n %71 = load i32, i32* %sv_2, align 4\n %72 = sext i32 %71 to i64\n %73 = mul i64 %72, 8\n %74 = add i64 %73, ptrtoint (i64* @gv_12 to i64)\n %75 = call i64 @FUNC(i64 %74, i64 %57, i64 %70)\n br label LBL_22\n LBL_22:\n store i32 ptrtoint (i32* @gv_13 to i32), i32* @gv_1, align 4\n ret i64 ptrtoint (i32* @gv_13 to i64)\n LBL_23:\n %76 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %77 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %76, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_14, i64 0, i64 0), i64* nonnull %sv_3)\n call void @exit(i32 1)\n unreachable\n\n uselistorder i64 %57, { 2, 1, 0 }\n uselistorder i8* %sv_4.0, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 2, 3, 4, 1, 5, 6, 7, 8 }\n uselistorder i32* %sv_2, { 4, 3, 2, 0, 5, 1 }\n uselistorder i8** %sv_1, { 4, 1, 3, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* @gv_13, { 1, 0 }\n uselistorder i64 64, { 2, 1, 0 }\n uselistorder i64 (i8*, i8**, i32)* @strtoull, { 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64*, i64, i8*, i64)* @get_param_value, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 4, 3, 2, 1, 0 }\n uselistorder i32* @gv_1, { 2, 1, 0 }\n uselistorder i1 false, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i32 0, { 4, 5, 6, 7, 8, 1, 0, 2, 3 }\n uselistorder label LBL_19, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_vqs_9010", "fun_name": "init_vqs", "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 = 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.0.reg2mem\n br i1 %4, label LBL_4, 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 %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\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 %13 = and i64 %sv_0.0.reload, 4294967295\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, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drwav_bytes_to_u16_6850", "fun_name": "drwav_bytes_to_u16", "llvm_ir_function": "define i64 @FUNC(i16* %arg1) 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 = add i64 %2, 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 = mul i64 %6, 256\n %8 = urem i64 %1, 256\n %9 = or i64 %7, %8\n ret i64 %9\n\n uselistorder i64 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SRP_VBASE_new_10026", "fun_name": "SRP_VBASE_new", "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)\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_7\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = inttoptr i64 %0 to i64*\n store i64 %3, i64* %4, align 8\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = icmp eq i64 %6, 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 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = icmp eq i64 %arg1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %arg1)\n store i64 %19, i64* %17, 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_7, label LBL_6\n LBL_6:\n %22 = load i64, i64* %4, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = load i64, i64* %8, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = 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 %0, { 2, 1, 0, 3, 4, 5, 7, 6, 8, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 5, 3 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_7, { 3, 1, 0, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_cost_464", "fun_name": "perf_cost", "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 i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC()\n store i64 1, i64* %sv_0, align 8\n br label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 4198957)\n %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0)\n %6 = call i64 @FUNC(i64 %4, i64* null)\n %7 = load i64, i64* %sv_0, align 8\n %8 = add i64 %7, 1\n store i64 %8, i64* %sv_0, align 8\n %9 = icmp ult i64 %7, 40000000\n br i1 %9, label LBL_1, label LBL_2\n LBL_2:\n %10 = call i128 @FUNC()\n %11 = call i64 @FUNC(i128 %10)\n %12 = call i128 @FUNC(i128 %10, i128 %10)\n %13 = call i128 @FUNC(i64 40000000)\n %14 = call i128 @FUNC(i64 %11)\n %15 = call i128 @FUNC(i64 4652007308841189376)\n %16 = call i128 @FUNC(i128 %15, i128 %14)\n %17 = call i128 @FUNC(i128 %13, i128 %16)\n %18 = call i64 @FUNC(i128 %17)\n %19 = call i128 @FUNC(i64 %11)\n %20 = call i128 @FUNC(i64 4741671816366391296)\n %21 = call i128 @FUNC(i128 %19)\n %22 = call i128 @FUNC(i128 %21, i128 %20)\n %23 = call i128 @FUNC(i128 %19, i128 %19)\n %24 = call i128 @FUNC(i64 40000000)\n %25 = call i128 @FUNC(i128 %22, i128 %24)\n %26 = call i128 @FUNC(i128 %25)\n %27 = load i128, i128* @gv_0, align 8\n call void @FUNC(i128 %26, i128 %27)\n %28 = trunc i128 %27 to i64\n %29 = call i128 @FUNC(i64 %28)\n %30 = call i128 @FUNC(i128 %26, i128 %29)\n %31 = call i64 @FUNC(i128 %30)\n %32 = xor i64 %31, -9223372036854775808\n %33 = call i128 @__asm_movq.1(i64 %11)\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_1, i64 0, i64 0), i64 40000000, i64 %18, i64 %32, i64 %2, i64 %1)\n ret i64 %34\n\n uselistorder i128 %19, { 1, 0, 2 }\n uselistorder i128 %10, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 2, 3, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64*)* @qemu_coroutine_enter, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 1, { 5, 3, 4, 6, 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "start_list_14129", "fun_name": "start_list", "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 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %2, i64 %0)\n %4 = add i64 %2, 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 = inttoptr i64 %2 to i64*\n store i64 %7, i64* %8, align 8\n %9 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = inttoptr i64 %7 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_3, 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 %2, 16\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, 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 }", "label": "1" }, { "dataset": "CompRealVul", "file": "bigben_worker_6425", "fun_name": "bigben_worker", "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 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i64\n %7 = icmp eq i8 %5, 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_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1, i64 0)\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_9, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %1)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %1, 24\n %14 = call i64 @FUNC(i64 %13, i64 %2)\n %15 = add i64 %1, 9\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n store i8 0, i8* %16, align 1\n %19 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %19, align 1\n %20 = add i64 %1, 1\n %21 = inttoptr i64 %20 to i8*\n store i8 8, i8* %21, align 1\n %22 = add i64 %1, 11\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = add i64 %1, 2\n %26 = inttoptr i64 %25 to i8*\n store i8 %24, i8* %26, align 1\n %27 = add i64 %1, 3\n %28 = inttoptr i64 %27 to i8*\n store i8 0, i8* %28, align 1\n %29 = add i64 %1, 4\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = add i64 %1, 5\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 1\n %33 = add i64 %1, 6\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = add i64 %1, 7\n %36 = inttoptr i64 %35 to i8*\n store i8 0, i8* %36, align 1\n %37 = call i64 @FUNC(i64 %13, i64 %9)\n %38 = call i64 @FUNC(i64 %13, i64 %2)\n %39 = add i64 %1, 36\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = zext i32 %41 to i64\n %43 = add nuw nsw i64 %42, 8\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = zext i8 %45 to i64\n %47 = add i64 %1, 16\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49, i64 %46, i64 %9, i32 %12, i64 %42, i64 0)\n br label LBL_5\n LBL_4:\n %51 = call i64 @FUNC(i64 %13, i64 %2)\n br label LBL_5\n LBL_5:\n %52 = call i64 @FUNC(i64 %13, i64 %2)\n %53 = add i64 %1, 10\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = icmp eq i8 %55, 0\n br i1 %56, label LBL_7, label LBL_6\n LBL_6:\n store i8 0, i8* %54, align 1\n %57 = bitcast i64* %arg1 to i8*\n store i8 2, i8* %57, align 1\n %58 = add i64 %1, 1\n %59 = inttoptr i64 %58 to i8*\n store i8 8, i8* %59, align 1\n %60 = add i64 %1, 12\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = add i64 %1, 2\n %64 = inttoptr i64 %63 to i8*\n store i8 %62, i8* %64, align 1\n %65 = add i64 %1, 13\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = add i64 %1, 3\n %69 = inttoptr i64 %68 to i8*\n store i8 %67, i8* %69, align 1\n %70 = add i64 %1, 4\n %71 = inttoptr i64 %70 to i8*\n store i8 -1, i8* %71, align 1\n %72 = add i64 %1, 5\n %73 = inttoptr i64 %72 to i8*\n store i8 0, i8* %73, align 1\n %74 = add i64 %1, 6\n %75 = inttoptr i64 %74 to i8*\n store i8 0, i8* %75, align 1\n %76 = add i64 %1, 7\n %77 = inttoptr i64 %76 to i8*\n store i8 0, i8* %77, align 1\n %78 = call i64 @FUNC(i64 %13, i64 %9)\n %79 = call i64 @FUNC(i64 %13, i64 %2)\n %80 = add i64 %1, 36\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = zext i32 %82 to i64\n %84 = add nuw nsw i64 %83, 8\n %85 = inttoptr i64 %84 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = zext i8 %86 to i64\n %88 = add i64 %1, 16\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = call i64 @FUNC(i64 %90, i64 %87, i64 %9, i32 %12, i64 %83, i64 0)\n br label LBL_8\n LBL_7:\n %92 = call i64 @FUNC(i64 %13, i64 %2)\n br label LBL_8\n LBL_8:\n %93 = call i64 @FUNC(i64 %9)\n store i64 %93, 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 %13, { 2, 1, 4, 3, 5, 0, 6, 7 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %9, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %2, { 5, 0, 1, 4, 2, 3 }\n uselistorder i64 %1, { 20, 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 23, 22, 24, 25, 26 }\n uselistorder i64 (i64, i64, i64, i32, i64, i64)* @hid_hw_raw_request, { 1, 0 }\n uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @hid_output_report, { 1, 0 }\n uselistorder i64 (i64, i64)* @spin_lock_irqsave, { 1, 0 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_kdc_is_anon_request_8028", "fun_name": "_kdc_is_anon_request", "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, 0\n %4 = icmp eq i1 %3, false\n store i64 1, i64* %storemerge.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, 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_2\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 = 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_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 label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_mm_12799", "fun_name": "dump_mm", "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, 308\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %0, 60\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 56\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([506 x i8], [506 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %13, i32 %16, i64 %13, i64 %10)\n ret i64 %17\n\n uselistorder i64 (i64)* @atomic_read, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_malloc_17388", "fun_name": "av_malloc", "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 = trunc i64 %arg1 to i32\n store i64 0, i64* %sv_0, align 8\n %1 = icmp ult i32 %0, 2147483632\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = add i32 %0, 16\n %3 = call i64* @malloc(i32 %2)\n %4 = ptrtoint i64* %3 to i64\n store i64 %4, i64* %sv_0, align 8\n %5 = icmp eq i64* %3, null\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = urem i64 %4, 16\n %8 = sub nsw i64 16, %7\n %9 = add i64 %8, %4\n store i64 %9, i64* %sv_0, align 8\n %10 = add i64 %9, -1\n %11 = trunc i64 %8 to i8\n %12 = inttoptr i64 %10 to i8*\n store i8 %11, i8* %12, align 1\n %13 = bitcast i64* %sv_0 to i64**\n %14 = call i32 @posix_memalign(i64** nonnull %13, i32 16, i32 %0)\n %15 = call i64* @memalign(i32 16, i32 %0)\n %16 = ptrtoint i64* %15 to i64\n %sext2 = mul i64 %16, 4294967296\n %17 = ashr exact i64 %sext2, 32\n store i64 %17, i64* %sv_0, align 8\n %18 = call i64* @malloc(i32 %0)\n %19 = ptrtoint i64* %18 to i64\n store i64 %19, i64* %sv_0, align 8\n store i64 %19, 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 %8, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i32 %0, { 3, 1, 2, 0, 4 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cnic_send_nlmsg_18540", "fun_name": "cnic_send_nlmsg", "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.02.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i1\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = icmp eq i64* %arg1, null\n store i64 4294967277, i64* %storemerge.reg2mem\n br i1 %2, label LBL_10, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 4294967277, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_10\n LBL_2:\n %6 = icmp eq i64* %arg3, null\n store i1 true, i1* %sv_1.0.ph.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = ptrtoint i64* %arg3 to i64\n %8 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 40)\n store i64 40, i64* %sv_2, align 8\n %9 = add i64 %7, 8\n %10 = call i64 @FUNC(i64 1, i64 %9)\n store i1 false, i1* %sv_1.0.ph.reg2mem\n br label LBL_4\n LBL_4:\n %11 = ptrtoint i64* %arg1 to i64\n %sv_1.0.ph.reload = load i1, i1* %sv_1.0.ph.reg2mem\n %12 = add i64 %11, 8\n %13 = inttoptr i64 %12 to i64*\n store i32 0, i32* %sv_0.02.reg2mem\n br label LBL_5\n LBL_5:\n %14 = call i64 @FUNC()\n %15 = load i64, i64* @gv_0, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_6, label LBL_7\n LBL_6:\n %18 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_7:\n %19 = load i64, i64* %13, align 8\n %20 = trunc i64 %19 to i32\n %21 = call i64 @FUNC()\n %22 = icmp eq i32 %20, 0\n %or.cond = or i1 %sv_1.0.ph.reload, %22\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %23 = call i64 @FUNC(i64 100)\n %24 = add nuw nsw i32 %sv_0.02.reload, 1\n %25 = icmp ult i32 %24, 3\n store i32 %24, i32* %sv_0.02.reg2mem\n br i1 %25, label LBL_5, label LBL_9\n LBL_9:\n %phitmp = and i64 %19, 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* %sv_2, { 1, 0 }\n uselistorder i1* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 4294967277, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 3, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "inject_user_18737", "fun_name": "inject_user", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0, i64* nonnull @gv_0)\n %1 = load i64, i64* @gv_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 br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load i64, i64* @gv_2, align 8\n %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0, i64 %6, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %8 = load i64, i64* @gv_3, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = urem i32 %10, 2\n %12 = icmp eq i32 %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 = load i64, i64* @gv_2, align 8\n %14 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0, i64 %13, i64 2)\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, 2, 3, 1 }\n uselistorder i64 (i64*, i64, i64, i64)* @user_inject, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_object_11387", "fun_name": "parse_object", "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 = 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 = add i32 %6, 1\n store i32 %7, i32* %arg1, align 4\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 0, i64 %8, i64 0)\n %10 = call i64 @FUNC(i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 1\n br i1 %12, label LBL_5, label LBL_1\n LBL_1:\n %13 = icmp eq i32 %11, 2\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %8, i64 %2)\n %16 = call i64 @FUNC(i64 %8, i64 3, 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_5\n LBL_3:\n %20 = call i64 @FUNC(i64 %8, i64 %2)\n %21 = call i64 @FUNC(i64 %8, i64 3, i64 0)\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_3, label LBL_5\n LBL_4:\n %25 = call i64 @FUNC(i64 0, i64 %8)\n br label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 1, i64 %8, i64 1)\n %27 = add i32 %6, -1\n store i32 %27, i32* %arg1, align 4\n %28 = icmp eq i64 %5, 0\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = add i64 %2, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\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 ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 0, 6, 4, 3, 2, 1, 5, 7, 8 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @lex_accept, { 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 (i64, i64)* @parse_object_field, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @lex_expect, { 1, 0 }\n uselistorder i32* %arg1, { 0, 2, 1 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "convert_id_to_ns_10084", "fun_name": "convert_id_to_ns", "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 i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %0 = inttoptr i64 %arg1 to %_IO_FILE*\n %1 = call i32 @fseek(%_IO_FILE* %0, i32 0, i32 0)\n %2 = bitcast i64* %sv_0 to i8*\n %3 = call i8* @fgets(i8* nonnull %2, i32 400, %_IO_FILE* %0)\n %4 = icmp eq i8* %3, null\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_10\n LBL_1:\n %6 = trunc i64 %arg2 to i32\n br label LBL_2\n LBL_2:\n %7 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %sv_1, i32* nonnull %sv_2, i32* nonnull %sv_3)\n %8 = icmp eq i32 %7, 3\n br i1 %8, label LBL_3, label LBL_7\n LBL_3:\n %9 = load i32, i32* %sv_2, align 4\n %10 = load i32, i32* %sv_3, align 4\n %11 = sub i32 0, %9\n %12 = sub i32 %11, 1\n %13 = icmp ugt i32 %10, %12\n %.pre = load i32, i32* %sv_1, align 4\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = sub i32 0, %.pre\n %15 = sub i32 %14, 1\n %16 = icmp ugt i32 %10, %15\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\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 ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i32 %.pre, i32 %9, i32 %10, i64* nonnull %sv_0)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %20 = icmp ugt i32 %9, %6\n br i1 %20, label LBL_7, label LBL_8\n LBL_7:\n %21 = call i8* @fgets(i8* nonnull %2, i32 400, %_IO_FILE* %0)\n %22 = icmp eq i8* %21, null\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, label LBL_10\n LBL_8:\n %24 = add i32 %10, %9\n %25 = icmp ugt i32 %24, %6\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_9\n LBL_9:\n %27 = sub i32 %6, %9\n %28 = add i32 %27, %.pre\n %29 = zext i32 %28 to i64\n store i64 %29, 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 %.pre, { 2, 1, 0 }\n uselistorder i32 %10, { 1, 0, 2, 3 }\n uselistorder i32 %9, { 2, 3, 4, 1, 0 }\n uselistorder i8* %2, { 2, 1, 0 }\n uselistorder %_IO_FILE* %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 400, { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 3, 1 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh2_pkt_init_10073", "fun_name": "ssh2_pkt_init", "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 = inttoptr i64 %1 to i32*\n store i32 5, i32* %2, align 4\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 = urem i64 %arg1, 256\n %8 = call i64 @FUNC(i64 %1, i64 %7)\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = load i32, i32* %2, align 4\n %13 = sext i32 %12 to i64\n %14 = add i64 %11, %13\n %15 = add i64 %1, 24\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\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, 40\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n ret i64 %1\n\n uselistorder i64 32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfulnl_set_mode_4663", "fun_name": "nfulnl_set_mode", "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 %sext2 = mul i64 %arg2, 72057594037927936\n %1 = ashr exact i64 %sext2, 56\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %arg2 to i32\n %4 = urem i32 %3, 256\n %5 = icmp ugt i32 %4, 1\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = icmp eq i32 %4, 2\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_2:\n %7 = trunc i64 %1 to i8\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i8*\n store i8 %7, i8* %9, align 1\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %12 = trunc i64 %1 to i8\n %13 = add i64 %0, 4\n %14 = inttoptr i64 %13 to i8*\n store i8 %12, i8* %14, align 1\n %15 = trunc i64 %arg3 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = select i1 %17, i32 %15, i32 65535\n %19 = icmp ult i32 %18, 65535\n %20 = select i1 %19, i32 %18, i32 65535\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\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 %23 = call i64 @FUNC(i64 %0)\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 65535, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_spr_970_pmu_sup_1929", "fun_name": "gen_spr_970_pmu_sup", "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 7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4198691)\n %2 = call i64 @FUNC(i64 %0, i64 8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 4198691)\n ret i64 %2\n\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @spr_register_kvm, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fix_dl_name_5848", "fun_name": "fix_dl_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 i64\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 ugt i64 %3, 2\n store i64 %3, i64* %.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = add i64 %0, -3\n %6 = add i64 %5, %3\n %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\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_4, label LBL_1.LBL_3_crit_edge\n LBL_2:\n %.pre = load i64, i64* %2, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %arg1 to i64\n %.reload = load i64, i64* %.reg2mem\n %11 = add i64 %.reload, 4\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = load i64, i64* %2, align 8\n %14 = inttoptr i64 %12 to i64*\n %15 = inttoptr i64 %11 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* %2, align 8\n %19 = add i64 %18, %12\n %20 = inttoptr i64 %19 to i32*\n store i32 7303982, i32* %20, align 4\n store i64 %12, i64* %arg2, align 8\n %21 = load i64, i64* %2, align 8\n %22 = add i64 %21, 3\n store i64 %22, i64* %2, 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 %3, { 1, 0, 2 }\n uselistorder i64* %2, { 2, 1, 3, 4, 0, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "revert_acfilter_17315", "fun_name": "revert_acfilter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa9.reg2mem = alloca i64\n %indvars.iv35.reg2mem = alloca i64\n %indvars.iv31.reg2mem = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i32\n %sv_0.214.reg2mem = alloca i32\n %indvars.iv27.reg2mem = alloca i64\n %indvars.iv23.reg2mem = alloca i64\n %.pn.reg2mem = alloca i32\n %sv_0.010.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge20.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, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = trunc i64 %1 to i32\n %10 = and i64 %1, 4294967295\n %11 = icmp eq i32 %9, 0\n store i64 %10, i64* %.lcssa9.reg2mem\n br i1 %11, label LBL_17, label LBL_1\n LBL_1:\n %12 = bitcast i64* %rdi to i32*\n %13 = add i64 %2, 16\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 i64*\n %18 = icmp sgt i32 %8, 0\n %19 = add i64 %2, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = urem i32 %15, 32\n %22 = trunc i64 %arg2 to i32\n %23 = icmp slt i32 %8, %22\n %24 = sext i32 %8 to i64\n %wide.trip.count = zext i32 %8 to i64\n %sext43 = mul i64 %arg2, 4294967296\n %wide.trip.count33 = ashr exact i64 %sext43, 32\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge20.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge20.reload = load i32, i32* %storemerge20.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = load i64, i64* %17, 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 store i64 0, i64* %indvars.iv23.reg2mem\n br i1 %18, label LBL_3.lr.ph, label LBL_8\n LBL_3:\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %30 = icmp ugt i64 %indvars.iv23.reload, %indvars.iv.reload\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = mul i64 %indvars.iv.reload, 2\n %32 = add i64 %31, %5\n %33 = inttoptr i64 %32 to i16*\n %34 = load i16, i16* %33, align 2\n %35 = sub nsw i64 %indvars.iv.reload, %indvars.iv23.reload\n %36 = mul i64 %35, 4\n %37 = add i64 %36, %29\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = sext i16 %34 to i32\n %41 = mul i32 %39, %40\n store i32 %41, i32* %.pn.reg2mem\n br label LBL_6\n LBL_5:\n %42 = load i64, i64* %20, align 8\n %43 = add i64 %42, %26\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = sub nsw i64 %indvars.iv23.reload, %indvars.iv.reload\n %47 = mul i64 %46, 4\n %48 = add nsw i64 %47, -4\n %49 = add i64 %48, %45\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = mul i64 %indvars.iv.reload, 2\n %53 = add i64 %52, %5\n %54 = inttoptr i64 %53 to i16*\n %55 = load i16, i16* %54, align 2\n %56 = sext i16 %55 to i32\n %57 = mul i32 %51, %56\n store i32 %57, i32* %.pn.reg2mem\n br label LBL_6\n LBL_6:\n %.pn.reload = load i32, i32* %.pn.reg2mem\n %storemerge7 = add i32 %.pn.reload, %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 %storemerge7, i32* %sv_0.010.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_3\n LBL_7:\n %58 = ashr i32 %storemerge7, %21\n %59 = load i64, i64* %20, align 8\n %60 = add i64 %59, %26\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = mul i64 %indvars.iv23.reload, 4\n %64 = add i64 %62, %63\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i32 %66, %58\n store i32 %67, i32* %65, align 4\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %exitcond26 = icmp eq i64 %indvars.iv.next24, %wide.trip.count\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n br i1 %exitcond26, label LBL_8, label LBL_3.lr.ph\n LBL_8:\n store i64 %24, i64* %indvars.iv31.reg2mem\n br i1 %23, label LBL_13, label LBL_12\n LBL_9:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n br label LBL_3\n LBL_10:\n %sv_0.214.reload = load i32, i32* %sv_0.214.reg2mem\n %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem\n %68 = sub i64 %indvars.iv31.reload, %indvars.iv27.reload\n %sext44 = mul i64 %68, 4294967296\n %69 = ashr exact i64 %sext44, 30\n %70 = add i64 %90, %69\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = mul i64 %indvars.iv27.reload, 2\n %74 = add i64 %73, %5\n %75 = inttoptr i64 %74 to i16*\n %76 = load i16, i16* %75, align 2\n %77 = sext i16 %76 to i32\n %78 = mul i32 %72, %77\n %79 = add i32 %78, %sv_0.214.reload\n %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1\n %exitcond30 = icmp eq i64 %indvars.iv.next28, %wide.trip.count\n store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem\n store i32 %79, i32* %sv_0.214.reg2mem\n store i32 %79, i32* %sv_0.2.lcssa.reg2mem\n br i1 %exitcond30, label LBL_11, label LBL_10\n LBL_11:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %80 = ashr i32 %sv_0.2.lcssa.reload, %21\n %81 = mul i64 %indvars.iv31.reload, 4\n %82 = add i64 %89, %81\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = add i32 %84, %80\n store i32 %85, i32* %83, align 4\n %indvars.iv.next32 = add nsw i64 %indvars.iv31.reload, 1\n %exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count33\n store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem\n br i1 %exitcond34, label LBL_12, label LBL_13\n LBL_12:\n store i64 0, i64* %indvars.iv35.reg2mem\n br i1 %18, label LBL_15, label LBL_16\n LBL_13:\n %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem\n %86 = load i64, i64* %20, align 8\n %87 = add i64 %86, %26\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %18, label LBL_10.lr.ph, label LBL_11\n LBL_14:\n %90 = add i64 %89, -4\n store i64 0, i64* %indvars.iv27.reg2mem\n store i32 0, i32* %sv_0.214.reg2mem\n br label LBL_10\n LBL_15:\n %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem\n %91 = load i64, i64* %20, align 8\n %92 = add i64 %91, %26\n %93 = inttoptr i64 %92 to i64*\n %94 = load i64, i64* %93, align 8\n %95 = sub i64 %arg2, %indvars.iv35.reload\n %sext = mul i64 %95, 4294967296\n %96 = ashr exact i64 %sext, 30\n %97 = add i64 %94, -4\n %98 = add i64 %97, %96\n %99 = mul i64 %indvars.iv35.reload, 4\n %100 = add i64 %99, %29\n %101 = inttoptr i64 %98 to i32*\n %102 = load i32, i32* %101, align 4\n %103 = inttoptr i64 %100 to i32*\n store i32 %102, i32* %103, align 4\n %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1\n %exitcond38 = icmp eq i64 %indvars.iv.next36, %wide.trip.count\n store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem\n br i1 %exitcond38, label LBL_16, label LBL_15\n LBL_16:\n %104 = add i32 %storemerge20.reload, 1\n %105 = load i32, i32* %12, align 8\n %106 = zext i32 %105 to i64\n %107 = sext i32 %104 to i64\n %108 = icmp slt i64 %107, %106\n store i64 %107, i64* %.reg2mem\n store i32 %104, i32* %storemerge20.reg2mem\n store i64 %106, i64* %.lcssa9.reg2mem\n br i1 %108, label LBL_2, label LBL_17\n LBL_17:\n %.lcssa9.reload = load i64, i64* %.lcssa9.reg2mem\n ret i64 %.lcssa9.reload\n\n uselistorder i64 %indvars.iv35.reload, { 0, 2, 1 }\n uselistorder i64 %89, { 1, 0 }\n uselistorder i64 %indvars.iv31.reload, { 1, 2, 0 }\n uselistorder i64 %indvars.iv27.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv23.reload, { 3, 1, 2, 4, 0 }\n uselistorder i32 %storemerge7, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 5, 2, 1, 4, 3 }\n uselistorder i64 %26, { 4, 3, 2, 1, 0 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i1 %18, { 1, 0, 2 }\n uselistorder i32 %8, { 1, 0, 3, 2 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4 }\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.iv.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.010.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.pn.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv23.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv27.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.214.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv31.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv35.reg2mem, { 2, 0, 1 }\n uselistorder i64 30, { 1, 0 }\n uselistorder i64 -4, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\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.lr.ph, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "shmem_remount_fs_5542", "fun_name": "shmem_remount_fs", "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 %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 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 %3, i64* %sv_1, 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 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_1, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 4294967274, i64* %storemerge.in.reg2mem\n br i1 %9, label LBL_1, label LBL_8\n LBL_1:\n %10 = add i64 %1, 32\n %11 = call i64 @FUNC(i64 %10)\n %12 = load i64, i64* %2, 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 = sub i64 %12, %15\n %17 = add i64 %1, 40\n %18 = call i64 @FUNC(i64 %17, i64 %6)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp slt i32 %19, 0\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i1 %20, false\n %24 = icmp eq i1 %22, %23\n %25 = load i64, i64* %sv_1, align 8\n %26 = icmp ugt i64 %16, %25\n %or.cond = or i1 %26, %24\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_2\n LBL_2:\n %27 = icmp eq i64 %6, 0\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = load i64, i64* %5, align 8\n %29 = icmp eq i64 %28, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_7, label LBL_4\n LBL_4:\n %30 = icmp eq i64 %25, 0\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = load i64, i64* %2, align 8\n %32 = icmp eq i64 %31, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n store i64 %6, i64* %5, align 8\n %33 = load i64, i64* %sv_1, align 8\n store i64 %33, i64* %2, align 8\n %34 = load i64, i64* %sv_1, align 8\n %35 = sub i64 %34, %16\n store i64 %35, i64* %14, align 8\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 %36 = call i64 @FUNC(i64 %10)\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\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 %19, { 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64* %5, { 1, 0, 2 }\n uselistorder i64* %2, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 0, 2, 1, 4, 3 }\n uselistorder i64* %sv_1, { 2, 3, 0, 1, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 4294967274, { 2, 1, 3, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "htmlCheckEncodingDirect_7467", "fun_name": "htmlCheckEncodingDirect", "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 %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n %3 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %2, %3\n br i1 %or.cond, label LBL_24, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = urem i32 %4, 2\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.0.reg2mem\n br i1 %8, label LBL_24, 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 = 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 %arg2, i64* %sv_0.0.reg2mem\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_24, label LBL_4\n LBL_3:\n %16 = add i64 %sv_0.0.reload, 1\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 %17 = inttoptr i64 %sv_0.0.reload to i8*\n %18 = load i8, i8* %17, align 1\n switch i8 %18, label LBL_5 [\n i8 32, label LBL_3\n i8 9, label LBL_3\n ]\n LBL_5:\n store i64* %12, i64** %.pre-phi.reg2mem\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %13)\n %.pre = load i64, i64* %10, align 8\n %.pre10 = inttoptr i64 %.pre to i64*\n store i64* %.pre10, i64** %.pre-phi.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %20 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %20, i64* %.pre-phi.reload, align 8\n %21 = call i64 @FUNC(i64 %sv_0.0.reload)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, -1\n br i1 %23, label LBL_14, label LBL_8\n LBL_8:\n %24 = add i32 %22, -1\n %25 = icmp ugt i32 %24, 2\n %26 = icmp eq i32 %22, 4\n %27 = icmp eq i1 %26, false\n %or.cond9 = icmp eq i1 %25, %27\n br i1 %or.cond9, label LBL_12, label LBL_9\n LBL_9:\n %28 = load i64, i64* %10, 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 = icmp eq i64 %31, 0\n br i1 %32, label LBL_12, label LBL_10\n LBL_10:\n %33 = inttoptr i64 %31 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 br i1 %36, label LBL_12, label LBL_11\n LBL_11:\n %37 = call i64 @FUNC(i64 %arg1, i64 100, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0)\n br label LBL_13\n LBL_12:\n %38 = and i64 %21, 4294967295\n %39 = call i64 @FUNC(i64 %arg1, i64 %38)\n br label LBL_13\n LBL_13:\n %40 = add i64 %arg1, 16\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n br label LBL_17\n LBL_14:\n %42 = call i64 @FUNC(i64 %sv_0.0.reload)\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_16, label LBL_15\n LBL_15:\n %44 = call i64 @FUNC(i64 %arg1, i64 %42)\n %45 = add i64 %arg1, 16\n %46 = inttoptr i64 %45 to i32*\n store i32 0, i32* %46, align 4\n br label LBL_17\n LBL_16:\n %47 = call i64 @FUNC(i64 %arg1, i64 101, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.0.reload, i64 0)\n br label LBL_17\n LBL_17:\n %48 = load i64, i64* %10, align 8\n %49 = add i64 %48, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = icmp eq i64 %51, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %52, label LBL_24, label LBL_18\n LBL_18:\n %53 = inttoptr i64 %51 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_24, label LBL_19\n LBL_19:\n %56 = add i64 %51, 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_24, label LBL_20\n LBL_20:\n %60 = add i64 %51, 16\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = icmp eq i64 %62, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %63, label LBL_24, label LBL_21\n LBL_21:\n %64 = add i64 %48, 24\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = add i64 %48, 16\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = sub i64 %66, %69\n %71 = and i64 %70, 4294967295\n %72 = call i64 @FUNC(i64 %62, i64 %71)\n %73 = load i64, i64* %10, align 8\n %74 = add i64 %73, 8\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i64 @FUNC(i64 %76, i64 1)\n %78 = trunc i64 %77 to i32\n %79 = icmp slt i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_23, label LBL_22\n LBL_22:\n %81 = call i64 @FUNC(i64 %arg1, i64 100, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0)\n br label LBL_23\n LBL_23:\n %82 = load i64, i64* %10, align 8\n %83 = add i64 %82, 8\n %84 = inttoptr i64 %83 to i64*\n %85 = load i64, i64* %84, align 8\n %86 = add i64 %85, 16\n %87 = inttoptr i64 %86 to i64*\n %88 = load i64, i64* %87, align 8\n %89 = call i64 @FUNC(i64 %88, i64 %82)\n store i64 %89, 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 %82, { 1, 0 }\n uselistorder i64 %48, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64* %10, { 2, 3, 4, 1, 0, 5 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 0, 1, 3 }\n uselistorder i64 (i64, i64, i8*, i64, i64)* @htmlParseErr, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 6, 3, 4, 0, 1, 2, 7, 8 }\n uselistorder label LBL_24, { 3, 4, 5, 6, 7, 0, 2, 1 }\n uselistorder label LBL_12, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "move_msr_up_8207", "fun_name": "move_msr_up", "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 %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 %sext2 = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext2, 29\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %3, align 8\n store i64 %4, i64* %7, align 8\n %9 = add i64 %0, 80\n %10 = add i64 %1, %9\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %5, %9\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n store i64 %15, i64* %11, align 8\n store i64 %12, i64* %14, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_rfmci_14462", "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 = call i64 @FUNC(i64 %0, i64 %0, i64 1, i64 -1073676289, i64 0)\n ret i64 %1\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xt_alloc_table_info_8469", "fun_name": "xt_alloc_table_info", "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 = trunc i64 %arg1 to i32\n %1 = add i32 %0, 4095\n %2 = udiv i32 %1, 4096\n %3 = add nuw nsw i32 %2, 2\n %4 = zext i32 %3 to i64\n %5 = load i64, i64* @gv_0, align 8\n %6 = icmp ult i64 %5, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = and i64 %arg1, 4294967295\n %8 = add nuw nsw i64 %7, 4\n %9 = icmp ult i64 %8, 4097\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 0)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %8)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %sv_0.1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %16 = inttoptr i64 %sv_0.1.reload to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 4)\n %18 = inttoptr i64 %sv_0.1.reload to i32*\n store i32 %0, i32* %18, align 4\n store i64 %sv_0.1.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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__imlib_MergeUpdate_7758", "fun_name": "__imlib_MergeUpdate", "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.lcssa.reg2mem = alloca i64\n %sv_0.243.reg2mem = alloca i64\n %indvars.iv81.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %indvars.iv.next82.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge836.reg2mem = alloca i32\n %indvars.iv77.reg2mem = alloca i64\n %sv_1.132.reg2mem = alloca i32\n %sv_2.034.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %indvars.iv75.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i32\n %indvars.iv73.reg2mem = alloca i64\n %sv_0.138.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge1261.reg2mem = alloca i32\n %sv_3.2.ph.reg2mem = alloca i32\n %sv_4.060.reg2mem = alloca i32\n %.reg2mem145 = alloca i32*\n %sv_5.3.lcssa.reg2mem = alloca i32\n %sv_6.0.reg2mem = alloca i32\n %sv_5.2.reg2mem = alloca i32\n %sv_5.355.reg2mem = alloca i32\n %sv_6.156.reg2mem = alloca i32\n %indvars.iv94.reg2mem = alloca i64\n %sv_3.1.lcssa.reg2mem = alloca i32\n %.pre-phi116.reg2mem = alloca i32\n %sv_7.0.reg2mem = alloca i8\n %sv_8.0.reg2mem = alloca i8\n %sv_5.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %.reg2mem143 = alloca i32\n %sv_3.148.reg2mem = alloca i32\n %sv_5.149.reg2mem = alloca i32\n %sv_8.150.reg2mem = alloca i8\n %sv_7.151.reg2mem = alloca i8\n %indvars.iv90.reg2mem = alloca i64\n %indvars.iv86.reg2mem = alloca i64\n %.reg2mem141 = alloca i32\n %.reg2mem139 = alloca i32\n %.reg2mem137 = alloca i32\n %.reg2mem135 = alloca i32\n %storemerge1863.reg2mem = alloca i32\n %storemerge1764.reg2mem = alloca i32\n %.reg2mem133 = alloca i32\n %.reg2mem131 = alloca i32\n %.reg2mem129 = alloca i32\n %.reg2mem = alloca i32\n %storemerge1666.reg2mem = alloca i64\n %sv_9.170.reg2mem = alloca i32\n %storemerge1971.reg2mem = alloca i32\n %sv_9.0.lcssa.reg2mem = alloca i32\n %sv_9.067.reg2mem = alloca i32\n %sv_10 = alloca i64, align 8\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_64\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext4, 32\n %4 = trunc i64 %2 to i32\n %5 = ashr i32 %4, 4\n %6 = urem i64 %arg2, 16\n %7 = icmp ne i64 %6, 0\n %8 = zext i1 %7 to i32\n %spec.select = add nsw i32 %5, %8\n %9 = trunc i64 %3 to i32\n %10 = ashr i32 %9, 4\n %11 = urem i64 %arg3, 16\n %12 = icmp ne i64 %11, 0\n %13 = zext i1 %12 to i32\n %sv_11.0 = add nsw i32 %10, %13\n %14 = mul i32 %spec.select, 4\n %15 = mul i32 %14, %sv_11.0\n %16 = call i64* @malloc(i32 %15)\n %17 = ptrtoint i64* %16 to i64\n %18 = icmp sgt i32 %sv_11.0, 0\n br i1 %18, label LBL_2, label LBL_7\n LBL_2:\n %19 = icmp sgt i32 %spec.select, 0\n store i32 0, i32* %storemerge1971.reg2mem\n store i32 0, i32* %sv_9.170.reg2mem\n br label LBL_5\n LBL_3:\n %sv_9.067.reload = load i32, i32* %sv_9.067.reg2mem\n %20 = add i32 %sv_9.067.reload, 1\n %21 = sext i32 %sv_9.067.reload to i64\n %22 = mul i64 %21, 4\n %23 = add i64 %22, %17\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %exitcond99 = icmp eq i32 %20, %26\n store i32 %20, i32* %sv_9.067.reg2mem\n store i32 %26, i32* %sv_9.0.lcssa.reg2mem\n br i1 %exitcond99, label LBL_4, label LBL_3\n LBL_4:\n %sv_9.0.lcssa.reload = load i32, i32* %sv_9.0.lcssa.reg2mem\n %25 = add nuw nsw i32 %storemerge1971.reload, 1\n %exitcond100 = icmp eq i32 %25, %sv_11.0\n store i32 %25, i32* %storemerge1971.reg2mem\n store i32 %sv_9.0.lcssa.reload, i32* %sv_9.170.reg2mem\n br i1 %exitcond100, label LBL_7, label LBL_5\n LBL_5:\n %sv_9.170.reload = load i32, i32* %sv_9.170.reg2mem\n %storemerge1971.reload = load i32, i32* %storemerge1971.reg2mem\n store i32 %sv_9.170.reload, i32* %sv_9.0.lcssa.reg2mem\n br i1 %19, label LBL_3.lr.ph, label LBL_4\n LBL_6:\n %26 = add i32 %sv_9.170.reload, %spec.select\n store i32 %sv_9.170.reload, i32* %sv_9.067.reg2mem\n br label LBL_3\n LBL_7:\n %27 = ptrtoint i64* %sv_10 to i64\n %28 = and i64 %3, 4294967295\n %29 = add i64 %27, -8\n %30 = inttoptr i64 %29 to i64*\n %31 = and i64 %2, 4294967295\n %32 = add i64 %27, -16\n %33 = inttoptr i64 %32 to i64*\n store i64 %arg1, i64* %storemerge1666.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge1666.reload = load i64, i64* %storemerge1666.reg2mem\n %34 = add i64 %storemerge1666.reload, 12\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %storemerge1666.reload, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %storemerge1666.reload, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = inttoptr i64 %storemerge1666.reload to i32*\n %44 = load i32, i32* %43, align 4\n store i64 %28, i64* %30, align 8\n store i64 %31, i64* %33, align 8\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45, i32 %42, i32 %39, i32 %36, i64 0, i64 0)\n %47 = load i32, i32* %41, align 4\n %48 = ashr i32 %47, 4\n %49 = load i32, i32* %35, align 4\n %50 = add i32 %47, -1\n %51 = add i32 %50, %49\n %52 = ashr i32 %51, 4\n %53 = zext i32 %52 to i64\n %54 = sext i32 %48 to i64\n %55 = icmp sgt i64 %54, %53\n br i1 %55, label LBL_15, label LBL_9\n LBL_9:\n %.pre = load i32, i32* %43, align 4\n %.pre101 = load i32, i32* %38, align 4\n store i32 %49, i32* %.reg2mem\n store i32 %47, i32* %.reg2mem129\n store i32 %.pre101, i32* %.reg2mem131\n store i32 %.pre, i32* %.reg2mem133\n store i32 %48, i32* %storemerge1764.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge1764.reload = load i32, i32* %storemerge1764.reg2mem\n %.reload134 = load i32, i32* %.reg2mem133\n %.reload132 = load i32, i32* %.reg2mem131\n %.reload130 = load i32, i32* %.reg2mem129\n %.reload = load i32, i32* %.reg2mem\n %56 = ashr i32 %.reload134, 4\n %57 = add i32 %.reload132, -1\n %58 = add i32 %57, %.reload134\n %59 = ashr i32 %58, 4\n %60 = zext i32 %59 to i64\n %61 = sext i32 %56 to i64\n %62 = icmp sgt i64 %61, %60\n store i32 %.reload, i32* %.reg2mem135\n store i32 %.reload130, i32* %.reg2mem137\n store i32 %.reload132, i32* %.reg2mem139\n store i32 %.reload134, i32* %.reg2mem141\n br i1 %62, label LBL_14, label LBL_11\n LBL_11:\n %63 = mul i32 %storemerge1764.reload, %spec.select\n store i32 %56, i32* %storemerge1863.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge1863.reload = load i32, i32* %storemerge1863.reg2mem\n %64 = add i32 %storemerge1863.reload, %63\n %65 = sext i32 %64 to i64\n %66 = mul i64 %65, 4\n %67 = add i64 %66, %17\n %68 = inttoptr i64 %67 to i32*\n store i32 1, i32* %68, align 4\n %69 = add i32 %storemerge1863.reload, 1\n %70 = load i32, i32* %43, align 4\n %71 = load i32, i32* %38, align 4\n %72 = add i32 %70, -1\n %73 = add i32 %72, %71\n %74 = ashr i32 %73, 4\n %75 = zext i32 %74 to i64\n %76 = sext i32 %69 to i64\n %77 = icmp sgt i64 %76, %75\n store i32 %69, i32* %storemerge1863.reg2mem\n br i1 %77, label LBL_13, label LBL_12\n LBL_13:\n %.pre102 = load i32, i32* %41, align 4\n %.pre103 = load i32, i32* %35, align 4\n store i32 %.pre103, i32* %.reg2mem135\n store i32 %.pre102, i32* %.reg2mem137\n store i32 %71, i32* %.reg2mem139\n store i32 %70, i32* %.reg2mem141\n br label LBL_14\n LBL_14:\n %.reload142 = load i32, i32* %.reg2mem141\n %.reload140 = load i32, i32* %.reg2mem139\n %.reload138 = load i32, i32* %.reg2mem137\n %.reload136 = load i32, i32* %.reg2mem135\n %78 = add i32 %storemerge1764.reload, 1\n %79 = add i32 %.reload136, -1\n %80 = add i32 %79, %.reload138\n %81 = ashr i32 %80, 4\n %82 = zext i32 %81 to i64\n %83 = sext i32 %78 to i64\n %84 = icmp sgt i64 %83, %82\n store i32 %.reload136, i32* %.reg2mem\n store i32 %.reload138, i32* %.reg2mem129\n store i32 %.reload140, i32* %.reg2mem131\n store i32 %.reload142, i32* %.reg2mem133\n store i32 %78, i32* %storemerge1764.reg2mem\n br i1 %84, label LBL_15, label LBL_10\n LBL_15:\n %85 = add i64 %storemerge1666.reload, 16\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 store i64 %87, i64* %storemerge1666.reg2mem\n br i1 %89, label LBL_8, label LBL_16\n LBL_16:\n %90 = call i64* @malloc(i32 %14)\n br i1 %18, label LBL_18, label LBL_17\n LBL_17:\n call void @free(i64* %90)\n store i64 0, i64* %sv_0.2.lcssa.reg2mem\n br label LBL_63\n LBL_18:\n %91 = ptrtoint i64* %90 to i64\n %92 = icmp sgt i32 %spec.select, 0\n %93 = trunc i64 %arg4 to i32\n %wide.trip.count88 = zext i32 %spec.select to i64\n store i32 0, i32* %storemerge1261.reg2mem\n br label LBL_40\n LBL_19:\n %indvars.iv86.reload = load i64, i64* %indvars.iv86.reg2mem\n %94 = mul i64 %indvars.iv86.reload, 4\n %95 = add i64 %94, %91\n %96 = inttoptr i64 %95 to i32*\n store i32 0, i32* %96, align 4\n %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86.reload, 1\n %exitcond89 = icmp eq i64 %indvars.iv.next87, %wide.trip.count88\n store i64 %indvars.iv.next87, i64* %indvars.iv86.reg2mem\n br i1 %exitcond89, label LBL_21, label LBL_19\n LBL_20:\n %.pre115 = mul i32 %storemerge1261.reload, %spec.select\n store i32 %.pre115, i32* %.pre-phi116.reg2mem\n store i32 0, i32* %sv_3.1.lcssa.reg2mem\n br label LBL_28\n LBL_21:\n %97 = mul i32 %storemerge1261.reload, %spec.select\n store i64 0, i64* %indvars.iv90.reg2mem\n store i8 0, i8* %sv_7.151.reg2mem\n store i8 1, i8* %sv_8.150.reg2mem\n store i32 -1, i32* %sv_5.149.reg2mem\n store i32 0, i32* %sv_3.148.reg2mem\n br label LBL_22\n LBL_22:\n %sv_3.148.reload = load i32, i32* %sv_3.148.reg2mem\n %sv_5.149.reload = load i32, i32* %sv_5.149.reg2mem\n %sv_8.150.reload = load i8, i8* %sv_8.150.reg2mem\n %sv_7.151.reload = load i8, i8* %sv_7.151.reg2mem\n %indvars.iv90.reload = load i64, i64* %indvars.iv90.reg2mem\n %98 = icmp eq i8 %sv_8.150.reload, 0\n br i1 %98, label LBL_24, label LBL_23\n LBL_23:\n %99 = trunc i64 %indvars.iv90.reload to i32\n %100 = add i32 %97, %99\n %101 = sext i32 %100 to i64\n %102 = mul i64 %101, 4\n %103 = add i64 %102, %17\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = icmp eq i32 %105, 0\n %107 = icmp eq i1 %106, false\n store i32 %105, i32* %.reg2mem143\n store i32 %sv_3.148.reload, i32* %sv_3.0.reg2mem\n store i32 %99, i32* %sv_5.0.reg2mem\n store i8 0, i8* %sv_8.0.reg2mem\n store i8 1, i8* %sv_7.0.reg2mem\n br i1 %107, label LBL_26, label LBL_27\n LBL_24:\n %108 = icmp eq i8 %sv_7.151.reload, 0\n %.pre104 = trunc i64 %indvars.iv90.reload to i32\n %.pre105 = add i32 %97, %.pre104\n %.pre107 = sext i32 %.pre105 to i64\n %.pre109 = mul i64 %.pre107, 4\n %.pre111 = add i64 %.pre109, %17\n %.pre113 = inttoptr i64 %.pre111 to i32*\n %.pre127 = load i32, i32* %.pre113, align 4\n %109 = urem i32 %.pre127, 2\n %110 = icmp eq i32 %109, 0\n %or.cond = or i1 %108, %110\n store i32 %.pre127, i32* %.reg2mem143\n br i1 %or.cond, label LBL_26, label LBL_25\n LBL_25:\n %111 = add i32 %sv_3.148.reload, 1\n %112 = sext i32 %sv_5.149.reload to i64\n %113 = mul i64 %112, 4\n %114 = add i64 %113, %91\n %115 = sub i32 %.pre104, %sv_5.149.reload\n %116 = inttoptr i64 %114 to i32*\n store i32 %115, i32* %116, align 4\n store i32 %111, i32* %sv_3.0.reg2mem\n store i32 %sv_5.149.reload, i32* %sv_5.0.reg2mem\n store i8 1, i8* %sv_8.0.reg2mem\n store i8 0, i8* %sv_7.0.reg2mem\n br label LBL_27\n LBL_26:\n %.reload144 = load i32, i32* %.reg2mem143\n %117 = urem i32 %.reload144, 2\n %118 = icmp eq i32 %117, 0\n %spec.select22 = select i1 %118, i8 %sv_8.150.reload, i8 1\n store i32 %sv_3.148.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_5.149.reload, i32* %sv_5.0.reg2mem\n store i8 %spec.select22, i8* %sv_8.0.reg2mem\n store i8 %sv_7.151.reload, i8* %sv_7.0.reg2mem\n br label LBL_27\n LBL_27:\n %sv_7.0.reload = load i8, i8* %sv_7.0.reg2mem\n %sv_8.0.reload = load i8, i8* %sv_8.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90.reload, 1\n %exitcond93 = icmp eq i64 %indvars.iv.next91, %wide.trip.count88\n store i64 %indvars.iv.next91, i64* %indvars.iv90.reg2mem\n store i8 %sv_7.0.reload, i8* %sv_7.151.reg2mem\n store i8 %sv_8.0.reload, i8* %sv_8.150.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.149.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.148.reg2mem\n store i32 %97, i32* %.pre-phi116.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.1.lcssa.reg2mem\n br i1 %exitcond93, label LBL_28, label LBL_22\n LBL_28:\n %sv_3.1.lcssa.reload = load i32, i32* %sv_3.1.lcssa.reg2mem\n %.pre-phi116.reload = load i32, i32* %.pre-phi116.reg2mem\n store i32 %sv_3.1.lcssa.reload, i32* %sv_3.2.ph.reg2mem\n br label LBL_36\n LBL_29:\n %sv_5.355.reload = load i32, i32* %sv_5.355.reg2mem\n %sv_6.156.reload = load i32, i32* %sv_6.156.reg2mem\n %indvars.iv94.reload = load i64, i64* %indvars.iv94.reg2mem\n %119 = mul i64 %indvars.iv94.reload, 4\n %120 = add i64 %119, %91\n %121 = inttoptr i64 %120 to i32*\n %122 = load i32, i32* %121, align 4\n %123 = icmp slt i32 %122, 1\n store i32 %sv_5.355.reload, i32* %sv_5.2.reg2mem\n store i32 %sv_6.156.reload, i32* %sv_6.0.reg2mem\n br i1 %123, label LBL_31, label LBL_30\n LBL_30:\n %124 = zext i32 %122 to i64\n %125 = sext i32 %sv_6.156.reload to i64\n %126 = icmp sgt i64 %125, %124\n %127 = trunc i64 %indvars.iv94.reload to i32\n %spec.select27 = select i1 %126, i32 %127, i32 %sv_5.355.reload\n %spec.select28 = select i1 %126, i32 %122, i32 %sv_6.156.reload\n store i32 %spec.select27, i32* %sv_5.2.reg2mem\n store i32 %spec.select28, i32* %sv_6.0.reg2mem\n br label LBL_31\n LBL_31:\n %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem\n %sv_5.2.reload = load i32, i32* %sv_5.2.reg2mem\n %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94.reload, 1\n %exitcond97 = icmp eq i64 %indvars.iv.next95, %wide.trip.count88\n store i64 %indvars.iv.next95, i64* %indvars.iv94.reg2mem\n store i32 %sv_6.0.reload, i32* %sv_6.156.reg2mem\n store i32 %sv_5.2.reload, i32* %sv_5.355.reg2mem\n store i32 %sv_5.2.reload, i32* %sv_5.3.lcssa.reg2mem\n br i1 %exitcond97, label LBL_32, label LBL_29\n LBL_32:\n %sv_5.3.lcssa.reload = load i32, i32* %sv_5.3.lcssa.reg2mem\n %128 = icmp slt i32 %sv_5.3.lcssa.reload, 0\n br i1 %128, label LBL_37, label LBL_33\n LBL_33:\n %129 = sext i32 %sv_5.3.lcssa.reload to i64\n %130 = mul i64 %129, 4\n %131 = add i64 %130, %91\n %132 = inttoptr i64 %131 to i32*\n store i32 0, i32* %132, align 4\n %133 = add i32 %sv_5.3.lcssa.reload, %.pre-phi116.reload\n %134 = sext i32 %133 to i64\n %135 = mul i64 %134, 4\n %136 = add i64 %135, %17\n %137 = inttoptr i64 %136 to i32*\n %138 = load i32, i32* %137, align 4\n %139 = icmp eq i32 %138, 0\n store i32* %137, i32** %.reg2mem145\n store i32 %sv_5.3.lcssa.reload, i32* %sv_4.060.reg2mem\n br i1 %139, label LBL_34, label LBL_35\n LBL_34:\n %sv_4.060.reload = load i32, i32* %sv_4.060.reg2mem\n %.reload146 = load i32*, i32** %.reg2mem145\n %140 = add i32 %sv_4.060.reload, 1\n store i32 1, i32* %.reload146, align 4\n %141 = add i32 %140, %.pre-phi116.reload\n %142 = sext i32 %141 to i64\n %143 = mul i64 %142, 4\n %144 = add i64 %143, %17\n %145 = inttoptr i64 %144 to i32*\n %146 = load i32, i32* %145, align 4\n %147 = icmp eq i32 %146, 0\n store i32* %145, i32** %.reg2mem145\n store i32 %140, i32* %sv_4.060.reg2mem\n br i1 %147, label LBL_34, label LBL_35\n LBL_35:\n %148 = add i32 %sv_3.2.ph.reload, -1\n store i32 %148, i32* %sv_3.2.ph.reg2mem\n br label LBL_36\n LBL_36:\n %sv_3.2.ph.reload = load i32, i32* %sv_3.2.ph.reg2mem\n %149 = icmp sgt i32 %sv_3.2.ph.reload, %93\n br label LBL_37\n LBL_37:\n br i1 %149, label LBL_38, label LBL_39\n LBL_38:\n store i64 0, i64* %indvars.iv94.reg2mem\n store i32 %spec.select, i32* %sv_6.156.reg2mem\n store i32 -1, i32* %sv_5.355.reg2mem\n store i32 -1, i32* %sv_5.3.lcssa.reg2mem\n br i1 %92, label LBL_29, label LBL_32\n LBL_39:\n %150 = add nuw nsw i32 %storemerge1261.reload, 1\n %exitcond98 = icmp eq i32 %150, %sv_11.0\n store i32 %150, i32* %storemerge1261.reg2mem\n br i1 %exitcond98, label LBL_41, label LBL_40\n LBL_40:\n %storemerge1261.reload = load i32, i32* %storemerge1261.reg2mem\n store i64 0, i64* %indvars.iv86.reg2mem\n br i1 %92, label LBL_19, label LBL_20\n LBL_41:\n call void @free(i64* %90)\n %151 = sext i32 %spec.select to i64\n %152 = sext i32 %sv_11.0 to i64\n %wide.trip.count84 = zext i32 %sv_11.0 to i64\n store i64 0, i64* %indvars.iv81.reg2mem\n store i64 0, i64* %sv_0.243.reg2mem\n br label LBL_60\n LBL_42:\n %sv_0.138.reload = load i64, i64* %sv_0.138.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %153 = trunc i64 %indvars.iv.reload to i32\n %154 = add i32 %212, %153\n %155 = sext i32 %154 to i64\n %156 = mul i64 %155, 4\n %157 = add i64 %156, %17\n %158 = inttoptr i64 %157 to i32*\n %159 = load i32, i32* %158, align 4\n %160 = urem i32 %159, 2\n %161 = icmp eq i32 %160, 0\n store i64 %indvars.iv.reload, i64* %indvars.iv73.reg2mem\n store i32 1, i32* %storemerge11.reg2mem\n store i64 %sv_0.138.reload, i64* %sv_0.0.reg2mem\n br i1 %161, label LBL_58, label LBL_43\n LBL_43:\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %indvars.iv73.reload = load i64, i64* %indvars.iv73.reg2mem\n %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73.reload, 1\n %162 = trunc i64 %indvars.iv.next74 to i32\n %163 = add i32 %212, %162\n %164 = sext i32 %163 to i64\n %165 = mul i64 %164, 4\n %166 = add i64 %165, %17\n %167 = inttoptr i64 %166 to i32*\n %168 = load i32, i32* %167, align 4\n %169 = urem i32 %168, 2\n %170 = icmp ne i32 %169, 0\n %171 = icmp slt i64 %indvars.iv.next74, %151\n %or.cond23 = icmp eq i1 %171, %170\n %172 = add nuw nsw i32 %storemerge11.reload, 1\n store i64 %indvars.iv.next74, i64* %indvars.iv73.reg2mem\n store i32 %172, i32* %storemerge11.reg2mem\n br i1 %or.cond23, label LBL_43, label LBL_44\n LBL_44:\n %173 = add i32 %storemerge11.reload, %153\n store i32 1, i32* %sv_1.1.lcssa.reg2mem\n br i1 %214, label LBL_45, label LBL_49\n LBL_45:\n %174 = zext i32 %173 to i64\n %175 = icmp ult i64 %indvars.iv.reload, %174\n store i32 %216, i32* %sv_2.034.reg2mem\n store i32 1, i32* %sv_1.132.reg2mem\n br label LBL_47.preheader\n LBL_46:\n %indvars.iv75.reload = load i64, i64* %indvars.iv75.reg2mem\n %176 = trunc i64 %indvars.iv75.reload to i32\n %177 = add i32 %194, %176\n %178 = sext i32 %177 to i64\n %179 = mul i64 %178, 4\n %180 = add i64 %179, %17\n %181 = inttoptr i64 %180 to i32*\n %182 = load i32, i32* %181, align 4\n %183 = urem i32 %182, 2\n %184 = icmp eq i32 %183, 0\n %185 = icmp eq i1 %184, false\n store i32 %sv_1.132.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %185, label LBL_47, label LBL_49\n LBL_47:\n %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75.reload, 1\n %186 = icmp ult i64 %indvars.iv.next76, %174\n store i64 %indvars.iv.next76, i64* %indvars.iv75.reg2mem\n br i1 %186, label LBL_46, label LBL_48\n LBL_48:\n %187 = add nuw i32 %sv_1.132.reload, 1\n %sv_2.0 = add nuw nsw i32 %sv_2.034.reload, 1\n %188 = icmp slt i32 %sv_2.0, %sv_11.0\n store i32 %187, i32* %sv_1.1.lcssa.reg2mem\n store i32 %sv_2.0, i32* %sv_2.034.reg2mem\n store i32 %187, i32* %sv_1.132.reg2mem\n br i1 %188, label LBL_47.preheader, label LBL_49\n LBL_49:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %189 = add i32 %sv_1.1.lcssa.reload, %211\n %190 = zext i32 %189 to i64\n %191 = icmp ult i64 %indvars.iv81.reload, %190\n br i1 %191, label LBL_50, label LBL_57\n LBL_50:\n %192 = zext i32 %173 to i64\n %193 = icmp ult i64 %indvars.iv.reload, %192\n store i32 %211, i32* %storemerge836.reg2mem\n br label LBL_55\n LBL_51:\n %sv_1.132.reload = load i32, i32* %sv_1.132.reg2mem\n %sv_2.034.reload = load i32, i32* %sv_2.034.reg2mem\n br i1 %175, label LBL_46.lr.ph, label LBL_48\n LBL_52:\n %194 = mul i32 %sv_2.034.reload, %spec.select\n store i64 %indvars.iv.reload, i64* %indvars.iv75.reg2mem\n br label LBL_46\n LBL_53:\n %indvars.iv77.reload = load i64, i64* %indvars.iv77.reg2mem\n %195 = trunc i64 %indvars.iv77.reload to i32\n %196 = add i32 %204, %195\n %197 = sext i32 %196 to i64\n %198 = mul i64 %197, 4\n %199 = add i64 %198, %17\n %200 = inttoptr i64 %199 to i32*\n store i32 0, i32* %200, align 4\n %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next78, %192\n store i64 %indvars.iv.next78, i64* %indvars.iv77.reg2mem\n br i1 %exitcond, label LBL_54, label LBL_53\n LBL_54:\n %201 = add i32 %storemerge836.reload, 1\n %202 = sext i32 %201 to i64\n %203 = icmp slt i64 %202, %190\n store i32 %201, i32* %storemerge836.reg2mem\n br i1 %203, label LBL_55, label LBL_57\n LBL_55:\n %storemerge836.reload = load i32, i32* %storemerge836.reg2mem\n br i1 %193, label LBL_53.lr.ph, label LBL_54\n LBL_56:\n %204 = mul i32 %storemerge836.reload, %spec.select\n store i64 %indvars.iv.reload, i64* %indvars.iv77.reg2mem\n br label LBL_53\n LBL_57:\n %205 = mul i32 %sv_1.1.lcssa.reload, 16\n %206 = mul i32 %storemerge11.reload, 16\n %207 = zext i32 %206 to i64\n %208 = mul i64 %indvars.iv.reload, 16\n %209 = zext i32 %205 to i64\n %210 = call i64 @FUNC(i64 %sv_0.138.reload, i64 %208, i64 %215, i64 %207, i64 %209)\n store i64 %210, i64* %sv_0.0.reg2mem\n br label LBL_58\n LBL_58:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond80 = icmp eq i64 %indvars.iv.next, %wide.trip.count88\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.138.reg2mem\n store i64 %213, i64* %indvars.iv.next82.pre-phi.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond80, label LBL_59, label LBL_42\n LBL_59:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %indvars.iv.next82.pre-phi.reload = load i64, i64* %indvars.iv.next82.pre-phi.reg2mem\n %exitcond85 = icmp eq i64 %indvars.iv.next82.pre-phi.reload, %wide.trip.count84\n store i64 %indvars.iv.next82.pre-phi.reload, i64* %indvars.iv81.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.243.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %exitcond85, label LBL_63, label LBL_60\n LBL_60:\n %sv_0.243.reload = load i64, i64* %sv_0.243.reg2mem\n %indvars.iv81.reload = load i64, i64* %indvars.iv81.reg2mem\n br i1 %92, label LBL_42.lr.ph, label LBL_60.LBL_59_crit_edge\n LBL_61:\n %.pre117 = add nuw nsw i64 %indvars.iv81.reload, 1\n store i64 %.pre117, i64* %indvars.iv.next82.pre-phi.reg2mem\n store i64 %sv_0.243.reload, i64* %sv_0.1.lcssa.reg2mem\n br label LBL_59\n LBL_62:\n %211 = trunc i64 %indvars.iv81.reload to i32\n %212 = mul i32 %spec.select, %211\n %213 = add nuw nsw i64 %indvars.iv81.reload, 1\n %214 = icmp slt i64 %213, %152\n %215 = mul i64 %indvars.iv81.reload, 16\n %216 = trunc i64 %213 to i32\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %sv_0.243.reload, i64* %sv_0.138.reg2mem\n br label LBL_42\n LBL_63:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n call void @free(i64* %16)\n %217 = call i64 @FUNC(i64 %arg1)\n store i64 %sv_0.2.lcssa.reload, i64* %storemerge.reg2mem\n br label LBL_64\n LBL_64:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %213, { 1, 2, 0 }\n uselistorder i32 %212, { 1, 0 }\n uselistorder i32 %211, { 1, 2, 0 }\n uselistorder i64 %indvars.iv81.reload, { 4, 1, 2, 3, 0 }\n uselistorder i32 %storemerge836.reload, { 1, 0 }\n uselistorder i32 %sv_2.034.reload, { 1, 0 }\n uselistorder i32 %sv_1.132.reload, { 1, 0 }\n uselistorder i64 %190, { 1, 0 }\n uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 }\n uselistorder i32 %173, { 1, 0 }\n uselistorder i64 %indvars.iv.next74, { 0, 2, 1 }\n uselistorder i32 %storemerge11.reload, { 2, 1, 0 }\n uselistorder i32 %153, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 3, 7, 0, 1, 4, 5, 2, 6 }\n uselistorder i64 %sv_0.138.reload, { 1, 0 }\n uselistorder i32 %storemerge1261.reload, { 1, 2, 0 }\n uselistorder i32 %sv_3.2.ph.reload, { 1, 0 }\n uselistorder i32 %sv_5.3.lcssa.reload, { 0, 3, 2, 1 }\n uselistorder i32 %sv_6.156.reload, { 1, 2, 0 }\n uselistorder i32 %sv_5.355.reload, { 1, 0 }\n uselistorder i32 %.pre-phi116.reload, { 1, 0 }\n uselistorder i32 %.pre104, { 1, 0 }\n uselistorder i64 %indvars.iv90.reload, { 0, 2, 1 }\n uselistorder i32 %sv_5.149.reload, { 0, 1, 3, 2 }\n uselistorder i32 %sv_3.148.reload, { 0, 2, 1 }\n uselistorder i1 %92, { 0, 2, 1 }\n uselistorder i64* %90, { 1, 2, 0 }\n uselistorder i32 %.reload136, { 1, 0 }\n uselistorder i32 %.reload138, { 1, 0 }\n uselistorder i32 %.reload134, { 0, 2, 1 }\n uselistorder i32* %43, { 1, 0, 2 }\n uselistorder i32* %38, { 1, 0, 2 }\n uselistorder i64 %storemerge1666.reload, { 0, 2, 1, 4, 3 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32 %sv_9.170.reload, { 1, 0, 2 }\n uselistorder i32 %sv_9.067.reload, { 1, 0 }\n uselistorder i64 %17, { 2, 3, 4, 5, 0, 1, 6, 7, 8, 9 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %sv_11.0, { 6, 0, 3, 1, 2, 4, 5 }\n uselistorder i32 %spec.select, { 2, 3, 4, 10, 0, 5, 6, 9, 12, 7, 8, 11, 1 }\n uselistorder i32* %sv_9.067.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_9.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge1666.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem129, { 1, 0, 2 }\n uselistorder i32* %.reg2mem131, { 1, 0, 2 }\n uselistorder i32* %.reg2mem133, { 1, 0, 2 }\n uselistorder i32* %storemerge1764.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1863.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem135, { 0, 2, 1 }\n uselistorder i32* %.reg2mem137, { 0, 2, 1 }\n uselistorder i32* %.reg2mem139, { 0, 2, 1 }\n uselistorder i32* %.reg2mem141, { 0, 2, 1 }\n uselistorder i64* %indvars.iv86.reg2mem, { 1, 2, 0 }\n uselistorder i64* %indvars.iv90.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_7.151.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_8.150.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.149.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.148.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_5.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i8* %sv_8.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i8* %sv_7.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv94.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_6.156.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_5.355.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_5.3.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32** %.reg2mem145, { 2, 0, 1 }\n uselistorder i32* %sv_4.060.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.138.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv73.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv75.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv77.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.next82.pre-phi.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 1, { 3, 1, 0, 2 }\n uselistorder i8 0, { 0, 3, 1, 4, 2 }\n uselistorder i64 1, { 4, 0, 8, 5, 6, 7, 1, 2, 3 }\n uselistorder i32 -1, { 0, 1, 7, 2, 6, 5, 4, 3 }\n uselistorder i32 4, { 5, 3, 2, 4, 1, 6, 0, 7, 8 }\n uselistorder i32 1, { 64, 59, 65, 10, 13, 66, 16, 68, 67, 62, 61, 69, 72, 70, 71, 73, 60, 63, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 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, 15, 14, 12, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_64, { 1, 0 }\n uselistorder label LBL_59, { 1, 0 }\n uselistorder label LBL_55, { 1, 0 }\n uselistorder label LBL_54, { 1, 0 }\n uselistorder label LBL_53, { 1, 0 }\n uselistorder label LBL_47.preheader, { 1, 0 }\n uselistorder label LBL_48, { 1, 0 }\n uselistorder label LBL_43, { 1, 0 }\n uselistorder label LBL_42, { 1, 0 }\n uselistorder label LBL_36, { 1, 0 }\n uselistorder label LBL_34, { 1, 0 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_27, { 0, 2, 1 }\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_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tiff12_print_page_5757", "fun_name": "tiff12_print_page", "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_1.05.reg2mem = alloca i8*\n %sv_2.06.reg2mem = alloca i8*\n %storemerge47.reg2mem = alloca i32\n %storemerge38.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, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %1, 12\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 %1, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = call i64 @FUNC(i64 %1, i64 %8, i64 %0, i32 %11, i64 %8)\n store i64 %12, i64* %arg1, align 8\n %13 = icmp eq i64* %arg1, null\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 4294967295)\n br label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %1, 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* %storemerge.in.reg2mem\n br i1 %19, label LBL_4, label LBL_13\n LBL_4:\n %20 = call i64 @FUNC(i64 %1, i64 0, i64 4)\n %21 = call i64 @FUNC(i64 %1)\n %22 = call i64 @FUNC(i64 %1)\n %23 = call i64 @FUNC(i64 %1)\n %24 = trunc i64 %23 to i32\n %25 = add i32 %24, 5\n %26 = add i64 %1, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = zext i32 %25 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %29, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\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 = call i64 @FUNC(i64 4294967294)\n br label LBL_6\n LBL_6:\n %34 = inttoptr i64 %30 to i64*\n %35 = call i64* @memset(i64* %34, i32 0, i32 %25)\n %36 = add i64 %1, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n store i64 %16, i64* %sv_0.1.reg2mem\n br i1 %39, label LBL_12, label LBL_7\n LBL_7:\n %40 = inttoptr i64 %30 to i8*\n %41 = icmp sgt i32 %24, 0\n store i32 0, i32* %storemerge38.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %42 = call i64 @FUNC(i64 %1, i32 %storemerge38.reload, i64 %30, i32 %24)\n %43 = trunc i64 %42 to i32\n %44 = icmp slt i32 %43, 0\n store i64 %42, i64* %sv_0.1.reg2mem\n br i1 %44, label LBL_12, label LBL_9\n LBL_9:\n store i32 0, i32* %storemerge47.reg2mem\n store i8* %40, i8** %sv_2.06.reg2mem\n store i8* %40, i8** %sv_1.05.reg2mem\n br i1 %41, label LBL_10, label LBL_11\n LBL_10:\n %sv_1.05.reload = load i8*, i8** %sv_1.05.reg2mem\n %sv_2.06.reload = load i8*, i8** %sv_2.06.reg2mem\n %storemerge47.reload = load i32, i32* %storemerge47.reg2mem\n %45 = load i8, i8* %sv_1.05.reload, align 1\n %46 = and i8 %45, -16\n %47 = ptrtoint i8* %sv_1.05.reload to i64\n %48 = add i64 %47, 1\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = udiv i8 %50, 16\n %52 = or i8 %51, %46\n store i8 %52, i8* %sv_2.06.reload, align 1\n %53 = add i64 %47, 2\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = and i8 %55, -16\n %57 = add i64 %47, 3\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = udiv i8 %59, 16\n %61 = or i8 %60, %56\n %62 = ptrtoint i8* %sv_2.06.reload to i64\n %63 = add i64 %62, 1\n %64 = inttoptr i64 %63 to i8*\n store i8 %61, i8* %64, align 1\n %65 = add i64 %47, 4\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = and i8 %67, -16\n %69 = add i64 %47, 5\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = udiv i8 %71, 16\n %73 = or i8 %72, %68\n %74 = add i64 %62, 2\n %75 = inttoptr i64 %74 to i8*\n store i8 %73, i8* %75, align 1\n %76 = add i64 %47, 6\n %77 = inttoptr i64 %76 to i8*\n %78 = add i64 %62, 3\n %79 = inttoptr i64 %78 to i8*\n %80 = add i32 %storemerge47.reload, 6\n %81 = icmp slt i32 %80, %24\n store i32 %80, i32* %storemerge47.reg2mem\n store i8* %79, i8** %sv_2.06.reg2mem\n store i8* %77, i8** %sv_1.05.reg2mem\n br i1 %81, label LBL_10, label LBL_11\n LBL_11:\n %82 = call i64 @FUNC(i64 %1, i64 %30, i32 %storemerge38.reload, i64 0)\n %83 = add i32 %storemerge38.reload, 1\n %84 = load i32, i32* %37, 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* %storemerge38.reg2mem\n store i64 %42, i64* %sv_0.1.reg2mem\n br i1 %87, label LBL_8, label LBL_12\n LBL_12:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %88 = load i64, i64* %27, align 8\n %89 = call i64 @FUNC(i64 %88, i64 %30, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n %90 = call i64 @FUNC(i64 %88)\n store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem\n br label LBL_13\n LBL_13:\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 %47, { 0, 2, 1, 4, 3, 5 }\n uselistorder i8* %sv_1.05.reload, { 1, 0 }\n uselistorder i32 %storemerge38.reload, { 1, 0, 2 }\n uselistorder i32* %37, { 1, 0 }\n uselistorder i64 %30, { 2, 0, 3, 1, 4, 5 }\n uselistorder i32 %24, { 1, 2, 0, 3 }\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i64 %1, { 3, 5, 4, 7, 6, 9, 8, 10, 11, 0, 2, 1, 12 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge47.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_2.06.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_1.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @return_error, { 1, 0 }\n uselistorder i32 0, { 0, 5, 1, 2, 3, 4, 6, 7 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_decode_sei_6092", "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 %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 = add i64 %4, 16\n %6 = and i64 %5, 4294967295\n %7 = inttoptr i64 %3 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp ult i64 %6, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_18\n LBL_1:\n %11 = urem i64 %3, 2\n %12 = icmp eq i64 %11, 0\n br label LBL_2.preheader\n LBL_2:\n %13 = call i64 @FUNC(i64 %3)\n %14 = trunc i64 %13 to i32\n %15 = icmp sgt i32 %14, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_18\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %16 = call i64 @FUNC(i64 %3, i64 8)\n %17 = trunc i64 %16 to i32\n %18 = add i32 %sv_1.0.reload, %17\n %19 = call i64 @FUNC(i64 %3, i64 8)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 255\n store i32 %18, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_2, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %3)\n %23 = trunc i64 %22 to i32\n %24 = icmp sgt i32 %23, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_18\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %25 = call i64 @FUNC(i64 %3, i64 8)\n %26 = trunc i64 %25 to i32\n %27 = add i32 %sv_0.0.reload, %26\n %28 = call i64 @FUNC(i64 %3, i64 8)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 255\n store i32 %27, i32* %sv_0.0.reg2mem\n br i1 %30, label LBL_4, label LBL_6\n LBL_6:\n br i1 %12, label LBL_8, label LBL_7\n LBL_7:\n %31 = zext i32 %27 to i64\n %32 = zext i32 %18 to i64\n %33 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64 %31, i64 %1)\n br label LBL_8\n LBL_8:\n %34 = icmp eq i32 %18, 3\n br i1 %34, label LBL_14, label LBL_9\n LBL_9:\n %35 = icmp sgt i32 %18, 3\n br i1 %35, label LBL_15, label LBL_10\n LBL_10:\n switch i32 %18, label LBL_15 [\n i32 2, label LBL_13\n i32 0, label LBL_11\n i32 1, label LBL_12\n ]\n LBL_11:\n %36 = call i64 @FUNC(i64 %2)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %39, label LBL_16, label LBL_18\n LBL_12:\n %40 = zext i32 %27 to i64\n %41 = call i64 @FUNC(i64 %2, i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp slt i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %44, label LBL_16, label LBL_18\n LBL_13:\n %45 = call i64 @FUNC(i64 %2)\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* %rax.0.reg2mem\n br i1 %48, label LBL_16, label LBL_18\n LBL_14:\n %49 = call i64 @FUNC(i64 %2)\n %50 = trunc i64 %49 to i32\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %52, label LBL_16, label LBL_18\n LBL_15:\n %53 = mul i32 %27, 8\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %3, i64 %54)\n br label LBL_16\n LBL_16:\n %56 = call i64 @FUNC(i64 %3)\n %57 = call i64 @FUNC(i64 %3)\n %58 = add i64 %57, 16\n %59 = and i64 %58, 4294967295\n %60 = load i32, i32* %7, align 4\n %61 = zext i32 %60 to i64\n %62 = icmp ult i64 %59, %61\n store i64 0, i64* %rax.0.reg2mem\n br i1 %62, label LBL_2.preheader, label LBL_18\n LBL_17:\n store i32 0, i32* %sv_1.0.reg2mem\n br label LBL_2\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, 2, 3, 0 }\n uselistorder i32 %18, { 1, 4, 3, 2, 0 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %3, { 12, 4, 3, 1, 5, 6, 7, 8, 9, 10, 0, 11, 2 }\n uselistorder i64 %2, { 3, 2, 0, 1, 4 }\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, 5, 4, 3, 2, 1, 7, 6, 8 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 1, 3, 4, 5, 6, 2, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i64 (i64, i64)* @show_bits, { 1, 0 }\n uselistorder i64 (i64)* @get_bits_left, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @get_bits_count, { 1, 0 }\n uselistorder label LBL_18, { 4, 3, 2, 1, 0, 6, 5, 7 }\n uselistorder label LBL_2.preheader, { 1, 0 }\n uselistorder label LBL_16, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_huffman_tables_6090", "fun_name": "read_huffman_tables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\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 i32 %arg3, 8\n %4 = zext i32 %3 to i64\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 = zext 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 i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %23, label LBL_2, label LBL_6\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 i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_3, label LBL_6\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 = zext i32 %37 to i64\n %39 = load i32, i32* %17, align 4\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 %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %35, i64 12, i64 256, i64 %40, i64 1, i64 1)\n %42 = trunc i64 %41 to i32\n %43 = icmp slt i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i32 %42, i32* %rax.0.shrunk.reg2mem\n br i1 %44, label LBL_4, label LBL_6\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %45 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %45, label LBL_1, label LBL_5\n LBL_5:\n %46 = call i64 @FUNC(i64 %1)\n %47 = call i64 @FUNC(i64* nonnull %sv_0)\n %48 = trunc i64 %47 to i32\n %49 = sdiv i32 %48, 16384\n store i32 %49, 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 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 i32* %rax.0.shrunk.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 12, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_receive_request_14394", "fun_name": "nbd_receive_request", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi = alloca i64, align 8\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 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4, i64 28)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 28\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 ([13 x i8]* @gv_1 to i64*), i32 1, i32 12, %_IO_FILE* %4)\n %6 = call i32* @__errno_location()\n store i32 22, i32* %6, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64* nonnull %sv_4)\n %9 = trunc i64 %8 to i32\n %10 = call i64 @FUNC(i64* nonnull %sv_3)\n %11 = trunc i64 %10 to i32\n %12 = bitcast i64* %arg2 to i32*\n store i32 %11, i32* %12, align 4\n %13 = call i64 @FUNC(i64* nonnull %sv_2)\n %14 = add i64 %7, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = call i64 @FUNC(i64* nonnull %sv_1)\n %17 = add i64 %7, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = call i64 @FUNC(i64* nonnull %sv_0)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %7, 24\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = load i64, i64* %18, align 8\n %24 = bitcast i64* %rsi to i32*\n %25 = load i32, i32* %24, align 8\n %26 = zext i32 %25 to i64\n %27 = trunc i64 %23 to i32\n %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_2, i64 0, i64 0), i32 %9, i64 %26, i32 %27, i32 %20)\n %29 = icmp eq i32 %9, 627086611\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\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 ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i32 %9)\n %32 = call i32* @__errno_location()\n store i32 22, i32* %32, align 4\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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64*)* @be64_to_cpup, { 1, 0 }\n uselistorder i64 (i64*)* @be32_to_cpup, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "my_malloc_13542", "fun_name": "my_malloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %0 = trunc i64 %arg1 to i32\n %1 = call i64* @malloc(i32 %0)\n %2 = ptrtoint i64* %1 to i64\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atalk_bind_7913", "fun_name": "atalk_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.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 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp ne i32 %5, 0\n %7 = trunc i64 %arg3 to i32\n %8 = icmp eq i32 %7, 8\n %or.cond = icmp eq i1 %8, %6\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_12\n LBL_1:\n %9 = trunc i64 %1 to i16\n %10 = icmp eq i16 %9, 160\n store i64 4294967199, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_12\n LBL_2:\n %11 = inttoptr i64 %3 to i16*\n %12 = call i64 @FUNC(i64 %2)\n %13 = ptrtoint i16* %arg2 to i64\n %14 = add i64 %13, 2\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = call i16 @htons(i16 -1)\n %18 = icmp eq i16 %16, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC()\n %21 = icmp eq i64 %20, 0\n store i64 4294967197, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_11, label LBL_4\n LBL_4:\n %22 = inttoptr i64 %20 to i16*\n %23 = load i16, i16* %22, align 2\n store i16 %23, i16* %15, align 2\n store i16 %23, i16* %11, align 2\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 %13, 4\n %28 = inttoptr i64 %27 to i8*\n store i8 %26, i8* %28, align 1\n %29 = add i64 %3, 2\n %30 = inttoptr i64 %29 to i8*\n store i8 %26, i8* %30, align 1\n br label LBL_7\n LBL_5:\n %31 = add i64 %13, 4\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = load i16, i16* %15, align 2\n %35 = zext i8 %33 to i64\n %36 = zext i16 %34 to i64\n %37 = call i64 @FUNC(i64 %36, i64 %35)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n store i64 4294967197, i64* %sv_0.0.reg2mem\n br i1 %39, label LBL_11, label LBL_6\n LBL_6:\n %40 = load i16, i16* %15, align 2\n store i16 %40, i16* %11, align 2\n %41 = load i8, i8* %32, align 1\n %42 = add i64 %3, 2\n %43 = inttoptr i64 %42 to i8*\n store i8 %41, i8* %43, align 1\n br label LBL_7\n LBL_7:\n %44 = add i64 %13, 6\n %45 = inttoptr i64 %44 to i16*\n %46 = load i16, i16* %45, align 2\n %47 = icmp eq i16 %46, -1\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_9, label LBL_8\n LBL_8:\n %49 = call i64 @FUNC(i64 %2, i64 %13)\n %50 = trunc i64 %49 to i32\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 %49, i64* %sv_0.0.reg2mem\n br i1 %52, label LBL_10, label LBL_11\n LBL_9:\n %53 = add i64 %3, 4\n %54 = inttoptr i64 %53 to i16*\n store i16 %46, i16* %54, align 2\n %55 = call i64 @FUNC(i64 %2, i64 %13)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n %58 = icmp eq i1 %57, false\n store i64 4294967198, i64* %sv_0.0.reg2mem\n br i1 %58, label LBL_11, label LBL_10\n LBL_10:\n %59 = call i64 @FUNC(i64 %2, i64 1)\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 %60 = call i64 @FUNC(i64 %2)\n %61 = and i64 %sv_0.0.reload, 4294967295\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 i16* %15, { 1, 2, 0, 3 }\n uselistorder i64 %13, { 1, 3, 2, 4, 0, 5 }\n uselistorder i16* %11, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 3, 1, 2, 0, 4, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 5, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967197, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_11, { 4, 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "configuration_post_load_18594", "fun_name": "configuration_post_load", "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 = 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 %0, 256\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = bitcast i64* %arg1 to i8*\n %8 = inttoptr i64 %3 to i8*\n %9 = trunc i64 %6 to i32\n %10 = call i32 @strncmp(i8* %7, i8* %8, i32 %9)\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 %3)\n store i64 4294967274, 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": "recover_xattr_data_9149", "fun_name": "recover_xattr_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 %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 %3 = call i64 @FUNC(i64 %1)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %0)\n %7 = icmp eq i64 %5, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %2, i64 %5, i64* nonnull %sv_0)\n %9 = load i64, i64* %sv_0, align 8\n %10 = icmp eq i64 %9, 0\n %11 = zext i1 %10 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n %13 = load i64, i64* %sv_0, align 8\n %14 = call i64 @FUNC(i64 %2, i64 %13)\n %15 = call i64 @FUNC(i64 %2, i64 %1)\n %16 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0, i64 0)\n br label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %2, i64 %6)\n %18 = call i64 @FUNC(i64 %1, i64 %6)\n %19 = call i64 @FUNC(i64 %2, i64 %1)\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 = call i64 @FUNC(i64 %2, i64 1)\n br label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %1)\n %25 = call i64 @FUNC(i64 %2)\n %26 = call i64 @FUNC(i64 %25, i64 %6)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %28, label LBL_5, label LBL_6\n LBL_5:\n %29 = call i64 @FUNC(i64 %0)\n %30 = call i64 @FUNC(i64 %26)\n %31 = inttoptr i64 %30 to i64*\n %32 = inttoptr i64 %29 to i64*\n %33 = call i64* @memcpy(i64* %31, i64* %32, i32 4096)\n %34 = call i64 @FUNC(i64 %2, i64 %6, i64* nonnull %sv_0)\n %35 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 1, i64 0)\n %36 = call i64 @FUNC(i64 %26)\n %37 = call i64 @FUNC(i64 %26, i64 1)\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 %26, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 0, 1, 3, 2 }\n uselistorder i64 %2, { 7, 6, 8, 5, 10, 9, 2, 1, 0, 4, 3 }\n uselistorder i64* %sv_0, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64 %1, { 1, 3, 2, 0, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @F2FS_NODE, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i64*, i64, i64)* @set_node_addr, { 1, 0 }\n uselistorder i64 (i64, i64)* @f2fs_bug_on, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @get_node_info, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "doSign_18549", "fun_name": "doSign", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_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(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @globalFUNCvarFUNC402070, i64 0, i64 0))\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %6 = inttoptr i64 %4 to i8*\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* %6)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_2:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @globalFUNCvarFUNC40209f, i64 0, i64 0))\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %storemerge1.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* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge1.reload)\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_5\n LBL_5:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @globalFUNCvarFUNC4020b3, i64 0, i64 0))\n %17 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %18 = inttoptr i64 %16 to i8*\n %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* %18)\n %20 = call i64 @FUNC(i64 %arg1)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_9\n LBL_6:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %23 = call i64 @FUNC(i64 %.reload, i64 0, i64 %storemerge1.reload)\n %24 = trunc i64 %23 to i32\n %25 = add i32 %storemerge2.reload, %24\n %26 = call i64 @FUNC(i64 %arg1)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %.reg2mem\n store i32 %25, i32* %storemerge2.reg2mem\n br i1 %28, label LBL_6, label LBL_8\n LBL_7:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @globalFUNCvarFUNC4020c9, i64 0, i64 0))\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %31 = inttoptr i64 %29 to i8*\n %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* %31)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %phitmp = zext i32 %25 to i64\n store i64 %phitmp, 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 %33 = inttoptr i64 %0 to i64*\n call void @free(i64* %33)\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %25, { 1, 0 }\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64)* @poptGetArg, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_2, { 2, 1, 0 }\n uselistorder i64 (i8*)* @_, { 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_9, { 0, 2, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_bufopen_219", "fun_name": "qemu_bufopen", "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 %.reg2mem5 = alloca i64\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\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 = trunc i64 %1 to i8\n %4 = icmp ne i8 %3, 114\n %5 = icmp eq i8 %3, 119\n %6 = icmp eq i1 %5, false\n %or.cond = icmp eq i1 %4, %6\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\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 = icmp eq i8 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %13 = call i64 @FUNC(i64 16)\n %14 = icmp eq i8 %3, 114\n %15 = icmp eq i1 %14, false\n %.pre = inttoptr i64 %13 to i64*\n br i1 %15, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre4 = load i64, i64* %.pre, align 8\n store i64 %.pre4, i64* %.reg2mem\n br label LBL_7\n LBL_6:\n store i64 %arg2, i64* %.pre, align 8\n store i64 %arg2, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %16 = icmp eq i64 %.reload, 0\n %17 = icmp eq i1 %16, false\n store i64 %.reload, i64* %.reg2mem5\n br i1 %17, label LBL_9, label LBL_8\n LBL_8:\n %18 = call i64 @FUNC(i64 0, i64 0)\n store i64 %18, i64* %.pre, align 8\n store i64 %18, i64* %.reg2mem5\n br label LBL_9\n LBL_9:\n %.reload6 = load i64, i64* %.reg2mem5\n %19 = icmp eq i64 %.reload6, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_11, label LBL_10\n LBL_10:\n %21 = call i64 @FUNC(i64 %13)\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %23 = bitcast i64* %rdi to i8*\n %24 = load i8, i8* %23, align 8\n %25 = icmp eq i8 %24, 114\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_13, label LBL_12\n LBL_12:\n %27 = call i64 @FUNC(i64 %13, i64* nonnull @gv_2)\n %28 = add i64 %13, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %30 = call i64 @FUNC(i64 %13, i64* nonnull @gv_3)\n %31 = add i64 %13, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n store i64 %30, 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* %.pre, { 1, 2, 0 }\n uselistorder i64 %13, { 3, 4, 2, 1, 5, 0 }\n uselistorder i8 %3, { 0, 2, 1 }\n uselistorder i64* %.reg2mem5, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64, i64*)* @qemu_fopen_ops, { 1, 0 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_destroy_9326", "fun_name": "io_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 = load i64, i64* @gv_0, 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 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %1 to i32\n %8 = inttoptr i64 %arg1 to i32*\n store i32 1, i32* %8, align 4\n %9 = add i64 %arg1, 4\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %5)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n %13 = icmp eq i32 %7, 0\n %14 = zext i1 %13 to i64\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_2, label LBL_1\n LBL_1:\n %18 = call i64 @FUNC(i64 %arg1)\n br label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %arg1)\n %20 = call i64 @FUNC(i64 %arg1)\n %21 = add i64 %arg1, 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 %arg1)\n ret i64 %23\n\n uselistorder i64 (i64)* @put_ioctx, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_idivq_EAX_T0_1194", "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 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 1)\n unreachable\n LBL_4:\n %10 = load i64, i64* %sv_0, align 8\n store i64 %10, i64* @gv_1, align 8\n %11 = load i64, i64* %sv_1, align 8\n store i64 %11, i64* @gv_2, align 8\n ret i64 %11\n\n uselistorder i64 %11, { 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 i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_deblocking_bypass_218", "fun_name": "set_deblocking_bypass", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge1420.reg2mem = alloca i64\n %storemerge1223.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext5, 32\n %2 = trunc i64 %arg4 to i32\n %3 = urem i32 %2, 32\n %4 = shl i32 1, %3\n %5 = trunc i64 %0 to i32\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = trunc i64 %1 to i32\n %10 = add i32 %4, %9\n %11 = sub i32 %8, %10\n %12 = xor i32 %8, %10\n %13 = xor i32 %11, %8\n %14 = and i32 %13, %12\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i32 %11, 0\n %17 = icmp slt i32 %11, 0\n %18 = icmp eq i1 %17, %15\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n %21 = select i1 %20, i32 %10, i32 %8\n %22 = urem i32 %5, 32\n %23 = icmp eq i32 %22, 0\n %24 = ashr i32 %9, %22\n %25 = zext i32 %24 to i64\n %rdx.0 = select i1 %23, i64 %1, i64 %25\n %storemerge12.in21 = mul i64 %rdx.0, 4294967296\n %storemerge1222 = ashr exact i64 %storemerge12.in21, 32\n %26 = ashr i32 %21, %22\n %storemerge7 = zext i32 %26 to i64\n %27 = icmp slt i64 %storemerge1222, %storemerge7\n br i1 %27, label LBL_1, label LBL_6\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %28 = ashr exact i64 %sext, 32\n %29 = add i64 %0, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\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 %28 to i32\n %36 = add i32 %4, %35\n %37 = sub i32 %34, %36\n %38 = icmp slt i32 %37, 0\n %39 = xor i32 %37, %34\n %40 = xor i32 %34, %36\n %41 = and i32 %39, %40\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %38, %42\n %44 = icmp eq i32 %37, 0\n %45 = icmp eq i1 %44, false\n %46 = icmp eq i1 %43, %45\n %47 = select i1 %46, i32 %36, i32 %34\n %48 = ashr i32 %35, %22\n %49 = zext i32 %48 to i64\n %rdx.1 = select i1 %23, i64 %28, i64 %49\n %storemerge14.in18 = mul i64 %rdx.1, 4294967296\n %storemerge1419 = ashr exact i64 %storemerge14.in18, 32\n %50 = ashr i32 %47, %22\n %storemerge10 = zext i32 %50 to i64\n %51 = icmp slt i64 %storemerge1419, %storemerge10\n %52 = inttoptr i64 %32 to i64*\n store i64 %storemerge1222, i64* %storemerge1223.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1223.reload = load i64, i64* %storemerge1223.reg2mem\n br i1 %51, label LBL_3, label LBL_5\n LBL_3:\n %53 = trunc i64 %storemerge1223.reload to i32\n %54 = mul i32 %31, %53\n store i64 %storemerge1419, i64* %storemerge1420.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1420.reload = load i64, i64* %storemerge1420.reg2mem\n %55 = load i64, i64* %52, align 8\n %56 = trunc i64 %storemerge1420.reload to i32\n %57 = add i32 %54, %56\n %58 = sext i32 %57 to i64\n %59 = mul i64 %58, 4\n %60 = add i64 %59, %55\n %61 = inttoptr i64 %60 to i32*\n store i32 2, i32* %61, align 4\n %62 = mul i64 %storemerge1420.reload, 4294967296\n %storemerge14.in = add i64 %62, 4294967296\n %storemerge14 = ashr exact i64 %storemerge14.in, 32\n %63 = icmp slt i64 %storemerge14, %storemerge10\n store i64 %storemerge14, i64* %storemerge1420.reg2mem\n br i1 %63, label LBL_4, label LBL_5\n LBL_5:\n %64 = mul i64 %storemerge1223.reload, 4294967296\n %storemerge12.in = add i64 %64, 4294967296\n %storemerge12 = ashr exact i64 %storemerge12.in, 32\n %65 = icmp slt i64 %storemerge12, %storemerge7\n store i64 %storemerge12, i64* %storemerge1223.reg2mem\n br i1 %65, label LBL_2, label LBL_6\n LBL_6:\n ret i64 %storemerge7\n\n uselistorder i64 %storemerge1420.reload, { 1, 0 }\n uselistorder i64 %storemerge1223.reload, { 1, 0 }\n uselistorder i64 %storemerge10, { 1, 0 }\n uselistorder i32 %37, { 2, 0, 1 }\n uselistorder i32 %36, { 2, 0, 1 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i32 %34, { 2, 0, 1, 3 }\n uselistorder i64 %storemerge7, { 0, 2, 1 }\n uselistorder i32 %22, { 4, 3, 2, 1, 0 }\n uselistorder i32 %11, { 1, 2, 0 }\n uselistorder i32 %10, { 2, 0, 1 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %8, { 2, 0, 1, 3 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge1223.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1420.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 5, 6, 4, 0, 1, 2, 3 }\n uselistorder i64 32, { 3, 2, 1, 5, 0, 4 }\n uselistorder i64 4294967296, { 7, 0, 6, 1, 2, 5, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "piix4_class_init_14299", "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 4198662, 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 i32*\n store i32 1, i32* %9, align 4\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": "1" }, { "dataset": "CompRealVul", "file": "qed_dcbx_set_pfc_data_18305", "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, -253\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, 4\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, 256\n %21 = and i32 %20, 65280\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": "1" }, { "dataset": "CompRealVul", "file": "ext4_fill_flex_info_11762", "fun_name": "ext4_fill_flex_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 %storemerge78.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 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = trunc i64 %1 to i32\n %10 = urem i32 %9, 32\n %11 = shl i32 1, %10\n %12 = icmp sgt i32 %11, 1\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* %8, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\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, %11\n %17 = load i64, i64* %4, align 8\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i32 %16, %20\n %22 = ashr i32 %21, 31\n %23 = zext i32 %21 to i64\n %24 = zext i32 %22 to i64\n %25 = mul i64 %24, 4294967296\n %26 = or i64 %25, %23\n %27 = zext i32 %11 to i64\n %28 = sdiv i64 %26, %27\n %sext = mul i64 %28, 4294967296\n %29 = ashr exact i64 %sext, 32\n %30 = ashr exact i64 %sext, 31\n %31 = add nsw i64 %30, %29\n %32 = mul i64 %31, 4\n %33 = call i64 @FUNC(i64 %32, i64 0)\n %34 = add i64 %2, 24\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = icmp eq i64 %33, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_3, label LBL_4\n LBL_3:\n %38 = load i32, i32* %14, align 4\n %39 = icmp eq i32 %38, 0\n store i32 0, i32* %storemerge78.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %39, label LBL_6, label LBL_5\n LBL_4:\n %40 = and i64 %28, 4294967295\n %41 = call i64 @FUNC(i64 %2, 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 %40)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge78.reload = load i32, i32* %storemerge78.reg2mem\n %42 = zext i32 %storemerge78.reload to i64\n %43 = call i64 @FUNC(i64 %2, i64 %42, i64 0)\n %44 = call i64 @FUNC(i64 %2, i64 %42)\n %45 = call i64 @FUNC(i64 %2, i64 %43)\n %46 = load i64, i64* %35, align 8\n %sext1 = mul i64 %44, 4294967296\n %47 = ashr exact i64 %sext1, 32\n %48 = ashr exact i64 %sext1, 31\n %49 = add nsw i64 %48, %47\n %50 = mul i64 %49, 4\n %51 = add i64 %50, %46\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = trunc i64 %45 to i32\n %55 = add i32 %53, %54\n store i32 %55, i32* %52, align 4\n %56 = call i64 @FUNC(i64 %2, i64 %43)\n %57 = load i64, i64* %35, align 8\n %58 = add nsw i64 %50, 4\n %59 = add i64 %58, %57\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = trunc i64 %56 to i32\n %63 = add i32 %61, %62\n store i32 %63, i32* %60, align 4\n %64 = call i64 @FUNC(i64 %2, i64 %43)\n %65 = load i64, i64* %35, align 8\n %66 = add nsw i64 %50, 8\n %67 = add i64 %66, %65\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = trunc i64 %64 to i32\n %71 = add i32 %69, %70\n store i32 %71, i32* %68, align 4\n %72 = add i32 %storemerge78.reload, 1\n %73 = load i32, i32* %14, 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* %storemerge78.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %76, 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 i64 %50, { 1, 0, 2 }\n uselistorder i64 %sext1, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32* %14, { 1, 0, 2 }\n uselistorder i32 %11, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 5, 3, 4, 0, 6, 7, 8 }\n uselistorder i32* %storemerge78.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 4, { 2, 0, 1, 3 }\n uselistorder i32 0, { 0, 1, 3, 2 }\n uselistorder label LBL_6, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_flush_plug_list_9558", "fun_name": "blk_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.1.be.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg2, 72057594037927936\n %1 = ashr exact i64 %sext, 56\n store i64 0, i64* %sv_2, align 8\n %2 = urem i64 %arg2, 256\n %3 = call i64 @FUNC(i64 %0, i64 %2)\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 br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = urem i64 %1, 256\n %9 = call i64 @FUNC(i64 %0, i64 %8)\n br label LBL_2\n LBL_2:\n %10 = add i64 %0, 16\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 %11, i64* %rax.0.reg2mem\n br i1 %14, label LBL_20, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %10, i64* nonnull %sv_2)\n %16 = call i64 @FUNC(i64 0, i64* nonnull %sv_2, i64 4198881)\n %17 = ptrtoint i64* %sv_2 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %20, label LBL_4, label LBL_20\n LBL_4:\n %21 = trunc i64 %1 to i8\n store i32 0, i32* %sv_0.16.reg2mem\n store i64 0, i64* %sv_1.15.reg2mem\n br label LBL_5\n LBL_5:\n %22 = load i64, i64* %sv_2, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %23, 16\n %25 = call i64 @FUNC(i64 %24)\n %26 = inttoptr i64 %23 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 call void @exit(i32 1)\n unreachable\n LBL_7:\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %30 = icmp eq i64 %sv_1.15.reload, %27\n store i64 %sv_1.15.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br i1 %30, label LBL_11, label LBL_8\n LBL_8:\n %31 = icmp eq i64 %sv_1.15.reload, 0\n store i64 %27, i64* %.reg2mem\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = zext i32 %sv_0.16.reload to i64\n %33 = call i64 @FUNC(i64 %sv_1.15.reload, i64 %32, i8 %21)\n %.pre = load i64, i64* %26, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i64, i64* %.reg2mem\n %34 = inttoptr i64 %.reload to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35)\n store i64 %.reload, i64* %sv_1.0.reg2mem\n store i32 0, 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 i64, i64* %sv_1.0.reg2mem\n %37 = call i64 @FUNC(i64 %sv_1.0.reload)\n %38 = trunc i64 %37 to i8\n %39 = icmp eq i8 %38, 0\n br i1 %39, label LBL_14, label LBL_12\n LBL_12:\n %40 = call i64 @FUNC(i64 %23, i64 1)\n store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem\n %41 = call i64 @FUNC(i64 %17)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n store i32 %sv_0.1.be.reload, i32* %sv_0.16.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.15.reg2mem\n br i1 %43, label LBL_5, label LBL_18\n LBL_14:\n %44 = add i64 %23, 8\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)\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 %sv_1.0.reload, i64 %23, i64 1)\n br label LBL_17\n LBL_16:\n %52 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %23, i64 2)\n br label LBL_17\n LBL_17:\n %53 = add i32 %sv_0.0.reload, 1\n store i32 %53, i32* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_18:\n %54 = icmp eq i64 %sv_1.0.reload, 0\n store i64 %41, i64* %rax.0.reg2mem\n br i1 %54, label LBL_20, label LBL_19\n LBL_19:\n %55 = zext i32 %sv_0.1.be.reload to i64\n %56 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %55, i8 %21)\n store i64 %56, 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_1.0.reload, { 3, 4, 2, 1, 5, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.16.reload, { 1, 0 }\n uselistorder i64 %sv_1.15.reload, { 3, 2, 0, 1 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_2, { 3, 2, 0, 1, 4 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 (i64, i64, i64)* @__elv_add_request, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 0, { 3, 4, 0, 1, 2, 5, 6 }\n uselistorder i64 (i64)* @list_empty, { 3, 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_20, { 2, 3, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unaccount_shadowed_7890", "fun_name": "unaccount_shadowed", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %2 = call i64 @FUNC(i64 %arg2, i64 %1, i32 %storemerge2.reload)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i32 %4, -1\n store i32 %5, i32* %3, align 4\n %6 = icmp slt i32 %5, 0\n %7 = zext i1 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %9, 3\n store i32 %9, i32* %storemerge2.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %10 = bitcast i64* %rdi to i32*\n %11 = load i32, i32* %10, align 8\n %12 = add i32 %11, -1\n store i32 %12, i32* %arg1, align 4\n ret i64 %0\n\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip6_find_1stfragopt_12712", "fun_name": "ip6_find_1stfragopt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem16 = alloca i8\n %sv_1.03.reg2mem = alloca i16\n %sv_2.04.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i32\n %.reg2mem14 = 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 = call i64 @FUNC(i64 %0)\n %4 = sub i64 %2, %3\n %5 = trunc i64 %4 to i32\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %arg2, align 8\n %7 = icmp ult i32 %5, 2\n %8 = icmp eq i1 %7, false\n store i32 1, i32* %.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_8\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = trunc i64 %9 to i8\n %11 = add i64 %1, 1\n store i8 %10, i8* %.reg2mem\n store i32 1, i32* %.reg2mem14\n store i32 0, i32* %sv_0.15.reg2mem\n store i64 %11, i64* %sv_2.04.reg2mem\n store i16 1, i16* %sv_1.03.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.03.reload = load i16, i16* %sv_1.03.reg2mem\n %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %.reload15 = load i32, i32* %.reg2mem14\n %.reload = load i8, i8* %.reg2mem\n %12 = icmp eq i8 %.reload, 60\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = icmp ugt i8 %.reload, 60\n store i32 %.reload15, i32* %.lcssa.reg2mem\n br i1 %13, label LBL_8, label LBL_4\n LBL_4:\n %14 = icmp eq i8 %.reload, 0\n store i8 0, i8* %.reg2mem16\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = icmp eq i8 %.reload, 43\n %16 = icmp eq i1 %15, false\n store i8 %.reload, i8* %.reg2mem16\n store i32 1, i32* %sv_0.0.reg2mem\n store i32 %.reload15, i32* %.lcssa.reg2mem\n br i1 %16, label LBL_8, label LBL_7\n LBL_6:\n %17 = zext i32 %.reload15 to i64\n %18 = call i64 @FUNC(i64 %0, i64 %17, i64 1)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i32 %sv_0.15.reload, 0\n %or.cond = or i1 %22, %21\n %23 = trunc i32 %.reload15 to i8\n store i8 %23, i8* %.reg2mem16\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n store i32 %.reload15, i32* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_8\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload17 = load i8, i8* %.reg2mem16\n %24 = call i64 @FUNC(i64 %sv_2.04.reload)\n %25 = trunc i64 %24 to i16\n %26 = add i16 %sv_1.03.reload, %25\n %27 = zext i16 %26 to i32\n store i64 %sv_2.04.reload, i64* %arg2, align 8\n %28 = call i64 @FUNC(i64 %0)\n %29 = zext i16 %26 to i64\n %30 = add i64 %28, %29\n %31 = icmp uge i32 %27, %5\n %32 = icmp eq i1 %31, false\n store i8 %.reload17, i8* %.reg2mem\n store i32 %27, i32* %.reg2mem14\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i64 %30, i64* %sv_2.04.reg2mem\n store i16 %26, i16* %sv_1.03.reg2mem\n store i32 %27, i32* %.lcssa.reg2mem\n br i1 %32, label LBL_2, label LBL_8\n LBL_8:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %rax.0 = zext i32 %.lcssa.reload to i64\n ret i64 %rax.0\n\n uselistorder i16 %26, { 0, 2, 1 }\n uselistorder i32 %.reload15, { 2, 4, 3, 1, 0 }\n uselistorder i32 %sv_0.15.reload, { 1, 2, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem14, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.04.reg2mem, { 1, 0, 2 }\n uselistorder i16* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem16, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %.lcssa.reg2mem, { 0, 4, 3, 2, 1, 5 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i64 (i64)* @skb_network_header, { 1, 0 }\n uselistorder i64 (i64)* @ipv6_hdr, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_syscall_trace_enter_10093", "fun_name": "do_syscall_trace_enter", "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()\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 = 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_7, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(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_8\n LBL_3:\n %12 = icmp sgt i64* %arg1, inttoptr (i64 255 to i64*)\n br i1 %12, label LBL_7, label LBL_4\n LBL_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 %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, i64 2)\n br label LBL_6\n LBL_6:\n %19 = add i64 %0, 48\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = and i64 %21, 4294967295\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = and i64 %25, 4294967295\n %27 = add i64 %0, 32\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = and i64 %29, 4294967295\n %31 = add i64 %0, 24\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %22, i64 %34, i64 %30, i64 %26, i64 %22)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %36 = add i64 %0, 24\n %37 = inttoptr i64 %36 to i64*\n store i64 -38, i64* %37, align 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 %0, { 6, 4, 5, 3, 2, 1, 7, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i64 (i64)* @test_thread_flag, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "CheckEventLogging_19076", "fun_name": "CheckEventLogging", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, 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* %rax.0.reg2mem\n store i32 0, i32* %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 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_0, align 8\n %7 = call i64 @FUNC(i64 %6)\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 %12 = zext i1 %11 to i64\n %13 = zext i1 %11 to i32\n store i64 %12, i64* %rax.0.reg2mem\n store i32 %13, i32* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i32 %storemerge.reload, i32* bitcast (i64* @gv_1 to i32*), align 8\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "router_reload_v2_networkstatus_18858", "fun_name": "router_reload_v2_networkstatus", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge5.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rcx.36.reg2mem = alloca i64\n %storemerge37.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 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i32 @time(i32* null)\n %8 = load i64, i64* @gv_1, 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* @gv_1, align 8\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %4)\n %13 = icmp eq i64 %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 %4)\n br label LBL_23\n LBL_4:\n %16 = trunc i64 %6 to i32\n %17 = icmp eq i32 %16, 0\n %18 = call i64 @FUNC(i64 %12)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %17, %19\n br i1 %20, label LBL_5, label LBL_6\n LBL_5:\n %21 = inttoptr i64 %4 to i8*\n %22 = call i32 @rmdir(i8* %21)\n %23 = call i64 @FUNC(i64 %4)\n br label LBL_23\n LBL_6:\n %24 = call i64 @FUNC(i64 %4)\n %25 = call i64 @FUNC(i64 %12)\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_19, label LBL_7\n LBL_7:\n %27 = sext i32 %7 to i64\n %28 = inttoptr i64 %12 to i64*\n %29 = icmp eq i1 %17, false\n store i64 0, i64* %storemerge37.reg2mem\n br label LBL_8\n LBL_8:\n %rcx.36.reload = load i64, i64* %rcx.36.reg2mem\n %storemerge37.reload = load i64, i64* %storemerge37.reg2mem\n %30 = load i64, i64* %28, align 8\n %31 = mul i64 %storemerge37.reload, 8\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %34)\n %36 = call i64 @FUNC(i64 %35, i64 %27)\n %37 = call i64 @FUNC(i64 %35)\n store i64 %rcx.36.reload, i64* %rcx.2.reg2mem\n br label LBL_18\n LBL_10:\n %38 = inttoptr i64 %34 to i8*\n %39 = call i32 @strlen(i8* %38)\n %40 = icmp eq i32 %39, 64\n %41 = icmp eq i1 %40, false\n store i64 %rcx.36.reload, i64* %rcx.0.reg2mem\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i32 @strlen(i8* %38)\n %43 = sext i32 %42 to i64\n %44 = call i64 @FUNC(i64* nonnull %sv_1, i64 32, i64 %34, i64 %43)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n store i64 %43, i64* %rcx.0.reg2mem\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %47 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i64 %34, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n br label LBL_18\n LBL_13:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %34)\n %49 = call i64 @FUNC(i64 %48, i64 0, i64* nonnull %sv_0)\n %50 = icmp eq i64 %49, 0\n store i64 %43, i64* %rcx.1.reg2mem\n br i1 %50, label LBL_17, label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %49, i64 %3, i64 0, i64 0)\n %52 = trunc i64 %51 to i32\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_16, label LBL_15\n LBL_15:\n %55 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %48, i64 0, i64 %2, i64 %1)\n br label LBL_16\n LBL_16:\n %56 = call i64 @FUNC(i64 %49)\n store i64 0, i64* %rcx.1.reg2mem\n br label LBL_17\n LBL_17:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %57 = call i64 @FUNC(i64 %48)\n store i64 %rcx.1.reload, i64* %rcx.2.reg2mem\n br label LBL_18\n LBL_18:\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %58 = add nuw i64 %storemerge37.reload, 1\n %59 = call i64 @FUNC(i64 %12)\n %60 = icmp ult i64 %58, %59\n store i64 %58, i64* %storemerge37.reg2mem\n store i64 %rcx.2.reload, i64* %rcx.36.reg2mem\n br i1 %60, label LBL_8, label LBL_19\n LBL_19:\n %61 = call i64 @FUNC(i64 %12)\n %62 = icmp eq i64 %61, 0\n br i1 %62, label LBL_22, label LBL_20\n LBL_20:\n %63 = inttoptr i64 %12 to i64*\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_21\n LBL_21:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %64 = load i64, i64* %63, align 8\n %65 = mul i64 %storemerge5.reload, 8\n %66 = add i64 %64, %65\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 nuw i64 %storemerge5.reload, 1\n %71 = call i64 @FUNC(i64 %12)\n %72 = icmp ult i64 %70, %71\n store i64 %70, i64* %storemerge5.reg2mem\n br i1 %72, label LBL_21, label LBL_22\n LBL_22:\n %73 = call i64 @FUNC(i64 %12)\n %74 = call i32 @time(i32* null)\n %75 = sext i32 %74 to i64\n %76 = call i64 @FUNC(i64 %75)\n %77 = call i32 @time(i32* null)\n %78 = sext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %78, i64 2)\n br label LBL_23\n LBL_23:\n ret i64 0\n\n uselistorder i64 %34, { 0, 1, 2, 4, 3 }\n uselistorder i64 %rcx.36.reload, { 1, 0 }\n uselistorder i1 %17, { 1, 0 }\n uselistorder i64 %12, { 3, 4, 2, 1, 6, 5, 0, 7, 8 }\n uselistorder i64 %4, { 0, 1, 4, 2, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge37.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.36.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 (i8*, i64)* @get_datadir_fname2, { 1, 0 }\n uselistorder i64 (i64)* @smartlist_len, { 4, 1, 3, 0, 2 }\n uselistorder i64 (i64)* @tor_free, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 ()* @smartlist_create, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i32 (i32*)* @time, { 0, 2, 1 }\n uselistorder i32 1, { 17, 16, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0, 14, 15 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "requestIdrFrame_13107", "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* inttoptr (i64 4210760 to i32*), align 8\n %4 = icmp slt i32 %3, 5\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 sgt i32 %5, 31\n %7 = add i32 %5, -32\n %narrow = select i1 %6, i32 %7, i32 0\n %storemerge = sext i32 %narrow to i64\n store i64 %storemerge, i64* %sv_0, align 8\n %8 = load i64, i64* @gv_1, align 8\n %9 = load i32, i32* @gv_2, 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_3, 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_4, align 8\n %21 = load i64, i64* @gv_5, align 8\n %22 = load i32, i32* @gv_6, align 4\n %23 = zext i32 %22 to i64\n %24 = inttoptr i64 %20 to i64*\n %25 = call i64 @FUNC(i64 %23, i64 %21, 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 %20, i64* %rdx.0.reg2mem\n store i64 %21, i64* %rsi.0.reg2mem\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC()\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i64 %30, i64 %20, i64 %21, i64 %2, i64 %1)\n %32 = call i64 @FUNC()\n store i64 %32, 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 %33 = 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 %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 %rsi.0.reload, { 1, 0 }\n uselistorder i64 %21, { 1, 0, 2 }\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 (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, { 3, 4, 0, 1, 2 }\n uselistorder i32 1, { 7, 5, 4, 3, 2, 1, 0, 6 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cmp_ies_7026", "fun_name": "cmp_ies", "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 %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = urem i64 %arg1, 256\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %arg3)\n %4 = call i64 @FUNC(i64 %2, i64 %0, i64 %arg5)\n %5 = or i64 %4, %3\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %7 = icmp eq i64 %4, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp ne i64 %3, 0\n %or.cond3 = icmp eq i1 %9, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond3, label LBL_2, label LBL_6\n LBL_2:\n %10 = add i64 %4, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i64\n %14 = add i64 %3, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = zext i8 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 %13)\n %19 = add i64 %4, 2\n %20 = add i64 %3, 2\n %21 = inttoptr i64 %20 to i64*\n %22 = inttoptr i64 %19 to i64*\n %23 = trunc i64 %18 to i32\n %24 = call i32 @memcmp(i64* %21, i64* %22, i32 %23)\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 = load i8, i8* %15, align 1\n %28 = load i8, i8* %11, align 1\n %29 = icmp eq i8 %27, %28\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n %30 = zext i8 %28 to i64\n %31 = zext i8 %27 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_6\n LBL_5:\n %34 = zext i32 %24 to i64\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 i64 %4, { 2, 3, 1, 0 }\n uselistorder i64 %3, { 1, 3, 2, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @find_ie, { 1, 0 }\n uselistorder label LBL_6, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "render_line_12084", "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 %sext11 = mul i64 %arg2, 72057594037927936\n %52 = ashr exact i64 %sext11, 56\n %53 = zext i32 %14 to i64\n %54 = sext i32 %34 to i64\n store i64 %54, 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 %55 = add i64 %sv_1.115.reload, %43\n %sext12 = mul i64 %55, 72057594037927936\n %56 = ashr exact i64 %sext12, 56\n %57 = add i32 %sv_0.116.reload, %50\n %58 = icmp slt i32 %57, 0\n store i64 %56, i64* %sv_1.0.reg2mem\n store i32 %57, i32* %sv_0.0.reg2mem\n br i1 %58, label LBL_6, label LBL_5\n LBL_5:\n %59 = sub i32 %57, %7\n %60 = add nsw i64 %56, %53\n %sext13 = mul i64 %60, 72057594037927936\n %61 = ashr exact i64 %sext13, 56\n store i64 %61, i64* %sv_1.0.reg2mem\n store i32 %59, 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 = and i64 %64, 1020\n %66 = add nuw nsw i64 %65, 4210752\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = call i128 @FUNC(i32 %68)\n %70 = call i64 @__asm_movss.1(i128 %69)\n %71 = trunc i64 %70 to i32\n %72 = inttoptr i64 %63 to i32*\n store i32 %71, i32* %72, align 4\n %73 = add i32 %.in.reload, 1\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i32 %73, %35\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %73, 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 %57, { 1, 0, 2 }\n uselistorder i64 %56, { 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 %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": "gen_advance_ccount_cond_15410", "fun_name": "gen_advance_ccount_cond", "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 %4 = icmp slt i32 %2, 1\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n %6 = load i64, i64* @gv_0, align 8\n %7 = and i64 %5, 4294967295\n %8 = call i64 @FUNC(i64 %6, i64 %7)\n %9 = call i64 @FUNC(i64 %7)\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 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "efx_probe_all_12090", "fun_name": "efx_probe_all", "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_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 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 ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0))\n store i64 %1, i64* %sv_0.2.reg2mem\n br label LBL_9\n LBL_2:\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_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %0, i64 0, i64 %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0))\n store i64 %5, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_4:\n %9 = add i64 %0, 12\n %10 = inttoptr i64 %9 to i32*\n store i32 256, i32* %10, align 4\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 256, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %0)\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_7, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %0)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %19, label LBL_10, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 %0, i64 0, i64 %0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0))\n %21 = call i64 @FUNC(i64 %0)\n store i64 %17, 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 %22 = call i64 @FUNC(i64 %0)\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 %23 = call i64 @FUNC(i64 %0)\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 %24 = and i64 %sv_0.2.reload, 4294967295\n store i64 %24, 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, { 8, 9, 5, 6, 4, 7, 10, 11, 12, 3, 2, 13, 1, 0, 14 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i8*)* @netif_err, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "io_close_prep_6148", "fun_name": "io_close_prep", "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 = load i64, i64* %0\n %3 = urem i64 %1, 2\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %5, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %7 = trunc i64 %2 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_9, label LBL_2\n LBL_2:\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 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %15, label LBL_9, label LBL_3\n LBL_3:\n %16 = add i64 %10, 16\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 4294967274, i64* %rax.0.reg2mem\n br i1 %20, label LBL_9, label LBL_4\n LBL_4:\n %21 = add i64 %10, 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 store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %25, label LBL_9, label LBL_5\n LBL_5:\n %26 = add i64 %10, 32\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 store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %30, label LBL_9, label LBL_6\n LBL_6:\n %31 = add i64 %10, 36\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 4294967274, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_9\n LBL_7:\n %35 = ptrtoint i64* %arg1 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 = and i32 %38, 2\n %40 = icmp eq i32 %39, 0\n store i64 4294967287, i64* %rax.0.reg2mem\n br i1 %40, label LBL_8, label LBL_9\n LBL_8:\n %41 = add i64 %10, 40\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 %47 = add i64 %35, 12\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, 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, 9, 1, 7, 6, 5, 4, 3, 2, 8 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967274, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder label LBL_9, { 8, 0, 6, 5, 4, 3, 2, 1, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hal2_gain_get_18009", "fun_name": "hal2_gain_get", "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 %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 switch i32 %4, label LBL_4 [\n i32 0, label LBL_1\n i32 1, label LBL_3\n ]\n LBL_1:\n %5 = call i64 @FUNC(i64 %3, i64 0)\n %6 = urem i64 %5, 2\n %7 = icmp eq i64 %6, 0\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %8 = trunc i64 %5 to i32\n %9 = udiv i32 %8, 256\n %10 = urem i32 %9, 32\n %11 = xor i32 %10, 31\n %12 = urem i32 %8, 32\n %13 = xor i32 %12, 31\n store i32 %11, i32* %sv_1.0.reg2mem\n store i32 %13, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %14 = call i64 @FUNC(i64 %3, i64 4)\n %15 = trunc i64 %14 to i32\n %16 = udiv i32 %15, 16\n %17 = urem i32 %16, 16\n %18 = urem i32 %15, 16\n store i32 %17, i32* %sv_1.0.reg2mem\n store i32 %18, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %19 = ptrtoint i64* %arg2 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 %20 = bitcast i64* %arg2 to i32*\n store i32 %sv_1.0.reload, i32* %20, align 4\n %21 = add i64 %19, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %sv_0.0.reload, i32* %22, align 4\n ret i64 0\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 16, { 1, 2, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @hal2_i_read32, { 1, 0 }\n uselistorder label LBL_4, { 2, 3, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RegisterHDRImage_8317", "fun_name": "RegisterHDRImage", "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 4198753, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198760, i64* %3, align 8\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 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 = add i64 %0, 32\n %11 = inttoptr i64 %10 to i64*\n store i64 4198767, i64* %11, align 8\n %12 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 (i8*)* @ConstantString, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_pbm_integer_3638", "fun_name": "read_pbm_integer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge.in.lcssa.reg2mem = alloca i64\n %storemerge10.reg2mem = alloca i64\n %.reg2mem26 = alloca i64\n %.in.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg2)\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* %.in.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg1, i64 1)\n unreachable\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n switch i32 %.reload, label LBL_4 [\n i32 32, label LBL_3\n i32 9, label LBL_3\n i32 10, label LBL_3\n i32 13, label LBL_3\n ]\n LBL_3:\n %5 = call i64 @FUNC(i64 %arg2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n store i32 %6, i32* %.reg2mem\n store i64 %5, i64* %.in.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_4:\n %.off = add i32 %.reload, -48\n %9 = icmp ult i32 %.off, 10\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %.in.reload = load i64, i64* %.in.reg2mem\n %10 = and i64 %.in.reload, 4294967295\n %storemerge.in7 = add nuw nsw i64 %10, 4294967248\n %storemerge8 = and i64 %storemerge.in7, 4294967295\n %11 = call i64 @FUNC(i64 %arg2)\n %12 = trunc i64 %11 to i32\n %.off39 = add i32 %12, -48\n %13 = icmp ult i32 %.off39, 10\n store i64 %11, i64* %.reg2mem26\n store i64 %storemerge8, i64* %storemerge10.reg2mem\n store i64 %storemerge.in7, i64* %storemerge.in.lcssa.reg2mem\n store i64 %storemerge8, i64* %storemerge.lcssa.reg2mem\n br i1 %13, label LBL_7, label LBL_8\n LBL_6:\n %14 = call i64 @FUNC(i64 %arg1, i64 2)\n unreachable\n LBL_7:\n %storemerge10.reload = load i64, i64* %storemerge10.reg2mem\n %.reload27 = load i64, i64* %.reg2mem26\n %15 = and i64 %.reload27, 4294967295\n %16 = mul nuw nsw i64 %storemerge10.reload, 10\n %17 = add nuw nsw i64 %15, 4294967248\n %storemerge.in = add nuw nsw i64 %17, %16\n %storemerge = and i64 %storemerge.in, 4294967295\n %18 = call i64 @FUNC(i64 %arg2)\n %19 = trunc i64 %18 to i32\n %.off3 = add i32 %19, -48\n %20 = icmp ult i32 %.off3, 10\n store i64 %18, i64* %.reg2mem26\n store i64 %storemerge, i64* %storemerge10.reg2mem\n store i64 %storemerge.in, i64* %storemerge.in.lcssa.reg2mem\n store i64 %storemerge, i64* %storemerge.lcssa.reg2mem\n br i1 %20, label LBL_7, label LBL_8\n LBL_8:\n %storemerge.in.lcssa.reload = load i64, i64* %storemerge.in.lcssa.reg2mem\n %21 = trunc i64 %storemerge.in.lcssa.reload to i32\n %22 = icmp ugt i32 %21, %arg3\n br i1 %22, label LBL_9, label LBL_10\n LBL_9:\n %23 = call i64 @FUNC(i64 %arg1, i64 3)\n unreachable\n LBL_10:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem26, { 2, 0, 1 }\n uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 }\n uselistorder i32 -48, { 1, 0, 2 }\n uselistorder i32 10, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @ERREXIT, { 2, 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @pbm_getc, { 3, 1, 2, 0 }\n uselistorder i64 %arg2, { 2, 1, 3, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_unsafe_exec_10506", "fun_name": "check_unsafe_exec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) 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 = icmp eq i32 %1, 0\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i32 %1, 16\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = or i64 %3, 1\n store i64 %6, i64* %arg1, align 8\n br label LBL_4\n LBL_3:\n %7 = or i64 %3, 2\n store i64 %7, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n %8 = load i32*, i32** @gv_0, align 8\n %9 = ptrtoint 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 br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = or i64 %9, 4\n store i64 %13, i64* %arg1, align 8\n br label LBL_6\n LBL_6:\n %14 = ptrtoint i32* %0 to i64\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %17, 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC()\n %21 = icmp eq i32* %0, null\n %22 = icmp eq i1 %21, false\n %spec.select = select i1 %22, i32 2, i32 1\n %23 = call i64 @FUNC()\n %24 = load i64, i64* %16, align 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp ult i32 %spec.select, %26\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = or i64 %18, 8\n store i64 %29, i64* %arg1, align 8\n br label LBL_9\n LBL_8:\n %30 = add i64 %24, 4\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %31, align 4\n br label LBL_9\n LBL_9:\n %32 = load i64, i64* %16, align 8\n %33 = add i64 %32, 8\n %34 = call i64 @FUNC(i64 %33)\n ret i64 %34\n\n uselistorder i1 false, { 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n uselistorder i64* %arg1, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mb_cpu_initfn_781", "fun_name": "mb_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 0, i64 %2)\n %5 = call i64 @FUNC(i64 %2, i64 4198751, i64 2)\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = load i8, i8* inttoptr (i64 4210740 to i8*), align 4\n %10 = icmp eq i8 %9, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8\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 i8 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_device_list_248", "fun_name": "free_device_list", "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 %storemerge12.reg2mem = alloca i32\n %.reg2mem11 = alloca i64\n %.reg2mem9 = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_11, 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 store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_11, label LBL_2\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_10, label LBL_3\n LBL_3:\n %10 = and i64 %1, 4294967295\n store i64 %6, i64* %.reg2mem\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload = load i64, i64* %.reg2mem\n %11 = mul i64 %.reload8, 8\n %12 = add i64 %11, %.reload\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_8, label LBL_5\n LBL_5:\n %16 = inttoptr i64 %14 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n %19 = add i64 %14, 8\n store i64 %19, i64* %.reg2mem9\n store i64 0, i64* %.reg2mem11\n store i32 0, i32* %storemerge12.reg2mem\n store i64 %19, i64* %.lcssa.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload12 = load i64, i64* %.reg2mem11\n %.reload10 = load i64, i64* %.reg2mem9\n %20 = inttoptr i64 %.reload10 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = mul i64 %.reload12, 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 %25)\n %27 = load i64, i64* %5, align 8\n %28 = add i64 %27, %11\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = add i64 %30, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %33, %22\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i32 %storemerge12.reload, 1\n %37 = load i64, i64* %5, align 8\n %38 = add i64 %37, %11\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, 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 = sext i32 %36 to i64\n %45 = icmp slt i64 %44, %43\n %46 = add i64 %40, 8\n store i64 %46, i64* %.reg2mem9\n store i64 %44, i64* %.reg2mem11\n store i32 %36, i32* %storemerge12.reg2mem\n store i64 %46, i64* %.lcssa.reg2mem\n br i1 %45, label LBL_6, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %47 = call i64 @FUNC(i64 %.lcssa.reload)\n %48 = load i64, i64* %5, align 8\n %49 = add i64 %48, %11\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %51, 16\n %53 = call i64 @FUNC(i64 %52)\n %54 = load i64, i64* %5, align 8\n %55 = add i64 %54, %11\n %56 = call i64 @FUNC(i64 %55)\n br label LBL_8\n LBL_8:\n %57 = add i32 %storemerge3.reload, 1\n %58 = sext i32 %57 to i64\n %59 = icmp sgt i64 %10, %58\n br i1 %59, label LBL_8.LBL_4_crit_edge, label LBL_10\n LBL_9:\n %.pre = load i64, i64* %5, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %58, i64* %.reg2mem7\n store i32 %57, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_10:\n %60 = call i64 @FUNC(i64 %4)\n %61 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %61, align 4\n store i64 %3, 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, { 1, 0 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %11, { 4, 3, 2, 1, 0 }\n uselistorder i64* %5, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem9, { 2, 0, 1 }\n uselistorder i64* %.reg2mem11, { 2, 0, 1 }\n uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_freep, { 0, 3, 2, 1, 5, 4 }\n uselistorder i32 0, { 4, 0, 2, 1, 3 }\n uselistorder i64 8, { 4, 3, 0, 2, 1, 5 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_11, { 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 }", "label": "0" }, { "dataset": "CompRealVul", "file": "__sock_diag_rcv_msg_13717", "fun_name": "__sock_diag_rcv_msg", "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 i32* %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 ult i32 %3, 4\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %1 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp slt i32 %6, 32\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = zext i32 %6 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = and i64 %8, 4294967295\n %14 = call i64 @FUNC(i64 %10)\n %15 = select i1 %12, i64 %13, i64 4294967294\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* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofputil_nx_flow_format_to_protocol_10773", "fun_name": "ofputil_nx_flow_format_to_protocol", "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 %rax.0 = zext i1 %1 to i64\n ret i64 %rax.0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_scsi_send_evt_11460", "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 = urem i32 %9, 256\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = bitcast i64* %rdx to i32*\n %14 = load i32, i32* %13, align 8\n %15 = icmp ult i32 %14, 256\n store i32 %14, i32* %.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = udiv i32 %14, 256\n %17 = or i32 %16, 64\n %18 = add i64 %3, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\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 %20 = urem i32 %.reload, 256\n %21 = add i64 %3, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n br label LBL_5\n LBL_5:\n %23 = add i64 %3, 16\n %24 = call i64 @FUNC(i64 %23, i64 %0)\n %25 = add i64 %0, 16\n %26 = add i64 %0, 8\n %27 = call i64 @FUNC(i64 %26, i64 %25)\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 i32 %14, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32 256, { 0, 1, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_seq_ioctl_query_subs_8412", "fun_name": "snd_seq_ioctl_query_subs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.126.reg2mem = alloca i64\n %sv_0.128.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.012.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 4294967290, i64* %sv_0.126.reg2mem\n br i1 %2, label LBL_15, label LBL_1\n LBL_1:\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 %1, i64 %6)\n %8 = icmp eq i64 %7, 0\n store i64 4294967290, i64* %sv_0.128.reg2mem\n br i1 %8, label LBL_14, label LBL_2\n LBL_2:\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n store i64 %7, i64* %storemerge1.reg2mem\n store i64 4294967290, i64* %sv_0.14.reg2mem\n switch i32 %11, label LBL_13 [\n i32 1, label LBL_4\n i32 2, label LBL_3\n ]\n LBL_3:\n %12 = add i64 %7, 24\n store i64 %12, i64* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %13 = add i64 %storemerge1.reload, 20\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %storemerge1.reload, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %storemerge.in10 = inttoptr i64 %storemerge1.reload to i64*\n %storemerge11 = load i64, i64* %storemerge.in10, align 8\n %20 = icmp eq i64 %storemerge11, %storemerge1.reload\n %21 = icmp eq i1 %20, false\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_12\n LBL_5:\n %22 = add i64 %0, 20\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n store i64 %storemerge11, i64* %storemerge13.reg2mem\n store i32 0, i32* %sv_2.012.reg2mem\n br label LBL_6\n LBL_6:\n %sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %25 = icmp eq i32 %sv_2.012.reload, %24\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_11, label LBL_7\n LBL_7:\n %27 = load i32, i32* %10, align 4\n %28 = icmp eq i32 %27, 1\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = add i64 %storemerge13.reload, -16\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %0, 28\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n store i64 %30, i64* %sv_1.0.reg2mem\n br label LBL_10\n LBL_9:\n %35 = add i64 %storemerge13.reload, -32\n %36 = add i64 %storemerge13.reload, -28\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %0, 28\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n store i64 %35, 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 %41 = add i64 %sv_1.0.reload, 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %0, 32\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %sv_1.0.reload, 12\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %0, 36\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %51 = add i32 %sv_2.012.reload, 1\n %storemerge.in = inttoptr i64 %storemerge13.reload to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %52 = icmp eq i64 %storemerge, %storemerge1.reload\n %53 = icmp eq i1 %52, false\n store i64 %storemerge, i64* %storemerge13.reg2mem\n store i32 %51, i32* %sv_2.012.reg2mem\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %53, label LBL_6, label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %54 = call i64 @FUNC(i64 %13)\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %55 = call i64 @FUNC(i64 %7)\n store i64 %sv_0.14.reload, i64* %sv_0.128.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.128.reload = load i64, i64* %sv_0.128.reg2mem\n %56 = call i64 @FUNC(i64 %1)\n store i64 %sv_0.128.reload, i64* %sv_0.126.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.126.reload = load i64, i64* %sv_0.126.reg2mem\n %57 = and i64 %sv_0.126.reload, 4294967295\n ret i64 %57\n\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %storemerge13.reload, { 0, 2, 3, 1 }\n uselistorder i64 %storemerge1.reload, { 2, 4, 3, 0, 1 }\n uselistorder i64 %7, { 1, 2, 0, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6, 7, 8 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.012.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %sv_0.14.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.128.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.126.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i64 4294967290, { 2, 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ntlm_free_message_fields_buffer_6765", "fun_name": "ntlm_free_message_fields_buffer", "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 call void @free(i64* nonnull %arg1)\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 %1, 16\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 %1, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, 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, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uvesafb_setcmap_17348", "fun_name": "uvesafb_setcmap", "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 i32\n %sv_0.02.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %.reg2mem14 = alloca i64\n %.lcssa.reg2mem = alloca i32\n %.reg2mem12 = alloca i32\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\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 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 %8 = icmp eq i32 %7, 8\n %9 = icmp eq i1 %8, false\n %10 = trunc i64 %1 to i32\n br i1 %9, label LBL_1, label LBL_3\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 store i32 0, i32* %sv_0.1.reg2mem\n br i1 %14, label LBL_11, label LBL_2\n LBL_2:\n %15 = add i64 %4, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = add i64 %4, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %4, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %.reg2mem14\n store i32 0, i32* %storemerge13.reg2mem\n store i32 0, i32* %sv_0.02.reg2mem\n br label LBL_10\n LBL_3:\n %21 = trunc i64 %2 to i32\n %22 = add i64 %4, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i32 %24, %10\n %26 = add i64 %3, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i32 %28, %21\n %30 = icmp ugt i32 %25, %29\n %31 = icmp ult i32 %10, %21\n %or.cond = or i1 %31, %30\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_12, label LBL_4\n LBL_4:\n %32 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %33 = sext i32 %24 to i64\n %34 = mul i64 %33, 4\n %35 = call i64 @FUNC(i64 %34, i64 0)\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %37, label LBL_5, label LBL_12\n LBL_5:\n %38 = load i32, i32* %23, align 4\n %39 = icmp eq i32 %38, 0\n store i32 %10, i32* %.reg2mem12\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %39, label LBL_9, label LBL_6\n LBL_6:\n %40 = sub i32 16, %32\n %41 = bitcast i64* %rdi to i32*\n %42 = add i64 %4, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = urem i32 %40, 32\n %45 = icmp eq i32 %44, 0\n %46 = add i64 %4, 16\n %47 = inttoptr i64 %46 to i64*\n %48 = add i64 %4, 24\n %49 = inttoptr i64 %48 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %50 = load i64, i64* %43, align 8\n %51 = add i64 %50, %.reload\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = zext i8 %53 to i32\n %55 = lshr i32 %54, %44\n %56 = trunc i32 %55 to i8\n %rdx.0 = select i1 %45, i8 %53, i8 %56\n %57 = mul i64 %.reload, 4\n %58 = add i64 %57, %35\n %59 = inttoptr i64 %58 to i8*\n store i8 %rdx.0, i8* %59, align 1\n %60 = load i64, i64* %47, align 8\n %61 = add i64 %60, %.reload\n %62 = inttoptr i64 %61 to i8*\n %63 = load i8, i8* %62, align 1\n %64 = zext i8 %63 to i32\n %65 = lshr i32 %64, %44\n %66 = trunc i32 %65 to i8\n %rdx.1 = select i1 %45, i8 %63, i8 %66\n %67 = add i64 %58, 1\n %68 = inttoptr i64 %67 to i8*\n store i8 %rdx.1, i8* %68, align 1\n %69 = load i64, i64* %49, align 8\n %70 = add i64 %69, %.reload\n %71 = inttoptr i64 %70 to i8*\n %72 = load i8, i8* %71, align 1\n %73 = zext i8 %72 to i32\n %74 = lshr i32 %73, %44\n %75 = trunc i32 %74 to i8\n %rdx.2 = select i1 %45, i8 %72, i8 %75\n %76 = add i64 %58, 2\n %77 = inttoptr i64 %76 to i8*\n store i8 %rdx.2, i8* %77, align 1\n %78 = add i64 %58, 3\n %79 = inttoptr i64 %78 to i8*\n store i8 0, i8* %79, align 1\n %80 = add i32 %storemerge4.reload, 1\n %81 = load i32, i32* %23, 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* %storemerge4.reg2mem\n br i1 %84, label LBL_7, label LBL_8\n LBL_8:\n %.pre = load i32, i32* %41, align 8\n store i32 %.pre, i32* %.reg2mem12\n store i32 %81, i32* %.lcssa.reg2mem\n br label LBL_9\n LBL_9:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.reload13 = load i32, i32* %.reg2mem12\n %85 = call i64 @FUNC(i64 %35, i32 %.lcssa.reload, i32 %.reload13, i64 %3)\n %86 = trunc i64 %85 to i32\n %87 = call i64 @FUNC(i64 %35)\n store i32 %86, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_10:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload15 = load i64, i64* %.reg2mem14\n %88 = load i64, i64* %16, align 8\n %89 = add i64 %88, %.reload15\n %90 = inttoptr i64 %89 to i8*\n %91 = load i8, i8* %90, align 1\n %92 = zext i8 %91 to i64\n %93 = load i64, i64* %18, align 8\n %94 = add i64 %93, %.reload15\n %95 = inttoptr i64 %94 to i8*\n %96 = load i8, i8* %95, align 1\n %97 = zext i8 %96 to i64\n %98 = load i64, i64* %20, align 8\n %99 = add i64 %98, %.reload15\n %100 = inttoptr i64 %99 to i8*\n %101 = load i8, i8* %100, align 1\n %102 = add i32 %storemerge13.reload, %10\n %103 = zext i8 %101 to i64\n %104 = call i64 @FUNC(i32 %102, i64 %103, i64 %97, i64 %92, i64 0, i64 %3)\n %105 = trunc i64 %104 to i32\n %106 = or i32 %sv_0.02.reload, %105\n %107 = add i32 %storemerge13.reload, 1\n %108 = load i32, i32* %12, align 4\n %109 = zext i32 %108 to i64\n %110 = sext i32 %107 to i64\n %111 = icmp slt i64 %110, %109\n store i64 %110, i64* %.reg2mem14\n store i32 %107, i32* %storemerge13.reg2mem\n store i32 %106, i32* %sv_0.02.reg2mem\n store i32 %106, i32* %sv_0.1.reg2mem\n br i1 %111, label LBL_10, label LBL_11\n LBL_11:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %112 = zext i32 %sv_0.1.reload to i64\n store i64 %112, 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 %.reload15, { 2, 1, 0 }\n uselistorder i64 %.reload, { 2, 1, 3, 0 }\n uselistorder i32 %44, { 3, 2, 1, 0 }\n uselistorder i64 %35, { 2, 1, 0, 3 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32* %23, { 1, 0, 2 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32* %12, { 1, 0 }\n uselistorder i32 %10, { 1, 0, 3, 2 }\n uselistorder i64 %4, { 0, 1, 2, 3, 7, 6, 5, 4 }\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem14, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 0, { 4, 1, 8, 5, 0, 2, 3, 6, 7 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i32 0, { 4, 7, 3, 6, 1, 2, 0, 5 }\n uselistorder i64 4, { 0, 1, 3, 4, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_11, { 0, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_socket_17391", "fun_name": "ff_socket", "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 = or i32 %1, 524288\n %3 = call i32 @socket(i32 %0, i32 %2, i32 %arg3)\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i32 %3, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = call i32* @__errno_location()\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 22\n %9 = icmp eq i1 %8, false\n store i32 %3, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = call i32 @socket(i32 %0, i32 %1, i32 %arg3)\n %11 = icmp eq i32 %10, -1\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i32 (i32, i32, ...) @fcntl(i32 %10, i32 2)\n store i32 %10, 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 %13 = zext i32 %sv_0.0.reload to i64\n ret i64 %13\n\n uselistorder i32 (i32, i32, i32)* @socket, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wm8750_audio_out_cb_13873", "fun_name": "wm8750_audio_out_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 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = bitcast i64* %arg1 to i32*\n store i32 %1, i32* %3, align 4\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n ret i64 %6\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dnxhd_decode_header_57", "fun_name": "dnxhd_decode_header", "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 %storemerge2.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem13 = alloca i32\n %.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp sgt i32 %arg3, 639\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_24\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i32 @memcmp(i64* %arg2, i64* inttoptr (i64 4202723 to i64*), i32 5)\n %6 = icmp eq i32 %5, 0\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 %4, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %4, 5\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = and i8 %12, 2\n %14 = icmp eq i8 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = urem i8 %12, 2\n %16 = zext i8 %15 to i32\n %17 = add i64 %9, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %9, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = load i32, i32* %18, align 4\n %22 = xor i32 %21, %arg4\n %23 = add i64 %9, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = load i32, i32* %18, align 4\n %26 = load i8, i8* %11, align 1\n %27 = urem i8 %26, 4\n %28 = zext i32 %25 to i64\n %29 = zext i8 %27 to i64\n %30 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %28, i64 %1)\n store i64 %28, i64* %r8.0.reg2mem\n br label LBL_5\n LBL_5:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %31 = add i64 %4, 24\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = add i64 %9, 324\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = add i64 %4, 26\n %37 = call i64 @FUNC(i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = add i64 %9, 320\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = load i32, i32* %35, align 4\n %42 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i32 %38, i32 %41, i64 %r8.0.reload, i64 %1)\n %43 = add i64 %4, 33\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = and i8 %45, 64\n %47 = icmp eq i8 %46, 0\n %48 = add i64 %4, 30\n %49 = inttoptr i64 %48 to i32*\n br i1 %47, label LBL_8, label LBL_6\n LBL_6:\n store i32 0, i32* %49, align 4\n %50 = inttoptr i64 %36 to i32*\n store i32 10, i32* %50, align 4\n %51 = add i64 %9, 20\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 10\n br i1 %54, label LBL_10, label LBL_7\n LBL_7:\n %55 = add i64 %9, 312\n %56 = call i64 @FUNC(i64 %55, i64 %36)\n store i32 10, i32* %52, align 4\n %57 = add i64 %9, 328\n %58 = inttoptr i64 %57 to i64*\n store i64 4199038, i64* %58, align 8\n br label LBL_10\n LBL_8:\n store i32 1, i32* %49, align 4\n %59 = inttoptr i64 %36 to i32*\n store i32 8, i32* %59, align 4\n %60 = add i64 %9, 20\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 8\n br i1 %63, label LBL_10, label LBL_9\n LBL_9:\n %64 = add i64 %9, 312\n %65 = call i64 @FUNC(i64 %64, i64 %36)\n store i32 8, i32* %61, align 4\n %66 = add i64 %9, 328\n %67 = inttoptr i64 %66 to i64*\n store i64 4199049, i64* %67, align 8\n br label LBL_10\n LBL_10:\n %68 = add i64 %4, 40\n %69 = call i64 @FUNC(i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = call i64 @FUNC(i64 %68, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i32 %70, i32 %41, i64 %r8.0.reload, i64 %1)\n %72 = and i64 %69, 4294967295\n %73 = call i64 @FUNC(i64 %9, i64 %72)\n %74 = trunc i64 %73 to i32\n %75 = icmp slt i32 %74, 0\n %76 = icmp eq i1 %75, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %76, label LBL_11, label LBL_24\n LBL_11:\n %77 = add i64 %9, 304\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, 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 = sext i32 %arg3 to i64\n %84 = icmp slt i64 %83, %82\n br i1 %84, label LBL_12, label LBL_13\n LBL_12:\n %85 = zext i32 %41 to i64\n %86 = call i64 @FUNC(i64 %9, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %85, i64 %r8.0.reload, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_13:\n %87 = load i32, i32* %40, align 4\n %88 = ashr i32 %87, 4\n %89 = add i64 %9, 24\n %90 = inttoptr i64 %89 to i32*\n store i32 %88, i32* %90, align 4\n %91 = add i64 %4, 365\n %92 = inttoptr i64 %91 to i8*\n %93 = load i8, i8* %92, align 1\n %94 = zext i8 %93 to i32\n %95 = add i64 %9, 28\n %96 = inttoptr i64 %95 to i32*\n store i32 %94, i32* %96, align 4\n %97 = load i32, i32* %90, align 4\n %98 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i32 %97, i32 %94, i64 %r8.0.reload, i64 %1)\n %99 = load i32, i32* %35, align 4\n %100 = add i32 %99, 15\n %101 = ashr i32 %100, 4\n %102 = load i32, i32* %96, align 4\n %103 = icmp eq i32 %101, %102\n %104 = icmp eq i1 %103, false\n store i32 %99, i32* %.reg2mem\n store i32 %102, i32* %.reg2mem13\n br i1 %104, label LBL_16, label LBL_14\n LBL_14:\n %105 = add i64 %9, 12\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = icmp eq i32 %107, 0\n store i32 %99, i32* %.reg2mem\n store i32 %102, i32* %.reg2mem13\n br i1 %108, label LBL_16, label LBL_15\n LBL_15:\n %109 = mul i32 %99, 2\n store i32 %109, i32* %35, align 4\n %.pr.pre = load i32, i32* %96, align 4\n store i32 %109, i32* %.reg2mem\n store i32 %.pr.pre, i32* %.reg2mem13\n br label LBL_16\n LBL_16:\n %.reload14 = load i32, i32* %.reg2mem13\n %110 = icmp sgt i32 %.reload14, 68\n br i1 %110, label LBL_20, label LBL_17\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %111 = add i64 %9, 12\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = urem i32 %113, 32\n %115 = shl i32 %.reload14, %114\n %116 = add i32 %.reload, 15\n %117 = ashr i32 %116, 4\n %118 = icmp ugt i32 %115, %117\n br i1 %118, label LBL_20, label LBL_18\n LBL_18:\n %119 = icmp eq i32 %.reload14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %119, label LBL_24, label LBL_19\n LBL_19:\n %120 = add i64 %4, 368\n %121 = add i64 %9, 32\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_21\n LBL_20:\n %122 = zext i32 %.reload14 to i64\n %123 = call i64 @FUNC(i64 %9, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_6, i64 0, i64 0), i64 %122, i64 %r8.0.reload, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %124 = mul i32 %storemerge2.reload, 4\n %125 = sext i32 %124 to i64\n %126 = add i64 %120, %125\n %127 = call i64 @FUNC(i64 %126)\n %128 = add nsw i64 %.reload16, 8\n %129 = trunc i64 %127 to i32\n %130 = mul i64 %128, 4\n %131 = add i64 %130, %9\n %132 = inttoptr i64 %131 to i32*\n store i32 %129, i32* %132, align 4\n %133 = mul i64 %.reload16, 4\n %134 = add i64 %121, %133\n %135 = inttoptr i64 %134 to i32*\n %136 = load i32, i32* %135, align 4\n %137 = trunc i64 %128 to i32\n %138 = call i64 @FUNC(i64 %126, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i32 %136, i32 %137, i64 %r8.0.reload, i64 %1)\n %139 = load i32, i32* %135, align 4\n %140 = add i32 %139, 639\n %141 = zext i32 %140 to i64\n %142 = icmp sgt i64 %83, %141\n br i1 %142, label LBL_23, label LBL_22\n LBL_22:\n %143 = call i64 @FUNC(i64 %126, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0), i64 %128, i64 %r8.0.reload, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_23:\n %144 = add i32 %storemerge2.reload, 1\n %145 = load i32, i32* %96, align 4\n %146 = zext i32 %145 to i64\n %147 = sext i32 %144 to i64\n %148 = icmp slt i64 %147, %146\n store i64 %147, i64* %.reg2mem15\n store i32 %144, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %148, label LBL_21, 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 %128, { 1, 2, 0 }\n uselistorder i64 %.reload16, { 1, 0 }\n uselistorder i32 %.reload14, { 3, 2, 0, 1 }\n uselistorder i32 %99, { 2, 0, 1, 3 }\n uselistorder i32* %96, { 1, 0, 2, 3 }\n uselistorder i32* %49, { 1, 0 }\n uselistorder i32 %41, { 2, 0, 1 }\n uselistorder i64 %36, { 2, 3, 0, 1, 4, 5 }\n uselistorder i32* %35, { 1, 0, 2, 3 }\n uselistorder i64 %r8.0.reload, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %9, { 0, 9, 1, 10, 11, 12, 13, 16, 14, 15, 17, 8, 19, 18, 5, 7, 6, 20, 21, 2, 3, 4 }\n uselistorder i64 %4, { 0, 4, 5, 1, 6, 7, 8, 3, 9, 2 }\n uselistorder i64 %1, { 8, 3, 7, 2, 6, 1, 0, 5, 4 }\n uselistorder i64* %.reg2mem15, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 7, 2, 8, 3, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @AV_RB32, { 1, 0 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @ff_dsputil_init, { 1, 0 }\n uselistorder i32 10, { 1, 0, 2 }\n uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @av_dlog, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @AV_RB16, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 }\n uselistorder i32 639, { 1, 0 }\n uselistorder label LBL_24, { 0, 4, 5, 1, 6, 2, 7, 3 }\n uselistorder label LBL_21, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bm_roundrect_6733", "fun_name": "bm_roundrect", "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.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 ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 24, 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 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %sext7 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext7, 32\n %sext8 = mul i64 %arg4, 4294967296\n %5 = ashr exact i64 %sext8, 32\n %sext9 = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext9, 32\n %7 = trunc i64 %arg6 to i32\n %sext10 = mul i64 %arg6, 4294967296\n %8 = ashr exact i64 %sext10, 32\n %9 = sub i32 0, %7\n %10 = mul i32 %7, 2\n %11 = sub i32 2, %10\n %12 = sub nsw i64 %5, %8\n %13 = and i64 %12, 4294967295\n %14 = add nsw i64 %8, %3\n %15 = and i64 %14, 4294967295\n %16 = trunc i64 %4 to i32\n %17 = and i64 %4, 4294967295\n %18 = call i64 @FUNC(i64 %2, i64 %15, i32 %16, i64 %13, i64 %17)\n %19 = sub nsw i64 %6, %8\n %20 = add nsw i64 %8, %4\n %21 = trunc i64 %20 to i32\n %22 = and i64 %3, 4294967295\n %23 = and i64 %19, 4294967295\n %24 = call i64 @FUNC(i64 %2, i64 %22, i32 %21, i64 %22, i64 %23)\n %25 = trunc i64 %6 to i32\n %26 = and i64 %6, 4294967295\n %27 = call i64 @FUNC(i64 %2, i64 %15, i32 %25, i64 %13, i64 %26)\n %28 = and i64 %5, 4294967295\n %29 = call i64 @FUNC(i64 %2, i64 %28, i32 %21, i64 %28, i64 %23)\n store i32 %9, i32* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %11, 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 %30 = 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 %30, label LBL_4, label LBL_5\n LBL_4:\n %31 = add i32 %sv_2.0.reload, 1\n %32 = mul i32 %31, 2\n %33 = or i32 %32, 1\n %34 = add i32 %33, %sv_0.0.reload\n store i32 %31, i32* %sv_2.1.reg2mem\n store i32 %34, 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 %35 = icmp slt i32 %sv_1.0.reload, %sv_0.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 %35, label LBL_7, label LBL_6\n LBL_6:\n %36 = add i32 %sv_1.0.reload, 1\n %37 = mul i32 %36, 2\n %38 = or i32 %37, 1\n %39 = add i32 %sv_0.1.reload, %38\n store i32 %36, i32* %sv_1.1.reg2mem\n store i32 %39, i32* %sv_0.2.reg2mem\n store i32 %38, 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 %40 = 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 %40, 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 i64 %8, { 0, 2, 1, 3 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 0 }\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 i32* %sv_2.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i32, i64, i64)* @bm_line, { 3, 2, 1, 0 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_rx_pkt_is_vlan_stripped_3168", "fun_name": "net_rx_pkt_is_vlan_stripped", "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 ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([28 x i8], [28 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, 0\n %6 = icmp eq i1 %5, false\n %7 = zext i1 %6 to i64\n %8 = and i64 %1, 4294967040\n %9 = or i64 %8, %7\n ret i64 %9\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__blkdev_put_18067", "fun_name": "__blkdev_put", "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 i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sext3 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext3, 32\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %arg1, 32\n %7 = and i64 %2, 4294967295\n %8 = call i64 @FUNC(i64 %6, i64 %7)\n %9 = trunc i64 %2 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %11 = trunc i64 %1 to i32\n %.pre5 = bitcast i64* %rdi to i32*\n store i32* %.pre5, i32** %.pre-phi.reg2mem\n store i32 %11, i32* %.reg2mem\n br label LBL_3\n LBL_2:\n %12 = add i64 %arg1, 4\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 %.phi.trans.insert = bitcast i64* %rdi 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_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %16 = add i32 %.reload, -1\n %17 = inttoptr i64 %arg1 to i32*\n store i32 %16, i32* %17, align 4\n %18 = load i32, i32* %.pre-phi.reload, align 8\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 = add i64 %arg1, 40\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 = call i64 @FUNC(i64 %arg1)\n %27 = call i64 @FUNC(i64 %arg1)\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 = icmp eq i64 %30, %arg1\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = inttoptr i64 %5 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 = icmp eq i64 %36, 0\n %38 = and i64 %5, 4294967295\n %spec.select = select i1 %37, i64 0, i64 %38\n store i64 %spec.select, 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 store i64 0, i64* %sv_0.1.reg2mem\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %39 = inttoptr i64 %5 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %40, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %5)\n %45 = call i64 @FUNC(i64 %43)\n %46 = add i64 %arg1, 48\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 store i64 0, i64* %4, align 8\n %50 = add i64 %arg1, 24\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52, i64* nonnull @gv_0)\n %54 = load i64, i64* %29, align 8\n %55 = icmp eq i64 %54, %arg1\n store i64 0, i64* %29, align 8\n %spec.select8 = select i1 %55, i64 0, i64 %54\n store i64 %spec.select8, 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 %56 = call i64 @FUNC(i64 %6)\n %57 = call i64 @FUNC(i64 %arg1)\n %58 = icmp eq i64 %sv_0.1.reload, 0\n br i1 %58, label LBL_11, label LBL_10\n LBL_10:\n %59 = and i64 %arg2, 4294967295\n %60 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %59, i64 1)\n br label LBL_11\n LBL_11:\n ret i64 %sv_1.0.reload\n\n uselistorder i64 %5, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rdi, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 %arg1, { 8, 0, 6, 7, 1, 9, 3, 5, 4, 10, 2, 11, 12 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "yam_dotimer_9466", "fun_name": "yam_dotimer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) 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 = 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_4, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 %3)\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 = call i64 @FUNC(i64 %3)\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, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_1\n LBL_5:\n %9 = load i64, i64* @gv_1, align 8\n %10 = add i64 %9, 1\n store i64 %10, i64* @gv_2, align 8\n %11 = call i64 @FUNC(i64* nonnull @gv_2)\n ret i64 %11\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmc_core_check_read_lock_bit_4069", "fun_name": "pmc_core_check_read_lock_bit", "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 = and i64 %0, 2\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__iotc_calloc_6814", "fun_name": "__iotc_calloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = mul i64 %arg2, %arg1\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = zext i64 %arg2 to i128\n %3 = zext i64 %arg1 to i128\n %4 = mul nuw i128 %2, %3\n %5 = icmp ugt i128 %4, 18446744073709551615\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_4\n LBL_2:\n %sext = mul i64 %0, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = trunc i64 %0 to i32\n %11 = inttoptr i64 %8 to i64*\n %12 = call i64* @memset(i64* %11, i32 0, i32 %10)\n store i64 %8, 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, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "libAVFilter_QueryVendorInfo_15743", "fun_name": "libAVFilter_QueryVendorInfo", "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(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 store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i32* @wcsdup(i32* getelementptr inbounds ([6 x i32], [6 x i32]* @gv_1, i64 0, i64 0))\n %5 = ptrtoint i32* %4 to i64\n store i64 %5, i64* %arg2, 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": "output_frame_3196", "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 = add i64 %2, 40\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* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_8\n LBL_3:\n %14 = trunc i64 %1 to i32\n %15 = bitcast i64* %rdi to i32*\n %16 = ptrtoint i32* %arg1 to i64\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %2, 44\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %16, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %2, 48\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %3, 24\n store i32 %14, 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 %25, %38\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 %44, %3\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* %15, 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 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 8, { 0, 2, 1 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ok_png_decode2_7810", "fun_name": "ok_png_decode2", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\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 %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_7, i64 8)\n %2 = and i64 %1, 4294967295\n %3 = xor i64 %2, 1\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.1.reg2mem\n br i1 %6, label LBL_30, label LBL_1\n LBL_1:\n store i64 727905341920923785, i64* %sv_6, align 8\n %7 = ptrtoint i64* %sv_7 to i64\n store i64 %7, i64* %rdi, align 8\n %8 = call i32 @memcmp(i64* nonnull %sv_7, i64* nonnull %sv_6, i32 8)\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 %7, i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0))\n store i64 %10, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_3:\n %11 = add i64 %0, 8\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 %16 = icmp eq i1 %15, false\n %17 = icmp eq i1 %16, false\n %18 = bitcast i64* %rdi to i8*\n %19 = add i64 %0, 13\n %20 = inttoptr i64 %19 to i8*\n %21 = icmp ne i1 %16, true\n %22 = zext i1 %21 to i32\n %23 = icmp eq i1 %17, false\n store i32 0, i32* %sv_1.1.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br label LBL_24\n LBL_4:\n %24 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 8)\n %25 = and i64 %24, 4294967295\n %26 = xor i64 %25, 1\n %27 = trunc i64 %26 to i8\n %28 = icmp eq i8 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %26, i64* %rax.1.reg2mem\n br i1 %29, label LBL_30, label LBL_5\n LBL_5:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %30 = call i64 @FUNC(i64* nonnull %sv_5)\n %31 = call i64 @FUNC(i64* nonnull %sv_4)\n %32 = trunc i64 %31 to i32\n %33 = urem i32 %sv_1.1.reload, 256\n %34 = xor i32 %33, 1\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_7, label %switch.early.test\n LBL_6:\n %36 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0))\n store i64 %36, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_7:\n %37 = icmp eq i32 %32, 1229472850\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_8\n LBL_8:\n %39 = and i64 %30, 4294967295\n %40 = call i64 @FUNC(i64 %0, i64 %39)\n %41 = trunc i64 %40 to i8\n %42 = sext i8 %41 to i32\n %43 = icmp eq i8 %41, 0\n %or.cond13 = or i1 %17, %43\n store i32 1, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %42, i32* %sv_2.0.reg2mem\n br i1 %or.cond13, label LBL_22, label LBL_9\n LBL_9:\n %44 = load i8, i8* %18, align 8\n %45 = icmp eq i8 %44, 0\n store i32 1, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %42, i32* %sv_2.0.reg2mem\n br i1 %45, label LBL_22, label LBL_27\n LBL_10:\n %46 = icmp eq i32 %32, 1128743497\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %48 = and i64 %30, 4294967295\n %49 = call i64 @FUNC(i64 %0, i64 %48)\n %50 = trunc i64 %49 to i32\n %sext = mul i32 %50, 16777216\n %51 = ashr exact i32 %sext, 24\n store i8 1, i8* %20, align 1\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %51, i32* %sv_2.0.reg2mem\n br label LBL_22\n LBL_12:\n %52 = icmp eq i32 %32, 1347179589\n %53 = icmp eq i1 %15, %52\n br i1 %53, label LBL_13, label LBL_14\n LBL_13:\n %54 = and i64 %30, 4294967295\n %55 = call i64 @FUNC(i64 %0, i64 %54)\n %56 = trunc i64 %55 to i32\n %sext5 = mul i32 %56, 16777216\n %57 = ashr exact i32 %sext5, 24\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %57, i32* %sv_2.0.reg2mem\n br label LBL_22\n LBL_14:\n %58 = icmp eq i32 %32, 1951551059\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_18, label LBL_15\n LBL_15:\n br i1 %17, label LBL_17, label LBL_16\n LBL_16:\n %60 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %60, align 1\n store i64 %0, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_17:\n %61 = and i64 %30, 4294967295\n %62 = call i64 @FUNC(i64 %0, i64 %61)\n %63 = trunc i64 %62 to i32\n %sext6 = mul i32 %63, 16777216\n %64 = ashr exact i32 %sext6, 24\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %64, i32* %sv_2.0.reg2mem\n br label LBL_22\n LBL_18:\n %65 = icmp eq i32 %32, 1229209940\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_21, label LBL_19\n LBL_19:\n br i1 %23, label LBL_2716, label LBL_20\n LBL_20:\n %67 = and i64 %30, 4294967295\n %68 = call i64 @FUNC(i64 %0, i64 %67)\n %69 = trunc i64 %68 to i32\n %sext7 = mul i32 %69, 16777216\n %70 = ashr exact i32 %sext7, 24\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i32 %70, i32* %sv_2.0.reg2mem\n br label LBL_22\n LBL_21:\n %71 = icmp eq i32 %32, 1229278788\n %72 = icmp eq i1 %71, false\n %73 = and i64 %30, 4294967295\n %74 = call i64 @FUNC(i64 %0, i64 %73)\n %75 = trunc i64 %74 to i32\n %sext9 = mul i32 %75, 16777216\n %76 = ashr exact i32 %sext9, 24\n %spec.select = select i1 %72, i32 %sv_0.1.reload, i32 1\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n store i32 %76, i32* %sv_2.0.reg2mem\n br label LBL_22\n LBL_22:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %77 = urem i32 %sv_2.0.reload, 256\n %78 = xor i32 %77, 1\n %79 = icmp eq i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_2718, 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 %81 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 4)\n %82 = and i64 %81, 4294967295\n %83 = xor i64 %82, 1\n %84 = trunc i64 %83 to i8\n %85 = icmp eq i8 %84, 0\n %86 = icmp eq i1 %85, 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 %83, i64* %rax.1.reg2mem\n br i1 %86, label LBL_30, label LBL_24\n LBL_24:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %87 = trunc i32 %sv_0.1.reload to i8\n %88 = icmp eq i8 %87, 1\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_4, label LBL_25\n LBL_25:\n %90 = add i64 %0, 12\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = icmp eq i8 %92, 1\n store i64 0, i64* %rax.1.reg2mem\n br i1 %93, label LBL_30, label LBL_26\n LBL_26:\n %94 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 %94, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_27:\n %95 = zext i8 %44 to i64\n store i64 %95, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_28:\n %96 = icmp eq i1 %52, false\n %.mux.le = select i1 %96, i32 %34, i32 %22\n %rax.0.le = zext i32 %.mux.le to i64\n store i64 %rax.0.le, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_29:\n %97 = zext i32 %78 to i64\n store i64 %97, 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 i32 %sv_0.1.reload, { 0, 6, 7, 5, 4, 3, 2, 1 }\n uselistorder i1 %52, { 1, 0 }\n uselistorder i8 %41, { 1, 0 }\n uselistorder i32 %32, { 3, 2, 1, 6, 4, 5, 0 }\n uselistorder i32 %sv_1.1.reload, { 5, 1, 2, 3, 4, 0 }\n uselistorder i1 %17, { 1, 2, 0 }\n uselistorder i64* %sv_7, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 12, 9, 10, 8, 7, 0, 6, 4, 3, 2, 11, 5, 13, 14 }\n uselistorder i64* %rdi, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 1, 7, 6, 5, 4, 2, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 7, 6, 5, 4, 2, 3 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 1, 7, 6, 5, 4, 2, 3 }\n uselistorder i32* %sv_1.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 4, 5, 7, 8, 2, 10, 9, 1, 6, 11 }\n uselistorder i64 (i64, i64)* @ok_seek, { 1, 0 }\n uselistorder i32 1128743497, { 1, 0 }\n uselistorder i32 1229472850, { 1, 0 }\n uselistorder i64 (i64*)* @readBE32, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @ok_png_error, { 1, 2, 0 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5 }\n uselistorder i1 false, { 0, 11, 2, 3, 4, 6, 7, 8, 9, 10, 5, 1, 12, 13 }\n uselistorder i64 1, { 9, 6, 10, 7, 11, 8, 0, 1, 2, 3, 12, 4, 5 }\n uselistorder i64 4294967295, { 6, 0, 1, 2, 3, 4, 5, 7, 8, 9 }\n uselistorder i64 (i64, i64*, i64)* @ok_read, { 2, 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder label LBL_30, { 4, 3, 2, 8, 9, 1, 6, 7, 0, 10, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_fft_init_16678", "fun_name": "av_fft_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 0)\n store i64 %0, i64* %sv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = and i64 %arg1, 4294967295\n %3 = trunc i64 %arg2 to i32\n %4 = call i64 @FUNC(i64 %0, i64 %2, i32 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %0, i64* %.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64* nonnull %sv_0)\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "con_init_15141", "fun_name": "con_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 = 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 = load i64, i64* @gv_0, align 8\n %9 = zext i32 %7 to i64\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = add i64 %4, 8\n %12 = inttoptr i64 %11 to i8*\n %13 = inttoptr i64 %10 to i8*\n %14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %12, i32 256, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* %13)\n %15 = inttoptr i64 %10 to i64*\n call void @free(i64* %15)\n %16 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\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 i8*\n %19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\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 %4, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %16, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_3:\n %sext = mul i64 %3, 4294967296\n %22 = ashr exact i64 %sext, 29\n %23 = add i64 %22, ptrtoint (i64* @gv_5 to i64)\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 br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = and i64 %3, 4294967295\n %29 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0), i64 %28, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %30 = add i64 %4, 264\n %31 = inttoptr i64 %30 to i64*\n store i64 %25, i64* %31, 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 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %2, { 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 4294967295, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @xen_be_printf, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "EVP_MD_CTX_destroy_5705", "fun_name": "EVP_MD_CTX_destroy", "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 i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_ellipse_6745", "fun_name": "bm_ellipse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.329.reg2mem = alloca i64\n %sv_1.230.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i64\n %sv_4.2.reg2mem = alloca i64\n %sv_5.2.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i64\n %sv_6.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_6.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_4.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_5.1.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 ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %sext5 = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext5, 32\n %sext6 = mul i64 %arg4, 4294967296\n %4 = ashr exact i64 %sext6, 32\n %5 = sub i64 %arg4, %arg2\n %6 = trunc i64 %5 to i32\n %7 = sub i32 0, %6\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = select i1 %9, i32 %7, i32 %6\n %11 = sub i64 %arg5, %arg3\n %12 = trunc i64 %11 to i32\n %13 = sub i32 0, %12\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = select i1 %15, i32 %13, i32 %12\n %17 = urem i32 %16, 2\n %18 = mul i32 %16, %16\n %19 = mul i32 %10, 4\n %20 = sub i32 4, %19\n %21 = mul i32 %20, %18\n %22 = sext i32 %21 to i64\n %23 = add nuw nsw i32 %17, 1\n %24 = mul i32 %10, %10\n %25 = mul i32 %24, 4\n %26 = mul i32 %25, %23\n %27 = sext i32 %26 to i64\n %28 = mul nuw i32 %17, %24\n %29 = sext i32 %28 to i64\n %30 = add nsw i64 %22, %29\n %31 = add nsw i64 %30, %27\n %32 = trunc i64 %2 to i32\n %33 = trunc i64 %4 to i32\n %34 = icmp sgt i32 %32, %33\n %35 = add i32 %10, %33\n %36 = sext i32 %35 to i64\n %sv_5.0 = select i1 %34, i64 %4, i64 %2\n %sv_4.0 = select i1 %34, i64 %36, i64 %4\n %37 = trunc i64 %3 to i32\n %38 = trunc i64 %arg5 to i32\n %39 = icmp sgt i32 %37, %38\n %spec.select = select i1 %39, i64 %arg5, i64 %3\n %40 = add i32 %16, 1\n %41 = icmp slt i32 %40, 0\n %42 = zext i1 %41 to i32\n %43 = add i32 %40, %42\n %44 = ashr i32 %43, 1\n %45 = trunc i64 %spec.select to i32\n %46 = add i32 %44, %45\n %47 = sext i32 %46 to i64\n %48 = sub i32 %46, %17\n %49 = sext i32 %48 to i64\n %50 = mul i32 %24, 8\n %51 = mul i32 %18, 8\n %52 = sext i32 %50 to i64\n %53 = sext i32 %51 to i64\n store i64 %sv_5.0, i64* %sv_5.1.reg2mem\n store i64 %47, i64* %sv_0.1.reg2mem\n store i64 %sv_4.0, i64* %sv_4.1.reg2mem\n store i64 %49, i64* %sv_1.0.reg2mem\n store i64 %22, i64* %sv_3.0.reg2mem\n store i64 %27, i64* %sv_6.0.reg2mem\n store i64 %31, i64* %sv_2.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_6.0.reload = load i64, i64* %sv_6.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_4.1.reload = load i64, i64* %sv_4.1.reg2mem\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_5.1.reload = load i64, i64* %sv_5.1.reg2mem\n %54 = mul i64 %sv_2.0.reload, 2\n %55 = icmp sgt i64 %54, %sv_6.0.reload\n store i64 %54, i64* %.pre-phi.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_6.0.reload, i64* %sv_6.1.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem\n br i1 %55, label LBL_5, label LBL_4\n LBL_4:\n %56 = mul i64 %sv_0.1.reload, 4294967296\n %sext18 = add i64 %56, 4294967296\n %57 = ashr exact i64 %sext18, 32\n %58 = mul i64 %sv_1.0.reload, 4294967296\n %sext19 = add i64 %58, -4294967296\n %59 = ashr exact i64 %sext19, 32\n %60 = add i64 %sv_6.0.reload, %52\n %61 = add i64 %sv_2.0.reload, %60\n %.pre = mul i64 %61, 2\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %57, i64* %sv_0.2.reg2mem\n store i64 %59, i64* %sv_1.1.reg2mem\n store i64 %60, i64* %sv_6.1.reg2mem\n store i64 %61, i64* %sv_2.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %sv_6.1.reload = load i64, i64* %sv_6.1.reg2mem\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 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %62 = icmp sge i64 %54, %sv_3.0.reload\n %63 = icmp slt i64 %sv_6.1.reload, %.pre-phi.reload\n %or.cond = or i1 %62, %63\n store i64 %sv_5.1.reload, i64* %sv_5.2.reg2mem\n store i64 %sv_4.1.reload, i64* %sv_4.2.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_6:\n %64 = mul i64 %sv_5.1.reload, 4294967296\n %sext20 = add i64 %64, 4294967296\n %65 = ashr exact i64 %sext20, 32\n %66 = mul i64 %sv_4.1.reload, 4294967296\n %sext21 = add i64 %66, -4294967296\n %67 = ashr exact i64 %sext21, 32\n %68 = add i64 %sv_3.0.reload, %53\n %69 = add i64 %sv_2.1.reload, %68\n store i64 %65, i64* %sv_5.2.reg2mem\n store i64 %67, i64* %sv_4.2.reg2mem\n store i64 %68, i64* %sv_3.1.reg2mem\n store i64 %69, i64* %sv_2.2.reg2mem\n br label LBL_7\n LBL_7:\n %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem\n %sv_4.2.reload = load i64, i64* %sv_4.2.reg2mem\n %sv_5.2.reload = load i64, i64* %sv_5.2.reg2mem\n %70 = trunc i64 %sv_5.2.reload to i32\n %71 = trunc i64 %sv_4.2.reload to i32\n %72 = icmp sgt i32 %70, %71\n store i64 %sv_5.2.reload, i64* %sv_5.1.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.1.reg2mem\n store i64 %sv_4.2.reload, i64* %sv_4.1.reg2mem\n store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_3.1.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_6.1.reload, i64* %sv_6.0.reg2mem\n store i64 %sv_2.2.reload, i64* %sv_2.0.reg2mem\n br i1 %72, label LBL_8, label LBL_3\n LBL_8:\n %73 = sub i64 %sv_0.2.reload, %sv_1.1.reload\n %74 = and i64 %73, 4294967295\n %75 = sext i32 %16 to i64\n %76 = icmp slt i64 %74, %75\n store i64 %sv_1.1.reload, i64* %sv_1.230.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.329.reg2mem\n store i64 %74, i64* %.lcssa.reg2mem\n br i1 %76, label LBL_9, label LBL_10\n LBL_9:\n %sv_0.329.reload = load i64, i64* %sv_0.329.reg2mem\n %sv_1.230.reload = load i64, i64* %sv_1.230.reg2mem\n %77 = mul i64 %sv_0.329.reload, 4294967296\n %sext24 = add i64 %77, 4294967296\n %78 = ashr exact i64 %sext24, 32\n %79 = mul i64 %sv_1.230.reload, 4294967296\n %sext27 = add i64 %79, -4294967296\n %80 = ashr exact i64 %sext27, 32\n %81 = sub nsw i64 %78, %80\n %82 = and i64 %81, 4294967295\n %83 = icmp slt i64 %82, %75\n store i64 %80, i64* %sv_1.230.reg2mem\n store i64 %78, i64* %sv_0.329.reg2mem\n store i64 %82, i64* %.lcssa.reg2mem\n br i1 %83, label LBL_9, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %75, { 1, 0 }\n uselistorder i64 %sv_5.2.reload, { 1, 0 }\n uselistorder i64 %sv_4.2.reload, { 1, 0 }\n uselistorder i64 %sv_6.1.reload, { 1, 0 }\n uselistorder i64 %sv_2.1.reload, { 1, 0 }\n uselistorder i64 %54, { 2, 0, 1 }\n uselistorder i64 %sv_5.1.reload, { 1, 0 }\n uselistorder i64 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %sv_4.1.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %sv_3.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_6.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_2.0.reload, { 1, 0, 2 }\n uselistorder i32 %24, { 0, 2, 1 }\n uselistorder i32 %17, { 1, 2, 0 }\n uselistorder i32 %16, { 2, 3, 4, 1, 0 }\n uselistorder i32 %10, { 1, 2, 3, 0 }\n uselistorder i64* %sv_5.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_4.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_6.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_6.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_5.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_4.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.230.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.329.reg2mem, { 2, 0, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 4, { 0, 2, 1 }\n uselistorder i64 4294967296, { 0, 9, 1, 2, 10, 3, 4, 11, 5, 6, 7, 8 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_allrouters_membership_10083", "fun_name": "setup_allrouters_membership", "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 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 20)\n %1 = call i32 @htonl(i32 -16646144)\n %2 = sext i32 %1 to i64\n store i64 %2, i64* %sv_0, align 8\n %3 = call i32 @htonl(i32 2)\n %4 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4\n %5 = call i32 @setsockopt(i32 %4, i32 41, i32 20, i64* nonnull %sv_0, i32 20)\n %6 = icmp slt i32 %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_1\n LBL_1:\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 98\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %11, 4\n %13 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %12)\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, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32)* @htonl, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_index_table_segment_3571", "fun_name": "mxf_read_index_table_segment", "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 %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = sext i32 %arg4 to i64\n %3 = sext i32 %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i32 %arg3, -16133\n %7 = zext i32 %6 to i64\n store i64 %7, i64* @0, align 8\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %arg3, label LBL_10 [\n i32 16133, label LBL_1\n i32 16134, label LBL_2\n i32 16135, label LBL_3\n i32 16136, label LBL_4\n i32 16137, label LBL_5\n i32 16138, label LBL_6\n i32 16139, label LBL_7\n i32 16140, label LBL_8\n i32 16141, label LBL_9\n ]\n LBL_1:\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = and i64 %1, 4294967295\n %12 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %2, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %13 = call i64 @FUNC(i64 %4)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %5, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = and i64 %13, 4294967295\n %18 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %2, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %19 = call i64 @FUNC(i64 %4)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %5, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = and i64 %19, 4294967295\n %24 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %2, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %25 = call i64 @FUNC(i64 %4)\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 = and i64 %25, 4294967295\n %30 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %2, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %31 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %arg5, i64 %arg6)\n %32 = call i64 @FUNC(i64 %4, i64 %5)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %33 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %2, i64 %arg5, i64 %arg6)\n %34 = call i64 @FUNC(i64 %4, i64 %5)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %35 = call i64 @FUNC(i64 %4)\n %36 = trunc i64 %35 to i32\n %37 = add i64 %5, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %4)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %5, 20\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = load i32, i32* %38, align 4\n %44 = and i64 %39, 4294967295\n %45 = zext i32 %43 to i64\n %46 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i64 %45, i64 %44, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %47 = call i64 @FUNC(i64 %4)\n %48 = add i64 %5, 24\n %49 = inttoptr i64 %48 to i64*\n store i64 %47, i64* %49, align 8\n %50 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_7, i64 0, i64 0), i64 %47, i64 %2, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %51 = call i64 @FUNC(i64 %4)\n %52 = add i64 %5, 32\n %53 = inttoptr i64 %52 to i64*\n store i64 %51, i64* %53, align 8\n %54 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i64 %51, i64 %2, i64 %arg5, i64 %arg6)\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 %5, { 8, 7, 5, 6, 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 9, 8, 6, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 10, 9, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @avio_rb64, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_dlog, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg6, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg5, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_10, { 7, 6, 5, 8, 9, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "show_mesh_iface_18490", "fun_name": "show_mesh_iface", "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 %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\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_4\n LBL_1:\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 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge2.reg2mem\n br i1 %7, label LBL_3, 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 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %13 = bitcast i64* %arg3 to i8*\n %14 = inttoptr i64 %storemerge2.reload to i8*\n %15 = call i32 (i8*, i8*, ...) @sprintf(i8* %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* %14)\n %16 = sext i32 %15 to i64\n %17 = add i64 %2, 16\n %18 = call i64 @FUNC(i64 %17, i64 4198755)\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 i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "migration_end_2314", "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 0, i64* @gv_2, align 8\n store i64 0, i64* @gv_3, align 8\n store i64 0, i64* @gv_4, 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": "0" }, { "dataset": "CompRealVul", "file": "gxf_packet_792", "fun_name": "gxf_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* %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 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_15\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = bitcast i32* %sv_1 to i64*\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %5, i64* nonnull %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_5, label LBL_3\n LBL_3:\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 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_15, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %16 = load i32, i32* %sv_0, align 4\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 i32, i32* %sv_1, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %0, i64 %20)\n br label LBL_7\n LBL_7:\n %22 = call i64 @FUNC(i64 %0)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %24, label LBL_2, label LBL_15\n LBL_8:\n %25 = icmp eq i32 %16, 1\n %26 = load i32, i32* %sv_1, align 4\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %0, i64 %27)\n br label LBL_7\n LBL_10:\n %29 = icmp sgt i32 %26, 15\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n %30 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_7\n LBL_12:\n %31 = add i32 %26, -16\n store i32 %31, i32* %sv_1, align 4\n %32 = call i64 @FUNC(i64 %0)\n %33 = trunc i64 %32 to i32\n %34 = call i64 @FUNC(i64 %0)\n %35 = and i64 %34, 4294967295\n %36 = call i64 @FUNC(i64 %0, i64 %35, i32 %33)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_14, label LBL_13\n LBL_13:\n %40 = and i64 %36, 4294967295\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %41 = call i64 @FUNC(i64 %0)\n %42 = trunc i64 %41 to i32\n %43 = call i64 @FUNC(i64 %0)\n %44 = call i64 @FUNC(i64 %0)\n %45 = call i64 @FUNC(i64 %0)\n %46 = call i64 @FUNC(i64 %0)\n %47 = load i32, i32* %sv_1, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %0, i64 %4, i64 %48)\n %50 = bitcast i64* %arg2 to i32*\n store i32 %37, i32* %50, align 4\n %51 = add i64 %4, 4\n %52 = inttoptr i64 %51 to i32*\n store i32 %42, i32* %52, align 4\n %53 = and i64 %49, 4294967295\n store i64 %53, 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 %26, { 0, 2, 1 }\n uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 }\n uselistorder i64 %0, { 6, 11, 10, 9, 8, 7, 12, 14, 13, 5, 4, 16, 3, 1, 2, 15, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 4, 3, 2 }\n uselistorder i64 (i64)* @get_be32, { 2, 1, 0 }\n uselistorder i64 (i64)* @get_byte, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder i32 0, { 1, 5, 2, 3, 4, 0 }\n uselistorder i64 (i64)* @url_feof, { 1, 2, 0 }\n uselistorder label LBL_15, { 4, 5, 0, 3, 2, 1 }\n uselistorder label LBL_7, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_isom_write_5877", "fun_name": "gf_isom_write", "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 %. = select i1 %1, i64 0, i64 4294967295\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_blocksize_724", "fun_name": "get_blocksize", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %4 = load i32, i32* %0\n %5 = load i32, i32* %0\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* @memset(i64* nonnull %sv_2, i32 0, i32 10)\n %7 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 8)\n store i64 37, i64* %sv_2, align 8\n %8 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 88)\n store i64 83, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64 %1, i64 8837, i64* nonnull %sv_0)\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* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = mul i32 %5, 16777216\n %14 = mul i32 %4, 65536\n %15 = and i32 %14, 16711680\n %16 = mul i32 %3, 256\n %17 = and i32 %16, 65280\n %18 = urem i32 %2, 256\n %19 = or i32 %17, %18\n %20 = or i32 %19, %15\n %21 = or i32 %20, %13\n %22 = zext i32 %21 to i64\n store i64 %22, 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_2, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* %0, { 3, 2, 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xml_create_patchset_10614", "fun_name": "xml_create_patchset", "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 %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i1\n %rdx.2.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg4 to i64\n %sv_2 = alloca i32, align 4\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = and i64 %arg6, 4294967295\n store i32 0, i32* %sv_2, align 4\n %3 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %arg3)\n %5 = call i64 @FUNC(i64 %arg3)\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 1\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %2, i64 %0, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_2:\n %10 = call i64 @FUNC(i64 %arg3)\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8* %arg4, null\n store i64 %2, i64* %rdx.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = urem i64 %10, 256\n store i8 %11, i8* %arg4, align 1\n store i64 %13, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %14 = trunc i64 %arg5 to i8\n %15 = icmp eq i8 %14, 0\n %16 = icmp eq i8 %11, 0\n %or.cond = or i1 %15, %16\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %17 = and i64 %1, 4294967295\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %rdx.0.reload, i64 %0, i64 %arg5, i64 %arg6)\n %19 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64* nonnull @gv_4)\n %20 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i32* nonnull %sv_2)\n %21 = load i32, i32* %sv_2, align 4\n %22 = add i32 %21, 1\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 %23)\n store i64 %23, i64* %rdx.1.reg2mem\n br label LBL_8\n LBL_6:\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %25 = and i64 %1, 4294967295\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i64 %25, i64 %rdx.0.reload, i64 %0, i64 %arg5, i64 %arg6)\n %27 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i32* nonnull %sv_2)\n %28 = load i32, i32* %sv_2, align 4\n %29 = add i32 %28, 1\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %30)\n store i64 %30, i64* %rdx.1.reg2mem\n br label LBL_8\n LBL_8:\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %32 = trunc i64 %1 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %1, i64* %sv_1.1.reg2mem\n store i64 %rdx.1.reload, i64* %rdx.2.reg2mem\n br i1 %34, label LBL_12, label LBL_9\n LBL_9:\n %35 = call i64 @FUNC()\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 0\n store i64 1, i64* %sv_1.0.reg2mem\n br i1 %37, label LBL_10, label LBL_11\n LBL_10:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 %3)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n %. = select i1 %41, i64 1, i64 2\n store i64 %., 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 %42 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_8, i64 0, i64 0), i64 %sv_1.0.reload, i64 %3, i64 %0, i64 %arg5, i64 %arg6)\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %3, i64* %rdx.2.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %43 = trunc i64 %sv_1.1.reload to i32\n switch i32 %43, label LBL_15 [\n i32 1, label LBL_13\n i32 2, label LBL_14\n ]\n LBL_13:\n %44 = call i64 @FUNC(i64 %arg2, i64 %arg3, i8 %11, i8 1)\n store i1 false, i1* %sv_0.0.reg2mem\n store i64 %44, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_14:\n %45 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %phitmp = trunc i64 %arg6 to i8\n %phitmp9 = icmp eq i8 %phitmp, 0\n store i1 %phitmp9, i1* %sv_0.0.reg2mem\n store i64 %45, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_15:\n %rdx.2.reload = load i64, i64* %rdx.2.reg2mem\n %46 = and i64 %sv_1.1.reload, 4294967295\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64 %46, i64 %rdx.2.reload, i64 %0, i64 %arg5, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem\n %48 = icmp eq i64 %storemerge.reload, 0\n %or.cond8 = or i1 %sv_0.0.reload, %48\n store i64 %storemerge.reload, i64* %rax.0.reg2mem\n br i1 %or.cond8, label LBL_18, label LBL_17\n LBL_17:\n %49 = call i64 @FUNC(i64 %arg3, i64 0, i64 1, i64 %3)\n %50 = inttoptr i64 %49 to i64*\n %51 = call i64 @FUNC(i64 %storemerge.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_10, i64 0, i64 0), i64* %50)\n call void @free(i64* %50)\n store i64 %storemerge.reload, 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 %storemerge.reload, { 1, 3, 0, 2 }\n uselistorder i64 %rdx.0.reload, { 1, 0, 2 }\n uselistorder i64 %3, { 3, 0, 1, 2 }\n uselistorder i64 %1, { 0, 4, 3, 2, 1 }\n uselistorder i32* %sv_2, { 2, 0, 3, 1, 4 }\n uselistorder i64 %0, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rdx.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i8*, i64)* @crm_xml_add_int, { 1, 0 }\n uselistorder i64 (i64, i8*, i32*)* @crm_element_value_int, { 1, 0 }\n uselistorder i64 (i64, i8*, i64*)* @crm_xml_add, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @crm_trace, { 3, 2, 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 0, 2, 3, 4 }\n uselistorder i64 %arg6, { 5, 0, 4, 3, 2, 1, 6 }\n uselistorder i64 %arg5, { 5, 4, 3, 2, 0, 1 }\n uselistorder i8* %arg4, { 1, 0, 2 }\n uselistorder i64 %arg3, { 6, 5, 7, 4, 3, 0, 2, 1, 8, 9, 10 }\n uselistorder label LBL_18, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "neigh_dump_info_7912", "fun_name": "neigh_dump_info", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %.in.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_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 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = load i32*, i32** @gv_1, align 8\n %9 = icmp eq i32* %8, null\n %10 = icmp eq i1 %9, false\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_9\n LBL_1:\n %11 = ptrtoint i32* %8 to i64\n %12 = icmp eq i32 %4, 0\n %13 = add i64 %0, 12\n %14 = inttoptr i64 %13 to i64*\n %15 = ptrtoint i32* %arg1 to i64\n store i64 %11, i64* %.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 i64, i64* %.in.reg2mem\n %16 = icmp slt i32 %storemerge3.reload, %7\n br i1 %16, label LBL_8, label LBL_3\n LBL_3:\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %17 = inttoptr i64 %.in.reload to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %4, %18\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_5\n LBL_5:\n %21 = icmp sgt i32 %storemerge3.reload, %7\n br i1 %21, label LBL_6, label LBL_7\n LBL_6:\n %22 = call i64* @memset(i64* %14, i32 0, i32 4)\n br label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %.in.reload, i64 %15, i64 %0)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n store i32 %storemerge3.reload, i32* %storemerge.lcssa.reg2mem\n br i1 %25, label LBL_9, label LBL_8\n LBL_8:\n %26 = add i64 %.in.reload, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i32 %storemerge3.reload, 1\n %30 = icmp eq i64 %28, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %.in.reg2mem\n store i32 %29, i32* %storemerge3.reg2mem\n store i32 %29, i32* %storemerge.lcssa.reg2mem\n br i1 %31, label LBL_2, label LBL_9\n LBL_9:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %32 = call i64 @FUNC(i64* nonnull @gv_0)\n store i32 %storemerge.lcssa.reload, i32* %6, align 4\n %33 = bitcast i64* %rdi to i32*\n %34 = load i32, i32* %33, align 8\n %35 = zext i32 %34 to i64\n ret i64 %35\n\n uselistorder i64 %.in.reload, { 2, 1, 0 }\n uselistorder i32 %storemerge3.reload, { 3, 0, 1, 2 }\n uselistorder i32* %8, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_fm801_free_18471", "fun_name": "snd_fm801_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 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64 0)\n %6 = trunc i64 %5 to i16\n %7 = or i16 %6, 195\n %8 = call i64 @FUNC(i64 %2, i64 0, i16 %7)\n br label LBL_2\n LBL_2:\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = urem i16 %11, 2\n %13 = icmp eq i16 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = add i64 %2, 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %2, 12\n %18 = call i64 @FUNC(i64 %17)\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %2, { 1, 2, 0, 4, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "msg_cache_check_10055", "fun_name": "msg_cache_check", "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 %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg3, 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* %arg3 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 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %10 = trunc i64 %1 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_7, label LBL_3\n LBL_3:\n %12 = add i64 %4, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i32, i32* %storemerge1.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 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_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %21, 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 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_6, label LBL_8\n LBL_6:\n %27 = add i32 %storemerge1.reload, 1\n %28 = sext i32 %27 to i64\n %29 = icmp sgt i64 %14, %28\n store i64 %28, i64* %.reg2mem\n store i32 %27, i32* %storemerge1.reg2mem\n br i1 %29, label LBL_4, label LBL_7\n LBL_7:\n %30 = ptrtoint i64* %arg2 to i64\n %31 = call i64 @FUNC(i64 %arg1)\n %32 = call i64 @FUNC(i64 %30, i64 %31)\n store i64 %32, 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 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pic_arrays_init_3731", "fun_name": "pic_arrays_init", "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 %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 %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 = mul i32 %9, %6\n %11 = add i64 %2, 12\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 = mul i32 %16, %13\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 = ashr i32 %6, 3\n %25 = bitcast i64* %arg1 to i32*\n store i32 %24, i32* %25, align 4\n %26 = ashr i32 %9, 3\n %27 = add i64 %3, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = sext i32 %17 to i64\n %30 = call i64 @FUNC(i64 %29, i64 1)\n %31 = add i64 %3, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = call i64 @FUNC(i64 %29, i64 1)\n %34 = add i64 %3, 16\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = sext i32 %10 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %3, 24\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = load i64, i64* %32, align 8\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_10, label LBL_1\n LBL_1:\n %42 = load i64, i64* %35, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i64 %37, 0\n %or.cond = or i1 %44, %43\n br i1 %or.cond, label LBL_10, label LBL_2\n LBL_2:\n %45 = trunc i64 %1 to i32\n %46 = urem i32 %45, 32\n %47 = ashr i32 %6, %46\n %48 = add i32 %47, 1\n %49 = ashr i32 %9, %46\n %50 = add i32 %49, 1\n %51 = mul i32 %50, %48\n %52 = sext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = add i64 %3, 32\n %55 = inttoptr i64 %54 to i64*\n store i64 %53, i64* %55, align 8\n %56 = add i64 %2, 28\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i64 %2, 32\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = mul i32 %61, %58\n %63 = sext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %63)\n %65 = add i64 %3, 40\n %66 = inttoptr i64 %65 to i64*\n store i64 %64, i64* %66, align 8\n %67 = load i64, i64* %55, align 8\n %68 = icmp eq i64 %67, 0\n %69 = icmp eq i64 %64, 0\n %or.cond3 = or i1 %69, %68\n br i1 %or.cond3, label LBL_10, label LBL_3\n LBL_3:\n %70 = mul i32 %23, %20\n %71 = add i64 %2, 36\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add i64 %2, 40\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = mul i32 %76, %73\n %78 = sext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %78)\n %80 = add i64 %3, 48\n %81 = inttoptr i64 %80 to i64*\n store i64 %79, i64* %81, align 8\n %82 = sext i32 %70 to i64\n %83 = call i64 @FUNC(i64 %82)\n %84 = add i64 %3, 56\n %85 = inttoptr i64 %84 to i64*\n store i64 %83, i64* %85, align 8\n %86 = call i64 @FUNC(i64 %82)\n %87 = add i64 %3, 64\n %88 = inttoptr i64 %87 to i64*\n store i64 %86, i64* %88, align 8\n %89 = load i64, i64* %85, align 8\n %90 = icmp eq i64 %89, 0\n br i1 %90, label LBL_10, label LBL_4\n LBL_4:\n %91 = load i64, i64* %81, align 8\n %92 = icmp eq i64 %91, 0\n %93 = icmp eq i64 %86, 0\n %or.cond4 = or i1 %93, %92\n br i1 %or.cond4, label LBL_10, label LBL_5\n LBL_5:\n %94 = call i64 @FUNC(i64 %29)\n %95 = add i64 %3, 72\n %96 = inttoptr i64 %95 to i64*\n store i64 %94, i64* %96, align 8\n %97 = call i64 @FUNC(i64 %52)\n %98 = add i64 %3, 80\n %99 = inttoptr i64 %98 to i64*\n store i64 %97, i64* %99, align 8\n %100 = call i64 @FUNC(i64 %52)\n %101 = add i64 %3, 88\n %102 = inttoptr i64 %101 to i64*\n store i64 %100, i64* %102, align 8\n %103 = icmp eq i64 %100, 0\n br i1 %103, label LBL_10, label LBL_6\n LBL_6:\n %104 = load i64, i64* %96, align 8\n %105 = icmp eq i64 %104, 0\n br i1 %105, label LBL_10, label LBL_7\n LBL_7:\n %106 = load i64, i64* %99, align 8\n %107 = icmp eq i64 %106, 0\n br i1 %107, label LBL_10, label LBL_8\n LBL_8:\n %108 = bitcast i64* %rdi to i32*\n %109 = load i32, i32* %108, align 8\n %110 = load i32, i32* %28, align 4\n %111 = add i32 %110, 1\n %112 = mul i32 %109, 2\n %113 = mul i32 %112, %111\n %114 = sext i32 %113 to i64\n %115 = call i64 @FUNC(i64 %114)\n %116 = add i64 %3, 96\n %117 = inttoptr i64 %116 to i64*\n store i64 %115, i64* %117, align 8\n %118 = load i32, i32* %108, align 8\n %119 = load i32, i32* %28, align 4\n %120 = add i32 %119, 1\n %121 = mul i32 %118, 2\n %122 = mul i32 %121, %120\n %123 = sext i32 %122 to i64\n %124 = call i64 @FUNC(i64 %123)\n %125 = add i64 %3, 104\n %126 = inttoptr i64 %125 to i64*\n store i64 %124, i64* %126, align 8\n %127 = load i64, i64* %117, align 8\n %128 = icmp eq i64 %127, 0\n %129 = icmp eq i64 %124, 0\n %or.cond5 = or i1 %129, %128\n br i1 %or.cond5, label LBL_10, label LBL_9\n LBL_9:\n %130 = call i64 @FUNC(i64 0, i64 4199138)\n %131 = add i64 %3, 112\n %132 = inttoptr i64 %131 to i64*\n store i64 %130, i64* %132, align 8\n %133 = call i64 @FUNC(i64 0, i64 4199164)\n %134 = add i64 %3, 120\n %135 = inttoptr i64 %134 to i64*\n store i64 %133, i64* %135, align 8\n %136 = load i64, i64* %132, align 8\n %137 = icmp eq i64 %136, 0\n %138 = icmp eq i64 %133, 0\n %or.cond6 = or i1 %138, %137\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %or.cond6, label LBL_10, label LBL_11\n LBL_10:\n %139 = call i64 @FUNC(i64 %3)\n store i64 4294967284, 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 i32 %46, { 1, 0 }\n uselistorder i32 %9, { 1, 2, 0 }\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i64 %3, { 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16 }\n uselistorder i64 %2, { 1, 0, 3, 2, 5, 4, 7, 6, 8, 9 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @av_buffer_pool_init, { 1, 0 }\n uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 }\n uselistorder i64 (i64)* @av_malloc, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @av_mallocz_array, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 0, 1, 4, 3, 2, 6, 5, 7, 9, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megaraid_sas_kill_hba_9285", "fun_name": "megaraid_sas_kill_hba", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 28\n %2 = call i64 @FUNC(i64 %1, i64 1)\n %3 = call i64 @FUNC(i64 1000)\n %4 = add i64 %0, 24\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_6, label LBL_1\n LBL_1:\n %8 = add i64 %0, 16\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 i32 %10, i32* %.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 1, i64 %15)\n %17 = load i64, i64* %14, align 8\n %18 = call i64 @FUNC(i64 %17)\n %.pr = load i32, i32* %9, align 4\n store i32 %.pr, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %19 = icmp eq i32 %.reload, 0\n br i1 %19, label LBL_7, label LBL_4\n LBL_4:\n %20 = add i64 %0, 20\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_7, label LBL_5\n LBL_5:\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = call i64* @memset(i64* %25, i32 255, i32 64)\n br label LBL_7\n LBL_6:\n %27 = add i64 %0, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %29, 4\n %31 = call i64 @FUNC(i64 1, i64 %30)\n br label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %0)\n ret i64 %32\n\n uselistorder i64 %0, { 2, 1, 4, 3, 6, 5, 0, 7 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @writel, { 1, 0 }\n uselistorder label LBL_7, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_incoming_migration_14249", "fun_name": "process_incoming_migration", "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 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 %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %5 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_1 to i64*), i32 1, i32 25, %_IO_FILE* %4)\n call void @exit(i32 0)\n unreachable\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n %8 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC()\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 i32 0, { 1, 0, 2 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs41_check_expired_stateid_4357", "fun_name": "nfs41_check_expired_stateid", "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 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 = and i32 %7, %arg3\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = call i64 @FUNC(i64 %6, i64 %10)\n %12 = trunc i64 %11 to i32\n store i64 %11, i64* %sv_0.0.reg2mem\n switch i32 %12, label LBL_2 [\n i32 0, label LBL_4\n i32 1, label LBL_3\n ]\n LBL_2:\n %13 = call i64 @FUNC(i64 %6, i64 %10)\n br label LBL_3\n LBL_3:\n %14 = sub i32 0, %arg3\n %15 = sub i32 %14, 1\n %16 = and i32 %7, %15\n %17 = bitcast i64* %arg1 to i32*\n store i32 %16, i32* %17, align 4\n store i64 %11, 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 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %18\n\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isVDSetTerminator_9731", "fun_name": "isVDSetTerminator", "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 i8\n %3 = icmp eq i8 %2, -1\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* %arg2 to i64\n %5 = add i64 %4, 6\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i8 %7, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %4, i64 7, i64 2041)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n %. = zext i1 %13 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 }", "label": "0" }, { "dataset": "CompRealVul", "file": "finalize_packet_2682", "fun_name": "finalize_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 %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, inttoptr (i64 -1 to i64*)\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 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %arg3 to i32\n %7 = sub i32 %6, %5\n %8 = add i64 %0, 16\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 = zext i32 %12 to i64\n %14 = mul i64 %13, 4294967296\n %15 = add i64 %10, 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 %0, i64 %18, i64 %14)\n %20 = sext i32 %7 to i64\n %21 = add i64 %19, %20\n store i64 %21, i64* %arg2, 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 %0, { 1, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_update_guest_debug_733", "fun_name": "kvm_update_guest_debug", "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 = 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 = icmp eq i32 %5, 0\n %7 = or i64 %arg2, 3\n %spec.select = select i1 %6, i64 %arg2, i64 %7\n store i64 %spec.select, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0)\n %9 = call i64 @FUNC(i64 %3, i64 4198752, i64* nonnull %sv_0)\n %10 = zext i32 %4 to i64\n ret i64 %10\n\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_dev_alloc_iovecs_9548", "fun_name": "vhost_dev_alloc_iovecs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %.reg2mem18 = alloca i32\n %storemerge16.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.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, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %3, label LBL_13, label LBL_1\n LBL_1:\n %4 = bitcast i64* %rdi to i32*\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %.pre = load i64, i64* %7, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge16.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge16.reload = load i32, i32* %storemerge16.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload = load i64, i64* %.reg2mem\n %8 = mul i64 %.reload17, 32\n %9 = add i64 %8, %.reload\n %10 = call i64 @FUNC(i64 1024, i64 0)\n %11 = inttoptr i64 %9 to i64*\n store i64 %10, i64* %11, align 8\n %12 = load i64, i64* %7, align 8\n %13 = call i64 @FUNC(i64 1024, i64 0)\n %14 = or i64 %8, 8\n %15 = add i64 %12, %14\n %16 = inttoptr i64 %15 to i64*\n store i64 %13, i64* %16, align 8\n %17 = load i64, i64* %7, align 8\n %18 = call i64 @FUNC(i64 1024, i64 0)\n %19 = or i64 %8, 16\n %20 = add i64 %17, %19\n %21 = inttoptr i64 %20 to i64*\n store i64 %18, i64* %21, align 8\n %22 = urem i32 %storemerge16.reload, 32\n %23 = shl i32 1, %22\n %24 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %25 = and i32 %24, %23\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = load i64, i64* %7, align 8\n %30 = call i64 @FUNC(i64 1024, i64 0)\n %31 = or i64 %8, 24\n %32 = add i64 %29, %31\n %33 = inttoptr i64 %32 to i64*\n store i64 %30, i64* %33, align 8\n br label LBL_4\n LBL_4:\n %34 = load i64, i64* %7, 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 = icmp eq i64 %37, 0\n br i1 %38, label LBL_10, label LBL_5\n LBL_5:\n %39 = add i64 %35, 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_10, label LBL_6\n LBL_6:\n %43 = add i64 %35, 16\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_10, label LBL_7\n LBL_7:\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %47 = add i64 %35, 24\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_10, label LBL_9\n LBL_9:\n %51 = add i32 %storemerge16.reload, 1\n %52 = load i32, i32* %4, 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 i64 %34, i64* %.reg2mem\n store i64 %54, i64* %.reg2mem16\n store i32 %51, i32* %storemerge16.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %55, label LBL_2, label LBL_13\n LBL_10:\n %56 = icmp slt i32 %storemerge16.reload, 0\n %57 = icmp eq i1 %56, false\n store i64 -12, i64* %storemerge2.reg2mem\n br i1 %57, label LBL_11, label LBL_13\n LBL_11:\n %58 = sext i32 %storemerge16.reload to i64\n %59 = mul i64 %58, 32\n %60 = add i64 %59, %34\n %61 = call i64 @FUNC(i64 %60)\n %62 = add i32 %storemerge16.reload, -1\n %63 = icmp slt i32 %62, 0\n %64 = icmp eq i1 %63, false\n store i32 %62, i32* %.reg2mem18\n store i64 -12, i64* %storemerge2.reg2mem\n br i1 %64, label LBL_12, label LBL_13\n LBL_12:\n %.reload19 = load i32, i32* %.reg2mem18\n %.pre10 = load i64, i64* %7, align 8\n %65 = sext i32 %.reload19 to i64\n %66 = mul i64 %65, 32\n %67 = add i64 %66, %.pre10\n %68 = call i64 @FUNC(i64 %67)\n %69 = add i32 %.reload19, -1\n %70 = icmp slt i32 %69, 0\n %71 = icmp eq i1 %70, false\n store i32 %69, i32* %.reg2mem18\n store i64 -12, i64* %storemerge2.reg2mem\n br i1 %71, label LBL_12, label LBL_13\n LBL_13:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %.reload19, { 1, 0 }\n uselistorder i64 %34, { 1, 0, 2 }\n uselistorder i64 %8, { 4, 2, 1, 0, 3 }\n uselistorder i32 %storemerge16.reload, { 1, 2, 3, 0, 4 }\n uselistorder i64* %7, { 0, 3, 2, 4, 5, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem16, { 1, 0, 2 }\n uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem18, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 2, 5, 1, 4 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @vhost_vq_free_iovecs, { 1, 0 }\n uselistorder i64 -12, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0, 2 }\n uselistorder i1 false, { 3, 0, 1, 2, 4 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @kmalloc, { 3, 2, 1, 0 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder i32 0, { 4, 1, 3, 5, 0, 2 }\n uselistorder label LBL_13, { 2, 1, 4, 0, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__del_gref_5271", "fun_name": "__del_gref", "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 %rdi = alloca i64, align 8\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 i32 %2, i32* %.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = bitcast i64* %rdi to i32*\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, 4\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 %9, %13\n %15 = inttoptr i64 %14 to i8*\n store i8 0, i8* %15, align 1\n %16 = load i64, i64* %7, align 8\n %17 = call i64 @FUNC(i64 %16)\n %.pre = load i32, i32* %5, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %18 = and i32 %.reload, 2\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = add i64 %arg1, 8\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 = load i32, i32* %21, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n br label LBL_4\n LBL_4:\n %28 = inttoptr i64 %arg1 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %arg1, 12\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_8, label LBL_5\n LBL_5:\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(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 i64 %34, i64* %rax.0.reg2mem\n br i1 %37, label LBL_11, label LBL_6\n LBL_6:\n %38 = load i32, i32* %30, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39, i64 0)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n store i64 %40, i64* %rax.0.reg2mem\n br i1 %42, label LBL_11, label LBL_7\n LBL_7:\n %43 = load i32, i32* %30, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n br label LBL_8\n LBL_8:\n %46 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %47 = add i32 %46, -1\n store i32 %47, i32* bitcast (i64* @gv_0 to i32*), align 8\n %48 = add i64 %arg1, 24\n %49 = call i64 @FUNC(i64 %48)\n %50 = add i64 %arg1, 16\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_10, label LBL_9\n LBL_9:\n %54 = call i64 @FUNC(i64 %52)\n br label LBL_10\n LBL_10:\n %55 = call i64 @FUNC(i64 %arg1)\n store i64 %55, 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* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 3, 2, 4, 5, 0, 7, 6 }\n uselistorder label LBL_11, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ircam_read_header_410", "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_13\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_13, 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_13\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_13\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, 4\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp slt i32 %49, 9\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %50, label LBL_10, label LBL_13\n LBL_10:\n %51 = add i64 %46, 8\n %52 = inttoptr i64 %51 to i32*\n store i32 %sv_1.0, i32* %52, align 4\n %53 = load i64, i64* %40, align 8\n %54 = and i64 %storemerge2.in.reload, 4294967295\n %55 = call i64 @FUNC(i64 %storemerge, i64 %54)\n %56 = trunc i64 %55 to i32\n %57 = add i64 %53, 12\n %58 = inttoptr i64 %57 to i32*\n store i32 %56, i32* %58, align 4\n %59 = load i64, i64* %40, align 8\n %60 = add i64 %59, 12\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 br i1 %64, label LBL_12, label LBL_11\n LBL_11:\n %65 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64 %54, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %66 = zext i32 %62 to i64\n %67 = call i64 @FUNC(i64 %66)\n %68 = trunc i64 %67 to i32\n %69 = add i64 %59, 16\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = load i64, i64* %40, 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 i64 %71, 4\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = mul i32 %77, %74\n %79 = sdiv i32 %78, 128\n %80 = add i64 %71, 20\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = load i64, i64* %40, align 8\n %83 = add i64 %82, 8\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = zext i32 %85 to i64\n %87 = call i64 @FUNC(i64 %37, i64 64, i64 1, i64 %86)\n %88 = call i64 @FUNC(i64 %37, i64 1008)\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 %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, 7, 6, 2, 3, 4, 5, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 16, { 1, 2, 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_13, { 5, 6, 1, 2, 3, 4, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drc_set_usable_1459", "fun_name": "drc_set_usable", "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_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 = icmp eq i32 %5, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = add i64 %2, 12\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_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": "mov_write_st3d_tag_8660", "fun_name": "mov_write_st3d_tag", "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 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %3 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 %3, 4294967295\n %8 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\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, 2\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_7, label LBL_3\n LBL_3:\n %14 = icmp sgt i32 %12, 2\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n store i64 0, i64* %sv_0.0.reg2mem\n switch i32 %12, label LBL_6 [\n i32 0, label LBL_7\n i32 1, label LBL_5\n ]\n LBL_5:\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %15 = zext i32 %12 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = call i64 @FUNC(i64 %4, i64 13)\n %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %20 = call i64 @FUNC(i64 %4, i64 0)\n %21 = call i64 @FUNC(i64 %4, i64 %sv_0.0.reload)\n store i64 13, 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, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.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)* @avio_wb32, { 1, 0 }\n uselistorder i32 2, { 2, 0, 3, 1 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_av1_reset_state_5556", "fun_name": "gf_av1_reset_state", "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 %.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.02.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 store i64 %0, i64* %rdi.1.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 %0, i64* %rdi.02.reg2mem\n store i64 %0, i64* %rdi.1.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %rdi.02.reload = load i64, i64* %rdi.02.reg2mem\n %6 = call i64 @FUNC(i64 %rdi.02.reload)\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 = call i64 @FUNC(i64 %6)\n %12 = call i64 @FUNC(i64 %6)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %6, i64* %rdi.02.reg2mem\n store i64 %6, i64* %rdi.1.reg2mem\n br i1 %15, label LBL_2, label LBL_5\n LBL_5:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %16 = add i64 %0, 8\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* %.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %19, label LBL_11, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(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 i64 %18, i64* %.lcssa.reg2mem\n br i1 %23, label LBL_7, label LBL_10\n LBL_7:\n %24 = load i64, i64* %17, align 8\n %25 = call i64 @FUNC(i64 %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_9, label LBL_8\n LBL_8:\n %29 = call i64 @FUNC(i64 %27)\n br label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %25)\n %31 = load i64, i64* %17, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %31, i64* %.lcssa.reg2mem\n br i1 %35, label LBL_7, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %.pre = load i64, i64* %17, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %.lcssa.reload, i64* %rdi.2.reg2mem\n br label LBL_11\n LBL_11:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %36 = call i64* @memset(i64* %arg1, i32 0, i32 24)\n %37 = add i64 %0, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 1, i32* %38, align 4\n %39 = trunc i64 %arg2 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_15, label LBL_12\n LBL_12:\n %41 = call i64 @FUNC(i64 %.reload)\n %42 = call i64 @FUNC(i64 %rdi.2.reload)\n %43 = add i64 %0, 24\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 = add i64 %0, 40\n %48 = add i64 %0, 32\n %49 = call i64 @FUNC(i64 %45, i64 %48, i64* nonnull %sv_0, i64 %47)\n %50 = load i64, i64* %44, align 8\n %51 = call i64 @FUNC(i64 %50)\n br label LBL_14\n LBL_14:\n store i64 0, i64* %44, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n store i64 %.reload, i64* %17, align 8\n store i64 %rdi.2.reload, i64* %arg1, align 8\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_17, label LBL_16\n LBL_16:\n %56 = call i64 @FUNC(i64 %54, i64 0)\n store i64 %56, 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* %44, { 1, 0, 2 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %17, { 3, 0, 2, 1, 4 }\n uselistorder i64 %0, { 8, 0, 6, 7, 5, 9, 10, 1, 3, 4, 2 }\n uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @gf_list_del, { 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gf_list_pop_back, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i32 0, { 3, 2, 4, 1, 5, 0, 6, 7 }\n uselistorder i64 (i64)* @gf_list_count, { 3, 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_new_connection_id_frame_7094", "fun_name": "parse_new_connection_id_frame", "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 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* @malloc(i32 64)\n %5 = ptrtoint i64* %4 to i64\n %6 = icmp eq i64* %4, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0))\n %9 = call i64 @FUNC(i64 %0, i64 %5, i32 1, i32 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %10 = add i64 %0, 16\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 %15 = load i32, i32* %14, align 4\n %16 = icmp ult i32 %12, %15\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %0, i64 1, i64 3)\n %18 = call i64 @FUNC()\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %0, i64 %18)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %23 = add i64 %5, 32\n %24 = call i64 @FUNC(i64 %0)\n %25 = add i64 %24, %0\n %26 = call i64 @FUNC(i64 %25, i64 %3, i64 %23)\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_9, label LBL_5\n LBL_5:\n %28 = add i64 %5, 40\n %29 = call i64 @FUNC(i64 %26, i64 %3, i64 %28)\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_9, label LBL_6\n LBL_6:\n %31 = add i64 %5, 24\n %32 = call i64 @FUNC(i64 %29, i64 %3, i64 %31)\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_9, label LBL_7\n LBL_7:\n %34 = inttoptr i64 %31 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp ult i64 %35, 21\n br i1 %36, label LBL_8, label LBL_9\n LBL_8:\n %37 = add i64 %32, 16\n %38 = add i64 %37, %35\n %39 = icmp ult i64 %3, %38\n %storemerge = select i1 %39, i64 0, i64 %32\n %40 = icmp eq i64 %storemerge, 0\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 %0, i64 2, i64 3)\n call void @free(i64* %4)\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %43 = inttoptr i64 %storemerge to i64*\n %44 = trunc i64 %35 to i32\n %45 = call i64* @memcpy(i64* %4, i64* %43, i32 %44)\n %46 = load i64, i64* %34, align 8\n %47 = add i64 %46, %storemerge\n %48 = add i64 %5, 48\n %49 = add i64 %47, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = inttoptr i64 %47 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = inttoptr i64 %48 to i64*\n store i64 %53, i64* %54, align 8\n %55 = add i64 %5, 56\n %56 = inttoptr i64 %55 to i64*\n store i64 %51, i64* %56, align 8\n %57 = add i64 %47, 16\n %58 = load i32, i32* %11, align 4\n %59 = add i32 %58, 1\n store i32 %59, i32* %11, align 4\n store i64 %57, i64* %sv_1.0.reg2mem\n store i64 %5, 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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %60 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i32 1, i32 1)\n store i64 %sv_1.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 i64 %47, { 2, 1, 0 }\n uselistorder i64 %35, { 1, 0, 2 }\n uselistorder i64 %32, { 1, 0, 2 }\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder i64 %5, { 0, 2, 3, 4, 5, 6, 1 }\n uselistorder i64 %0, { 2, 3, 0, 4, 7, 8, 9, 6, 5, 1, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @picoquic_frames_varint_decode, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @picoquic_connection_error, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i32, i32)* @protoop_save_outputs, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_msg_5", "fun_name": "protocol_client_msg", "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 %.pre-phi.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\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 i8\n %5 = icmp ugt i8 %4, 6\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = urem i64 %1, 256\n store i64 %6, i64* @0, align 8\n store i64 %6, i64* %.pre-phi.reg2mem\n switch i8 %4, label LBL_47 [\n i8 0, label LBL_4\n i8 2, label LBL_6\n i8 3, label LBL_12\n i8 4, label LBL_14\n i8 5, label LBL_16\n i8 6, label LBL_18\n ]\n LBL_2:\n %7 = icmp eq i8 %4, -1\n br i1 %7, label LBL_23, label LBL_2.LBL_47_crit_edge\n LBL_3:\n %.pre = urem i64 %1, 256\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_47\n LBL_4:\n %8 = icmp eq i64 %arg3, 1\n %9 = icmp eq i1 %8, false\n store i64 20, i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_49\n LBL_5:\n %10 = call i64 @FUNC(i64 %2, i64 16)\n %11 = urem i64 %10, 256\n %12 = call i64 @FUNC(i64 %2, i64 15)\n %13 = urem i64 %12, 256\n %14 = call i64 @FUNC(i64 %2, i64 14)\n %15 = urem i64 %14, 256\n %16 = call i64 @FUNC(i64 %2, i64 12)\n %17 = urem i64 %16, 65536\n %18 = call i64 @FUNC(i64 %2, i64 10)\n %19 = urem i64 %18, 65536\n %20 = call i64 @FUNC(i64 %2, i64 8)\n %21 = trunc i64 %20 to i32\n %22 = urem i32 %21, 65536\n %23 = call i64 @FUNC(i64 %2, i64 7)\n %24 = trunc i64 %23 to i32\n %25 = urem i32 %24, 256\n %26 = call i64 @FUNC(i64 %2, i64 6)\n %27 = call i64 @FUNC(i64 %2, i64 5)\n %28 = call i64 @FUNC(i64 %2, i64 4)\n %29 = urem i64 %28, 256\n %30 = urem i64 %26, 256\n %31 = urem i64 %27, 256\n %32 = call i64 @FUNC(i64 %3, i64 %29, i64 %31, i64 %30, i32 %25, i32 %22, i64 %19, i64 %17, i64 %15, i64 %13, i64 %11)\n br label LBL_48\n LBL_6:\n %33 = icmp eq i64 %arg3, 1\n %34 = icmp eq i1 %33, false\n store i64 4, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_49\n LBL_7:\n %35 = icmp eq i64 %arg3, 4\n %36 = icmp eq i1 %35, false\n %37 = call i64 @FUNC(i64 %2, i64 2)\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %38 = mul i64 %37, 4\n %39 = and i64 %38, 262140\n %40 = add nuw nsw i64 %39, 4\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_49\n LBL_9:\n %41 = urem i64 %37, 65536\n %42 = icmp eq i64 %41, 0\n %.pre5 = add i64 %2, 4\n store i32 0, i32* %storemerge4.reg2mem\n br i1 %42, label LBL_11, label LBL_10\n LBL_10:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %43 = mul i32 %storemerge4.reload, 4\n %44 = add i32 %43, 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %2, i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = sext i32 %43 to i64\n %49 = add i64 %.pre5, %48\n %50 = inttoptr i64 %49 to i32*\n store i32 %47, i32* %50, align 4\n %51 = add i32 %storemerge4.reload, 1\n %52 = sext i32 %51 to i64\n %53 = icmp sgt i64 %41, %52\n store i32 %51, i32* %storemerge4.reg2mem\n br i1 %53, label LBL_10, label LBL_11\n LBL_11:\n %54 = trunc i64 %37 to i16\n %55 = call i64 @FUNC(i64 %3, i64 %.pre5, i16 %54)\n br label LBL_48\n LBL_12:\n %56 = icmp eq i64 %arg3, 1\n %57 = icmp eq i1 %56, false\n store i64 10, i64* %rax.0.reg2mem\n br i1 %57, label LBL_13, label LBL_49\n LBL_13:\n %58 = call i64 @FUNC(i64 %2, i64 8)\n %59 = call i64 @FUNC(i64 %2, i64 6)\n %60 = call i64 @FUNC(i64 %2, i64 4)\n %61 = call i64 @FUNC(i64 %2, i64 2)\n %62 = call i64 @FUNC(i64 %2, i64 1)\n %63 = urem i64 %62, 256\n %64 = urem i64 %58, 65536\n %65 = urem i64 %59, 65536\n %66 = urem i64 %60, 65536\n %67 = urem i64 %61, 65536\n %68 = call i64 @FUNC(i64 %3, i64 %63, i64 %67, i64 %66, i64 %65, i64 %64)\n br label LBL_48\n LBL_14:\n %69 = icmp eq i64 %arg3, 1\n %70 = icmp eq i1 %69, false\n store i64 8, i64* %rax.0.reg2mem\n br i1 %70, label LBL_15, label LBL_49\n LBL_15:\n %71 = call i64 @FUNC(i64 %2, i64 4)\n %72 = call i64 @FUNC(i64 %2, i64 1)\n %73 = and i64 %71, 4294967295\n %74 = urem i64 %72, 256\n %75 = call i64 @FUNC(i64 %3, i64 %74, i64 %73)\n br label LBL_48\n LBL_16:\n %76 = icmp eq i64 %arg3, 1\n %77 = icmp eq i1 %76, false\n store i64 6, i64* %rax.0.reg2mem\n br i1 %77, label LBL_17, label LBL_49\n LBL_17:\n %78 = call i64 @FUNC(i64 %2, i64 4)\n %79 = call i64 @FUNC(i64 %2, i64 2)\n %80 = call i64 @FUNC(i64 %2, i64 1)\n %81 = urem i64 %80, 256\n %82 = urem i64 %78, 65536\n %83 = urem i64 %79, 65536\n %84 = call i64 @FUNC(i64 %3, i64 %81, i64 %83, i64 %82)\n br label LBL_48\n LBL_18:\n %85 = icmp eq i64 %arg3, 1\n %86 = icmp eq i1 %85, false\n store i64 8, i64* %rax.0.reg2mem\n br i1 %86, label LBL_19, label LBL_49\n LBL_19:\n %87 = icmp eq i64 %arg3, 8\n %88 = icmp eq i1 %87, false\n br i1 %88, label LBL_22, label LBL_20\n LBL_20:\n %89 = call i64 @FUNC(i64 %2, i64 4)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n br i1 %91, label LBL_22, label LBL_21\n LBL_21:\n %92 = add i64 %89, 8\n %93 = and i64 %92, 4294967295\n store i64 %93, i64* %rax.0.reg2mem\n br label LBL_49\n LBL_22:\n %94 = add i64 %2, 8\n %95 = call i64 @FUNC(i64 %2, i64 4)\n %96 = and i64 %95, 4294967295\n %97 = call i64 @FUNC(i64 %3, i64 %96, i64 %94)\n br label LBL_48\n LBL_23:\n %98 = icmp eq i64 %arg3, 1\n %99 = icmp eq i1 %98, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %99, label LBL_24, label LBL_49\n LBL_24:\n %100 = call i64 @FUNC(i64 %2, i64 1)\n %trunc2 = trunc i64 %100 to i8\n switch i8 %trunc2, label LBL_46 [\n i8 0, label LBL_25\n i8 1, label LBL_27\n ]\n LBL_25:\n %101 = icmp eq i64 %arg3, 2\n %102 = icmp eq i1 %101, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %102, label LBL_26, label LBL_49\n LBL_26:\n %103 = call i64 @FUNC(i64 %2, i64 8)\n %104 = call i64 @FUNC(i64 %2, i64 4)\n %105 = call i64 @FUNC(i64 %2, i64 2)\n %106 = urem i64 %105, 65536\n %107 = and i64 %103, 4294967295\n %108 = and i64 %104, 4294967295\n %109 = call i64 @FUNC(i64 %3, i64 %106, i64 %108, i64 %107)\n br label LBL_48\n LBL_27:\n %110 = icmp eq i64 %arg3, 2\n %111 = icmp eq i1 %110, false\n store i64 4, i64* %rax.0.reg2mem\n br i1 %111, label LBL_28, label LBL_49\n LBL_28:\n %112 = call i64 @FUNC(i64 %2, i64 2)\n %113 = urem i64 %112, 65536\n %114 = icmp eq i64 %113, 2\n br i1 %114, label LBL_33, label LBL_29\n LBL_29:\n %115 = trunc i64 %113 to i32\n %116 = icmp ugt i32 %115, 2\n br i1 %116, label LBL_45, label LBL_30\n LBL_30:\n %trunc3 = trunc i64 %112 to i16\n switch i16 %trunc3, label LBL_45 [\n i16 0, label LBL_31\n i16 1, label LBL_32\n ]\n LBL_31:\n %117 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_32:\n %118 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_33:\n %119 = icmp eq i64 %arg3, 4\n %120 = icmp eq i1 %119, false\n store i64 10, i64* %rax.0.reg2mem\n br i1 %120, label LBL_34, label LBL_49\n LBL_34:\n %121 = call i64 @FUNC(i64 %2, i64 4)\n %122 = urem i64 %121, 256\n store i64 %122, i64* @1, align 8\n %trunc = trunc i64 %121 to i8\n switch i8 %trunc, label LBL_41 [\n i8 0, label LBL_35\n i8 1, label LBL_36\n i8 2, label LBL_37\n i8 3, label LBL_38\n i8 4, label LBL_39\n i8 5, label LBL_40\n ]\n LBL_35:\n %123 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %123, align 4\n br label LBL_42\n LBL_36:\n %124 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %124, align 4\n br label LBL_42\n LBL_37:\n %125 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %125, align 4\n br label LBL_42\n LBL_38:\n %126 = bitcast i64* %arg1 to i32*\n store i32 3, i32* %126, align 4\n br label LBL_42\n LBL_39:\n %127 = bitcast i64* %arg1 to i32*\n store i32 4, i32* %127, align 4\n br label LBL_42\n LBL_40:\n %128 = bitcast i64* %arg1 to i32*\n store i32 5, i32* %128, align 4\n br label LBL_42\n LBL_41:\n %129 = call i64 @FUNC(i64 %2, i64 4)\n %130 = urem i64 %129, 256\n %131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %130)\n %132 = call i64 @FUNC(i64 %3)\n br label LBL_42\n LBL_42:\n %133 = call i64 @FUNC(i64 %2, i64 5)\n %134 = trunc i64 %133 to i32\n %135 = urem i32 %134, 256\n %136 = add i64 %3, 4\n %137 = inttoptr i64 %136 to i32*\n store i32 %135, i32* %137, align 4\n %.off = add nsw i32 %135, -1\n %switch = icmp ult i32 %.off, 2\n br i1 %switch, label LBL_44, label LBL_43\n LBL_43:\n %138 = call i64 @FUNC(i64 %2, i64 5)\n %139 = urem i64 %138, 256\n %140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %139)\n %141 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_44:\n %142 = call i64 @FUNC(i64 %2, i64 6)\n %143 = trunc i64 %142 to i32\n %144 = add i64 %3, 8\n %145 = inttoptr i64 %144 to i32*\n store i32 %143, i32* %145, align 4\n br label LBL_48\n LBL_45:\n %146 = call i64 @FUNC(i64 %2, i64 4)\n %147 = urem i64 %146, 256\n %148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %147)\n %149 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_46:\n %150 = call i64 @FUNC(i64 %2, i64 0)\n %151 = urem i64 %150, 65536\n %152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %151)\n %153 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_47:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %.pre-phi.reload)\n %155 = call i64 @FUNC(i64 %3)\n br label LBL_48\n LBL_48:\n %156 = call i64 @FUNC(i64 %3, i64 4199231, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_49\n LBL_49:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %135, { 1, 0 }\n uselistorder i64 %121, { 1, 0 }\n uselistorder i64 %113, { 1, 0 }\n uselistorder i64 %112, { 1, 0 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i64 %.pre5, { 1, 0 }\n uselistorder i64 %37, { 2, 1, 0 }\n uselistorder i8 %4, { 2, 1, 0 }\n uselistorder i64 %3, { 15, 6, 7, 10, 12, 11, 13, 14, 8, 9, 16, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 26, 27, 29, 28, 30, 31, 32, 33, 34, 35, 36, 37, 25, 24, 23, 20, 21, 22, 18, 19, 13, 14, 15, 16, 17, 11, 0, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 13, 1, 2, 3, 4, 12, 5, 6, 7, 8, 11, 9, 10 }\n uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64)* @vnc_client_error, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 4, 3, 0, 2, 1 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 4, 0, 3, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i64 (i64, i64)* @read_u32, { 3, 2, 1, 6, 5, 4, 0 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 2, { 3, 5, 4, 6, 2, 0, 7, 8, 9, 1 }\n uselistorder i64 4, { 7, 17, 8, 9, 4, 0, 10, 11, 12, 13, 14, 15, 3, 5, 2, 6, 1, 16 }\n uselistorder i64 6, { 1, 0, 2, 3 }\n uselistorder i64 8, { 8, 4, 7, 2, 3, 0, 1, 5, 6 }\n uselistorder i64 65536, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 }\n uselistorder i64 (i64, i64)* @read_u16, { 2, 1, 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3 }\n uselistorder i64 (i64, i64)* @read_u8, { 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 }\n uselistorder i1 false, { 8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 1, { 9, 10, 2, 8, 11, 7, 12, 6, 13, 5, 4, 3, 0, 1 }\n uselistorder i8 0, { 1, 0, 2 }\n uselistorder i64 %arg3, { 8, 9, 10, 11, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder label LBL_49, { 12, 0, 1, 2, 3, 10, 4, 5, 6, 7, 11, 8, 9 }\n uselistorder label LBL_48, { 13, 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12 }\n uselistorder label LBL_42, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jsR_hasproperty_6151", "fun_name": "jsR_hasproperty", "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 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\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_3, label LBL_1\n LBL_1:\n %7 = inttoptr i64 %arg3 to i8*\n %8 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\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, 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 %3, i64 %14)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_3:\n %16 = icmp eq i32 %4, 2\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_9, label LBL_4\n LBL_4:\n %18 = inttoptr i64 %arg3 to i8*\n %19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\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 = add i64 %2, 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 %3, i64 %25)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_6:\n %27 = bitcast i32* %sv_0 to i64*\n %28 = call i64 @FUNC(i64 %3, i64 %arg3, i64* nonnull %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = load i32, i32* %sv_0, align 4\n %32 = icmp slt i32 %31, 0\n %or.cond = or i1 %30, %32\n br i1 %or.cond, label LBL_22, label LBL_7\n LBL_7:\n %33 = add i64 %2, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp ugt i32 %35, %31\n br i1 %36, label LBL_8, label LBL_22\n LBL_8:\n %37 = zext i32 %31 to i64\n %38 = add i64 %2, 16\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %3, i64 %40, i64 %37)\n %42 = and i64 %41, 4294967295\n %43 = call i64 @FUNC(i64 %3, i64 %42)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_9:\n %44 = icmp eq i32 %4, 3\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_20, label LBL_10\n LBL_10:\n %46 = inttoptr i64 %arg3 to i8*\n %47 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\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 %50 = add i64 %2, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %3, i64 %52)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_12:\n %54 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_14, label LBL_13\n LBL_13:\n %57 = add i64 %2, 16\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = urem i32 %59, 2\n %61 = zext i32 %60 to i64\n %62 = call i64 @FUNC(i64 %3, i64 %61)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_14:\n %63 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_16, label LBL_15\n LBL_15:\n %66 = add i64 %2, 16\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = and i32 %68, 2\n %70 = zext i32 %69 to i64\n %71 = call i64 @FUNC(i64 %3, i64 %70)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_16:\n %72 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0))\n %73 = icmp eq i32 %72, 0\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_18, label LBL_17\n LBL_17:\n %75 = add i64 %2, 16\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = and i32 %77, 4\n %79 = zext i32 %78 to i64\n %80 = call i64 @FUNC(i64 %3, i64 %79)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_18:\n %81 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0))\n %82 = icmp eq i32 %81, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_22, label LBL_19\n LBL_19:\n %84 = add i64 %2, 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(i64 %3, i64 %87)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_20:\n %89 = icmp eq i32 %4, 4\n %90 = icmp eq i1 %89, false\n br i1 %90, label LBL_22, label LBL_21\n LBL_21:\n %91 = add i64 %2, 16\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = icmp eq i64 %93, 0\n %95 = trunc i64 %3 to i32\n %96 = icmp eq i32 %95, 0\n %or.cond4 = or i1 %96, %94\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_22, label LBL_26\n LBL_22:\n %97 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3)\n %98 = icmp eq i64 %97, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %98, label LBL_26, label LBL_23\n LBL_23:\n %99 = inttoptr i64 %97 to i64*\n %100 = load i64, i64* %99, align 8\n %101 = icmp eq i64 %100, 0\n br i1 %101, label LBL_25, label LBL_24\n LBL_24:\n %102 = call i64 @FUNC(i64 %3, i64 %100)\n %103 = call i64 @FUNC(i64 %3, i64 %2)\n %104 = call i64 @FUNC(i64 %3, i64 0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_25:\n %105 = add i64 %97, 8\n %106 = inttoptr i64 %105 to i64*\n %107 = load i64, i64* %106, align 8\n %108 = call i64 @FUNC(i64 %3, i64 %107)\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 %4, { 3, 2, 1, 0 }\n uselistorder i64 %3, { 14, 13, 12, 11, 15, 0, 10, 9, 8, 7, 6, 4, 3, 5, 2, 1 }\n uselistorder i64 %2, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 12, 11, 10, 9, 8, 7, 6, 5 }\n uselistorder i64 (i64, i64)* @js_pushobject, { 1, 0 }\n uselistorder i64 (i64, i64)* @js_pushboolean, { 2, 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0, 2, 10, 9, 8, 7, 6, 5, 4, 3 }\n uselistorder i64 (i64, i64)* @js_pushnumber, { 2, 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 4, 5, 6, 1, 7, 8, 9 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 3, 4, 6, 5, 1, 0, 2 }\n uselistorder i64 %arg3, { 1, 4, 0, 3, 2 }\n uselistorder label LBL_26, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder label LBL_22, { 1, 2, 3, 0, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bn_mul_comba4_6594", "fun_name": "bn_mul_comba4", "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 0, i64 0, i64 0, i64 0, i64 0)\n store i64 0, i64* %arg1, 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 %6, i64 %6, i64 0, i64 0, i64 0)\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 0, i64 0, i64 0)\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, 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 %16, i64 0, i64 0, i64 0, i64 0)\n %18 = load i64, i64* %5, align 8\n %19 = load i64, i64* %9, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %18, i64 0, i64 0, i64 0)\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 %23, i64 0, i64 0, i64 0)\n %25 = add i64 %2, 16\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = add i64 %0, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29, i64 %29, i64 0, i64 0, i64 0)\n %31 = load i64, i64* %22, align 8\n %32 = load i64, i64* %9, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %31, i64 0, i64 0, i64 0)\n %34 = load i64, i64* %5, align 8\n %35 = load i64, i64* %15, align 8\n %36 = call i64 @FUNC(i64 %35, i64 %34, i64 0, i64 0, i64 0)\n %37 = add i64 %1, 24\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 0, i64 0, i64 0, i64 0)\n %41 = add i64 %2, 24\n %42 = inttoptr i64 %41 to i64*\n store i64 0, i64* %42, align 8\n %43 = load i64, i64* %5, align 8\n %44 = load i64, i64* %38, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %43, i64 0, i64 0, i64 0)\n %46 = load i64, i64* %22, align 8\n %47 = load i64, i64* %15, align 8\n %48 = call i64 @FUNC(i64 %47, i64 %46, i64 0, i64 0, i64 0)\n %49 = load i64, i64* %28, align 8\n %50 = load i64, i64* %9, align 8\n %51 = call i64 @FUNC(i64 %50, i64 %49, i64 0, i64 0, i64 0)\n %52 = add i64 %2, 32\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %53, align 8\n %54 = load i64, i64* %28, align 8\n %55 = load i64, i64* %15, align 8\n %56 = call i64 @FUNC(i64 %55, i64 %54, i64 0, i64 0, i64 0)\n %57 = load i64, i64* %22, align 8\n %58 = load i64, i64* %38, align 8\n %59 = call i64 @FUNC(i64 %58, i64 %57, i64 0, i64 0, i64 0)\n %60 = add i64 %2, 40\n %61 = inttoptr i64 %60 to i64*\n store i64 0, i64* %61, align 8\n %62 = load i64, i64* %28, align 8\n %63 = load i64, i64* %38, align 8\n %64 = call i64 @FUNC(i64 %63, i64 %62, i64 0, i64 0, i64 0)\n %65 = add i64 %2, 48\n %66 = inttoptr i64 %65 to i64*\n store i64 0, i64* %66, align 8\n %67 = add i64 %2, 56\n %68 = inttoptr i64 %67 to i64*\n store i64 0, i64* %68, align 8\n ret i64 0\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @mul_add_c, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ParseSurveyResults_4523", "fun_name": "ParseSurveyResults", "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.2.lcssa.reg2mem = alloca i64\n %sv_0.25.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %sv_0.38.reg2mem = alloca i64\n %storemerge19.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.113.reg2mem = alloca i64\n %storemerge314.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %storemerge314.reg2mem\n store i64 0, i64* %sv_0.113.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.113.reload = load i64, i64* %sv_0.113.reg2mem\n %storemerge314.reload = load i64, i64* %storemerge314.reg2mem\n %1 = mul i64 %storemerge314.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.113.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.113.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 %storemerge314.reload, 1\n %exitcond17 = icmp eq i64 %11, 2\n store i64 %11, i64* %storemerge314.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.113.reg2mem\n br i1 %exitcond17, label LBL_4, label LBL_1\n LBL_4:\n %12 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 32, i64 0)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %14, label LBL_5, label LBL_11\n LBL_5:\n %15 = inttoptr i64 %12 to i64*\n %.tr = trunc i64 %sv_0.0.lcssa.reload to i32\n %16 = mul i32 %.tr, 32\n %17 = call i64* @memset(i64* %15, i32 0, i32 %16)\n store i64 0, i64* %storemerge19.reg2mem\n store i64 0, i64* %sv_0.38.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.38.reload = load i64, i64* %sv_0.38.reg2mem\n %storemerge19.reload = load i64, i64* %storemerge19.reg2mem\n %18 = mul i64 %storemerge19.reload, 256\n %19 = add i64 %18, %0\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 0\n store i64 %sv_0.38.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n %23 = zext i8 %21 to i64\n %24 = add i64 %19, 2\n %25 = add i64 %sv_0.38.reload, 1\n %26 = add nsw i64 %23, -1\n %27 = udiv i64 %26, 32\n %28 = add i64 %25, %27\n store i64 %24, i64* %sv_1.06.reg2mem\n store i64 %sv_0.38.reload, i64* %sv_0.25.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.25.reload = load i64, i64* %sv_0.25.reg2mem\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %29 = mul i64 %sv_0.25.reload, 32\n %30 = add i64 %29, %12\n %31 = inttoptr i64 %30 to i64*\n %32 = inttoptr i64 %sv_1.06.reload to i64*\n %33 = call i64* @memcpy(i64* %31, i64* %32, i32 32)\n %34 = add i64 %sv_1.06.reload, 32\n %35 = add i64 %sv_0.25.reload, 1\n %exitcond = icmp eq i64 %35, %28\n store i64 %34, i64* %sv_1.06.reg2mem\n store i64 %35, i64* %sv_0.25.reg2mem\n store i64 %28, i64* %sv_0.2.lcssa.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n %36 = add nuw nsw i64 %storemerge19.reload, 1\n %exitcond16 = icmp eq i64 %36, 2\n store i64 %36, i64* %storemerge19.reg2mem\n store i64 %sv_0.2.lcssa.reload, i64* %sv_0.38.reg2mem\n br i1 %exitcond16, label LBL_10, label LBL_6\n LBL_10:\n store i64 %12, i64* %arg2, align 8\n store i64 %sv_0.2.lcssa.reload, i64* %arg3, align 8\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_1.06.reload, { 1, 0 }\n uselistorder i8 %21, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %sv_0.38.reload, { 1, 2, 0 }\n uselistorder i64 %12, { 1, 0, 2, 3 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0, 2 }\n uselistorder i8 %4, { 1, 0 }\n uselistorder i64 %sv_0.113.reload, { 1, 0 }\n uselistorder i64* %storemerge314.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.113.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge19.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.38.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 1, { 3, 2, 1, 4, 0 }\n uselistorder i64 32, { 4, 0, 1, 3, 2 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sshkey_load_file_5504", "fun_name": "sshkey_load_file", "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 i64\n %sv_0.13.reg2mem = alloca i64\n %sv_0.1.ph.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_3 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_4 = alloca i64, align 8\n %4 = trunc i64 %arg1 to i32\n %5 = bitcast i64* %sv_4 to %stat*\n %6 = call i32 @fstat(i32 %4, %stat* nonnull %5)\n %7 = icmp slt i32 %6, 0\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_19\n LBL_1:\n %9 = and i32 %3, 61440\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp slt i64 %2, 1048577\n %or.cond = or i1 %12, %11\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_19\n LBL_2:\n %13 = trunc i32 %3 to i16\n %14 = icmp sgt i16 %13, -1\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = icmp eq i64 %2, 0\n %16 = icmp slt i64 %2, 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 0, i32* %sv_2.0.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %sv_2.0.reg2mem\n store i64 65536, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %20 = ptrtoint i64* %arg2 to i64\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %21 = call i64 @FUNC(i64 %20, i64 %sv_1.0.reload)\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* %rax.0.shrunk.reg2mem\n br i1 %24, label LBL_19, label LBL_6\n LBL_6:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %25 = icmp eq i32 %sv_2.0.reload, 0\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %20, i64 %sv_1.0.reload)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 %26, i64* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_8, label LBL_19\n LBL_8:\n %29 = and i64 %arg1, 4294967295\n br label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 4198480, i64 %29, i64* nonnull %sv_3, i64 1024)\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = call i32* @__errno_location()\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 32\n store i64 4294967295, i64* %sv_0.1.ph.reg2mem\n br i1 %35, label LBL_13, label LBL_16\n LBL_11:\n %36 = call i64 @FUNC(i64 %20, i64* nonnull %sv_3, i64 %30)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_17, label LBL_12\n LBL_12:\n %40 = call i64 @FUNC(i64 %20)\n %41 = icmp ult i64 %40, 1048577\n store i64 4294967294, i64* %sv_0.1.ph.reg2mem\n br i1 %41, label LBL_9, label LBL_16\n LBL_13:\n br i1 %11, label LBL_15, label LBL_14\n LBL_14:\n %42 = call i64 @FUNC(i64 %20)\n %43 = icmp eq i64 %sv_1.0.reload, %42\n store i64 4294967293, i64* %sv_0.1.ph.reg2mem\n br i1 %43, label LBL_15, label LBL_16\n LBL_15:\n %44 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_16:\n %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem\n %45 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024)\n store i64 %sv_0.1.ph.reload, i64* %sv_0.13.reg2mem\n br label LBL_18\n LBL_17:\n %46 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024)\n store i64 %36, i64* %sv_0.13.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %47 = call i64 @FUNC(i64 %20)\n store i64 %sv_0.13.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_19:\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_1.0.reload, { 1, 2, 0 }\n uselistorder i64 %20, { 3, 1, 2, 4, 0, 5 }\n uselistorder i1 %11, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 2, 1, 0, 3, 4 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.ph.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 (i64*, i64)* @explicit_bzero, { 2, 1, 0 }\n uselistorder i64 (i64)* @sshbuf_len, { 1, 0 }\n uselistorder i64 1024, { 2, 1, 0, 3 }\n uselistorder i64 4294967294, { 1, 0, 2 }\n uselistorder i64 1048577, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 1, 6, 7, 8, 0, 9 }\n uselistorder label LBL_19, { 1, 0, 3, 2, 4, 5 }\n uselistorder label LBL_16, { 2, 0, 1 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cdrom_dvdram_open_write_107", "fun_name": "cdrom_dvdram_open_write", "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 %. = zext i1 %3 to i64\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dns_parse_callback_13840", "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 %13, %0\n %15 = inttoptr i64 %14 to i32*\n store i32 2, i32* %15, align 4\n %16 = load i32, i32* %2, align 4\n %17 = sext i32 %16 to i64\n %18 = mul nsw i64 %17, 24\n %19 = add i64 %0, 4\n %20 = add i64 %19, %18\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = load i32, i32* %2, align 4\n %23 = add i32 %22, 1\n store i32 %23, i32* %2, align 4\n %24 = sext i32 %22 to i64\n %25 = mul nsw i64 %24, 24\n %26 = add i64 %0, 8\n %27 = add i64 %26, %25\n %28 = bitcast i64* %rdx to i32*\n %29 = load i32, i32* %28, align 8\n %30 = inttoptr i64 %27 to i32*\n store i32 %29, i32* %30, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %31 = trunc i64 %6 to i32\n %32 = icmp eq i32 %31, 16\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %32, label LBL_7, label LBL_11\n LBL_7:\n %33 = sext i32 %3 to i64\n %34 = mul nsw i64 %33, 24\n %35 = add i64 %34, %0\n %36 = inttoptr i64 %35 to i32*\n store i32 10, i32* %36, align 4\n %37 = load i32, i32* %2, align 4\n %38 = sext i32 %37 to i64\n %39 = mul nsw i64 %38, 24\n %40 = add i64 %0, 4\n %41 = add i64 %40, %39\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %43 = load i32, i32* %2, align 4\n %44 = add i32 %43, 1\n store i32 %44, i32* %2, align 4\n %45 = sext i32 %43 to i64\n %46 = mul nsw i64 %45, 24\n %47 = add i64 %46, %0\n %48 = add i64 %47, 8\n %49 = add i64 %5, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = inttoptr i64 %48 to i64*\n store i64 %51, i64* %52, align 8\n %53 = add i64 %47, 16\n %54 = inttoptr i64 %53 to i64*\n store i64 %51, i64* %54, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %55 = ptrtoint i64* %arg5 to i64\n %56 = add i64 %55, 512\n %57 = call i64 @FUNC(i64 %55, i64 %56, i64 %5, i64* nonnull %sv_0, i64 256)\n %58 = trunc i64 %57 to i32\n %59 = icmp slt i32 %58, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_11, label LBL_9\n LBL_9:\n %60 = call i64 @FUNC(i64* nonnull %sv_0)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %62, label LBL_11, label LBL_10\n LBL_10:\n %63 = add i64 %0, 244\n %64 = inttoptr i64 %63 to i8*\n %65 = bitcast i64* %sv_0 to i8*\n %66 = call i8* @strcpy(i8* %64, i8* nonnull %65)\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 %55, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %3, { 1, 0, 2 }\n uselistorder i32* %2, { 4, 3, 5, 1, 0, 2, 6 }\n uselistorder i64 %0, { 6, 0, 3, 1, 4, 5, 2, 7 }\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": "valid_entry_name_18954", "fun_name": "valid_entry_name", "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 i8\n %3 = icmp eq i8 %2, 0\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %arg1 to i8*\n %5 = call i8* @strchr(i8* %4, i32 47)\n %6 = icmp eq i8* %5, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = icmp eq i8 %2, 46\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %9, label LBL_7, label LBL_3\n LBL_3:\n %10 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_4\n LBL_4:\n %12 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %15, 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 i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "st_flush_trace_buffer_2924", "fun_name": "st_flush_trace_buffer", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_cmd_alias_get_12506", "fun_name": "r_cmd_alias_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp ne i64* %arg1, null\n %1 = icmp eq i8* %arg2, null\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i8* %arg2 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4, 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 i8* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__ctrblk_init_9984", "fun_name": "__ctrblk_init", "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 = trunc i64 %arg2 to i32\n %2 = icmp ult i32 %1, 4097\n %phitmp = and i32 %1, -16\n %storemerge2 = select i1 %2, i32 %phitmp, i32 4096\n %3 = icmp ugt i32 %storemerge2, 16\n %4 = zext i32 %storemerge2 to i64\n store i64 16, i64* %indvars.iv.reg2mem\n br i1 %3, label LBL_1, label LBL_2\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, -16\n %7 = add i64 %5, -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 = inttoptr i64 %5 to i64*\n store i64 %11, i64* %12, align 8\n %13 = add i64 %5, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %9, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %5, i64 16)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 16\n %16 = icmp ult i64 %indvars.iv.next, %4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %16, label LBL_1, label LBL_2\n LBL_2:\n ret i64 %4\n\n uselistorder i64 %5, { 2, 0, 1, 3, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "filter_samples_3341", "fun_name": "filter_samples", "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 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_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 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 = call i64 @FUNC(i64 %2, i64 4294967294)\n %9 = load i64, i64* %6, 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, i64 %8)\n %15 = add i32 %storemerge1.reload, 1\n %16 = sext i32 %15 to i64\n %17 = icmp sgt i64 %7, %16\n store i64 %16, i64* %.reg2mem\n store i32 %15, i32* %storemerge1.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %2)\n ret i64 %18\n\n uselistorder i64 %2, { 2, 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 label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AVI_read_audio_13316", "fun_name": "AVI_read_audio", "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.shrunk.reg2mem = alloca i32\n %sv_0.0.ph16.reg2mem = alloca i64\n %sv_1.0.ph17.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 %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 store i32 -1, i32* inttoptr (i64 4210796 to i32*), align 4\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_2:\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 = add i64 %7, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = sext i32 %13 to i64\n %15 = mul nsw i64 %14, 24\n %16 = add i64 %15, %10\n %17 = add i64 %16, 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_4, label LBL_3\n LBL_3:\n store i32 -2, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_4:\n %sext = mul i64 %arg3, 4294967296\n %22 = ashr exact i64 %sext, 32\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 %16, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i32 %28, 1\n store i32 %29, i32* %27, align 4\n %30 = load i64, i64* %9, align 8\n %31 = load i32, i32* %12, align 4\n %32 = sext i32 %31 to i64\n %33 = mul nsw i64 %32, 24\n %34 = add i64 %30, 8\n %35 = add i64 %34, %33\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n br label LBL_6\n LBL_6:\n %37 = bitcast i64* %arg4 to i32*\n store i32 1, i32* %37, align 4\n %38 = icmp slt i32 %23, 0\n %39 = icmp eq i1 %38, false\n %40 = icmp eq i1 %39, %25\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %40, label LBL_7, label LBL_15\n LBL_7:\n %41 = ptrtoint i64* %arg2 to i64\n %42 = add i64 %7, 16\n %43 = inttoptr i64 %42 to i64*\n store i32 %23, i32* %.reg2mem\n store i32 0, i32* %sv_1.0.ph17.reg2mem\n store i64 %22, i64* %sv_0.0.ph16.reg2mem\n br label LBL_8.lr.ph\n LBL_8:\n %44 = load i64, i64* %9, align 8\n %45 = load i32, i32* %12, align 4\n %46 = sext i32 %45 to i64\n %47 = mul nsw i64 %46, 24\n %48 = add i64 %47, %44\n %49 = add i64 %48, 16\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %48, 4\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = sext i32 %54 to i64\n %56 = mul i64 %55, 16\n %57 = add i64 %56, %51\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = add i64 %48, 8\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = sub i32 %59, %62\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_11, label LBL_9\n LBL_9:\n %66 = inttoptr i64 %48 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i32 %67, -1\n %69 = icmp ult i32 %54, %68\n store i32 %sv_1.0.ph17.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %69, label LBL_10, label LBL_15\n LBL_10:\n %70 = add i32 %54, 1\n store i32 %70, i32* %53, align 4\n %71 = load i64, i64* %9, align 8\n %72 = load i32, i32* %12, align 4\n %73 = sext i32 %72 to i64\n %74 = mul nsw i64 %73, 24\n %75 = add i64 %71, 8\n %76 = add i64 %75, %74\n %77 = inttoptr i64 %76 to i32*\n store i32 0, i32* %77, align 4\n store i32 0, i32* %37, align 4\n br label LBL_8\n LBL_11:\n %78 = icmp sgt i32 %63, %.reload\n %79 = sext i32 %63 to i64\n %storemerge = select i1 %78, i64 %sv_0.0.ph16.reload, i64 %79\n %80 = add i64 %57, 8\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = sext i32 %62 to i64\n %84 = add i64 %82, %83\n %85 = load i64, i64* %43, align 8\n %86 = call i64 @FUNC(i64 %85, i64 %84, i64 0)\n %87 = sext i32 %sv_1.0.ph17.reload to i64\n %88 = add i64 %87, %41\n %89 = load i64, i64* %43, align 8\n %90 = trunc i64 %storemerge to i32\n %91 = call i64 @FUNC(i64 %89, i64 %88, i32 %90)\n %92 = icmp eq i64 %91, %storemerge\n br i1 %92, label LBL_13, label LBL_12\n LBL_12:\n %93 = call i64 @FUNC(i64 1, i64 2, i64 %storemerge, i64 %88, i64 %2, i64 %1)\n store i32 -3, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_13:\n %94 = sub nsw i64 %sv_0.0.ph16.reload, %storemerge\n %sext7 = mul i64 %94, 4294967296\n %95 = ashr exact i64 %sext7, 32\n %96 = add i32 %sv_1.0.ph17.reload, %90\n %97 = load i64, i64* %9, align 8\n %98 = load i32, i32* %12, align 4\n %99 = sext i32 %98 to i64\n %100 = mul nsw i64 %99, 24\n %101 = add i64 %97, 8\n %102 = add i64 %101, %100\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i32 %104, %90\n store i32 %105, i32* %103, align 4\n %106 = trunc i64 %95 to i32\n %107 = icmp eq i32 %106, 0\n %108 = icmp slt i32 %106, 0\n %109 = icmp eq i1 %108, false\n %110 = icmp eq i1 %107, false\n %111 = icmp eq i1 %109, %110\n store i32 %106, i32* %.reg2mem\n store i32 %96, i32* %sv_1.0.ph17.reg2mem\n store i64 %95, i64* %sv_0.0.ph16.reg2mem\n store i32 %96, i32* %rax.0.shrunk.reg2mem\n br i1 %111, label LBL_8.lr.ph, label LBL_15\n LBL_14:\n %sv_0.0.ph16.reload = load i64, i64* %sv_0.0.ph16.reg2mem\n %sv_1.0.ph17.reload = load i32, i32* %sv_1.0.ph17.reg2mem\n %.reload = load i32, i32* %.reg2mem\n br label LBL_8\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 %sv_0.0.ph16.reload, { 1, 0 }\n uselistorder i32 %106, { 0, 2, 1 }\n uselistorder i32 %90, { 1, 0, 2 }\n uselistorder i64 %storemerge, { 2, 0, 3, 1 }\n uselistorder i32 %54, { 1, 0, 2 }\n uselistorder i32* %12, { 2, 1, 3, 0, 4 }\n uselistorder i64* %9, { 2, 1, 3, 0, 4 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 6, 2, 3, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 -1, { 2, 3, 1, 0, 4 }\n uselistorder i1 false, { 3, 1, 2, 0, 4, 5, 6 }\n uselistorder label LBL_15, { 0, 3, 1, 2, 4, 5 }\n uselistorder label LBL_8.lr.ph, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vp9_receive_compressed_data_5147", "fun_name": "vp9_receive_compressed_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 %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = icmp eq i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = add i64 %0, 216\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 2147483647\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %0, 224\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %0, 248\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = trunc i64 %0 to i32\n %17 = add i32 %16, 8\n %18 = insertvalue [8 x i32] undef, i32 %17, 0\n %19 = insertvalue %__jmp_buf_tag undef, [8 x i32] %18, 0\n %20 = insertvalue [1 x %__jmp_buf_tag] undef, %__jmp_buf_tag %19, 0\n %21 = call i32 @_setjmp([1 x %__jmp_buf_tag] %20)\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_10, label LBL_4\n LBL_4:\n %23 = add i64 %0, 304\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n %25 = add i64 %0, 208\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = call i64 @FUNC()\n %28 = add i64 %0, 216\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 2147483647\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = add i64 %0, 224\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_6\n LBL_6:\n %36 = inttoptr i64 %34 to i32*\n store i32 1, i32* %36, align 4\n br label LBL_7\n LBL_7:\n %37 = load i32, i32* %15, align 4\n %38 = icmp slt i32 %37, 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %38, label LBL_17, label LBL_8\n LBL_8:\n %39 = sext i32 %37 to i64\n %40 = mul i64 %39, 16\n %41 = add i64 %0, 232\n %42 = add i64 %41, %40\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp slt i32 %44, 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %45, label LBL_17, label LBL_9\n LBL_9:\n %46 = add i32 %44, -1\n store i32 %46, i32* %43, align 4\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_10:\n %47 = ptrtoint i64* %arg3 to i64\n %48 = add i64 %0, 208\n %49 = inttoptr i64 %48 to i32*\n store i32 1, i32* %49, align 4\n %50 = add i64 %47, %arg2\n %51 = call i64 @FUNC(i64 %0, i64 %47, i64 %50, i64 %47)\n %52 = call i64 @FUNC(i64 %0)\n %53 = call i64 @FUNC()\n %54 = add i64 %0, 252\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i64 %0, 260\n %58 = inttoptr i64 %57 to i32*\n store i32 %56, i32* %58, align 4\n %59 = add i64 %0, 256\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = add i64 %0, 264\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n %64 = add i64 %0, 268\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n %.pre = add i64 %0, 272\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %68, label LBL_12, label LBL_11\n LBL_11:\n %69 = load i32, i32* %.pre1, align 4\n %70 = add i64 %0, 296\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n br label LBL_12\n LBL_12:\n %72 = load i32, i32* %.pre1, align 4\n %73 = icmp eq i32 %72, 0\n br i1 %73, label LBL_16, label LBL_13\n LBL_13:\n %74 = load i32, i32* %65, align 4\n %75 = icmp eq i32 %74, 0\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_15, label LBL_14\n LBL_14:\n %77 = call i64 @FUNC(i64 %0)\n br label LBL_15\n LBL_15:\n %78 = add i64 %0, 276\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = add i32 %80, 1\n store i32 %81, i32* %79, align 4\n br label LBL_16\n LBL_16:\n %82 = add i64 %0, 308\n %83 = inttoptr i64 %82 to i32*\n store i32 0, i32* %83, align 4\n store i32 0, i32* %49, align 4\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 i64 %47, { 1, 2, 0 }\n uselistorder i64 %0, { 9, 8, 10, 12, 0, 11, 14, 13, 16, 15, 18, 17, 19, 1, 5, 4, 6, 7, 20, 21, 22, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 ()* @vp9_clear_system_state, { 1, 0 }\n uselistorder label LBL_17, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_clunk_1432", "fun_name": "v9fs_clunk", "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 %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = bitcast i32* %sv_1 to i64*\n %7 = call i64 @FUNC(i64 %2, i64 7, i64* nonnull @gv_0, i64* nonnull %6)\n %8 = load i32, i32* %sv_1, align 4\n %9 = zext i32 %8 to i64\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %12, i64 %13, i64 %9)\n %15 = load i32, i32* %sv_1, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %5, i64 %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 -2, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_1, label LBL_2\n LBL_1:\n %20 = inttoptr i64 %17 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 %2, i64 %17)\n store i32 7, 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 %24 = call i64 @FUNC(i64 %5, i64 %2, i32 %sv_0.0.reload)\n ret i64 %24\n\n uselistorder i32* %20, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grlib_irqmp_readl_16626", "fun_name": "grlib_irqmp_readl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %.reg2mem15 = 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_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 ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %.reg2mem\n store i32 ptrtoint ([14 x i8]* @gv_0 to i32), i32* %.reg2mem15\n br label LBL_3\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %2 to i32\n store i64 %2, i64* %.reg2mem\n store i32 %3, i32* %.reg2mem15\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %4 = urem i64 %arg2, 256\n store i64 %4, i64* @0, align 8\n %5 = udiv i64 %4, 4\n %6 = mul i64 %arg2, 4611686018427387904\n %7 = or i64 %5, %6\n store i32 0, i32* %rax.0.shrunk.reg2mem\n store i32 0, i32* %rax.0.shrunk.reg2mem\n switch i64 %7, label LBL_8 [\n i64 0, label LBL_4\n i64 1, label LBL_5\n i64 2, label LBL_6\n i64 3, label LBL_19\n i64 4, label LBL_19\n i64 5, label LBL_7\n ]\n LBL_4:\n %.reload16 = load i32, i32* %.reg2mem15\n store i32 %.reload16, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_5:\n %8 = add i64 %.reload, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n store i32 %10, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_6:\n %11 = add i64 %.reload, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_7:\n %14 = add i64 %.reload, 24\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n store i32 %16, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_8:\n %17 = trunc i64 %arg2 to i8\n %trunc = and i8 %17, -4\n switch i8 %trunc, label LBL_18 [\n i8 24, label LBL_9\n i8 28, label LBL_12\n i8 32, label LBL_15\n ]\n LBL_9:\n %18 = add nuw nsw i64 %4, 17179869160\n %19 = udiv i64 %18, 4\n %20 = trunc i64 %19 to i32\n %21 = icmp ult i32 %20, 4\n br i1 %21, label LBL_11, label LBL_10\n LBL_10:\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 59, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_11\n LBL_11:\n %sext14 = mul i64 %19, 4294967296\n %22 = ashr exact i64 %sext14, 30\n %23 = add nsw i64 %22, 28\n %24 = add i64 %23, %.reload\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_19\n LBL_12:\n %27 = add nuw nsw i64 %4, 17179869156\n %28 = udiv i64 %27, 4\n %29 = trunc i64 %28 to i32\n %30 = icmp ult i32 %29, 4\n br i1 %30, label LBL_14, label LBL_13\n LBL_13:\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 63, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_14\n LBL_14:\n %sext13 = mul i64 %28, 4294967296\n %31 = ashr exact i64 %sext13, 30\n %32 = add i64 %.reload, 8\n %33 = add i64 %32, %31\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n store i32 %35, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_15:\n %36 = add nuw nsw i64 %4, 17179869152\n %37 = udiv i64 %36, 4\n %38 = trunc i64 %37 to i32\n %39 = icmp ult i32 %38, 4\n br i1 %39, label LBL_17, label LBL_16\n LBL_16:\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 67, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_17\n LBL_17:\n %sext = mul i64 %37, 4294967296\n %40 = ashr exact i64 %sext, 30\n %41 = add nsw i64 %40, 44\n %42 = add i64 %41, %.reload\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n store i32 %44, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_18:\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %4)\n store i32 0, 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 i64 %4, { 3, 2, 4, 5, 0, 1 }\n uselistorder i64 %.reload, { 1, 2, 0, 5, 4, 3 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 8, 9, 10, 6, 5, 4, 3, 1, 2 }\n uselistorder i64 30, { 2, 1, 0 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 4, { 0, 1, 2, 5, 4, 3 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 3, 2, 1 }\n uselistorder [14 x i8]* @gv_0, { 0, 2, 1 }\n uselistorder i64 %arg2, { 2, 0, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_19, { 6, 7, 8, 9, 2, 3, 4, 5, 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": "1" }, { "dataset": "CompRealVul", "file": "vmxnet3_init_msix_9031", "fun_name": "vmxnet3_init_msix", "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 = add i64 %2, 8\n %5 = call i64 @FUNC(i64 %3, i64 16, i64 %4, i64 0, i64 0, 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_2, label LBL_1\n LBL_1:\n %9 = and i64 %5, 4294967295\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n %11 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %11, align 1\n br label LBL_5\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i64 16)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 1\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = and i64 %5, 4294967295\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %15)\n %17 = call i64 @FUNC(i64 %3, i64 %4, i64 %4)\n %18 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %18, align 1\n br label LBL_5\n LBL_4:\n %19 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %19, align 1\n br label LBL_5\n LBL_5:\n %20 = urem i64 %1, 256\n ret i64 %20\n\n uselistorder i64 %4, { 0, 1, 3, 2 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i8*, i64)* @VMW_WRPRN, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spi_map_buf_4358", "fun_name": "spi_map_buf", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %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 %storemerge7.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i64\n %sv_1.011.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = call i64 @FUNC(i64 %arg4)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 0\n %sext = mul i64 %1, 4294967296\n %.op.op = ashr exact i64 %sext, 32\n %6 = select i1 %5, i64 %.op.op, i64 4096\n %7 = add i64 %arg5, -1\n %8 = add i64 %7, %6\n %9 = udiv i64 %8, %6\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %2, i64 %10, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_1, label LBL_3\n LBL_1:\n %14 = trunc i64 %9 to i32\n %15 = icmp sgt i32 %14, 0\n br i1 %15, label LBL_2, label LBL_9\n LBL_2:\n %sext13 = mul i64 %9, 4294967296\n %16 = ashr exact i64 %sext13, 32\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %arg5, i64* %sv_1.011.reg2mem\n store i64 %arg4, i64* %sv_0.010.reg2mem\n br label LBL_4\n LBL_3:\n %17 = and i64 %11, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n store i64 %.op.op, i64* %rdx.0.reg2mem\n store i64 %sv_0.010.reload, i64* %storemerge7.reg2mem\n br i1 %5, label LBL_8, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %sv_0.010.reload)\n %19 = icmp eq i64 %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 %2)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %22 = call i64 @FUNC(i64 %18)\n %23 = and i64 %sv_0.010.reload, -4096\n %24 = add i64 %22, %23\n store i64 %22, i64* %rdx.0.reg2mem\n store i64 %24, i64* %storemerge7.reg2mem\n br label LBL_8\n LBL_8:\n %25 = icmp ult i64 %sv_1.011.reload, %6\n %26 = select i1 %25, i64 %sv_1.011.reload, i64 %6\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %27 = mul i64 %indvars.iv.reload, 16\n %28 = add i64 %rdx.0.reload, %27\n %29 = call i64 @FUNC(i64 %28, i64 %storemerge7.reload, i64 %26)\n %30 = add i64 %26, %sv_0.010.reload\n %31 = sub i64 %sv_1.011.reload, %26\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = icmp slt i64 %indvars.iv.next, %16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %31, i64* %sv_1.011.reg2mem\n store i64 %30, i64* %sv_0.010.reg2mem\n br i1 %32, label LBL_4, label LBL_9\n LBL_9:\n %33 = add i64 %2, 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 = trunc i64 %arg6 to i32\n %38 = ptrtoint i32* %arg2 to i64\n %39 = call i64 @FUNC(i64 %38, i64 %36, i64 %36, i32 %37)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n %spec.select = select i1 %42, i32 %40, i32 -12\n %43 = icmp slt i32 %spec.select, 0\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 %2)\n %46 = zext i32 %spec.select to i64\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n store i32 %spec.select, i32* %34, 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 i32 %spec.select, { 1, 0, 2 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %26, { 2, 0, 1 }\n uselistorder i64 %sv_1.011.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.010.reload, { 3, 1, 2, 0 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %6, { 3, 2, 1, 0 }\n uselistorder i1 %5, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.011.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i1 false, { 0, 2, 1, 3 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfbSendBell_9946", "fun_name": "rfbSendBell", "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 %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n store i32 1, i32* %sv_0, align 4\n %5 = call i64 @FUNC(i64 %.reload, i32* nonnull %sv_0, 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_2, label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 %1)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %13 = call i64 @FUNC(i64 %.reload)\n br label LBL_2\n LBL_4:\n %14 = call i64 @FUNC(i64 %1)\n ret i64 %14\n\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 (i64)* @rfbClientIteratorNext, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iio_sw_buffer_preenable_4564", "fun_name": "iio_sw_buffer_preenable", "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 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 40\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 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 %2, i64 %1)\n %7 = add i64 %4, 12\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 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %4, i64 %13, i32 %9)\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %11, align 4\n %16 = add i64 %4, 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_2, label LBL_1\n LBL_1:\n %20 = load i32, i32* %8, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %18, i64 %21, i32 %15)\n %23 = add i64 %4, 24\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n store i64 %22, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %sext = mul i64 %14, 4294967296\n %25 = ashr exact i64 %sext, 32\n %26 = add i64 %4, 24\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n store i64 %25, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %28 = icmp eq i64 %.reload, 0\n %29 = icmp eq i1 %28, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %29, label LBL_4, label LBL_5\n LBL_4:\n %30 = call i64 @FUNC(i64 %4)\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 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n %. = select i1 %36, 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 %4, { 0, 2, 3, 4, 1, 5, 6, 7, 8, 9 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_i440fx_pam_15954", "fun_name": "test_i440fx_pam", "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, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = zext i1 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\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 %7 = mul i64 %indvars.iv.reload, 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 = add i64 %7, ptrtoint (i32** @gv_1 to i64)\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 8\n %14 = icmp eq i32 %10, %13\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = zext i32 %10 to i64\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %15, i32 %13)\n %17 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 1)\n %18 = load i32, i32* %12, align 8\n %19 = load i32, i32* %9, align 8\n %20 = zext i32 %18 to i64\n %21 = zext i32 %19 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %20, i64 0)\n %23 = and i64 %22, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 3)\n %26 = load i32, i32* %12, align 8\n %27 = load i32, i32* %9, align 8\n %28 = zext i32 %26 to i64\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %28, i64 66)\n %31 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 2)\n %32 = load i32, i32* %12, align 8\n %33 = load i32, i32* %9, align 8\n %34 = zext i32 %32 to i64\n %35 = zext i32 %33 to i64\n %36 = call i64 @FUNC(i64 %35, i64 %34, i64 66)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = zext i1 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = load i32, i32* %12, align 8\n %42 = load i32, i32* %9, align 8\n %43 = zext i32 %41 to i64\n %44 = zext i32 %42 to i64\n %45 = call i64 @FUNC(i64 %44, i64 %43, i64 66)\n %46 = and i64 %45, 4294967295\n %47 = call i64 @FUNC(i64 %46)\n %48 = load i32, i32* %12, align 8\n %49 = load i32, i32* %9, align 8\n %50 = zext i32 %48 to i64\n %51 = zext i32 %49 to i64\n %52 = call i64 @FUNC(i64 %51, i64 %50, i64 130)\n %53 = load i32, i32* %12, align 8\n %54 = load i32, i32* %9, align 8\n %55 = zext i32 %53 to i64\n %56 = zext i32 %54 to i64\n %57 = call i64 @FUNC(i64 %56, i64 %55, i64 130)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n %60 = zext i1 %59 to i64\n %61 = call i64 @FUNC(i64 %60)\n %62 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 3)\n %63 = load i32, i32* %12, align 8\n %64 = load i32, i32* %9, align 8\n %65 = zext i32 %63 to i64\n %66 = zext i32 %64 to i64\n %67 = call i64 @FUNC(i64 %66, i64 %65, i64 130)\n %68 = and i64 %67, 4294967295\n %69 = call i64 @FUNC(i64 %68)\n %70 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload, i64 0)\n %71 = load i32, i32* %12, align 8\n %72 = load i32, i32* %9, align 8\n %73 = zext i32 %71 to i64\n %74 = zext i32 %72 to i64\n %75 = call i64 @FUNC(i64 %74, i64 %73, i64 130)\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n %78 = zext i1 %77 to i64\n %79 = call i64 @FUNC(i64 %78)\n br 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, 14\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %80 = call i64 @FUNC()\n ret i64 %80\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @write_area, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @verify_area, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @pam_set, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64)* @g_assert, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dnxhd_write_header_1011", "fun_name": "dnxhd_write_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i8\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64* @memset(i64* %arg2, i32 0, i32 640)\n %3 = bitcast i64* %arg2 to i32*\n store i32 -2147352576, i32* %3, align 4\n %4 = add i64 %0, 4\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 store i8 1, i8* %storemerge2.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %1, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = trunc i32 %11 to i8\n %phitmp = add i8 %12, 2\n store i8 %phitmp, i8* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i8, i8* %storemerge2.reg2mem\n %13 = add i64 %0, 5\n %14 = inttoptr i64 %13 to i8*\n store i8 %storemerge2.reload, i8* %14, align 1\n %15 = add i64 %0, 6\n %16 = inttoptr i64 %15 to i8*\n store i8 -128, i8* %16, align 1\n %17 = add i64 %0, 7\n %18 = inttoptr i64 %17 to i8*\n store i8 -96, i8* %18, align 1\n %19 = add i64 %1, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = udiv i32 %21, 256\n %23 = add i64 %0, 24\n %24 = trunc i32 %22 to i8\n %25 = inttoptr i64 %23 to i8*\n store i8 %24, i8* %25, align 1\n %26 = load i32, i32* %20, align 4\n %27 = add i64 %0, 25\n %28 = trunc i32 %26 to i8\n %29 = inttoptr i64 %27 to i8*\n store i8 %28, i8* %29, align 1\n %30 = add i64 %1, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = udiv i32 %32, 256\n %34 = add i64 %0, 26\n %35 = trunc i32 %33 to i8\n %36 = inttoptr i64 %34 to i8*\n store i8 %35, i8* %36, align 1\n %37 = load i32, i32* %31, align 4\n %38 = add i64 %0, 27\n %39 = trunc i32 %37 to i8\n %40 = inttoptr i64 %38 to i8*\n store i8 %39, i8* %40, align 1\n %41 = load i32, i32* %20, align 4\n %42 = udiv i32 %41, 256\n %43 = add i64 %0, 29\n %44 = trunc i32 %42 to i8\n %45 = inttoptr i64 %43 to i8*\n store i8 %44, i8* %45, align 1\n %46 = load i32, i32* %20, align 4\n %47 = add i64 %0, 30\n %48 = trunc i32 %46 to i8\n %49 = inttoptr i64 %47 to i8*\n store i8 %48, i8* %49, align 1\n %50 = add i64 %0, 33\n %51 = inttoptr i64 %50 to i8*\n store i8 56, i8* %51, align 1\n %52 = load i32, i32* %20, align 4\n %53 = add i64 %0, 34\n %.tr = trunc i32 %52 to i8\n %54 = mul i8 %.tr, 4\n %55 = add i8 %54, -120\n %56 = inttoptr i64 %53 to i8*\n store i8 %55, i8* %56, align 1\n %57 = load i32, i32* %31, align 4\n %58 = udiv i32 %57, 16777216\n %59 = add i64 %0, 40\n %60 = trunc i32 %58 to i8\n %61 = inttoptr i64 %59 to i8*\n store i8 %60, i8* %61, align 1\n %62 = load i32, i32* %31, align 4\n %63 = udiv i32 %62, 65536\n %64 = add i64 %0, 41\n %65 = trunc i32 %63 to i8\n %66 = inttoptr i64 %64 to i8*\n store i8 %65, i8* %66, align 1\n %67 = load i32, i32* %31, align 4\n %68 = udiv i32 %67, 256\n %69 = add i64 %0, 42\n %70 = trunc i32 %68 to i8\n %71 = inttoptr i64 %69 to i8*\n store i8 %70, i8* %71, align 1\n %72 = load i32, i32* %31, align 4\n %73 = add i64 %0, 43\n %74 = trunc i32 %72 to i8\n %75 = inttoptr i64 %73 to i8*\n store i8 %74, i8* %75, align 1\n %76 = load i32, i32* %6, align 8\n %77 = icmp eq i32 %76, 0\n %. = select i1 %77, i8 -128, i8 0\n %78 = add i64 %0, 44\n %79 = inttoptr i64 %78 to i8*\n store i8 %., i8* %79, align 1\n %80 = add i64 %0, 95\n %81 = inttoptr i64 %80 to i8*\n store i8 1, i8* %81, align 1\n %82 = add i64 %0, 359\n %83 = inttoptr i64 %82 to i8*\n store i8 2, i8* %83, align 1\n %84 = add i64 %1, 16\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = mul i32 %86, 4\n %88 = add i32 %87, 4\n %89 = udiv i32 %88, 256\n %90 = add i64 %0, 362\n %91 = trunc i32 %89 to i8\n %92 = inttoptr i64 %90 to i8*\n store i8 %91, i8* %92, align 1\n %93 = load i32, i32* %85, align 4\n %94 = add i64 %0, 363\n %.tr1 = trunc i32 %93 to i8\n %95 = mul i8 %.tr1, 4\n %96 = add i8 %95, 4\n %97 = inttoptr i64 %94 to i8*\n store i8 %96, i8* %97, align 1\n %98 = load i32, i32* %85, align 4\n %99 = add i64 %0, 365\n %100 = trunc i32 %98 to i8\n %101 = inttoptr i64 %99 to i8*\n store i8 %100, i8* %101, align 1\n %102 = add i64 %0, 367\n %103 = inttoptr i64 %102 to i8*\n store i8 16, i8* %103, align 1\n %104 = add i64 %0, 368\n %105 = add i64 %1, 24\n %106 = inttoptr i64 %105 to i64*\n store i64 %104, i64* %106, align 8\n ret i64 0\n\n uselistorder i64 %1, { 1, 2, 3, 4, 0 }\n uselistorder i8* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i8 4, { 2, 0, 1 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i8 1, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stri_Write_10231", "fun_name": "stri_Write", "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 %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = ptrtoint i32* %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 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 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %3, i64 %8)\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 = call i64 @FUNC(i64 %3, i64 %13)\n %15 = add i64 %2, 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 %3, i64 %18)\n %20 = add i64 %2, 12\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 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_5, label LBL_3\n LBL_3:\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 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 %26 = load i64, i64* %25, align 8\n %27 = mul i64 %indvars.iv.reload, 4\n %28 = add i64 %26, %27\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 %3, i64 %31)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %33 = load i32, i32* %21, align 4\n %34 = zext i32 %33 to i64\n %35 = icmp ult i64 %indvars.iv.next, %34\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %35, 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* %21, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u16, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ecdsa_verify_prepare_legacy_6474", "fun_name": "ecdsa_verify_prepare_legacy", "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 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 %3 = add i64 %2, 4\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_2, 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, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64* @memset(i64* %arg1, i32 0, i32 4)\n %12 = ptrtoint i64* %11 to i64\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = ptrtoint i64* %arg1 to i64\n %15 = trunc i64 %1 to i32\n %16 = bitcast i64* %arg1 to i32*\n store i32 %15, i32* %16, align 4\n %17 = call i64 @FUNC(i64* nonnull %sv_2, i64 %3)\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 %13)\n %19 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %20 = add i64 %14, 4\n %21 = inttoptr i64 %20 to i64*\n %22 = call i64 @FUNC(i64* %21, i64* %arg1, i64* nonnull %sv_2)\n %23 = add i64 %14, 8\n %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_0)\n store i64 %24, 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 %14, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*, i64*, i64*)* @ecc_25519_gf_mult, { 1, 0 }\n uselistorder i64 (i64)* @ecc_25519_gf_is_zero, { 1, 0 }\n uselistorder i64* %arg1, { 0, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "piix3_ide_xen_class_init_470", "fun_name": "piix3_ide_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 store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 32902, i32* %2, align 4\n %3 = add i64 %0, 12\n %4 = inttoptr i64 %3 to i32*\n store i32 28945, i32* %4, align 4\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n store i32 257, i32* %6, align 4\n %7 = inttoptr i64 %1 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = or i64 %8, 1\n store i64 %9, i64* %7, align 8\n %10 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %10, align 1\n %11 = inttoptr i64 %5 to i64*\n store i64 4198669, i64* %11, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_set_remote_gb_6162", "fun_name": "nfc_llcp_set_remote_gb", "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 %storemerge.reg2mem = alloca i64\n %0 = icmp ult i8 %arg3, 3\n store i64 4294967274, i64* %rax.0.reg2mem\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 = 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(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967277, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %6 = inttoptr i64 %2 to i64*\n %7 = call i64* @memset(i64* %6, i32 0, i32 255)\n %8 = zext i8 %arg3 to i32\n %9 = call i64* @memcpy(i64* %6, i64* %arg2, i32 %8)\n %10 = add i64 %2, 255\n %11 = inttoptr i64 %10 to i8*\n store i8 %arg3, i8* %11, align 1\n %12 = call i32 @memcmp(i64* %6, i64* nonnull @gv_1, i32 3)\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %15 = load i8, i8* %11, align 1\n %16 = add i8 %15, -3\n %17 = zext i8 %16 to i64\n %18 = add i64 %2, 3\n %19 = call i64 @FUNC(i64 %2, i64 %18, i64 %17)\n %phitmp = and i64 %19, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %20 = call i64 @FUNC(i64 %2)\n store i64 %storemerge.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 %2, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i8*)* @pr_err, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtdelete_4787", "fun_name": "rtdelete", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\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 4210748 to i32*), 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(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n br label LBL_2\n LBL_2:\n %7 = add i64 %arg1, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = add i64 %arg1, 16\n %12 = inttoptr i64 %11 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 %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %arg1, i64 %13)\n %15 = add i32 %storemerge1.reload, 1\n %16 = load i32, i32* %8, align 4\n %17 = zext i32 %16 to i64\n %18 = sext i32 %15 to i64\n %19 = icmp slt i64 %18, %17\n store i32 %15, i32* %storemerge1.reg2mem\n br i1 %19, label LBL_4, label LBL_5\n LBL_5:\n %20 = add i64 %arg1, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n store i32 %22, i32* @gv_1, align 4\n %23 = add i64 %arg1, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = call i32 @htonl(i32 %25)\n store i32 %26, i32* bitcast (i64* @gv_2 to i32*), align 8\n %27 = load i64, i64* @gv_3, align 8\n %28 = icmp eq i64 %27, %arg1\n br i1 %28, label LBL_8, label LBL_6\n LBL_6:\n %29 = trunc i64 %3 to i32\n %30 = load i32, i32* %24, align 4\n %31 = load i32, i32* %21, align 4\n %32 = zext i32 %30 to i64\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %32, i32 %29)\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i64 %34, i64 %27, i64 %34, i64 %2, i64 %1)\n %36 = icmp eq i64 %27, 0\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n %37 = inttoptr i64 %27 to i64*\n call void @free(i64* %37)\n br label LBL_8\n LBL_8:\n %38 = load i32, i32* @gv_5, align 4\n %39 = add i32 %38, -1\n store i32 %39, i32* @gv_5, align 4\n %40 = add i64 %arg1, 16\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 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %44)\n %45 = load i32, i32* @gv_1, align 4\n %46 = icmp eq i32 %45, -1\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_10, label LBL_9\n LBL_9:\n store i64 0, i64* @gv_6, align 8\n br label LBL_10\n LBL_10:\n %48 = zext i32 %45 to i64\n ret i64 %48\n\n uselistorder i32 %45, { 1, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %27, { 0, 2, 1, 3 }\n uselistorder i32* %8, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32* @gv_5, { 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 0, 2, 1 }\n uselistorder i64 %arg1, { 2, 1, 3, 6, 5, 7, 8, 4, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udp_queue_rcv_skb_4670", "fun_name": "udp_queue_rcv_skb", "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 %arg1)\n %3 = call i64 @FUNC(i64 %arg1, i64 0, i64 %arg2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = inttoptr i64 %2 to i32*\n %8 = call i64 @FUNC(i64 %arg2)\n %9 = load i32, i32* %7, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp ult i32 %6, 5\n %or.cond = or i1 %11, %10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_2\n LBL_2:\n %12 = add i64 %2, 8\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 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = trunc i64 %arg1 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 i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %22 = sub i64 0, %arg1\n %23 = and i64 %22, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %24 = inttoptr i64 %arg2 to i64*\n call void @free(i64* %24)\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 i32 %16, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_6, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_vp9dsp_init_281", "fun_name": "ff_vp9dsp_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 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 8\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_5\n LBL_2:\n %5 = icmp eq i32 %1, 10\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(i64 %0)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %8 = icmp eq i32 %1, 12\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %0)\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 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "microdrive_realize_15505", "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 1)\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 ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rds_inc_info_copy_11332", "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 24)\n ret i64 %8\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "new_tiff_handle_10502", "fun_name": "new_tiff_handle", "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(i8* getelementptr inbounds ([54 x i8], [54 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 %3 = call i64 @FUNC(i64 32)\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(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = inttoptr i64 %3 to i64*\n store i64 0, 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 %7, 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 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* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i8*)* @gd_error, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udf_sb_free_partitions_3819", "fun_name": "udf_sb_free_partitions", "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 %storemerge1.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 = icmp eq i64 %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 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = and i64 %1, 4294967295\n store i64 %5, 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 %10 = call i64 @FUNC(i64 %.reload)\n %11 = add i32 %storemerge1.reload, 1\n %12 = sext i32 %11 to i64\n %13 = icmp sgt i64 %9, %12\n %14 = load i64, i64* %4, 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_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %15 = call i64 @FUNC(i64 %.lcssa.reload)\n store i64 0, i64* %4, align 8\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 i64 %5, { 1, 0, 2 }\n uselistorder i64* %4, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_index_list_4582", "fun_name": "read_index_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 %sv_0.07.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.010.reg2mem = alloca i32\n %storemerge511.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(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64* nonnull @gv_1)\n %storemerge59 = load i64, i64* inttoptr (i64 4210752 to i64*), align 64\n %8 = icmp eq i64 %storemerge59, 4210752\n %9 = icmp eq i1 %8, false\n store i64 %storemerge59, i64* %storemerge511.reg2mem\n store i32 0, i32* %sv_1.010.reg2mem\n store i32 0, i32* %sv_1.0.lcssa.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem\n %storemerge511.reload = load i64, i64* %storemerge511.reg2mem\n %10 = mul i32 %sv_1.010.reload, 65536\n %sext = add i32 %10, 65536\n %11 = ashr exact i32 %sext, 16\n %12 = inttoptr i64 %storemerge511.reload to i64*\n %storemerge5 = load i64, i64* %12, align 8\n %13 = icmp eq i64 %storemerge5, 4210752\n %14 = icmp eq i1 %13, false\n store i64 %storemerge5, i64* %storemerge511.reg2mem\n store i32 %11, i32* %sv_1.010.reg2mem\n store i32 %11, i32* %sv_1.0.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_2\n LBL_2:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %15 = mul i32 %sv_1.0.lcssa.reload, 2\n %16 = and i32 %15, 131070\n %narrow = add nuw nsw i32 %16, 8\n %17 = zext i32 %narrow 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 br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_4:\n %22 = add nsw i32 %15, 4\n %23 = call i64 @FUNC(i64 %18, i64 4)\n %24 = call i64 @FUNC(i64 1)\n %25 = trunc i64 %24 to i16\n %26 = inttoptr i64 %23 to i16*\n store i16 %25, i16* %26, align 2\n %27 = and i32 %22, 65534\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i16\n %31 = add i64 %23, 2\n %32 = inttoptr i64 %31 to i16*\n store i16 %30, i16* %32, align 2\n %33 = call i64 @FUNC(i64 %18, i64 2)\n %34 = call i64 @FUNC(i64 2, i64 %33)\n %narrow3 = add nuw nsw i32 %16, 2\n %35 = zext i32 %narrow3 to i64\n %36 = call i64 @FUNC(i64 %18, i64 %35)\n %37 = urem i32 %sv_1.0.lcssa.reload, 65536\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38, i64 %36)\n %storemerge46 = load i64, i64* @gv_2, align 8\n %40 = icmp eq i64 %storemerge46, ptrtoint (i64* @gv_2 to i64)\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_5, label LBL_7\n LBL_5:\n %42 = add i64 %36, 2\n store i64 %storemerge46, i64* %storemerge48.reg2mem\n store i32 0, i32* %sv_0.07.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %storemerge48.reload = load i64, i64* %storemerge48.reg2mem\n %43 = add i32 %sv_0.07.reload, 1\n %44 = sext i32 %sv_0.07.reload to i64\n %45 = mul i64 %44, 2\n %46 = add i64 %42, %45\n %47 = add i64 %storemerge48.reload, 16\n %48 = inttoptr i64 %47 to i16*\n %49 = load i16, i16* %48, align 2\n %50 = zext i16 %49 to i64\n %51 = call i64 @FUNC(i64 %50, i64 %46)\n %52 = load i16, i16* %48, align 2\n %53 = zext i16 %52 to i64\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %53, i64 %46, i64 %4, i64 %2, i64 %1)\n %55 = inttoptr i64 %storemerge48.reload to i64*\n %storemerge4 = load i64, i64* %55, align 8\n %56 = icmp eq i64 %storemerge4, ptrtoint (i64* @gv_2 to i64)\n %57 = icmp eq i1 %56, false\n store i64 %storemerge4, i64* %storemerge48.reg2mem\n store i32 %43, i32* %sv_0.07.reg2mem\n br i1 %57, label LBL_6, label LBL_7\n LBL_7:\n %58 = call i64 @FUNC(i64* nonnull @gv_1)\n %59 = call i64 @FUNC(i64 %5, i64 %18)\n %60 = trunc i64 %59 to i32\n %61 = icmp slt i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %62, label LBL_9, label LBL_8\n LBL_8:\n %63 = call i64 @FUNC(i64 %18)\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 %46, { 1, 0 }\n uselistorder i32 %sv_0.07.reload, { 1, 0 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge511.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.010.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge48.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 0 }\n uselistorder i64* @gv_2, { 1, 0 }\n uselistorder i64 (i64, i64)* @put_unaligned_le16, { 2, 1, 0 }\n uselistorder i64 (i64)* @cpu_to_le16, { 1, 0 }\n uselistorder i64 (i64, i64)* @skb_put, { 2, 1, 0 }\n uselistorder i64 (i64*)* @read_unlock, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 65536, { 1, 2, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i1 false, { 2, 3, 1, 4, 5, 0 }\n uselistorder i64 4210752, { 1, 0, 2 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @BT_DBG, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_event_increment_1553", "fun_name": "qemu_event_increment", "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 store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i32, i32* @gv_0, align 4\n %3 = call i32 @write(i32 %2, i64* inttoptr (i64 4202512 to i64*), i32 1)\n %4 = sext i32 %3 to i64\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": "vhost_dev_set_owner_10480", "fun_name": "vhost_dev_set_owner", "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_0.1.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 store i64 -16, i64* %sv_0.2.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %2, align 8\n %7 = load i64, i64* @gv_0, 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 4198726, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %10)\n %12 = icmp ult i64 %11, -1000\n store i64 %11, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_2, label LBL_5\n LBL_2:\n %sext2 = mul i64 %11, 4294967296\n %13 = ashr exact i64 %sext2, 32\n store i64 %13, i64* %arg1, align 8\n %14 = call i64 @FUNC(i64 %13)\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 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)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %19, i64* %sv_0.0.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %22, label LBL_4, label LBL_9\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i64 @FUNC(i64 %13)\n store i64 0, i64* %arg1, align 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 %24 = load i64, i64* %2, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %24)\n br label LBL_7\n LBL_7:\n store i64 0, i64* %2, align 8\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %sext = mul i64 %sv_0.2.reload, 4294967296\n %27 = ashr exact i64 %sext, 32\n store i64 %27, 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 %13, { 0, 2, 1 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_tcg_configure_1104", "fun_name": "qemu_tcg_configure", "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 %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, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_10, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = inttoptr i64 %6 to i8*\n %10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_7, label LBL_2\n LBL_2:\n %13 = load i32, i32* bitcast (i64* @gv_2 to i32*), align 8\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 %8, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %15, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_4, i64 0, i64 0))\n %17 = call i64 @FUNC()\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_5\n LBL_5:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_5, i64 0, i64 0))\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64 %3, i64 %4, 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 store i32 1, i32* inttoptr (i64 4210740 to i32*), align 4\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_7:\n %23 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0))\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_9, label LBL_8\n LBL_8:\n %26 = sext i32 %23 to i64\n store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8\n store i64 %26, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_9:\n %27 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_9, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n store i64 %27, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_10:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n store i32 %29, i32* bitcast (i64* @gv_8 to i32*), align 8\n store i64 %28, 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 %23, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 }\n uselistorder [6 x i8]* @gv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "extract_sockaddr_237", "fun_name": "extract_sockaddr", "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 i8*\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8*\n %storemerge.in.reg2mem = alloca i8*\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n store i64 %arg1, i64* %arg2, align 8\n %0 = inttoptr i64 %arg1 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 = ptrtoint i8* %1 to i64\n %3 = icmp eq i8* %1, null\n %4 = icmp eq i1 %3, false\n %5 = add i64 %2, 2\n %storemerge4 = select i1 %4, i64 %5, i64 %arg1\n %6 = inttoptr i64 %storemerge4 to i8*\n %7 = call i8* @strchr(i8* %6, i32 91)\n %8 = call i8* @strchr(i8* %6, i32 93)\n %9 = icmp ne i8* %7, null\n %10 = icmp ult i8* %7, %8\n %or.cond6 = icmp eq i1 %9, %10\n br i1 %or.cond6, label LBL_1, label LBL_2\n LBL_1:\n %11 = call i8* @strchr(i8* %8, i32 58)\n store i8* %11, i8** %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %12 = call i8* @strchr(i8* %6, i32 58)\n store i8* %12, i8** %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.in.reload = load i8*, i8** %storemerge.in.reg2mem\n %13 = icmp eq i8* %storemerge.in.reload, null\n br i1 %13, label LBL_6, label LBL_4\n LBL_4:\n %storemerge = ptrtoint i8* %storemerge.in.reload to i64\n %14 = sub i64 %storemerge, %storemerge4\n %15 = trunc i64 %14 to i32\n %16 = call i32 @strlen(i8* %6)\n %17 = sub i32 0, %15\n %18 = sub i32 %17, 1\n %19 = add i32 %16, %18\n %20 = icmp eq i32 %19, 0\n %21 = icmp slt i32 %19, 0\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i1 %20, false\n %24 = icmp eq i1 %22, %23\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_13\n LBL_5:\n %25 = add i64 %storemerge, 1\n %26 = inttoptr i64 %25 to i8*\n store i8* %26, i8** %sv_2.0.reg2mem\n store i32 %19, i32* %sv_1.0.reg2mem\n store i32 %15, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %27 = call i32 @strlen(i8* %6)\n store i8* null, i8** %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %27, 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 = icmp eq i32 %sv_0.0.reload, 0\n %29 = icmp slt i32 %sv_0.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 store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_8, label LBL_13\n LBL_8:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %33 = zext i32 %sv_0.0.reload to i64\n %34 = bitcast i64* %sv_4 to i8*\n %35 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %33, i8* %6)\n %36 = icmp eq i32 %sv_1.0.reload, 0\n br i1 %36, label LBL_11, label LBL_9\n LBL_9:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %37 = zext i32 %sv_1.0.reload to i64\n %38 = bitcast i64* %sv_3 to i8*\n %39 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %38, i32 6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %37, i8* %sv_2.0.reload)\n %40 = call i8* @strchr(i8* nonnull %38, i32 47)\n %41 = icmp eq i8* %40, null\n store i8* %38, i8** %.pre-phi.reg2mem\n br i1 %41, label LBL_12, label LBL_10\n LBL_10:\n store i8 0, i8* %40, align 1\n store i8* %38, i8** %.pre-phi.reg2mem\n br label LBL_12\n LBL_11:\n store i64 12344, i64* %sv_3, align 8\n %.pre = bitcast i64* %sv_3 to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_12\n LBL_12:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %42 = call i8* @strdup(i8* nonnull %.pre-phi.reload)\n %43 = ptrtoint i8* %42 to i64\n store i64 %43, i64* %arg3, align 8\n %44 = call i8* @strdup(i8* nonnull %34)\n %45 = ptrtoint i8* %44 to i64\n store i64 %45, i64* %arg2, 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 i8* %38, { 1, 0, 2, 3 }\n uselistorder i32 %19, { 0, 2, 1 }\n uselistorder i8* %8, { 1, 0 }\n uselistorder i8* %6, { 2, 3, 1, 0, 4, 5 }\n uselistorder i64* %sv_3, { 0, 2, 1 }\n uselistorder i8** %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8* (i8*)* @strdup, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 1 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 0, 3, 1, 4 }\n uselistorder label LBL_13, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tm2_high_chroma_2045", "fun_name": "tm2_high_chroma", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i32* %arg3, i32* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.06.reg2mem = alloca i32*\n %indvars.iv8.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg5 to i64\n %1 = sext i32 %arg2 to i64\n %2 = mul i64 %1, 4\n %3 = ptrtoint i32* %arg4 to i64\n %4 = ptrtoint i32* %arg3 to i64\n store i64 0, i64* %indvars.iv8.reg2mem\n store i32* %arg1, i32** %sv_0.06.reg2mem\n br label LBL_3\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = load i32, i32* %23, align 4\n %6 = add nuw nsw i64 %indvars.iv.reload, %24\n %7 = mul i64 %6, 4\n %8 = add i64 %7, %0\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i32 %10, %5\n store i32 %11, i32* %23, align 4\n %12 = mul i64 %indvars.iv.reload, 4\n %13 = add i64 %12, %4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i32 %15, %11\n store i32 %16, i32* %14, align 4\n %17 = add i64 %12, %25\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, 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_2, label LBL_1\n LBL_2:\n %19 = add i64 %2, %25\n %20 = inttoptr i64 %19 to i32*\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond10 = icmp eq i64 %indvars.iv.next9, 2\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n store i32* %20, i32** %sv_0.06.reg2mem\n br i1 %exitcond10, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.06.reload = load i32*, i32** %sv_0.06.reg2mem\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %21 = mul i64 %indvars.iv8.reload, 4\n %22 = add i64 %21, %3\n %23 = inttoptr i64 %22 to i32*\n %24 = mul i64 %indvars.iv8.reload, 2\n %25 = ptrtoint i32* %sv_0.06.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_4:\n ret i64 %2\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i32* %23, { 1, 0 }\n uselistorder i64 %indvars.iv8.reload, { 2, 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_set_aio_context_941", "fun_name": "bdrv_set_aio_context", "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 br label LBL_1\n LBL_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 br i1 %6, label LBL_1, label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i64 %7)\n %10 = call i64 @FUNC(i64 %0, i64 %7)\n %11 = call i64 @FUNC(i64 %7)\n ret i64 %11\n\n uselistorder i64 %7, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_receive_reply_15024", "fun_name": "nbd_receive_reply", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = call i64* @memset(i64* nonnull %sv_2, i32 170, i32 28)\n %4 = ptrtoint i64* %sv_2 to i64\n store i64 %4, i64* %rsi, align 8\n %5 = and i64 %arg1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64* nonnull %sv_2, i64 28)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 28\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 28, i64 %4, i64 %2, i64 %1)\n %10 = call i32* @__errno_location()\n store i32 22, i32* %10, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64* nonnull %sv_2)\n %13 = trunc i64 %12 to i32\n %14 = call i64 @FUNC(i64* nonnull %sv_1)\n %15 = trunc i64 %14 to i32\n %16 = bitcast i64* %arg2 to i32*\n store i32 %15, i32* %16, align 4\n %17 = call i64 @FUNC(i64* nonnull %sv_0)\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = bitcast i64* %rsi to i32*\n %21 = load i32, i32* %20, align 8\n %22 = and i64 %12, 4294967295\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %22, i32 %21, i64 %17, i64 %2, i64 %1)\n %24 = icmp eq i32 %13, 1732535960\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = zext i32 %21 to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %25, i64 %17, i64 %2, i64 %1)\n %27 = call i32* @__errno_location()\n store i32 22, i32* %27, align 4\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 %21, { 1, 0 }\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 0, 1, 3, 2 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64*)* @be32_to_cpup, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "replace_map_fd_with_map_ptr_6227", "fun_name": "replace_map_fd_with_map_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 %sv_0.0.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %rsi.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %storemerge32.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_1.134.reg2mem = alloca i32\n %rcx.235.reg2mem = alloca i64\n %rdx.236.reg2mem = alloca i64\n %rsi.237.reg2mem = alloca i64\n %sv_0.138.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 = icmp sgt i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_31\n LBL_1:\n %8 = add i32 %6, -1\n %9 = add i64 %3, 88\n %10 = inttoptr i64 %9 to i32*\n store i64 %3, i64* %sv_0.138.reg2mem\n store i32 0, i32* %sv_1.134.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.134.reload = load i32, i32* %sv_1.134.reg2mem\n %rcx.235.reload = load i64, i64* %rcx.235.reg2mem\n %rdx.236.reload = load i64, i64* %rdx.236.reg2mem\n %rsi.237.reload = load i64, i64* %rsi.237.reg2mem\n %sv_0.138.reload = load i64, i64* %sv_0.138.reg2mem\n %11 = inttoptr i64 %sv_0.138.reload to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %12, 8\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = and i32 %12, 56\n %17 = icmp eq i32 %16, 48\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %sv_0.138.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 br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.237.reload, i64 %rdx.236.reload, i64 %rcx.235.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_6:\n %24 = icmp eq i32 %13, 2\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_10, label LBL_7\n LBL_7:\n %26 = and i32 %12, 56\n %27 = icmp ne i32 %26, 48\n %28 = icmp eq i32 %26, 56\n %29 = icmp eq i1 %28, false\n %or.cond = icmp eq i1 %27, %29\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %30 = add i64 %sv_0.138.reload, 16\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_9\n LBL_9:\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %rsi.237.reload, i64 %rdx.236.reload, i64 %rcx.235.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_10:\n %35 = icmp eq i32 %12, 7\n %36 = icmp eq i1 %35, false\n store i32 %sv_1.134.reload, i32* %sv_1.0.reg2mem\n store i64 %rcx.235.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.236.reload, i64* %rdx.1.reg2mem\n store i64 %rsi.237.reload, i64* %rsi.1.reg2mem\n store i64 %sv_0.138.reload, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_30, label LBL_11\n LBL_11:\n %37 = icmp eq i32 %sv_1.134.reload, %8\n br i1 %37, label LBL_16, label LBL_12\n LBL_12:\n %38 = add i64 %sv_0.138.reload, 20\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_16, label LBL_13\n LBL_13:\n %43 = add i64 %sv_0.138.reload, 24\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_16, label LBL_14\n LBL_14:\n %48 = add i64 %sv_0.138.reload, 28\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_16, label LBL_15\n LBL_15:\n %53 = add i64 %sv_0.138.reload, 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_17, label LBL_16\n LBL_16:\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.237.reload, i64 %rdx.236.reload, i64 %rcx.235.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_17:\n %58 = add i64 %sv_0.138.reload, 8\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n store i64 %rcx.235.reload, i64* %rcx.0.reg2mem\n store i64 %rdx.236.reload, i64* %rdx.0.reg2mem\n store i64 %rsi.237.reload, i64* %rsi.0.reg2mem\n switch i32 %60, label LBL_18 [\n i32 0, label LBL_29\n i32 8, label LBL_19\n ]\n LBL_18:\n %61 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %rsi.237.reload, i64 %rdx.236.reload, i64 %rcx.235.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_19:\n %62 = add i64 %sv_0.138.reload, 16\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %65)\n %67 = call i64 @FUNC()\n %68 = call i64 @FUNC(i64 %67)\n %69 = trunc i64 %68 to i32\n %70 = icmp eq i32 %69, 0\n br i1 %70, label LBL_21, label LBL_20\n LBL_20:\n %71 = load i32, i32* %63, align 4\n %72 = zext i32 %71 to i64\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %72, i64 %rdx.236.reload, i64 %rcx.235.reload, i64 %2, i64 %1)\n %sext = mul i64 %67, 4294967296\n %74 = ashr exact i64 %sext, 32\n %75 = call i64 @FUNC(i64 %74)\n store i64 %75, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_21:\n %76 = trunc i64 %67 to i32\n store i32 %76, i32* %63, align 4\n %77 = ashr i32 %76, 31\n %78 = add i64 %sv_0.138.reload, 36\n %79 = inttoptr i64 %78 to i32*\n store i32 %77, i32* %79, align 4\n %80 = load i32, i32* %10, align 4\n %81 = icmp eq i32 %80, 0\n %.pre = mul i64 %67, 4294967296\n %.pre113 = ashr exact i64 %.pre, 32\n br i1 %81, label LBL_28, label LBL_22\n LBL_22:\n %82 = zext i32 %80 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge32.reg2mem\n br label LBL_23\n LBL_23:\n %.reload = load i64, i64* %.reg2mem\n %83 = mul i64 %.reload, 8\n %84 = add i64 %83, %4\n %85 = inttoptr i64 %84 to i64*\n %86 = load i64, i64* %85, align 8\n %87 = icmp eq i64 %86, %.pre113\n %88 = icmp eq i1 %87, false\n br i1 %88, label LBL_25, label LBL_24\n LBL_24:\n %89 = call i64 @FUNC()\n store i64 %rcx.235.reload, i64* %rcx.0.reg2mem\n store i64 %.reload, i64* %rdx.0.reg2mem\n store i64 %rsi.237.reload, i64* %rsi.0.reg2mem\n br label LBL_29\n LBL_25:\n %storemerge32.reload = load i32, i32* %storemerge32.reg2mem\n %90 = add i32 %storemerge32.reload, 1\n %91 = sext i32 %90 to i64\n %92 = icmp slt i64 %91, %82\n store i64 %91, i64* %.reg2mem\n store i32 %90, i32* %storemerge32.reg2mem\n br i1 %92, label LBL_23, label LBL_26\n LBL_26:\n %93 = icmp slt i32 %80, 10\n br i1 %93, label LBL_28, label LBL_27\n LBL_27:\n %94 = call i64 @FUNC()\n store i64 4294967289, i64* %rax.0.reg2mem\n br label LBL_31\n LBL_28:\n %95 = add i32 %80, 1\n store i32 %95, i32* %10, align 4\n %96 = sext i32 %80 to i64\n %97 = mul i64 %96, 8\n %98 = add i64 %97, %4\n %99 = inttoptr i64 %98 to i64*\n store i64 %.pre113, i64* %99, align 8\n %100 = call i64 @FUNC(i64 %.pre113, i64 0)\n %101 = call i64 @FUNC()\n store i64 %.pre113, i64* %rcx.0.reg2mem\n store i64 %3, i64* %rdx.0.reg2mem\n store i64 0, i64* %rsi.0.reg2mem\n br label LBL_29\n LBL_29:\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 %102 = add i32 %sv_1.134.reload, 1\n store i32 %102, i32* %sv_1.0.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 store i64 %38, i64* %sv_0.0.reg2mem\n br label LBL_30\n LBL_30:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %103 = add i32 %sv_1.0.reload, 1\n %104 = add i64 %sv_0.0.reload, 20\n %105 = icmp slt i32 %103, %6\n store i64 %104, i64* %sv_0.138.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.237.reg2mem\n store i64 %rdx.1.reload, i64* %rdx.236.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.235.reg2mem\n store i32 %103, i32* %sv_1.134.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %105, label LBL_2, label LBL_31\n LBL_31:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %80, { 1, 0, 2, 3, 4 }\n uselistorder i64 %67, { 0, 2, 1, 3 }\n uselistorder i32* %63, { 1, 0, 2 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i32 %12, { 1, 2, 3, 0 }\n uselistorder i64 %sv_0.138.reload, { 10, 4, 5, 6, 7, 8, 9, 0, 1, 3, 2 }\n uselistorder i64 %rsi.237.reload, { 1, 5, 2, 6, 0, 4, 3 }\n uselistorder i64 %rdx.236.reload, { 4, 5, 1, 6, 0, 3, 2 }\n uselistorder i64 %rcx.235.reload, { 1, 5, 6, 2, 7, 0, 4, 3 }\n uselistorder i32 %sv_1.134.reload, { 1, 2, 0 }\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_0.138.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.237.reg2mem, { 1, 0 }\n uselistorder i64* %rdx.236.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.235.reg2mem, { 1, 0 }\n uselistorder i32* %sv_1.134.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge32.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 6, 5, 8, 4, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ()* @fdput, { 2, 0, 1 }\n uselistorder i64 4294967274, { 2, 3, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @verbose, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i64 0, { 0, 2, 16, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 4, 5, 17 }\n uselistorder i32 0, { 0, 2, 5, 4, 6, 7, 8, 9, 10, 11, 1, 3 }\n uselistorder label LBL_31, { 0, 2, 3, 4, 5, 6, 7, 1 }\n uselistorder label LBL_29, { 1, 2, 0 }\n uselistorder label LBL_28, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "entry_guards_free_all_8225", "fun_name": "entry_guards_free_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n store i64 0, i64* @gv_0, align 8\n %0 = load i64, i64* @gv_1, 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 0, i64* @gv_1, align 8\n br label LBL_2\n LBL_2:\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %3)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "escape_4000", "fun_name": "escape", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.in.reg2mem = alloca i64*\n %sv_0.0.in.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_1.18.reg2mem = alloca i32\n %indvars.iv12.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n br i1 %1, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = inttoptr i64 %arg1 to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = inttoptr i64 %arg1 to i8*\n %4 = call i32 @strlen(i8* %3)\n %5 = sext i32 %4 to i64\n %6 = icmp ugt i64 %2, %5\n store i8* %3, i8** %.pre-phi.reg2mem\n store i64 %2, i64* %sv_2.0.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %7 = call i32 @strlen(i8* %.pre-phi.reload)\n %8 = sext i32 %7 to i64\n store i64 %8, i64* %sv_2.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %9 = trunc i64 %sv_2.0.reload to i32\n %10 = icmp sgt i32 %9, 0\n br i1 %10, label LBL_5, label LBL_6\n LBL_5:\n %wide.trip.count14 = and i64 %sv_2.0.reload, 4294967295\n store i64 0, i64* %indvars.iv12.reg2mem\n store i32 0, i32* %sv_1.18.reg2mem\n br label LBL_7\n LBL_6:\n %11 = call i64* @calloc(i32 1, i32 1)\n store i64* %11, i64** %.in.reg2mem\n br label LBL_22\n LBL_7:\n %sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem\n %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem\n %12 = add i64 %indvars.iv12.reload, %arg1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n br i1 %15, label LBL_10, label LBL_8\n LBL_8:\n %16 = sext i8 %14 to i32\n %17 = call i8* @strchr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 %16)\n %18 = icmp eq i8* %17, null\n br i1 %18, label LBL_10, label LBL_9\n LBL_9:\n %19 = add i32 %sv_1.18.reload, 2\n store i32 %19, i32* %sv_1.0.reg2mem\n br label LBL_13\n LBL_10:\n %20 = call i16** @__ctype_b_loc()\n %21 = load i16*, i16** %20, align 8\n %22 = ptrtoint i16* %21 to i64\n %23 = load i8, i8* %13, align 1\n %24 = sext i8 %23 to i64\n %25 = mul i64 %24, 2\n %26 = add i64 %25, %22\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = and i16 %28, 16384\n %30 = icmp eq i16 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_12, label LBL_11\n LBL_11:\n %32 = add i32 %sv_1.18.reload, 4\n store i32 %32, i32* %sv_1.0.reg2mem\n br label LBL_13\n LBL_12:\n %33 = add i32 %sv_1.18.reload, 1\n store i32 %33, 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 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1\n %exitcond15 = icmp eq i64 %indvars.iv.next13, %wide.trip.count14\n store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.18.reg2mem\n br i1 %exitcond15, label LBL_14, label LBL_7\n LBL_14:\n %34 = add i32 %sv_1.0.reload, 1\n %35 = call i64* @calloc(i32 1, i32 %34)\n %36 = bitcast i64* %35 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n store i8* %36, i8** %sv_0.15.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.15.reload = load i8*, i8** %sv_0.15.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %37 = add i64 %indvars.iv.reload, %arg1\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 0\n br i1 %40, label LBL_18, label LBL_16\n LBL_16:\n %41 = sext i8 %39 to i32\n %42 = call i8* @strchr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 %41)\n %43 = icmp eq i8* %42, null\n br i1 %43, label LBL_18, label LBL_17\n LBL_17:\n %44 = ptrtoint i8* %42 to i64\n %45 = ptrtoint i8* %sv_0.15.reload to i64\n %46 = add i64 %45, 1\n store i8 92, i8* %sv_0.15.reload, align 1\n %47 = add i64 %45, 2\n %48 = add i64 %44, add (i64 ptrtoint ([13 x i8]* @gv_1 to i64), i64 sub (i64 0, i64 ptrtoint ([8 x i8]* @gv_0 to i64)))\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = inttoptr i64 %46 to i8*\n store i8 %50, i8* %51, align 1\n store i64 %47, i64* %sv_0.0.in.reg2mem\n br label LBL_21\n LBL_18:\n %52 = call i16** @__ctype_b_loc()\n %53 = load i16*, i16** %52, align 8\n %54 = ptrtoint i16* %53 to i64\n %55 = load i8, i8* %38, align 1\n %56 = sext i8 %55 to i64\n %57 = mul i64 %56, 2\n %58 = add i64 %57, %54\n %59 = inttoptr i64 %58 to i16*\n %60 = load i16, i16* %59, align 2\n %61 = and i16 %60, 16384\n %62 = icmp eq i16 %61, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_20, label LBL_19\n LBL_19:\n %64 = sext i8 %55 to i32\n %65 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.15.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %64)\n %66 = ptrtoint i8* %sv_0.15.reload to i64\n %67 = add i64 %66, 4\n store i64 %67, i64* %sv_0.0.in.reg2mem\n br label LBL_21\n LBL_20:\n %68 = ptrtoint i8* %sv_0.15.reload to i64\n %69 = add i64 %68, 1\n store i8 %55, i8* %sv_0.15.reload, align 1\n store i64 %69, i64* %sv_0.0.in.reg2mem\n br label LBL_21\n LBL_21:\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 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count14\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8* %sv_0.0, i8** %sv_0.15.reg2mem\n store i64* %35, i64** %.in.reg2mem\n br i1 %exitcond, label LBL_22, label LBL_15\n LBL_22:\n %.in.reload = load i64*, i64** %.in.reg2mem\n %70 = ptrtoint i64* %.in.reload to i64\n ret i64 %70\n\n uselistorder i64 %45, { 1, 0 }\n uselistorder i8* %42, { 1, 0 }\n uselistorder i8* %sv_0.15.reload, { 2, 3, 4, 5, 1, 0 }\n uselistorder i32 %sv_1.18.reload, { 2, 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv12.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.18.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i16 0, { 1, 0 }\n uselistorder i16 16384, { 1, 0 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i8* null, { 1, 0 }\n uselistorder [8 x i8]* @gv_0, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 1, { 11, 13, 12, 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 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": "acpi_ds_init_aml_walk_7615", "fun_name": "acpi_ds_init_aml_walk", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32 %arg5, i64* %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %r9 = alloca i64, align 8\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = 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))\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n store i64 %0, i64* %arg1, align 8\n %5 = zext i32 %arg5 to i64\n %6 = add i64 %5, %0\n %7 = add i64 %1, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %6, i64* %10, align 8\n %11 = add i64 %1, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = icmp eq i64* %arg6, null\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %14 = ptrtoint i64* %arg6 to i64\n %15 = bitcast i64* %r9 to i32*\n %16 = load i32, i32* %15, align 8\n %17 = icmp eq i32 %16, 1\n %18 = icmp eq i1 %17, false\n %19 = add i64 %14, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %22 = add i64 %1, 56\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n br label LBL_4\n LBL_3:\n %24 = add i64 %1, 64\n %25 = inttoptr i64 %24 to i64*\n store i64 %21, i64* %25, align 8\n %26 = add i64 %14, 16\n %27 = add i64 %1, 72\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n br label LBL_4\n LBL_4:\n %29 = ptrtoint i64* %arg2 to i64\n %30 = call i64 @FUNC(i64 %1, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %30, i64* %rax.0.in.reg2mem\n br i1 %32, label LBL_5, label LBL_14\n LBL_5:\n %33 = icmp eq i64* %arg3, null\n br i1 %33, label LBL_8, label LBL_6\n LBL_6:\n %34 = ptrtoint i64* %arg3 to i64\n %35 = add i64 %1, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = add i64 %1, 96\n %38 = inttoptr i64 %37 to i32*\n store i32 3, i32* %38, align 4\n %39 = add i64 %1, 80\n %40 = inttoptr i64 %39 to i64*\n store i64 %34, i64* %40, align 8\n %41 = call i64 @FUNC(i64 %34)\n %42 = add i64 %1, 88\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = call i64 @FUNC(i64 %34, i64 2, i64 %1)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n store i64 %44, i64* %rax.0.in.reg2mem\n br i1 %46, label LBL_7, label LBL_14\n LBL_7:\n %47 = add i64 %1, 64\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49, i64 4, i64 %1)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n store i64 %50, i64* %rax.0.in.reg2mem\n br i1 %52, label LBL_13, label LBL_14\n LBL_8:\n %53 = add i64 %1, 40\n %storemerge.in3 = inttoptr i64 %53 to i64*\n %storemerge4 = load i64, i64* %storemerge.in3, align 8\n %54 = icmp eq i64 %storemerge4, 0\n store i64 %storemerge4, i64* %storemerge5.reg2mem\n br i1 %54, label LBL_11, label LBL_10\n LBL_9:\n %55 = add i64 %storemerge5.reload, 8\n %storemerge.in = inttoptr i64 %55 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %56 = icmp eq i64 %storemerge, 0\n store i64 %storemerge, i64* %storemerge5.reg2mem\n br i1 %56, label LBL_11, label LBL_10\n LBL_10:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %57 = inttoptr i64 %storemerge5.reload to i64*\n %58 = load i64, i64* %57, align 8\n %59 = icmp eq i64 %58, 0\n br i1 %59, label LBL_9, label LBL_12\n LBL_11:\n %60 = add i64 %1, 32\n %61 = inttoptr i64 %60 to i64*\n store i64 0, i64* %61, align 8\n br label LBL_13\n LBL_12:\n %62 = add i64 %1, 32\n %63 = inttoptr i64 %62 to i64*\n store i64 %58, i64* %63, align 8\n %64 = inttoptr i64 %58 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = zext i32 %65 to i64\n %67 = call i64 @FUNC(i64 %58, i64 %66, i64 %1)\n %68 = trunc i64 %67 to i32\n %69 = icmp eq i32 %68, 0\n store i64 %67, i64* %rax.0.in.reg2mem\n br i1 %69, label LBL_13, label LBL_14\n LBL_13:\n %70 = trunc i64 %arg7 to i32\n %71 = call i64 @FUNC(i64 %1, i32 %70)\n store i64 %71, i64* %rax.0.in.reg2mem\n br label LBL_14\n LBL_14:\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 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %1, { 12, 11, 13, 10, 14, 4, 3, 5, 6, 7, 8, 9, 15, 0, 1, 2, 16, 17, 18, 19 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.in.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @acpi_ds_scope_stack_push, { 1, 0 }\n uselistorder i64* %arg6, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_14, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_13, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vm_start_1341", "fun_name": "vm_start", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = bitcast i32* %sv_0 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp ne i32 %3, 0\n %5 = load i32, i32* %sv_0, align 4\n %6 = icmp eq i32 %5, 0\n %or.cond = icmp eq i1 %4, %6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC()\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* nonnull @gv_0)\n br label LBL_4\n LBL_3:\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC(i64 1)\n %14 = call i64 @FUNC(i64 1, i64 1)\n %15 = call i64 @FUNC()\n br label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64* nonnull @gv_0)\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, 2, 1 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i64 ()* @runstate_is_running, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setUpSSL_6559", "fun_name": "setUpSSL", "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 = load i32, i32* @gv_0, align 4\n %5 = load i32, i32* @gv_1, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %3, i64 %6, i32 %4)\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_8, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC()\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n %13 = load i32, i32* inttoptr (i64 4210780 to i32*), align 4\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* @gv_2, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %3, i64 %16)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %18 = load i8*, i8** @gv_3, align 8\n %19 = icmp eq i8* %18, null\n br i1 %19, label LBL_7, label LBL_4\n LBL_4:\n %20 = call i8* @strchr(i8* nonnull %18, i32 37)\n %21 = icmp eq i8* %20, null\n %22 = load i8*, i8** @gv_3, align 8\n %23 = ptrtoint i8* %22 to i64\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_4, i64 0, i64 0), i64 %23)\n unreachable\n LBL_6:\n %25 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i64 %23, i64 %6, i64 %2, i64 %1)\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = call i64 @FUNC(i64 %3, i64 %25, i64 1)\n %29 = inttoptr i64 %25 to i64*\n call void @free(i64* %29)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %30 = call i64 @FUNC(i64 %3, i64 ptrtoint ([18 x i8]* @gv_6 to i64), i64 1)\n store i64 %30, 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 %25, { 1, 2, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @serverSetCertificate, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i8** @gv_3, { 1, 0 }\n uselistorder i64 (i64)* @check, { 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tlb_flush_nocheck_632", "fun_name": "tlb_flush_nocheck", "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 = 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 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %10 = add i32 %9, 1\n %11 = zext i32 %10 to i64\n store i32 ptrtoint (i64* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8\n %12 = zext i32 %9 to i64\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %11, i64 %3, i64 %2, i64 %1)\n %14 = call i64 @FUNC()\n %15 = call i64* @memset(i64* %arg1, i32 -1, i32 1024)\n %16 = add i64 %7, 1024\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @memset(i64* %17, i32 -1, i32 1024)\n %19 = call i64 @FUNC(i64 %7)\n %20 = add i64 %7, 2048\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %7, 2052\n %23 = inttoptr i64 %22 to i32*\n store i32 -1, i32* %23, align 4\n %24 = add i64 %7, 2056\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = call i64 @FUNC()\n %27 = add i64 %7, 8\n %28 = call i64 @FUNC(i64 %27, i64 0)\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* %0, { 2, 1, 0 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_dump_rx_descr_17015", "fun_name": "vmxnet3_dump_rx_descr", "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, 20\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\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 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = call i64 @FUNC(i64 %0)\n %14 = zext i32 %6 to i64\n %15 = zext i32 %9 to i64\n %16 = zext i32 %12 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %16, i64 %15, i64 %14, i32 %3)\n ret i64 %17\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "load_apply_palette_257", "fun_name": "load_apply_palette", "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 %.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 = 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_3, align 8\n %4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64* nonnull %sv_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_9\n LBL_2:\n %9 = load i64, i64* %sv_1, align 8\n %10 = icmp eq i64 %9, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n %11 = load i64, i64* %sv_2, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_8\n LBL_4:\n %14 = inttoptr i64 %3 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 %9, i64* %.reg2mem\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %3, i64 %11)\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %19 = call i64 @FUNC(i64 %0, i64 %.reload, i64* nonnull %sv_3)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n store i64 %19, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = load i64, i64* %sv_3, 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 = call i64 @FUNC(i64 %25, i64 %22)\n store i64 %26, 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 %27 = call i64 @FUNC(i64* nonnull %sv_1)\n %28 = and i64 %sv_0.0.reload, 4294967295\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* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0, 3, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 3, 4, 5, 0, 1, 2 }\n uselistorder label LBL_8, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cbs_destroy_7080", "fun_name": "cbs_destroy", "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 %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 = add i64 %1, 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %2, i64 %1)\n %9 = call i64 @FUNC(i64* nonnull @gv_0)\n %10 = call i64 @FUNC(i64 %6)\n %11 = call i64 @FUNC(i64* nonnull @gv_0)\n %12 = load i64, i64* %3, align 8\n %13 = call i64 @FUNC(i64 %12)\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\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ReferenceTable_GetFreeEntry_4076", "fun_name": "ReferenceTable_GetFreeEntry", "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 %.reg2mem13 = alloca i32\n %sv_0.12.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = icmp eq i32 %2, 0\n store i32 %2, i32* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br i1 %3, label LBL_6, 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 %.reload = load i32, i32* %.reg2mem\n %4 = mul i64 %indvars.iv.reload, 16\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 %9 = icmp eq i1 %8, false\n store i32 %.reload, i32* %.reg2mem13\n store i32 %sv_0.12.reload, i32* %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 i32*\n store i32 0, i32* %11, align 4\n %.pre = load i32, i32* %1, align 4\n store i32 %.pre, i32* %.reg2mem13\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 %.reload14 = load i32, i32* %.reg2mem13\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %12 = zext i32 %.reload14 to i64\n %13 = icmp ult i64 %indvars.iv.next, %12\n store i32 %.reload14, i32* %.reg2mem\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 %13, label LBL_1, label LBL_4\n LBL_4:\n %14 = icmp eq i32 %sv_0.0.reload, 0\n %15 = icmp eq i1 %14, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %15, label LBL_11, label LBL_5\n LBL_5:\n %16 = icmp eq i32 %.reload14, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_9, label LBL_6\n LBL_6:\n %18 = icmp eq i64 %arg1, 0\n %.pre9 = inttoptr i64 %arg1 to i64*\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n call void @free(i64* %.pre9)\n br label LBL_8\n LBL_8:\n store i64 0, i64* %.pre9, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %19 = mul i32 %.reload14, 32\n %20 = inttoptr i64 %arg1 to i64*\n %21 = call i64* @realloc(i64* %20, i32 %19)\n %22 = icmp eq i64* %21, null\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_10, label LBL_11\n LBL_10:\n %24 = ptrtoint i64* %21 to i64\n %25 = mul i32 %.reload14, 2\n store i32 %25, i32* %1, align 4\n store i64 %24, i64* %20, align 8\n %26 = load i32, i32* %1, align 4\n %27 = udiv i32 %26, 2\n %28 = zext i32 %27 to i64\n %29 = mul i64 %28, 16\n %30 = add i64 %29, %arg1\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n %32 = call i64 @FUNC(i64 %arg1)\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* %21, { 1, 0 }\n uselistorder i32 %.reload14, { 3, 2, 1, 4, 0 }\n uselistorder i32* %1, { 1, 2, 0, 3 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 4, 5, 3, 0, 1, 2 }\n uselistorder i64 %arg1, { 4, 0, 5, 2, 3, 1, 6 }\n uselistorder label LBL_11, { 2, 1, 3, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tget_long_1347", "fun_name": "tget_long", "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 br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\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* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_accept_15907", "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 = zext i32 %2 to i64\n ret i64 %3\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "asf_read_replicated_data_2904", "fun_name": "asf_read_replicated_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 %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 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %6)\n %11 = trunc i64 %10 to i32\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 i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_8\n LBL_2:\n %17 = add i64 %2, 16\n %18 = and i64 %10, 4294967295\n %19 = call i64 @FUNC(i64 %17, 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_4, label LBL_3\n LBL_3:\n %23 = and i64 %19, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %24 = add i64 %2, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 %11, i32* %25, align 4\n %26 = bitcast i64* %arg2 to i32*\n store i32 %11, i32* %26, align 4\n br label LBL_6\n LBL_5:\n %27 = call i64 @FUNC(i64 %6, i64 4)\n br label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %6)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = bitcast i64* %rdi to i32*\n %33 = load i32, i32* %32, align 8\n %34 = icmp slt i32 %33, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %35 = add i32 %33, -8\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %6, 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 i32 %33, { 1, 0 }\n uselistorder i32 %11, { 0, 1, 3, 2 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i64 (i64)* @avio_rl32, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder label LBL_8, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pc_q35_machine_options_14057", "fun_name": "pc_q35_machine_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint ([31 x i8]* @gv_1 to i64), i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198694, 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 ptrtoint ([23 x i8]* @gv_2 to i64), i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ppc_tlb_invalidate_one_18615", "fun_name": "ppc_tlb_invalidate_one", "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 = and i64 %arg2, -4096\n %4 = trunc i64 %1 to i32\n %5 = and i64 %1, 4294967295\n store i64 %5, i64* @0, align 8\n switch i32 %4, label LBL_9 [\n i32 1, label LBL_1\n i32 2, label LBL_1\n i32 3, label LBL_3\n i32 4, label LBL_3\n i32 5, label LBL_4\n i32 6, label LBL_5\n i32 7, label LBL_6\n i32 8, label LBL_7\n i32 9, label LBL_7\n i32 10, label LBL_8\n ]\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i64 %3, i64 0)\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, 1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_10, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i64 %3, i64 1)\n br label LBL_10\n LBL_3:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = call i64 @FUNC(i64 %2, i64 %3, i32 %15)\n br label LBL_10\n LBL_4:\n %17 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_10\n LBL_5:\n %18 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_10\n LBL_6:\n %19 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_10\n LBL_7:\n %20 = and i64 %arg2, 268431360\n %21 = call i64 @FUNC(i64 %2, i64 %20)\n %22 = or i64 %20, 268435456\n %23 = call i64 @FUNC(i64 %2, i64 %22)\n %24 = or i64 %20, 536870912\n %25 = call i64 @FUNC(i64 %2, i64 %24)\n %26 = or i64 %20, 805306368\n %27 = call i64 @FUNC(i64 %2, i64 %26)\n %28 = or i64 %20, 1073741824\n %29 = call i64 @FUNC(i64 %2, i64 %28)\n %30 = or i64 %20, 1342177280\n %31 = call i64 @FUNC(i64 %2, i64 %30)\n %32 = or i64 %20, 1610612736\n %33 = call i64 @FUNC(i64 %2, i64 %32)\n %34 = or i64 %20, 1879048192\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = or i64 %20, -2147483648\n %37 = call i64 @FUNC(i64 %2, i64 %36)\n %38 = or i64 %20, -1879048192\n %39 = call i64 @FUNC(i64 %2, i64 %38)\n %40 = or i64 %20, -1610612736\n %41 = call i64 @FUNC(i64 %2, i64 %40)\n %42 = or i64 %20, -1342177280\n %43 = call i64 @FUNC(i64 %2, i64 %42)\n %44 = or i64 %20, -1073741824\n %45 = call i64 @FUNC(i64 %2, i64 %44)\n %46 = or i64 %20, -805306368\n %47 = call i64 @FUNC(i64 %2, i64 %46)\n %48 = or i64 %20, -536870912\n %49 = call i64 @FUNC(i64 %2, i64 %48)\n %50 = or i64 %20, -268435456\n %51 = call i64 @FUNC(i64 %2, i64 %50)\n br label LBL_10\n LBL_8:\n %52 = call i64 @FUNC(i64 %2, i64 1)\n br label LBL_10\n LBL_9:\n %53 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_10\n LBL_10:\n %54 = call i64 @FUNC(i64 %2)\n ret i64 %54\n\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %2, { 25, 26, 24, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 7, 6, 5, 4, 3, 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64)* @tlb_flush_page, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64, i8*)* @cpu_abort, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ppc6xx_tlb_invalidate_virt, { 1, 0 }\n uselistorder label LBL_10, { 8, 2, 3, 4, 5, 6, 7, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmgenid_device_class_init_539", "fun_name": "vmgenid_device_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 4198772, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i8*\n store i8 0, 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 0, i64 %7)\n %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 4198761, i64 0)\n %10 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_2, i64 0, i64 0), i64 0)\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_dirty_segmap_9949", "fun_name": "build_dirty_segmap", "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 48, 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 store i64 %0, i64* inttoptr (i64 48 to i64*), align 16\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 10)\n %6 = and i64 %5, 4294967295\n %7 = add i64 %0, 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 %8 = call i64 @FUNC(i64 %6, i64 0)\n %9 = mul i64 %indvars.iv.reload, 8\n %10 = add i64 %7, %9\n %11 = inttoptr i64 %10 to i64*\n store i64 %8, i64* %11, align 8\n %12 = icmp eq i64 %8, 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_5\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %14 = icmp ult i64 %indvars.iv.next, 5\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %14, label LBL_2, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %3)\n %16 = call i64 @FUNC(i64 %3)\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 %3, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "div64_2899", "fun_name": "div64", "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.04.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %storemerge16.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 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 = udiv i64 %0, %arg3\n %4 = urem i64 %0, %arg3\n store i64 %3, i64* %arg1, align 8\n store i64 %4, i64* %arg2, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = icmp ult i64 %5, %arg3\n store i32 0, i32* %storemerge16.reg2mem\n store i64 %5, i64* %sv_1.15.reg2mem\n store i64 %0, i64* %sv_0.04.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_5\n LBL_3:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %storemerge16.reload = load i32, i32* %storemerge16.reg2mem\n %7 = mul i64 %sv_1.15.reload, 2\n %8 = lshr i64 %sv_0.04.reload, 63\n %9 = or i64 %8, %7\n %10 = icmp ult i64 %9, %arg3\n %11 = select i1 %10, i64 0, i64 %arg3\n %spec.select = sub i64 %9, %11\n %not. = icmp ne i1 %10, true\n %spec.select3 = zext i1 %not. to i64\n %12 = mul i64 %sv_0.04.reload, 2\n %13 = or i64 %12, %spec.select3\n %14 = add nuw nsw i32 %storemerge16.reload, 1\n %exitcond = icmp eq i32 %14, 64\n store i32 %14, i32* %storemerge16.reg2mem\n store i64 %spec.select, i64* %sv_1.15.reg2mem\n store i64 %13, i64* %sv_0.04.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n store i64 %13, i64* %arg1, align 8\n store i64 %spec.select, i64* %arg2, 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 %13, { 1, 0 }\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64 %sv_0.04.reload, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 %arg3, { 0, 3, 4, 2, 1 }\n uselistorder i64* %arg2, { 0, 3, 1, 2 }\n uselistorder label LBL_5, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "adjust_branches_6198", "fun_name": "adjust_branches", "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 %sv_1.05.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 i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp sgt i32 %3, 0\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext3, 32\n %7 = trunc i64 %6 to i32\n %8 = add nsw i64 %6, %5\n %9 = and i64 %8, 4294967295\n %wide.trip.count = zext i32 %3 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %sv_1.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = inttoptr i64 %sv_1.05.reload to i32*\n %11 = load i32, i32* %10, align 4\n %12 = urem i32 %11, 8\n %13 = icmp eq i32 %12, 5\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_10, label LBL_3\n LBL_3:\n %15 = trunc i32 %11 to i8\n %trunc = and i8 %15, -16\n switch i8 %trunc, label LBL_4 [\n i8 32, label LBL_10\n i8 16, label LBL_10\n ]\n LBL_4:\n %16 = icmp slt i64 %indvars.iv.reload, %5\n br i1 %16, label LBL_5, label LBL_7\n LBL_5:\n %17 = add i64 %sv_1.05.reload, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = trunc i64 %indvars.iv.reload to i32\n %21 = add i32 %19, %20\n %22 = zext i32 %21 to i64\n %23 = icmp sgt i64 %5, %22\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = add i32 %19, %7\n store i32 %24, i32* %18, align 4\n br label LBL_10\n LBL_7:\n %25 = icmp ult i64 %9, %indvars.iv.reload\n br i1 %25, label LBL_8, label LBL_10\n LBL_8:\n %26 = add i64 %sv_1.05.reload, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = trunc i64 %indvars.iv.reload to i32\n %30 = add i32 %28, %29\n %31 = zext i32 %30 to i64\n %32 = icmp ugt i64 %9, %31\n br i1 %32, label LBL_9, label LBL_10\n LBL_9:\n %33 = sub i32 %28, %7\n store i32 %33, i32* %27, align 4\n br label LBL_10\n LBL_10:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %34 = add i64 %sv_1.05.reload, 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* %sv_1.05.reg2mem\n store i64 %wide.trip.count, i64* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_2\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 i32 %28, { 1, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2, 4 }\n uselistorder i64 %sv_1.05.reload, { 3, 0, 2, 1 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_10, { 5, 3, 4, 6, 0, 1, 2 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "switch_to_bitmap_11676", "fun_name": "switch_to_bitmap", "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, 2\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 = call i64 @FUNC(i64 4210717)\n %3 = call i64 @FUNC(i64 %2)\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 i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_const_block_data_12146", "fun_name": "read_const_block_data", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32*\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 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %1, 16\n %6 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %6, 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 = call i64 @FUNC(i64 %5)\n %11 = trunc i64 %10 to i32\n %12 = inttoptr i64 %9 to i32*\n store i32 %11, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %5)\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 %5, i64 5)\n %18 = load i64, i64* %8, align 8\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* %19, i32** %.pre-phi.reg2mem\n store i64 %18, i64* %.reg2mem\n br i1 %21, label LBL_4, label LBL_1\n LBL_1:\n %22 = bitcast i64* %rdi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 24, i64* %storemerge.reg2mem\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n %26 = inttoptr i64 %4 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n store i64 %28, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %29 = call i64 @FUNC(i64 %5, i64 %storemerge.reload)\n %30 = trunc i64 %29 to i32\n %31 = inttoptr i64 %storemerge.reload to i32*\n store i32 %30, i32* %31, align 4\n %.pre = load i64, i64* %8, align 8\n %.pre3 = inttoptr i64 %.pre to i32*\n store i32* %.pre3, i32** %.pre-phi.reg2mem\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n store i32 1, i32* %.pre-phi.reload, align 4\n ret i64 %.reload\n\n uselistorder i64 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @get_bits1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_read_content_storage_15255", "fun_name": "mxf_read_content_storage", "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 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 6401\n %2 = icmp eq i1 %1, false\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* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, 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": "1" }, { "dataset": "CompRealVul", "file": "decode_ref_idx_lX_7047", "fun_name": "decode_ref_idx_lX", "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 i32\n %sv_1.0.in.be.reg2mem = alloca i64\n %sv_0.03.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 = trunc i64 %arg2 to i32\n %6 = icmp sgt i32 %5, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_8\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %9 = add i32 %5, -1\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %7, i64 %12)\n %sv_1.02 = trunc i64 %13 to i32\n %14 = icmp eq i32 %sv_1.02, 0\n %15 = icmp eq i1 %14, false\n store i32 0, i32* %sv_0.03.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %15, label LBL_2, label LBL_7\n LBL_2:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %16 = add nuw i32 %sv_0.03.reload, 1\n %17 = icmp eq i32 %16, %9\n store i32 %9, i32* %sv_0.1.reg2mem\n br i1 %17, label LBL_7, label LBL_3\n LBL_3:\n %18 = icmp eq i32 %sv_0.03.reload, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_4\n LBL_4:\n %20 = load i64, i64* %11, align 8\n %21 = add i64 %20, 1\n %22 = call i64 @FUNC(i64 %7, i64 %21)\n store i64 %22, i64* %sv_1.0.in.be.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.in.be.reload = load i64, i64* %sv_1.0.in.be.reg2mem\n %sv_1.0 = trunc i64 %sv_1.0.in.be.reload to i32\n %23 = icmp eq i32 %sv_1.0, 0\n %24 = icmp eq i1 %23, false\n store i32 %16, i32* %sv_0.03.reg2mem\n store i32 %16, i32* %sv_0.1.reg2mem\n br i1 %24, label LBL_2, label LBL_7\n LBL_6:\n %25 = call i64 @FUNC(i64 %7)\n store i64 %25, i64* %sv_1.0.in.be.reg2mem\n br label LBL_5\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %26 = zext i32 %sv_0.1.reload to i64\n %27 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %4, i64 %2, i64 %1)\n %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 %4, i64 %2, i64 %1)\n store i64 %26, 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, { 0, 1, 3, 2 }\n uselistorder i64 %4, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.in.be.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 4, 3, 0, 1, 2 }\n uselistorder i64 (i64, i64)* @decode_CABAC_bit, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @logtrace, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_global_option_17272", "fun_name": "qemu_global_option", "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 %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i32* nonnull %sv_2)\n %2 = icmp slt i32 %1, 2\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = load i32, i32* %sv_2, align 4\n %4 = sext i32 %3 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, 61\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC(i64* nonnull @gv_2, i64 0, i64 0)\n %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0)\n %12 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1)\n %13 = load i32, i32* %sv_2, align 4\n %14 = sext i32 %13 to i64\n %15 = add i64 %arg1, 1\n %16 = add i64 %15, %14\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64* %17)\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_2, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64*)* @qemu_opt_set, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bnx2fc_if_destroy_3704", "fun_name": "bnx2fc_if_destroy", "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 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %5 = add i64 %1, 8\n %6 = call i64 @FUNC(i64 %5)\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 %3)\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ReadNextFunctionHandle_5594", "fun_name": "ReadNextFunctionHandle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n store i32 1, i32* %sv_0, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 8, i64* %4, align 8\n %5 = load i32, i32* %sv_0, align 4\n %6 = sext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %0, i64 %6, i64 8)\n %8 = or i64 %7, %2\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_1, label LBL_9\n LBL_1:\n %11 = call i64* @malloc(i32 %5)\n %12 = ptrtoint i64* %11 to i64\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = icmp eq i64* %11, null\n br i1 %15, label LBL_8, label LBL_2\n LBL_2:\n %16 = ptrtoint i64* %arg1 to i64\n %17 = load i32, i32* %sv_0, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %storemerge24.reg2mem\n br i1 %18, label LBL_9, label LBL_3\n LBL_3:\n %storemerge24.reload = load i64, i64* %storemerge24.reg2mem\n %19 = mul i64 %storemerge24.reload, 8\n %20 = add i64 %19, %12\n %21 = call i64 @FUNC(i64 %16)\n %22 = inttoptr i64 %20 to i64*\n store i64 %21, i64* %22, align 8\n %23 = icmp eq i64 %21, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add nuw i64 %storemerge24.reload, 1\n %27 = load i32, i32* %sv_0, align 4\n %28 = sext i32 %27 to i64\n %29 = icmp ult i64 %26, %28\n store i64 %26, i64* %storemerge24.reg2mem\n br i1 %29, label LBL_3, label LBL_9\n LBL_5:\n %30 = icmp eq i64 %storemerge24.reload, 0\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %31 = mul i64 %storemerge3.reload, 8\n %32 = add i64 %31, %12\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i64*\n call void @free(i64* %35)\n %36 = add nuw i64 %storemerge3.reload, 1\n %exitcond = icmp eq i64 %36, %storemerge24.reload\n store i64 %36, i64* %storemerge3.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %37 = load i64, i64* %14, align 8\n %38 = inttoptr i64 %37 to i64*\n call void @free(i64* %38)\n store i64 0, i64* %14, align 8\n store i64 0, i64* %4, align 8\n store i64 0, i64* %arg2, align 8\n br label LBL_9\n LBL_8:\n store i64 0, i64* %4, align 8\n store i64 0, i64* %arg2, align 8\n br label LBL_9\n LBL_9:\n ret i64 0\n\n uselistorder i64 %storemerge24.reload, { 1, 2, 0, 3 }\n uselistorder i64* %14, { 1, 0, 2 }\n uselistorder i64* %4, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 3, 0, 2, 4, 1 }\n uselistorder i64* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder label LBL_9, { 3, 2, 0, 1, 4 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rlvl_destroy_5459", "fun_name": "rlvl_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.01.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 i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 0, i64* %sv_0.01.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %6 = call i64 @FUNC(i64 %0)\n %7 = add nuw i64 %sv_0.01.reload, 1\n %8 = load i64, i64* %3, align 8\n %9 = icmp ult i64 %7, %8\n store i64 %7, i64* %sv_0.01.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n ret i64 %0\n\n uselistorder i64* %3, { 1, 0 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_target_4467", "fun_name": "get_target", "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* %arg2 to i64\n %1 = call i64 @FUNC(i64 %arg1, i64 3, 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.0.reg2mem\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = load i64, i64* @gv_0, align 8\n %6 = icmp eq i64 %5, 3\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 3)\n store i64 %8, i64* %arg3, align 8\n %9 = icmp eq i64* %arg3, null\n %10 = icmp eq i1 %9, false\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0)\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %0)\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 %13 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %13\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64)* @path_put, { 1, 0 }\n uselistorder i64 3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smb2_flush_13512", "fun_name": "smb2_flush", "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 i16, align 2\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %1 = bitcast i16* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %1, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = load i16, i16* %sv_0, align 2\n %6 = icmp eq i16 %5, 24\n %or.cond = icmp eq i1 %4, %6\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3)\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 %11 = call i64 @FUNC(i64 %0, i64 %10)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\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 %0, i64 %14)\n %16 = add i64 %0, 8\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 4, 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 %0, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_dispatch_3307", "fun_name": "qmp_dispatch", "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 store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)\n %1 = call i64 @FUNC()\n %2 = load i64, i64* %sv_0, 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 %5 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n %6 = load i64, i64* %sv_0, align 8\n %7 = call i64 @FUNC(i64 %6)\n store i64 %1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %8 = icmp eq i64 %0, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %0)\n store i64 %1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %10 = call i64 @FUNC(i64 %1)\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, { 4, 1, 3, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @qdict_put_obj, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp9_rc_regulate_q_5150", "fun_name": "vp9_rc_regulate_q", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.05.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i128 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i128 %3)\n %5 = sext i32 %arg2 to i64\n %6 = mul i64 %5, 1024\n %7 = add i64 %2, 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 = udiv i64 %6, %10\n %12 = trunc i64 %11 to i32\n %13 = add i64 %2, 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 i128 @__asm_movq.2(i64 %4)\n %18 = zext i32 %arg3 to i64\n %19 = and i64 %1, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %18, i64 %16)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %12, %21\n store i64 2147483647, i64* %sv_2.0.lcssa.reg2mem\n store i32 %arg3, i32* %sv_1.0.lcssa.reg2mem\n store i64 %20, i64* %.lcssa.reg2mem\n store i64 %20, i64* %.reg2mem\n store i32 %arg3, i32* %sv_1.05.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %23 = load i32, i32* %14, align 4\n %24 = zext i32 %23 to i64\n %25 = call i128 @__asm_movq.2(i64 %4)\n %26 = zext i32 %35 to i64\n %27 = call i64 @FUNC(i64 %19, i64 %26, i64 %24)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %12, %28\n store i64 %27, i64* %.reg2mem\n store i32 %35, i32* %sv_1.05.reg2mem\n br i1 %29, label LBL_4, label LBL_1.LBL_3_crit_edge\n LBL_2:\n %30 = sub i64 %.reload, %11\n %phitmp = mul i64 %30, 4294967296\n %phitmp8 = ashr exact i64 %phitmp, 32\n store i64 %phitmp8, i64* %sv_2.0.lcssa.reg2mem\n store i32 %35, i32* %sv_1.0.lcssa.reg2mem\n store i64 %27, i64* %.lcssa.reg2mem\n br label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem\n %31 = sub i64 %11, %.lcssa.reload\n %32 = and i64 %31, 4294967295\n %33 = icmp slt i64 %sv_2.0.lcssa.reload, %32\n %34 = sext i1 %33 to i32\n %spec.select = add i32 %sv_1.0.lcssa.reload, %34\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %35 = add i32 %sv_1.05.reload, 1\n %36 = icmp sgt i32 %35, %arg4\n store i32 %arg4, i32* %sv_0.0.reg2mem\n br i1 %36, label LBL_5, label LBL_1\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %37 = zext i32 %sv_0.0.reload to i64\n ret i64 %37\n\n uselistorder i32 %35, { 3, 2, 0, 1 }\n uselistorder i64 %27, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i32* %14, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.05.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @vp9_rc_bits_per_mb, { 1, 0 }\n uselistorder i128 (i64)* @__asm_movq.2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zend_accel_hash_update_11969", "fun_name": "zend_accel_hash_update", "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 %rdi.1.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %rdi.19.reg2mem = alloca i64\n %storemerge10.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge412.reg2mem = alloca i64\n %0 = trunc i64 %arg4 to i32\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = add i64 %arg5, 40\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 store i64 %arg5, i64* %storemerge412.reg2mem\n store i64 %arg5, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %storemerge412.reload = load i64, i64* %storemerge412.reg2mem\n %7 = add i64 %storemerge412.reload, 24\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 40\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 %9, i64* %storemerge412.reg2mem\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_2, label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %16 = ashr exact i64 %sext, 32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %arg2, i64 %17)\n %19 = add i64 %15, 24\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = urem i64 %18, %22\n %24 = mul i64 %23, 8\n %25 = add i64 %24, %arg2\n %storemerge.in7 = inttoptr i64 %25 to i64*\n %storemerge8 = load i64, i64* %storemerge.in7, align 8\n %26 = icmp eq i64 %storemerge8, 0\n %27 = icmp eq i1 %26, false\n store i32 %21, i32* %.reg2mem\n store i64 %arg2, i64* %rdi.1.lcssa.reg2mem\n br i1 %27, label LBL_4, label LBL_17\n LBL_4:\n %28 = trunc i64 %16 to i32\n %29 = inttoptr i64 %arg2 to i64*\n store i64 %storemerge8, i64* %storemerge10.reg2mem\n store i64 %arg2, i64* %rdi.19.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.19.reload = load i64, i64* %rdi.19.reg2mem\n %storemerge10.reload = load i64, i64* %storemerge10.reg2mem\n %30 = inttoptr i64 %storemerge10.reload to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %18, %31\n %33 = icmp eq i1 %32, false\n store i64 %rdi.19.reload, i64* %rdi.0.reg2mem\n br i1 %33, label LBL_15, label LBL_6\n LBL_6:\n %34 = add i64 %storemerge10.reload, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, %28\n %38 = icmp eq i1 %37, false\n store i64 %rdi.19.reload, i64* %rdi.0.reg2mem\n br i1 %38, label LBL_15, label LBL_7\n LBL_7:\n %39 = add i64 %storemerge10.reload, 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 = call i32 @memcmp(i64* %42, i64* %29, i32 %28)\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %41, i64* %rdi.0.reg2mem\n br i1 %45, label LBL_15, label LBL_8\n LBL_8:\n %46 = add i64 %storemerge10.reload, 40\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %49, label LBL_12, label LBL_9\n LBL_9:\n %51 = add i64 %storemerge10.reload, 24\n %52 = inttoptr i64 %51 to i64*\n br i1 %50, label LBL_11, label LBL_10\n LBL_10:\n store i64 %sv_0.0.reload, i64* %52, align 8\n store i64 %storemerge10.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_11:\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %53, 24\n %55 = inttoptr i64 %54 to i64*\n store i64 %arg5, i64* %55, align 8\n store i64 %storemerge10.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_12:\n br i1 %50, label LBL_14, label LBL_13\n LBL_13:\n %56 = add i64 %15, 20\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 %60 = add i64 %storemerge10.reload, 24\n %61 = inttoptr i64 %60 to i64*\n store i64 %sv_0.0.reload, i64* %61, align 8\n store i32 1, i32* %47, align 4\n store i64 %storemerge10.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_14:\n %62 = add i64 %storemerge10.reload, 24\n %63 = inttoptr i64 %62 to i64*\n store i64 %arg5, i64* %63, align 8\n store i64 %storemerge10.reload, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_15:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %64 = add i64 %storemerge10.reload, 32\n %storemerge.in = inttoptr i64 %64 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %65 = icmp eq i64 %storemerge, 0\n %66 = icmp eq i1 %65, false\n store i64 %storemerge, i64* %storemerge10.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.19.reg2mem\n br i1 %66, label LBL_5, label LBL_16\n LBL_16:\n %.pre = load i32, i32* %20, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem\n br label LBL_17\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %67 = add i64 %15, 16\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = icmp eq i32 %69, %.reload\n %71 = icmp eq i1 %70, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %71, label LBL_18, label LBL_22\n LBL_18:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %72 = add i64 %15, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = add i32 %69, 1\n store i32 %75, i32* %68, align 4\n %76 = zext i32 %69 to i64\n %77 = mul nuw nsw i64 %76, 48\n %78 = add i64 %74, %77\n br i1 %1, label LBL_20, label LBL_19\n LBL_19:\n %79 = add i64 %78, 24\n %80 = inttoptr i64 %79 to i64*\n store i64 %sv_0.0.reload, i64* %80, align 8\n %81 = add i64 %78, 40\n %82 = inttoptr i64 %81 to i32*\n store i32 1, i32* %82, align 4\n br label LBL_21\n LBL_20:\n %83 = add i64 %15, 20\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = add i32 %85, 1\n store i32 %86, i32* %84, align 4\n %87 = add i64 %78, 24\n %88 = inttoptr i64 %87 to i64*\n store i64 %arg5, i64* %88, align 8\n %89 = add i64 %78, 40\n %90 = inttoptr i64 %89 to i32*\n store i32 0, i32* %90, align 4\n br label LBL_21\n LBL_21:\n %91 = inttoptr i64 %78 to i64*\n store i64 %18, i64* %91, align 8\n %92 = add i64 %78, 8\n %93 = inttoptr i64 %92 to i64*\n store i64 %arg2, i64* %93, align 8\n %94 = trunc i64 %16 to i32\n %95 = add i64 %78, 16\n %96 = inttoptr i64 %95 to i32*\n store i32 %94, i32* %96, align 4\n %97 = add i64 %rdi.1.lcssa.reload, %24\n %98 = inttoptr i64 %97 to i64*\n %99 = load i64, i64* %98, align 8\n %100 = add i64 %78, 32\n %101 = inttoptr i64 %100 to i64*\n store i64 %99, i64* %101, align 8\n store i64 %78, i64* %98, align 8\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 i64 %78, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9 }\n uselistorder i32 %69, { 1, 0, 2 }\n uselistorder i64* %52, { 1, 0 }\n uselistorder i1 %50, { 1, 0 }\n uselistorder i64 %storemerge10.reload, { 7, 3, 9, 2, 11, 1, 0, 8, 10, 4, 5, 6 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 3, 2, 0, 1 }\n uselistorder i64 %15, { 0, 2, 1, 3, 4 }\n uselistorder i64* %storemerge412.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge10.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.19.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 3, 2 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder i64 24, { 0, 1, 2, 3, 4, 5, 7, 6 }\n uselistorder i1 false, { 5, 6, 2, 3, 4, 1, 7, 0 }\n uselistorder i64 40, { 1, 2, 3, 4, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 1, 6, 0 }\n uselistorder i64 %arg5, { 3, 5, 4, 0, 1, 2 }\n uselistorder i64 %arg2, { 3, 1, 4, 0, 2, 5 }\n uselistorder label LBL_22, { 5, 0, 4, 3, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "check_for_slice_6310", "fun_name": "check_for_slice", "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 = 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_6\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = sub i32 0, %7\n %9 = urem i32 %8, 8\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_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5, i64 8)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 128\n %15 = icmp eq i1 %14, false\n %spec.select = select i1 %15, i32 %9, i32 8\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 %16 = add nuw nsw i32 %sv_0.0.reload, 24\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %5, i64 %17)\n %19 = urem i64 %18, 16777216\n %20 = icmp eq i64 %19, 1\n %21 = icmp eq i1 %20, false\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(i64 %5, i64 %17)\n %23 = call i64 @FUNC(i64 %5, i64 8)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %4, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = add i64 %4, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp ugt i32 %29, %24\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_5, label LBL_6\n LBL_5:\n %31 = call i64 @FUNC(i64 %4, i64 %5)\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 %9, { 2, 0, 1 }\n uselistorder i64 %5, { 1, 3, 2, 4, 0, 5 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_rfc4106_crypt_10703", "fun_name": "crypto_rfc4106_crypt", "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 %2)\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 %7, 1\n %9 = call i64 @FUNC(i64 %6)\n %10 = and i64 %9, 4294967295\n %11 = add i64 %1, 72\n %12 = add i64 %11, %10\n %13 = and i64 %8, 4294967295\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n %15 = inttoptr i64 %3 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = inttoptr i64 %14 to i32*\n store i32 %16, i32* %17, align 4\n %18 = add i64 %0, 56\n %19 = add i64 %14, 4\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %19 to i64*\n store i64 %21, i64* %22, align 8\n %23 = call i64 @FUNC(i64 %1, i64 %6)\n %24 = add i64 %0, 48\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %0, 40\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %0, 32\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = call i64 @FUNC(i64 %1, i32 %32, i64 %29, i64 %26)\n %34 = add i64 %0, 28\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\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 %1, i64 %1, i64 %39, i32 %36, i64 %14)\n %41 = add i64 %0, 24\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %0, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %1, i64 %46, i32 %43)\n ret i64 %1\n\n uselistorder i64 %1, { 1, 2, 4, 3, 5, 6, 0 }\n uselistorder i64 %0, { 7, 6, 5, 3, 4, 2, 1, 0, 8, 9 }\n uselistorder i64 72, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_irq_tbtt_indication_8073", "fun_name": "handle_irq_tbtt_indication", "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 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 = call i64 @FUNC(i64 %0, i64 0)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0, i64 1)\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i8*\n store i8 1, i8* %10, align 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 %0, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64, i64)* @b43_is_mode, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "monitor_init_2105", "fun_name": "monitor_init", "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 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %1, label LBL_3, 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 %2, ptrtoint (i64* @gv_0 to i64)\n %4 = inttoptr i64 %3 to i64*\n store i64 0, i64* %4, 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 store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8\n br label LBL_3\n LBL_3:\n %5 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %6 = sext i32 %storemerge3.reload to i64\n %7 = mul i64 %6, 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 i1 %11, false\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n store i64 %5, i64* %9, align 8\n br label LBL_7\n LBL_6:\n %13 = add nuw i32 %storemerge3.reload, 1\n %14 = icmp ult i32 %13, 10\n store i32 %13, i32* %storemerge3.reg2mem\n br i1 %14, label LBL_4, label LBL_7\n LBL_7:\n %15 = trunc i64 %arg2 to i32\n %16 = icmp eq i32 %15, 0\n %17 = zext i1 %16 to i32\n store i32 %17, i32* bitcast (i64* @gv_2 to i32*), align 8\n %18 = call i64 @FUNC(i64 %5, i64 4198711, i64 4198718, i64 4198725, i64 0)\n %19 = call i64 @FUNC(i64 4202512, i64 0, i64 4198732, i64 0)\n ret i64 %19\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "search_memslots_5745", "fun_name": "search_memslots", "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.lcssa.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %sv_1.04.reg2mem = alloca i32\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, 16\n %5 = call i64 @FUNC(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 = icmp eq i32 %3, 0\n %10 = zext i1 %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 store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_8\n LBL_1:\n %sext = mul i64 %5, 4294967296\n %14 = ashr exact i64 %sext, 28\n %15 = add i64 %14, %8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp ugt i64 %17, %arg2\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = add i64 %15, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %17\n %23 = icmp ugt i64 %22, %arg2\n %24 = icmp eq i1 %23, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %24, label LBL_3, label LBL_8\n LBL_3:\n %25 = icmp sgt i32 %3, 0\n store i32 %3, i32* %sv_1.04.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %25, label LBL_4, label LBL_5\n LBL_4:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %26 = sub i32 %sv_1.04.reload, %sv_0.03.reload\n %27 = icmp slt i32 %26, 0\n %28 = zext i1 %27 to i32\n %29 = add i32 %26, %28\n %30 = ashr i32 %29, 1\n %31 = add i32 %30, %sv_0.03.reload\n %32 = sext i32 %31 to i64\n %33 = mul i64 %32, 16\n %34 = add i64 %33, %8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp ugt i64 %36, %arg2\n %38 = add i32 %31, 1\n %spec.select = select i1 %37, i32 %38, i32 %sv_0.03.reload\n %spec.select2 = select i1 %37, i32 %sv_1.04.reload, i32 %31\n %39 = icmp sgt i32 %spec.select2, %spec.select\n store i32 %spec.select2, i32* %sv_1.04.reg2mem\n store i32 %spec.select, i32* %sv_0.03.reg2mem\n store i32 %spec.select, i32* %sv_0.0.lcssa.reg2mem\n br i1 %39, label LBL_4, label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %40 = sext i32 %sv_0.0.lcssa.reload to i64\n %41 = mul i64 %40, 16\n %42 = add i64 %41, %8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp ugt i64 %44, %arg2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_8, label LBL_6\n LBL_6:\n %46 = add i64 %42, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = add i64 %48, %44\n %50 = icmp ugt i64 %49, %arg2\n %51 = icmp eq i1 %50, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_8, label LBL_7\n LBL_7:\n %52 = zext i32 %sv_0.0.lcssa.reload to i64\n %53 = call i64 @FUNC(i64 %4, i64 %52)\n store i64 %42, 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.lcssa.reload, { 1, 0 }\n uselistorder i32 %sv_0.03.reload, { 0, 2, 1 }\n uselistorder i32 %3, { 0, 2, 1 }\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, 5, 2, 1, 3, 4 }\n uselistorder i32 0, { 2, 0, 1, 3, 4, 5 }\n uselistorder i64 %arg2, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_8, { 4, 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "via_class_init_1420", "fun_name": "via_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 i32*\n store i32 4358, i32* %4, align 4\n %5 = add i64 %0, 20\n %6 = inttoptr i64 %5 to i32*\n store i32 1670, i32* %6, align 4\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n store i32 1537, i32* %8, align 4\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i32*\n store i32 64, i32* %10, align 4\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %11 = inttoptr i64 %1 to i8*\n store i8 1, i8* %11, align 1\n %12 = inttoptr i64 %3 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %12, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "initialise_write_state_12419", "fun_name": "initialise_write_state", "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 %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 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 %5, i64 %4)\n %7 = trunc i64 %1 to i32\n %8 = bitcast i64* %arg4 to i32*\n store i32 %7, i32* %8, align 4\n %9 = add i64 %3, 4\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 store i32 %11, i32* %13, align 4\n %14 = add i64 %3, 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 = zext i1 %17 to i32\n %19 = add i64 %2, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %3, 12\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %2, 12\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %3, 16\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %2, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = add i64 %3, 20\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %2, 20\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = add i64 %3, 24\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %2, 24\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %3, 28\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %2, 28\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %3, 32\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %2, 32\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n %51 = add i64 %3, 36\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %2, 36\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = add i64 %2, 40\n %57 = inttoptr i64 %56 to i32*\n store i32 0, i32* %57, align 4\n %58 = add i64 %2, 44\n %59 = inttoptr i64 %58 to i32*\n store i32 -2147483648, i32* %59, align 4\n %60 = add i64 %2, 48\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n %62 = add i64 %2, 56\n %63 = inttoptr i64 %62 to i64*\n store i64 0, i64* %63, align 8\n %64 = add i64 %2, 64\n %65 = inttoptr i64 %64 to i64*\n store i64 0, i64* %65, align 8\n %66 = add i64 %2, 72\n %67 = inttoptr i64 %66 to i64*\n store i64 0, i64* %67, align 8\n %68 = add i64 %2, 80\n %69 = inttoptr i64 %68 to i64*\n store i64 0, i64* %69, align 8\n %70 = add i64 %2, 88\n %71 = inttoptr i64 %70 to i64*\n store i64 0, i64* %71, align 8\n %72 = add i64 %3, 40\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = add i64 %2, 96\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n %77 = add i64 %3, 44\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = add i64 %2, 100\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = add i64 %6, 3\n %83 = and i64 %82, 4294967295\n %84 = call i64 @FUNC(i64 %5, i64 %2, i64 %83)\n ret i64 %84\n\n uselistorder i64 %2, { 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": "realloc_buffer_11207", "fun_name": "realloc_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %indvars.iv14.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg4, 4294967296\n %2 = ashr exact i64 %sext4, 32\n %narrow = mul nsw i64 %1, 44\n %3 = mul i64 %narrow, %2\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = icmp sgt i32 %5, 0\n br i1 %6, label LBL_1, label LBL_11\n LBL_1:\n %7 = trunc i64 %2 to i32\n %8 = icmp sgt i32 %7, 0\n %9 = icmp eq i64 %arg2, 0\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 %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i32*\n %wide.trip.count = and i64 %2, 4294967295\n %wide.trip.count16 = and i64 %1, 4294967295\n store i64 0, i64* %indvars.iv14.reg2mem\n br label LBL_9\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = add nsw i64 %indvars.iv.reload, %64\n %17 = mul nsw i64 %16, 44\n %18 = add i64 %17, %4\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %19 = load i32, i32* %11, align 4\n %20 = zext i32 %19 to i64\n %21 = icmp ult i64 %indvars.iv14.reload, %20\n br i1 %21, label LBL_4, label LBL_6\n LBL_4:\n %22 = load i32, i32* %13, align 4\n %23 = zext i32 %22 to i64\n %24 = icmp ult i64 %indvars.iv.reload, %23\n br i1 %24, label LBL_5, label LBL_6\n LBL_5:\n %25 = mul i32 %22, %63\n %26 = trunc i64 %indvars.iv.reload to i32\n %27 = add i32 %25, %26\n %28 = sext i32 %27 to i64\n %29 = mul nsw i64 %28, 44\n %30 = add i64 %29, %arg2\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %30, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %18 to i64*\n store i64 %32, i64* %36, align 8\n %37 = add i64 %18, 8\n %38 = inttoptr i64 %37 to i64*\n store i64 %35, i64* %38, align 8\n %39 = add i64 %30, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %30, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %18, 16\n %46 = inttoptr i64 %45 to i64*\n store i64 %41, i64* %46, align 8\n %47 = add i64 %18, 24\n %48 = inttoptr i64 %47 to i64*\n store i64 %44, i64* %48, align 8\n %49 = add i64 %30, 32\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %18, 32\n %53 = inttoptr i64 %52 to i64*\n store i64 %51, i64* %53, align 8\n %54 = add i64 %30, 40\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i64 %18, 40\n %58 = inttoptr i64 %57 to i32*\n store i32 %56, i32* %58, align 4\n br label LBL_7\n LBL_6:\n %59 = inttoptr i64 %18 to i32*\n store i32 0, i32* %59, align 4\n %60 = load i32, i32* %15, align 4\n %61 = add i64 %18, 40\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, 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, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_2\n LBL_8:\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 br i1 %exitcond17, label LBL_11, label LBL_9\n LBL_9:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n br i1 %8, label LBL_2.lr.ph, label LBL_8\n LBL_10:\n %63 = trunc i64 %indvars.iv14.reload to i32\n %sext18 = mul i64 %sext4, %indvars.iv14.reload\n %64 = ashr exact i64 %sext18, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_11:\n %65 = icmp eq i64 %arg2, 0\n br i1 %65, label LBL_13, label LBL_12\n LBL_12:\n %66 = call i64 @FUNC(i64 %0, i64 %arg2)\n br label LBL_13\n LBL_13:\n ret i64 %4\n\n uselistorder i64 %indvars.iv14.reload, { 3, 1, 2, 0 }\n uselistorder i64 %30, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %18, { 1, 7, 6, 5, 4, 3, 2, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %sext4, { 1, 0 }\n uselistorder i64 %0, { 0, 3, 2, 1, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 44, { 1, 2, 0 }\n uselistorder i64 32, { 0, 3, 4, 1, 2 }\n uselistorder i64 %arg2, { 2, 1, 0, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dlpar_cpu_probe_3847", "fun_name": "dlpar_cpu_probe", "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 %0 = bitcast i32* %sv_0 to i64*\n %1 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = load i32, i32* %sv_0, align 4\n %5 = zext i32 %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 store i64 -22, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_8\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 -19, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_8\n LBL_3:\n %12 = load i32, i32* %sv_0, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = and i64 %14, 4294967295\n %16 = call i64 @FUNC(i64 %15, i64 %9)\n %17 = call i64 @FUNC(i64 %9)\n %18 = icmp eq i64 %16, 0\n %19 = icmp eq i1 %18, false\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_8\n LBL_4:\n %20 = call i64 @FUNC(i64 %16)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = load i32, i32* %sv_0, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %16)\n %sext = mul i64 %20, 4294967296\n %27 = ashr exact i64 %sext, 32\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %28 = call i64 @FUNC(i64 %16)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n store i64 %arg2, i64* %rax.0.reg2mem\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %sext2 = mul i64 %28, 4294967296\n %31 = ashr exact i64 %sext2, 32\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 %16, { 1, 0, 2, 3 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 6, 2, 3, 4, 5 }\n uselistorder i32 0, { 2, 3, 4, 5, 0, 1 }\n uselistorder label LBL_8, { 5, 0, 6, 1, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__einj_get_available_error_type_8502", "fun_name": "__einj_get_available_error_type", "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 = bitcast i32* %sv_0 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = call i64 @FUNC(i64* nonnull %0, i64 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 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_3\n LBL_2:\n %6 = call i64 @FUNC(i64* nonnull %0)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, 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, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_to_user_state_94", "fun_name": "copy_to_user_state", "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 i32\n %5 = bitcast i64* %arg2 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %3, 4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %6 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = inttoptr i64 %7 to i32*\n store i32 %9, i32* %10, align 4\n %11 = add i64 %3, 12\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 i32*\n store i32 %13, i32* %15, align 4\n %16 = add i64 %3, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %3, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %3, 24\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 store i32 %28, i32* %30, align 4\n %31 = add i64 %3, 28\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %2, 24\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = add i64 %3, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %2, 28\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_load_972", "fun_name": "virtio_blk_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, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_6\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %1, 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_4\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 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_6\n LBL_3:\n %10 = add i64 %1, 8\n %11 = inttoptr i64 %10 to i64*\n br label LBL_5\n LBL_4:\n %12 = and i64 %3, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %13 = call i64 @FUNC(i64 %1)\n %14 = call i64 @FUNC(i64 %2, i64 %13, i64 48)\n %15 = load i64, i64* %11, align 8\n %16 = add i64 %13, 48\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n store i64 %13, i64* %11, align 8\n %18 = add i64 %13, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, 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 %13 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %23, i32 %20, i64 1)\n %27 = add i64 %13, 40\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %13, 32\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %13, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35, i64 %32, i32 %29, i64 0)\n %37 = call i64 @FUNC(i64 %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 0, i64* %rax.0.reg2mem\n br i1 %40, 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 i64 %2, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64, i32, i64)* @virtqueue_map_sg, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @qemu_get_sbyte, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_6, { 0, 3, 1, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "loongson3_intr_disestablish_17675", "fun_name": "loongson3_intr_disestablish", "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()\n %4 = call i64 @FUNC()\n %sext = mul i64 %1, 4294967296\n %5 = ashr exact i64 %sext, 30\n %6 = add i64 %5, ptrtoint (i64* @gv_0 to i64)\n %7 = call i64 @FUNC(i64 %6, i64 %2)\n %8 = call i64 @FUNC()\n %9 = and i64 %4, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %3)\n ret i64 %11\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "saturateMatrix_12329", "fun_name": "saturateMatrix", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) 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 @__asm_movss.1(i32 %3)\n %5 = call i128 @__asm_movss.1(i32 1061779669)\n %6 = call i128 @FUNC(i128 %4, i128 %5)\n %7 = call i128 @__asm_movss.1(i32 1046092972)\n %8 = call i128 @FUNC(i128 %7, i128 %6)\n %9 = call i64 @FUNC(i128 %8)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %arg1 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i128 @__asm_movss.1(i32 %3)\n %13 = call i128 @__asm_movss.1(i32 1060571709)\n %14 = call i128 @FUNC(i128 %12, i128 %13)\n %15 = add i64 %arg1, 4\n %16 = call i128 @__asm_movss.1(i32 1060571709)\n %17 = call i128 @FUNC(i128 %16, i128 %14)\n %18 = call i64 @FUNC(i128 %17)\n %19 = trunc i64 %18 to i32\n %20 = inttoptr i64 %15 to i32*\n store i32 %19, i32* %20, align 4\n %21 = call i128 @__asm_movss.1(i32 %3)\n %22 = call i128 @__asm_movss.1(i32 1033073852)\n %23 = call i128 @FUNC(i128 %21, i128 %22)\n %24 = add i64 %arg1, 8\n %25 = call i128 @__asm_movss.1(i32 1033073852)\n %26 = call i128 @FUNC(i128 %25, i128 %23)\n %27 = call i64 @FUNC(i128 %26)\n %28 = trunc i64 %27 to i32\n %29 = inttoptr i64 %24 to i32*\n store i32 %28, i32* %29, align 4\n %30 = add i64 %arg1, 16\n %31 = call i128 @FUNC(i128 %26, i128 %26)\n %32 = call i64 @FUNC(i128 %31)\n %33 = trunc i64 %32 to i32\n %34 = inttoptr i64 %30 to i32*\n store i32 %33, i32* %34, align 4\n %35 = add i64 %arg1, 12\n %36 = call i128 @__asm_movss.1(i32 %33)\n %37 = call i64 @FUNC(i128 %36)\n %38 = trunc i64 %37 to i32\n %39 = inttoptr i64 %35 to i32*\n store i32 %38, i32* %39, align 4\n %40 = call i128 @__asm_movss.1(i32 %3)\n %41 = call i128 @__asm_movss.1(i32 1046092972)\n %42 = call i128 @FUNC(i128 %40, i128 %41)\n %43 = add i64 %arg1, 20\n %44 = call i128 @__asm_movss.1(i32 1046092972)\n %45 = call i128 @FUNC(i128 %44, i128 %42)\n %46 = call i64 @FUNC(i128 %45)\n %47 = trunc i64 %46 to i32\n %48 = inttoptr i64 %43 to i32*\n store i32 %47, i32* %48, align 4\n %49 = call i128 @__asm_movss.1(i32 %3)\n %50 = call i128 @__asm_movss.1(i32 1049750405)\n %51 = call i128 @FUNC(i128 %49, i128 %50)\n %52 = add i64 %arg1, 24\n %53 = call i128 @__asm_movss.1(i32 1060571709)\n %54 = call i128 @FUNC(i128 %53, i128 %51)\n %55 = call i64 @FUNC(i128 %54)\n %56 = trunc i64 %55 to i32\n %57 = inttoptr i64 %52 to i32*\n store i32 %56, i32* %57, align 4\n %58 = call i128 @__asm_movss.1(i32 %3)\n %59 = call i128 @__asm_movss.1(i32 1033073852)\n %60 = call i128 @FUNC(i128 %58, i128 %59)\n %61 = add i64 %arg1, 28\n %62 = call i128 @__asm_movss.1(i32 1033073852)\n %63 = call i128 @FUNC(i128 %62, i128 %60)\n %64 = call i64 @FUNC(i128 %63)\n %65 = trunc i64 %64 to i32\n %66 = inttoptr i64 %61 to i32*\n store i32 %65, i32* %66, align 4\n %67 = add i64 %arg1, 36\n %68 = call i128 @FUNC(i128 %63, i128 %63)\n %69 = call i64 @FUNC(i128 %68)\n %70 = trunc i64 %69 to i32\n %71 = inttoptr i64 %67 to i32*\n store i32 %70, i32* %71, align 4\n %72 = add i64 %arg1, 32\n %73 = call i128 @__asm_movss.1(i32 %70)\n %74 = call i64 @FUNC(i128 %73)\n %75 = trunc i64 %74 to i32\n %76 = inttoptr i64 %72 to i32*\n store i32 %75, i32* %76, align 4\n %77 = call i128 @__asm_movss.1(i32 %3)\n %78 = call i128 @__asm_movss.1(i32 1046092972)\n %79 = call i128 @FUNC(i128 %77, i128 %78)\n %80 = add i64 %arg1, 40\n %81 = call i128 @__asm_movss.1(i32 1046092972)\n %82 = call i128 @FUNC(i128 %81, i128 %79)\n %83 = call i64 @FUNC(i128 %82)\n %84 = trunc i64 %83 to i32\n %85 = inttoptr i64 %80 to i32*\n store i32 %84, i32* %85, align 4\n %86 = call i128 @__asm_movss.1(i32 %3)\n %87 = call i128 @__asm_movss.1(i32 1060571709)\n %88 = call i128 @FUNC(i128 %86, i128 %87)\n %89 = add i64 %arg1, 44\n %90 = call i128 @__asm_movss.1(i32 1060571709)\n %91 = call i128 @FUNC(i128 %90, i128 %88)\n %92 = call i64 @FUNC(i128 %91)\n %93 = trunc i64 %92 to i32\n %94 = inttoptr i64 %89 to i32*\n store i32 %93, i32* %94, align 4\n %95 = call i128 @__asm_movss.1(i32 %3)\n %96 = call i128 @__asm_movss.1(i32 1064145256)\n %97 = call i128 @FUNC(i128 %95, i128 %96)\n %98 = add i64 %arg1, 48\n %99 = call i128 @__asm_movss.1(i32 1033073852)\n %100 = call i128 @FUNC(i128 %99, i128 %97)\n %101 = call i64 @FUNC(i128 %100)\n %102 = trunc i64 %101 to i32\n %103 = inttoptr i64 %98 to i32*\n store i32 %102, i32* %103, align 4\n %104 = add i64 %arg1, 56\n %105 = call i128 @FUNC(i128 %100, i128 %100)\n %106 = call i64 @FUNC(i128 %105)\n %107 = trunc i64 %106 to i32\n %108 = inttoptr i64 %104 to i32*\n store i32 %107, i32* %108, align 4\n %109 = add i64 %arg1, 52\n %110 = call i128 @__asm_movss.1(i32 %107)\n %111 = call i64 @FUNC(i128 %110)\n %112 = trunc i64 %111 to i32\n %113 = inttoptr i64 %109 to i32*\n store i32 %112, i32* %113, align 4\n %114 = add i64 %arg1, 68\n %115 = call i128 @FUNC(i128 %110, i128 %110)\n %116 = call i64 @FUNC(i128 %115)\n %117 = trunc i64 %116 to i32\n %118 = inttoptr i64 %114 to i32*\n store i32 %117, i32* %118, align 4\n %119 = add i64 %arg1, 64\n %120 = call i128 @__asm_movss.1(i32 %117)\n %121 = call i64 @FUNC(i128 %120)\n %122 = trunc i64 %121 to i32\n %123 = inttoptr i64 %119 to i32*\n store i32 %122, i32* %123, align 4\n %124 = add i64 %arg1, 60\n %125 = call i128 @__asm_movss.1(i32 %122)\n %126 = call i64 @FUNC(i128 %125)\n %127 = trunc i64 %126 to i32\n %128 = inttoptr i64 %124 to i32*\n store i32 %127, i32* %128, align 4\n %129 = add i64 %arg1, 72\n %130 = call i128 @__asm_movss.1(i32 1065353216)\n %131 = call i64 @FUNC(i128 %130)\n %132 = trunc i64 %131 to i32\n %133 = inttoptr i64 %129 to i32*\n store i32 %132, i32* %133, align 4\n %134 = add i64 %arg1, 76\n %135 = call i128 @FUNC(i128 %130, i128 %130)\n %136 = call i64 @FUNC(i128 %135)\n %137 = trunc i64 %136 to i32\n %138 = inttoptr i64 %134 to i32*\n store i32 %137, i32* %138, align 4\n ret i64 %134\n\n uselistorder i64 %134, { 1, 0 }\n uselistorder i128 %130, { 2, 1, 0 }\n uselistorder i128 %110, { 2, 1, 0 }\n uselistorder i128 %100, { 2, 1, 0 }\n uselistorder i128 %63, { 2, 1, 0 }\n uselistorder i128 %26, { 2, 1, 0 }\n uselistorder i32 %3, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "recent_read_static_3837", "fun_name": "recent_read_static", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n store i32 20, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 20, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i32 800, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i32 600, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8\n store i32 266, i32* bitcast (i64* @gv_5 to i32*), align 8\n store i32 266, i32* bitcast (i64* @gv_6 to i32*), align 8\n store i32 200, i32* bitcast (i64* @gv_7 to i32*), align 8\n store i32 1, i32* bitcast (i64* @gv_8 to i32*), align 8\n store i32 1, i32* bitcast (i64* @gv_9 to i32*), align 8\n store i64 0, i64* @gv_10, align 8\n store i64 0, i64* @gv_11, align 8\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_12, i64 0, i64 0), i64 0, i64 0)\n store i64 0, i64* %arg1, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_13)\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 %_IO_FILE*\n %4 = call i64 @FUNC(i64 %0, i64 %1, i64 4198865, i64 0)\n %5 = call i32 @fclose(%_IO_FILE* %3)\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %7 = call i32* @__errno_location()\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 2\n store i64 2, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n store i32 %12, i32* %arg2, align 4\n store i64 %0, i64* %arg1, 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 %0, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_dump_guest_memory_2029", "fun_name": "hmp_dump_guest_memory", "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 %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_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %8 = trunc i64 %7 to i8\n %9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %10 = icmp eq i8 %8, 0\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n store i64 %11, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %12 = trunc i64 %9 to i32\n %sext = mul i32 %12, 16777216\n %13 = ashr exact i32 %sext, 24\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %14 = trunc i32 %13 to i8\n %15 = icmp eq i8 %14, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %17 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 0, i64 %3, i64 %2, i64 %1)\n %19 = urem i32 %13, 256\n %20 = zext i32 %19 to i64\n %21 = and i64 %5, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %18, i8 %8, i64 %sv_1.0.reload, i64 %20, i64 %sv_0.0.reload, i64 0)\n %23 = call i64 @FUNC(i64 %17, i64* nonnull %sv_2)\n %24 = call i64 @FUNC(i64 %18)\n ret i64 %24\n\n uselistorder i64 %4, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_int, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_haskey, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_h_overlap_c_15467", "fun_name": "vc1_h_overlap_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge5.reg2mem\n store i32 1, i32* %sv_1.04.reg2mem\n store i64 %0, i64* %sv_0.03.reg2mem\n br label LBL_1\n LBL_1:\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 %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %2 = add i64 %sv_0.03.reload, -2\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = zext i8 %4 to i32\n %6 = add i64 %sv_0.03.reload, -1\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i32\n %10 = inttoptr i64 %sv_0.03.reload to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n %13 = add i64 %sv_0.03.reload, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i32\n %17 = sub nsw i32 %5, %16\n %18 = add nuw nsw i32 %sv_1.04.reload, 3\n %19 = add nsw i32 %18, %17\n %20 = udiv i32 %19, 8\n %21 = sub nsw i32 4, %sv_1.04.reload\n %22 = add nuw nsw i32 %21, %9\n %23 = sub nsw i32 %22, %12\n %24 = add nsw i32 %23, %17\n %25 = udiv i32 %24, 8\n %26 = trunc i32 %20 to i8\n %27 = sub i8 %4, %26\n store i8 %27, i8* %3, align 1\n %28 = trunc i32 %25 to i8\n %29 = sub i8 %8, %28\n store i8 %29, i8* %7, align 1\n %30 = add i8 %11, %28\n store i8 %30, i8* %10, align 1\n %31 = add i8 %15, %26\n store i8 %31, i8* %14, align 1\n %32 = add i64 %sv_0.03.reload, %1\n %33 = icmp eq i32 %sv_1.04.reload, 0\n %34 = zext i1 %33 to i32\n %35 = add nuw nsw i32 %storemerge5.reload, 1\n %exitcond = icmp eq i32 %35, 8\n store i32 %35, i32* %storemerge5.reg2mem\n store i32 %34, i32* %sv_1.04.reg2mem\n store i64 %32, i64* %sv_0.03.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 1\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %sv_1.04.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.03.reload, { 4, 2, 3, 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32 8, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "processInputBuffer_5552", "fun_name": "processInputBuffer", "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 store i64 %0, i64* @gv_0, align 8\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* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_24\n LBL_1:\n %4 = trunc i64 %0 to i8\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = icmp eq i8 %4, 42\n %12 = icmp eq i1 %11, false\n br label LBL_2\n LBL_2:\n %13 = load i32, i32* %6, align 4\n %14 = urem i32 %13, 2\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i32 %13, i32* %.reg2mem\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC()\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_24, label LBL_3.LBL_5_crit_edge\n LBL_4:\n %.pre = load i32, i32* %6, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %21 = and i32 %.reload, 2\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5.LBL_24_crit_edge, label LBL_6\n LBL_6:\n %24 = and i32 %.reload, 12\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6.LBL_24_crit_edge, label LBL_7\n LBL_7:\n %27 = load i32, i32* %8, align 4\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_11, label LBL_8\n LBL_8:\n br i1 %12, label LBL_10, label LBL_9\n LBL_9:\n store i32 2, i32* %8, align 4\n br label LBL_14\n LBL_10:\n store i32 1, i32* %8, align 4\n br label LBL_12\n LBL_11:\n %30 = icmp eq i32 %27, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_13, label LBL_12\n LBL_12:\n %32 = call i64 @FUNC(i64 %0)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %34, label LBL_16, label LBL_24\n LBL_13:\n %35 = icmp eq i32 %27, 2\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_15, label LBL_14\n LBL_14:\n %37 = call i64 @FUNC(i64 %0)\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_16, label LBL_24\n LBL_15:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_16:\n %41 = load i32, i32* %10, align 4\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_19, label LBL_17\n LBL_17:\n %44 = call i64 @FUNC(i64 %0)\n br label LBL_18\n LBL_18:\n %45 = call i64 @FUNC(i64 %0)\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %45, i64* %rax.0.reg2mem\n br i1 %47, label LBL_2, label LBL_24\n LBL_19:\n %48 = call i64 @FUNC(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_21, label LBL_20\n LBL_20:\n %52 = call i64 @FUNC(i64 %0)\n br label LBL_21\n LBL_21:\n %53 = load i64, i64* @gv_0, align 8\n %54 = icmp eq i64 %53, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_24, label LBL_18\n LBL_22:\n %55 = zext i32 %24 to i64\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_23:\n %56 = zext i32 %21 to i64\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 store i64 0, i64* @gv_0, align 8\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 6, 0, 5, 8, 7, 4, 9, 10, 1, 2, 11 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 1, 3, 4, 5, 2, 6 }\n uselistorder i64 (i64)* @resetClient, { 1, 0 }\n uselistorder i32 2, { 1, 2, 3, 0 }\n uselistorder i1 false, { 1, 11, 2, 3, 4, 6, 7, 8, 9, 10, 5, 0 }\n uselistorder i64 (i64)* @sdslen, { 1, 0 }\n uselistorder label LBL_24, { 5, 6, 4, 2, 1, 0, 3, 7 }\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_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_decode_len_12641", "fun_name": "get_decode_len", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %sv_0.0.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, %arg1\n %6 = add i64 %5, -1\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 61\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %5, -2\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 61\n %15 = icmp eq i1 %14, false\n store i32 2, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_2:\n %spec.select = zext i1 %9 to i32\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 %16 = call i128 @FUNC(i128 %1, i128 %1)\n %17 = call i128 @FUNC(i32 %3)\n %18 = call i128 @FUNC(i64 4604930618986332160)\n %19 = call i128 @FUNC(i128 %18, i128 %17)\n %20 = call i128 @FUNC(i128 %17, i128 %17)\n %21 = call i128 @FUNC(i32 %sv_0.0.reload)\n %22 = call i128 @FUNC(i128 %19, i128 %21)\n %23 = call i32 @FUNC(i128 %22)\n %24 = sext i32 %23 to i64\n ret i64 %24\n\n uselistorder i128 %17, { 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sbi_init_1287", "fun_name": "sbi_init", "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* %arg2 to i64\n %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(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, 8\n %5 = add i64 %4, %0\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 = call i64 @FUNC(i64 %3, i64 %indvars.iv.reload, i32 %9)\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 %11 = trunc i64 %arg1 to i32\n %12 = call i64 @FUNC(i64 %3, i64 0, i32 %11)\n ret i64 %1\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "license_read_scope_list_13674", "fun_name": "license_read_scope_list", "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.next3.reg2mem = alloca i64\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 = icmp ult i32 %4, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_6, label LBL_1\n LBL_1:\n %6 = zext i32 %2 to i64\n %7 = call i64 @FUNC(i64 %1, i64 %6)\n %8 = call i64 @FUNC(i64 %1)\n %9 = trunc i64 %8 to i32\n %10 = udiv i32 %9, 4\n %11 = icmp ugt i32 %2, %10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = bitcast i64* %arg2 to i32*\n %14 = mul i32 %2, 4\n %15 = call i64* @malloc(i32 %14)\n %16 = ptrtoint i64* %15 to i64\n %17 = add i64 %12, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = icmp eq i32 %2, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_3\n LBL_3:\n %20 = bitcast i64* %15 to i32*\n store i32 1, i32* %20, align 4\n %21 = load i64, i64* %18, align 8\n %22 = call i64 @FUNC(i64 %1, 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 i64 1, i64* %indvars.iv.next3.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_6\n LBL_4:\n %indvars.iv.next3.reload = load i64, i64* %indvars.iv.next3.reg2mem\n %26 = icmp ult i64 %indvars.iv.next3.reload, %6\n store i64 1, i64* %rax.0.reg2mem\n br i1 %26, label LBL_4.dec_label_pc_401201_crit_edge, label LBL_6\n LBL_5:\n %.pre = load i64, i64* %18, align 8\n %27 = mul i64 %indvars.iv.next3.reload, 4\n %28 = add i64 %27, %.pre\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, align 4\n %30 = load i64, i64* %18, align 8\n %31 = add i64 %30, %27\n %32 = call i64 @FUNC(i64 %1, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next3.reload, 1\n store i64 %indvars.iv.next, i64* %indvars.iv.next3.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, 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 %27, { 1, 0 }\n uselistorder i64 %indvars.iv.next3.reload, { 1, 2, 0 }\n uselistorder i64* %18, { 2, 1, 0, 3 }\n uselistorder i32 %2, { 2, 3, 0, 1 }\n uselistorder i64 %1, { 1, 0, 3, 2, 4 }\n uselistorder i64* %indvars.iv.next3.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64, i64)* @license_read_binary_blob, { 1, 0 }\n uselistorder i64 1, { 4, 0, 2, 1, 3 }\n uselistorder i64 (i64)* @Stream_GetRemainingLength, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0, 3, 4, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_dec_process_cod_10455", "fun_name": "jpc_dec_process_cod", "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 = trunc i64 %1 to i32\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_5 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n ]\n LBL_1:\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, i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\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 %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_3:\n %14 = inttoptr i64 %11 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_5\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, i64 %2)\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, 4, 5, 1, 3 }\n uselistorder i64 (i64, i64)* @jpc_dec_cp_setfromcod, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_5, { 1, 3, 4, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_hints_104", "fun_name": "parse_hints", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %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 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, 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 ptrtoint (i64* @gv_3 to i64), i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_4\n LBL_2:\n %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, 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 store i64 ptrtoint ([3 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %. = select i1 %16, i64 ptrtoint ([3 x i8]* @gv_7 to i64), i64 ptrtoint ([3 x i8]* @gv_8 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 (i64, i8*)* @strcmpnull, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_ring_chain_length_8615", "fun_name": "xhci_ring_chain_length", "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.123.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %sv_1.08.lcssa.reg2mem = alloca i64\n %sv_2.09.lcssa.reg2mem = alloca i32\n %.lcssa28.reg2mem = alloca i32\n %.reg2mem50 = alloca i32\n %sv_2.0934.reg2mem = alloca i32\n %sv_3.0.ph.lcssa.reg2mem = alloca i32\n %sv_3.0.ph11.reg2mem = alloca i32\n %sv_1.0.ph12.reg2mem = alloca i64\n %sv_2.0.ph13.reg2mem = alloca i32\n %sv_0.0.ph14.reg2mem = alloca i32\n %.reg2mem48 = alloca i32\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = 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 %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = sext i8 %5 to i32\n %7 = call i64 @FUNC(i64 %2, i64 %0, i64* nonnull %sv_6, i64 16)\n %8 = call i64 @FUNC(i64* nonnull %sv_6)\n %9 = call i64 @FUNC(i64* nonnull %sv_5)\n %10 = bitcast i32* %sv_4 to i64*\n %11 = call i64 @FUNC(i64* nonnull %10)\n %12 = load i32, i32* %sv_4, align 4\n %13 = urem i32 %12, 2\n %14 = urem i32 %6, 256\n %15 = icmp eq i32 %13, %14\n store i32 %13, i32* %.reg2mem\n store i32 %12, i32* %.reg2mem48\n store i32 0, i32* %sv_0.0.ph14.reg2mem\n store i32 %6, i32* %sv_2.0.ph13.reg2mem\n store i64 %0, i64* %sv_1.0.ph12.reg2mem\n store i32 0, i32* %sv_3.0.ph11.reg2mem\n store i32 0, i32* %sv_3.0.ph.lcssa.reg2mem\n br i1 %15, label LBL_1, label LBL_2\n LBL_1:\n %sv_3.0.ph11.reload = load i32, i32* %sv_3.0.ph11.reg2mem\n %sv_1.0.ph12.reload = load i64, i64* %sv_1.0.ph12.reg2mem\n %sv_2.0.ph13.reload = load i32, i32* %sv_2.0.ph13.reg2mem\n %sv_0.0.ph14.reload = load i32, i32* %sv_0.0.ph14.reg2mem\n %.reload49 = load i32, i32* %.reg2mem48\n %.reload = load i32, i32* %.reg2mem\n %16 = urem i32 %.reload49, 16\n %17 = icmp eq i32 %16, 3\n %18 = icmp eq i1 %17, false\n store i32 %sv_2.0.ph13.reload, i32* %sv_2.0934.reg2mem\n store i32 %.reload, i32* %.reg2mem50\n store i32 %.reload49, i32* %.lcssa28.reg2mem\n store i32 %sv_2.0.ph13.reload, i32* %sv_2.09.lcssa.reg2mem\n store i64 %sv_1.0.ph12.reload, i64* %sv_1.08.lcssa.reg2mem\n store i32 %16, i32* %.lcssa.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_2:\n %sv_3.0.ph.lcssa.reload = load i32, i32* %sv_3.0.ph.lcssa.reg2mem\n %19 = sub i32 0, %sv_3.0.ph.lcssa.reload\n store i32 %19, i32* %storemerge.in.reg2mem\n br label LBL_9\n LBL_3:\n %20 = urem i32 %34, 16\n %21 = icmp eq i32 %20, 3\n %22 = icmp eq i1 %21, false\n store i32 %sv_2.1, i32* %sv_2.0934.reg2mem\n store i32 %35, i32* %.reg2mem50\n store i32 %34, i32* %.lcssa28.reg2mem\n store i32 %sv_2.1, i32* %sv_2.09.lcssa.reg2mem\n store i64 %24, i64* %sv_1.08.lcssa.reg2mem\n store i32 %20, i32* %.lcssa.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %.reload51 = load i32, i32* %.reg2mem50\n %sv_2.0934.reload = load i32, i32* %sv_2.0934.reg2mem\n %23 = load i64, i64* %sv_6, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = load i32, i32* %sv_4, align 4\n %26 = and i32 %25, 2\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i32 %.reload51, 0\n %29 = zext i1 %28 to i32\n %sv_2.1 = select i1 %27, i32 %sv_2.0934.reload, i32 %29\n %30 = call i64 @FUNC(i64 %2, i64 %24, i64* nonnull %sv_6, i64 16)\n %31 = call i64 @FUNC(i64* nonnull %sv_6)\n %32 = call i64 @FUNC(i64* nonnull %sv_5)\n %33 = call i64 @FUNC(i64* nonnull %10)\n %34 = load i32, i32* %sv_4, align 4\n %35 = urem i32 %34, 2\n %36 = urem i32 %sv_2.1, 256\n %37 = icmp eq i32 %35, %36\n store i32 %sv_3.0.ph11.reload, i32* %sv_3.0.ph.lcssa.reg2mem\n br i1 %37, label LBL_3, label LBL_2\n LBL_5:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %sv_1.08.lcssa.reload = load i64, i64* %sv_1.08.lcssa.reg2mem\n %sv_2.09.lcssa.reload = load i32, i32* %sv_2.09.lcssa.reg2mem\n %38 = add i32 %sv_3.0.ph11.reload, 1\n %39 = icmp eq i32 %.lcssa.reload, 1\n %40 = icmp eq i1 %39, false\n store i32 1, i32* %sv_0.123.reg2mem\n br i1 %40, label LBL_6, label LBL_7\n LBL_6:\n %41 = icmp eq i32 %.lcssa.reload, 2\n %42 = icmp eq i1 %41, false\n %spec.select = select i1 %42, i32 %sv_0.0.ph14.reload, i32 0\n %43 = trunc i32 %spec.select to i8\n %44 = icmp eq i8 %43, 1\n store i32 %spec.select, i32* %sv_0.123.reg2mem\n br i1 %44, label LBL_7, label LBL_8\n LBL_7:\n %45 = add i64 %sv_1.08.lcssa.reload, 16\n %sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem\n %46 = call i64 @FUNC(i64 %2, i64 %45, i64* nonnull %sv_6, i64 16)\n %47 = call i64 @FUNC(i64* nonnull %sv_6)\n %48 = call i64 @FUNC(i64* nonnull %sv_5)\n %49 = call i64 @FUNC(i64* nonnull %10)\n %50 = load i32, i32* %sv_4, align 4\n %51 = urem i32 %50, 2\n %52 = urem i32 %sv_2.09.lcssa.reload, 256\n %53 = icmp eq i32 %51, %52\n store i32 %51, i32* %.reg2mem\n store i32 %50, i32* %.reg2mem48\n store i32 %sv_0.123.reload, i32* %sv_0.0.ph14.reg2mem\n store i32 %sv_2.09.lcssa.reload, i32* %sv_2.0.ph13.reg2mem\n store i64 %45, i64* %sv_1.0.ph12.reg2mem\n store i32 %38, i32* %sv_3.0.ph11.reg2mem\n store i32 %38, i32* %sv_3.0.ph.lcssa.reg2mem\n br i1 %53, label LBL_1, label LBL_2\n LBL_8:\n %.lcssa28.reload = load i32, i32* %.lcssa28.reg2mem\n %54 = and i32 %.lcssa28.reload, 4\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n store i32 %spec.select, i32* %sv_0.123.reg2mem\n store i32 %38, i32* %storemerge.in.reg2mem\n br i1 %56, label LBL_7, label LBL_9\n LBL_9:\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_2.09.lcssa.reload, { 1, 0 }\n uselistorder i32 %.lcssa.reload, { 1, 0 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i32 %34, { 1, 2, 0 }\n uselistorder i32 %sv_2.1, { 2, 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i32 %sv_3.0.ph11.reload, { 1, 0 }\n uselistorder i64* %10, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %sv_6, { 2, 3, 4, 5, 6, 0, 1 }\n uselistorder i64* %sv_5, { 1, 2, 0 }\n uselistorder i32* %sv_4, { 1, 2, 3, 0, 4 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem48, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.ph13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.ph12.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.0.ph11.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.0.ph.lcssa.reg2mem, { 1, 2, 0, 3 }\n uselistorder i32* %sv_2.0934.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem50, { 0, 2, 1 }\n uselistorder i32* %sv_0.123.reg2mem, { 2, 0, 3, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 4, 3, 5, 6, 7, 0, 1, 2 }\n uselistorder i32 2, { 0, 3, 1, 4, 2 }\n uselistorder i64 (i64*)* @le32_to_cpus, { 2, 3, 5, 4, 0, 1 }\n uselistorder i64 (i64*)* @le64_to_cpus, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i64*, i64)* @pci_dma_read, { 1, 2, 0 }\n uselistorder i64 16, { 1, 3, 2, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bio_free_10051", "fun_name": "bio_free", "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 = icmp eq i64* %arg1, null\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 = call i64 @FUNC(i64 %0, i64 %5, i64 0)\n %7 = load i64, i64* %4, align 8\n %8 = sub i64 %0, %7\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %8, i64 %11)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i64 %0)\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 %0, { 2, 0, 3, 1, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opts_visitor_new_393", "fun_name": "opts_visitor_new", "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 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 54, 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 %3 = call i64 @FUNC(i64 120)\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 4198742, i64* %6, align 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198749, i64* %8, align 8\n %9 = add i64 %3, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 4198756, i64* %10, align 8\n %11 = add i64 %3, 32\n %12 = inttoptr i64 %11 to i64*\n store i64 4198763, i64* %12, align 8\n %13 = add i64 %3, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 4198770, i64* %14, align 8\n %15 = add i64 %3, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 4198777, i64* %16, align 8\n %17 = add i64 %3, 56\n %18 = inttoptr i64 %17 to i64*\n store i64 4198784, i64* %18, align 8\n %19 = add i64 %3, 64\n %20 = inttoptr i64 %19 to i64*\n store i64 4198791, i64* %20, align 8\n %21 = add i64 %3, 72\n %22 = inttoptr i64 %21 to i64*\n store i64 4198798, i64* %22, align 8\n %23 = add i64 %3, 80\n %24 = inttoptr i64 %23 to i64*\n store i64 4198805, i64* %24, align 8\n %25 = add i64 %3, 88\n %26 = inttoptr i64 %25 to i64*\n store i64 4198812, i64* %26, align 8\n %27 = add i64 %3, 96\n %28 = inttoptr i64 %27 to i64*\n store i64 4198819, i64* %28, align 8\n %29 = add i64 %3, 104\n %30 = inttoptr i64 %29 to i64*\n store i64 4198826, i64* %30, align 8\n %31 = add i64 %3, 112\n %32 = inttoptr i64 %31 to i64*\n store i64 %2, i64* %32, align 8\n ret i64 %3\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "caca_write_trailer_2811", "fun_name": "caca_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 = icmp eq i64 %4, 0\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 br label LBL_2\n LBL_2:\n %7 = add i64 %0, 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 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %8, align 8\n br label LBL_4\n LBL_4:\n %12 = add i64 %0, 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_6, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %14)\n store i64 0, i64* %13, align 8\n br label LBL_6\n LBL_6:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_chr_17195", "fun_name": "parse_chr", "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 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = call i64 @FUNC(i64 %arg3)\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 store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = inttoptr i64 %3 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n store i64 4294967279, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n store i32 1, i32* %7, 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 label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "memptr_free_4018", "fun_name": "memptr_free", "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 i8*\n %2 = load i8, i8* %1, align 1\n %3 = icmp eq i8 %2, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = icmp eq i64 %arg1, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %6, align 8\n br label LBL_3\n LBL_3:\n store i8 0, i8* %1, align 1\n br label LBL_4\n LBL_4:\n ret i64 %arg1\n\n uselistorder i64 %arg1, { 3, 0, 2, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_mknod_682", "fun_name": "v9fs_mknod", "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 i32\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = 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 %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %6 = load i32, i32* %1\n %7 = load i32, i32* %1\n %8 = load i32, i32* %1\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i32, align 4\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = bitcast i32* %sv_3 to i64*\n %13 = bitcast i32* %sv_5 to i64*\n %14 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %12, i64* nonnull %sv_4, i64* nonnull %13)\n %15 = load i32, i32* %sv_5, align 4\n %16 = zext i32 %15 to i64\n %17 = load i32, i32* %sv_3, align 4\n %18 = zext i32 %17 to i64\n %19 = add i64 %3, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %7 to i64\n %23 = zext i32 %6 to i64\n %24 = and i64 %2, 4294967295\n %25 = call i64 @FUNC(i64 %24, i32 %21, i64 %18, i64 %16, i64 %23, i64 %22)\n %26 = load i32, i32* %sv_3, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %3, i64 %27)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i32 -2, i32* %sv_0.1.reg2mem\n br i1 %30, label LBL_1, label LBL_4\n LBL_1:\n %31 = inttoptr i64 %28 to i32*\n %32 = call i64 @gnu_dev_makedev(i32 %6, i32 %7)\n %33 = load i32, i32* %31, align 4\n %34 = zext i32 %8 to i64\n %35 = call i64 @FUNC(i64 %3, i64 %28, i64* nonnull %sv_4, i32 %33, i64 %34, i64 %32)\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_3, label LBL_2\n LBL_2:\n %38 = bitcast i32* %sv_1 to i64*\n %39 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %38)\n %40 = call i64 @FUNC(i64 %3, i64 7, i64 4202519, i64* nonnull %38)\n %41 = trunc i64 %40 to i32\n %42 = add i32 %41, 7\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 %3, i64 %28)\n %.pre = load i32, i32* %sv_1, align 4\n store i32 %.pre, i32* %.reg2mem\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 %.reload = load i32, i32* %.reg2mem\n %44 = zext i32 %.reload to i64\n %45 = load i32, i32* %20, align 4\n %46 = zext i32 %5 to i64\n %47 = call i64 @FUNC(i64 %24, i32 %45, i64 %44, i32 %4, i64 %46)\n %48 = call i64 @FUNC(i64 %11, i64 %3, i32 %sv_0.1.reload)\n %49 = call i64 @FUNC(i64* nonnull %sv_4)\n ret i64 %49\n\n uselistorder i64 %24, { 1, 0 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 0, 3, 4, 5, 6, 7 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_cell_916", "fun_name": "copy_cell", "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.315.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 = ptrtoint i64* %arg3 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 = mul i32 %9, 4\n %11 = trunc i64 %4 to i32\n %12 = mul i32 %11, 4\n %13 = add i64 %6, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %6, 20\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i32 %15, %10\n %20 = icmp slt i32 %19, -1\n %21 = add i32 %18, %12\n %22 = icmp slt i32 %21, 0\n %or.cond7 = or i1 %20, %22\n br i1 %or.cond7, label LBL_3, label LBL_1\n LBL_1:\n %23 = ptrtoint i32* %arg2 to i64\n %24 = add i64 %6, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i32 %26, %9\n %28 = mul i32 %27, 4\n %29 = add i32 %28, %15\n %30 = add i64 %23, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp ugt i32 %29, %32\n br i1 %33, label LBL_3, label LBL_2\n LBL_2:\n %34 = trunc i64 %3 to i32\n %35 = add i64 %6, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i32 %37, %11\n %39 = mul i32 %38, 4\n %40 = add i32 %39, %18\n %41 = icmp ugt i32 %40, %34\n br i1 %41, label LBL_3, label LBL_4\n LBL_3:\n %42 = ptrtoint i32* %arg1 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 = call i64 @FUNC(i64 %45, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_4:\n %47 = icmp eq i32 %37, 0\n %48 = icmp slt i32 %37, 0\n %49 = icmp eq i1 %48, false\n %50 = icmp eq i1 %47, false\n %51 = icmp eq i1 %49, %50\n store i64 0, i64* %storemerge.reg2mem\n br i1 %51, label LBL_5, label LBL_7\n LBL_5:\n %52 = urem i32 %11, 4\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n %55 = urem i32 %11, 2\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i32 %37, i32* %sv_0.315.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.315.reload = load i32, i32* %sv_0.315.reg2mem\n %58 = icmp slt i32 %sv_0.315.reload, 4\n %or.cond = or i1 %54, %58\n %59 = urem i32 %sv_0.315.reload, 4\n %sv_0.1 = select i1 %or.cond, i32 %sv_0.315.reload, i32 %59\n %60 = icmp slt i32 %sv_0.1, 2\n %or.cond5 = or i1 %57, %60\n %61 = add i32 %sv_0.1, -2\n %spec.select = select i1 %or.cond5, i32 %sv_0.1, i32 %61\n %62 = icmp sgt i32 %spec.select, 0\n %63 = sext i1 %62 to i32\n %sv_0.3.be = add i32 %spec.select, %63\n %64 = icmp eq i32 %sv_0.3.be, 0\n %65 = icmp slt i32 %sv_0.3.be, 0\n %66 = icmp eq i1 %65, false\n %67 = icmp eq i1 %64, false\n %68 = icmp eq i1 %66, %67\n store i32 %sv_0.3.be, i32* %sv_0.315.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %68, 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 %sv_0.315.reload, { 1, 2, 0 }\n uselistorder i32 %37, { 0, 2, 3, 1 }\n uselistorder i32 %11, { 1, 2, 3, 0 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2, 3, 4 }\n uselistorder i32* %sv_0.315.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 5, 2, 3, 4, 0, 1 }\n uselistorder i32 4, { 4, 6, 5, 0, 1, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtp_write_14450", "fun_name": "rtp_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i16* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, 1\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, -56\n %6 = icmp eq i1 %5, false\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %10 = trunc i64 %arg3 to i32\n %11 = call i64 @FUNC(i64 %storemerge.reload, i64 %0, i32 %10)\n %12 = and i64 %11, 4294967295\n ret i64 %12\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "v9fs_getattr_2101", "fun_name": "v9fs_getattr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %7 = 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 i32, align 4\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = bitcast i32* %sv_3 to i64*\n %12 = bitcast i32* %sv_4 to i64*\n %13 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %11, i64* nonnull %12)\n %14 = load i32, i32* %sv_4, align 4\n %15 = sext i32 %14 to i64\n %16 = load i32, i32* %sv_3, align 4\n %17 = zext i32 %16 to i64\n %18 = trunc i64 %2 to i32\n %19 = add i64 %3, 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 %22, i32 %18, i64 %17, i64 %15)\n %24 = load i32, i32* %sv_3, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %3, i64 %25)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 -2, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_1, label LBL_7\n LBL_1:\n %29 = call i64 @FUNC(i64 %3, i64 %26, i64* nonnull %sv_2)\n %30 = icmp slt i64 %29, 0\n store i64 %29, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_6, label LBL_2\n LBL_2:\n %31 = call i64 @FUNC(i64 %10, i64* nonnull %sv_2, i64* nonnull %sv_1)\n %32 = load i32, i32* %sv_4, align 4\n %33 = urem i32 %32, 2\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_5, label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %3, i64 %26, i32 %7, i64* nonnull %sv_1)\n %36 = icmp slt i64 %35, 0\n store i64 %35, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_6, label LBL_4\n LBL_4:\n %37 = load i64, i64* %sv_1, align 8\n %38 = or i64 %37, 1\n store i64 %38, i64* %sv_1, align 8\n br label LBL_5\n LBL_5:\n %39 = call i64 @FUNC(i64 %3, i64 7, i64* nonnull @gv_1, i64* nonnull %sv_1)\n %40 = add i64 %39, 7\n store i64 %40, 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 = call i64 @FUNC(i64 %3, i64 %26)\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\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 %.reload = load i64, i64* %.reg2mem\n %42 = load i32, i32* %20, align 4\n %43 = zext i32 %6 to i64\n %44 = zext i32 %5 to i64\n %45 = zext i32 %42 to i64\n %46 = call i64 @FUNC(i64 %45, i32 %18, i64 %.reload, i32 %4, i64 %44, i64 %43)\n %47 = call i64 @FUNC(i64 %10, i64 %3, i64 %sv_0.1.reload)\n ret i64 %47\n\n uselistorder i64 %26, { 1, 0, 2, 3 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 1, 4, 5, 2, 3 }\n uselistorder i64 %3, { 0, 3, 2, 1, 4, 5, 6, 7, 8 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %1, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_signature_ts_12416", "fun_name": "get_signature_ts", "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, 32\n %2 = add i64 %0, 15\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, -30\n %7 = icmp eq i1 %6, false\n %. = select i1 %7, i64 8, i64 5\n %8 = add nsw i64 %., %1\n %sext3 = mul i64 %8, 4294967296\n %9 = ashr exact i64 %sext3, 32\n %10 = add i64 %9, %0\n %11 = call i64 @FUNC(i64 %10)\n %12 = and i64 %11, 4294967295\n ret i64 %12\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "idcin_decode_vlcs_14892", "fun_name": "idcin_decode_vlcs", "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.336.reg2mem = alloca i32\n %sv_1.337.reg2mem = alloca i32\n %sv_2.138.reg2mem = alloca i32\n %rcx.339.reg2mem = alloca i64\n %sv_3.340.reg2mem = alloca i32\n %storemerge41.reg2mem = alloca i64\n %.reg2mem62 = alloca i32\n %.reg2mem60 = alloca i64\n %sv_3.2.lcssa.reg2mem = alloca i32\n %rcx.2.lcssa.reg2mem = alloca i64\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_1.2.lcssa.reg2mem = alloca i32\n %sv_0.2.lcssa.reg2mem = alloca i32\n %.reg2mem58 = alloca i32\n %.reg2mem = alloca i64\n %sv_4.0.lcssa.reg2mem = alloca i32\n %sv_3.1.lcssa.reg2mem = alloca i32\n %rcx.1.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.116.reg2mem = alloca i32\n %sv_1.117.reg2mem = alloca i32\n %rcx.118.reg2mem = alloca i64\n %sv_3.119.reg2mem = alloca i32\n %sv_4.020.reg2mem = alloca i32\n %sv_0.225.reg2mem = alloca i32\n %sv_1.226.reg2mem = alloca i32\n %sv_2.027.reg2mem = alloca i32\n %rcx.228.reg2mem = alloca i64\n %sv_3.229.reg2mem = alloca i32\n %storemerge230.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 store i64 %3, i64* %rdi, align 8\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, 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 = mul i32 %9, %6\n %11 = sext i32 %10 to i64\n %12 = icmp sgt i32 %10, 0\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_12\n LBL_1:\n %13 = bitcast i64* %rdi to i32*\n %14 = add i64 %3, 40\n %15 = inttoptr i64 %14 to i64*\n %16 = add i64 %3, 48\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %3, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = add i64 %3, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %3, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %3, i64* %.reg2mem60\n store i32 %6, i32* %.reg2mem62\n store i64 0, i64* %storemerge41.reg2mem\n store i32 0, i32* %sv_3.340.reg2mem\n store i32 0, i32* %sv_2.138.reg2mem\n store i32 0, i32* %sv_1.337.reg2mem\n store i32 0, i32* %sv_0.336.reg2mem\n br label LBL_11\n LBL_2:\n %sv_0.225.reload = load i32, i32* %sv_0.225.reg2mem\n %sv_1.226.reload = load i32, i32* %sv_1.226.reg2mem\n %sv_2.027.reload = load i32, i32* %sv_2.027.reg2mem\n %rcx.228.reload = load i64, i64* %rcx.228.reg2mem\n %sv_3.229.reload = load i32, i32* %sv_3.229.reg2mem\n %storemerge230.reload = load i64, i64* %storemerge230.reg2mem\n %24 = load i64, i64* %15, align 8\n %25 = sext i32 %sv_2.027.reload to i64\n %26 = mul i64 %25, 4\n %27 = add i64 %24, %26\n %28 = load i64, i64* %17, align 8\n %29 = mul i64 %25, 8\n %30 = add i64 %28, %29\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %sv_4.0.in14 = inttoptr i64 %27 to i32*\n %sv_4.015 = load i32, i32* %sv_4.0.in14, align 4\n %33 = icmp sgt i32 %sv_4.015, 255\n store i32 %sv_4.015, i32* %sv_4.020.reg2mem\n store i32 %sv_3.229.reload, i32* %sv_3.119.reg2mem\n store i64 %rcx.228.reload, i64* %rcx.118.reg2mem\n store i32 %sv_1.226.reload, i32* %sv_1.117.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.116.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.226.reload, i32* %sv_1.1.lcssa.reg2mem\n store i64 %rcx.228.reload, i64* %rcx.1.lcssa.reg2mem\n store i32 %sv_3.229.reload, i32* %sv_3.1.lcssa.reg2mem\n store i32 %sv_4.015, i32* %sv_4.0.lcssa.reg2mem\n br i1 %33, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem\n %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem\n %rcx.118.reload = load i64, i64* %rcx.118.reg2mem\n %sv_3.119.reload = load i32, i32* %sv_3.119.reg2mem\n %sv_4.020.reload = load i32, i32* %sv_4.020.reg2mem\n %34 = icmp eq i32 %sv_1.117.reload, 0\n %35 = icmp eq i1 %34, false\n store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem\n store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem\n store i64 %rcx.118.reload, i64* %rcx.0.reg2mem\n store i32 %sv_3.119.reload, i32* %sv_3.0.reg2mem\n br i1 %35, label LBL_7, label LBL_4\n LBL_4:\n %36 = load i32, i32* %19, align 4\n %37 = zext i32 %36 to i64\n %38 = sext i32 %sv_0.116.reload to i64\n %39 = icmp sgt i64 %38, %37\n br i1 %39, label LBL_5, label LBL_6\n LBL_5:\n %40 = load i64, i64* %rdi, align 8\n %41 = call i64 @FUNC(i64 %40, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.118.reload, i64 %2, i64 %1)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %42 = load i64, i64* %21, align 8\n %43 = add i32 %sv_0.116.reload, 1\n %44 = add i64 %42, %38\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = sext i8 %46 to i32\n store i32 %43, i32* %sv_0.0.reg2mem\n store i32 8, i32* %sv_1.0.reg2mem\n store i64 %42, i64* %rcx.0.reg2mem\n store i32 %47, i32* %sv_3.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\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 %48 = sext i32 %sv_4.020.reload to i64\n %49 = mul i64 %48, 8\n %50 = add i64 %49, %32\n %51 = mul i32 %sv_3.0.reload, 4\n %52 = and i32 %51, 4\n %53 = zext i32 %52 to i64\n %54 = add i64 %50, %53\n %55 = udiv i32 %sv_3.0.reload, 2\n %56 = urem i32 %55, 128\n %57 = add i32 %sv_1.0.reload, -1\n %sv_4.0.in = inttoptr i64 %54 to i32*\n %sv_4.0 = load i32, i32* %sv_4.0.in, align 4\n %58 = icmp sgt i32 %sv_4.0, 255\n store i32 %sv_4.0, i32* %sv_4.020.reg2mem\n store i32 %56, i32* %sv_3.119.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.118.reg2mem\n store i32 %57, i32* %sv_1.117.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %57, i32* %sv_1.1.lcssa.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.1.lcssa.reg2mem\n store i32 %56, i32* %sv_3.1.lcssa.reg2mem\n store i32 %sv_4.0, i32* %sv_4.0.lcssa.reg2mem\n br i1 %58, label LBL_3, label LBL_8\n LBL_8:\n %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem\n %sv_3.1.lcssa.reload = load i32, i32* %sv_3.1.lcssa.reg2mem\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\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 %59 = load i64, i64* %23, align 8\n %60 = mul i64 %storemerge230.reload, 4\n %61 = add i64 %59, %60\n %62 = inttoptr i64 %61 to i32*\n store i32 %sv_4.0.lcssa.reload, i32* %62, align 4\n %63 = add nsw i64 %storemerge230.reload, 1\n %64 = load i32, i32* %13, align 8\n %65 = sext i32 %64 to i64\n %66 = add i64 %storemerge41.reload, %65\n %67 = icmp slt i64 %63, %66\n store i64 %63, i64* %storemerge230.reg2mem\n store i32 %sv_3.1.lcssa.reload, i32* %sv_3.229.reg2mem\n store i64 %rcx.1.lcssa.reload, i64* %rcx.228.reg2mem\n store i32 %sv_4.0.lcssa.reload, i32* %sv_2.027.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.226.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.225.reg2mem\n br i1 %67, label LBL_2, label LBL_9\n LBL_9:\n %.pre = load i32, i32* %5, align 4\n %.pre49 = load i64, i64* %rdi, align 8\n store i64 %.pre49, i64* %.reg2mem\n store i32 %.pre, i32* %.reg2mem58\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 store i32 %sv_4.0.lcssa.reload, i32* %sv_2.0.lcssa.reg2mem\n store i64 %rcx.1.lcssa.reload, i64* %rcx.2.lcssa.reg2mem\n store i32 %sv_3.1.lcssa.reload, i32* %sv_3.2.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %sv_3.2.lcssa.reload = load i32, i32* %sv_3.2.lcssa.reg2mem\n %rcx.2.lcssa.reload = load i64, i64* %rcx.2.lcssa.reg2mem\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\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 %.reload59 = load i32, i32* %.reg2mem58\n %.reload = load i64, i64* %.reg2mem\n %68 = sext i32 %.reload59 to i64\n %69 = add i64 %storemerge41.reload, %68\n %70 = add i64 %.reload, 4\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = mul i32 %72, %.reload59\n %74 = sext i32 %73 to i64\n %75 = icmp slt i64 %69, %74\n store i64 %.reload, i64* %.reg2mem60\n store i32 %.reload59, i32* %.reg2mem62\n store i64 %69, i64* %storemerge41.reg2mem\n store i32 %sv_3.2.lcssa.reload, i32* %sv_3.340.reg2mem\n store i64 %rcx.2.lcssa.reload, i64* %rcx.339.reg2mem\n store i32 %sv_2.0.lcssa.reload, i32* %sv_2.138.reg2mem\n store i32 %sv_1.2.lcssa.reload, i32* %sv_1.337.reg2mem\n store i32 %sv_0.2.lcssa.reload, i32* %sv_0.336.reg2mem\n store i64 %74, i64* %rax.0.reg2mem\n br i1 %75, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.336.reload = load i32, i32* %sv_0.336.reg2mem\n %sv_1.337.reload = load i32, i32* %sv_1.337.reg2mem\n %sv_2.138.reload = load i32, i32* %sv_2.138.reg2mem\n %rcx.339.reload = load i64, i64* %rcx.339.reg2mem\n %sv_3.340.reload = load i32, i32* %sv_3.340.reg2mem\n %storemerge41.reload = load i64, i64* %storemerge41.reg2mem\n %.reload63 = load i32, i32* %.reg2mem62\n %.reload61 = load i64, i64* %.reg2mem60\n %sext = mul i64 %.reload61, 4294967296\n %76 = ashr exact i64 %sext, 32\n %77 = add i64 %storemerge41.reload, %76\n %78 = icmp slt i64 %storemerge41.reload, %77\n store i64 %storemerge41.reload, i64* %storemerge230.reg2mem\n store i32 %sv_3.340.reload, i32* %sv_3.229.reg2mem\n store i64 %rcx.339.reload, i64* %rcx.228.reg2mem\n store i32 %sv_2.138.reload, i32* %sv_2.027.reg2mem\n store i32 %sv_1.337.reload, i32* %sv_1.226.reg2mem\n store i32 %sv_0.336.reload, i32* %sv_0.225.reg2mem\n store i64 %.reload61, i64* %.reg2mem\n store i32 %.reload63, i32* %.reg2mem58\n store i32 %sv_0.336.reload, i32* %sv_0.2.lcssa.reg2mem\n store i32 %sv_1.337.reload, i32* %sv_1.2.lcssa.reg2mem\n store i32 %sv_2.138.reload, i32* %sv_2.0.lcssa.reg2mem\n store i64 %rcx.339.reload, i64* %rcx.2.lcssa.reg2mem\n store i32 %sv_3.340.reload, i32* %sv_3.2.lcssa.reg2mem\n br i1 %78, label LBL_2, label LBL_10\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload61, { 1, 0 }\n uselistorder i64 %storemerge41.reload, { 4, 0, 1, 3, 2 }\n uselistorder i32 %sv_3.340.reload, { 1, 0 }\n uselistorder i64 %rcx.339.reload, { 1, 0 }\n uselistorder i32 %sv_2.138.reload, { 1, 0 }\n uselistorder i32 %sv_1.337.reload, { 1, 0 }\n uselistorder i32 %sv_0.336.reload, { 1, 0 }\n uselistorder i32 %.reload59, { 0, 2, 1 }\n uselistorder i32 %sv_4.0.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %rcx.118.reload, { 1, 0 }\n uselistorder i32 %sv_0.116.reload, { 1, 2, 0 }\n uselistorder i64 %3, { 0, 2, 3, 4, 5, 6, 1, 7, 8 }\n uselistorder i64* %storemerge230.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_3.229.reg2mem, { 1, 2, 0 }\n uselistorder i64* %rcx.228.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_2.027.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_1.226.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_0.225.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_4.020.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.119.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.118.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.117.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.116.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem58, { 1, 0, 2 }\n uselistorder i32* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.2.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.2.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.2.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 255, { 1, 0 }\n uselistorder i32 0, { 5, 0, 1, 2, 3, 4 }\n uselistorder i64 4, { 3, 0, 1, 2 }\n uselistorder label LBL_12, { 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": "1" }, { "dataset": "CompRealVul", "file": "clear_tco_status_15416", "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 = zext i32 %5 to i64\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6, i64 8)\n %9 = load i32, i32* %4, align 4\n %10 = add i32 %9, 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %7, i64 %11, i64 2)\n %13 = load i32, i32* %4, align 4\n %14 = add i32 %13, 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %7, i64 %15, i64 4)\n ret i64 %16\n\n uselistorder i64 %7, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qpci_io_writew, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "OBJ_add_object_10860", "fun_name": "OBJ_add_object", "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 %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 = 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_2, label LBL_13\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_13, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 16)\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_12, label LBL_4\n LBL_4:\n %12 = add i64 %8, 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_7, label LBL_5\n LBL_5:\n %16 = add i64 %7, 8\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_7, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 16)\n %21 = icmp eq i64 %20, 0\n br i1 %21, label LBL_12, label LBL_7\n LBL_7:\n %22 = add i64 %8, 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_9, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 16)\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_12, label LBL_9\n LBL_9:\n %28 = add i64 %8, 24\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_11, label LBL_10\n LBL_10:\n %32 = call i64 @FUNC(i64 16)\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = inttoptr i64 %8 to i32*\n %35 = add i64 %8, 32\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = and i32 %37, -8\n store i32 %38, i32* %36, align 4\n %39 = load i32, i32* %34, align 4\n %40 = zext i32 %39 to i64\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %41 = call i64 @FUNC(i64 1, i64 1)\n %42 = call i64 @FUNC(i64 %8)\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 %8, { 0, 1, 5, 2, 3, 4, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i64 (i64)* @OPENSSL_free, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64)* @OPENSSL_malloc, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 0, 1, 6, 2, 3, 4, 5, 7, 8, 9, 10 }\n uselistorder label LBL_13, { 1, 3, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_crypt_extended_r_7642", "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 %storemerge7.in.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_2.1.lcssa.reg2mem = alloca i64\n %sv_2.113.reg2mem = alloca i64\n %sv_3.114.reg2mem = alloca i8*\n %.reg2mem29 = alloca i64\n %sv_4.116.reg2mem = alloca i32\n %sv_0.017.reg2mem = alloca i32\n %sv_4.018.reg2mem = alloca i32\n %sv_1.019.reg2mem = alloca i32\n %sv_2.020.reg2mem = alloca i64\n %sv_3.021.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_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sv_7 = 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_7 to i8*\n %8 = ptrtoint i64* %sv_7 to i64\n store i64 %8, i64* %.reg2mem\n store i8* %7, i8** %sv_3.021.reg2mem\n store i64 %arg1, i64* %sv_2.020.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.020.reload = load i64, i64* %sv_2.020.reg2mem\n %sv_3.021.reload = load i8*, i8** %sv_3.021.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = inttoptr i64 %sv_2.020.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_3.021.reload, align 1\n %14 = icmp ne i8 %13, 0\n %15 = zext i1 %14 to i64\n %spec.select = add i64 %sv_2.020.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_3.021.reg2mem\n store i64 %spec.select, i64* %sv_2.020.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %17 = call i64 @FUNC(i64* nonnull %sv_7, 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_5, label LBL_22\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_1.019.reg2mem\n store i32 1, i32* %sv_4.018.reg2mem\n br i1 %23, label LBL_17, label LBL_6\n LBL_6:\n %sv_4.018.reload = load i32, i32* %sv_4.018.reg2mem\n %24 = sext i32 %sv_4.018.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 ([76 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_1.019.reload = load i32, i32* %sv_1.019.reg2mem\n %37 = trunc i64 %30 to i32\n %38 = mul nuw i32 %sv_4.018.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_1.019.reload\n %43 = add nuw i32 %sv_4.018.reload, 1\n %44 = icmp ult i32 %43, 5\n store i32 %42, i32* %sv_1.019.reg2mem\n store i32 %43, i32* %sv_4.018.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_0.017.reg2mem\n store i32 5, i32* %sv_4.116.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %46, label LBL_9, label LBL_22\n LBL_9:\n %sv_4.116.reload = load i32, i32* %sv_4.116.reg2mem\n %47 = sext i32 %sv_4.116.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 ([76 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_0.017.reload = load i32, i32* %sv_0.017.reg2mem\n %60 = trunc i64 %53 to i32\n %61 = mul nuw i32 %sv_4.116.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_0.017.reload\n %66 = add nuw i32 %sv_4.116.reload, 1\n %67 = icmp ult i32 %66, 9\n store i32 %65, i32* %sv_0.017.reg2mem\n store i32 %66, i32* %sv_4.116.reg2mem\n store i64 %spec.select, i64* %sv_2.2.reg2mem\n br i1 %67, label LBL_9, label LBL_15\n LBL_11:\n %68 = call i64 @FUNC(i64* nonnull %sv_7, i64* nonnull %sv_7, 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* %.reg2mem29\n store i8* %7, i8** %sv_3.114.reg2mem\n store i64 %sv_2.2.reload, i64* %sv_2.113.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %70, label LBL_13, label LBL_22\n LBL_12:\n %sv_3.114.reload = load i8*, i8** %sv_3.114.reg2mem\n %.reload30 = load i64, i64* %.reg2mem29\n %71 = add i64 %sv_2.113.reload, 1\n %72 = mul i8 %80, 2\n %73 = add i64 %.reload30, 1\n %74 = inttoptr i64 %73 to i8*\n %75 = load i8, i8* %sv_3.114.reload, align 1\n %76 = xor i8 %75, %72\n store i8 %76, i8* %sv_3.114.reload, align 1\n %77 = sub i64 %73, %8\n %78 = icmp ult i64 %77, 8\n store i64 %73, i64* %.reg2mem29\n store i8* %74, i8** %sv_3.114.reg2mem\n store i64 %71, i64* %sv_2.113.reg2mem\n store i64 %71, i64* %sv_2.1.lcssa.reg2mem\n br i1 %78, label LBL_13, label LBL_14\n LBL_13:\n %sv_2.113.reload = load i64, i64* %sv_2.113.reg2mem\n %79 = inttoptr i64 %sv_2.113.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_2.113.reload, i64* %sv_2.1.lcssa.reg2mem\n br i1 %82, label LBL_12, label LBL_14\n LBL_14:\n %sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem\n %83 = call i64 @FUNC(i64* nonnull %sv_7, i64 %2)\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n store i64 %sv_2.1.lcssa.reload, i64* %sv_2.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_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %86 = inttoptr i64 %sv_2.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 %phitmp = zext i32 %42 to i64\n store i64 %phitmp, i64* %sv_1.1.reg2mem\n store i32 %65, i32* %sv_0.1.reg2mem\n store i64 %94, i64* %storemerge7.in.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 store i64 25, i64* %sv_1.1.reg2mem\n store i32 %118, i32* %sv_0.1.reg2mem\n store i64 %124, i64* %storemerge7.in.reg2mem\n br label LBL_20\n LBL_20:\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 %125 = zext i32 %sv_0.1.reload to i64\n %126 = call i64 @FUNC(i64 %125, i64 %2)\n %127 = bitcast i32* %sv_5 to i64*\n %128 = bitcast i32* %sv_6 to i64*\n %129 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %127, i64* nonnull %128, i64 %sv_1.1.reload, i64 %2)\n %130 = trunc i64 %129 to i32\n %131 = icmp eq i32 %130, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %131, label LBL_21, label LBL_22\n LBL_21:\n %storemerge7.in.reload = load i64, i64* %storemerge7.in.reg2mem\n %storemerge7 = inttoptr i64 %storemerge7.in.reload to i8*\n %132 = load i32, i32* %sv_5, align 4\n %133 = udiv i32 %132, 256\n %134 = udiv i32 %132, 67108864\n %135 = zext i32 %134 to i64\n %136 = add i64 %135, ptrtoint ([76 x i8]* @gv_0 to i64)\n %137 = inttoptr i64 %136 to i8*\n %138 = load i8, i8* %137, align 1\n %139 = add i64 %storemerge7.in.reload, 1\n store i8 %138, i8* %storemerge7, align 1\n %140 = udiv i32 %132, 1048576\n %141 = urem i32 %140, 64\n %142 = zext i32 %141 to i64\n %143 = add i64 %142, ptrtoint ([76 x i8]* @gv_0 to i64)\n %144 = inttoptr i64 %143 to i8*\n %145 = load i8, i8* %144, align 1\n %146 = add i64 %storemerge7.in.reload, 2\n %147 = inttoptr i64 %139 to i8*\n store i8 %145, i8* %147, align 1\n %148 = udiv i32 %132, 16384\n %149 = urem i32 %148, 64\n %150 = zext i32 %149 to i64\n %151 = add i64 %150, ptrtoint ([76 x i8]* @gv_0 to i64)\n %152 = inttoptr i64 %151 to i8*\n %153 = load i8, i8* %152, align 1\n %154 = add i64 %storemerge7.in.reload, 3\n %155 = inttoptr i64 %146 to i8*\n store i8 %153, i8* %155, align 1\n %156 = urem i32 %133, 64\n %157 = zext i32 %156 to i64\n %158 = add i64 %157, ptrtoint ([76 x i8]* @gv_0 to i64)\n %159 = inttoptr i64 %158 to i8*\n %160 = load i8, i8* %159, align 1\n %161 = add i64 %storemerge7.in.reload, 4\n %162 = inttoptr i64 %154 to i8*\n store i8 %160, i8* %162, align 1\n %163 = load i32, i32* %sv_5, align 4\n %164 = mul i32 %163, 65536\n %165 = load i32, i32* %sv_6, align 4\n %166 = udiv i32 %165, 65536\n %167 = or i32 %166, %164\n %168 = udiv i32 %163, 4\n %169 = urem i32 %168, 64\n %170 = zext i32 %169 to i64\n %171 = add i64 %170, ptrtoint ([76 x i8]* @gv_0 to i64)\n %172 = inttoptr i64 %171 to i8*\n %173 = load i8, i8* %172, align 1\n %174 = add i64 %storemerge7.in.reload, 5\n %175 = inttoptr i64 %161 to i8*\n store i8 %173, i8* %175, align 1\n %176 = udiv i32 %167, 4096\n %177 = urem i32 %176, 64\n %178 = zext i32 %177 to i64\n %179 = add i64 %178, ptrtoint ([76 x i8]* @gv_0 to i64)\n %180 = inttoptr i64 %179 to i8*\n %181 = load i8, i8* %180, align 1\n %182 = add i64 %storemerge7.in.reload, 6\n %183 = inttoptr i64 %174 to i8*\n store i8 %181, i8* %183, align 1\n %184 = udiv i32 %165, 4194304\n %185 = urem i32 %184, 64\n %186 = zext i32 %185 to i64\n %187 = add i64 %186, ptrtoint ([76 x i8]* @gv_0 to i64)\n %188 = inttoptr i64 %187 to i8*\n %189 = load i8, i8* %188, align 1\n %190 = add i64 %storemerge7.in.reload, 7\n %191 = inttoptr i64 %182 to i8*\n store i8 %189, i8* %191, align 1\n %192 = urem i32 %166, 64\n %193 = zext i32 %192 to i64\n %194 = add i64 %193, ptrtoint ([76 x i8]* @gv_0 to i64)\n %195 = inttoptr i64 %194 to i8*\n %196 = load i8, i8* %195, align 1\n %197 = add i64 %storemerge7.in.reload, 8\n %198 = inttoptr i64 %190 to i8*\n store i8 %196, i8* %198, align 1\n %199 = load i32, i32* %sv_6, align 4\n %200 = mul i32 %199, 4\n %201 = udiv i32 %199, 1024\n %202 = urem i32 %201, 64\n %203 = zext i32 %202 to i64\n %204 = add i64 %203, ptrtoint ([76 x i8]* @gv_0 to i64)\n %205 = inttoptr i64 %204 to i8*\n %206 = load i8, i8* %205, align 1\n %207 = add i64 %storemerge7.in.reload, 9\n %208 = inttoptr i64 %197 to i8*\n store i8 %206, i8* %208, align 1\n %209 = udiv i32 %199, 16\n %210 = urem i32 %209, 64\n %211 = zext i32 %210 to i64\n %212 = add i64 %211, ptrtoint ([76 x i8]* @gv_0 to i64)\n %213 = inttoptr i64 %212 to i8*\n %214 = load i8, i8* %213, align 1\n %215 = add i64 %storemerge7.in.reload, 10\n %216 = inttoptr i64 %207 to i8*\n store i8 %214, i8* %216, align 1\n %217 = and i32 %200, 60\n %218 = zext i32 %217 to i64\n %219 = add i64 %218, ptrtoint ([76 x i8]* @gv_0 to i64)\n %220 = inttoptr i64 %219 to i8*\n %221 = load i8, i8* %220, align 4\n %222 = add i64 %storemerge7.in.reload, 11\n %223 = inttoptr i64 %215 to i8*\n store i8 %221, i8* %223, align 1\n %224 = inttoptr i64 %222 to i8*\n store i8 0, i8* %224, align 1\n %225 = add i64 %2, 4\n store i64 %225, 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 %199, { 1, 2, 0 }\n uselistorder i32 %166, { 1, 0 }\n uselistorder i32 %163, { 1, 0 }\n uselistorder i64 %storemerge7.in.reload, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 }\n uselistorder i8 %80, { 1, 0 }\n uselistorder i8* %sv_3.114.reload, { 1, 0 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i32 %42, { 1, 2, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i8 %13, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %sv_2.020.reload, { 1, 0 }\n uselistorder i64 %8, { 3, 0, 2, 1 }\n uselistorder i64* %sv_7, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32* %sv_6, { 1, 0, 2 }\n uselistorder i32* %sv_5, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 6, 5, 7, 8, 9, 2, 3, 0, 1, 10, 11 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_3.021.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.020.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.019.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.018.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.017.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.116.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem29, { 2, 0, 1 }\n uselistorder i8** %sv_3.114.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.113.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.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge7.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 5, 7, 6, 3, 4, 2, 8, 1, 9 }\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, { 9, 4, 6, 5, 2, 3, 1, 7, 0, 8 }\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": "test_13375", "fun_name": "test", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, %1\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = add i32 %4, %6\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = add i32 %7, %9\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = add i32 %10, %12\n %14 = call i64 @FUNC()\n %15 = trunc i64 %14 to i32\n %16 = add i32 %13, %15\n %17 = call i64 @FUNC()\n %18 = trunc i64 %17 to i32\n %19 = add i32 %16, %18\n %20 = call i64 @FUNC()\n %21 = trunc i64 %20 to i32\n %22 = add i32 %19, %21\n %23 = call i64 @FUNC()\n %24 = trunc i64 %23 to i32\n %25 = add i32 %22, %24\n %26 = call i64 @FUNC()\n %27 = trunc i64 %26 to i32\n %28 = sub i32 0, %27\n %29 = icmp ne i32 %25, %28\n %. = zext i1 %29 to i64\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smc91c111_init_1109", "fun_name": "smc91c111_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 40)\n %2 = call i64 @FUNC(i64 0, i64 4198838, i64 4198849, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = zext i32 %arg2 to i64\n %5 = call i64 @FUNC(i64 %4, i64 16, i32 %3)\n %6 = inttoptr i64 %1 to i32*\n store i32 %arg2, i32* %6, align 4\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg3, i64* %8, align 8\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 %arg4, i32* %10, align 4\n %11 = add i64 %1, 20\n %12 = inttoptr i64 %11 to i64*\n %13 = bitcast i32* %arg1 to i64*\n %14 = call i64* @memcpy(i64* %12, i64* %13, i32 6)\n %15 = call i64 @FUNC(i64 %1)\n %16 = add i64 %0, 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 %19, i64 4198794, i64 4198801, i64 %1)\n %21 = add i64 %1, 32\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 16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "js_newregexp_12685", "fun_name": "js_newregexp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64 1, i64 %arg1)\n %1 = and i64 %arg3, 4\n %2 = icmp ne i64 %1, 0\n %spec.select = zext i1 %2 to i64\n %3 = udiv i64 %arg3, 4\n %4 = and i64 %3, 2\n %5 = or i64 %4, %spec.select\n %6 = ptrtoint i8* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64* nonnull %sv_0)\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 i64, i64* %sv_0, align 8\n %11 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %10)\n br label LBL_2\n LBL_2:\n %12 = inttoptr i64 %0 to i64*\n store i64 %7, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %arg1, i64 %6)\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = trunc i64 %arg3 to i32\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %0, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %arg1, i64 %0)\n ret i64 %21\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 2, 0, 4, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "getSSD_2623", "fun_name": "getSSD", "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 %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.17.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\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_6\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg5 to i32\n %5 = icmp sgt i32 %4, 0\n %wide.trip.count = and i64 %arg5, 4294967295\n store i32 0, i32* %storemerge8.reg2mem\n store i64 0, i64* %sv_0.17.reg2mem\n br label LBL_4\n LBL_2:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %6 = trunc i64 %indvars.iv.reload to i32\n %7 = add i32 %23, %6\n %8 = sext i32 %7 to i64\n %9 = add i64 %8, %3\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = add i32 %24, %6\n %13 = sext i32 %12 to i64\n %14 = add i64 %13, %2\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = zext i8 %11 to i64\n %18 = zext i8 %16 to i64\n %19 = sub nsw i64 %17, %18\n %20 = mul nsw i64 %19, %19\n %21 = add i64 %20, %sv_0.05.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 %21, i64* %sv_0.05.reg2mem\n store i64 %21, 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 %22 = add nuw nsw i32 %storemerge8.reload, 1\n %exitcond11 = icmp eq i32 %22, %0\n store i32 %22, i32* %storemerge8.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.17.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond11, label LBL_6, label LBL_4\n LBL_4:\n %sv_0.17.reload = load i64, i64* %sv_0.17.reg2mem\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n store i64 %sv_0.17.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_2.lr.ph, label LBL_3\n LBL_5:\n %23 = mul i32 %storemerge8.reload, %arg3\n %24 = mul i32 %storemerge8.reload, %arg4\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %sv_0.17.reload, i64* %sv_0.05.reg2mem\n br label LBL_2\n LBL_6:\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 %storemerge8.reload, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rom_load_all_2033", "fun_name": "rom_load_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %.pre-phi10.reg2mem = alloca i64*\n %sv_0.1.reg2mem = alloca i64\n %sv_0.44.reg2mem = alloca i64\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 i64 0, i64* %sv_0.44.reg2mem\n br i1 %1, label LBL_1, label LBL_11\n LBL_1:\n %sv_0.44.reload = load i64, i64* %sv_0.44.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %2 = add i64 %storemerge5.reload, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp ult i64 %sv_0.44.reload, %4\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i64 %sv_0.44.reload, i64 %4\n %7 = add i64 %storemerge5.reload, 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_6, label LBL_2\n LBL_2:\n %11 = add i64 %storemerge5.reload, 40\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 %spec.select, i64* %sv_0.1.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = add i32 %13, -1\n %16 = sext i32 %15 to i64\n %17 = add i64 %spec.select, %16\n %18 = sub i32 0, %13\n %19 = sext i32 %18 to i64\n %20 = and i64 %17, %19\n store i64 %20, 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 %21 = add i64 %storemerge5.reload, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %23, %sv_0.1.reload\n %25 = icmp ugt i64 %24, %9\n store i64* %22, i64** %.pre-phi10.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br i1 %25, label LBL_5, label LBL_9\n LBL_5:\n %26 = inttoptr i64 %storemerge5.reload to i64*\n %27 = load i64, i64* %26, align 8\n %28 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %29 = inttoptr i64 %27 to i8*\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_2, i64 0, i64 0), i8* %29, i64 %sv_0.1.reload)\n store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem\n br label LBL_10\n LBL_6:\n %31 = icmp eq i64 %spec.select, %4\n br i1 %31, label LBL_6.LBL_9_crit_edge, label LBL_8\n LBL_7:\n %.pre = add i64 %storemerge5.reload, 24\n %.pre9 = inttoptr i64 %.pre to i64*\n store i64* %.pre9, i64** %.pre-phi10.reg2mem\n store i64 %4, i64* %sv_0.2.reg2mem\n br label LBL_9\n LBL_8:\n %32 = inttoptr i64 %storemerge5.reload to i64*\n %33 = load i64, i64* %32, align 8\n %34 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %35 = inttoptr i64 %33 to i8*\n %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_3, i64 0, i64 0), i8* %35)\n store i64 4294967295, i64* %storemerge1.reg2mem\n br label LBL_12\n LBL_9:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem\n %37 = add i64 %storemerge5.reload, 32\n %38 = inttoptr i64 %37 to i64*\n store i64 %sv_0.2.reload, i64* %38, align 8\n %39 = load i64, i64* %.pre-phi10.reload, align 8\n %40 = add i64 %39, %sv_0.2.reload\n %41 = call i64 @FUNC(i64 %sv_0.2.reload)\n store i64 %40, 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 %42 = add i64 %storemerge5.reload, 48\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* %storemerge5.reg2mem\n store i64 %sv_0.3.reload, i64* %sv_0.44.reg2mem\n br i1 %45, label LBL_1, label LBL_11\n LBL_11:\n %46 = call i64 @FUNC(i64 4198740, i64 0)\n store i32 1, i32* bitcast (i64* @gv_4 to i32*), align 8\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %sv_0.2.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.1.reload, { 0, 2, 1, 3 }\n uselistorder i64 %spec.select, { 2, 1, 0 }\n uselistorder i64 %storemerge5.reload, { 6, 2, 8, 7, 1, 0, 4, 3, 5 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.44.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.pre-phi10.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 1 }\n uselistorder %_IO_FILE** @gv_1, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_buffersink_poll_frame_2332", "fun_name": "av_buffersink_poll_frame", "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, 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 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = bitcast i64* %arg1 to i8*\n %10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %11 = icmp eq i32 %10, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %12 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %spec.select = zext i1 %17 to i64\n store i64 %spec.select, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %18 = inttoptr i64 %3 to i32*\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %19 = call i64 @FUNC(i64 %storemerge.reload)\n %20 = load i32, i32* %18, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21)\n %sext = mul i64 %22, 4294967296\n %23 = ashr exact i64 %sext, 32\n %24 = udiv i64 %23, 8\n %25 = call i64 @FUNC(i64 %8)\n %26 = add i64 %24, %25\n %27 = and i64 %26, 4294967295\n ret i64 %27\n\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gio_poll_dispatch_del_3828", "fun_name": "gio_poll_dispatch_del", "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 %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %5 = and i64 %arg1, 4294967295\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = load i64, i64* @gv_1, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %5, i64* nonnull %sv_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_1\n LBL_1:\n %12 = ptrtoint i64* %sv_0 to i64\n %13 = load i64, i64* %sv_0, align 8\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %12, i64 %5, i64 %2, i64 %1)\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 = icmp eq i64 %17, 0\n store i64 %15, i64* %.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %17)\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %20 = add i64 %.reload, 8\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64* %sv_0, { 0, 2, 3, 4, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @crm_trace, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 6, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pvf_read_header_2515", "fun_name": "pvf_read_header", "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 %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 5)\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 32)\n %3 = bitcast i64* %sv_3 to i8*\n %4 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %5 = icmp eq i32 %4, 3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = load i64, i64* %sv_0, align 8\n %7 = trunc i64 %6 to i32\n %.off = add i32 %7, -1\n %8 = icmp ugt i32 %.off, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_2\n LBL_2:\n %9 = load i64, i64* %sv_2, align 8\n %10 = trunc i64 %9 to i32\n %.off2 = add i32 %10, -1\n %11 = icmp ugt i32 %.off2, 268435454\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = load i64, i64* %sv_1, align 8\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp slt i32 %13, 0\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i1 %14, false\n %18 = icmp eq i1 %16, %17\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_6\n LBL_4:\n %19 = call i64 @FUNC(i64 %0, i64 0)\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_5, label LBL_6\n LBL_5:\n %22 = inttoptr i64 %19 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n %25 = load i64, i64* %22, align 8\n %26 = load i64, i64* %sv_0, align 8\n %27 = trunc i64 %26 to i32\n %28 = add i64 %25, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = load i64, i64* %22, align 8\n %31 = load i64, i64* %sv_1, align 8\n %32 = trunc i64 %31 to i32\n %33 = add i64 %30, 8\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = load i64, i64* %sv_2, align 8\n %36 = load i64, i64* %22, align 8\n %37 = and i64 %35, 4294967295\n %38 = call i64 @FUNC(i64 %37, i64 0, i64 1, i64 65535)\n %39 = trunc i64 %38 to i32\n %40 = add i64 %36, 12\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = load i64, i64* %22, align 8\n %43 = load i64, i64* %sv_2, align 8\n %44 = trunc i64 %43 to i32\n %45 = add i64 %42, 16\n %46 = inttoptr i64 %45 to i32*\n store i32 %44, i32* %46, align 4\n %47 = load i64, i64* %22, 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 = load i64, i64* %sv_2, align 8\n %52 = trunc i64 %51 to i32\n %53 = mul i32 %50, %52\n %54 = sdiv i32 %53, 128\n %55 = add i64 %47, 20\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n %57 = load i64, i64* %22, align 8\n %58 = add i64 %57, 8\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 %19, i64 64, i64 1, i64 %61)\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 %13, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 0 }\n uselistorder i64* %sv_1, { 1, 2, 0 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 4, 3, 2, 5 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder label LBL_6, { 5, 0, 3, 2, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_mulldo_588", "fun_name": "helper_mulldo", "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 %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %arg2, i64 %arg3)\n %2 = load i64, i64* %sv_0, align 8\n %3 = icmp slt i64 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = load i64, i64* %sv_1, align 8\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %6 = icmp eq i64 %5, -1\n %7 = icmp eq i1 %6, false\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n store i32 0, i32* %9, align 4\n br label LBL_7\n LBL_3:\n store i32 1, i32* %9, align 4\n %10 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %10, align 4\n br label LBL_7\n LBL_4:\n %11 = icmp eq i64 %5, 0\n %12 = icmp eq i1 %11, false\n %13 = add i64 %0, 4\n %14 = inttoptr i64 %13 to i32*\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n store i32 0, i32* %14, align 4\n br label LBL_7\n LBL_6:\n store i32 1, i32* %14, align 4\n %15 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %15, align 4\n br label LBL_7\n LBL_7:\n %16 = load i64, i64* %sv_0, align 8\n ret i64 %16\n\n uselistorder i32* %14, { 1, 0 }\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "igmp_start_timer_7066", "fun_name": "igmp_start_timer", "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 %1)\n %3 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %0, 4\n %5 = call i64 @FUNC(i64 %4)\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 = trunc i64 %2 to i32\n %9 = load i32, i32* @gv_0, align 4\n %10 = add i32 %8, 2\n %11 = add i32 %10, %9\n %12 = add i64 %0, 8\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %12, i64 %13)\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_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %0)\n store i64 %17, 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": "stbl_Read_9512", "fun_name": "stbl_Read", "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, i64 4198700)\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_5\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 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n br label LBL_4\n LBL_4:\n %10 = add i64 %1, 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 = 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 = add i64 %1, 32\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 = add i64 %1, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, 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 %1, { 2, 1, 4, 3, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @gf_list_count, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ptlrpc_rqphase_move_17973", "fun_name": "ptlrpc_rqphase_move", "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 = trunc i64 %arg2 to i32\n %3 = trunc i64 %1 to i32\n %4 = and i64 %1, 4294967295\n %5 = icmp eq i32 %3, %2\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_8, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\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 = add i64 %6, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %3, i32* %12, align 4\n %13 = add i64 %6, 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 %15)\n br label LBL_4\n LBL_4:\n %18 = bitcast i64* %rdi to i32*\n %19 = load i32, i32* %18, align 8\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = add i64 %6, 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_7, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %24)\n br label LBL_7\n LBL_7:\n %27 = and i64 %7, 4294967295\n %28 = call i64 @FUNC(i64 %27)\n %29 = call i64 @FUNC(i64 %6)\n %30 = inttoptr i64 %29 to i8*\n %31 = inttoptr i64 %28 to i8*\n %32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* %30, i8* %31)\n %33 = bitcast i64* %arg1 to i32*\n store i32 %8, i32* %33, align 4\n store i64 %6, 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, 4, 3, 1, 2 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "string_of_NPNVariable_6041", "fun_name": "string_of_NPNVariable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i8*\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 i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem\n switch i32 %trunc, label LBL_16 [\n i32 1, label LBL_21\n i32 2, label LBL_1\n i32 3, label LBL_2\n i32 4, label LBL_3\n i32 5, label LBL_4\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 i32 10, label LBL_9\n i32 11, label LBL_10\n i32 12, label LBL_11\n i32 13, label LBL_12\n i32 14, label LBL_13\n i32 15, label LBL_14\n i32 16, label LBL_15\n ]\n LBL_1:\n store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_2:\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_3:\n store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_4:\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_5:\n store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_6:\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_7:\n store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_8:\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_9:\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_10:\n store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_10, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_11:\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_12:\n store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_12, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_13:\n store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_14:\n store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_14, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_15:\n store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_15, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_16:\n %2 = urem i64 %0, 256\n %3 = icmp eq i64 %2, 13\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %3, label LBL_21, label LBL_17\n LBL_17:\n %4 = trunc i64 %2 to i32\n %5 = icmp ugt i32 %4, 13\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_16, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %5, label LBL_21, label LBL_18\n LBL_18:\n %6 = icmp eq i32 %4, 12\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %6, label LBL_21, label LBL_19\n LBL_19:\n %7 = icmp ugt i32 %4, 12\n store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_16, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %7, label LBL_21, label LBL_20\n LBL_20:\n %switch.selectcmp = icmp eq i32 %4, 11\n %switch.select = select i1 %switch.selectcmp, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_16, i64 0, i64 0)\n %switch.selectcmp3 = icmp eq i32 %4, 10\n %switch.select4 = select i1 %switch.selectcmp3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8* %switch.select\n store i8* %switch.select4, i8** %sv_0.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %8 = ptrtoint i8* %sv_0.0.reload to i64\n ret i64 %8\n\n uselistorder i32 %4, { 0, 1, 2, 4, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 3, 2, 5, 1, 4, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 }\n uselistorder i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_16, i64 0, i64 0), { 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_21, { 2, 1, 4, 0, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cosine_read_13667", "fun_name": "cosine_read", "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* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0, i64* nonnull %sv_0)\n %4 = icmp slt 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_2\n LBL_1:\n store i64 %3, i64* %arg4, 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 = add i64 %2, 8\n %10 = call i64 @FUNC(i64 %2, i64 %9, i64 %8, i64* nonnull %sv_0, i64 %1, i64 %0)\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 %2, { 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": "av_guess_frame_rate_3540", "fun_name": "av_guess_frame_rate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %sv_0.1.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i32*\n %.reg2mem = alloca i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %4 = load i32, i32* %0\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 %1, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 1\n %15 = icmp slt i32 %4, 1\n %or.cond = or i1 %15, %14\n store i64 %7, i64* %.reg2mem\n store i32* %arg2, i32** %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %16 = trunc i64 %1 to i32\n %17 = icmp slt i32 %16, 1\n %18 = icmp slt i32 %3, 1\n %or.cond11 = or i1 %17, %18\n store i64 %7, i64* %.reg2mem\n store i32* %arg2, i32** %sv_0.0.reg2mem\n br i1 %or.cond11, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i128 @FUNC(i64 %12)\n %20 = call i128 @FUNC(i64 4634626229029306368)\n call void @FUNC(i128 %20, i128 %19)\n %21 = call i128 @FUNC(i64 %1)\n %22 = call i64 @FUNC(i128 %21)\n %23 = call i128 @__asm_movq.1(i64 %22)\n %24 = load i128, i128* @gv_0, align 8\n call void @FUNC(i128 %23, i128 %24)\n %25 = inttoptr i64 %12 to i32*\n %.pre = load i64, i64* %6, align 8\n store i64 %.pre, i64* %.reg2mem\n store i32* %25, i32** %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %26 = trunc i64 %9 to i32\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %27 = add i64 %.reload, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp slt i32 %29, 2\n %31 = icmp slt i32 %26, 1\n %or.cond7 = or i1 %31, %30\n %32 = icmp slt i32 %2, 1\n %or.cond9 = or i1 %32, %or.cond7\n store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem\n br i1 %or.cond9, label LBL_7, label LBL_4\n LBL_4:\n %33 = ptrtoint i32* %sv_0.0.reload to i64\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %.pre12 = mul i64 %9, 4294967296\n %.pre13 = ashr exact i64 %.pre12, 32\n br i1 %35, label LBL_6, label LBL_5\n LBL_5:\n %36 = call i128 @FUNC(i64 %.pre13)\n %37 = call i64 @__asm_movsd.2(i128 %36)\n %38 = call i128 @FUNC(i64 %33)\n %39 = call i128 @FUNC(i64 4604480259023595110)\n %40 = call i128 @FUNC(i128 %38, i128 %39)\n %41 = sext i64 %37 to i128\n call void @FUNC(i128 %40, i128 %41)\n %42 = call i64 @FUNC(i64 %12, i64 %33)\n %43 = call i128 @FUNC(i64 %42)\n %44 = call i128 @FUNC(i128 %43)\n %45 = call i128 @FUNC(i64 4607182418800017408)\n %46 = call i128 @FUNC(i128 %45, i128 %44)\n %47 = call i128 @__asm_movq.1(i64 9223372036854775807)\n %48 = call i128 @FUNC(i128 %46, i128 %47)\n %49 = load i128, i128* @gv_1, align 8\n call void @FUNC(i128 %48, i128 %49)\n br label LBL_6\n LBL_6:\n %50 = inttoptr i64 %.pre13 to i32*\n store i32* %50, 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 %51 = ptrtoint i32* %sv_0.1.reload to i64\n ret i64 %51\n\n uselistorder i32* %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %12, { 2, 0, 1, 3 }\n uselistorder i32* %0, { 2, 1, 0 }\n uselistorder i128 (i64)* @av_q2d, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_genl_tm_activated_8009", "fun_name": "nfc_genl_tm_activated", "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 @FUNC(i64 1024, 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 %5 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 4210733, i64 0, i64 1)\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC(i64 %2, i64 1, i32 %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_3\n LBL_3:\n %12 = trunc i64 %arg2 to i32\n %13 = call i64 @FUNC(i64 %2, i64 2, i32 %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_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %2, i64 %5)\n %18 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2, i64 0, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %19 = call i64 @FUNC(i64 %2)\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 %2, { 4, 1, 0, 2, 3, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i32)* @nla_put_u32, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "amd64_check_ecc_enabled_7526", "fun_name": "amd64_check_ecc_enabled", "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 %r8.1.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %r8.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 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %6 = add i64 %5, 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 = bitcast i32* %sv_1 to i64*\n %11 = call i64 @FUNC(i64 %9, i64 4660, 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 = ptrtoint i32* %sv_1 to i64\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 4660, i64 %14, i64 %4, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %16 = load i32, i32* %sv_1, align 4\n %17 = urem i32 %16, 2\n %18 = icmp eq i32 %17, 0\n %19 = and i64 %3, 4294967295\n %20 = call i64 @FUNC(i64 %19)\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = load i32, i32* %sv_1, align 4\n %25 = urem i32 %24, 2\n %26 = icmp eq i32 %25, 0\n %. = select i1 %26, i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64 ptrtoint ([8 x i8]* @gv_2 to i64)\n %27 = zext i32 %24 to i64\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %., i64 %4, i64 %2, i64 %1)\n %29 = icmp eq i32 %23, 0\n %30 = or i1 %18, %29\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_9, label LBL_3\n LBL_3:\n %32 = icmp eq i1 %18, false\n %33 = icmp eq i1 %32, false\n %34 = icmp eq i1 %33, false\n store i64 %., i64* %rdx.0.reg2mem\n br i1 %34, label LBL_5, label LBL_4\n LBL_4:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i64 %., i64 %4, i64 %2, i64 %1)\n %36 = load i32, i32* %7, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = and i64 %38, 4294967295\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_6, i64 0, i64 0), i64 1, i64 4660, i64 %39, i64 %1)\n store i64 4660, i64* %rcx.0.reg2mem\n store i64 1, i64* %rdx.0.reg2mem\n store i64 %39, i64* %r8.0.reg2mem\n br label LBL_5\n LBL_5:\n %41 = icmp eq i1 %29, false\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 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_7, i64 0, i64 0), i64 2, i64 3, i64 %19, i64 %1)\n store i64 3, i64* %rcx.1.reg2mem\n store i64 2, i64* %rdx.1.reg2mem\n store i64 %19, i64* %r8.1.reg2mem\n br label LBL_7\n LBL_7:\n %43 = load i32, i32* bitcast (i64* @gv_8 to i32*), align 8\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %45, label LBL_10, label LBL_8\n LBL_8:\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 %46 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([267 x i8], [267 x i8]* @gv_9, i64 0, i64 0), i64 %rdx.1.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1)\n store i64 19, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_9:\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_11, i64 0, i64 0), i64 %., i64 %4, i64 %2, i64 %1)\n store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8\n %phitmp = and i64 %22, 4294967295\n store i64 %phitmp, 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 ret i64 %sv_0.0.reload\n\n uselistorder i1 %29, { 1, 0 }\n uselistorder i64 %., { 1, 2, 0, 3 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i64 %19, { 0, 2, 1 }\n uselistorder i1 %18, { 1, 0 }\n uselistorder i32* %sv_1, { 2, 1, 0, 3 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0, 6, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @amd64_printk, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 3, 1, 4, 2, 5, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @debugf0, { 1, 0 }\n uselistorder i64 4660, { 0, 2, 1, 3 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "Sp_search_6281", "fun_name": "Sp_search", "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 = call i64 @FUNC(i64 %arg1, i64 0)\n %1 = call i64 @FUNC(i64 %arg1, 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 %arg1, i64 1)\n br label LBL_5\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1, i64 1)\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 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 0)\n br label LBL_5\n LBL_4:\n %9 = call i64 @FUNC(i64 %arg1, i64 1)\n %10 = inttoptr i64 %9 to i64*\n %11 = call i64 @FUNC(i64 %arg1, i64* %10, i64 0)\n br label LBL_5\n LBL_5:\n %12 = call i64 @FUNC(i64 %arg1, i64 4294967295)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %arg1, i64 %14, i64 %0, i64* nonnull %sv_0, 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_7, label LBL_6\n LBL_6:\n %19 = load i64, i64* %sv_0, align 8\n %20 = call i128 @FUNC(i64 %0, i64 %19)\n %21 = call i64 @FUNC(i128 %20)\n %22 = call i128 @__asm_movq.1(i64 %21)\n %23 = call i64 @FUNC(i64 %arg1)\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %24 = call i128 @__asm_movq.1(i64 -4616189618054758400)\n %25 = call i64 @FUNC(i64 %arg1)\n store i64 %25, 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_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @js_pushnumber, { 1, 0 }\n uselistorder i64 (i64, i64*, i64)* @js_newregexp, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 5, 4, 6, 7, 8, 9, 10 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_genl_se_added_9082", "fun_name": "nfc_genl_se_added", "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 = call i64 @FUNC(i64 1024, 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_7\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 4210733, i64 0, i64 1)\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC(i64 %2, i64 1, i32 %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_6, label LBL_3\n LBL_3:\n %12 = trunc i64 %arg2 to i32\n %13 = call i64 @FUNC(i64 %2, i64 2, i32 %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_6, label LBL_4\n LBL_4:\n %17 = urem i64 %arg3, 256\n %18 = call i64 @FUNC(i64 %2, i64 3, i64 %17)\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 %2, i64 %5)\n %23 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2, i64 0, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %24 = call i64 @FUNC(i64 %2)\n store i64 4294967206, 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, { 5, 1, 0, 2, 3, 4, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i32)* @nla_put_u32, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_6, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exynos4210_uart_write_7702", "fun_name": "exynos4210_uart_write", "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 %rdi = alloca i64, align 8\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 %arg2)\n %5 = and i64 %2, 4294967295\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %arg2, i64 %4, i64 %arg3, i64 %1)\n %7 = icmp ult i64 %arg2, 49\n br i1 %7, label LBL_1, label LBL_23\n LBL_1:\n %8 = icmp ult i64 %arg2, 24\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %10 = bitcast i64* %rdi to i32*\n %11 = icmp eq i64 %arg2, 20\n br i1 %11, label LBL_19, label LBL_3\n LBL_3:\n %12 = icmp ult i64 %arg2, 21\n br i1 %12, label LBL_4, label LBL_23\n LBL_4:\n %13 = icmp eq i64 %arg2, 16\n br i1 %13, label LBL_17, label LBL_5\n LBL_5:\n %14 = icmp ult i64 %arg2, 17\n br i1 %14, label LBL_6, label LBL_23\n LBL_6:\n %15 = icmp ult i64 %arg2, 9\n br i1 %15, label LBL_10, label LBL_11\n LBL_7:\n %16 = urem i64 %arg2, 64\n %17 = shl i64 1, %16\n %18 = and i64 %17, 1172811284480\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_20, label LBL_8\n LBL_8:\n %23 = icmp ne i64 %16, 48\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_22, label LBL_9\n LBL_9:\n %27 = icmp ne i64 %16, 44\n %28 = icmp eq i1 %27, false\n %29 = icmp eq i1 %28, false\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_21, label LBL_23\n LBL_10:\n %31 = urem i64 %arg2, 64\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_12, label %33\n LBL_11:\n %35 = icmp eq i64 %arg2, 12\n br i1 %35, label LBL_13, label LBL_23\n LBL_12:\n %36 = mul i64 %arg2, 8\n %37 = add i64 %3, 8\n %38 = add i64 %37, %36\n %39 = inttoptr i64 %38 to i64*\n store i64 %arg3, i64* %39, align 8\n %40 = call i64 @FUNC(i64 %3)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_13:\n %41 = add i64 %3, 104\n %42 = inttoptr i64 %41 to i64*\n store i64 %arg3, i64* %42, align 8\n %43 = urem i64 %arg3, 2\n %44 = icmp eq i64 %43, 0\n br i1 %44, label LBL_15, label LBL_14\n LBL_14:\n %45 = add i64 %3, 2064\n %46 = call i64 @FUNC(i64 %45)\n %47 = load i64, i64* %42, align 8\n %48 = and i64 %47, -2\n store i64 %48, i64* %42, align 8\n %49 = load i32, i32* %10, align 8\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %50, i64 %48, i64 %4, i64 %arg3, i64 %1)\n br label LBL_15\n LBL_15:\n %52 = and i64 %arg3, 2\n %53 = icmp eq i64 %52, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %53, label LBL_24, label LBL_16\n LBL_16:\n %54 = add i64 %3, 2072\n %55 = call i64 @FUNC(i64 %54)\n %56 = load i64, i64* %42, align 8\n %57 = and i64 %56, -3\n store i64 %57, i64* %42, align 8\n %58 = load i32, i32* %10, align 8\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %59, i64 %57, i64 %4, i64 %arg3, i64 %1)\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_17:\n %61 = add i64 %3, 2056\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 0, i64* %rax.0.reg2mem\n br i1 %64, label LBL_24, label LBL_18\n LBL_18:\n %65 = add i64 %3, 200\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = and i64 %67, -4\n store i64 %68, i64* %66, align 8\n %sext = mul i64 %arg3, 72057594037927936\n %69 = ashr exact i64 %sext, 56\n store i64 %69, i64* %sv_0, align 8\n %70 = load i64, i64* %62, align 8\n %71 = bitcast i64* %sv_0 to i8*\n %72 = call i64 @FUNC(i64 %70, i8* nonnull %71, i64 1)\n %73 = load i64, i64* %sv_0, align 8\n %74 = trunc i64 %73 to i32\n %75 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %76 = urem i32 %74, 256\n %77 = call i32 @fputc(i32 %76, %_IO_FILE* %75)\n %78 = load i64, i64* %66, align 8\n %79 = or i64 %78, 3\n store i64 %79, i64* %66, align 8\n %80 = add i64 %3, 360\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = or i64 %82, 1\n store i64 %83, i64* %81, align 8\n %84 = call i64 @FUNC(i64 %3)\n store i64 %84, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_19:\n %85 = add i64 %3, 168\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = sub i64 0, %arg3\n %89 = sub i64 %88, 1\n %90 = and i64 %87, %89\n store i64 %90, i64* %86, align 8\n %91 = add i64 %3, 360\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = and i64 %93, %89\n store i64 %94, i64* %92, align 8\n %95 = load i64, i64* %86, align 8\n %96 = load i32, i32* %10, align 8\n %97 = zext i32 %96 to i64\n %98 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_4, i64 0, i64 0), i64 %97, i64 20, i64 %95, i64 %arg3, i64 %1)\n %99 = call i64 @FUNC(i64 %3)\n store i64 %99, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_20:\n %100 = call i64 @FUNC(i64 %arg2)\n %101 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_5, i64 0, i64 0), i64 %5, i64 %100, i64 %arg2, i64 %arg3, i64 %1)\n store i64 %101, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %102 = add i64 %3, 360\n %103 = inttoptr i64 %102 to i64*\n %104 = load i64, i64* %103, align 8\n %105 = sub i64 0, %arg3\n %106 = sub i64 %105, 1\n %107 = and i64 %104, %106\n store i64 %107, i64* %103, align 8\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_22:\n %108 = add i64 %3, 392\n %109 = inttoptr i64 %108 to i64*\n store i64 %arg3, i64* %109, align 8\n %110 = call i64 @FUNC(i64 %3)\n store i64 %110, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_23:\n %111 = mul i64 %arg2, 8\n %112 = add i64 %3, 8\n %113 = add i64 %112, %111\n %114 = inttoptr i64 %113 to i64*\n store i64 %arg3, i64* %114, align 8\n store i64 %3, 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 %89, { 1, 0 }\n uselistorder i64* %66, { 1, 0, 2, 3 }\n uselistorder i64 %57, { 1, 0 }\n uselistorder i64 %48, { 1, 0 }\n uselistorder i64* %42, { 3, 2, 1, 0, 4 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %16, { 2, 1, 0 }\n uselistorder i32* %10, { 2, 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %3, { 0, 14, 16, 17, 1, 15, 11, 12, 13, 7, 8, 9, 10, 3, 2, 4, 5, 6 }\n uselistorder i64 %1, { 3, 2, 1, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 9, 8, 10, 6, 4, 5, 1, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @exynos4210_uart_update_irq, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_3, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @PRINT_DEBUG, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @fifo_reset, { 1, 0 }\n uselistorder i64 8, { 2, 0, 3, 1 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i1 false, { 0, 1, 2, 6, 3, 7, 8, 4, 9, 10, 5, 11, 12 }\n uselistorder i64 (i64)* @exynos4210_uart_regname, { 1, 0 }\n uselistorder i64 %arg3, { 10, 11, 0, 12, 9, 1, 2, 5, 6, 4, 3, 7, 8, 13 }\n uselistorder i64 %arg2, { 0, 5, 4, 1, 12, 2, 3, 11, 10, 9, 8, 7, 6, 13, 14, 15 }\n uselistorder label LBL_24, { 4, 5, 6, 7, 8, 1, 0, 3, 2, 9 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "laio_cleanup_3349", "fun_name": "laio_cleanup", "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 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 = inttoptr i64 %arg1 to i64*\n %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64* %5)\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1)\n ret i64 %7\n\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_icbi_14897", "fun_name": "do_icbi", "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 %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = and i32 %3, -64\n store i32 %4, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = add i32 %4, 64\n %6 = zext i32 %5 to i64\n %7 = zext i32 %4 to i64\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n ret i64 %8\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iothread_complete_13900", "fun_name": "iothread_complete", "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 0, i32* %1, align 4\n %2 = call i64 @FUNC()\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %2, i64* %4, align 8\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n store i32 -1, i32* %6, align 4\n %7 = add i64 %0, 32\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 72\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %0, 24\n %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 4198785, i64 %0, i64 1)\n %13 = call i64 @FUNC(i64 %7)\n %14 = load i32, i32* %6, align 4\n %15 = icmp eq i32 %14, -1\n br i1 %15, label LBL_1, label LBL_2\n LBL_1:\n %16 = call i64 @FUNC(i64 %9, i64 %7)\n %17 = load i32, i32* %6, align 4\n %18 = icmp eq i32 %17, -1\n br i1 %18, label LBL_1, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %7)\n ret i64 %19\n\n uselistorder i64 %7, { 1, 0, 2, 3 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxg_update_cache_14260", "fun_name": "mxg_update_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %.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 i32 %6, %1\n %8 = icmp ugt i32 %7, %6\n %9 = icmp eq i32 %1, 0\n %10 = or i1 %9, %8\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_1, label LBL_6\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add nsw i64 %11, 32\n %16 = add i64 %15, %5\n %17 = and i64 %16, 4294967295\n %18 = add i64 %0, 24\n %19 = call i64 @FUNC(i64 %0, i64 %18, i64 %17)\n store i64 %19, i64* %arg1, align 8\n %20 = icmp eq i64* %arg1, null\n %21 = icmp eq i1 %20, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %21, label LBL_2, label LBL_6\n LBL_2:\n %22 = and i64 %5, 4294967295\n %23 = add i64 %22, %0\n store i64 %23, i64* %3, align 8\n %24 = load i64, i64* %13, align 8\n %25 = icmp eq i64 %24, 0\n store i64 %23, i64* %.reg2mem\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = sub i64 %14, %0\n %27 = and i64 %26, 4294967295\n %28 = add i64 %27, %0\n store i64 %28, i64* %13, align 8\n %.pre = load i64, i64* %3, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %29 = add i64 %0, 28\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = trunc i64 %11 to i32\n %33 = sub i32 %32, %31\n %34 = zext i32 %33 to i64\n %35 = zext i32 %31 to i64\n %36 = add i64 %.reload, %35\n %37 = call i64 @FUNC(i64 %.reload, i64 %36, i64 %34)\n %38 = trunc i64 %37 to i32\n %39 = icmp slt i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 %37, i64* %rax.0.shrunk.reg2mem\n br i1 %40, label LBL_5, label LBL_6\n LBL_5:\n %41 = load i32, i32* %30, align 4\n %42 = add i32 %41, %38\n store i32 %42, i32* %30, align 4\n store i64 %37, 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 %37, { 1, 0, 2 }\n uselistorder i32* %30, { 1, 0, 2 }\n uselistorder i64* %13, { 1, 0, 2 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32 %1, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 5, 1, 3, 4, 6, 7, 8 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uninit_17994", "fun_name": "uninit", "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_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 %4, 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 %8, 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 %12, 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* %17)\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 i64 %arg1, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_strk_7661", "fun_name": "parse_strk", "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 %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg4 to i32\n %3 = icmp eq i32 %2, 64\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_15, label LBL_1\n LBL_1:\n %sext3 = mul i64 %arg5, 4294967296\n %5 = ashr exact i64 %sext3, 32\n %6 = add i64 %arg4, 7\n %7 = and i64 %6, 4294967295\n %8 = icmp sgt i64 %5, %7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_15\n LBL_2:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = ptrtoint i64* %arg2 to i64\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 %10, 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 = sext i32 %13 to i64\n %19 = icmp slt i64 %18, %17\n store i64 %10, i64* %rsi.0.reg2mem\n br i1 %19, label LBL_5, label LBL_3\n LBL_3:\n %20 = add i32 %13, 1\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %10, i64 %21, i64 24)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_15\n LBL_4:\n %25 = load i32, i32* %15, align 4\n %26 = sub i32 %20, %25\n %27 = mul i32 %26, 24\n %28 = sext i32 %25 to i64\n %29 = mul nsw i64 %28, 24\n %30 = add nsw i64 %29, %21\n %31 = inttoptr i64 %30 to i64*\n %32 = call i64* @memset(i64* %31, i32 0, i32 %27)\n store i32 %20, i32* %15, align 4\n store i64 0, i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_5:\n %33 = ptrtoint i64* %arg1 to i64\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %34 = add i64 %9, 12\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = mul nsw i64 %18, 24\n %38 = add i64 %rsi.0.reload, %37\n %39 = inttoptr i64 %38 to i32*\n store i32 %36, i32* %39, align 4\n %40 = add i64 %9, 36\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %38, 4\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %9, 40\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %38, 8\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = add i64 %9, 44\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %38, 12\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %38, 16\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n %57 = load i32, i32* %44, align 4\n %58 = icmp slt i32 %57, 1\n br i1 %58, label LBL_8, label LBL_6\n LBL_6:\n %59 = load i32, i32* %49, align 4\n %60 = icmp slt i32 %59, 1\n br i1 %60, label LBL_8, label LBL_7\n LBL_7:\n %61 = load i32, i32* %54, align 4\n %62 = icmp eq i32 %61, 0\n %63 = icmp slt i32 %61, 0\n %64 = icmp eq i1 %63, false\n %65 = icmp eq i1 %62, false\n %66 = icmp eq i1 %64, %65\n br i1 %66, label LBL_9, label LBL_8\n LBL_8:\n %67 = call i64 @FUNC(i64 %33, i64 16, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.0.reload, i64 %arg5, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %68 = call i64 @FUNC(i64 %33, i64 0)\n %69 = icmp eq i64 %68, 0\n %70 = icmp eq i1 %69, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %70, label LBL_10, label LBL_15\n LBL_10:\n %71 = inttoptr i64 %68 to i32*\n store i32 %13, i32* %71, align 4\n %72 = add nsw i64 %37, 8\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 8\n %75 = zext i32 %74 to i64\n %76 = call i64 @FUNC(i64 %68, i64 60, i64 1, i64 %75)\n %77 = add i64 %68, 16\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = add nsw i64 %37, 80\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 8\n %82 = add i64 %68, 8\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = inttoptr i64 %84 to i32*\n store i32 1, i32* %85, align 4\n %86 = load i64, i64* %83, align 8\n %87 = add i64 %86, 4\n %88 = inttoptr i64 %87 to i32*\n store i32 0, i32* %88, align 4\n %89 = load i64, i64* %83, align 8\n %90 = add nsw i64 %37, 64\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 8\n %93 = add i64 %89, 8\n %94 = inttoptr i64 %93 to i32*\n store i32 %92, i32* %94, align 4\n %95 = load i64, i64* %83, align 8\n %96 = add nsw i64 %37, 68\n %97 = inttoptr i64 %96 to i32*\n %98 = load i32, i32* %97, align 4\n %99 = add i64 %95, 12\n %100 = inttoptr i64 %99 to i32*\n store i32 %98, i32* %100, align 4\n %101 = load i64, i64* %83, align 8\n %102 = add nsw i64 %37, 72\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 8\n %105 = add i64 %101, 16\n %106 = inttoptr i64 %105 to i32*\n store i32 %104, i32* %106, align 4\n %107 = load i64, i64* %83, align 8\n %108 = add i64 %107, 8\n %109 = inttoptr i64 %108 to i32*\n %110 = load i32, i32* %109, align 4\n %111 = add i64 %107, 12\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = mul i32 %113, %110\n %115 = add i64 %107, 16\n %116 = inttoptr i64 %115 to i32*\n %117 = load i32, i32* %116, align 4\n %118 = mul i32 %114, %117\n %119 = add i64 %107, 20\n %120 = inttoptr i64 %119 to i32*\n store i32 %118, i32* %120, align 4\n %121 = load i64, i64* %83, align 8\n %122 = add i64 %121, 8\n %123 = inttoptr i64 %122 to i32*\n %124 = load i32, i32* %123, align 4\n %125 = add i64 %121, 16\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = mul i32 %127, %124\n %129 = add i64 %121, 24\n %130 = inttoptr i64 %129 to i32*\n store i32 %128, i32* %130, align 4\n %131 = add nsw i64 %37, 60\n %132 = inttoptr i64 %131 to i32*\n %133 = load i32, i32* %132, align 4\n %134 = icmp eq i32 %133, 0\n %135 = load i64, i64* %83, align 8\n br i1 %134, label LBL_12, label LBL_11\n LBL_11:\n %136 = add i64 %135, 28\n %137 = inttoptr i64 %136 to i32*\n store i32 2, i32* %137, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %138 = add i64 %135, 16\n %139 = inttoptr i64 %138 to i32*\n %140 = load i32, i32* %139, align 4\n %141 = icmp eq i32 %140, 8\n %142 = icmp eq i1 %141, false\n %143 = add i64 %135, 28\n %144 = inttoptr i64 %143 to i32*\n br i1 %142, label LBL_14, label LBL_13\n LBL_13:\n store i32 3, i32* %144, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n store i32 4, i32* %144, 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 i32* %144, { 1, 0 }\n uselistorder i64 %135, { 0, 2, 1 }\n uselistorder i32 %61, { 1, 0 }\n uselistorder i64 %37, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 %10, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 8, 5, 7, 6 }\n uselistorder i64 16, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64 24, { 3, 0, 1, 2 }\n uselistorder i1 false, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder label LBL_15, { 2, 1, 0, 3, 7, 4, 6, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "connectToMiniSSDPD_18023", "fun_name": "connectToMiniSSDPD", "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 i16, align 2\n %sv_2 = alloca i64, align 8\n %0 = call i32 @socket(i32 1, i32 1, i32 0)\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 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n store i64 3, i64* %sv_2, align 8\n %3 = call i32 @setsockopt(i32 %0, i32 1, i32 20, i64* nonnull %sv_2, i32 16)\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n store i64 3, i64* %sv_2, align 8\n %6 = call i32 @setsockopt(i32 %0, i32 1, i32 21, i64* nonnull %sv_2, i32 16)\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %9 = inttoptr i64 %arg1 to i8*\n %10 = icmp eq i64 %arg1, 0\n %11 = icmp eq i1 %10, false\n %spec.select = select i1 %11, i8* %9, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)\n store i16 1, i16* %sv_1, align 2\n %12 = bitcast i64* %sv_0 to i8*\n %13 = call i8* @strncpy(i8* nonnull %12, i8* %spec.select, i32 108)\n %14 = bitcast i16* %sv_1 to %sockaddr*\n %15 = call i32 @connect(i32 %0, %sockaddr* nonnull %14, i32 110)\n %16 = icmp slt 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 = call i32 @close(i32 %0)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %19 = zext i32 %0 to i64\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* %sv_2, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32, i32, i32, i64*, i32)* @setsockopt, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder void (i8*)* @perror, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mgt_run_3805", "fun_name": "mgt_run", "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 = call i32 @getpid()\n store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = call i64 @FUNC()\n store i64 %1, i64* @gv_1, align 8\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 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %5 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %4)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %6 = trunc i64 %arg1 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 0, i64 1, i64 1)\n br label LBL_4\n LBL_4:\n %9 = icmp eq i64 %arg2, 0\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = call i64 @FUNC(i64 %arg2)\n br label LBL_6\n LBL_6:\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_8, label LBL_7\n LBL_7:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %15 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %14)\n call void @exit(i32 1)\n unreachable\n LBL_8:\n %16 = inttoptr i64 %11 to i32*\n store i32 15, i32* %16, align 4\n %17 = add i64 %11, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 4198838, i64* %18, align 8\n %19 = add i64 %11, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 ptrtoint ([12 x i8]* @gv_4 to i64), i64* %20, align 8\n %21 = load i64, i64* @gv_1, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %11)\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 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %26 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %25)\n call void @exit(i32 1)\n unreachable\n LBL_10:\n %27 = call i64 @FUNC()\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %31 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %30)\n call void @exit(i32 1)\n unreachable\n LBL_12:\n %32 = inttoptr i64 %27 to i32*\n store i32 2, i32* %32, align 4\n %33 = add i64 %27, 8\n %34 = inttoptr i64 %33 to i64*\n store i64 4198838, i64* %34, align 8\n %35 = add i64 %27, 16\n %36 = inttoptr i64 %35 to i64*\n store i64 ptrtoint ([11 x i8]* @gv_5 to i64), i64* %36, align 8\n %37 = load i64, i64* @gv_1, align 8\n %38 = call i64 @FUNC(i64 %37, i64 %27)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_14, label LBL_13\n LBL_13:\n %41 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %42 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %41)\n call void @exit(i32 1)\n unreachable\n LBL_14:\n %43 = call i64 @FUNC()\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_16, label LBL_15\n LBL_15:\n %46 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %47 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %46)\n call void @exit(i32 1)\n unreachable\n LBL_16:\n %48 = inttoptr i64 %43 to i32*\n store i32 17, i32* %48, align 4\n %49 = add i64 %43, 24\n %50 = inttoptr i64 %49 to i32*\n store i32 1, i32* %50, align 4\n %51 = add i64 %43, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 4198848, i64* %52, align 8\n %53 = add i64 %43, 16\n %54 = inttoptr i64 %53 to i64*\n store i64 ptrtoint ([13 x i8]* @gv_6 to i64), i64* %54, align 8\n %55 = load i64, i64* @gv_1, align 8\n %56 = call i64 @FUNC(i64 %55, i64 %43)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_18, label LBL_17\n LBL_17:\n %59 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %60 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %59)\n call void @exit(i32 1)\n unreachable\n LBL_18:\n %61 = load [8 x i8]*, [8 x i8]** @gv_7, align 8\n %62 = ptrtoint [8 x i8]* %61 to i64\n %63 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_8, i64 0, i64 0), i64 %62)\n %64 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 152)\n store i64 1, i64* %sv_0, align 8\n %65 = bitcast i64* %sv_0 to %sigaction*\n %66 = call i32 @sigaction(i32 13, %sigaction* nonnull %65, %sigaction* null)\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_20, label LBL_19\n LBL_19:\n %68 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %69 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %68)\n call void @exit(i32 1)\n unreachable\n LBL_20:\n %70 = call i32 @sigaction(i32 1, %sigaction* nonnull %65, %sigaction* null)\n %71 = icmp eq i32 %70, 0\n br i1 %71, label LBL_22, label LBL_21\n LBL_21:\n %72 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %73 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_3 to i64*), i32 1, i32 6, %_IO_FILE* %72)\n call void @exit(i32 1)\n unreachable\n LBL_22:\n %74 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0))\n %75 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %76 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_10 to i64*), i32 1, i32 14, %_IO_FILE* %75)\n %77 = icmp eq i1 %7, false\n br i1 %77, label LBL_24, label LBL_23\n LBL_23:\n %78 = call i64 @FUNC()\n br label LBL_24\n LBL_24:\n %79 = load i64, i64* @gv_1, align 8\n %80 = call i64 @FUNC(i64 %79)\n %81 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %82 = and i64 %80, 4294967295\n %83 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %81, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0), i64 %82)\n %84 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %85 = call i32 @fwrite(i64* bitcast ([14 x i8]* @gv_12 to i64*), i32 1, i32 13, %_IO_FILE* %84)\n call void @exit(i32 2)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @ev_add, { 2, 1, 0 }\n uselistorder i64 ()* @ev_new, { 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_2, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ntlm_read_ntlm_v2_client_challenge_19140", "fun_name": "ntlm_read_ntlm_v2_client_challenge", "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 = urem i64 %1, 256\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = add i64 %2, 1\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 %3, i64 %9)\n %11 = add i64 %2, 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 %3, i64 %14)\n %16 = add i64 %2, 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 %3, i64 %19)\n %21 = add i64 %2, 8\n %22 = call i64 @FUNC(i64 %3, i64 %21, i64 8)\n %23 = add i64 %2, 16\n %24 = call i64 @FUNC(i64 %3, i64 %23, i64 8)\n %25 = add i64 %2, 24\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 %3, i64 %28)\n %30 = call i64 @FUNC(i64 %3)\n %31 = call i64 @FUNC(i64 %3)\n %32 = sub i64 %30, %31\n %33 = icmp ult i64 %32, 4294967296\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_1, label LBL_3\n LBL_1:\n %34 = add i64 %2, 32\n %35 = inttoptr i64 %34 to i64*\n store i64 %32, i64* %35, align 8\n %36 = trunc i64 %32 to i32\n %37 = call i64* @malloc(i32 %36)\n %38 = ptrtoint i64* %37 to i64\n %39 = add i64 %2, 40\n %40 = inttoptr i64 %39 to i64*\n store i64 %38, i64* %40, align 8\n %41 = icmp eq i64* %37, null\n %42 = icmp eq i1 %41, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %42, label LBL_2, label LBL_3\n LBL_2:\n %43 = call i64 @FUNC(i64 %3, i64 %38, i64 %32)\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 %32, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 0, 1, 4, 3, 2, 6, 5, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @Stream_Read, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT32, { 1, 0 }\n uselistorder i64 2, { 1, 0, 2 }\n uselistorder i64 1, { 0, 3, 4, 5, 1, 2, 6 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "io_register_personality_5942", "fun_name": "io_register_personality", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC()\n %2 = add i64 %0, 4\n %3 = bitcast i32* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %0, i64* nonnull %3, i64 %1, i64 65535, i64 %2, 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_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %1)\n store i32 %5, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %9 = load i32, i32* %sv_0, align 4\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 %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "user_update_5493", "fun_name": "user_update", "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.02.reg2mem = alloca i64\n %0 = icmp ne i64* %arg2, null\n %1 = icmp ult i64* %arg2, inttoptr (i64 32768 to i64*)\n %or.cond = icmp eq i1 %0, %1\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_1:\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 = icmp eq i64 %5, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %3, i64 0)\n %8 = icmp eq i64 %7, 0\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_6, label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = inttoptr i64 %7 to i64*\n store i64 %2, i64* %10, align 8\n %11 = load i64, i64* %4, align 8\n %12 = add i64 %7, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = inttoptr i64 %11 to i64*\n %15 = trunc i64 %2 to i32\n %16 = call i64* @memcpy(i64* %13, i64* %14, i32 %15)\n %17 = call i64 @FUNC(i64 %9, i64 %2)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %7, i64* %sv_1.02.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i64 %9, 12\n %22 = call i64 @FUNC(i64 1, i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = call i64 @FUNC(i64 %9, i64 %7)\n %26 = add i64 %9, 8\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = icmp eq i1 %24, false\n store i64 1, i64* %sv_1.02.reg2mem\n store i64 %17, i64* %sv_0.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %29 = call i64 @FUNC(i64 %sv_1.02.reload, i64 4198913)\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 %30 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %30\n\n uselistorder i64 %9, { 1, 0, 2, 3 }\n uselistorder i64 %7, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_1.02.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64* %arg2, { 2, 0, 1 }\n uselistorder label LBL_6, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vdi_close_3401", "fun_name": "vdi_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 = load i64, i64* %3, align 8\n %7 = call i64 @FUNC(i64 %6)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "name_from_hosts_9229", "fun_name": "name_from_hosts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.ph11.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %.reg2mem70 = alloca i8*\n %.reg2mem68 = alloca i8*\n %.reg2mem66 = alloca i64\n %.cast.pre-phi.reg2mem = alloca i8*\n %sv_2.133.reg2mem = alloca i8*\n %.reg2mem64 = alloca i8*\n %.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i8*\n %sv_3 = alloca i8*, 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 %0 = inttoptr i64 %arg3 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_6, i64* nonnull %sv_7, i64 1032)\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 = ptrtoint i64* %arg1 to i64\n %6 = sext i32 %1 to i64\n %7 = inttoptr i64 %2 to %_IO_FILE*\n %8 = bitcast i64* %sv_5 to i8*\n %9 = bitcast i64* %sv_4 to i8*\n %10 = bitcast i8** %sv_3 to i64*\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br label LBL_27\n LBL_2:\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n %13 = icmp ult i32 %12, 21\n %14 = icmp ne i1 %13, true\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = urem i32 %12, 64\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_4, label %19\n LBL_4:\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_30\n LBL_5:\n %22 = call i8* @strchr(i8* nonnull %8, i32 35)\n %23 = icmp eq i8* %22, null\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = ptrtoint i8* %22 to i64\n %25 = add i64 %24, 1\n store i8 10, i8* %22, align 1\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %26, align 1\n br label LBL_7\n LBL_7:\n %27 = call i8* @strstr(i8* nonnull %9, i8* %0)\n %28 = icmp eq i8* %27, null\n store i8* %27, i8** %sv_2.0.reg2mem\n br i1 %28, label LBL_15, label LBL_9\n LBL_8:\n %29 = add i64 %36, 1\n %30 = inttoptr i64 %29 to i8*\n %31 = call i8* @strstr(i8* %30, i8* %0)\n %32 = icmp eq i8* %31, null\n store i8* %31, i8** %sv_2.0.reg2mem\n br i1 %32, label LBL_15, label LBL_9\n LBL_9:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %33 = call i16** @__ctype_b_loc()\n %34 = load i16*, i16** %33, align 8\n %35 = ptrtoint i16* %34 to i64\n %36 = ptrtoint i8* %sv_2.0.reload to i64\n %37 = add i64 %36, -1\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = sext i8 %39 to i64\n %41 = mul i64 %40, 2\n %42 = add i64 %41, %35\n %43 = inttoptr i64 %42 to i16*\n %44 = load i16, i16* %43, align 2\n %45 = and i16 %44, 8192\n %46 = icmp eq i16 %45, 0\n br i1 %46, label LBL_8, label LBL_10\n LBL_10:\n %47 = call i16** @__ctype_b_loc()\n %48 = load i16*, i16** %47, align 8\n %49 = ptrtoint i16* %48 to i64\n %50 = add i64 %36, %6\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = sext i8 %52 to i64\n %54 = mul i64 %53, 2\n %55 = add i64 %54, %49\n %56 = inttoptr i64 %55 to i16*\n %57 = load i16, i16* %56, align 2\n %58 = and i16 %57, 8192\n %59 = icmp eq i16 %58, 0\n br i1 %59, label LBL_8, label LBL_11\n LBL_11:\n %60 = load i8, i8* %8, align 8\n %61 = icmp eq i8 %60, 0\n store i8* %8, i8** %.reg2mem\n store i8* %8, i8** %.reg2mem64\n br i1 %61, label LBL_14, label LBL_13\n LBL_12:\n %62 = ptrtoint i8* %.reload 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 i8* %64, i8** %.reg2mem\n store i8* %64, i8** %.reg2mem64\n br i1 %66, label LBL_14, label LBL_13\n LBL_13:\n %.reload = load i8*, i8** %.reg2mem\n %67 = call i16** @__ctype_b_loc()\n %68 = load i16*, i16** %67, align 8\n %69 = ptrtoint i16* %68 to i64\n %70 = load i8, i8* %.reload, align 1\n %71 = sext i8 %70 to i64\n %72 = mul i64 %71, 2\n %73 = add i64 %72, %69\n %74 = inttoptr i64 %73 to i16*\n %75 = load i16, i16* %74, align 2\n %76 = and i16 %75, 8192\n %77 = icmp eq i16 %76, 0\n store i8* %.reload, i8** %.reg2mem64\n br i1 %77, label LBL_12, label LBL_14\n LBL_14:\n %.reload65 = load i8*, i8** %.reg2mem64\n store i8 0, i8* %.reload65, align 1\n %78 = call i64 @FUNC(i64 %5, i64* nonnull %sv_5, i32 %arg4)\n %79 = trunc i64 %78 to i32\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_15, label LBL_16\n LBL_15:\n %81 = call i8* @fgets(i8* nonnull %8, i32 512, %_IO_FILE* %7)\n %82 = icmp eq i8* %81, null\n br i1 %82, label LBL_29, label LBL_5\n LBL_16:\n %83 = icmp eq i32 %79, 1\n %84 = icmp eq i1 %83, false\n store i32 -2, i32* %sv_0.0.ph11.reg2mem\n br i1 %84, label LBL_2710, label LBL_17\n LBL_17:\n %85 = ptrtoint i8* %.reload65 to i64\n %86 = add i64 %85, 1\n %87 = inttoptr i64 %86 to i8*\n %88 = load i8, i8* %87, align 1\n %89 = icmp eq i8 %88, 0\n store i8* %87, i8** %.cast.pre-phi.reg2mem\n store i64 %86, i64* %.reg2mem66\n br i1 %89, label LBL_21, label LBL_18\n LBL_18:\n %90 = call i16** @__ctype_b_loc()\n %91 = load i16*, i16** %90, align 8\n %92 = ptrtoint i16* %91 to i64\n %93 = load i8, i8* %87, align 1\n %94 = sext i8 %93 to i64\n %95 = mul i64 %94, 2\n %96 = add i64 %95, %92\n %97 = inttoptr i64 %96 to i16*\n %98 = load i16, i16* %97, align 2\n %99 = and i16 %98, 8192\n %100 = icmp eq i16 %99, 0\n %101 = icmp eq i1 %100, false\n store i8* %87, i8** %sv_2.133.reg2mem\n store i8* %87, i8** %.cast.pre-phi.reg2mem\n store i64 %86, i64* %.reg2mem66\n br i1 %101, label LBL_19, label LBL_21\n LBL_19:\n %sv_2.133.reload = load i8*, i8** %sv_2.133.reg2mem\n %102 = ptrtoint i8* %sv_2.133.reload to i64\n %103 = add i64 %102, 1\n %104 = inttoptr i64 %103 to i8*\n %105 = load i8, i8* %104, align 1\n %106 = icmp eq i8 %105, 0\n store i8* %104, i8** %.cast.pre-phi.reg2mem\n store i64 %103, i64* %.reg2mem66\n br i1 %106, label LBL_21, label LBL_20\n LBL_20:\n %107 = call i16** @__ctype_b_loc()\n %108 = load i16*, i16** %107, align 8\n %109 = ptrtoint i16* %108 to i64\n %110 = load i8, i8* %104, align 1\n %111 = sext i8 %110 to i64\n %112 = mul i64 %111, 2\n %113 = add i64 %112, %109\n %114 = inttoptr i64 %113 to i16*\n %115 = load i16, i16* %114, align 2\n %116 = and i16 %115, 8192\n %117 = icmp eq i16 %116, 0\n %118 = icmp eq i1 %117, false\n store i8* %104, i8** %sv_2.133.reg2mem\n store i8* %104, i8** %.cast.pre-phi.reg2mem\n store i64 %103, i64* %.reg2mem66\n br i1 %118, label LBL_19, label LBL_21\n LBL_21:\n %.reload67 = load i64, i64* %.reg2mem66\n %.cast.pre-phi.reload = load i8*, i8** %.cast.pre-phi.reg2mem\n store i64 %.reload67, i64* %10, align 8\n %119 = load i8, i8* %.cast.pre-phi.reload, align 1\n %120 = icmp eq i8 %119, 0\n store i8* %.cast.pre-phi.reload, i8** %.reg2mem68\n store i8* %.cast.pre-phi.reload, i8** %.reg2mem70\n br i1 %120, label LBL_24, label LBL_23\n LBL_22:\n %121 = ptrtoint i8* %.reload69 to i64\n %122 = add i64 %121, 1\n %123 = inttoptr i64 %122 to i8*\n store i8* %123, i8** %sv_3, align 8\n %124 = load i8, i8* %123, align 1\n %125 = icmp eq i8 %124, 0\n store i8* %123, i8** %.reg2mem68\n store i8* %123, i8** %.reg2mem70\n br i1 %125, label LBL_24, label LBL_23\n LBL_23:\n %.reload69 = load i8*, i8** %.reg2mem68\n %126 = call i16** @__ctype_b_loc()\n %127 = load i16*, i16** %126, align 8\n %128 = ptrtoint i16* %127 to i64\n %129 = load i8, i8* %.reload69, align 1\n %130 = sext i8 %129 to i64\n %131 = mul i64 %130, 2\n %132 = add i64 %131, %128\n %133 = inttoptr i64 %132 to i16*\n %134 = load i16, i16* %133, align 2\n %135 = and i16 %134, 8192\n %136 = icmp eq i16 %135, 0\n store i8* %.reload69, i8** %.reg2mem70\n br i1 %136, label LBL_22, label LBL_24\n LBL_24:\n %.reload71 = load i8*, i8** %.reg2mem70\n store i8 0, i8* %.reload71, align 1\n %137 = ptrtoint i8* %.cast.pre-phi.reload to i64\n %138 = call i64 @FUNC(i64 %137)\n %139 = trunc i64 %138 to i32\n %140 = icmp eq i32 %139, 0\n br i1 %140, label LBL_25, label LBL_26\n LBL_25:\n %141 = add nuw nsw i32 %sv_1.0.ph.reload, 1\n store i32 %141, i32* %sv_1.0.ph.reg2mem\n store i32 %sv_0.0.ph11.reload, i32* %sv_0.0.ph.reg2mem\n br label LBL_27\n LBL_26:\n %142 = load i8*, i8** %sv_3, align 8\n %143 = ptrtoint i8* %142 to i64\n %144 = sub i64 %143, %137\n %145 = bitcast i8* %.cast.pre-phi.reload to i64*\n %146 = trunc i64 %144 to i32\n %147 = add i32 %146, 1\n %148 = call i64* @memcpy(i64* %arg2, i64* %145, i32 %147)\n br label LBL_25\n LBL_27:\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 %149 = icmp ult i32 %sv_1.0.ph.reload, 10\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph11.reg2mem\n br label LBL_2710\n LBL_28:\n %sv_0.0.ph11.reload = load i32, i32* %sv_0.0.ph11.reg2mem\n %150 = call i8* @fgets(i8* nonnull %8, i32 512, %_IO_FILE* %7)\n %151 = icmp ne i8* %150, null\n %or.cond13 = icmp eq i1 %149, %151\n br i1 %or.cond13, label LBL_5, label LBL_29\n LBL_29:\n %152 = call i64 @FUNC(i64 %2)\n %153 = icmp eq i32 %sv_1.0.ph.reload, 0\n %sv_0.0.stack_var_-12.0 = select i1 %153, i32 %sv_0.0.ph11.reload, i32 %sv_1.0.ph.reload\n %phitmp9 = zext i32 %sv_0.0.stack_var_-12.0 to i64\n store i64 %phitmp9, i64* %rax.0.shrunk.reg2mem\n br label LBL_30\n LBL_30:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n ret i64 %rax.0.shrunk.reload\n\n uselistorder i32 %sv_1.0.ph.reload, { 2, 3, 1, 0 }\n uselistorder i8* %.cast.pre-phi.reload, { 4, 3, 0, 1, 2 }\n uselistorder i8* %104, { 1, 2, 3, 0, 4 }\n uselistorder i64 %103, { 1, 0, 2 }\n uselistorder i8* %87, { 0, 2, 4, 1, 3 }\n uselistorder i8* %.reload65, { 1, 0 }\n uselistorder i8* %.reload, { 0, 2, 1 }\n uselistorder i64 %36, { 0, 2, 1 }\n uselistorder i8* %22, { 1, 0, 2 }\n uselistorder i8* %8, { 2, 5, 0, 1, 3, 4 }\n uselistorder i8* %0, { 1, 0, 2 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i8** %sv_3, { 2, 1, 0 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem64, { 0, 2, 1, 3 }\n uselistorder i8** %sv_2.133.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.cast.pre-phi.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem66, { 0, 2, 1, 3, 4 }\n uselistorder i8** %.reg2mem68, { 0, 2, 1 }\n uselistorder i8** %.reg2mem70, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.0.ph11.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 3, 2 }\n uselistorder i16 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder i16 8192, { 1, 2, 0, 3, 4, 5 }\n uselistorder i16** ()* @__ctype_b_loc, { 5, 1, 0, 2, 3, 4 }\n uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }\n uselistorder i8 0, { 3, 4, 0, 5, 1, 6, 7, 2, 8 }\n uselistorder i64 1, { 3, 4, 2, 5, 6, 7, 0, 1 }\n uselistorder i8* null, { 0, 4, 2, 1, 3 }\n uselistorder i1 false, { 4, 0, 5, 1, 2, 6, 3, 7 }\n uselistorder i64 0, { 0, 1, 7, 2, 3, 4, 5, 6 }\n uselistorder label LBL_30, { 0, 2, 1 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_21, { 1, 2, 0, 3 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_15, { 2, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "linenoiseHistorySave_6522", "fun_name": "linenoiseHistorySave", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge34.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 = call i32 @chmod(i8* %arg1, i32 384)\n %4 = load i32, i32* @gv_1, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge34.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %storemerge34.reload = load i32, i32* %storemerge34.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul i64 %.reload, 8\n %7 = add i64 %6, ptrtoint (i64* @gv_2 to i64)\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 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* %10)\n %12 = add i32 %storemerge34.reload, 1\n %13 = load i32, i32* @gv_1, 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 i64 %15, i64* %.reg2mem\n store i32 %12, i32* %storemerge34.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n %17 = 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* %storemerge34.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": "0" }, { "dataset": "CompRealVul", "file": "av_image_get_linesize_1821", "fun_name": "av_image_get_linesize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge5.reg2mem = alloca i32\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_2 to i64\n %1 = mul i64 %arg1, 8\n %2 = and i64 %1, 34359738360\n %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64)\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %3)\n %5 = sext i32 %arg3 to i64\n %6 = mul i64 %5, 4\n %7 = add i64 %6, %0\n %8 = add i64 %7, -64\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp ne i32 %10, 1\n %12 = icmp eq i32 %10, 2\n %13 = icmp eq i1 %12, false\n %or.cond = icmp eq i1 %11, %13\n store i32 0, i32* %storemerge5.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %14 = inttoptr i64 %3 to i32*\n %15 = load i32, i32* %14, align 8\n %phitmp = urem i32 %15, 32\n store i32 %phitmp, i32* %storemerge5.reg2mem\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %16 = ashr exact i64 %sext, 32\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %17 = add i64 %7, -48\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = shl i32 1, %storemerge5.reload\n %storemerge = zext i32 %20 to i64\n %21 = add nsw i64 %16, 4294967295\n %22 = add nsw i64 %21, %storemerge\n %23 = icmp eq i32 %storemerge5.reload, 0\n %24 = trunc i64 %22 to i32\n %25 = ashr i32 %24, %storemerge5.reload\n %26 = zext i32 %25 to i64\n %spec.select = select i1 %23, i64 %22, i64 %26\n %27 = trunc i64 %spec.select to i32\n %28 = mul i32 %19, %27\n %29 = add i64 %2, add (i64 ptrtoint (i32** @gv_0 to i64), i64 4)\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = urem i32 %31, 2\n %33 = icmp eq i32 %32, 0\n %34 = add i32 %28, 7\n %35 = ashr i32 %34, 3\n %sv_3.0 = select i1 %33, i32 %28, i32 %35\n %36 = zext i32 %sv_3.0 to i64\n ret i64 %36\n\n uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0, 2, 3 }\n uselistorder i32 1, { 2, 1, 5, 4, 3, 0, 6, 7 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "filter_slice_2467", "fun_name": "filter_slice", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge1113.reg2mem = alloca i32\n %rdi.01014.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %.reg2mem19 = alloca i64\n %.reg2mem17 = alloca i64\n %.reg2mem15 = alloca i64\n %.reg2mem = alloca i64\n %storemerge9.in.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 = ptrtoint i64* %sv_0 to i64\n %sext = mul i64 %arg3, 4294967296\n %3 = and i64 %arg4, 4294967295\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i16*\n %6 = load i16, i16* %5, align 2\n %7 = add i64 %0, 18\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = ashr exact i64 %sext, 32\n %sext6 = add i64 %sext, 4294967296\n %15 = ashr exact i64 %sext6, 32\n %16 = add i64 %1, 20\n %17 = inttoptr i64 %16 to i32*\n %18 = zext i16 %9 to i64\n %19 = zext i16 %6 to i64\n %20 = add i64 %2, -16\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %2, -24\n %23 = inttoptr i64 %22 to i64*\n %24 = add i64 %2, -32\n %25 = inttoptr i64 %24 to i64*\n %26 = add i64 %2, -40\n %27 = inttoptr i64 %26 to i64*\n %28 = add i64 %2, -48\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %11, 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 store i64 %30, i64* %.reg2mem\n store i64 %32, i64* %.reg2mem15\n store i64 0, i64* %.reg2mem17\n store i64 0, i64* %.reg2mem19\n store i64 %0, i64* %.in.reg2mem\n store i64 %1, i64* %rdi.01014.reg2mem\n store i32 0, i32* %storemerge1113.reg2mem\n br i1 %33, label LBL_7, label LBL_6\n LBL_1:\n %storemerge1113.reload = load i32, i32* %storemerge1113.reg2mem\n %rdi.01014.reload = load i64, i64* %rdi.01014.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %.reload20 = load i64, i64* %.reg2mem19\n %.reload16 = load i64, i64* %.reg2mem15\n %34 = trunc i64 %.in.reload to i32\n %35 = mul i64 %.reload20, 4\n %36 = add i64 %35, %rdi.01014.reload\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %.in.reload, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %41, %35\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %storemerge.off = add i32 %storemerge1113.reload, -1\n %45 = icmp ugt i32 %storemerge.off, 1\n store i32 %34, i32* %storemerge9.in.reg2mem\n br i1 %45, label LBL_3, label LBL_2\n LBL_2:\n %46 = load i32, i32* %13, align 4\n %47 = urem i32 %46, 32\n %48 = ashr i32 %34, %47\n store i32 %48, i32* %storemerge9.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge9.in.reload = load i32, i32* %storemerge9.in.reg2mem\n %49 = sext i32 %storemerge9.in.reload to i64\n %50 = mul nsw i64 %14, %49\n %51 = trunc i64 %50 to i32\n %52 = ashr i32 %51, 31\n %53 = and i64 %50, 4294967295\n %54 = zext i32 %52 to i64\n %55 = mul i64 %54, 4294967296\n %56 = or i64 %55, %53\n %57 = sdiv i64 %56, %3\n %58 = mul nsw i64 %15, %49\n %59 = trunc i64 %58 to i32\n %60 = ashr i32 %59, 31\n %61 = and i64 %58, 4294967295\n %62 = zext i32 %60 to i64\n %63 = mul i64 %62, 4294967296\n %64 = or i64 %63, %61\n %65 = sdiv i64 %64, %3\n %66 = load i32, i32* %17, align 4\n %67 = ashr i32 %66, 1\n %68 = zext i32 %67 to i64\n %69 = sub i64 %65, %57\n %70 = and i64 %69, 4294967295\n store i64 %68, i64* %21, align 8\n store i64 %18, i64* %23, align 8\n store i64 %19, i64* %25, align 8\n store i64 %70, i64* %27, align 8\n %71 = zext i32 %38 to i64\n store i64 %71, i64* %29, align 8\n %72 = icmp ugt i32 %storemerge1113.reload, 2\n br i1 %72, label LBL_7, label LBL_3.dec_label_pc_40133d_crit_edge\n LBL_4:\n %73 = zext i32 %44 to i64\n %74 = add nuw i32 %storemerge1113.reload, 1\n %75 = add nuw nsw i64 %73, 8\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = sext i32 %74 to i64\n %79 = mul i64 %78, 8\n %80 = add i64 %77, %79\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = icmp eq i64 %82, 0\n br i1 %83, label LBL_7, label LBL_3.dec_label_pc_40133d_crit_edge.LBL_6_crit_edge\n LBL_5:\n %84 = trunc i64 %57 to i32\n %85 = mul i32 %44, %84\n %86 = sext i32 %85 to i64\n %87 = add i64 %.reload16, %86\n %.pre = load i64, i64* %11, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %82, i64* %.reg2mem15\n store i64 %79, i64* %.reg2mem17\n store i64 %78, i64* %.reg2mem19\n store i64 %73, i64* %.in.reg2mem\n store i64 %87, i64* %rdi.01014.reg2mem\n store i32 %74, i32* %storemerge1113.reg2mem\n br label LBL_6\n LBL_6:\n %.reload18 = load i64, i64* %.reg2mem17\n %.reload = load i64, i64* %.reg2mem\n %88 = add i64 %.reload, 8\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = add i64 %90, %.reload18\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = icmp eq i64 %93, 0\n %95 = icmp eq i1 %94, false\n br i1 %95, label LBL_1, label LBL_7\n LBL_7:\n ret i64 0\n\n uselistorder i64 %57, { 1, 0 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i64 %.in.reload, { 1, 0 }\n uselistorder i32 %storemerge1113.reload, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i32* %storemerge9.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem15, { 2, 0, 1 }\n uselistorder i64* %.reg2mem17, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 2, 0, 1 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01014.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1113.reg2mem, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0, 3, 2 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 2, 3, 0 }\n uselistorder i64 4294967296, { 0, 1, 3, 2 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "my_redel_5230", "fun_name": "my_redel", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %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 i8, align 1\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %1 = sext i32 %arg3 to i64\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %1)\n %3 = urem i32 %arg3, 2\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 %arg1, i64 %arg2, i32 %arg3)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_6, label LBL_2\n LBL_2:\n %9 = and i32 %arg3, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i8 45, i8* %sv_3, align 1\n %11 = call i64 @FUNC(i64* nonnull %sv_2, i64 6, i64 0)\n %12 = call i64 @FUNC(i8* nonnull %sv_3)\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64* nonnull @gv_3, i8* nonnull %sv_3, i64 2)\n %15 = call i64 @FUNC(i64 %arg1, i64 %14, i32 %arg3)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_5, label LBL_6\n LBL_4:\n %18 = zext i32 %arg3 to i64\n %19 = call i64 @FUNC(i64 %arg1, i64 %18)\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* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %arg2, i64 %arg1, i32 %arg3)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n %spec.select = zext i1 %26 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 %27 = call i64 @FUNC(i64 %sv_0.0.reload)\n ret i64 %27\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 (i64, i64, i32)* @my_rename, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 3, 4 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 3, 9, 5, 4, 2, 1, 0 }\n uselistorder i32 %arg3, { 3, 5, 2, 4, 1, 0, 6 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_6, { 0, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp8_lossy_decode_frame_13510", "fun_name": "vp8_lossy_decode_frame", "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.shrunk.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 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 %3)\n %8 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %8, align 4\n br label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg4 to i64\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %. = select i1 %13, i32 2, i32 1\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 %., i32* %15, align 4\n %16 = add i64 %3, 20\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = trunc i64 %arg5 to i32\n %19 = icmp slt 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 %3, i64 3, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %arg5, i64 %1)\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_4:\n %22 = ptrtoint i64* %arg3 to i64\n %23 = ptrtoint i64* %arg2 to i64\n %24 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %9, i64* %sv_0, align 8\n %25 = call i64 @FUNC(i64 %3, i64 %23, i64 %22, i64* nonnull %sv_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 %25, i64* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_5, label LBL_7\n LBL_5:\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 %34 to i64\n %36 = call i64 @FUNC(i64 %3, i64 %35, i32 %31)\n %37 = load i32, i32* %11, align 4\n %38 = icmp eq i32 %37, 0\n store i64 %25, i64* %rax.0.shrunk.reg2mem\n br i1 %38, label LBL_7, label LBL_6\n LBL_6:\n %39 = load i32, i32* %30, align 4\n %40 = inttoptr i64 %14 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %3, i64 %23, i64 %41, i32 %39)\n store i64 %42, 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 %9, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64 %3, { 2, 5, 4, 3, 6, 1, 7, 8, 9, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 0, { 2, 3, 0, 1, 4 }\n uselistorder i64 %arg5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_txint_16329", "fun_name": "set_txint", "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, 4\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_7, label LBL_1\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 %10 = add i64 %0, 12\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_2\n LBL_2:\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = or i32 %17, 1\n store i32 %18, i32* %16, align 4\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = and i32 %21, 6\n %23 = icmp eq i32 %22, 0\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %26, 20\n %28 = inttoptr i64 %27 to i32*\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n store i32 3, i32* %28, align 4\n br label LBL_6\n LBL_4:\n store i32 4, i32* %28, align 4\n br label LBL_6\n LBL_5:\n %29 = add i64 %0, 20\n %30 = inttoptr i64 %29 to i32*\n store i32 5, i32* %30, align 4\n %31 = add i64 %0, 32\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 i32*\n %36 = load i32, i32* %35, align 4\n %37 = or i32 %36, 2\n store i32 %37, i32* %35, align 4\n br label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(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 i32* %28, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 6, 1, 0, 5, 4, 7, 8 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mpegts_write_section_1922", "fun_name": "mpegts_write_section", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.lcssa.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.013.reg2mem = alloca i64\n %sv_2.014.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %arg3, 4294967292\n %3 = call i64 @FUNC(i64 0)\n %4 = and i64 %3, 4294967295\n %5 = and i64 %2, 4294967295\n %6 = call i64 @FUNC(i64 %4, i64 4294967295, i64 %0, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = call i32 @llvm.bswap.i32(i32 %7)\n %9 = udiv i32 %8, 16777216\n %10 = add i64 %1, %0\n %11 = add i64 %10, -4\n %12 = trunc i32 %9 to i8\n %13 = inttoptr i64 %11 to i8*\n store i8 %12, i8* %13, align 1\n %14 = udiv i32 %8, 65536\n %15 = add i64 %10, -3\n %16 = trunc i32 %14 to i8\n %17 = inttoptr i64 %15 to i8*\n store i8 %16, i8* %17, align 1\n %18 = udiv i32 %8, 256\n %19 = add i64 %10, -2\n %20 = trunc i32 %18 to i8\n %21 = inttoptr i64 %19 to i8*\n store i8 %20, i8* %21, align 1\n %22 = add i64 %10, -1\n %23 = trunc i32 %8 to i8\n %24 = inttoptr i64 %22 to i8*\n store i8 %23, i8* %24, align 1\n %25 = trunc i64 %1 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp slt i32 %25, 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 %0, i64* %rax.0.lcssa.reg2mem\n br i1 %30, label LBL_1, label LBL_10\n LBL_1:\n %31 = ptrtoint i64* %sv_3 to i64\n %32 = or i64 %31, 1\n %33 = bitcast i64* %sv_3 to i8*\n %34 = bitcast i64* %rdi to i32*\n %35 = add nsw i64 %32, 1\n %36 = inttoptr i64 %32 to i8*\n %37 = or i64 %31, 3\n %38 = inttoptr i64 %35 to i8*\n %39 = ptrtoint i32* %arg1 to i64\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = add nsw i64 %32, 3\n %43 = inttoptr i64 %37 to i8*\n %44 = add i64 %39, 8\n %45 = inttoptr i64 %44 to i32*\n %46 = or i64 %31, 5\n %47 = inttoptr i64 %42 to i8*\n %48 = add nsw i64 %32, 5\n %49 = inttoptr i64 %46 to i8*\n store i32 %25, i32* %.reg2mem\n store i64 %0, i64* %sv_2.014.reg2mem\n store i64 %1, i64* %sv_1.013.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.013.reload = load i64, i64* %sv_1.013.reg2mem\n %sv_2.014.reload = load i64, i64* %sv_2.014.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %50 = icmp eq i64 %sv_2.014.reload, %0\n store i8 71, i8* %33, align 8\n %51 = load i32, i32* %34, align 8\n %52 = ashr i32 %51, 8\n %53 = icmp eq i1 %50, false\n %54 = or i32 %52, 64\n %spec.select = select i1 %53, i32 %52, i32 %54\n %55 = trunc i32 %spec.select to i8\n store i8 %55, i8* %36, align 1\n %56 = load i32, i32* %34, align 8\n %57 = trunc i32 %56 to i8\n store i8 %57, i8* %38, align 2\n %58 = load i32, i32* %41, align 4\n %59 = add i32 %58, 1\n %60 = urem i32 %59, 16\n store i32 %60, i32* %41, align 4\n %61 = trunc i32 %60 to i8\n %62 = or i8 %61, 16\n store i8 %62, i8* %43, align 1\n %63 = load i32, i32* %45, align 4\n %64 = icmp eq i32 %63, 0\n store i64 %42, i64* %sv_0.0.reg2mem\n br i1 %64, label LBL_4, label LBL_3\n LBL_3:\n %65 = or i8 %61, 48\n store i8 %65, i8* %43, align 1\n store i8 1, i8* %47, align 4\n store i8 -128, i8* %49, align 1\n store i32 0, i32* %45, align 4\n store i64 %48, 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 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %53, label LBL_6, label LBL_5\n LBL_5:\n %66 = add i64 %sv_0.0.reload, 1\n %67 = inttoptr i64 %sv_0.0.reload to i8*\n store i8 0, i8* %67, align 1\n store i64 %66, 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 %68 = sub i64 %sv_0.1.reload, %31\n %69 = trunc i64 %68 to i32\n %70 = sub i32 188, %69\n %71 = sext i32 %70 to i64\n %72 = icmp sgt i32 %70, %.reload\n %spec.select12 = select i1 %72, i64 %sv_1.013.reload, i64 %71\n %73 = trunc i64 %spec.select12 to i32\n %74 = inttoptr i64 %sv_0.1.reload to i64*\n %75 = inttoptr i64 %sv_2.014.reload to i64*\n %76 = call i64* @memcpy(i64* %74, i64* %75, i32 %73)\n %77 = add i64 %spec.select12, %sv_0.1.reload\n %78 = sub i64 %77, %31\n %79 = trunc i64 %78 to i32\n %80 = sub i32 188, %79\n %81 = icmp slt i32 %80, 1\n br i1 %81, label LBL_8, label LBL_7\n LBL_7:\n %82 = inttoptr i64 %77 to i64*\n %83 = call i64* @memset(i64* %82, i32 255, i32 %80)\n br label LBL_8\n LBL_8:\n %84 = add i64 %spec.select12, %sv_2.014.reload\n %85 = sub nsw i64 %sv_1.013.reload, %spec.select12\n %sext11 = mul i64 %85, 4294967296\n %86 = ashr exact i64 %sext11, 32\n %87 = trunc i64 %86 to i32\n %88 = icmp eq i32 %87, 0\n %89 = icmp slt i32 %87, 0\n %90 = icmp eq i1 %89, false\n %91 = icmp eq i1 %88, false\n %92 = icmp eq i1 %90, %91\n store i32 %87, i32* %.reg2mem\n store i64 %84, i64* %sv_2.014.reg2mem\n store i64 %86, i64* %sv_1.013.reg2mem\n br i1 %92, label LBL_2, label LBL_9\n LBL_9:\n %93 = and i64 %spec.select12, 4294967295\n store i64 %93, i64* %rax.0.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i32 %87, { 0, 2, 1 }\n uselistorder i64 %spec.select12, { 0, 4, 1, 2, 3 }\n uselistorder i64 %sv_0.1.reload, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i32 %60, { 1, 0 }\n uselistorder i64 %sv_2.014.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.013.reload, { 1, 0 }\n uselistorder i64 %32, { 0, 3, 1, 2 }\n uselistorder i64 %31, { 2, 3, 0, 1, 4 }\n uselistorder i32 %8, { 3, 0, 1, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %0, { 3, 1, 0, 2, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.014.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i1 false, { 4, 3, 2, 0, 1 }\n uselistorder i64 4294967295, { 0, 4, 1, 2, 3 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_reinit_congestion_control_4229", "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 = add i64 %1, 12\n %11 = inttoptr i64 %10 to i64*\n %12 = call i64* @memset(i64* %11, i32 0, i32 256)\n %13 = call i64 @FUNC(i64 %0)\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": "gen_wsr_ps_1265", "fun_name": "gen_wsr_ps", "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(i64 %0, i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %spec.select = select i1 %3, i32 63, i32 127\n %4 = mul i64 %arg2, 4\n %5 = and i64 %4, 17179869180\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 = zext i32 %8 to i64\n %10 = zext i32 %arg3 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %10, i32 %spec.select)\n %12 = call i64 @FUNC(i64 %0, i64 4294967295)\n ret i64 %12\n\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__xml_acl_to_text_8735", "fun_name": "__xml_acl_to_text", "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, i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 ptrtoint ([11 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %. = select i1 %9, i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 ptrtoint ([5 x i8]* @gv_3 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 %0, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @is_set, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_report_comp_13561", "fun_name": "crypto_report_comp", "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 ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i32 20)\n %3 = call i64 @FUNC(i64 %0, i64 1, i64 20, 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": "download_firmware_18186", "fun_name": "download_firmware", "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 = 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 = load i64, i64* %6, align 8\n %8 = icmp eq i64* %arg1, null\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 = inttoptr i64 %7 to i32*\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 = load i32, i32* %10, align 4\n %21 = bitcast i64* %sv_0 to i8*\n %22 = trunc i64 %arg2 to i32\n %23 = urem i32 %22, 256\n %24 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %21, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i32 %20, i32 %19, i32 %16, i32 %13, i32 %23)\n %25 = add i64 %3, 8\n %26 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 %25)\n ret i64 %26\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jas_memdump_11742", "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 = ptrtoint i64* %arg2 to i64\n %2 = 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 %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, 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 %4 = add nuw nsw i64 %storemerge12.reload, %storemerge3.reload\n %5 = icmp ult i64 %4, %arg3\n br i1 %5, label LBL_4, label LBL_5\n LBL_4:\n %6 = add i64 %4, %1\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i32\n %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %9)\n br label LBL_5\n LBL_5:\n %11 = add nuw nsw i64 %storemerge12.reload, 1\n %exitcond = icmp eq i64 %11, 16\n store i64 %11, i64* %storemerge12.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %12 = call i32 @fputc(i32 10, %_IO_FILE* %2)\n %13 = add i64 %storemerge3.reload, 16\n %14 = icmp ult i64 %13, %arg3\n store i64 %13, i64* %storemerge3.reg2mem\n br i1 %14, 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 (%_IO_FILE*, i8*, ...)* @fprintf, { 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": "1" }, { "dataset": "CompRealVul", "file": "openpic_load_IRQ_queue_1183", "fun_name": "openpic_load_IRQ_queue", "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* %arg2 to i64\n %1 = 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 %2 = mul i64 %indvars.iv.reload, 4\n %3 = add i64 %2, %0\n %4 = call i64 @FUNC(i64 %1, i64 %3)\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 %5 = add i64 %0, 128\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n %7 = add i64 %0, 132\n %8 = call i64 @FUNC(i64 %1, i64 %7)\n ret i64 %8\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @qemu_get_sbe32s, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahci_irq_lower_3532", "fun_name": "ahci_irq_lower", "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, i64 0)\n %4 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, 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 %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 %6, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10)\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* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "seqvideo_decode_694", "fun_name": "seqvideo_decode", "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.513.reg2mem = alloca i8*\n %rdi.214.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i8*\n %sv_0.410.reg2mem = alloca i8*\n %rdi.111.reg2mem = alloca i64\n %storemerge512.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i8*\n %sv_0.118.reg2mem = alloca i8*\n %indvars.iv22.reg2mem = alloca i64\n %sv_0.017.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\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 = load i32, i32* %1\n %6 = load i32, i32* %1\n %7 = load i32, i32* %1\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg3, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = add i64 %8, %3\n %10 = add i64 %3, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = trunc i64 %2 to i32\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n store i8* %11, i8** %sv_0.2.reg2mem\n br i1 %14, label LBL_7, label LBL_1\n LBL_1:\n %15 = add i64 %4, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = sub i64 %9, %10\n %19 = icmp sgt i64 %18, 767\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_2, label LBL_20\n LBL_2:\n %20 = ptrtoint i64* %sv_2 to i64\n %21 = add i64 %20, -83\n %22 = mul i32 %7, 65536\n %23 = mul i32 %6, 256\n %24 = and i32 %23, 65280\n %25 = urem i32 %5, 256\n %26 = or i32 %25, %24\n %27 = or i32 %26, %22\n %28 = or i32 %27, -16777216\n store i64 0, i64* %indvars.iv22.reg2mem\n store i8* %11, i8** %sv_0.118.reg2mem\n br label LBL_5\n LBL_3:\n %sv_0.017.reload = load i8*, i8** %sv_0.017.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = load i8, i8* %sv_0.017.reload, align 1\n %30 = mul i8 %29, 4\n %31 = udiv i8 %29, 16\n %32 = or i8 %30, %31\n %33 = add nuw nsw i64 %21, %indvars.iv.reload\n %34 = inttoptr i64 %33 to i8*\n store i8 %32, i8* %34, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %35 = ptrtoint i8* %sv_0.017.reload to i64\n %36 = add i64 %35, 1\n %37 = inttoptr i64 %36 to i8*\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8* %37, i8** %sv_0.017.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %38 = mul i64 %indvars.iv22.reload, 4\n %39 = add i64 %38, %17\n %40 = inttoptr i64 %39 to i32*\n store i32 %28, i32* %40, align 4\n %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1\n %exitcond24 = icmp eq i64 %indvars.iv.next23, 256\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n store i8* %37, i8** %sv_0.118.reg2mem\n br i1 %exitcond24, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.118.reload = load i8*, i8** %sv_0.118.reg2mem\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i8* %sv_0.118.reload, i8** %sv_0.017.reg2mem\n br label LBL_3\n LBL_6:\n %41 = add i64 %4, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 1, i32* %42, align 4\n store i8* %37, i8** %sv_0.2.reg2mem\n br label LBL_7\n LBL_7:\n %43 = and i32 %12, 2\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_20, label LBL_8\n LBL_8:\n %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem\n %45 = ptrtoint i8* %sv_0.2.reload to i64\n %46 = sub i64 %9, %45\n %47 = icmp sgt i64 %46, 127\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %47, label LBL_9, label LBL_20\n LBL_9:\n %48 = ptrtoint i64* %sv_1 to i64\n %49 = call i64 @FUNC(i64* nonnull %sv_1, i64 %45, i64 1024)\n %50 = add i64 %45, 128\n %51 = inttoptr i64 %50 to i8*\n %52 = add i64 %4, 20\n %53 = inttoptr i64 %52 to i32*\n store i32 0, i32* %storemerge15.reg2mem\n store i64 %48, i64* %rdi.214.reg2mem\n store i8* %51, i8** %sv_0.513.reg2mem\n br label LBL_17.preheader\n LBL_10:\n %sv_0.410.reload = load i8*, i8** %sv_0.410.reg2mem\n %rdi.111.reload = load i64, i64* %rdi.111.reg2mem\n %storemerge512.reload = load i32, i32* %storemerge512.reg2mem\n %54 = load i32, i32* %53, align 4\n %55 = mul i32 %54, %storemerge15.reload\n %56 = add i32 %55, %storemerge512.reload\n %57 = sext i32 %56 to i64\n %58 = add i64 %rdi.111.reload, %57\n %59 = call i64 @FUNC(i64* nonnull %sv_1, i64 2)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 3\n br i1 %61, label LBL_15, label LBL_11\n LBL_11:\n %62 = icmp sgt i32 %60, 3\n store i8* %sv_0.410.reload, i8** %sv_0.3.reg2mem\n store i64 %48, i64* %rdi.0.reg2mem\n br i1 %62, label LBL_16, label LBL_12\n LBL_12:\n store i8* %sv_0.410.reload, i8** %sv_0.3.reg2mem\n store i64 %48, i64* %rdi.0.reg2mem\n switch i32 %60, label LBL_16 [\n i32 1, label LBL_13\n i32 2, label LBL_14\n ]\n LBL_13:\n %63 = ptrtoint i8* %sv_0.410.reload to i64\n %64 = call i64 @FUNC(i64 %4, i64 %63, i64 %9, i64 %58)\n %65 = inttoptr i64 %64 to i8*\n store i8* %65, i8** %sv_0.3.reg2mem\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_16\n LBL_14:\n %66 = ptrtoint i8* %sv_0.410.reload to i64\n %67 = call i64 @FUNC(i64 %4, i64 %66, i64 %9, i64 %58)\n %68 = inttoptr i64 %67 to i8*\n store i8* %68, i8** %sv_0.3.reg2mem\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_16\n LBL_15:\n %69 = ptrtoint i8* %sv_0.410.reload to i64\n %70 = call i64 @FUNC(i64 %4, i64 %69, i64 %9, i64 %58)\n %71 = inttoptr i64 %70 to i8*\n store i8* %71, i8** %sv_0.3.reg2mem\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem\n %72 = icmp eq i8* %sv_0.3.reload, null\n %73 = icmp eq i1 %72, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %73, label LBL_17, label LBL_20\n LBL_17:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %74 = add nuw nsw i32 %storemerge512.reload, 8\n %75 = icmp ult i32 %74, 256\n store i32 %74, i32* %storemerge512.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.111.reg2mem\n store i8* %sv_0.3.reload, i8** %sv_0.410.reg2mem\n br i1 %75, label LBL_10, label LBL_18\n LBL_18:\n %76 = add nuw nsw i32 %storemerge15.reload, 8\n %77 = icmp ult i32 %76, 128\n store i32 %76, i32* %storemerge15.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.214.reg2mem\n store i8* %sv_0.3.reload, i8** %sv_0.513.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %77, label LBL_17.preheader, label LBL_20\n LBL_19:\n %sv_0.513.reload = load i8*, i8** %sv_0.513.reg2mem\n %rdi.214.reload = load i64, i64* %rdi.214.reg2mem\n %storemerge15.reload = load i32, i32* %storemerge15.reg2mem\n store i32 0, i32* %storemerge512.reg2mem\n store i64 %rdi.214.reload, i64* %rdi.111.reg2mem\n store i8* %sv_0.513.reload, i8** %sv_0.410.reg2mem\n br label LBL_10\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge15.reload, { 1, 0 }\n uselistorder i8* %sv_0.3.reload, { 0, 2, 1 }\n uselistorder i64 %58, { 2, 0, 1 }\n uselistorder i8* %sv_0.410.reload, { 4, 2, 3, 0, 1 }\n uselistorder i64 %48, { 1, 2, 0 }\n uselistorder i64 %indvars.iv22.reload, { 1, 0 }\n uselistorder i8 %29, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i8* %11, { 1, 0 }\n uselistorder i64 %9, { 3, 1, 2, 4, 0 }\n uselistorder i64 %4, { 2, 7, 0, 5, 1, 6, 8, 3, 4 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i8** %sv_0.017.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge512.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rdi.111.reg2mem, { 2, 1, 0 }\n uselistorder i8** %sv_0.410.reg2mem, { 2, 1, 0 }\n uselistorder i8** %sv_0.3.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 5 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 256, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i32 2, { 2, 1, 0 }\n uselistorder label LBL_20, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_17.preheader, { 1, 0 }\n uselistorder label LBL_16, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_state_executing_1598", "fun_name": "ehci_state_executing", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 24\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 ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 38, 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 = inttoptr i64 %4 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 %8, %11\n br i1 %12, 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 ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %13 = trunc i64 %1 to i32\n %14 = call i64 @FUNC(i64 %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 %19 = icmp eq i1 %18, false\n %20 = icmp slt i32 %13, 1\n %or.cond = or i1 %20, %19\n store i32 %17, i32* %.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %21 = add i32 %13, -1\n %22 = bitcast i64* %arg1 to i32*\n store i32 %21, i32* %22, align 4\n %.pre = load i32, i32* %16, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %23 = add i64 %4, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 1\n %27 = icmp eq i1 %26, false\n %28 = add i64 %2, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = zext i32 %.reload to i64\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %30, i64 %31, i64 2)\n br label LBL_9\n LBL_8:\n %33 = call i64 @FUNC(i64 %30, i64 %31, i64 3)\n br label LBL_9\n LBL_9:\n %34 = call i64 @FUNC(i64 %2)\n ret i64 1\n\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "float128_to_int32_round_to_zero_13994", "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 = call i64 @FUNC(i64 2)\n %35 = icmp eq i32 %sv_0.0.reload, 0\n %. = select i1 %35, i64 2147483647, i64 2147483648\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %36 = sext i32 %sv_1.0 to i64\n %storemerge = shl i64 %36, %26\n %37 = icmp eq i64 %22, %storemerge\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %39 = or i32 %38, 1\n store i32 %39, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_9\n LBL_9:\n %40 = zext i32 %spec.select5 to i64\n store i64 %40, 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 i64 281474976710656, { 1, 0 }\n uselistorder i32 0, { 5, 0, 6, 7, 4, 2, 1, 3 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_10, { 3, 0, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "avcodec_default_reget_buffer_3239", "fun_name": "avcodec_default_reget_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %1 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*))\n call void @exit(i32 1)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 0, { 2, 3, 0, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_bin_java_annotation_new_0", "fun_name": "r_bin_java_annotation_new", "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.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = call i64* @calloc(i32 1, i32 24)\n %3 = icmp eq i64* %2, null\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 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %1 to i16\n %7 = bitcast i64* %2 to i16*\n %8 = mul i16 %6, 256\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 i16\n %13 = or i16 %8, %12\n store i16 %13, i16* %7, align 2\n %14 = add i64 %5, 2\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = zext i8 %16 to i16\n %18 = mul i16 %17, 256\n %19 = add i64 %5, 3\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = zext i8 %21 to i16\n %23 = or i16 %18, %22\n %24 = ptrtoint i64* %2 to i64\n %25 = add i64 %24, 2\n %26 = inttoptr i64 %25 to i16*\n store i16 %23, i16* %26, align 2\n %27 = call i64 @FUNC(i64 4198844)\n %28 = add i64 %24, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n %30 = load i16, i16* %26, align 2\n %31 = icmp eq i16 %30, 0\n %32 = icmp ult i64 %arg2, 4\n %or.cond3 = or i1 %32, %31\n store i32 0, i32* %storemerge25.reg2mem\n store i64 4, i64* %sv_0.14.reg2mem\n store i64 4, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond3, label LBL_5, label LBL_2\n LBL_2:\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %33 = add i64 %sv_0.14.reload, %arg3\n %34 = sub i64 %arg2, %sv_0.14.reload\n %35 = add i64 %sv_0.14.reload, %5\n %36 = call i64 @FUNC(i64 %35, i64 %34, i64 %33)\n %37 = icmp eq i64 %36, 0\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_4, label LBL_3\n LBL_3:\n %38 = inttoptr i64 %36 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = add i64 %39, %sv_0.14.reload\n %41 = load i64, i64* %29, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %36)\n store i64 %40, 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 %43 = add nuw nsw i32 %storemerge25.reload, 1\n %44 = load i16, i16* %26, align 2\n %45 = zext i16 %44 to i32\n %46 = icmp uge i32 %43, %45\n %47 = icmp ugt i64 %sv_0.0.reload, %arg2\n %or.cond = or i1 %47, %46\n store i32 %43, i32* %storemerge25.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 %or.cond, label LBL_5, label LBL_2\n LBL_5:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %48 = add i64 %24, 16\n %49 = inttoptr i64 %48 to i64*\n store i64 %sv_0.1.lcssa.reload, i64* %49, 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 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.14.reload, { 4, 0, 3, 1, 2 }\n uselistorder i16* %26, { 1, 0, 2 }\n uselistorder i64 %5, { 0, 2, 1, 3 }\n uselistorder i64* %2, { 0, 2, 1 }\n uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_vmxnet3_deassert_interrupt_line_8277", "fun_name": "_vmxnet3_deassert_interrupt_line", "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 %.pre = ptrtoint i32* %arg1 to i64\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %.pre)\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 call void @__assert_fail(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %.pre)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %10 = and i64 %arg2, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %10)\n %12 = call i64 @FUNC(i64 %.pre)\n ret i64 %12\n\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av1_uvlc_7076", "fun_name": "av1_uvlc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge3.lcssa7.reg2mem = alloca i32\n %storemerge3.lcssa.reg2mem = alloca i32\n %storemerge34.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 i32 0, i32* %storemerge34.reg2mem\n store i32 0, i32* %storemerge3.lcssa7.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %storemerge34.reload = load i32, i32* %storemerge34.reg2mem\n %5 = call i64 @FUNC(i64 %0, 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 i32 %storemerge34.reload, i32* %storemerge3.lcssa.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = mul i32 %storemerge34.reload, 16777216\n %sext = add i32 %9, 16777216\n %10 = ashr exact i32 %sext, 24\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 i32 %10, i32* %storemerge34.reg2mem\n store i32 %10, i32* %storemerge3.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_3\n LBL_3:\n %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem\n %15 = trunc i32 %storemerge3.lcssa.reload to i8\n %16 = icmp ult i8 %15, 32\n store i32 %storemerge3.lcssa.reload, i32* %storemerge3.lcssa7.reg2mem\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n %storemerge3.lcssa7.reload = load i32, i32* %storemerge3.lcssa7.reg2mem\n %17 = urem i32 %storemerge3.lcssa7.reload, 256\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %0, i64 %18)\n %20 = urem i32 %storemerge3.lcssa7.reload, 32\n %21 = trunc i64 %19 to i32\n %notmask = shl nsw i32 -1, %20\n %22 = sub i32 0, %notmask\n %23 = sub i32 %22, 1\n %24 = add i32 %23, %21\n %25 = mul i32 %storemerge3.lcssa7.reload, 2\n %26 = and i32 %25, 510\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %0, i64 %27, i64 %arg2, i32 %24)\n %29 = zext i32 %24 to i64\n store i64 %29, i64* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32 %storemerge3.lcssa7.reload, { 2, 1, 0 }\n uselistorder i32 %storemerge34.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 4, 3, 0 }\n uselistorder i32* %storemerge34.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.lcssa7.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 2, 5, 4, 0, 1, 3 }\n uselistorder i64 (i64)* @gf_bs_available, { 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": "fd_revalidate_946", "fun_name": "fd_revalidate", "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 ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 ptrtoint ([12 x i8]* @gv_0 to i64))\n %9 = trunc i64 %8 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 = call i64 @FUNC(i64 ptrtoint ([12 x i8]* @gv_0 to i64))\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 1\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %6, i64 %5, i64 %2, i64 %1)\n %16 = add i64 %6, 28\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %6)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %19 = add i64 %6, 9\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %6)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %6, i64 %5, i64 %2, i64 %1)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n store i8 1, i8* %20, align 1\n %27 = load i8, i8* %11, align 1\n %28 = icmp eq i8 %27, 0\n %. = select i1 %28, i64 ptrtoint ([3 x i8]* @gv_3 to i64), i64 ptrtoint ([3 x i8]* @gv_4 to i64)\n %29 = add i64 %6, 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 = add i64 %6, 12\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = zext i32 %35 to i64\n %37 = add i64 %6, 20\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = urem i32 %39, 2\n %41 = icmp eq i32 %40, 0\n %storemerge = select i1 %41, i64 1, i64 2\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge, i64 %36, i64 %32, i64 %., i64 %1)\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, { 4, 6, 5, 3, 7, 8, 0, 1, 2, 9 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8 1, { 2, 0, 1 }\n uselistorder i64 ptrtoint ([12 x i8]* @gv_0 to i64), { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FLOPPY_DPRINTF, { 3, 2, 1, 0 }\n uselistorder [12 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DecodeAsn1DerOctetString_18776", "fun_name": "DecodeAsn1DerOctetString", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32*, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 1\n %2 = inttoptr i64 %1 to i32*\n store i32* %2, i32** %sv_1, align 8\n %3 = inttoptr i64 %1 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = sext i8 %4 to i32\n %6 = icmp slt i8 %4, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = urem i32 %5, 256\n store i32 %7, i32* %sv_0, align 4\n %8 = add i64 %0, 2\n %9 = inttoptr i64 %8 to i32*\n store i32* %9, i32** %sv_1, align 8\n store i32 %7, i32* %.reg2mem\n br label LBL_4\n LBL_2:\n %10 = urem i32 %5, 128\n %11 = add i64 %0, 2\n %12 = inttoptr i64 %11 to i32*\n store i32* %12, i32** %sv_1, align 8\n %13 = ptrtoint i32* %arg4 to i64\n %14 = bitcast i32** %sv_1 to i64*\n %15 = call i64 @FUNC(i64* nonnull %14, i32* nonnull %sv_0, i32 %10, i64 %13)\n %16 = trunc i64 %15 to i32\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_2.LBL_4_crit_edge, label LBL_9\n LBL_3:\n %.pre = load i32, i32* %sv_0, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %19 = trunc i64 %arg2 to i32\n %20 = icmp ugt i32 %.reload, %19\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_9\n LBL_5:\n %22 = call i64 @FUNC()\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_6, label LBL_9\n LBL_6:\n %25 = inttoptr i64 %22 to i32*\n store i32 4, i32* %25, align 4\n %26 = load i32, i32* %sv_0, align 4\n %27 = add i64 %22, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = load i32, i32* %sv_0, align 4\n %30 = add i32 %29, 1\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = add i64 %22, 8\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = icmp eq i64 %32, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n %37 = call i64 @FUNC(i64 %22)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %38 = load i32, i32* %sv_0, align 4\n %39 = load i32*, i32** %sv_1, align 8\n %40 = inttoptr i64 %32 to i64*\n %41 = bitcast i32* %39 to i64*\n %42 = call i64* @memcpy(i64* %40, i64* %41, i32 %38)\n %43 = load i64, i64* %34, align 8\n %44 = load i32, i32* %sv_0, align 4\n %45 = zext i32 %44 to i64\n %46 = add i64 %43, %45\n %47 = inttoptr i64 %46 to i8*\n store i8 0, i8* %47, align 1\n %48 = load i32*, i32** %sv_1, align 8\n %49 = ptrtoint i32* %48 to i64\n %50 = load i32, i32* %sv_0, align 4\n %51 = zext i32 %50 to i64\n %52 = add i64 %51, %49\n %53 = inttoptr i64 %52 to i32*\n store i32* %53, i32** %sv_1, align 8\n %54 = sub i64 %52, %0\n %55 = trunc i64 %54 to i32\n %56 = add i64 %22, 16\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 4\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 %32, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i32** %sv_1, { 5, 4, 3, 6, 2, 1, 0 }\n uselistorder i32* %sv_0, { 2, 3, 4, 5, 6, 0, 1, 7 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder label LBL_9, { 3, 4, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fsck_walk_tree_8134", "fun_name": "fsck_walk_tree", "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.shrunk.reg2mem = alloca i32\n %r8.1.ph.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i64, i64* %0\n %5 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_1, label LBL_15\n LBL_1:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %3)\n %11 = add i64 %3, 8\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, i64 %9, i64 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_2, label LBL_15\n LBL_2:\n %18 = ptrtoint i32* %sv_2 to i64\n %19 = zext i32 %5 to i64\n %20 = icmp eq i64 %10, 0\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br label LBL_13\n LBL_3:\n %21 = load i32, i32* %sv_2, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_4, label LBL_14\n LBL_4:\n %24 = icmp eq i32 %21, 1\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %19)\n %27 = trunc i64 %26 to i32\n store i32 %27, i32* %sv_3, align 4\n %28 = icmp eq i32 %27, 0\n %or.cond = or i1 %20, %28\n store i32 %27, i32* %sv_1.0.reg2mem\n store i64 %18, i64* %r8.0.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_6\n LBL_6:\n %sext = mul i64 %26, 4294967296\n %29 = ashr exact i64 %sext, 32\n %30 = call i64 @FUNC(i64 %9, i64 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %4, i64 %2)\n %.pre = load i32, i32* %sv_3, align 4\n store i32 %.pre, i32* %sv_1.0.reg2mem\n store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %r8.0.reg2mem\n br label LBL_11\n LBL_7:\n %31 = icmp ne i32 %21, 2\n %32 = icmp eq i32 %21, 3\n %33 = icmp eq i1 %32, false\n %or.cond7 = icmp eq i1 %31, %33\n br i1 %or.cond7, label LBL_10, label LBL_8\n LBL_8:\n %34 = call i64 @FUNC(i64 %19)\n %35 = trunc i64 %34 to i32\n store i32 %35, i32* %sv_3, align 4\n %36 = icmp eq i32 %35, 0\n %or.cond4 = or i1 %20, %36\n store i32 %35, i32* %sv_1.0.reg2mem\n store i64 %18, i64* %r8.0.reg2mem\n br i1 %or.cond4, label LBL_11, label LBL_9\n LBL_9:\n %sext5 = mul i64 %34, 4294967296\n %37 = ashr exact i64 %sext5, 32\n %38 = call i64 @FUNC(i64 %9, i64 %37, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %4, i64 %2)\n %.pre13 = load i32, i32* %sv_3, align 4\n store i32 %.pre13, i32* %sv_1.0.reg2mem\n store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %r8.0.reg2mem\n br label LBL_11\n LBL_10:\n %39 = call i64 @FUNC(i64 %9, i64 %3)\n %40 = zext i32 %21 to i64\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %39, i64 %4, i64 %40, i64 %r8.1.ph.reload, i64 %2)\n %42 = trunc i64 %41 to i32\n store i32 %42, i32* %sv_1.0.reg2mem\n store i64 %r8.1.ph.reload, i64* %r8.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %43 = icmp slt i32 %sv_1.0.reload, 0\n %44 = icmp eq i1 %43, false\n store i32 %sv_1.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %44, label LBL_12, label LBL_15\n LBL_12:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %45 = icmp eq i32 %sv_0.0.ph.reload, 0\n %46 = icmp eq i1 %45, false\n %spec.select = select i1 %46, i32 %sv_0.0.ph.reload, i32 %sv_1.0.reload\n store i32 %spec.select, i32* %sv_0.0.ph.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.ph.reg2mem\n br label LBL_13\n LBL_13:\n %r8.1.ph.reload = load i64, i64* %r8.1.ph.reg2mem\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n br label LBL_14\n LBL_14:\n %47 = call i64 @FUNC(i64* nonnull %14, i32* 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 i32 %sv_0.0.ph.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %50, label LBL_3, 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 i32 %sv_0.0.ph.reload, { 0, 2, 1 }\n uselistorder i32 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i32 %21, { 1, 0, 2, 3, 4 }\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i64 %9, { 1, 2, 0, 4, 3 }\n uselistorder i32* %sv_3, { 0, 3, 1, 2, 4 }\n uselistorder i32* %sv_2, { 1, 2, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %r8.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [5 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @put_object_name, { 1, 0 }\n uselistorder [6 x i8]* @gv_0, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 0, 3, 4 }\n uselistorder i32 0, { 6, 3, 4, 1, 2, 5, 0, 7, 8 }\n uselistorder label LBL_15, { 1, 0, 2, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 4, 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_frame_obj_892", "fun_name": "process_frame_obj", "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 %rcx.0.reg2mem = alloca i64\n %.pre-phi21.reg2mem = alloca i64*\n %.pre-phi17.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 %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %6)\n %9 = call i64 @FUNC(i64 %6)\n %10 = call i64 @FUNC(i64 %6)\n %11 = trunc i64 %10 to i16\n %12 = call i64 @FUNC(i64 %6)\n %13 = icmp eq i16 %11, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = trunc i64 %12 to i32\n %sext8 = mul i32 %14, 65536\n %15 = ashr exact i32 %sext8, 16\n %16 = trunc i32 %15 to i16\n %17 = icmp eq i16 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\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 %21, i64 16, 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* %rax.0.reg2mem\n br label LBL_19\n LBL_3:\n %23 = trunc i64 %8 to i32\n %sext6 = mul i32 %23, 65536\n %24 = ashr exact i32 %sext6, 16\n %25 = trunc i64 %9 to i32\n %sext7 = mul i32 %25, 65536\n %26 = ashr exact i32 %sext7, 16\n %27 = trunc i64 %10 to i32\n %28 = urem i32 %27, 65536\n %29 = trunc i64 %3 to i32\n %30 = urem i32 %24, 65536\n %31 = add nuw nsw i32 %28, %30\n %32 = icmp ugt i32 %31, %29\n %.pre = add i64 %5, 4\n %.pre10 = inttoptr i64 %.pre to i32*\n br i1 %32, label LBL_3.LBL_7_crit_edge, label LBL_5\n LBL_4:\n %.pre12 = urem i32 %15, 65536\n %.pre14 = urem i32 %26, 65536\n %.pre16 = add nuw nsw i32 %.pre12, %.pre14\n %.pre22 = load i32, i32* %.pre10, align 4\n store i32 %.pre22, i32* %.reg2mem\n store i32 %.pre16, i32* %.pre-phi17.reg2mem\n br label LBL_7\n LBL_5:\n %33 = load i32, i32* %.pre10, align 4\n %34 = urem i32 %26, 65536\n %35 = urem i32 %15, 65536\n %36 = add nuw nsw i32 %35, %34\n %37 = icmp ult i32 %33, %36\n store i32 %33, i32* %.reg2mem\n store i32 %36, i32* %.pre-phi17.reg2mem\n br i1 %37, label LBL_7, label LBL_5.LBL_10_crit_edge\n LBL_6:\n %38 = zext i32 %34 to i64\n %.pre18 = add i64 %5, 8\n %.pre20 = inttoptr i64 %.pre18 to i64*\n store i64* %.pre20, i64** %.pre-phi21.reg2mem\n store i64 %38, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_7:\n %.pre-phi17.reload = load i32, i32* %.pre-phi17.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %39 = add i64 %5, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = sub i32 %.reload, %.pre-phi17.reload\n %43 = xor i32 %42, -2147483648\n %44 = and i32 %43, %.reload\n %45 = icmp slt i32 %44, 0\n %46 = icmp slt i32 %42, 0\n %47 = icmp eq i1 %46, %45\n %48 = select i1 %47, i32 %.reload, i32 %.pre-phi17.reload\n %49 = sub i32 %29, %31\n %50 = xor i32 %49, -2147483648\n %51 = and i32 %50, %29\n %52 = icmp slt i32 %51, 0\n %53 = icmp slt i32 %49, 0\n %54 = icmp eq i1 %53, %52\n %55 = select i1 %54, i32 %29, i32 %31\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %56, i32 %48, i64 0, i64 %41)\n %58 = trunc i64 %57 to i32\n %59 = icmp slt i32 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %60, label LBL_8, label LBL_19\n LBL_8:\n %61 = load i32, i32* %.pre10, align 4\n %62 = sub i32 %61, %.pre-phi17.reload\n %63 = xor i32 %62, -2147483648\n %64 = and i32 %63, %61\n %65 = icmp slt i32 %64, 0\n %66 = icmp slt i32 %62, 0\n %67 = icmp eq i1 %66, %65\n %68 = select i1 %67, i32 %61, i32 %.pre-phi17.reload\n %69 = load i64, i64* %40, align 8\n %70 = zext i32 %68 to i64\n %71 = call i64 @FUNC(i64 %69, i64 %56, i64 %70)\n %72 = load i32, i32* %.pre10, align 4\n %73 = sub i32 %72, %.pre-phi17.reload\n %74 = xor i32 %73, -2147483648\n %75 = and i32 %74, %72\n %76 = icmp slt i32 %75, 0\n %77 = icmp slt i32 %73, 0\n %78 = icmp eq i1 %77, %76\n %79 = select i1 %78, i32 %72, i32 %.pre-phi17.reload\n %80 = zext i32 %79 to i64\n %81 = call i64 @FUNC(i64 %5, i64 %56, i64 %80)\n %82 = call i64 @FUNC(i64 %5)\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n store i64* %40, i64** %.pre-phi21.reg2mem\n store i64 %56, i64* %rcx.0.reg2mem\n br i1 %84, label LBL_10, label LBL_9\n LBL_9:\n %85 = load i64, i64* %40, align 8\n %86 = call i64 @FUNC(i64 %85, i64 16, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_10:\n %87 = trunc i64 %7 to i32\n %sext = mul i32 %87, 65536\n %88 = ashr exact i32 %sext, 16\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi21.reload = load i64*, i64** %.pre-phi21.reg2mem\n %89 = call i64 @FUNC(i64 %6, i64 4)\n %90 = trunc i32 %88 to i16\n %91 = load i64, i64* %.pre-phi21.reload, align 8\n %92 = call i64 @FUNC(i64 %91, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i16 %90, i64 %rcx.0.reload, i64 %2, i64 %1)\n %93 = urem i32 %88, 65536\n %94 = icmp eq i32 %93, 47\n br i1 %94, label LBL_17, label LBL_11\n LBL_11:\n %95 = icmp ugt i32 %93, 47\n br i1 %95, label LBL_18, label LBL_12\n LBL_12:\n %96 = icmp eq i32 %93, 37\n br i1 %96, label LBL_16, label LBL_13\n LBL_13:\n %97 = icmp ugt i32 %93, 37\n br i1 %97, label LBL_18, label LBL_14\n LBL_14:\n %98 = icmp ne i32 %93, 1\n %99 = icmp eq i32 %93, 3\n %100 = icmp eq i1 %99, false\n %or.cond = icmp eq i1 %98, %100\n br i1 %or.cond, label LBL_18, label LBL_15\n LBL_15:\n %101 = trunc i32 %24 to i16\n %102 = trunc i32 %26 to i16\n %103 = urem i32 %15, 65536\n %104 = zext i32 %103 to i64\n %105 = call i64 @FUNC(i64 %5, i16 %102, i16 %101, i16 %11, i64 %104)\n store i64 %105, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_16:\n %106 = trunc i32 %24 to i16\n %107 = trunc i32 %26 to i16\n %108 = urem i32 %15, 65536\n %109 = zext i32 %108 to i64\n %110 = call i64 @FUNC(i64 %5, i16 %107, i16 %106, i16 %11, i64 %109)\n store i64 %110, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_17:\n %111 = trunc i32 %24 to i16\n %112 = trunc i32 %26 to i16\n %113 = urem i32 %15, 65536\n %114 = zext i32 %113 to i64\n %115 = call i64 @FUNC(i64 %5, i16 %112, i16 %111, i16 %11, i64 %114)\n store i64 %115, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %116 = load i64, i64* %.pre-phi21.reload, align 8\n %117 = call i64 @FUNC(i64 %116, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0), i16 %90, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 4294954951, 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 %93, { 5, 2, 4, 1, 3, 0 }\n uselistorder i64 %rcx.0.reload, { 1, 0 }\n uselistorder i32 %73, { 1, 0 }\n uselistorder i32 %72, { 1, 0, 2 }\n uselistorder i32 %62, { 1, 0 }\n uselistorder i32 %61, { 1, 0, 2 }\n uselistorder i64 %56, { 2, 0, 1, 3, 4 }\n uselistorder i32 %49, { 1, 0 }\n uselistorder i32 %42, { 1, 0 }\n uselistorder i64* %40, { 1, 0, 2, 3 }\n uselistorder i32 %.reload, { 1, 0, 2 }\n uselistorder i32 %.pre-phi17.reload, { 1, 0, 3, 2, 4, 5 }\n uselistorder i32* %.pre10, { 1, 2, 3, 0 }\n uselistorder i32 %31, { 2, 1, 0 }\n uselistorder i32 %29, { 2, 0, 3, 1 }\n uselistorder i32 %26, { 4, 3, 2, 0, 1 }\n uselistorder i32 %24, { 3, 2, 1, 0 }\n uselistorder i64 %5, { 4, 3, 2, 6, 5, 7, 0, 1, 8, 9 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i64 %1, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1, 7 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 16, { 3, 1, 2, 0, 4, 5 }\n uselistorder i32 65536, { 4, 5, 6, 7, 3, 8, 9, 10, 11, 12, 13, 1, 2, 0 }\n uselistorder i64 (i64)* @bytestream2_get_le16u, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_19, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_aliases_13534", "fun_name": "init_aliases", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i8, align 1\n %0 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([12 x i8], [12 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 = icmp eq %_IO_FILE* %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_26\n LBL_1:\n %3 = call i8* @fgets(i8* nonnull %sv_0, i32 256, %_IO_FILE* %0)\n %4 = icmp eq i8* %3, null\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_24\n LBL_2:\n %6 = ptrtoint i8* %sv_0 to i64\n %7 = add i64 %6, -1\n %8 = ptrtoint i8* %sv_1 to i64\n %9 = add i64 %8, -1\n br label LBL_3\n LBL_3:\n %10 = load i8, i8* %sv_0, align 1\n switch i8 %10, label LBL_4 [\n i8 35, label LBL_23\n i8 10, label LBL_23\n ]\n LBL_4:\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_23\n LBL_5:\n %13 = call i32 @strlen(i8* nonnull %sv_0)\n %14 = sext i32 %13 to i64\n %15 = add i64 %7, %14\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 10\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_25, label LBL_6\n LBL_6:\n store i8 0, i8* %16, align 1\n %20 = call i8* @fgets(i8* nonnull %sv_1, i32 4097, %_IO_FILE* %0)\n %21 = icmp eq i8* %20, null\n %22 = load i8, i8* %sv_1, align 1\n %23 = icmp eq i8 %22, 0\n %or.cond711 = or i1 %21, %23\n br i1 %or.cond711, label LBL_25, label LBL_7\n LBL_7:\n %24 = call i32 @strlen(i8* nonnull %sv_1)\n %25 = sext i32 %24 to i64\n %26 = add i64 %9, %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_9, label LBL_8\n LBL_8:\n store i8 0, i8* %27, align 1\n br label LBL_9\n LBL_9:\n %31 = load i8, i8* %sv_1, align 1\n switch i8 %31, label LBL_11 [\n i8 35, label LBL_10\n i8 0, label LBL_10\n ]\n LBL_10:\n %32 = call i8* @fgets(i8* nonnull %sv_1, i32 4097, %_IO_FILE* %0)\n %33 = icmp eq i8* %32, null\n %34 = load i8, i8* %sv_1, align 1\n %35 = icmp eq i8 %34, 0\n %or.cond7 = or i1 %33, %35\n br i1 %or.cond7, label LBL_25, label LBL_7\n LBL_11:\n %36 = load i64, i64* @gv_2, align 8\n %37 = icmp eq i64 %36, 0\n %38 = icmp eq i1 %37, false\n %39 = call i64* @malloc(i32 24)\n %40 = ptrtoint i64* %39 to i64\n br i1 %38, label LBL_17, label LBL_12\n LBL_12:\n store i64 %40, i64* @gv_3, align 8\n store i64 %40, i64* @gv_2, align 8\n %41 = icmp eq i64* %39, null\n br i1 %41, label LBL_16, label LBL_13\n LBL_13:\n %42 = call i8* @strdup(i8* nonnull %sv_0)\n %43 = ptrtoint i8* %42 to i64\n store i64 %43, i64* %39, align 8\n %44 = icmp eq i8* %42, null\n br i1 %44, label LBL_16, label LBL_14\n LBL_14:\n %45 = load i64, i64* @gv_3, align 8\n %46 = call i8* @strdup(i8* nonnull %sv_1)\n %47 = ptrtoint i8* %46 to i64\n %48 = add i64 %45, 8\n %49 = inttoptr i64 %48 to i64*\n store i64 %47, i64* %49, align 8\n %50 = icmp eq i8* %46, null\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_14.LBL_22_crit_edge, label LBL_16\n LBL_15:\n %.pre = load i64, i64* @gv_3, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_22\n LBL_16:\n call void @exit(i32 1)\n unreachable\n LBL_17:\n %52 = icmp eq i64* %39, null\n br i1 %52, label LBL_20, label LBL_18\n LBL_18:\n %53 = call i8* @strdup(i8* nonnull %sv_0)\n %54 = ptrtoint i8* %53 to i64\n store i64 %54, i64* %39, align 8\n %55 = icmp eq i8* %53, null\n br i1 %55, label LBL_20, label LBL_19\n LBL_19:\n %56 = call i8* @strdup(i8* nonnull %sv_1)\n %57 = ptrtoint i8* %56 to i64\n %58 = add i64 %40, 8\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = icmp eq i8* %56, null\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_21, label LBL_20\n LBL_20:\n call void @exit(i32 1)\n unreachable\n LBL_21:\n %62 = load i64, i64* @gv_3, align 8\n %63 = add i64 %62, 16\n %64 = inttoptr i64 %63 to i64*\n store i64 %40, i64* %64, align 8\n store i64 %40, i64* @gv_3, align 8\n store i64 %40, i64* %.reg2mem\n br label LBL_22\n LBL_22:\n %.reload = load i64, i64* %.reg2mem\n %65 = add i64 %.reload, 16\n %66 = inttoptr i64 %65 to i64*\n store i64 0, i64* %66, align 8\n br label LBL_23\n LBL_23:\n %67 = call i8* @fgets(i8* nonnull %sv_0, i32 256, %_IO_FILE* %0)\n %68 = icmp eq i8* %67, null\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_3, label LBL_24\n LBL_24:\n %70 = call i32 @fclose(%_IO_FILE* %0)\n store i32 ptrtoint (i32* @gv_4 to i32), i32* bitcast (i64* @gv_5 to i32*), align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_25:\n %71 = call i32 @fclose(%_IO_FILE* %0)\n %72 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0))\n store i64 4294967295, 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 %40, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %39, { 1, 3, 0, 2, 4 }\n uselistorder i8 %10, { 1, 0 }\n uselistorder %_IO_FILE* %0, { 4, 2, 5, 3, 1, 0, 6 }\n uselistorder i8* %sv_1, { 8, 7, 2, 5, 4, 6, 0, 1, 3 }\n uselistorder i8* %sv_0, { 1, 2, 3, 4, 6, 5, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 3, 2, 1, 0 }\n uselistorder i64* @gv_3, { 1, 2, 0, 3, 4 }\n uselistorder i32 4097, { 1, 0 }\n uselistorder i8 0, { 2, 1, 4, 0, 5, 6, 3 }\n uselistorder i8 10, { 1, 2, 0 }\n uselistorder i8* null, { 7, 2, 3, 4, 5, 6, 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 2, 3, 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i1 false, { 7, 1, 2, 3, 4, 5, 6, 0, 8 }\n uselistorder i64 0, { 6, 7, 1, 16, 17, 0, 2, 3, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15 }\n uselistorder i32 1, { 2, 3, 4, 5, 1, 0 }\n uselistorder label LBL_26, { 1, 2, 0 }\n uselistorder label LBL_25, { 2, 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_wep_key_17841", "fun_name": "set_wep_key", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16 %arg2, i64 %arg3, i16 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = icmp eq i16 %arg4, 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 ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %2)\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = and i64 %arg6, 4294967295\n %6 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 44)\n %7 = call i64 @FUNC(i64 44)\n %sext3 = mul i64 %7, 281474976710656\n %8 = ashr exact i64 %sext3, 48\n store i64 %8, i64* %sv_1, align 8\n %9 = zext i16 %arg2 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = zext i16 %arg4 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = inttoptr i64 %arg3 to i64*\n %14 = zext i16 %arg4 to i32\n %15 = call i64* @memcpy(i64* nonnull %sv_0, i64* %13, i32 %14)\n %16 = trunc i64 %arg5 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %18 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 0, i64 %5)\n store i64 %18, i64* %.reg2mem\n br label LBL_5\n LBL_4:\n %19 = call i64 @FUNC(i64 %4, i64 %5)\n %20 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 %16, i64 %5)\n %21 = call i64 @FUNC(i64 %4, i64 %5)\n store i64 %20, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %22 = and i64 %.reload, 4294967295\n ret i64 %22\n\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 2, 3, 1, 0 }\n uselistorder i64* %sv_1, { 1, 0, 3, 2 }\n uselistorder i64 (i64, i64*, i32, i64)* @writeWepKeyRid, { 1, 0 }\n uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 }\n uselistorder i32 0, { 0, 2, 1 }\n uselistorder i16 %arg4, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "translate_error_8870", "fun_name": "translate_error", "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 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 %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 11\n %6 = icmp eq i1 %5, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %7)\n store i64 4294967295, 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": "kbd_write_mouse_7684", "fun_name": "kbd_write_mouse", "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 %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i32 %3)\n %6 = trunc i64 %1 to i32\n switch i32 %6, label LBL_1 [\n i32 232, label LBL_37\n i32 233, label LBL_20\n ]\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 br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = trunc i64 %4 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 store i32 0, i32* %8, align 4\n %14 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_4:\n %15 = icmp eq i32 %11, 255\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = and i64 %4, 4294967295\n %17 = call i64 @FUNC(i64 %2, i64 %16, i64 1)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_6:\n %18 = add nsw i64 %4, 4294967066\n %19 = and i64 %18, 4294967295\n store i64 %19, i64* @0, align 8\n %20 = mul i64 %19, 8\n %21 = add i64 %20, ptrtoint (i64* @gv_1 to i64)\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %trunc = trunc i64 %18 to i32\n store i64 %23, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_38 [\n i32 0, label LBL_7\n i32 1, label LBL_8\n i32 2, label LBL_13\n i32 3, label LBL_13\n i32 4, label LBL_9\n i32 5, label LBL_10\n i32 10, label LBL_11\n i32 12, label LBL_12\n i32 13, label LBL_14\n i32 14, label LBL_15\n i32 15, label LBL_16\n i32 16, label LBL_17\n i32 17, label LBL_18\n i32 25, label LBL_19\n ]\n LBL_7:\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = and i32 %26, -2\n store i32 %27, i32* %25, align 4\n %28 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_8:\n %29 = add i64 %2, 8\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 %33 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_9:\n %34 = add i64 %2, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = and i32 %36, -3\n store i32 %37, i32* %35, align 4\n %38 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_10:\n store i32 1, i32* %8, align 4\n %39 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_11:\n %40 = add i64 %2, 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = or i32 %42, 2\n store i32 %43, i32* %41, align 4\n %44 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_12:\n %45 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %46 = add i64 %2, 12\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 %2, i64 %49, i64 1)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_13:\n %51 = trunc i64 %4 to i32\n %52 = bitcast i64* %arg1 to i32*\n store i32 %51, i32* %52, align 4\n %53 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_14:\n %54 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %55 = add i64 %2, 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 %2, i64 %58, i64 1)\n %60 = add i64 %2, 16\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, i64 1)\n %65 = add i64 %2, 20\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 %2, i64 %68, i64 1)\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_15:\n %70 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %71 = call i64 @FUNC(i64 %2)\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_16:\n %72 = add i64 %2, 8\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = or i32 %74, 4\n store i32 %75, i32* %73, align 4\n %76 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_17:\n %77 = add i64 %2, 8\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = and i32 %79, -5\n store i32 %80, i32* %78, align 4\n %81 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %81, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_18:\n %82 = add i64 %2, 20\n %83 = inttoptr i64 %82 to i32*\n store i32 100, i32* %83, align 4\n %84 = add i64 %2, 16\n %85 = inttoptr i64 %84 to i32*\n store i32 2, i32* %85, align 4\n %86 = add i64 %2, 8\n %87 = inttoptr i64 %86 to i32*\n store i32 0, i32* %87, align 4\n %88 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n store i64 %88, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_19:\n %89 = add i64 %2, 20\n %90 = inttoptr i64 %89 to i32*\n store i32 100, i32* %90, align 4\n %91 = add i64 %2, 16\n %92 = inttoptr i64 %91 to i32*\n store i32 2, i32* %92, align 4\n %93 = add i64 %2, 8\n %94 = inttoptr i64 %93 to i32*\n store i32 0, i32* %94, align 4\n %95 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %96 = call i64 @FUNC(i64 %2, i64 170, i64 1)\n %97 = add i64 %2, 12\n %98 = inttoptr i64 %97 to i32*\n %99 = load i32, i32* %98, align 4\n %100 = zext i32 %99 to i64\n %101 = call i64 @FUNC(i64 %2, i64 %100, i64 1)\n store i64 %101, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_20:\n %102 = trunc i64 %4 to i32\n %103 = add i64 %2, 20\n %104 = inttoptr i64 %103 to i32*\n store i32 %102, i32* %104, align 4\n %105 = add i64 %2, 24\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = icmp eq i32 %107, 3\n br i1 %108, label LBL_33, label LBL_21\n LBL_21:\n %109 = icmp sgt i32 %107, 3\n br i1 %109, label LBL_23, label LBL_22\n LBL_22:\n switch i32 %107, label LBL_23 [\n i32 1, label LBL_25\n i32 2, label LBL_30\n ]\n LBL_23:\n %110 = icmp eq i32 %102, 200\n %111 = icmp eq i1 %110, false\n br i1 %111, label LBL_36, label LBL_24\n LBL_24:\n store i32 1, i32* %106, align 4\n br label LBL_36\n LBL_25:\n %112 = icmp eq i32 %102, 100\n %113 = icmp eq i1 %112, false\n br i1 %113, label LBL_27, label LBL_26\n LBL_26:\n store i32 2, i32* %106, align 4\n br label LBL_36\n LBL_27:\n %114 = icmp eq i32 %102, 200\n %115 = icmp eq i1 %114, false\n br i1 %115, label LBL_29, label LBL_28\n LBL_28:\n store i32 3, i32* %106, align 4\n br label LBL_36\n LBL_29:\n store i32 0, i32* %106, align 4\n br label LBL_36\n LBL_30:\n %116 = icmp eq i32 %102, 80\n %117 = icmp eq i1 %116, false\n br i1 %117, label LBL_32, label LBL_31\n LBL_31:\n %118 = add i64 %2, 12\n %119 = inttoptr i64 %118 to i32*\n store i32 3, i32* %119, align 4\n br label LBL_32\n LBL_32:\n store i32 0, i32* %106, align 4\n br label LBL_36\n LBL_33:\n %120 = icmp eq i32 %102, 80\n %121 = icmp eq i1 %120, false\n br i1 %121, label LBL_35, label LBL_34\n LBL_34:\n %122 = add i64 %2, 12\n %123 = inttoptr i64 %122 to i32*\n store i32 4, i32* %123, align 4\n br label LBL_35\n LBL_35:\n store i32 0, i32* %106, align 4\n br label LBL_36\n LBL_36:\n %124 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %125 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %125, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_37:\n %126 = trunc i64 %4 to i32\n %127 = add i64 %2, 16\n %128 = inttoptr i64 %127 to i32*\n store i32 %126, i32* %128, align 4\n %129 = call i64 @FUNC(i64 %2, i64 250, i64 1)\n %130 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %130, align 4\n store i64 %2, 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 i32* %106, { 5, 0, 2, 3, 1, 4, 6 }\n uselistorder i32 %102, { 4, 0, 2, 1, 3, 5 }\n uselistorder i64 %4, { 5, 4, 2, 3, 1, 0 }\n uselistorder i64 %2, { 1, 47, 48, 0, 42, 41, 40, 43, 44, 34, 33, 35, 36, 37, 38, 39, 29, 30, 31, 32, 27, 28, 25, 26, 23, 24, 17, 16, 19, 18, 21, 20, 22, 7, 14, 13, 15, 11, 12, 10, 8, 9, 5, 6, 3, 4, 46, 2, 45 }\n uselistorder i64* %rax.0.reg2mem, { 0, 18, 17, 15, 14, 13, 12, 11, 10, 5, 9, 8, 7, 6, 4, 3, 16, 2, 1 }\n uselistorder i64 20, { 3, 0, 1, 2 }\n uselistorder i64 16, { 3, 0, 1, 2 }\n uselistorder i64 12, { 2, 3, 0, 1 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i32 3, { 3, 4, 2, 0, 1 }\n uselistorder i32 2, { 5, 0, 2, 3, 4, 1 }\n uselistorder i64 8, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder i64 (i64, i64, i64)* @kbd_queue, { 3, 2, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 1, 2, 0, 6, 7, 8 }\n uselistorder label LBL_38, { 14, 15, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 13, 16, 17 }\n uselistorder label LBL_36, { 2, 3, 4, 5, 6, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_flag_get_nearest_list_6043", "fun_name": "r_flag_get_nearest_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge14.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 = icmp slt i32 %arg3, 0\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n store i64 %2, i64* %storemerge14.reg2mem\n br label LBL_4\n LBL_2:\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %4 = icmp eq i32 %arg3, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i64 %3, 0\n %or.cond = or i1 %5, %6\n store i64 %3, i64* %storemerge14.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %7 = inttoptr i64 %3 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, %arg2\n store i64 %3, i64* %storemerge14.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_5\n LBL_4:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n store i64 %storemerge14.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 %3, { 1, 3, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge14.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wilc_wfi_cfg_parse_ch_attr_12446", "fun_name": "wilc_wfi_cfg_parse_ch_attr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.3.reg2mem = alloca i64\n %rax.2.reg2mem = alloca i64\n %storemerge18.reg2mem = alloca i32\n %.reg2mem50 = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %sv_1.0.reg2mem = alloca i8\n %sv_2.019.reg2mem = alloca i32\n %sv_1.121.reg2mem = alloca i8\n %sv_0.122.reg2mem = alloca i8\n %.reg2mem = alloca i64\n %0 = sext i8 %arg3 to i64\n %1 = and i64 %0, 4294967295\n %2 = icmp eq i8 %arg3, -1\n store i64 %1, i64* %rax.3.reg2mem\n br i1 %2, label LBL_17, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %arg2, 4294967295\n %5 = icmp ult i64 %4, 4\n store i64 0, i64* %.reg2mem\n store i8 0, i8* %sv_0.122.reg2mem\n store i8 0, i8* %sv_1.121.reg2mem\n store i32 0, i32* %sv_2.019.reg2mem\n store i64 %4, i64* %rax.3.reg2mem\n br i1 %5, label LBL_17, label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %6 = add i64 %.reload, %3\n %7 = add i64 %6, 2\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = zext i16 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = urem i64 %11, 65536\n %13 = add nuw nsw i64 %.reload, 4\n %14 = add nuw nsw i64 %13, %12\n %15 = icmp ugt i64 %14, %4\n store i64 %4, i64* %rax.3.reg2mem\n br i1 %15, label LBL_17, label LBL_3\n LBL_3:\n %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem\n %sv_0.122.reload = load i8, i8* %sv_0.122.reg2mem\n %16 = trunc i64 %11 to i32\n %sext5 = mul i32 %16, 65536\n %17 = ashr exact i32 %sext5, 16\n %18 = inttoptr i64 %6 to i16*\n %19 = load i16, i16* %18, align 2\n %20 = icmp eq i16 %19, 1\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = trunc i32 %sv_2.019.reload to i8\n store i8 %22, i8* %sv_1.0.reg2mem\n store i8 %sv_0.122.reload, i8* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %sv_1.121.reload = load i8, i8* %sv_1.121.reg2mem\n %23 = icmp eq i16 %19, 2\n %24 = icmp eq i1 %23, false\n store i8 %sv_1.121.reload, i8* %sv_1.0.reg2mem\n store i8 %sv_0.122.reload, i8* %sv_0.0.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = trunc i32 %17 to i16\n %26 = icmp eq i16 %25, 2\n %27 = icmp eq i1 %26, false\n %28 = trunc i32 %sv_2.019.reload to i8\n %spec.select = select i1 %27, i8 %sv_0.122.reload, i8 %28\n store i8 %sv_1.121.reload, i8* %sv_1.0.reg2mem\n store i8 %spec.select, 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 %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %29 = icmp ne i8 %sv_1.0.reload, 0\n %30 = icmp eq i8 %sv_0.0.reload, 0\n %31 = icmp eq i1 %30, false\n %or.cond = icmp eq i1 %29, %31\n br i1 %or.cond, label LBL_10, label LBL_8\n LBL_8:\n %32 = urem i32 %17, 65536\n %33 = add i32 %sv_2.019.reload, 4\n %34 = add i32 %33, %32\n %35 = zext i32 %34 to i64\n %36 = add nuw nsw i64 %35, 4\n %37 = icmp ugt i64 %36, %4\n store i64 %35, i64* %.reg2mem\n store i8 %sv_0.0.reload, i8* %sv_0.122.reg2mem\n store i8 %sv_1.0.reload, i8* %sv_1.121.reg2mem\n store i32 %34, i32* %sv_2.019.reg2mem\n br i1 %37, label LBL_9, label LBL_2\n LBL_9:\n %38 = icmp eq i8 %sv_1.0.reload, 0\n store i64 %4, i64* %rax.2.reg2mem\n br i1 %38, label LBL_15, label LBL_10\n LBL_10:\n %39 = zext i8 %sv_1.0.reload to i64\n %40 = add i64 %39, %3\n %41 = add i64 %40, 2\n %42 = inttoptr i64 %41 to i16*\n %43 = load i16, i16* %42, align 2\n %44 = zext i16 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n %46 = urem i64 %45, 65536\n %47 = icmp eq i64 %46, 0\n store i64 0, i64* %rax.2.reg2mem\n br i1 %47, label LBL_15, label LBL_11\n LBL_11:\n %48 = add i64 %40, 4\n store i64 0, i64* %.reg2mem50\n store i32 0, i32* %storemerge18.reg2mem\n br label LBL_12\n LBL_12:\n %.reload51 = load i64, i64* %.reg2mem50\n %49 = add i64 %48, %.reload51\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = icmp eq i8 %51, 1\n %53 = icmp eq i1 %52, false\n %54 = add i64 %49, 1\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = zext i8 %56 to i32\n br i1 %53, label LBL_14, label LBL_13\n LBL_13:\n %58 = add i64 %49, 2\n %59 = zext i8 %arg3 to i32\n %60 = inttoptr i64 %58 to i64*\n %61 = call i64* @memset(i64* %60, i32 %59, i32 %57)\n %62 = ptrtoint i64* %61 to i64\n store i64 %62, i64* %rax.3.reg2mem\n br i1 %30, label LBL_17, label LBL_16\n LBL_14:\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %63 = add i32 %storemerge18.reload, %57\n %64 = sext i32 %63 to i64\n %65 = icmp sgt i64 %46, %64\n store i64 %64, i64* %.reg2mem50\n store i32 %63, i32* %storemerge18.reg2mem\n store i64 %46, i64* %rax.2.reg2mem\n br i1 %65, label LBL_12, label LBL_15\n LBL_15:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n store i64 %rax.2.reload, i64* %rax.3.reg2mem\n br i1 %30, label LBL_17, label LBL_16\n LBL_16:\n %66 = zext i8 %sv_0.0.reload to i64\n %67 = add i64 %66, %3\n %68 = add i64 %67, 4\n %69 = inttoptr i64 %68 to i8*\n store i8 1, i8* %69, align 1\n %70 = add i64 %67, 5\n %71 = inttoptr i64 %70 to i8*\n store i8 %arg3, i8* %71, align 1\n store i64 %67, i64* %rax.3.reg2mem\n br label LBL_17\n LBL_17:\n %rax.3.reload = load i64, i64* %rax.3.reg2mem\n ret i64 %rax.3.reload\n\n uselistorder i32 %57, { 1, 0 }\n uselistorder i8 %sv_1.0.reload, { 2, 1, 3, 0 }\n uselistorder i8 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i8 %sv_0.122.reload, { 2, 1, 0 }\n uselistorder i32 %sv_2.019.reload, { 2, 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %4, { 2, 5, 0, 4, 1, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_0.122.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_1.121.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.019.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i8* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem50, { 1, 0, 2 }\n uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.3.reg2mem, { 0, 4, 5, 2, 1, 3, 6 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i8 0, { 3, 2, 4, 0, 1 }\n uselistorder i64 4, { 3, 2, 4, 1, 0 }\n uselistorder i8 %arg3, { 1, 0, 2, 3 }\n uselistorder label LBL_17, { 4, 5, 1, 0, 2, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ffio_ensure_seekback_433", "fun_name": "ffio_ensure_seekback", "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 %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 = add i64 %2, 32\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %.op = mul i64 %1, 4294967296\n %.op.op = ashr exact i64 %.op, 32\n %18 = select i1 %4, i64 4096, i64 %.op.op\n %19 = add i64 %18, %arg2\n %20 = sub i64 %19, %10\n %21 = add i64 %20, %17\n %sext = mul i64 %11, 4294967296\n %22 = ashr exact i64 %sext, 32\n %23 = icmp slt i64 %21, %22\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_1\n LBL_1:\n %24 = add i64 %2, 48\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_2\n LBL_2:\n %29 = add i64 %2, 44\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 store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_3, label LBL_6\n LBL_3:\n %34 = add i64 %2, 40\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n %38 = zext i1 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = call i64 @FUNC(i64 %21)\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %42, label LBL_4, label LBL_6\n LBL_4:\n %43 = trunc i64 %11 to i32\n %44 = icmp eq i64 %14, 0\n %45 = sub i64 %14, %10\n %spec.select = select i1 %44, i64 -1, i64 %45\n %46 = load i64, i64* %9, align 8\n %47 = inttoptr i64 %40 to i64*\n %48 = inttoptr i64 %46 to i64*\n %49 = call i64* @memcpy(i64* %47, i64* %48, i32 %43)\n %50 = load i64, i64* %9, align 8\n %51 = call i64 @FUNC(i64 %50)\n %52 = load i64, i64* %16, align 8\n %53 = load i64, i64* %9, align 8\n %54 = add i64 %52, %40\n %55 = sub i64 %54, %53\n store i64 %55, i64* %16, align 8\n %56 = load i64, i64* %6, align 8\n %57 = load i64, i64* %9, align 8\n %58 = add i64 %56, %40\n %59 = sub i64 %58, %57\n store i64 %59, i64* %6, align 8\n store i64 %40, i64* %9, align 8\n %60 = trunc i64 %21 to i32\n %61 = add i64 %2, 52\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = icmp slt i64 %spec.select, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %63, label LBL_6, label LBL_5\n LBL_5:\n %64 = load i64, i64* %9, align 8\n %65 = add i64 %64, %spec.select\n store i64 %65, i64* %13, 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 %40, { 2, 0, 1, 3, 4 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64* %9, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i64* %6, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 3, 2, 1, 4, 5, 7, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 6, 5, 4 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0, 2, 5, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_header_tga_9313", "fun_name": "read_header_tga", "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 %rsi = 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 = load i32, i32* %0\n %5 = load i32, i32* %0\n %6 = load i32, i32* %0\n %7 = load i32, i32* %0\n %8 = load i32, i32* %0\n %9 = load i32, i32* %0\n %10 = load i32, i32* %0\n %11 = load i32, i32* %0\n %12 = load i32, i32* %0\n %13 = load i32, i32* %0\n %14 = load i32, i32* %0\n %sv_0 = alloca i8, align 1\n %15 = bitcast i8* %sv_0 to i64*\n %16 = call i64 @FUNC(i64* nonnull %15, i64 18, i64 %1)\n %17 = trunc i64 %16 to i32\n %18 = icmp sgt i32 %17, 17\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %20 = ptrtoint i64* %arg2 to i64\n %21 = load i8, i8* %sv_0, align 1\n %22 = bitcast i64* %arg2 to i8*\n store i8 %21, i8* %22, align 1\n %23 = add i64 %20, 1\n %24 = inttoptr i64 %23 to i8*\n %25 = add i64 %20, 2\n %26 = inttoptr i64 %25 to i8*\n %27 = mul i32 %13, 256\n %28 = urem i32 %14, 256\n %29 = or i32 %28, %27\n %30 = trunc i32 %29 to i16\n %31 = add i64 %20, 4\n %32 = inttoptr i64 %31 to i16*\n store i16 %30, i16* %32, align 2\n %33 = mul i32 %11, 256\n %34 = urem i32 %12, 256\n %35 = or i32 %34, %33\n %36 = trunc i32 %35 to i16\n %37 = add i64 %20, 6\n %38 = inttoptr i64 %37 to i16*\n store i16 %36, i16* %38, align 2\n %39 = add i64 %20, 8\n %40 = inttoptr i64 %39 to i8*\n %41 = mul i32 %9, 256\n %42 = urem i32 %10, 256\n %43 = or i32 %42, %41\n %44 = trunc i32 %43 to i16\n %45 = add i64 %20, 10\n %46 = inttoptr i64 %45 to i16*\n store i16 %44, i16* %46, align 2\n %47 = mul i32 %7, 256\n %48 = urem i32 %8, 256\n %49 = or i32 %48, %47\n %50 = trunc i32 %49 to i16\n %51 = add i64 %20, 12\n %52 = inttoptr i64 %51 to i16*\n store i16 %50, i16* %52, align 2\n %53 = mul i32 %5, 256\n %54 = urem i32 %6, 256\n %55 = or i32 %54, %53\n %56 = trunc i32 %55 to i16\n %57 = add i64 %20, 14\n %58 = inttoptr i64 %57 to i16*\n store i16 %56, i16* %58, align 2\n %59 = mul i32 %3, 256\n %60 = urem i32 %4, 256\n %61 = or i32 %60, %59\n %62 = trunc i32 %61 to i16\n %63 = add i64 %20, 16\n %64 = inttoptr i64 %63 to i16*\n store i16 %62, i16* %64, align 2\n %65 = add i64 %20, 18\n %66 = inttoptr i64 %65 to i8*\n %67 = trunc i32 %2 to i8\n %68 = urem i8 %67, 16\n %69 = add i64 %20, 19\n %70 = inttoptr i64 %69 to i8*\n store i8 %68, i8* %70, align 1\n %71 = udiv i32 %2, 16\n %72 = urem i32 %71, 2\n %73 = add i64 %20, 20\n %74 = inttoptr i64 %73 to i32*\n store i32 %72, i32* %74, align 4\n %75 = and i32 %2, 32\n %76 = icmp eq i32 %75, 0\n %77 = zext i1 %76 to i32\n %78 = add i64 %20, 24\n %79 = inttoptr i64 %78 to i32*\n store i32 %77, i32* %79, align 4\n %80 = load i8, i8* %66, align 1\n %81 = icmp eq i8 %80, 24\n %.pre.pre = load i8, i8* %70, align 1\n %82 = icmp eq i8 %.pre.pre, 0\n %or.cond16 = icmp eq i1 %81, %82\n br i1 %or.cond16, label LBL_5, label LBL_3\n LBL_3:\n %83 = icmp eq i8 %80, 32\n %84 = icmp eq i8 %.pre.pre, 8\n %or.cond = icmp eq i1 %83, %84\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %85 = zext i8 %.pre.pre to i64\n %86 = zext i8 %80 to i64\n %87 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 %86, i64 %85)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %88 = add i64 %20, 32\n %89 = inttoptr i64 %88 to i64*\n store i64 0, i64* %89, align 8\n %90 = bitcast i64* %rsi to i8*\n %91 = load i8, i8* %90, align 8\n %92 = icmp eq i8 %91, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %92, label LBL_8, label LBL_6\n LBL_6:\n %93 = zext i8 %91 to i64\n %94 = call i64 @FUNC(i64 %93)\n store i64 %94, i64* %89, align 8\n %95 = icmp eq i64 %94, 0\n %96 = icmp eq i1 %95, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %96, label LBL_7, label LBL_8\n LBL_7:\n %97 = load i8, i8* %90, align 8\n %98 = zext i8 %97 to i64\n %99 = inttoptr i64 %94 to i64*\n %100 = call i64 @FUNC(i64* %99, i64 %98, i64 %1)\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 %94, { 1, 0, 2 }\n uselistorder i32 %2, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 5, 4 }\n uselistorder i32* %0, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder i32 256, { 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 11, 5 }\n uselistorder i64 1, { 1, 0, 2, 3 }\n uselistorder i64 0, { 7, 8, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 (i64*, i64, i64)* @gdGetBuf, { 1, 0 }\n uselistorder i64 18, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "skb_copy_8371", "fun_name": "skb_copy", "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 = call i64 @FUNC(i64 %2)\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 = add i32 %8, %5\n %10 = call i64 @FUNC(i64 %2)\n %11 = and i64 %10, 4294967295\n %12 = zext i32 %9 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %arg2, i64 %11, i64 0)\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_4\n LBL_1:\n %16 = and i64 %3, 4294967295\n %17 = call i64 @FUNC(i64 %13, i64 %16)\n %18 = and i64 %1, 4294967295\n %19 = call i64 @FUNC(i64 %13, i64 %18)\n %20 = add i64 %3, %1\n %21 = and i64 %20, 4294967295\n %22 = add i64 %13, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = sub i64 0, %3\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %2, i64 %26, i64 %24, i64 %21)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n %30 = call i64 @FUNC()\n unreachable\n LBL_3:\n %31 = call i64 @FUNC(i64 %13, i64 %2)\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 %13, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 5, 2, 3, 6, 7, 1, 0, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "relay_file_read_start_pos_6905", "fun_name": "relay_file_read_start_pos", "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, 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 = mul i64 %3, %0\n %8 = urem i64 %6, %7\n %9 = udiv i64 %8, %0\n %10 = mul i64 %9, 8\n %11 = add i64 %0, 24\n %12 = add i64 %11, %10\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %9, 1\n %16 = mul i64 %15, %0\n %17 = sub i64 %16, %14\n %18 = icmp ult i64 %8, %17\n %19 = icmp ult i64 %8, %16\n %20 = icmp eq i1 %19, false\n %or.cond = or i1 %18, %20\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %21 = urem i64 %15, %3\n %22 = mul i64 %21, %0\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 %15, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %8, { 0, 1, 3, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 4, 2, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rxrpc_destroy_s_13361", "fun_name": "rxrpc_destroy_s", "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 %spec.select = select i1 %4, i64 0, i64 %0\n ret i64 %spec.select\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "msPostGISCreateLayerInfo_8644", "fun_name": "msPostGISCreateLayerInfo", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 72)\n %1 = inttoptr i64 %0 to i64*\n store i64 0, i64* %1, 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 = 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 = add i64 %0, 56\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %0, 60\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 64\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 68\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "use_goto_tb_386", "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 = call i64 @FUNC(i64 %13)\n %15 = urem i64 %14, 2\n %16 = icmp eq i64 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %17 = load i64, i64* %12, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = xor i64 %19, %arg3\n %21 = icmp ult i64 %20, 4096\n %. = zext i1 %21 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": "0" }, { "dataset": "CompRealVul", "file": "object_initialize_4132", "fun_name": "object_initialize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg3)\n %1 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdm2_fft_decode_tones_7734", "fun_name": "qdm2_fft_decode_tones", "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 i32\n %storemerge7.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.2.reg2mem = alloca i32\n %sv_4.3.reg2mem = alloca i32\n %sv_5.3.reg2mem = alloca i32\n %sv_5.221.reg2mem = alloca i32\n %sv_4.222.reg2mem = alloca i32\n %sv_3.123.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %sv_3.0.lcssa.reg2mem = alloca i32\n %sv_4.1.lcssa.reg2mem = alloca i32\n %sv_5.1.lcssa.reg2mem = alloca i32\n %sv_5.116.reg2mem = alloca i32\n %sv_4.117.reg2mem = alloca i32\n %.reg2mem47 = alloca i32\n %storemerge5.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %.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_6 = alloca i64, align 8\n %4 = ptrtoint i64* %sv_6 to i64\n %5 = trunc i64 %arg2 to i32\n store i64 %2, i64* %sv_6, align 8\n %6 = sub i32 4, %5\n %7 = trunc i64 %1 to i32\n %8 = xor i32 %5, 31\n %9 = add i32 %8, %7\n %10 = urem i32 %9, 32\n %11 = shl i32 1, %10\n %12 = add i64 %3, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = sext i32 %6 to i64\n %15 = mul i64 %14, 4\n %16 = add i64 %15, ptrtoint (i64* @gv_0 to i64)\n %17 = urem i32 %6, 32\n %18 = shl i32 1, %17\n %19 = mul i32 %11, 8\n %20 = shl i32 8, %17\n %21 = add i32 %11, -1\n %22 = zext i32 %21 to i64\n %23 = sub i32 2, %11\n %24 = add i64 %3, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %3, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = trunc i64 %arg4 to i32\n %29 = icmp eq i32 %28, 0\n %. = select i1 %29, i64 ptrtoint (i64* @gv_1 to i64), i64 ptrtoint (i64* @gv_2 to i64)\n %30 = add i64 %3, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = add i64 %3, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = add i64 %4, -8\n %35 = inttoptr i64 %34 to i64*\n store i64 %2, i64* %.reg2mem\n store i32 0, i32* %sv_5.0.reg2mem\n store i32 0, i32* %sv_4.0.reg2mem\n store i32 1, i32* %storemerge5.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge5.reload = load i32, i32* %storemerge5.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 %.reload = load i64, i64* %.reg2mem\n %36 = load i32, i32* %13, align 4\n %37 = icmp eq i32 %36, 0\n %38 = call i64 @FUNC(i64 %.reload, i64 %16, i64 1, i64 2)\n %39 = trunc i64 %38 to i32\n br i1 %37, label LBL_5, label LBL_2\n LBL_2:\n %40 = icmp slt i32 %39, 2\n store i32 %39, i32* %.reg2mem47\n store i32 %sv_4.0.reload, i32* %sv_4.117.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.116.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 i32 %storemerge5.reload, i32* %sv_3.0.lcssa.reg2mem\n store i32 %39, i32* %.lcssa.reg2mem\n br i1 %40, label LBL_3, label LBL_4\n LBL_3:\n %sv_5.116.reload = load i32, i32* %sv_5.116.reg2mem\n %sv_4.117.reload = load i32, i32* %sv_4.117.reg2mem\n %.reload48 = load i32, i32* %.reg2mem47\n %41 = icmp eq i32 %.reload48, 0\n %42 = icmp eq i1 %41, false\n %spec.select34 = select i1 %42, i32 %19, i32 %11\n %spec.select35 = select i1 %42, i32 %20, i32 %18\n %sv_4.1.be = add i32 %spec.select35, %sv_4.117.reload\n %sv_5.1.be = add i32 %spec.select34, %sv_5.116.reload\n %43 = load i64, i64* %sv_6, align 8\n %44 = call i64 @FUNC(i64 %43, i64 %16, i64 1, i64 2)\n %45 = trunc i64 %44 to i32\n %46 = icmp slt i32 %45, 2\n store i32 %45, i32* %.reg2mem47\n store i32 %sv_4.1.be, i32* %sv_4.117.reg2mem\n store i32 %sv_5.1.be, i32* %sv_5.116.reg2mem\n store i32 %sv_5.1.be, i32* %sv_5.1.lcssa.reg2mem\n store i32 %sv_4.1.be, i32* %sv_4.1.lcssa.reg2mem\n store i32 1, i32* %sv_3.0.lcssa.reg2mem\n store i32 %45, i32* %.lcssa.reg2mem\n br i1 %46, label LBL_3, label LBL_4\n LBL_4:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem\n %sv_4.1.lcssa.reload = load i32, i32* %sv_4.1.lcssa.reg2mem\n %sv_5.1.lcssa.reload = load i32, i32* %sv_5.1.lcssa.reg2mem\n %47 = add i32 %sv_3.0.lcssa.reload, -2\n %48 = add i32 %47, %.lcssa.reload\n store i32 %sv_5.1.lcssa.reload, i32* %sv_5.3.reg2mem\n store i32 %sv_4.1.lcssa.reload, i32* %sv_4.3.reg2mem\n store i32 %48, i32* %sv_3.2.reg2mem\n br label LBL_7\n LBL_5:\n %49 = add i32 %storemerge5.reload, %39\n %50 = sext i32 %49 to i64\n %51 = icmp slt i64 %50, %22\n store i32 %49, i32* %sv_3.123.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.222.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.221.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.3.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.3.reg2mem\n store i32 %49, i32* %sv_3.2.reg2mem\n br i1 %51, label LBL_7, label LBL_6\n LBL_6:\n %sv_5.221.reload = load i32, i32* %sv_5.221.reg2mem\n %sv_4.222.reload = load i32, i32* %sv_4.222.reg2mem\n %sv_3.123.reload = load i32, i32* %sv_3.123.reg2mem\n %52 = add i32 %sv_3.123.reload, %23\n %53 = add i32 %sv_5.221.reload, %11\n %54 = add i32 %sv_4.222.reload, %18\n %55 = sext i32 %52 to i64\n %56 = icmp slt i64 %55, %22\n store i32 %52, i32* %sv_3.123.reg2mem\n store i32 %54, i32* %sv_4.222.reg2mem\n store i32 %53, i32* %sv_5.221.reg2mem\n store i32 %53, i32* %sv_5.3.reg2mem\n store i32 %54, i32* %sv_4.3.reg2mem\n store i32 %52, i32* %sv_3.2.reg2mem\n br i1 %56, label LBL_7, label LBL_6\n LBL_7:\n %sv_5.3.reload = load i32, i32* %sv_5.3.reg2mem\n %57 = load i32, i32* %25, align 4\n %58 = zext i32 %57 to i64\n %59 = sext i32 %sv_5.3.reload to i64\n %60 = icmp slt i64 %59, %58\n br i1 %60, label LBL_8, label LBL_16\n LBL_8:\n %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem\n %sv_4.3.reload = load i32, i32* %sv_4.3.reg2mem\n %61 = load i32, i32* %27, align 4\n %62 = icmp slt i32 %61, 2\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 0, i32* %storemerge7.reg2mem\n br i1 %62, label LBL_10, label LBL_9\n LBL_9:\n %63 = load i64, i64* %sv_6, align 8\n %64 = call i64 @FUNC(i64 %63)\n %65 = trunc i64 %64 to i32\n %66 = load i64, i64* %sv_6, align 8\n %67 = call i64 @FUNC(i64 %66)\n %68 = trunc i64 %67 to i32\n store i32 %65, i32* %sv_2.0.reg2mem\n store i32 %68, i32* %storemerge7.reg2mem\n br label LBL_10\n LBL_10:\n %69 = ashr i32 %sv_3.2.reload, %17\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %70 = load i64, i64* %sv_6, align 8\n %71 = call i64 @FUNC(i64 %70, i64 %., i64 0, i64 2)\n %72 = trunc i64 %71 to i32\n %73 = load i64, i64* %31, align 8\n %74 = sext i32 %69 to i64\n %75 = mul i64 %74, 4\n %76 = add i64 %75, ptrtoint (i32** @gv_3 to i64)\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, %73\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = add i32 %83, %72\n %85 = icmp sgt i32 %84, 0\n %86 = select i1 %85, i32 %84, i32 0\n %87 = load i64, i64* %sv_6, align 8\n %88 = call i64 @FUNC(i64 %87, i64 3)\n %89 = icmp eq i32 %storemerge7.reload, 0\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %89, label LBL_12, label LBL_11\n LBL_11:\n %90 = trunc i64 %88 to i32\n %91 = load i64, i64* %sv_6, align 8\n %92 = call i64 @FUNC(i64 %91, i64 ptrtoint (i32* @gv_4 to i64), i64 0, i64 1)\n %93 = trunc i64 %92 to i32\n %94 = sub i32 %86, %93\n %95 = load i64, i64* %sv_6, align 8\n %96 = call i64 @FUNC(i64 %95, i64 4211812, i64 0, i64 1)\n %97 = trunc i64 %96 to i32\n %98 = sub i32 %90, %97\n %99 = icmp slt i32 %98, 0\n %100 = icmp eq i1 %99, false\n %101 = add i32 %98, 8\n %spec.select = select i1 %100, i32 %98, i32 %101\n store i32 %94, i32* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %102 = load i32, i32* %33, align 4\n %103 = add i32 %69, 1\n %104 = icmp ugt i32 %102, %103\n br i1 %104, label LBL_13, label LBL_15\n LBL_13:\n %105 = add i32 %sv_4.3.reload, 2\n %106 = and i64 %88, 4294967295\n store i64 %106, i64* %35, align 8\n %107 = call i64 @FUNC(i64 %3, i32 %105, i32 %sv_3.2.reload, i32 %5, i32 %sv_2.0.reload, i32 %86)\n br i1 %89, label LBL_15, label LBL_14\n LBL_14:\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 %108 = sub i32 1, %sv_2.0.reload\n %109 = zext i32 %sv_0.0.reload to i64\n store i64 %109, i64* %35, align 8\n %110 = call i64 @FUNC(i64 %3, i32 %105, i32 %sv_3.2.reload, i32 %5, i32 %108, i32 %sv_1.0.reload)\n br label LBL_15\n LBL_15:\n %111 = add i32 %sv_3.2.reload, 1\n %.pre = load i64, i64* %sv_6, align 8\n store i64 %.pre, i64* %.reg2mem\n store i32 %sv_5.3.reload, i32* %sv_5.0.reg2mem\n store i32 %sv_4.3.reload, i32* %sv_4.0.reg2mem\n store i32 %111, i32* %storemerge5.reg2mem\n br label LBL_1\n LBL_16:\n ret i64 %58\n\n uselistorder i32 %86, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_4.3.reload, { 1, 0 }\n uselistorder i32 %sv_3.2.reload, { 2, 3, 1, 0 }\n uselistorder i32 %sv_5.3.reload, { 1, 0 }\n uselistorder i32 %39, { 2, 0, 1, 3 }\n uselistorder i32 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i32 %17, { 2, 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i32 %11, { 1, 2, 3, 4, 0 }\n uselistorder i32 %5, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem47, { 2, 0, 1 }\n uselistorder i32* %sv_4.117.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.116.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.123.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.222.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.221.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i32, i32, i32, i32, i32)* @qdm2_fft_init_coefficient, { 1, 0 }\n uselistorder i64 (i64)* @get_bits1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @qdm2_get_vlc, { 4, 3, 2, 0, 1 }\n uselistorder i32 0, { 9, 0, 1, 10, 6, 7, 2, 3, 12, 13, 4, 5, 11, 8 }\n uselistorder i32 2, { 2, 3, 4, 1, 0 }\n uselistorder i32 8, { 2, 1, 0 }\n uselistorder i64 4, { 0, 1, 3, 2 }\n uselistorder label LBL_15, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "source_config_props_17008", "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 = inttoptr i64 %18 to i64*\n store i64 %21, i64* %22, align 8\n %23 = icmp eq i32 %20, 0\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 %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 %26 = add i64 %2, 32\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %2, i64 %28)\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 %2, { 1, 2, 0, 3, 4, 5, 6, 7 }\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": "1" }, { "dataset": "CompRealVul", "file": "drxj_dap_scu_atomic_read_reg16_4574", "fun_name": "drxj_dap_scu_atomic_read_reg16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %sv_0 = alloca i32, align 4\n %2 = icmp eq i64* %arg3, null\n %3 = icmp eq i1 %2, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i32 %arg2, i64 2, i64* nonnull %5, i64 1)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %6, i64* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = load i32, i32* %sv_0, align 4\n %11 = mul i32 %1, 256\n %12 = urem i32 %10, 256\n %13 = or i32 %12, %11\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 %6, i64* %rax.0.shrunk.reg2mem\n br label LBL_3\n LBL_3:\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 %6, { 1, 0, 2 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 256, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsc_stream_initialize_7265", "fun_name": "nsc_stream_initialize", "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 %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 %1, i64 %0, i64 20)\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* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = add i64 %1, 8\n store i64 0, i64* %storemerge13.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 %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %9 = mul i64 %storemerge13.reload, 4\n %10 = add i64 %8, %9\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 %0, i64 %13)\n %15 = load i32, i32* %11, align 4\n %16 = zext i32 %15 to i64\n %17 = add i64 %sv_0.02.reload, %16\n %18 = add nuw nsw i64 %storemerge13.reload, 1\n %exitcond = icmp eq i64 %18, 4\n store i64 %18, i64* %storemerge13.reg2mem\n store i64 %17, i64* %sv_0.02.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %19 = add i64 %1, 24\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = zext i8 %21 to i64\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n %24 = add i64 %1, 25\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = zext i8 %26 to i64\n %28 = call i64 @FUNC(i64 %0, i64 %27)\n %29 = call i64 @FUNC(i64 %0, i64 2)\n %30 = call i64 @FUNC(i64 %0)\n %31 = add i64 %1, 32\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = add i64 %1, 40\n %34 = inttoptr i64 %33 to i64*\n store i64 %17, i64* %34, align 8\n %35 = call i64 @FUNC(i64 %0, i64 %0, i64 %17)\n store i64 %35, 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 %17, { 1, 2, 0 }\n uselistorder i64 %1, { 0, 1, 2, 4, 3, 5, 6, 7 }\n uselistorder i64 %0, { 0, 3, 4, 2, 1, 5, 6, 7 }\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, 1 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @Stream_CheckAndLogRequiredLengthWLog, { 1, 0 }\n uselistorder i64 (i64)* @WINPR_ASSERT, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opj_tcd_code_block_enc_allocate_data_13583", "fun_name": "opj_tcd_code_block_enc_allocate_data", "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 = trunc i64 %1 to i32\n %7 = sub i32 %5, %6\n %8 = add i64 %2, 12\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 i32*\n %13 = load i32, i32* %12, align 4\n %14 = sub i32 %10, %13\n %15 = mul i32 %7, 4\n %16 = mul i32 %14, %15\n %17 = or i32 %16, 2\n %18 = add i64 %2, 16\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 1, i64* %storemerge.reg2mem\n br i1 %21, label LBL_1, label LBL_6\n LBL_1:\n %22 = add i64 %2, 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_3, label LBL_2\n LBL_2:\n %26 = add i64 %24, -1\n %27 = call i64 @FUNC(i64 %26)\n br label LBL_3\n LBL_3:\n %28 = or i32 %16, 3\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n store i64 %30, i64* %23, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_5, label LBL_4\n LBL_4:\n store i32 0, i32* %19, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n store i32 %17, i32* %19, align 4\n %33 = load i64, i64* %23, align 8\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = load i64, i64* %23, align 8\n %36 = add i64 %35, 1\n store i64 %36, i64* %23, align 8\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* %23, { 1, 0, 2, 3, 4 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder label LBL_6, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ttusbdecfe_dvbs_attach_9109", "fun_name": "ttusbdecfe_dvbs_attach", "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 24, 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 %4 = inttoptr i64 %0 to i64*\n store i64 %3, i64* %4, align 8\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, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %0, i64* %10, align 8\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 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ntb_netdev_open_4866", "fun_name": "ntb_netdev_open", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) 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 i64\n %storemerge25.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 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %1, 14\n %6 = and i64 %5, 4294967295\n store i32 0, i32* %storemerge25.reg2mem\n br label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 %6)\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_6\n LBL_2:\n %10 = inttoptr i64 %7 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = load i64, i64* %4, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %7, i64 %11, i64 %6)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, -22\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 %7)\n %phitmp = and i64 %13, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %18 = add nuw nsw i32 %storemerge25.reload, 1\n %19 = icmp ult i32 %18, 10\n store i32 %18, i32* %storemerge25.reg2mem\n br i1 %19, label LBL_1, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %2)\n %21 = load i64, i64* %4, align 8\n %22 = call i64 @FUNC(i64 %21)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = load i64, i64* %4, align 8\n %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_1)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %24, i64* %.reg2mem\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %26, label LBL_7, label LBL_8\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %27 = call i64 @FUNC(i64 %.reload)\n %28 = load i64, i64* %4, align 8\n %29 = call i64 @FUNC(i64 %28, i64* nonnull %sv_1)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %29, i64* %.reg2mem\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %31, label LBL_7, label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 0, 2, 1, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %4, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64*)* @ntb_transport_rx_remove, { 1, 0 }\n uselistorder i64 (i64)* @dev_kfree_skb, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfcomm_tty_chars_in_buffer_10125", "fun_name": "rfcomm_tty_chars_in_buffer", "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 ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %0)\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 add (i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 4))\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i64 0, i64 zext (i32 trunc (i64 add (i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 4) to i32) to i64)\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder [14 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kq_dealloc_5155", "fun_name": "kq_dealloc", "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 = icmp eq i64 %arg2, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %arg2 to i64*\n call void @free(i64* %3)\n br label LBL_2\n LBL_2:\n %4 = add i64 %arg2, 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_3\n LBL_3:\n %8 = inttoptr i64 %6 to i64*\n call void @free(i64* %8)\n br label LBL_4\n LBL_4:\n %9 = add i64 %arg2, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp slt i32 %11, 0\n br i1 %12, label LBL_7, label LBL_5\n LBL_5:\n %13 = add i64 %arg2, 20\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = call i32 @getpid()\n %17 = icmp eq i32 %15, %16\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = load i32, i32* %10, align 4\n %20 = call i32 @close(i32 %19)\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, 3, 2, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcg_handle_interrupt_14901", "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 = 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 = 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 br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %2)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %11 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i16*\n store i16 -1, i16* %14, align 2\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 = icmp eq i32 %17, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_4\n LBL_4:\n %21 = trunc i64 %arg2 to i32\n %22 = trunc i64 %1 to i32\n %23 = sub i32 0, %22\n %24 = sub i32 %23, 1\n %25 = and i32 %24, %21\n %26 = icmp eq i32 %25, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %27 = 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 %28 = add i64 %2, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, 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 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "irda_connect_response_10106", "fun_name": "irda_connect_response", "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 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 15, 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 i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %3, i64 15)\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 = zext i32 %12 to i64\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %3)\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 i32 (i8*, ...)* @printf, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_ctl_id_hash_19188", "fun_name": "get_ctl_id_hash", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem6 = alloca i8\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i64 %0, 31\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, %1\n %6 = mul i64 %5, 31\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 %6, %9\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n %15 = mul i64 %10, 31\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %15, i64* %.reg2mem\n store i8 %13, i8* %.reg2mem6\n store i64 %15, i64* %.lcssa.reg2mem\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %.reload7 = load i8, i8* %.reg2mem6\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = sext i8 %.reload7 to i64\n %17 = add i64 %.reload, %16\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %18 = add i64 %indvars.iv.next, %11\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp ne i8 %20, 0\n %22 = icmp ult i64 %indvars.iv.next, 32\n %or.cond = icmp eq i1 %22, %21\n %23 = mul i64 %17, 31\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %23, i64* %.reg2mem\n store i8 %20, i8* %.reg2mem6\n store i64 %23, i64* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %24 = add i64 %0, 56\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %26, %.lcssa.reload\n ret i64 %27\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 3, 4, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem6, { 2, 0, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 31, { 1, 0, 2, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_register_machine_2000", "fun_name": "qemu_register_machine", "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, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 0)\n store i64 %1, i64* %sv_0, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_0)\n %3 = call i64 @FUNC(i64 %1)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PacketGetFromQueueOrAlloc_9720", "fun_name": "PacketGetFromQueueOrAlloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.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()\n store i64 %3, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\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 ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wcsdup_4316", "fun_name": "wcsdup", "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 %1 = call i32 @wcslen(i32* %0)\n %2 = sext i32 %1 to i64\n %3 = add nsw i64 %2, 1\n %4 = call i64 @reallocarray(i64 0, i64 %3, i64 4)\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_1, label LBL_2\n LBL_1:\n %7 = inttoptr i64 %4 to i32*\n %8 = trunc i64 %3 to i32\n %9 = call i32* @wmemcpy(i32* %7, i32* %0, i32 %8)\n %10 = ptrtoint i32* %9 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": "usb_serial_handle_data_561", "fun_name": "usb_serial_handle_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdx.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 = ptrtoint i8* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %3, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %3, 24\n %9 = inttoptr i64 %8 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 %13, 1\n store i64 %3, i64* %.reg2mem\n store i64 %4, i64* %rdi.0.reg2mem\n br i1 %14, 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 ([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 store i64 ptrtoint ([56 x i8]* @gv_1 to i64), i64* %.reg2mem\n store i64 ptrtoint ([23 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem\n store i64 61, i64* %rdx.0.reg2mem\n store i64 ptrtoint ([17 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %15 = trunc i64 %3 to i8\n %16 = add i64 %3, 32\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n switch i32 %18, label LBL_13 [\n i32 0, label LBL_3\n i32 1, label LBL_5\n ]\n LBL_3:\n %19 = icmp eq i8 %15, 2\n %20 = icmp eq i1 %19, false\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_14, label LBL_4\n LBL_4:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %21 = call i64 @FUNC(i64 %rdi.0.reload, i64 %7, i32 %10)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_5:\n %22 = icmp eq i8 %15, 1\n %23 = icmp eq i1 %22, false\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_14, label LBL_6\n LBL_6:\n %24 = add i64 %4, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp sgt i32 %10, 2\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_7, label LBL_14\n LBL_7:\n %28 = call i64 @FUNC(i64 %4)\n %29 = trunc i64 %28 to i8\n %30 = add i64 %7, 1\n %31 = or i8 %29, 1\n %32 = inttoptr i64 %7 to i8*\n store i8 %31, i8* %32, align 1\n %33 = add i64 %4, 272\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 br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = and i32 %35, -2\n store i32 %38, i32* %34, align 4\n %39 = inttoptr i64 %30 to i8*\n store i8 1, i8* %39, align 1\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_9:\n %40 = inttoptr i64 %30 to i8*\n store i8 0, i8* %40, align 1\n %41 = add i32 %10, -2\n %42 = add i64 %4, 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 = sext i32 %41 to i64\n %47 = icmp sgt i64 %46, %45\n %spec.select = select i1 %47, i32 %44, i32 %41\n %48 = icmp eq i32 %spec.select, 0\n %49 = icmp eq i1 %48, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %49, label LBL_10, label LBL_14\n LBL_10:\n %50 = sub i32 256, %26\n %51 = add i64 %7, 2\n %52 = icmp sgt i32 %50, %spec.select\n %spec.select3 = select i1 %52, i32 %spec.select, i32 %50\n %53 = add i64 %4, 16\n %54 = load i32, i32* %25, align 4\n %55 = sext i32 %54 to i64\n %56 = add i64 %53, %55\n %57 = inttoptr i64 %51 to i64*\n %58 = inttoptr i64 %56 to i64*\n %59 = call i64* @memcpy(i64* %57, i64* %58, i32 %spec.select3)\n %60 = icmp sgt i32 %spec.select, %50\n br i1 %60, label LBL_11, label LBL_12\n LBL_11:\n %61 = sub i32 %spec.select, %spec.select3\n %62 = sext i32 %spec.select3 to i64\n %63 = add i64 %51, %62\n %64 = inttoptr i64 %63 to i64*\n %65 = inttoptr i64 %53 to i64*\n %66 = call i64* @memcpy(i64* %64, i64* %65, i32 %61)\n br label LBL_12\n LBL_12:\n %67 = load i32, i32* %43, align 4\n %68 = sub i32 %67, %spec.select\n store i32 %68, i32* %43, align 4\n %69 = load i32, i32* %25, align 4\n %70 = add i32 %69, %spec.select\n %71 = srem i32 %70, 256\n store i32 %71, i32* %25, align 4\n %72 = add i32 %spec.select, 2\n %phitmp = zext i32 %72 to i64\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 4294967294, 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 ret i64 %sv_0.0.reload\n\n uselistorder i64 %53, { 1, 0 }\n uselistorder i32 %spec.select3, { 2, 1, 0 }\n uselistorder i32 %spec.select, { 7, 0, 6, 5, 1, 2, 3, 4 }\n uselistorder i32* %43, { 1, 0, 2 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32* %25, { 1, 0, 2, 3 }\n uselistorder i8 %15, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 %3, { 2, 1, 0, 4, 3, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 7, 4, 6, 5, 3, 8, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i64 4294967294, { 0, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder [23 x i8]* @gv_2, { 1, 0 }\n uselistorder [56 x i8]* @gv_1, { 1, 0 }\n uselistorder [17 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_14, { 0, 5, 3, 6, 4, 2, 7, 1 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmos_ioport_read_2895", "fun_name": "cmos_ioport_read", "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 i8\n %0 = urem i64 %arg2, 2\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 255, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 9\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 8\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = zext i8 %6 to i64\n %9 = add i64 %8, %3\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n store i8 %11, i8* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_3:\n %12 = add i64 %3, 8\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = add i64 %3, 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 i8 0, i8* %13, align 1\n store i8 %14, i8* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.in.reload = load i8, i8* %sv_0.0.in.reg2mem\n %19 = zext i8 %sv_0.0.in.reload to i64\n store i64 %19, 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, 0, 3 }\n uselistorder i8* %sv_0.0.in.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": "wc_ecc_gen_k_7299", "fun_name": "wc_ecc_gen_k", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\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* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %2 = add i32 %arg2, 8\n %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i32 %2)\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_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i32 %2)\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 = icmp eq i32 %sv_0.0.reload, 0\n %10 = icmp eq i1 %9, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = ptrtoint i64* %arg4 to i64\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 1\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %0, i64 %11, i64 %0)\n %16 = trunc i64 %15 to i32\n store i32 %16, 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 %17 = icmp eq i32 %sv_0.1.reload, 0\n %18 = icmp eq i1 %17, false\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n %spec.select = select i1 %22, i32 %sv_0.1.reload, i32 -2\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %23 = call i64 @FUNC(i64* nonnull %sv_1, i64 32)\n %24 = zext i32 %sv_0.2.reload to i64\n ret i64 %24\n\n uselistorder i32 %sv_0.1.reload, { 2, 0, 1 }\n uselistorder i64 %0, { 4, 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "auth_master_run_cmd_4961", "fun_name": "auth_master_run_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 = 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 %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 %5)\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* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_11\n LBL_2:\n %13 = load i64, i64* @gv_0, align 8\n %14 = call i64 @FUNC(i64 %5)\n %15 = add i64 %5, 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 = add i64 %5, 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_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0, i64 %4, i64 %2, i64 %1)\n %25 = load i64, i64* %16, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n store i32 1, i32* %20, align 4\n br label LBL_4\n LBL_4:\n %27 = load i64, i64* %16, align 8\n %28 = call i64 @FUNC(i64 %27, i64 %arg2)\n %29 = load i64, i64* %16, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = load i64, i64* %16, 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_6, label LBL_5\n LBL_5:\n %35 = call i32* @__errno_location()\n %36 = load i32, i32* %32, align 4\n store i32 %36, i32* %35, align 4\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_7\n LBL_6:\n %38 = add i64 %5, 24\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n br label LBL_7\n LBL_7:\n %42 = icmp eq i64 %13, 0\n br i1 %42, label LBL_9, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %5, i64 %13)\n br label LBL_9\n LBL_9:\n %44 = add i64 %5, 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 0, i64* %rax.0.reg2mem\n br i1 %47, label LBL_11, label LBL_10\n LBL_10:\n store i32 0, i32* %45, align 4\n %48 = call i64 @FUNC(i64 %5)\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 i64* %16, { 1, 3, 2, 0, 4 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %5, { 2, 3, 1, 4, 7, 6, 5, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @o_stream_send_str, { 1, 0 }\n uselistorder i64 0, { 0, 11, 2, 3, 8, 4, 5, 6, 7, 1, 9, 10 }\n uselistorder label LBL_11, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsvFindChildFromVar_9490", "fun_name": "jsvFindChildFromVar", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.02.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* %sv_0.02.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %3 = call i64 @FUNC(i64 %sv_0.02.reload)\n %4 = call i64 @FUNC(i64 %3, i64 %arg2)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_5\n LBL_2:\n %7 = call i64 @FUNC(i64 %3)\n %8 = call i64 @FUNC(i64 %3)\n %9 = icmp eq i64 %7, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %sv_0.02.reg2mem\n br i1 %10, label LBL_1, label LBL_3\n LBL_3:\n %11 = icmp eq i8 %arg3, 0\n %12 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %12, %11\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %arg2)\n %14 = call i64 @FUNC(i64 %arg1, i64 %13)\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 %3, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_5, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vfio_msi_setup_1866", "fun_name": "vfio_msi_setup", "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 %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 = trunc i64 %arg2 to i32\n store i64 0, i64* %sv_1, align 8\n %4 = add i64 %2, 28\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i32 %6, %3\n %8 = trunc i64 %1 to i32\n %9 = call i32 @pread(i32 %8, i64* nonnull %sv_0, i32 2, i32 %7)\n %10 = icmp eq i32 %9, 2\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 store i32 %13, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_2:\n %14 = and i64 %arg2, 4294967295\n %15 = load i64, i64* %sv_0, align 8\n %16 = urem i64 %15, 65536\n %17 = call i64 @FUNC(i64 %16)\n %sext3 = mul i64 %17, 281474976710656\n %18 = ashr exact i64 %sext3, 48\n store i64 %18, i64* %sv_0, align 8\n %19 = udiv i64 %18, 32768\n %20 = trunc i64 %19 to i8\n %21 = urem i8 %20, 2\n %22 = and i64 %17, 16384\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n %25 = udiv i64 %18, 2\n %26 = trunc i64 %25 to i32\n %27 = urem i32 %26, 2\n %28 = shl i32 1, %27\n %29 = add i64 %2, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %14)\n %33 = add i64 %2, 16\n %34 = zext i1 %24 to i64\n %35 = call i64 @FUNC(i64 %33, i64 %14, i32 %28, i8 %21, i64 %34, 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_5, label LBL_3\n LBL_3:\n %39 = icmp eq i32 %36, -95\n %40 = icmp eq i1 %39, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %40, label LBL_4, label LBL_6\n LBL_4:\n %41 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n %42 = load i64, i64* %sv_1, align 8\n %43 = call i64 @FUNC(i64 %42)\n store i32 %36, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_5:\n %44 = icmp eq i1 %24, false\n %45 = mul i8 %21, 4\n %46 = select i1 %44, i32 10, i32 20\n %47 = zext i8 %45 to i32\n %48 = add nuw nsw i32 %46, %47\n %49 = add i64 %2, 24\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n store i32 0, 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 i64 %17, { 1, 0 }\n uselistorder i64* %sv_1, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_xhci_exit_8437", "fun_name": "usb_xhci_exit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge24.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 = call i64 @FUNC()\n %4 = load i32, i32* %2, align 4\n %5 = icmp eq i32 %4, 0\n store i32 0, i32* %storemerge24.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %6 = add i32 %storemerge24.reload, 1\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %1, i64 %7)\n %9 = load i32, i32* %2, align 4\n %10 = zext i32 %9 to i64\n %11 = sext i32 %6 to i64\n %12 = icmp slt i64 %11, %10\n store i32 %6, i32* %storemerge24.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n %13 = add i64 %1, 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 %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 br label LBL_4\n LBL_4:\n %20 = add i64 %1, 24\n %21 = add i64 %1, 16\n %22 = call i64 @FUNC(i64 %21, i64 %20)\n %23 = add i64 %1, 32\n %24 = call i64 @FUNC(i64 %21, i64 %23)\n %25 = add i64 %1, 40\n %26 = call i64 @FUNC(i64 %21, i64 %25)\n %27 = add i64 %1, 48\n %28 = call i64 @FUNC(i64 %21, i64 %27)\n %29 = add i64 %1, 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_7, label LBL_5\n LBL_5:\n %33 = add i64 %1, 56\n %34 = inttoptr i64 %33 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %35, %.reload\n %37 = call i64 @FUNC(i64 %21, i64 %36)\n %38 = add i32 %storemerge3.reload, 1\n %39 = load i32, i32* %30, 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 br i1 %42, label LBL_6, label LBL_7\n LBL_7:\n %43 = icmp eq i64 %21, 0\n br i1 %43, label LBL_11, label LBL_8\n LBL_8:\n %44 = add i64 %0, 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_11, label LBL_9\n LBL_9:\n %48 = add i64 %0, 16\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_11, label LBL_10\n LBL_10:\n %52 = call i64 @FUNC(i64 %0, i64 %21, i64 %21)\n br label LBL_11\n LBL_11:\n %53 = add i64 %1, 64\n %54 = call i64 @FUNC(i64 %53)\n ret i64 %54\n\n uselistorder i32* %30, { 1, 0 }\n uselistorder i64 %21, { 1, 2, 0, 3, 5, 4, 6, 7 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i64 %1, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @memory_region_del_subregion, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 4, 0, 2, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_raw_socket_5771", "fun_name": "get_raw_socket", "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 = alloca i32, align 4\n %0 = and i64 %arg1, 4294967295\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = icmp eq i64 %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 = inttoptr i64 %2 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, 1\n store i32 -2, i32* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = add i64 %6, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 2\n store i32 -3, i32* %storemerge.reg2mem\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* %sv_0, align 4\n %14 = call i64 @FUNC(i64 %2)\n %15 = load i32, i32* %sv_0, align 4\n %16 = sext i32 %15 to i64\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 %2, { 1, 0, 2, 3 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 1, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfbSendServerCutText_5698", "fun_name": "rfbSendServerCutText", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = zext i32 %arg3 to i64\n %6 = inttoptr i64 %arg2 to i32*\n store i64 %2, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %7 = inttoptr i64 %.reload to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 1\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n store i32 2, i32* %sv_0, align 4\n %10 = call i64 @FUNC(i64 %5)\n %11 = call i64 @FUNC(i64 %.reload, i32* nonnull %sv_0, i64 8)\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_6, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0))\n %16 = call i64 @FUNC(i64 %.reload)\n br label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %1)\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_2, label LBL_8\n LBL_6:\n %20 = call i64 @FUNC(i64 %.reload, i32* %6, i64 %5)\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_7\n LBL_7:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0))\n %25 = call i64 @FUNC(i64 %.reload)\n br label LBL_5\n LBL_8:\n %26 = call i64 @FUNC(i64 %1)\n ret i64 %26\n\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @rfbCloseClient, { 1, 0 }\n uselistorder i64 (i8*)* @rfbLogPerror, { 1, 0 }\n uselistorder i64 (i64, i32*, i64)* @WriteExact, { 1, 0 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder i64 (i64)* @rfbClientIteratorNext, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfc2047_decode_word_6708", "fun_name": "rfc2047_decode_word", "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_0.13.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_13, label LBL_1\n LBL_1:\n %3 = add i64 %arg2, %arg1\n store i64 0, i64* %sv_2, align 8\n %4 = icmp ugt i64 %3, %arg1\n store i64 %arg1, i64* %sv_0.13.reg2mem\n br i1 %4, label LBL_2, label LBL_12\n LBL_2:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %5 = inttoptr i64 %sv_0.13.reload to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 95\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* nonnull %sv_2, i64 32)\n store i64 %sv_0.13.reload, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_4:\n %10 = icmp eq i8 %6, 61\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_10, label LBL_5\n LBL_5:\n %12 = add i64 %sv_0.13.reload, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp slt i8 %14, 0\n br i1 %15, label LBL_10, label LBL_6\n LBL_6:\n %16 = sext i8 %14 to i64\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, -1\n br i1 %20, label LBL_10, label LBL_7\n LBL_7:\n %21 = add i64 %sv_0.13.reload, 2\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp slt i8 %23, 0\n br i1 %24, label LBL_10, label LBL_8\n LBL_8:\n %25 = sext i8 %23 to i64\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, -1\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = load i8, i8* %13, align 1\n %31 = sext i8 %30 to i64\n %32 = and i64 %31, 4294967295\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i8\n %35 = mul i8 %34, 16\n %36 = load i8, i8* %22, align 1\n %37 = sext i8 %36 to i64\n %38 = and i64 %37, 4294967295\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i8\n %41 = or i8 %35, %40\n %42 = sext i8 %41 to i64\n %43 = and i64 %42, 4294967295\n %44 = call i64 @FUNC(i64* nonnull %sv_2, i64 %43)\n store i64 %21, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %45 = load i8, i8* %5, align 1\n %46 = sext i8 %45 to i64\n %47 = and i64 %46, 4294967295\n %48 = call i64 @FUNC(i64* nonnull %sv_2, i64 %47)\n store i64 %sv_0.13.reload, 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 %49 = add i64 %sv_0.0.reload, 1\n %50 = icmp ult i64 %49, %3\n store i64 %49, i64* %sv_0.13.reg2mem\n br i1 %50, label LBL_2, label LBL_12\n LBL_12:\n %51 = call i64 @FUNC(i64* nonnull %sv_2, i64 0)\n %52 = load i64, i64* %sv_2, align 8\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_13:\n %53 = icmp eq i32 %0, 1\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_17, label LBL_14\n LBL_14:\n %55 = mul i64 %arg2, 3\n %56 = udiv i64 %55, 4\n %57 = trunc i64 %56 to i32\n %58 = add i32 %57, 1\n %59 = sext i32 %58 to i64\n %60 = call i64 @FUNC(i64 %59)\n store i64 %60, i64* %sv_1, align 8\n %61 = call i64 @FUNC(i64 %60, i64 %arg1, i32 %58)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, -1\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_16, label LBL_15\n LBL_15:\n %65 = call i64 @FUNC(i64* nonnull %sv_1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_16:\n %sext2 = mul i64 %61, 4294967296\n %66 = ashr exact i64 %sext2, 32\n %67 = add i64 %66, %60\n %68 = inttoptr i64 %67 to i8*\n store i8 0, i8* %68, align 1\n %69 = load i64, i64* %sv_1, align 8\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\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 71, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to 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 %sv_0.13.reload, { 1, 2, 4, 0, 3 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %sv_2, { 4, 0, 1, 2, 3, 5 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 -1, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @hexval, { 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @mutt_buffer_addch, { 0, 3, 2, 1 }\n uselistorder i32 1, { 7, 4, 6, 5, 2, 1, 0, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 3, 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "M_fs_check_overwrite_allowed_6706", "fun_name": "M_fs_check_overwrite_allowed", "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 %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3 = alloca i64, align 8\n store i64 0, i64* %sv_3, align 8\n %0 = urem i32 %arg3, 2\n %1 = icmp eq i32 %0, 0\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 %sv_3, i64 %arg1, 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_2, label LBL_6\n LBL_2:\n %5 = load i64, i64* %sv_3, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = load i64, i64* %sv_3, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i32 %7, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg2, 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 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 i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %arg1, i64 0)\n %16 = call i64 @FUNC(i64 %arg2, i64 0, i64 0)\n %17 = call i64 @FUNC(i64 %16, i64 0)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n %spec.select = zext i1 %20 to i64\n store i64 %15, i64* %sv_2.0.reg2mem\n store i64 %16, i64* %sv_1.0.reg2mem\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 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %21 = call i64 @FUNC(i64 %sv_1.0.reload)\n %22 = call i64 @FUNC(i64 %sv_2.0.reload)\n store i64 %sv_0.0.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* %sv_3, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @M_free, { 1, 0 }\n uselistorder i64 (i64, i64)* @M_fs_perms_can_access, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ata_passthrough_12_xfer_size_2807", "fun_name": "ata_passthrough_12_xfer_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.shrunk.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = add i64 %1, 2\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = urem i8 %4, 4\n %6 = call i64 @FUNC(i64 %0, i64 %1)\n store i8 0, i8* %sv_0.0.shrunk.reg2mem\n switch i8 %5, label LBL_3 [\n i8 1, label LBL_1\n i8 2, label LBL_2\n ]\n LBL_1:\n %7 = add i64 %1, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n store i8 %9, i8* %sv_0.0.shrunk.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i64 %1, 4\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n store i8 %12, i8* %sv_0.0.shrunk.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.shrunk.reload = load i8, i8* %sv_0.0.shrunk.reg2mem\n %sv_0.0 = zext i8 %sv_0.0.shrunk.reload to i64\n %13 = mul i64 %6, %sv_0.0\n %14 = and i64 %13, 4294967295\n ret i64 %14\n\n uselistorder i8* %sv_0.0.shrunk.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mcf_uart_init_15218", "fun_name": "mcf_uart_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 = inttoptr i64 %0 to i64*\n store i64 %arg2, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %arg1, i64* %3, align 8\n %4 = icmp eq i64 %arg2, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg2, i64 4198732, i64 4198743, i64 4198754, i64 %0)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0)\n ret i64 %0\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "h2c_handle_goaway_9565", "fun_name": "h2c_handle_goaway", "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 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_5\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 sgt i32 %7, 7\n store i64 2, i64* %storemerge.reg2mem\n br i1 %8, label LBL_2, label LBL_5\n LBL_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 i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp ult i32 %13, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %11, i64 0)\n %16 = load i64, i64* %10, align 8\n %17 = call i64 @FUNC(i64 %16, i64 4)\n %18 = trunc i64 %17 to i32\n %19 = add i64 %2, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = and i64 %15, 4294967295\n %22 = call i64 @FUNC(i64 %2, i64 %21, i64 3)\n %23 = add i64 %2, 20\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %27, label LBL_6, label LBL_4\n LBL_4:\n %28 = trunc i64 %15 to i32\n store i32 %28, i32* %24, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %29 = call i64 @FUNC(i64 %2, i64 %storemerge.reload)\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 %15, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @h2_get_n32, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m_start_11374", "fun_name": "m_start", "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.05.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %storemerge1.in.in.reg2mem = alloca i64\n %sv_2.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 store i64 0, i64* %2, 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 = icmp eq i64 %3, -1\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_11\n LBL_1:\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(i64 %10, i64 0)\n store i64 %11, i64* %2, align 8\n %12 = icmp eq i64 %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_11\n LBL_2:\n %14 = call i64 @FUNC(i64 %11)\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_11\n LBL_3:\n %17 = load i64, i64* %2, align 8\n %18 = call i64 @FUNC(i64 %17)\n store i64 %18, i64* %5, align 8\n %19 = call i64 @FUNC(i64 %14, i64 %3)\n %20 = icmp eq i64 %3, 0\n %21 = icmp eq i64 %19, 0\n %or.cond = or i1 %20, %21\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %22 = inttoptr i64 %19 to i64*\n %23 = load i64, i64* %22, align 8\n store i64 %23, i64* %sv_1.0.reg2mem\n br label LBL_9\n LBL_5:\n %24 = ptrtoint i64* %arg2 to i64\n %25 = inttoptr i64 %14 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp ugt i64 %26, %24\n br i1 %27, label LBL_6, label LBL_8\n LBL_6:\n %28 = add i64 %14, 8\n store i64 %24, i64* %sv_2.0.reg2mem\n store i64 %28, i64* %storemerge1.in.in.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge1.in.in.reload = load i64, i64* %storemerge1.in.in.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %storemerge1.in = inttoptr i64 %storemerge1.in.in.reload to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %29 = add i64 %sv_2.0.reload, -1\n %30 = icmp ne i64 %sv_2.0.reload, 0\n %31 = icmp eq i64 %storemerge1, 0\n %32 = icmp eq i1 %31, false\n %or.cond4 = icmp eq i1 %30, %32\n store i64 %29, i64* %sv_2.0.reg2mem\n store i64 %storemerge1, i64* %storemerge1.in.in.reg2mem\n store i64 %storemerge1, i64* %sv_1.0.reg2mem\n br i1 %or.cond4, label LBL_7, label LBL_9\n LBL_8:\n %33 = icmp eq i64 %26, %24\n %spec.select = select i1 %33, i64 %18, i64 0\n store i64 %spec.select, i64* %sv_0.05.reg2mem\n br label LBL_10\n LBL_9:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %34 = icmp eq i64 %sv_1.0.reload, 0\n store i64 %18, i64* %sv_0.05.reg2mem\n store i64 %sv_1.0.reload, i64* %rax.0.reg2mem\n br i1 %34, label LBL_10, label LBL_11\n LBL_10:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %35 = icmp eq i64 %sv_0.05.reload, 0\n %. = sext i1 %35 to i64\n store i64 %., i64* %2, align 8\n %36 = add i64 %14, 16\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 %14)\n store i64 %sv_0.05.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 %sv_2.0.reload, { 1, 0 }\n uselistorder i64 %24, { 2, 0, 1 }\n uselistorder i64 %14, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder label LBL_11, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfc_dev_up_6460", "fun_name": "nfc_dev_up", "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 %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 %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 = call i64 @FUNC(i64 %5)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 1\n store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.1.reg2mem\n br i1 %11, label LBL_1, label LBL_9\n LBL_1:\n %12 = add i64 %5, 16\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 %5, i64* %rdi.0.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %14)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 0\n store i64 %14, i64* %rdi.0.reg2mem\n store i64* inttoptr (i32 -132 to i64*), i64** %sv_0.1.reg2mem\n br i1 %18, label LBL_3, label LBL_9\n LBL_3:\n %19 = add i64 %5, 24\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 0\n store i64* inttoptr (i32 -16 to i64*), i64** %sv_0.1.reg2mem\n br i1 %22, label LBL_4, label LBL_9\n LBL_4:\n %23 = add i64 %5, 8\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* inttoptr (i32 -114 to i64*), i64** %sv_0.1.reg2mem\n br i1 %26, label LBL_5, label LBL_9\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %27 = icmp eq i64 %rdi.0.reload, 0\n %28 = and i64 %5, 4294967295\n %29 = inttoptr i64 %28 to i64*\n %sv_0.0 = select i1 %27, i64* null, i64* %29\n %30 = icmp eq i64* %sv_0.0, null\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n store i8 1, i8* %24, align 1\n br label LBL_7\n LBL_7:\n %32 = select i1 %27, i64 8, i64 %23\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n %36 = trunc i64 %5 to i32\n %37 = icmp eq i32 %36, 0\n %or.cond = or i1 %37, %35\n store i64* %sv_0.0, i64** %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %34, i64 %4, i64 %2, i64 %1)\n store i64* %sv_0.0, 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 %39 = call i64 @FUNC(i64 %5)\n %40 = ptrtoint i64* %sv_0.1.reload to i64\n %41 = and i64 %40, 4294967295\n ret i64 %41\n\n uselistorder i64 %5, { 2, 1, 5, 4, 3, 0, 6, 7, 8, 9 }\n uselistorder i64** %sv_0.1.reg2mem, { 0, 5, 6, 1, 2, 3, 4 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder label LBL_9, { 5, 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "realloc_buffer_13611", "fun_name": "realloc_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %indvars.iv14.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg4, 4294967296\n %2 = ashr exact i64 %sext4, 32\n %narrow = mul nsw i64 %1, 36\n %3 = mul i64 %narrow, %2\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = icmp sgt i32 %5, 0\n br i1 %6, label LBL_1, label LBL_11\n LBL_1:\n %7 = trunc i64 %2 to i32\n %8 = icmp sgt i32 %7, 0\n %9 = icmp eq i64 %arg2, 0\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 %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i32*\n %wide.trip.count = and i64 %2, 4294967295\n %wide.trip.count16 = and i64 %1, 4294967295\n store i64 0, i64* %indvars.iv14.reg2mem\n br label LBL_9\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = add nsw i64 %indvars.iv.reload, %59\n %17 = mul nsw i64 %16, 36\n %18 = add i64 %17, %4\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %19 = load i32, i32* %11, align 4\n %20 = zext i32 %19 to i64\n %21 = icmp ult i64 %indvars.iv14.reload, %20\n br i1 %21, label LBL_4, label LBL_6\n LBL_4:\n %22 = load i32, i32* %13, align 4\n %23 = zext i32 %22 to i64\n %24 = icmp ult i64 %indvars.iv.reload, %23\n br i1 %24, label LBL_5, label LBL_6\n LBL_5:\n %25 = mul i32 %22, %58\n %26 = trunc i64 %indvars.iv.reload to i32\n %27 = add i32 %25, %26\n %28 = sext i32 %27 to i64\n %29 = mul nsw i64 %28, 36\n %30 = add i64 %29, %arg2\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %30, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %18 to i64*\n store i64 %32, i64* %36, align 8\n %37 = add i64 %18, 8\n %38 = inttoptr i64 %37 to i64*\n store i64 %35, i64* %38, align 8\n %39 = add i64 %30, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %30, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %18, 16\n %46 = inttoptr i64 %45 to i64*\n store i64 %41, i64* %46, align 8\n %47 = add i64 %18, 24\n %48 = inttoptr i64 %47 to i64*\n store i64 %44, i64* %48, align 8\n %49 = add i64 %30, 32\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %18, 32\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n br label LBL_7\n LBL_6:\n %54 = inttoptr i64 %18 to i8*\n store i8 0, i8* %54, align 1\n %55 = load i32, i32* %15, align 4\n %56 = add i64 %18, 32\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, 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, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_2\n LBL_8:\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 br i1 %exitcond17, label LBL_11, label LBL_9\n LBL_9:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n br i1 %8, label LBL_2.lr.ph, label LBL_8\n LBL_10:\n %58 = trunc i64 %indvars.iv14.reload to i32\n %sext18 = mul i64 %sext4, %indvars.iv14.reload\n %59 = ashr exact i64 %sext18, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_11:\n %60 = call i64 @FUNC(i64 %0, i64 %arg2)\n ret i64 %4\n\n uselistorder i64 %indvars.iv14.reload, { 3, 1, 2, 0 }\n uselistorder i64 %30, { 4, 3, 2, 1, 0 }\n uselistorder i64 %18, { 1, 6, 5, 4, 3, 2, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %sext4, { 1, 0 }\n uselistorder i64 %0, { 0, 3, 2, 1, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder i64 36, { 1, 2, 0 }\n uselistorder i64 32, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rfi_5109", "fun_name": "do_rfi", "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* %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 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i32*\n %7 = and i64 %arg3, -2\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n %9 = trunc i64 %arg2 to i32\n %10 = and i32 %9, -4\n %11 = bitcast i64* %arg1 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %2, i64 %7, i64 1)\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %15)\n %18 = load i32, i32* %6, align 4\n %19 = or i32 %18, 1\n store i32 %19, i32* %6, align 4\n %20 = call i64 @FUNC(i64 %2, i64 0)\n ret i64 %20\n\n uselistorder i32* %6, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_shutdown_17447", "fun_name": "ehci_shutdown", "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 = inttoptr i64 %1 to i8*\n store i8 1, i8* %4, align 1\n %5 = add i64 %1, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %2)\n %10 = call i64 @FUNC(i64 %1)\n %11 = add i64 %1, 16\n %12 = call i64 @FUNC(i64 %11)\n ret i64 %12\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mroute6_socket_18", "fun_name": "mroute6_socket", "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 %sv_0 = alloca i64, align 8\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 %spec.select = select i1 %5, i32 %3, i32 1\n store i32 %spec.select, i32* %sv_1, align 4\n %6 = call i64 @FUNC(i64 %2, i32* nonnull %sv_1, i64* nonnull %sv_0)\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* %storemerge1.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = load i64, i64* %sv_0, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, 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 i32 %3, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crldp_check_crlissuer_8415", "fun_name": "crldp_check_crlissuer", "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 %rdi.11.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = icmp sgt i64 %4, 0\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %0, i64* %rdi.11.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_6\n LBL_2:\n %6 = urem i32 %arg3, 2\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* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %10 = zext i32 %storemerge2.reload to i64\n %11 = call i64 @FUNC(i64 %rdi.11.reload, i64 %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 store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i64 %11, 8\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 %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %18, i64* %rdi.0.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_5, label LBL_6\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %23 = add i32 %storemerge2.reload, 1\n %24 = call i64 @FUNC(i64 %rdi.0.reload)\n %25 = sext i32 %23 to i64\n %26 = icmp sgt i64 %24, %25\n store i32 %23, i32* %storemerge2.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.11.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, 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 %rdi.0.reload, { 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i32 0, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64)* @sk_GENERAL_NAME_num, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 3, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nct7802_read_fan_min_18271", "fun_name": "nct7802_read_fan_min", "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* %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 = call i64 @FUNC(i64 %1)\n %3 = urem i64 %arg2, 256\n %4 = bitcast i32* %sv_2 to i64*\n %5 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = urem i64 %arg3, 256\n %9 = bitcast i32* %sv_1 to i64*\n %10 = call i64 @FUNC(i64 %1, i64 %8, i64* nonnull %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_4, label LBL_2\n LBL_2:\n %13 = load i32, i32* %sv_1, align 4\n %14 = mul i32 %13, 32\n %15 = and i32 %14, 7936\n %16 = load i32, i32* %sv_2, align 4\n %17 = or i32 %15, %16\n store i32 0, i32* %sv_0.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n switch i32 %17, label LBL_3 [\n i32 8191, label LBL_4\n i32 0, label LBL_4\n ]\n LBL_3:\n %18 = icmp slt i32 %16, 0\n %19 = zext i1 %18 to i32\n %20 = add i32 %17, %19\n %21 = ashr i32 %20, 1\n %22 = add nsw i32 %21, 1350000\n %23 = udiv i32 %22, %17\n store i32 %23, 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 %24 = call i64 @FUNC(i64 %1)\n %25 = zext i32 %sv_0.0.reload to i64\n ret i64 %25\n\n uselistorder i32 %17, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4, 5 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 (i64, i64, i64*)* @regmap_read, { 1, 0 }\n uselistorder label LBL_4, { 4, 0, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tty_init_termios_8634", "fun_name": "tty_init_termios", "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, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %sext2 = mul i64 %1, 4294967296\n %6 = ashr exact i64 %sext2, 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 %11 = icmp eq i1 %10, false\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 16, i64 0)\n %sext = mul i64 %12, 4294967296\n %13 = icmp eq i64 %sext, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %14, label LBL_2, label LBL_4\n LBL_2:\n %15 = ashr exact i64 %sext, 32\n %16 = load i64, i64* %4, align 8\n %17 = add i64 %16, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %15 to i64*\n store i64 %19, i64* %20, align 8\n %21 = load i64, i64* %4, align 8\n %22 = add i64 %21, %6\n %23 = inttoptr i64 %22 to i64*\n store i64 %15, i64* %23, align 8\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 %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i64*\n store i64 %sv_0.0.reload, i64* %25, align 8\n %26 = add i64 %sv_0.0.reload, 8\n %27 = add i64 %2, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = load i64, i64* %25, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = inttoptr i64 %29 to i32*\n store i32 %31, i32* %32, align 4\n %33 = load i64, i64* %25, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %33, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\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.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stop_command_port_9914", "fun_name": "stop_command_port", "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 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %1 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i32 %5, -1\n store i32 %6, i32* %4, 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 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %2)\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_uint32_899", "fun_name": "put_uint32", "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 %1, i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "colo_packet_compare_common_1007", "fun_name": "colo_packet_compare_common", "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 %.pre-phi5.reg2mem = alloca i32*\n %.pre-phi9.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_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 = call i64 @FUNC(i64 0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %3, 8\n %.pre4 = inttoptr i64 %.pre to i32*\n %.pre6 = add i64 %2, 8\n %.pre8 = inttoptr i64 %.pre6 to i32*\n store i32* %.pre8, i32** %.pre-phi9.reg2mem\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_3\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = call i8* @inet_ntoa(%in_addr zeroinitializer)\n %9 = ptrtoint i64* %sv_3 to i64\n %10 = bitcast i64* %sv_3 to i8*\n %11 = call i8* @strcpy(i8* nonnull %10, i8* %8)\n %12 = or i64 %9, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = insertvalue %in_addr undef, i32 %14, 0\n %16 = call i8* @inet_ntoa(%in_addr %15)\n %17 = bitcast i64* %sv_2 to i8*\n %18 = call i8* @strcpy(i8* nonnull %17, i8* %16)\n %19 = insertvalue %in_addr undef, i32 %7, 0\n %20 = call i8* @inet_ntoa(%in_addr %19)\n %21 = ptrtoint i8* %20 to i64\n %22 = bitcast i64* %sv_1 to i8*\n %23 = call i8* @strcpy(i8* nonnull %22, i8* %20)\n %24 = add i64 %21, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = insertvalue %in_addr undef, i32 %26, 0\n %28 = call i8* @inet_ntoa(%in_addr %27)\n %29 = bitcast i64* %sv_0 to i8*\n %30 = call i8* @strcpy(i8* nonnull %29, i8* %28)\n %31 = add i64 %2, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %3, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37, i64* nonnull %sv_3, i64* nonnull %sv_2, i32 %33, i64* nonnull %sv_1, i64* nonnull %sv_0)\n store i32* %32, i32** %.pre-phi9.reg2mem\n store i32* %35, i32** %.pre-phi5.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem\n %39 = load i32, i32* %.pre-phi5.reload, align 4\n %40 = load i32, i32* %.pre-phi9.reload, align 4\n %41 = icmp eq i32 %39, %40\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_5, label LBL_4\n LBL_4:\n %43 = add i64 %3, 12\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = trunc i64 %arg3 to i32\n %47 = add i32 %45, %46\n %48 = sub i32 %40, %47\n %49 = add i64 %2, 16\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = sext i32 %47 to i64\n %53 = add i64 %51, %52\n %54 = add i64 %3, 16\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = add i64 %56, %52\n %58 = inttoptr i64 %57 to i64*\n %59 = inttoptr i64 %53 to i64*\n %60 = call i32 @memcmp(i64* %58, i64* %59, i32 %48)\n %61 = sext i32 %60 to i64\n store i64 %61, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %62 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, 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, 3, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8* (i8*, i8*)* @strcpy, { 0, 1, 3, 2 }\n uselistorder i8* (%in_addr)* @inet_ntoa, { 3, 2, 1, 0 }\n uselistorder i64 8, { 2, 3, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grant_table_init_vcpu_6936", "fun_name": "grant_table_init_vcpu", "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 = bitcast i64* %arg1 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 ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "append_group_desc_9978", "fun_name": "append_group_desc", "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 %sv_0 = alloca i32, align 4\n %4 = trunc i64 %1 to i32\n store i32 %4, i32* %sv_0, align 4\n %5 = add i64 %3, 16\n %6 = call i64 @FUNC(i32* nonnull %sv_0, i64 %5, i64 %2)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xml_sax_append_string_6896", "fun_name": "xml_sax_append_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg2, 0\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, 12\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = inttoptr i64 %arg2 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_5\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 %6, %4\n %13 = add i32 %12, 1\n %14 = icmp ult i32 %11, %13\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = mul i32 %13, 3\n %17 = udiv i32 %16, 2\n store i32 %17, i32* %10, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %arg2, i64 %18)\n store i64 %19, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n %20 = zext i32 %4 to i64\n %21 = add i64 %20, %arg2\n %22 = inttoptr i64 %21 to i64*\n %23 = inttoptr i64 %arg2 to i64*\n %24 = call i64* @memcpy(i64* %22, i64* %23, i32 %6)\n %25 = zext i32 %12 to i64\n %26 = add i64 %21, %25\n %27 = inttoptr i64 %26 to i8*\n store i8 0, i8* %27, align 1\n store i32 %12, i32* %3, align 4\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %6, { 2, 0, 1 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %arg2, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_invalidate_cache_all_3117", "fun_name": "bdrv_invalidate_cache_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge13.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 %sv_0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge13.reg2mem\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %4 = call i64 @FUNC(i64 %storemerge13.reload)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %storemerge13.reload, i64* nonnull %sv_0)\n %7 = call i64 @FUNC(i64 %4)\n %8 = load i64, i64* %sv_0, 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 %0, i64 %8)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64* nonnull %sv_0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %storemerge13.reg2mem\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, 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 %storemerge13.reload, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 3, 1, 2, 4 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_4, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tree_evaluate_6865", "fun_name": "tree_evaluate", "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 i32\n %sv_1.0.in6.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 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 = and i64 %1, 4294967295\n store i64 %7, i64* %sv_1.0.in6.in.reg2mem\n store i32 1, i32* %sv_0.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.in6.in.reload = load i64, i64* %sv_1.0.in6.in.reg2mem\n %sv_1.0.in6 = add i64 %sv_1.0.in6.in.reload, 16\n %9 = add i64 %sv_1.0.in6.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.in6, i64 %12, 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 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %sv_1.07 = inttoptr i64 %sv_1.0.in6 to i32*\n %17 = load i32, i32* %sv_1.07, 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.in6, 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(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %sv_1.0.in6)\n %26 = call i64 @FUNC(i64 %4, i64 %sv_1.0.in6)\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.05.reload, 1\n %31 = sext i32 %30 to i64\n %32 = icmp sgt i64 %8, %31\n store i64 %sv_1.0.in6, i64* %sv_1.0.in6.in.reg2mem\n store i32 %30, i32* %sv_0.05.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.in6, { 0, 4, 3, 2, 5, 1 }\n uselistorder i64 %sv_1.0.in6.in.reload, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1.0.in6.in.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.05.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": "0" }, { "dataset": "CompRealVul", "file": "rpc_type_of_NPPVariable_6040", "fun_name": "rpc_type_of_NPPVariable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, 16\n store i64 103, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_6, label LBL_1\n LBL_1:\n %2 = icmp sgt i32 %0, 16\n br i1 %2, label LBL_5, label LBL_2\n LBL_2:\n %3 = icmp sgt i32 %0, 6\n store i64 102, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_6, label LBL_3\n LBL_3:\n %4 = icmp sgt i32 %0, 4\n store i64 101, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_6, label LBL_4\n LBL_4:\n %5 = icmp eq i32 %0, 0\n %6 = icmp slt i32 %0, 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 100, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n store i64 104, 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 i32 %0, { 3, 4, 2, 1, 0, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder label LBL_6, { 4, 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "soc_cleanup_card_resources_3741", "fun_name": "soc_cleanup_card_resources", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %storemerge13.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_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 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* %storemerge13.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %8 = load i64, i64* %6, align 8\n %9 = mul i64 %.reload, 4\n %10 = add i64 %8, %9\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i32 %storemerge13.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* %storemerge13.reg2mem\n br i1 %14, label LBL_2, 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 = icmp eq i32 %17, 0\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %19 = zext i32 %storemerge2.reload to i64\n %20 = call i64 @FUNC(i64 %2, i64 %19)\n %21 = add i32 %storemerge2.reload, 1\n %22 = load i32, i32* %16, 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_4, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %2)\n %27 = call i64 @FUNC(i64 %2)\n %28 = add i64 %2, 32\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %2, 8\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 %2, 36\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n ret i64 0\n\n uselistorder i32 %storemerge2.reload, { 1, 0 }\n uselistorder i32* %16, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 5, 6, 4, 3, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\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": "X509v3_addr_get_afi_6937", "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_3, 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 ult i64 %4, 2\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = mul i64 %1, 256\n %7 = and i64 %6, 65280\n %8 = add i64 %1, 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 = or i64 %7, %11\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 %1, { 2, 0, 1 }\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": "init_block_index_607", "fun_name": "init_block_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 = 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_3, label LBL_1\n LBL_1:\n %6 = add i64 %0, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = icmp eq i32 %8, %11\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 = trunc i64 %0 to i32\n %16 = add i64 %0, 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 = 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 = add i32 %24, %15\n %26 = bitcast i64* %arg1 to i32*\n store i32 %25, i32* %26, align 4\n %27 = add i64 %0, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = load i64, i64* %17, 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 = add i64 %34, 4\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i32 %37, %29\n store i32 %38, i32* %28, align 4\n %39 = inttoptr i64 %16 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = load i64, i64* %17, align 8\n %42 = inttoptr i64 %41 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 %45, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i32 %48, %40\n store i32 %49, i32* %39, align 4\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 %0, { 0, 2, 1, 4, 3, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rm_read_multi_13571", "fun_name": "rm_read_multi", "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-phi.reg2mem = alloca i64\n %.pre-phi14.reg2mem = alloca i64*\n %storemerge5.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32*, align 8\n %sv_1 = alloca i32*, align 8\n store i32* %arg3, i32** %sv_1, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %3 = icmp slt i32 %storemerge3.reload, %2\n %4 = call i64 @FUNC(i64 %0)\n %5 = add nuw i32 %storemerge3.reload, 1\n store i32 %5, i32* %storemerge3.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %4 to i32\n %8 = icmp eq i32 %7, 1\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i32 %7)\n %10 = icmp sgt i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_12\n LBL_4:\n %11 = bitcast i64* %rdx to i32*\n %12 = bitcast i32** %sv_0 to i64*\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %13 = icmp eq i32 %storemerge5.reload, 0\n br i1 %13, label LBL_8, label LBL_6\n LBL_6:\n %14 = call i64 @FUNC(i64 %6, i64 0)\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 store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %17, label LBL_7, label LBL_12\n LBL_7:\n %18 = load i32, i32* %11, align 8\n %19 = mul i32 %storemerge5.reload, 65536\n %20 = add i32 %18, %19\n store i32 %20, i32* %15, align 4\n %21 = load i32*, i32** %sv_1, align 8\n %22 = ptrtoint i32* %21 to i64\n %23 = add i64 %22, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = load i32*, i32** %sv_0, align 8\n %27 = ptrtoint i32* %26 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 %25 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = inttoptr i64 %30 to i32*\n store i32 %32, i32* %33, align 4\n %34 = load i32*, i32** %sv_1, align 8\n %35 = ptrtoint i32* %34 to i64\n %36 = add i64 %35, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = load i32*, i32** %sv_0, align 8\n %40 = ptrtoint i32* %39 to i64\n %41 = add i64 %40, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 %38, i32* %42, align 4\n %43 = load i32*, i32** %sv_1, align 8\n %44 = ptrtoint i32* %43 to i64\n %45 = add i64 %44, 20\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = load i32*, i32** %sv_0, align 8\n %49 = ptrtoint i32* %48 to i64\n %50 = add i64 %49, 20\n %51 = inttoptr i64 %50 to i32*\n store i32 %47, i32* %51, align 4\n %52 = load i32*, i32** %sv_0, align 8\n %53 = ptrtoint i32* %52 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 = add i64 %56, 4\n %58 = inttoptr i64 %57 to i32*\n store i32 1, i32* %58, align 4\n %59 = call i64 @FUNC()\n %60 = load i32*, i32** %sv_0, align 8\n %61 = ptrtoint i32* %60 to i64\n %62 = add i64 %61, 24\n %63 = inttoptr i64 %62 to i64*\n store i64 %59, i64* %63, align 8\n %64 = load i32*, i32** %sv_0, align 8\n %65 = ptrtoint i32* %64 to i64\n %66 = add i64 %65, 24\n %67 = inttoptr i64 %66 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 store i64* %67, i64** %.pre-phi14.reg2mem\n store i64 %65, i64* %.pre-phi.reg2mem\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %70, label LBL_9, label LBL_12\n LBL_8:\n %71 = load i32*, i32** %sv_1, align 8\n %72 = ptrtoint i32* %71 to i64\n store i64 %72, i64* %12, align 8\n %.pre11 = add i64 %72, 24\n %.pre13 = inttoptr i64 %.pre11 to i64*\n store i64* %.pre13, i64** %.pre-phi14.reg2mem\n store i64 %72, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_9:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %.pre-phi14.reload = load i64*, i64** %.pre-phi14.reg2mem\n %73 = call i64 @FUNC(i64 %0)\n %74 = load i64, i64* %.pre-phi14.reload, align 8\n %75 = and i64 %73, 4294967295\n %76 = call i64 @FUNC(i64 %6, i64 %0, i64 %.pre-phi.reload, i64 %74, i64 %75, i64 0)\n %77 = trunc i64 %76 to i32\n %78 = icmp slt i32 %77, 0\n %79 = icmp eq i1 %78, false\n br i1 %79, label LBL_11, label LBL_10\n LBL_10:\n %80 = and i64 %76, 4294967295\n store i64 %80, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %81 = add nuw nsw i32 %storemerge5.reload, 1\n %82 = icmp slt i32 %81, %7\n store i32 %81, i32* %storemerge5.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %82, label LBL_5, 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 %72, { 0, 2, 1 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i32 %storemerge5.reload, { 0, 2, 1 }\n uselistorder i32 %7, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i32 %storemerge3.reload, { 1, 0 }\n uselistorder i32** %sv_1, { 0, 4, 3, 2, 1 }\n uselistorder i32** %sv_0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64** %.pre-phi14.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 1, 4 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 0, { 0, 6, 9, 10, 7, 1, 4, 5, 3, 2, 8 }\n uselistorder i64 (i64)* @avio_rb16, { 1, 0 }\n uselistorder label LBL_12, { 2, 4, 1, 0, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_pm1_evt_get_sts_14652", "fun_name": "acpi_pm1_evt_get_sts", "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 = call i64 @FUNC()\n %3 = icmp slt i64 %2, %arg2\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i16\n %5 = or i16 %4, 1\n store i16 %5, i16* %arg1, align 2\n br label LBL_2\n LBL_2:\n %6 = urem i64 %1, 65536\n ret i64 %6\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "server_http_authenticate_3986", "fun_name": "server_http_authenticate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.09.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 br i1 %7, label LBL_18, 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 br i1 %11, label LBL_18, 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 br i1 %15, label LBL_18, 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 br i1 %23, label LBL_18, 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 br i1 %26, label LBL_18, 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 br i1 %31, label LBL_18, 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 br i1 %33, label LBL_18, 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_19\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_19\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_19\n LBL_18:\n %72 = load i8*, i8** %sv_3, align 8\n %73 = bitcast i8* %72 to i64*\n call void @free(i64* %73)\n store i64 4294967295, i64* %sv_0.09.reg2mem\n br label LBL_20\n LBL_19:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %74 = load i8*, i8** %sv_3, align 8\n %75 = bitcast i8* %74 to i64*\n call void @free(i64* %75)\n %76 = call i32 @fclose(%_IO_FILE* nonnull %32)\n store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem\n br i1 %7, label LBL_23, label LBL_21\n LBL_21:\n %77 = add i64 %6, 8\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_23, label LBL_22\n LBL_22:\n %81 = inttoptr i64 %79 to i8*\n %82 = call i32 @strlen(i8* %81)\n %83 = sext i32 %82 to i64\n %84 = load i64, i64* %78, align 8\n %85 = call i64 @FUNC(i64 %84, i64 %83)\n %86 = ptrtoint i64* %sv_2 to i64\n %87 = call i64 @FUNC(i64 %86, i64 1024)\n br label LBL_23\n LBL_23:\n ret i64 %sv_0.09.reload\n\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 i8** %sv_3, { 8, 2, 7, 6, 9, 5, 0, 4, 1, 3 }\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 (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, 1, 0 }\n uselistorder i1 false, { 1, 4, 2, 3, 0, 5 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n uselistorder i64 0, { 15, 0, 1, 2, 6, 9, 10, 16, 17, 11, 12, 14, 3, 4, 5, 7, 8, 13 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_19, { 2, 0, 1 }\n uselistorder label LBL_18, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_13, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_slurmd_fini_4871", "fun_name": "_slurmd_fini", "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 = 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 = call i64 @FUNC()\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC()\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC(i64 0)\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC()\n %21 = call i64 @FUNC()\n %22 = call i64 @FUNC()\n %23 = call i64 @FUNC()\n %24 = call i64 @FUNC()\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_get_http_header_13226", "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 %rdi.0.reg2mem = alloca i64\n %rdi.14.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = ptrtoint i8* %arg2 to i64\n %2 = call i32 @strlen(i8* %arg2)\n %3 = sext i32 %2 to i64\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\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 %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem\n store i64 %1, i64* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i64 0, i64* %storemerge25.reg2mem\n store i64 %1, i64* %rdi.14.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %rdi.14.reload = load i64, i64* %rdi.14.reg2mem\n %storemerge25.reload = load i64, i64* %storemerge25.reg2mem\n %.reload15 = load i64, i64* %.reg2mem14\n %.reload = load i64, i64* %.reg2mem\n %11 = inttoptr i64 %.reload15 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i64 %.reload, %3\n %15 = icmp eq i1 %14, false\n %or.cond = or i1 %15, %13\n store i64 %rdi.14.reload, i64* %rdi.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %16 = load i64, i64* %5, align 8\n %17 = call i64 @FUNC(i64 %12, i64 %1, 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 %12, i64* %rdi.0.reg2mem\n br i1 %20, label LBL_3, label LBL_2.LBL_5_crit_edge\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %21 = add i64 %storemerge25.reload, 1\n %22 = mul i64 %21, 16\n %23 = add i64 %rdi.0.reload, %22\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 %28 = icmp eq i1 %27, false\n store i64 %26, i64* %.reg2mem\n store i64 %23, i64* %.reg2mem14\n store i64 %22, i64* %.reg2mem16\n store i64 %21, i64* %storemerge25.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.14.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_1, label LBL_5\n LBL_4:\n %.reload17 = load i64, i64* %.reg2mem16\n %29 = add i64 %16, %.reload17\n store i64 %29, 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 %rdi.0.reload, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 3, 0, 1, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 0, 2, 1 }\n uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 3, 2, 1, 0, 5, 4 }\n uselistorder i8* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_mpc_initialize_3857", "fun_name": "qeth_mpc_initialize", "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 %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %3 = ptrtoint i32* %arg1 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_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n %8 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %7)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_2:\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_4, label LBL_3\n LBL_3:\n %12 = and i64 %9, 4294967295\n %13 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %12)\n store i64 %12, i64* %.pre-phi.reg2mem\n br label LBL_18\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_6, label LBL_5\n LBL_5:\n %17 = and i64 %14, 4294967295\n %18 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %17)\n store i64 %17, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_6:\n %19 = call i64 @FUNC(i64 %3)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = and i64 %19, 4294967295\n %23 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %22)\n store i64 %22, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_8:\n %24 = call i64 @FUNC(i64 %3)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %27 = and i64 %24, 4294967295\n %28 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %27)\n store i64 %27, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_10:\n %29 = call i64 @FUNC(i64 %3)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_12, label LBL_11\n LBL_11:\n %32 = and i64 %29, 4294967295\n %33 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %32)\n store i64 %32, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_12:\n %34 = call i64 @FUNC(i64 %3)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_14, label LBL_13\n LBL_13:\n %37 = and i64 %34, 4294967295\n %38 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %37)\n %39 = call i64 @FUNC(i64 %3)\n store i64 %37, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_14:\n %40 = call i64 @FUNC(i64 %3)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n br i1 %42, label LBL_16, label LBL_15\n LBL_15:\n %43 = and i64 %40, 4294967295\n %44 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), i64 %43)\n store i64 %43, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_16:\n %45 = call i64 @FUNC(i64 %3)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %47, label LBL_19, label LBL_17\n LBL_17:\n %48 = and i64 %45, 4294967295\n %49 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i64 %48)\n store i64 %48, i64* %.pre-phi.reg2mem\n br label LBL_18\n LBL_18:\n %50 = trunc i64 %1 to i32\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %51 = icmp eq i32 %50, 1\n %52 = icmp eq i1 %51, false\n %53 = zext i1 %52 to i64\n %54 = call i64 @FUNC(i64 %3, i64 %53)\n %55 = and i64 %3, 4294967295\n %56 = call i64 @FUNC(i64 %55)\n store i64 %.pre-phi.reload, 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 %3, { 1, 0, 3, 4, 2, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i8*, i64)* @QETH_DBF_TEXT_, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_19, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_fft_init_2981", "fun_name": "av_fft_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 0)\n store i64 %0, i64* %sv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = and i64 %arg1, 4294967295\n %3 = trunc i64 %arg2 to i32\n %4 = call i64 @FUNC(i64 %0, i64 %2, i32 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %0, i64* %.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64* nonnull %sv_0)\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 1, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_nested_data_4166", "fun_name": "process_nested_data", "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 = icmp slt i64 %arg4, 1\n store i64 1, i64* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64* @malloc(i32 0)\n call void @free(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* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bio_clone_fast_7949", "fun_name": "bio_clone_fast", "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 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %1, i64 0, i64 %0)\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_4\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n %7 = call i64 @FUNC(i64 %5)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = trunc i64 %arg2 to i32\n %11 = call i64 @FUNC(i64 %2, i64 %5, i32 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %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 %5, { 0, 2, 1 }\n uselistorder i64 %2, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_4, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vga_ioport_invalid_10782", "fun_name": "vga_ioport_invalid", "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 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = trunc i64 %arg2 to i32\n %5 = and i32 %4, -16\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %6 = icmp eq i32 %5, 944\n %spec.select = zext i1 %6 to i64\n ret i64 %spec.select\n LBL_2:\n %7 = icmp eq i32 %5, 976\n %spec.select3 = zext i1 %7 to i64\n ret i64 %spec.select3\n\n uselistorder i32 %5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iwl_tx_agg_stop_7036", "fun_name": "iwl_tx_agg_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i16 %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 i32* %arg2, null\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 @fwrite(i64* bitcast ([11 x i8]* @gv_1 to i64*), i32 1, i32 10, %_IO_FILE* %4)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %6 = icmp ult i16 %arg3, 16\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_12\n LBL_3:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, -1\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = zext i16 %arg3 to i64\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 %13)\n store i64 4294967290, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %16 = add i64 %7, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %sext = mul i64 %9, 4294967296\n %19 = ashr exact i64 %sext, 32\n %20 = mul nsw i64 %19, 192\n %21 = zext i16 %arg3 to i64\n %22 = mul nuw nsw i64 %21, 12\n %23 = add nsw i64 %20, %22\n %24 = add i64 %18, %23\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 1\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0))\n %30 = add i64 %7, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %8, i16 %arg3)\n %34 = load i64, i64* %17, align 8\n %35 = add i64 %34, %23\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %37 = call i32 @puts(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0))\n %38 = load i64, i64* %17, align 8\n %39 = add nsw i64 %23, 4\n %40 = add i64 %39, %38\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, 8\n %45 = add i64 %44, ptrtoint ([44 x i8]* @gv_4 to i64)\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 8\n %48 = add i64 %44, add (i64 ptrtoint ([44 x i8]* @gv_4 to i64), i64 4)\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp eq i32 %47, %50\n br i1 %51, label LBL_9, label LBL_8\n LBL_8:\n %52 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0))\n %53 = load i64, i64* %17, align 8\n %54 = add i64 %53, %23\n %55 = inttoptr i64 %54 to i32*\n store i32 2, i32* %55, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %56 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0))\n %57 = load i64, i64* %17, align 8\n %58 = add i64 %57, %23\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n %60 = add i64 %7, 24\n %61 = call i64 @FUNC(i64 %60, i64 %1)\n %62 = trunc i64 %7 to i32\n %63 = call i64 @FUNC(i64 %60, i64 %1)\n %64 = icmp eq i32 %62, 0\n br i1 %64, label LBL_11, label LBL_10\n LBL_10:\n %65 = and i64 %7, 4294967295\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %66 = add i64 %7, 16\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i64 @FUNC(i64 %68, i64 %8, i16 %arg3)\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 %44, { 1, 0 }\n uselistorder i64 %23, { 0, 1, 4, 2, 3 }\n uselistorder i64* %17, { 2, 1, 3, 0, 4 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %7, { 1, 4, 3, 2, 0, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 1, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder [44 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 (i64, i64, i16)* @ieee80211_stop_tx_ba_cb_irqsafe, { 1, 0 }\n uselistorder i32 (i8*)* @puts, { 3, 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i16 %arg3, { 2, 1, 3, 0, 4 }\n uselistorder label LBL_12, { 1, 2, 3, 4, 5, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hists__output_recalc_col_len_18368", "fun_name": "hists__output_recalc_col_len", "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.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\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 %1, 0\n store i64 %2, i64* %rax.1.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n store i32 0, i32* %sv_1.04.reg2mem\n store i64 %1, i64* %sv_0.03.reg2mem\n br label LBL_3\n LBL_2:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %5 = add i32 %sv_1.04.reload, 1\n %6 = call i64 @FUNC(i64 %0, i64 %sv_0.03.reload)\n %7 = call i64 @FUNC(i64 %sv_0.03.reload)\n %8 = icmp eq i64 %7, 0\n store i32 %5, i32* %sv_1.04.reg2mem\n store i64 %7, i64* %sv_0.03.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %9 = zext i32 %sv_1.04.reload to i64\n %10 = icmp sgt i64 %4, %9\n store i64 %9, i64* %rax.1.reg2mem\n br i1 %10, label LBL_2, 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.03.reload, { 1, 0 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ehci_queues_rip_unused_14634", "fun_name": "ehci_queues_rip_unused", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.011.in.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n %2 = add i64 %arg1, 8\n %storemerge6 = select i1 %1, i64 %2, i64 %arg1\n %3 = inttoptr i64 %storemerge6 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = and i64 %arg2, 4294967295\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %4, i64* %sv_0.011.in.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.011.in.reload = load i64, i64* %sv_0.011.in.reg2mem\n %storemerge710.in.in = add i64 %sv_0.011.in.reload, 16\n %storemerge710.in = inttoptr i64 %storemerge710.in.in to i64*\n %storemerge710 = load i64, i64* %storemerge710.in, align 8\n %sv_0.011 = inttoptr i64 %sv_0.011.in.reload to i32*\n %9 = load i32, i32* %sv_0.011, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i32 0, i32* %sv_0.011, align 4\n %11 = load i64, i64* %8, align 8\n %12 = add i64 %sv_0.011.in.reload, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n br label LBL_6\n LBL_4:\n %14 = add i64 %sv_0.011.in.reload, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %16, 249999999\n %18 = load i64, i64* %8, align 8\n %19 = icmp slt i64 %17, %18\n br i1 %19, label LBL_5, label LBL_6\n LBL_5:\n %20 = call i64 @FUNC(i64 %sv_0.011.in.reload, i64 %6)\n br label LBL_6\n LBL_6:\n %21 = icmp eq i64 %storemerge710, 0\n store i64 %storemerge710, i64* %sv_0.011.in.reg2mem\n br i1 %21, label LBL_7, label LBL_2\n LBL_7:\n ret i64 0\n\n uselistorder i64 %sv_0.011.in.reload, { 3, 2, 1, 0, 4 }\n uselistorder i64* %sv_0.011.in.reg2mem, { 1, 0, 2 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "h261_decode_mb_skipped_5181", "fun_name": "h261_decode_mb_skipped", "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 %storemerge.in10.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %0, align 4\n %sext = mul i64 %arg2, 4294967296\n %storemerge9 = ashr exact i64 %sext, 32\n %1 = trunc i64 %storemerge9 to i32\n %2 = icmp slt i32 %1, %arg3\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 40\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %3, 72\n %7 = inttoptr i64 %6 to i32*\n %8 = add i64 %3, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %3, 12\n %13 = inttoptr i64 %12 to i32*\n %14 = add i64 %3, 16\n %15 = add i64 %3, 44\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %3, 48\n %18 = inttoptr i64 %17 to i64*\n %19 = add i64 %3, 56\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %3, 60\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %3, 64\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %3, 76\n %26 = inttoptr i64 %25 to i32*\n %27 = add i64 %3, 68\n store i32 %1, i32* %.reg2mem\n store i64 %storemerge9, i64* %storemerge11.reg2mem\n store i64 %sext, i64* %storemerge.in10.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.in10.reload = load i64, i64* %storemerge.in10.reg2mem\n %storemerge11.reload = load i64, i64* %storemerge11.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %28 = load i32, i32* %7, align 4\n %29 = add i32 %28, -1\n %30 = icmp slt i32 %29, 0\n %31 = zext i1 %30 to i32\n %32 = add i32 %29, %31\n %33 = urem i32 %32, 2\n %.neg = ashr i32 %29, 31\n %narrow = mul nsw i64 %storemerge11.reload, 780903145\n %34 = udiv i64 %narrow, 4294967296\n %35 = trunc i64 %34 to i32\n %36 = ashr i32 %35, 1\n %37 = ashr i32 %.reload, 31\n %38 = sub nsw i32 %36, %37\n %39 = sub i32 %.neg, %38\n %reass.add = add i32 %39, %33\n %reass.mul = mul i32 %reass.add, 11\n %40 = add i32 %reass.mul, %.reload\n store i32 %40, i32* %9, align 4\n %41 = load i32, i32* %7, align 4\n %42 = add i32 %41, -1\n %43 = icmp slt i32 %42, 0\n %44 = zext i1 %43 to i32\n %45 = add i32 %42, %44\n %46 = ashr i32 %45, 1\n %47 = and i32 %45, -2\n %48 = add i32 %46, %38\n %49 = add i32 %48, %47\n store i32 %49, i32* %11, align 4\n %50 = load i32, i32* %9, align 4\n %51 = load i32, i32* %13, align 4\n %52 = call i64 @FUNC(i64 %3)\n %53 = call i64 @FUNC(i64 %3)\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 %54 = mul i64 %indvars.iv.reload, 4\n %55 = add i64 %14, %54\n %56 = inttoptr i64 %55 to i32*\n store i32 -1, i32* %56, align 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 br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %57 = mul i32 %49, %51\n %58 = add i32 %57, %50\n store i32 0, i32* %5, align 4\n store i32 1, i32* %16, align 4\n %59 = load i64, i64* %18, align 8\n %60 = sext i32 %58 to i64\n %61 = mul i64 %60, 4\n %62 = add i64 %59, %61\n %63 = inttoptr i64 %62 to i32*\n store i32 14, i32* %63, align 4\n store i32 0, i32* %20, align 4\n store i32 0, i32* %22, align 4\n store i32 1, i32* %24, align 4\n %64 = load i32, i32* %26, align 4\n %65 = and i32 %64, -17\n store i32 %65, i32* %26, align 4\n %66 = call i64 @FUNC(i64 %3, i64 %27)\n %sext6 = add i64 %storemerge.in10.reload, 4294967296\n %storemerge = ashr exact i64 %sext6, 32\n %67 = trunc i64 %storemerge to i32\n %68 = icmp slt i32 %67, %arg3\n store i32 %67, i32* %.reg2mem\n store i64 %storemerge, i64* %storemerge11.reg2mem\n store i64 %sext6, i64* %storemerge.in10.reg2mem\n br i1 %68, label LBL_2, label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i32 %38, { 1, 0 }\n uselistorder i32 %29, { 2, 0, 1 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i64 %3, { 2, 11, 10, 1, 3, 4, 5, 6, 7, 8, 0, 12, 13, 14, 15, 9 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.in10.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 31, { 1, 0 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967296, { 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1, 5 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_prev_entity_71", "fun_name": "put_prev_entity", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i1\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 i1 true, i1* %.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n store i1 false, i1* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i1, i1* %.reg2mem\n %6 = call i64 @FUNC(i64 %2)\n %7 = ptrtoint i32* %arg2 to i64\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n br i1 %.reload, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %2, i64 %7)\n %10 = call i64 @FUNC(i64 %2, i64 %7)\n %11 = call i64 @FUNC(i64 %2, i64 %7, i64 0)\n br label LBL_4\n LBL_4:\n store i64 0, i64* %arg1, align 8\n ret i64 %2\n\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 4, 3, 2, 1, 6, 5, 0 }\n uselistorder i1* %.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vu_queue_notify_1168", "fun_name": "vu_queue_notify", "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 = load i64, i64* %0\n %3 = and i64 %1, 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 store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_6, 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 i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_2\n LBL_2:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %15)\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(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %22 = add i64 %15, 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, i64 1)\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* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\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(i64 %16, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, 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 i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @unlikely, { 1, 0 }\n uselistorder label LBL_6, { 2, 3, 4, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jp2_box_create_12676", "fun_name": "jp2_box_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 @FUNC(i64 32)\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 %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = inttoptr i64 %0 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 32)\n %6 = trunc i64 %3 to i32\n %7 = inttoptr i64 %0 to i32*\n store i32 %6, i32* %7, align 4\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %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_3\n LBL_2:\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %11, i64* %15, align 8\n %16 = add i64 %0, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 %11, i64* %17, 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 %0, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pci_piix3_xen_ide_unplug_1528", "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 }", "label": "0" }, { "dataset": "CompRealVul", "file": "evm_find_protected_xattrs_7960", "fun_name": "evm_find_protected_xattrs", "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.0.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %storemerge4.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 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 4294967201, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = load i64, i64* @gv_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 %12 = icmp eq i1 %11, false\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %12, label LBL_2, label LBL_7\n LBL_2:\n %13 = trunc i64 %0 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i32 %13, -61\n store i64 %8, i64* %storemerge4.reg2mem\n store i32 0, i32* %sv_0.13.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_6, label LBL_8\n LBL_5:\n %17 = add i32 %sv_0.13.reload, 1\n store i32 %17, 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 %18 = add i64 %storemerge4.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 %18, i64* %storemerge4.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %22, label LBL_3, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %23 = zext i32 %sv_0.1.lcssa.reload to i64\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %24 = and i64 %0, 4294967295\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 i32 %sv_0.13.reload, { 1, 0 }\n uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.13.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 i32 0, { 1, 2, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder label LBL_9, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "op_fdiv_ST0_FT0_14698", "fun_name": "op_fdiv_ST0_FT0", "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 i64, i64* @gv_0, align 8\n %3 = call i128 @FUNC(i64 %2)\n %4 = load i64, i64* @gv_1, align 8\n %5 = call i128 @FUNC(i64 %4)\n %6 = call i128 @FUNC(i128 %3, i128 %5)\n %7 = call i64 @__asm_movsd.1(i128 %6)\n store i64 %7, i64* @gv_0, align 8\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lumRangeToJpeg16_c_3228", "fun_name": "lumRangeToJpeg16_c", "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_3\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 i64 %indvars.iv.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 i32 %6, -483024\n %8 = sub i32 483023, %6\n %9 = and i32 %8, %6\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i32 %7, 0\n %12 = icmp slt i32 %7, 0\n %13 = icmp eq i1 %12, %10\n %14 = icmp eq i1 %11, false\n %15 = icmp eq i1 %13, %14\n %.op = mul i32 %6, 4769\n %.op2 = add i32 %.op, -156229444\n %.op2.op = ashr i32 %.op2, 12\n %16 = select i1 %15, i32 524246, i32 %.op2.op\n store i32 %16, i32* %5, 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_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 i32 %7, { 1, 0 }\n uselistorder i32 %6, { 2, 0, 1, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qed_read_l2_table_cb_1968", "fun_name": "qed_read_l2_table_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 = trunc i64 %arg2 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 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_4\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 %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n store i64 %9, i64* %arg1, align 8\n %10 = call i64 @FUNC(i64 %6, i64 %0)\n %11 = call i64 @FUNC(i64 %6, i64 %9)\n store i64 %11, i64* %arg1, align 8\n %12 = icmp eq i64 %6, 0\n %13 = icmp eq i1 %12, false\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_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %14 = and i64 %arg2, 4294967295\n %15 = add i64 %0, 24\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n ret i64 %16\n\n uselistorder i64 %6, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 1, 3, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "assign_failed_examine_14376", "fun_name": "assign_failed_examine", "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 i32, align 4\n %sv_1 = alloca i16, align 2\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 store i64 0, i64* %sv_5, align 8\n %3 = bitcast i64* %sv_4 to i8*\n call void @FUNC(i8* nonnull %3, i64 0, i64 510)\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = add i64 %2, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = add i64 %2, 2\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %6 to i32\n %14 = zext i8 %9 to i32\n %15 = zext i8 %12 to i32\n %16 = trunc i64 %1 to i32\n %17 = urem i32 %16, 65536\n %18 = bitcast i64* %sv_3 to i8*\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %18, i32 4096, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i32 %17, i32 %15, i32 %14, i32 %13)\n %20 = bitcast i64* %sv_2 to i8*\n %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 4096, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_3)\n %22 = bitcast i64* %sv_5 to i8*\n %23 = call i32 @readlink(i8* nonnull %20, i8* nonnull %22, i32 4096)\n %24 = icmp sgt i32 %23, 0\n %25 = icmp ult i32 %23, 4096\n %or.cond = icmp eq i1 %24, %25\n br i1 %or.cond, label LBL_1, label LBL_5\n LBL_1:\n %26 = call i8* @strrchr(i8* nonnull %22, i32 47)\n %27 = icmp eq i8* %26, null\n br i1 %27, label LBL_5, label LBL_2\n LBL_2:\n %28 = bitcast i16* %sv_1 to i64*\n %29 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %28)\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_3\n LBL_3:\n %33 = bitcast i32* %sv_0 to i64*\n %34 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %33)\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_5, label LBL_4\n LBL_4:\n %38 = ptrtoint i8* %26 to i64\n %39 = add i64 %38, 1\n %40 = load i8, i8* %5, align 1\n %41 = zext i8 %40 to i32\n %42 = load i8, i8* %8, align 1\n %43 = zext i8 %42 to i32\n %44 = load i8, i8* %11, align 1\n %45 = zext i8 %44 to i64\n %46 = urem i64 %1, 65536\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([386 x i8], [386 x i8]* @gv_2, i64 0, i64 0), i64 %39, i64 %46, i64 %45, i32 %43, i32 %41)\n store i64 %47, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n store i64 %48, 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* %26, { 1, 0 }\n uselistorder i32 %23, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_name_4354", "fun_name": "get_name", "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 %storemerge.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 %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 = call i64* @memset(i64* %arg2, i32 0, i32 24)\n %9 = icmp eq i32 %arg4, 0\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %10 = trunc i64 %1 to i32\n %11 = icmp eq i32 %10, 1\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = icmp eq i32 %arg4, 2\n %13 = icmp eq i32 %10, 2\n %or.cond = icmp eq i1 %12, %13\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_6\n LBL_3:\n %14 = inttoptr i64 %7 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = bitcast i64* %arg2 to i32*\n store i32 %15, i32* %16, 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 = add i64 %2, 4\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n br label LBL_5\n LBL_4:\n %22 = add i64 %7, 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 = call i64 @FUNC(i64 %27, i64 %2)\n br label LBL_5\n LBL_5:\n %29 = bitcast i64* %arg3 to i32*\n store i32 24, i32* %29, align 4\n %30 = add i64 %2, 12\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %31, align 4\n %32 = add i64 %2, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 1, i32* %33, align 4\n %34 = add i64 %2, 20\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %2, 8\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, 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 i32 %10, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 24, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hvm_free_ioreq_mfn_6769", "fun_name": "hvm_free_ioreq_mfn", "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 = icmp eq i8 %1, 0\n %3 = add i64 %0, 16\n %storemerge = select i1 %2, i64 %3, i64 %0\n %4 = inttoptr i64 %storemerge 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_1\n LBL_1:\n store i64 0, i64* %4, align 8\n %7 = add i64 %storemerge, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %8, align 8\n %11 = call i64 @FUNC(i64 0, i64 %5)\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(i64 %5)\n br label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %5)\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 %5, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "com_properties_get_6756", "fun_name": "com_properties_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 4210717\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "implicit_weight_table_7451", "fun_name": "implicit_weight_table", "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.0.reg2mem = alloca i32\n %storemerge814.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv21.reg2mem = alloca i64\n %storemerge11.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 %storemerge9.in.in.reg2mem = alloca i64\n %indvars.iv25.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n store i64 0, i64* %indvars.iv25.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem\n %1 = mul i64 %indvars.iv25.reload, 4\n %2 = add i64 %1, %0\n %3 = add i64 %2, 1544\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %2, 1552\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1\n %exitcond27 = icmp eq i64 %indvars.iv.next26, 2\n store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem\n br i1 %exitcond27, label LBL_2, label LBL_1\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %7 = ashr exact i64 %sext, 32\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_8, label LBL_3\n LBL_3:\n %11 = bitcast i64* %rdi to i32*\n %12 = load i32, i32* %11, align 8\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\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 store i64 %18, i64* %storemerge9.in.in.reg2mem\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %19 = add i32 %12, -1\n %20 = sext i32 %19 to i64\n %21 = mul i64 %20, 4\n %22 = add i64 %18, 4\n %23 = add i64 %22, %21\n store i64 %23, i64* %storemerge9.in.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge9.in.in.reload = load i64, i64* %storemerge9.in.in.reg2mem\n %storemerge9.in = inttoptr i64 %storemerge9.in.in.reload to i32*\n %storemerge9 = load i32, i32* %storemerge9.in, align 4\n %24 = add i64 %0, 1536\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 1\n %.pre = add i64 %0, 1540\n %.pre28 = inttoptr i64 %.pre to i32*\n %.pre31 = load i32, i32* %.pre28, align 4\n %28 = icmp eq i32 %.pre31, 1\n %29 = icmp eq i1 %27, %28\n store i32 %storemerge9, i32* %sv_3.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 %26, i32* %sv_1.0.reg2mem\n store i32 %.pre31, i32* %storemerge11.reg2mem\n br i1 %29, label LBL_6, label LBL_9\n LBL_6:\n %30 = bitcast i64* %rsi to i32*\n %31 = load i32, i32* %30, align 8\n %32 = add i64 %0, 768\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i32 %34, %31\n %36 = mul i32 %storemerge9, 2\n %37 = icmp eq i32 %35, %36\n %38 = icmp eq i1 %37, false\n store i32 %storemerge9, i32* %sv_3.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 %26, i32* %sv_1.0.reg2mem\n store i32 %.pre31, i32* %storemerge11.reg2mem\n br i1 %38, label LBL_9, label LBL_7\n LBL_7:\n %39 = add i64 %0, 1560\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n %41 = add i64 %0, 1564\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_26\n LBL_8:\n %43 = ptrtoint i32* %arg1 to i64\n %44 = add i64 %43, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = ashr exact i64 %sext, 30\n %48 = add nsw i64 %47, 4\n %49 = add i64 %48, %46\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %0, 1536\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = mul i32 %54, 2\n %56 = add i32 %55, 16\n %57 = add i64 %0, 1540\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = mul i32 %59, 2\n %61 = add i32 %60, 16\n store i32 %51, i32* %sv_3.0.reg2mem\n store i32 16, i32* %sv_2.0.reg2mem\n store i32 %56, i32* %sv_1.0.reg2mem\n store i32 %61, i32* %storemerge11.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge11.reload = load i32, i32* %storemerge11.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 %62 = add i64 %0, 1560\n %63 = inttoptr i64 %62 to i32*\n store i32 2, i32* %63, align 4\n %64 = add i64 %0, 1564\n %65 = inttoptr i64 %64 to i32*\n store i32 2, i32* %65, align 4\n %66 = add i64 %0, 1568\n %67 = inttoptr i64 %66 to i32*\n store i32 5, i32* %67, align 4\n %68 = add i64 %0, 1572\n %69 = inttoptr i64 %68 to i32*\n store i32 5, i32* %69, align 4\n %70 = icmp slt i32 %sv_2.0.reload, %sv_1.0.reload\n br i1 %70, label LBL_11, label LBL_9.LBL_26.loopexit_crit_edge\n LBL_10:\n %.pre32 = zext i32 %sv_2.0.reload to i64\n store i64 %.pre32, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_11:\n %71 = icmp slt i32 %sv_2.0.reload, %storemerge11.reload\n %72 = add i64 %0, 1576\n %73 = zext i32 %sv_2.0.reload to i64\n %74 = add i64 %0, 1580\n %wide.trip.count = zext i32 %storemerge11.reload to i64\n %wide.trip.count23 = zext i32 %sv_1.0.reload to i64\n store i64 %73, i64* %indvars.iv21.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv21.reload = load i64, i64* %indvars.iv21.reg2mem\n br i1 %71, label LBL_13, label LBL_25\n LBL_13:\n %75 = mul nuw nsw i64 %indvars.iv21.reload, 24\n %76 = add i64 %75, %0\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = add i64 %76, 16\n %80 = inttoptr i64 %79 to i64*\n %81 = sub i32 %sv_3.0.reload, %78\n %82 = icmp slt i32 %81, -128\n %83 = add i32 %81, -127\n %84 = sub i32 126, %81\n %85 = and i32 %84, %81\n %86 = icmp slt i32 %85, 0\n %87 = icmp eq i32 %83, 0\n %88 = icmp slt i32 %83, 0\n %89 = icmp eq i1 %88, %86\n %90 = icmp eq i1 %87, false\n %91 = icmp eq i1 %89, %90\n %92 = mul i64 %indvars.iv21.reload, 32\n %.op30.op = sext i32 %81 to i64\n %.op.op = select i1 %91, i64 127, i64 %.op30.op\n %93 = select i1 %82, i64 -128, i64 %.op.op\n store i64 %73, i64* %indvars.iv.reg2mem\n br label LBL_14\n LBL_14:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %94 = load i64, i64* %80, align 8\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = icmp eq i32 %96, 0\n %98 = icmp eq i1 %97, false\n store i32 32, i32* %sv_0.0.reg2mem\n br i1 %98, label LBL_21, label LBL_15\n LBL_15:\n %99 = mul nuw nsw i64 %indvars.iv.reload, 24\n %100 = add i64 %99, %0\n %101 = add i64 %100, 784\n %102 = inttoptr i64 %101 to i64*\n %103 = load i64, i64* %102, align 8\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = icmp eq i32 %105, 0\n %107 = icmp eq i1 %106, false\n store i32 32, i32* %sv_0.0.reg2mem\n br i1 %107, label LBL_21, label LBL_16\n LBL_16:\n %108 = add i64 %100, 768\n %109 = inttoptr i64 %108 to i32*\n %110 = load i32, i32* %109, align 4\n %111 = sub i32 %110, %78\n %112 = icmp slt i32 %111, -128\n store i32 -128, i32* %storemerge814.reg2mem\n br i1 %112, label LBL_19, label LBL_17\n LBL_17:\n %113 = add i32 %111, -127\n %114 = sub i32 126, %111\n %115 = and i32 %114, %111\n %116 = icmp slt i32 %115, 0\n %117 = icmp eq i32 %113, 0\n %118 = icmp slt i32 %113, 0\n %119 = icmp eq i1 %118, %116\n %120 = icmp eq i1 %117, false\n %121 = icmp eq i1 %119, %120\n store i32 127, i32* %storemerge814.reg2mem\n br i1 %121, label LBL_19, label LBL_18\n LBL_18:\n %122 = icmp eq i32 %111, 0\n store i32 %111, i32* %storemerge814.reg2mem\n store i32 32, i32* %sv_0.0.reg2mem\n br i1 %122, label LBL_21, label LBL_19\n LBL_19:\n %storemerge814.reload = load i32, i32* %storemerge814.reg2mem\n %123 = sub i32 0, %storemerge814.reload\n %124 = icmp slt i32 %123, 0\n %125 = icmp eq i1 %124, false\n %126 = select i1 %125, i32 %123, i32 %storemerge814.reload\n %127 = ashr i32 %126, 1\n %128 = add nsw i32 %127, 16384\n %129 = ashr i32 %128, 31\n %130 = zext i32 %128 to i64\n %131 = zext i32 %129 to i64\n %132 = mul i64 %131, 4294967296\n %133 = or i64 %132, %130\n %134 = zext i32 %storemerge814.reload to i64\n %135 = sdiv i64 %133, %134\n %sext4 = mul i64 %135, 4294967296\n %136 = ashr exact i64 %sext4, 32\n %137 = mul nsw i64 %136, %93\n %138 = trunc i64 %137 to i32\n %.off = add i32 %138, 16416\n %139 = icmp ugt i32 %.off, 49407\n store i32 32, i32* %sv_0.0.reg2mem\n br i1 %139, label LBL_21, label LBL_20\n LBL_20:\n %140 = add i32 %138, 32\n %141 = ashr i32 %140, 8\n %142 = sub nsw i32 64, %141\n store i32 %142, i32* %sv_0.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %143 = add nuw nsw i64 %indvars.iv.reload, %92\n br i1 %10, label LBL_23, label LBL_22\n LBL_22:\n %144 = mul i64 %143, 8\n %145 = add i64 %74, %144\n %146 = inttoptr i64 %145 to i32*\n store i32 %sv_0.0.reload, i32* %146, align 4\n %147 = add i64 %144, %72\n %148 = inttoptr i64 %147 to i32*\n store i32 %sv_0.0.reload, i32* %148, align 4\n br label LBL_24\n LBL_23:\n %149 = mul i64 %143, 2\n %150 = add nsw i64 %149, %7\n %151 = mul i64 %150, 4\n %152 = add i64 %151, %72\n %153 = inttoptr i64 %152 to i32*\n store i32 %sv_0.0.reload, i32* %153, align 4\n br label LBL_24\n LBL_24:\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_25, label LBL_14\n LBL_25:\n %indvars.iv.next22 = add nuw nsw i64 %indvars.iv21.reload, 1\n %exitcond24 = icmp eq i64 %indvars.iv.next22, %wide.trip.count23\n store i64 %indvars.iv.next22, i64* %indvars.iv21.reg2mem\n store i64 %wide.trip.count23, i64* %rax.0.reg2mem\n br i1 %exitcond24, label LBL_26, label LBL_12\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %144, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i32 %138, { 1, 0 }\n uselistorder i32 %storemerge814.reload, { 2, 1, 0 }\n uselistorder i32 %113, { 1, 0 }\n uselistorder i32 %111, { 0, 2, 1, 4, 3, 5 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %83, { 1, 0 }\n uselistorder i32 %81, { 1, 0, 3, 2, 4 }\n uselistorder i32 %78, { 1, 0 }\n uselistorder i64 %indvars.iv21.reload, { 0, 2, 1 }\n uselistorder i32 %sv_2.0.reload, { 2, 0, 3, 1 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %storemerge11.reload, { 1, 0 }\n uselistorder i32 %.pre31, { 1, 0, 2 }\n uselistorder i32 %26, { 1, 0, 2 }\n uselistorder i32 %storemerge9, { 1, 2, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 1, 6, 11, 12, 13, 14, 15, 16, 0, 7, 10, 9, 5, 8, 4 }\n uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge9.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %storemerge11.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv21.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge814.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 32, { 4, 0, 1, 2, 3 }\n uselistorder i32 126, { 1, 0 }\n uselistorder i32 -127, { 1, 0 }\n uselistorder i32 -128, { 0, 2, 1 }\n uselistorder i32 2, { 3, 4, 0, 1, 2 }\n uselistorder i64 1540, { 1, 0 }\n uselistorder i1 false, { 0, 2, 3, 4, 1, 5, 6, 7 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_26, { 1, 0, 2 }\n uselistorder label LBL_19, { 2, 0, 1 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vu_queue_flush_3522", "fun_name": "vu_queue_flush", "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 %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 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_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 i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = call i64 @FUNC()\n %18 = add i64 %15, 4\n %19 = inttoptr i64 %18 to i16*\n %20 = load i16, i16* %19, align 2\n %21 = trunc i64 %16 to i16\n %22 = add i16 %20, %21\n %23 = ptrtoint i8* %arg1 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %15, i16 %22)\n %25 = add i64 %15, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = trunc i64 %16 to i32\n %29 = sub i32 %27, %28\n store i32 %29, i32* %26, align 4\n %30 = add i64 %15, 12\n %31 = inttoptr i64 %30 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = sub i16 %22, %32\n %34 = sext i16 %33 to i32\n %35 = urem i32 %28, 65536\n %36 = sub nsw i32 %34, %35\n %37 = xor i32 %36, -2147483648\n %38 = and i32 %37, %34\n %39 = icmp slt i32 %38, 0\n %40 = icmp slt i32 %36, 0\n %41 = icmp ne i1 %40, %39\n %42 = zext i1 %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 i64 %43, i64* %rax.0.reg2mem\n br i1 %45, label LBL_4, label LBL_3\n LBL_3:\n %46 = add i64 %15, 14\n %47 = inttoptr i64 %46 to i8*\n store i8 0, i8* %47, align 1\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 %36, { 1, 0 }\n uselistorder i64 %15, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @unlikely, { 2, 1, 0 }\n uselistorder label LBL_4, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_decode_create_ve_4511", "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_8\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_8\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_7, 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_8\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_7\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = mul i64 %indvars.iv.reload, 4\n %17 = mul i64 %indvars.iv.reload, 16\n %18 = add i64 %17, %13\n %19 = call i64 @FUNC(i64 %5, i64 %16)\n %20 = trunc i64 %19 to i32\n %21 = inttoptr i64 %18 to i32*\n store i32 %20, i32* %21, align 4\n %22 = or i64 %16, 1\n %23 = call i64 @FUNC(i64 %5, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %18, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = or i64 %16, 2\n %28 = call i64 @FUNC(i64 %5, i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %18, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = icmp ult i32 %29, 16\n store i64 22, i64* %rax.0.reg2mem\n br i1 %32, label LBL_6, label LBL_8\n LBL_6:\n %33 = or i64 %16, 3\n %34 = call i64 @FUNC(i64 %5, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %18, 12\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %38 = 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 %38, label LBL_5, label LBL_7\n LBL_7:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = trunc i64 %arg2 to i32\n %40 = call i64 @FUNC(i64 %rdi.1.reload, i32 %39, i32 %8, i64 %sv_0.0.reload)\n %41 = inttoptr i64 %sv_0.0.reload to i64*\n call void @free(i64* %41)\n %42 = and i64 %40, 4294967295\n store i64 %42, 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, { 3, 2, 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\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, 5, 1, 2, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_buf_entry, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder label LBL_8, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_moov_size_9612", "fun_name": "compute_moov_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.in.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem5 = alloca i1\n %storemerge13.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 = 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 store i64 %3, i64* %rax.0.in.reg2mem\n br i1 %6, label LBL_1, label LBL_8\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = bitcast i64* %rdi to i32*\n %9 = icmp eq i32 %7, 0\n store i1 true, i1* %.reg2mem5\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 i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.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 %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, %4\n store i32 %17, i32* %15, align 4\n %18 = add i32 %storemerge13.reload, 1\n %19 = load i32, i32* %8, align 8\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* %storemerge13.reg2mem\n br i1 %22, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = icmp eq i32 %19, 0\n store i1 %phitmp, i1* %.reg2mem5\n br label LBL_5\n LBL_5:\n %.reload6 = load i1, i1* %.reg2mem5\n %23 = call i64 @FUNC(i64 %2)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i32 %24, %4\n %or.cond = or i1 %25, %26\n %or.cond4 = or i1 %.reload6, %or.cond\n store i64 %23, i64* %rax.0.in.reg2mem\n br i1 %or.cond4, label LBL_8, label LBL_6\n LBL_6:\n %27 = add i64 %2, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = sub i32 %24, %4\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %30 = load i64, i64* %28, align 8\n %31 = mul i64 %.reload8, 4\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i32 %29, %34\n store i32 %35, i32* %33, align 4\n %36 = add i32 %storemerge2.reload, 1\n %37 = load i32, i32* %8, align 8\n %38 = zext i32 %37 to i64\n %39 = sext i32 %36 to i64\n %40 = icmp slt i64 %39, %38\n store i64 %39, i64* %.reg2mem7\n store i32 %36, i32* %storemerge2.reg2mem\n store i64 %23, i64* %rax.0.in.reg2mem\n br i1 %40, label LBL_7, label LBL_8\n LBL_8:\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 i32 %4, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem7, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @get_moov_size, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mm_answer_gss_checkmic_8927", "fun_name": "mm_answer_gss_checkmic", "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 %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)\n store i64 %1, i64* %sv_1, align 8\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)\n store i64 %2, i64* %sv_0, align 8\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %5 = trunc i64 %4 to i32\n %6 = load i64, i64* %sv_1, align 8\n %7 = inttoptr i64 %6 to i64*\n call void @free(i64* %7)\n %8 = load i64, i64* %sv_0, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n %10 = call i64 @FUNC(i64 %0)\n %11 = and i64 %4, 4294967295\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n %13 = and i64 %arg1, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 1, i64 %0)\n %15 = icmp eq i32 %5, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = load i64, i64* @gv_1, align 8\n %18 = call i64 @FUNC(i64 %17, i64 2, i64 1)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3, 4 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 (i64, i64*)* @buffer_get_string, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s390_ccw_cmd_request_15538", "fun_name": "s390_ccw_cmd_request", "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 %0)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %storemerge = select i1 %5, i64 4294967258, i64 %1\n ret i64 %storemerge\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "migrate_vma_check_page_5993", "fun_name": "migrate_vma_check_page", "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 %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_4\n LBL_1:\n %4 = icmp eq i64* %arg1, %arg2\n %5 = icmp eq i1 %4, false\n %6 = select i1 %5, i32 1, i32 2\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i8\n %9 = icmp ne i8 %8, 0\n %10 = zext i1 %9 to i32\n %spec.select = add nuw nsw i32 %6, %10\n %11 = call i64 @FUNC(i64 %0)\n %12 = icmp eq i64 %11, 0\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = urem i32 %14, 256\n %16 = add nuw nsw i32 %spec.select, 1\n %17 = add nuw nsw i32 %16, %15\n store i32 %17, 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 %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %18 to i32\n %20 = sub i32 %19, %sv_0.1.reload\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %0)\n %23 = icmp sge i64 %22, %21\n %. = zext i1 %23 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 i32 %spec.select, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "base64_encode_9821", "fun_name": "base64_encode", "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.in.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i64\n %sv_1.07.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i32\n %sv_2.1.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 = bitcast i64* %arg1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %sext2 = add i64 %sext, -12884901888\n %4 = ashr exact i64 %sext2, 32\n store i64 %1, i64* %sv_2.2.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_1:\n %5 = add i64 %sv_2.2.reload, 1\n %6 = zext i8 %53 to i32\n %7 = mul i32 %6, 65536\n %8 = inttoptr i64 %5 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n store i64 %5, i64* %sv_2.1.reg2mem\n store i32 %7, i32* %sv_3.1.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = add i64 %sv_2.2.reload, 2\n %12 = zext i8 %9 to i32\n %13 = mul i32 %12, 256\n %14 = or i32 %13, %7\n %.phi.trans.insert = inttoptr i64 %11 to i8*\n %.pre = load i8, i8* %.phi.trans.insert, align 1\n %15 = icmp eq i8 %.pre, 0\n store i64 %11, i64* %sv_2.1.reg2mem\n store i32 %14, i32* %sv_3.1.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = add i64 %sv_2.2.reload, 3\n %17 = zext i8 %.pre to i32\n %18 = or i32 %14, %17\n store i64 %16, i64* %sv_2.1.reg2mem\n store i32 %18, i32* %sv_3.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %19 = urem i32 %sv_3.1.reload, 64\n %20 = zext i32 %19 to i64\n %21 = add i64 %20, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add i64 %sv_0.0.reload, 3\n %25 = inttoptr i64 %24 to i8*\n store i8 %23, i8* %25, align 1\n %26 = udiv i32 %sv_3.1.reload, 64\n %27 = urem i32 %26, 64\n %28 = zext i32 %27 to i64\n %29 = add i64 %28, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = add i64 %sv_0.0.reload, 2\n %33 = inttoptr i64 %32 to i8*\n store i8 %31, i8* %33, align 1\n %34 = udiv i32 %sv_3.1.reload, 4096\n %35 = urem i32 %34, 64\n %36 = zext i32 %35 to i64\n %37 = add i64 %36, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = add i64 %sv_0.0.reload, 1\n %41 = inttoptr i64 %40 to i8*\n store i8 %39, i8* %41, align 1\n %42 = udiv i32 %sv_3.1.reload, 262144\n %43 = urem i32 %42, 64\n %44 = zext i32 %43 to i64\n %45 = add i64 %44, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %46 = inttoptr i64 %45 to i8*\n %47 = load i8, i8* %46, align 1\n %48 = inttoptr i64 %sv_0.0.reload to i8*\n store i8 %47, i8* %48, align 1\n %49 = add i64 %sv_0.0.reload, 4\n %50 = sub i64 %49, %0\n %51 = icmp slt i64 %50, %4\n store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem\n store i64 %49, i64* %sv_0.0.reg2mem\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %51, label LBL_5, label LBL_9\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %52 = inttoptr i64 %sv_2.2.reload to i8*\n %53 = load i8, i8* %52, align 1\n %54 = icmp eq i8 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_1, label LBL_6\n LBL_6:\n %56 = inttoptr i64 %sv_0.0.reload to i8*\n store i8 0, i8* %56, align 1\n store i32 undef, i32* %sv_1.07.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.16.reg2mem\n store i32 undef, i32* %.lcssa.in.reg2mem\n br i1 undef, label LBL_7, label LBL_8\n LBL_7:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem\n %57 = add i32 %sv_1.07.reload, -1\n %58 = add i64 %sv_0.16.reload, -1\n %59 = inttoptr i64 %58 to i8*\n store i8 61, i8* %59, align 1\n %60 = icmp eq i32 %57, 0\n %61 = icmp eq i1 %60, false\n store i32 %57, i32* %sv_1.07.reg2mem\n store i64 %58, i64* %sv_0.16.reg2mem\n store i32 %57, i32* %.lcssa.in.reg2mem\n br i1 %61, label LBL_7, label LBL_8\n LBL_8:\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_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %53, { 1, 0 }\n uselistorder i64 %sv_2.2.reload, { 1, 0, 2, 3 }\n uselistorder i64 %sv_0.0.reload, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i32 %sv_3.1.reload, { 3, 2, 1, 0 }\n uselistorder i8 %.pre, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_1.07.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 64, { 1, 2, 3, 0, 4 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i8 0, { 2, 3, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blk_mig_save_dirty_block_2127", "fun_name": "blk_mig_save_dirty_block", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i32*\n %0 = trunc i64 %arg2 to i32\n store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge3.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge3.reload = load i32*, i32** %storemerge3.reg2mem\n %1 = ptrtoint i32* %storemerge3.reload to i64\n %2 = call i64 @FUNC(i64 %arg1, i64 %1, i32 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 1\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = load i32, i32* %storemerge3.reload, align 4\n %6 = sext i32 %5 to i64\n %7 = inttoptr i64 %6 to i32*\n %8 = icmp eq i32 %5, 0\n %9 = icmp eq i1 %8, false\n store i32* %7, i32** %storemerge3.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_3:\n %10 = and i64 %2, 4294967295\n ret i64 %10\n\n uselistorder i32** %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_acknowledge_7083", "fun_name": "send_acknowledge", "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 0, i64 0)\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_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %1, i64 4)\n %5 = inttoptr i64 %4 to i8*\n store i8 0, i8* %5, align 1\n %6 = add i64 %4, 1\n %7 = inttoptr i64 %6 to i8*\n store i8 1, i8* %7, align 1\n %8 = add i64 %4, 2\n %9 = trunc i64 %arg2 to i8\n %10 = mul i8 %9, 2\n %11 = inttoptr i64 %8 to i8*\n store i8 %10, i8* %11, align 1\n %12 = add i64 %4, 3\n %13 = inttoptr i64 %12 to i8*\n store i8 0, i8* %13, align 1\n %14 = add i64 %1, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = inttoptr i64 %1 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 65535, i64 %18, i32 %16)\n %20 = udiv i64 %19, 256\n %21 = urem i64 %20, 256\n %22 = call i64 @FUNC(i64 %1, i64 %21)\n %23 = urem i64 %19, 256\n %24 = call i64 @FUNC(i64 %1, i64 %23)\n %25 = call i64 @FUNC(i64 %0, i64 %1, i64 0)\n %26 = call i64 @FUNC(i64 %1)\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 %19, { 1, 0 }\n uselistorder i64 %1, { 0, 3, 2, 1, 5, 4, 6, 7 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @skb_put_u8, { 1, 0 }\n uselistorder i64 256, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mntns_get_99", "fun_name": "mntns_get", "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 = icmp eq i64* %arg1, null\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 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %3)\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 %5 = call i64 @FUNC(i64 %0)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DecodeWindowBits_8261", "fun_name": "DecodeWindowBits", "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 i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %1)\n %3 = load i32, i32* %sv_0, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i32 16, i32* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 3, i64* nonnull %1)\n %7 = load i32, i32* %sv_0, align 4\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i32 %7, 17\n store i32 %9, i32* %rax.0.shrunk.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 3, i64* nonnull %1)\n %11 = load i32, i32* %sv_0, align 4\n %12 = icmp eq i32 %11, 0\n %13 = add i32 %11, 8\n %spec.select = select i1 %12, i32 17, i32 %13\n store i32 %spec.select, 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* %sv_0, { 2, 1, 0, 3 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64, i64*)* @BrotliTakeBits, { 2, 1, 0 }\n uselistorder label LBL_4, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_handle_tx_bh_475", "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 = zext i32 %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_3, label LBL_1\n LBL_1:\n store i32 1, i32* %2, align 4\n %9 = add i64 %1, 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_3, label LBL_2\n LBL_2:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %15 = add i64 %1, 8\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 %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 label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ptlrpc_rqphase_move_4321", "fun_name": "ptlrpc_rqphase_move", "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 = trunc i64 %arg2 to i32\n %3 = trunc i64 %1 to i32\n %4 = and i64 %1, 4294967295\n %5 = icmp eq i32 %3, %2\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_10, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %7 to i32\n %9 = icmp ne i32 %8, 0\n %10 = icmp eq i32 %8, 1\n %11 = icmp eq i1 %10, false\n %or.cond = icmp eq i1 %9, %11\n br i1 %or.cond, label LBL_5, label LBL_2\n LBL_2:\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %3, label LBL_3 [\n i32 0, label LBL_10\n i32 1, label LBL_9\n ]\n LBL_3:\n %12 = add i64 %6, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %3, i32* %13, align 4\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 = call i64 @FUNC(i64 %16)\n br label LBL_5\n LBL_5:\n %19 = bitcast i64* %rdi to i32*\n %20 = load i32, i32* %19, align 8\n %21 = icmp ne i32 %20, 0\n %22 = icmp eq i32 %20, 1\n %23 = icmp eq i1 %22, false\n %or.cond4 = icmp eq i1 %21, %23\n br i1 %or.cond4, label LBL_8, label LBL_6\n LBL_6:\n %24 = add i64 %6, 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_8, label LBL_7\n LBL_7:\n %28 = call i64 @FUNC(i64 %26)\n br label LBL_8\n LBL_8:\n %29 = and i64 %7, 4294967295\n %30 = call i64 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64 %6)\n %32 = call i64 @FUNC(i64 1, i64 %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %30)\n %33 = bitcast i64* %arg1 to i32*\n store i32 %8, i32* %33, align 4\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\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 %6, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32 %3, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_10, { 1, 3, 0, 2 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_device_realize_1539", "fun_name": "virtio_scsi_device_realize", "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 i64* %arg2 to i64\n %1 = ptrtoint i32* %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* nonnull %sv_0, i64 4198826, i64 4198833, i64 4198840)\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 %0, i64 %3)\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 = call i64 @FUNC(i64 %1, i64 0, i64 %1, i64* nonnull @gv_0, i64 %1)\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)\n %11 = load i64, i64* %sv_0, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64 %11)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %14 = load i32, i32* @gv_1, align 4\n store i32 ptrtoint (i64* @gv_2 to i32), i32* @gv_1, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 1, i64 4198812, i64 4198819)\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* %sv_0, { 2, 0, 3, 1, 4 }\n uselistorder i64 %1, { 3, 2, 1, 4, 5, 0, 6 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "burl_contains_ctrls_8314", "fun_name": "burl_contains_ctrls", "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 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %sext = mul i64 %1, 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 = add i64 %indvars.iv.reload, %0\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i8 %7, 37\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %10 = add i64 %5, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp slt i8 %12, 50\n store i64 1, i64* %storemerge.reg2mem\n br i1 %13, label LBL_7, label LBL_4\n LBL_4:\n %14 = icmp eq i8 %12, 55\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = add i64 %5, 2\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 70\n %20 = icmp eq i1 %19, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_6, label LBL_7\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %21 = icmp slt i64 %indvars.iv.next, %4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %21, label LBL_2, 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, 1, 3, 2, 4 }\n uselistorder i64 1, { 2, 1, 0, 3 }\n uselistorder label LBL_7, { 2, 0, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gfs2_dirent_find_space_5355", "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 0\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": "0" }, { "dataset": "CompRealVul", "file": "encode_rgb48_10bit_231", "fun_name": "encode_rgb48_10bit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %.reg2mem23 = alloca i32\n %.reg2mem21 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.reg2mem19 = alloca i32\n %.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge14.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 = icmp eq i32 %5, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_9, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = trunc i64 %1 to i32\n %9 = add i64 %7, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = ptrtoint i64* %arg3 to i64\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %7, 8\n %16 = inttoptr i64 %15 to i64*\n %.pre = load i32, i32* %14, align 4\n %17 = icmp eq i32 %8, 0\n store i32 %5, i32* %.reg2mem21\n store i32 %.pre, i32* %.reg2mem23\n store i32 0, i32* %storemerge8.reg2mem\n store i64 %11, i64* %sv_1.06.reg2mem\n store i64 %12, i64* %sv_0.15.reg2mem\n br label LBL_8\n LBL_2:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %18 = mul i32 %storemerge14.reload, 6\n %19 = sext i32 %18 to i64\n %20 = add i64 %sv_1.06.reload, %19\n %21 = add i64 %20, 4\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %21)\n %23 = udiv i64 %22, 16\n %24 = and i64 %23, 4092\n %25 = add i64 %20, 2\n %26 = call i64 @FUNC(i64 %25)\n %27 = mul i64 %26, 64\n %28 = and i64 %27, 4190208\n %29 = or i64 %28, %24\n %30 = call i64 @FUNC(i64 %20)\n %31 = mul i64 %30, 65536\n %32 = and i64 %31, 4290772992\n %33 = or i64 %29, %32\n store i64 %33, i64* %storemerge2.reg2mem\n br label LBL_5\n LBL_4:\n %34 = call i64 @FUNC(i64 %21)\n %35 = udiv i64 %34, 16\n %36 = and i64 %35, 4092\n %37 = add i64 %20, 2\n %38 = call i64 @FUNC(i64 %37)\n %39 = mul i64 %38, 64\n %40 = and i64 %39, 4190208\n %41 = or i64 %40, %36\n %42 = call i64 @FUNC(i64 %20)\n %43 = mul i64 %42, 65536\n %44 = and i64 %43, 4290772992\n %45 = or i64 %41, %44\n store i64 %45, i64* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %46 = and i64 %storemerge2.reload, 4294967295\n %47 = call i64 @FUNC(i64 %sv_0.03.reload, i64 %46)\n %48 = add i64 %sv_0.03.reload, 4\n %49 = add i32 %storemerge14.reload, 1\n %50 = load i32, i32* %14, align 4\n %51 = zext i32 %50 to i64\n %52 = sext i32 %49 to i64\n %53 = icmp slt i64 %52, %51\n store i32 %49, i32* %storemerge14.reg2mem\n store i64 %48, i64* %sv_0.03.reg2mem\n br i1 %53, label LBL_2, label LBL_6\n LBL_6:\n %.pre12 = load i32, i32* %4, align 4\n store i32 %.pre12, i32* %.reg2mem\n store i32 %50, i32* %.reg2mem19\n store i64 %48, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %.reload20 = load i32, i32* %.reg2mem19\n %.reload = load i32, i32* %.reg2mem\n %54 = load i64, i64* %16, align 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 = add i64 %sv_1.06.reload, %57\n %59 = add i32 %storemerge8.reload, 1\n %60 = zext i32 %.reload to i64\n %61 = sext i32 %59 to i64\n %62 = icmp slt i64 %61, %60\n store i32 %.reload, i32* %.reg2mem21\n store i32 %.reload20, i32* %.reg2mem23\n store i32 %59, i32* %storemerge8.reg2mem\n store i64 %58, i64* %sv_1.06.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.15.reg2mem\n store i64 %60, i64* %.lcssa.reg2mem\n br i1 %62, label LBL_8, label LBL_9\n LBL_8:\n %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %.reload24 = load i32, i32* %.reg2mem23\n %.reload22 = load i32, i32* %.reg2mem21\n %63 = icmp eq i32 %.reload24, 0\n store i32 0, i32* %storemerge14.reg2mem\n store i64 %sv_0.15.reload, i64* %sv_0.03.reg2mem\n store i32 %.reload22, i32* %.reg2mem\n store i32 0, i32* %.reg2mem19\n store i64 %sv_0.15.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %63, label LBL_7, label LBL_2\n LBL_9:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %sv_0.15.reload, { 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %sv_0.03.reload, { 1, 0 }\n uselistorder i32* %14, { 1, 0 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 2, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem19, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @AV_RL16, { 2, 1, 0 }\n uselistorder i64 4290772992, { 1, 0 }\n uselistorder i64 4190208, { 1, 0 }\n uselistorder i64 4092, { 1, 0 }\n uselistorder i64 (i64)* @AV_RB16, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 5, 4 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_isync_3480", "fun_name": "gen_isync", "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 %4 = icmp eq i1 %3, false\n %.pre = ptrtoint i32* %arg1 to i64\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 = call i64 @FUNC(i64 %.pre)\n ret i64 %6\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smp_send_enc_info_9344", "fun_name": "smp_send_enc_info", "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 %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 %6 = and i64 %3, 4294967295\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %5, i64 4, i64 0)\n %9 = call i64 @FUNC(i64 1, i64 %5)\n %10 = call i64 @FUNC(i64 2, i64 %5)\n %11 = add i64 %5, 4\n %12 = add i64 %5, 12\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %11 to i64*\n %16 = load i64, i64* %15, align 8\n store i64 %16, i64* %sv_0, align 8\n %17 = add i64 %5, 28\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = urem i32 %19, 2\n %21 = icmp eq i32 %20, 0\n store i64 %14, i64* %rdx.0.reg2mem\n br i1 %21, label LBL_3, label LBL_1\n LBL_1:\n %22 = add i64 %5, 32\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = urem i32 %24, 2\n %26 = icmp eq i32 %25, 0\n store i64 %14, i64* %rdx.0.reg2mem\n br i1 %26, label LBL_3, label LBL_2\n LBL_2:\n %27 = add i64 %5, 36\n %28 = ptrtoint i64* %sv_0 to i64\n %29 = call i64 @FUNC(i64 %27, i64 3, i64* nonnull %sv_0, i64 1)\n store i64 %28, i64* %rdx.0.reg2mem\n store i64 1, i64* %rcx.0.reg2mem\n br label LBL_3\n LBL_3:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %31 = call i64 @FUNC(i64 %5, i64 0)\n ret i64 %31\n\n uselistorder i64 %5, { 2, 1, 0, 4, 3, 5, 6, 7, 8 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @smp_send_cmd, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pred4x4_vertical_vp8_c_744", "fun_name": "pred4x4_vertical_vp8_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) 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 %4 = sub i32 0, %arg3\n %5 = sub i32 %4, 1\n %6 = sext i32 %5 to i64\n %7 = add i64 %6, %3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i32\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 i32\n %15 = trunc i64 %1 to i32\n %16 = urem i32 %15, 256\n %17 = add i64 %2, 1\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = zext i8 %19 to i32\n %21 = add i64 %2, 2\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = zext i8 %23 to i32\n %25 = add i64 %2, 3\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 %14, 2\n %30 = add nuw nsw i32 %16, 2\n %31 = add nuw nsw i32 %30, %10\n %32 = add nuw nsw i32 %31, %29\n %33 = udiv i32 %32, 4\n %34 = mul i32 %16, 2\n %35 = add nuw nsw i32 %20, 2\n %36 = add nuw nsw i32 %34, %14\n %37 = add nuw nsw i32 %36, %35\n %38 = udiv i32 %37, 4\n %39 = mul i32 %38, 256\n %40 = or i32 %39, %33\n %41 = mul i32 %20, 2\n %42 = add nuw nsw i32 %41, %30\n %43 = add nuw nsw i32 %42, %24\n %44 = udiv i32 %43, 4\n %45 = mul i32 %44, 65536\n %46 = or i32 %40, %45\n %47 = mul i32 %24, 2\n %48 = add nuw nsw i32 %47, %35\n %49 = add nuw nsw i32 %48, %28\n %50 = udiv i32 %49, 4\n %51 = mul i32 %50, 16777216\n %52 = or i32 %46, %51\n %53 = bitcast i64* %arg1 to i32*\n store i32 %52, i32* %53, align 4\n %54 = sext i32 %arg3 to i64\n %55 = add i64 %54, %3\n %56 = inttoptr i64 %55 to i32*\n store i32 %52, i32* %56, align 4\n %57 = mul i32 %arg3, 2\n %58 = sext i32 %57 to i64\n %59 = add i64 %58, %3\n %60 = inttoptr i64 %59 to i32*\n store i32 %52, i32* %60, align 4\n %61 = mul i32 %arg3, 3\n %62 = sext i32 %61 to i64\n %63 = add i64 %62, %3\n %64 = zext i32 %52 to i64\n %65 = inttoptr i64 %63 to i32*\n store i32 %52, i32* %65, align 4\n ret i64 %64\n\n uselistorder i32 %52, { 0, 4, 1, 2, 3 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i32 %30, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 3, 0 }\n uselistorder i32 2, { 0, 1, 2, 5, 3, 6, 4 }\n uselistorder i32 %arg3, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stpncpy_4097", "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.15.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.15.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_6\n LBL_4:\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = add i64 %sv_1.15.reload, 1\n %13 = inttoptr i64 %sv_1.15.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.15.reg2mem\n store i64 %sv_1.0.reload, 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, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 0, 1, 3, 2 }\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.15.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": "0" }, { "dataset": "CompRealVul", "file": "rdma_listen_5560", "fun_name": "rdma_listen", "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-phi3.reg2mem = alloca i32*\n %rdi.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, i64 1, i64 2)\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_4, label LBL_1\n LBL_1:\n store i64 2, i64* %sv_1, align 8\n %5 = call i32 @htonl(i32 0)\n %6 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\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 = and i64 %6, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 1, i64 2)\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_15\n LBL_4:\n %14 = add i64 %0, 12\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* %rdi.1.reg2mem\n br i1 %17, label LBL_8, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64* nonnull @gv_0)\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, 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_6, label LBL_7\n LBL_6:\n %26 = call i64 @FUNC(i64* nonnull @gv_0)\n %.pre = add i64 %0, 8\n %.pre2 = inttoptr i64 %.pre to i32*\n store i32* %.pre2, i32** %.pre-phi3.reg2mem\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_7:\n store i32 0, i32* %15, align 4\n %27 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdi.1.reg2mem\n br label LBL_8\n LBL_8:\n %sext = mul i64 %arg2, 4294967296\n %28 = ashr exact i64 %sext, 32\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %29 = trunc i64 %28 to i32\n %30 = add i64 %0, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\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_13, label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %rdi.1.reload, i64 1)\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 %0)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n store i32* %31, i32** %.pre-phi3.reg2mem\n store i64 %39, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_15, label LBL_14\n LBL_11:\n %42 = call i64 @FUNC(i64 %rdi.1.reload, i64 1)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i32* %31, i32** %.pre-phi3.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_14, label LBL_12\n LBL_12:\n %45 = and i64 %28, 4294967295\n %46 = call i64 @FUNC(i64 %0, i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n store i32* %31, i32** %.pre-phi3.reg2mem\n store i64 %46, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_15, label LBL_14\n LBL_13:\n %49 = call i64 @FUNC(i64 %0)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i32* %31, i32** %.pre-phi3.reg2mem\n store i64 %49, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %52, label LBL_14, label LBL_15\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem\n store i32 0, i32* %.pre-phi3.reload, align 4\n %53 = call i64 @FUNC(i64 %0, i64 2, i64 1)\n %54 = and i64 %sv_0.0.reload, 4294967295\n store i64 %54, 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, { 2, 1, 3, 0, 4 }\n uselistorder i64 %rdi.1.reload, { 1, 0 }\n uselistorder i64 %0, { 8, 10, 7, 6, 9, 11, 1, 5, 4, 0, 12, 2, 3, 13 }\n uselistorder i32** %.pre-phi3.reg2mem, { 0, 3, 2, 4, 1, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 4, 5 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64* @gv_0, { 3, 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12 }\n uselistorder i64 (i64, i64, i64)* @cma_comp_exch, { 2, 1, 0 }\n uselistorder i64 2, { 2, 0, 3, 1, 4 }\n uselistorder i64 1, { 4, 0, 5, 6, 7, 8, 1, 2, 3 }\n uselistorder label LBL_15, { 4, 2, 1, 0, 3, 5 }\n uselistorder label LBL_14, { 2, 3, 1, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "g2m_decode_init_7951", "fun_name": "g2m_decode_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 = 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 %0, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 %3)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %9, 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, 2, 1 }\n }", "label": "0" } ]