dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
yuv_a_to_rgba_3472
yuv_a_to_rgba
define i64 @FUNC(i32* %arg1, i16* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32* %sv_1.04.reg2mem = alloca i16* %sv_2.05.reg2mem = alloca i64 %xmm1.06.reg2mem = alloca i128 %xmm2.07.reg2mem = alloca i128 %storemerge8.reg2mem = alloca i32 %0 = zext i32 %arg4 to i64 %1 = icmp eq i32 %arg4, 0 %2 = icmp slt i32 %arg4, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 store i64 %0, i64* %rax.0.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = ptrtoint i64* %arg3 to i64 store i32 %arg4, i32* %storemerge8.reg2mem store i64 %6, i64* %sv_2.05.reg2mem store i16* %arg2, i16** %sv_1.04.reg2mem store i32* %arg1, i32** %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i32*, i32** %sv_0.03.reg2mem %sv_1.04.reload = load i16*, i16** %sv_1.04.reg2mem %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem %xmm1.06.reload = load i128, i128* %xmm1.06.reg2mem %xmm2.07.reload = load i128, i128* %xmm2.07.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %7 = ptrtoint i32* %sv_0.03.reload to i64 %8 = add i64 %7, 1 %9 = bitcast i32* %sv_0.03.reload to i8* %10 = load i8, i8* %9, align 1 %11 = add i64 %7, 2 %12 = inttoptr i64 %8 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i32 %15 = add i64 %7, 3 %16 = inttoptr i64 %15 to i32* %17 = inttoptr i64 %11 to i8* %18 = load i8, i8* %17, align 1 %19 = zext i8 %18 to i32 %20 = add nsw i32 %14, -128 %21 = call i128 @FUNC(i128 %xmm1.06.reload, i128 %xmm1.06.reload) %22 = call i128 @FUNC(i32 %20) %23 = call i128 @FUNC(i64 4608992865850220347) %24 = call i128 @FUNC(i128 %23, i128 %22) %25 = call i32 @FUNC(i128 %24) %26 = add nsw i32 %19, -128 %27 = call i128 @FUNC(i128 %22, i128 %22) %28 = call i128 @FUNC(i32 %26) %29 = call i128 @FUNC(i64 -4623501013891410796) %30 = call i128 @FUNC(i128 %28, i128 %29) %31 = call i128 @FUNC(i128 %xmm2.07.reload, i128 %xmm2.07.reload) %32 = call i128 @FUNC(i32 %20) %33 = call i128 @FUNC(i64 -4618764452062515679) %34 = call i128 @FUNC(i128 %33, i128 %32) %35 = call i128 @FUNC(i128 %34, i128 %30) %36 = call i32 @FUNC(i128 %35) %37 = call i128 @FUNC(i128 %30, i128 %30) %38 = call i128 @FUNC(i32 %26) %39 = call i128 @FUNC(i64 4610659197712347431) %40 = call i128 @FUNC(i128 %39, i128 %38) %41 = call i32 @FUNC(i128 %40) %42 = trunc i32 %25 to i8 %43 = add i8 %10, %42 %44 = trunc i32 %36 to i8 %45 = add i8 %10, %44 %46 = trunc i32 %41 to i8 %47 = add i8 %10, %46 %48 = ptrtoint i16* %sv_1.04.reload to i64 %49 = add i64 %48, 1 %50 = inttoptr i64 %49 to i16* %51 = bitcast i16* %sv_1.04.reload to i8* %52 = load i8, i8* %51, align 1 %53 = zext i8 %52 to i32 %54 = mul i32 %53, 16777216 %55 = zext i8 %43 to i32 %56 = mul i32 %55, 65536 %57 = zext i8 %45 to i32 %58 = mul i32 %57, 256 %59 = add i64 %sv_2.05.reload, 4 %60 = zext i8 %47 to i32 %61 = or i32 %58, %56 %62 = or i32 %61, %54 %63 = or i32 %62, %60 %64 = inttoptr i64 %sv_2.05.reload to i32* store i32 %63, i32* %64, align 4 %65 = add i32 %storemerge8.reload, -1 %66 = icmp eq i32 %65, 0 %67 = icmp slt i32 %65, 0 %68 = icmp eq i1 %67, false %69 = icmp eq i1 %66, false %70 = icmp eq i1 %68, %69 store i32 %65, i32* %storemerge8.reg2mem store i128 %32, i128* %xmm2.07.reg2mem store i128 %38, i128* %xmm1.06.reg2mem store i64 %59, i64* %sv_2.05.reg2mem store i16* %50, i16** %sv_1.04.reg2mem store i32* %16, i32** %sv_0.03.reg2mem store i64 %sv_2.05.reload, i64* %rax.0.lcssa.reg2mem br i1 %70, label LBL_2, label LBL_3 LBL_3: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i128 %30, { 2, 1, 0 } uselistorder i128 %22, { 2, 1, 0 } uselistorder i64 %7, { 2, 1, 0 } uselistorder i128 %xmm2.07.reload, { 1, 0 } uselistorder i128 %xmm1.06.reload, { 1, 0 } uselistorder i16* %sv_1.04.reload, { 1, 0 } uselistorder i32* %sv_0.03.reload, { 1, 0 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm2.07.reg2mem, { 1, 0 } uselistorder i128* %xmm1.06.reg2mem, { 1, 0 } uselistorder i64* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i16** %sv_1.04.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 3, 2, 0, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vips_foreign_load_temp_9004
vips_foreign_load_temp
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() store i64 %6, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = and i32 %3, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = add i64 %7, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 3 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC() store i64 %14, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %.pre = add i64 %7, 12 %.pre1 = inttoptr i64 %.pre to i32* br i1 %19, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* %.pre1, align 4 br label LBL_9 LBL_7: %.pre3 = load i32, i32* %.pre1, align 4 %phitmp = icmp eq i32 %.pre3, 0 %20 = icmp ult i64 %2, 1048576 %or.cond = icmp eq i1 %20, %phitmp br i1 %or.cond, label LBL_8, label LBL_9 LBL_8: %21 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) store i64 %21, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %22 = call i64 @FUNC() store i64 %22, 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 %7, { 0, 2, 1 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 1048576, { 1, 0 } uselistorder i64 ()* @vips_image_new, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
nbd_negotiate_handle_list_12768
nbd_negotiate_handle_list
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_1, label LBL_2 LBL_1: %storemerge2 = load i64, i64* @gv_0, align 8 %3 = icmp eq i64 %storemerge2, 0 %4 = icmp eq i1 %3, false store i64 %storemerge2, i64* %storemerge3.reg2mem br i1 %4, label LBL_4, label LBL_6 LBL_2: %5 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_7 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 %10, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %11 = call i64 @FUNC(i64 %0, i64 %storemerge3.reload) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_7 LBL_5: %14 = inttoptr i64 %storemerge3.reload to i64* %storemerge = load i64, i64* %14, align 8 %15 = icmp eq i64 %storemerge, 0 %16 = icmp eq i1 %15, false store i64 %storemerge, i64* %storemerge3.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64 %0, i64 0, i64 2) store i64 %17, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
qemu_opts_from_qdict_16944
qemu_opts_from_qdict
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %1, i64 %2, i64 1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 4198795, i64 %3) store i64 %3, 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
update_sse_status_15502
update_sse_status
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i32 %2, 12 store i64 0, i64* %sv_0.0.reg2mem switch i32 %3, label LBL_4 [ i32 12, label LBL_3 i32 4, label LBL_1 i32 8, label LBL_2 ] LBL_1: store i64 1, i64* %sv_0.0.reg2mem br label LBL_4 LBL_2: store i64 2, i64* %sv_0.0.reg2mem br label LBL_4 LBL_3: store i64 3, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 4 %6 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %5) %7 = udiv i64 %1, 32 %8 = urem i64 %7, 2 %9 = call i64 @FUNC(i64 %8, i64 %5) %10 = add i64 %4, 8 %11 = udiv i64 %1, 16 %12 = urem i64 %11, 2 %13 = call i64 @FUNC(i64 %12, i64 %10) ret i64 %13 uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
1
BinRealVul
nfs_idmap_legacy_upcall_18423
nfs_idmap_legacy_upcall
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 8, i64 0) %1 = icmp eq i64 %0, 0 store i32 -12, i32* %sv_0.1.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = inttoptr i64 %0 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 8, i64 %2, i64 %0, i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i32 %5, i32* %sv_0.0.reg2mem br i1 %6, label LBL_5, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %2, i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i32 -11, i32* %sv_0.0.reg2mem br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %11, i32* %storemerge.in.reg2mem br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = and i64 %10, 4294967295 %15 = call i64 @FUNC(i64 %2, i64 %14) store i32 %11, i32* %storemerge.in.reg2mem br label LBL_7 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %16 = call i64 @FUNC(i64 %0) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %17 = ptrtoint i64* %arg1 to i64 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %18 = zext i32 %sv_0.1.reload to i64 %19 = call i64 @FUNC(i64 %17, i64 %18) store i32 %sv_0.1.reload, i32* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %11, { 1, 0, 2 } uselistorder i64 %0, { 3, 0, 1, 2, 4, 5, 6, 7 } uselistorder i32* %storemerge.in.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ldb_dn_get_parent_9813
ldb_dn_get_parent
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
logi_dj_reset_resume_9395
logi_dj_reset_resume
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %6) br label LBL_2 LBL_2: ret i64 0 }
0
BinRealVul
usb_ehci_post_load_9341
usb_ehci_post_load
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 8 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_5, label LBL_2 LBL_2: %7 = mul i64 %indvars.iv.reload, 4 %8 = add i64 %1, %7 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = urem i32 %10, 2 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %3, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %5 to i64* store i64 %15, i64* %16, align 8 br label LBL_5 LBL_4: %17 = inttoptr i64 %5 to i64* store i64 0, i64* %17, align 8 br label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_1 LBL_6: ret i64 0 uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
dvdsub_close_3065
dvdsub_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = bitcast i64* %arg1 to i32* store i32 0, i32* %0, align 4 ret i64 0 }
0
BinRealVul
gup_huge_pud_11725
gup_huge_pud
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = zext i32 %arg5 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %5 = ptrtoint i64* %arg6 to i64 %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = ptrtoint i32* %arg7 to i64 %11 = call i64 @FUNC(i64 %arg1, i64 %9, i64 %arg3, i64 %arg4, i64 %5, i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %12 = call i64 @FUNC(i64 %arg1) %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_2.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i64 %12, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.reload = load i32, i32* %.reg2mem %13 = sext i32 %.reload to i64 %14 = mul i64 %13, 8 %15 = add i64 %14, %5 %16 = inttoptr i64 %15 to i64* store i64 %sv_1.0.reload, i64* %16, align 8 %17 = load i32, i32* %arg7, align 4 %18 = add i32 %17, 1 store i32 %18, i32* %arg7, align 4 %19 = add i64 %sv_1.0.reload, 4 %20 = add i32 %sv_0.0.reload, 1 %21 = add i64 %sv_2.0.reload, 4096 %22 = icmp eq i64 %21, %arg4 %23 = icmp eq i1 %22, false store i32 %18, i32* %.reg2mem store i64 %21, i64* %sv_2.0.reg2mem store i32 %20, i32* %sv_0.0.reg2mem store i64 %19, i64* %sv_1.0.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %arg1) %25 = call i64 @FUNC(i64 %24) %26 = zext i32 %20 to i64 %27 = call i64 @FUNC(i64 %25, i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = load i32, i32* %arg7, align 4 %32 = sub i32 %31, %20 store i32 %32, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %33 = call i64 @FUNC(i64 %arg1) %34 = call i64 @FUNC(i64 %26) %35 = icmp eq i64 %33, %34 %36 = icmp eq i1 %35, false %37 = icmp eq i1 %36, false br i1 %37, label LBL_10, label LBL_8 LBL_8: %38 = load i32, i32* %arg7, align 4 %39 = sub i32 %38, %20 store i32 %39, i32* %arg7, align 4 %40 = icmp eq i32 %20, 0 %41 = icmp eq i1 %40, false store i32 %20, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_9, label LBL_11 LBL_9: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %42 = add i32 %sv_0.12.reload, -1 %43 = call i64 @FUNC(i64 %25) %44 = icmp eq i32 %42, 0 %45 = icmp eq i1 %44, false store i32 %42, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_9, label LBL_11 LBL_10: %46 = call i64 @FUNC(i64 %25) store i64 1, 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 %25, { 1, 0, 2 } uselistorder i32 %20, { 0, 5, 3, 2, 4, 1 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64)* @pud_val, { 1, 0 } uselistorder i64 (i64)* @pud_page, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %arg7, { 5, 4, 3, 2, 7, 6, 0, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_11, { 3, 0, 1, 4, 5, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
BorderSizeNotEmpty_8571
BorderSizeNotEmpty
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i32* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_5, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %0) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %7, i64* %rdi.02.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %11 = mul i64 %indvars.iv.reload, 8 %12 = add i64 %11, %rdi.02.reload %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_5 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %18 = icmp ult i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %14, i64* %rdi.02.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 5 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 (i64)* @RegionNotEmpty, { 1, 0 } uselistorder label LBL_5, { 0, 1, 3, 2, 4 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
i2c_pxa_wait_bus_not_busy_18363
i2c_pxa_wait_bus_not_busy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 store i32 99, i32* %.reg2mem store i32 100, i32* %sv_0.11.reg2mem br label LBL_2 LBL_1: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %3, 4 %5 = icmp eq i64 %4, 0 %6 = add i32 %sv_0.11.reload, 3 %spec.select = select i1 %5, i32 %.reload, i32 %6 %7 = call i64 @FUNC(i64 2) %8 = call i64 @FUNC(i64 %0) %9 = add i32 %spec.select, -1 %10 = icmp eq i32 %spec.select, 0 store i32 %9, i32* %.reg2mem store i32 %spec.select, i32* %sv_0.11.reg2mem store i32 -1, i32* %.lcssa.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %11 = call i64 @FUNC(i64 %0) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = urem i64 %13, 4 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i32 %.reload, i32* %.lcssa.reg2mem br i1 %16, label LBL_1, label LBL_3 LBL_3: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %17 = icmp eq i32 %.lcssa.reload, 0 %18 = icmp slt i32 %.lcssa.reload, 0 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %17, false %21 = icmp eq i1 %19, %20 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %0) br label LBL_5 LBL_5: %. = select i1 %21, i64 0, i64 4294967295 ret i64 %. uselistorder i32 %.lcssa.reload, { 1, 0 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__glXDisp_CreatePixmap_8875
__glXDisp_CreatePixmap
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %3 = trunc i64 %2 to i32 %4 = and i64 %1, 4294967295 %5 = bitcast i32* %sv_2 to i64* %6 = call i64 @FUNC(i64 %4, i32 %3, i64* nonnull %sv_1, i64* nonnull %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load i32, i32* %sv_2, align 4 store i32 %10, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_2: %11 = add i64 %arg2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %4, i64 %14, i32 %13, i64* nonnull %sv_0, i64* nonnull %5) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = load i32, i32* %sv_2, align 4 store i32 %19, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_4: %20 = add i64 %arg2, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %arg2, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = load i64, i64* %sv_0, align 8 %27 = load i64, i64* %sv_1, align 8 %28 = zext i32 %22 to i64 %29 = call i64 @FUNC(i64 %4, i64 %27, i64 %26, i32 %25, i64 %28) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_2, align 4 %31 = icmp eq i32 %30, 0 store i32 %30, i32* %rax.0.shrunk.reg2mem br i1 %31, label LBL_5, label LBL_6 LBL_5: %32 = add i64 %arg2, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %arg2, 20 %36 = load i32, i32* %21, align 4 %37 = zext i32 %34 to i64 %38 = call i64 @FUNC(i64 %4, i32 %36, i64 %35, i64 %37) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_6: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %4, { 3, 2, 1, 0 } uselistorder i32* %sv_2, { 2, 1, 0, 3 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 0, 2, 3 } }
0
BinRealVul
binder_vma_close_17564
binder_vma_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 32 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = sub i64 %10, %6 %12 = udiv i64 %11, 1024 %13 = inttoptr i64 %3 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %10, i64 %10, i64 %12) %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i64* store i64 0, i64* %18, align 8 %19 = call i64 @FUNC(i64 %3, i64 2) ret i64 %19 }
1
BinRealVul
settings_init_11680
settings_init
define i64 @FUNC() local_unnamed_addr { LBL_0: store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 store i32 448, i32* bitcast (i64* @gv_1 to i32*), align 8 store i32 11211, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 11211, i32* bitcast (i64* @gv_3 to i32*), align 8 store i64 0, i64* @gv_4, align 8 store i64 67108864, i64* @gv_5, align 8 store i32 1024, i32* bitcast (i64* @gv_6 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_7 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_9 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_10 to i32*), align 8 store i64 0, i64* @gv_11, align 8 %0 = call i128 @FUNC(i64 4608308318706860032) %1 = call i64 @__asm_movsd.1(i128 %0) store i64 %1, i64* @gv_12, align 8 store i64 48, i64* @gv_13, align 8 store i32 4, i32* bitcast (i64* @gv_14 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_15 to i32*), align 8 store i8 58, i8* bitcast (i64* @gv_16 to i8*), align 8 store i32 0, i32* bitcast (i64* @gv_17 to i32*), align 8 store i32 20, i32* bitcast (i64* @gv_18 to i32*), align 8 store i32 1024, i32* bitcast (i64* @gv_19 to i32*), align 8 %2 = load i32, i32* @gv_20, align 4 store i32 %2, i32* bitcast (i64* @gv_21 to i32*), align 8 store i64 1048576, i64* @gv_22, align 8 store i64 1048576, i64* @gv_23, align 8 store i64 524288, i64* @gv_24, align 8 store i8 0, i8* bitcast (i64* @gv_25 to i8*), align 8 store i8 1, i8* bitcast (i64* @gv_26 to i8*), align 8 store i8 0, i8* bitcast (i64* @gv_27 to i8*), align 8 store i32 100, i32* bitcast (i64* @gv_28 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_29 to i32*), align 8 store i8 0, i8* bitcast (i64* @gv_30 to i8*), align 8 store i8 1, i8* bitcast (i64* @gv_31 to i8*), align 8 store i32 20, i32* bitcast (i64* @gv_32 to i32*), align 8 store i32 40, i32* bitcast (i64* @gv_33 to i32*), align 8 %3 = call i128 @FUNC(i64 4596373779694328218) %4 = call i64 @__asm_movsd.1(i128 %3) store i64 %4, i64* @gv_34, align 8 %5 = call i128 @FUNC(i64 4611686018427387904) %6 = call i64 @__asm_movsd.1(i128 %5) store i64 %6, i64* @gv_35, align 8 store i8 0, i8* bitcast (i64* @gv_36 to i8*), align 8 store i8 0, i8* bitcast (i64* @gv_37 to i8*), align 8 store i32 61, i32* bitcast (i64* @gv_38 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_39 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_40 to i32*), align 8 store i8 1, i8* bitcast (i64* @gv_41 to i8*), align 8 store i32 1, i32* bitcast (i64* @gv_42 to i32*), align 8 %7 = call i128 @FUNC(i64 4605380978949069210) %8 = call i64 @__asm_movsd.1(i128 %7) store i64 %8, i64* @gv_43, align 8 store i32 30, i32* bitcast (i64* @gv_44 to i32*), align 8 store i8 0, i8* bitcast (i64* @gv_45 to i8*), align 8 store i32 60, i32* bitcast (i64* @gv_46 to i32*), align 8 store i8 1, i8* bitcast (i64* @gv_47 to i8*), align 8 store i8 1, i8* bitcast (i64* @gv_48 to i8*), align 8 store i32 1000, i32* bitcast (i64* @gv_49 to i32*), align 8 store i32 1024, i32* bitcast (i64* @gv_50 to i32*), align 8 store i32 1024, i32* bitcast (i64* @gv_51 to i32*), align 8 store i8 1, i8* bitcast (i64* @gv_52 to i8*), align 8 store i8 0, i8* bitcast (i64* @gv_53 to i8*), align 8 ret i64 524288 uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } }
1
BinRealVul
qemu_chr_open_pipe_1480
qemu_chr_open_pipe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %5 = call i32 @fwrite(i64* bitcast ([34 x i8]* @gv_2 to i64*), i32 1, i32 33, %_IO_FILE* %4) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = inttoptr i64 %1 to i8* %7 = bitcast i64* %sv_1 to i8* %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %7, i32 256, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* %6) %9 = bitcast i64* %sv_0 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* %6) %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 2) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 2) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %19 = and i64 %15, 4294967295 %20 = and i64 %11, 4294967295 %21 = call i64 @FUNC(i64 %20, i64 %19) store i64 %21, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %6, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder void (i8*)* @perror, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i64 (i64*, i64)* @qemu_open, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } }
0
BinRealVul
dns_add_rr_nested_memcpy_6888
dns_add_rr_nested_memcpy
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i64 %arg2, 0 %or.cond = or i1 %0, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) %11 = icmp sgt i64 %2, %10 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = inttoptr i64 %arg2 to i64* %13 = call i64* @memcpy(i64* nonnull %arg1, i64* %12, i32 %3) %14 = add i64 %2, %9 store i64 %14, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 1, 3, 2 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
0
BinRealVul
btr_estimate_number_of_different_key_vals_7742
btr_estimate_number_of_different_key_vals
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge16.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %storemerge38.reg2mem = alloca i64 %sv_2.114.reg2mem = alloca i64 %sv_1.115.reg2mem = alloca i64 %storemerge216.reg2mem = alloca i64 %storemerge417.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %1, 8 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3) store i64 0, i64* %storemerge417.reg2mem br label LBL_1 LBL_1: %storemerge417.reload = load i64, i64* %storemerge417.reg2mem %5 = mul i64 %storemerge417.reload, 8 %6 = add i64 %5, %4 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = add i64 %storemerge417.reload, 1 %9 = icmp ugt i64 %8, %1 store i64 %8, i64* %storemerge417.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_2: %10 = add i64 %4, %2 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %storemerge216.reg2mem store i64 0, i64* %sv_1.115.reg2mem store i64 0, i64* %sv_2.114.reg2mem br label LBL_3 LBL_3: %sv_2.114.reload = load i64, i64* %sv_2.114.reg2mem %sv_1.115.reload = load i64, i64* %sv_1.115.reg2mem %storemerge216.reload = load i64, i64* %storemerge216.reg2mem %12 = call i64 @FUNC(i64* nonnull %sv_5) %13 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %sv_4, i64* nonnull %sv_5) %14 = call i64 @FUNC(i64* nonnull %sv_4) store i64 %14, i64* %sv_4, align 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %15) %17 = load i64, i64* %sv_4, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %sv_4, align 8 %20 = call i64 @FUNC(i64 %19) %21 = icmp eq i64 %16, %20 store i64 %16, i64* %sv_0.010.reg2mem store i64 %sv_1.115.reload, i64* %sv_1.09.reg2mem store i64 %sv_1.115.reload, i64* %sv_1.0.lcssa.reg2mem store i64 %16, i64* %sv_0.0.lcssa.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_4: store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_5, align 8 %22 = call i64 @FUNC(i64 %sv_0.010.reload) %23 = call i64 @FUNC(i64 %sv_0.010.reload, i64 %22, i64 %0, i64* nonnull %sv_3, i64* nonnull %sv_5) %24 = load i64, i64* %sv_3, align 8 %storemerge37 = add i64 %24, 1 %25 = icmp ugt i64 %storemerge37, %1 store i64 %storemerge37, i64* %storemerge38.reg2mem br i1 %25, label LBL_6, label LBL_5 LBL_5: %storemerge38.reload = load i64, i64* %storemerge38.reg2mem %26 = mul i64 %storemerge38.reload, 8 %27 = add i64 %26, %4 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, 1 store i64 %30, i64* %28, align 8 %storemerge3 = add i64 %storemerge38.reload, 1 %31 = icmp ugt i64 %storemerge3, %1 store i64 %storemerge3, i64* %storemerge38.reg2mem br i1 %31, label LBL_6, label LBL_5 LBL_6: %32 = call i64 @FUNC(i64 %sv_0.010.reload) %33 = add i64 %32, %sv_1.09.reload %34 = call i64 @FUNC(i64 %sv_0.010.reload) %35 = load i64, i64* %sv_4, align 8 %36 = call i64 @FUNC(i64 %35) %37 = icmp eq i64 %34, %36 store i64 %34, i64* %sv_0.010.reg2mem store i64 %33, i64* %sv_1.09.reg2mem store i64 %33, i64* %sv_1.0.lcssa.reg2mem store i64 %34, i64* %sv_0.0.lcssa.reg2mem br i1 %37, label LBL_8, label LBL_7 LBL_7: %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %38 = call i64 @FUNC(i64 %sv_0.010.reload) %39 = load i64, i64* %sv_4, align 8 %40 = call i64 @FUNC(i64 %39) %41 = icmp eq i64 %38, %40 %42 = icmp eq i1 %41, false store i64 %sv_1.09.reload, i64* %sv_1.0.lcssa.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %42, label LBL_4, label LBL_8 LBL_8: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %43 = call i64 @FUNC(i64 %0) %44 = icmp eq i64 %1, %43 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = load i64, i64* %11, align 8 %47 = add i64 %46, 1 store i64 %47, i64* %11, align 8 br label LBL_10 LBL_10: %48 = icmp eq i64 %16, %18 %spec.select5 = select i1 %48, i64 %sv_2.114.reload, i64 1 %49 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload) %50 = add i64 %49, %sv_1.0.lcssa.reload %51 = call i64 @FUNC(i64* nonnull %sv_5) %52 = add nuw nsw i64 %storemerge216.reload, 1 %exitcond = icmp eq i64 %52, 10 store i64 %52, i64* %storemerge216.reg2mem store i64 %50, i64* %sv_1.115.reg2mem store i64 %spec.select5, i64* %sv_2.114.reg2mem br i1 %exitcond, label LBL_11, label LBL_3 LBL_11: %53 = ptrtoint i64* %sv_5 to i64 %54 = add i64 %spec.select5, 9 %55 = add i64 %54, %50 %56 = add i64 %50, 10 %57 = add i64 %0, 8 %58 = inttoptr i64 %57 to i64* %59 = mul i64 %50, 10 %60 = add i64 %59, 100 %61 = udiv i64 %53, %60 %62 = icmp ult i64 %61, 10 %spec.select = select i1 %62, i64 %61, i64 10 store i64 0, i64* %storemerge16.reg2mem br label LBL_12 LBL_12: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %63 = mul i64 %storemerge16.reload, 8 %64 = add i64 %63, %4 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = mul i64 %66, %53 %68 = add i64 %55, %67 %69 = udiv i64 %68, %56 %70 = load i64, i64* %58, align 8 %71 = add i64 %70, %63 %72 = inttoptr i64 %71 to i64* store i64 %69, i64* %72, align 8 %73 = load i64, i64* %58, align 8 %74 = add i64 %73, %63 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = add i64 %76, %spec.select store i64 %77, i64* %75, align 8 %78 = add i64 %storemerge16.reload, 1 %79 = icmp ugt i64 %78, %1 store i64 %78, i64* %storemerge16.reg2mem br i1 %79, label LBL_13, label LBL_12 LBL_13: %80 = call i64 @FUNC(i64 %4) ret i64 %80 uselistorder i64 %63, { 2, 1, 0 } uselistorder i64 %50, { 2, 3, 1, 0 } uselistorder i64 %spec.select5, { 1, 0 } uselistorder i64 %sv_0.010.reload, { 0, 5, 3, 4, 1, 2 } uselistorder i64 %16, { 3, 0, 1, 2 } uselistorder i64 %4, { 3, 0, 1, 4, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 4, 3, 1, 5, 0 } uselistorder i64* %sv_5, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %sv_4, { 3, 4, 0, 5, 6, 1, 2 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge417.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge216.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.115.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.114.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge38.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.09.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64 10, { 1, 2, 3, 4, 0 } uselistorder i64 (i64)* @btr_rec_get_externally_stored_len, { 1, 0 } uselistorder i64 (i64)* @page_get_supremum_rec, { 3, 2, 0, 1 } uselistorder i64 (i64)* @page_rec_get_next, { 1, 3, 2, 0 } uselistorder i64 1, { 4, 5, 1, 7, 2, 6, 0, 3, 8 } uselistorder i64 8, { 0, 5, 1, 2, 4, 3 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ne2000_can_receive_16463
ne2000_can_receive
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = mul i32 %7, 256 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = mul i32 %11, 256 %13 = icmp sgt i32 %12, %8 br i1 %13, label LBL_2, label LBL_3 LBL_2: %14 = sub i32 %12, %8 store i32 %14, i32* %storemerge.reg2mem br label LBL_4 LBL_3: %15 = add i64 %4, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %4, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = sub i32 %12, %8 %22 = add i32 %21, %17 %23 = sub i32 %22, %20 store i32 %23, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %24 = icmp sgt i32 %storemerge.reload, 1503 %. = select i1 %24, i64 1500, i64 0 store i64 %., 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 i32 %12, { 2, 0, 1 } uselistorder i32 %8, { 2, 0, 1 } uselistorder i64 %4, { 1, 0, 3, 2 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
get_coc_14543
get_coc
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 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = sub i64 %3, %0 %5 = icmp sgt i64 %4, 1 store i64 4294967274, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg3 to i64 %8 = call i64 @FUNC(i64 %0) %sext = mul i64 %8, 4294967296 %9 = ashr exact i64 %sext, 30 %10 = add i64 %9, %6 %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = inttoptr i64 %10 to i32* store i32 %12, i32* %13, align 4 %14 = call i64 @FUNC(i64 %0, i64 %10) %15 = ashr exact i64 %sext, 32 %16 = add i64 %15, %7 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = or i8 %18, 1 store i8 %19, i8* %17, align 1 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 %sext, { 1, 0 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @bytestream_get_byte, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
truemotion1_decode_frame_5188
truemotion1_decode_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) 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* %arg4 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 store i64 %3, i64* %arg1, align 8 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = call i64 @FUNC(i64 %4) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = and i64 %10, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %15 = add i64 %4, 24 %16 = call i64 @FUNC(i64 %4, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %4, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %24 = and i64 %16, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %25 = add i64 %4, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 %28, 4 %30 = add i64 %29, ptrtoint (i32** @gv_1 to i64) %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 1 %34 = icmp eq i1 %33, false br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %4) br label LBL_8 LBL_6: %36 = icmp eq i32 %32, 0 br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = call i64 @FUNC(i64 %4) br label LBL_8 LBL_8: %38 = ptrtoint i64* %arg2 to i64 %39 = call i64 @FUNC(i64 %38, i64 %15) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_10, label LBL_9 LBL_9: %43 = and i64 %39, 4294967295 store i64 %43, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %44 = bitcast i64* %arg3 to i32* store i32 1, i32* %44, align 4 %45 = zext i32 %7 to i64 store i64 %45, 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 %4, { 3, 2, 0, 1, 4, 5, 6, 7 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
ieee80211_request_sched_scan_start_3779
ieee80211_request_sched_scan_start
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 store i64 %0, i64* %sv_2, align 8 %2 = add i64 %1, 64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %4, 0 store i64 %2, i64* %.reg2mem store i64 4294967295, i64* %sv_0.1.reg2mem br i1 %5, label LBL_1, label LBL_9 LBL_1: %6 = add i64 %1, 56 %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 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %2, i64* %.reg2mem store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %12, label LBL_2, label LBL_9 LBL_2: %13 = ptrtoint i64* %sv_2 to i64 %14 = add i64 %1, 104 %15 = inttoptr i64 %14 to i32* %16 = add i64 %1, 8 %17 = add i64 %13, -16 %18 = inttoptr i64 %17 to i64* %19 = add i64 %1, 40 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %20 = load i32, i32* %15, align 4 %21 = add i32 %20, 34 %22 = load i64, i64* %sv_2, align 8 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %21, %25 %27 = sext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 0) %29 = mul i64 %indvars.iv.reload, 8 %30 = add i64 %29, %16 %31 = inttoptr i64 %30 to i64* store i64 %28, i64* %31, align 8 %32 = icmp eq i64 %28, 0 %33 = icmp eq i1 %32, false store i64 %27, i64* %rdi.0.reg2mem store i64 %indvars.iv.reload, i64* %storemerge2.in.reg2mem store i64 4294967293, i64* %sv_0.0.reg2mem br i1 %33, label LBL_4, label LBL_7 LBL_4: %34 = load i64, i64* %sv_2, align 8 %35 = add i64 %34, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 store i64 0, i64* %18, align 8 %38 = call i64 @FUNC(i64 %1, i64 %28, i64 0, i32 %37, i64 %indvars.iv.reload, i64 4294967295) %39 = trunc i64 %38 to i32 %40 = mul i64 %indvars.iv.reload, 4 %41 = add i64 %19, %40 %42 = inttoptr i64 %41 to i32* store i32 %39, i32* %42, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %43 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %43, label LBL_3, label LBL_5 LBL_5: %44 = load i64, i64* %sv_2, align 8 %45 = call i64 @FUNC(i64 %1, i64 %1, i64 %44, i64 %16) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i64 %1, i64* %rdi.0.reg2mem store i64 4, i64* %storemerge2.in.reg2mem store i64 %45, i64* %sv_0.0.reg2mem br i1 %48, label LBL_7, label LBL_6 LBL_6: %49 = bitcast i64* %arg1 to i32* store i32 1, i32* %49, align 4 store i64 %1, i64* %.reg2mem store i64 %45, i64* %sv_0.1.reg2mem br label LBL_9 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %storemerge2 = trunc i64 %storemerge2.in.reload to i32 %50 = icmp eq i32 %storemerge2, 0 %51 = icmp slt i32 %storemerge2, 0 %52 = icmp eq i1 %51, false %53 = icmp eq i1 %50, false %54 = icmp eq i1 %52, %53 store i32 %storemerge2, i32* %sv_1.03.reg2mem store i64 %rdi.0.reload, i64* %.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %54, label LBL_8, label LBL_9 LBL_8: %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %55 = add i32 %sv_1.03.reload, -1 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = add i64 %57, %16 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60) %62 = icmp eq i32 %55, 0 %63 = icmp slt i32 %55, 0 %64 = icmp eq i1 %63, false %65 = icmp eq i1 %62, false %66 = icmp eq i1 %64, %65 store i32 %55, i32* %sv_1.03.reg2mem store i64 %60, i64* %.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %66, label LBL_8, label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.reload = load i64, i64* %.reg2mem %67 = add i64 %.reload, 64 %68 = call i64 @FUNC(i64 %67) %69 = and i64 %sv_0.1.reload, 4294967295 ret i64 %69 uselistorder i32 %storemerge2, { 0, 2, 1 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 1, 4, 2, 0, 3 } uselistorder i64 %16, { 0, 2, 1 } uselistorder i64* %sv_2, { 0, 1, 2, 4, 3 } uselistorder i64 %1, { 0, 1, 3, 7, 4, 2, 5, 6, 8, 9 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 2, 5, 3, 4 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 8, { 0, 2, 1, 4, 3 } uselistorder i1 false, { 3, 2, 0, 1, 5, 4, 6 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_9, { 0, 1, 4, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
bdrv_pdiscard_1768
bdrv_pdiscard
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 LBL_2: %5 = call i64 @FUNC(i64 4198739, i64* nonnull %sv_0) %6 = call i64 @FUNC(i64 %0, i64 %5) br label LBL_3 LBL_3: br label LBL_3 }
0
BinRealVul
r128_cce_clear_7032
r128_cce_clear
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i32 @putchar(i32 10) %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 11 br i1 %4, label LBL_2, label LBL_1 LBL_1: store i32 10, i32* inttoptr (i64 10 to i32*), align 4 br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = add i64 %6, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = or i32 %10, 3 store i32 %11, i32* %9, align 4 ret i64 0 uselistorder i64 %6, { 1, 0 } uselistorder i32 10, { 1, 0 } }
0
BinRealVul
node_nickname_matches_8211
node_nickname_matches
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 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = trunc i64 %1 to i8 %6 = icmp eq i8 %5, 36 %or.cond = or i1 %6, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %3 to i8* %8 = inttoptr i64 %arg2 to i8* %9 = call i32 @strcasecmp(i8* %7, i8* %8) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 1, i64* %storemerge.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 %2) %13 = and i64 %12, 4294967295 %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %arg2, i64 %16, i64 %3, i64 %13) store i64 %17, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
con_font_op_13244
con_font_op
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 4 br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 4 store i64 4294967258, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_2 LBL_2: store i64 4294967258, i64* %rax.0.reg2mem switch i32 %3, label LBL_7 [ i32 3, label LBL_5 i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %6 = ptrtoint i32* %arg2 to i64 %7 = call i64 @FUNC(i64 %2, i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %8 = ptrtoint i32* %arg2 to i64 %9 = call i64 @FUNC(i64 %2, i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %10 = ptrtoint i32* %arg2 to i64 %11 = call i64 @FUNC(i64 %2, i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %12 = ptrtoint i32* %arg2 to i64 %13 = call i64 @FUNC(i64 %2, i64 %12) store i64 %13, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 3, 4, 1, 2 } uselistorder i32 4, { 1, 0 } uselistorder i32* %arg2, { 3, 2, 0, 1 } uselistorder label LBL_7, { 2, 3, 4, 5, 0, 1 } }
1
BinRealVul
fdctrl_raise_irq_14419
fdctrl_raise_irq
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 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 72057594037927936 %6 = ashr exact i64 %sext, 56 %7 = trunc i64 %3 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = urem i8 %11, 2 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i8 %11, -8 %15 = or i8 %14, 6 store i8 %15, i8* %10, align 1 %16 = trunc i64 %6 to i8 %17 = add i64 %5, 6 %18 = inttoptr i64 %17 to i8* store i8 %16, i8* %18, align 1 store i64 %5, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %19 = add i64 %5, 5 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = and i8 %21, 8 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i64 1) %30 = load i8, i8* %20, align 1 %31 = or i8 %30, 8 store i8 %31, i8* %20, align 1 br label LBL_5 LBL_5: %32 = and i64 %arg2, 16 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_8, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %5) %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = add i64 %34, 4 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 br label LBL_8 LBL_8: %40 = add i64 %5, 12 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = trunc i64 %6 to i8 %43 = add i64 %5, 6 %44 = inttoptr i64 %43 to i8* store i8 %42, i8* %44, align 1 %45 = urem i64 %6, 256 %46 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %45, i8 %42, i64 %4, i64 %2, i64 %1) store i64 %46, 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 i8 %11, { 1, 0 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %5, { 4, 5, 3, 7, 6, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
add_route_tree_4645
add_route_tree
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.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 = add i64 %4, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = and i64 %3, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %10, i32 %7, i64 %2, i64 %1) %13 = load i32, i32* %6, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_1 LBL_1: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %4, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = zext i32 %13 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %20 = mul i64 %.reload, 8 %21 = add i64 %20, %18 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: store i64 %15, i64* %22, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_4: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %26 = add i32 %storemerge12.reload, 1 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %27, %19 store i64 %27, i64* %.reg2mem store i32 %26, i32* %storemerge12.reg2mem br i1 %28, label LBL_2, label LBL_5 LBL_5: %29 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
h264_init_context_14568
h264_init_context
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem12 = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %indvars.iv9.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %arg2, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = bitcast i64* %rdi to i32* %5 = load i32, i32* %4, align 8 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = add i64 %1, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %0, 256 %14 = inttoptr i64 %13 to i32* store i32 65536, i32* %14, align 4 %15 = add i64 %0, 20 %16 = inttoptr i64 %15 to i32* store i32 -1, i32* %16, align 4 %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %0, 28 %20 = inttoptr i64 %19 to i32* store i32 -2147483648, i32* %20, align 4 %21 = add i64 %0, 32 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_1 LBL_1: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %22 = mul i64 %indvars.iv9.reload, 4 %23 = add i64 %21, %22 %24 = inttoptr i64 %23 to i32* store i32 -2147483648, i32* %24, align 4 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next10, 16 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %25 = add i64 %0, 264 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %1, 16 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %1, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = urem i32 %31, 2 %33 = icmp eq i32 %32, 0 store i32 1, i32* %storemerge2.reg2mem br i1 %33, label LBL_4, label LBL_3 LBL_3: %34 = add i64 %1, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 store i32 %36, i32* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %37 = add i64 %0, 240 %38 = inttoptr i64 %37 to i32* store i32 %storemerge2.reload, i32* %38, align 4 %39 = zext i32 %storemerge2.reload to i64 %40 = call i64 @FUNC(i64 %39, i64 8) %41 = add i64 %0, 248 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = icmp eq i64 %40, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_5, label LBL_6 LBL_5: %45 = call i64 @FUNC() %46 = add i64 %0, 96 store i64 0, i64* %indvars.iv.reg2mem store i64 %45, i64* %.reg2mem br label LBL_7 LBL_6: store i32 0, i32* %38, align 4 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %47 = mul i64 %indvars.iv.reload, 8 %48 = add i64 %46, %47 %49 = inttoptr i64 %48 to i64* store i64 %.reload, i64* %49, align 8 %50 = icmp eq i64 %.reload, 0 %51 = icmp eq i1 %50, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %51, label LBL_8, label LBL_13 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %52 = icmp ult i64 %indvars.iv.next, 16 %53 = call i64 @FUNC() store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %53, i64* %.reg2mem br i1 %52, label LBL_7, label LBL_9 LBL_9: %54 = add i64 %0, 224 %55 = inttoptr i64 %54 to i64* store i64 %53, i64* %55, align 8 %56 = icmp eq i64 %53, 0 %57 = icmp eq i1 %56, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %57, label LBL_10, label LBL_13 LBL_10: %58 = call i64 @FUNC() %59 = add i64 %0, 232 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = icmp eq i64 %58, 0 %62 = icmp eq i1 %61, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %62, label LBL_11, label LBL_13 LBL_11: %63 = load i32, i32* %38, align 4 %64 = icmp eq i32 %63, 0 store i64 0, i64* %.reg2mem12 store i32 0, i32* %storemerge6.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_13, label LBL_12 LBL_12: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload13 = load i64, i64* %.reg2mem12 %65 = load i64, i64* %42, align 8 %66 = mul i64 %.reload13, 8 %67 = add i64 %65, %66 %68 = inttoptr i64 %67 to i64* store i64 %0, i64* %68, align 8 %69 = add i32 %storemerge6.reload, 1 %70 = load i32, i32* %38, align 4 %71 = zext i32 %70 to i64 %72 = sext i32 %69 to i64 %73 = icmp slt i64 %72, %71 store i64 %72, i64* %.reg2mem12 store i32 %69, i32* %storemerge6.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %73, label LBL_12, label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %53, { 1, 2, 0 } uselistorder i32* %38, { 2, 0, 1, 3 } uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 2, 3, 4, 1, 5, 6, 7, 0, 8, 9, 10, 11, 12, 13, 14 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem12, { 2, 0, 1 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64 4294967284, { 1, 2, 0, 3 } uselistorder i64 ()* @av_frame_alloc, { 2, 1, 0 } uselistorder i1 false, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder i64 16, { 1, 2, 0, 3 } uselistorder label LBL_13, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
Jsi_ValueDupJSON_9847
Jsi_ValueDupJSON
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_1) %1 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %sv_1, i64 0) store i64 0, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64* nonnull %sv_1) %3 = call i64 @FUNC(i64 %arg1, i64 %2, i64* nonnull %sv_0, i64 0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64* nonnull %sv_1) %8 = load i64, i64* %sv_0, align 8 ret i64 %8 uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
add64_16439
add64
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = add i64 %arg2, %arg1 ret i64 %0 }
1
BinRealVul
VRY_Match_18182
VRY_Match
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.6.ph.reg2mem = alloca i64 %rdi.5.reg2mem = alloca i64 %rdi.4.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rdi.3.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %rdi.5.ph.reg2mem = alloca i64 %sv_3.0.ph.reg2mem = alloca i8* %sv_4.0.ph.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_5 = alloca i8*, align 8 %2 = bitcast i64* %arg1 to i8* %3 = call i64 @FUNC(i64 %1) %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = add i64 %1, 24 %7 = inttoptr i64 %6 to i64* %8 = bitcast i8** %sv_5 to i64* %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* store i64 %0, i64* %sv_4.0.ph.reg2mem store i8* %2, i8** %sv_3.0.ph.reg2mem store i64 %1, i64* %rdi.5.ph.reg2mem br label LBL_1 LBL_1: %rdi.5.ph.reload = load i64, i64* %rdi.5.ph.reg2mem %sv_3.0.ph.reload = load i8*, i8** %sv_3.0.ph.reg2mem %sv_4.0.ph.reload = load i64, i64* %sv_4.0.ph.reg2mem %11 = add i64 %sv_4.0.ph.reload, 2 %12 = inttoptr i64 %11 to i8* %13 = ptrtoint i8* %sv_3.0.ph.reload to i64 %14 = add i64 %13, 2 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %11 to i64* %17 = inttoptr i64 %14 to i8* %18 = add i64 %13, 4 %19 = add i64 %13, 3 store i64 %rdi.5.ph.reload, i64* %rdi.5.reg2mem br label LBL_20 LBL_2: %rdi.5.reload = load i64, i64* %rdi.5.reg2mem %20 = load i64, i64* %5, align 8 %21 = icmp ult i64 %14, %20 store i64 %rdi.5.reload, i64* %rdi.6.ph.reg2mem br i1 %21, label LBL_3, label LBL_21 LBL_3: %22 = call i64 @FUNC(i64 %sv_4.0.ph.reload, i64 %13) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 1 %25 = icmp eq i1 %24, false store i32 %23, i32* %sv_0.0.reg2mem store i64 %sv_4.0.ph.reload, i64* %rdi.4.reg2mem br i1 %25, label LBL_17, label LBL_4 LBL_4: %26 = load i8, i8* %12, align 1 %27 = zext i8 %26 to i32 %28 = add nuw nsw i32 %27, 4 %29 = load i64, i64* %7, align 8 %30 = call i64 @FUNC(i64 %29, i64 %11, i64* nonnull %8) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_11, label LBL_5 LBL_5: %33 = load i8*, i8** %sv_5, align 8 %34 = ptrtoint i8* %33 to i64 %35 = call i32 @strlen(i8* %33) %36 = sext i32 %35 to i64 %37 = add i64 %36, %34 %38 = load i8*, i8** %sv_5, align 8 %39 = ptrtoint i8* %38 to i64 %40 = icmp ugt i64 %37, %39 store i64 %37, i64* %storemerge6.reg2mem store i64 %39, i64* %.pre-phi.reg2mem store i64 %37, i64* %storemerge.lcssa.reg2mem store i64 %34, i64* %rdi.1.reg2mem br i1 %40, label LBL_7, label LBL_8 LBL_6: %41 = icmp ugt i64 %42, %52 store i64 %42, i64* %storemerge6.reg2mem store i64 %52, i64* %.pre-phi.reg2mem store i64 %42, i64* %storemerge.lcssa.reg2mem store i64 %46, i64* %rdi.1.reg2mem br i1 %41, label LBL_7, label LBL_8 LBL_7: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %42 = add i64 %storemerge6.reload, -1 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = sext i8 %44 to i64 %46 = and i64 %45, 4294967295 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false %51 = load i8*, i8** %sv_5, align 8 %52 = ptrtoint i8* %51 to i64 store i64 %52, i64* %.pre-phi.reg2mem store i64 %storemerge6.reload, i64* %storemerge.lcssa.reg2mem store i64 %46, i64* %rdi.1.reg2mem br i1 %50, label LBL_6, label LBL_8 LBL_8: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %53 = sub i64 %storemerge.lcssa.reload, %.pre-phi.reload %54 = trunc i64 %53 to i32 %55 = icmp ult i32 %54, 65535 store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br i1 %55, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %rdi.2.reg2mem br label LBL_10 LBL_10: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %56 = add i32 %28, %54 store i32 %56, i32* %sv_2.0.reg2mem store i32 %54, i32* %sv_1.0.reg2mem store i64 %rdi.2.reload, i64* %rdi.3.reg2mem br label LBL_12 LBL_11: store i8* null, i8** %sv_5, align 8 store i32 %28, i32* %sv_2.0.reg2mem store i32 65535, i32* %sv_1.0.reg2mem store i64 %29, i64* %rdi.3.reg2mem br label LBL_12 LBL_12: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %57 = zext i32 %sv_2.0.reload to i64 %58 = add i64 %14, %57 %59 = load i64, i64* %5, align 8 %60 = icmp ult i64 %58, %59 store i64 %rdi.3.reload, i64* %rdi.6.ph.reg2mem br i1 %60, label LBL_13, label LBL_21 LBL_13: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %61 = urem i32 %sv_1.0.reload, 65536 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %13, i64 %62) %64 = load i8, i8* %12, align 1 %65 = zext i8 %64 to i32 %66 = add nuw nsw i32 %65, 2 %67 = call i64* @memcpy(i64* %15, i64* %16, i32 %66) %68 = load i8*, i8** %sv_5, align 8 %69 = icmp eq i8* %68, null br i1 %69, label LBL_15, label LBL_14 LBL_14: %70 = load i8, i8* %17, align 1 %71 = zext i8 %70 to i64 %72 = add i64 %18, %71 %73 = inttoptr i64 %72 to i64* %74 = bitcast i8* %68 to i64* %75 = call i64* @memcpy(i64* %73, i64* %74, i32 %sv_1.0.reload) br label LBL_15 LBL_15: %76 = add i64 %57, %13 %77 = inttoptr i64 %76 to i8* store i8 -1, i8* %77, align 1 %78 = add i32 %sv_2.0.reload, 1 %79 = zext i32 %78 to i64 %80 = add i64 %79, %13 %81 = inttoptr i64 %80 to i8* store i8 -1, i8* %81, align 1 %82 = add i32 %sv_2.0.reload, 2 %83 = zext i32 %82 to i64 %84 = add i64 %83, %13 %85 = inttoptr i64 %84 to i8* store i8 0, i8* %85, align 1 %86 = call i64 @FUNC(i64 %13) store i64 %19, i64* %10, align 8 %87 = call i64 @FUNC(i64 %sv_4.0.ph.reload, i64 %13) %88 = trunc i64 %87 to i32 %89 = or i32 %88, 2 %90 = icmp eq i32 %89, 2 store i32 %88, i32* %sv_0.0.reg2mem store i64 %sv_4.0.ph.reload, i64* %rdi.4.reg2mem br i1 %90, label LBL_17, label LBL_16 LBL_16: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) store i32 %88, i32* %sv_0.0.reg2mem store i64 ptrtoint ([17 x i8]* @gv_3 to i64), i64* %rdi.4.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %91 = icmp eq i32 %sv_0.0.reload, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_19, label LBL_18 LBL_18: %93 = call i64 @FUNC(i64 %13) %94 = and i64 %93, 4294967295 %95 = add i64 %94, %13 %96 = inttoptr i64 %95 to i8* %97 = call i64 @FUNC(i64 %sv_4.0.ph.reload) %98 = and i64 %97, 4294967295 %99 = add i64 %98, %sv_4.0.ph.reload store i64 %99, i64* %sv_4.0.ph.reg2mem store i8* %96, i8** %sv_3.0.ph.reg2mem store i64 %sv_4.0.ph.reload, i64* %rdi.5.ph.reg2mem br label LBL_1 LBL_19: %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %100 = icmp eq i32 %sv_0.0.reload, 2 %101 = icmp eq i1 %100, false store i64 %rdi.4.reload, i64* %rdi.5.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %101, label LBL_20, label LBL_23 LBL_20: %102 = load i8, i8* %12, align 1 %103 = icmp eq i8 %102, 0 %104 = icmp eq i1 %103, false store i64 1, i64* %rax.0.reg2mem br i1 %104, label LBL_2, label LBL_23 LBL_21: %rdi.6.ph.reload = load i64, i64* %rdi.6.ph.reg2mem store i64 0, i64* %10, align 8 %105 = add i64 %rdi.6.ph.reload, 2 %106 = load i64, i64* %5, align 8 %107 = icmp ult i64 %105, %106 %108 = icmp eq i1 %107, false store i64 0, i64* %rax.0.reg2mem br i1 %108, label LBL_23, label LBL_22 LBL_22: %109 = inttoptr i64 %rdi.6.ph.reload to i8* store i8 -1, i8* %109, align 1 %110 = add i64 %rdi.6.ph.reload, 1 %111 = inttoptr i64 %110 to i8* store i8 -1, i8* %111, align 1 %112 = inttoptr i64 %105 to i8* store i8 0, i8* %112, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.6.ph.reload, { 0, 2, 1 } uselistorder i64 %57, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 1, 0 } uselistorder i64 %52, { 0, 2, 1 } uselistorder i64 %46, { 0, 2, 1 } uselistorder i64 %42, { 3, 2, 1, 0 } uselistorder i64 %14, { 0, 3, 1, 2 } uselistorder i64 %13, { 0, 4, 6, 8, 1, 2, 3, 9, 10, 7, 5, 11 } uselistorder i8* %12, { 2, 0, 1 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %sv_4.0.ph.reload, { 2, 7, 4, 0, 3, 1, 6, 5 } uselistorder i8** %sv_5, { 4, 3, 2, 0, 1, 5 } uselistorder i64* %sv_4.0.ph.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_3.0.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.5.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.3.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.5.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.6.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 1, { 2, 0, 3, 1 } uselistorder i64 (i64)* @vry_len, { 1, 0 } uselistorder [17 x i8]* @gv_3, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i8 -1, { 2, 3, 0, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i32 2, { 2, 0, 1, 3, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [12 x i8]* @gv_0, { 1, 0 } uselistorder i1 false, { 4, 5, 0, 1, 2, 3, 6 } uselistorder i64 (i64, i64)* @vry_cmp, { 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder label LBL_23, { 3, 2, 0, 1 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
__nfs4_proc_set_acl_12667
__nfs4_proc_set_acl
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_2, align 8 %2 = call i64 @FUNC(i64 %0) store i64 %2, i64* %sv_3, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8 %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = ptrtoint i64* %sv_1 to i64 %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64 %7, i64* nonnull %sv_2) %10 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64* nonnull %sv_3, i64* nonnull %sv_3, i64 1) %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %0) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = or i32 %14, 1 store i32 %15, i32* %13, align 4 %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = and i64 %10, 4294967295 store i64 %19, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 4, 3, 5, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
afs_wait_for_call_to_complete_17622
afs_wait_for_call_to_complete
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i8* %.pre.reg2mem = alloca i32 %.reg2mem5 = alloca i32 %.pre3.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = add i64 %2, 16 %5 = bitcast i32* %sv_1 to i64* %6 = call i64 @FUNC(i64 %4, i64* nonnull %5) %7 = bitcast i64* %rdi to i32* %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i8* %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = trunc i64 %1 to i32 store i32 %12, i32* %.reg2mem store i32 %12, i32* %.pre3.reg2mem br label LBL_1 LBL_1: %.pre3.reload = load i32, i32* %.pre3.reg2mem %.reload = load i32, i32* %.reg2mem %13 = call i64 @FUNC(i64 0) %14 = icmp eq i32 %.pre3.reload, 0 %15 = icmp slt i32 %.pre3.reload, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %14, false %18 = icmp eq i1 %16, %17 br i1 %18, label LBL_4, label LBL_2 LBL_2: %19 = load i8, i8* %9, align 1 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_4, label LBL_3 LBL_3: store i8 0, i8* %9, align 1 %21 = call i64 @FUNC(i64 1) %22 = call i64 @FUNC(i64 %2) %.pre.pre = load i32, i32* %7, align 8 store i32 %.pre.pre, i32* %.reg2mem5 store i32 %.pre.pre, i32* %.pre.reg2mem br label LBL_7 LBL_4: %23 = load i32, i32* %11, align 4 store i32 %23, i32* %sv_1, align 4 %24 = icmp eq i32 %.pre3.reload, 1 store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %24, label LBL_8, label LBL_5 LBL_5: store i32 -4, i32* %sv_1, align 4 %25 = load i64, i64* @gv_2, align 8 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i8 %28 = icmp eq i8 %27, 0 %29 = icmp eq i1 %28, false store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %29, label LBL_8, label LBL_6 LBL_6: %30 = call i64 @FUNC() store i32 %.reload, i32* %.reg2mem5 store i32 %.pre3.reload, i32* %.pre.reg2mem br label LBL_7 LBL_7: %.pre.reload = load i32, i32* %.pre.reg2mem %.reload6 = load i32, i32* %.reg2mem5 store i32 %.reload6, i32* %.reg2mem store i32 %.pre.reload, i32* %.pre3.reg2mem br label LBL_1 LBL_8: %31 = call i64 @FUNC(i64 %4, i64* nonnull %5) %32 = call i64 @FUNC(i64 1) %33 = icmp eq i32 %.reload, 0 %34 = icmp slt i32 %.reload, 0 %35 = icmp eq i1 %34, false %36 = icmp eq i1 %33, false %37 = icmp eq i1 %35, %36 br i1 %37, label LBL_10, label LBL_9 LBL_9: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %38 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0)) %39 = load i32, i32* %sv_1, align 4 %40 = sub i32 0, %39 %41 = add i64 %2, 24 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = load i64, i64* @gv_5, align 8 %45 = ptrtoint i8* %sv_0.0.reload to i64 %46 = zext i32 %40 to i64 %47 = call i64 @FUNC(i64 %44, i64 %43, i64 2, i64 %46, i64 %45) br label LBL_10 LBL_10: %48 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0)) %49 = call i64 @FUNC(i64 %2) %50 = load i32, i32* %sv_1, align 4 %51 = zext i32 %50 to i64 %52 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 %51) %53 = load i32, i32* %sv_1, align 4 %54 = zext i32 %53 to i64 ret i64 %54 uselistorder i32 %.reload, { 2, 1, 0 } uselistorder i32* %sv_1, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %2, { 3, 2, 0, 4, 1, 5 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.pre3.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem5, { 0, 2, 1 } uselistorder i32* %.pre.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*)* @_debug, { 1, 0 } uselistorder i64 (i64)* @__set_current_state, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 4, 1 } }
1
BinRealVul
gva_to_ma_par_6121
gva_to_ma_par
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0) %1 = urem i64 %arg2, 2 %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i64 2) br label LBL_3 LBL_2: %4 = call i64 @FUNC(i64 %arg1, i64 3) br label LBL_3 LBL_3: %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 0) %7 = call i64 @FUNC(i64 %0, i64 0) ret i64 %6 uselistorder i64 (i64, i64)* @WRITE_CP32, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @READ_CP64, { 1, 0 } }
0
BinRealVul
gui_buffer_set_highlight_words_list_18285
gui_buffer_set_highlight_words_list
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %storemerge37.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge37.reg2mem store i32 0, i32* %sv_0.16.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge37.reload = load i64, i64* %storemerge37.reg2mem %4 = call i64 @FUNC(i64 %storemerge37.reload) %5 = icmp eq i64 %4, 0 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = inttoptr i64 %4 to i8* %7 = call i32 @strlen(i8* %6) %8 = add i32 %sv_0.16.reload, 1 %9 = add i32 %8, %7 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %10 = call i64 @FUNC(i64 %storemerge37.reload) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %storemerge37.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %12, label LBL_1, label LBL_4 LBL_4: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %13 = add i32 %sv_0.1.lcssa.reload, 2 %14 = call i64* @malloc(i32 %13) %15 = ptrtoint i64* %14 to i64 %16 = icmp eq i64* %14, null store i64 %15, i64* %rax.0.reg2mem br i1 %16, label LBL_11, label LBL_5 LBL_5: %17 = bitcast i64* %14 to i8* store i8 0, i8* %17, align 1 %18 = call i64 @FUNC(i64 %0, i64 0) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %storemerge4.reg2mem br i1 %20, label LBL_6, label LBL_10 LBL_6: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %21 = call i64 @FUNC(i64 %storemerge4.reload) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_9, label LBL_7 LBL_7: %23 = inttoptr i64 %21 to i8* %24 = call i8* @strcat(i8* %17, i8* %23) %25 = call i64 @FUNC(i64 %storemerge4.reload) %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i32 @strlen(i8* %17) %28 = sext i32 %27 to i64 %29 = add i64 %28, %15 %30 = inttoptr i64 %29 to i16* store i16 44, i16* %30, align 2 br label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %storemerge4.reload) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %storemerge4.reg2mem br i1 %33, label LBL_6, label LBL_10 LBL_10: %34 = ptrtoint i64* %arg1 to i64 %35 = call i64 @FUNC(i64 %34, i64 %15) store i64 %35, 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 %storemerge4.reload, { 2, 0, 1 } uselistorder i64 %15, { 2, 1, 0 } uselistorder i64* %14, { 1, 0, 2 } uselistorder i32 %sv_0.16.reload, { 1, 0 } uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @weelist_next, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64)* @weelist_string, { 1, 0 } uselistorder i1 false, { 4, 1, 5, 0, 3, 2 } uselistorder i64 (i64, i64)* @weelist_get, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
Type_MLU_Read_7510
Type_MLU_Read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1.17.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %1 = bitcast i64* %arg3 to i32* store i32 0, i32* %1, align 4 %2 = bitcast i32* %sv_5 to i64* %3 = call i64 @FUNC(i64 %0, i64* nonnull %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_18 LBL_1: %7 = bitcast i32* %sv_4 to i64* %8 = call i64 @FUNC(i64 %0, i64* nonnull %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_18 LBL_2: %12 = load i32, i32* %sv_4, align 4 %13 = icmp eq i32 %12, 12 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_4: %15 = load i32, i32* %sv_5, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_18 LBL_5: %20 = inttoptr i64 %17 to i32* %21 = load i32, i32* %sv_5, align 4 store i32 %21, i32* %20, align 4 %22 = load i32, i32* %sv_5, align 4 %23 = icmp eq i32 %22, 0 store i32 0, i32* %.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %23, label LBL_16, label LBL_6 LBL_6: %24 = mul i32 %22, 12 %25 = bitcast i32* %sv_3 to i64* %26 = bitcast i32* %sv_2 to i64* %27 = add i32 %24, 8 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.17.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = mul nuw nsw i64 %indvars.iv.reload, 12 %29 = add i64 %28, %17 %30 = add i64 %29, 4 %31 = call i64 @FUNC(i64 %0, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_17, label LBL_8 LBL_8: %34 = add i64 %29, 6 %35 = call i64 @FUNC(i64 %0, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_17, label LBL_9 LBL_9: %38 = call i64 @FUNC(i64 %0, i64* nonnull %25) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_17, label LBL_10 LBL_10: %41 = call i64 @FUNC(i64 %0, i64* nonnull %26) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_17, label LBL_11 LBL_11: %44 = load i32, i32* %sv_2, align 4 %45 = icmp ugt i32 %27, %44 br i1 %45, label LBL_17, label LBL_12 LBL_12: %sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem %46 = sub i32 %44, %24 %47 = add i32 %46, -8 %48 = load i32, i32* %sv_3, align 4 %49 = mul i32 %48, 2 %50 = add i64 %29, 8 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = mul i32 %47, 2 %53 = add i64 %29, 12 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = load i32, i32* %sv_3, align 4 %56 = add i32 %55, %47 %57 = icmp ugt i32 %56, %sv_1.17.reload %spec.select = select i1 %57, i32 %56, i32 %sv_1.17.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %58 = load i32, i32* %sv_5, 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 %spec.select, i32* %sv_1.17.reg2mem br i1 %60, label LBL_7, label LBL_13 LBL_13: %61 = mul i32 %spec.select, 2 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i32 %61, i32* %.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %63, label LBL_14, label LBL_16 LBL_14: %64 = zext i32 %61 to i64 %65 = call i64 @FUNC(i64 %0, i64 %64) %66 = icmp eq i64 %65, 0 br i1 %66, label LBL_17, label LBL_15 LBL_15: %67 = udiv i32 %spec.select, 2 %68 = urem i32 %67, 1073741824 %69 = zext i32 %68 to i64 %70 = call i64 @FUNC(i64 %0, i64 %69, i64 %65) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 store i32 %61, i32* %.reg2mem store i64 %65, i64* %sv_0.0.reg2mem br i1 %72, label LBL_17, label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %73 = add i64 %17, 16 %74 = inttoptr i64 %73 to i64* store i64 %sv_0.0.reload, i64* %74, align 8 %75 = add i64 %17, 24 %76 = inttoptr i64 %75 to i32* store i32 %.reload, i32* %76, align 4 %77 = add i64 %17, 28 %78 = inttoptr i64 %77 to i32* store i32 %.reload, i32* %78, align 4 store i32 1, i32* %1, align 4 store i64 %17, i64* %rax.0.reg2mem br label LBL_18 LBL_17: %79 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %61, { 1, 3, 0, 2 } uselistorder i32 %spec.select, { 2, 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i32 %22, { 1, 0 } uselistorder i64 %17, { 2, 0, 3, 4, 5, 1, 6, 7 } uselistorder i32* %sv_5, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64 %0, { 2, 0, 3, 4, 5, 6, 7, 1, 8, 9 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.17.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 5, 3, 4 } uselistorder i32 2, { 3, 0, 1, 2 } uselistorder i64 (i64, i64)* @_cmsReadUInt16Number, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 1, { 3, 4, 0, 1, 2 } uselistorder i64 (i64, i64*)* @_cmsReadUInt32Number, { 3, 2, 1, 0 } uselistorder i32 0, { 3, 8, 4, 5, 6, 7, 1, 0, 2, 9, 10, 11 } uselistorder label LBL_18, { 0, 4, 1, 5, 2, 3 } uselistorder label LBL_17, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_16, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
ff_g723_1_scale_vector_15418
ff_g723_1_scale_vector
define i64 @FUNC(i64 %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i32 %indvars.iv6.reg2mem = alloca i64 %0 = icmp sgt i32 %arg3, 0 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_4 LBL_1: %1 = ptrtoint i16* %arg2 to i64 %wide.trip.count8 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv6.reg2mem store i32 0, i32* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %2 = mul i64 %indvars.iv6.reload, 2 %3 = add i64 %2, %1 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = sub i16 0, %5 %7 = icmp slt i16 %6, 0 %8 = icmp eq i1 %7, false %.v = select i1 %8, i16 %6, i16 %5 %9 = zext i16 %.v to i32 %10 = or i32 %sv_0.04.reload, %9 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond9 = icmp eq i64 %indvars.iv.next7, %wide.trip.count8 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i32 %10, i32* %sv_0.04.reg2mem br i1 %exitcond9, label LBL_3, label LBL_2 LBL_3: %phitmp = zext i32 %10 to i64 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %11 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload) %12 = trunc i64 %11 to i32 %13 = sub i32 14, %12 %14 = icmp sgt i32 %13, 0 %15 = select i1 %14, i32 %13, i32 0 br i1 %0, label LBL_5, label LBL_7 LBL_5: %16 = ptrtoint i16* %arg2 to i64 %17 = urem i32 %15, 32 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = mul i64 %indvars.iv.reload, 2 %19 = add i64 %18, %16 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = sext i16 %21 to i32 %23 = shl i32 %22, %17 %24 = udiv i32 %23, 8 %25 = add i64 %18, %arg1 %26 = trunc i32 %24 to i16 %27 = inttoptr i64 %25 to i16* store i16 %26, i16* %27, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %28 = add nsw i32 %15, -3 %29 = zext i32 %28 to i64 ret i64 %29 uselistorder i64 %18, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 3, 4, 0, 2, 5, 1 } uselistorder i32 %arg3, { 1, 0, 2 } }
1
BinRealVul
gen_partset_reg_1721
gen_partset_reg
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp sgt i32 %0, 4 br i1 %1, label LBL_6, label LBL_1 LBL_1: %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = icmp sgt i32 %0, 2 br i1 %3, label LBL_5, label LBL_2 LBL_2: switch i32 %0, label LBL_6 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %4, i64 4294967040) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = zext i32 %arg3 to i64 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %8) %11 = call i64 @FUNC(i64 %4, i64 %4, i32 %7) store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %12 = and i64 %2, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %12, i64 4294901760) %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = zext i32 %arg3 to i64 %17 = and i64 %14, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = call i64 @FUNC(i64 %12, i64 %12, i32 %15) store i64 %19, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %20 = zext i32 %arg3 to i64 %21 = and i64 %2, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %20) store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %23 = call i64 @FUNC() unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 0, 1, 3, 2 } uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i32 %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i32)* @tcg_gen_or_i32, { 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 1, 0 } uselistorder i64 4294967295, { 0, 3, 4, 1, 2 } uselistorder i32 1, { 6, 5, 7, 8, 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 2, 0, 1 } }
0
BinRealVul
decode_tilehdr_125
decode_tilehdr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem102 = alloca i64 %.reg2mem100 = alloca i32 %.reg2mem98 = alloca i32 %sv_0.023.reg2mem = alloca i32 %storemerge224.reg2mem = alloca i32 %.reg2mem96 = alloca i64 %sv_1.3.lcssa.reg2mem = alloca i32 %rcx.6.lcssa.reg2mem = alloca i64 %sv_2.3.lcssa.reg2mem = alloca i32 %.reg2mem94 = alloca i32 %.reg2mem92 = alloca i32 %.reg2mem90 = alloca i32 %sv_1.2.reg2mem = alloca i32 %rcx.5.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i32 %.reg2mem88 = alloca i32 %.reg2mem86 = alloca i32 %.reg2mem84 = alloca i32 %sv_2.330.reg2mem = alloca i32 %rcx.631.reg2mem = alloca i64 %sv_1.332.reg2mem = alloca i32 %storemerge333.reg2mem = alloca i32 %.reg2mem82 = alloca i64 %.reg2mem80 = alloca i32 %.reg2mem78 = alloca i32 %.reg2mem76 = alloca i32 %rcx.4.lcssa48.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i32 %rcx.2.reg2mem = alloca i64 %sv_3.126.reg2mem = alloca i32 %rcx.427.reg2mem = alloca i64 %storemerge428.reg2mem = alloca i32 %.reg2mem74 = alloca i64 %sv_1.0.reg2mem = alloca i32 %rcx.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %.reg2mem72 = alloca i32 %rcx.0.lcssa.reg2mem = alloca i64 %.reg2mem70 = alloca i32 %storemerge537.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 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 0 %.pre47 = add i64 %4, 16 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge537.reg2mem store i32 0, i32* %.reg2mem70 br i1 %7, label LBL_2, label LBL_1 LBL_1: %storemerge537.reload = load i32, i32* %storemerge537.reg2mem %.reload = load i64, i64* %.reg2mem %8 = mul nsw i64 %.reload, 260 %9 = add i64 %8, %.pre47 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i32 %storemerge537.reload, 1 %12 = load i32, i32* %5, align 8 %13 = zext i32 %12 to i64 %14 = sext i32 %11 to i64 %15 = icmp slt i64 %14, %13 store i64 %14, i64* %.reg2mem store i32 %11, i32* %storemerge537.reg2mem store i32 %12, i32* %.reg2mem70 store i64 %4, i64* %rcx.0.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_2 LBL_2: %16 = ptrtoint i64* %sv_4 to i64 %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %.reload71 = load i32, i32* %.reg2mem70 %17 = add i64 %4, 2104 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = add i64 %4, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp ne i32 %22, 1 %24 = icmp eq i32 %19, 0 %or.cond = icmp eq i1 %23, %24 %25 = add i64 %16, -64 %26 = icmp eq i1 %or.cond, false %27 = add i64 %4, 4 %28 = inttoptr i64 %27 to i32* %29 = add i64 %4, 8 %30 = inttoptr i64 %29 to i32* %31 = add i64 %16, -72 store i32 %.reload71, i32* %.reg2mem72 store i32 0, i32* %sv_2.0.reg2mem store i64 %rcx.0.lcssa.reload, i64* %rcx.1.reg2mem store i32 %6, i32* %sv_1.0.reg2mem br label LBL_3 LBL_3: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %.reload73 = load i32, i32* %.reg2mem72 %32 = icmp eq i32 %.reload73, 0 store i64 %rcx.1.reload, i64* %rcx.4.lcssa48.reg2mem br i1 %32, label LBL_14, label LBL_4 LBL_4: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %33 = icmp eq i32 %sv_1.0.reload, 1 %or.cond8 = or i1 %26, %33 store i64 0, i64* %.reg2mem74 store i32 0, i32* %storemerge428.reg2mem store i64 %rcx.1.reload, i64* %rcx.427.reg2mem store i32 0, i32* %sv_3.126.reg2mem br label LBL_5 LBL_5: %sv_3.126.reload = load i32, i32* %sv_3.126.reg2mem %rcx.427.reload = load i64, i64* %rcx.427.reg2mem %storemerge428.reload = load i32, i32* %storemerge428.reg2mem %.reload75 = load i64, i64* %.reg2mem74 %34 = mul i64 %.reload75, 2 %35 = add i64 %34, %25 %36 = inttoptr i64 %35 to i16* %37 = load i16, i16* %36, align 2 %38 = zext i16 %37 to i32 %39 = icmp eq i32 %sv_2.0.reload, %38 %40 = icmp eq i1 %39, false br i1 %40, label LBL_11, label LBL_6 LBL_6: store i64 %rcx.427.reload, i64* %rcx.2.reg2mem br i1 %or.cond8, label LBL_8, label LBL_7 LBL_7: %41 = load i32, i32* %28, align 4 %42 = load i32, i32* %30, align 4 %43 = zext i32 %42 to i64 %44 = sub i32 %41, %42 %45 = icmp eq i32 %sv_2.0.reload, %44 %46 = icmp eq i1 %45, false store i64 %43, i64* %rcx.2.reg2mem br i1 %46, label LBL_9, label LBL_8 LBL_8: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %47 = add i64 %.reload75, %31 %48 = inttoptr i64 %47 to i8* store i8 1, i8* %48, align 1 store i32 1, i32* %sv_3.0.reg2mem store i64 %rcx.2.reload, i64* %rcx.3.reg2mem br label LBL_12 LBL_9: %49 = call i64 @FUNC(i64 %17) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 store i32 %sv_3.126.reload, i32* %sv_3.0.reg2mem store i64 %43, i64* %rcx.3.reg2mem br i1 %51, label LBL_12, label LBL_10 LBL_10: %52 = add i64 %.reload75, %31 %53 = inttoptr i64 %52 to i8* store i8 1, i8* %53, align 1 store i32 1, i32* %sv_3.0.reg2mem store i64 %43, i64* %rcx.3.reg2mem br label LBL_12 LBL_11: %54 = add i64 %.reload75, %31 %55 = inttoptr i64 %54 to i8* store i8 0, i8* %55, align 1 store i32 %sv_3.126.reload, i32* %sv_3.0.reg2mem store i64 %rcx.427.reload, i64* %rcx.3.reg2mem br label LBL_12 LBL_12: %rcx.3.reload = load i64, i64* %rcx.3.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %56 = add i32 %storemerge428.reload, 1 %57 = load i32, i32* %5, align 8 %58 = zext i32 %57 to i64 %59 = sext i32 %56 to i64 %60 = icmp slt i64 %59, %58 store i64 %59, i64* %.reg2mem74 store i32 %56, i32* %storemerge428.reg2mem store i64 %rcx.3.reload, i64* %rcx.427.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.126.reg2mem br i1 %60, label LBL_5, label LBL_13 LBL_13: %61 = icmp eq i32 %sv_3.0.reload, 0 %62 = icmp eq i1 %61, false store i64 %rcx.3.reload, i64* %rcx.4.lcssa48.reg2mem br i1 %62, label LBL_15, label LBL_14 LBL_14: %rcx.4.lcssa48.reload = load i64, i64* %rcx.4.lcssa48.reg2mem %63 = add i64 %4, 2096 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = call i64 @FUNC(i64 %65, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.4.lcssa48.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_34 LBL_15: %67 = zext i32 %sv_2.0.reload to i64 %68 = call i64 @FUNC(i64 %4, i64 %67) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 %71 = icmp slt i32 %69, 0 %72 = icmp eq i1 %71, false %73 = icmp eq i1 %70, false %74 = icmp eq i1 %72, %73 store i64 4294967295, i64* %rax.0.reg2mem br i1 %74, label LBL_16, label LBL_34 LBL_16: %75 = add i32 %sv_2.0.reload, %69 %76 = icmp eq i32 %57, 0 store i32 0, i32* %.reg2mem90 store i32 0, i32* %.reg2mem92 store i32 0, i32* %.reg2mem94 store i32 %75, i32* %sv_2.3.lcssa.reg2mem store i64 %rcx.3.reload, i64* %rcx.6.lcssa.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.3.lcssa.reg2mem br i1 %76, label LBL_27, label LBL_17 LBL_17: %77 = and i64 %68, 4294967295 %78 = trunc i64 %68 to i16 store i32 %57, i32* %.reg2mem76 store i32 %57, i32* %.reg2mem78 store i32 %57, i32* %.reg2mem80 store i64 0, i64* %.reg2mem82 store i32 0, i32* %storemerge333.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.332.reg2mem store i64 %rcx.3.reload, i64* %rcx.631.reg2mem store i32 %75, i32* %sv_2.330.reg2mem br label LBL_18 LBL_18: %sv_2.330.reload = load i32, i32* %sv_2.330.reg2mem %rcx.631.reload = load i64, i64* %rcx.631.reg2mem %sv_1.332.reload = load i32, i32* %sv_1.332.reg2mem %storemerge333.reload = load i32, i32* %storemerge333.reg2mem %.reload83 = load i64, i64* %.reg2mem82 %79 = add i64 %.reload83, %31 %80 = inttoptr i64 %79 to i8* %81 = load i8, i8* %80, align 1 %82 = icmp eq i8 %81, 0 br i1 %82, label LBL_24, label LBL_19 LBL_19: %83 = mul nsw i64 %.reload83, 260 %84 = add i64 %83, %.pre47 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp slt i32 %86, 32 br i1 %87, label LBL_21, label LBL_20 LBL_20: %88 = add i64 %4, 2096 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = call i64 @FUNC(i64 %90, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.631.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_34 LBL_21: %92 = sext i32 %86 to i64 %93 = mul i64 %92, 4 %94 = add i64 %84, 4 %95 = add i64 %94, %93 %96 = inttoptr i64 %95 to i32* store i32 %69, i32* %96, align 4 %97 = mul i64 %.reload83, 2 %98 = add i64 %97, %25 %99 = inttoptr i64 %98 to i16* %100 = load i16, i16* %99, align 2 %101 = add i16 %100, %78 store i16 %101, i16* %99, align 2 %102 = load i32, i32* %85, align 4 %103 = add i32 %102, 1 store i32 %103, i32* %85, align 4 %104 = load i16, i16* %99, align 2 %105 = zext i16 %104 to i64 %106 = load i32, i32* %28, align 4 %107 = zext i32 %106 to i64 %108 = icmp ugt i64 %105, %107 br i1 %108, label LBL_23, label LBL_21.LBL_26_crit_edge LBL_22: %.pre = load i32, i32* %5, align 8 store i32 %.pre, i32* %.reg2mem84 store i32 %.pre, i32* %.reg2mem86 store i32 %.pre, i32* %.reg2mem88 store i32 %sv_2.330.reload, i32* %sv_2.2.reg2mem store i64 %77, i64* %rcx.5.reg2mem store i32 %sv_1.332.reload, i32* %sv_1.2.reg2mem br label LBL_26 LBL_23: %109 = add i64 %4, 2096 %110 = inttoptr i64 %109 to i64* %111 = load i64, i64* %110, align 8 %112 = call i64 @FUNC(i64 %111, i64 0, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_2, i64 0, i64 0), i64 %105, i64 %107, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_34 LBL_24: %.reload81 = load i32, i32* %.reg2mem80 %.reload79 = load i32, i32* %.reg2mem78 %.reload77 = load i32, i32* %.reg2mem76 %113 = mul i64 %.reload83, 2 %114 = add i64 %113, %25 %115 = inttoptr i64 %114 to i16* %116 = load i16, i16* %115, align 2 %117 = zext i16 %116 to i64 %118 = sext i32 %sv_2.330.reload to i64 %119 = icmp slt i64 %118, %117 store i32 %.reload77, i32* %.reg2mem84 store i32 %.reload79, i32* %.reg2mem86 store i32 %.reload81, i32* %.reg2mem88 store i32 %sv_2.330.reload, i32* %sv_2.2.reg2mem store i64 %rcx.631.reload, i64* %rcx.5.reg2mem store i32 %sv_1.332.reload, i32* %sv_1.2.reg2mem br i1 %119, label LBL_26, label LBL_25 LBL_25: %120 = icmp sgt i64 %118, %117 %121 = zext i16 %116 to i32 %spec.select9 = select i1 %120, i32 %121, i32 %sv_2.330.reload %sv_1.3.op = add i32 %sv_1.332.reload, 1 %122 = select i1 %120, i32 1, i32 %sv_1.3.op store i32 %.reload77, i32* %.reg2mem84 store i32 %.reload79, i32* %.reg2mem86 store i32 %.reload81, i32* %.reg2mem88 store i32 %spec.select9, i32* %sv_2.2.reg2mem store i64 %rcx.631.reload, i64* %rcx.5.reg2mem store i32 %122, i32* %sv_1.2.reg2mem br label LBL_26 LBL_26: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %rcx.5.reload = load i64, i64* %rcx.5.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %.reload89 = load i32, i32* %.reg2mem88 %.reload87 = load i32, i32* %.reg2mem86 %.reload85 = load i32, i32* %.reg2mem84 %123 = add i32 %storemerge333.reload, 1 %124 = zext i32 %.reload89 to i64 %125 = sext i32 %123 to i64 %126 = icmp slt i64 %125, %124 store i32 %.reload85, i32* %.reg2mem76 store i32 %.reload87, i32* %.reg2mem78 store i32 %.reload89, i32* %.reg2mem80 store i64 %125, i64* %.reg2mem82 store i32 %123, i32* %storemerge333.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.332.reg2mem store i64 %rcx.5.reload, i64* %rcx.631.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.330.reg2mem store i32 %.reload85, i32* %.reg2mem90 store i32 %.reload87, i32* %.reg2mem92 store i32 %.reload89, i32* %.reg2mem94 store i32 %sv_2.2.reload, i32* %sv_2.3.lcssa.reg2mem store i64 %rcx.5.reload, i64* %rcx.6.lcssa.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.3.lcssa.reg2mem br i1 %126, label LBL_18, label LBL_27 LBL_27: %sv_1.3.lcssa.reload = load i32, i32* %sv_1.3.lcssa.reg2mem %rcx.6.lcssa.reload = load i64, i64* %rcx.6.lcssa.reg2mem %sv_2.3.lcssa.reload = load i32, i32* %sv_2.3.lcssa.reg2mem %.reload95 = load i32, i32* %.reg2mem94 %127 = load i32, i32* %28, align 4 %128 = zext i32 %127 to i64 %129 = sext i32 %sv_2.3.lcssa.reload to i64 %130 = icmp slt i64 %129, %128 store i32 %.reload95, i32* %.reg2mem72 store i32 %sv_2.3.lcssa.reload, i32* %sv_2.0.reg2mem store i64 %rcx.6.lcssa.reload, i64* %rcx.1.reg2mem store i32 %sv_1.3.lcssa.reload, i32* %sv_1.0.reg2mem br i1 %130, label LBL_3, label LBL_28 LBL_28: %.reload93 = load i32, i32* %.reg2mem92 %.reload91 = load i32, i32* %.reg2mem90 %131 = icmp eq i32 %.reload93, 0 store i32 %.reload91, i32* %.reg2mem100 store i64 0, i64* %.reg2mem102 store i32 0, i32* %storemerge25.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %131, label LBL_34, label LBL_32 LBL_29: %sv_0.023.reload = load i32, i32* %sv_0.023.reg2mem %storemerge224.reload = load i32, i32* %storemerge224.reg2mem %.reload97 = load i64, i64* %.reg2mem96 %132 = add nsw i64 %.reload97, %155 %133 = mul i64 %132, 4 %134 = add i64 %133, %4 %135 = add i64 %134, 148 %136 = inttoptr i64 %135 to i32* store i32 %sv_0.023.reload, i32* %136, align 4 %137 = add i64 %134, 20 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i32 %139, %sv_0.023.reload %141 = add i32 %storemerge224.reload, 1 %142 = load i32, i32* %152, align 4 %143 = zext i32 %142 to i64 %144 = sext i32 %141 to i64 %145 = icmp slt i64 %144, %143 store i64 %144, i64* %.reg2mem96 store i32 %141, i32* %storemerge224.reg2mem store i32 %140, i32* %sv_0.023.reg2mem br i1 %145, label LBL_29, label LBL_30 LBL_30: %.pre46 = load i32, i32* %5, align 8 store i32 %.pre46, i32* %.reg2mem98 br label LBL_31 LBL_31: %.reload99 = load i32, i32* %.reg2mem98 %146 = add i32 %storemerge25.reload, 1 %147 = zext i32 %.reload99 to i64 %148 = sext i32 %146 to i64 %149 = icmp slt i64 %148, %147 store i32 %.reload99, i32* %.reg2mem100 store i64 %148, i64* %.reg2mem102 store i32 %146, i32* %storemerge25.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %149, label LBL_32, label LBL_34 LBL_32: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload103 = load i64, i64* %.reg2mem102 %.reload101 = load i32, i32* %.reg2mem100 %150 = mul nsw i64 %.reload103, 260 %151 = add i64 %150, %.pre47 %152 = inttoptr i64 %151 to i32* %153 = load i32, i32* %152, align 4 %154 = icmp eq i32 %153, 0 store i32 %.reload101, i32* %.reg2mem98 br i1 %154, label LBL_31, label LBL_29.lr.ph LBL_33: %155 = mul nsw i64 %.reload103, 65 store i64 0, i64* %.reg2mem96 store i32 0, i32* %storemerge224.reg2mem store i32 0, i32* %sv_0.023.reg2mem br label LBL_29 LBL_34: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload103, { 1, 0 } uselistorder i32 %sv_0.023.reload, { 1, 0 } uselistorder i32 %sv_2.3.lcssa.reload, { 1, 0 } uselistorder i32 %.reload89, { 0, 2, 1 } uselistorder i32* %85, { 1, 0, 2 } uselistorder i64 %.reload83, { 3, 2, 0, 1 } uselistorder i32 %sv_1.332.reload, { 2, 1, 0 } uselistorder i32 %sv_2.330.reload, { 2, 1, 3, 0 } uselistorder i32 %75, { 1, 0 } uselistorder i32 %69, { 1, 0, 3, 2 } uselistorder i64 %rcx.3.reload, { 1, 0, 2, 3 } uselistorder i64 %.reload75, { 2, 0, 1, 3 } uselistorder i32 %sv_3.126.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 3, 2, 1, 0 } uselistorder i32 %sv_1.0.reload, { 1, 0, 2 } uselistorder i64 %rcx.1.reload, { 1, 0 } uselistorder i64 %31, { 0, 1, 3, 2 } uselistorder i64 %4, { 1, 5, 4, 6, 3, 8, 7, 9, 10, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge537.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem72, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.1.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem74, { 1, 0, 2 } uselistorder i32* %storemerge428.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.427.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.126.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rcx.3.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rcx.4.lcssa48.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem76, { 1, 0, 2 } uselistorder i32* %.reg2mem78, { 1, 0, 2 } uselistorder i32* %.reg2mem80, { 1, 0, 2 } uselistorder i64* %.reg2mem82, { 1, 0, 2 } uselistorder i32* %storemerge333.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.332.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.631.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.330.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem84, { 0, 2, 3, 1 } uselistorder i32* %.reg2mem86, { 0, 2, 3, 1 } uselistorder i32* %.reg2mem88, { 0, 2, 3, 1 } uselistorder i32* %sv_2.2.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rcx.5.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.2.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %.reg2mem96, { 2, 1, 0 } uselistorder i32* %storemerge224.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.023.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem98, { 2, 0, 1 } uselistorder i32* %.reg2mem100, { 0, 2, 1 } uselistorder i64* %.reg2mem102, { 0, 2, 1 } uselistorder i32* %storemerge25.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 6, 5, 1, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 4, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 0, 5, 2, 4, 3 } uselistorder i64 (i64)* @get_bits1, { 1, 0 } uselistorder i64 260, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 12, 0, 13, 6, 3, 4, 5, 14, 18, 19, 21, 20, 7, 8, 15, 9, 17, 22, 10, 11, 16 } uselistorder label LBL_34, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_26, { 1, 2, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
restart_coroutine_14831
restart_coroutine
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) ret i64 %2 }
1
BinRealVul
asf_read_metadata_17503
asf_read_metadata
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp sgt i32 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = ptrtoint i64* %sv_0 to i64 %8 = add i64 %7, -16 %9 = inttoptr i64 %8 to i64* %10 = add i64 %7, -24 %11 = inttoptr i64 %10 to i64* %12 = add i64 %7, -32 %13 = inttoptr i64 %12 to i64* %14 = add i64 %3, 4 %sext7 = mul i64 %4, 4294967296 %15 = ashr exact i64 %sext7, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) %22 = mul i32 %19, 2 %23 = or i32 %22, 1 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) %sext = mul i64 %25, 4294967296 %26 = icmp eq i64 %sext, 0 %27 = icmp eq i1 %26, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %27, label LBL_3, label LBL_13 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = ashr exact i64 %sext, 32 %29 = call i64 @FUNC(i64 %0, i32 %19, i64 %28, i32 %23) %30 = trunc i64 %29 to i32 %31 = icmp sgt i32 %19, %30 br i1 %31, label LBL_4, label LBL_5 LBL_4: %32 = sub i64 %18, %29 %33 = and i64 %32, 4294967295 %34 = call i64 @FUNC(i64 %0, i64 %33) br label LBL_5 LBL_5: %35 = trunc i64 %17 to i32 %36 = inttoptr i64 %28 to i8* store i64 %28, i64* %9, align 8 %37 = and i64 %21, 4294967295 store i64 %37, i64* %11, align 8 %38 = and i64 %20, 4294967295 store i64 %38, i64* %13, align 8 %39 = and i64 %18, 4294967295 %40 = and i64 %17, 4294967295 %41 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %indvars.iv.reload, i64 %40, i64 %39) %42 = call i32 @strcmp(i8* %36, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_8, label LBL_6 LBL_6: %45 = call i64 @FUNC(i64 %28, i64 %38, i64 16) %46 = icmp sgt i32 %35, 127 br i1 %46, label LBL_12, label LBL_7 LBL_7: %47 = trunc i64 %45 to i32 %sext3 = mul i64 %17, 4294967296 %48 = ashr exact i64 %sext3, 29 %49 = add i64 %48, %3 %50 = inttoptr i64 %49 to i32* store i32 %47, i32* %50, align 4 br label LBL_12 LBL_8: %51 = call i32 @strcmp(i8* %36, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_11, label LBL_9 LBL_9: %54 = call i64 @FUNC(i64 %28, i64 %38, i64 16) %55 = icmp sgt i32 %35, 127 br i1 %55, label LBL_12, label LBL_10 LBL_10: %56 = trunc i64 %54 to i32 %sext4 = mul i64 %17, 4294967296 %57 = ashr exact i64 %sext4, 29 %58 = add i64 %14, %57 %59 = inttoptr i64 %58 to i32* store i32 %56, i32* %59, align 4 br label LBL_12 LBL_11: %60 = trunc i64 %20 to i32 %61 = trunc i64 %21 to i32 %62 = call i64 @FUNC(i64 %0, i64 %28, i32 %60, i32 %61, i64 16) br label LBL_12 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %63 = icmp slt i64 %indvars.iv.next, %15 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %63, label LBL_2, label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %38, { 1, 0, 2 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %28, { 0, 1, 2, 3, 5, 4 } uselistorder i32 %23, { 1, 0 } uselistorder i64 %21, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %19, { 2, 1, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 8, 7, 6, 9, 10 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @get_value, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64)* @avio_rl16, { 4, 3, 2, 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nbd_read_3427
nbd_read
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 %2, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %3 = call i64 @FUNC(i64 4198692, i64 %0) %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @qemu_coroutine_enter, { 1, 0 } }
0
BinRealVul
relational_6382
relational
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.be.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC() %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %0, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 %arg1, i64 60) %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 %arg1) %10 = call i64 @FUNC(i64 1, i64 %sv_0.0.reload, i64 %9) store i64 %10, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_3: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem br label LBL_1 LBL_4: %11 = call i64 @FUNC(i64 %arg1, i64 62) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %arg1) %15 = call i64 @FUNC(i64 2, i64 %sv_0.0.reload, i64 %14) store i64 %15, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_6: %16 = call i64 @FUNC(i64 %arg1, i64 7) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = call i64 @FUNC(i64 %arg1) %20 = call i64 @FUNC(i64 3, i64 %sv_0.0.reload, i64 %19) store i64 %20, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_8: %21 = call i64 @FUNC(i64 %arg1, i64 8) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i64 @FUNC(i64 %arg1) %25 = call i64 @FUNC(i64 4, i64 %sv_0.0.reload, i64 %24) store i64 %25, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_10: %26 = call i64 @FUNC(i64 %arg1, i64 9) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_12, label LBL_11 LBL_11: %29 = call i64 @FUNC(i64 %arg1) %30 = call i64 @FUNC(i64 5, i64 %sv_0.0.reload, i64 %29) store i64 %30, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_12: br i1 %4, label LBL_15, label LBL_13 LBL_13: %31 = call i64 @FUNC(i64 %arg1, i64 10) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_15, label LBL_14 LBL_14: %34 = call i64 @FUNC(i64 %arg1) %35 = call i64 @FUNC(i64 6, i64 %sv_0.0.reload, i64 %34) store i64 %35, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_15: %36 = call i64 @FUNC() ret i64 %sv_0.0.reload uselistorder i64 %sv_0.0.reload, { 6, 0, 1, 2, 3, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.be.reg2mem, { 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 (i64, i64, i64)* @EXP2, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i64 (i64)* @shift, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder label LBL_1.backedge, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
mrb_class_real_13772
mrb_class_real
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_3 LBL_1: %2 = add i64 %sv_0.0.reload, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = inttoptr i64 %sv_0.0.reload to i32* %8 = load i32, i32* %7, align 4 %.off = add i32 %8, -1 %switch = icmp ult i32 %.off, 2 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %switch, label LBL_1, label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
Jsi_OptionsChanged_8981
Jsi_OptionsChanged
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i8* %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i64* %arg2 to i64 %22 = ptrtoint i64* %arg1 to i64 %23 = ptrtoint i64* %sv_4 to i64 %24 = ptrtoint i64* %sv_3 to i64 %25 = call i64 @FUNC(i64 %22, i64 %21) store i8* %arg3, i8** %.reg2mem store i64 %23, i64* %sv_1.0.reg2mem store i32 24, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br label LBL_3 LBL_3: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.reload = load i8*, i8** %.reg2mem %26 = ptrtoint i8* %.reload to i64 store i32 %sv_2.0.reload, i32* %sv_2.2.reg2mem store i64 %25, i64* %storemerge.reg2mem br label LBL_7 LBL_4: %27 = add i64 %storemerge.reload, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %26, i64 %29, i64 0) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = add i64 %storemerge.reload, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 2 %37 = icmp ne i32 %36, 0 %38 = zext i1 %37 to i32 %spec.select = add i32 %sv_2.2.reload, %38 store i32 %spec.select, i32* %sv_2.1.reg2mem br label LBL_6 LBL_6: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %39 = add i64 %storemerge.reload, 24 store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem store i64 %39, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %40 = inttoptr i64 %storemerge.reload to i32* %41 = load i32, i32* %40, align 4 switch i32 %41, label LBL_8 [ i32 0, label LBL_4 i32 1, label LBL_9 ] LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_9 LBL_9: %42 = icmp ult i32 %sv_0.0.reload, 48 br i1 %42, label LBL_10, label LBL_11 LBL_10: %43 = zext i32 %sv_0.0.reload to i64 %44 = add i64 %43, %24 %45 = add i32 %sv_0.0.reload, 8 store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 %45, i32* %sv_0.1.reg2mem store i64 %44, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %46 = add i64 %sv_1.0.reload, 8 store i64 %46, i64* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i64 %sv_1.0.reload, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %47 = inttoptr i64 %rax.0.reload to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i8* %50 = icmp eq i64 %48, 0 %51 = icmp eq i1 %50, false store i8* %49, i8** %.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.0.reg2mem br i1 %51, label LBL_3, label LBL_13 LBL_13: %52 = zext i32 %sv_2.2.reload to i64 ret i64 %52 uselistorder i64 %48, { 1, 0 } uselistorder i32 %sv_2.2.reload, { 1, 2, 3, 0 } uselistorder i64 %storemerge.reload, { 0, 1, 3, 2 } uselistorder i64 %sv_1.0.reload, { 0, 2, 1 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1, 3 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
rng_egd_finalize_15509
rng_egd_finalize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0, i64 0) br label LBL_2 LBL_2: %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %1) ret i64 %10 uselistorder i64 %1, { 1, 0, 2 } }
1
BinRealVul
AcquireQuantumMemory_12698
AcquireQuantumMemory
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = mul i64 %arg2, %arg1 %2 = udiv i64 %1, %arg1 %3 = icmp eq i64 %2, %arg2 br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = call i32* @__errno_location() store i32 12, i32* %4, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %5 = call i64 @FUNC(i64 %1) store i64 %5, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
qemu_sem_post_18621
qemu_sem_post
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 @pthread_mutex_lock(i64* %arg1) %2 = add i64 %0, 120 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 2147483647 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32 @pthread_mutex_unlock(i64* %arg1) store i32 22, i32* %sv_0.02.reg2mem br label LBL_5 LBL_2: %8 = add i32 %4, 1 store i32 %8, i32* %3, align 4 %9 = icmp slt i32 %4, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = call i32 @pthread_mutex_unlock(i64* %arg1) br label LBL_6 LBL_4: %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* %14 = call i32 @pthread_cond_signal(i64* %13) %15 = call i32 @pthread_mutex_unlock(i64* %arg1) %16 = icmp eq i32 %14, 0 store i32 %14, i32* %sv_0.02.reg2mem br i1 %16, label LBL_6, label LBL_5 LBL_5: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %17 = zext i32 %sv_0.02.reload to i64 %18 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_6: %19 = add i64 %0, 88 %20 = inttoptr i64 %19 to i64* %21 = call i32 @sem_post(i64* %20) %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = call i32* @__errno_location() %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_8: %28 = sext i32 %21 to i64 ret i64 %28 uselistorder i32 %21, { 1, 0 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64, i8*)* @error_exit, { 1, 0 } uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 } uselistorder i64* %arg1, { 2, 1, 0, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
vm_stop_2914
vm_stop
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = call i64 @FUNC() %5 = call i64 @FUNC() store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC() store i64 %6, 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 } uselistorder i32 1, { 3, 2, 1, 0 } }
0
BinRealVul
av_parser_init_13987
av_parser_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32* %sv_0 = alloca i32*, align 8 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_17 LBL_1: %3 = load i32*, i32** @gv_0, align 8 %4 = ptrtoint i32* %3 to i64 %5 = bitcast i32** %sv_0 to i64* store i64 %4, i64* %5, align 8 %6 = icmp eq i32* %3, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_17 LBL_2: store i32* %3, i32** %.reg2mem br label LBL_3 LBL_3: %.reload = load i32*, i32** %.reg2mem %8 = load i32, i32* %.reload, align 4 %9 = icmp eq i32 %8, %0 br i1 %9, label LBL_9, label LBL_4 LBL_4: %10 = ptrtoint i32* %.reload to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, %0 br i1 %14, label LBL_9, label LBL_5 LBL_5: %15 = add i64 %10, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, %0 br i1 %18, label LBL_9, label LBL_6 LBL_6: %19 = add i64 %10, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, %0 br i1 %22, label LBL_9, label LBL_7 LBL_7: %23 = add i64 %10, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, %0 br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = add i64 %10, 40 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i32* store i32* %30, i32** %sv_0, align 8 %31 = icmp eq i64 %29, 0 %32 = icmp eq i1 %31, false store i32* %30, i32** %.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_3, label LBL_17 LBL_9: %33 = call i64 @FUNC(i64 48) %cond = icmp eq i64 %33, 0 br i1 %cond, label LBL_16, label LBL_10 LBL_10: %34 = ptrtoint i32* %.reload to i64 %35 = add i64 %33, 8 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = load i32*, i32** %sv_0, align 8 %38 = ptrtoint i32* %37 to i64 %39 = add i64 %38, 24 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %41) %43 = inttoptr i64 %33 to i64* store i64 %42, i64* %43, align 8 %44 = icmp eq i64 %42, 0 br i1 %44, label LBL_15, label LBL_11 LBL_11: %45 = add i64 %33, 16 %46 = inttoptr i64 %45 to i32* store i32 1, i32* %46, align 4 %47 = add i64 %33, 20 %48 = inttoptr i64 %47 to i32* store i32 1, i32* %48, align 4 %49 = load i32*, i32** %sv_0, align 8 %50 = ptrtoint i32* %49 to i64 %51 = add i64 %50, 32 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 br i1 %54, label LBL_14, label LBL_12 LBL_12: %55 = call i64 @FUNC(i64 0) %56 = trunc i64 %55 to i32 %57 = icmp slt i32 %56, 0 br i1 %57, label LBL_15, label LBL_13 LBL_13: %58 = trunc i64 %33 to i32 %59 = call i64 @FUNC() %60 = icmp eq i32 %58, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_15, label LBL_14 LBL_14: %62 = add i64 %33, 24 %63 = inttoptr i64 %62 to i32* store i32 -1, i32* %63, align 4 %64 = add i64 %33, 28 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %33, 32 %67 = inttoptr i64 %66 to i32* store i32 -2147483648, i32* %67, align 4 %68 = add i64 %33, 36 %69 = inttoptr i64 %68 to i32* store i32 -2147483648, i32* %69, align 4 %70 = add i64 %33, 40 %71 = inttoptr i64 %70 to i32* store i32 -2147483648, i32* %71, align 4 store i64 %33, i64* %rax.0.reg2mem br label LBL_17 LBL_15: %72 = call i64 @FUNC(i64 %33) br label LBL_16 LBL_16: %73 = call i64 @FUNC(i64 %33) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %33, { 11, 12, 0, 3, 4, 5, 6, 7, 2, 8, 9, 10, 13, 1 } uselistorder i32* %.reload, { 2, 1, 0 } uselistorder i32 %0, { 4, 3, 2, 1, 0, 5 } uselistorder i32** %sv_0, { 3, 2, 1, 0 } uselistorder i32** %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 5, 6, 4, 2, 1, 0, 3 } uselistorder label LBL_17, { 3, 4, 0, 1, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
read_Bools_10165
read_Bools
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.13.reg2mem = alloca i32 %sv_0.14.reg2mem = alloca i32 %storemerge26.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i64 %arg3, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge26.reg2mem store i32 0, i32* %sv_0.14.reg2mem store i32 0, i32* %sv_1.13.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %.reload = load i64, i64* %.reg2mem %3 = icmp eq i32 %sv_1.13.reload, 0 %4 = icmp eq i1 %3, false store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %1, i64 1) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_5 LBL_3: %8 = inttoptr i64 %5 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 store i32 128, i32* %sv_1.0.reg2mem store i32 %10, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %11 = and i32 %sv_0.0.reload, %sv_1.0.reload %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = add i64 %.reload, %0 %15 = zext i1 %13 to i8 %16 = inttoptr i64 %14 to i8* store i8 %15, i8* %16, align 1 %17 = udiv i32 %sv_1.0.reload, 2 %18 = add i32 %storemerge26.reload, 1 %19 = zext i32 %18 to i64 %20 = icmp ult i64 %19, %arg3 store i64 %19, i64* %.reg2mem store i32 %18, i32* %storemerge26.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem store i32 %17, i32* %sv_1.13.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %20, label LBL_1, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.14.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
perf_syscall_enter_6579
perf_syscall_enter
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp ugt i32 %3, 255 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = and i64 %2, 4294967295 %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %5) %10 = icmp eq i64 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = inttoptr i64 %9 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %22, 8 %24 = add i32 %23, 67 %25 = and i32 %24, -8 %26 = add i32 %25, -4 %27 = load i64, i64* %12, align 8 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %26 to i64 %32 = bitcast i32* %sv_0 to i64* %33 = call i64 @FUNC(i64 %31, i32 %30, i64 %0, i64* nonnull %32) %34 = icmp eq i64 %33, 0 store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = inttoptr i64 %33 to i32* store i32 %3, i32* %35, align 4 %36 = add i64 %33, 8 %37 = load i32, i32* %21, align 4 %38 = load i64, i64* @gv_0, align 8 %39 = zext i32 %37 to i64 %40 = call i64 @FUNC(i64 %38, i64 %0, i64 0, i64 %39, i64 %36) %41 = load i32, i32* %sv_0, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %33, i32 %26, i64 %42, i64 0, i64 1, i64 %0) store i64 %43, 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 %9, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_6, { 5, 0, 1, 2, 3, 4 } }
0
BinRealVul
nfs_client_close_15586
nfs_client_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_4, 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 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %1, i64 %4) br label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %1) %8 = and i64 %7, 4294967295 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8, i64 0, i64 0, i64 0, i64 0) %13 = call i64 @FUNC(i64 %11) br label LBL_4 LBL_4: %14 = call i64* @memset(i64* %arg1, i32 0, i32 24) %15 = ptrtoint i64* %14 to i64 ret i64 %15 uselistorder i64 %1, { 1, 2, 0, 3 } uselistorder i64* %arg1, { 0, 2, 1 } }
1
BinRealVul
cdc_ncm_flags_10852
cdc_ncm_flags
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i64 %5, 0 %or.cond = or i1 %9, %8 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %10 = trunc i64 %5 to i8 store i8 %10, i8* %rax.0.shrunk.reg2mem br label LBL_4 LBL_2: %11 = load i64, i64* %2, align 8 %12 = icmp eq i64 %11, 0 store i8 0, i8* %rax.0.shrunk.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = inttoptr i64 %11 to i8* %14 = load i8, i8* %13, align 1 store i8 %14, i8* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i8, i8* %rax.0.shrunk.reg2mem %rax.0 = zext i8 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i8* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
ga_unset_frozen_5062
ga_unset_frozen
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.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 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = and i64 %6, 4294967295 %8 = xor i64 %7, 1 %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %rax.0.reg2mem br i1 %11, label LBL_9, label LBL_1 LBL_1: %12 = add i64 %5, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %14) store i64 %16, i64* %arg1, align 8 store i64 0, i64* %13, align 8 store i64 %5, i64* %rdx.0.reg2mem br label LBL_3 LBL_3: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %17 = call i64 @FUNC(i64 %5) %18 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) %19 = add i64 %5, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %21) %24 = trunc i64 %23 to i8 %25 = icmp eq i8 %24, 1 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) br label LBL_6 LBL_6: store i64 0, i64* %20, align 8 br label LBL_7 LBL_7: %27 = add i64 %5, 40 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %5, 24 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 %33 = add i64 %5, 32 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35) %37 = and i64 %36, 4294967295 %38 = xor i64 %37, 1 %39 = trunc i64 %38 to i8 %40 = icmp eq i8 %39, 0 store i64 %38, i64* %rax.0.reg2mem br i1 %40, label LBL_9, label LBL_8 LBL_8: %41 = load i64, i64* %34, align 8 %42 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) store i64 %42, 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 %rdx.0.reload, { 1, 2, 0 } uselistorder i64 %5, { 1, 3, 2, 4, 5, 0, 6, 7 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_warning, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder label LBL_9, { 1, 2, 0 } }
0
BinRealVul
tipc_nl_publ_dump_3695
tipc_nl_publ_dump
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %1, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 store i32 %9, i32* %sv_3, align 4 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i64 @FUNC(i64 %2) %14 = icmp eq i32 %6, 0 %15 = icmp eq i1 %14, false store i32 %6, i32* %sv_0.0.reg2mem br i1 %15, label LBL_8, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %1, i64* nonnull %sv_2) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = and i64 %16, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %20 = load i64, i64* %sv_2, align 8 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %25, label LBL_4, label LBL_11 LBL_4: %26 = load i64, i64* @gv_0, align 8 %27 = call i64 @FUNC(i64* nonnull %sv_1, i64 10, i64 %23, i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = and i64 %27, 4294967295 store i64 %30, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %31 = icmp eq i64 %3, 0 %32 = icmp eq i1 %31, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_11 LBL_7: %33 = call i64 @FUNC(i64 %3) %34 = trunc i64 %33 to i32 store i32 %34, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %35 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_9, label LBL_11 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %36 = zext i32 %sv_0.0.reload to i64 %37 = call i64 @FUNC(i64 %13, i64 %36) %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %39, label LBL_10, label LBL_11 LBL_10: %40 = call i64 @FUNC(i64 %37) %41 = call i64 @FUNC(i64 %2, i64 %1, i64 %37, i32* nonnull %sv_3) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %spec.select = zext i1 %43 to i32 %44 = call i64 @FUNC(i64 %37) %45 = call i64 @FUNC(i64 %37) store i32 %sv_0.0.reload, i32* %5, align 4 %46 = load i32, i32* %sv_3, align 4 store i32 %46, i32* %8, align 4 store i32 %spec.select, i32* %11, align 4 %47 = add i64 %2, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 store i64 %50, 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 %37, { 1, 0, 3, 2, 4 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 6, 4, 5 } uselistorder label LBL_11, { 4, 0, 1, 2, 5, 3, 6 } }
0
BinRealVul
apic_set_eoi_9413
apic_set_eoi
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = 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 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %2, i64 %5) %7 = icmp eq i32 %4, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = call i64 @FUNC(i64 %5, i64 %2) %10 = call i64 @FUNC(i64 %2) %11 = call i64 @FUNC(i64 %2, i64 %5) %12 = and i64 %1, 4294967295 %13 = call i64 @FUNC(i64 1, i64 %12) br label LBL_2 LBL_2: ret i64 %5 uselistorder i64 %2, { 0, 2, 1, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_eval_refl_14074
ff_eval_refl
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i64 %storemerge10.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %5 = ptrtoint i64* %sv_4 to i64 %6 = add i64 %5, -144 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 2 %8 = add i64 %7, %4 %9 = inttoptr i64 %8 to i16* %10 = load i16, i16* %9, align 2 %11 = sext i16 %10 to i32 %12 = mul i64 %indvars.iv.reload, 4 %13 = add i64 %6, %12 %14 = inttoptr i64 %13 to i32* store i32 %11, i32* %14, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %15 = ptrtoint i64* %arg1 to i64 %16 = ptrtoint i64* %sv_2 to i64 %17 = add i64 %15, 36 %18 = add i64 %16, 36 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = inttoptr i64 %17 to i32* store i32 %20, i32* %21, align 4 %22 = load i32, i32* %19, align 4 %23 = add i32 %22, 4096 %24 = icmp ult i32 %23, 8192 br i1 %24, label LBL_3, label LBL_4 LBL_3: %25 = ptrtoint i64* %sv_3 to i64 store i32 8, i32* %storemerge10.reg2mem store i64 %16, i64* %sv_1.09.reg2mem store i64 %25, i64* %sv_0.08.reg2mem br label LBL_5 LBL_4: %26 = ptrtoint i64* %arg3 to i64 %27 = call i64 @FUNC(i64 %26, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %28 = sext i32 %storemerge10.reload to i64 %29 = mul i64 %28, 4 %30 = add nsw i64 %29, 4 %31 = add i64 %30, %sv_1.09.reload %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = mul i32 %33, %33 %35 = ashr i32 %34, 12 %36 = sub nsw i32 4096, %35 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false %spec.select = select i1 %38, i32 %36, i32 -2 %39 = udiv i32 16777216, %spec.select %40 = zext i32 %39 to i64 %41 = add i64 %30, %15 %42 = inttoptr i64 %41 to i32* store i32 0, i32* %storemerge47.reg2mem br label LBL_6 LBL_6: %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %43 = sext i32 %storemerge47.reload to i64 %44 = mul i64 %43, 4 %45 = add i64 %44, %sv_1.09.reload %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = load i32, i32* %42, align 4 %49 = sub i32 %storemerge10.reload, %storemerge47.reload %50 = sext i32 %49 to i64 %51 = mul i64 %50, 4 %52 = add i64 %51, %sv_1.09.reload %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = mul i32 %54, %48 %56 = ashr i32 %55, 12 %57 = sub i32 %47, %56 %58 = mul i32 %57, %39 %59 = sext i32 %58 to i64 %60 = sext i32 %57 to i64 %61 = mul nsw i64 %60, %40 %62 = icmp eq i64 %61, %59 store i64 1, i64* %rax.0.reg2mem br i1 %62, label LBL_7, label LBL_10 LBL_7: %63 = add i64 %44, %sv_0.08.reload %64 = ashr i32 %58, 12 %65 = inttoptr i64 %63 to i32* store i32 %64, i32* %65, align 4 %66 = add nuw i32 %storemerge47.reload, 1 %67 = icmp ugt i32 %storemerge10.reload, %storemerge47.reload store i32 %66, i32* %storemerge47.reg2mem br i1 %67, label LBL_6, label LBL_8 LBL_8: %68 = add i64 %29, %sv_0.08.reload %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = add i32 %70, 4096 %72 = icmp ult i32 %71, 8192 store i64 1, i64* %rax.0.reg2mem br i1 %72, label LBL_9, label LBL_10 LBL_9: %73 = add i64 %29, %15 %74 = inttoptr i64 %73 to i32* store i32 %70, i32* %74, align 4 %75 = add i32 %storemerge10.reload, -1 %76 = icmp slt i32 %75, 0 %77 = icmp eq i1 %76, false store i32 %75, i32* %storemerge10.reg2mem store i64 %sv_0.08.reload, i64* %sv_1.09.reg2mem store i64 %sv_1.09.reload, i64* %sv_0.08.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %77, label LBL_5, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %57, { 1, 0 } uselistorder i64 %44, { 1, 0 } uselistorder i32 %storemerge47.reload, { 3, 0, 1, 2 } uselistorder i32 %33, { 1, 0 } uselistorder i64 %29, { 2, 1, 0 } uselistorder i32 %storemerge10.reload, { 2, 3, 0, 1 } uselistorder i64 %sv_1.09.reload, { 0, 3, 2, 1 } uselistorder i64 %sv_0.08.reload, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.08.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32 4096, { 1, 0, 2 } uselistorder i64 4, { 0, 1, 4, 2, 3 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ide_dma_error_6840
ide_dma_error
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2, i64 0) %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6) ret i64 %7 }
0
BinRealVul
vmx_create_vcpu_9514
vmx_create_vcpu
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 4294967284) store i64 %4, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %arg2 to i32 %8 = call i64 @FUNC(i64 %1, i64 %5, i32 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %sv_0.3.reg2mem br i1 %11, label LBL_15, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 4096, i64 0) %13 = inttoptr i64 %1 to i64* store i64 %12, i64* %13, align 8 %14 = icmp eq i64 %12, 0 %15 = icmp eq i1 %14, false store i64 4294967284, i64* %sv_0.2.reg2mem br i1 %15, label LBL_4, label LBL_14 LBL_4: %16 = call i64 @FUNC(i64 4096, i64 0) %17 = add i64 %1, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = icmp eq i64 %16, 0 store i64 %8, i64* %sv_0.1.reg2mem br i1 %19, label LBL_13, label LBL_5 LBL_5: %20 = call i64 @FUNC() %21 = add i64 %1, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = icmp eq i64 %20, 0 store i64 %8, i64* %sv_0.0.reg2mem br i1 %23, label LBL_12, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %20) %25 = call i64 @FUNC() %26 = and i64 %25, 4294967295 %27 = call i64 @FUNC(i64 %1, i64 %26) %28 = call i64 @FUNC(i64 %1) %29 = trunc i64 %28 to i32 %30 = call i64 @FUNC(i64 %1) %31 = call i64 @FUNC() %32 = icmp eq i32 %29, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_11, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %5) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = call i64 @FUNC(i64 %5) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_11, label LBL_9 LBL_9: %41 = call i64 @FUNC() %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %43, label LBL_16, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64 %5) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i64 %1, i64* %rax.0.reg2mem br i1 %47, label LBL_11, label LBL_16 LBL_11: %48 = load i64, i64* %22, align 8 %49 = call i64 @FUNC(i64 %48) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %50 = load i64, i64* %18, align 8 %51 = call i64 @FUNC(i64 %50) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %52 = load i64, i64* %13, align 8 %53 = call i64 @FUNC(i64 %52) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_14 LBL_14: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %54 = call i64 @FUNC(i64 %1) store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br label LBL_15 LBL_15: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %55 = load i64, i64* @gv_0, align 8 %56 = call i64 @FUNC(i64 %55, i64 %1) %57 = and i64 %sv_0.3.reload, 4294967295 %58 = call i64 @FUNC(i64 %57) store i64 %58, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0, 2 } uselistorder i64 %8, { 2, 1, 0, 3 } uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i64 %1, { 9, 6, 1, 0, 4, 3, 2, 5, 7, 8, 11, 10, 12 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder label LBL_16, { 2, 1, 0, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
rv40_decode_intra_types_17259
rv40_decode_intra_types
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i8 %storemerge511.reg2mem = alloca i32 %sv_1.112.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %sv_3.016.reg2mem = alloca i64 %sv_4.018.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = bitcast i64* %rdi to i32* %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = trunc i64 %1 to i32 store i32 %8, i32* %.reg2mem store i32 0, i32* %sv_4.018.reg2mem store i64 %2, i64* %sv_3.016.reg2mem br label LBL_1 LBL_1: %sv_3.016.reload = load i64, i64* %sv_3.016.reg2mem %sv_4.018.reload = load i32, i32* %sv_4.018.reg2mem %.reload = load i32, i32* %.reg2mem %9 = icmp eq i32 %sv_4.018.reload, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i32 %.reload, 0 %or.cond = or i1 %10, %11 store i32 0, i32* %storemerge14.reg2mem store i64 %sv_3.016.reload, i64* %sv_1.112.reg2mem br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %12 = load i64, i64* @gv_0, align 8 %13 = call i64 @FUNC(i64 %3, i64 %12, i64 4, i64 1) %14 = trunc i64 %13 to i32 %15 = udiv i32 %14, 4 %16 = trunc i32 %15 to i8 %17 = and i8 %16, 2 %18 = inttoptr i64 %sv_3.016.reload to i8* store i8 %17, i8* %18, align 1 %19 = udiv i32 %14, 2 %20 = add i64 %sv_3.016.reload, 1 %21 = trunc i32 %19 to i8 %22 = and i8 %21, 2 %23 = inttoptr i64 %20 to i8* store i8 %22, i8* %23, align 1 %24 = add i64 %sv_3.016.reload, 2 %25 = trunc i64 %13 to i8 %26 = and i8 %25, 2 %27 = inttoptr i64 %24 to i8* store i8 %26, i8* %27, align 1 %28 = mul i8 %25, 2 %29 = add i64 %sv_3.016.reload, 3 %30 = and i8 %28, 2 %31 = inttoptr i64 %29 to i8* store i8 %30, i8* %31, align 1 br label LBL_18 LBL_3: %sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %32 = load i32, i32* %7, align 4 %33 = sub i32 0, %32 %34 = sext i32 %33 to i64 %35 = add i64 %sv_1.112.reload, 1 %36 = add i64 %35, %34 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = sext i8 %38 to i32 %40 = add i64 %sv_1.112.reload, %34 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = sext i8 %42 to i32 %44 = add i64 %sv_1.112.reload, -1 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = sext i8 %46 to i32 %48 = mul i32 %43, 16 %49 = add nsw i32 %48, %39 %50 = mul i32 %47, 256 %51 = add nsw i32 %49, %50 store i32 0, i32* %storemerge511.reg2mem br label LBL_4 LBL_4: %storemerge511.reload = load i32, i32* %storemerge511.reg2mem %52 = sext i32 %storemerge511.reload to i64 %53 = mul i64 %52, 4 %54 = add i64 %53, ptrtoint (i32** @gv_1 to i64) %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %51, %56 br i1 %57, label LBL_6, label LBL_5 LBL_5: %58 = add nuw i32 %storemerge511.reload, 1 %59 = icmp ult i32 %58, 16 store i32 %58, i32* %storemerge511.reg2mem br i1 %59, label LBL_4, label LBL_8 LBL_6: %60 = icmp sgt i32 %storemerge14.reload, 2 br i1 %60, label LBL_8, label LBL_7 LBL_7: %61 = mul i64 %52, 8 %62 = add i64 %61, ptrtoint (i64* @gv_2 to i64) %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = call i64 @FUNC(i64 %3, i64 %64, i64 4, i64 2) %sext = mul i64 %65, 4294967296 %66 = ashr exact i64 %sext, 32 %narrow = mul nsw i64 %66, 954437177 %67 = udiv i64 %narrow, 8589934592 %68 = trunc i64 %67 to i32 %69 = trunc i64 %65 to i32 %70 = ashr i32 %69, 31 %71 = sub i32 %68, %70 %72 = trunc i32 %71 to i8 %73 = inttoptr i64 %sv_1.112.reload to i8* store i8 %72, i8* %73, align 1 %74 = udiv i64 %narrow, 4294967296 %75 = trunc i64 %74 to i32 %76 = ashr i32 %75, 1 %77 = sub nsw i32 %76, %70 %78 = mul i32 %77, -9 %79 = add i32 %78, %69 %80 = add i64 %sv_1.112.reload, 2 %81 = trunc i32 %79 to i8 %82 = inttoptr i64 %35 to i8* store i8 %81, i8* %82, align 1 %83 = add i32 %storemerge14.reload, 1 store i64 %80, i64* %sv_1.0.reg2mem store i32 %83, i32* %sv_0.0.reg2mem br label LBL_17 LBL_8: %84 = icmp eq i8 %42, -1 %85 = icmp eq i8 %46, -1 %or.cond8 = or i1 %84, %85 br i1 %or.cond8, label LBL_10, label LBL_9 LBL_9: %86 = mul nsw i32 %47, 10 %87 = add nsw i32 %86, %43 %88 = sext i32 %87 to i64 %89 = mul i64 %88, 8 %90 = add i64 %89, ptrtoint (i64* @gv_3 to i64) %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = call i64 @FUNC(i64 %3, i64 %92, i64 4, i64 1) %94 = trunc i64 %93 to i8 store i8 %94, i8* %sv_2.0.reg2mem br label LBL_16 LBL_10: %95 = icmp eq i8 %46, 2 br i1 %95, label LBL_15, label LBL_11 LBL_11: %96 = icmp sgt i8 %46, 2 store i8 0, i8* %sv_2.0.reg2mem br i1 %96, label LBL_16, label LBL_12 LBL_12: store i8 0, i8* %sv_2.0.reg2mem switch i8 %46, label LBL_16 [ i8 -1, label LBL_13 i8 0, label LBL_15 ] LBL_13: %97 = icmp sgt i8 %42, 1 store i8 0, i8* %sv_2.0.reg2mem br i1 %97, label LBL_16, label LBL_14 LBL_14: %98 = call i64 @FUNC(i64 %3) %99 = trunc i64 %98 to i8 %100 = xor i8 %99, 1 store i8 %100, i8* %sv_2.0.reg2mem br label LBL_16 LBL_15: %101 = call i64 @FUNC(i64 %3) %102 = trunc i64 %101 to i8 %103 = mul i8 %102, 2 %104 = xor i8 %103, 2 store i8 %104, i8* %sv_2.0.reg2mem br label LBL_16 LBL_16: %sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem %105 = inttoptr i64 %sv_1.112.reload to i8* store i8 %sv_2.0.reload, i8* %105, align 1 store i64 %35, i64* %sv_1.0.reg2mem store i32 %storemerge14.reload, i32* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %106 = add i32 %sv_0.0.reload, 1 %107 = icmp slt i32 %106, 4 store i32 %106, i32* %storemerge14.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.112.reg2mem br i1 %107, label LBL_3, label LBL_18 LBL_18: %108 = add nuw nsw i32 %sv_4.018.reload, 1 %exitcond = icmp eq i32 %108, 4 br i1 %exitcond, label LBL_20, label LBL_18.LBL_1_crit_edge LBL_19: %109 = load i32, i32* %7, align 4 %110 = sext i32 %109 to i64 %111 = add i64 %sv_3.016.reload, %110 %.pre = load i32, i32* %4, align 8 store i32 %.pre, i32* %.reg2mem store i32 %108, i32* %sv_4.018.reg2mem store i64 %111, i64* %sv_3.016.reg2mem br label LBL_1 LBL_20: ret i64 0 uselistorder i64 %65, { 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %43, { 1, 0 } uselistorder i64 %35, { 0, 2, 1 } uselistorder i64 %sv_1.112.reload, { 4, 2, 1, 3, 5, 0 } uselistorder i64 %sv_3.016.reload, { 5, 1, 2, 3, 4, 0 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.018.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.016.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.112.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge511.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_2.0.reg2mem, { 0, 6, 3, 4, 1, 5, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @get_bits1, { 1, 0 } uselistorder i8 0, { 1, 3, 0, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i8 2, { 2, 0, 3, 4, 5, 1, 6, 7, 8 } uselistorder i32 4, { 1, 2, 0 } uselistorder i64 (i64, i64, i64, i64)* @get_vlc2, { 2, 1, 0 } uselistorder i64 1, { 0, 2, 3, 1 } uselistorder i32 0, { 0, 4, 1, 3, 5, 2 } uselistorder i64 4, { 1, 2, 0, 3, 4 } uselistorder label LBL_16, { 3, 2, 1, 0, 4, 5 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
session_set_controller_3789
session_set_controller
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %arg2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_5, label LBL_12 LBL_5: %8 = icmp eq i8 %arg3, 1 %or.cond = or i1 %0, %8 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_6, label LBL_12 LBL_6: %9 = inttoptr i64 %arg2 to i8* %10 = call i8* @strdup(i8* %9) %11 = icmp eq i8* %10, null %12 = icmp eq i1 %11, false store i64 4294967294, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_7, label LBL_12 LBL_7: %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 %arg2) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_9, label LBL_8 LBL_8: %19 = bitcast i8* %10 to i64* call void @free(i64* %19) store i64 %16, i64* %rax.0.shrunk.reg2mem br label LBL_12 LBL_9: %20 = call i64 @FUNC(i64 %4) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_11, label LBL_10 LBL_10: %24 = bitcast i8* %10 to i64* call void @free(i64* %24) store i64 %20, i64* %rax.0.shrunk.reg2mem br label LBL_12 LBL_11: %25 = ptrtoint i8* %10 to i64 %26 = call i64 @FUNC(i64 %4, i64 %25) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_12 LBL_12: %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 i8* %10, { 3, 0, 1, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 5, 4, 1, 2, 3 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_12, { 3, 4, 5, 0, 1, 2 } }
0
BinRealVul
snd_seq_device_dev_free_13752
snd_seq_device_dev_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0) ret i64 0 }
0
BinRealVul
alloc_super_12324
alloc_super
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 320, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_8, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = inttoptr i64 %0 to i32* %9 = add i64 %0, 272 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 16 %12 = add i64 %0, 56 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = mul i64 %indvars.iv.reload, 4 %14 = add i64 %11, %13 %15 = call i64 @FUNC(i64 %14, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 br i1 %17, label LBL_8, label LBL_4 LBL_4: %18 = add i64 %14, %indvars.iv.reload %19 = mul i64 %indvars.iv.reload, 8 %20 = add i64 %19, ptrtoint ([10 x i8*]* @gv_0 to i64) %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %12, %19 %24 = call i64 @FUNC(i64 %23, i64 %22, i64 %18, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %25 = icmp ult i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %25, label LBL_3, label LBL_5 LBL_5: %26 = add i64 %0, 136 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %0, 144 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %arg2 to i32 store i32 %30, i32* %8, align 4 %31 = add i64 %0, 8 %32 = inttoptr i64 %31 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %32, align 8 %33 = add i64 %0, 264 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %0, 256 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %0, 240 %38 = call i64 @FUNC(i64 %37) %39 = add i64 %0, 288 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_8, label LBL_6 LBL_6: %44 = add i64 %0, 296 %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_8, label LBL_7 LBL_7: %49 = add i64 %0, 248 %50 = call i64 @FUNC(i64 %49) %51 = add i64 %0, 304 %52 = call i64 @FUNC(i64 %51) %53 = add i64 %7, 8 %54 = call i64 @FUNC(i64 %51, i64 %53) %55 = call i64 @FUNC(i64 %51, i64 0) %56 = add i64 %0, 152 %57 = inttoptr i64 %56 to i32* store i32 1, i32* %57, align 4 %58 = add i64 %0, 280 %59 = call i64 @FUNC(i64 %58, i64 1) %60 = add i64 %0, 208 %61 = call i64 @FUNC(i64 %60) %62 = add i64 %7, 16 %63 = call i64 @FUNC(i64 %60, i64 %62) %64 = add i64 %0, 216 %65 = call i64 @FUNC(i64 %64) %66 = add i64 %0, 224 %67 = call i64 @FUNC(i64 %66) %68 = add i64 %0, 232 %69 = call i64 @FUNC(i64 %68) %70 = add i64 %0, 312 %71 = inttoptr i64 %70 to i32* store i32 -1, i32* %71, align 4 %72 = add i64 %0, 200 %73 = inttoptr i64 %72 to i64* store i64 ptrtoint (i64* @gv_2 to i64), i64* %73, align 8 %74 = add i64 %0, 192 %75 = inttoptr i64 %74 to i32* store i32 1000000000, i32* %75, align 4 %76 = add i64 %0, 196 %77 = inttoptr i64 %76 to i32* store i32 -1, i32* %77, align 4 %78 = add i64 %0, 160 %79 = inttoptr i64 %78 to i32* store i32 100, i32* %79, align 4 %80 = add i64 %0, 168 %81 = inttoptr i64 %80 to i64* store i64 4199001, i64* %81, align 8 %82 = add i64 %0, 176 %83 = inttoptr i64 %82 to i64* store i64 4199012, i64* %83, align 8 %84 = add i64 %0, 184 %85 = inttoptr i64 %84 to i32* store i32 1024, i32* %85, align 4 %86 = add i64 %0, 188 %87 = inttoptr i64 %86 to i32* store i32 1, i32* %87, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %88 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %19, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i64 %0, { 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 1, 2, 29, 31, 30, 32 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @mutex_init, { 2, 1, 0 } uselistorder i64 (i64, i64)* @lockdep_set_class, { 1, 0 } uselistorder i64 (i64)* @init_rwsem, { 1, 0 } uselistorder i64 (i64)* @list_lru_init, { 1, 0 } uselistorder i64 (i64)* @init_waitqueue_head, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64)* @INIT_LIST_HEAD, { 2, 1, 0 } uselistorder i32 0, { 21, 22, 20, 23, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_8, { 1, 2, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
divide3_2376
divide3
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = mul i64 %arg1, 4294967296 %sext = add i64 %0, 4294967296 %1 = udiv i64 %sext, 4294967296 %2 = trunc i64 %1 to i32 %3 = mul i32 %2, 21845 %4 = add i32 %3, 10922 %5 = ashr i32 %4, 16 %6 = zext i32 %5 to i64 ret i64 %6 uselistorder i64 4294967296, { 1, 2, 0 } }
0
BinRealVul
fpm_child_init_12543
fpm_child_init
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 store i32 %3, i32* inttoptr (i64 4210764 to i32*), align 4 %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %2) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 br i1 %12, label LBL_7, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %2) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 br i1 %15, label LBL_7, label LBL_4 LBL_4: %16 = call i64 @FUNC() %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %2) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %2) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = add i64 %2, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %28) call void @exit(i32 1) unreachable LBL_8: ret i64 %22 }
1
BinRealVul
qcow_create_39
qcow_create
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.2.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i8* %storemerge48.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i8* %sv_6.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 store i64 0, i64* %sv_9, align 8 store i64 0, i64* %sv_8, align 8 %5 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0) %6 = mul i64 %5, 4294967296 %7 = add i64 %6, 2194728288256 %sext = ashr exact i64 %7, 32 %8 = and i64 %sext, -512 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %3, i64 %2, i64 %1) store i8* null, i8** %sv_3.2.reg2mem store i64 0, i64* %sv_2.2.reg2mem store i64 0, i64* %sv_1.2.reg2mem store i64 4294967274, i64* %sv_0.1.reg2mem br label LBL_31 LBL_2: %12 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %13 = inttoptr i64 %12 to i8* %14 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) %15 = inttoptr i64 %14 to i8* %16 = icmp eq i64 %14, 0 br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0)) %18 = icmp eq i64 %17, 0 store i8* %15, i8** %sv_6.0.reg2mem br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 %3, i64 %2, i64 %1) store i8* %13, i8** %sv_3.2.reg2mem store i64 0, i64* %sv_2.2.reg2mem store i64 0, i64* %sv_1.2.reg2mem store i64 4294967274, i64* %sv_0.1.reg2mem br label LBL_31 LBL_5: %20 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64 0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %spec.select = select i1 %22, i8* %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0) store i8* %spec.select, i8** %sv_6.0.reg2mem br label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %sv_9) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = load i64, i64* %sv_9, align 8 %28 = call i64 @FUNC(i64 %4, i64 %27) store i8* %13, i8** %sv_3.2.reg2mem store i64 0, i64* %sv_2.2.reg2mem store i64 0, i64* %sv_1.2.reg2mem store i64 %23, i64* %sv_0.1.reg2mem br label LBL_31 LBL_8: %29 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 7, i64* nonnull %sv_9) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = load i64, i64* %sv_9, align 8 %33 = call i64 @FUNC(i64 %4, i64 %32) store i8* %13, i8** %sv_3.2.reg2mem store i64 0, i64* %sv_2.2.reg2mem store i64 0, i64* %sv_1.2.reg2mem store i64 4294967291, i64* %sv_0.1.reg2mem br label LBL_31 LBL_10: %34 = call i64 @FUNC(i64 %29, i64 1) %35 = call i64 @FUNC(i64 %29, i64 0, i64 0, i64 %4) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 store i8* %13, i8** %sv_3.1.reg2mem store i64 0, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.1.reg2mem store i64 %35, i64* %sv_0.0.reg2mem br i1 %37, label LBL_30, label LBL_11 LBL_11: %sv_6.0.reload = load i8*, i8** %sv_6.0.reg2mem %38 = call i64* @memset(i64* nonnull %sv_7, i32 0, i32 56) %39 = call i64 @FUNC(i64 1363628065) %sext3 = mul i64 %39, 4294967296 %40 = ashr exact i64 %sext3, 32 store i64 %40, i64* %sv_7, align 8 %41 = call i64 @FUNC(i64 2) %42 = call i64 @FUNC(i64 %8) %43 = icmp eq i64 %12, 0 store i8* %13, i8** %sv_3.0.reg2mem store i32 56, i32* %sv_5.0.reg2mem store i32 0, i32* %sv_4.0.reg2mem store i64 12, i64* %storemerge6.reg2mem store i64 9, i64* %storemerge5.reg2mem br i1 %43, label LBL_15, label LBL_12 LBL_12: %44 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0)) %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_14, label LBL_13 LBL_13: %46 = call i64 @FUNC(i64 56) %47 = call i32 @strlen(i8* %13) %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %phitmp = add i32 %47, 63 %phitmp7 = and i32 %phitmp, -8 store i8* %13, i8** %sv_3.0.reg2mem store i32 %phitmp7, i32* %sv_5.0.reg2mem store i32 %47, i32* %sv_4.0.reg2mem store i64 9, i64* %storemerge6.reg2mem store i64 12, i64* %storemerge5.reg2mem br label LBL_15 LBL_14: %50 = call i64 @FUNC(i64 %12) store i8* null, i8** %sv_3.0.reg2mem store i32 56, i32* %sv_5.0.reg2mem store i32 0, i32* %sv_4.0.reg2mem store i64 9, i64* %storemerge6.reg2mem store i64 12, i64* %storemerge5.reg2mem br label LBL_15 LBL_15: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem %51 = sext i32 %sv_5.0.reload to i64 %52 = call i64 @FUNC(i64 %51) %53 = call i64 @FUNC(i64 %arg2, i64 0) %54 = call i64 @FUNC(i64 %53, i64* nonnull %sv_8, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0)) %55 = call i64 @FUNC(i64 %53) %56 = icmp eq i8* %sv_6.0.reload, null br i1 %56, label LBL_20, label LBL_16 LBL_16: %57 = ptrtoint i8* %sv_6.0.reload to i64 %58 = call i64 @FUNC(i64 %57, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0)) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_18, label LBL_17 LBL_17: %62 = ptrtoint i64* %sv_9 to i64 %63 = ptrtoint i64* %sv_8 to i64 %64 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_9, i64 0, i64 0), i64 %57, i64 %63, i64 %62, i64 %1) store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 0, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.1.reg2mem store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_30 LBL_18: %65 = call i64 @FUNC(i64 1) %66 = load i64, i64* %sv_8, align 8 %67 = call i64 @FUNC(i64 1, i64 %66, i64 %4) %68 = icmp eq i64 %67, 0 %69 = icmp eq i1 %68, false store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %67, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.1.reg2mem store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %69, label LBL_19, label LBL_30 LBL_19: %70 = call i64 @FUNC(i64 %67, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 0, i64 0, i64 0, i64 %4) %71 = icmp eq i64 %70, 0 %72 = icmp eq i1 %71, false store i64 %67, i64* %sv_2.0.reg2mem store i64 %70, i64* %sv_1.0.reg2mem store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %67, i64* %sv_2.1.reg2mem store i64 %70, i64* %sv_1.1.reg2mem store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %72, label LBL_21, label LBL_30 LBL_20: %73 = call i64 @FUNC(i64 0) store i64 0, i64* %sv_2.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem br label LBL_21 LBL_21: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %74 = call i64 @FUNC(i64 %29, i64 0, i64* nonnull %sv_7, i64 56, i64 0) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 56 %77 = icmp eq i1 %76, false store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %74, i64* %sv_0.0.reg2mem br i1 %77, label LBL_30, label LBL_22 LBL_22: %78 = icmp eq i8* %sv_3.0.reload, null br i1 %78, label LBL_24, label LBL_23 LBL_23: %79 = sext i32 %sv_4.0.reload to i64 %80 = bitcast i8* %sv_3.0.reload to i64* %81 = call i64 @FUNC(i64 %29, i64 56, i64* %80, i64 %79, i64 0) %82 = trunc i64 %81 to i32 %83 = icmp eq i32 %sv_4.0.reload, %82 %84 = icmp eq i1 %83, false store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %81, i64* %sv_0.0.reg2mem br i1 %84, label LBL_30, label LBL_24 LBL_24: %85 = add nuw nsw i64 %storemerge5.reload, %storemerge6.reload %86 = shl i64 1, %85 %87 = add nsw i64 %8, -1 %88 = add nsw i64 %87, %86 %89 = ashr i64 %88, %85 %90 = call i64 @FUNC(i64 512) %91 = mul i64 %89, 8 %92 = and i64 %91, 4294967288 %93 = call i64 @FUNC(i64 %92, i64 512) %94 = icmp sgt i64 %93, 0 br i1 %94, label LBL_25, label LBL_29 LBL_25: %95 = inttoptr i64 %90 to i64* store i32 0, i32* %storemerge48.reg2mem br label LBL_26 LBL_26: %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %96 = mul i32 %storemerge48.reload, 512 %97 = add i32 %96, %sv_5.0.reload %98 = sext i32 %97 to i64 %99 = call i64 @FUNC(i64 %29, i64 %98, i64* %95, i64 512, i64 0) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 512 br i1 %101, label LBL_28, label LBL_27 LBL_27: %102 = call i64 @FUNC(i64 %90) store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %99, i64* %sv_0.0.reg2mem br label LBL_30 LBL_28: %103 = add i32 %storemerge48.reload, 1 %104 = call i64 @FUNC(i64 %92, i64 512) %105 = sext i32 %103 to i64 %106 = icmp sgt i64 %104, %105 store i32 %103, i32* %storemerge48.reg2mem br i1 %106, label LBL_26, label LBL_29 LBL_29: %107 = call i64 @FUNC(i64 %90) store i8* %sv_3.0.reload, i8** %sv_3.1.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_30 LBL_30: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_3.1.reload = load i8*, i8** %sv_3.1.reg2mem %108 = call i64 @FUNC(i64 %29) store i8* %sv_3.1.reload, i8** %sv_3.2.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_31 LBL_31: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %sv_3.2.reload = load i8*, i8** %sv_3.2.reg2mem %109 = load i64, i64* %sv_8, align 8 %110 = call i64 @FUNC(i64 %109) %111 = call i64 @FUNC(i64 %sv_1.2.reload) %112 = call i64 @FUNC(i64 %sv_2.2.reload) %113 = ptrtoint i8* %sv_3.2.reload to i64 %114 = call i64 @FUNC(i64 %113) %115 = and i64 %sv_0.1.reload, 4294967295 ret i64 %115 uselistorder i64 %92, { 1, 0 } uselistorder i64 %85, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_1.0.reload, { 1, 2, 0, 3 } uselistorder i64 %67, { 0, 2, 3, 1, 4 } uselistorder i8* %sv_3.0.reload, { 4, 5, 3, 7, 8, 6, 0, 1, 2 } uselistorder i32 %sv_5.0.reload, { 1, 0 } uselistorder i32 %sv_4.0.reload, { 1, 0 } uselistorder i64 %29, { 3, 1, 0, 2, 5, 4, 6 } uselistorder i8* %15, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i8* %13, { 4, 6, 7, 5, 3, 2, 1, 0 } uselistorder i64* %sv_9, { 3, 2, 0, 4, 1, 5 } uselistorder i64* %sv_8, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_7, { 0, 2, 1 } uselistorder i64 %4, { 5, 6, 4, 7, 3, 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i8** %sv_3.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_3.1.reg2mem, { 0, 5, 6, 4, 7, 1, 2, 3, 8 } uselistorder i64* %sv_2.1.reg2mem, { 0, 5, 6, 4, 7, 1, 2, 3, 8 } uselistorder i64* %sv_1.1.reg2mem, { 0, 5, 6, 4, 7, 1, 2, 3, 8 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 6, 4, 7, 1, 2, 3, 8 } uselistorder i8** %sv_3.2.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_2.2.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 512, { 1, 0 } uselistorder i64 (i64, i64)* @DIV_ROUND_UP, { 1, 0 } uselistorder i64 512, { 1, 2, 0, 3 } uselistorder i64 (i64, i64, i64*, i64, i64)* @blk_pwrite, { 2, 1, 0 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } uselistorder i64 (i64)* @g_free, { 3, 1, 2, 0 } uselistorder i64 56, { 1, 2, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 9, { 2, 1, 0 } uselistorder i64 12, { 1, 0, 2 } uselistorder i64 (i64)* @cpu_to_be64, { 2, 1, 0 } uselistorder i64 (i64)* @cpu_to_be32, { 4, 3, 2, 1, 0 } uselistorder i32 56, { 2, 0, 1, 3 } uselistorder i64 1, { 2, 0, 1, 3 } uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 } uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_opt_get_del, { 1, 0 } uselistorder i64 4294967274, { 2, 3, 4, 1, 0 } uselistorder i8* null, { 2, 3, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 2, 1, 0 } uselistorder i64 %arg2, { 0, 1, 2, 3, 5, 4, 6 } uselistorder label LBL_30, { 6, 5, 2, 3, 0, 1, 7, 4 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } }
1
BinRealVul
dentry_unlist_8096
dentry_unlist
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i1 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = or i64 %3, 1 store i64 %4, i64* %2, align 8 %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = zext i1 %8 to i64 %10 = icmp eq i1 %8, false %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_1 LBL_1: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %0) %14 = add i64 %12, 16 %15 = icmp eq i64 %14, %0 %16 = icmp eq i1 %15, false store i64 %0, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_2: %17 = load i64, i64* %2, align 8 %18 = and i64 %17, 2 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false %21 = icmp eq i1 %20, false store i1 %19, i1* %.lcssa.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: store i64 %0, i64* %arg1, align 8 %22 = load i64, i64* %2, align 8 %23 = and i64 %22, 2 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %25, false store i1 %24, i1* %.lcssa.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_4: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem %27 = zext i1 %.lcssa.reload to i64 store i64 %27, 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* %2, { 1, 0, 2, 3 } uselistorder i64 %0, { 2, 0, 1, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 2, { 1, 0 } uselistorder i1 false, { 4, 2, 0, 1, 5, 6, 3, 7 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
vips_malloc_10971
vips_malloc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2) %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 4198710, i64 %0) %4 = add i64 %2, %arg2 store i64 %4, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
1
BinRealVul
mt2063_get_frequency_17486
mt2063_get_frequency
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 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = call i64 @FUNC(i64 2, i64* nonnull @gv_0, i64 %4, i64 %5, i64 %2, i64 %1) %7 = trunc i64 %3 to i32 %8 = bitcast i64* %arg2 to i32* store i32 %7, i32* %8, align 4 ret i64 0 uselistorder i64* %0, { 4, 3, 2, 1, 0 } }
1
BinRealVul
mj_color_correct_7788
mj_color_correct
define i64 @FUNC(i16* %arg1, i16* %arg2, i16* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i16 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.1.off0.reg2mem = alloca i16 %sv_4.1.reg2mem = alloca i32 %sv_5.0.in.reg2mem = alloca i32 %sv_3.0.in.reg2mem = alloca i16 %sv_4.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %1 to i16 %5 = trunc i64 %2 to i16 %6 = trunc i64 %3 to i16 %7 = icmp eq i16 %4, %5 %8 = icmp eq i16 %5, %6 %9 = icmp eq i1 %7, %8 br i1 %9, label LBL_1, label LBL_2 LBL_1: %sext = mul i64 %1, 281474976710656 %factor71 = ashr exact i64 %sext, 47 %10 = add i64 %factor71, ptrtoint (i64* @gv_0 to i64) %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = sub i16 1023, %12 store i16 %13, i16* %arg1, align 2 store i16 %13, i16* %arg2, align 2 store i16 %13, i16* %storemerge.reg2mem br label LBL_20 LBL_2: %14 = sext i16 %4 to i32 %15 = sext i16 %5 to i32 %16 = sext i16 %6 to i32 %17 = icmp sgt i16 %4, %5 br i1 %17, label LBL_3, label LBL_8 LBL_3: %18 = icmp slt i16 %5, %6 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = sub nsw i32 %14, %16 %sext13 = mul i32 %19, 65536 %20 = ashr exact i32 %sext13, 16 %21 = sub nsw i32 %15, %16 %22 = mul i32 %21, 256 %23 = ashr i32 %21, 23 %24 = zext i32 %22 to i64 %25 = zext i32 %23 to i64 %26 = mul i64 %25, 4294967296 %27 = or i64 %26, %24 %28 = zext i32 %20 to i64 %29 = sdiv i64 %27, %28 %30 = trunc i64 %29 to i32 %sext17 = mul i32 %30, 65536 store i32 %20, i32* %sv_4.0.reg2mem store i16 %4, i16* %sv_3.0.in.reg2mem store i32 %sext17, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_5: %31 = icmp sgt i16 %4, %6 br i1 %31, label LBL_6, label LBL_7 LBL_6: %32 = sub nsw i32 %14, %15 %sext35 = mul i32 %32, 65536 %33 = ashr exact i32 %sext35, 16 %34 = sub nsw i32 %16, %15 %35 = mul i32 %34, 256 %36 = ashr i32 %34, 23 %37 = zext i32 %35 to i64 %38 = zext i32 %36 to i64 %39 = mul i64 %38, 4294967296 %40 = or i64 %39, %37 %41 = zext i32 %33 to i64 %42 = sdiv i64 %40, %41 %43 = trunc i64 %42 to i32 %44 = mul i32 %43, 65536 %sext39 = sub i32 100663296, %44 store i32 %33, i32* %sv_4.0.reg2mem store i16 %4, i16* %sv_3.0.in.reg2mem store i32 %sext39, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_7: %45 = sub nsw i32 %16, %15 %sext40 = mul i32 %45, 65536 %46 = ashr exact i32 %sext40, 16 %47 = sub nsw i32 %14, %15 %48 = mul i32 %47, 256 %49 = ashr i32 %47, 23 %50 = zext i32 %48 to i64 %51 = zext i32 %49 to i64 %52 = mul i64 %51, 4294967296 %53 = or i64 %52, %50 %54 = zext i32 %46 to i64 %55 = sdiv i64 %53, %54 %56 = trunc i64 %55 to i32 %57 = mul i32 %56, 65536 %sext44 = add i32 %57, 67108864 store i32 %46, i32* %sv_4.0.reg2mem store i16 %6, i16* %sv_3.0.in.reg2mem store i32 %sext44, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_8: %58 = icmp sgt i16 %4, %6 br i1 %58, label LBL_9, label LBL_10 LBL_9: %59 = sub nsw i32 %15, %16 %sext45 = mul i32 %59, 65536 %60 = ashr exact i32 %sext45, 16 %61 = sub nsw i32 %14, %16 %62 = mul i32 %61, 256 %63 = ashr i32 %61, 23 %64 = zext i32 %62 to i64 %65 = zext i32 %63 to i64 %66 = mul i64 %65, 4294967296 %67 = or i64 %66, %64 %68 = zext i32 %60 to i64 %69 = sdiv i64 %67, %68 %70 = trunc i64 %69 to i32 %71 = mul i32 %70, 65536 %sext49 = sub i32 33554432, %71 store i32 %60, i32* %sv_4.0.reg2mem store i16 %5, i16* %sv_3.0.in.reg2mem store i32 %sext49, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_10: %72 = icmp sgt i16 %5, %6 br i1 %72, label LBL_11, label LBL_12 LBL_11: %73 = sub nsw i32 %15, %14 %sext50 = mul i32 %73, 65536 %74 = ashr exact i32 %sext50, 16 %75 = sub nsw i32 %16, %14 %76 = mul i32 %75, 256 %77 = ashr i32 %75, 23 %78 = zext i32 %76 to i64 %79 = zext i32 %77 to i64 %80 = mul i64 %79, 4294967296 %81 = or i64 %80, %78 %82 = zext i32 %74 to i64 %83 = sdiv i64 %81, %82 %84 = trunc i64 %83 to i32 %85 = mul i32 %84, 65536 %sext54 = add i32 %85, 33554432 store i32 %74, i32* %sv_4.0.reg2mem store i16 %5, i16* %sv_3.0.in.reg2mem store i32 %sext54, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_12: %86 = sub nsw i32 %16, %14 %sext55 = mul i32 %86, 65536 %87 = ashr exact i32 %sext55, 16 %88 = sub nsw i32 %15, %14 %89 = mul i32 %88, 256 %90 = ashr i32 %88, 23 %91 = zext i32 %89 to i64 %92 = zext i32 %90 to i64 %93 = mul i64 %92, 4294967296 %94 = or i64 %93, %91 %95 = zext i32 %87 to i64 %96 = sdiv i64 %94, %95 %97 = trunc i64 %96 to i32 %98 = mul i32 %97, 65536 %sext59 = sub i32 67108864, %98 store i32 %87, i32* %sv_4.0.reg2mem store i16 %6, i16* %sv_3.0.in.reg2mem store i32 %sext59, i32* %sv_5.0.in.reg2mem br label LBL_13 LBL_13: %sv_5.0.in.reload = load i32, i32* %sv_5.0.in.reg2mem %sv_3.0.in.reload = load i16, i16* %sv_3.0.in.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %99 = icmp eq i16 %sv_3.0.in.reload, 0 store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i16 0, i16* %sv_3.1.off0.reg2mem br i1 %99, label LBL_17, label LBL_14 LBL_14: %100 = trunc i32 %sv_4.0.reload to i16 %101 = icmp eq i16 %sv_3.0.in.reload, %100 %102 = icmp eq i1 %101, false br i1 %102, label LBL_16, label LBL_15 LBL_15: %103 = sext i16 %sv_3.0.in.reload to i64 %factor = mul i64 %103, 2 %104 = add i64 %factor, ptrtoint (i64* @gv_0 to i64) %105 = inttoptr i64 %104 to i16* %106 = load i16, i16* %105, align 2 %107 = sdiv i16 %106, 8 %108 = sext i16 %107 to i32 store i32 %108, i32* %sv_4.1.reg2mem store i16 %106, i16* %sv_3.1.off0.reg2mem br label LBL_17 LBL_16: %109 = sext i16 %sv_3.0.in.reload to i64 %factor67 = mul i64 %109, 2 %110 = add i64 %factor67, ptrtoint (i64* @gv_0 to i64) %111 = inttoptr i64 %110 to i16* %112 = load i16, i16* %111, align 2 store i32 0, i32* %sv_4.1.reg2mem store i16 %112, i16* %sv_3.1.off0.reg2mem br label LBL_17 LBL_17: %sv_5.0 = ashr exact i32 %sv_5.0.in.reload, 16 %sv_3.1.off0.reload = load i16, i16* %sv_3.1.off0.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %113 = sub i16 1023, %sv_3.1.off0.reload %114 = zext i32 %sv_5.0 to i64 %sext19 = mul i64 %114, 281474976710656 %115 = ashr exact i64 %sext19, 48 %116 = ashr exact i64 %sext19, 47 %117 = add nsw i64 %116, %115 %factor68 = mul i64 %117, 2 %118 = add i64 %factor68, ptrtoint (i64* @gv_1 to i64) %119 = inttoptr i64 %118 to i16* %120 = load i16, i16* %119, align 2 %sext20 = mul i32 %sv_4.1.reload, 65536 %121 = ashr exact i32 %sext20, 16 %122 = sext i16 %120 to i32 %123 = mul nsw i32 %121, %122 %124 = add i32 %123, 255 %125 = icmp slt i32 %123, 0 %126 = select i1 %125, i32 %124, i32 %123 %127 = udiv i32 %126, 256 %128 = trunc i32 %127 to i16 %129 = add i16 %113, %128 %130 = sext i16 %129 to i32 %131 = add i64 %factor68, add (i64 ptrtoint (i64* @gv_1 to i64), i64 2) %132 = inttoptr i64 %131 to i16* %133 = load i16, i16* %132, align 2 %134 = sext i16 %133 to i32 %135 = mul nsw i32 %121, %134 %136 = add i32 %135, 255 %137 = icmp slt i32 %135, 0 %138 = select i1 %137, i32 %136, i32 %135 %139 = udiv i32 %138, 256 %140 = trunc i32 %139 to i16 %141 = add i16 %113, %140 %142 = sext i16 %141 to i32 %143 = add i64 %factor68, add (i64 ptrtoint (i64* @gv_1 to i64), i64 4) %144 = inttoptr i64 %143 to i16* %145 = load i16, i16* %144, align 2 %146 = sext i16 %145 to i32 %147 = mul nsw i32 %121, %146 %148 = add i32 %147, 255 %149 = icmp slt i32 %147, 0 %150 = select i1 %149, i32 %148, i32 %147 %151 = udiv i32 %150, 256 %152 = trunc i32 %151 to i16 %153 = add i16 %113, %152 %154 = sext i16 %153 to i32 %155 = icmp slt i16 %129, 0 %156 = icmp eq i1 %155, false %spec.select = select i1 %156, i32 %130, i32 0 %157 = icmp slt i16 %141, 0 %158 = icmp eq i1 %157, false %sv_1.0 = select i1 %158, i32 %142, i32 0 %159 = icmp slt i16 %153, 0 %160 = icmp eq i1 %159, false %spec.select63 = select i1 %160, i32 %154, i32 0 %161 = trunc i32 %sv_5.0 to i16 %.off = add i16 %161, -257 %162 = icmp ugt i16 %.off, 766 store i32 %spec.select63, i32* %sv_2.1.reg2mem store i32 %sv_1.0, i32* %sv_1.1.reg2mem store i32 %spec.select, i32* %sv_0.2.reg2mem br i1 %162, label LBL_19, label LBL_18 LBL_18: %163 = sext i32 %sv_1.0 to i64 %factor69 = mul i64 %163, 2 %164 = add i64 %factor69, ptrtoint (i64* @gv_2 to i64) %165 = inttoptr i64 %164 to i16* %166 = load i16, i16* %165, align 2 %167 = add nsw i32 %sv_5.0, -256 %168 = sext i32 %167 to i64 %factor70 = mul i64 %168, 2 %169 = add i64 %factor70, ptrtoint (i64* @gv_3 to i64) %170 = inttoptr i64 %169 to i16* %171 = load i16, i16* %170, align 2 %172 = sext i16 %171 to i64 %173 = sext i16 %166 to i64 %174 = mul nsw i64 %172, %173 %175 = udiv i64 %174, 65536 %176 = trunc i64 %175 to i32 %177 = add i32 %spec.select, %176 %178 = trunc i32 %177 to i16 %sext27 = mul i32 %177, 65536 %179 = ashr exact i32 %sext27, 16 %.tr = trunc i64 %175 to i32 %180 = mul i32 %.tr, 2 %181 = add i32 %spec.select63, %180 %sext28 = mul i32 %181, 65536 %182 = ashr exact i32 %sext28, 16 %183 = sub i32 %sv_1.0, %180 %sext29 = mul i32 %183, 65536 %184 = ashr exact i32 %sext29, 16 %185 = icmp slt i16 %178, 1024 %spec.select65 = select i1 %185, i32 %179, i32 1023 %186 = trunc i32 %182 to i16 %187 = icmp slt i16 %186, 1024 %spec.select66 = select i1 %187, i32 %182, i32 1023 store i32 %spec.select66, i32* %sv_2.1.reg2mem store i32 %184, i32* %sv_1.1.reg2mem store i32 %spec.select65, i32* %sv_0.2.reg2mem br label LBL_19 LBL_19: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %188 = trunc i32 %sv_0.2.reload to i16 store i16 %188, i16* %arg1, align 2 %189 = trunc i32 %sv_1.1.reload to i16 store i16 %189, i16* %arg2, align 2 %190 = trunc i32 %sv_2.1.reload to i16 store i16 %190, i16* %storemerge.reg2mem br label LBL_20 LBL_20: %storemerge.reload = load i16, i16* %storemerge.reg2mem %rax.0 = ptrtoint i16* %arg3 to i64 store i16 %storemerge.reload, i16* %arg3, align 2 ret i64 %rax.0 uselistorder i32 %180, { 1, 0 } uselistorder i32 %spec.select63, { 1, 0 } uselistorder i32 %sv_1.0, { 1, 2, 0 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i16 %129, { 1, 0 } uselistorder i64 %factor68, { 1, 2, 0 } uselistorder i64 %sext19, { 1, 0 } uselistorder i32 %sv_5.0, { 0, 2, 1 } uselistorder i32 %sv_4.0.reload, { 1, 0 } uselistorder i16 %sv_3.0.in.reload, { 3, 2, 1, 0 } uselistorder i32 %88, { 1, 0 } uselistorder i32 %75, { 1, 0 } uselistorder i32 %61, { 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %16, { 5, 3, 2, 4, 7, 0, 1, 6 } uselistorder i32 %15, { 3, 7, 6, 1, 4, 0, 5, 2 } uselistorder i32 %14, { 3, 4, 2, 5, 1, 0, 7, 6 } uselistorder i16 %6, { 0, 4, 3, 1, 6, 5, 2, 7 } uselistorder i16 %5, { 0, 6, 1, 5, 4, 2, 7, 3 } uselistorder i16 %4, { 6, 1, 5, 0, 4, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 0, 1, 2, 3, 5, 6, 4 } uselistorder i16* %sv_3.0.in.reg2mem, { 0, 1, 2, 3, 5, 6, 4 } uselistorder i32* %sv_5.0.in.reg2mem, { 0, 1, 2, 3, 5, 6, 4 } uselistorder i32* %sv_4.1.reg2mem, { 0, 2, 1, 3 } uselistorder i16* %sv_3.1.off0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 2, 0 } uselistorder i64 2, { 0, 1, 5, 2, 3, 4 } uselistorder i32 67108864, { 1, 0 } uselistorder i32 256, { 6, 7, 8, 0, 1, 2, 3, 4, 5 } uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 2, 0 } uselistorder i64 47, { 1, 0 } uselistorder i16* %arg3, { 1, 0 } uselistorder i16* %arg2, { 1, 0 } uselistorder i16* %arg1, { 1, 0 } }
1
BinRealVul
bm_rect_12786
bm_rect
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = trunc i64 %arg3 to i32 %3 = trunc i64 %arg4 to i32 %sext = mul i64 %arg5, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = and i64 %arg3, 4294967295 %6 = call i64 @FUNC(i64 %0, i32 %1, i32 %2, i32 %3, i64 %5) %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i64 %0, i32 %3, i32 %2, i32 %3, i64 %7) %9 = trunc i64 %4 to i32 %10 = call i64 @FUNC(i64 %0, i32 %3, i32 %9, i32 %1, i64 %7) %11 = call i64 @FUNC(i64 %0, i32 %1, i32 %9, i32 %1, i64 %5) ret i64 %11 uselistorder i64 (i64, i32, i32, i32, i64)* @bm_line, { 3, 2, 1, 0 } }
1
BinRealVul
vmx_set_msr_bitmap_12547
vmx_set_msr_bitmap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64* @gv_0, i64** %sv_0.0.in.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = and i64 %0, 2048 %5 = icmp eq i64 %4, 0 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %global_var_404038.global_var_404030 = select i1 %8, i64* @gv_1, i64* @gv_2 store i64* %global_var_404038.global_var_404030, i64** %sv_0.0.in.reg2mem br label LBL_4 LBL_3: %global_var_404048.global_var_404040 = select i1 %8, i64* @gv_3, i64* @gv_4 store i64* %global_var_404048.global_var_404040, i64** %sv_0.0.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.reload = load i64*, i64** %sv_0.0.in.reg2mem %sv_0.0 = load i64, i64* %sv_0.0.in.reload, align 8 %9 = call i64 @FUNC(i64 %sv_0.0) %10 = call i64 @FUNC(i64 0, i64 %9) ret i64 %10 }
1
BinRealVul
collect_syscall_18978
collect_syscall
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64* @memset(i64* %arg2, i32 0, i32 72) store i64 -1, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0) store i64 4294967285, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %10 = ptrtoint i64* %arg2 to i64 %11 = call i64 @FUNC(i64 %6) %12 = add i64 %10, 64 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64 @FUNC(i64 %6) %15 = add i64 %10, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = call i64 @FUNC(i64 %0, i64 %6) store i64 %17, i64* %arg2, align 8 %18 = icmp eq i64 %6, -1 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %10, 16 %20 = call i64 @FUNC(i64 %0, i64 %6, i64 %19) br label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @put_task_stack, { 1, 0 } uselistorder i64* %arg2, { 0, 3, 1, 2 } }
1
BinRealVul
Xrealloc_9627
Xrealloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg2, 0 %1 = icmp slt i64 %arg2, 0 %2 = icmp eq i1 %1, false %3 = icmp eq i1 %0, false %4 = icmp eq i1 %2, %3 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) br label LBL_2 LBL_2: %6 = inttoptr i64 %arg1 to i64* %7 = trunc i64 %arg2 to i32 %8 = call i64* @realloc(i64* %6, i32 %7) %9 = ptrtoint i64* %8 to i64 ret i64 %9 uselistorder i64 %arg2, { 0, 1, 3, 2 } }
0
BinRealVul
apply_microcode_early_9805
apply_microcode_early
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i32, i32* %1 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %2 to i32 %9 = add i64 %7, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 121, i64 %12, i64 0) %14 = call i64 @FUNC(i64 139, i64 0, i64 0) %15 = call i64 @FUNC() %16 = zext i32 %3 to i64 %17 = call i64 @FUNC(i64 139, i64 %16, i32 %4) %18 = icmp eq i32 %4, %8 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_5 LBL_2: %19 = trunc i64 %arg2 to i8 %20 = icmp eq i8 %19, 0 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %7) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %22 = add i64 %7, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %7, i64 %25) 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 %7, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @native_wrmsr, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
0
BinRealVul
block_job_enter_13890
block_job_enter
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %3, 4294967295 %5 = xor i64 %4, 1 %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = trunc i64 %1 to i8 %10 = urem i64 %1, 256 %11 = icmp eq i8 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %2, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 1 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %23, i64 %19) store i64 %24, 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 %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_4, { 2, 3, 0, 1 } }
1
BinRealVul
backlog_get_5302
backlog_get
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.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, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %2, 8 store i64 %10, i64* %sv_1.0.reg2mem br label LBL_5 LBL_3: %11 = add i64 %2, 12 store i64 %11, i64* %sv_1.0.reg2mem br label LBL_5 LBL_4: %12 = icmp eq i32 %3, 2 %13 = icmp eq i1 %12, false %14 = add i64 %2, 16 store i64 %14, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %13, label LBL_7, label LBL_5 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %15 = icmp eq i64 %sv_1.0.reload, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %15, label LBL_7, label LBL_6 LBL_6: %16 = call i64 @FUNC(i64 %sv_1.0.reload) %17 = trunc i64 %16 to i32 store i32 %17, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = add i64 %2, 60 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 4 %23 = add i64 %2, 20 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to i32* store i32 %sv_0.0.reload, i32* %25, align 4 %26 = zext i32 %sv_0.0.reload to i64 ret i64 %26 uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 1, 0, 2 } uselistorder label LBL_7, { 1, 2, 0 } }
0
BinRealVul
jsvGetStringChars_6324
jsvGetStringChars
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg3 to i64 store i64 %arg4, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %arg2) %7 = call i64 @FUNC(i64* nonnull %sv_1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %5, i64* %sv_0.01.reg2mem br i1 %10, label LBL_3, label LBL_6 LBL_3: %11 = load i64, i64* %sv_1, align 8 %12 = add i64 %11, -1 store i64 %12, i64* %sv_1, align 8 %13 = icmp eq i64 %11, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %arg4, i64* %storemerge.reg2mem br label LBL_7 LBL_5: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %16 = add i64 %sv_0.01.reload, 1 %17 = call i64 @FUNC(i64* nonnull %sv_1) %18 = trunc i64 %17 to i8 %19 = inttoptr i64 %sv_0.01.reload to i8* store i8 %18, i8* %19, align 1 %20 = call i64 @FUNC(i64* nonnull %sv_1) %21 = call i64 @FUNC(i64* nonnull %sv_1) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %16, i64* %sv_0.01.reg2mem br i1 %24, label LBL_3, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64* nonnull %sv_1) %26 = load i64, i64* %sv_1, align 8 %27 = sub i64 %arg4, %26 store i64 %27, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 1, 0 } uselistorder i64* %sv_1, { 7, 1, 2, 3, 4, 5, 8, 9, 0, 6, 10 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg4, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
qeth_realloc_buffer_pool_9507
qeth_realloc_buffer_pool
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 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %4 = trunc i64 %1 to i32 %switch = icmp ult i32 %4, 2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %switch, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %2) %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %arg2 to i32 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* store i32 %7, i32* %11, align 4 %12 = call i64 @FUNC(i64 %2) 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 %2, { 0, 1, 4, 3, 2, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dnrmg_receive_user_skb_12169
dnrmg_receive_user_skb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = icmp ult i32 %4, 4 %7 = trunc i64 %1 to i32 %8 = icmp ugt i32 %4, %7 %or.cond = or i1 %6, %8 store i64 %5, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 1) %10 = trunc i64 %9 to i32 %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 4294967295) br label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 4294967274) store i64 %14, 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 (i64)* @RCV_SKB_FAIL, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
start_afu_18187
start_afu
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = 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 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 16 %6 = add i64 %5, %4 %7 = add i64 %6, 8 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %6, 12 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %6 to i64* store i64 %4, i64* %11, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %12 = call i64 @FUNC(i64 %4) %13 = add i64 %4, 192 %14 = add i64 %4, 160 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = add i64 %4, 224 %17 = add i64 %4, 168 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = load i64, i64* %15, align 8 %20 = add i64 %4, 176 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = add i64 %4, 184 %23 = inttoptr i64 %22 to i32* store i32 1, i32* %23, align 4 %24 = call i64 @FUNC(i64 %4) %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %3, i64 %2, i64 %1) ret i64 %25 uselistorder i64 %4, { 1, 2, 3, 5, 4, 7, 6, 8, 9, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } }
1
BinRealVul
list_type_4762
list_type
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %rdx.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem19 = alloca i64 %sv_0.17.reg2mem = alloca i32 %rcx.18.reg2mem = alloca i64 %rdx.19.reg2mem = alloca i64 %storemerge10.reg2mem = alloca i8* %.reg2mem17 = alloca i64* %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %5 = trunc i64 %arg2 to i32 store i32 0, i32* %sv_1, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = bitcast i32* %sv_1 to i64* %9 = call i64 @FUNC(i64* nonnull %8) br label LBL_2 LBL_2: %sext5 = mul i64 %arg2, 4294967296 %10 = ashr exact i64 %sext5, 32 %11 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %12 = ptrtoint [10 x i8]* %11 to i64 %13 = icmp eq [10 x i8]* %11, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_2.LBL_12_crit_edge LBL_3: %.pre14 = trunc i64 %10 to i32 store i32 %.pre14, i32* %.pre-phi.reg2mem store i64 %12, i64* %.lcssa.reg2mem br label LBL_12 LBL_4: %15 = trunc i64 %arg1 to i32 %16 = trunc i64 %10 to i32 %17 = icmp eq i32 %16, 0 %18 = zext i32 %4 to i64 store i64 %12, i64* %.reg2mem store i64* bitcast ([10 x i8]** @gv_0 to i64*), i64** %.reg2mem17 store i8* bitcast ([10 x i8]** @gv_0 to i8*), i8** %storemerge10.reg2mem store i32 0, i32* %sv_0.17.reg2mem br label LBL_5 LBL_5: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %rcx.18.reload = load i64, i64* %rcx.18.reg2mem %rdx.19.reload = load i64, i64* %rdx.19.reg2mem %storemerge10.reload = load i8*, i8** %storemerge10.reg2mem %19 = ptrtoint i8* %storemerge10.reload to i64 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, %15 %24 = icmp eq i1 %23, false store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem store i64 %rcx.18.reload, i64* %rcx.0.reg2mem store i64 %rdx.19.reload, i64* %rdx.0.reg2mem br i1 %24, label LBL_11, label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem br i1 %17, label LBL_8, label LBL_7 LBL_7: %25 = load i64, i64* @gv_1, align 8 %26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %.reload, i64 %rcx.18.reload, i64 %3, i64 %2) store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem store i64 %rcx.18.reload, i64* %rcx.0.reg2mem store i64 %.reload, i64* %rdx.0.reg2mem br label LBL_11 LBL_8: %27 = load i32, i32* %sv_1, align 4 %28 = zext i32 %27 to i64 %29 = ashr i32 %sv_0.17.reload, 31 %30 = zext i32 %sv_0.17.reload to i64 %31 = zext i32 %29 to i64 %32 = mul i64 %31, 4294967296 %33 = or i64 %32, %30 %34 = srem i64 %33, %28 %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false %38 = icmp slt i32 %sv_0.17.reload, 1 %or.cond = or i1 %38, %37 store i64 %.reload, i64* %.reg2mem19 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %.reload18 = load i64*, i64** %.reg2mem17 %39 = and i64 %34, 4294967295 %40 = load i64, i64* @gv_1, align 8 %41 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64 %39, i64 %28, i64 %3, i64 %2) %.pre = load i64, i64* %.reload18, align 8 store i64 %.pre, i64* %.reg2mem19 br label LBL_10 LBL_10: %.reload20 = load i64, i64* %.reg2mem19 %42 = load i64, i64* @gv_1, align 8 %43 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %18, i64 %.reload20, i64 %3, i64 %2) %44 = add i32 %sv_0.17.reload, 1 store i32 %44, i32* %sv_0.0.reg2mem store i64 %.reload20, i64* %rcx.0.reg2mem store i64 %18, i64* %rdx.0.reg2mem br label LBL_11 LBL_11: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %45 = add i64 %19, 16 %46 = inttoptr i64 %45 to i8* %47 = inttoptr i64 %45 to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 %48, i64* %.reg2mem store i64* %47, i64** %.reg2mem17 store i8* %46, i8** %storemerge10.reg2mem store i64 %rdx.0.reload, i64* %rdx.19.reg2mem store i64 %rcx.0.reload, i64* %rcx.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem store i32 %16, i32* %.pre-phi.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.lcssa.reg2mem store i64 %48, i64* %.lcssa.reg2mem br i1 %50, label LBL_5, label LBL_12 LBL_12: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %51 = icmp eq i32 %.pre-phi.reload, 0 %52 = icmp eq i1 %51, false store i64 %.lcssa.reload, i64* %rax.0.reg2mem br i1 %52, label LBL_14, label LBL_13 LBL_13: %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %53 = load i64, i64* @gv_1, align 8 %54 = call i64 @FUNC(i64 %53, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %3, i64 %2) store i64 %54, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 1, 0 } uselistorder i64 %.reload, { 1, 0, 2 } uselistorder i64 %rcx.18.reload, { 0, 2, 1 } uselistorder i32 %sv_0.17.reload, { 2, 3, 5, 4, 0, 1 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i32* %sv_1, { 1, 2, 0 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64** %.reg2mem17, { 1, 0, 2 } uselistorder i8** %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.19.reg2mem, { 1, 0 } uselistorder i64* %rcx.18.reg2mem, { 1, 0 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem19, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @BIO_printf, { 0, 3, 2, 1 } uselistorder [10 x i8]** @gv_0, { 2, 1, 0 } uselistorder i1 false, { 3, 4, 1, 2, 0, 5 } uselistorder i32 0, { 4, 2, 0, 3, 5, 1 } uselistorder i32 1, { 22, 19, 20, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 21, 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
decode_bytes_3408
decode_bytes
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge24.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge3.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = urem i32 %1, 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = mul i32 %2, 8 %5 = lshr i32 1400856835, %4 %6 = sub nsw i32 0, %4 %7 = and i32 %6, 24 %8 = shl i32 1400856835, %7 %9 = or i32 %8, %5 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* %storemerge3.in.reg2mem br label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 1400856835) store i64 %12, i64* %storemerge3.in.reg2mem br label LBL_3 LBL_3: %13 = ptrtoint i64* %arg2 to i64 %14 = zext i32 %2 to i64 %15 = sub i64 %0, %14 %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem %storemerge3 = trunc i64 %storemerge3.in.reload to i32 %16 = add i32 %arg3, 3 %17 = add i32 %16, %2 %18 = sdiv i32 %17, 8 %19 = zext i32 %18 to i64 %.off = add i32 %17, 7 %20 = icmp ult i32 %.off, 15 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge24.reg2mem br i1 %20, label LBL_5, label LBL_4 LBL_4: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %.reload = load i64, i64* %.reg2mem %21 = mul i64 %.reload, 4 %22 = add i64 %15, %21 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %21, %13 %26 = xor i32 %24, %storemerge3 %27 = inttoptr i64 %25 to i32* store i32 %26, i32* %27, align 4 %28 = add i32 %storemerge24.reload, 1 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %29, %19 store i64 %29, i64* %.reg2mem store i32 %28, i32* %storemerge24.reg2mem br i1 %30, label LBL_4, label LBL_5 LBL_5: br i1 %3, label LBL_7, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %14) br label LBL_7 LBL_7: ret i64 %14 uselistorder i64 %21, { 1, 0 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %2, { 3, 2, 0, 1 } uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @av_be2ne32, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
handle_mm_fault_3964
handle_mm_fault
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 0) %3 = call i64 @FUNC(i64 1) %4 = call i64 @FUNC(i64 %1, i64 1) %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %5) %7 = and i32 %arg4, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3, i32 %arg4) store i64 %9, i64* %.reg2mem br label LBL_3 LBL_2: %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3, i32 %arg4) %12 = call i64 @FUNC() store i64 %11, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %13 = load i64, i64* @gv_0, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = and i64 %.reload, 4 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %21 = call i32 @fwrite(i64* bitcast ([62 x i8]* @gv_2 to i64*), i32 1, i32 61, %_IO_FILE* %20) %22 = call i64 @FUNC() br label LBL_6 LBL_6: %23 = and i64 %.reload, 4294967295 ret i64 %23 uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i64, i64, i32)* @__handle_mm_fault, { 1, 0 } uselistorder i32 %arg4, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
alloc_l2_table_6681
alloc_l2_table
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.47.reg2mem = alloca i32 %sv_0.3.lcssa.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.315.reg2mem = alloca i32 %sv_1.016.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64 %6) %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %7) %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %3 to i32 %14 = icmp ult i32 %13, 1024 store i32 0, i32* %sv_0.3.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_17 LBL_1: %15 = bitcast i64* %rdi to i32* %16 = trunc i64 %10 to i32 %17 = bitcast i64* %arg1 to i32* %18 = and i64 %3, 4294967295 store i32 %13, i32* %.reg2mem store i64 %18, i64* %indvars.iv.reg2mem store i32 %16, i32* %sv_1.016.reg2mem store i32 0, i32* %sv_0.315.reg2mem br label LBL_2 LBL_2: %sv_0.315.reload = load i32, i32* %sv_0.315.reg2mem %sv_1.016.reload = load i32, i32* %sv_1.016.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %19 = mul i64 %indvars.iv.reload, 8 %20 = add i64 %19, %12 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = zext i32 %.reload to i64 %24 = icmp ugt i64 %indvars.iv.reload, %23 br i1 %24, label LBL_3, label LBL_4 LBL_3: %25 = call i64 @FUNC() %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i32 -4, i32* %sv_0.0.reg2mem br i1 %27, label LBL_4, label LBL_8 LBL_4: %28 = trunc i64 %indvars.iv.reload to i32 %29 = call i64 @FUNC(i64 %5, i64 %arg2, i32 %28) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i32 %sv_0.315.reload, i32* %sv_0.2.reg2mem br i1 %31, label LBL_15, label LBL_5 LBL_5: %32 = call i64 @FUNC(i64 %22) %33 = urem i64 %32, 2 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %5, i64 %22) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 store i32 -4, i32* %sv_0.0.reg2mem store i32 %sv_0.315.reload, i32* %sv_0.2.reg2mem br i1 %38, label LBL_15, label LBL_8 LBL_7: %39 = call i64 @FUNC(i64 %22, i64 %7, i64 %5, i32 %sv_1.016.reload) %40 = trunc i64 %39 to i32 store i32 %40, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %41 = icmp eq i32 %sv_0.0.reload, -5 %42 = icmp eq i1 %41, false %43 = zext i1 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = icmp eq i32 %sv_0.0.reload, -4 %46 = icmp eq i1 %45, false %47 = icmp eq i64 %indvars.iv.reload, 0 %or.cond = or i1 %47, %46 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %48 = trunc i64 %indvars.iv.reload to i32 store i32 %48, i32* %17, align 4 %49 = zext i32 %sv_1.016.reload to i64 store i64 %49, i64* %9, align 8 store i32 -5, i32* %sv_0.47.reg2mem br label LBL_19 LBL_10: %50 = icmp slt i32 %sv_0.0.reload, 0 %51 = icmp eq i1 %50, false %or.cond3 = or i1 %45, %51 br i1 %or.cond3, label LBL_13, label LBL_11 LBL_11: %52 = zext i32 %sv_0.0.reload to i64 %53 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %52, i64 %indvars.iv.reload, i64 %2, i64 %1) %54 = load i64, i64* @gv_1, align 8 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 %58 = zext i1 %57 to i64 %59 = call i64 @FUNC(i64 %58) store i32 %sv_0.0.reload, i32* %sv_0.47.reg2mem br i1 %47, label LBL_19, label LBL_12 LBL_12: %60 = load i64, i64* @gv_1, align 8 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = icmp eq i64 %62, 0 %64 = zext i1 %63 to i64 %65 = call i64 @FUNC(i64 %64) %66 = trunc i64 %indvars.iv.reload to i32 store i32 %66, i32* %17, align 4 %67 = zext i32 %sv_1.016.reload to i64 store i64 %67, i64* %9, align 8 %68 = load i64, i64* @gv_1, align 8 %69 = add i64 %68, 8 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %70, align 8 %71 = load i64, i64* @gv_1, align 8 %72 = inttoptr i64 %71 to i64* store i64 %4, i64* %72, align 8 %73 = load i64, i64* @gv_1, align 8 %74 = add i64 %73, 16 %75 = inttoptr i64 %74 to i32* store i32 1, i32* %75, align 4 store i32 %sv_0.0.reload, i32* %sv_0.47.reg2mem br label LBL_19 LBL_13: store i32 %sv_0.0.reload, i32* %sv_0.47.reg2mem br i1 %50, label LBL_19, label LBL_14 LBL_14: %76 = call i64 @FUNC(i64 %22, i64 %5) store i64 %76, i64* %21, align 8 store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br label LBL_15 LBL_15: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %77 = icmp ult i64 %indvars.iv.next, 1024 store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem br i1 %77, label LBL_15.LBL_2_crit_edge, label LBL_17 LBL_16: %.pre = load i32, i32* %15, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.016.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.315.reg2mem br label LBL_2 LBL_17: %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem %78 = icmp eq i32 %sv_0.3.lcssa.reload, 0 %79 = icmp eq i1 %78, false %80 = urem i64 %arg2, 2 %81 = icmp eq i64 %80, 0 %or.cond5 = or i1 %81, %79 store i32 %sv_0.3.lcssa.reload, i32* %sv_0.47.reg2mem br i1 %or.cond5, label LBL_19, label LBL_18 LBL_18: %82 = call i64 @FUNC(i64 %12, i64 %5) store i32 %sv_0.3.lcssa.reload, i32* %sv_0.47.reg2mem br label LBL_19 LBL_19: %sv_0.47.reload = load i32, i32* %sv_0.47.reg2mem %83 = call i64 @FUNC(i64 %12) %84 = zext i32 %sv_0.47.reload to i64 ret i64 %84 uselistorder i32 %sv_0.3.lcssa.reload, { 1, 0, 2 } uselistorder i32 %sv_0.2.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1, 7, 6, 4, 5 } uselistorder i64 %22, { 1, 2, 0, 3 } uselistorder i64 %indvars.iv.reload, { 0, 5, 6, 4, 1, 2, 3, 7 } uselistorder i32 %sv_1.016.reload, { 2, 1, 0 } uselistorder i32* %17, { 1, 0 } uselistorder i64 %12, { 2, 1, 0 } uselistorder i64* %9, { 1, 0, 2 } uselistorder i64 %5, { 2, 1, 3, 0, 4 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.016.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.315.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.47.reg2mem, { 0, 6, 5, 1, 3, 2, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @ASSERT, { 2, 1, 0 } uselistorder i32 -4, { 2, 0, 1 } uselistorder i32 0, { 3, 2, 4, 5, 6, 7, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_19, { 4, 5, 0, 2, 1, 3 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
encode_gray_bitstream_16605
encode_gray_bitstream
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = icmp slt i32 %3, 0 %5 = zext i1 %4 to i32 %6 = add i32 %5, %3 %7 = ashr i32 %6, 1 %8 = urem i64 %1, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = icmp sgt i32 %6, 1 store i64 0, i64* %rax.0.in.reg2mem br i1 %10, label LBL_2, label LBL_11 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* %15 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv14.reg2mem br label LBL_3 LBL_3: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %16 = load i64, i64* %12, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = load i64, i64* %14, align 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = mul i64 %indvars.iv14.reload, 8 %23 = add i64 %21, %22 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 4 %28 = add i64 %27, %18 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i32 %30, 1 store i32 %31, i32* %29, align 4 %32 = load i64, i64* %12, align 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = load i64, i64* %14, align 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = or i64 %22, 4 %39 = add i64 %37, %38 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 4 %44 = add i64 %43, %34 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i32 %46, 1 store i32 %47, i32* %45, align 4 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %48 = icmp slt i64 %indvars.iv.next15, %15 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem store i64 %indvars.iv.next15, i64* %rax.0.in.reg2mem br i1 %48, label LBL_3, label LBL_11 LBL_4: %49 = add i64 %2, 48 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, 0 %53 = icmp sgt i32 %6, 1 br i1 %52, label LBL_7, label LBL_5 LBL_5: store i64 0, i64* %rax.0.in.reg2mem br i1 %53, label LBL_6, label LBL_11 LBL_6: %54 = add i64 %2, 8 %55 = inttoptr i64 %54 to i64* %56 = add i64 %2, 16 %57 = inttoptr i64 %56 to i64* %58 = add i64 %2, 32 %59 = inttoptr i64 %58 to i64* %60 = add i64 %2, 24 %61 = inttoptr i64 %60 to i64* %62 = add i64 %2, 40 %63 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_9 LBL_7: store i64 0, i64* %rax.0.in.reg2mem br i1 %53, label LBL_8, label LBL_11 LBL_8: %64 = add i64 %2, 32 %65 = inttoptr i64 %64 to i64* %66 = add i64 %2, 16 %67 = inttoptr i64 %66 to i64* %68 = add i64 %2, 24 %69 = inttoptr i64 %68 to i64* %70 = add i64 %2, 40 %71 = sext i32 %7 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_9: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %72 = load i64, i64* %55, align 8 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = load i64, i64* %57, align 8 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = mul i64 %indvars.iv12.reload, 8 %79 = add i64 %77, %78 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = sext i32 %81 to i64 %83 = mul i64 %82, 4 %84 = add i64 %83, %74 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = add i32 %86, 1 store i32 %87, i32* %85, align 4 %88 = load i64, i64* %59, align 8 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = load i64, i64* %57, align 8 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = add i64 %93, %78 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 4 %99 = add i64 %98, %90 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = load i64, i64* %61, align 8 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = add i64 %104, %98 %106 = inttoptr i64 %105 to i32* %107 = load i32, i32* %106, align 4 %108 = zext i32 %107 to i64 %109 = call i64 @FUNC(i64 %62, i64 %108, i32 %101) %110 = load i64, i64* %55, align 8 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 %113 = load i64, i64* %57, align 8 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = or i64 %78, 4 %117 = add i64 %115, %116 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = sext i32 %119 to i64 %121 = mul i64 %120, 4 %122 = add i64 %121, %112 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = add i32 %124, 1 store i32 %125, i32* %123, align 4 %126 = load i64, i64* %59, align 8 %127 = inttoptr i64 %126 to i64* %128 = load i64, i64* %127, align 8 %129 = load i64, i64* %57, align 8 %130 = inttoptr i64 %129 to i64* %131 = load i64, i64* %130, align 8 %132 = add i64 %131, %116 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = sext i32 %134 to i64 %136 = mul i64 %135, 4 %137 = add i64 %136, %128 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = load i64, i64* %61, align 8 %141 = inttoptr i64 %140 to i64* %142 = load i64, i64* %141, align 8 %143 = add i64 %142, %136 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = zext i32 %145 to i64 %147 = call i64 @FUNC(i64 %62, i64 %146, i32 %139) %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %148 = icmp slt i64 %indvars.iv.next13, %63 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i64 %indvars.iv.next13, i64* %rax.0.in.reg2mem br i1 %148, label LBL_9, label LBL_11 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %149 = load i64, i64* %65, align 8 %150 = inttoptr i64 %149 to i64* %151 = load i64, i64* %150, align 8 %152 = load i64, i64* %67, align 8 %153 = inttoptr i64 %152 to i64* %154 = load i64, i64* %153, align 8 %155 = mul i64 %indvars.iv.reload, 8 %156 = add i64 %154, %155 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = sext i32 %158 to i64 %160 = mul i64 %159, 4 %161 = add i64 %160, %151 %162 = inttoptr i64 %161 to i32* %163 = load i32, i32* %162, align 4 %164 = load i64, i64* %69, align 8 %165 = inttoptr i64 %164 to i64* %166 = load i64, i64* %165, align 8 %167 = add i64 %166, %160 %168 = inttoptr i64 %167 to i32* %169 = load i32, i32* %168, align 4 %170 = zext i32 %169 to i64 %171 = call i64 @FUNC(i64 %70, i64 %170, i32 %163) %172 = load i64, i64* %65, align 8 %173 = inttoptr i64 %172 to i64* %174 = load i64, i64* %173, align 8 %175 = load i64, i64* %67, align 8 %176 = inttoptr i64 %175 to i64* %177 = load i64, i64* %176, align 8 %178 = or i64 %155, 4 %179 = add i64 %177, %178 %180 = inttoptr i64 %179 to i32* %181 = load i32, i32* %180, align 4 %182 = sext i32 %181 to i64 %183 = mul i64 %182, 4 %184 = add i64 %183, %174 %185 = inttoptr i64 %184 to i32* %186 = load i32, i32* %185, align 4 %187 = load i64, i64* %69, align 8 %188 = inttoptr i64 %187 to i64* %189 = load i64, i64* %188, align 8 %190 = add i64 %189, %183 %191 = inttoptr i64 %190 to i32* %192 = load i32, i32* %191, align 4 %193 = zext i32 %192 to i64 %194 = call i64 @FUNC(i64 %70, i64 %193, i32 %186) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %195 = icmp slt i64 %indvars.iv.next, %71 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %indvars.iv.next, i64* %rax.0.in.reg2mem br i1 %195, label LBL_10, label LBL_11 LBL_11: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %183, { 1, 0 } uselistorder i64 %160, { 1, 0 } uselistorder i64 %136, { 1, 0 } uselistorder i64 %98, { 1, 0 } uselistorder i64 %78, { 0, 2, 1 } uselistorder i64* %57, { 0, 2, 1, 3 } uselistorder i1 %53, { 1, 0 } uselistorder i32 %7, { 2, 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 4, 3, 2, 6, 5, 11, 1, 0 } uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 2, 6, 5, 1, 4 } uselistorder i64 (i64, i64, i32)* @put_bits, { 3, 2, 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 4, { 0, 8, 1, 2, 3, 9, 4, 5, 6, 10, 7 } uselistorder i64 8, { 0, 1, 3, 2, 4 } uselistorder label LBL_11, { 2, 1, 5, 4, 0, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
handle_metadata_4730
handle_metadata
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i32 %rsi.03.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %4, i64 %8) %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %4, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = add i64 %4, 12 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 store i32 0, i32* %11, align 4 %20 = and i64 %14, 4294967295 store i64 %20, i64* %storemerge.reg2mem br label LBL_9 LBL_2: store i64 %13, i64* %sv_3, align 8 %sext = mul i64 %9, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = add i64 %21, %4 store i64 %22, i64* %sv_2, align 8 %23 = load i32, i32* %6, align 4 %24 = add i32 %23, -12 %25 = icmp sgt i32 %24, 0 store i64 %22, i64* %.reg2mem store i64 %4, i64* %rdi.1.reg2mem br i1 %25, label LBL_3, label LBL_7 LBL_3: %26 = add i64 %3, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 store i64 %13, i64* %rsi.03.reg2mem store i32 %28, i32* %sv_1.02.reg2mem store i32 0, i32* %sv_0.11.reg2mem br label LBL_4 LBL_4: %rsi.03.reload = load i64, i64* %rsi.03.reg2mem %29 = call i64 @FUNC(i64* nonnull %sv_3) %30 = call i64 @FUNC(i64* nonnull %sv_3) %31 = call i64 @FUNC(i64* nonnull %sv_3) %32 = call i64 @FUNC(i64* nonnull %sv_3) %33 = add i64 %30, 7 %34 = and i64 %33, 4294967295 %35 = load i32, i32* %6, align 4 %36 = sext i32 %35 to i64 %37 = add i64 %rsi.03.reload, %36 %38 = load i64, i64* %sv_3, align 8 %39 = sub i64 %37, %38 %40 = icmp slt i64 %39, %34 br i1 %40, label LBL_4.LBL_7_crit_edge, label LBL_5 LBL_5: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %41 = trunc i64 %31 to i32 %42 = trunc i64 %32 to i32 %43 = mul i32 %42, 16777216 %44 = or i32 %43, %41 %45 = icmp eq i32 %sv_0.11.reload, 0 %46 = icmp eq i1 %45, false %spec.select = select i1 %46, i32 %sv_0.11.reload, i32 %44 %47 = sub i32 %44, %spec.select %48 = add i32 %47, %sv_1.02.reload %49 = trunc i64 %30 to i32 %50 = urem i64 %29, 256 %51 = call i64 @FUNC(i64* nonnull %sv_2, i64 %50) %52 = and i64 %30, 4294967295 %53 = call i64 @FUNC(i64* nonnull %sv_2, i64 %52) %54 = zext i32 %48 to i64 %55 = call i64 @FUNC(i64* nonnull %sv_2, i64 %54) %56 = udiv i32 %48, 16777216 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64* nonnull %sv_2, i64 %57) %59 = add i32 %49, 7 %60 = load i64, i64* %sv_3, align 8 %61 = load i64, i64* %sv_2, align 8 %62 = inttoptr i64 %61 to i64* %63 = inttoptr i64 %60 to i64* %64 = call i64* @memcpy(i64* %62, i64* %63, i32 %59) %65 = load i64, i64* %sv_3, align 8 %66 = add i64 %65, %34 store i64 %66, i64* %sv_3, align 8 %67 = load i64, i64* %sv_2, align 8 %68 = add i64 %67, %34 store i64 %68, i64* %sv_2, align 8 %69 = sub i64 %66, %60 %70 = load i32, i32* %6, align 4 %71 = add i32 %70, -12 %72 = sext i32 %71 to i64 %73 = icmp slt i64 %69, %72 store i64 %60, i64* %rsi.03.reg2mem store i32 %48, i32* %sv_1.02.reg2mem store i32 %44, i32* %sv_0.11.reg2mem store i64 %68, i64* %.reg2mem store i64 %60, i64* %rcx.1.reg2mem store i64 %61, i64* %rdi.1.reg2mem br i1 %73, label LBL_4, label LBL_7 LBL_6: %74 = ptrtoint i64* %sv_3 to i64 %.pre = load i64, i64* %sv_2, align 8 store i64 %.pre, i64* %.reg2mem store i64 %34, i64* %rcx.1.reg2mem store i64 %74, i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.reload = load i64, i64* %.reg2mem %75 = load i32, i32* %11, align 4 %76 = sext i32 %75 to i64 %77 = add i64 %rdi.1.reload, %76 %78 = icmp eq i64 %77, %.reload store i64 0, i64* %storemerge.reg2mem br i1 %78, label LBL_9, label LBL_8 LBL_8: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %79 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) %80 = load i64, i64* %sv_2, align 8 %81 = trunc i64 %80 to i32 store i32 %81, i32* %11, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %44, { 0, 2, 1 } uselistorder i64 %30, { 0, 2, 1 } uselistorder i32* %11, { 1, 2, 0, 3 } uselistorder i32* %6, { 2, 1, 0, 3 } uselistorder i64* %sv_3, { 0, 5, 6, 7, 8, 1, 2, 3, 4, 9 } uselistorder i64* %sv_2, { 5, 0, 6, 7, 8, 1, 2, 3, 4, 9 } uselistorder i64* %rsi.03.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*, i64)* @bytestream_put_be24, { 1, 0 } uselistorder i64 (i64*, i64)* @bytestream_put_byte, { 1, 0 } uselistorder i64 256, { 1, 0, 2 } uselistorder i32 16777216, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_be24, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_byte, { 1, 0 } uselistorder i32 -12, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2, 4, 5 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
hbitmap_get_2630
hbitmap_get
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 i8* %3 = load i8, i8* %2, align 1 %4 = urem i8 %3, 64 %5 = zext i8 %4 to i64 %storemerge = lshr i64 %arg2, %5 %6 = icmp ult i64 %storemerge, %0 br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = urem i64 %storemerge, 64 %8 = shl i64 1, %7 %9 = mul i64 %storemerge, 8 %10 = add i64 %0, 24 %11 = add i64 %10, %9 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = and i64 %13, %8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i64 %18 = and i64 %14, -256 %19 = or i64 %18, %17 ret i64 %19 uselistorder i64 %14, { 1, 0 } }
0
BinRealVul
usb_uas_unrealize_2912
usb_uas_unrealize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %1, 8 %6 = call i64 @FUNC(i64 %5) ret i64 %6 }
0
BinRealVul
mb_cpu_class_init_15851
mb_cpu_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 4198669, i64* %arg1, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198690, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198697, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198704, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198711, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198718, i64* %14, align 8 %15 = add i64 %0, 80 %16 = inttoptr i64 %15 to i64* store i64 4198732, i64* %16, align 8 %17 = add i64 %0, 88 %18 = inttoptr i64 %17 to i64* store i64 4198739, i64* %18, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %19 = load i64, i64* @gv_1, align 8 store i64 %19, i64* %4, align 8 %20 = add i64 %0, 64 %21 = inttoptr i64 %20 to i32* store i32 37, i32* %21, align 4 %22 = add i64 %0, 72 %23 = inttoptr i64 %22 to i64* store i64 4198746, i64* %23, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } }
1
BinRealVul
readwbmp_5289
readwbmp
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.312.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i32 %.reg2mem28 = alloca i32 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %sv_0.2.lcssa.reg2mem = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.17.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i32 %storemerge59.reg2mem = alloca i32 %.reg2mem16 = alloca i32 %sv_0.210.reg2mem = alloca i32 %sv_1.111.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 24) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_26 LBL_1: %3 = inttoptr i64 %0 to i32* %4 = trunc i64 %arg2 to i32 store i32 %4, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64 %arg2) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_5: %11 = call i64 @FUNC(i64 %arg1, i64 %arg2) %12 = trunc i64 %11 to i32 %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = icmp eq i32 %12, -1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_7: %18 = call i64 @FUNC(i64 %arg1, i64 %arg2) %19 = trunc i64 %18 to i32 %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = icmp eq i32 %19, -1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_9: %25 = and i64 %18, 4294967295 %26 = load i32, i32* %14, align 4 %27 = zext i32 %26 to i64 %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %27, i64 %25) %29 = load i32, i32* %14, align 4 %30 = sext i32 %29 to i64 %31 = call i64 @FUNC(i64 4, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = load i32, i32* %21, align 4 %36 = sext i32 %35 to i64 %37 = load i32, i32* %14, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = call i64 @FUNC(i64 %39, i64 %36) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_12: %44 = load i32, i32* %14, align 4 %45 = load i32, i32* %21, align 4 %46 = sext i32 %45 to i64 %47 = sext i32 %44 to i64 %48 = mul nsw i64 %46, %47 %49 = call i64 @FUNC(i64 %48, i64 4, i64 0) %sext = mul i64 %49, 4294967296 %50 = ashr exact i64 %sext, 32 %51 = add i64 %0, 16 %52 = inttoptr i64 %51 to i64* store i64 %50, i64* %52, align 8 %53 = icmp eq i64 %sext, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_14, label LBL_13 LBL_13: %55 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_14: %56 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) %57 = load i32, i32* %21, align 4 %58 = icmp eq i32 %57, 0 br i1 %58, label LBL_25, label LBL_15 LBL_15: %sext3 = mul i64 %arg2, 4294967296 %59 = ashr exact i64 %sext3, 32 %60 = trunc i64 %59 to i32 %.pre = load i32, i32* %14, align 4 store i32 %57, i32* %.reg2mem24 store i32 %.pre, i32* %.reg2mem26 store i32 %.pre, i32* %.reg2mem28 store i32 0, i32* %storemerge13.reg2mem store i32 0, i32* %sv_0.312.reg2mem br label LBL_24 LBL_16: %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %indvars.iv.reload = load i32, i32* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem16 store i32 7, i32* %storemerge59.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.08.reg2mem store i32 %sv_0.210.reload, i32* %sv_0.17.reg2mem br label LBL_17 LBL_17: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %.reload17 = load i32, i32* %.reg2mem16 %61 = icmp ult i32 %sv_1.08.reload, %.reload17 store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem br i1 %61, label LBL_18, label LBL_19 LBL_18: %62 = icmp eq i32 %storemerge59.reload, 0 %63 = lshr i32 %60, %storemerge59.reload %64 = zext i32 %63 to i64 %storemerge4 = select i1 %62, i64 %59, i64 %64 %65 = urem i64 %storemerge4, 2 %66 = icmp ne i64 %65, 0 %67 = load i64, i64* %52, align 8 %68 = sext i32 %sv_0.17.reload to i64 %69 = mul i64 %68, 4 %70 = add i64 %67, %69 %71 = inttoptr i64 %70 to i32* %. = zext i1 %66 to i32 store i32 %., i32* %71, align 4 %72 = add i32 %sv_0.17.reload, 1 store i32 %72, i32* %sv_0.0.reg2mem br label LBL_19 LBL_19: %73 = add i32 %sv_1.08.reload, 1 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %exitcond = icmp eq i32 %73, %indvars.iv.reload br i1 %exitcond, label LBL_21, label LBL_19.LBL_17_crit_edge LBL_20: %74 = add nsw i32 %storemerge59.reload, -1 %.pre14 = load i32, i32* %14, align 4 store i32 %.pre14, i32* %.reg2mem16 store i32 %74, i32* %storemerge59.reg2mem store i32 %73, i32* %sv_1.08.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem br label LBL_17 LBL_21: %75 = add i32 %sv_1.111.reload, 8 %76 = load i32, i32* %14, align 4 %77 = zext i32 %76 to i64 %78 = sext i32 %75 to i64 %79 = icmp slt i64 %78, %77 %indvars.iv.next = add i32 %indvars.iv.reload, 8 store i32 %76, i32* %.reg2mem store i32 %indvars.iv.next, i32* %indvars.iv.reg2mem store i32 %75, i32* %sv_1.111.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.210.reg2mem br i1 %79, label LBL_16, label LBL_22 LBL_22: %.pre15 = load i32, i32* %21, align 4 store i32 %.pre15, i32* %.reg2mem18 store i32 %76, i32* %.reg2mem20 store i32 %76, i32* %.reg2mem22 store i32 %sv_0.0.reload, i32* %sv_0.2.lcssa.reg2mem br label LBL_23 LBL_23: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %.reload23 = load i32, i32* %.reg2mem22 %.reload21 = load i32, i32* %.reg2mem20 %.reload19 = load i32, i32* %.reg2mem18 %80 = add i32 %storemerge13.reload, 1 %81 = zext i32 %.reload19 to i64 %82 = sext i32 %80 to i64 %83 = icmp slt i64 %82, %81 store i32 %.reload19, i32* %.reg2mem24 store i32 %.reload21, i32* %.reg2mem26 store i32 %.reload23, i32* %.reg2mem28 store i32 %80, i32* %storemerge13.reg2mem store i32 %sv_0.2.lcssa.reload, i32* %sv_0.312.reg2mem br i1 %83, label LBL_24, label LBL_25 LBL_24: %sv_0.312.reload = load i32, i32* %sv_0.312.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload29 = load i32, i32* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i32, i32* %.reg2mem24 %84 = icmp eq i32 %.reload29, 0 store i32 %.reload27, i32* %.reg2mem store i32 8, i32* %indvars.iv.reg2mem store i32 0, i32* %sv_1.111.reg2mem store i32 %sv_0.312.reload, i32* %sv_0.210.reg2mem store i32 %.reload25, i32* %.reg2mem18 store i32 %.reload27, i32* %.reg2mem20 store i32 0, i32* %.reg2mem22 store i32 %sv_0.312.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %84, label LBL_23, label LBL_16 LBL_25: store i64 %0, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload27, { 1, 0 } uselistorder i32 %sv_0.312.reload, { 1, 0 } uselistorder i32 %sv_0.17.reload, { 1, 2, 0 } uselistorder i32 %sv_1.111.reload, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %14, { 2, 0, 1, 3, 4, 5, 6, 7 } uselistorder i32* %.reg2mem, { 1, 2, 0 } uselistorder i32* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.111.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.210.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem16, { 1, 0, 2 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem18, { 1, 0, 2 } uselistorder i32* %.reg2mem20, { 1, 0, 2 } uselistorder i32* %.reg2mem22, { 1, 0, 2 } uselistorder i32* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 8, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @overflow2, { 1, 0 } uselistorder i64 4, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @getmbi, { 1, 0 } uselistorder i64 (i64)* @gdFree, { 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 5, 6, 7, 4, 3, 2, 1, 0 } uselistorder label LBL_26, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_19, { 1, 0 } }
0
BinRealVul
__get_data_block_11184
__get_data_block
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3, i32 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %5 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %6 = trunc i64 %arg5 to i32 %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0, i32 %arg4, i32 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i64 %3, 4294967295 %13 = trunc i64 %2 to i32 %14 = urem i32 %13, 32 %15 = icmp eq i32 %14, 0 %16 = trunc i64 %3 to i32 %17 = ashr i32 %16, %14 %18 = zext i32 %17 to i64 %19 = select i1 %15, i64 %12, i64 %18 %20 = trunc i64 %19 to i32 %21 = bitcast i64* %rdi to i32* %22 = add i64 %7, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = ptrtoint i32* %arg3 to i64 %26 = call i64 @FUNC(i64 %25, i64 %24, i64 %5) %27 = add i64 %25, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = and i32 %29, -65536 %31 = or i32 %30, %4 store i32 %31, i32* %28, align 4 %32 = load i32, i32* %21, align 8 %33 = urem i32 %32, 32 %34 = icmp eq i32 %33, 0 %35 = shl i32 %20, %33 %36 = zext i32 %35 to i64 %37 = select i1 %34, i64 %19, i64 %36 %38 = trunc i64 %37 to i32 store i32 %38, i32* %arg3, align 4 br label LBL_2 LBL_2: %39 = and i64 %8, 4294967295 ret i64 %39 uselistorder i32 %33, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 0, 2, 1, 3 } }
1
BinRealVul
gen_bx_im_14532
gen_bx_im
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 store i32 1, i32* %arg1, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %1, 2 %7 = icmp eq i32 %5, %6 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC() %9 = urem i64 %2, 2 %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = call i64 @FUNC(i64 %10, i64 0, i64 0) %13 = call i64 @FUNC(i64 %10) br label LBL_2 LBL_2: %14 = and i64 %2, 4294967294 %15 = load i32, i32* inttoptr (i64 60 to i32*), align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 %14) ret i64 %17 uselistorder i64 %2, { 1, 0 } uselistorder i64 (i64, i64)* @tcg_gen_movi_i32, { 1, 0 } }
1
BinRealVul
atusb_get_and_show_build_6801
atusb_get_and_show_build
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 257, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %3, i64 %5, i64 0, i64 0, i64 0, i64 0, i64 %0, i64 256) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %6, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %0) br label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) %14 = and i64 %6, 4294967295 store i64 %14, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
query_formats_1879
query_formats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %0 = call i64 @FUNC(i64 %indvars.iv.reload) %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %indvars.iv.reload) br label LBL_3 LBL_3: %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 br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %7 = ptrtoint i64* %arg1 to i64 %8 = load i64, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %7, i64 %8) ret i64 0 uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
decode_residuals_2203
decode_residuals
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_1.19.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i64 %sv_1.212.reg2mem = alloca i32 %sv_0.313.reg2mem = alloca i64 %storemerge414.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 16 %6 = call i64 @FUNC(i64 %5, i64 2) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 2 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = and i64 %6, 4294967295 %13 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_15 LBL_2: %14 = trunc i64 %3 to i32 %15 = call i64 @FUNC(i64 %5, i64 4) %16 = trunc i64 %15 to i32 %17 = urem i32 %16, 32 %18 = ashr i32 %14, %17 %19 = shl i32 %18, %17 %20 = icmp eq i32 %19, %14 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = add i64 %4, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = and i64 %3, 4294967295 %25 = and i64 %15, 4294967295 %26 = call i64 @FUNC(i64 %23, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %24, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %27 = icmp slt i32 %18, %arg3 br i1 %27, label LBL_5, label LBL_6 LBL_5: %28 = add i64 %4, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = zext i32 %18 to i64 %32 = zext i32 %arg3 to i64 %33 = call i64 @FUNC(i64 %30, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %32, i64 %31, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %34 = ptrtoint i64* %arg2 to i64 %35 = add i32 %7, 4 %36 = urem i32 %35, 32 %37 = icmp eq i32 %36, 0 %notmask = shl nsw i32 -1, %36 %38 = sub i32 0, %notmask %phitmp = sub i32 %38, 1 %storemerge2 = select i1 %37, i32 0, i32 %phitmp %39 = sext i32 %arg3 to i64 %40 = mul i64 %39, 4 %41 = add i64 %40, %34 %42 = shl i32 1, %17 %storemerge3 = zext i32 %42 to i64 %43 = zext i32 %35 to i64 store i32 0, i32* %storemerge414.reg2mem store i64 %41, i64* %sv_0.313.reg2mem store i32 %arg3, i32* %sv_1.212.reg2mem br label LBL_7 LBL_7: %sv_1.212.reload = load i32, i32* %sv_1.212.reg2mem %sv_0.313.reload = load i64, i64* %sv_0.313.reg2mem %storemerge414.reload = load i32, i32* %storemerge414.reg2mem %44 = call i64 @FUNC(i64 %5, i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %storemerge2, %45 %47 = icmp eq i1 %46, false br i1 %47, label LBL_8, label LBL_10 LBL_8: %48 = icmp slt i32 %sv_1.212.reload, %18 store i64 %sv_0.313.reload, i64* %sv_0.2.reg2mem br i1 %48, label LBL_9, label LBL_14 LBL_9: %49 = and i64 %44, 4294967295 store i64 %sv_0.313.reload, i64* %sv_0.110.reg2mem store i32 %sv_1.212.reload, i32* %sv_1.19.reg2mem br label LBL_13 LBL_10: %50 = call i64 @FUNC(i64 %5, i64 5) %51 = icmp slt i32 %sv_1.212.reload, %18 store i64 %sv_0.313.reload, i64* %sv_0.2.reg2mem br i1 %51, label LBL_11, label LBL_14 LBL_11: %52 = and i64 %50, 4294967295 store i64 %sv_0.313.reload, i64* %sv_0.08.reg2mem store i32 %sv_1.212.reload, i32* %sv_1.07.reg2mem br label LBL_12 LBL_12: %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %53 = add i64 %sv_0.08.reload, 4 %54 = call i64 @FUNC(i64 %5, i64 %52) %55 = trunc i64 %54 to i32 %56 = inttoptr i64 %sv_0.08.reload to i32* store i32 %55, i32* %56, align 4 %57 = add nsw i32 %sv_1.07.reload, 1 %exitcond = icmp eq i32 %57, %18 store i64 %53, i64* %sv_0.08.reg2mem store i32 %57, i32* %sv_1.07.reg2mem store i64 %53, i64* %sv_0.2.reg2mem br i1 %exitcond, label LBL_14, label LBL_12 LBL_13: %sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem %58 = add i64 %sv_0.110.reload, 4 %59 = call i64 @FUNC(i64 %5, i64 %49, i64 2147483647, i64 0) %60 = trunc i64 %59 to i32 %61 = inttoptr i64 %sv_0.110.reload to i32* store i32 %60, i32* %61, align 4 %62 = add nsw i32 %sv_1.19.reload, 1 %exitcond16 = icmp eq i32 %62, %18 store i64 %58, i64* %sv_0.110.reg2mem store i32 %62, i32* %sv_1.19.reg2mem store i64 %58, i64* %sv_0.2.reg2mem br i1 %exitcond16, label LBL_14, label LBL_13 LBL_14: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %63 = add i32 %storemerge414.reload, 1 %64 = sext i32 %63 to i64 %65 = icmp sgt i64 %storemerge3, %64 store i32 %63, i32* %storemerge414.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.313.reg2mem store i32 0, i32* %sv_1.212.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_7, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.313.reload, { 3, 0, 2, 1 } uselistorder i32 %sv_1.212.reload, { 1, 3, 0, 2 } uselistorder i32 %35, { 1, 0 } uselistorder i32 %18, { 0, 1, 3, 2, 5, 4, 6 } uselistorder i32 %17, { 2, 1, 0 } uselistorder i64 %5, { 2, 0, 1, 3, 4, 5 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge414.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.313.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.212.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.110.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.19.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4, { 2, 3, 0, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 } uselistorder i32 %arg3, { 0, 2, 3, 1 } uselistorder label LBL_14, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
SkipXMPValue_9450
SkipXMPValue
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %.reg2mem = alloca i8* %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = inttoptr i64 %arg1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false store i8* %2, i8** %.reg2mem store i64 %arg1, i64* %sv_0.01.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %.reload = load i8*, i8** %.reg2mem %6 = call i16** @__ctype_b_loc() %7 = load i16*, i16** %6, align 8 %8 = ptrtoint i16* %7 to i64 %9 = load i8, i8* %.reload, align 1 %10 = zext i8 %9 to i64 %11 = mul i64 %10, 2 %12 = add i64 %11, %8 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = and i16 %14, 8192 %16 = icmp eq i16 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %18 = add i64 %sv_0.01.reload, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false store i8* %19, i8** %.reg2mem store i64 %18, i64* %sv_0.01.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_2, label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i8 0, { 1, 0 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
0