dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
loadDataFromDisk_9604
loadDataFromDisk
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i64, i64* %1 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = call i64 @FUNC() %10 = load i32, i32* @gv_0, align 4 %11 = icmp eq i32 %10, 1 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = load i64, i64* @gv_1, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %14, i64* %rax.0.reg2mem br i1 %17, label LBL_7, label LBL_2 LBL_2: %18 = call i64 @FUNC() %19 = sub i64 %18, %9 %20 = call i128 @FUNC(i128 %8, i128 %8) %21 = call i128 @FUNC(i64 %19) %22 = load i32, i32* inttoptr (i64 4202668 to i32*), align 4 %23 = call i128 @FUNC(i32 %22) %24 = call i128 @FUNC(i128 %21, i128 %23) %25 = call i128 @FUNC(i128 %7, i128 %7) %26 = call i128 @FUNC(i128 %24) %27 = call i64 @FUNC(i128 %26) %28 = call i128 @__asm_movq.1(i64 %27) %29 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %5, i64 %3, i64 %2) store i64 %29, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %30 = load i64, i64* @gv_3, align 8 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_5, label LBL_4 LBL_4: %35 = call i64 @FUNC() %36 = sub i64 %35, %9 %37 = call i128 @FUNC(i128 %8, i128 %8) %38 = call i128 @FUNC(i64 %36) %39 = call i128 @FUNC(i32 1232348160) %40 = call i128 @FUNC(i128 %38, i128 %39) %41 = call i128 @FUNC(i128 %6, i128 %6) %42 = call i128 @FUNC(i128 %40) %43 = call i64 @FUNC(i128 %42) %44 = call i128 @__asm_movq.1(i64 %43) %45 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %5, i64 %3, i64 %2) store i64 %45, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %46 = call i32* @__errno_location() %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 2 store i64 2, i64* %rax.0.reg2mem br i1 %48, label LBL_7, label LBL_6 LBL_6: %49 = call i32* @__errno_location() %50 = load i32, i32* %49, align 4 %51 = call i8* @strerror(i32 %50) %52 = ptrtoint i8* %51 to i64 %53 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_5, i64 0, i64 0), i64 %52, i64 %5, i64 %3, i64 %2) call void @exit(i32 1) unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0 } uselistorder i128 %8, { 2, 3, 0, 1 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %1, { 3, 2, 1, 0 } uselistorder i128* %0, { 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @serverLog, { 2, 1, 0 } uselistorder i64 ()* @ustime, { 2, 1, 0 } }
0
BinRealVul
tracked_request_end_14638
tracked_request_end
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i64* store i64 %arg1, i64* %4, align 8 br label LBL_2 LBL_2: ret i64 %arg1 }
1
BinRealVul
nr_recvmsg_11198
nr_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %sext = mul i64 %arg5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = urem i64 %7, 2 %9 = and i64 %7, 4294967294 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64 %2, i64 %9, i64 %8, i64* nonnull %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = call i64 @FUNC(i64 %11) %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ugt i64 %20, %arg4 store i64 %20, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = add i64 %17, 24 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 2 store i32 %25, i32* %23, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = add i64 %17, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %11, i64 0, i64 %28, i64 %sv_0.0.reload) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_1, align 4 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %2, i64 %11) %34 = call i64 @FUNC(i64 %2) %35 = load i32, i32* %sv_1, align 4 %36 = zext i32 %35 to i64 store i64 %36, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %37 = icmp eq i64* %arg3, null br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = call i64* @memset(i64* nonnull %arg3, i32 0, i32 8) %39 = bitcast i64* %arg3 to i32* store i32 3, i32* %39, align 4 %40 = add i64 %17, 4 %41 = call i64 @FUNC(i64 %11, i64 7, i64 %40, i64 7) br label LBL_10 LBL_10: %42 = add i64 %17, 8 %43 = inttoptr i64 %42 to i64* store i64 12, i64* %43, align 8 %44 = call i64 @FUNC(i64 %2, i64 %11) %45 = call i64 @FUNC(i64 %2) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 2, 3 } uselistorder i64 %11, { 2, 1, 0, 3, 5, 4, 6 } uselistorder i64 %7, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 0, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 (i64, i64)* @skb_free_datagram, { 1, 0 } uselistorder i64 (i64)* @release_sock, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
read_channels_17200
read_channels
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %1 = call i64 @FUNC(i64 %0) store i64 %1, i64* %sv_2, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = icmp sgt i32 %arg2, 0 store i32 0, i32* %storemerge3.reg2mem store i64 %1, i64* %sv_1.02.reg2mem store i64 0, i64* %sv_0.01.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %6 = call i64 @FUNC(i64 %sv_1.02.reload, i64 4202512, i64* nonnull %sv_3) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i64 %6, i64 %sv_0.01.reload %9 = sext i32 %storemerge3.reload to i64 %10 = mul i64 %9, 4 %11 = add i64 %10, %arg4 %12 = call i64 @FUNC(i64 %spec.select, i64 %11) %13 = inttoptr i64 %11 to i32* %14 = load i32, i32* %13, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %9, 8 %17 = add i64 %16, %arg6 %18 = call i64 @FUNC(i64 %15, i64 8) %19 = inttoptr i64 %17 to i64* store i64 %18, i64* %19, align 8 %20 = load i32, i32* %13, align 4 %21 = sext i32 %20 to i64 %22 = add i64 %16, %arg5 %23 = call i64 @FUNC(i64 %21, i64 8) %24 = inttoptr i64 %22 to i64* store i64 %23, i64* %24, align 8 %25 = icmp eq i64 %23, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_3 LBL_3: %26 = load i64, i64* %19, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %28, label LBL_4, label LBL_8 LBL_4: %29 = load i32, i32* %13, align 4 %30 = call i64 @FUNC(i64 %4, i64 %spec.select, i32 %29, i64 %23) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = and i64 %30, 4294967295 store i64 %34, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %35 = add nuw i32 %storemerge3.reload, 1 %36 = icmp slt i32 %35, %arg2 store i32 %35, i32* %storemerge3.reg2mem store i64 0, i64* %sv_1.02.reg2mem store i64 %spec.select, i64* %sv_0.01.reg2mem br i1 %36, label LBL_2, label LBL_7 LBL_7: %37 = call i64 @FUNC(i64* nonnull %sv_2) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %23, { 1, 0, 2 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %spec.select, { 0, 2, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 2, 1, 3 } uselistorder i64 (i64, i64)* @av_calloc, { 1, 0 } uselistorder i32 0, { 4, 0, 1, 3, 2 } uselistorder i64 4294967284, { 1, 0, 2 } uselistorder i32 %arg2, { 1, 0 } uselistorder label LBL_8, { 4, 3, 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
diff_C_14896
diff_C
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %sv_2.16.reg2mem = alloca i32 %storemerge7.reg2mem = alloca i32 %sv_2.02.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = sext i32 %arg4 to i64 %3 = sext i32 %arg3 to i64 store i32 8, i32* %storemerge7.reg2mem store i32 0, i32* %sv_2.16.reg2mem store i64 %0, i64* %sv_1.05.reg2mem store i64 %1, i64* %sv_0.04.reg2mem br label LBL_3 LBL_1: %sv_2.02.reload = load i32, i32* %sv_2.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = add i64 %indvars.iv.reload, %sv_1.05.reload %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = add i64 %indvars.iv.reload, %sv_0.04.reload %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %6 to i32 %11 = zext i8 %9 to i32 %12 = sub nsw i32 %10, %11 %13 = sub nsw i32 0, %12 %14 = icmp sgt i32 %12, 0 %15 = icmp eq i1 %14, false %16 = select i1 %15, i32 %13, i32 %12 %17 = add i32 %16, %sv_2.02.reload %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %18 = icmp eq i64 %indvars.iv.next, 0 %19 = icmp eq i1 %18, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %17, i32* %sv_2.02.reg2mem br i1 %19, label LBL_1, label LBL_2 LBL_2: %20 = add i64 %sv_1.05.reload, %2 %21 = add i64 %sv_0.04.reload, %3 %22 = add nsw i32 %storemerge7.reload, -1 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i32 %22, i32* %storemerge7.reg2mem store i32 %17, i32* %sv_2.16.reg2mem store i64 %20, i64* %sv_1.05.reg2mem store i64 %21, i64* %sv_0.04.reg2mem br i1 %24, label LBL_3, label LBL_4 LBL_3: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %sv_2.16.reload = load i32, i32* %sv_2.16.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem store i64 8, i64* %indvars.iv.reg2mem store i32 %sv_2.16.reload, i32* %sv_2.02.reg2mem br label LBL_1 LBL_4: %25 = zext i32 %17 to i64 ret i64 %25 uselistorder i32 %17, { 2, 0, 1 } uselistorder i32 %12, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.02.reg2mem, { 2, 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
usb_ehci_pre_save_8301
usb_ehci_pre_save
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = and i32 %3, -8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = sub i32 %3, %4 %9 = mul i32 %8, 1000 %10 = zext i32 %9 to i64 %11 = sub i64 %7, %10 store i64 %11, i64* %6, align 8 %12 = bitcast i64* %arg1 to i32* store i32 %4, i32* %12, align 4 ret i64 %2 uselistorder i32 %3, { 1, 0 } }
0
BinRealVul
salsa20_wordtobyte_9221
salsa20_wordtobyte
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv22.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i32 %sv_2.08.reg2mem = alloca i32 %sv_3.09.reg2mem = alloca i32 %sv_4.010.reg2mem = alloca i32 %sv_5.011.reg2mem = alloca i32 %sv_6.012.reg2mem = alloca i32 %sv_7.013.reg2mem = alloca i32 %sv_8.014.reg2mem = alloca i32 %sv_9.015.reg2mem = alloca i32 %sv_10.016.reg2mem = alloca i32 %sv_11.017.reg2mem = alloca i32 %sv_12.018.reg2mem = alloca i32 %sv_13.019.reg2mem = alloca i32 %sv_14.020.reg2mem = alloca i32 %storemerge321.reg2mem = alloca i32 %sv_15 = alloca i64, align 8 %sv_16 = alloca i64, align 8 %0 = call i64* @memcpy(i64* nonnull %sv_15, i64* %arg2, i32 64) store i32 20, i32* %storemerge321.reg2mem br label LBL_1 LBL_1: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %sv_3.09.reload = load i32, i32* %sv_3.09.reg2mem %sv_4.010.reload = load i32, i32* %sv_4.010.reg2mem %sv_5.011.reload = load i32, i32* %sv_5.011.reg2mem %sv_6.012.reload = load i32, i32* %sv_6.012.reg2mem %sv_7.013.reload = load i32, i32* %sv_7.013.reg2mem %sv_8.014.reload = load i32, i32* %sv_8.014.reg2mem %sv_9.015.reload = load i32, i32* %sv_9.015.reg2mem %sv_10.016.reload = load i32, i32* %sv_10.016.reg2mem %sv_11.017.reload = load i32, i32* %sv_11.017.reg2mem %sv_12.018.reload = load i32, i32* %sv_12.018.reg2mem %sv_13.019.reload = load i32, i32* %sv_13.019.reg2mem %sv_14.020.reload = load i32, i32* %sv_14.020.reg2mem %storemerge321.reload = load i32, i32* %storemerge321.reg2mem %1 = load i64, i64* %sv_15, align 8 %2 = trunc i64 %1 to i32 %3 = add i32 %sv_0.06.reload, %2 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4, i64 7) %6 = trunc i64 %5 to i32 %7 = xor i32 %sv_1.07.reload, %6 %8 = load i64, i64* %sv_15, align 8 %9 = trunc i64 %8 to i32 %10 = add i32 %7, %9 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11, i64 9) %13 = trunc i64 %12 to i32 %14 = xor i32 %sv_2.08.reload, %13 %15 = add i32 %14, %7 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 13) %18 = trunc i64 %17 to i32 %19 = xor i32 %sv_0.06.reload, %18 %20 = add i32 %19, %14 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 18) %23 = load i64, i64* %sv_15, align 8 %24 = xor i64 %23, %22 %sext = mul i64 %24, 4294967296 %25 = ashr exact i64 %sext, 32 store i64 %25, i64* %sv_15, align 8 %26 = add i32 %sv_3.09.reload, %sv_4.010.reload %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 7) %29 = trunc i64 %28 to i32 %30 = xor i32 %sv_5.011.reload, %29 %31 = add i32 %30, %sv_3.09.reload %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %32, i64 9) %34 = trunc i64 %33 to i32 %35 = xor i32 %sv_6.012.reload, %34 %36 = add i32 %35, %30 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37, i64 13) %39 = trunc i64 %38 to i32 %40 = xor i32 %sv_4.010.reload, %39 %41 = add i32 %40, %35 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42, i64 18) %44 = trunc i64 %43 to i32 %45 = xor i32 %sv_3.09.reload, %44 %46 = add i32 %sv_7.013.reload, %sv_8.014.reload %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %47, i64 7) %49 = trunc i64 %48 to i32 %50 = xor i32 %sv_9.015.reload, %49 %51 = add i32 %50, %sv_7.013.reload %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %52, i64 9) %54 = trunc i64 %53 to i32 %55 = xor i32 %sv_10.016.reload, %54 %56 = add i32 %55, %50 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 13) %59 = trunc i64 %58 to i32 %60 = xor i32 %sv_8.014.reload, %59 %61 = add i32 %60, %55 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %62, i64 18) %64 = trunc i64 %63 to i32 %65 = xor i32 %sv_7.013.reload, %64 %66 = add i32 %sv_11.017.reload, %sv_12.018.reload %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %67, i64 7) %69 = trunc i64 %68 to i32 %70 = xor i32 %sv_13.019.reload, %69 %71 = add i32 %70, %sv_11.017.reload %72 = zext i32 %71 to i64 %73 = call i64 @FUNC(i64 %72, i64 9) %74 = trunc i64 %73 to i32 %75 = xor i32 %sv_14.020.reload, %74 %76 = add i32 %75, %70 %77 = zext i32 %76 to i64 %78 = call i64 @FUNC(i64 %77, i64 13) %79 = trunc i64 %78 to i32 %80 = xor i32 %sv_12.018.reload, %79 %81 = add i32 %80, %75 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82, i64 18) %84 = trunc i64 %83 to i32 %85 = xor i32 %sv_11.017.reload, %84 %86 = load i64, i64* %sv_15, align 8 %87 = trunc i64 %86 to i32 %88 = add i32 %70, %87 %89 = zext i32 %88 to i64 %90 = call i64 @FUNC(i64 %89, i64 7) %91 = trunc i64 %90 to i32 %92 = xor i32 %40, %91 %93 = load i64, i64* %sv_15, align 8 %94 = trunc i64 %93 to i32 %95 = add i32 %92, %94 %96 = zext i32 %95 to i64 %97 = call i64 @FUNC(i64 %96, i64 9) %98 = trunc i64 %97 to i32 %99 = xor i32 %55, %98 %100 = add i32 %99, %92 %101 = zext i32 %100 to i64 %102 = call i64 @FUNC(i64 %101, i64 13) %103 = trunc i64 %102 to i32 %104 = xor i32 %70, %103 %105 = add i32 %104, %99 %106 = zext i32 %105 to i64 %107 = call i64 @FUNC(i64 %106, i64 18) %108 = load i64, i64* %sv_15, align 8 %109 = xor i64 %108, %107 %sext2 = mul i64 %109, 4294967296 %110 = ashr exact i64 %sext2, 32 store i64 %110, i64* %sv_15, align 8 %111 = add i32 %45, %7 %112 = zext i32 %111 to i64 %113 = call i64 @FUNC(i64 %112, i64 7) %114 = trunc i64 %113 to i32 %115 = xor i32 %60, %114 %116 = add i32 %115, %45 %117 = zext i32 %116 to i64 %118 = call i64 @FUNC(i64 %117, i64 9) %119 = trunc i64 %118 to i32 %120 = xor i32 %75, %119 %121 = add i32 %120, %115 %122 = zext i32 %121 to i64 %123 = call i64 @FUNC(i64 %122, i64 13) %124 = trunc i64 %123 to i32 %125 = xor i32 %7, %124 %126 = add i32 %125, %120 %127 = zext i32 %126 to i64 %128 = call i64 @FUNC(i64 %127, i64 18) %129 = trunc i64 %128 to i32 %130 = xor i32 %45, %129 %131 = add i32 %65, %30 %132 = zext i32 %131 to i64 %133 = call i64 @FUNC(i64 %132, i64 7) %134 = trunc i64 %133 to i32 %135 = xor i32 %80, %134 %136 = add i32 %135, %65 %137 = zext i32 %136 to i64 %138 = call i64 @FUNC(i64 %137, i64 9) %139 = trunc i64 %138 to i32 %140 = xor i32 %14, %139 %141 = add i32 %140, %135 %142 = zext i32 %141 to i64 %143 = call i64 @FUNC(i64 %142, i64 13) %144 = trunc i64 %143 to i32 %145 = xor i32 %30, %144 %146 = add i32 %145, %140 %147 = zext i32 %146 to i64 %148 = call i64 @FUNC(i64 %147, i64 18) %149 = trunc i64 %148 to i32 %150 = xor i32 %65, %149 %151 = add i32 %85, %50 %152 = zext i32 %151 to i64 %153 = call i64 @FUNC(i64 %152, i64 7) %154 = trunc i64 %153 to i32 %155 = xor i32 %19, %154 %156 = add i32 %155, %85 %157 = zext i32 %156 to i64 %158 = call i64 @FUNC(i64 %157, i64 9) %159 = trunc i64 %158 to i32 %160 = xor i32 %35, %159 %161 = add i32 %160, %155 %162 = zext i32 %161 to i64 %163 = call i64 @FUNC(i64 %162, i64 13) %164 = trunc i64 %163 to i32 %165 = xor i32 %50, %164 %166 = add i32 %165, %160 %167 = zext i32 %166 to i64 %168 = call i64 @FUNC(i64 %167, i64 18) %169 = trunc i64 %168 to i32 %170 = xor i32 %85, %169 %171 = add nsw i32 %storemerge321.reload, -2 %172 = icmp eq i32 %171, 0 %173 = icmp eq i1 %172, false store i32 %171, i32* %storemerge321.reg2mem store i32 %120, i32* %sv_14.020.reg2mem store i32 %104, i32* %sv_13.019.reg2mem store i32 %135, i32* %sv_12.018.reg2mem store i32 %170, i32* %sv_11.017.reg2mem store i32 %99, i32* %sv_10.016.reg2mem store i32 %165, i32* %sv_9.015.reg2mem store i32 %115, i32* %sv_8.014.reg2mem store i32 %150, i32* %sv_7.013.reg2mem store i32 %160, i32* %sv_6.012.reg2mem store i32 %145, i32* %sv_5.011.reg2mem store i32 %92, i32* %sv_4.010.reg2mem store i32 %130, i32* %sv_3.09.reg2mem store i32 %140, i32* %sv_2.08.reg2mem store i32 %125, i32* %sv_1.07.reg2mem store i32 %155, i32* %sv_0.06.reg2mem br i1 %173, label LBL_1, label LBL_2 LBL_2: %174 = ptrtoint i64* %arg2 to i64 %175 = ptrtoint i64* %sv_16 to i64 %176 = add i64 %175, -80 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_3 LBL_3: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %177 = mul i64 %indvars.iv22.reload, 4 %178 = add i64 %177, %176 %179 = inttoptr i64 %178 to i32* %180 = load i32, i32* %179, align 4 %181 = add i64 %177, %174 %182 = inttoptr i64 %181 to i32* %183 = load i32, i32* %182, align 4 %184 = add i32 %183, %180 store i32 %184, i32* %179, align 4 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, 16 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %exitcond24, label LBL_4, label LBL_3 LBL_4: %185 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %186 = mul i64 %indvars.iv.reload, 4 %187 = add i64 %186, %176 %188 = inttoptr i64 %187 to i32* %189 = load i32, i32* %188, align 4 %190 = add i64 %186, %185 %191 = zext i32 %189 to i64 %192 = call i64 @FUNC(i64 %190, i64 %191) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: ret i64 %192 uselistorder i64 %186, { 1, 0 } uselistorder i64 %177, { 1, 0 } uselistorder i32 %sv_12.018.reload, { 1, 0 } uselistorder i32 %sv_11.017.reload, { 2, 1, 0 } uselistorder i32 %sv_8.014.reload, { 1, 0 } uselistorder i32 %sv_7.013.reload, { 2, 1, 0 } uselistorder i32 %sv_4.010.reload, { 1, 0 } uselistorder i32 %sv_3.09.reload, { 2, 1, 0 } uselistorder i32 %sv_0.06.reload, { 1, 0 } uselistorder i64* %sv_15, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } uselistorder i32* %storemerge321.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_14.020.reg2mem, { 1, 0 } uselistorder i32* %sv_13.019.reg2mem, { 1, 0 } uselistorder i32* %sv_12.018.reg2mem, { 1, 0 } uselistorder i32* %sv_11.017.reg2mem, { 1, 0 } uselistorder i32* %sv_10.016.reg2mem, { 1, 0 } uselistorder i32* %sv_9.015.reg2mem, { 1, 0 } uselistorder i32* %sv_8.014.reg2mem, { 1, 0 } uselistorder i32* %sv_7.013.reg2mem, { 1, 0 } uselistorder i32* %sv_6.012.reg2mem, { 1, 0 } uselistorder i32* %sv_5.011.reg2mem, { 1, 0 } uselistorder i32* %sv_4.010.reg2mem, { 1, 0 } uselistorder i32* %sv_3.09.reg2mem, { 1, 0 } uselistorder i32* %sv_2.08.reg2mem, { 1, 0 } uselistorder i32* %sv_1.07.reg2mem, { 1, 0 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0 } uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64, i64)* @rol32, { 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 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
aio_flush_f_1350
aio_flush_f
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 0, i64 0) %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) ret i64 0 uselistorder i64 (i64)* @blk_get_stats, { 1, 0 } }
0
BinRealVul
host_memory_backend_memory_complete_100
host_memory_backend_memory_complete
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2, i64 %3, i64 3) br label LBL_3 LBL_3: %9 = add i64 %1, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %2, i64 %3, i64 4) br label LBL_5 LBL_5: %15 = add i64 %1, 1048 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %1) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %20, i64 %2, i64 %3, i64* nonnull %sv_0) br label LBL_7 LBL_7: %22 = ptrtoint i64* %arg2 to i64 %23 = load i64, i64* %sv_0, align 8 %24 = call i64 @FUNC(i64 %22, i64 %23) ret i64 %24 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 1, 0, 2, 5, 4, 3 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @qemu_madvise, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
1
BinRealVul
setup_tests_5846
setup_tests
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 2) %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0)) ret i64 1 uselistorder i32 (i8*, ...)* @printf, { 1, 0 } }
0
BinRealVul
ds1338_send_15914
ds1338_send
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 72057594037927936 %3 = ashr exact i64 %sext, 56 %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = trunc i64 %3 to i8 %7 = add i64 %2, 1 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %9 = bitcast i64* %arg1 to i8* store i8 0, i8* %9, align 1 br label LBL_18 LBL_2: %10 = add i64 %2, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i64 %14 = trunc i64 %3 to i8 %15 = add i64 %2, -6 %16 = add i64 %15, %13 %17 = inttoptr i64 %16 to i8* store i8 %14, i8* %17, align 1 %18 = icmp ult i8 %14, 8 br i1 %18, label LBL_3, label LBL_17 LBL_3: %19 = add i64 %2, 120 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %2, 64 %23 = zext i32 %21 to i64 %24 = call i64 @FUNC(i64 %22, i64 %23) %25 = urem i64 %3, 256 store i64 %25, i64* @0, align 8 switch i8 %14, label LBL_16 [ i8 0, label LBL_4 i8 1, label LBL_5 i8 2, label LBL_6 i8 3, label LBL_12 i8 4, label LBL_13 i8 5, label LBL_14 i8 6, label LBL_15 ] LBL_4: %26 = urem i64 %3, 128 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = inttoptr i64 %22 to i32* store i32 %28, i32* %29, align 4 br label LBL_16 LBL_5: %30 = urem i64 %3, 128 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i32 %33 = add i64 %2, 68 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 br label LBL_16 LBL_6: %35 = and i64 %arg2, 64 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_10, label LBL_7 LBL_7: %37 = and i64 %arg2, 32 %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = and i64 %3, 79 %40 = call i64 @FUNC(i64 %39) %41 = mul i64 %40, 72057594037927936 %sext2 = add i64 %41, 792633534417207296 store i64 %sext2, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_9: %42 = urem i64 %3, 32 %43 = call i64 @FUNC(i64 %42) %44 = mul i64 %43, 72057594037927936 %sext3 = add i64 %44, -72057594037927936 store i64 %sext3, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_10: %45 = call i64 @FUNC(i64 %25) %sext4 = mul i64 %45, 72057594037927936 store i64 %sext4, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_11: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %46 = udiv i64 %sv_0.0.in.reload, 72057594037927936 %47 = trunc i64 %46 to i32 %48 = add i64 %2, 72 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 br label LBL_16 LBL_12: %50 = urem i64 %3, 8 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = add i32 %52, -1 %54 = add i64 %2, 88 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 br label LBL_16 LBL_13: %56 = urem i64 %3, 64 %57 = call i64 @FUNC(i64 %56) %58 = trunc i64 %57 to i32 %59 = add i64 %2, 76 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 br label LBL_16 LBL_14: %61 = urem i64 %3, 32 %62 = call i64 @FUNC(i64 %61) %63 = trunc i64 %62 to i32 %64 = add i32 %63, -1 %65 = add i64 %2, 80 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 br label LBL_16 LBL_15: %67 = call i64 @FUNC(i64 %25) %68 = trunc i64 %67 to i32 %69 = add i32 %68, 100 %70 = add i64 %2, 84 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 br label LBL_16 LBL_16: %72 = call i64 @FUNC(i64 %22) %73 = trunc i64 %72 to i32 store i32 %73, i32* %20, align 4 br label LBL_17 LBL_17: %74 = load i8, i8* %11, align 1 %75 = add i8 %74, 1 store i8 %75, i8* %11, align 1 br label LBL_18 LBL_18: ret i64 0 uselistorder i64 %25, { 2, 1, 0 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i8* %11, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 2, 3, 8, 4, 5, 6, 9, 7 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 0, 7, 6, 9, 8, 10 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64)* @from_bcd, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i64 72057594037927936, { 4, 0, 1, 2, 3 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0 } }
1
BinRealVul
check_intra_pred8x8_mode_emuedge_15909
check_intra_pred8x8_mode_emuedge
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 32 %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = icmp eq i32 %0, 3 br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = icmp sgt i32 %4, 3 br i1 %5, label LBL_9, label LBL_2 LBL_2: %6 = icmp eq i32 %4, 2 br i1 %6, label LBL_7, label LBL_3 LBL_3: %7 = icmp sgt i32 %4, 2 br i1 %7, label LBL_9, label LBL_4 LBL_4: switch i32 %4, label LBL_9 [ i32 0, label LBL_5 i32 1, label LBL_6 ] LBL_5: %8 = and i64 %2, 4294967295 %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %8, i32 %arg3) store i64 %10, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %11 = icmp eq i32 %arg3, 0 %12 = and i64 %1, 4294967295 %spec.select = select i1 %11, i64 4, i64 %12 ret i64 %spec.select LBL_7: %13 = trunc i64 %2 to i32 %14 = icmp eq i32 %13, 0 %15 = and i64 %1, 4294967295 %spec.select4 = select i1 %14, i64 5, i64 %15 store i64 %spec.select4, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %16 = and i64 %2, 4294967295 %17 = and i64 %1, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %16, i32 %arg3) store i64 %18, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %19 = and i64 %1, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 0, 5, 2, 4, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32 2, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i32 %arg3, { 2, 0, 1 } uselistorder label LBL_10, { 1, 2, 0, 3 } }
1
BinRealVul
dot_product_1160
dot_product
define i64 @FUNC(i16* %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp sgt i32 %arg3, 0 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_4 LBL_1: %1 = ptrtoint i16* %arg1 to i64 %2 = ptrtoint i16* %arg2 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 2 %4 = add i64 %3, %1 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = add i64 %3, %2 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = sext i16 %9 to i64 %11 = sext i16 %6 to i64 %12 = mul i64 %11, 2 %13 = mul nsw i64 %12, %10 %14 = call i64 @FUNC(i64 %13) %sext = mul i64 %14, 4294967296 %15 = ashr exact i64 %sext, 32 %sext5 = mul i64 %sv_0.03.reload, 4294967296 %16 = ashr exact i64 %sext5, 32 %17 = add nsw i64 %15, %16 %18 = call i64 @FUNC(i64 %17) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %18, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %phitmp = and i64 %18, 4294967295 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %18, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_clipl_int32, { 1, 0 } }
0
BinRealVul
copy_16497
copy
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = sub i64 %7, %0 %9 = icmp sgt i64 %1, %8 store i64 %1, i64* %sv_0.0.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = icmp sgt i64 %8, 0 %11 = select i1 %10, i64 %8, i64 0 %sext3 = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext3, 32 %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = or i32 %15, 1 store i32 %16, i32* %14, align 4 store i64 %12, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = sub i64 %19, %4 %21 = icmp sgt i64 %sv_0.0.reload, %20 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %21, label LBL_3, label LBL_4 LBL_3: %22 = icmp sgt i64 %20, 0 %23 = select i1 %22, i64 %20, i64 0 %sext5 = mul i64 %23, 4294967296 %24 = ashr exact i64 %sext5, 32 %25 = add i64 %0, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = or i32 %27, 2 store i32 %28, i32* %26, align 4 store i64 %24, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = trunc i64 %sv_0.1.reload to i32 %30 = inttoptr i64 %4 to i64* %31 = call i64* @memcpy(i64* %30, i64* %arg1, i32 %29) %32 = add i64 %sv_0.1.reload, %0 store i64 %32, i64* %arg1, align 8 %33 = add i64 %sv_0.1.reload, %4 store i64 %33, i64* %3, align 8 ret i64 %0 uselistorder i64 %sv_0.1.reload, { 2, 1, 0 } uselistorder i64 %20, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 7, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 32, { 3, 0, 4, 1, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
irq_cpu_hotplug_init_2008
irq_cpu_hotplug_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 4198684, i64 %0, i64 1) %2 = trunc i64 %1 to i32 store i32 %2, i32* bitcast (i64* @gv_0 to i32*), align 8 ret i64 0 }
0
BinRealVul
silk_is_lpc_stable_1624
silk_is_lpc_stable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.022.reg2mem = alloca i64 %sv_1.023.reg2mem = alloca i64 %storemerge1024.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_2.025.reg2mem = alloca i32 %indvars.iv31.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %0 = ptrtoint i64* %sv_3 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp sgt i32 %1, 0 br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %wide.trip.count33 = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv31.reg2mem store i32 0, i32* %sv_2.025.reg2mem br label LBL_2 LBL_2: %sv_2.025.reload = load i32, i32* %sv_2.025.reg2mem %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %4 = mul i64 %indvars.iv31.reload, 2 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to i16* %7 = load i16, i16* %6, align 2 %8 = sext i16 %7 to i32 %9 = add i32 %sv_2.025.reload, %8 %10 = mul i64 %indvars.iv31.reload, 4 %11 = add i64 %10, %0 %12 = mul i32 %8, 4096 %13 = inttoptr i64 %11 to i32* store i32 %12, i32* %13, align 4 %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count33 store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem store i32 %9, i32* %sv_2.025.reg2mem br i1 %exitcond34, label LBL_3, label LBL_2 LBL_3: %phitmp = icmp slt i32 %9, 4096 store i64 0, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_4, label LBL_11 LBL_4: %storemerge1021 = add i32 %1, -1 %14 = sext i32 %storemerge1021 to i64 %15 = mul i64 %14, 4 %16 = add i64 %15, %0 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sub i32 0, %18 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false %22 = select i1 %21, i32 %19, i32 %18 %23 = icmp slt i32 %22, 16773023 store i32 %18, i32* %.reg2mem store i32 %storemerge1021, i32* %storemerge1024.reg2mem store i64 %0, i64* %sv_1.023.reg2mem store i64 1073741824, i64* %sv_0.022.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_11 LBL_5: %sext18 = mul i64 %44, 17179869184 %24 = ashr exact i64 %sext18, 32 %storemerge10 = add i32 %storemerge1024.reload, -1 %25 = sext i32 %storemerge10 to i64 %26 = mul i64 %25, 4 %27 = add i64 %59, %26 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = sub i32 0, %29 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false %33 = select i1 %32, i32 %30, i32 %29 %34 = icmp slt i32 %33, 16773023 store i32 %29, i32* %.reg2mem store i32 %storemerge10, i32* %storemerge1024.reg2mem store i64 %59, i64* %sv_1.023.reg2mem store i64 %24, i64* %sv_0.022.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_6, label LBL_11 LBL_6: %sv_0.022.reload = load i64, i64* %sv_0.022.reg2mem %storemerge1024.reload = load i32, i32* %storemerge1024.reg2mem %.reload = load i32, i32* %.reg2mem %35 = mul i32 %.reload, 128 %36 = sub i32 0, %35 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, %37 %39 = udiv i64 %38, 4294967296 %40 = trunc i64 %39 to i32 %41 = sub nsw i32 1073741824, %40 %42 = sext i32 %41 to i64 %43 = mul nsw i64 %sv_0.022.reload, %42 %44 = ashr i64 %43, 32 %45 = icmp eq i32 %storemerge1024.reload, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = mul i64 %44, 4 %48 = trunc i64 %47 to i32 %49 = add i32 %48, -107373 %50 = sub i32 107372, %48 %51 = and i32 %50, %48 %52 = icmp slt i32 %51, 0 %53 = icmp slt i32 %49, 0 %54 = icmp eq i1 %53, %52 %55 = zext i1 %54 to i64 store i64 %55, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %56 = mul i32 %storemerge1024.reload, 64 %57 = and i32 %56, 64 %58 = zext i32 %57 to i64 %59 = add i64 %58, %0 %60 = icmp sgt i32 %storemerge1024.reload, 0 br i1 %60, label LBL_9, label LBL_5 LBL_9: %sv_1.023.reload = load i64, i64* %sv_1.023.reg2mem %61 = call i32 @llvm.ctlz.i32(i32 %41, i1 true), !range !49 %62 = icmp eq i32 %41, 0 %.op = xor i32 %61, 31 %63 = select i1 %62, i32 0, i32 %.op %64 = add nuw nsw i32 %63, 17 %65 = urem i32 %64, 32 %66 = ashr i32 %41, %65 %67 = udiv i32 536870911, %66 %68 = zext i32 %67 to i64 %69 = xor i32 %63, 31 %70 = shl i32 %41, %69 %71 = sext i32 %70 to i64 %72 = mul nsw i64 %68, %71 %73 = udiv i64 %72, 65536 %74 = mul i32 %67, 65536 %75 = mul i64 %73, 4294967296 %sext8 = sub i64 2305843009213693952, %75 %76 = udiv i64 %sext8, 4294967296 %77 = trunc i64 %76 to i32 %78 = mul i32 %67, %77 %79 = ashr i32 %78, 13 %80 = add i32 %79, %74 %81 = add i64 %sv_1.023.reload, -4 %82 = add nuw nsw i32 %63, 31 %83 = urem i32 %82, 32 %84 = shl i32 1, %83 %wide.trip.count = zext i32 %storemerge1024.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %85 = trunc i64 %indvars.iv.reload to i32 %86 = sub i32 %storemerge1024.reload, %85 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 4 %89 = add i64 %81, %88 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = mul i32 %91, %36 %93 = add i32 %92, 1073741824 %94 = ashr i32 %93, 31 %95 = mul i64 %indvars.iv.reload, 4 %96 = add i64 %95, %sv_1.023.reload %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = zext i32 %94 to i64 %100 = zext i32 %98 to i64 %101 = call i64 @FUNC(i64 %100, i64 %99) %102 = trunc i64 %101 to i32 %103 = mul i32 %80, %102 %104 = add i32 %103, %84 %105 = ashr i32 %104, %63 %106 = add i64 %95, %59 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_10 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %95, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %67, { 1, 0, 2 } uselistorder i32 %63, { 0, 2, 1, 3 } uselistorder i64 %sv_1.023.reload, { 1, 0 } uselistorder i64 %59, { 2, 1, 0 } uselistorder i32 %48, { 0, 2, 1 } uselistorder i32 %41, { 1, 4, 3, 2, 0 } uselistorder i32 %storemerge1024.reload, { 1, 4, 0, 5, 2, 3 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %indvars.iv31.reload, { 0, 2, 1 } uselistorder i64 %0, { 2, 0, 1, 3 } uselistorder i64* %indvars.iv31.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.025.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge1024.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.023.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.022.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 31, { 3, 1, 0, 2 } uselistorder i32 64, { 1, 0 } uselistorder i32 1073741824, { 1, 0 } uselistorder i64 4294967296, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder i32 16773023, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 -1, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 4096, { 1, 0 } uselistorder i32 0, { 5, 7, 4, 8, 9, 10, 6, 11, 12, 2, 3, 0, 1, 13 } uselistorder label LBL_11, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
compute_rematrixing_strategy_18483
compute_rematrixing_strategy
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %storemerge57.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %sv_0.08.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %6 = trunc i64 %2 to i32 %7 = and i64 %2, 4294967295 %8 = icmp eq i32 %6, 1 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_15, label LBL_1 LBL_1: %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_15, label LBL_2 LBL_2: %15 = add i64 %10, 24 %16 = inttoptr i64 %15 to i64* %17 = add i64 %10, 12 %18 = inttoptr i64 %17 to i32* %19 = add i64 %10, 8 %20 = inttoptr i64 %19 to i32* %21 = bitcast i32* %sv_1 to i64* %22 = sub i32 %5, %4 %23 = xor i32 %5, %4 %24 = xor i32 %22, %5 %25 = and i32 %24, %23 %26 = icmp slt i32 %25, 0 %27 = icmp eq i32 %22, 0 %28 = icmp slt i32 %22, 0 %29 = icmp ne i1 %28, %26 %30 = or i1 %27, %29 %31 = select i1 %30, i32 %5, i32 %4 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge9.reg2mem br label LBL_3 LBL_3: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload = load i64, i64* %.reg2mem %32 = load i64, i64* %16, align 8 %33 = mul i64 %.reload, 64 %34 = add i64 %32, %33 %35 = inttoptr i64 %34 to i32* %36 = icmp eq i32 %storemerge9.reload, 0 %37 = zext i1 %36 to i32 store i32 %37, i32* %35, align 4 %38 = add i64 %34, 4 %39 = inttoptr i64 %38 to i32* store i32 4, i32* %39, align 4 %40 = add i64 %34, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_7, label LBL_4 LBL_4: %44 = load i32, i32* %18, align 4 %45 = add i32 %44, -61 %46 = sub i32 60, %44 %47 = and i32 %46, %44 %48 = icmp slt i32 %47, 0 %49 = icmp eq i32 %45, 0 %50 = icmp slt i32 %45, 0 %51 = icmp ne i1 %50, %48 %52 = or i1 %49, %51 %53 = select i1 %52, i32 3, i32 4 store i32 %53, i32* %39, align 4 %54 = load i32, i32* %18, align 4 %55 = icmp eq i32 %54, 37 %56 = zext i1 %55 to i32 %57 = sub nsw i32 %53, %56 store i32 %57, i32* %39, align 4 br i1 %36, label LBL_7, label LBL_5 LBL_5: %58 = add i64 %sv_0.08.reload, 4 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp eq i32 %57, %60 br i1 %61, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* %35, align 4 br label LBL_7 LBL_7: %62 = load i32, i32* %20, align 4 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_8, label LBL_14 LBL_8: %65 = load i32, i32* %39, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_14, label LBL_9 LBL_9: %67 = add i64 %34, 20 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = add i64 %34, 16 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = sub i32 %69, %72 %74 = xor i32 %72, %69 %75 = xor i32 %73, %69 %76 = and i32 %75, %74 %77 = icmp slt i32 %76, 0 %78 = icmp eq i32 %73, 0 %79 = icmp slt i32 %73, 0 %80 = icmp ne i1 %79, %77 %81 = or i1 %78, %80 %82 = select i1 %81, i32 %69, i32 %72 %83 = add i64 %34, 40 %84 = inttoptr i64 %83 to i64* %85 = add i64 %34, 32 %86 = inttoptr i64 %85 to i64* store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge57.reg2mem br label LBL_10 LBL_10: %storemerge57.reload = load i32, i32* %storemerge57.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %87 = mul i64 %.reload12, 4 %88 = add i64 %87, ptrtoint (i32** @gv_0 to i64) %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i32 %storemerge57.reload, 1 %92 = sext i32 %91 to i64 %93 = mul i64 %92, 4 %94 = add i64 %93, ptrtoint (i32** @gv_0 to i64) %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = sub i32 %82, %96 %98 = xor i32 %96, %82 %99 = xor i32 %97, %82 %100 = and i32 %99, %98 %101 = icmp slt i32 %100, 0 %102 = icmp eq i32 %97, 0 %103 = icmp slt i32 %97, 0 %104 = icmp ne i1 %103, %101 %105 = or i1 %102, %104 %106 = select i1 %105, i32 %82, i32 %96 %107 = sub i32 %106, %90 %108 = load i64, i64* %84, align 8 %109 = sext i32 %90 to i64 %110 = mul i64 %109, 4 %111 = add i64 %108, %110 %112 = load i64, i64* %86, align 8 %113 = add i64 %112, %110 %114 = zext i32 %107 to i64 %115 = call i64 @FUNC(i64 %10, i64* nonnull %21, i64 %113, i64 %111, i64 %114) %116 = load i32, i32* %sv_1, align 4 %117 = sub i32 %3, %116 %118 = xor i32 %116, %3 %119 = xor i32 %117, %3 %120 = and i32 %119, %118 %121 = icmp slt i32 %120, 0 %122 = icmp eq i32 %117, 0 %123 = icmp slt i32 %117, 0 %124 = icmp ne i1 %123, %121 %125 = or i1 %122, %124 %126 = select i1 %125, i32 %3, i32 %116 %127 = icmp ult i32 %31, %126 %128 = add nsw i64 %87, 48 %129 = add i64 %128, %34 %130 = inttoptr i64 %129 to i32* %. = zext i1 %127 to i32 store i32 %., i32* %130, align 4 br i1 %36, label LBL_13, label LBL_11 LBL_11: %131 = add i64 %128, %sv_0.08.reload %132 = inttoptr i64 %131 to i32* %133 = load i32, i32* %132, align 4 %134 = icmp eq i32 %133, %. br i1 %134, label LBL_13, label LBL_12 LBL_12: store i32 1, i32* %35, align 4 br label LBL_13 LBL_13: %135 = load i32, i32* %39, align 4 %136 = zext i32 %135 to i64 %137 = icmp slt i64 %92, %136 store i64 %92, i64* %.reg2mem11 store i32 %91, i32* %storemerge57.reg2mem br i1 %137, label LBL_10, label LBL_14 LBL_14: %138 = add i32 %storemerge9.reload, 1 %139 = load i32, i32* %12, align 4 %140 = zext i32 %139 to i64 %141 = sext i32 %138 to i64 %142 = icmp slt i64 %141, %140 store i64 %141, i64* %.reg2mem store i32 %138, i32* %storemerge9.reg2mem store i64 %34, i64* %sv_0.08.reg2mem store i64 %140, i64* %rax.0.reg2mem br i1 %142, label LBL_3, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %117, { 1, 2, 0 } uselistorder i32 %116, { 1, 0, 2 } uselistorder i64 %110, { 1, 0 } uselistorder i32 %97, { 1, 2, 0 } uselistorder i32 %96, { 1, 0, 2 } uselistorder i64 %92, { 0, 2, 1 } uselistorder i64 %87, { 1, 0 } uselistorder i32 %82, { 3, 0, 1, 2 } uselistorder i32 %73, { 1, 2, 0 } uselistorder i32 %72, { 1, 0, 2 } uselistorder i32 %69, { 2, 0, 1, 3 } uselistorder i32 %53, { 1, 0 } uselistorder i32 %45, { 1, 0 } uselistorder i32* %39, { 3, 0, 1, 2, 4 } uselistorder i1 %36, { 1, 0, 2 } uselistorder i32* %35, { 1, 0, 2 } uselistorder i64 %34, { 0, 1, 2, 3, 4, 5, 7, 8, 6 } uselistorder i64 %sv_0.08.reload, { 1, 0 } uselistorder i32 %22, { 1, 2, 0 } uselistorder i32* %12, { 1, 0 } uselistorder i64 %10, { 1, 2, 0, 3, 4 } uselistorder i32 %5, { 0, 3, 2, 1 } uselistorder i32 %4, { 0, 2, 1 } uselistorder i32 %3, { 0, 3, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.08.reg2mem, { 1, 0 } uselistorder i64* %.reg2mem11, { 1, 0, 2 } uselistorder i32* %storemerge57.reg2mem, { 1, 0, 2 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 5, 6, 7, 11, 12, 13, 0, 15, 16, 17, 2, 14, 18, 19, 20, 21, 22, 1, 8, 9, 10, 3, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
fsck_gitmodules_fn_11731
fsck_gitmodules_fn
define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %3 = bitcast i32* %sv_1 to i64* %4 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %3, i64* nonnull %sv_2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = load i64, i64* %sv_0, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_5 LBL_2: %10 = load i32, i32* %sv_1, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %7, i64 %11) %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = ptrtoint i64* %arg3 to i64 %18 = add i64 %17, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %17, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 %20, i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %12) %26 = or i64 %25, %1 %27 = trunc i64 %26 to i32 %28 = bitcast i64* %arg3 to i32* store i32 %27, i32* %28, align 4 br label LBL_4 LBL_4: %29 = inttoptr i64 %12 to i64* call void @free(i64* %29) br label LBL_5 LBL_5: ret i64 0 uselistorder i64 %17, { 1, 0 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
BinRealVul
oz_usb_rx_6297
oz_usb_rx
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 %0) store i64 %6, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %7 = inttoptr i64 %4 to i32* %8 = call i64 @FUNC(i64 %4) %9 = call i64 @FUNC(i64 %0) %10 = load i32, i32* %7, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_12, label LBL_3 LBL_3: %13 = ptrtoint i64* %arg2 to i64 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %.pre = add i64 %4, 4 %.pre4 = inttoptr i64 %.pre to i32* br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = load i32, i32* %.pre4, align 4 %19 = sub i32 %18, %16 %20 = trunc i32 %19 to i8 %21 = icmp sgt i8 %20, -1 br i1 %21, label LBL_12, label LBL_5 LBL_5: store i32 %16, i32* %.pre4, align 4 store i64 %14, i64* @0, align 8 switch i64 %13, label LBL_12 [ i64 -3, label LBL_6 i64 -2, label LBL_8 i64 -1, label LBL_9 i64 0, label LBL_10 i64 1, label LBL_11 ] LBL_6: %22 = bitcast i64* %rsi to i32* %23 = load i32, i32* %22, align 8 %24 = icmp ult i32 %23, 15 br i1 %24, label LBL_12, label LBL_7 LBL_7: %25 = trunc i32 %23 to i8 %26 = add i8 %25, -15 %27 = call i64 @FUNC(i64 9) %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i16 %31 = call i64 @FUNC(i64 13) %32 = and i64 %31, 4294967295 %33 = call i64 @FUNC(i64 %32) %34 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %35 = load i32, i32* inttoptr (i64 5 to i32*), align 4 %36 = load i32, i32* inttoptr (i64 1 to i32*), align 4 %37 = add i64 %4, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39, i32 %36, i32 %35, i64 9, i8 %26, i16 %30) br label LBL_12 LBL_8: %41 = load i32, i32* inttoptr (i64 6 to i32*), align 4 %42 = load i32, i32* %15, align 4 %43 = add i64 %4, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i32 %42, i32 %41, i64 0, i64 0) br label LBL_12 LBL_9: %47 = load i32, i32* inttoptr (i64 7 to i32*), align 4 %48 = load i32, i32* %15, align 4 %49 = add i64 %4, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51, i32 %48, i32 %47, i64 0, i64 0) br label LBL_12 LBL_10: %53 = bitcast i64* %rsi to i32* %54 = load i32, i32* %53, align 8 %55 = add i32 %54, -7 %56 = load i32, i32* inttoptr (i64 8 to i32*), align 8 %57 = load i32, i32* %15, align 4 %58 = add i64 %4, 8 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = zext i32 %55 to i64 %62 = call i64 @FUNC(i64 %60, i32 %57, i32 %56, i64 12, i64 %61) br label LBL_12 LBL_11: %63 = bitcast i64* %rsi to i32* %64 = load i32, i32* %63, align 8 %65 = call i64 @FUNC(i64 %4, i64 5, i32 %64) br label LBL_12 LBL_12: %66 = call i64 @FUNC(i64 %4) store i64 %66, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 5, 6, 4, 3, 2, 1, 0, 7, 8, 9 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rsi, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32, i32, i64, i64)* @oz_hcd_control_cnf, { 2, 1, 0 } uselistorder i64 5, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder i64 (i64)* @get_unaligned, { 1, 0 } uselistorder i64 9, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 3, 4, 5, 6, 7, 0, 8, 1, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
f2fs_update_extent_cache_9394
f2fs_update_extent_cache
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i64 %6, i64 -1 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %12, i64 %0) %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = add i64 %13, %17 %19 = call i64 @FUNC(i64 %12, i64 %18, i64 %spec.select, i64 1) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 0, 3, 4 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sk_common_release_10342
sk_common_release
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1) ret i64 %3 uselistorder i64 %arg1, { 3, 2, 1, 0 } }
0
BinRealVul
qemu_send_packet_18661
qemu_send_packet
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = and i64 %1, 4294967295 %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %10) %12 = load i64, i64* @gv_1, align 8 %13 = trunc i64 %9 to i32 %14 = ptrtoint i32* %arg2 to i64 %15 = call i64 @FUNC(i64 %12, i64 %14, i32 %13) %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = add nsw i64 %9, 24 %21 = call i64 @FUNC(i64 %20) %22 = inttoptr i64 %3 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %21 to i64* store i64 %23, i64* %24, align 8 %25 = add i64 %21, 8 %26 = inttoptr i64 %25 to i64* store i64 %2, i64* %26, align 8 %27 = add i64 %21, 16 %28 = inttoptr i64 %27 to i32* store i32 %13, i32* %28, align 4 %29 = add i64 %21, 20 %30 = inttoptr i64 %29 to i64* %31 = bitcast i32* %arg2 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 %13) store i64 %21, i64* %22, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_3: store i32 1, i32* %17, align 4 %33 = call i64 @FUNC(i64 %2, i64 %14, i32 %13) %34 = inttoptr i64 %3 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 %37 = icmp eq i1 %36, false store i64 %35, i64* %.reg2mem br i1 %37, label LBL_4, label LBL_5 LBL_4: %.reload = load i64, i64* %.reg2mem %38 = add i64 %.reload, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %.reload, 20 %42 = add i64 %.reload, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = call i64 @FUNC(i64 %44, i64 %41, i32 %40) %46 = inttoptr i64 %.reload to i64* %47 = load i64, i64* %46, align 8 store i64 %47, i64* %34, align 8 %48 = call i64 @FUNC(i64 %.reload) %49 = load i64, i64* %34, align 8 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 %49, i64* %.reg2mem br i1 %51, label LBL_4, label LBL_5 LBL_5: store i32 0, i32* %17, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 0, 1, 4, 3, 2 } uselistorder i64* %34, { 2, 1, 0 } uselistorder i32 %13, { 2, 0, 1, 3 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 3, 0, 2, 4, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i32)* @qemu_deliver_packet, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
parse_adaptation_sets_16811
parse_adaptation_sets
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.0.ph.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i64 %sv_1.1.ph.reg2mem = alloca i32 %rdi.0.ph.be.reg2mem = alloca i64 %sv_0.1.ph.be.reg2mem = alloca i64 %sv_1.1.ph.be.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_2.03.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i32* %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* store i32 0, i32* %sv_1.1.ph.reg2mem store i64 %4, i64* %sv_0.1.ph.reg2mem store i64 %4, i64* %rdi.0.ph.reg2mem br label LBL_23 LBL_2: %11 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_25 LBL_3: %12 = load i8, i8* %120, align 1 %13 = icmp eq i8 %12, 32 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_24 LBL_4: %15 = icmp eq i32 %sv_1.1.ph.reload, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_10, label LBL_5 LBL_5: %17 = call i32 @strncmp(i8* nonnull %120, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 3) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_10, label LBL_6 LBL_6: %20 = load i32, i32* %8, align 4 %21 = add i32 %20, 1 %22 = sext i32 %21 to i64 %23 = mul nsw i64 %22, 272 %24 = load i64, i64* %10, align 8 %25 = call i64 @FUNC(i64 %24, i64 %23) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_25 LBL_7: store i64 %25, i64* %10, align 8 %28 = load i32, i32* %8, align 4 %29 = add i32 %28, 1 store i32 %29, i32* %8, align 4 %30 = load i64, i64* %10, align 8 %31 = sext i32 %29 to i64 %32 = mul nsw i64 %31, 272 %33 = add i64 %30, -8 %34 = add i64 %33, %32 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = load i64, i64* %10, align 8 %37 = load i32, i32* %8, align 4 %38 = sext i32 %37 to i64 %39 = mul nsw i64 %38, 272 %40 = add i64 %36, -16 %41 = add i64 %40, %39 %42 = inttoptr i64 %41 to i64* store i64 0, i64* %42, align 8 %43 = add i64 %sv_0.1.ph.reload, 3 %44 = load i64, i64* %10, align 8 %45 = load i32, i32* %8, align 4 %46 = sext i32 %45 to i64 %47 = mul nsw i64 %46, 272 %48 = add i64 %44, -272 %49 = add i64 %48, %47 %50 = inttoptr i64 %43 to i8* %51 = load i8, i8* %50, align 1 %52 = icmp eq i8 %51, 44 %53 = icmp eq i1 %52, false store i8 %51, i8* %.reg2mem store i64 %43, i64* %sv_0.04.reg2mem store i64 %49, i64* %sv_2.03.reg2mem store i64 %49, i64* %sv_2.0.lcssa.reg2mem store i64 %43, i64* %sv_0.0.lcssa.reg2mem br i1 %53, label LBL_8, label LBL_9 LBL_8: %sv_2.03.reload = load i64, i64* %sv_2.03.reg2mem %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %.reload = load i8, i8* %.reg2mem %54 = add i64 %sv_0.04.reload, 1 %55 = add i64 %sv_2.03.reload, 1 %56 = inttoptr i64 %sv_2.03.reload to i8* store i8 %.reload, i8* %56, align 1 %57 = inttoptr i64 %54 to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, 44 %60 = icmp eq i1 %59, false store i8 %58, i8* %.reg2mem store i64 %54, i64* %sv_0.04.reg2mem store i64 %55, i64* %sv_2.03.reg2mem store i64 %55, i64* %sv_2.0.lcssa.reg2mem store i64 %54, i64* %sv_0.0.lcssa.reg2mem br i1 %60, label LBL_8, label LBL_9 LBL_9: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %61 = inttoptr i64 %sv_2.0.lcssa.reload to i8* store i8 0, i8* %61, align 1 %62 = add i64 %sv_0.0.lcssa.reload, 1 store i32 1, i32* %sv_1.1.ph.be.reg2mem store i64 %62, i64* %sv_0.1.ph.be.reg2mem store i64 %24, i64* %rdi.0.ph.be.reg2mem br label LBL_22 LBL_10: %63 = icmp eq i32 %sv_1.1.ph.reload, 1 %64 = icmp eq i1 %63, false br i1 %64, label LBL_13, label LBL_11 LBL_11: %65 = call i32 @strncmp(i8* nonnull %120, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i32 8) %66 = icmp eq i32 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_13, label LBL_12 LBL_12: %68 = add i64 %sv_0.1.ph.reload, 8 store i32 2, i32* %sv_1.1.ph.be.reg2mem store i64 %68, i64* %sv_0.1.ph.be.reg2mem store i64 %sv_0.1.ph.reload, i64* %rdi.0.ph.be.reg2mem br label LBL_22 LBL_13: %69 = icmp eq i32 %sv_1.1.ph.reload, 2 %70 = icmp eq i1 %69, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %70, label LBL_25, label LBL_14 LBL_14: %71 = load i64, i64* %10, align 8 %72 = load i32, i32* %8, align 4 %73 = sext i32 %72 to i64 %74 = mul nsw i64 %73, 272 %75 = add i64 %71, -272 %76 = add i64 %75, %74 store i64 %sv_0.1.ph.reload, i64* %storemerge.reg2mem br label LBL_16 LBL_15: %77 = add i64 %storemerge.reload, 1 store i64 %77, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem %78 = inttoptr i64 %storemerge.reload to i8* %79 = load i8, i8* %78, align 1 switch i8 %79, label LBL_17 [ i8 0, label LBL_18 i8 44, label LBL_18 ] LBL_17: %80 = icmp eq i8 %79, 32 %81 = icmp eq i1 %80, false br i1 %81, label LBL_15, label LBL_18 LBL_18: %82 = add i64 %76, 264 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = add i32 %84, 1 store i32 %85, i32* %83, align 4 %86 = sext i32 %85 to i64 %87 = mul i64 %86, 4 %88 = add i64 %76, 256 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = call i64 @FUNC(i64 %90, i64 %87) store i64 %91, i64* %89, align 8 %92 = icmp eq i64 %91, 0 %93 = icmp eq i1 %92, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %93, label LBL_19, label LBL_25 LBL_19: %94 = add i64 %storemerge.reload, 1 %95 = sub i64 %94, %sv_0.1.ph.reload %96 = load i32, i32* %83, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 4 %99 = add i64 %91, -4 %100 = add i64 %99, %98 %101 = and i64 %95, 4294967295 %102 = call i64 @FUNC(i64 %sv_0.1.ph.reload, i64 %101) %103 = trunc i64 %102 to i32 %104 = inttoptr i64 %100 to i32* store i32 %103, i32* %104, align 4 %105 = load i64, i64* %89, align 8 %106 = load i32, i32* %83, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 4 %109 = add i64 %105, -4 %110 = add i64 %109, %108 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = icmp slt i32 %112, 0 %114 = icmp eq i1 %113, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %114, label LBL_20, label LBL_25 LBL_20: %115 = load i8, i8* %78, align 1 %116 = icmp eq i8 %115, 0 store i64 0, i64* %rax.0.reg2mem br i1 %116, label LBL_25, label LBL_21 LBL_21: %117 = icmp eq i8 %115, 32 %118 = icmp eq i1 %117, false %spec.select = select i1 %118, i32 %sv_1.1.ph.reload, i32 0 store i32 %spec.select, i32* %sv_1.1.ph.be.reg2mem store i64 %94, i64* %sv_0.1.ph.be.reg2mem store i64 %sv_0.1.ph.reload, i64* %rdi.0.ph.be.reg2mem br label LBL_22 LBL_22: %rdi.0.ph.be.reload = load i64, i64* %rdi.0.ph.be.reg2mem %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem %sv_1.1.ph.be.reload = load i32, i32* %sv_1.1.ph.be.reg2mem store i32 %sv_1.1.ph.be.reload, i32* %sv_1.1.ph.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph.reg2mem store i64 %rdi.0.ph.be.reload, i64* %rdi.0.ph.reg2mem br label LBL_23 LBL_23: %rdi.0.ph.reload = load i64, i64* %rdi.0.ph.reg2mem %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem %sv_1.1.ph.reload = load i32, i32* %sv_1.1.ph.reg2mem %119 = inttoptr i64 %rdi.0.ph.reload to i8* %120 = inttoptr i64 %sv_0.1.ph.reload to i8* br label LBL_24 LBL_24: %121 = call i32 @strlen(i8* %119) %122 = sext i32 %121 to i64 %123 = add i64 %rdi.0.ph.reload, %122 %124 = icmp ult i64 %sv_0.1.ph.reload, %123 store i64 0, i64* %rax.0.reg2mem br i1 %124, label LBL_3, label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %120, { 2, 0, 1 } uselistorder i32 %sv_1.1.ph.reload, { 3, 2, 1, 0 } uselistorder i64 %sv_0.1.ph.reload, { 3, 4, 0, 1, 7, 6, 5, 2, 8 } uselistorder i64 %rdi.0.ph.reload, { 1, 0 } uselistorder i8 %79, { 1, 0 } uselistorder i64 %storemerge.reload, { 2, 0, 1 } uselistorder i32* %8, { 0, 1, 2, 4, 3, 5 } uselistorder i64 %4, { 2, 0, 1, 4, 3 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.03.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 3, 2, 4, 1, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 2, 0, 3, 4, 5, 1 } uselistorder i64 1, { 0, 1, 4, 2, 3 } uselistorder i8 44, { 1, 2, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64, i64)* @av_realloc, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12, 13 } uselistorder label LBL_25, { 5, 0, 2, 3, 1, 4, 6 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
bcm_rx_handler_6604
bcm_rx_handler
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %2 to i32 %7 = trunc i64 %1 to i32 %8 = and i64 %1, 4294967295 %9 = icmp eq i32 %6, %7 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_13, label LBL_1 LBL_1: %11 = ptrtoint i64* %arg1 to i64 %12 = add i64 %11, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %11, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = add i64 %3, 16 %21 = inttoptr i64 %20 to i64* store i64 %14, i64* %21, align 8 %22 = add i64 %11, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %3, 24 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = add i64 %3, 32 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %31, 1 store i64 %32, i64* %30, align 8 %33 = add i64 %3, 40 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 2 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_3, label LBL_2 LBL_2: %38 = call i64 @FUNC(i64 %3) store i64 %38, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %39 = and i32 %35, 2 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_5, label LBL_4 LBL_4: %41 = add i64 %3, 48 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %3, i64 %43, i64 %11) br label LBL_12 LBL_5: %45 = add i64 %3, 44 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 1 %49 = icmp eq i1 %48, false br i1 %49, label LBL_7, label LBL_6 LBL_6: %50 = call i64 @FUNC(i64 %3, i64 0, i64 %11) br label LBL_12 LBL_7: %51 = icmp ult i32 %47, 2 br i1 %51, label LBL_12, label LBL_8 LBL_8: %52 = add i64 %3, 56 %53 = inttoptr i64 %52 to i64* store i64 1, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54) %56 = call i64 @FUNC(i64 %11) %57 = and i64 %56, %55 %58 = load i64, i64* %53, align 8 %59 = call i64 @FUNC(i64 %58) %60 = load i64, i64* %53, align 8 %61 = add i64 %60, %indvars.iv.reload %62 = call i64 @FUNC(i64 %61) %63 = and i64 %62, %59 %64 = icmp eq i64 %57, %63 %65 = icmp eq i1 %64, false br i1 %65, label LBL_11, label LBL_10 LBL_10: %66 = call i64 @FUNC(i64 %3, i64 %indvars.iv.reload, i64 %11) br label LBL_12 LBL_11: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %67 = load i32, i32* %46, align 4 %68 = zext i32 %67 to i64 %69 = icmp ult i64 %indvars.iv.next, %68 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %69, label LBL_9, label LBL_12 LBL_12: %70 = call i64 @FUNC(i64 %3) store i64 %70, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %53, { 1, 0, 2 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %11, { 2, 3, 1, 0, 4, 5, 6 } uselistorder i64 %3, { 2, 0, 1, 8, 7, 6, 5, 4, 3, 9, 10, 11, 12, 13 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @GET_U64, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @bcm_rx_cmp_to_index, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_12, { 0, 2, 1, 3, 4 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
sdhci_data_transfer_3410
sdhci_data_transfer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_17, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 4 switch i32 %9, label LBL_16 [ i32 3, label LBL_12 i32 2, label LBL_9 i32 0, label LBL_2 i32 1, label LBL_6 ] LBL_2: %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = and i32 %3, 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %2) store i64 %17, i64* %rax.0.reg2mem br label LBL_21 LBL_5: %18 = call i64 @FUNC(i64 %2) store i64 %18, i64* %rax.0.reg2mem br label LBL_21 LBL_6: %19 = add i64 %2, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 2 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) store i64 %25, i64* %rax.0.reg2mem br label LBL_21 LBL_8: %26 = call i64 @FUNC(i64 %2) store i64 %26, i64* %rax.0.reg2mem br label LBL_21 LBL_9: %27 = add i64 %2, 12 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = and i32 %29, 2 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0)) store i64 %33, i64* %rax.0.reg2mem br label LBL_21 LBL_11: %34 = call i64 @FUNC(i64 %2) store i64 %34, i64* %rax.0.reg2mem br label LBL_21 LBL_12: %35 = add i64 %2, 12 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, 2 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_14, label LBL_13 LBL_13: %40 = and i32 %37, 4 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_15, label LBL_14 LBL_14: %43 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) store i64 %43, i64* %rax.0.reg2mem br label LBL_21 LBL_15: %44 = call i64 @FUNC(i64 %2) store i64 %44, i64* %rax.0.reg2mem br label LBL_21 LBL_16: unreachable LBL_17: %45 = and i32 %3, 2 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_20, label LBL_18 LBL_18: %47 = add i64 %2, 20 %48 = call i64 @FUNC(i64 %47) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_20, label LBL_19 LBL_19: %51 = add i64 %2, 16 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = or i32 %53, 112 store i32 %54, i32* %52, align 4 %55 = call i64 @FUNC(i64 %2) store i64 %55, i64* %rax.0.reg2mem br label LBL_21 LBL_20: %56 = add i64 %2, 16 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = or i32 %58, 480 store i32 %59, i32* %57, align 4 %60 = call i64 @FUNC(i64 %2) store i64 %60, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 1, 2, 0 } uselistorder i64 %2, { 11, 12, 9, 10, 14, 8, 7, 6, 5, 1, 0, 4, 2, 3, 13 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 7, 8, 6, 5, 2, 1, 3, 4 } uselistorder i64 (i64)* @sdhci_do_adma, { 2, 1, 0 } uselistorder i64 (i8*)* @trace_sdhci_error, { 2, 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 } uselistorder i32 2, { 3, 4, 5, 0, 2, 1 } }
0
BinRealVul
io_poll_task_func_12892
io_poll_task_func
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %2 = load i64, i64* %sv_0, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0, 2 } }
1
BinRealVul
tgq_decode_mb_14590
tgq_decode_mb
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 13 br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %4) %sext = mul i64 %5, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = icmp slt i64 %8, %9 br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %4) store i64 %11, i64* %storemerge1.reg2mem br label LBL_4 LBL_3: %12 = and i64 %5, 4294967295 store i64 %12, i64* %storemerge1.reg2mem br label LBL_4 LBL_4: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = and i64 %storemerge1.reload, 4294967295 %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4, i64 %13) %15 = add i64 %4, 16 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_5 LBL_5: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %16 = mul i64 %indvars.iv6.reload, 8 %17 = add i64 %16, %15 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %4, i64 %19, i64* nonnull %sv_1) %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 6 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem br i1 %exitcond8, label LBL_6, label LBL_5 LBL_6: %21 = zext i32 %arg3 to i64 %22 = call i64 @FUNC(i64 %4, i64 %15, i64 %3, i32 %arg4, i64 %21) %23 = and i64 %5, 4294967295 %24 = call i64 @FUNC(i64 %4, i64 %23) store i64 0, i64* %storemerge3.reg2mem br label LBL_16 LBL_7: %25 = icmp eq i32 %6, 3 %26 = icmp eq i1 %25, false br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %4) %28 = trunc i64 %27 to i32 %29 = call i64* @memset(i64* nonnull %sv_0, i32 %28, i32 4) %30 = call i64 @FUNC(i64 %4) %31 = call i64 @FUNC(i64 %4) br label LBL_15 LBL_9: %32 = icmp eq i32 %6, 6 %33 = icmp eq i1 %32, false br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0, i64 6) br label LBL_15 LBL_11: %35 = icmp eq i32 %6, 12 %36 = icmp eq i1 %35, false br i1 %36, label LBL_14, label LBL_12 LBL_12: %37 = ptrtoint i64* %sv_2 to i64 %38 = add i64 %37, -14 store i64 0, i64* %indvars.iv.reg2mem br label LBL_13 LBL_13: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %39 = call i64 @FUNC(i64 %4) %40 = trunc i64 %39 to i8 %41 = add nuw nsw i64 %38, %indvars.iv.reload %42 = inttoptr i64 %41 to i8* store i8 %40, i8* %42, align 1 %43 = call i64 @FUNC(i64 %4, i64 1) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_15, label LBL_13 LBL_14: %44 = add i64 %4, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = and i64 %5, 4294967295 %48 = call i64 @FUNC(i64 %46, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %47, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge3.reg2mem br label LBL_16 LBL_15: %49 = call i64 @FUNC(i64 %4, i64 %3, i32 %arg4, i32 %arg3, i64* nonnull %sv_0) store i64 0, i64* %storemerge3.reg2mem br label LBL_16 LBL_16: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %15, { 1, 0 } uselistorder i64 %5, { 1, 2, 3, 0, 4 } uselistorder i64 %4, { 11, 14, 12, 13, 10, 9, 8, 7, 3, 2, 4, 0, 1, 5, 6, 15 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @bytestream2_skip, { 1, 0 } uselistorder i64 6, { 1, 2, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 4294967295, { 0, 1, 2, 4, 3 } uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 } uselistorder i64 (i64)* @bytestream2_get_byte, { 4, 3, 2, 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_16, { 1, 2, 0 } }
1
BinRealVul
copy_cell_889
copy_cell
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.lcssa.reg2mem = alloca i64 %rax.1.be.reg2mem = alloca i64 %sv_0.3.be.reg2mem = alloca i32 %sv_1.3.be.reg2mem = alloca i64 %sv_2.3.be.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_2.311.reg2mem = alloca i64 %sv_1.312.reg2mem = alloca i64 %sv_0.313.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i32* %arg2 to i64 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %sext = mul i64 %1, 4294967296 %12 = ashr exact i64 %sext, 29 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 store i32 0, i32* %sv_3.0.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = inttoptr i64 %18 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %18, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 store i32 %21, i32* %sv_3.0.reg2mem store i32 %24, i32* %storemerge.reg2mem br label LBL_2 LBL_2: %25 = add i64 %4, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = icmp eq i32 %27, 0 %30 = icmp slt i32 %27, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 store i64 %28, i64* %rax.1.lcssa.reg2mem br i1 %33, label LBL_3, label LBL_12 LBL_3: %34 = trunc i64 %3 to i32 %35 = trunc i64 %2 to i32 %36 = mul i32 %35, 4 %37 = mul i32 %36, %34 %38 = mul i32 %8, 4 %39 = add i32 %38, %37 %40 = sext i32 %39 to i64 %41 = add i64 %15, %40 %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %42 = add i64 %4, 12 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = mul i32 %44, 4 %46 = add i32 %storemerge.reload, %39 %47 = mul i32 %sv_3.0.reload, %35 %48 = add i32 %46, %47 %49 = sext i32 %48 to i64 %50 = xor i64 %12, 8 %51 = add i64 %11, %50 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = add i64 %53, %49 %55 = zext i32 %45 to i64 store i32 %8, i32* %.reg2mem store i32 %27, i32* %sv_0.313.reg2mem store i64 %54, i64* %sv_1.312.reg2mem store i64 %41, i64* %sv_2.311.reg2mem br label LBL_4 LBL_4: %sv_2.311.reload = load i64, i64* %sv_2.311.reg2mem %sv_1.312.reload = load i64, i64* %sv_1.312.reg2mem %sv_0.313.reload = load i32, i32* %sv_0.313.reg2mem %.reload = load i32, i32* %.reg2mem %56 = urem i32 %.reload, 4 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false %59 = icmp slt i32 %sv_0.313.reload, 4 %or.cond = or i1 %59, %58 store i64 %sv_2.311.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.312.reload, i64* %sv_1.1.reg2mem store i32 %sv_0.313.reload, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %60 = add i32 %sv_0.313.reload, -4 %61 = udiv i32 %60, 4 %62 = zext i32 %61 to i64 %63 = mul i64 %62, 16 %64 = add nuw nsw i64 %63, 16 %65 = add i64 %64, %sv_2.311.reload %66 = add i64 %64, %sv_1.312.reload %67 = urem i32 %60, 4 store i64 %65, i64* %sv_2.1.reg2mem store i64 %66, i64* %sv_1.1.reg2mem store i32 %67, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %68 = mul i32 %.reload, 4 %69 = and i32 %68, 4 %70 = zext i32 %69 to i64 %71 = icmp eq i32 %69, 0 %72 = icmp eq i1 %71, false %73 = icmp slt i32 %sv_0.1.reload, 2 %or.cond5 = or i1 %72, %73 store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem store i64 %70, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_8, label LBL_7 LBL_7: %74 = add i32 %sv_0.1.reload, -2 %75 = add i64 %sv_1.1.reload, 8 %76 = add i64 %sv_2.1.reload, 8 store i64 %76, i64* %sv_2.2.reg2mem store i64 %75, i64* %sv_1.2.reg2mem store i32 %74, i32* %sv_0.2.reg2mem store i64 %sv_2.1.reload, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %77 = icmp slt i32 %sv_0.2.reload, 1 store i64 %sv_2.2.reload, i64* %sv_2.3.be.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.3.be.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.3.be.reg2mem store i64 %rax.0.reload, i64* %rax.1.be.reg2mem br i1 %77, label LBL_9, label LBL_11 LBL_9: %rax.1.be.reload = load i64, i64* %rax.1.be.reg2mem %sv_0.3.be.reload = load i32, i32* %sv_0.3.be.reg2mem %78 = icmp eq i32 %sv_0.3.be.reload, 0 %79 = icmp slt i32 %sv_0.3.be.reload, 0 %80 = icmp eq i1 %79, false %81 = icmp eq i1 %78, false %82 = icmp eq i1 %80, %81 store i64 %rax.1.be.reload, i64* %rax.1.lcssa.reg2mem br i1 %82, label LBL_9.LBL_4_crit_edge, label LBL_12 LBL_10: %sv_1.3.be.reload = load i64, i64* %sv_1.3.be.reg2mem %sv_2.3.be.reload = load i64, i64* %sv_2.3.be.reg2mem %.pre = load i32, i32* %7, align 4 store i32 %.pre, i32* %.reg2mem store i32 %sv_0.3.be.reload, i32* %sv_0.313.reg2mem store i64 %sv_1.3.be.reload, i64* %sv_1.312.reg2mem store i64 %sv_2.3.be.reload, i64* %sv_2.311.reg2mem br label LBL_4 LBL_11: %83 = call i64 @FUNC(i64 %sv_2.2.reload, i64 %sv_1.2.reload, i32 %35, i32 %35, i64 %55) %84 = add i32 %sv_0.2.reload, -1 %85 = add i64 %sv_1.2.reload, 4 %86 = add i64 %sv_2.2.reload, 4 store i64 %86, i64* %sv_2.3.be.reg2mem store i64 %85, i64* %sv_1.3.be.reg2mem store i32 %84, i32* %sv_0.3.be.reg2mem store i64 %83, i64* %rax.1.be.reg2mem br label LBL_9 LBL_12: %rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem ret i64 %rax.1.lcssa.reload uselistorder i32 %sv_0.3.be.reload, { 2, 1, 0 } uselistorder i64 %sv_2.2.reload, { 2, 1, 0 } uselistorder i64 %sv_1.2.reload, { 2, 1, 0 } uselistorder i32 %sv_0.2.reload, { 2, 0, 1 } uselistorder i64 %sv_2.1.reload, { 0, 2, 1 } uselistorder i64 %sv_1.1.reload, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 2, 0, 1 } uselistorder i32 %60, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %sv_0.313.reload, { 2, 0, 1 } uselistorder i64 %sv_1.312.reload, { 1, 0 } uselistorder i64 %sv_2.311.reload, { 1, 0 } uselistorder i32 %35, { 2, 3, 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.313.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.312.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.311.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.3.be.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.3.be.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.3.be.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.be.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 4, { 8, 0, 5, 4, 7, 6, 1, 2, 3 } uselistorder i1 false, { 5, 2, 3, 4, 0, 1 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 4, { 1, 2, 3, 4, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rtsp_cmd_pause_17230
rtsp_cmd_pause
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i8* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %5, i64 %4) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %6, i64 404) store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = inttoptr i64 %7 to i32* %12 = load i32, i32* %11, align 4 %.off = add i32 %12, -1 %switch = icmp ult i32 %.off, 2 br i1 %switch, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %6, i64 400) store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i32 3, i32* %11, align 4 %14 = call i64 @FUNC(i64 %6, i64 200) %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %6, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %3, i64 %2, i64 %1) %22 = load i64, i64* %19, align 8 %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %3, i64 %2, i64 %1) store i64 %23, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0 } uselistorder i64 %6, { 3, 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @url_fprintf, { 1, 0 } uselistorder i64 (i64, i64)* @rtsp_reply_error, { 1, 0 } }
1
BinRealVul
http_proxy_open_7475
http_proxy_open
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.022.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %.5 = zext i1 %5 to i32 store i32 %.5, i32* %7, align 4 %8 = bitcast i32* %sv_6 to i64* %9 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_8, i64 1024, i64* nonnull %sv_9, i64 1024, i64* nonnull %8, i64* nonnull %sv_7, i64 1024) %10 = load i32, i32* %sv_6, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i64 0, i64 0, i64* nonnull %sv_9, i64 %11, i64 0) %13 = ptrtoint i64* %sv_10 to i64 %14 = bitcast i64* %sv_7 to i8* %15 = load i8, i8* %14, align 8 %16 = icmp eq i8 %15, 47 %17 = icmp eq i1 %16, false %18 = ptrtoint i64* %sv_7 to i64 %19 = or i64 %18, 1 %20 = inttoptr i64 %19 to i8* %sv_11.0 = select i1 %17, i8* %14, i8* %20 %21 = load i32, i32* %sv_6, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64* nonnull %sv_4, i64 100, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 0, i64* nonnull %sv_9, i64 %22, i64 0) %24 = add i64 %2, 32 %25 = inttoptr i64 %24 to i64* %26 = add i64 %2, 24 %27 = inttoptr i64 %26 to i64* %28 = add i64 %2, 16 %29 = add i64 %2, 1032 %30 = add i64 %13, -8 %31 = inttoptr i64 %30 to i64* %32 = add i64 %13, -16 %33 = inttoptr i64 %32 to i64* %34 = add i64 %2, 1040 %35 = ptrtoint i8* %sv_11.0 to i64 %36 = inttoptr i64 %6 to i8* %37 = inttoptr i64 %29 to i64* %38 = add i64 %2, 1048 %39 = inttoptr i64 %38 to i64* %40 = add i64 %2, 1056 %41 = inttoptr i64 %40 to i64* %42 = add i64 %2, 1064 %43 = inttoptr i64 %42 to i32* %44 = add i64 %2, 1072 %45 = inttoptr i64 %44 to i64* %46 = inttoptr i64 %34 to i32* %47 = add i64 %2, 4 %48 = inttoptr i64 %47 to i32* %49 = add i64 %2, 1044 %50 = inttoptr i64 %49 to i32* %51 = load i64, i64* %25, align 8 %52 = load i64, i64* %27, align 8 store i64 %2, i64* %31, align 8 store i64 %51, i64* %33, align 8 %53 = call i64 @FUNC(i64 %29, i64* nonnull %sv_4, i64 0, i64 %28, i64 0, i64 %52) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false store i64 %53, i64* %.lcssa.reg2mem store i32 0, i32* %sv_1.022.reg2mem br i1 %56, label LBL_2, label LBL_1 LBL_1: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %57 = and i64 %.lcssa.reload, 4294967295 store i64 %57, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %58 = call i64 @FUNC(i64 %34, i64* nonnull %sv_8, i64 %35, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) store i64 %58, i64* %sv_3, align 8 %59 = icmp eq i64 %58, 0 %storemerge3 = select i1 %59, i64 ptrtoint (i8** @gv_2 to i64), i64 %58 %. = select i1 %59, i64 ptrtoint (i8** @gv_2 to i64), i64 ptrtoint ([7 x i8]* @gv_3 to i64) store i64 %storemerge3, i64* %33, align 8 %60 = inttoptr i64 %. to i8* %61 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %36, i32 1024, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_4, i64 0, i64 0), i8* %sv_11.0, i64* nonnull %sv_5, i8* %60) %62 = call i64 @FUNC(i64* nonnull %sv_3) %63 = call i32 @strlen(i8* %36) %64 = zext i32 %63 to i64 %65 = load i64, i64* %37, align 8 %66 = call i64 @FUNC(i64 %65, i64 %6, i64 %64) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 0 store i64 %66, i64* %sv_0.0.reg2mem br i1 %68, label LBL_11, label LBL_3 LBL_3: %sv_1.022.reload = load i32, i32* %sv_1.022.reg2mem store i64 %6, i64* %39, align 8 store i64 %6, i64* %41, align 8 store i32 0, i32* %43, align 4 store i64 -1, i64* %45, align 8 %69 = load i32, i32* %46, align 4 %70 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2) %71 = trunc i64 %70 to i32 %72 = icmp slt i32 %71, 0 store i64 %70, i64* %sv_0.0.reg2mem br i1 %72, label LBL_11, label LBL_4 LBL_4: %73 = load i32, i32* %48, align 4 %74 = icmp eq i32 %73, 407 %75 = icmp eq i1 %74, false br i1 %75, label LBL_9, label LBL_5 LBL_5: %76 = icmp eq i32 %69, 0 br i1 %76, label LBL_7, label LBL_6 LBL_6: %77 = load i32, i32* %50, align 4 %78 = icmp eq i32 %77, 0 br i1 %78, label LBL_9, label LBL_7 LBL_7: %79 = load i32, i32* %46, align 4 %80 = icmp eq i32 %79, 0 %81 = icmp ne i32 %sv_1.022.reload, 0 %or.cond = or i1 %81, %80 br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %82 = call i64 @FUNC(i64 %29) %83 = load i64, i64* %25, align 8 %84 = load i64, i64* %27, align 8 store i64 %2, i64* %31, align 8 store i64 %83, i64* %33, align 8 %85 = call i64 @FUNC(i64 %29, i64* nonnull %sv_4, i64 0, i64 %28, i64 0, i64 %84) %86 = trunc i64 %85 to i32 %87 = icmp slt i32 %86, 0 %88 = icmp eq i1 %87, false store i64 %85, i64* %.lcssa.reg2mem store i32 1, i32* %sv_1.022.reg2mem br i1 %88, label LBL_2, label LBL_1 LBL_9: %89 = icmp sgt i32 %73, 399 store i64 0, i64* %rax.0.reg2mem br i1 %89, label LBL_10, label LBL_12 LBL_10: %90 = zext i32 %73 to i64 %91 = call i64 @FUNC(i64 %90, i64 4294967291) store i64 %91, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %92 = call i64 @FUNC(i64 %2) %93 = and i64 %sv_0.0.reload, 4294967295 store i64 %93, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 1, 0 } uselistorder i64* %33, { 2, 1, 0 } uselistorder i64* %31, { 1, 0 } uselistorder i64 %29, { 3, 1, 0, 2 } uselistorder i64 %28, { 1, 0 } uselistorder i64* %27, { 1, 0 } uselistorder i64* %25, { 1, 0 } uselistorder i8* %sv_11.0, { 1, 0 } uselistorder i64* %sv_7, { 0, 2, 1 } uselistorder i32* %sv_6, { 2, 1, 0 } uselistorder i64* %sv_4, { 1, 0, 2 } uselistorder i64 %2, { 8, 13, 3, 0, 2, 1, 4, 5, 6, 7, 9, 10, 14, 12, 11, 15 } uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.022.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @ffurl_open_whitelist, { 1, 0 } uselistorder i64 (i64*, i64, i64, i64, i64*, i64, i64)* @ff_url_join, { 1, 0 } uselistorder i64 1024, { 1, 0, 3, 2 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder label LBL_12, { 1, 0, 2 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vp8_decode_flush_3618
vp8_decode_flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1, i64 1, i64 0) ret i64 %1 uselistorder i64 1, { 1, 0 } }
0
BinRealVul
stvi_Write_10048
stvi_Write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %4) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %4, i64 0, i64 30) %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 %4, i64 %11, i64 2) %13 = add i64 %5, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %4, i64 %16) %18 = add i64 %5, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %4, i64 %21) %23 = load i32, i32* %19, align 4 %24 = add i64 %5, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %4, i64 %26, i32 %23) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 1, 0 } uselistorder i64 0, { 0, 2, 1, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
dyngen_code_16432
dyngen_code
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64 0) %3 = call i64 @FUNC(i64 %0, i64 %1) ret i64 0 }
1
BinRealVul
read_packet_14242
read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem24 = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi14.reg2mem = alloca i64 %storemerge59.reg2mem = alloca i32 %indvars.iv11.reg2mem = alloca i64 %.pre-phi20.reg2mem = alloca i32* %.reg2mem = alloca i32 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %rsi = alloca i64, align 8 %4 = ptrtoint i64* %arg1 to i64 %5 = load i32, i32* %1 %sv_1 = alloca i32*, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %6 = ptrtoint i64* %sv_3 to i64 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_17, label LBL_1 LBL_1: %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %.pre15 = inttoptr i64 %10 to i32* br i1 %18, label LBL_1.LBL_5_crit_edge, label LBL_3 LBL_2: %.pre17 = add i64 %4, 16 %.pre19 = inttoptr i64 %.pre17 to i32* %.pre23 = load i32, i32* %.pre15, align 4 store i32 %.pre23, i32* %.reg2mem store i32* %.pre19, i32** %.pre-phi20.reg2mem br label LBL_5 LBL_3: %19 = load i32, i32* %.pre15, align 4 %20 = add i64 %4, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp ugt i32 %19, %22 store i32 %19, i32* %.reg2mem store i32* %21, i32** %.pre-phi20.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_4: %24 = add i64 %4, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 store i32 %26, i32* %.pre15, align 4 store i32 %26, i32* %.reg2mem store i32* %21, i32** %.pre-phi20.reg2mem br label LBL_5 LBL_5: %.pre-phi20.reload = load i32*, i32** %.pre-phi20.reg2mem %.reload = load i32, i32* %.reg2mem %27 = load i32, i32* %.pre-phi20.reload, align 4 %28 = icmp ugt i32 %.reload, %27 store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_27, label LBL_6 LBL_6: %29 = add i64 %4, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 1024, i64 %31, i32 %.reload) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = load i32, i32* %.pre15, align 4 %37 = icmp slt i32 %36, 2 store i64 5, i64* %rax.0.reg2mem br i1 %37, label LBL_8, label LBL_27 LBL_8: %38 = inttoptr i64 %14 to i32* %39 = ptrtoint i32** %sv_1 to i64 %40 = add i64 %6, -1120 %41 = add i64 %6, -1084 %42 = bitcast i64* %sv_2 to i8* %43 = add i64 %6, -1073 store i64 0, i64* %indvars.iv11.reg2mem store i32 0, i32* %storemerge59.reg2mem br label LBL_9 LBL_9: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %44 = mul i64 %indvars.iv11.reload, 8 %45 = add i64 %44, %39 %46 = call i64 @FUNC(i64 %45, i64* nonnull %sv_2, i64 0, i64 %29, i64 0) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_12, label LBL_10 LBL_10: %50 = trunc i64 %indvars.iv11.reload to i32 %51 = icmp eq i32 %50, 1 br i1 %51, label LBL_14, label LBL_11 LBL_11: %52 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64 0, i64 %2) store i64 5, i64* %rax.0.reg2mem br label LBL_27 LBL_12: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %53 = add i64 %44, %40 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = mul i64 %indvars.iv11.reload, 4 %59 = add i64 %58, %41 %60 = inttoptr i64 %59 to i32* store i32 %57, i32* %60, align 4 %61 = load i32, i32* %38, align 4 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_14, label LBL_13 LBL_13: %64 = call i32 @strlen(i8* nonnull %42) %65 = sext i32 %64 to i64 %66 = trunc i32 %storemerge59.reload to i8 %67 = add i8 %66, 85 %68 = add i64 %43, %65 %69 = inttoptr i64 %68 to i8* store i8 %67, i8* %69, align 1 %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %70 = add nuw nsw i32 %storemerge59.reload, 1 %71 = icmp ult i64 %indvars.iv.next12, 3 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i32 %70, i32* %storemerge59.reg2mem br i1 %71, label LBL_9, label LBL_14 LBL_14: %72 = load i32, i32* %38, align 4 %73 = icmp eq i32 %72, 0 %74 = icmp eq i1 %73, false store i64 %40, i64* %.pre-phi14.reg2mem store i64 %41, i64* %.pre-phi.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %74, label LBL_19, label LBL_15 LBL_15: %75 = add i64 %14, 4 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false store i64 %40, i64* %.pre-phi14.reg2mem store i64 %41, i64* %.pre-phi.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %79, label LBL_19, label LBL_16 LBL_16: %80 = add i64 %14, 8 %81 = call i64 @FUNC(i64 %75, i64 %80, i64 0) store i64 %40, i64* %.pre-phi14.reg2mem store i64 %41, i64* %.pre-phi.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_19 LBL_17: %82 = add i64 %4, 16 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = inttoptr i64 %84 to i32* store i32* %85, i32** %sv_1, align 8 %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 store i64 5, i64* %rax.0.reg2mem br i1 %87, label LBL_17.LBL_19_crit_edge, label LBL_27 LBL_18: %.pre = add i64 %6, -1084 %.pre13 = add i64 %6, -1120 store i64 %.pre13, i64* %.pre-phi14.reg2mem store i64 %.pre, i64* %.pre-phi.reg2mem store i32 4096, i32* %sv_0.0.reg2mem br label LBL_19 LBL_19: %88 = ptrtoint i64* %arg2 to i64 %89 = bitcast i64* %rdi to i32* %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi14.reload = load i64, i64* %.pre-phi14.reg2mem %90 = add i32 %sv_0.0.reload, %5 %91 = zext i32 %90 to i64 %92 = call i64 @FUNC(i64 %88, i64 %91) %93 = add i64 %88, 4 %94 = inttoptr i64 %93 to i32* store i32 0, i32* %94, align 4 %95 = add i64 %88, 8 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = or i32 %97, 1 store i32 %98, i32* %96, align 4 %99 = bitcast i64* %arg2 to i32* store i32 0, i32* %99, align 4 %100 = add i64 %88, 16 %101 = inttoptr i64 %100 to i64* %102 = bitcast i64* %rsi to i32* %103 = add i64 %6, -1096 store i64 0, i64* %indvars.iv.reg2mem br label LBL_20 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %104 = mul i64 %indvars.iv.reload, 4 %105 = add i64 %104, %.pre-phi.reload %106 = inttoptr i64 %105 to i32* %107 = load i32, i32* %106, align 4 %108 = icmp eq i32 %107, 0 br i1 %108, label LBL_25, label LBL_21 LBL_21: %109 = load i64, i64* %101, align 8 %110 = load i32, i32* %102, align 8 %111 = sext i32 %110 to i64 %112 = add i64 %109, %111 %113 = mul i64 %indvars.iv.reload, 8 %114 = add i64 %113, %.pre-phi14.reload %115 = inttoptr i64 %114 to i64* %116 = load i64, i64* %115, align 8 %117 = call i64 @FUNC(i64 %116, i64 %112, i32 %107) %118 = trunc i64 %117 to i32 %119 = add i64 %103, %104 %120 = inttoptr i64 %119 to i32* store i32 %118, i32* %120, align 4 %121 = load i32, i32* %89, align 8 %122 = icmp eq i32 %121, 0 %123 = icmp eq i1 %122, false store i32 %118, i32* %.reg2mem24 br i1 %123, label LBL_23, label LBL_22 LBL_22: %124 = load i64, i64* %115, align 8 %125 = call i64 @FUNC(i64 %124) %.pr = load i32, i32* %120, align 4 store i32 %.pr, i32* %.reg2mem24 br label LBL_23 LBL_23: %.reload25 = load i32, i32* %.reg2mem24 %126 = icmp slt i32 %.reload25, 1 br i1 %126, label LBL_25, label LBL_24 LBL_24: %127 = load i32, i32* %102, align 8 %128 = add i32 %127, %.reload25 store i32 %128, i32* %99, align 4 br label LBL_25 LBL_25: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_26, label LBL_20 LBL_26: %129 = call i64 @FUNC(i64 %88) store i64 5, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload25, { 1, 0 } uselistorder i64 %104, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %88, { 0, 1, 2, 4, 3 } uselistorder i64 %44, { 1, 0 } uselistorder i64 %indvars.iv11.reload, { 0, 3, 1, 2 } uselistorder i64 %41, { 2, 1, 0, 3 } uselistorder i64 %40, { 2, 1, 0, 3 } uselistorder i32* %.pre15, { 1, 3, 2, 0 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i32** %sv_1, { 1, 0 } uselistorder i64 %4, { 6, 1, 2, 5, 4, 0, 3, 7 } uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi14.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem24, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 3, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 5, { 3, 0, 2, 1 } uselistorder i64 16, { 1, 2, 3, 0, 4, 5 } uselistorder i64 4, { 0, 2, 3, 1, 4 } uselistorder i64 8, { 0, 2, 3, 1, 4 } uselistorder i32 0, { 5, 6, 7, 8, 9, 2, 1, 10, 0, 11, 12, 13, 3, 14, 15, 16, 4 } uselistorder label LBL_27, { 3, 0, 4, 1, 2 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
BinRealVul
prepare_attr_stack_19016
prepare_attr_stack
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem5 = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %.pre = load i64, i64* @gv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %.reload = load i64, i64* %.reg2mem %5 = add i64 %.reload, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 store i64 %7, i64* @gv_0, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_8, label LBL_3 LBL_3: %9 = trunc i64 %4 to i32 %10 = inttoptr i64 %arg1 to i8* store i64 %7, i64* %.reg2mem3 br label LBL_7 LBL_4: %11 = inttoptr i64 %27 to i8* %12 = call i32 @strlen(i8* %11) %13 = load i64, i64* @gv_0, align 8 %14 = icmp sgt i32 %12, %9 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = inttoptr i64 %13 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i8* %18 = call i32 @strncmp(i8* %17, i8* %10, i32 %12) %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_8, label LBL_6 LBL_6: %20 = call i64 @FUNC(i64 %13) %21 = add i64 %13, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 store i64 %23, i64* @gv_0, align 8 %24 = call i64 @FUNC(i64 %13) %.pr = load i64, i64* @gv_0, align 8 %25 = icmp eq i64 %.pr, 0 store i64 %.pr, i64* %.reg2mem3 br i1 %25, label LBL_8, label LBL_7 LBL_7: %.reload4 = load i64, i64* %.reg2mem3 %26 = inttoptr i64 %.reload4 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_8 LBL_8: %30 = call i64 @FUNC() %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_12, label LBL_9 LBL_9: %34 = load i64, i64* @gv_0, align 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = inttoptr i64 %36 to i8* %38 = call i32 @strlen(i8* %37) %39 = trunc i64 %4 to i32 %40 = icmp slt i32 %38, %39 br i1 %40, label LBL_10, label LBL_12 LBL_10: %41 = inttoptr i64 %arg1 to i64* %42 = ptrtoint i64* %sv_0 to i64 %43 = add i64 %4, %42 %44 = inttoptr i64 %43 to i64* %45 = or i64 %42, 1 %46 = bitcast i64* %sv_0 to i8* store i32 %38, i32* %.reg2mem5 br label LBL_11 LBL_11: %.reload6 = load i32, i32* %.reg2mem5 %47 = call i64* @memcpy(i64* nonnull %sv_0, i64* %41, i32 %39) %48 = call i64* @memcpy(i64* %44, i64* nonnull @gv_1, i32 2) %49 = sext i32 %.reload6 to i64 %50 = add i64 %45, %49 %51 = inttoptr i64 %50 to i8* %52 = call i8* @strchr(i8* %51, i32 47) %53 = ptrtoint i8* %52 to i64 %54 = add i64 %53, 1 %55 = inttoptr i64 %54 to i64* store i64 8247344779535935278, i64* %55, align 8 %56 = add i64 %53, 9 %57 = inttoptr i64 %56 to i32* store i32 1953849961, i32* %57, align 4 %58 = add i64 %53, 13 %59 = inttoptr i64 %58 to i16* store i16 29541, i16* %59, align 2 %60 = add i64 %53, 15 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 %62 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) store i8 0, i8* %52, align 1 %63 = call i8* @strdup(i8* nonnull %46) %64 = ptrtoint i8* %63 to i64 %65 = inttoptr i64 %62 to i64* store i64 %64, i64* %65, align 8 %66 = load i64, i64* @gv_0, align 8 %67 = add i64 %62, 8 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 store i64 %62, i64* @gv_0, align 8 %69 = call i64 @FUNC(i64 %62) %70 = load i64, i64* @gv_0, align 8 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = inttoptr i64 %72 to i8* %74 = call i32 @strlen(i8* %73) %75 = icmp slt i32 %74, %39 store i32 %74, i32* %.reg2mem5 br i1 %75, label LBL_11, label LBL_12 LBL_12: %76 = load i64, i64* @gv_0, align 8 store i64 %76, i64* %6, align 8 store i64 %.reload, i64* @gv_0, align 8 ret i64 %.reload uselistorder i64 %42, { 1, 0 } uselistorder i32 %39, { 2, 1, 0 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %13, { 2, 1, 0, 3 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem5, { 1, 0, 2 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64* @gv_0, { 3, 4, 7, 5, 6, 1, 2, 8, 9, 10, 0, 11 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
ldbRedis_6359
ldbRedis
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %1 = add i32 %arg3, 1 %2 = zext i32 %1 to i64 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 %7, i64* %storemerge.reg2mem br label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %9 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %arg1, i64 4294967294) %11 = icmp sgt i32 %arg3, 1 br i1 %11, label LBL_3, label LBL_5 LBL_3: %12 = ptrtoint i64* %arg2 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 1, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = mul i64 %indvars.iv.reload, 8 %14 = add i64 %13, %12 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = load i64, i64* %15, align 8 %19 = call i64 @FUNC(i64 %arg1, i64 %18, i64 %17) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_4 to i32*), align 8 %20 = add i32 %arg3, -1 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %arg1, i64 %21, i64 1, i64 0) store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8 store i32 %0, i32* bitcast (i64* @gv_4 to i32*), align 8 %23 = call i64 @FUNC(i64 %arg1, i64 2) store i64 %23, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 3, 2, 0, 1 } uselistorder i32 %arg3, { 2, 0, 1, 3 } uselistorder i64 %arg1, { 1, 0, 2, 5, 4, 3, 6 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
are_comps_same_dimensions_9457
are_comps_same_dimensions
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ugt i32 %2, 1 store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %7, 4 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %storemerge23.reg2mem br label LBL_2 LBL_2: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %12 = zext i32 %storemerge23.reload to i64 %13 = mul i64 %12, 8 %14 = add i64 %13, %7 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %9, %16 %18 = icmp eq i1 %17, false store i64 0, i64* %storemerge.reg2mem br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = load i32, i32* %11, align 4 %20 = add i64 %14, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %19, %22 store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_4: %24 = add i32 %storemerge23.reload, 1 %25 = icmp ult i32 %24, %2 store i32 %24, i32* %storemerge23.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %25, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 } uselistorder label LBL_5, { 2, 0, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
encode_422_bitstream_15494
encode_422_bitstream
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = icmp slt i32 %3, 0 %5 = zext i1 %4 to i32 %6 = add i32 %5, %3 %7 = ashr i32 %6, 1 %8 = urem i64 %1, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = icmp sgt i32 %6, 1 store i64 0, i64* %rax.0.in.reg2mem br i1 %10, label LBL_2, label LBL_11 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* %15 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv14.reg2mem br label LBL_3 LBL_3: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %16 = load i64, i64* %12, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = load i64, i64* %14, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = mul i64 %indvars.iv14.reload, 8 %23 = add i64 %21, %22 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 4 %28 = add i64 %27, %18 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i32 %30, 1 store i32 %31, i32* %29, align 4 %32 = load i64, i64* %12, align 8 %33 = add i64 %32, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = load i64, i64* %14, align 8 %37 = add i64 %36, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = mul i64 %indvars.iv14.reload, 4 %41 = add i64 %39, %40 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 4 %46 = add i64 %45, %35 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i32 %48, 1 store i32 %49, i32* %47, align 4 %50 = load i64, i64* %12, align 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = load i64, i64* %14, align 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = or i64 %22, 4 %57 = add i64 %55, %56 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = add i64 %61, %52 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = add i32 %64, 1 store i32 %65, i32* %63, align 4 %66 = load i64, i64* %12, align 8 %67 = add i64 %66, 16 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = load i64, i64* %14, align 8 %71 = add i64 %70, 16 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = add i64 %73, %40 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = sext i32 %76 to i64 %78 = mul i64 %77, 4 %79 = add i64 %78, %69 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = add i32 %81, 1 store i32 %82, i32* %80, align 4 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %83 = icmp slt i64 %indvars.iv.next15, %15 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem store i64 %indvars.iv.next15, i64* %rax.0.in.reg2mem br i1 %83, label LBL_3, label LBL_11 LBL_4: %84 = add i64 %2, 48 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = icmp eq i64 %86, 0 %88 = icmp sgt i32 %6, 1 br i1 %87, label LBL_7, label LBL_5 LBL_5: store i64 0, i64* %rax.0.in.reg2mem br i1 %88, label LBL_6, label LBL_11 LBL_6: %89 = add i64 %2, 8 %90 = inttoptr i64 %89 to i64* %91 = add i64 %2, 16 %92 = inttoptr i64 %91 to i64* %93 = add i64 %2, 32 %94 = inttoptr i64 %93 to i64* %95 = add i64 %2, 24 %96 = inttoptr i64 %95 to i64* %97 = add i64 %2, 40 %98 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_9 LBL_7: store i64 0, i64* %rax.0.in.reg2mem br i1 %88, label LBL_8, label LBL_11 LBL_8: %99 = add i64 %2, 32 %100 = inttoptr i64 %99 to i64* %101 = add i64 %2, 16 %102 = inttoptr i64 %101 to i64* %103 = add i64 %2, 24 %104 = inttoptr i64 %103 to i64* %105 = add i64 %2, 40 %106 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_9: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %107 = load i64, i64* %90, align 8 %108 = inttoptr i64 %107 to i64* %109 = load i64, i64* %108, align 8 %110 = load i64, i64* %92, align 8 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 %113 = mul i64 %indvars.iv12.reload, 8 %114 = add i64 %112, %113 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = sext i32 %116 to i64 %118 = mul i64 %117, 4 %119 = add i64 %118, %109 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = add i32 %121, 1 store i32 %122, i32* %120, align 4 %123 = load i64, i64* %94, align 8 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = load i64, i64* %92, align 8 %127 = inttoptr i64 %126 to i64* %128 = load i64, i64* %127, align 8 %129 = add i64 %128, %113 %130 = inttoptr i64 %129 to i32* %131 = load i32, i32* %130, align 4 %132 = sext i32 %131 to i64 %133 = mul i64 %132, 4 %134 = add i64 %133, %125 %135 = inttoptr i64 %134 to i32* %136 = load i32, i32* %135, align 4 %137 = load i64, i64* %96, align 8 %138 = inttoptr i64 %137 to i64* %139 = load i64, i64* %138, align 8 %140 = add i64 %139, %133 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = zext i32 %142 to i64 %144 = call i64 @FUNC(i64 %97, i64 %143, i32 %136) %145 = load i64, i64* %90, align 8 %146 = add i64 %145, 8 %147 = inttoptr i64 %146 to i64* %148 = load i64, i64* %147, align 8 %149 = load i64, i64* %92, align 8 %150 = add i64 %149, 8 %151 = inttoptr i64 %150 to i64* %152 = load i64, i64* %151, align 8 %153 = mul i64 %indvars.iv12.reload, 4 %154 = add i64 %152, %153 %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = sext i32 %156 to i64 %158 = mul i64 %157, 4 %159 = add i64 %158, %148 %160 = inttoptr i64 %159 to i32* %161 = load i32, i32* %160, align 4 %162 = add i32 %161, 1 store i32 %162, i32* %160, align 4 %163 = load i64, i64* %94, align 8 %164 = add i64 %163, 8 %165 = inttoptr i64 %164 to i64* %166 = load i64, i64* %165, align 8 %167 = load i64, i64* %92, align 8 %168 = add i64 %167, 8 %169 = inttoptr i64 %168 to i64* %170 = load i64, i64* %169, align 8 %171 = add i64 %170, %153 %172 = inttoptr i64 %171 to i32* %173 = load i32, i32* %172, align 4 %174 = sext i32 %173 to i64 %175 = mul i64 %174, 4 %176 = add i64 %175, %166 %177 = inttoptr i64 %176 to i32* %178 = load i32, i32* %177, align 4 %179 = load i64, i64* %96, align 8 %180 = add i64 %179, 8 %181 = inttoptr i64 %180 to i64* %182 = load i64, i64* %181, align 8 %183 = add i64 %182, %175 %184 = inttoptr i64 %183 to i32* %185 = load i32, i32* %184, align 4 %186 = zext i32 %185 to i64 %187 = call i64 @FUNC(i64 %97, i64 %186, i32 %178) %188 = load i64, i64* %90, align 8 %189 = inttoptr i64 %188 to i64* %190 = load i64, i64* %189, align 8 %191 = load i64, i64* %92, align 8 %192 = inttoptr i64 %191 to i64* %193 = load i64, i64* %192, align 8 %194 = or i64 %113, 4 %195 = add i64 %193, %194 %196 = inttoptr i64 %195 to i32* %197 = load i32, i32* %196, align 4 %198 = sext i32 %197 to i64 %199 = mul i64 %198, 4 %200 = add i64 %199, %190 %201 = inttoptr i64 %200 to i32* %202 = load i32, i32* %201, align 4 %203 = add i32 %202, 1 store i32 %203, i32* %201, align 4 %204 = load i64, i64* %94, align 8 %205 = inttoptr i64 %204 to i64* %206 = load i64, i64* %205, align 8 %207 = load i64, i64* %92, align 8 %208 = inttoptr i64 %207 to i64* %209 = load i64, i64* %208, align 8 %210 = add i64 %209, %194 %211 = inttoptr i64 %210 to i32* %212 = load i32, i32* %211, align 4 %213 = sext i32 %212 to i64 %214 = mul i64 %213, 4 %215 = add i64 %214, %206 %216 = inttoptr i64 %215 to i32* %217 = load i32, i32* %216, align 4 %218 = load i64, i64* %96, align 8 %219 = inttoptr i64 %218 to i64* %220 = load i64, i64* %219, align 8 %221 = add i64 %220, %214 %222 = inttoptr i64 %221 to i32* %223 = load i32, i32* %222, align 4 %224 = zext i32 %223 to i64 %225 = call i64 @FUNC(i64 %97, i64 %224, i32 %217) %226 = load i64, i64* %90, align 8 %227 = add i64 %226, 16 %228 = inttoptr i64 %227 to i64* %229 = load i64, i64* %228, align 8 %230 = load i64, i64* %92, align 8 %231 = add i64 %230, 16 %232 = inttoptr i64 %231 to i64* %233 = load i64, i64* %232, align 8 %234 = add i64 %233, %153 %235 = inttoptr i64 %234 to i32* %236 = load i32, i32* %235, align 4 %237 = sext i32 %236 to i64 %238 = mul i64 %237, 4 %239 = add i64 %238, %229 %240 = inttoptr i64 %239 to i32* %241 = load i32, i32* %240, align 4 %242 = add i32 %241, 1 store i32 %242, i32* %240, align 4 %243 = load i64, i64* %94, align 8 %244 = add i64 %243, 16 %245 = inttoptr i64 %244 to i64* %246 = load i64, i64* %245, align 8 %247 = load i64, i64* %92, align 8 %248 = add i64 %247, 16 %249 = inttoptr i64 %248 to i64* %250 = load i64, i64* %249, align 8 %251 = add i64 %250, %153 %252 = inttoptr i64 %251 to i32* %253 = load i32, i32* %252, align 4 %254 = sext i32 %253 to i64 %255 = mul i64 %254, 4 %256 = add i64 %255, %246 %257 = inttoptr i64 %256 to i32* %258 = load i32, i32* %257, align 4 %259 = load i64, i64* %96, align 8 %260 = add i64 %259, 16 %261 = inttoptr i64 %260 to i64* %262 = load i64, i64* %261, align 8 %263 = add i64 %262, %255 %264 = inttoptr i64 %263 to i32* %265 = load i32, i32* %264, align 4 %266 = zext i32 %265 to i64 %267 = call i64 @FUNC(i64 %97, i64 %266, i32 %258) %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %268 = icmp slt i64 %indvars.iv.next13, %98 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i64 %indvars.iv.next13, i64* %rax.0.in.reg2mem br i1 %268, label LBL_9, label LBL_11 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %269 = load i64, i64* %100, align 8 %270 = inttoptr i64 %269 to i64* %271 = load i64, i64* %270, align 8 %272 = load i64, i64* %102, align 8 %273 = inttoptr i64 %272 to i64* %274 = load i64, i64* %273, align 8 %275 = mul i64 %indvars.iv.reload, 8 %276 = add i64 %274, %275 %277 = inttoptr i64 %276 to i32* %278 = load i32, i32* %277, align 4 %279 = sext i32 %278 to i64 %280 = mul i64 %279, 4 %281 = add i64 %280, %271 %282 = inttoptr i64 %281 to i32* %283 = load i32, i32* %282, align 4 %284 = load i64, i64* %104, align 8 %285 = inttoptr i64 %284 to i64* %286 = load i64, i64* %285, align 8 %287 = add i64 %286, %280 %288 = inttoptr i64 %287 to i32* %289 = load i32, i32* %288, align 4 %290 = zext i32 %289 to i64 %291 = call i64 @FUNC(i64 %105, i64 %290, i32 %283) %292 = load i64, i64* %100, align 8 %293 = add i64 %292, 8 %294 = inttoptr i64 %293 to i64* %295 = load i64, i64* %294, align 8 %296 = load i64, i64* %102, align 8 %297 = add i64 %296, 8 %298 = inttoptr i64 %297 to i64* %299 = load i64, i64* %298, align 8 %300 = mul i64 %indvars.iv.reload, 4 %301 = add i64 %299, %300 %302 = inttoptr i64 %301 to i32* %303 = load i32, i32* %302, align 4 %304 = sext i32 %303 to i64 %305 = mul i64 %304, 4 %306 = add i64 %305, %295 %307 = inttoptr i64 %306 to i32* %308 = load i32, i32* %307, align 4 %309 = load i64, i64* %104, align 8 %310 = add i64 %309, 8 %311 = inttoptr i64 %310 to i64* %312 = load i64, i64* %311, align 8 %313 = add i64 %312, %305 %314 = inttoptr i64 %313 to i32* %315 = load i32, i32* %314, align 4 %316 = zext i32 %315 to i64 %317 = call i64 @FUNC(i64 %105, i64 %316, i32 %308) %318 = load i64, i64* %100, align 8 %319 = inttoptr i64 %318 to i64* %320 = load i64, i64* %319, align 8 %321 = load i64, i64* %102, align 8 %322 = inttoptr i64 %321 to i64* %323 = load i64, i64* %322, align 8 %324 = or i64 %275, 4 %325 = add i64 %323, %324 %326 = inttoptr i64 %325 to i32* %327 = load i32, i32* %326, align 4 %328 = sext i32 %327 to i64 %329 = mul i64 %328, 4 %330 = add i64 %329, %320 %331 = inttoptr i64 %330 to i32* %332 = load i32, i32* %331, align 4 %333 = load i64, i64* %104, align 8 %334 = inttoptr i64 %333 to i64* %335 = load i64, i64* %334, align 8 %336 = add i64 %335, %329 %337 = inttoptr i64 %336 to i32* %338 = load i32, i32* %337, align 4 %339 = zext i32 %338 to i64 %340 = call i64 @FUNC(i64 %105, i64 %339, i32 %332) %341 = load i64, i64* %100, align 8 %342 = add i64 %341, 16 %343 = inttoptr i64 %342 to i64* %344 = load i64, i64* %343, align 8 %345 = load i64, i64* %102, align 8 %346 = add i64 %345, 16 %347 = inttoptr i64 %346 to i64* %348 = load i64, i64* %347, align 8 %349 = add i64 %348, %300 %350 = inttoptr i64 %349 to i32* %351 = load i32, i32* %350, align 4 %352 = sext i32 %351 to i64 %353 = mul i64 %352, 4 %354 = add i64 %353, %344 %355 = inttoptr i64 %354 to i32* %356 = load i32, i32* %355, align 4 %357 = load i64, i64* %104, align 8 %358 = add i64 %357, 16 %359 = inttoptr i64 %358 to i64* %360 = load i64, i64* %359, align 8 %361 = add i64 %360, %353 %362 = inttoptr i64 %361 to i32* %363 = load i32, i32* %362, align 4 %364 = zext i32 %363 to i64 %365 = call i64 @FUNC(i64 %105, i64 %364, i32 %356) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %366 = icmp slt i64 %indvars.iv.next, %106 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %indvars.iv.next, i64* %rax.0.in.reg2mem br i1 %366, label LBL_10, label LBL_11 LBL_11: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %353, { 1, 0 } uselistorder i64 %329, { 1, 0 } uselistorder i64 %305, { 1, 0 } uselistorder i64 %300, { 1, 0 } uselistorder i64 %280, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %255, { 1, 0 } uselistorder i64 %214, { 1, 0 } uselistorder i64 %175, { 1, 0 } uselistorder i64 %153, { 3, 2, 1, 0 } uselistorder i64 %133, { 1, 0 } uselistorder i64 %113, { 0, 2, 1 } uselistorder i64 %indvars.iv12.reload, { 0, 2, 1 } uselistorder i1 %88, { 1, 0 } uselistorder i64 %40, { 1, 0 } uselistorder i64 %indvars.iv14.reload, { 0, 2, 1 } uselistorder i32 %7, { 2, 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 4, 3, 2, 6, 5, 11, 1, 0 } uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 2, 6, 5, 1, 4 } uselistorder i64 (i64, i64, i32)* @put_bits, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 0, 1, 19, 2, 3, 4, 5, 6, 7, 8, 20, 9, 10, 11, 12, 13, 14, 15, 21, 16, 17, 18 } uselistorder i64 16, { 0, 1, 2, 4, 5, 6, 7, 8, 3, 9, 10, 11, 12 } uselistorder label LBL_11, { 2, 1, 5, 4, 0, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ok_jpg_decode2_7780
ok_jpg_decode2
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i8 %rax.0.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge9.in.in.in.in.reg2mem = alloca i64 %storemerge4.in.in.in.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %2 = load i8, i8* %0 %sv_3 = alloca i8, align 1 %3 = bitcast i8* %sv_3 to i64* %4 = call i64 @FUNC(i64 %1, i64* nonnull %3, i64 2) %5 = and i64 %4, 4294967295 %6 = xor i64 %5, 1 %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_55, label LBL_1 LBL_1: %10 = load i8, i8* %sv_3, align 1 %11 = icmp eq i8 %10, -1 %12 = icmp eq i8 %2, -40 %or.cond = icmp eq i1 %12, %11 br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %13 = add i64 %1, 12 %14 = inttoptr i64 %13 to i8* %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i32* %17 = bitcast i32* %sv_2 to i64* %18 = add i64 %1, 13 %19 = inttoptr i64 %18 to i8* %20 = add i64 %1, 14 %21 = inttoptr i64 %20 to i8* br label LBL_46 LBL_3: %22 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0)) store i64 %22, i64* %rax.0.reg2mem br label LBL_55 LBL_4: %23 = load i32, i32* %16, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_5, label LBL_6 LBL_5: %25 = call i64 @FUNC(i64 %1, i64* nonnull %17, i64 1) %26 = and i64 %25, 4294967295 %27 = xor i64 %26, 1 %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %rax.0.reg2mem br i1 %30, label LBL_55, label LBL_7 LBL_6: store i32 0, i32* %16, align 4 store i32 %23, i32* %sv_1.0.reg2mem br label LBL_12 LBL_7: %31 = load i32, i32* %sv_2, align 4 %32 = trunc i32 %31 to i8 %33 = icmp eq i8 %32, -1 %34 = icmp eq i1 %33, false br i1 %34, label LBL_8, label LBL_9 LBL_8: %35 = call i64 @FUNC(i64 %1, i64* nonnull %17, i64 1) %36 = and i64 %35, 4294967295 %37 = xor i64 %36, 1 %38 = trunc i64 %37 to i8 %39 = icmp eq i8 %38, 0 %40 = icmp eq i1 %39, false store i64 %37, i64* %rax.0.reg2mem br i1 %40, label LBL_55, label LBL_7 LBL_9: %41 = call i64 @FUNC(i64 %1, i64* nonnull %17, i64 1) %42 = and i64 %41, 4294967295 %43 = xor i64 %42, 1 %44 = trunc i64 %43 to i8 %45 = icmp eq i8 %44, 0 %46 = icmp eq i1 %45, false store i64 %43, i64* %rax.0.reg2mem br i1 %46, label LBL_55, label LBL_10 LBL_10: %47 = load i32, i32* %sv_2, align 4 %48 = trunc i32 %47 to i8 switch i8 %48, label LBL_11 [ i8 0, label LBL_8 i8 -1, label LBL_8 ] LBL_11: %49 = urem i32 %47, 256 store i32 %49, i32* %sv_1.0.reg2mem br label LBL_12 LBL_12: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %50 = or i32 %sv_1.0.reload, 1 %51 = icmp ne i32 %50, 193 %52 = icmp eq i32 %sv_1.0.reload, 194 %53 = icmp eq i1 %52, false %or.cond21 = icmp eq i1 %51, %53 br i1 %or.cond21, label LBL_15, label LBL_13 LBL_13: %54 = zext i1 %52 to i8 store i8 %54, i8* %19, align 1 %55 = call i64 @FUNC(i64 %1) %56 = trunc i64 %55 to i8 %57 = icmp eq i8 %56, 0 store i64 1, i64* %rax.0.reg2mem br i1 %57, label LBL_55, label LBL_14 LBL_14: %58 = sext i8 %56 to i32 %59 = load i8, i8* %21, align 1 %60 = icmp eq i8 %59, 0 store i32 %58, i32* %sv_0.0.reg2mem br i1 %60, label LBL_45, label LBL_53 LBL_15: %61 = icmp eq i32 %sv_1.0.reload, 196 %62 = icmp eq i1 %61, false br i1 %62, label LBL_20, label LBL_16 LBL_16: %63 = load i8, i8* %21, align 1 %64 = icmp eq i8 %63, 0 br i1 %64, label LBL_18, label LBL_17 LBL_17: %65 = call i64 @FUNC(i64 %1) store i64 %65, i64* %storemerge4.in.in.in.in.reg2mem br label LBL_19 LBL_18: %66 = call i64 @FUNC(i64 %1) store i64 %66, i64* %storemerge4.in.in.in.in.reg2mem br label LBL_19 LBL_19: %storemerge4.in.in.in.in.reload = load i64, i64* %storemerge4.in.in.in.in.reg2mem %storemerge4.in.in.in = urem i64 %storemerge4.in.in.in.in.reload, 256 %storemerge4.in.in = icmp eq i64 %storemerge4.in.in.in, 0 %storemerge4.in = icmp eq i1 %storemerge4.in.in, false %67 = zext i1 %storemerge4.in to i32 store i32 %67, i32* %sv_0.0.reg2mem br label LBL_45 LBL_20: %68 = and i32 %sv_1.0.reload, -8 %69 = icmp eq i32 %68, 208 br i1 %69, label LBL_21, label LBL_23 LBL_21: store i32 %sv_1.0.reload, i32* %16, align 4 %70 = call i64 @FUNC(i64 %1) %71 = trunc i64 %70 to i8 %72 = icmp eq i8 %71, 0 store i64 1, i64* %rax.0.reg2mem br i1 %72, label LBL_55, label LBL_22 LBL_22: %73 = call i64 @FUNC(i64 %1) %74 = trunc i64 %73 to i32 %sext5 = mul i32 %74, 16777216 %75 = ashr exact i32 %sext5, 24 store i32 %75, i32* %sv_0.0.reg2mem br label LBL_45 LBL_23: %76 = icmp eq i32 %sv_1.0.reload, 217 %77 = icmp eq i1 %76, false br i1 %77, label LBL_27, label LBL_24 LBL_24: store i8 1, i8* %14, align 1 %78 = load i8, i8* %21, align 1 %79 = icmp eq i8 %78, 1 store i32 1, i32* %sv_0.0.reg2mem br i1 %79, label LBL_45, label LBL_25 LBL_25: %80 = load i8, i8* %19, align 1 %81 = icmp eq i8 %80, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %81, label LBL_45, label LBL_26 LBL_26: %82 = call i64 @FUNC(i64 %1) store i32 1, i32* %sv_0.0.reg2mem br label LBL_45 LBL_27: %83 = icmp eq i32 %sv_1.0.reload, 218 %84 = icmp eq i1 %83, false br i1 %84, label LBL_32, label LBL_28 LBL_28: %85 = load i8, i8* %21, align 1 %86 = icmp eq i8 %85, 1 br i1 %86, label LBL_30, label LBL_29 LBL_29: %87 = call i64 @FUNC(i64 %1) %88 = trunc i64 %87 to i32 %sext6 = mul i32 %88, 16777216 %89 = ashr exact i32 %sext6, 24 store i32 %89, i32* %sv_0.0.reg2mem br label LBL_45 LBL_30: %90 = call i64 @FUNC(i64 %1) %91 = trunc i64 %90 to i8 %92 = icmp eq i8 %91, 0 store i64 1, i64* %rax.0.reg2mem br i1 %92, label LBL_55, label LBL_31 LBL_31: %93 = call i64 @FUNC(i64 %1) %94 = trunc i64 %93 to i32 %sext7 = mul i32 %94, 16777216 %95 = ashr exact i32 %sext7, 24 store i32 %95, i32* %sv_0.0.reg2mem br label LBL_45 LBL_32: %96 = icmp eq i32 %sv_1.0.reload, 219 %97 = icmp eq i1 %96, false br i1 %97, label LBL_37, label LBL_33 LBL_33: %98 = load i8, i8* %21, align 1 %99 = icmp eq i8 %98, 0 br i1 %99, label LBL_35, label LBL_34 LBL_34: %100 = call i64 @FUNC(i64 %1) store i64 %100, i64* %storemerge9.in.in.in.in.reg2mem br label LBL_36 LBL_35: %101 = call i64 @FUNC(i64 %1) store i64 %101, i64* %storemerge9.in.in.in.in.reg2mem br label LBL_36 LBL_36: %storemerge9.in.in.in.in.reload = load i64, i64* %storemerge9.in.in.in.in.reg2mem %storemerge9.in.in.in = urem i64 %storemerge9.in.in.in.in.reload, 256 %storemerge9.in.in = icmp eq i64 %storemerge9.in.in.in, 0 %storemerge9.in = icmp eq i1 %storemerge9.in.in, false %102 = zext i1 %storemerge9.in to i32 store i32 %102, i32* %sv_0.0.reg2mem br label LBL_45 LBL_37: %103 = icmp eq i32 %sv_1.0.reload, 221 %104 = icmp eq i1 %103, false br i1 %104, label LBL_39, label LBL_38 LBL_38: %105 = call i64 @FUNC(i64 %1) %106 = trunc i64 %105 to i32 %sext10 = mul i32 %106, 16777216 %107 = ashr exact i32 %sext10, 24 store i32 %107, i32* %sv_0.0.reg2mem br label LBL_45 LBL_39: %108 = icmp eq i32 %sv_1.0.reload, 225 %109 = icmp eq i1 %108, false br i1 %109, label LBL_41, label LBL_40 LBL_40: %110 = call i64 @FUNC(i64 %1) %111 = trunc i64 %110 to i32 %sext11 = mul i32 %111, 16777216 %112 = ashr exact i32 %sext11, 24 store i32 %112, i32* %sv_0.0.reg2mem br label LBL_45 LBL_41: %113 = and i32 %sv_1.0.reload, -16 %114 = icmp ne i32 %113, 224 %115 = icmp eq i32 %sv_1.0.reload, 254 %116 = icmp eq i1 %115, false %or.cond23 = icmp eq i1 %114, %116 br i1 %or.cond23, label LBL_43, label LBL_42 LBL_42: %117 = call i64 @FUNC(i64 %1) %118 = trunc i64 %117 to i32 %sext12 = mul i32 %118, 16777216 %119 = ashr exact i32 %sext12, 24 store i32 %119, i32* %sv_0.0.reg2mem br label LBL_45 LBL_43: %120 = icmp eq i32 %sv_1.0.reload, 255 store i32 1, i32* %sv_0.0.reg2mem br i1 %120, label LBL_45, label LBL_44 LBL_44: %121 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_55 LBL_45: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %122 = urem i32 %sv_0.0.reload, 256 %123 = xor i32 %122, 1 %124 = icmp eq i32 %123, 0 %125 = icmp eq i1 %124, false br i1 %125, label LBL_5333, label LBL_46 LBL_46: %126 = load i8, i8* %14, align 1 %127 = icmp eq i8 %126, 1 %128 = icmp eq i1 %127, false br i1 %128, label LBL_4, label LBL_47 LBL_47: %129 = add i64 %1, 16 %130 = inttoptr i64 %129 to i32* %131 = load i32, i32* %130, align 4 %132 = icmp eq i32 %131, 0 %133 = icmp eq i1 %132, false br i1 %133, label LBL_48, label LBL_49 LBL_48: %134 = zext i32 %131 to i64 %135 = add i64 %1, 20 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge29.reg2mem br label LBL_50 LBL_49: %136 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i64 %136, i64* %rax.0.reg2mem br label LBL_55 LBL_50: %.reload = load i64, i64* %.reg2mem %137 = add i64 %135, %.reload %138 = inttoptr i64 %137 to i8* %139 = load i8, i8* %138, align 1 %140 = icmp eq i8 %139, 1 br i1 %140, label LBL_52, label LBL_51 LBL_51: %141 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)) store i64 %141, i64* %rax.0.reg2mem br label LBL_55 LBL_52: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %142 = add i32 %storemerge29.reload, 1 %143 = sext i32 %142 to i64 %144 = icmp slt i64 %143, %134 store i64 %143, i64* %.reg2mem store i32 %142, i32* %storemerge29.reg2mem store i64 %134, i64* %rax.0.reg2mem br i1 %144, label LBL_50, label LBL_55 LBL_53: %145 = zext i8 %59 to i64 store i64 %145, i64* %rax.0.reg2mem br label LBL_55 LBL_54: %146 = zext i32 %123 to i64 store i64 %146, i64* %rax.0.reg2mem br label LBL_55 LBL_55: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.0.reload, { 1, 12, 10, 2, 3, 4, 5, 6, 0, 9, 7, 11, 8 } uselistorder i64* %17, { 1, 2, 0 } uselistorder i8* %14, { 1, 0 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64 %1, { 3, 2, 4, 25, 17, 18, 16, 15, 14, 13, 10, 12, 11, 9, 7, 8, 6, 5, 20, 22, 23, 0, 1, 19, 21, 26, 24, 27 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4.in.in.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge9.in.in.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 11, 12, 10, 9, 8, 7, 6, 3, 4, 5, 2, 1, 13 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 9, 7, 13, 12, 10, 3, 4, 2, 6, 5, 1, 11, 14 } uselistorder i8 1, { 2, 3, 0, 1, 4 } uselistorder i64 (i64)* @ok_jpg_scan_to_next_marker, { 1, 0 } uselistorder i64 (i64)* @ok_jpg_skip_segment, { 3, 2, 1, 0 } uselistorder i32 0, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i8*)* @ok_jpg_error, { 3, 1, 2, 0 } uselistorder i1 false, { 15, 16, 5, 1, 6, 7, 3, 8, 9, 10, 4, 11, 2, 12, 14, 13, 0, 17 } uselistorder i8 0, { 2, 3, 4, 5, 6, 7, 8, 1, 9, 10, 0, 11 } uselistorder i64 1, { 20, 21, 3, 22, 1, 2, 0, 17, 23, 18, 24, 15, 16, 25, 19, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder i64 4294967295, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64*, i64)* @ok_read, { 3, 2, 0, 1 } uselistorder label LBL_55, { 8, 7, 6, 11, 12, 9, 1, 2, 0, 5, 4, 3, 13, 10 } uselistorder label LBL_50, { 1, 0 } uselistorder label LBL_46, { 1, 0 } uselistorder label LBL_45, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
bfa_cfg_get_meminfo_17927
bfa_cfg_get_meminfo
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 store i32 0, i32* %sv_0, align 4 %2 = icmp ne i64* %arg1, null %3 = icmp ne i64* %arg2, null %not.or.cond = icmp eq i1 %2, %3 %storemerge1 = zext i1 %not.or.cond to i64 %4 = call i64 @FUNC(i64 %storemerge1) %5 = call i64 @FUNC(i64 %0, i64 0, i64 16) %6 = bitcast i64* %arg2 to i32* store i32 1, i32* %6, align 4 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* store i32 2, i32* %8, align 4 %9 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0) store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %10 = sext i32 %storemerge.reload to i64 %11 = mul i64 %10, 8 %12 = add i64 %11, ptrtoint (i64* @gv_0 to i64) %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = add i32 %storemerge.reload, 1 store i32 %17, i32* %storemerge.reg2mem br i1 %16, label LBL_1, label LBL_2 LBL_2: %18 = load i32, i32* %sv_1, align 4 %19 = add i64 %0, 4 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = load i32, i32* %sv_0, align 4 %22 = add i64 %0, 12 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 ret i64 %0 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } }
1
BinRealVul
mk_addrinfo_3993
mk_addrinfo
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64* @calloc(i32 1, i32 48) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = ptrtoint i64* %2 to i64 %7 = trunc i64 %5 to i32 %8 = icmp eq i32 %7, 2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = call i64* @calloc(i32 1, i32 16) %11 = icmp eq i64* %10, null br i1 %11, label LBL_8, label LBL_3 LBL_3: %12 = trunc i64 %1 to i32 %13 = bitcast i64* %10 to i16* %14 = ptrtoint i64* %10 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* store i32 %12, i32* %16, align 4 %17 = trunc i64 %5 to i16 store i16 %17, i16* %13, align 2 %18 = add i64 %6, 24 %19 = inttoptr i64 %18 to i64* store i64 %14, i64* %19, align 8 %20 = add i64 %6, 16 %21 = inttoptr i64 %20 to i32* store i32 16, i32* %21, align 4 br label LBL_7 LBL_4: %22 = icmp eq i32 %7, 10 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = call i64* @calloc(i32 1, i32 28) %25 = icmp eq i64* %24, null br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = ptrtoint i64* %arg1 to i64 %27 = bitcast i64* %24 to i16* %28 = ptrtoint i64* %24 to i64 %29 = add i64 %28, 8 %30 = add i64 %26, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %29 to i64* store i64 1, i64* %33, align 8 %34 = add i64 %28, 16 %35 = inttoptr i64 %34 to i64* store i64 %32, i64* %35, align 8 %36 = trunc i64 %5 to i16 store i16 %36, i16* %27, align 2 %37 = add i64 %6, 24 %38 = inttoptr i64 %37 to i64* store i64 %28, i64* %38, align 8 %39 = add i64 %6, 16 %40 = inttoptr i64 %39 to i32* store i32 28, i32* %40, align 4 br label LBL_7 LBL_7: %41 = add i64 %6, 12 %42 = inttoptr i64 %41 to i32* store i32 6, i32* %42, align 4 %43 = add i64 %6, 8 %44 = inttoptr i64 %43 to i32* store i32 1, i32* %44, align 4 %45 = add i64 %6, 4 %46 = inttoptr i64 %45 to i32* store i32 %7, i32* %46, align 4 store i64 %6, i64* %rax.0.reg2mem br label LBL_9 LBL_8: call void @free(i64* %2) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %24, { 0, 2, 1 } uselistorder i64* %10, { 0, 2, 1 } uselistorder i64 %6, { 0, 5, 6, 7, 3, 4, 1, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %2, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 28, { 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i32 16, { 1, 0 } uselistorder i64* (i32, i32)* @calloc, { 1, 0, 2 } uselistorder label LBL_9, { 1, 2, 0 } }
0
BinRealVul
toIntType_10727
toIntType
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg2 to i8* %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 2, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_7 LBL_2: %7 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 3, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %10 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 4, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_7 LBL_4: %13 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 5, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_7 LBL_5: %16 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 6, i64* %rax.0.reg2mem br i1 %18, label LBL_6, label LBL_7 LBL_6: %19 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8 %20 = inttoptr i64 %arg1 to i8* %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_7, i64 0, i64 0), i8* %0, i8* %20) call void @exit(i32 1) unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 (i8*, i8*)* @strcmp, { 3, 5, 4, 2, 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
__reiserfs_set_acl_11385
__reiserfs_set_acl
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.011.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i32* %sv_3.06.reg2mem = alloca i8* %sv_3.09.reg2mem = alloca i8* %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_4 = alloca i64, align 8 %2 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 0, i64* %sv_4, align 8 %4 = icmp eq i32 %2, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_18 LBL_2: %7 = icmp eq i32* %arg4, null store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.06.reg2mem store i32* null, i32** %sv_2.05.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %7, label LBL_11, label LBL_3 LBL_3: %8 = ptrtoint i32* %arg2 to i64 %9 = ptrtoint i32* %arg4 to i64 %10 = call i64 @FUNC(i64 %9, i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = and i64 %10, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %15 = icmp eq i32 %11, 0 %16 = icmp eq i1 %15, false store i64 %9, i64* %.pre-phi.reg2mem store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.09.reg2mem store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.06.reg2mem store i32* null, i32** %sv_2.05.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %16, label LBL_10, label LBL_11 LBL_6: %17 = and i64 %1, 61440 %18 = icmp eq i64 %17, 16384 %19 = icmp eq i32* %arg4, null br i1 %18, label LBL_8, label LBL_7 LBL_7: %. = select i1 %19, i64 0, i64 4294967283 store i64 %., i64* %rax.0.reg2mem br label LBL_18 LBL_8: store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8** %sv_3.06.reg2mem store i32* null, i32** %sv_2.05.reg2mem store i64 0, i64* %sv_1.0.reg2mem br i1 %19, label LBL_11, label LBL_8.LBL_10_crit_edge LBL_9: %.pre = ptrtoint i32* %arg4 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8** %sv_3.09.reg2mem br label LBL_10 LBL_10: %sv_3.09.reload = load i8*, i8** %sv_3.09.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %20 = call i64 @FUNC(i64 %.pre-phi.reload, i64* nonnull %sv_4) %21 = icmp ult i64 %20, -1000 store i8* %sv_3.09.reload, i8** %sv_3.06.reg2mem store i32* %arg4, i32** %sv_2.05.reg2mem store i64 %20, i64* %sv_1.0.reg2mem store i64 %20, i64* %rax.0.reg2mem br i1 %21, label LBL_11, label LBL_18 LBL_11: %22 = ptrtoint i64* %arg1 to i64 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.05.reload = load i32*, i32** %sv_2.05.reg2mem %sv_3.06.reload = load i8*, i8** %sv_3.06.reg2mem %23 = load i64, i64* %sv_4, align 8 %24 = ptrtoint i8* %sv_3.06.reload to i64 %25 = ptrtoint i32* %arg2 to i64 %26 = call i64 @FUNC(i64 %22, i64 %25, i64 %24, i64 %sv_1.0.reload, i64 %23, i64 0) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, -61 %29 = icmp eq i1 %28, false br i1 %29, label LBL_15, label LBL_12 LBL_12: %30 = trunc i64 %3 to i32 %31 = icmp eq i32 %30, 1 %32 = icmp eq i1 %31, false br i1 %32, label LBL_14, label LBL_13 LBL_13: %33 = add i64 %25, 4 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 %35 = call i64 @FUNC(i64 %25) br label LBL_14 LBL_14: %36 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 0, i64* %sv_0.010.reg2mem br label LBL_16 LBL_15: %37 = call i64 @FUNC(i64 %sv_1.0.reload) %38 = icmp eq i32 %27, 0 %39 = icmp eq i1 %38, false store i64 %26, i64* %sv_0.010.reg2mem store i64 %26, i64* %sv_0.011.reg2mem br i1 %39, label LBL_17, label LBL_16 LBL_16: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %40 = ptrtoint i32* %sv_2.05.reload to i64 %41 = and i64 %3, 4294967295 %42 = call i64 @FUNC(i64 %25, i64 %41, i64 %40) store i64 %sv_0.010.reload, i64* %sv_0.011.reg2mem br label LBL_17 LBL_17: %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem %43 = and i64 %sv_0.011.reload, 4294967295 store i64 %43, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %25, { 2, 0, 1, 3 } uselistorder i64 %sv_1.0.reload, { 1, 2, 0 } uselistorder i1 %19, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64* %sv_4, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_3.09.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_3.06.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32** %sv_2.05.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_0.011.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 4, 2 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), { 0, 2, 1 } uselistorder i32* null, { 2, 4, 0, 1, 3 } uselistorder i32* %arg4, { 0, 1, 2, 4, 3 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_18, { 3, 0, 2, 4, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 2, 3, 0, 1 } }
1
BinRealVul
qemu_coroutine_enter_2898
qemu_coroutine_enter
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 %0, i64 %4) %6 = icmp eq i64 %1, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_1 to i64*), i32 1, i32 34, %_IO_FILE* %7) call void @abort() unreachable LBL_2: store i64 0, i64* %arg1, align 8 %9 = call i64 @FUNC(i64 0, i64 %0, i64 0) %10 = trunc i64 %9 to i32 %11 = call i64 @FUNC(i64 %0) %12 = icmp eq i32 %10, 1 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = icmp eq i32 %10, 2 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_5: call void @abort() unreachable LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 3, 2, 4, 5 } uselistorder void ()* @abort, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
xfrm_replay_verify_len_4186
xfrm_replay_verify_len
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i32* %arg1, null %1 = icmp eq i32* %arg2, null %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3) %sext = mul i64 %5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = icmp sgt i64 %7, %6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = trunc i64 %5 to i32 %10 = ptrtoint i32* %arg1 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %9, %12 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %14 = inttoptr i64 %4 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = add i64 %4, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = mul i64 %20, 32 %22 = icmp ult i64 %21, %16 %. = select i1 %22, i64 4294967274, i64 0 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 4294967274, { 2, 1, 0 } uselistorder i64 (i64)* @xfrm_replay_state_esn_len, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_4, { 0, 2, 1, 3 } }
0
BinRealVul
__tcp_select_window_3722
__tcp_select_window
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.pre-phi8.reg2mem = alloca i32* %sv_2.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = inttoptr i64 %2 to i32* %8 = load i32, i32* %7, align 4 %9 = and i64 %6, 4294967295 %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = trunc i64 %11 to i32 %13 = sub i32 %4, %12 %14 = xor i32 %4, %12 %15 = xor i32 %13, %4 %16 = and i32 %15, %14 %17 = icmp slt i32 %16, 0 %18 = icmp eq i32 %13, 0 %19 = icmp slt i32 %13, 0 %20 = icmp eq i1 %19, %17 %21 = icmp eq i1 %18, false %22 = icmp eq i1 %20, %21 %23 = zext i1 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i32 %4, i32* %sv_2.0.reg2mem br i1 %26, label LBL_2, label LBL_1 LBL_1: %27 = icmp eq i32 %12, 0 %28 = icmp slt i32 %12, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 store i32 %12, i32* %sv_2.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_2, label LBL_15 LBL_2: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %32 = ashr i32 %12, 1 %33 = zext i32 %32 to i64 %sext2 = mul i64 %5, 4294967296 %34 = ashr exact i64 %sext2, 32 %35 = icmp slt i64 %34, %33 br i1 %35, label LBL_4, label LBL_2.LBL_7_crit_edge LBL_3: %36 = trunc i64 %5 to i32 %.pre = add i64 %2, 12 %.pre7 = inttoptr i64 %.pre to i32* store i32* %.pre7, i32** %.pre-phi8.reg2mem store i32 %36, i32* %sv_1.0.reg2mem br label LBL_7 LBL_4: %37 = add i64 %1, 4 %38 = inttoptr i64 %37 to i32* store i32 0, i32* %38, align 4 %39 = call i64 @FUNC(i64 %0) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_6, label LBL_5 LBL_5: %42 = add i64 %2, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = mul i32 %44, 4 %46 = add i64 %2, 4 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = zext i32 %45 to i64 %50 = zext i32 %48 to i64 %51 = call i64 @FUNC(i64 %50, i64 %49) %52 = trunc i64 %51 to i32 store i32 %52, i32* %47, align 4 br label LBL_6 LBL_6: %53 = trunc i64 %6 to i32 %54 = add i64 %2, 12 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = urem i32 %56, 32 %58 = shl i32 1, %57 %rdx.0 = zext i32 %58 to i64 %59 = and i64 %5, 4294967295 %60 = call i64 @FUNC(i64 %59, i64 %rdx.0) %61 = trunc i64 %60 to i32 %62 = ashr i32 %53, 4 %63 = zext i32 %62 to i64 %sext = mul i64 %60, 4294967296 %64 = ashr exact i64 %sext, 32 %65 = icmp slt i64 %64, %63 %66 = icmp sgt i32 %sv_2.0.reload, %61 %or.cond = or i1 %66, %65 store i32* %55, i32** %.pre-phi8.reg2mem store i32 %61, i32* %sv_1.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_15, label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %.pre-phi8.reload = load i32*, i32** %.pre-phi8.reg2mem %67 = add i64 %2, 4 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = zext i32 %69 to i64 %71 = sext i32 %sv_1.0.reload to i64 %72 = icmp sgt i64 %71, %70 %spec.select = select i1 %72, i32 %69, i32 %sv_1.0.reload %73 = load i32, i32* %.pre-phi8.reload, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_10, label LBL_8 LBL_8: %75 = urem i32 %73, 32 %76 = ashr i32 %spec.select, %75 %77 = shl i32 %76, %75 %78 = icmp eq i32 %spec.select, %77 store i32 %spec.select, i32* %sv_0.0.reg2mem br i1 %78, label LBL_14, label LBL_9 LBL_9: %79 = add i32 %76, 1 %80 = shl i32 %79, %75 store i32 %80, i32* %sv_0.0.reg2mem br label LBL_14 LBL_10: %81 = add i64 %2, 8 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = sub i32 %spec.select, %sv_2.0.reload %85 = zext i32 %84 to i64 %86 = sext i32 %83 to i64 %87 = icmp sle i64 %86, %85 %88 = icmp sgt i32 %83, %spec.select %or.cond5 = or i1 %88, %87 br i1 %or.cond5, label LBL_11, label LBL_12 LBL_11: %89 = ashr i32 %spec.select, 31 %90 = zext i32 %spec.select to i64 %91 = zext i32 %89 to i64 %92 = mul i64 %91, 4294967296 %93 = or i64 %92, %90 %94 = zext i32 %sv_2.0.reload to i64 %95 = sdiv i64 %93, %94 %96 = trunc i64 %95 to i32 %97 = mul i32 %sv_2.0.reload, %96 store i32 %97, i32* %sv_0.0.reg2mem br label LBL_14 LBL_12: %98 = icmp eq i32 %sv_2.0.reload, %12 %99 = icmp eq i1 %98, false store i32 %83, i32* %sv_0.0.reg2mem br i1 %99, label LBL_14, label LBL_13 LBL_13: %100 = add i32 %83, %32 %101 = zext i32 %100 to i64 %102 = sext i32 %spec.select to i64 %103 = icmp sgt i64 %102, %101 %spec.select6 = select i1 %103, i32 %spec.select, i32 %83 store i32 %spec.select6, i32* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %104 = zext i32 %sv_0.0.reload to i64 store i64 %104, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %83, { 2, 1, 0, 3, 4 } uselistorder i32 %75, { 2, 1, 0 } uselistorder i32 %spec.select, { 1, 7, 5, 6, 2, 4, 0, 8, 3 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 4, 1, 0, 3 } uselistorder i32 %13, { 1, 2, 0 } uselistorder i32 %12, { 2, 5, 0, 3, 4, 1, 6 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 1, 2, 0 } uselistorder i32 %4, { 0, 2, 1, 3 } uselistorder i64 %2, { 3, 4, 5, 2, 1, 0, 6 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 4, 5, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 4, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 (i64, i64)* @min, { 1, 0 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_14, { 0, 2, 3, 1, 4 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
gen_store_1020
gen_store
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = bitcast i64* %arg1 to i32* store i32 1, i32* %3, align 4 %4 = icmp sgt i32 %1, 4 br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = icmp sgt i32 %1, 2 br i1 %6, label LBL_5, label LBL_2 LBL_2: switch i32 %1, label LBL_6 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %7 = zext i32 %arg3 to i64 %8 = zext i32 %arg4 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7, i32 %5) br label LBL_7 LBL_4: %10 = zext i32 %arg3 to i64 %11 = zext i32 %arg4 to i64 %12 = call i64 @FUNC(i64 %11, i64 %10, i32 %5) br label LBL_7 LBL_5: %13 = zext i32 %arg3 to i64 %14 = zext i32 %arg4 to i64 %15 = call i64 @FUNC(i64 %14, i64 %13, i32 %5) br label LBL_7 LBL_6: %16 = call i64 @FUNC() br label LBL_7 LBL_7: %17 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %18 = zext i32 %17 to i64 store i32 %17, i32* bitcast (i64* @gv_0 to i32*), align 8 ret i64 %18 uselistorder i32 %5, { 2, 0, 1 } uselistorder i32 %1, { 1, 0, 2 } uselistorder i32 %arg4, { 2, 0, 1 } uselistorder i32 %arg3, { 2, 0, 1 } }
0
BinRealVul
nouveau_pm_profile_set_17784
nouveau_pm_profile_set
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = ptrtoint i64* %sv_2 to i64 store i64 %0, i64* %sv_1, align 8 %1 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %2 = icmp eq i32 %1, 7777 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %3 = bitcast i64* %sv_2 to i8* %4 = inttoptr i64 %arg2 to i8* %5 = call i8* @strncpy(i8* nonnull %3, i8* %4, i32 16) %6 = call i8* @strchr(i8* nonnull %3, i32 10) %7 = icmp eq i8* %6, null br i1 %7, label LBL_3, label LBL_2 LBL_2: store i8 0, i8* %6, align 1 br label LBL_3 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %9 = bitcast i64* %sv_1 to i8** %10 = call i8* @strsep(i8** nonnull %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %11 = icmp eq i8* %10, null store i64 0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = ptrtoint i8* %10 to i64 %13 = call i64 @FUNC(i64 %8, i64 %12) store i64 %13, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = call i8* @strsep(i8** nonnull %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %15 = icmp eq i8* %14, null store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br i1 %15, label LBL_7, label LBL_6 LBL_6: %16 = ptrtoint i8* %14 to i64 %17 = call i64 @FUNC(i64 %8, i64 %16) store i64 %17, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem %18 = icmp ne i64 %sv_0.0.reload, 0 %19 = icmp eq i64 %storemerge.reload, 0 %20 = icmp eq i1 %19, false %or.cond = icmp eq i1 %18, %20 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_9 LBL_8: store i64 %sv_0.0.reload, i64* %arg1, align 8 %21 = add i64 %8, 8 %22 = inttoptr i64 %21 to i64* store i64 %storemerge.reload, i64* %22, align 8 %23 = call i64 @FUNC(i64 %8) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 2, 0 } uselistorder i64 %8, { 2, 3, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @profile_find, { 1, 0 } uselistorder i8* (i8**, i8*)* @strsep, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
shmem_unlink_8067
shmem_unlink
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 2 br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = add i64 %arg2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = and i32 %6, 16384 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = add i64 %arg2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i64 %12, 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %12, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, 1 store i32 %21, i32* %19, align 4 %22 = call i64 @FUNC(i64 %16) br label LBL_4 LBL_4: %23 = add i64 %arg1, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %25, -128 store i64 %26, i64* %24, align 8 %27 = add i64 %arg1, 32 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %arg1, 24 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %arg2, 24 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 %33 = call i64 @FUNC(i64 %arg2) %34 = call i64 @FUNC(i64 %arg2) ret i64 0 uselistorder i64 %12, { 1, 0, 2 } uselistorder i32 1, { 4, 3, 2, 1, 0 } }
0
BinRealVul
rpmReadPackageFile_3642
rpmReadPackageFile
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.15.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 store i64 0, i64* %sv_6, align 8 store i64 0, i64* %sv_5, align 8 store i64 0, i64* %sv_4, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_2, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1, i64 1) %2 = and i64 %0, 4294967291 %3 = or i64 %2, 4 %4 = call i64 @FUNC(i64 0, i64 %3, i64 %1) store i64 4198976, i64* %sv_1, align 8 %5 = icmp eq i64 %arg3, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %arg2) br label LBL_2 LBL_2: %8 = icmp eq i64* %arg4, null br i1 %8, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %arg4, align 8 br label LBL_4 LBL_4: %9 = call i64 @FUNC(i64 %4, i64 %arg2, i64* nonnull %sv_2, i64* nonnull %sv_3, i64* nonnull %sv_6) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %10, i32* %sv_0.1.reg2mem br i1 %12, label LBL_11, label LBL_5 LBL_5: %13 = load i64, i64* @gv_0, align 8 %14 = call i64 @FUNC(i64 %4, i64 0, i64 %13, i64* nonnull %sv_1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 1, i32* %sv_0.1.reg2mem br i1 %17, label LBL_11, label LBL_6 LBL_6: store i32 0, i32* %sv_0.15.reg2mem br i1 %8, label LBL_13, label LBL_7 LBL_7: %18 = load i64, i64* %sv_2, align 8 %19 = call i64 @FUNC(i64 %18, i64 0, i64* nonnull %sv_4, i64* nonnull %sv_6) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32 1, i32* %sv_0.1.reg2mem br i1 %22, label LBL_11, label LBL_8 LBL_8: %23 = load i64, i64* %sv_3, align 8 %24 = call i64 @FUNC(i64 %23, i64 0, i64* nonnull %sv_5, i64* nonnull %sv_6) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i32 1, i32* %sv_0.1.reg2mem br i1 %27, label LBL_11, label LBL_9 LBL_9: %28 = load i64, i64* %sv_4, align 8 %29 = load i64, i64* %sv_5, align 8 %30 = call i64 @FUNC(i64 %29, i64 %28, i64* nonnull %sv_6) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 1, i32* %sv_0.1.reg2mem br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = load i64, i64* %sv_5, align 8 %35 = call i64 @FUNC(i64 %34) %36 = load i64, i64* %sv_5, align 8 %37 = call i64 @FUNC(i64 %36) store i64 %37, i64* %arg4, align 8 store i32 0, i32* %sv_0.15.reg2mem br label LBL_13 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %38 = icmp eq i32 %sv_0.1.reload, 0 %39 = load i64, i64* %sv_6, align 8 %40 = icmp eq i64 %39, 0 %or.cond3 = or i1 %38, %40 store i32 %sv_0.1.reload, i32* %sv_0.15.reg2mem br i1 %or.cond3, label LBL_13, label LBL_12 LBL_12: %41 = call i64 @FUNC(i64 %arg2) %42 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %41, i64 %39) store i32 %sv_0.1.reload, i32* %sv_0.15.reg2mem br label LBL_13 LBL_13: %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %43 = load i64, i64* %sv_2, align 8 %44 = call i64 @FUNC(i64 %43) %45 = load i64, i64* %sv_3, align 8 %46 = call i64 @FUNC(i64 %45) %47 = load i64, i64* %sv_4, align 8 %48 = call i64 @FUNC(i64 %47) %49 = load i64, i64* %sv_5, align 8 %50 = call i64 @FUNC(i64 %49) %51 = call i64 @FUNC(i64 %1) %52 = call i64 @FUNC(i64 %4) %53 = load i64, i64* %sv_6, align 8 %54 = inttoptr i64 %53 to i64* call void @free(i64* %54) %55 = zext i32 %sv_0.15.reload to i64 ret i64 %55 uselistorder i32 %sv_0.1.reload, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %sv_6, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64* %sv_5, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_4, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 0, 3 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i32* %sv_0.15.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @headerFree, { 1, 0 } uselistorder i64 (i64)* @hdrblobFree, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64*)* @hdrblobImport, { 1, 0 } uselistorder i32 0, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64 (i64)* @Fdescr, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_13, { 2, 3, 1, 0 } uselistorder label LBL_11, { 1, 2, 3, 0, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
snd_timer_user_tinterrupt_4849
snd_timer_user_tinterrupt
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 16) %4 = add i64 %2, 40 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i32 %7 = urem i32 %6, 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %4) store i64 %10, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sext i32 %13 to i64 %15 = icmp eq i64 %14, %arg2 %16 = icmp eq i64 %arg3, 0 %or.cond = icmp eq i1 %16, %15 br i1 %or.cond, label LBL_6, label LBL_3 LBL_3: %17 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_6 LBL_5: %20 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_6 LBL_6: %21 = urem i32 %6, 2 %22 = icmp eq i32 %21, 0 store i32 %6, i32* %.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %22, label LBL_9, label LBL_7 LBL_7: %23 = load i32, i32* %12, align 4 %24 = sext i32 %23 to i64 %25 = icmp eq i64 %24, %arg2 store i32 %6, i32* %.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = bitcast i64* %rdi to i32* %27 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32) store i64 0, i64* %sv_1, align 8 %28 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1) %29 = trunc i64 %arg2 to i32 store i32 %29, i32* %12, align 4 %.pre = load i32, i32* %26, align 8 store i32 %.pre, i32* %.reg2mem store i32 1, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %.reload = load i32, i32* %.reg2mem %30 = and i32 %.reload, 2 %31 = icmp eq i32 %30, 0 %or.cond3 = or i1 %16, %31 br i1 %or.cond3, label LBL_15, label LBL_10 LBL_10: %32 = add i64 %2, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp slt i32 %34, 1 br i1 %35, label LBL_13, label LBL_11 LBL_11: %36 = add i64 %2, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %41 = add i64 %2, 16 %storemerge.in.in.in.in = select i1 %40, i64 %36, i64 %41 %storemerge.in.in.in = inttoptr i64 %storemerge.in.in.in.in to i32* %storemerge.in.in = load i32, i32* %storemerge.in.in.in, align 4 %storemerge.in = add i32 %storemerge.in.in, -1 %storemerge = zext i32 %storemerge.in to i64 %42 = add i64 %2, 24 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %sext = mul i64 %storemerge, 4294967296 %45 = ashr exact i64 %sext, 27 %46 = add i64 %45, %44 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 1 %50 = icmp eq i1 %49, false br i1 %50, label LBL_13, label LBL_12 LBL_12: %51 = load i64, i64* %sv_2, align 8 %52 = add i64 %46, 8 %53 = inttoptr i64 %52 to i64* store i64 %51, i64* %53, align 8 %54 = add i64 %46, 16 %55 = inttoptr i64 %54 to i64* %56 = add i64 %46, 24 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = add i64 %58, %arg3 store i64 %59, i64* %57, align 8 br label LBL_14 LBL_13: store i64 1, i64* %sv_1, align 8 %60 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1) br label LBL_14 LBL_14: %61 = call i64 @FUNC(i64 %4) br label LBL_16 LBL_15: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %62 = call i64 @FUNC(i64 %4) %63 = icmp eq i32 %sv_0.0.reload, 0 store i64 %62, i64* %rax.0.reg2mem br i1 %63, label LBL_17, label LBL_16 LBL_16: %64 = add i64 %2, 32 %65 = call i64 @FUNC(i64 %64, i64 29, i64 1) %66 = add i64 %2, 48 %67 = call i64 @FUNC(i64 %66) store i64 %67, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %16, { 1, 0 } uselistorder i64 %4, { 2, 0, 1, 3 } uselistorder i64* %sv_2, { 3, 0, 1, 2 } uselistorder i64* %sv_1, { 0, 3, 1, 4, 2 } uselistorder i64 %2, { 7, 6, 2, 1, 5, 4, 3, 0, 8, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64*)* @snd_timer_user_append_to_tqueue, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64)* @spin_unlock, { 2, 0, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 5, 6, 7, 2, 0, 1, 8, 9, 10, 3, 4 } uselistorder i64 %arg2, { 2, 0, 1 } uselistorder label LBL_17, { 1, 0, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
redisAeAttach_7123
redisAeAttach
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 32) %7 = inttoptr i64 %6 to i64* store i64 %0, i64* %7, align 8 %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i64* store i64 %5, i64* %9, align 8 %10 = bitcast i64* %rsi to i32* %11 = load i32, i32* %10, align 8 %12 = add i64 %6, 16 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %6, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %6, 20 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* store i64 4198736, i64* %19, align 8 %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* store i64 4198751, i64* %21, align 8 %22 = add i64 %0, 32 %23 = inttoptr i64 %22 to i64* store i64 4198766, i64* %23, align 8 %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i64* store i64 4198781, i64* %25, align 8 %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i64* store i64 4198796, i64* %27, align 8 store i64 %6, i64* %2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kvmppc_uvmem_migrate_to_ram_5992
kvmppc_uvmem_migrate_to_ram
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, 4096 %8 = call i64 @FUNC(i64 %3, i64 %6, i64 %7, i64 12, i64 %0, i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp ne i32 %9, 0 %. = zext i1 %10 to i64 ret i64 %. uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
__do_request_4883
__do_request
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.in.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %5 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %5, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = add i64 %5, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 store i32 -11, i32* %sv_0.1.reg2mem br i1 %17, label LBL_22, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %6, i64 %5) store i32 -11, i32* %sv_0.1.reg2mem br label LBL_22 LBL_4: %19 = add i64 %5, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, %21 %27 = icmp eq i32 %26, 0 %28 = icmp slt i32 %26, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %5, i32 %25, i64 %4, i64 %2, i64 %1) store i32 -5, i32* %storemerge.reg2mem br label LBL_23 LBL_7: %33 = call i64 @FUNC(i64 %5) %34 = call i64 @FUNC(i64 %6, i64 %5) %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %35, 0 store i32 %7, i32* %.pre-phi.reg2mem store i64 %5, i64* %.reg2mem br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = and i64 %34, 4294967295 %38 = and i64 %3, 4294967295 %39 = call i64 @FUNC(i64 %38, i64 %37) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp slt i32 %40, 0 %43 = icmp eq i1 %42, false %44 = icmp eq i1 %41, false %45 = icmp eq i1 %43, %44 store i32 %35, i32* %.pre-phi.reg2mem store i64 %37, i64* %.reg2mem br i1 %45, label LBL_10, label LBL_9 LBL_9: %.reload = load i64, i64* %.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %46 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i32 %.pre-phi.reload, i64 %4, i64 %2, i64 %1) %47 = add i64 %6, 4 %48 = add i64 %5, 40 %49 = call i64 @FUNC(i64 %48, i64 %47) store i32 -11, i32* %sv_0.1.reg2mem br label LBL_22 LBL_10: %50 = call i64 @FUNC(i64 %6, i64 %37) %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false store i64 %50, i64* %sv_1.0.in.reg2mem br i1 %52, label LBL_13, label LBL_11 LBL_11: %53 = call i64 @FUNC(i64 %6, i64 %37) %54 = icmp ult i64 %53, -1000 store i64 %53, i64* %sv_1.0.in.reg2mem br i1 %54, label LBL_13, label LBL_12 LBL_12: %55 = trunc i64 %53 to i32 store i32 %55, i32* %storemerge.reg2mem br label LBL_23 LBL_13: %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in.reload to i32* %56 = call i64 @FUNC(i64 %sv_1.0.in.reload) %57 = add i64 %5, 48 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = load i32, i32* %sv_1.0, align 4 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %sv_1.0.in.reload to i32 %63 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %37, i32 %62, i64 %61, i64 %2, i64 %1) %64 = load i32, i32* %sv_1.0, align 4 switch i32 %64, label LBL_14 [ i32 1, label LBL_17 i32 2, label LBL_17 i32 3, label LBL_15 ] LBL_14: %65 = icmp eq i32 %64, 4 %66 = icmp eq i1 %65, false br i1 %66, label LBL_16, label LBL_15 LBL_15: %67 = call i64 @FUNC(i64 %6, i64 %sv_1.0.in.reload) br label LBL_16 LBL_16: %68 = add i64 %sv_1.0.in.reload, 16 %69 = add i64 %5, 40 %70 = call i64 @FUNC(i64 %69, i64 %68) store i32 -11, i32* %sv_0.0.reg2mem br label LBL_21 LBL_17: %71 = add i64 %5, 24 %72 = inttoptr i64 %71 to i32* store i32 -1, i32* %72, align 4 %73 = add i64 %5, 20 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false br i1 %77, label LBL_19, label LBL_18 LBL_18: store i32 0, i32* %74, align 4 br label LBL_19 LBL_19: %78 = call i64 @FUNC(i64 %6, i64 %5, i32 %35) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false store i32 %79, i32* %sv_0.0.reg2mem br i1 %81, label LBL_21, label LBL_20 LBL_20: %82 = add i64 %5, 32 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = call i64 @FUNC(i64 %84) %86 = load i64, i64* %83, align 8 %87 = add i64 %sv_1.0.in.reload, 8 %88 = call i64 @FUNC(i64 %87, i64 %86) store i32 %79, i32* %sv_0.0.reg2mem br label LBL_21 LBL_21: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %89 = call i64 @FUNC(i64 %sv_1.0.in.reload) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_22 LBL_22: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %90 = zext i32 %sv_0.1.reload to i64 ret i64 %90 LBL_23: %storemerge.reload = load i32, i32* %storemerge.reg2mem %91 = bitcast i64* %arg2 to i32* store i32 %storemerge.reload, i32* %91, align 4 %92 = call i64 @FUNC(i64 %6, i64 %5) store i32 %storemerge.reload, i32* %sv_0.1.reg2mem br label LBL_22 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32 %64, { 1, 0 } uselistorder i32* %sv_1.0, { 1, 0 } uselistorder i64 %sv_1.0.in.reload, { 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %53, { 1, 0, 2 } uselistorder i32 %40, { 1, 0 } uselistorder i64 %37, { 2, 1, 3, 0, 4 } uselistorder i32 %35, { 1, 0, 2 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i64 %6, { 0, 3, 2, 1, 4, 5, 6, 7 } uselistorder i64 %5, { 3, 5, 6, 7, 8, 4, 9, 10, 0, 12, 11, 1, 15, 14, 17, 16, 13, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_0.1.reg2mem, { 1, 0, 2, 3, 4, 5 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 4, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64)* @list_add, { 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @dout, { 2, 1, 0 } uselistorder i32 -11, { 3, 0, 1, 2 } uselistorder i1 false, { 2, 3, 4, 5, 6, 0, 7, 1, 8 } uselistorder label LBL_22, { 2, 3, 4, 1, 0 } uselistorder label LBL_21, { 1, 0, 2 } uselistorder label LBL_15, { 1, 0 } }
0
BinRealVul
l2cap_chan_create_17544
l2cap_chan_create
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 64, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64* nonnull @gv_0) %5 = add i64 %0, 40 %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_1) %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = add i64 %0, 56 %9 = call i64 @FUNC(i64 %8, i64 4198961) %10 = add i64 %0, 48 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 %12 = add i64 %0, 52 %13 = call i64 @FUNC(i64 %12, i64 1) %14 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %0) store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 3, 6, 5, 4, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
test_bmdma_setup_17088
test_bmdma_setup
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load [13 x i8]*, [13 x i8]** @gv_0, align 8 %1 = ptrtoint [13 x i8]* %0 to i64 %2 = call i64 @FUNC(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_1, i64 0, i64 0), i64 %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0)) ret i64 %2 }
1
BinRealVul
s390_pci_iommu_enable_15268
s390_pci_iommu_enable
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 1 %5 = sub i64 %4, %3 %6 = add i64 %0, 16 %7 = add i64 %0, 24 %8 = call i64 @FUNC(i64 %7, i64 %6, i64* nonnull @gv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %5) %9 = load i64, i64* %2, align 8 %10 = call i64 @FUNC(i64 %6, i64 %9, i64 %7) %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i8* store i8 1, i8* %12, align 1 ret i64 %0 uselistorder i64 %0, { 2, 1, 3, 4, 0, 5 } }
1
BinRealVul
pty_chr_state_2803
pty_chr_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = zext i32 %6 to i64 %9 = call i64 @FUNC(i64 %8) store i32 0, i32* %5, align 4 br label LBL_3 LBL_3: %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC(i64 %0, i64 1000) store i64 %12, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = zext i32 %15 to i64 %18 = call i64 @FUNC(i64 %17) store i32 0, i32* %14, align 4 br label LBL_6 LBL_6: %19 = add i64 %0, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = icmp eq i32 %21, 0 %24 = icmp eq i1 %23, false store i64 %22, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: store i32 1, i32* %20, align 4 %25 = call i64 @FUNC(i64 %0) %26 = bitcast i64* %rdi to i32* %27 = load i32, i32* %26, align 8 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i64 4198733, i64 4198740, i64 %0) %30 = trunc i64 %29 to i32 %31 = add i64 %0, 4 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 store i64 %29, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 4, 3, 5, 6, 0, 1, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
0
BinRealVul
au_write_header_16299
au_write_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %5, i64 24) %11 = call i64 @FUNC(i64 %5, i64 0) %12 = and i64 %1, 4294967295 %13 = call i64 @FUNC(i64 %5, i64 %12) %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %5, i64 %17) %19 = inttoptr i64 %3 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %5, i64 %21) %23 = call i64 @FUNC(i64 %5, i64 0) %24 = call i64 @FUNC(i64 %5) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 1, 0, 3, 7, 6, 5, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @avio_wb32, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qcow2_make_empty_17091
qcow2_make_empty
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = inttoptr i64 %3 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_2 LBL_2: %15 = add i64 %3, 20 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = sext i32 %17 to i64 %19 = sext i32 %6 to i64 %20 = udiv i64 %19, 8 %21 = add nsw i64 %18, -1 %22 = add nsw i64 %21, %20 %23 = udiv i64 %22, %20 %24 = trunc i64 %23 to i32 %25 = add i32 %24, 2 %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp ult i32 %25, %28 br i1 %29, label LBL_3, label LBL_5 LBL_3: %30 = add i64 %3, 12 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %0) store i64 %34, i64* %storemerge.reg2mem br label LBL_9 LBL_5: %35 = mul i64 %0, 512 %36 = icmp eq i64 %35, 0 store i64 0, i64* %storemerge.reg2mem br i1 %36, label LBL_9, label LBL_6 LBL_6: %37 = sub i32 0, %6 %38 = icmp sgt i32 %37, -1 %39 = sub i32 -2147483648, %6 %40 = select i1 %38, i32 %37, i32 %39 %41 = zext i32 %40 to i64 store i64 0, i64* %storemerge12.reg2mem br label LBL_7 LBL_7: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %42 = sub i64 %35, %storemerge12.reload %43 = icmp ugt i64 %42, %41 %44 = select i1 %43, i64 %41, i64 %42 %45 = and i64 %44, 4294967295 %46 = call i64 @FUNC(i64 %0, i64 %storemerge12.reload, i64 %45, i64 0, i64 1) %47 = trunc i64 %46 to i32 %48 = icmp sgt i32 %47, -1 %49 = add i64 %storemerge12.reload, %41 %50 = icmp ugt i64 %35, %49 %or.cond = icmp eq i1 %50, %48 store i64 %49, i64* %storemerge12.reg2mem br i1 %or.cond, label LBL_7, label LBL_8 LBL_8: %phitmp = and i64 %46, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge12.reload, { 2, 0, 1 } uselistorder i64 %41, { 0, 2, 1 } uselistorder i32 %37, { 1, 0 } uselistorder i64 %35, { 2, 0, 1 } uselistorder i32 %6, { 0, 2, 1 } uselistorder i64 %3, { 2, 1, 4, 0, 3, 5 } uselistorder i64 %0, { 2, 0, 1, 3 } uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
1
BinRealVul
mount_entry_create_dir_file_4156
mount_entry_create_dir_file
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = bitcast i64* %arg1 to %mntent* %6 = call i8* @hasmntopt(%mntent* %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i8* %6, null store i32 0, i32* %sv_1.0.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %arg2, i64 493) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false store i32 0, i32* %sv_1.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i32 -1, i32* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %13 = call i8* @hasmntopt(%mntent* %5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %14 = icmp eq i8* %13, null store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_10, label LBL_4 LBL_4: %15 = inttoptr i64 %arg2 to i8* %16 = call i32 @access(i8* %15, i32 0) %17 = icmp eq i32 %16, 0 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_10, label LBL_5 LBL_5: %18 = call i8* @strdup(i8* %15) %19 = call i8* @dirname(i8* %18) %20 = ptrtoint i8* %19 to i64 %sext = mul i64 %20, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = call i64 @FUNC(i64 %21, i64 493) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 493, i64 %3, i64 %4, i64 %2, i64 %1) br label LBL_7 LBL_7: %27 = call %_IO_FILE* @fopen(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)) %28 = icmp eq %_IO_FILE* %27, null %29 = icmp eq i1 %28, false br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i32 -1, i32* %sv_1.1.reg2mem store i64 %21, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %31 = call i32 @fclose(%_IO_FILE* %27) store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %21, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %32 = inttoptr i64 %sv_0.0.reload to i64* call void @free(i64* %32) %33 = zext i32 %sv_1.1.reload to i64 ret i64 %33 uselistorder i64 %21, { 1, 0, 2 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @WARN, { 2, 1, 0 } uselistorder i64 (i64, i64)* @mkdir_p, { 1, 0 } uselistorder i32 0, { 3, 4, 2, 0, 5, 1 } uselistorder i8* (%mntent*, i8*)* @hasmntopt, { 1, 0 } uselistorder i64 0, { 2, 3, 4, 5, 0, 1, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64 %arg2, { 2, 3, 0, 1 } }
0
BinRealVul
nfs4_layoutcommit_done_10037
nfs4_layoutcommit_done
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %2) %5 = add i64 %2, 16 %6 = call i64 @FUNC(i64 %3, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_7, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = icmp sgt i32 %9, -1 %12 = add i32 %9, -1 %13 = icmp ult i32 %12, 4 %or.cond = icmp eq i1 %11, %13 br i1 %or.cond, label LBL_3, label LBL_5 LBL_3: store i32 0, i32* %arg1, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %5, i64 %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %18 = call i64 @FUNC(i64 %3, i64 %4, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, -11 %21 = icmp eq i1 %20, false store i64 %18, i64* %rax.0.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %3) store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %9, { 1, 2, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_7, { 1, 2, 3, 4, 0 } }
0
BinRealVul
vp9_rc_update_rate_correction_factors_18730
vp9_rc_update_rate_correction_factors
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %xmm0.0.reg2mem = alloca i128 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i128 @FUNC(i64 %2) %4 = call i64 @FUNC(i128 %3) %5 = add i64 %2, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = icmp eq i32 %7, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_13, label LBL_1 LBL_1: %11 = call i64 @FUNC() %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = call i128 @__asm_movq.2(i64 %4) %20 = zext i32 %18 to i64 %21 = and i64 %1, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %20, i64 %15) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 1 store i32 100, i32* %sv_2.0.reg2mem br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = mul i32 %27, 100 %29 = ashr i32 %28, 31 %30 = zext i32 %28 to i64 %31 = zext i32 %29 to i64 %32 = mul i64 %31, 4294967296 %33 = or i64 %32, %30 %34 = and i64 %22, 4294967295 %35 = sdiv i64 %33, %34 %36 = trunc i64 %35 to i32 store i32 %36, i32* %sv_2.0.reg2mem br label LBL_3 LBL_3: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %37 = trunc i64 %arg2 to i32 switch i32 %37, label LBL_6 [ i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %38 = call i128 @FUNC(i64 4604930618986332160) %39 = call i64 @__asm_movsd.1(i128 %38) store i64 %39, i64* %sv_1.0.reg2mem store i128 %38, i128* %xmm0.0.reg2mem br label LBL_7 LBL_5: %40 = call i128 @FUNC(i64 4600427019358961664) %41 = call i64 @__asm_movsd.1(i128 %40) store i64 %41, i64* %sv_1.0.reg2mem store i128 %40, i128* %xmm0.0.reg2mem br label LBL_7 LBL_6: %42 = call i128 @FUNC(i64 4598175219545276416) %43 = call i64 @__asm_movsd.1(i128 %42) store i64 %43, i64* %sv_1.0.reg2mem store i128 %42, i128* %xmm0.0.reg2mem br label LBL_7 LBL_7: %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %44 = icmp slt i32 %sv_2.0.reload, 103 br i1 %44, label LBL_9, label LBL_8 LBL_8: %45 = add i32 %sv_2.0.reload, -100 %46 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) %47 = call i128 @FUNC(i32 %45) %48 = call i128 @FUNC(i128 %47) %49 = call i128 @FUNC(i128 %48, i64 %sv_1.0.reload) %50 = call i128 @FUNC(i64 4636737291354636288) %51 = call i128 @FUNC(i128 %50, i128 %49) %52 = call i32 @FUNC(i128 %51) %53 = call i128 @FUNC(i128 %51, i128 %51) %54 = call i128 @FUNC(i32 %52) %55 = call i128 @FUNC(i128 %54, i64 %4) %56 = call i128 @FUNC(i64 4636737291354636288) %57 = call i128 @FUNC(i128 %55, i128 %56) %58 = call i64 @__asm_movsd.1(i128 %57) %59 = call i128 @FUNC(i64 %58) %60 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %59, i128 %60) %61 = trunc i128 %60 to i64 %62 = call i128 @FUNC(i64 %61) %63 = call i64 @__asm_movsd.1(i128 %62) store i64 %63, i64* %sv_0.0.reg2mem br label LBL_12 LBL_9: %64 = icmp sgt i32 %sv_2.0.reload, 98 store i64 %4, i64* %sv_0.0.reg2mem br i1 %64, label LBL_12, label LBL_10 LBL_10: %65 = sub i32 100, %sv_2.0.reload %66 = icmp ugt i32 %sv_2.0.reload, 100 %67 = icmp eq i32 %65, 0 %68 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) %69 = call i128 @FUNC(i32 %65) %70 = call i128 @FUNC(i128 %69) %71 = call i128 @FUNC(i128 %70, i64 %sv_1.0.reload) %72 = call i128 @FUNC(i64 4636737291354636288) %73 = call i128 @FUNC(i128 %72, i128 %71) %74 = call i32 @FUNC(i128 %73) %75 = call i128 @FUNC(i128 %73, i128 %73) %76 = call i128 @FUNC(i32 %74) %77 = call i128 @FUNC(i128 %76, i64 %4) %78 = call i128 @FUNC(i64 4636737291354636288) %79 = call i128 @FUNC(i128 %77, i128 %78) %80 = call i64 @__asm_movsd.1(i128 %79) %81 = call i128 @FUNC(i64 4602678819172646912) %82 = sext i64 %80 to i128 call void @FUNC(i128 %81, i128 %82) %83 = or i1 %66, %67 store i64 %80, i64* %sv_0.0.reg2mem br i1 %83, label LBL_12, label LBL_11 LBL_11: %84 = call i128 @FUNC(i64 4602678819172646912) %85 = call i64 @__asm_movsd.1(i128 %84) store i64 %85, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %86 = call i128 @__asm_movq.2(i64 %sv_0.0.reload) %87 = call i64 @FUNC(i64 %2) store i64 %87, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %73, { 2, 1, 0 } uselistorder i128 %51, { 2, 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2, 3, 4 } uselistorder i64 %4, { 2, 0, 1, 3 } uselistorder i64 %2, { 1, 0, 3, 2, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32 100, { 1, 3, 2, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
guest_panicked_16127
guest_panicked
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %1 = call i64 @FUNC(i64 1, i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 2) ret i64 %3 }
1
BinRealVul
ext4_acquire_dquot_8867
ext4_acquire_dquot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %2) %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false %spec.select = select i1 %9, i64 %5, i64 %7 %10 = and i64 %spec.select, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nested_vmx_vmexit_10335
nested_vmx_vmexit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %7 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_1 to i64*), i32 1, i32 40, %_IO_FILE* %6) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %0, i64 %2) %10 = call i64 @FUNC() %11 = trunc i64 %10 to i32 %12 = add i64 %1, 64 %13 = add i64 %1, 48 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %0) %16 = and i64 %10, 4294967295 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = bitcast i64* %arg1 to i32* store i32 %11, i32* %18, align 4 %19 = call i64 @FUNC() %20 = call i64 @FUNC(i64 %1) %21 = add i64 %1, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %1, i64 %23) %25 = call i64 @FUNC(i64 %0, i64 %2) %26 = add i64 %1, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 0, i64 %28) %30 = add i64 %1, 40 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %31, align 8 %32 = add i64 %1, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_4, label LBL_3 LBL_3: %36 = call i64 @FUNC(i64 %34) store i64 0, i64* %33, align 8 br label LBL_4 LBL_4: %37 = add i64 %1, 56 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false %42 = icmp eq i1 %41, false br i1 %42, label LBL_6, label LBL_5 LBL_5: store i32 0, i32* %38, align 4 %43 = call i64 @FUNC(i64 1) %44 = and i64 %43, 4294967295 %45 = call i64 @FUNC(i64 %0, i64 %44) br label LBL_7 LBL_6: %46 = call i64 @FUNC(i64 %0) br label LBL_7 LBL_7: %47 = load i8, i8* inttoptr (i64 4210761 to i8*), align 1 %48 = icmp eq i8 %47, 0 store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_8 LBL_8: %49 = add i64 %1, 24 %50 = inttoptr i64 %49 to i8* store i8 1, i8* %50, align 1 store i64 %1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 1, 2, 3, 5, 4, 8, 7, 6, 10, 9, 11 } uselistorder i64 %0, { 1, 0, 2, 4, 3, 6, 5, 7, 8 } uselistorder i8 0, { 1, 2, 0 } }
0
BinRealVul
ospf6_print_lshdr_18395
ospf6_print_lshdr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i16 %3 = icmp eq i16 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = add i64 %5, 12 %12 = inttoptr i64 %11 to i16* %13 = load i16, i16* %12, align 2 %14 = zext i16 %13 to i32 %15 = add nsw i32 %14, -48 %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i16* %18 = load i16, i16* %17, align 2 %19 = add i64 %5, 16 %20 = call i64 @FUNC(i64 %19) %21 = zext i16 %18 to i32 %22 = inttoptr i64 %20 to i8* %23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_0, i64 0, i64 0), i8* %22, i32 %8, i32 %21, i32 %15) %24 = add i64 %5, 32 %25 = urem i64 %1, 65536 %26 = call i64 @FUNC(i64 %25, i64 %24) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 0, 1, 3, 2, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
qemu_default_pixman_format_1460
qemu_default_pixman_format
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i8 %1 = icmp eq i8 %0, 0 %2 = trunc i64 %arg1 to i32 %switch.selectcmp4 = icmp eq i32 %2, 32 br i1 %1, label LBL_6, label LBL_1 LBL_1: store i64 3, i64* %rax.0.reg2mem br i1 %switch.selectcmp4, label LBL_7, label LBL_2 LBL_2: %3 = icmp sgt i32 %2, 32 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_3 LBL_3: %4 = icmp eq i32 %2, 24 store i64 2, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_4 LBL_4: %5 = icmp sgt i32 %2, 24 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_5 LBL_5: %switch.selectcmp = icmp eq i32 %2, 16 %switch.select3 = zext i1 %switch.selectcmp to i64 store i64 %switch.select3, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %switch.select5 = select i1 %switch.selectcmp4, i64 5, i64 0 %switch.selectcmp6 = icmp eq i32 %2, 24 %switch.select7 = select i1 %switch.selectcmp6, i64 4, i64 %switch.select5 store i64 %switch.select7, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %switch.selectcmp4, { 1, 0 } uselistorder i32 %2, { 0, 2, 3, 4, 5, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 6, 1, 5 } uselistorder i32 24, { 0, 2, 1 } uselistorder i32 32, { 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 5, 0, 4 } }
0
BinRealVul
ich9_apm_ctrl_changed_2528
ich9_apm_ctrl_changed
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %arg1 to i32 %4 = icmp eq i32 %3, 2 %5 = zext i1 %4 to i64 %6 = icmp eq i32 %3, 1 %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %2, i64 %7, i64 %5) %.off = add i32 %3, -1 %switch = icmp ult i32 %.off, 2 store i64 %8, i64* %rax.0.reg2mem br i1 %switch, label LBL_4, label LBL_1 LBL_1: %9 = urem i64 %1, 2 %10 = icmp eq i64 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = urem i64 %13, 2 %15 = icmp eq i64 %14, 0 store i64 1, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = load i64, i64* @gv_0, align 8 %17 = call i64 @FUNC(i64 %16, i64 0) store i64 %17, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder label LBL_4, { 2, 1, 3, 0 } }
0
BinRealVul
jpeg_size_11684
jpeg_size
define i64 @FUNC(i64 %arg1, i32 %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %storemerge.in6.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = icmp ult i32 %arg2, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_16, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, -1 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_16, label LBL_2 LBL_2: %6 = add i64 %arg1, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, -40 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_16, label LBL_3 LBL_3: %11 = add i64 %arg1, 2 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp eq i8 %13, -1 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_16, label LBL_4 LBL_4: %16 = add i64 %arg1, 3 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, -32 %20 = icmp ugt i32 %arg2, 10 %or.cond = icmp eq i1 %20, %19 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_16 LBL_5: %21 = add i64 %arg1, 6 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 74 %25 = icmp eq i1 %24, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_16, label LBL_6 LBL_6: %26 = add i64 %arg1, 7 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 70 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_16, label LBL_7 LBL_7: %31 = add i64 %arg1, 8 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 73 %35 = icmp eq i1 %34, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_16, label LBL_8 LBL_8: %36 = add i64 %arg1, 9 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 70 %40 = icmp eq i1 %39, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %40, label LBL_16, label LBL_9 LBL_9: %41 = add i64 %arg1, 10 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = icmp eq i8 %43, 0 %45 = icmp eq i1 %44, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %45, label LBL_16, label LBL_10 LBL_10: %46 = add i64 %arg1, 4 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = zext i8 %48 to i32 %50 = mul i32 %49, 256 %51 = add i64 %arg1, 5 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = zext i8 %53 to i32 %55 = or i32 %50, %54 store i32 %55, i32* %storemerge.in6.reg2mem store i32 4, i32* %sv_0.05.reg2mem br label LBL_11 LBL_11: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %storemerge.in6.reload = load i32, i32* %storemerge.in6.reg2mem %56 = add i32 %sv_0.05.reload, %storemerge.in6.reload %57 = add i32 %56, 1 %58 = icmp ult i32 %57, %arg2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %58, label LBL_12, label LBL_16 LBL_12: %59 = sext i32 %56 to i64 %60 = add i64 %59, %arg1 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = icmp eq i8 %62, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_13, label LBL_16 LBL_13: %64 = add i64 %60, 1 %65 = inttoptr i64 %64 to i8* %66 = load i8, i8* %65, align 1 %67 = icmp eq i8 %66, -64 %68 = icmp eq i1 %67, false br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = add i64 %60, 5 %70 = inttoptr i64 %69 to i8* %71 = load i8, i8* %70, align 1 %72 = zext i8 %71 to i32 %73 = mul i32 %72, 256 %74 = add i64 %60, 6 %75 = inttoptr i64 %74 to i8* %76 = load i8, i8* %75, align 1 %77 = zext i8 %76 to i32 %78 = or i32 %73, %77 store i32 %78, i32* %arg4, align 4 %79 = add i64 %60, 7 %80 = inttoptr i64 %79 to i8* %81 = load i8, i8* %80, align 1 %82 = zext i8 %81 to i32 %83 = mul i32 %82, 256 %84 = add i64 %60, 8 %85 = inttoptr i64 %84 to i8* %86 = load i8, i8* %85, align 1 %87 = zext i8 %86 to i32 %88 = or i32 %83, %87 store i32 %88, i32* %arg3, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %89 = add i32 %56, 2 %90 = sext i32 %89 to i64 %91 = add i64 %90, %arg1 %92 = inttoptr i64 %91 to i8* %93 = load i8, i8* %92, align 1 %94 = zext i8 %93 to i32 %95 = mul i32 %94, 256 %96 = add i64 %6, %90 %97 = inttoptr i64 %96 to i8* %98 = load i8, i8* %97, align 1 %99 = zext i8 %98 to i32 %100 = or i32 %95, %99 %101 = icmp ult i32 %89, %arg2 store i32 %100, i32* %storemerge.in6.reg2mem store i32 %89, i32* %sv_0.05.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %101, label LBL_11, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %storemerge.in6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 14, 2, 1, 12, 11, 10, 9, 8, 13, 7, 6, 5, 4 } uselistorder i64 4294967295, { 2, 1, 0, 11, 10, 9, 8, 7, 12, 6, 5, 4, 3 } uselistorder i32 %arg2, { 2, 1, 0, 3 } uselistorder i64 %arg1, { 0, 1, 8, 7, 6, 5, 4, 3, 2, 11, 10, 9 } uselistorder label LBL_16, { 2, 13, 1, 0, 11, 10, 9, 8, 7, 12, 6, 5, 4, 3 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
dcache_dir_lseek_6584
dcache_dir_lseek
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %sv_0.17.reg2mem = alloca i64 %storemerge28.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32 %1, 0 store i64 %arg2, i64* %sv_1.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = icmp eq i32 %1, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, %arg2 store i64 %9, i64* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %10 = icmp slt i64 %sv_1.0.reload, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %0) store i64 -22, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %sv_1.0.reload, %15 store i64 %0, i64* %rdi.0.reg2mem br i1 %16, label LBL_10, label LBL_6 LBL_6: store i64 %sv_1.0.reload, i64* %14, align 8 %17 = icmp slt i64 %sv_1.0.reload, 2 store i64 %0, i64* %rdi.0.reg2mem br i1 %17, label LBL_10, label LBL_7 LBL_7: %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %sv_1.0.reload, -2 %22 = add i64 %0, 40 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %20, 8 %25 = call i64 @FUNC(i64 %24) %26 = add i64 %0, 24 %storemerge2.in4 = inttoptr i64 %26 to i64* %storemerge25 = load i64, i64* %storemerge2.in4, align 8 %27 = icmp ne i64 %21, 0 %28 = icmp eq i64 %storemerge25, %26 %29 = icmp eq i1 %28, false %or.cond6 = icmp eq i1 %27, %29 store i64 %storemerge25, i64* %storemerge28.reg2mem store i64 %21, i64* %sv_0.17.reg2mem store i64 %storemerge25, i64* %storemerge2.lcssa.reg2mem br i1 %or.cond6, label LBL_8, label LBL_9 LBL_8: %sv_0.17.reload = load i64, i64* %sv_0.17.reg2mem %storemerge28.reload = load i64, i64* %storemerge28.reg2mem %30 = add i64 %storemerge28.reload, -8 %31 = add i64 %storemerge28.reload, 32 %32 = call i64 @FUNC(i64 %31, i64 0) %33 = call i64 @FUNC(i64 %30) %34 = trunc i64 %33 to i32 %35 = icmp ne i32 %34, 0 %36 = call i64 @FUNC(i64 %31) %37 = sext i1 %35 to i64 %spec.select = add i64 %sv_0.17.reload, %37 %storemerge2.in = inttoptr i64 %storemerge28.reload to i64* %storemerge2 = load i64, i64* %storemerge2.in, align 8 %38 = icmp ne i64 %spec.select, 0 %39 = icmp eq i64 %storemerge2, %26 %40 = icmp eq i1 %39, false %or.cond = icmp eq i1 %40, %38 store i64 %storemerge2, i64* %storemerge28.reg2mem store i64 %spec.select, i64* %sv_0.17.reg2mem store i64 %storemerge2, i64* %storemerge2.lcssa.reg2mem br i1 %or.cond, label LBL_8, label LBL_9 LBL_9: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem %41 = call i64 @FUNC(i64 %24, i64 %storemerge2.lcssa.reload) %42 = call i64 @FUNC(i64 %22) store i64 %22, i64* %rdi.0.reg2mem br label LBL_10 LBL_10: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %43 = call i64 @FUNC(i64 %rdi.0.reload) store i64 %sv_1.0.reload, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge28.reload, { 2, 1, 0 } uselistorder i64 %26, { 2, 0, 1 } uselistorder i64 %sv_1.0.reload, { 0, 5, 4, 1, 2, 3 } uselistorder i64 %0, { 5, 4, 6, 0, 1, 7, 3, 2, 8 } uselistorder i64* %storemerge28.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.17.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
arm926_initfn_15310
arm926_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3, i64 1) %5 = call i64 @FUNC(i64 %3, i64 2) %6 = call i64 @FUNC(i64 %3, i64 4) %7 = call i64 @FUNC(i64 %3, i64 8) %8 = add i64 %1, 12 %9 = inttoptr i64 %8 to i32* store i32 1090949733, i32* %9, align 4 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i32* store i32 1090588816, i32* %11, align 4 %12 = add i64 %1, 20 %13 = inttoptr i64 %12 to i32* store i32 31269074, i32* %13, align 4 %14 = add i64 %1, 24 %15 = inttoptr i64 %14 to i32* store i32 589944, i32* %15, align 4 ret i64 %1 uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 (i64, i64)* @set_feature, { 3, 2, 1, 0 } }
1
BinRealVul
kvm_x2apic_msr_read_9682
kvm_x2apic_msr_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_6 LBL_2: %11 = trunc i64 %arg2 to i32 %12 = mul i32 %11, 16 %13 = add i32 %12, -32768 %14 = bitcast i32* %sv_0 to i64* %15 = call i64 @FUNC(i64 %0, i32 %13, i64 4, i64* nonnull %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_6 LBL_3: %18 = icmp eq i32 %11, 2096 %19 = icmp eq i1 %18, false store i64 0, i64* %.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = bitcast i32* %sv_1 to i64* %21 = call i64 @FUNC(i64 %0, i32 2096, i64 4, i64* nonnull %20) %.pre = load i32, i32* %sv_1, align 4 %phitmp = zext i32 %.pre to i64 %phitmp3 = mul i64 %phitmp, 4294967296 store i64 %phitmp3, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %22 = load i32, i32* %sv_0, align 4 %23 = zext i32 %22 to i64 %24 = or i64 %.reload, %23 store i64 %24, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %11, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i32 2096, { 1, 0 } uselistorder i64 (i64, i32, i64, i64*)* @apic_reg_read, { 1, 0 } uselistorder i64 1, { 0, 2, 1, 3, 4 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder label LBL_6, { 3, 0, 2, 1 } }
0
BinRealVul
do_delvm_2277
do_delvm
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rcx.11.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %8 = call i64 @FUNC() %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 ptrtoint (i64* @gv_1 to i64), i64* %storemerge2.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %11, i64* %rax.1.reg2mem br label LBL_8 LBL_2: %rcx.11.reload = load i64, i64* %rcx.11.reg2mem %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %12 = inttoptr i64 %storemerge2.reload to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %rcx.11.reload, i64* %rcx.0.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %13, i64 %7) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %rcx.11.reload, i64* %rcx.0.reg2mem br i1 %20, label LBL_7, label LBL_4 LBL_4: %21 = icmp eq i32 %18, -95 %22 = icmp eq i1 %21, false %23 = call i64 @FUNC(i64 %13) br i1 %22, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i64 %23, i64 %rcx.11.reload, i64 %2, i64 %1) store i64 %rcx.11.reload, i64* %rcx.0.reg2mem br label LBL_7 LBL_6: %25 = and i64 %17, 4294967295 %26 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_4, i64 0, i64 0), i64 %25, i64 %23, i64 %2, i64 %1) store i64 %23, i64* %rcx.0.reg2mem br label LBL_7 LBL_7: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %27 = add i64 %storemerge2.reload, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %storemerge2.reg2mem store i64 %rcx.0.reload, i64* %rcx.11.reg2mem store i64 %29, i64* %rax.1.reg2mem br i1 %31, label LBL_2, label LBL_8 LBL_8: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %23, { 0, 2, 1 } uselistorder i64 %rcx.11.reload, { 0, 3, 1, 2 } uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.11.reg2mem, { 1, 0 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 2, 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ram_control_after_iterate_1771
ram_control_after_iterate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = trunc i64 %0 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %0, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = and i64 %0, 4294967295 %6 = call i64 @FUNC(i64 %0, i64 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 4, 0, 3, 1 } }
0
BinRealVul
flask_security_user_6105
flask_security_user
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.in.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 20 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = call i64 @FUNC(i64 %2, i64* nonnull %sv_3, i32 %9, i64 4096) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.in.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = load i64, i64* %sv_3, align 8 %14 = add i64 %6, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = bitcast i32* %sv_2 to i64* %19 = call i64 @FUNC(i64 %17, i64 %13, i64* nonnull %sv_1, i64* nonnull %18) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 store i64 %19, i64* %sv_0.1.reg2mem br i1 %21, label LBL_6, label LBL_3 LBL_3: %22 = load i32, i32* %sv_2, align 4 %23 = zext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = load i32, i32* %8, align 4 %26 = zext i32 %25 to i64 %27 = icmp ugt i64 %24, %26 store i32 %22, i32* %.reg2mem br i1 %27, label LBL_4, label LBL_5 LBL_4: %28 = udiv i32 %25, 4 store i32 %28, i32* %sv_2, align 4 store i32 %28, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %8, align 4 %29 = load i32, i32* %sv_2, align 4 %30 = zext i32 %29 to i64 %31 = load i64, i64* %sv_1, align 8 %32 = add i64 %6, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34, i64 %31, i64 %30) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %spec.select = select i1 %37, i64 %19, i64 4294967282 %38 = load i64, i64* %sv_1, align 8 %39 = call i64 @FUNC(i64 %38) store i64 %spec.select, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %40 = load i64, i64* %sv_3, align 8 %41 = call i64 @FUNC(i64 %40) store i64 %sv_0.1.reload, i64* %rax.0.in.reg2mem br label LBL_7 LBL_7: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %19, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i32* %sv_2, { 2, 1, 0, 3 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @xfree, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vt_disallocate_all_7309
vt_disallocate_all
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv5.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %sv_0 to i64 %1 = call i64 @FUNC() %2 = add i64 %0, -96 store i64 1, i64* %indvars.iv5.reg2mem br label LBL_1 LBL_1: %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem %3 = call i64 @FUNC(i64 %indvars.iv5.reload) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %indvars.iv5.reload) %8 = mul i64 %indvars.iv5.reload, 8 %9 = add i64 %8, %2 %10 = inttoptr i64 %9 to i64* store i64 %7, i64* %10, align 8 br label LBL_4 LBL_3: %11 = mul i64 %indvars.iv5.reload, 8 %12 = add i64 %11, %2 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 br label LBL_4 LBL_4: %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1 %exitcond7 = icmp eq i64 %indvars.iv.next6, 10 store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem br i1 %exitcond7, label LBL_5, label LBL_1 LBL_5: %14 = call i64 @FUNC() store i64 1, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %15 = mul i64 %indvars.iv.reload, 8 %16 = add i64 %15, %2 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = call i64 @FUNC(i64 %18) store i64 %20, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_6 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv5.reload, { 0, 4, 3, 1, 2 } uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 10, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 1, { 3, 0, 2, 1 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
gen_window_check2_2484
gen_window_check2
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp ugt i32 %1, %arg3 %3 = select i1 %2, i32 %1, i32 %arg3 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) ret i64 %5 }
0
BinRealVul
_pick_next_task_rt_6870
_pick_next_task_rt
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %1 = call i64 @FUNC(i64 %sv_0.0.reload) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_4 LBL_2: %7 = call i64 @FUNC(i64 %1) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %9, label LBL_1, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %1) store i64 %10, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
macvtap_ioctl_set_queue_18525
macvtap_ioctl_set_queue
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = urem i64 %arg2, 2 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = inttoptr i64 %1 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %0, i64 %0) %9 = trunc i64 %8 to i32 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_5 LBL_3: %10 = and i64 %arg2, 2 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = call i64 @FUNC(i64 %1) %15 = zext i32 %sv_0.0.reload to i64 store i64 %15, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
remote_block_to_network_1415
remote_block_to_network
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %3, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %7, align 8 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i32 @htonl(i32 %12) %14 = sext i32 %13 to i64 store i32 %13, i32* %11, align 4 ret i64 %14 uselistorder i32 (i32)* @htonl, { 2, 1, 0 } uselistorder i64 (i64)* @htonll, { 2, 1, 0 } }
0
BinRealVul
ping_unhash_19260
ping_unhash
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 %arg1) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %4, i32 %6, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %arg1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64* nonnull @gv_1) %12 = call i64 @FUNC(i64 %arg1) %13 = call i64 @FUNC(i64 %arg1) %14 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %5, align 4 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i16* store i16 0, i16* %16, align 2 %17 = call i64 @FUNC(i64 %arg1) %18 = call i64 @FUNC(i64 %17, i64 %arg1, i64 4294967295) %19 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 %arg1, { 3, 0, 4, 2, 1, 5, 6 } }
1
BinRealVul
dv_write_header_1125
dv_write_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([181 x i8], [181 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 0, { 3, 1, 2, 0, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
user_reset_fdc_8172
user_reset_fdc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 4294967292, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = trunc i64 %arg2 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = load i32*, i32** @gv_0, align 8 store i32 1, i32* %7, align 4 br label LBL_3 LBL_3: %8 = load i32*, i32** @gv_0, align 8 %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = urem i64 %arg3, 256 store i64 ptrtoint (i64* @gv_1 to i64), i64* @gv_2, align 8 %12 = call i64 @FUNC(i64 4198728, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, -4 %15 = icmp eq i1 %14, false store i64 4294967292, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_6 LBL_5: %16 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
ovsinst_bitmap_to_openflow_10907
ovsinst_bitmap_to_openflow
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.15.reg2mem = alloca i32 %storemerge4.in6.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i32 %4, i32* %.reg2mem store i64 %1, i64* %storemerge4.in6.reg2mem store i32 0, i32* %sv_0.15.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %storemerge4.in6.reload = load i64, i64* %storemerge4.in6.reg2mem %storemerge4 = inttoptr i64 %storemerge4.in6.reload to i32* %7 = load i32, i32* %storemerge4, align 4 %8 = urem i32 %7, 32 %9 = shl i32 1, %8 %storemerge = zext i32 %9 to i64 %10 = and i64 %storemerge, %arg1 %11 = icmp eq i64 %10, 0 store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %12 = urem i32 %.reload, 32 %13 = shl i32 1, %12 %14 = or i32 %13, %sv_0.15.reload store i32 %14, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %15 = add i64 %storemerge4.in6.reload, 8 %16 = add i64 %storemerge4.in6.reload, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i32 %18, i32* %.reg2mem store i64 %15, i64* %storemerge4.in6.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %20, label LBL_1, label LBL_4 LBL_4: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %21 = call i32 @htonl(i32 %sv_0.1.lcssa.reload) %22 = sext i32 %21 to i64 ret i64 %22 uselistorder i64 %storemerge4.in6.reload, { 2, 0, 1 } uselistorder i32 %sv_0.15.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.in6.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ape_probe_14655
ape_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 77 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = add i64 %0, 1 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 65 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = add i64 %0, 2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 67 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add i64 %0, 3 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 32 %18 = icmp eq i1 %17, false store i64 100, i64* %storemerge.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
cpu_loop_7387
cpu_loop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = call i64 @FUNC(i64 %0) %sext = mul i64 %2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 36 %6 = inttoptr i64 %5 to i32* %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i32* %9 = add i64 %0, 28 %10 = inttoptr i64 %9 to i32* %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i32* %13 = add i64 %0, 20 %14 = inttoptr i64 %13 to i32* %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i32* %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* %21 = add i64 %0, 4 %22 = inttoptr i64 %21 to i32* %23 = bitcast i64* %rdi to i32* %24 = add i64 %1, -8 %25 = inttoptr i64 %24 to i64* %26 = add i64 %1, -16 %27 = inttoptr i64 %26 to i64* %28 = add i64 %1, -24 %29 = inttoptr i64 %28 to i64* %30 = add i64 %1, -32 %31 = inttoptr i64 %30 to i64* %32 = bitcast i64* %arg1 to i32* br label LBL_1 LBL_1: %33 = call i64 @FUNC(i64 %4) %34 = call i64 @FUNC(i64 %4) %35 = trunc i64 %34 to i32 %36 = call i64 @FUNC(i64 %4) %37 = and i64 %34, 4294967295 store i64 %37, i64* @0, align 8 switch i32 %35, label LBL_11 [ i32 1, label LBL_2 i32 2, label LBL_3 i32 3, label LBL_4 i32 4, label LBL_5 i32 5, label LBL_6 i32 6, label LBL_7 i32 7, label LBL_7 i32 8, label LBL_7 i32 9, label LBL_7 i32 10, label LBL_8 i32 11, label LBL_8 i32 12, label LBL_8 i32 13, label LBL_8 i32 14, label LBL_9 i32 15, label LBL_10 i32 16, label LBL_10 ] LBL_2: %38 = load i32, i32* %10, align 4 %39 = zext i32 %38 to i64 %40 = load i32, i32* %12, align 4 %41 = zext i32 %40 to i64 %42 = load i32, i32* %14, align 4 %43 = zext i32 %42 to i64 %44 = load i32, i32* %16, align 4 %45 = zext i32 %44 to i64 %46 = load i32, i32* %18, align 4 %47 = load i32, i32* %20, align 4 %48 = load i32, i32* %22, align 4 %49 = load i32, i32* %23, align 8 store i64 %39, i64* %25, align 8 store i64 %41, i64* %27, align 8 store i64 %43, i64* %29, align 8 store i64 %45, i64* %31, align 8 %50 = zext i32 %46 to i64 %51 = zext i32 %47 to i64 %52 = call i64 @FUNC(i64 %0, i32 %47, i32 %49, i32 %48, i64 %51, i64 %50) %53 = trunc i64 %52 to i32 store i32 %53, i32* %32, align 4 %54 = load i32, i32* %23, align 8 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false %57 = sub i32 0, %54 %storemerge = select i1 %56, i32 0, i32 %57 store i32 %storemerge, i32* %22, align 4 br label LBL_12 LBL_3: %58 = call i64 @FUNC(i64 %0, i64 1, i64 0) br label LBL_12 LBL_4: %59 = call i64 @FUNC(i64 %0, i64 0, i64 0) br label LBL_12 LBL_5: %60 = call i64 @FUNC(i64 %0, i64 1, i64 1) br label LBL_12 LBL_6: %61 = call i64 @FUNC(i64 %0, i64 0, i64 1) br label LBL_12 LBL_7: %62 = call i64 @FUNC(i64 %0, i64 %37, i64 1) br label LBL_12 LBL_8: %63 = call i64 @FUNC(i64 %0, i64 %37, i64 0) br label LBL_12 LBL_9: %64 = load i32, i32* %6, align 4 %65 = load i32, i32* %8, align 4 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %0, i64 %66, i32 %64) br label LBL_12 LBL_10: %68 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_11: %69 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %70 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %69, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %37, i32 %35) %71 = call i64 @FUNC() br label LBL_12 LBL_12: %72 = call i64 @FUNC(i64 %0) br label LBL_1 uselistorder i64 %37, { 2, 0, 1, 3 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %0, { 18, 17, 16, 13, 12, 11, 10, 9, 8, 6, 7, 4, 5, 2, 3, 1, 0, 15, 14, 19 } uselistorder i64 (i64, i64, i64)* @do_fetch, { 1, 0 } uselistorder i64 (i64, i64, i64)* @do_exch, { 3, 2, 1, 0 } uselistorder i64 1, { 0, 1, 3, 2, 4 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_12, { 9, 0, 1, 2, 3, 4, 5, 6, 7, 8 } }
1
BinRealVul
cp2112_gpio_direction_input_5235
cp2112_gpio_direction_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %1, 16 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %3, i64 1, i64 %6, i64 3, i64 2, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 3 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %10) store i32 %10, i32* %sv_0.0.reg2mem br label LBL_4 LBL_2: %13 = add i64 %6, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = trunc i64 %arg2 to i32 %17 = urem i32 %16, 32 %18 = icmp eq i32 %17, 0 %19 = shl i32 1, %17 %phitmp = xor i32 %19, 255 %storemerge2 = select i1 %18, i32 254, i32 %phitmp %20 = trunc i32 %storemerge2 to i8 %21 = and i8 %15, %20 store i8 %21, i8* %14, align 1 %22 = add i64 %6, 2 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %24 = call i64 @FUNC(i64 %3, i64 1, i64 %6, i64 3, i64 2, i64 2) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false store i32 0, i32* %sv_0.0.reg2mem br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i32 %25) store i32 %25, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %29 = call i64 @FUNC(i64 %7) %30 = icmp slt i32 %sv_0.0.reload, 0 %31 = icmp eq i1 %30, false %32 = zext i32 %sv_0.0.reload to i64 %storemerge = select i1 %31, i64 4294967291, i64 %32 ret i64 %storemerge uselistorder i32 %17, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 (i64, i8*, i32)* @hid_err, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @hid_hw_raw_request, { 1, 0 } uselistorder i64 2, { 1, 0, 3, 2 } uselistorder i64 1, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
tpm_display_backend_drivers_16221
tpm_display_backend_drivers
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %1 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_1 to i64*), i32 1, i32 39, %_IO_FILE* %0) store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_1: %2 = add i64 %22, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %22 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 8 %9 = add i64 %8, ptrtoint ([10 x i8*]* @gv_2 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = inttoptr i64 %11 to i8* %14 = inttoptr i64 %4 to i8* %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* %13, i8* %14) %16 = add nuw i32 %storemerge1.reload, 1 %17 = icmp ugt i32 %storemerge1.reload, 8 store i32 %16, i32* %storemerge1.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %18 = sext i32 %storemerge1.reload to i64 %19 = mul i64 %18, 8 %20 = add i64 %19, ptrtoint (i64* @gv_4 to i64) %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_1, label LBL_3 LBL_3: %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = call i32 @fputc(i32 10, %_IO_FILE* %25) %27 = sext i32 %26 to i64 ret i64 %27 uselistorder i64 %22, { 2, 1, 0 } uselistorder i32 %storemerge1.reload, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
getComment_6983
getComment
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = bitcast i64* %arg2 to i8* %4 = call i32 @strlen(i8* %3) %5 = sext i32 %4 to i64 store i64 %5, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %6 = trunc i64 %1 to i32 %7 = urem i32 %6, 256 %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = trunc i64 %storemerge.reload to i32 %9 = add nuw nsw i32 %7, 1 %10 = add i32 %9, %8 %11 = icmp ult i32 %10, 1025 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_6 LBL_3: %12 = ptrtoint i64* %arg2 to i64 %13 = zext i32 %10 to i64 %14 = call i64 @reallocarray(i64 %12, i64 %13, i64 1) %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 1 %18 = add i64 %14, %storemerge.reload %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %17 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %7) %22 = urem i64 %1, 256 %23 = add i64 %18, %22 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 store i64 %14, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %25 = add i64 %12, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg2, { 0, 3, 1, 2 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
copy_to_user_tmpl_11403
copy_to_user_tmpl
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = bitcast i64* %rdi to i32* %7 = ptrtoint i64* %sv_0 to i64 %8 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge23.reg2mem br label LBL_2 LBL_2: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %.reload = load i64, i64* %.reg2mem %9 = mul nsw i64 %.reload, 40 %10 = add i64 %9, %7 %11 = add i64 %9, %8 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = inttoptr i64 %10 to i32* store i32 %14, i32* %15, align 8 %16 = add i64 %11, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = or i64 %10, 4 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %11, 12 %22 = add i64 %10, 8 %23 = inttoptr i64 %21 to i32* %24 = load i32, i32* %23, align 4 %25 = inttoptr i64 %22 to i32* store i32 %24, i32* %25, align 8 %26 = add i64 %11, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %10, 12 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %11, 20 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %10, 16 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 8 %36 = add i64 %11, 24 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i64 %10, 20 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = add i64 %11, 28 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %10, 24 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 8 %46 = add i64 %11, 32 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i64 %10, 28 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = add i64 %11, 36 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i64 %10, 32 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 8 %56 = add i64 %11, 40 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %10, 36 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = add i32 %storemerge23.reload, 1 %62 = load i32, i32* %6, align 8 %63 = zext i32 %62 to i64 %64 = sext i32 %61 to i64 %65 = icmp slt i64 %64, %63 store i64 %64, i64* %.reg2mem store i32 %61, i32* %storemerge23.reg2mem br i1 %65, label LBL_2, label LBL_3 LBL_3: %phitmp = mul i32 %62, 40 %phitmp5 = zext i32 %phitmp to i64 %66 = call i64 @FUNC(i64 %5, i64 1, i64 %phitmp5, i64* nonnull %sv_0) store i64 %66, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 36, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 28, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 20, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 40, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hpsa_scsi_find_entry_17531
hpsa_scsi_find_entry
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 0 br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 8 %8 = add i64 %7, %4 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %6, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = trunc i64 %indvars.iv.reload to i32 %18 = bitcast i64* %arg4 to i32* store i32 %17, i32* %18, align 4 %19 = load i64, i64* %9, align 8 %20 = ptrtoint i32* %arg1 to i64 %21 = call i64 @FUNC(i64 %20, i64 %19) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %. = zext i1 %23 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp slt i64 %indvars.iv.next, %5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %24, label LBL_2, label LBL_5 LBL_5: %25 = bitcast i64* %arg4 to i32* store i32 -1, i32* %25, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
scsi_req_set_status_16631
scsi_req_set_status
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = and i64 %arg3, 4294967295 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* store i32 %1, i32* %7, align 4 %8 = call i64 @FUNC(i64 %5, i64 %2) ret i64 %8 }
1
BinRealVul
paging_new_cr3_17959
paging_new_cr3
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1) %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64 %4) %8 = call i64 @FUNC(i64 %4) ret i64 %4 uselistorder i64* %0, { 2, 1, 0 } }
1
BinRealVul
icmpv6_err_convert_8220
icmpv6_err_convert
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = bitcast i64* %arg3 to i32* store i32 71, i32* %0, align 4 %1 = urem i64 %arg1, 256 %2 = icmp eq i64 %1, 4 br i1 %2, label LBL_9, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp ugt i32 %3, 4 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_10, label LBL_2 LBL_2: %5 = icmp eq i32 %3, 3 br i1 %5, label LBL_8, label LBL_3 LBL_3: %6 = icmp ugt i32 %3, 3 store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_10, label LBL_4 LBL_4: %trunc = trunc i64 %arg1 to i8 store i64 0, i64* %sv_0.0.reg2mem switch i8 %trunc, label LBL_10 [ i8 1, label LBL_5 i8 2, label LBL_7 ] LBL_5: %7 = trunc i64 %arg2 to i8 %8 = icmp ult i8 %7, 4 store i64 1, i64* %sv_0.0.reg2mem br i1 %8, label LBL_6, label LBL_10 LBL_6: %9 = mul i64 %arg2, 8 %10 = and i64 %9, 2040 %11 = add i64 %10, ptrtoint (i32** @gv_0 to i64) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 8 store i32 %13, i32* %0, align 4 %14 = add i64 %10, ptrtoint (i32** @gv_1 to i64) %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 8 %phitmp = zext i32 %16 to i64 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_10 LBL_7: store i32 90, i32* %0, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_8: store i32 71, i32* %0, align 4 store i64 1, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: store i32 113, i32* %0, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i32 %3, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %0, { 3, 2, 0, 1, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 6, 2, 4, 3, 1, 5, 7 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_10, { 3, 4, 5, 1, 2, 0, 6, 7 } }
0
BinRealVul
ma_decoder_init_vfs_12897
ma_decoder_init_vfs
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i8* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %1) %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %5, i64 %0) %7 = trunc i64 %6 to i32 store i32 %7, i32* %sv_0, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_2: store i32 1, i32* %sv_0, align 4 %10 = call i64 @FUNC(i64 4198922, i64 4198905, i64 0, i64* nonnull %5, i64 %0) %phitmp = trunc i64 %10 to i32 store i32 %phitmp, i32* %sv_0, align 4 %11 = icmp eq i32 %phitmp, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = ptrtoint i32* %sv_0 to i64 %13 = call i64 @FUNC(i64 %3, i64 %12) %14 = load i32, i32* %sv_0, align 4 %15 = zext i32 %14 to i64 store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %phitmp, { 1, 0 } uselistorder i32* %sv_0, { 4, 3, 0, 2, 1, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
__close_fd_get_file_12904
__close_fd_get_file
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 12 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3) %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ugt i32 %9, %0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = inttoptr i64 %6 to i64* %13 = load i64, i64* %12, align 8 %14 = mul i64 %arg1, 8 %15 = and i64 %14, 34359738360 %16 = add i64 %13, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = and i64 %arg1, 4294967295 %21 = call i64 @FUNC(i64 %18, i64 0) %22 = call i64 @FUNC(i64 %3, i64 %20) %23 = call i64 @FUNC(i64 %4) %24 = call i64 @FUNC(i64 %18) store i64 %18, i64* %arg2, align 8 %25 = call i64 @FUNC(i64 %18, i64 %3) store i64 %25, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %26 = call i64 @FUNC(i64 %4) store i64 0, i64* %arg2, align 8 store i64 4294967294, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %18, { 1, 3, 2, 0, 4 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
php_stream_zip_open_6502
php_stream_zip_open
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 114 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = icmp eq i64 %arg1, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_8 LBL_3: %8 = call i64 @FUNC(i64 %arg1, i64 1, i32* nonnull %sv_1) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_8 LBL_4: %11 = call i64 @FUNC(i64 %8, i64 %arg2, i64 0) %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = call i64 @FUNC(i64 32) %14 = inttoptr i64 %13 to i64* store i64 %8, i64* %14, align 8 %15 = add i64 %13, 8 %16 = inttoptr i64 %15 to i64* store i64 %11, i64* %16, align 8 %17 = add i64 %13, 16 %18 = inttoptr i64 %17 to i64* store i64 0, i64* %18, align 8 %19 = add i64 %13, 24 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = call i64 @FUNC(i64* nonnull @gv_0, i64 %13, i64 0, i64 %arg3) %22 = call i64 @FUNC(i64 %arg2) %23 = inttoptr i64 %21 to i64* store i64 %22, i64* %23, align 8 store i64 %21, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 %8) store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = icmp eq i64 %sv_0.0.reload, 0 %26 = icmp eq i1 %25, false %sv_0.0. = select i1 %26, i64 %sv_0.0.reload, i64 0 store i64 %sv_0.0., i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %8, { 1, 0, 2, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 3, 4, 2, 0, 1 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 2, 1 } }
0
BinRealVul
APar_ExtractDetails_7804
APar_ExtractDetails
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %storemerge.in10.reg2mem = alloca i32 %sv_0.011.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %sv_1 = alloca i8, align 1 %sv_2 = alloca i64, align 8 %7 = load i32, i32* %1 %8 = load i32, i32* %1 %9 = load i32, i32* %1 %sv_3 = alloca i64, align 8 %10 = load i32, i32* %1 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 store i32 0, i32* %sv_5, align 4 %11 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 0) %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64* nonnull %sv_4, i64 %arg1, i64 %11) %14 = load i64, i64* @gv_1, align 8 %15 = call i128 @__asm_movsd.1(i64 %14) %16 = call i64 @FUNC(i128 %15) %17 = load i64, i64* @gv_2, align 8 %18 = call i128 @FUNC(i64 %17) %19 = call i64 @FUNC(i128 %18) %20 = load i64, i64* @gv_2, align 8 %21 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %22 = call i128 @__asm_movsd.1(i64 %16) %23 = call i128 @FUNC(i64 %20) %24 = trunc i128 %23 to i64 %25 = bitcast i64 %24 to double %26 = inttoptr i64 %19 to i8* %27 = trunc i128 %22 to i64 %28 = bitcast i64 %27 to double %29 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_4, i64 0, i64 0), double %25, i8* %26, double %28) %30 = urem i64 %arg2, 2 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_3, label LBL_2 LBL_2: %32 = load i64, i64* @gv_5, align 8 %33 = call i64 @FUNC(i64 %32) %34 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %35 = inttoptr i64 %33 to i8* %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i8* %35) %37 = load i64, i64* @gv_7, align 8 %38 = call i64 @FUNC(i64 %37) %39 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %40 = inttoptr i64 %38 to i8* %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_8, i64 0, i64 0), i8* %40) br label LBL_3 LBL_3: %42 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 0, i64 0, i64 0) %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* bitcast (i64* @gv_10 to i32*), align 8 %44 = call i64 @FUNC(i64 %arg1, i64 %42) br label LBL_5 LBL_5: %45 = and i64 %arg2, 2 %46 = icmp eq i64 %45, 0 store i64 0, i64* %rax.0.reg2mem br i1 %46, label LBL_24, label LBL_6 LBL_6: %47 = bitcast i32* %sv_5 to i64* %48 = call i64 @FUNC(i64* nonnull %47, i64 0) %49 = load i32, i32* %sv_5, align 4 %50 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %51 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %50, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_11, i64 0, i64 0), i32 %49) %52 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %53 = call i32 @fwrite(i64* bitcast ([57 x i8]* @gv_12 to i64*), i32 1, i32 56, %_IO_FILE* %52) %54 = load i32, i32* %sv_5, align 4 %55 = icmp eq i32 %54, 0 store i64 0, i64* %rax.0.reg2mem br i1 %55, label LBL_24, label LBL_7 LBL_7: %56 = icmp ugt i32 %54, %10 br i1 %56, label LBL_8, label LBL_23 LBL_8: %57 = bitcast i64* %sv_3 to i8* %58 = zext i32 %9 to i64 %59 = zext i32 %7 to i64 %60 = icmp eq i32 %6, 0 %61 = bitcast i8* %sv_1 to i64* %62 = urem i32 %5, 2 %63 = icmp eq i32 %62, 0 %64 = zext i32 %4 to i64 %65 = and i32 %5, 6 %66 = icmp eq i32 %65, 0 %67 = urem i64 %arg2, 2 %68 = icmp eq i64 %67, 0 br label LBL_9 LBL_9: %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem call void @FUNC(i8* nonnull %57, i64 0, i64 24) %69 = call i64 @FUNC(i64* nonnull %sv_4, i64 %arg1, i64* nonnull %47, i64* nonnull %sv_3) %70 = call i64 @FUNC(i64* nonnull %sv_3) %71 = load i64, i64* %sv_3, align 8 %72 = trunc i64 %71 to i8 %73 = icmp eq i8 %72, 0 %74 = icmp eq i1 %73, false br i1 %74, label LBL_11, label LBL_10 LBL_10: %75 = call i64* @memcpy(i64* nonnull %sv_3, i64* bitcast ([14 x i8]* @gv_13 to i64*), i32 13) br label LBL_11 LBL_11: %76 = add i32 %sv_0.011.reload, 1 %77 = call i64 @FUNC(i64 %58, i64* nonnull %sv_4) %78 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %79 = inttoptr i64 %77 to i8* %80 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %78, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_14, i64 0, i64 0), i32 %76, i8* %79, i64* nonnull %sv_3) %81 = call i32 @strlen(i8* nonnull %57) %82 = urem i64 %70, 65536 %83 = add nuw nsw i64 %82, 24 %.mask = urem i32 %81, 65536 %84 = zext i32 %.mask to i64 %85 = icmp ult i64 %83, %84 br i1 %85, label LBL_14, label LBL_12 LBL_12: %sext7 = mul i32 %81, 65536 store i32 %sext7, i32* %storemerge.in10.reg2mem br label LBL_13 LBL_13: %storemerge.in10.reload = load i32, i32* %storemerge.in10.reg2mem %86 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %87 = call i32 @fputc(i32 32, %_IO_FILE* %86) %sext5 = add i32 %storemerge.in10.reload, 65536 %88 = udiv i32 %sext5, 65536 %89 = zext i32 %88 to i64 %90 = icmp ult i64 %83, %89 store i32 %sext5, i32* %storemerge.in10.reg2mem br i1 %90, label LBL_14, label LBL_13 LBL_14: %91 = call i64 @FUNC(i64 %59, i64* nonnull %sv_4) %92 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %93 = inttoptr i64 %91 to i8* %94 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %92, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0), i8* %93, i64* nonnull %sv_2, i32 %8) %95 = load i8, i8* %sv_1, align 1 %96 = icmp eq i8 %95, 0 %or.cond = or i1 %60, %96 br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %97 = call i64 @FUNC(i64* nonnull %61) %98 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %99 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %98, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_16, i64 0, i64 0), i8* nonnull %sv_1) br label LBL_16 LBL_16: br i1 %63, label LBL_18, label LBL_17 LBL_17: %100 = call i64 @FUNC(i64 %64, i64* nonnull %sv_4) %101 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %102 = inttoptr i64 %100 to i8* %103 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %101, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_17, i64 0, i64 0), i8* %102) br label LBL_18 LBL_18: %104 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %105 = call i32 @fputc(i32 10, %_IO_FILE* %104) br i1 %66, label LBL_20, label LBL_19 LBL_19: %106 = call i64 @FUNC(i64* nonnull %sv_3) br label LBL_20 LBL_20: br i1 %68, label LBL_21, label LBL_22 LBL_21: %107 = load i32, i32* %sv_5, align 4 %108 = icmp ugt i32 %107, %76 store i32 %76, i32* %sv_0.011.reg2mem store i32 %76, i32* %.lcssa.in.reg2mem br i1 %108, label LBL_9, label LBL_23 LBL_22: %109 = call i64 @FUNC(i64 %3) %110 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %111 = inttoptr i64 %109 to i8* %112 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %110, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_18, i64 0, i64 0), i8* %111) %113 = call i64 @FUNC(i64 %2) %114 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %115 = inttoptr i64 %113 to i8* %116 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %114, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_19, i64 0, i64 0), i8* %115) br label LBL_21 LBL_23: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_5, { 3, 2, 1, 4, 0 } uselistorder i64* %sv_3, { 1, 0, 2, 6, 3, 4, 5 } uselistorder i8* %sv_1, { 0, 2, 1 } uselistorder i32* %sv_0.011.reg2mem, { 1, 0 } uselistorder i32* %storemerge.in10.reg2mem, { 1, 0, 2 } uselistorder i32* %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 1, 0 } uselistorder i32 65536, { 1, 3, 0, 2 } uselistorder i64 (i64, i64*)* @uint32tochar4, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64*)* @purge_extraneous_characters, { 1, 0 } uselistorder i64 (i64)* @APar_extract_UTC, { 3, 2, 1, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_3, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64)* @APar_FindAtom, { 1, 0 } uselistorder i32 0, { 0, 3, 1, 4, 2 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
boot_sector_init_16170
boot_sector_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call %_IO_FILE* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq %_IO_FILE* %1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32* @__errno_location() %5 = load i32, i32* %4, align 4 %6 = call i8* @strerror(i32 %5) %7 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i8* %0, i8* %6) store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %9 = call i64 @FUNC() %10 = inttoptr i64 %9 to i8* %11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 512, i32* %sv_0.0.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i32 305419896, i32 4112, i32 0, i32 4113) store i32 %14, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %15 = call i32 @fwrite(i64* bitcast (i8** @gv_4 to i64*), i32 1, i32 %sv_0.0.reload, %_IO_FILE* %1) %16 = call i32 @fclose(%_IO_FILE* %1) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder %_IO_FILE* %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1