dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
nr_recvmsg_13662
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 12) %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) %42 = add i64 %17, 8 %43 = inttoptr i64 %42 to i64* store i64 12, i64* %43, align 8 br label LBL_10 LBL_10: %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 %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 } }
0
BinRealVul
vfio_rom_read_1488
vfio_rom_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = mul i64 %arg3, 8 %2 = and i64 %1, 56 %3 = icmp eq i64 %2, 0 %notmask = shl nsw i64 -1, %2 %4 = sub i64 0, %notmask %phitmp = sub i64 %4, 1 %storemerge = select i1 %3, i64 0, i64 %phitmp store i64 %storemerge, i64* %sv_0, align 8 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_3: %sext = mul i64 %arg3, 4294967296 %14 = ashr exact i64 %sext, 32 %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp ugt i64 %17, %arg2 %19 = icmp eq i1 %18, false store i32 0, i32* %storemerge3.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = sub i64 %17, %arg2 %21 = and i64 %14, 4294967295 %22 = icmp ugt i64 %20, %21 %23 = select i1 %22, i64 %21, i64 %20 %phitmp4 = trunc i64 %23 to i32 store i32 %phitmp4, i32* %storemerge3.reg2mem br label LBL_5 LBL_5: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %24 = add i64 %0, %arg2 %25 = inttoptr i64 %24 to i64* %26 = call i64* @memcpy(i64* nonnull %sv_0, i64* %25, i32 %storemerge3.reload) %27 = load i64, i64* %sv_0, align 8 %28 = add i64 %0, 20 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = add i64 %0, 19 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = add i64 %0, 18 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = add i64 %0, 16 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = trunc i64 %27 to i32 %41 = zext i8 %30 to i32 %42 = zext i8 %33 to i32 %43 = zext i8 %36 to i32 %44 = zext i16 %39 to i32 %45 = trunc i64 %arg2 to i32 %46 = trunc i64 %14 to i32 %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 %44, i32 %43, i32 %42, i32 %41, i32 %45, i32 %46, i32 %40) %48 = load i64, i64* %sv_0, align 8 ret i64 %48 uselistorder i64 %17, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0, 3 } uselistorder i64 %0, { 6, 7, 5, 4, 0, 8, 2, 1, 3 } uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @vfio_pci_load_rom, { 1, 0 } uselistorder i1 false, { 2, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 3, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
mvneta_stop_3822
mvneta_stop
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 4 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %1 to i32* store i32 1, i32* %4, align 4 %5 = call i64 @FUNC(i64 %2) %6 = call i64 @FUNC(i64 %1) %7 = call i64 @FUNC(i64 %1) %8 = add i64 %1, 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 4198843, i64 %1, i64 1) %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = bitcast i64* %rdi to i32* %15 = load i32, i32* %14, align 8 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 %13) %18 = call i64 @FUNC(i64 %1) %19 = call i64 @FUNC(i64 %1) ret i64 0 }
0
BinRealVul
copy_mnt_ns_11578
copy_mnt_ns
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_2.22.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i64 %sv_3.07.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %2 = ptrtoint i64* %arg2 to i64 %3 = and i64 %arg1, 131072 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 %2) store i64 %2, i64* %rax.0.reg2mem br label LBL_21 LBL_4: %7 = ptrtoint i64* %arg3 to i64 %8 = call i64 @FUNC(i64 %7) %9 = icmp ult i64 %8, -1000 store i64 %8, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_21 LBL_5: %10 = call i64 @FUNC() %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, %7 %spec.select = select i1 %14, i32 3, i32 15 %15 = call i64 @FUNC(i64 %2, i64 %2, i32 %spec.select) %16 = icmp ult i64 %15, -1000 br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC() %18 = call i64 @FUNC(i64 %8) store i64 %15, i64* %rax.0.reg2mem br label LBL_21 LBL_7: %19 = ptrtoint i64* %arg4 to i64 %20 = inttoptr i64 %8 to i64* store i64 %15, i64* %20, align 8 %21 = add i64 %15, 8 %22 = add i64 %8, 8 %23 = call i64 @FUNC(i64 %22, i64 %21) %24 = icmp eq i64* %arg4, null %25 = add i64 %19, 8 %26 = inttoptr i64 %25 to i64* store i64 %15, i64* %sv_3.07.reg2mem store i64 %2, i64* %sv_0.14.reg2mem store i64 0, i64* %sv_1.13.reg2mem store i64 0, i64* %sv_2.22.reg2mem br label LBL_8 LBL_8: %sv_2.22.reload = load i64, i64* %sv_2.22.reg2mem %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %sv_3.07.reload = load i64, i64* %sv_3.07.reg2mem %27 = add i64 %sv_3.07.reload, 16 %28 = inttoptr i64 %27 to i64* store i64 %8, i64* %28, align 8 store i64 %sv_2.22.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem br i1 %24, label LBL_13, label LBL_9 LBL_9: %29 = icmp eq i64 %sv_0.14.reload, %2 %30 = icmp eq i1 %29, false store i64 %sv_2.22.reload, i64* %sv_2.0.reg2mem br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %sv_3.07.reload) store i64 %31, i64* %arg4, align 8 store i64 %sv_0.14.reload, i64* %sv_2.0.reg2mem br label LBL_11 LBL_11: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %32 = load i64, i64* %26, align 8 %33 = icmp eq i64 %sv_0.14.reload, %32 %34 = icmp eq i1 %33, false store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem br i1 %34, label LBL_13, label LBL_12 LBL_12: %35 = call i64 @FUNC(i64 %sv_3.07.reload) store i64 %35, i64* %26, align 8 store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_0.14.reload, i64* %sv_1.0.reg2mem br label LBL_13 LBL_13: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %36 = call i64 @FUNC(i64 %sv_0.14.reload, i64 %2) %37 = call i64 @FUNC(i64 %sv_3.07.reload, i64 %15) %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_17, label LBL_14 LBL_14: %39 = inttoptr i64 %36 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %37 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %40, %42 %44 = icmp eq i1 %43, false store i64 %36, i64* %sv_0.01.reg2mem store i64 %36, i64* %sv_0.0.lcssa.reg2mem br i1 %44, label LBL_15, label LBL_16 LBL_15: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %45 = call i64 @FUNC(i64 %sv_0.01.reload, i64 %2) %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* %41, align 8 %49 = icmp eq i64 %47, %48 %50 = icmp eq i1 %49, false store i64 %45, i64* %sv_0.01.reg2mem store i64 %45, i64* %sv_0.0.lcssa.reg2mem br i1 %50, label LBL_15, label LBL_16 LBL_16: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %51 = icmp eq i64 %sv_0.0.lcssa.reload, 0 %52 = icmp eq i1 %51, false store i64 %37, i64* %sv_3.07.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.14.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.22.reg2mem br i1 %52, label LBL_8, label LBL_17 LBL_17: %53 = call i64 @FUNC() %54 = icmp eq i64 %sv_2.1.reload, 0 br i1 %54, label LBL_19, label LBL_18 LBL_18: %55 = call i64 @FUNC(i64 %sv_2.1.reload) br label LBL_19 LBL_19: %56 = icmp eq i64 %sv_1.0.reload, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %56, label LBL_21, label LBL_20 LBL_20: %57 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 %8, 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 i64 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i64* %41, { 1, 0 } uselistorder i64 %sv_2.1.reload, { 1, 0, 2 } uselistorder i64 %sv_1.0.reload, { 1, 0, 2 } uselistorder i64 %sv_3.07.reload, { 3, 2, 0, 1 } uselistorder i64 %sv_0.14.reload, { 4, 0, 2, 1, 3 } uselistorder i64 %sv_2.22.reload, { 1, 0 } uselistorder i64 %15, { 2, 1, 3, 4, 0, 5 } uselistorder i64 %8, { 1, 0, 4, 5, 6, 3, 2, 7 } uselistorder i64 %2, { 4, 5, 3, 1, 7, 6, 8, 0, 2 } uselistorder i64* %sv_3.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.22.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i64 (i64)* @mntput, { 1, 0 } uselistorder i64 (i64, i64)* @next_mnt, { 2, 1, 0 } uselistorder i64 (i64)* @mntget, { 1, 0 } uselistorder i64 ()* @namespace_unlock, { 1, 0 } uselistorder i1 false, { 4, 1, 0, 2, 3, 5, 6, 7, 8 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_21, { 1, 0, 3, 2, 4 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
ldq_tce_15593
ldq_tce
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64* nonnull %sv_0, i64 8) %2 = load i64, i64* %sv_0, align 8 %3 = call i64 @FUNC(i64 %2) ret i64 %3 uselistorder i64* %sv_0, { 1, 0 } }
1
BinRealVul
desc_ring_set_size_16340
desc_ring_set_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %storemerge26.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp ugt i32 %3, 1 %6 = trunc i64 %4 to i32 %7 = icmp ult i32 %6, 65537 %or.cond = icmp eq i1 %5, %7 br i1 %or.cond, label LBL_1, label LBL_3 LBL_1: %8 = add nsw i64 %4, 4294967295 %9 = and i64 %8, %4 %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = trunc i64 %1 to i32 %13 = icmp eq i32 %12, 0 %.pre = add i64 %2, 16 %.pre7 = inttoptr i64 %.pre to i64* store i32 0, i32* %storemerge26.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_3: %14 = add i64 %2, 24 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %19 = load i64, i64* %.pre7, align 8 %20 = sext i32 %storemerge26.reload to i64 %21 = mul i64 %20, 16 %22 = add i64 %21, %19 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24) %26 = add nuw i32 %storemerge26.reload, 1 %exitcond9 = icmp eq i32 %26, %12 store i32 %26, i32* %storemerge26.reg2mem br i1 %exitcond9, label LBL_5, label LBL_4 LBL_5: %27 = bitcast i64* %arg1 to i32* store i32 %6, i32* %27, align 4 %28 = add i64 %2, 8 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %2, 4 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = mul i64 %arg2, 16 %33 = and i64 %32, 68719476720 %34 = load i64, i64* %.pre7, align 8 %35 = call i64 @FUNC(i64 %34, i64 %33) store i64 %35, i64* %.pre7, align 8 %36 = icmp eq i64 %35, 0 %37 = icmp eq i1 %36, false store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_6, label LBL_8 LBL_6: %38 = inttoptr i64 %35 to i64* %39 = mul i32 %3, 16 %40 = call i64* @memset(i64* %38, i32 0, i32 %39) %41 = icmp eq i32 %6, 0 store i32 0, i32* %storemerge5.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %41, label LBL_8, label LBL_7 LBL_7: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %42 = load i64, i64* %.pre7, align 8 %43 = sext i32 %storemerge5.reload to i64 %44 = mul i64 %43, 16 %45 = or i64 %44, 8 %46 = add i64 %45, %42 %47 = inttoptr i64 %46 to i64* store i64 %2, i64* %47, align 8 %48 = add nuw i32 %storemerge5.reload, 1 %exitcond = icmp eq i32 %48, %6 store i32 %48, i32* %storemerge5.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 0, 2 } uselistorder i32 %6, { 0, 1, 3, 2, 4 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i64 %2, { 1, 2, 3, 4, 0 } uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
drive_get_onerror_16863
drive_get_onerror
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = zext i32 %0 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %4 = mul i64 %.reload, 16 %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, %2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i64 %4, ptrtoint (i32** @gv_1 to i64) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 8 %13 = zext i32 %12 to i64 store i64 %13, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %14 = add i32 %storemerge12.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %15, %3 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ata_passthrough_12_xfer_size_16516
ata_passthrough_12_xfer_size
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.shrunk.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = add i64 %1, 2 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = urem i8 %4, 4 %6 = call i64 @FUNC(i64 %0, i64 %1) store i8 0, i8* %sv_0.0.shrunk.reg2mem store i8 0, i8* %sv_0.0.shrunk.reg2mem switch i8 %5, label LBL_3 [ i8 3, label LBL_4 i8 2, label LBL_2 i8 0, label LBL_4 i8 1, label LBL_1 ] LBL_1: %7 = add i64 %1, 3 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 store i8 %9, i8* %sv_0.0.shrunk.reg2mem br label LBL_4 LBL_2: %10 = add i64 %1, 4 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 store i8 %12, i8* %sv_0.0.shrunk.reg2mem br label LBL_4 LBL_3: unreachable LBL_4: %sv_0.0.shrunk.reload = load i8, i8* %sv_0.0.shrunk.reg2mem %sv_0.0 = zext i8 %sv_0.0.shrunk.reload to i64 %13 = mul i64 %6, %sv_0.0 %14 = and i64 %13, 4294967295 ret i64 %14 uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i8* %sv_0.0.shrunk.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i8 0, { 2, 0, 1 } uselistorder label LBL_4, { 2, 3, 1, 0 } }
1
BinRealVul
MDC2_Update_11841
MDC2_Update
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %sv_1.0.reg2mem store i64 %arg3, i64* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %sext = mul i64 %1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %5, %arg3 %7 = icmp ult i64 %6, 16 br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = ptrtoint i32* %arg1 to i64 %9 = add i64 %8, 4 %10 = add i64 %9, %5 %11 = inttoptr i64 %10 to i64* %12 = trunc i64 %arg3 to i32 %13 = call i64* @memcpy(i64* %11, i64* %arg2, i32 %12) %14 = add i32 %3, %12 store i32 %14, i32* %arg1, align 4 br label LBL_8 LBL_3: %15 = sub nsw i64 16, %5 %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 4 %18 = add i64 %5, %17 %19 = inttoptr i64 %18 to i64* %20 = trunc i64 %15 to i32 %21 = call i64* @memcpy(i64* %19, i64* %arg2, i32 %20) %22 = sub i64 %arg3, %15 %23 = add i64 %15, %2 store i32 0, i32* %arg1, align 4 %24 = call i64 @FUNC(i64 %16, i64 %17, i64 16) store i64 %23, i64* %sv_1.0.reg2mem store i64 %22, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %25 = and i64 %sv_0.0.reload, -16 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = ptrtoint i32* %arg1 to i64 %28 = call i64 @FUNC(i64 %27, i64 %sv_1.0.reload, i64 %25) br label LBL_6 LBL_6: %29 = sub i64 %sv_0.0.reload, %25 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = trunc i64 %29 to i32 %32 = add i64 %25, %sv_1.0.reload %33 = ptrtoint i32* %arg1 to i64 %34 = add i64 %33, 4 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %32 to i64* %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %31) store i32 %31, i32* %arg1, align 4 br label LBL_8 LBL_8: ret i64 1 uselistorder i32 %31, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %5, { 1, 3, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @mdc2_body, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 %arg3, { 2, 3, 1, 0 } uselistorder i64* %arg2, { 1, 0, 2 } uselistorder i32* %arg1, { 5, 6, 4, 0, 1, 2, 3 } uselistorder label LBL_8, { 1, 0, 2 } }
1
BinRealVul
ff_mediacodec_dec_close_15287
ff_mediacodec_dec_close
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg2, align 8 br label LBL_2 LBL_2: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %5) store i64 0, i64* %4, align 8 br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
vmstate_size_756
vmstate_size
define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 store i32 %3, i32* %sv_0.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = sext i32 %11 to i64 %13 = add i64 %12, %arg1 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = and i32 %6, 2 %17 = icmp eq i32 %16, 0 %18 = select i1 %17, i32 1, i32 %3 %spec.select = mul i32 %15, %18 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = zext i32 %sv_0.0.reload to i64 ret i64 %19 uselistorder i32 %6, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i32 2, { 1, 0 } }
0
BinRealVul
make_cdt16_entry_2712
make_cdt16_entry
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 31 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i16* %4 = load i16, i16* %3, align 2 %5 = sext i16 %4 to i64 %sext1 = mul i64 %arg1, 4294967296 %6 = ashr exact i64 %sext1, 31 %7 = add i64 %6, %0 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = sext i16 %9 to i64 %11 = mul i64 %10, 2048 %12 = add nsw i64 %11, %5 %13 = mul nsw i64 %12, 131074 %14 = and i64 %13, 4294967294 ret i64 %14 }
0
BinRealVul
asv2_put_level_1327
asv2_put_level
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = add i32 %arg3, 31 %5 = icmp ult i32 %4, 63 br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = zext i32 %4 to i64 %7 = mul i64 %6, 8 %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64) %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 8 %11 = zext i32 %10 to i64 %12 = add i64 %7, ptrtoint (i32** @gv_1 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 8 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %3, i64 %15, i64 %11) store i64 %16, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %17 = load i32, i32* @gv_2, align 4 %18 = zext i32 %17 to i64 %19 = load i32, i32* @gv_3, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %3, i64 %20, i64 %18) %arg3.off = add i32 %arg3, 128 %22 = icmp ult i32 %arg3.off, 256 store i32 %arg3, i32* %sv_0.0.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = zext i32 %arg3 to i64 %24 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %23, i64 %2, i64 %1) %25 = call i64 @FUNC(i64 %23) %26 = trunc i64 %25 to i32 store i32 %26, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %27 = urem i32 %sv_0.0.reload, 256 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %3, i64 8, i64 %28) store i64 %29, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @put_bits, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 31, { 2, 0, 1 } uselistorder i32 %arg3, { 2, 0, 1, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
unix_process_msgfd_13874
unix_process_msgfd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %storemerge2.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_10 LBL_1: %8 = trunc i64 %1 to i32 %9 = bitcast i64* %arg1 to i32* %10 = icmp eq i32 %8, -1 store i64 %5, i64* %storemerge23.reg2mem br label LBL_2 LBL_2: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %11 = inttoptr i64 %storemerge23.reload to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 20 %14 = icmp eq i1 %13, false store i64 %12, i64* %.reg2mem br i1 %14, label LBL_9, label LBL_3 LBL_3: %15 = add i64 %storemerge23.reload, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 1 %19 = icmp eq i1 %18, false store i64 %12, i64* %.reg2mem br i1 %19, label LBL_9, label LBL_4 LBL_4: %20 = add i64 %storemerge23.reload, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 1 %24 = icmp eq i1 %23, false store i64 %12, i64* %.reg2mem br i1 %24, label LBL_9, label LBL_5 LBL_5: %25 = add i64 %storemerge23.reload, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp slt i32 %27, 0 store i64 %12, i64* %.reg2mem br i1 %28, label LBL_9, label LBL_6 LBL_6: br i1 %10, label LBL_8, label LBL_7 LBL_7: %29 = call i32 @close(i32 %8) br label LBL_8 LBL_8: store i32 %27, i32* %9, align 4 %.pre = load i64, i64* %11, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_9 LBL_9: %.reload = load i64, i64* %.reg2mem %30 = add i64 %.reload, 7 %31 = and i64 %30, -8 %32 = add i64 %31, %storemerge23.reload %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 %32, i64* %storemerge23.reg2mem store i64 %32, i64* %storemerge2.lcssa.reg2mem br i1 %34, label LBL_2, label LBL_10 LBL_10: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem ret i64 %storemerge2.lcssa.reload uselistorder i64 %12, { 3, 0, 1, 2, 4 } uselistorder i64 %storemerge23.reload, { 4, 0, 1, 2, 3 } uselistorder i32 %8, { 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 1, 5, 2, 3, 4 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder label LBL_9, { 4, 0, 3, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sctp_do_peeloff_11335
sctp_do_peeloff
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = icmp eq i64 %4, 0 %7 = icmp eq i1 %6, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_1, label LBL_5 LBL_1: %8 = add i64 %4, 4 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 4294967280, i64* %rax.0.shrunk.reg2mem br i1 %11, label LBL_2, label LBL_5 LBL_2: %12 = call i64 @FUNC(i64 %2, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %15, label LBL_3, label LBL_5 LBL_3: %16 = and i64 %1, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 2, i64 132, i64* nonnull %sv_0) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %rax.0.shrunk.reg2mem br i1 %20, label LBL_4, label LBL_5 LBL_4: %21 = load i64, i64* %sv_0, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23, i64 %2, i64 %4) %25 = load i64, i64* %sv_0, align 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %2, i64 %27, i64 %4, i64 1) %29 = load i64, i64* %sv_0, align 8 store i64 %29, i64* %arg3, align 8 store i64 %17, i64* %rax.0.shrunk.reg2mem br label LBL_5 LBL_5: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64* %sv_0, { 1, 2, 3, 0 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
1
BinRealVul
snd_rawmidi_receive_17515
snd_rawmidi_receive
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.22.reg2mem = alloca i32 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = ptrtoint i32* %arg1 to i64 %3 = load i64, i64* %0 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_16 LBL_2: %13 = trunc i64 %1 to i32 %14 = call i64 @FUNC(i64 %6, i64 %3) %15 = icmp eq i32 %arg3, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = add i32 %13, 1 store i32 %17, i32* %arg1, align 4 %18 = add i64 %6, 24 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %6, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp ult i32 %20, %23 br i1 %24, label LBL_4, label LBL_5 LBL_4: %25 = load i64, i64* %8, align 8 %26 = add i64 %6, 20 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, 1 store i32 %29, i32* %27, align 4 %30 = sext i32 %28 to i64 %31 = add i64 %25, %30 %32 = bitcast i64* %rsi to i8* %33 = load i8, i8* %32, align 8 %34 = inttoptr i64 %31 to i8* store i8 %33, i8* %34, align 1 %35 = load i32, i32* %27, align 4 %36 = load i32, i32* %22, align 4 %37 = ashr i32 %35, 31 %38 = zext i32 %35 to i64 %39 = zext i32 %37 to i64 %40 = mul i64 %39, 4294967296 %41 = or i64 %40, %38 %42 = zext i32 %36 to i64 %43 = srem i64 %41, %42 %44 = trunc i64 %43 to i32 store i32 %44, i32* %27, align 4 %45 = load i32, i32* %19, align 4 %46 = add i32 %45, 1 store i32 %46, i32* %19, align 4 store i32 1, i32* %sv_0.05.reg2mem br label LBL_11 LBL_5: %47 = add i64 %6, 28 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i32 %49, 1 store i32 %50, i32* %48, align 4 store i32 0, i32* %sv_0.03.reg2mem br label LBL_15 LBL_6: %51 = add i32 %13, %arg3 store i32 %51, i32* %arg1, align 4 %52 = add i64 %6, 16 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %6, 20 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = sub i32 %54, %57 %59 = icmp sgt i32 %58, %arg3 %spec.select = select i1 %59, i32 %arg3, i32 %58 %60 = add i64 %6, 24 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = sub i32 %54, %62 %64 = zext i32 %63 to i64 %65 = sext i32 %spec.select to i64 %66 = icmp sgt i64 %65, %64 %sv_1.1 = select i1 %66, i32 %63, i32 %spec.select %67 = load i64, i64* %8, align 8 %68 = sext i32 %57 to i64 %69 = add i64 %67, %68 %70 = inttoptr i64 %69 to i64* %71 = call i64* @memcpy(i64* %70, i64* %arg2, i32 %sv_1.1) %72 = load i32, i32* %56, align 4 %73 = add i32 %sv_1.1, %72 store i32 %73, i32* %56, align 4 %74 = load i32, i32* %53, align 4 %75 = ashr i32 %73, 31 %76 = zext i32 %73 to i64 %77 = zext i32 %75 to i64 %78 = mul i64 %77, 4294967296 %79 = or i64 %78, %76 %80 = zext i32 %74 to i64 %81 = srem i64 %79, %80 %82 = trunc i64 %81 to i32 store i32 %82, i32* %56, align 4 %83 = load i32, i32* %61, align 4 %84 = add i32 %83, %sv_1.1 store i32 %84, i32* %61, align 4 %85 = sub i32 %arg3, %sv_1.1 %86 = icmp slt i32 %85, 1 store i32 %sv_1.1, i32* %sv_0.0.reg2mem br i1 %86, label LBL_10, label LBL_7 LBL_7: %87 = load i32, i32* %53, align 4 %88 = sub i32 %87, %84 %89 = zext i32 %88 to i64 %90 = sext i32 %85 to i64 %91 = icmp sgt i64 %90, %89 store i32 %85, i32* %sv_1.22.reg2mem br i1 %91, label LBL_8, label LBL_9 LBL_8: %92 = add i64 %6, 28 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = sub i32 %85, %88 %96 = add i32 %95, %94 store i32 %96, i32* %93, align 4 %97 = icmp slt i32 %88, 1 store i32 %88, i32* %sv_1.22.reg2mem store i32 %sv_1.1, i32* %sv_0.0.reg2mem br i1 %97, label LBL_10, label LBL_9 LBL_9: %98 = ptrtoint i64* %arg2 to i64 %99 = sext i32 %sv_1.1 to i64 %100 = add i64 %99, %98 %sv_1.22.reload = load i32, i32* %sv_1.22.reg2mem %101 = load i64, i64* %8, align 8 %102 = inttoptr i64 %101 to i64* %103 = inttoptr i64 %100 to i64* %104 = call i64* @memcpy(i64* %102, i64* %103, i32 %sv_1.22.reload) store i32 %sv_1.22.reload, i32* %56, align 4 %105 = load i32, i32* %61, align 4 %106 = add i32 %105, %sv_1.22.reload store i32 %106, i32* %61, align 4 %107 = add i32 %sv_1.22.reload, %sv_1.1 store i32 %107, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %108 = icmp slt i32 %sv_0.0.reload, 1 store i32 %sv_0.0.reload, i32* %sv_0.05.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.03.reg2mem br i1 %108, label LBL_15, label LBL_11 LBL_11: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %109 = add i64 %6, 32 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label LBL_13, label LBL_12 LBL_12: %113 = add i64 %6, 40 %114 = call i64 @FUNC(i64 %113) store i32 %sv_0.05.reload, i32* %sv_0.03.reg2mem br label LBL_15 LBL_13: %115 = call i64 @FUNC(i64 %2) %116 = trunc i64 %115 to i32 %117 = icmp eq i32 %116, 0 store i32 %sv_0.05.reload, i32* %sv_0.03.reg2mem br i1 %117, label LBL_15, label LBL_14 LBL_14: %118 = add i64 %6, 36 %119 = call i64 @FUNC(i64 %118) store i32 %sv_0.05.reload, i32* %sv_0.03.reg2mem br label LBL_15 LBL_15: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %120 = call i64 @FUNC(i64 %6, i64 %3) %121 = zext i32 %sv_0.03.reload to i64 store i64 %121, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.05.reload, { 2, 1, 0 } uselistorder i32 %sv_1.22.reload, { 3, 2, 1, 0 } uselistorder i32 %88, { 0, 2, 1, 3 } uselistorder i32 %85, { 1, 0, 2, 3 } uselistorder i32 %73, { 1, 0, 2 } uselistorder i32 %sv_1.1, { 2, 7, 0, 1, 6, 3, 4, 5 } uselistorder i32* %61, { 1, 0, 3, 2, 4 } uselistorder i32* %56, { 0, 1, 3, 2, 4 } uselistorder i32* %27, { 1, 0, 2, 3 } uselistorder i32* %19, { 1, 0, 2 } uselistorder i64* %8, { 1, 2, 0, 3 } uselistorder i64 %6, { 8, 5, 7, 6, 4, 9, 11, 10, 2, 3, 1, 0, 12, 13 } uselistorder i32* %sv_1.22.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.03.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 %arg3, { 2, 1, 3, 0, 4 } uselistorder i64* %arg2, { 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_15, { 1, 2, 3, 4, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
reposvul_c_test
em_ret_far_imm_241
em_ret_far_imm
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %3, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %2, i64 %7) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
qcow2_grow_l1_table_16349
qcow2_grow_l1_table
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %.reg2mem8 = alloca i64 %storemerge36.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp slt i32 %4, %1 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_13 LBL_1: %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false %spec.select = select i1 %7, i32 %4, i32 1 %8 = icmp slt i32 %spec.select, %1 store i32 %spec.select, i32* %sv_1.07.reg2mem store i32 %spec.select, i32* %sv_1.0.lcssa.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %9 = mul i32 %sv_1.07.reload, 3 %10 = add i32 %9, 1 %11 = icmp slt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = add i32 %10, %12 %14 = ashr i32 %13, 1 %15 = icmp slt i32 %14, %1 store i32 %14, i32* %sv_1.07.reg2mem store i32 %14, i32* %sv_1.0.lcssa.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_3: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %16 = zext i32 %sv_1.0.lcssa.reload to i64 %17 = zext i32 %4 to i64 %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %16) %19 = mul i32 %sv_1.0.lcssa.reload, 8 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i64 512) %sext2 = mul i64 %21, 4294967296 %22 = ashr exact i64 %sext2, 32 %23 = call i64 @FUNC(i64 %22) %24 = load i32, i32* %3, align 4 %25 = mul i32 %24, 8 %26 = inttoptr i64 %23 to i64* %27 = inttoptr i64 %22 to i64* %28 = call i64* @memcpy(i64* %26, i64* %27, i32 %25) %29 = call i64 @FUNC(i64 %0, i64 %20) %30 = icmp slt i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_5 LBL_4: %32 = load i32, i32* %3, align 4 %33 = icmp eq i32 %32, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge36.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_5: %34 = call i64 @FUNC(i64 %23) store i64 %29, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %.reload = load i64, i64* %.reg2mem %35 = mul i64 %.reload, 8 %36 = add i64 %35, %23 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %38) store i64 %39, i64* %37, align 8 %40 = add i32 %storemerge36.reload, 1 %41 = load i32, i32* %3, align 4 %42 = zext i32 %41 to i64 %43 = sext i32 %40 to i64 %44 = icmp slt i64 %43, %42 store i64 %43, i64* %.reg2mem store i32 %40, i32* %storemerge36.reg2mem br i1 %44, label LBL_6, label LBL_7 LBL_7: %45 = inttoptr i64 %2 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46, i64 %29, i64 %23, i32 %19) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %19, %48 %50 = icmp eq i1 %49, false store i32 %48, i32* %sv_0.0.reg2mem br i1 %50, label LBL_12, label LBL_8 LBL_8: %51 = load i32, i32* %3, align 4 %52 = icmp eq i32 %51, 0 store i64 0, i64* %.reg2mem8 store i32 0, i32* %storemerge5.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %53 = mul i64 %.reload9, 8 %54 = add i64 %53, %23 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = call i64 @FUNC(i64 %56) store i64 %57, i64* %55, align 8 %58 = add i32 %storemerge5.reload, 1 %59 = load i32, i32* %3, align 4 %60 = zext i32 %59 to i64 %61 = sext i32 %58 to i64 %62 = icmp slt i64 %61, %60 store i64 %61, i64* %.reg2mem8 store i32 %58, i32* %storemerge5.reg2mem br i1 %62, label LBL_9, label LBL_10 LBL_10: %63 = call i64 @FUNC(i64* nonnull %sv_3, i64 %16) %64 = call i64 @FUNC(i64* nonnull %sv_2, i64 %29) %65 = load i64, i64* %45, align 8 %66 = ptrtoint i64* %sv_3 to i64 %67 = call i64 @FUNC(i64 %65, i64 0, i64 %66, i32 12) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 12 %70 = icmp eq i1 %69, false store i32 %68, i32* %sv_0.0.reg2mem br i1 %70, label LBL_12, label LBL_11 LBL_11: %71 = call i64 @FUNC(i64 %65) %72 = load i32, i32* %3, align 4 %73 = mul i32 %72, 8 %74 = zext i32 %73 to i64 %75 = add i64 %0, 16 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = call i64 @FUNC(i64 %0, i64 %77, i64 %74) store i64 %29, i64* %76, align 8 store i64 %23, i64* %arg1, align 8 store i32 %sv_1.0.lcssa.reload, i32* %3, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %79 = call i64 @FUNC(i64 %23) %80 = call i64 @FUNC(i64 %0, i64 %29, i64 %20) %81 = icmp slt i32 %sv_0.0.reload, 0 %82 = icmp eq i1 %81, false %83 = zext i32 %sv_0.0.reload to i64 %spec.select4 = select i1 %82, i64 4294967291, i64 %83 ret i64 %spec.select4 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 3, 1, 2, 4, 0, 5 } uselistorder i64 %23, { 4, 3, 0, 5, 1, 2, 6 } uselistorder i64 %22, { 1, 0 } uselistorder i32 %19, { 1, 2, 0 } uselistorder i32 %sv_1.0.lcssa.reload, { 0, 2, 1 } uselistorder i32* %3, { 2, 3, 4, 1, 5, 0, 6, 7 } uselistorder i32 %1, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64 %0, { 2, 0, 1, 3, 4 } uselistorder i32* %sv_1.07.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @qcow2_free_clusters, { 1, 0 } uselistorder i64 (i64, i64, i64, i32)* @bdrv_pwrite, { 1, 0 } uselistorder i64 (i64)* @qemu_free, { 2, 1, 0 } uselistorder i32 0, { 5, 0, 3, 1, 4, 2, 6 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
i82801b11_bridge_class_init_15878
i82801b11_bridge_class_init
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 store i32 1, i32* %arg1, align 4 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i16* store i16 -32634, i16* %2, align 2 %3 = add i64 %0, 6 %4 = inttoptr i64 %3 to i16* store i16 9294, i16* %4, align 2 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i8* store i8 2, i8* %6, align 1 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 4198662, i64* %8, align 8 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i64* store i64 4198669, i64* %10, align 8 %11 = bitcast i64* %rdi to i32* %12 = load i32, i32* %11, align 8 %13 = sext i32 %12 to i64 %14 = call i64 @FUNC(i64 0, i64 %13) ret i64 %14 }
1
BinRealVul
choose_intra_uv_mode_5148
choose_intra_uv_mode
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i32* %arg5, i32* %arg6, i64* %arg7, i32* %arg8, i64* %arg9) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg7 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg8 to i64 %7 = ptrtoint i32* %arg6 to i64 %8 = ptrtoint i32* %arg5 to i64 %9 = call i64 @FUNC(i64 %1, i64 %1, i64 %8, i64 %7, i64 %0, i64 %6) br label LBL_3 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i32* %arg6 to i64 %12 = ptrtoint i32* %arg5 to i64 %13 = call i64 @FUNC(i64 %1, i64 %1, i64 %10, i64 %12, i64 %11, i64 %0) br label LBL_3 LBL_3: %14 = ptrtoint i64* %arg9 to i64 %15 = trunc i64 %1 to i32 %16 = bitcast i64* %arg9 to i32* store i32 %15, i32* %16, align 4 ret i64 %14 uselistorder i64 %1, { 0, 4, 2, 3, 1, 5 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %arg6, { 1, 0 } uselistorder i32* %arg5, { 1, 0 } }
0
BinRealVul
tcx_realizefn_49
tcx_realizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.pre-phi4.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = mul i32 %4, 9 %6 = call i64 @FUNC(i64 %2) %7 = add i64 %2, 88 %8 = zext i32 %5 to i64 %9 = call i64 @FUNC(i64 %7, i64 %6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64* nonnull @gv_1) %10 = call i64 @FUNC(i64 %7) %11 = call i64 @FUNC(i64 %7, i64 1, i64 0) %12 = call i64 @FUNC(i64 %7) %13 = add i64 %2, 128 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_3, label LBL_1 LBL_1: %17 = add i64 %2, 80 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %15, i64 %20, i64 1024) %22 = trunc i64 %21 to i32 %23 = call i64 @FUNC(i64 %15) %24 = icmp ult i32 %22, 1025 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %26 = add i64 %2, 8 %27 = inttoptr i64 %26 to i64* store i64 %12, i64* %27, align 8 %28 = load i32, i32* %3, align 4 %29 = call i64 @FUNC(i64 %2) %30 = add i64 %2, 96 %31 = zext i32 %28 to i64 %32 = call i64 @FUNC(i64 %30, i64 %29, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %7, i64 0, i64 %31) %33 = call i64 @FUNC(i64 %1, i64 %30) %34 = sext i32 %28 to i64 %35 = add i64 %12, %34 %36 = load i32, i32* %3, align 4 %37 = mul i32 %36, 4 %38 = add i64 %2, 16 %39 = inttoptr i64 %38 to i64* store i64 %35, i64* %39, align 8 %40 = add i64 %2, 24 %41 = inttoptr i64 %40 to i32* store i32 %28, i32* %41, align 4 %42 = call i64 @FUNC(i64 %2) %43 = add i64 %2, 104 %44 = zext i32 %37 to i64 %45 = and i64 %34, 4294967295 %46 = call i64 @FUNC(i64 %43, i64 %42, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i64 %7, i64 %45, i64 %44) %47 = call i64 @FUNC(i64 %1, i64 %43) %48 = sext i32 %37 to i64 %49 = add nsw i64 %48, %34 %50 = add i64 %35, %48 %51 = load i32, i32* %3, align 4 %52 = mul i32 %51, 4 %53 = add i64 %2, 32 %54 = inttoptr i64 %53 to i64* store i64 %50, i64* %54, align 8 %55 = trunc i64 %49 to i32 %56 = add i64 %2, 40 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = call i64 @FUNC(i64 %2) %59 = add i64 %2, 112 %60 = zext i32 %52 to i64 %61 = and i64 %49, 4294967295 %62 = call i64 @FUNC(i64 %59, i64 %58, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i64 %7, i64 %61, i64 %60) %63 = call i64 @FUNC(i64 %1, i64 %59) %64 = add i64 %2, 44 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 8 %68 = icmp eq i1 %67, false br i1 %68, label LBL_5, label LBL_4 LBL_4: %69 = call i64 @FUNC(i64 %2) %70 = add i64 %2, 64 %71 = call i64 @FUNC(i64 %70, i64 %69, i64* nonnull @gv_7, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0), i64 0) %72 = call i64 @FUNC(i64 %1, i64 %70) br label LBL_5 LBL_5: %73 = add i64 %2, 72 %74 = call i64 @FUNC(i64 %1, i64 %73) %75 = load i32, i32* %65, align 4 %76 = icmp eq i32 %75, 8 %77 = icmp eq i1 %76, false %78 = call i64 @FUNC(i64 %0) br i1 %77, label LBL_7, label LBL_6 LBL_6: %79 = call i64 @FUNC(i64 %78, i64 0, i64* nonnull @gv_9, i64 %2) %80 = add i64 %2, 56 %81 = inttoptr i64 %80 to i64* store i64 %79, i64* %81, align 8 store i64* %81, i64** %.pre-phi4.reg2mem br label LBL_8 LBL_7: %82 = call i64 @FUNC(i64 %78, i64 0, i64* nonnull @gv_10, i64 %2) %83 = add i64 %2, 56 %84 = inttoptr i64 %83 to i64* store i64 %82, i64* %84, align 8 store i64* %84, i64** %.pre-phi4.reg2mem br label LBL_8 LBL_8: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %85 = add i64 %2, 120 %86 = inttoptr i64 %85 to i32* store i32 0, i32* %86, align 4 %87 = add i64 %2, 52 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = add i64 %2, 48 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = load i64, i64* %.pre-phi4.reload, align 8 %94 = zext i32 %92 to i64 %95 = call i64 @FUNC(i64 %93, i64 %94, i32 %89) ret i64 %95 uselistorder i64 %78, { 1, 0 } uselistorder i32 %37, { 1, 0 } uselistorder i64 %34, { 1, 2, 0 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 0, 6, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 25 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i64** %.pre-phi4.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64*, i64)* @graphic_console_init, { 1, 0 } uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @memory_region_init_alias, { 2, 1, 0 } uselistorder i64 (i64)* @vmstate_register_ram_global, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } }
1
BinRealVul
dn_create_17929
dn_create
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) 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 = call i64 @FUNC(i64 %2, i64 4210725) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %sext = mul i64 %arg3, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %1 to i32 store i64 3, i64* %rax.0.reg2mem switch i32 %8, label LBL_5 [ i32 1, label LBL_2 i32 2, label LBL_3 ] LBL_2: %9 = trunc i64 %7 to i32 %10 = icmp eq i32 %9, 1 store i64 2, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = and i64 %arg4, 4294967295 %12 = ptrtoint i32* %arg2 to i64 %13 = call i64 @FUNC(i64 %2, i64 %12, i64 0, i64 %11) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_5 LBL_4: %16 = inttoptr i64 %13 to i32* %17 = trunc i64 %7 to i32 store i32 %17, i32* %16, align 4 store i64 0, 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* %rax.0.reg2mem, { 0, 5, 1, 3, 2, 4 } uselistorder label LBL_5, { 4, 0, 2, 1, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
rtnl_link_fill_9735
rtnl_link_fill
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64* %sv_0.1.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = icmp eq i64 %1, 0 store i64* inttoptr (i32 -90 to i64*), i64** %sv_0.2.reg2mem br i1 %2, label LBL_11, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 2, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 store i64* inttoptr (i32 -90 to i64*), i64** %sv_0.1.reg2mem br i1 %5, label LBL_10, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64* inttoptr (i32 -90 to i64*), i64** %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = trunc i64 %0 to i32 %12 = and i64 %0, 4294967295 %13 = inttoptr i64 %12 to i64* %14 = icmp slt i32 %11, 0 store i64* %13, i64** %sv_0.0.reg2mem store i64* %13, i64** %sv_0.1.reg2mem br i1 %14, label LBL_10, label LBL_4 LBL_4: %15 = add i64 %6, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_8, label LBL_5 LBL_5: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %0, i64 3) %20 = icmp eq i64 %19, 0 store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem br i1 %20, label LBL_10, label LBL_6 LBL_6: %21 = trunc i64 %0 to i32 %22 = icmp slt i32 %21, 0 br i1 %22, label LBL_9, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %0, i64 %19) br label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %0, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_9: %25 = and i64 %0, 4294967295 %26 = inttoptr i64 %25 to i64* %27 = call i64 @FUNC(i64 %0, i64 %19) store i64* %26, i64** %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %28 = call i64 @FUNC(i64 %0, i64 %1) store i64* %sv_0.1.reload, i64** %sv_0.2.reg2mem br label LBL_11 LBL_11: %sv_0.2.reload = load i64*, i64** %sv_0.2.reg2mem %29 = ptrtoint i64* %sv_0.2.reload to i64 %30 = and i64 %29, 4294967295 store i64 %30, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 8, 2, 5, 7, 3, 4, 6, 1, 0, 9, 10 } uselistorder i64** %sv_0.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @nla_nest_cancel, { 1, 0 } uselistorder i64 (i64, i64)* @nla_nest_end, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64* inttoptr (i32 -90 to i64*), { 2, 1, 0 } uselistorder i64 (i64, i64)* @nla_nest_start, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
0
BinRealVul
ccp_aes_cmac_import_18344
ccp_aes_cmac_import
define i64 @FUNC(i64* %arg1, i64* %arg2) 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* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 96) %3 = load i64, i64* %sv_0, align 8 %4 = trunc i64 %3 to i32 %5 = inttoptr i64 %1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %1, 4 %7 = inttoptr i64 %6 to i64* %8 = add i64 %1, 12 %9 = inttoptr i64 %8 to i64* %10 = add i64 %1, 24 %11 = inttoptr i64 %10 to i64* %12 = add i64 %1, 32 %13 = inttoptr i64 %12 to i64* %14 = add i64 %1, 40 %15 = inttoptr i64 %14 to i64* %16 = add i64 %1, 48 %17 = inttoptr i64 %16 to i64* %18 = add i64 %1, 56 %19 = inttoptr i64 %18 to i64* %20 = add i64 %1, 64 %21 = inttoptr i64 %20 to i64* %22 = add i64 %1, 72 %23 = inttoptr i64 %22 to i64* %24 = add i64 %1, 80 %25 = inttoptr i64 %24 to i64* %26 = add i64 %1, 88 %27 = inttoptr i64 %26 to i64* ret i64 0 uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 8, 9, 7, 10, 11 } uselistorder i64* %sv_0, { 1, 0 } }
1
BinRealVul
ffurl_read_15841
ffurl_read
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 4294967291, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = trunc i64 %arg3 to i32 %12 = call i64 @FUNC(i64 %5, i64 %4, i32 %11, i64 1, i64 %10) store i64 %12, 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 label LBL_2, { 1, 0 } }
1
BinRealVul
build_tablename_5007
build_tablename
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i8*, align 8 %3 = call i64 @FUNC(i64 %arg3) %4 = bitcast i8** %sv_0 to i64* %5 = call i64 @FUNC(i64 %3, i64* nonnull @gv_0, i64* nonnull %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %spec.select = select i1 %7, i64 %5, i64 %arg3 %8 = inttoptr i64 %spec.select to i8* %9 = call i32 @strlen(i8* %8) %10 = sext i32 %9 to i64 %11 = call i64 @FUNC(i64 %spec.select, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %1, i64 %spec.select, i64 %10) %16 = inttoptr i64 %2 to i64* call void @free(i64* %16) br label LBL_2 LBL_2: %17 = load i8*, i8** %sv_0, align 8 %18 = icmp eq i8* %17, null br i1 %18, label LBL_7, label LBL_3 LBL_3: %19 = load i8, i8* %17, align 1 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_7, label LBL_4 LBL_4: %21 = call i32 @strlen(i8* nonnull %17) %22 = sext i32 %21 to i64 %23 = load i8*, i8** %sv_0, align 8 %24 = ptrtoint i8* %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 %22) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %1, i64 46) %30 = load i8*, i8** %sv_0, align 8 %31 = ptrtoint i8* %30 to i64 %32 = call i64 @FUNC(i64 %1, i64 %31, i64 %22) br label LBL_7 LBL_6: %33 = load i8*, i8** %sv_0, align 8 %34 = ptrtoint i8* %33 to i64 %35 = call i64 @FUNC(i64 %arg2, i64 %34, i64 %22) %36 = call i64 @FUNC(i64 %1, i64 46) %37 = call i64 @FUNC(i64 %1, i64 %35) %38 = inttoptr i64 %35 to i64* call void @free(i64* %38) br label LBL_7 LBL_7: %39 = call i64 @FUNC(i64 %3) ret i64 %39 uselistorder i64 %22, { 1, 0, 2 } uselistorder i64 %spec.select, { 2, 0, 1 } uselistorder i8** %sv_0, { 3, 2, 1, 0, 4 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @smart_str_appendc, { 1, 0 } uselistorder i64 (i64, i64, i64)* @smart_str_appendl, { 2, 1, 0 } uselistorder i64 (i64, i64)* @_php_pgsql_detect_identifier_escape, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } }
0
BinRealVul
qemu_system_reset_16890
qemu_system_reset
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %0 = add i64 %storemerge1.reload, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 %2, i64* %storemerge1.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_2: ret i64 0 uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
dns_resolver_describe_6053
dns_resolver_describe
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 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = add i64 %5, 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_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %14, i64 %3, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 %19, i64 %3, i64 %2, i64 %1) store i64 %20, 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, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @seq_printf, { 1, 0 } }
0
BinRealVul
nfs_inode_return_delegation_noreclaim_4153
nfs_inode_return_delegation_noreclaim
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 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 %1, i64 1) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
checkout_data_clear_17446
checkout_data_clear
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 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) store i64 0, i64* %6, align 8 br label LBL_2 LBL_2: %9 = add i64 %2, 16 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %2, 24 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %2, 32 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %2, 40 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %2, 48 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %18, align 8 %21 = add i64 %2, 56 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %2, 64 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %2, 72 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) store i64 0, i64* %26, align 8 ret i64 %2 uselistorder i64 %2, { 0, 3, 2, 1, 5, 4, 8, 7, 6, 9 } uselistorder i64 (i64)* @git_buf_free, { 1, 0 } uselistorder i64 (i64)* @git_vector_free_deep, { 1, 0 } }
1
BinRealVul
cdf_read_short_sector_11109
cdf_read_short_sector
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg4, 512 store i64 512, i64* %rcx.0.reg2mem store i64 %arg3, i64* %rdx.0.reg2mem store i64 %arg2, i64* %rsi.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([22 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem store i64 33, i64* %rdx.0.reg2mem store i64 ptrtoint ([55 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %2 = mul i64 %arg6, 512 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = mul i64 %5, 4096 %7 = icmp ugt i64 %2, %6 br i1 %7, label LBL_3, label LBL_4 LBL_3: %8 = ptrtoint i64* %arg5 to i64 %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %9 = call i64 @FUNC(i64 %6, i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %8, i64 %arg6) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %10 = add i64 %rdi.0.reload, %2 %11 = add i64 %arg3, %arg2 %12 = inttoptr i64 %11 to i64* %13 = inttoptr i64 %10 to i64* %14 = trunc i64 %arg4 to i32 %15 = call i64* @memcpy(i64* %12, i64* %13, i32 %14) store i64 %arg4, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder [22 x i8]* @gv_2, { 1, 0 } uselistorder [55 x i8]* @gv_1, { 1, 0 } uselistorder [10 x i8]* @gv_0, { 1, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
pred4x4_horizontal_vp8_c_1134
pred4x4_horizontal_vp8_c
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = sub i32 0, %arg3 %4 = sub i32 %3, 1 %5 = sext i32 %4 to i64 %6 = add i64 %5, %2 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i32 %10 = add i64 %2, -1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i32 %14 = trunc i64 %1 to i32 %15 = urem i32 %14, 256 %16 = add i64 %2, 1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = zext i8 %18 to i32 %20 = add i64 %2, 2 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i32 %24 = mul i32 %13, 2 %25 = add nuw nsw i32 %15, 2 %26 = add nuw nsw i32 %25, %9 %27 = add nuw nsw i32 %26, %24 %28 = udiv i32 %27, 4 %29 = mul i32 %28, 16843009 %30 = bitcast i64* %arg1 to i32* store i32 %29, i32* %30, align 4 %31 = mul i32 %15, 2 %32 = add nuw nsw i32 %19, 2 %33 = add nuw nsw i32 %31, %13 %34 = add nuw nsw i32 %33, %32 %35 = udiv i32 %34, 4 %36 = sext i32 %arg3 to i64 %37 = add i64 %36, %2 %38 = mul i32 %35, 16843009 %39 = inttoptr i64 %37 to i32* store i32 %38, i32* %39, align 4 %40 = mul i32 %19, 2 %41 = add nuw nsw i32 %40, %25 %42 = add nuw nsw i32 %41, %23 %43 = udiv i32 %42, 4 %44 = mul i32 %arg3, 2 %45 = sext i32 %44 to i64 %46 = add i64 %45, %2 %47 = mul i32 %43, 16843009 %48 = inttoptr i64 %46 to i32* store i32 %47, i32* %48, align 4 %49 = mul i32 %23, 2 %50 = add nuw nsw i32 %32, %23 %51 = add nuw nsw i32 %50, %49 %52 = udiv i32 %51, 4 %53 = mul i32 %arg3, 3 %54 = sext i32 %53 to i64 %55 = add i64 %54, %2 %56 = mul i32 %52, 16843009 %57 = zext i32 %56 to i64 %58 = inttoptr i64 %55 to i32* store i32 %56, i32* %58, align 4 ret i64 %57 uselistorder i32 %32, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %23, { 2, 0, 1 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %2, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i32 2, { 0, 1, 2, 5, 3, 6, 4 } uselistorder i32 %arg3, { 2, 0, 3, 1 } }
0
BinRealVul
get_htab_fd_3066
get_htab_fd
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i64 @FUNC(i64 0) %5 = trunc i64 %4 to i32 store i32 %5, i32* %arg1, align 4 %6 = call i8* @strerror(i32 %2) %7 = ptrtoint i8* %6 to i64 %8 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %7) br label LBL_2 LBL_2: %storemerge = and i64 %1, 4294967295 ret i64 %storemerge uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
mem_log_init_11377
mem_log_init
define i64 @FUNC(i64 %arg1, i8* %arg2) 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 = load i64, i64* %0 %5 = call i64 @FUNC(i64 0, i64* nonnull @gv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load i64, i64* @gv_1, align 8 %9 = inttoptr i64 %8 to %_IO_FILE* store %_IO_FILE* %9, %_IO_FILE** @gv_2, align 8 store i64 %8, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %10 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %11 = icmp eq %_IO_FILE* %10, null br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i32 @fclose(%_IO_FILE* nonnull %10) br label LBL_4 LBL_4: %13 = inttoptr i64 %arg1 to i8* %14 = call i32 @strlen(i8* %13) %15 = add i32 %14, 22 %16 = call i64* @malloc(i32 %15) %17 = icmp eq i64* %16, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %20 = load i64, i64* @gv_1, align 8 %21 = inttoptr i64 %20 to %_IO_FILE* store %_IO_FILE* %21, %_IO_FILE** @gv_2, align 8 store i64 %20, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %22 = bitcast i64* %16 to i8* %23 = call i32 @getpid() %24 = zext i32 %23 to i64 %25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %22, i32 %15, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8* %13, i64 %24) %26 = call %_IO_FILE* @fopen(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0)) store %_IO_FILE* %26, %_IO_FILE** @gv_2, align 8 %27 = icmp eq %_IO_FILE* %26, null %28 = icmp eq i1 %27, false br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = ptrtoint i64* %16 to i64 %30 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %29, i64 %arg1, i64 %24, i64 %1) %31 = load i64, i64* @gv_1, align 8 %32 = inttoptr i64 %31 to %_IO_FILE* store %_IO_FILE* %32, %_IO_FILE** @gv_2, align 8 br label LBL_9 LBL_8: %33 = call i32 @fileno(%_IO_FILE* %26) %34 = call i32 (i32, i32, ...) @fcntl(i32 %33, i32 1) %35 = call i32 (i32, i32, ...) @fcntl(i32 %33, i32 2) %36 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 call void @setlinebuf(%_IO_FILE* %36) %37 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %38 = call i32 @fputc(i32 10, %_IO_FILE* %37) br label LBL_9 LBL_9: call void @free(i64* %16) %39 = ptrtoint i8* %arg2 to i64 store i64 %39, i64* @gv_7, align 8 store i64 %39, 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 i8* %22, { 1, 0 } uselistorder i64* %16, { 0, 1, 3, 2 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_message, { 1, 0 } }
1
BinRealVul
qemu_config_parse_15700
qemu_config_parse
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.ph.be.reg2mem = alloca i64 %sv_2.013.reg2mem = alloca i32 %sv_1.0.ph15.reg2mem = alloca i64 %sv_2.0.ph16.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i8, align 1 %sv_7 = alloca i64, align 8 %1 = call i64 @FUNC(i64* nonnull %sv_7) %2 = inttoptr i64 %arg1 to %_IO_FILE* %3 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2) %4 = icmp eq i8* %3, null %5 = icmp eq i1 %4, false store i32 0, i32* %sv_2.0.ph16.reg2mem store i64 0, i64* %sv_1.0.ph15.reg2mem br i1 %5, label LBL_1, label LBL_16 LBL_1: %sv_1.0.ph15.reload = load i64, i64* %sv_1.0.ph15.reg2mem %sv_2.0.ph16.reload = load i32, i32* %sv_2.0.ph16.reg2mem %6 = icmp eq i64 %sv_1.0.ph15.reload, 0 %7 = icmp eq i1 %6, false store i32 %sv_2.0.ph16.reload, i32* %sv_2.013.reg2mem br label LBL_2 LBL_2: %sv_2.013.reload = load i32, i32* %sv_2.013.reg2mem %8 = add i32 %sv_2.013.reload, 1 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %arg3, i64 %9) %11 = load i8, i8* %sv_6, align 1 %12 = icmp eq i8 %11, 10 %13 = icmp eq i8 %11, 35 %14 = or i1 %12, %13 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2) %17 = icmp eq i8* %16, null %18 = icmp eq i1 %17, false store i32 %8, i32* %sv_2.013.reg2mem br i1 %18, label LBL_2, label LBL_16 LBL_4: %19 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_4, i64* nonnull %sv_5) %20 = icmp eq i32 %19, 2 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4) %23 = icmp eq i64 %22, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %23, label LBL_18, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %22, i64* nonnull %sv_5, i64 1) store i64 %24, i64* %sv_1.0.ph.be.reg2mem br label LBL_10 LBL_7: %25 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_4) %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_11, label LBL_8 LBL_8: %28 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4) %29 = icmp eq i64 %28, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %29, label LBL_18, label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %28, i64* null, i64 0) store i64 %30, i64* %sv_1.0.ph.be.reg2mem br label LBL_10 LBL_10: %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem %31 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2) %32 = icmp eq i8* %31, null %33 = icmp eq i1 %32, false store i32 %8, i32* %sv_2.0.ph16.reg2mem store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph15.reg2mem br i1 %33, label LBL_1, label LBL_16 LBL_11: %34 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_3, i64* nonnull %sv_7) %35 = icmp eq i32 %34, 2 %36 = icmp eq i1 %35, false br i1 %36, label LBL_15, label LBL_12 LBL_12: br i1 %7, label LBL_14, label LBL_13 LBL_13: %37 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_18 LBL_14: %38 = call i64 @FUNC(i64 %sv_1.0.ph15.reload, i64* nonnull %sv_3, i64* nonnull %sv_7) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %41, label LBL_18, label LBL_3 LBL_15: %42 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_18 LBL_16: %43 = call i32 @ferror(%_IO_FILE* %2) %44 = icmp eq i32 %43, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %44, label LBL_18, label LBL_17 LBL_17: %45 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0)) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = call i64 @FUNC(i64* nonnull %sv_7) ret i64 %sv_0.0.reload uselistorder i32 %8, { 1, 0, 2 } uselistorder %_IO_FILE* %2, { 0, 2, 3, 1 } uselistorder i8* %sv_6, { 3, 1, 4, 5, 2, 6, 0 } uselistorder i64* %sv_4, { 1, 2, 3, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %sv_2.0.ph16.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.ph15.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.013.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 7, 3, 6, 1, 2 } uselistorder i64 (i8*)* @error_report, { 0, 2, 1 } uselistorder i64 (i64, i64*, i64)* @qemu_opts_create, { 1, 0 } uselistorder i64 4294967295, { 3, 5, 2, 4, 0, 1 } uselistorder i64 (i64, i64*)* @find_list, { 1, 0 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 2, 1, 0 } uselistorder i8* null, { 1, 2, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 2, 0 } uselistorder i32 1024, { 1, 2, 0 } uselistorder label LBL_18, { 6, 3, 4, 2, 5, 0, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
get_uint16_equal_3057
get_uint16_equal
define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i16, align 2 %3 = bitcast i16* %sv_0 to i64* %4 = call i64 @FUNC(i64 %2, i64* nonnull %3) %5 = trunc i64 %1 to i16 %6 = load i16, i16* %sv_0, align 2 %7 = icmp eq i16 %6, %5 %8 = icmp eq i1 %7, false %. = select i1 %8, i64 4294967274, i64 0 ret i64 %. }
0
BinRealVul
icp_class_init_14467
icp_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
ff_dwt_decode_12607
ff_dwt_decode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 2 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_6, label LBL_2 LBL_2: store i64 4294967295, i64* %storemerge.reg2mem switch i32 %3, label LBL_6 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %6 = call i64 @FUNC(i64 %2, i64 %arg2) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_4: %7 = call i64 @FUNC(i64 %2, i64 %arg2) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %8 = call i64 @FUNC(i64 %2, i64 %arg2) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i32 2, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1 } uselistorder label LBL_6, { 3, 2, 1, 0, 4 } }
1
BinRealVul
inet_sock_destruct_11257
inet_sock_destruct
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 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %6, 24 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %6, 32 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %6) %13 = trunc i64 %3 to i32 %14 = icmp eq i32 %13, 1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_1 LBL_1: %16 = add i64 %6, 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 = zext i32 %18 to i64 %21 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %6, i64 %5, i64 %2, i64 %1) store i64 %21, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %22 = call i64 @FUNC(i64 %6, i64 1) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %4, i64 %5, i64 %2, i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %27 = add i64 %6, 8 %28 = call i64 @FUNC(i64 %27) %29 = and i64 %28, 4294967295 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %6, 12 %32 = call i64 @FUNC(i64 %31) %33 = and i64 %32, 4294967295 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %6, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = add i64 %6, 20 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = inttoptr i64 %7 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46) %48 = add i64 %6, 40 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50, i64 1) %52 = call i64 @FUNC(i64 %51) %53 = call i64 @FUNC(i64 %6) store i64 %53, 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 %6, { 3, 2, 5, 4, 7, 6, 8, 9, 1, 0, 10, 11, 12, 13 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 (i64)* @atomic_read, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_err, { 1, 0 } uselistorder i64 (i64)* @__skb_queue_purge, { 1, 0 } }
1
BinRealVul
openpic_src_read_16562
openpic_src_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %storemerge1.in.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %0) %2 = urem i64 %arg2, 16 %3 = icmp eq i64 %2, 0 store i64 4294967295, i64* %storemerge.in.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = udiv i64 %arg2, 32 %6 = urem i64 %5, 2048 %7 = and i64 %arg2, 16 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %4, i64 %6) store i64 %9, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %4, i64 %6) store i64 %10, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_4: %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem %storemerge1 = trunc i64 %storemerge1.in.reload to i32 %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge1) %phitmp = and i64 %storemerge1.in.reload, 4294967295 store i64 %phitmp, i64* %storemerge.in.reg2mem br label LBL_5 LBL_5: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem ret i64 %storemerge.in.reload uselistorder i64 %storemerge1.in.reload, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %storemerge1.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
term_down_char_3074
term_down_char
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %5 = icmp eq i32 %4, 9 store i64 9, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = load i32, i32* @gv_0, align 4 %7 = icmp eq i32 %6, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_2 LBL_2: store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_0, align 4 %8 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_2 to i64), i64 mul (i64 sext (i32 ptrtoint (i32* @gv_1 to i32) to i64), i64 8)) to i64*), align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = load i64, i64* inttoptr (i64 add (i64 shl (i64 sext (i32 ptrtoint (i32* @gv_1 to i32) to i64), i64 3), i64 ptrtoint (i64* @gv_2 to i64)) to i64*), align 8 %11 = call i64 @FUNC(i64* bitcast (i8** @gv_3 to i64*), i64 256, i64 %10) store i64 256, i64* %rsi.0.reg2mem store i64 %10, i64* %rdx.0.reg2mem br label LBL_5 LBL_4: store i32 -1, i32* @gv_0, align 4 br label LBL_5 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %12 = call i64 @FUNC(i64* nonnull @gv_4, i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1) %13 = call i64 @FUNC(i64* bitcast (i8** @gv_3 to i64*)) %14 = call i32 @strlen(i8* bitcast (i8** @gv_3 to i8*)) %15 = sext i32 %14 to i64 store i64 %15, i64* @gv_5, align 8 store i64 %15, i64* @gv_6, align 8 store i64 %15, 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* %0, { 2, 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 6, 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
0
BinRealVul
insn_get_seg_base_11915
insn_get_seg_base
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 %1, i64 %3) %5 = trunc i64 %4 to i16 %6 = icmp slt i16 %5, 0 %7 = icmp eq i1 %6, false store i64 -1, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_11 LBL_1: %8 = sext i16 %5 to i32 %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = mul i32 %8, 16 %13 = sext i32 %12 to i64 store i64 %13, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %14 = call i64 @FUNC(i64 %1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_8, label LBL_4 LBL_4: %17 = trunc i64 %arg2 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 3221225728, i64 %2) br label LBL_11 LBL_6: %21 = icmp eq i32 %17, 1 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_11, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 3221225729, i64 %2) br label LBL_11 LBL_8: %24 = icmp eq i16 %5, 0 %25 = icmp eq i1 %24, false store i64 -1, i64* %rax.0.reg2mem br i1 %25, label LBL_9, label LBL_11 LBL_9: %26 = zext i32 %8 to i64 %27 = call i64 @FUNC(i64 %26) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 -1, i64* %rax.0.reg2mem br i1 %29, label LBL_10, label LBL_11 LBL_10: %30 = call i64 @FUNC(i64 %27) store i64 %30, 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 i32 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 5, 4 } uselistorder i64 (i64, i64)* @rdmsrl, { 1, 0 } uselistorder label LBL_11, { 6, 0, 1, 3, 4, 2, 7, 5 } }
1
BinRealVul
opj_pi_next_rpcl_7876
opj_pi_next_rpcl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge9.reg2mem = alloca i64 %.reg2mem50 = alloca i32 %.reg2mem48 = alloca i32 %.reg2mem46 = alloca i32 %.pre-phi24.reg2mem = alloca i64 %.reg2mem44 = alloca i32 %.pre-phi32.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem42 = alloca i32 %.pre-phi30.reg2mem = alloca i64 %.reg2mem40 = alloca i32 %.reg2mem38 = alloca i32 %storemerge12.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %.reg2mem36 = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv22.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_0.LBL_32_crit_edge, label LBL_2 LBL_1: %.pre29 = add i64 %0, 48 %.phi.trans.insert = inttoptr i64 %.pre29 to i32* %.pre35 = load i32, i32* %.phi.trans.insert, align 4 store i32 %.pre35, i32* %.reg2mem40 store i64 %.pre29, i64* %.pre-phi30.reg2mem br label LBL_32 LBL_2: store i32 0, i32* %2, align 4 %5 = add i64 %0, 20 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_13, label LBL_3 LBL_3: %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i32 %10, i32* %.reg2mem store i64 0, i64* %indvars.iv22.reg2mem br label LBL_4 LBL_4: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %.reload = load i32, i32* %.reg2mem %14 = load i64, i64* %13, align 8 %15 = mul nuw nsw i64 %indvars.iv22.reload, 24 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 store i32 %.reload, i32* %.reg2mem38 br i1 %19, label LBL_12, label LBL_5 LBL_5: %20 = add i64 %16, 16 %21 = inttoptr i64 %20 to i64* %22 = add i64 %16, 4 %23 = inttoptr i64 %22 to i32* %24 = add i64 %16, 8 %25 = inttoptr i64 %24 to i32* store i64 0, i64* %indvars.iv.reg2mem store i32 %18, i32* %.reg2mem36 br label LBL_6 LBL_6: %.reload37 = load i32, i32* %.reg2mem36 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = load i64, i64* %21, align 8 %27 = mul i64 %indvars.iv.reload, 16 %28 = add i64 %26, %27 %29 = load i32, i32* %23, align 4 %30 = add i64 %28, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = trunc i64 %indvars.iv.reload to i32 %34 = xor i32 %33, 31 %35 = add i32 %34, %.reload37 %36 = add i32 %32, %35 %37 = urem i32 %36, 32 %38 = shl i32 %29, %37 %39 = load i32, i32* %25, align 4 %40 = add i64 %28, 12 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = load i32, i32* %6, align 4 %44 = icmp eq i32 %43, 0 %45 = zext i32 %38 to i64 store i64 %45, i64* %storemerge13.reg2mem br i1 %44, label LBL_8, label LBL_7 LBL_7: %46 = zext i32 %43 to i64 %47 = call i64 @FUNC(i64 %46, i64 %45) store i64 %47, i64* %storemerge13.reg2mem br label LBL_8 LBL_8: %48 = add i32 %42, %35 %49 = urem i32 %48, 32 %50 = shl i32 %39, %49 %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %51 = trunc i64 %storemerge13.reload to i32 store i32 %51, i32* %6, align 4 %52 = load i32, i32* %8, align 4 %53 = icmp eq i32 %52, 0 %54 = zext i32 %50 to i64 store i64 %54, i64* %storemerge12.reg2mem br i1 %53, label LBL_10, label LBL_9 LBL_9: %55 = zext i32 %52 to i64 %56 = call i64 @FUNC(i64 %55, i64 %54) store i64 %56, i64* %storemerge12.reg2mem br label LBL_10 LBL_10: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %57 = trunc i64 %storemerge12.reload to i32 store i32 %57, i32* %8, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %58 = load i32, i32* %17, align 4 %59 = zext i32 %58 to i64 %60 = icmp ult i64 %indvars.iv.next, %59 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %58, i32* %.reg2mem36 br i1 %60, label LBL_6, label LBL_11 LBL_11: %.pre = load i32, i32* %9, align 8 store i32 %.pre, i32* %.reg2mem38 br label LBL_12 LBL_12: %.reload39 = load i32, i32* %.reg2mem38 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %61 = zext i32 %.reload39 to i64 %62 = icmp ult i64 %indvars.iv.next23, %61 store i32 %.reload39, i32* %.reg2mem store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %62, label LBL_4, label LBL_13 LBL_13: %63 = add i64 %0, 68 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = icmp eq i8 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_15, label LBL_14 LBL_14: %68 = add i64 %0, 116 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = add i64 %0, 80 %72 = inttoptr i64 %71 to i32* store i32 %70, i32* %72, align 4 %73 = add i64 %0, 112 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %0, 88 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 %78 = add i64 %0, 124 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = add i64 %0, 84 %82 = inttoptr i64 %81 to i32* store i32 %80, i32* %82, align 4 %83 = add i64 %0, 120 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = add i64 %0, 92 %87 = inttoptr i64 %86 to i32* store i32 %85, i32* %87, align 4 br label LBL_15 LBL_15: %88 = add i64 %0, 72 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i64 %0, 28 %92 = inttoptr i64 %91 to i32* store i32 %90, i32* %92, align 4 store i32 %90, i32* %.reg2mem50 br label LBL_45 LBL_16: %93 = add i64 %0, 80 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = add i64 %0, 32 %97 = inttoptr i64 %96 to i32* store i32 %95, i32* %97, align 4 store i32 %95, i32* %.reg2mem48 br label LBL_43 LBL_17: %98 = add i64 %0, 88 %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = add i64 %0, 36 %102 = inttoptr i64 %101 to i32* store i32 %100, i32* %102, align 4 store i32 %100, i32* %.reg2mem46 br label LBL_41 LBL_18: %103 = add i64 %0, 96 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = add i64 %0, 40 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 store i32 %105, i32* %.reg2mem44 store i64 %106, i64* %.pre-phi24.reg2mem br label LBL_39 LBL_19: %.pre-phi24.reload = load i64, i64* %.pre-phi24.reg2mem %108 = add i64 %0, 8 %109 = inttoptr i64 %108 to i64* %110 = load i64, i64* %109, align 8 %111 = zext i32 %.reload45 to i64 %112 = mul nuw nsw i64 %111, 24 %113 = add i64 %110, %112 %114 = inttoptr i64 %113 to i32* %115 = add i64 %0, 28 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = load i32, i32* %114, align 4 %119 = icmp ult i32 %117, %118 %120 = icmp eq i1 %119, false store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem br i1 %120, label LBL_38, label LBL_20 LBL_20: %121 = add i64 %113, 16 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = zext i32 %117 to i64 %125 = mul i64 %124, 16 %126 = add i64 %123, %125 %127 = sub i32 0, %117 %128 = sub i32 %127, 1 %129 = add i32 %118, %128 %130 = add i64 %113, 4 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = urem i32 %129, 32 %134 = icmp eq i32 %133, 0 %135 = shl i32 %132, %133 %rdx.2 = zext i32 %135 to i64 %136 = add i64 %0, 112 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = zext i32 %138 to i64 %140 = call i64 @FUNC(i64 %139, i64 %rdx.2) %141 = add i64 %113, 8 %142 = inttoptr i64 %141 to i32* %143 = load i32, i32* %142, align 4 %144 = shl i32 %143, %133 %rdx.3 = zext i32 %144 to i64 %145 = add i64 %0, 116 %146 = inttoptr i64 %145 to i32* %147 = load i32, i32* %146, align 4 %148 = zext i32 %147 to i64 %149 = call i64 @FUNC(i64 %148, i64 %rdx.3) %150 = trunc i64 %149 to i32 %151 = load i32, i32* %131, align 4 %152 = shl i32 %151, %133 %rdx.4 = zext i32 %152 to i64 %153 = add i64 %0, 120 %154 = inttoptr i64 %153 to i32* %155 = load i32, i32* %154, align 4 %156 = zext i32 %155 to i64 %157 = call i64 @FUNC(i64 %156, i64 %rdx.4) %158 = load i32, i32* %142, align 4 %159 = shl i32 %158, %133 %rdx.5 = zext i32 %159 to i64 %160 = add i64 %0, 124 %161 = inttoptr i64 %160 to i32* %162 = load i32, i32* %161, align 4 %163 = zext i32 %162 to i64 %164 = call i64 @FUNC(i64 %163, i64 %rdx.5) %165 = add i64 %126, 8 %166 = inttoptr i64 %165 to i32* %167 = load i32, i32* %166, align 4 %168 = add i64 %126, 12 %169 = inttoptr i64 %168 to i32* %170 = load i32, i32* %169, align 4 %171 = add i32 %170, %129 %172 = add i64 %0, 32 %173 = inttoptr i64 %172 to i32* %174 = load i32, i32* %173, align 4 %175 = zext i32 %174 to i64 %176 = load i32, i32* %142, align 4 %177 = urem i32 %171, 32 %178 = shl i32 %176, %177 %storemerge = zext i32 %178 to i64 %179 = ashr i32 %174, 31 %180 = zext i32 %179 to i64 %181 = mul i64 %180, 4294967296 %182 = or i64 %181, %175 %183 = srem i64 %182, %storemerge %184 = trunc i64 %183 to i32 %185 = icmp eq i32 %184, 0 br i1 %185, label LBL_23, label LBL_21 LBL_21: %186 = load i32, i32* %146, align 4 %187 = icmp eq i32 %174, %186 %188 = icmp eq i1 %187, false br i1 %188, label LBL_35, label LBL_22 LBL_22: %189 = and i64 %149, 4294967295 %190 = shl i32 %150, %133 %191 = zext i32 %190 to i64 %rdx.6 = select i1 %134, i64 %189, i64 %191 %192 = shl i32 1, %177 %storemerge6 = zext i32 %192 to i64 %193 = trunc i64 %rdx.6 to i32 %194 = ashr i32 %193, 31 %195 = zext i32 %194 to i64 %196 = mul i64 %195, 4294967296 %197 = or i64 %196, %rdx.6 %198 = srem i64 %197, %storemerge6 %199 = trunc i64 %198 to i32 %200 = icmp eq i32 %199, 0 br i1 %200, label LBL_35, label LBL_23 LBL_23: %201 = trunc i64 %140 to i32 %202 = add i32 %167, %129 %203 = add i64 %0, 36 %204 = inttoptr i64 %203 to i32* %205 = load i32, i32* %204, align 4 %206 = zext i32 %205 to i64 %207 = load i32, i32* %131, align 4 %208 = urem i32 %202, 32 %209 = shl i32 %207, %208 %rsi.0 = zext i32 %209 to i64 %210 = ashr i32 %205, 31 %211 = zext i32 %210 to i64 %212 = mul i64 %211, 4294967296 %213 = or i64 %212, %206 %214 = srem i64 %213, %rsi.0 %215 = trunc i64 %214 to i32 %216 = icmp eq i32 %215, 0 br i1 %216, label LBL_26, label LBL_24 LBL_24: %217 = load i32, i32* %137, align 4 %218 = icmp eq i32 %205, %217 %219 = icmp eq i1 %218, false br i1 %219, label LBL_36, label LBL_25 LBL_25: %220 = and i64 %140, 4294967295 %221 = shl i32 %201, %133 %222 = zext i32 %221 to i64 %rdx.7 = select i1 %134, i64 %220, i64 %222 %223 = shl i32 1, %208 %storemerge8 = zext i32 %223 to i64 %224 = trunc i64 %rdx.7 to i32 %225 = ashr i32 %224, 31 %226 = zext i32 %225 to i64 %227 = mul i64 %226, 4294967296 %228 = or i64 %227, %rdx.7 %229 = srem i64 %228, %storemerge8 %230 = trunc i64 %229 to i32 %231 = icmp eq i32 %230, 0 br i1 %231, label LBL_36, label LBL_26 LBL_26: %232 = inttoptr i64 %126 to i32* %233 = load i32, i32* %232, align 4 %234 = icmp eq i32 %233, 0 br i1 %234, label LBL_37, label LBL_27 LBL_27: %235 = add i64 %126, 4 %236 = inttoptr i64 %235 to i32* %237 = load i32, i32* %236, align 4 %238 = icmp eq i32 %237, 0 br i1 %238, label LBL_37, label LBL_28 LBL_28: %239 = trunc i64 %157 to i32 %240 = trunc i64 %164 to i32 %241 = icmp eq i32 %201, %239 %242 = icmp eq i32 %150, %240 %or.cond = or i1 %241, %242 store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem br i1 %or.cond, label LBL_38, label LBL_29 LBL_29: %243 = zext i32 %167 to i64 %244 = shl i32 %207, %133 %rdx.8 = zext i32 %244 to i64 %245 = call i64 @FUNC(i64 %206, i64 %rdx.8) %246 = and i64 %245, 4294967295 %247 = call i64 @FUNC(i64 %246, i64 %243) %248 = trunc i64 %247 to i32 %249 = load i32, i32* %166, align 4 %250 = zext i32 %249 to i64 %251 = and i64 %140, 4294967295 %252 = call i64 @FUNC(i64 %251, i64 %250) %253 = trunc i64 %252 to i32 %254 = sub i32 %248, %253 %255 = load i32, i32* %169, align 4 %256 = zext i32 %255 to i64 %257 = load i32, i32* %142, align 4 %258 = shl i32 %257, %133 %rdx.9 = zext i32 %258 to i64 %259 = load i32, i32* %173, align 4 %260 = zext i32 %259 to i64 %261 = call i64 @FUNC(i64 %260, i64 %rdx.9) %262 = and i64 %261, 4294967295 %263 = call i64 @FUNC(i64 %262, i64 %256) %264 = load i32, i32* %169, align 4 %265 = zext i32 %264 to i64 %266 = and i64 %149, 4294967295 %267 = call i64 @FUNC(i64 %266, i64 %265) %268 = sub i64 %263, %267 %269 = load i32, i32* %232, align 4 %270 = trunc i64 %268 to i32 %271 = mul i32 %269, %270 %272 = add i32 %254, %271 %273 = add i64 %0, 44 %274 = inttoptr i64 %273 to i32* store i32 %272, i32* %274, align 4 %275 = add i64 %0, 104 %276 = inttoptr i64 %275 to i32* %277 = load i32, i32* %276, align 4 %278 = add i64 %0, 48 %279 = inttoptr i64 %278 to i32* store i32 %277, i32* %279, align 4 store i32 %277, i32* %.reg2mem42 store i64 %278, i64* %.pre-phi.reg2mem br label LBL_33 LBL_30: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %280 = add i64 %0, 52 %281 = inttoptr i64 %280 to i32* %282 = load i32, i32* %281, align 4 %283 = mul i32 %282, %.reload43 %284 = add i64 %0, 28 %285 = inttoptr i64 %284 to i32* %286 = load i32, i32* %285, align 4 %287 = add i64 %0, 56 %288 = inttoptr i64 %287 to i32* %289 = load i32, i32* %288, align 4 %290 = mul i32 %289, %286 %291 = add i64 %0, 44 %292 = inttoptr i64 %291 to i32* %293 = load i32, i32* %292, align 4 %294 = add i64 %0, 64 %295 = inttoptr i64 %294 to i32* %296 = load i32, i32* %295, align 4 %297 = mul i32 %296, %293 %298 = add i64 %0, 40 %299 = inttoptr i64 %298 to i32* %300 = load i32, i32* %299, align 4 %301 = add i64 %0, 60 %302 = inttoptr i64 %301 to i32* %303 = load i32, i32* %302, align 4 %304 = mul i32 %303, %300 %305 = add i32 %290, %283 %306 = add i32 %305, %297 %307 = add i32 %306, %304 %308 = add i64 %0, 128 %309 = inttoptr i64 %308 to i64* %310 = load i64, i64* %309, align 8 %311 = zext i32 %307 to i64 %312 = mul i64 %311, 4 %313 = add i64 %312, %310 %314 = inttoptr i64 %313 to i32* %315 = load i32, i32* %314, align 4 %316 = icmp eq i32 %315, 0 %317 = icmp eq i1 %316, false store i32 %.reload43, i32* %.reg2mem40 store i64 %.pre-phi.reload, i64* %.pre-phi30.reg2mem br i1 %317, label LBL_32, label LBL_31 LBL_31: store i32 1, i32* %314, align 4 store i64 1, i64* %storemerge9.reg2mem br label LBL_46 LBL_32: %.pre-phi30.reload = load i64, i64* %.pre-phi30.reg2mem %.reload41 = load i32, i32* %.reg2mem40 %318 = inttoptr i64 %.pre-phi30.reload to i32* %319 = add i32 %.reload41, 1 store i32 %319, i32* %318, align 4 store i32 %319, i32* %.reg2mem42 store i64 %.pre-phi30.reload, i64* %.pre-phi.reg2mem br label LBL_33 LBL_33: %.reload43 = load i32, i32* %.reg2mem42 %320 = add i64 %0, 108 %321 = inttoptr i64 %320 to i32* %322 = load i32, i32* %321, align 4 %323 = icmp ult i32 %.reload43, %322 br i1 %323, label LBL_30, label LBL_33.LBL_38_crit_edge LBL_34: %.pre31 = add i64 %0, 40 store i64 %.pre31, i64* %.pre-phi32.reg2mem br label LBL_38 LBL_35: store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem br label LBL_38 LBL_36: store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem br label LBL_38 LBL_37: store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem br label LBL_38 LBL_38: %.pre-phi32.reload = load i64, i64* %.pre-phi32.reg2mem %324 = inttoptr i64 %.pre-phi32.reload to i32* %325 = load i32, i32* %324, align 4 %326 = add i32 %325, 1 store i32 %326, i32* %324, align 4 store i32 %326, i32* %.reg2mem44 store i64 %.pre-phi32.reload, i64* %.pre-phi24.reg2mem br label LBL_39 LBL_39: %.reload45 = load i32, i32* %.reg2mem44 %327 = add i64 %0, 100 %328 = inttoptr i64 %327 to i32* %329 = load i32, i32* %328, align 4 %330 = icmp ult i32 %.reload45, %329 br i1 %330, label LBL_19, label LBL_40 LBL_40: %331 = add i64 %0, 36 %332 = inttoptr i64 %331 to i32* %333 = load i32, i32* %332, align 4 %334 = add i64 %0, 20 %335 = inttoptr i64 %334 to i32* %336 = load i32, i32* %335, align 4 %337 = ashr i32 %333, 31 %338 = zext i32 %333 to i64 %339 = zext i32 %337 to i64 %340 = mul i64 %339, 4294967296 %341 = or i64 %340, %338 %342 = zext i32 %336 to i64 %343 = srem i64 %341, %342 %344 = trunc i64 %343 to i32 %345 = add i32 %336, %333 %346 = sub i32 %345, %344 store i32 %346, i32* %332, align 4 store i32 %346, i32* %.reg2mem46 br label LBL_41 LBL_41: %.reload47 = load i32, i32* %.reg2mem46 %347 = add i64 %0, 92 %348 = inttoptr i64 %347 to i32* %349 = load i32, i32* %348, align 4 %350 = icmp ult i32 %.reload47, %349 br i1 %350, label LBL_18, label LBL_42 LBL_42: %351 = add i64 %0, 32 %352 = inttoptr i64 %351 to i32* %353 = load i32, i32* %352, align 4 %354 = add i64 %0, 24 %355 = inttoptr i64 %354 to i32* %356 = load i32, i32* %355, align 4 %357 = ashr i32 %353, 31 %358 = zext i32 %353 to i64 %359 = zext i32 %357 to i64 %360 = mul i64 %359, 4294967296 %361 = or i64 %360, %358 %362 = zext i32 %356 to i64 %363 = srem i64 %361, %362 %364 = trunc i64 %363 to i32 %365 = add i32 %356, %353 %366 = sub i32 %365, %364 store i32 %366, i32* %352, align 4 store i32 %366, i32* %.reg2mem48 br label LBL_43 LBL_43: %.reload49 = load i32, i32* %.reg2mem48 %367 = add i64 %0, 84 %368 = inttoptr i64 %367 to i32* %369 = load i32, i32* %368, align 4 %370 = icmp ult i32 %.reload49, %369 br i1 %370, label LBL_17, label LBL_44 LBL_44: %371 = add i64 %0, 28 %372 = inttoptr i64 %371 to i32* %373 = load i32, i32* %372, align 4 %374 = add i32 %373, 1 store i32 %374, i32* %372, align 4 store i32 %374, i32* %.reg2mem50 br label LBL_45 LBL_45: %.reload51 = load i32, i32* %.reg2mem50 %375 = add i64 %0, 76 %376 = inttoptr i64 %375 to i32* %377 = load i32, i32* %376, align 4 %378 = icmp ult i32 %.reload51, %377 store i64 0, i64* %storemerge9.reg2mem br i1 %378, label LBL_16, label LBL_46 LBL_46: %storemerge9.reload = load i64, i64* %storemerge9.reg2mem ret i64 %storemerge9.reload uselistorder i32 %353, { 0, 2, 1 } uselistorder i32 %333, { 0, 2, 1 } uselistorder i32 %.reload45, { 1, 0 } uselistorder i32 %.reload43, { 1, 0, 2 } uselistorder i32 %208, { 1, 0 } uselistorder i64 %206, { 1, 0 } uselistorder i32 %201, { 1, 0 } uselistorder i32 %177, { 1, 0 } uselistorder i32 %167, { 1, 0 } uselistorder i1 %134, { 1, 0 } uselistorder i32 %133, { 6, 5, 7, 8, 4, 3, 2, 1, 0 } uselistorder i32 %129, { 2, 1, 0 } uselistorder i64 %126, { 0, 3, 1, 2 } uselistorder i64 %.pre-phi24.reload, { 2, 3, 4, 0, 1 } uselistorder i32 %.reload39, { 1, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i64 %45, { 1, 0 } uselistorder i32* %17, { 1, 0 } uselistorder i64 %0, { 16, 20, 19, 25, 24, 23, 40, 39, 38, 0, 43, 42, 49, 50, 47, 48, 45, 46, 44, 29, 28, 30, 31, 32, 33, 34, 35, 36, 37, 41, 26, 27, 21, 22, 17, 18, 9, 8, 3, 2, 5, 4, 7, 6, 12, 13, 11, 10, 14, 15, 1, 51 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem36, { 1, 0, 2 } uselistorder i64* %storemerge13.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge12.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi32.reg2mem, { 0, 3, 2, 1, 6, 5, 4 } uselistorder i64* %.pre-phi24.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem50, { 0, 2, 1 } uselistorder i64 44, { 1, 0 } uselistorder i64 (i64, i64)* @opj_int_floordivpow2, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 5, 2, 6, 3, 4, 7, 8, 9, 10, 0, 11 } uselistorder i64 (i64, i64)* @opj_int_ceildiv, { 5, 4, 3, 2, 1, 0 } uselistorder i64 40, { 0, 2, 1 } uselistorder i64 36, { 2, 0, 1 } uselistorder i64 32, { 2, 1, 0 } uselistorder i64 28, { 1, 2, 0, 3 } uselistorder i1 false, { 3, 0, 1, 2, 4 } uselistorder i64 (i64, i64)* @opj_uint_min, { 1, 0 } uselistorder i32 31, { 5, 6, 1, 2, 3, 4, 0, 7 } uselistorder i64 24, { 2, 1, 0, 3 } uselistorder i64 48, { 1, 0 } uselistorder label LBL_43, { 1, 0 } uselistorder label LBL_41, { 1, 0 } uselistorder label LBL_39, { 1, 0 } uselistorder label LBL_38, { 3, 4, 5, 0, 1, 2 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
slice_indices_13118
slice_indices
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %arg2) %4 = call i64 @FUNC(i64 %arg1, i64 %3, i64* nonnull %sv_1) %5 = load i64, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64 %2) %8 = call i64 @FUNC(i64 %1) %9 = call i64 @FUNC(i64 3, i64* nonnull %sv_0) ret i64 %9 uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @MP_OBJ_NEW_SMALL_INT, { 2, 1, 0 } uselistorder i32 1, { 2, 1, 0 } }
1
BinRealVul
monitor_qmp_event_396
monitor_qmp_event
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 store i64 %0, i64* %rax.0.reg2mem switch i32 %1, label LBL_3 [ i32 1, label LBL_1 i32 2, label LBL_2 ] LBL_1: store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = call i64 @FUNC(i64 %2) store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_2, align 4 store i64 ptrtoint (i32* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_3 LBL_2: %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5, i64 4198714) %8 = load i32, i32* @gv_2, align 4 %9 = add i32 %8, -1 store i32 %9, i32* @gv_2, align 4 %10 = call i64 @FUNC() store i64 %10, 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, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* @gv_2, { 2, 1, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
vhost_user_read_15023
vhost_user_read
define i64 @FUNC(i64* %arg1, i32* %arg2) 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 = ptrtoint i32* %arg2 to i64 %6 = call i64 @FUNC(i64 %4, i64 %5, i32 8) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 8 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %9, i32 8, i64 %5, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_2: %11 = trunc i64 %3 to i32 %12 = icmp eq i32 %11, 3 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = and i64 %3, 4294967295 %14 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %13, i32 3, i64 %5, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_4: %15 = add i64 %5, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp slt i32 %17, 1025 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = zext i32 %17 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_2, i64 0, i64 0), i64 %19, i32 1024, i64 %5, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_6: %21 = icmp eq i32 %17, 0 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_9, label LBL_7 LBL_7: %22 = add i64 %5, 8 %23 = call i64 @FUNC(i64 %4, i64 %22, i32 %17) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %17, %24 store i64 0, i64* %storemerge.reg2mem br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = load i32, i32* %16, align 4 %27 = and i64 %23, 4294967295 %28 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %27, i32 %26, i64 %22, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %17, { 1, 0, 2, 3, 4 } uselistorder i64 %5, { 0, 4, 1, 3, 2, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 6, 5, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @error_report, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @qemu_chr_fe_read_all, { 1, 0 } uselistorder label LBL_9, { 3, 5, 4, 2, 1, 0 } }
1
BinRealVul
janus_voicemail_hangup_media_internal_6677
janus_voicemail_hangup_media_internal
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 4210764) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %rax.0.reg2mem br i1 %3, label LBL_11, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 4210732) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_11, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %arg1) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = call i32 @fwrite(i64* bitcast ([43 x i8]* @gv_1 to i64*), i32 1, i32 42, %_IO_FILE* %10) %12 = sext i32 %11 to i64 store i64 %12, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %13 = call i64 @FUNC(i64 %7, i64 0) %14 = add i64 %7, 4 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %15, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_5 LBL_5: %19 = add i64 %7, 8 %20 = call i64 @FUNC(i64 %19, i64 0, i64 1) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_11, label LBL_6 LBL_6: %23 = add i64 %7, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = inttoptr i64 %25 to %_IO_FILE* %28 = call i32 @fclose(%_IO_FILE* %27) br label LBL_8 LBL_8: store i64 0, i64* %24, align 8 %29 = add i64 %7, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = call i64 @FUNC(i64 %31) br label LBL_10 LBL_10: store i64 0, i64* %30, align 8 %34 = call i64 @FUNC(i64 %19, i64 0) store i64 %34, 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 %7, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @g_atomic_int_set, { 1, 0 } uselistorder i64 (i64)* @g_atomic_int_get, { 2, 1, 0 } uselistorder i32 1, { 5, 3, 2, 4, 1, 0 } uselistorder label LBL_11, { 4, 0, 1, 5, 3, 2 } }
0
BinRealVul
ip_idents_reserve_13033
ip_idents_reserve
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = mul i64 %arg1, 4 %1 = and i64 %0, 4092 %2 = add i64 %1, ptrtoint (i32** @gv_0 to i64) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i32 @time(i32* null) %6 = icmp eq i32 %5, %4 store i32 0, i32* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = load i32, i32* %3, align 4 %8 = icmp eq i32 %4, %7 %9 = select i1 %8, i32 %5, i32 %7 store i32 %9, i32* %3, align 4 %10 = zext i1 %8 to i32 %11 = icmp eq i1 %8, false %12 = icmp eq i1 %11, false %spec.select = select i1 %12, i32 %4, i32 %7 %13 = icmp eq i32 %spec.select, %10 %14 = icmp eq i1 %13, false store i32 0, i32* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i32 @rand() %16 = sub i32 %5, %spec.select %17 = urem i32 %15, %16 store i32 %17, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sext = mul i64 %arg2, 4294967296 %18 = ashr exact i64 %sext, 32 %19 = add i64 %1, ptrtoint (i64* @gv_1 to i64) %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = trunc i64 %18 to i32 %21 = add i32 %sv_0.0.reload, %20 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22, i64 %19) %24 = sub i64 %23, %18 %25 = and i64 %24, 4294967295 ret i64 %25 uselistorder i1 %8, { 1, 0, 2 } uselistorder i32 %7, { 0, 2, 1 } uselistorder i32* %3, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
edge_throttle_9317
edge_throttle
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 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i8 store i8 %10, i8* %sv_0, align 1 %11 = call i64 @FUNC(i64 %3, i64 %3, i8* nonnull %sv_0, i64 1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp slt i32 %12, 0 %15 = icmp eq i1 %14, false %16 = icmp eq i1 %13, false %17 = icmp eq i1 %15, %16 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = and i64 %11, 4294967295 %19 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %18, i64 %2, i64 %1) br label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %3) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %4) store i64 %23, 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 %12, { 1, 0 } uselistorder i64 %3, { 4, 0, 1, 3, 2, 5, 6 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
udhcp_get_option_11476
udhcp_get_option
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 312 %2 = trunc i64 %arg2 to i32 store i32 312, i32* %sv_0.06.reg2mem store i64 %0, i64* %sv_1.05.reg2mem br label LBL_2 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_2: %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %4 = inttoptr i64 %sv_1.05.reload to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = add i32 %sv_0.06.reload, -1 %9 = add i64 %sv_1.05.reload, 1 store i64 %9, i64* %sv_1.1.reg2mem store i32 %8, i32* %sv_0.1.reg2mem br label LBL_10 LBL_4: %10 = icmp eq i8 %5, -1 %11 = icmp eq i1 %10, false store i64 %1, i64* %sv_1.1.reg2mem store i32 128, i32* %sv_0.1.reg2mem br i1 %11, label LBL_5, label LBL_10 LBL_5: %12 = icmp slt i32 %sv_0.06.reload, 2 br i1 %12, label LBL_1, label LBL_6 LBL_6: %13 = add i64 %sv_1.05.reload, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i32 %17 = add nuw nsw i32 %16, 2 %18 = sub i32 %sv_0.06.reload, %17 %19 = icmp slt i32 %18, 0 br i1 %19, label LBL_1, label LBL_7 LBL_7: %20 = zext i8 %5 to i32 %21 = icmp eq i32 %2, %20 %22 = icmp eq i1 %21, false br i1 %22, label LBL_9, label LBL_8 LBL_8: %23 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %sv_1.05.reload) %24 = add i64 %sv_1.05.reload, 2 store i64 %24, i64* %storemerge.reg2mem br label LBL_11 LBL_9: %25 = zext i32 %17 to i64 %26 = add i64 %sv_1.05.reload, %25 store i64 %26, i64* %sv_1.1.reg2mem store i32 %18, i32* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %27 = icmp eq i32 %sv_0.1.reload, 0 %28 = icmp slt i32 %sv_0.1.reload, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 store i32 %sv_0.1.reload, i32* %sv_0.06.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.05.reg2mem br i1 %31, label LBL_2, label LBL_1 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.1.reload, { 2, 1, 0 } uselistorder i64 %sv_1.05.reload, { 3, 4, 5, 2, 0, 1 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 4, 0, 1, 2, 3 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 2, 0, 1 } }
1
BinRealVul
i440fx_class_init_13869
i440fx_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 32902, i32* %6, align 4 %7 = add i64 %0, 28 %8 = inttoptr i64 %7 to i32* store i32 4663, i32* %8, align 4 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i32* store i32 2, i32* %10, align 4 %11 = add i64 %0, 36 %12 = inttoptr i64 %11 to i32* store i32 394240, i32* %12, align 4 store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %arg1, align 8 %13 = inttoptr i64 %1 to i32* store i32 1, i32* %13, align 4 store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8 ret i64 %0 }
1
BinRealVul
get_sha1_oneline_5297
get_sha1_oneline
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem30 = alloca i8* %.reg2mem28 = alloca i8* %.reg2mem26 = alloca i8* %.reg2mem24 = alloca i8* %.reg2mem22 = alloca i8* %.reg2mem20 = alloca i8* %.reg2mem18 = alloca i8* %.reg2mem16 = alloca i8* %.reg2mem = alloca i64 %storemerge37.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 store i64 0, i64* %sv_5, align 8 store i64 0, i64* %sv_4, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 33 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %sv_1.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %arg1, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 33 store i64 %5, i64* %sv_1.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %arg1) unreachable LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %10 = call i64 @FUNC(i64 4198878, i64* nonnull %sv_5) %storemerge36 = load i64, i64* %sv_5, align 8 %11 = icmp eq i64 %storemerge36, 0 %12 = icmp eq i1 %11, false store i64 %storemerge36, i64* %storemerge37.reg2mem store i64 %storemerge36, i64* %.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %storemerge37.reload = load i64, i64* %storemerge37.reg2mem %13 = inttoptr i64 %storemerge37.reload to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64* nonnull %sv_4) %16 = add i64 %storemerge37.reload, 8 %17 = inttoptr i64 %16 to i64* %storemerge3 = load i64, i64* %17, align 8 %18 = icmp eq i64 %storemerge3, 0 %19 = icmp eq i1 %18, false store i64 %storemerge3, i64* %storemerge37.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_5: %.pre = load i64, i64* %sv_5, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_6: %20 = ptrtoint i64* %arg2 to i64 %.reload = load i64, i64* %.reg2mem %21 = icmp eq i64 %.reload, 0 %22 = icmp eq i1 %21, false store i8* null, i8** %.reg2mem16 store i8* null, i8** %.reg2mem18 store i64 4294967295, i64* %sv_0.09.reg2mem br i1 %22, label LBL_7, label LBL_19 LBL_7: %.reload19 = load i8*, i8** %.reg2mem18 %.reload17 = load i8*, i8** %.reg2mem16 %23 = call i64 @FUNC(i64* nonnull %sv_5, i64 1) %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i8* %.reload17, i8** %.reg2mem26 store i8* %.reload19, i8** %.reg2mem28 br i1 %26, label LBL_15, label LBL_8 LBL_8: %27 = icmp eq i8* %.reload19, null br i1 %27, label LBL_10, label LBL_9 LBL_9: %28 = bitcast i8* %.reload19 to i64* call void @free(i64* %28) br label LBL_10 LBL_10: %29 = add i64 %23, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_12, label LBL_11 LBL_11: %33 = inttoptr i64 %31 to i8* store i8* %.reload17, i8** %.reg2mem20 store i8* %33, i8** %.reg2mem22 store i8* %.reload19, i8** %.reg2mem24 br label LBL_13 LBL_12: %34 = call i64 @FUNC(i64 %23, i64* nonnull %sv_2, i64* nonnull %sv_3) %35 = inttoptr i64 %34 to i8* %36 = icmp eq i64 %34, 0 store i8* %35, i8** %.reg2mem20 store i8* %35, i8** %.reg2mem22 store i8* %35, i8** %.reg2mem24 store i8* %.reload17, i8** %.reg2mem26 store i8* %.reload19, i8** %.reg2mem28 br i1 %36, label LBL_15, label LBL_13 LBL_13: %.reload25 = load i8*, i8** %.reg2mem24 %.reload23 = load i8*, i8** %.reg2mem22 %.reload21 = load i8*, i8** %.reg2mem20 %37 = call i8* @strstr(i8* %.reload23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %38 = icmp eq i8* %37, null store i8* %.reload21, i8** %.reg2mem26 store i8* %.reload25, i8** %.reg2mem28 br i1 %38, label LBL_15, label LBL_14 LBL_14: %39 = ptrtoint i8* %37 to i64 %40 = add i64 %39, 2 %41 = call i64 @FUNC(i64 %40, i64 %sv_1.0.reload) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i8* %.reload21, i8** %.reg2mem26 store i8* %.reload25, i8** %.reg2mem28 br i1 %44, label LBL_15, label LBL_16 LBL_15: %.reload29 = load i8*, i8** %.reg2mem28 %.reload27 = load i8*, i8** %.reg2mem26 %45 = load i64, i64* %sv_5, align 8 %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false store i8* %.reload27, i8** %.reg2mem16 store i8* %.reload29, i8** %.reg2mem18 store i8* %.reload27, i8** %.reg2mem30 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %47, label LBL_7, label LBL_17 LBL_16: %48 = call i64 @FUNC(i64 %20, i64 %23) store i8* %.reload21, i8** %.reg2mem30 store i64 0, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload31 = load i8*, i8** %.reg2mem30 %49 = icmp eq i8* %.reload31, null store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem br i1 %49, label LBL_19, label LBL_18 LBL_18: %50 = bitcast i8* %.reload31 to i64* call void @free(i64* %50) store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem br label LBL_19 LBL_19: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %51 = load i64, i64* %sv_5, align 8 %52 = call i64 @FUNC(i64 %51) %storemerge4 = load i64, i64* %sv_4, align 8 %53 = icmp eq i64 %storemerge4, 0 %54 = icmp eq i1 %53, false store i64 %storemerge4, i64* %storemerge5.reg2mem br i1 %54, label LBL_20, label LBL_21 LBL_20: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %55 = inttoptr i64 %storemerge5.reload to i64* %56 = load i64, i64* %55, align 8 %57 = call i64 @FUNC(i64 %56, i64 1) %58 = add i64 %storemerge5.reload, 8 %59 = inttoptr i64 %58 to i64* %storemerge = load i64, i64* %59, align 8 %60 = icmp eq i64 %storemerge, 0 %61 = icmp eq i1 %60, false store i64 %storemerge, i64* %storemerge5.reg2mem br i1 %61, label LBL_20, label LBL_21 LBL_21: ret i64 %sv_0.09.reload uselistorder i64 %storemerge5.reload, { 1, 0 } uselistorder i8* %.reload31, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i8* %.reload21, { 0, 2, 1 } uselistorder i8* %.reload25, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %23, { 0, 2, 1, 3 } uselistorder i8* %.reload17, { 0, 2, 1 } uselistorder i8* %.reload19, { 0, 2, 3, 4, 1 } uselistorder i64 %storemerge37.reload, { 1, 0 } uselistorder i64* %sv_5, { 4, 5, 2, 0, 1, 3, 6 } uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem16, { 2, 0, 1 } uselistorder i8** %.reg2mem18, { 2, 0, 1 } uselistorder i8** %.reg2mem26, { 0, 4, 1, 2, 3 } uselistorder i8** %.reg2mem28, { 0, 4, 1, 2, 3 } uselistorder i8** %.reg2mem30, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.09.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i8* null, { 4, 2, 3, 0, 1 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_15, { 0, 3, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
resolve_iffeature_5630
resolve_iffeature
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca 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 %0 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
local_statfs_14357
local_statfs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) 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) %3 = inttoptr i64 %2 to i8* %4 = bitcast i64* %arg3 to %statfs* %5 = call i32 @statfs(i8* %3, %statfs* %4) %6 = call i64 @FUNC(i64 %2) %7 = zext i32 %5 to i64 ret i64 %7 }
1
BinRealVul
param_set_audit_9638
param_set_audit
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = load i32, i32* @gv_0, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i64 %arg1, 0 %7 = or i1 %6, %5 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = inttoptr i64 %arg1 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = mul i64 %indvars.iv.reload, 8 %11 = add i64 %10, ptrtoint ([10 x i8*]* @gv_1 to i64) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i8* %15 = call i32 @strcmp(i8* %9, i8* %14) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = trunc i64 %indvars.iv.reload to i32 store i32 %18, i32* inttoptr (i64 4210900 to i32*), align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %19 = icmp ult i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %19, label LBL_3, 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, 1, 4, 2, 3 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_6, { 0, 3, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
rs_get_tbl_info_from_mcs_18559
rs_get_tbl_info_from_mcs
define i64 @FUNC(i64 %arg1, i32 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %arg1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = call i64* @memset(i64* %arg3, i32 0, i32 20) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = bitcast i64* %arg4 to i32* store i32 %6, i32* %7, align 4 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, -1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: store i32 -1, i32* %7, align 4 store i64 4294967274, i64* %storemerge.reg2mem br label LBL_19 LBL_2: %11 = ptrtoint i64* %arg3 to i64 %12 = trunc i64 %3 to i8 %13 = trunc i64 %arg1 to i32 %14 = urem i32 %13, 8 %15 = bitcast i64* %arg3 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %11, 4 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %11, 8 %19 = inttoptr i64 %18 to i32* store i32 %14, i32* %19, align 4 %20 = add i64 %11, 12 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %11, 16 %23 = inttoptr i64 %22 to i32* store i32 10, i32* %23, align 4 %24 = and i64 %arg1, 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_3 LBL_3: %27 = icmp eq i8 %12, 1 %28 = icmp eq i1 %27, false store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_19, label LBL_4 LBL_4: %29 = icmp eq i32 %arg2, 1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_6: store i32 2, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_7: %31 = and i64 %arg1, 16 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_9, label LBL_8 LBL_8: store i32 1, i32* %15, align 4 br label LBL_9 LBL_9: %33 = and i64 %arg1, 32 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_11, label LBL_10 LBL_10: store i32 1, i32* %17, align 4 br label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %2) %36 = trunc i64 %35 to i8 %37 = icmp ult i8 %36, 16 br i1 %37, label LBL_12, label LBL_14 LBL_12: %38 = icmp eq i8 %12, 1 %39 = icmp eq i1 %38, false store i64 0, i64* %storemerge.reg2mem br i1 %39, label LBL_19, label LBL_13 LBL_13: store i32 3, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_14: %40 = icmp ult i8 %36, 32 br i1 %40, label LBL_15, label LBL_17 LBL_15: %41 = icmp eq i8 %12, 2 %42 = icmp eq i1 %41, false store i64 0, i64* %storemerge.reg2mem br i1 %42, label LBL_19, label LBL_16 LBL_16: store i32 4, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_17: %43 = icmp eq i8 %12, 3 %44 = icmp eq i1 %43, false store i64 0, i64* %storemerge.reg2mem br i1 %44, label LBL_19, label LBL_18 LBL_18: store i32 20, i32* %23, align 4 store i32 5, i32* %21, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %21, { 2, 3, 4, 0, 1, 5 } uselistorder i8 %12, { 2, 1, 3, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10 } uselistorder i32 -1, { 1, 0 } uselistorder i32 20, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder i64 %arg1, { 1, 2, 3, 4, 0 } uselistorder label LBL_19, { 8, 7, 6, 5, 4, 3, 2, 1, 0, 9 } }
1
BinRealVul
reclaim_ramblock_14906
reclaim_ramblock
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %arg1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) br label LBL_6 LBL_3: %12 = add i64 %arg1, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp slt i32 %14, 0 %16 = add i64 %arg1, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %arg1, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 br i1 %15, label LBL_5, label LBL_4 LBL_4: %22 = inttoptr i64 %21 to i64* %23 = trunc i64 %18 to i32 %24 = call i32 @munmap(i64* %22, i32 %23) %25 = load i32, i32* %13, align 4 %26 = call i32 @close(i32 %25) br label LBL_6 LBL_5: %27 = call i64 @FUNC(i64 %21, i64 %18) br label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %arg1) ret i64 %28 uselistorder i64 %21, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %arg1, { 4, 2, 3, 0, 1 } }
1
BinRealVul
copy_verifier_state_5381
copy_verifier_state
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.13.reg2mem = alloca i64 %rdi.14.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem13 = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %rdi.07.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %storemerge16 = add i32 %4, 1 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = sext i32 %storemerge16 to i64 %10 = icmp sgt i64 %9, %8 store i64 %9, i64* %.reg2mem store i32 %storemerge16, i32* %storemerge18.reg2mem store i64 %1, i64* %rdi.07.reg2mem store i64 %1, i64* %rdi.0.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %rdi.07.reload = load i64, i64* %rdi.07.reg2mem %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %.reload = load i64, i64* %.reg2mem %11 = mul i64 %.reload, 8 %12 = add i64 %rdi.07.reload, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %14, %11 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %storemerge1 = add i32 %storemerge18.reload, 1 %18 = load i32, i32* %6, align 4 %19 = zext i32 %18 to i64 %20 = sext i32 %storemerge1 to i64 %21 = icmp sgt i64 %20, %19 store i64 %20, i64* %.reg2mem store i32 %storemerge1, i32* %storemerge18.reg2mem store i64 %14, i64* %rdi.07.reg2mem store i64 %14, i64* %rdi.0.lcssa.reg2mem br i1 %21, label LBL_2, label LBL_1 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %22 = add i64 %0, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %1, 12 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = load i32, i32* %3, align 4 store i32 %27, i32* %6, align 4 store i64 0, i64* %.reg2mem13 store i32 0, i32* %storemerge5.reg2mem store i64 %rdi.0.lcssa.reload, i64* %rdi.14.reg2mem store i64 %0, i64* %rsi.13.reg2mem br label LBL_3 LBL_3: %rsi.13.reload = load i64, i64* %rsi.13.reg2mem %rdi.14.reload = load i64, i64* %rdi.14.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload14 = load i64, i64* %.reg2mem13 %28 = mul i64 %.reload14, 8 %29 = add i64 %rdi.14.reload, %28 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %sv_0.0.reg2mem store i64 %rsi.13.reload, i64* %rsi.0.reg2mem br i1 %33, label LBL_6, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 0, i64 0) %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %36, label LBL_5, label LBL_9 LBL_5: %37 = inttoptr i64 %28 to i64* store i64 %34, i64* %37, align 8 store i64 %34, i64* %sv_0.0.reg2mem store i64 0, i64* %rsi.0.reg2mem br label LBL_6 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = add i64 %rsi.0.reload, %28 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = and i64 %41, 4294967295 store i64 %44, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %45 = add i32 %storemerge5.reload, 1 %46 = load i32, i32* %3, align 4 %47 = zext i32 %46 to i64 %48 = sext i32 %45 to i64 %49 = icmp sgt i64 %48, %47 store i64 %48, i64* %.reg2mem13 store i32 %45, i32* %storemerge5.reg2mem store i64 %sv_0.0.reload, i64* %rdi.14.reg2mem store i64 %40, i64* %rsi.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_9, label LBL_3 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %28, { 2, 0, 1 } uselistorder i64 %11, { 1, 0 } uselistorder i32* %6, { 0, 2, 1 } uselistorder i64 %1, { 3, 0, 1, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.07.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem13, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.14.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.13.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
dvb_usbv2_device_power_ctrl_8959
dvb_usbv2_device_power_ctrl
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = icmp eq i32 %2, 0 %5 = trunc i64 %1 to i32 %storemerge3.v = select i1 %4, i32 -1, i32 1 %storemerge3 = add i32 %storemerge3.v, %5 store i32 %storemerge3, i32* %arg1, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i32 %5, 1 %10 = icmp eq i1 %9, false %or.cond = or i1 %8, %10 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = and i64 %3, 4294967295 %16 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %15) %17 = add i64 %11, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp ne i64 %21, 0 %23 = trunc i64 %11 to i32 %24 = icmp slt i32 %23, 0 %or.cond6 = icmp eq i1 %24, %22 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond6, label LBL_3, label LBL_4 LBL_3: %25 = load i64, i64* %13, align 8 %26 = and i64 %11, 4294967295 %27 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %26) store i64 %26, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i32 %5, { 1, 2, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i8*, i64)* @dev_dbg, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
cpu_tick_get_count_15424
cpu_tick_get_count
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 0) %7 = add i64 %2, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = sub i64 %6, %9 %11 = call i64 @FUNC(i64 %10, i64 %5) %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %. = select i1 %15, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([9 x i8]* @gv_1 to i64) %16 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %10, i64 %11, i64 %., i64 %2, i64 %1) %17 = load i32, i32* %13, align 4 %18 = icmp eq i32 %17, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = or i64 %21, %11 store i64 %22, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %11, { 1, 0, 2 } }
1
BinRealVul
ttm_mem_init_dma32_zone_4888
ttm_mem_init_dma32_zone
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 56, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %0) store i64 0, 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rcs_set_description_3773
rcs_set_description
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i8, align 1 %0 = icmp eq i64 %arg2, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg2, i64 0) store i64 %1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_2: %2 = call i64 @FUNC(i64 64, i64 0) %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) %4 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %5 = call i8* @fgets(i8* nonnull %sv_1, i32 128, %_IO_FILE* %4) %6 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %7 = call i32 @feof(%_IO_FILE* %6) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = bitcast i8* %sv_1 to i64* br label LBL_4 LBL_4: %11 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %12 = call i32 @ferror(%_IO_FILE* %11) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %15 = load i8, i8* %sv_1, align 1 %16 = icmp eq i8 %15, 46 %or.cond = or i1 %14, %16 store i64 %2, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %17 = call i32 @strlen(i8* nonnull %sv_1) %18 = sext i32 %17 to i64 %19 = call i64 @FUNC(i64 %2, i64* nonnull %10, i64 %18) %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %21 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %22 = call i8* @fgets(i8* nonnull %sv_1, i32 128, %_IO_FILE* %21) %23 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %24 = call i32 @feof(%_IO_FILE* %23) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %26, label LBL_6, label LBL_4 LBL_6: %27 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0) %29 = call i64 @FUNC(i64 %sv_0.0.reload) %30 = call i64 @FUNC(i64 %27, i64 %29) %31 = call i64 @FUNC(i64 %29) ret i64 %31 uselistorder i64 %2, { 0, 3, 1, 2 } uselistorder i8* %sv_1, { 2, 3, 1, 4, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 128, { 1, 0 } uselistorder %_IO_FILE** @gv_1, { 3, 2, 4, 0, 1 } uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
gen_rp_interrupts_init_15220
gen_rp_interrupts_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = icmp eq i32 %2, 1 br i1 %5, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0)) br label LBL_5 LBL_4: %8 = call i64 @FUNC(i64 %0, i64 0) br label LBL_5 LBL_5: %9 = and i64 %1, 4294967295 ret i64 %9 uselistorder i64 1, { 1, 0 } }
1
BinRealVul
BN_ucmp_9135
BN_ucmp
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = ptrtoint i32* %arg2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %1 to i32 %8 = trunc i64 %2 to i32 %9 = sub i32 %7, %8 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = zext i32 %9 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i32 %7, i32* %storemerge.in.reg2mem br label LBL_5 LBL_3: %18 = sext i32 %storemerge to i64 %19 = mul i64 %18, 8 %20 = add i64 %19, %14 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %19, %17 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %22, %25 store i32 %storemerge, i32* %storemerge.in.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = icmp ugt i64 %22, %25 %. = select i1 %27, i64 1, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_5: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = add i32 %storemerge.in.reload, -1 %28 = icmp slt i32 %storemerge, 0 %29 = icmp eq i1 %28, false store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_3, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge, { 2, 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @bn_check_top, { 1, 0 } }
0
BinRealVul
gen_wsr_windowstart_16341
gen_wsr_windowstart
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, 3 %4 = icmp slt i32 %2, 0 %5 = select i1 %4, i32 %3, i32 %2 %6 = udiv i32 %5, 4 %7 = urem i32 %6, 32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %storemerge.reg2mem br i1 %8, label %11, label %9 uselistorder i32 %2, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label %11, { 1, 0 } }
1
BinRealVul
macvlan_common_setup_18782
macvlan_common_setup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = and i64 %arg1, -2 %2 = inttoptr i64 %arg1 to i64* store i64 %1, i64* %2, align 8 %3 = add i64 %arg1, 16 %4 = inttoptr i64 %3 to i64* store i64 4210733, i64* %4, align 8 %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* store i64 4198721, i64* %6, align 8 %7 = add i64 %arg1, 24 %8 = inttoptr i64 %7 to i64* store i64 4210734, i64* %8, align 8 %9 = add i64 %arg1, 32 %10 = inttoptr i64 %9 to i64* store i64 4210735, i64* %10, align 8 ret i64 %arg1 uselistorder i64 %arg1, { 3, 4, 2, 1, 0, 5, 7, 6 } }
1
BinRealVul
cin_read_frame_header_266
cin_read_frame_header
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = call i64 @FUNC(i64 %1) %6 = trunc i64 %5 to i32 %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = call i64 @FUNC(i64 %1) %14 = trunc i64 %13 to i32 %15 = add i64 %0, 12 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64 %1) %18 = trunc i64 %17 to i32 %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = bitcast i64* %rsi to i32* %22 = load i32, i32* %21, align 8 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_1 LBL_1: %25 = add i64 %1, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %28, label LBL_2, label LBL_5 LBL_2: %29 = call i64 @FUNC(i64 %1) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, -1437226411 store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_3, label LBL_5 LBL_3: %32 = load i32, i32* %16, align 4 %33 = icmp slt i32 %32, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = load i32, i32* %20, align 4 %35 = icmp slt i32 %34, 0 %36 = icmp eq i1 %35, false %spec.select = select i1 %36, i64 0, i64 4294967295 ret i64 %spec.select LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 4294967291, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 2, 1, 0 } uselistorder i64 (i64)* @avio_r8, { 1, 0 } uselistorder label LBL_5, { 0, 1, 3, 2 } }
0
BinRealVul
vmxnet3_init_msi_16123
vmxnet3_init_msi
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 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 0, i64 1, i64 0, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %8) %10 = bitcast i64* %arg1 to i8* store i8 0, i8* %10, align 1 br label LBL_3 LBL_2: %11 = bitcast i64* %arg1 to i8* store i8 1, i8* %11, align 1 br label LBL_3 LBL_3: %12 = urem i64 %1, 256 ret i64 %12 }
1
BinRealVul
ParaNdis_ReviewIPPacket_6664
ParaNdis_ReviewIPPacket
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) %1 = call i64 @FUNC(i64 1, i64 %arg4) ret i64 %1 }
0
BinRealVul
io_req_track_inflight_12023
io_req_track_inflight
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = or i32 %2, 1 store i32 %7, i32* %arg1, align 4 %8 = load i64, i64* @gv_0, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) store i64 %11, 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 i32 %3, { 1, 0 } uselistorder i32 %2, { 1, 0 } }
1
BinRealVul
socket_address_to_string_14910
socket_address_to_string
define i64 @FUNC(i64* %arg1, i64* %arg2) 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 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 3 br i1 %7, label LBL_8, label LBL_1 LBL_1: %8 = icmp ult i32 %6, 4 br i1 %8, label LBL_2, label LBL_9 LBL_2: switch i32 %6, label LBL_9 [ i32 2, label LBL_7 i32 0, label LBL_3 i32 1, label LBL_6 ] LBL_3: %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i8* %15 = call i8* @strchr(i8* %14, i32 58) %16 = icmp eq i8* %15, null %17 = icmp eq i1 %16, false %18 = add i64 %11, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = load i64, i64* %12, align 8 %22 = bitcast i64* %sv_0 to i8* %23 = inttoptr i64 %21 to i8* %24 = inttoptr i64 %20 to i8* br i1 %17, label LBL_5, label LBL_4 LBL_4: %25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %22, i32 55, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* %23, i8* %24) %26 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %26, i64* %storemerge.reg2mem br label LBL_10 LBL_5: %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %22, i32 55, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i8* %23, i8* %24) %28 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %28, i64* %storemerge.reg2mem br label LBL_10 LBL_6: %29 = add i64 %5, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* %35 = call i64 @FUNC(i64* %34) store i64 %35, i64* %storemerge.reg2mem br label LBL_10 LBL_7: %36 = add i64 %5, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i64* %42 = call i64 @FUNC(i64* %41) store i64 %42, i64* %storemerge.reg2mem br label LBL_10 LBL_8: %43 = add i64 %5, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %45, 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %45 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %50, i64 %48, i64 %4, i64 %2, i64 %1) store i64 %51, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %52 = ptrtoint i64* %arg2 to i64 %53 = and i64 %3, 4294967295 %54 = call i64 @FUNC(i64 %52, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %53) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %24, { 1, 0 } uselistorder i8* %23, { 1, 0 } uselistorder i8* %22, { 1, 0 } uselistorder i32 %6, { 2, 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %5, { 3, 2, 0, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 6, 5, 4, 1, 3, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*)* @g_strdup, { 3, 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 0, 2, 1 } uselistorder label LBL_10, { 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
blk_flush_restore_request_9925
blk_flush_restore_request
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 store i64 %3, i64* %arg1, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = and i32 %6, -2 store i32 %7, i32* %5, align 4 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
BinRealVul
pcnet_common_init_17294
pcnet_common_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.03.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 0, i64 4198865, i64 %1) %4 = add i64 %1, 40 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = call i64 @FUNC(i64 %1) %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = call i64 @FUNC(i64 %2) %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %9, i64 %10, i64 %1) %12 = add i64 %1, 24 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64 @FUNC(i64 %11) %15 = call i64 @FUNC(i64 %14, i64 %1) %16 = add i64 %1, 6 %17 = inttoptr i64 %16 to i64* %18 = call i64* @memcpy(i64* %17, i64* %arg2, i32 6) %19 = add i64 %1, 13 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = add i64 %1, 12 %22 = inttoptr i64 %21 to i8* store i8 0, i8* %22, align 1 %23 = add i64 %1, 14 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = add i64 %1, 15 %26 = inttoptr i64 %25 to i8* store i8 17, i8* %26, align 1 %27 = add i64 %1, 17 %28 = inttoptr i64 %27 to i8* store i8 0, i8* %28, align 1 %29 = add i64 %1, 16 %30 = inttoptr i64 %29 to i8* store i8 0, i8* %30, align 1 %31 = add i64 %1, 19 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 %33 = add i64 %1, 18 %34 = inttoptr i64 %33 to i8* store i8 0, i8* %34, align 1 %35 = add i64 %1, 21 %36 = inttoptr i64 %35 to i8* store i8 87, i8* %36, align 1 %37 = add i64 %1, 20 %38 = inttoptr i64 %37 to i8* store i8 87, i8* %38, align 1 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.03.reg2mem br label LBL_1 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %39 = add i64 %indvars.iv.reload, %16 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = add nsw i32 %sv_0.03.reload, %42 %sext = mul i32 %43, 65536 %44 = ashr exact i32 %sext, 16 %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 store i32 %44, i32* %sv_0.03.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %45 = urem i32 %44, 65536 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i16 %49 = inttoptr i64 %33 to i16* store i16 %48, i16* %49, align 2 %50 = add i64 %1, 32 %51 = inttoptr i64 %50 to i32* store i32 64, i32* %51, align 4 ret i64 0 uselistorder i32 %44, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32 65536, { 1, 0 } uselistorder i8 0, { 0, 3, 1, 4, 5, 2, 6, 7 } }
1
BinRealVul
do_adjtimex_7831
do_adjtimex
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem26 = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem24 = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem22 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_42 LBL_2: %9 = urem i32 %3, 2 %10 = icmp eq i32 %9, 0 %11 = add i32 %3, -1 %12 = icmp ult i32 %11, 2 %13 = or i1 %12, %10 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_42 LBL_3: %14 = icmp eq i32 %3, 1 %15 = and i32 %3, 4 %16 = icmp eq i32 %15, 0 %or.cond10 = or i1 %14, %16 br i1 %or.cond10, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %.off = add i64 %19, 999999 %20 = icmp ult i64 %.off, 1999999 store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_42 LBL_5: %21 = and i32 %3, 8 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_8, label LBL_6 LBL_6: %23 = add i64 %2, 64 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %.off18 = add i64 %25, -9000 %26 = icmp ult i64 %.off18, 2001 store i64 4294967274, i64* %rax.0.reg2mem br i1 %26, label LBL_8, label LBL_42 LBL_7: %27 = call i64 @FUNC(i64* nonnull @gv_0) %28 = load i32, i32* @gv_1, align 4 %29 = load i64, i64* @gv_2, align 8 store i64 %29, i64* %.reg2mem24 store i32 %28, i32* %sv_0.0.reg2mem br label LBL_38 LBL_8: %30 = call i64 @FUNC(i64* nonnull @gv_0) %31 = load i32, i32* @gv_1, align 4 %32 = load i64, i64* @gv_2, align 8 %33 = and i32 %3, 16 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = add i64 %2, 48 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, -17 %39 = load i32, i32* @gv_3, align 4 %40 = and i32 %39, 16 %41 = or i32 %40, %38 store i32 %41, i32* @gv_3, align 4 br label LBL_10 LBL_10: %42 = and i32 %3, 32 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_13, label LBL_11 LBL_11: %44 = add i64 %2, 16 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %.off19 = add i64 %46, 1000000 %47 = icmp ult i64 %.off19, 2000001 store i64 %32, i64* %.reg2mem24 store i32 -22, i32* %sv_0.0.reg2mem br i1 %47, label LBL_12, label LBL_38 LBL_12: %48 = mul i64 %46, 1000 %49 = ashr i64 %48, 54 %50 = sext i64 %49 to i128 store i128 %50, i128* @gv_4, align 8 br label LBL_13 LBL_13: %51 = and i32 %3, 64 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_16, label LBL_14 LBL_14: %53 = add i64 %2, 24 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = icmp ult i64 %55, 1000000 store i64 %32, i64* %.reg2mem24 store i32 -22, i32* %sv_0.0.reg2mem br i1 %56, label LBL_15, label LBL_38 LBL_15: store i64 %55, i64* @gv_5, align 8 br label LBL_16 LBL_16: %57 = trunc i64 %1 to i8 %58 = icmp sgt i8 %57, -1 br i1 %58, label LBL_19, label LBL_17 LBL_17: %59 = add i64 %2, 32 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp ult i64 %61, 1000000 store i64 %32, i64* %.reg2mem24 store i32 -22, i32* %sv_0.0.reg2mem br i1 %62, label LBL_18, label LBL_38 LBL_18: store i64 %61, i64* @gv_6, align 8 br label LBL_19 LBL_19: %63 = and i32 %3, 256 %64 = icmp eq i32 %63, 0 br i1 %64, label LBL_22, label LBL_20 LBL_20: %65 = add i64 %2, 40 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = icmp slt i64 %67, 0 %69 = icmp eq i1 %68, false store i64 %32, i64* %.reg2mem24 store i32 -22, i32* %sv_0.0.reg2mem br i1 %69, label LBL_21, label LBL_38 LBL_21: %70 = add i64 %67, 4 %71 = call i64 @FUNC(i64 %70, i64 100) %sext = mul i64 %71, 4294967296 %72 = ashr exact i64 %sext, 32 store i64 %72, i64* @gv_7, align 8 br label LBL_22 LBL_22: br i1 %16, label LBL_34, label LBL_23 LBL_23: %73 = icmp eq i1 %14, false br i1 %73, label LBL_25, label LBL_24 LBL_24: %74 = add i64 %2, 8 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 store i64 %76, i64* @gv_2, align 8 br label LBL_34 LBL_25: %77 = load i32, i32* @gv_3, align 4 %78 = and i32 %77, 4 %79 = icmp eq i32 %78, 0 br i1 %79, label LBL_34, label LBL_26 LBL_26: %80 = add i64 %2, 8 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = mul i64 %82, 1000 %84 = sext i64 %83 to i128 store i128 %84, i128* @gv_8, align 8 %85 = call i64 @FUNC(i64 %83, i64 1000000000) %sext2 = mul i64 %85, 4294967296 %86 = ashr exact i64 %sext2, 32 %87 = sext i64 %86 to i128 store i128 %87, i128* @gv_8, align 8 %88 = call i64 @FUNC(i64 %86, i64 -1000000000) %sext3 = mul i64 %88, 4294967296 %89 = ashr exact i64 %sext3, 32 %90 = sext i64 %89 to i128 store i128 %90, i128* @gv_8, align 8 %91 = load i32, i32* @gv_3, align 4 %92 = and i32 %91, 8 %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false br i1 %94, label LBL_29, label LBL_27 LBL_27: %95 = load i64, i64* @gv_9, align 8 %96 = icmp eq i64 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_27.LBL_30_crit_edge, label LBL_29 LBL_28: %.pre = load i64, i64* @gv_10, align 8 store i64 %95, i64* %.reg2mem store i64 %.pre, i64* %.reg2mem22 br label LBL_30 LBL_29: %98 = load i64, i64* @gv_10, align 8 store i64 %98, i64* @gv_9, align 8 store i64 %98, i64* %.reg2mem store i64 %98, i64* %.reg2mem22 br label LBL_30 LBL_30: %.reload23 = load i64, i64* %.reg2mem22 %.reload = load i64, i64* %.reg2mem %99 = sub i64 %.reload23, %.reload store i64 %.reload23, i64* @gv_9, align 8 %100 = mul i64 %99, %89 %101 = load i64, i64* @gv_7, align 8 %102 = mul i64 %101, 2 %103 = add i64 %102, 4 %104 = and i64 %103, 4294967294 %105 = call i64 @FUNC(i64 %100, i64 %104) %106 = icmp slt i64 %99, 60 store i64 %105, i64* %sv_1.0.reg2mem br i1 %106, label LBL_33, label LBL_31 LBL_31: %107 = load i32, i32* @gv_3, align 4 %108 = and i32 %107, 32 %109 = icmp eq i32 %108, 0 %110 = icmp slt i64 %99, 3601 %or.cond = icmp eq i1 %110, %109 store i64 %105, i64* %sv_1.0.reg2mem br i1 %or.cond, label LBL_33, label LBL_32 LBL_32: %111 = load i128, i128* @gv_8, align 8 %112 = trunc i128 %111 to i64 %113 = mul i64 %112, 1024 %114 = call i64 @FUNC(i64 %113, i64 %99) %115 = add i64 %114, %105 store i64 %115, i64* %sv_1.0.reg2mem br label LBL_33 LBL_33: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %116 = load i128, i128* @gv_4, align 8 %117 = trunc i128 %116 to i64 %118 = add i64 %sv_1.0.reload, %117 %119 = call i64 @FUNC(i64 %118, i64 1000000) %sext4 = mul i64 %119, 4294967296 %120 = ashr exact i64 %sext4, 32 %121 = call i64 @FUNC(i64 %120, i64 -1000000) %sext5 = mul i64 %121, 4294967296 %122 = ashr exact i64 %sext5, 32 %123 = sext i64 %122 to i128 store i128 %123, i128* @gv_4, align 8 %124 = load i128, i128* @gv_8, align 8 %125 = trunc i128 %124 to i64 %126 = call i64 @FUNC(i64 %125, i64 1000, i64* nonnull %sv_2) %127 = mul i64 %126, 1024 %128 = sext i64 %127 to i128 store i128 %128, i128* @gv_8, align 8 br label LBL_34 LBL_34: br i1 %22, label LBL_36, label LBL_35 LBL_35: %129 = add i64 %2, 64 %130 = inttoptr i64 %129 to i64* %131 = load i64, i64* %130, align 8 store i64 %131, i64* @gv_11, align 8 br label LBL_36 LBL_36: %132 = and i32 %3, 44 %133 = icmp eq i32 %132, 0 store i64 %32, i64* %.reg2mem24 store i32 %31, i32* %sv_0.0.reg2mem br i1 %133, label LBL_38, label LBL_37 LBL_37: %134 = call i64 @FUNC() store i64 %32, i64* %.reg2mem24 store i32 %31, i32* %sv_0.0.reg2mem br label LBL_38 LBL_38: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %135 = load i32, i32* @gv_3, align 4 %136 = icmp ne i32 %3, 1 %137 = icmp eq i32 %3, 2 %138 = icmp eq i1 %137, false %or.cond17 = icmp eq i1 %136, %138 br i1 %or.cond17, label LBL_40, label LBL_39 LBL_39: %.reload25 = load i64, i64* %.reg2mem24 %139 = add i64 %2, 8 %140 = inttoptr i64 %139 to i64* store i64 %.reload25, i64* %140, align 8 store i32 %135, i32* %.reg2mem26 br label LBL_41 LBL_40: %141 = load i128, i128* @gv_8, align 8 %142 = trunc i128 %141 to i64 %143 = call i64 @FUNC(i64 %142, i64 10) %144 = add i64 %2, 8 %145 = inttoptr i64 %144 to i64* store i64 %143, i64* %145, align 8 %.pre20 = load i32, i32* @gv_3, align 4 store i32 %.pre20, i32* %.reg2mem26 br label LBL_41 LBL_41: %146 = urem i32 %135, 4 %147 = icmp eq i32 %146, 0 %spec.select = select i1 %147, i32 %sv_0.0.reload, i32 -1 %.reload27 = load i32, i32* %.reg2mem26 %148 = add i64 %2, 16 %149 = inttoptr i64 %148 to i64* store i64 0, i64* %149, align 8 %150 = load i64, i64* @gv_5, align 8 %151 = add i64 %2, 24 %152 = inttoptr i64 %151 to i64* store i64 %150, i64* %152, align 8 %153 = load i64, i64* @gv_6, align 8 %154 = add i64 %2, 32 %155 = inttoptr i64 %154 to i64* store i64 %153, i64* %155, align 8 %156 = add i64 %2, 48 %157 = inttoptr i64 %156 to i32* store i32 %.reload27, i32* %157, align 4 %158 = load i64, i64* @gv_7, align 8 %159 = add i64 %2, 40 %160 = inttoptr i64 %159 to i64* store i64 %158, i64* %160, align 8 %161 = add i64 %2, 52 %162 = inttoptr i64 %161 to i32* store i32 1, i32* %162, align 4 %163 = add i64 %2, 56 %164 = inttoptr i64 %163 to i32* store i32 1000000, i32* %164, align 4 %165 = load i64, i64* @gv_11, align 8 %166 = add i64 %2, 64 %167 = inttoptr i64 %166 to i64* store i64 %165, i64* %167, align 8 %168 = add i64 %2, 72 %169 = inttoptr i64 %168 to i64* store i64 0, i64* %169, align 8 %170 = add i64 %2, 80 %171 = inttoptr i64 %170 to i64* store i64 0, i64* %171, align 8 %172 = add i64 %2, 88 %173 = inttoptr i64 %172 to i64* store i64 0, i64* %173, align 8 %174 = add i64 %2, 96 %175 = inttoptr i64 %174 to i64* store i64 0, i64* %175, align 8 %176 = add i64 %2, 104 %177 = inttoptr i64 %176 to i64* store i64 0, i64* %177, align 8 %178 = add i64 %2, 112 %179 = inttoptr i64 %178 to i64* store i64 0, i64* %179, align 8 %180 = add i64 %2, 120 %181 = inttoptr i64 %180 to i64* store i64 0, i64* %181, align 8 %182 = add i64 %2, 128 %183 = inttoptr i64 %182 to i64* store i64 0, i64* %183, align 8 %184 = call i64 @FUNC(i64* nonnull @gv_0) %185 = add i64 %2, 136 %186 = call i64 @FUNC(i64 %185) %187 = call i64 @FUNC() %188 = zext i32 %spec.select to i64 store i64 %188, i64* %rax.0.reg2mem br label LBL_42 LBL_42: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %135, { 1, 0 } uselistorder i64 %105, { 2, 0, 1 } uselistorder i64 %99, { 2, 1, 3, 0 } uselistorder i64 %61, { 1, 0 } uselistorder i64 %55, { 1, 0 } uselistorder i64 %46, { 1, 0 } uselistorder i64 %32, { 4, 5, 0, 1, 2, 3 } uselistorder i32 %3, { 2, 3, 4, 5, 6, 7, 1, 8, 10, 11, 9, 0, 12 } uselistorder i64 %2, { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 10, 28, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem24, { 0, 5, 6, 1, 2, 3, 4, 7 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 6, 1, 2, 3, 4, 7 } uselistorder i32* %.reg2mem26, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i64)* @shift_right, { 1, 0 } uselistorder i64* @gv_10, { 1, 0 } uselistorder i64 (i64, i64)* @max, { 1, 0 } uselistorder i128* @gv_8, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @min, { 2, 1, 0 } uselistorder i64 32, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i128* @gv_4, { 2, 1, 0 } uselistorder i64 1000, { 2, 0, 1 } uselistorder i64 1000000, { 3, 0, 1, 2 } uselistorder i32* @gv_3, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64* @gv_2, { 1, 0, 2 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i64 64, { 1, 2, 3, 0 } uselistorder i32 4, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder label LBL_42, { 4, 0, 1, 2, 3 } uselistorder label LBL_38, { 6, 5, 1, 2, 3, 4, 0 } uselistorder label LBL_33, { 1, 0, 2 } uselistorder label LBL_30, { 1, 0 } }
1
BinRealVul
jsiFuncInfo_9844
jsiFuncInfo
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64* %arg3, null %4 = icmp eq i1 %3, false store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = ptrtoint i64* %arg4 to i64 %6 = ptrtoint i64* %arg3 to i64 %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %5, i64 %2, i64 %1) %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 %5, i64* %rcx.0.reg2mem br i1 %12, label LBL_6, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %11, i64 47) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %13, 1 store i64 %15, i64* %storemerge1.reg2mem br label LBL_5 LBL_4: %16 = load i64, i64* %10, align 8 store i64 %16, i64* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %17 = add i64 %6, 20 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %6, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = zext i32 %19 to i64 %25 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge1.reload, i64 %23, i64 %24, i64 %1) store i64 %23, i64* %rcx.0.reg2mem store i64 %24, i64* %r8.0.reg2mem br label LBL_6 LBL_6: %26 = icmp eq i64* %arg4, null br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = ptrtoint i64* %arg1 to i64 %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %28 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) %29 = call i64 @FUNC(i64 %27, i64 %5, i64 %7, i64 0) %30 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 0, i64 %r8.0.reload, i64 %1) br label LBL_8 LBL_8: %31 = call i64 @FUNC(i64 %7) store i64 %31, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %r8.0.reload, { 1, 0 } uselistorder i64 %7, { 5, 2, 4, 3, 1, 0 } uselistorder i64 %6, { 1, 0, 2, 3 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @Jsi_DSAppend, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @Jsi_DSPrintf, { 2, 1, 0 } uselistorder i1 false, { 1, 3, 2, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
redisAeAttach_13181
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 4198777, i64* %19, align 8 %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* store i64 4198792, i64* %21, align 8 %22 = add i64 %0, 32 %23 = inttoptr i64 %22 to i64* store i64 4198807, i64* %23, align 8 %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i64* store i64 4198822, i64* %25, align 8 %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i64* store i64 4198837, 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 } }
1
BinRealVul
assign_guest_irq_3930
assign_guest_irq
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.0.in.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = urem i64 %1, 32 %3 = icmp eq i64 %2, 0 store i64 4294967279, i64* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_13 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.shrunk.reg2mem br i1 %8, label LBL_2, label LBL_13 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = ptrtoint i64* %arg2 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* store i32 %6, i32* %12, align 4 %13 = icmp eq i64 %arg4, 2 br i1 %13, label LBL_7, label LBL_3 LBL_3: %14 = icmp ult i64 %arg4, 3 store i32 %6, i32* %.reg2mem store i64 4294967274, i64* %sv_0.01.reg2mem br i1 %14, label LBL_4, label LBL_12 LBL_4: store i32 %6, i32* %.reg2mem store i64 4294967274, i64* %sv_0.01.reg2mem switch i64 %arg4, label LBL_12 [ i64 0, label LBL_5 i64 1, label LBL_6 ] LBL_5: %15 = call i64 @FUNC(i64 %4, i64 %10, i64 %9) store i64 %15, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_6: %16 = call i64 @FUNC(i64 %4, i64 %10, i64 %9) store i64 %16, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_7: %17 = call i64 @FUNC(i64 %4, i64 %10, i64 %9) store i64 %17, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %18 = icmp eq i32 %sv_0.0, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_8.LBL_12_crit_edge, label LBL_10 LBL_9: %.pre = load i32, i32* %12, align 4 store i32 %.pre, i32* %.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.01.reg2mem br label LBL_12 LBL_10: %20 = bitcast i64* %rsi to i32* %21 = load i32, i32* %20, align 8 %22 = trunc i64 %arg4 to i32 %23 = or i32 %21, %22 %24 = bitcast i64* %arg2 to i32* store i32 %23, i32* %24, align 4 %25 = add i64 %10, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, -1 store i64 %sv_0.0.in.reload, i64* %rax.0.shrunk.reg2mem br i1 %28, label LBL_13, label LBL_11 LBL_11: %29 = call i64 @FUNC(i64 %4, i64 %25) store i64 %sv_0.0.in.reload, i64* %rax.0.shrunk.reg2mem br label LBL_13 LBL_12: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %.reload = load i32, i32* %.reg2mem %30 = zext i32 %.reload to i64 %31 = call i64 @FUNC(i64 %4, i64 %30) store i32 -1, i32* %12, align 4 store i64 %sv_0.01.reload, i64* %rax.0.shrunk.reg2mem br label LBL_13 LBL_13: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %sv_0.0.in.reload, { 1, 0, 2, 3 } uselistorder i32* %12, { 1, 0, 2 } uselistorder i64 %10, { 2, 3, 0, 1, 4 } uselistorder i64 %9, { 2, 0, 1 } uselistorder i32 %6, { 1, 0, 2, 3 } uselistorder i64 %4, { 3, 2, 4, 0, 1, 5 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_0.01.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i32 -1, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 %arg4, { 1, 0, 3, 2 } uselistorder label LBL_13, { 2, 1, 0, 3, 4 } uselistorder label LBL_12, { 0, 2, 1 } }
0
BinRealVul
gf_sg_vrml_mf_append_6961
gf_sg_vrml_mf_append
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg3 to i64 %5 = add i64 %1, 2 %6 = and i64 %5, 4294967295 %7 = trunc i64 %arg2 to i32 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i32 %7, i64 %4, i64 %6) store i64 %9, 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 label LBL_2, { 1, 0 } }
0
BinRealVul
ff_get_cpu_flags_arm_3426
ff_get_cpu_flags_arm
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i32 %sv_0 = alloca i32, align 4 %0 = bitcast i32* %sv_0 to i64* %1 = call i64 @FUNC(i64* nonnull %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull %0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i32 0, i32* %storemerge.in.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = load i32, i32* %sv_0, align 4 %10 = mul i32 %9, 64 %11 = and i32 %10, 64 %12 = udiv i32 %9, 2 %13 = urem i32 %12, 2 %14 = or i32 %13, %11 %15 = and i32 %12, 2 %16 = or i32 %14, %15 %17 = and i32 %12, 4 %18 = or i32 %16, %17 %19 = and i32 %12, 8 %20 = or i32 %18, %19 %21 = and i32 %12, 16 %22 = or i32 %20, %21 %23 = and i32 %22, 24 %24 = icmp eq i32 %23, 0 %25 = or i32 %22, 2 %spec.select4 = select i1 %24, i32 %22, i32 %25 %26 = udiv i32 %spec.select4, 2 %27 = urem i32 %26, 2 %28 = or i32 %27, %spec.select4 %29 = and i32 %spec.select4, 4 %30 = icmp eq i32 %29, 0 store i32 %28, i32* %storemerge.in.reg2mem br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = and i32 %spec.select4, 24 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false %34 = or i32 %28, 32 %spec.select5 = select i1 %33, i32 %28, i32 %34 store i32 %spec.select5, i32* %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %28, { 2, 1, 0 } uselistorder i32 %spec.select4, { 2, 3, 1, 0 } uselistorder i32 %22, { 2, 1, 0 } uselistorder i32 %12, { 3, 2, 1, 0, 4 } uselistorder i32 %9, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 2, { 2, 0, 5, 4, 3, 1 } uselistorder i32 64, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
ipmi_si_port_setup_11052
ipmi_si_port_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_14 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 16 %7 = inttoptr i64 %6 to i64* store i64 4198694, i64* %7, align 8 %8 = add i64 %5, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 4 br i1 %11, label LBL_6, label LBL_2 LBL_2: %12 = icmp sgt i32 %10, 4 br i1 %12, label LBL_7, label LBL_3 LBL_3: switch i32 %10, label LBL_7 [ i32 1, label LBL_4 i32 2, label LBL_5 ] LBL_4: %13 = add i64 %5, 24 %14 = inttoptr i64 %13 to i64* store i64 4198701, i64* %14, align 8 %15 = add i64 %5, 32 %16 = inttoptr i64 %15 to i64* store i64 4198715, i64* %16, align 8 br label LBL_8 LBL_5: %17 = add i64 %5, 24 %18 = inttoptr i64 %17 to i64* store i64 4198730, i64* %18, align 8 %19 = add i64 %5, 32 %20 = inttoptr i64 %19 to i64* store i64 4198744, i64* %20, align 8 br label LBL_8 LBL_6: %21 = add i64 %5, 24 %22 = inttoptr i64 %21 to i64* store i64 4198760, i64* %22, align 8 %23 = add i64 %5, 32 %24 = inttoptr i64 %23 to i64* store i64 4198774, i64* %24, align 8 br label LBL_8 LBL_7: %25 = add i64 %5, 40 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %10) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %29 = add i64 %5, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_14, label LBL_9 LBL_9: %33 = add i64 %5, 12 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %storemerge3.reg2mem br label LBL_10 LBL_10: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %35 = load i32, i32* %9, align 4 %36 = load i32, i32* %34, align 4 %37 = mul i32 %36, %storemerge3.reload %38 = add i32 %37, %2 %39 = zext i32 %35 to i64 %40 = zext i32 %38 to i64 %41 = call i64 @FUNC(i64 %40, i64 %39, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_13, label LBL_11 LBL_11: %44 = icmp eq i32 %storemerge3.reload, 0 %45 = icmp eq i1 %44, false store i32 %storemerge3.reload, i32* %.in.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %45, label LBL_12, label LBL_14 LBL_12: %.in.reload = load i32, i32* %.in.reg2mem %46 = add i32 %.in.reload, -1 %47 = load i32, i32* %9, align 4 %48 = load i32, i32* %34, align 4 %49 = mul i32 %48, %46 %50 = add i32 %49, %2 %51 = zext i32 %47 to i64 %52 = zext i32 %50 to i64 %53 = call i64 @FUNC(i64 %52, i64 %51) %54 = icmp eq i32 %46, 0 %55 = icmp eq i1 %54, false store i32 %46, i32* %.in.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %55, label LBL_12, label LBL_14 LBL_13: %56 = add i32 %storemerge3.reload, 1 %57 = load i32, i32* %30, align 4 %58 = zext i32 %57 to i64 %59 = sext i32 %56 to i64 %60 = icmp slt i64 %59, %58 store i32 %56, i32* %storemerge3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %60, label LBL_10, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %46, { 0, 2, 1 } uselistorder i32 %storemerge3.reload, { 1, 0, 3, 2 } uselistorder i32* %30, { 1, 0 } uselistorder i64 %5, { 6, 5, 4, 7, 8, 0, 1, 2, 3, 9, 10 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 6, 5 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 3, 2, 0, 1, 4 } uselistorder label LBL_14, { 0, 1, 3, 2, 5, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
qcow2_snapshot_delete_638
qcow2_snapshot_delete
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967294, i64* %rax.0.shrunk.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %sext = mul i64 %2, 4294967296 %6 = ashr exact i64 %sext, 27 %7 = add i64 %6, %0 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %7, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %7, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = xor i32 %3, 134217727 %23 = add i32 %21, %22 %24 = mul i32 %23, 32 %25 = add i64 %7, 32 %26 = inttoptr i64 %25 to i64* %27 = call i64* @memmove(i64* %8, i64* %26, i32 %24) %28 = load i32, i32* %20, align 4 %29 = add i32 %28, -1 store i32 %29, i32* %20, align 4 %30 = call i64 @FUNC(i64 %0) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false store i64 %30, i64* %rax.0.shrunk.reg2mem br i1 %33, label LBL_2, label LBL_4 LBL_2: %34 = call i64 @FUNC(i64 %9) %35 = call i64 @FUNC(i64 %12) %36 = call i64 @FUNC(i64 %0, i64 %15, i64 %18, i64 4294967295) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 %36, i64* %rax.0.shrunk.reg2mem br i1 %39, label LBL_3, label LBL_4 LBL_3: %40 = mul i64 %18, 8 %41 = call i64 @FUNC(i64 %0, i64 %15, i64 %40) %42 = add i64 %0, 24 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = add i64 %0, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %0, i64 %47, i64 %44, i64 0) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false %. = select i1 %51, i64 0, i64 %48 store i64 %., i64* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %20, { 1, 0, 2 } uselistorder i64 %7, { 0, 4, 3, 2, 1 } uselistorder i64 %0, { 1, 3, 2, 4, 5, 6, 7, 0, 8 } uselistorder i64 (i64, i64, i64, i64)* @qcow2_update_snapshot_refcount, { 1, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } }
0
BinRealVul
string_output_append_14804
string_output_append
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 16) %1 = inttoptr i64 %0 to i64* store i64 %arg2, i64* %1, align 8 %2 = add i64 %arg2, 1 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = call i64 @FUNC(i64 16, i64 %0, i64 4198710) store i64 %5, i64* %arg1, align 8 ret i64 %5 uselistorder i64 %5, { 1, 0 } }
1
BinRealVul
ext4_dquot_initialize_8714
ext4_dquot_initialize
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 2) %2 = icmp ult i64 %1, -1000 store i64 %1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %1) %7 = icmp eq i32 %5, 0 %8 = icmp eq i1 %7, false %spec.select = select i1 %8, i64 %4, i64 %6 %9 = and i64 %spec.select, 4294967295 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
bgp_attr_aigp_valid_7262
bgp_attr_aigp_valid
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.013.reg2mem = alloca i64 %sv_1.014.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i32, align 4 %4 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = icmp sgt i32 %4, 2 br i1 %6, label LBL_1, label LBL_3 LBL_1: %7 = trunc i64 %5 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_12 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %5, %10 %12 = bitcast i32* %sv_2 to i64* store i32 %7, i32* %.reg2mem store i64 %5, i64* %sv_1.014.reg2mem store i64 %10, i64* %sv_0.013.reg2mem br label LBL_4 LBL_3: %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %5, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %15 = inttoptr i64 %sv_0.013.reload to i8* %16 = load i8, i8* %15, align 1 %17 = sub i64 0, %sv_0.013.reload %18 = sub i64 %17, 1 %19 = add i64 %11, %18 %20 = icmp ult i64 %19, 2 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_12, label LBL_5 LBL_5: %sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem %21 = add i64 %sv_0.013.reload, 1 %22 = call i64 @FUNC(i64 %21, i64* nonnull %12) %23 = load i32, i32* %sv_2, align 4 %24 = urem i32 %23, 65536 %25 = zext i32 %24 to i64 %26 = icmp slt i64 %sv_1.014.reload, %25 br i1 %26, label LBL_6, label LBL_7 LBL_6: %27 = and i64 %sv_1.014.reload, 4294967295 %28 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %25, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %29 = trunc i32 %23 to i16 %30 = icmp ult i16 %29, 3 br i1 %30, label LBL_8, label LBL_9 LBL_8: %31 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %21, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %32 = icmp eq i8 %16, 1 %33 = icmp eq i1 %32, false %34 = icmp eq i16 %29, 4 %or.cond = or i1 %33, %34 br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: %35 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([7 x i8]* @gv_4 to i64), i64 %25, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %.reload = load i32, i32* %.reg2mem %36 = add i64 %sv_0.013.reload, %25 %37 = sub i32 %.reload, %24 %38 = sext i32 %37 to i64 %39 = icmp eq i32 %37, 0 %40 = icmp eq i1 %39, false store i32 %37, i32* %.reg2mem store i64 %38, i64* %sv_1.014.reg2mem store i64 %36, i64* %sv_0.013.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %40, label LBL_4, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %25, { 3, 2, 1, 0, 4 } uselistorder i32 %24, { 1, 0 } uselistorder i32 %23, { 1, 0 } uselistorder i64 %sv_1.014.reload, { 1, 0 } uselistorder i64 %sv_0.013.reload, { 2, 0, 3, 1 } uselistorder i64 %5, { 3, 4, 0, 1, 2 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.014.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 6, 7, 1, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @zlog_err, { 3, 2, 1, 0 } uselistorder i64 1, { 0, 3, 2, 1, 4 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_12, { 1, 3, 4, 5, 0, 6, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ssl_check_srp_ext_ClientHello_10881
ssl_check_srp_ext_ClientHello
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg2 to i32* store i32 112, i32* %1, align 4 %2 = and i64 %0, 32 %3 = icmp eq i64 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: store i32 115, i32* %1, align 4 store i64 2, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %13 = ptrtoint i64* %arg2 to i64 %14 = call i64 @FUNC(i64 %0, i64 %13) %phitmp = and i64 %14, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %arg2, { 1, 0 } }
0
BinRealVul
cdc_ncm_show_tx_timer_usecs_9492
cdc_ncm_show_tx_timer_usecs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = udiv i32 %6, 1000 %8 = bitcast i64* %arg3 to i8* %9 = call i32 (i8*, i8*, ...) @sprintf(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %7) %10 = sext i32 %9 to i64 ret i64 %10 }
0
BinRealVul
get_cpsr_3265
get_cpsr
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = urem i64 %2, 2 %4 = icmp eq i64 %3, 0 %5 = zext i1 %4 to i32 store i32 %5, i32* %arg2, align 4 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %2, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9) br label LBL_3 LBL_2: %11 = trunc i64 %2 to i32 %12 = call i64 @FUNC(i64 %0, i32 %11, i64 4294967295, i64 0) br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } }
0
BinRealVul
qmp_query_rocker_14379
qmp_query_rocker
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i64 16) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = inttoptr i64 %2 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %1 to i64* store i64 %9, i64* %10, align 8 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %1, 12 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 store i64 %1, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
sdp_copy_raw_data_5540
sdp_copy_raw_data
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %.reg2mem8 = alloca i32 %.pre-phi.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdx.0.lcssa.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %5 = add i64 %4, 256 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = ptrtoint i64* %sv_3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = add i64 %indvars.iv.reload, %4 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = trunc i64 %indvars.iv.reload to i32 %14 = mul i32 %13, 2 %15 = sub i32 256, %14 %16 = zext i32 %14 to i64 %17 = add i64 %16, %9 %18 = inttoptr i64 %17 to i8* %19 = zext i8 %12 to i32 %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %18, i32 %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %19) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = load i32, i32* %6, align 4 %22 = zext i32 %21 to i64 %23 = icmp ult i64 %indvars.iv.next, %22 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %23, label LBL_2, label LBL_3 LBL_3: %24 = zext i8 %12 to i64 store i64 %24, i64* %rcx.0.lcssa.reg2mem store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rdx.0.lcssa.reg2mem br label LBL_4 LBL_4: %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %25 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_3, i64 %rdx.0.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) %26 = add i64 %4, 264 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_12, label LBL_5 LBL_5: %32 = add i64 %28, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %28, 12 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = sub i32 %34, %37 %40 = load i32, i32* %6, align 4 store i32 %40, i32* %sv_2, align 4 %41 = trunc i64 %arg2 to i8 %42 = icmp eq i8 %41, 0 store i32 %40, i32* %.reg2mem store i32 %39, i32* %sv_0.0.reg2mem store i64 %4, i64* %sv_1.0.reg2mem store i64 %38, i64* %rcx.1.reg2mem br i1 %42, label LBL_9, label LBL_6 LBL_6: %43 = add i32 %39, -1 %44 = add i64 %4, 1 %45 = urem i64 %3, 256 %46 = call i64 @FUNC(i64 %44, i64 %45, i32* nonnull %sv_2) %47 = sext i32 %43 to i64 %48 = sub i64 %46, %44 %49 = icmp sgt i64 %48, %47 br i1 %49, label LBL_7, label LBL_8 LBL_7: %50 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64* bitcast ([18 x i8]* @gv_3 to i64*), i64 %47, i64 %45, i64 %2, i64 %1) store i64 %50, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %51 = trunc i64 %48 to i32 %52 = sub i32 %43, %51 %.pre = load i32, i32* %sv_2, align 4 store i32 %.pre, i32* %.reg2mem store i32 %52, i32* %sv_0.0.reg2mem store i64 %46, i64* %sv_1.0.reg2mem store i64 %45, i64* %rcx.1.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %53 = icmp ugt i32 %sv_0.0.reload, %.reload %spec.select = select i1 %53, i32 %.reload, i32 %sv_0.0.reload %54 = sub i64 %sv_1.0.reload, %4 %55 = trunc i64 %54 to i32 %56 = sub i32 256, %55 %57 = icmp ugt i32 %spec.select, %56 %58 = zext i32 %spec.select to i64 store i64 %58, i64* %.pre-phi.reg2mem store i32 %.reload, i32* %.reg2mem8 store i32 %spec.select, i32* %sv_0.2.reg2mem br i1 %57, label LBL_10, label LBL_11 LBL_10: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %59 = zext i32 %56 to i64 %60 = inttoptr i64 %59 to i64* %61 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64* %60, i64 %58, i64 %rcx.1.reload, i64 %2, i64 %1) %.pre6 = load i32, i32* %sv_2, align 4 store i64 %59, i64* %.pre-phi.reg2mem store i32 %.pre6, i32* %.reg2mem8 store i32 %56, i32* %sv_0.2.reg2mem br label LBL_11 LBL_11: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %.reload9 = load i32, i32* %.reg2mem8 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %62 = zext i32 %.reload9 to i64 %63 = call i64 @FUNC(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_5, i64 0, i64 0), i64* bitcast ([18 x i8]* @gv_3 to i64*), i64 %62, i64 %.pre-phi.reload, i64 %sv_1.0.reload, i64 %4) %64 = load i64, i64* %27, align 8 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = add i64 %64, 12 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = zext i32 %69 to i64 %71 = add i64 %66, %70 %72 = inttoptr i64 %71 to i64* %73 = inttoptr i64 %sv_1.0.reload to i64* %74 = call i64* @memcpy(i64* %72, i64* %73, i32 %sv_0.2.reload) %75 = load i64, i64* %27, align 8 %76 = add i64 %75, 12 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = add i32 %78, %sv_0.2.reload store i32 %79, i32* %77, align 4 store i64 %75, 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 i32 %sv_0.2.reload, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i64 %44, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i32* %6, { 0, 2, 1 } uselistorder i64 %4, { 3, 4, 2, 0, 5, 1, 6 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @SDP_TRACE_WARNING, { 3, 2, 1, 0 } uselistorder [5 x i8]* @gv_0, { 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
task_will_free_mem_9139
task_will_free_mem
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i8 %sv_0.12.reg2mem = alloca i8 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_9 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_9 LBL_2: %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = urem i64 %10, 2 %12 = icmp eq i64 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_9 LBL_3: %13 = trunc i64 %1 to i32 %14 = icmp sgt i32 %13, 1 store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_9 LBL_4: %storemerge1 = load i64, i64* @gv_0, align 8 %15 = icmp eq i64 %storemerge1, 0 %16 = icmp eq i1 %15, false store i64 %storemerge1, i64* %storemerge3.reg2mem store i8 1, i8* %sv_0.12.reg2mem store i8 1, i8* %sv_0.2.reg2mem br i1 %16, label LBL_5, label LBL_8 LBL_5: %sv_0.12.reload = load i8, i8* %sv_0.12.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %17 = call i64 @FUNC(i64 %storemerge3.reload, i64 %4) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 1 %20 = icmp eq i1 %19, false %21 = icmp eq i64 %storemerge3.reload, %4 %or.cond = or i1 %21, %20 store i8 %sv_0.12.reload, i8* %sv_0.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %storemerge3.reload) %23 = trunc i64 %22 to i8 %24 = icmp eq i8 %23, 1 %25 = icmp eq i1 %24, false store i8 %23, i8* %sv_0.0.reg2mem store i8 %23, i8* %sv_0.2.reg2mem br i1 %25, label LBL_8, label LBL_7 LBL_7: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %26 = add i64 %storemerge3.reload, 8 %27 = inttoptr i64 %26 to i64* %storemerge = load i64, i64* %27, align 8 %28 = icmp eq i64 %storemerge, 0 %29 = icmp eq i1 %28, false store i64 %storemerge, i64* %storemerge3.reg2mem store i8 %sv_0.0.reload, i8* %sv_0.12.reg2mem store i8 %sv_0.0.reload, i8* %sv_0.2.reg2mem br i1 %29, label LBL_5, label LBL_8 LBL_8: %sv_0.2.reload = load i8, i8* %sv_0.2.reg2mem %30 = zext i8 %sv_0.2.reload to i64 store i64 %30, 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 %storemerge3.reload, { 3, 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i8 1, { 2, 3, 0, 1, 4 } uselistorder i64 (i64)* @__task_will_free_mem, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 4, 0, 1, 2, 3 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
show_object_6181
show_object
define i64 @FUNC(i64* %arg1, i8* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = ptrtoint i32* %arg3 to i64 %5 = call i64 @FUNC(i64 %3, i64 %2, i64 %4) %6 = trunc i64 %1 to i32 %7 = urem i32 %6, 2 %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_2, label LBL_1 LBL_1: %11 = load i64, i64* @gv_0, align 8 %12 = call i64 @FUNC(i64 %11, i64 %3, i64 %2) store i64 %12, 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 i32 %7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
findvararg_11166
findvararg
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) 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) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = trunc i64 %arg2 to i32 %12 = icmp slt i32 %10, %11 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = sext i32 %10 to i64 %15 = sub nsw i64 %13, %14 %16 = mul i64 %15, 8 %17 = add i64 %1, -8 %18 = add i64 %17, %16 store i64 %18, i64* %arg3, align 8 store i64 ptrtoint ([9 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
restore_fpu_state_18868
restore_fpu_state
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %.reg2mem2 = alloca i64 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 store i64 %0, i64* %.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i64, i64* @gv_1, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = and i64 %7, -3 store i64 %8, i64* %6, align 8 %.pre = load i64, i64* @gv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %9 = load i64, i64* @gv_2, align 8 %10 = icmp eq i64 %.reload, %9 %11 = icmp eq i1 %10, false store i64 %.reload, i64* %.reg2mem2 br i1 %11, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* @gv_2, align 8 %12 = load i64, i64* @gv_1, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = and i64 %14, -3 store i64 %15, i64* %13, align 8 %.pre1 = load i64, i64* @gv_0, align 8 store i64 %.pre1, i64* %.reg2mem2 br label LBL_4 LBL_4: %16 = ptrtoint i64* %arg2 to i64 %.reload3 = load i64, i64* %.reg2mem2 %17 = add i64 %.reload3, 4 %18 = inttoptr i64 %17 to i32* store i32 1, i32* %18, align 4 %19 = load i64, i64* @gv_0, align 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = and i32 %21, -2 store i32 %22, i32* %20, align 4 %23 = call i64 @FUNC(i64 0, i64 %16, i64 400) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 1, i64* %storemerge.reg2mem br i1 %25, label LBL_5, label LBL_8 LBL_5: %26 = ptrtoint i64* %arg1 to i64 %27 = call i64 @FUNC(i64 %26, i64 %16, i64 256) %28 = add i64 %16, 256 %29 = add i64 %26, 256 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %28) %33 = or i64 %32, %27 %34 = add i64 %16, 264 %35 = load i64, i64* @gv_0, align 8 %36 = add i64 %35, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39, i64 %34) %41 = or i64 %33, %40 %42 = load i64, i64* @gv_0, align 8 %43 = add i64 %42, 8 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = icmp eq i32 %45, 0 store i64 %41, i64* %sv_0.0.in.reg2mem br i1 %46, label LBL_7, label LBL_6 LBL_6: %47 = add i64 %16, 272 %48 = add i64 %42, 16 %49 = call i64 @FUNC(i64 %48, i64 %47, i64 256) %50 = or i64 %49, %41 store i64 %50, i64* %sv_0.0.in.reg2mem br label LBL_7 LBL_7: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %51 = and i64 %sv_0.0.in.reload, 4294967295 store i64 %51, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %41, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i64 %16, { 0, 1, 3, 2, 4 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem2, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @__get_user, { 1, 0 } uselistorder i64 (i64, i64, i64)* @__copy_from_user, { 1, 0 } uselistorder i64 256, { 0, 2, 3, 1 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
tpm_driver_find_by_type_2242
tpm_driver_find_by_type
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = mul i64 %arg1, 8 %1 = and i64 %0, 34359738360 %2 = add i64 %1, ptrtoint (i64* @gv_0 to i64) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 ret i64 %4 }
0
BinRealVul
kvm_has_msr_star_15549
kvm_has_msr_star
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem3 = alloca i32 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 %2, i32* %.reg2mem3 br i1 %4, label LBL_9, label LBL_1 LBL_1: store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 0, i32* %sv_0, align 4 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5, i64 0, i32* nonnull %sv_0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_10 LBL_2: %10 = bitcast i64* %rdi to i32* %11 = load i32, i32* %sv_0, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = add nsw i64 %13, 4100 %15 = icmp ugt i64 %14, 1024 %16 = select i1 %15, i64 %14, i64 1024 %17 = call i64 @FUNC(i64 %16) %18 = load i32, i32* %sv_0, align 4 %19 = inttoptr i64 %17 to i32* store i32 %18, i32* %19, align 4 %20 = load i32, i32* %10, align 8 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 0, i32* %19) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 br i1 %24, label LBL_8, label LBL_3 LBL_3: %25 = load i32, i32* %19, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_8, label LBL_4 LBL_4: %27 = add i64 %17, 4 %28 = zext i32 %25 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %29 = mul i64 %.reload, 4 %30 = add i64 %27, %29 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, -1073741695 %34 = icmp eq i1 %33, false br i1 %34, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_8 LBL_7: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %35 = add i32 %storemerge2.reload, 1 %36 = sext i32 %35 to i64 %37 = icmp slt i64 %36, %28 store i64 %36, i64* %.reg2mem store i32 %35, i32* %storemerge2.reg2mem br i1 %37, label LBL_5, label LBL_8 LBL_8: %38 = inttoptr i64 %17 to i64* call void @free(i64* %38) %.pre = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 %.pre, i32* %.reg2mem3 br label LBL_9 LBL_9: %.reload4 = load i32, i32* %.reg2mem3 %39 = icmp eq i32 %.reload4, 1 %. = zext i1 %39 to i64 store i64 %., 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 %17, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 (i64, i64, i32*)* @kvm_ioctl, { 1, 0 } uselistorder label LBL_8, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
init_volumes_7689
init_volumes
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.114.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %5, label LBL_16, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg3 to i64 %7 = bitcast i64* %rdi to i32* %8 = ptrtoint i32* %arg1 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* %11 = add i64 %8, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %8, 24 %14 = inttoptr i64 %13 to i64* %15 = add i64 %8, 12 %16 = inttoptr i64 %15 to i32* %17 = ptrtoint i32* %arg2 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge15.reg2mem store i32 0, i32* %sv_0.114.reg2mem br label LBL_2 LBL_2: %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %.reload = load i64, i64* %.reg2mem %18 = call i64 @FUNC() %19 = mul nsw i64 %.reload, 40 %20 = add i64 %19, %6 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem br i1 %26, label LBL_14, label LBL_3 LBL_3: %27 = call i64 @FUNC(i64 88, i64 0) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %29, label LBL_4, label LBL_20 LBL_4: %30 = inttoptr i64 %27 to i32* %31 = load i32, i32* %21, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i32 store i32 %34, i32* %30, align 4 %35 = add i64 %20, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i32 %41 = add i64 %27, 4 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = add i64 %20, 8 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = add i64 %27, 8 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 %51 = add i64 %20, 12 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 1 %55 = icmp eq i1 %54, false %. = select i1 %55, i32 2, i32 1 %56 = add i64 %27, 12 %57 = inttoptr i64 %56 to i32* store i32 %., i32* %57, align 4 %58 = add i64 %20, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %61) %63 = trunc i64 %62 to i32 %64 = add i64 %27, 16 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = load i32, i32* %10, align 4 %67 = load i32, i32* %50, align 4 %68 = sub i32 %66, %67 %69 = sext i32 %68 to i64 %70 = add i64 %27, 40 %71 = inttoptr i64 %70 to i64* store i64 %69, i64* %71, align 8 %72 = load i32, i32* %65, align 4 %73 = add i64 %20, 24 %74 = add i64 %27, 20 %75 = inttoptr i64 %74 to i64* %76 = inttoptr i64 %73 to i64* %77 = call i64* @memcpy(i64* %75, i64* %76, i32 %72) %78 = load i32, i32* %65, align 4 %79 = sext i32 %78 to i64 %80 = add i64 %74, %79 %81 = inttoptr i64 %80 to i8* store i8 0, i8* %81, align 1 %82 = add i64 %27, 48 %83 = inttoptr i64 %82 to i32* store i32 %storemerge15.reload, i32* %83, align 4 %84 = add i64 %20, 20 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = urem i32 %86, 2 %88 = icmp eq i32 %87, 0 br i1 %88, label LBL_8, label LBL_5 LBL_5: %89 = load i32, i32* %12, align 4 %90 = icmp eq i32 %89, -1 br i1 %90, label LBL_7, label LBL_6 LBL_6: %91 = zext i32 %89 to i64 %92 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %91, i32 %storemerge15.reload, i64 %73, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_20 LBL_7: store i32 %storemerge15.reload, i32* %12, align 4 br label LBL_8 LBL_8: %93 = load i64, i64* %14, align 8 %94 = mul i64 %.reload, 8 %95 = add i64 %93, %94 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = icmp eq i64 %97, 0 %99 = zext i1 %98 to i64 %100 = call i64 @FUNC(i64 %99) %101 = load i64, i64* %14, align 8 %102 = add i64 %101, %94 %103 = inttoptr i64 %102 to i64* store i64 %27, i64* %103, align 8 %104 = load i32, i32* %16, align 4 %105 = add i32 %104, 1 store i32 %105, i32* %16, align 4 %106 = add i64 %27, 80 %107 = inttoptr i64 %106 to i64* store i64 %8, i64* %107, align 8 %108 = load i32, i32* %30, align 4 %109 = add i32 %108, %sv_0.114.reload %110 = load i32, i32* %57, align 4 %111 = icmp eq i32 %110, 1 %112 = icmp eq i1 %111, false br i1 %112, label LBL_10, label LBL_9 LBL_9: %113 = add i64 %27, 52 %114 = inttoptr i64 %113 to i32* store i32 %108, i32* %114, align 4 %115 = load i64, i64* %71, align 8 %116 = trunc i64 %115 to i32 %117 = add i64 %27, 64 %118 = inttoptr i64 %117 to i32* store i32 %116, i32* %118, align 4 %119 = load i32, i32* %114, align 4 %120 = load i64, i64* %71, align 8 %121 = sext i32 %119 to i64 %122 = mul i64 %120, %121 %123 = add i64 %27, 56 %124 = inttoptr i64 %123 to i64* store i64 %122, i64* %124, align 8 store i32 %109, i32* %sv_0.0.reg2mem br label LBL_14 LBL_10: %125 = zext i32 %storemerge15.reload to i64 %126 = call i64 @FUNC(i64 %17, i64 %125) %127 = icmp eq i64 %126, 0 store i32 %109, i32* %sv_0.0.reg2mem br i1 %127, label LBL_14, label LBL_11 LBL_11: %128 = add i64 %126, 4 %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = add i64 %126, 8 %132 = inttoptr i64 %131 to i32* %133 = load i32, i32* %132, align 4 %134 = icmp eq i32 %133, %130 br i1 %134, label LBL_13, label LBL_12 LBL_12: %135 = inttoptr i64 %126 to i32* %136 = sub i32 %133, %130 %137 = load i32, i32* %135, align 4 %138 = zext i32 %137 to i64 %139 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %138, i32 %136, i64 %73, i64 %2, i64 %1) %140 = add i64 %27, 68 %141 = inttoptr i64 %140 to i32* store i32 1, i32* %141, align 4 store i32 %109, i32* %sv_0.0.reg2mem br label LBL_14 LBL_13: %142 = add i64 %27, 52 %143 = inttoptr i64 %142 to i32* store i32 %130, i32* %143, align 4 %144 = add i32 %130, -1 %145 = load i64, i64* %71, align 8 %146 = sext i32 %144 to i64 %147 = mul i64 %145, %146 %148 = add i64 %27, 56 %149 = inttoptr i64 %148 to i64* store i64 %147, i64* %149, align 8 %150 = add i64 %126, 12 %151 = inttoptr i64 %150 to i32* %152 = load i32, i32* %151, align 4 %153 = sext i32 %152 to i64 %154 = add i64 %147, %153 store i64 %154, i64* %149, align 8 %155 = load i32, i32* %151, align 4 %156 = add i64 %27, 64 %157 = inttoptr i64 %156 to i32* store i32 %155, i32* %157, align 4 store i32 %109, i32* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %158 = add i32 %storemerge15.reload, 1 %159 = load i32, i32* %7, align 8 %160 = zext i32 %159 to i64 %161 = sext i32 %158 to i64 %162 = icmp slt i64 %161, %160 store i64 %161, i64* %.reg2mem store i32 %158, i32* %storemerge15.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem br i1 %162, label LBL_2, label LBL_15 LBL_15: %phitmp = mul i64 %161, 8 store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %phitmp, i64* %.lcssa.reg2mem br label LBL_16 LBL_16: %163 = call i64 @FUNC(i64 88, i64 0) %164 = icmp eq i64 %163, 0 %165 = icmp eq i1 %164, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %165, label LBL_17, label LBL_20 LBL_17: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %166 = inttoptr i64 %163 to i32* store i32 1, i32* %166, align 4 %167 = add i64 %163, 4 %168 = inttoptr i64 %167 to i32* store i32 1, i32* %168, align 4 %169 = add i64 %163, 12 %170 = inttoptr i64 %169 to i32* store i32 1, i32* %170, align 4 %171 = add i64 %163, 16 %172 = inttoptr i64 %171 to i32* store i32 13, i32* %172, align 4 %173 = add i64 %163, 20 %174 = inttoptr i64 %173 to i64* %175 = call i64* @memcpy(i64* %174, i64* bitcast ([14 x i8]* @gv_2 to i64*), i32 14) %176 = ptrtoint i32* %arg1 to i64 %177 = add i64 %176, 4 %178 = inttoptr i64 %177 to i32* %179 = load i32, i32* %178, align 4 %180 = sext i32 %179 to i64 %181 = add i64 %163, 40 %182 = inttoptr i64 %181 to i64* store i64 %180, i64* %182, align 8 %183 = load i32, i32* %166, align 4 %184 = add i64 %163, 52 %185 = inttoptr i64 %184 to i32* store i32 %183, i32* %185, align 4 %186 = load i32, i32* %166, align 4 %187 = add i64 %163, 64 %188 = inttoptr i64 %187 to i32* store i32 %186, i32* %188, align 4 %189 = load i32, i32* %185, align 4 %190 = load i32, i32* %178, align 4 %191 = add i64 %163, 8 %192 = inttoptr i64 %191 to i32* %193 = load i32, i32* %192, align 4 %194 = sub i32 %190, %193 %195 = sext i32 %189 to i64 %196 = sext i32 %194 to i64 %197 = mul nsw i64 %196, %195 %198 = add i64 %163, 56 %199 = inttoptr i64 %198 to i64* store i64 %197, i64* %199, align 8 %200 = add i64 %163, 48 %201 = inttoptr i64 %200 to i32* store i32 0, i32* %201, align 4 %202 = add i64 %163, 72 %203 = inttoptr i64 %202 to i32* store i32 1, i32* %203, align 4 %204 = add i64 %176, 24 %205 = inttoptr i64 %204 to i64* %206 = load i64, i64* %205, align 8 %207 = add i64 %206, %.lcssa.reload %208 = inttoptr i64 %207 to i64* %209 = load i64, i64* %208, align 8 %210 = icmp eq i64 %209, 0 %211 = zext i1 %210 to i64 %212 = call i64 @FUNC(i64 %211) %213 = load i64, i64* %205, align 8 %214 = load i32, i32* %201, align 4 %215 = zext i32 %214 to i64 %216 = call i64 @FUNC(i64 %176, i64 %215) %sext = mul i64 %216, 4294967296 %217 = ashr exact i64 %sext, 29 %218 = add i64 %217, %213 %219 = inttoptr i64 %218 to i64* store i64 %163, i64* %219, align 8 %220 = load i32, i32* %166, align 4 %221 = add i32 %220, %sv_0.1.lcssa.reload %222 = add i64 %176, 12 %223 = inttoptr i64 %222 to i32* %224 = load i32, i32* %223, align 4 %225 = add i32 %224, 1 store i32 %225, i32* %223, align 4 %226 = add i64 %163, 80 %227 = inttoptr i64 %226 to i64* store i64 %176, i64* %227, align 8 %228 = add i64 %176, 16 %229 = inttoptr i64 %228 to i32* %230 = load i32, i32* %229, align 4 %231 = zext i32 %230 to i64 %232 = sext i32 %221 to i64 %233 = icmp sgt i64 %232, %231 br i1 %233, label LBL_18, label LBL_19 LBL_18: %234 = zext i32 %190 to i64 %235 = zext i32 %221 to i64 %236 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i64 %235, i32 %230, i64 %234, i64 %2, i64 %1) br label LBL_19 LBL_19: %237 = add i64 %176, 20 %238 = inttoptr i64 %237 to i32* %239 = load i32, i32* %238, align 4 %240 = add i32 %239, %221 store i32 %240, i32* %238, align 4 %241 = load i32, i32* %229, align 4 %242 = sub i32 %241, %221 store i32 %242, i32* %229, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %229, { 1, 0, 2 } uselistorder i32 %221, { 1, 0, 2, 3 } uselistorder i32 %190, { 1, 0 } uselistorder i64 %161, { 1, 0, 2 } uselistorder i32 %133, { 1, 0 } uselistorder i32 %130, { 1, 0, 3, 2 } uselistorder i64 %126, { 0, 3, 1, 2, 4 } uselistorder i32 %109, { 2, 1, 3, 0 } uselistorder i32 %108, { 1, 0 } uselistorder i64 %94, { 1, 0 } uselistorder i64 %73, { 1, 0, 2 } uselistorder i64* %71, { 2, 0, 1, 3 } uselistorder i64 %.reload, { 1, 0 } uselistorder i32 %storemerge15.reload, { 3, 2, 0, 4, 1 } uselistorder i32 %sv_0.114.reload, { 1, 0 } uselistorder i64 %8, { 1, 2, 3, 0, 4 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @ubi_assert, { 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @ubi_err, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @be32_to_cpu, { 3, 2, 1, 0 } uselistorder i64 12, { 0, 1, 2, 4, 5, 3 } uselistorder i64 24, { 0, 2, 1 } uselistorder i64 4, { 0, 1, 2, 4, 5, 3 } uselistorder label LBL_20, { 2, 1, 3, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 2, 3, 0, 4, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vhost_dev_stop_18276
vhost_dev_stop
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = ptrtoint i32* %arg1 to i64 br i1 %4, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %9 = load i64, i64* %7, align 8 %10 = add i64 %9, %.reload %11 = zext i32 %storemerge2.reload to i64 %12 = call i64 @FUNC(i64 %5, i64 %2, i64 %10, i64 %11) %13 = add i32 %storemerge2.reload, 1 %14 = sext i32 %13 to i64 %15 = icmp sgt i64 %8, %14 store i64 %14, i64* %.reg2mem store i32 %13, i32* %storemerge2.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_3: %16 = add i64 %5, 40 %17 = call i64 @FUNC(i64 %16, i64 0, i64 -1) %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %25 = and i64 %20, 4294967295 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %25) %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %28 = call i32 @fflush(%_IO_FILE* %27) call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) br label LBL_5 LBL_5: %29 = add i64 %5, 16 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %5, 24 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %5, 32 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %36, align 8 ret i64 %5 uselistorder i64 %5, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_native_type_cdr_length_6422
get_native_type_cdr_length
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 store i64 %arg1, i64* @0, align 8 store i64 1, i64* %sv_0.0.reg2mem switch i64 %arg1, label LBL_10 [ i64 12, label LBL_9 i64 11, label LBL_8 i64 10, label LBL_7 i64 3, label LBL_1 i64 4, label LBL_2 i64 5, label LBL_3 i64 6, label LBL_3 i64 7, label LBL_4 i64 8, label LBL_5 i64 9, label LBL_6 ] LBL_1: store i64 2, i64* %sv_0.0.reg2mem br label LBL_10 LBL_2: store i64 2, i64* %sv_0.0.reg2mem br label LBL_10 LBL_3: store i64 4, i64* %sv_0.0.reg2mem br label LBL_10 LBL_4: store i64 4, i64* %sv_0.0.reg2mem br label LBL_10 LBL_5: store i64 8, i64* %sv_0.0.reg2mem br label LBL_10 LBL_6: store i64 8, i64* %sv_0.0.reg2mem br label LBL_10 LBL_7: store i64 4, i64* %sv_0.0.reg2mem br label LBL_10 LBL_8: store i64 8, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: store i64 16, 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 i64* %sv_0.0.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i64 8, { 2, 1, 0, 3 } uselistorder i64 4, { 2, 1, 0, 3 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } }
0
BinRealVul
FillFirstShaper_9870
FillFirstShaper
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %xmm0.01.reg2mem = alloca i128 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %xmm0.01.reload = load i128, i128* %xmm0.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = call i128 @FUNC(i128 %xmm0.01.reload, i128 %xmm0.01.reload) %3 = trunc i64 %indvars.iv.reload to i32 %4 = call i128 @FUNC(i32 %3) %5 = call i128 @FUNC(i64 4643176031446892544) %6 = call i128 @FUNC(i128 %4, i128 %5) %7 = call i128 @FUNC(i128 %6) %8 = call i64 @FUNC(i128 %7) %9 = trunc i64 %8 to i32 %10 = call i128 @FUNC(i32 %9) %11 = call i128 @FUNC(i64 %0) %12 = call i32 @__asm_movd.2(i128 %11) %13 = call i128 @FUNC(i128 %5, i128 %5) %14 = call i128 @FUNC(i32 %12) %15 = call i128 @FUNC(i64 4670232813583204352) %16 = call i128 @FUNC(i128 %15, i128 %14) %17 = mul i64 %indvars.iv.reload, 4 %18 = add i64 %17, %1 %19 = call i32 @FUNC(i128 %16) %20 = inttoptr i64 %18 to i32* store i32 %19, i32* %20, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i128 %16, i128* %xmm0.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %21 = sext i32 %19 to i64 ret i64 %21 uselistorder i128 %5, { 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i128 %xmm0.01.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.01.reg2mem, { 1, 0 } }
0
BinRealVul
jsi_ArrayFillCmd_13044
jsi_ArrayFillCmd
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %rcx.4.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %rcx.33.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %rcx.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %4, 2 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg3 to i64 %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %7, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %8, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 %16, i64* %storemerge.reg2mem br label LBL_19 LBL_3: %17 = ptrtoint i64* %arg2 to i64 %18 = call i128 @FUNC(i128 %3, i128 %3) %19 = call i64 @FUNC(i128 %18) store i64 %19, i64* %sv_3, align 8 %20 = call i128 @FUNC(i128 %18, i128 %18) %21 = call i64 @FUNC(i128 %20) store i64 %21, i64* %sv_2, align 8 %22 = call i64 @FUNC(i64 %8, i64 %17, i64 0) %23 = call i64 @FUNC(i64 %8, i64 %17, i64 1) %24 = call i64 @FUNC(i64 %8, i64 %17, i64 2) %25 = load i64, i64* %10, align 8 %26 = call i64 @FUNC(i64 %8, i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i64 %23, 0 store i32 0, i32* %sv_1.1.reg2mem store i64 %17, i64* %rcx.0.reg2mem br i1 %28, label LBL_7, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %8, i64 %23, i64* nonnull %sv_3) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i32 0, i32* %sv_1.1.reg2mem store i64 %23, i64* %rcx.0.reg2mem br i1 %32, label LBL_7, label LBL_5 LBL_5: %33 = load i64, i64* %sv_3, align 8 %34 = call i128 @__asm_movsd.1(i64 %33) %35 = call i32 @FUNC(i128 %34) %36 = icmp sgt i32 %35, %27 store i64 %23, i64* %rcx.4.reg2mem br i1 %36, label LBL_17, label LBL_6 LBL_6: %37 = icmp slt i32 %35, 0 %38 = icmp eq i1 %37, false %39 = select i1 %38, i32 0, i32 %27 %spec.select = add i32 %39, %35 %40 = icmp slt i32 %spec.select, 0 store i32 %spec.select, i32* %sv_1.1.reg2mem store i64 %23, i64* %rcx.0.reg2mem store i64 %23, i64* %rcx.4.reg2mem br i1 %40, label LBL_17, label LBL_7 LBL_7: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %41 = icmp eq i32 %27, 0 store i64 %rcx.0.reload, i64* %rcx.4.reg2mem br i1 %41, label LBL_17, label LBL_8 LBL_8: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %42 = add i32 %27, -1 %43 = icmp eq i64 %24, 0 store i32 %42, i32* %sv_0.2.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %43, label LBL_11, label LBL_9 LBL_9: %44 = call i64 @FUNC(i64 %8, i64 %24, i64* nonnull %sv_2) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i32 %42, i32* %sv_0.2.reg2mem store i64 %24, i64* %rcx.1.reg2mem br i1 %47, label LBL_11, label LBL_10 LBL_10: %48 = load i64, i64* %sv_2, align 8 %49 = call i128 @__asm_movsd.1(i64 %48) %50 = call i32 @FUNC(i128 %49) %51 = icmp slt i32 %50, %27 %spec.select2 = select i1 %51, i32 %50, i32 %42 %52 = icmp slt i32 %spec.select2, 0 %53 = icmp eq i1 %52, false %54 = select i1 %53, i32 0, i32 %27 %sv_0.1 = add i32 %54, %spec.select2 %55 = icmp slt i32 %sv_0.1, 0 store i32 %sv_0.1, i32* %sv_0.2.reg2mem store i64 %24, i64* %rcx.1.reg2mem store i64 %24, i64* %rcx.4.reg2mem br i1 %55, label LBL_17, label LBL_11 LBL_11: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %56 = sub i32 1, %sv_1.1.reload %57 = add i32 %56, %sv_0.2.reload %58 = icmp slt i32 %57, 1 %59 = icmp sgt i32 %sv_1.1.reload, %sv_0.2.reload %or.cond = or i1 %59, %58 store i64 %rcx.1.reload, i64* %rcx.4.reg2mem br i1 %or.cond, label LBL_17, label LBL_12 LBL_12: %60 = inttoptr i64 %25 to i64* store i32 %sv_1.1.reload, i32* %storemerge14.reg2mem store i64 %rcx.1.reload, i64* %rcx.33.reg2mem br label LBL_13 LBL_13: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %61 = load i64, i64* %60, align 8 %62 = sext i32 %storemerge14.reload to i64 %63 = mul i64 %62, 8 %64 = add i64 %61, %63 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = icmp eq i64 %66, 0 br i1 %67, label LBL_15, label LBL_14 LBL_14: %68 = call i64 @FUNC(i64 %8, i64 %66, i64 %22) store i64 %66, i64* %rcx.2.reg2mem br label LBL_16 LBL_15: %rcx.33.reload = load i64, i64* %rcx.33.reg2mem %69 = call i64 @FUNC(i64 %8, i64 %22) store i64 %69, i64* %65, align 8 store i64 %rcx.33.reload, i64* %rcx.2.reg2mem br label LBL_16 LBL_16: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %70 = add i32 %storemerge14.reload, 1 %71 = icmp sgt i32 %70, %sv_0.2.reload store i32 %70, i32* %storemerge14.reg2mem store i64 %rcx.2.reload, i64* %rcx.33.reg2mem store i64 %rcx.2.reload, i64* %rcx.4.reg2mem br i1 %71, label LBL_17, label LBL_13 LBL_17: %rcx.4.reload = load i64, i64* %rcx.4.reg2mem %72 = icmp eq i64 %rcx.4.reload, %7 store i64 0, i64* %storemerge.reg2mem br i1 %72, label LBL_19, label LBL_18 LBL_18: %73 = call i64 @FUNC(i64 %8, i64 %rcx.4.reload, i64 %7) store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.2.reload, { 0, 2, 1 } uselistorder i64 %rcx.1.reload, { 1, 0 } uselistorder i32 %42, { 2, 0, 1 } uselistorder i64 %rcx.0.reload, { 1, 0 } uselistorder i32 %27, { 0, 3, 5, 4, 1, 2 } uselistorder i64 %24, { 0, 1, 2, 4, 3 } uselistorder i64 %23, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %22, { 1, 0 } uselistorder i128 %18, { 2, 1, 0 } uselistorder i64 %17, { 0, 3, 2, 1 } uselistorder i64 %8, { 4, 3, 2, 1, 0, 5, 8, 7, 6, 9 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.33.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.4.reg2mem, { 0, 1, 5, 4, 6, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64*)* @Jsi_GetNumberFromValue, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64, i64, i64)* @Jsi_ValueArrayIndex, { 2, 1, 0 } uselistorder i32 0, { 4, 2, 5, 6, 7, 8, 3, 9, 0, 10, 1, 11 } uselistorder label LBL_19, { 1, 0, 2 } uselistorder label LBL_13, { 1, 0 } }
1