dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
object_create_initial_2626
object_create_initial
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0)) %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0)) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0)) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_6 LBL_5: %18 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0)) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 0 %. = zext i1 %20 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2, 6 } uselistorder i64 (i64, i8*)* @g_str_equal, { 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 0, 4, 3, 2, 1, 5 } }
0
BinRealVul
synic_get_19116
synic_get
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %2) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %. = select i1 %8, i64 0, i64 %5 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
erase_line_5185
erase_line
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %6 = trunc i64 %arg3 to i32 %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* %11 = ashr exact i64 %sext, 32 store i32 0, i32* %storemerge4.reg2mem br label LBL_2 LBL_2: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %12 = load i64, i64* %8, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = load i32, i32* %10, align 4 %16 = add i32 %15, %storemerge4.reload %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = mul i32 %19, %16 %21 = sext i32 %20 to i64 %22 = add i64 %14, %11 %23 = add i64 %22, %21 %24 = inttoptr i64 %23 to i64* %25 = call i64* @memset(i64* %24, i32 0, i32 %6) %26 = add i32 %storemerge4.reload, 1 %27 = sext i32 %26 to i64 %28 = icmp sgt i64 %3, %27 store i32 %26, i32* %storemerge4.reg2mem br i1 %28, label LBL_2, label LBL_3 LBL_3: ret i64 %3 uselistorder i64 %5, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qlcnic_sriov_get_vf_acl_4684
qlcnic_sriov_get_vf_acl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %sv_1 = alloca i64, align 8 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 8) %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %storemerge.in.reg2mem br i1 %11, label LBL_1, label LBL_7 LBL_1: %12 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %12, 4294967295 %16 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %15) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_6 LBL_3: %17 = inttoptr i64 %7 to i32* %18 = urem i32 %2, 4 store i32 %18, i32* %17, align 4 store i64 %12, i64* %sv_0.0.reg2mem switch i32 %18, label LBL_6 [ i32 2, label LBL_4 i32 3, label LBL_5 ] LBL_4: %19 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) store i64 %19, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %20 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i32 %18, { 1, 0 } uselistorder i64 %1, { 1, 2, 0, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3 } }
0
BinRealVul
open_test_file_14245
open_test_file
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i8 %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = call i32 @dup(i32 %1) %3 = call i32 @lseek(i32 %2, i32 0, i32 0) %4 = icmp eq i8 %0, 0 br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = call i32 @ftruncate(i32 %2, i32 0) %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) br label LBL_3 LBL_3: %7 = zext i32 %2 to i64 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %10 = zext i32 %2 to i64 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 2, 0, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @qio_channel_file_new_fd, { 1, 0 } uselistorder i8 0, { 1, 0 } }
1
BinRealVul
mxf_resolve_essence_group_choice_9451
mxf_resolve_essence_group_choice
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i64* %10 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %11 = load i64, i64* %9, align 8 %12 = mul i64 %.reload, 8 %13 = add i64 %11, %12 %14 = call i64 @FUNC(i64 %7, i64 %13, i64 1) %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_6, label LBL_4 LBL_4: %16 = inttoptr i64 %14 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %7, i64 %17) %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %7, i64 %18, i64 2) %21 = icmp eq i64 %20, 0 store i64 %14, i64* %rax.0.reg2mem br i1 %21, label LBL_6, label LBL_7 LBL_6: %22 = add i32 %storemerge1.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %10, %23 store i64 %23, i64* %.reg2mem store i32 %22, i32* %storemerge1.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_3, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i64, i64)* @mxf_resolve_strong_ref, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 0, 3, 2 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
neon_store_reg_14251
neon_store_reg
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = and i64 %arg2, 4294967295 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = load i64, i64* @gv_0, align 8 %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %3, i64 %4) %6 = call i64 @FUNC() ret i64 %6 }
1
BinRealVul
bt_hci_event_complete_read_local_name_16699
bt_hci_event_complete_read_local_name
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 248) %2 = bitcast i64* %sv_0 to i8* %3 = call i8* @strncpy(i8* nonnull %2, i8* nonnull %2, i32 248) %4 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 252) ret i64 %4 }
1
BinRealVul
process_options_18793
process_options
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 store i64 %0, i64* %sv_3, align 8 store i64 %arg2, i64* %sv_2, align 8 %1 = bitcast i64* %sv_3 to i32* %2 = call i64 @FUNC(i32* nonnull %1, i64* nonnull %sv_2, [8 x i8]** nonnull @gv_0, i64 4198801) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = load i32, i32* @gv_1, align 4 %7 = icmp eq i32 %6, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_8 LBL_2: %8 = load i8*, i8** @gv_2, align 8 %9 = icmp eq i8* %8, null br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = ptrtoint i8* %8 to i64 %11 = call i64 @FUNC(i64 %10) %12 = load i8*, i8** @gv_2, align 8 %13 = bitcast i64* %sv_1 to i8* %14 = call i8* @strncpy(i8* nonnull %13, i8* %12, i32 1023) %15 = call i32 @strlen(i8* nonnull %13) %16 = sub i32 1023, %15 %17 = call i8* @strncat(i8* nonnull %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i32 %16) %18 = call i32 @strlen(i8* nonnull %13) %19 = sub i32 1023, %18 %20 = call i8* @strncat(i8* nonnull %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i32 %19) %21 = load i8*, i8** @gv_2, align 8 %22 = ptrtoint i8* %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64* nonnull %sv_1, i64 0) %25 = inttoptr i64 %24 to i8* store i8* %25, i8** @gv_2, align 8 br label LBL_4 LBL_4: %26 = load i32, i32* @gv_4, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC() %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %31, label LBL_6, label LBL_8 LBL_6: %32 = ptrtoint i64* %arg3 to i64 %33 = bitcast i64* %arg3 to i8* store i8 0, i8* %33, align 1 %34 = load i64, i64* %sv_2, align 8 %35 = load i64, i64* %sv_3, align 8 %36 = and i64 %35, 4294967295 %37 = call i64 @FUNC(i64 %36, i64 %34, i64 %32) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %41 = load i32, i32* @gv_5, align 4 %42 = icmp eq i32 %41, 0 %or.cond = or i1 %42, %40 store i64 %37, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %43 = load i8*, i8** @gv_2, align 8 %44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8* %43) %45 = load i8*, i8** @gv_7, align 8 %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i8* %45) %47 = load i8*, i8** @gv_9, align 8 %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_10, i64 0, i64 0), i8* %47) %49 = load i8*, i8** @gv_11, align 8 %50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_12, i64 0, i64 0), i8* %49) store i64 %37, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %51 = and i64 %sv_0.0.reload, 4294967295 ret i64 %51 uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2, 5 } uselistorder i32 (i8*, ...)* @printf, { 1, 3, 2, 0 } uselistorder i8* (i8*, i8*, i32)* @strncat, { 1, 0 } uselistorder i64 0, { 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 16, 17 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i8** @gv_2, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 0, 4, 5, 6, 7, 8, 1, 2, 3 } uselistorder label LBL_8, { 4, 2, 0, 1, 3 } }
1
BinRealVul
pxa2xx_ssp_load_16013
pxa2xx_ssp_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg2 to i32* store i32 %3, i32* %4, align 4 %5 = add i64 %0, 4 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = add i64 %0, 8 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = add i64 %0, 12 %10 = call i64 @FUNC(i64 %1, i64 %9) %11 = add i64 %0, 16 %12 = call i64 @FUNC(i64 %1, i64 %11) %13 = add i64 %0, 20 %14 = call i64 @FUNC(i64 %1, i64 %13) %15 = add i64 %0, 24 %16 = call i64 @FUNC(i64 %1, i64 %15) %17 = add i64 %0, 28 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = add i64 %0, 29 %20 = call i64 @FUNC(i64 %1, i64 %19) %21 = add i64 %0, 30 %22 = call i64 @FUNC(i64 %1, i64 %21) %23 = call i64 @FUNC(i64 %1) %24 = trunc i64 %23 to i8 %25 = add i64 %0, 31 %26 = inttoptr i64 %25 to i8* store i8 %24, i8* %26, align 1 %27 = add i64 %0, 288 %28 = inttoptr i64 %27 to i8* store i8 0, i8* %28, align 1 %29 = load i8, i8* %26, align 1 %30 = icmp eq i8 %29, 0 br i1 %30, label LBL_3, label LBL_1 LBL_1: %31 = add i64 %0, 32 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %32 = call i64 @FUNC(i64 %1) %33 = trunc i64 %32 to i8 %34 = add i64 %31, %.reload %35 = inttoptr i64 %34 to i8* store i8 %33, i8* %35, align 1 %36 = add i32 %storemerge1.reload, 1 %37 = load i8, i8* %26, align 1 %38 = zext i8 %37 to i64 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %39, %38 store i64 %39, i64* %.reg2mem store i32 %36, i32* %storemerge1.reg2mem br i1 %40, label LBL_2, label LBL_3 LBL_3: ret i64 0 uselistorder i8* %26, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @qemu_get_byte, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_8s, { 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_be32s, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sr_1d97_int_2356
sr_1d97_int
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %storemerge49.reg2mem = alloca i32 %storemerge510.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %arg2, 1 %5 = and i64 %4, 4294967295 %6 = sext i32 %arg3 to i64 %7 = icmp slt i64 %5, %6 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 65536 %15 = ashr i32 %14, 17 store i32 %15, i32* %12, align 4 store i64 %11, i64* %rax.0.reg2mem br label LBL_16 LBL_3: %16 = trunc i64 %1 to i32 %17 = add i32 %16, 32768 %18 = ashr i32 %17, 16 %19 = bitcast i64* %arg1 to i32* store i32 %18, i32* %19, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %20 = zext i32 %arg3 to i64 %21 = and i64 %3, 4294967295 %22 = call i64 @FUNC(i64 %2, i64 %21, i64 %20) %23 = trunc i64 %3 to i32 %24 = ashr i32 %23, 1 %25 = add nsw i32 %24, -1 %26 = ashr i32 %arg3, 1 %27 = add nsw i32 %26, 1 %28 = zext i32 %27 to i64 %29 = sext i32 %25 to i64 %30 = icmp sgt i64 %29, %28 br i1 %30, label LBL_7, label LBL_5 LBL_5: %31 = add i64 %2, -4 store i32 %25, i32* %storemerge510.reg2mem br label LBL_6 LBL_6: %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %32 = mul i32 %storemerge510.reload, 2 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %2 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %31, %34 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = sext i32 %40 to i64 %42 = or i32 %32, 1 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 4 %45 = add i64 %44, %2 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = sext i32 %47 to i64 %49 = add nsw i64 %41, 32768 %50 = add nsw i64 %49, %48 %51 = ashr i64 %50, 16 %52 = trunc i64 %51 to i32 %53 = sub i32 %37, %52 store i32 %53, i32* %36, align 4 %54 = add i32 %storemerge510.reload, 1 %55 = sext i32 %54 to i64 %56 = icmp sgt i64 %55, %28 store i32 %54, i32* %storemerge510.reg2mem br i1 %56, label LBL_7, label LBL_6 LBL_7: %57 = zext i32 %26 to i64 %58 = icmp sgt i64 %29, %57 br i1 %58, label LBL_10, label LBL_8 LBL_8: %59 = add i64 %2, 8 store i32 %25, i32* %storemerge49.reg2mem br label LBL_9 LBL_9: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %60 = mul i32 %storemerge49.reload, 2 %61 = or i32 %60, 1 %62 = sext i32 %61 to i64 %63 = mul i64 %62, 4 %64 = add i64 %63, %2 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = sext i32 %60 to i64 %68 = mul i64 %67, 4 %69 = add i64 %68, %2 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = sext i32 %71 to i64 %73 = add i64 %59, %68 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = sext i32 %75 to i64 %77 = add nsw i64 %72, 32768 %78 = add nsw i64 %77, %76 %79 = ashr i64 %78, 16 %80 = trunc i64 %79 to i32 %81 = sub i32 %66, %80 store i32 %81, i32* %65, align 4 %82 = add i32 %storemerge49.reload, 1 %83 = sext i32 %82 to i64 %84 = icmp sgt i64 %83, %57 store i32 %82, i32* %storemerge49.reg2mem br i1 %84, label LBL_10, label LBL_9 LBL_10: %85 = sext i32 %24 to i64 %86 = icmp sgt i64 %85, %57 br i1 %86, label LBL_13, label LBL_11 LBL_11: %87 = add i64 %2, -4 store i32 %24, i32* %storemerge38.reg2mem br label LBL_12 LBL_12: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %88 = mul i32 %storemerge38.reload, 2 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 4 %91 = add i64 %90, %2 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = add i64 %87, %90 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = sext i32 %96 to i64 %98 = or i32 %88, 1 %99 = sext i32 %98 to i64 %100 = mul i64 %99, 4 %101 = add i64 %100, %2 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = sext i32 %103 to i64 %105 = add nsw i64 %97, 32768 %106 = add nsw i64 %105, %104 %107 = ashr i64 %106, 16 %108 = trunc i64 %107 to i32 %109 = add i32 %93, %108 store i32 %109, i32* %92, align 4 %110 = add i32 %storemerge38.reload, 1 %111 = sext i32 %110 to i64 %112 = icmp sgt i64 %111, %57 store i32 %110, i32* %storemerge38.reg2mem br i1 %112, label LBL_13, label LBL_12 LBL_13: %113 = icmp slt i64 %85, %57 store i64 %57, i64* %rax.0.reg2mem br i1 %113, label LBL_14, label LBL_16 LBL_14: %114 = add i64 %2, 8 store i32 %24, i32* %storemerge7.reg2mem br label LBL_15 LBL_15: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %115 = mul i32 %storemerge7.reload, 2 %116 = or i32 %115, 1 %117 = sext i32 %116 to i64 %118 = mul i64 %117, 4 %119 = add i64 %118, %2 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = sext i32 %115 to i64 %123 = mul i64 %122, 4 %124 = add i64 %123, %2 %125 = inttoptr i64 %124 to i32* %126 = load i32, i32* %125, align 4 %127 = sext i32 %126 to i64 %128 = add i64 %114, %123 %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = sext i32 %130 to i64 %132 = add nsw i64 %127, 32768 %133 = add nsw i64 %132, %131 %134 = ashr i64 %133, 16 %135 = trunc i64 %134 to i32 %136 = add i32 %121, %135 store i32 %136, i32* %120, align 4 %137 = add i32 %storemerge7.reload, 1 %138 = sext i32 %137 to i64 %139 = icmp slt i64 %138, %57 store i32 %137, i32* %storemerge7.reg2mem store i64 %57, i64* %rax.0.reg2mem br i1 %139, label LBL_15, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %115, { 1, 0 } uselistorder i32 %88, { 1, 0 } uselistorder i32 %60, { 1, 0 } uselistorder i64 %57, { 0, 2, 1, 4, 3, 5, 7, 6 } uselistorder i32 %32, { 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 1, 2, 9, 3, 4, 10, 5, 6, 11, 7, 8, 12, 14, 0, 13 } uselistorder i32* %storemerge510.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 8, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
inode_capable_11317
inode_capable
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %2, i64 %7) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 store i64 1, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
blk_mq_queue_reinit_8079
blk_mq_queue_reinit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %0) %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = zext i32 %9 to i64 %14 = call i64 @FUNC(i64 %12, i64 %13) %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) ret i64 %16 }
0
BinRealVul
net_init_dump_15594
net_init_dump
define i64 @FUNC(i64* %arg1, i8* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = icmp eq i32* %arg3, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = and i64 %1, 4294967295 %9 = bitcast i64* %sv_1 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 128, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %8) %11 = ptrtoint i64* %sv_1 to i64 store i64 %11, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 65536) %13 = ptrtoint i8* %arg2 to i64 %14 = ptrtoint i32* %arg3 to i64 %15 = and i64 %12, 4294967295 %16 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %13, i64 %sv_0.0.reload, i64 %15) ret i64 %16 uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } }
1
BinRealVul
hb_count_between_860
hb_count_between
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %2 = add i64 %arg3, 1 %3 = urem i64 %1, 64 %storemerge4 = shl i64 %arg2, %3 %4 = ptrtoint i32* %arg1 to i64 %5 = bitcast i32* %sv_2 to i64* %6 = call i64 @FUNC(i64* nonnull %5, i64 %4, i64 %storemerge4) %7 = call i64 @FUNC(i64* nonnull %5, i64* nonnull %sv_1) %8 = icmp ult i64 %7, %2 %9 = icmp eq i1 %8, false store i64 0, i64* %sv_0.05.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem store i64 %7, i64* %.lcssa.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %10 = load i64, i64* %sv_1, align 8 %11 = call i64 @FUNC(i64 %10) %sext = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add i64 %12, %sv_0.05.reload %14 = call i64 @FUNC(i64* nonnull %5, i64* nonnull %sv_1) %15 = icmp ult i64 %14, %2 %16 = icmp eq i1 %15, false store i64 %13, i64* %sv_0.05.reg2mem store i64 %13, i64* %sv_0.0.lcssa.reg2mem store i64 %14, i64* %.lcssa.reg2mem br i1 %16, label LBL_2, label LBL_1 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %17 = icmp eq i64 %.lcssa.reload, %2 %18 = icmp eq i1 %17, false store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = trunc i64 %2 to i32 %20 = urem i32 %19, 64 store i32 %20, i32* %sv_2, align 4 %21 = urem i64 %2, 64 %22 = icmp eq i64 %21, 0 %notmask = shl nsw i64 -1, %21 %23 = sub i64 0, %notmask %phitmp = sub i64 %23, 1 %storemerge = select i1 %22, i64 0, i64 %phitmp %24 = load i64, i64* %sv_1, align 8 %25 = and i64 %24, %storemerge store i64 %25, i64* %sv_1, align 8 %26 = call i64 @FUNC(i64 %25) %sext3 = mul i64 %26, 4294967296 %27 = ashr exact i64 %sext3, 32 %28 = add i64 %27, %sv_0.0.lcssa.reload store i64 %28, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i64* %5, { 1, 0, 2 } uselistorder i64 %2, { 0, 2, 3, 4, 1 } uselistorder i64* %sv_1, { 2, 3, 1, 4, 0 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @ctpopl, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 4, 1 } uselistorder i64 (i64*, i64*)* @hbitmap_iter_next_word, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
do_POWER_maskg_16648
do_POWER_maskg
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = add i32 %0, 1 %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = icmp eq i32 %1, %2 %4 = icmp eq i1 %3, false store i32 -1, i32* %sv_0.0.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = urem i32 %2, 32 %6 = lshr i32 -1, %5 %7 = load i32, i32* @gv_1, align 4 %8 = urem i32 %7, 32 %9 = icmp eq i32 %8, 0 %10 = lshr i32 -1, %8 %phitmp = udiv i32 %10, 2 %rsi.0 = select i1 %9, i32 2147483647, i32 %phitmp %11 = icmp ugt i32 %2, %7 %12 = sext i1 %11 to i32 %13 = xor i32 %6, %12 %spec.select2 = xor i32 %13, %rsi.0 store i32 %spec.select2, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = zext i32 %sv_0.0.reload to i64 store i32 %sv_0.0.reload, i32* bitcast (i64* @gv_0 to i32*), align 8 ret i64 %14 uselistorder i32 %8, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %2, { 1, 0, 2 } uselistorder i32 -1, { 1, 2, 0 } }
1
BinRealVul
mailpop3_stls_12192
mailpop3_stls
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 %1 = bitcast i64* %sv_0 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, -1 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_3 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %0, i64 %7) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 1 %. = select i1 %12, i64 0, i64 4294967294 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
scsi_cmd_xfer_mode_1668
scsi_cmd_xfer_mode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = bitcast i64* %arg1 to i32* store i32 0, i32* %6, align 4 br label LBL_14 LBL_2: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp ugt i8 %9, -10 br i1 %10, label LBL_13, label LBL_3 LBL_3: %11 = icmp ugt i8 %9, -17 br i1 %11, label LBL_12, label LBL_4 LBL_4: %12 = icmp ugt i8 %9, -77 br i1 %12, label LBL_13, label LBL_5 LBL_5: %13 = icmp ugt i8 %9, -97 br i1 %13, label LBL_8, label LBL_6 LBL_6: %14 = icmp ugt i8 %9, 29 br i1 %14, label LBL_11, label LBL_7 LBL_7: %15 = icmp ugt i8 %9, 3 br i1 %15, label LBL_10, label LBL_13 LBL_8: %16 = add i8 %9, 32 %17 = urem i8 %16, 64 %18 = zext i8 %17 to i64 %19 = lshr i64 1000449, %18 %20 = urem i64 %19, 2 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false %23 = icmp eq i1 %22, false %24 = icmp eq i1 %23, false br i1 %24, label LBL_12, label LBL_13 LBL_9: %25 = add i8 %9, 22 %26 = urem i8 %25, 64 %27 = zext i8 %26 to i64 %28 = lshr i64 4793892237082641, %27 %29 = urem i64 %28, 2 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %31, false %33 = icmp eq i1 %32, false br i1 %33, label LBL_12, label LBL_13 LBL_10: %34 = urem i8 %9, 64 %35 = icmp eq i8 %34, 0 br i1 %35, label LBL_13, label %36 LBL_11: %.off = add i8 %9, -42 %39 = icmp ult i8 %.off, 53 br i1 %39, label LBL_9, label LBL_13 LBL_12: %40 = bitcast i64* %arg1 to i32* store i32 1, i32* %40, align 4 br label LBL_14 LBL_13: %41 = bitcast i64* %arg1 to i32* store i32 2, i32* %41, align 4 br label LBL_14 LBL_14: ret i64 %0 uselistorder i8 %9, { 1, 0, 3, 2, 4, 5, 6, 7, 8, 9 } uselistorder i1 false, { 0, 1, 2, 5, 4, 6, 7, 3, 8, 9 } uselistorder i64* %arg1, { 1, 0, 2, 3 } uselistorder label LBL_13, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder label LBL_12, { 1, 0, 2, 3 } }
0
BinRealVul
smk_parse_long_rule_17657
smk_parse_long_rule
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = call i64 @FUNC(i64 %2, i64 0) %7 = icmp eq i64 %6, 0 store i64 4294967295, i64* %sv_0.2.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2, i64 0) %9 = icmp eq i64 %8, 0 store i64 4294967295, i64* %sv_0.1.reg2mem br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = inttoptr i64 %3 to i8** %11 = inttoptr i64 %6 to i8** %12 = inttoptr i64 %8 to i8** %13 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8** %10, i8** %11, i8** %12) %14 = icmp eq i32 %13, 3 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = ptrtoint i64* %arg2 to i64 %17 = and i64 %arg3, 4294967295 %18 = call i64 @FUNC(i64 %3, i64 %6, i64 %8, i64 %16, i64 %17, i64 0) store i64 %18, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %8) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %20 = call i64 @FUNC(i64 %6) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_7 LBL_7: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %21 = call i64 @FUNC(i64 %3) %22 = and i64 %sv_0.2.reload, 4294967295 store i64 %22, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } uselistorder i64 (i64, i64)* @kzalloc, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
mmc_send_if_cond_18819
mmc_send_if_cond
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i32, align 4 store i32 8, i32* %sv_0, align 4 %4 = call i64 @FUNC(i64 %1, i32* nonnull %sv_0, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %storemerge.in.in = select i1 %10, i32 %2, i32 %3 %11 = trunc i32 %storemerge.in.in to i8 %12 = icmp eq i8 %11, -86 %. = select i1 %12, i64 0, i64 4294967291 store i64 %., 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 i32* %0, { 1, 0 } }
1
BinRealVul
init_14405
init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %arg1, align 8 ret i64 0 }
1
BinRealVul
jpeg2000_flush_2166
jpeg2000_flush
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 4 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 255 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i64 1) br label LBL_2 LBL_2: store i32 8, i32* %arg1, align 4 ret i64 %0 }
0
BinRealVul
unregister_shrinker_18183
unregister_shrinker
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %3 }
1
BinRealVul
read_erst_record_7155
read_erst_record
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_9 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 16 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, -1 %14 = icmp eq i1 %13, false store i32 %12, i32* %.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %7, i64 %10, i64 1) %.pre = load i32, i32* %11, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %16 = icmp eq i32 %.reload, -4 %17 = icmp eq i1 %16, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_9 LBL_4: %18 = trunc i64 %9 to i32 %19 = add i64 %7, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %18, -16 %23 = icmp ugt i32 %21, %22 store i64 4294967293, i64* %rax.0.reg2mem br i1 %23, label LBL_9, label LBL_5 LBL_5: %24 = zext i32 %.reload to i64 %25 = call i64 @FUNC(i64 %7, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %8) %29 = load i32, i32* %20, align 4 %30 = and i64 %25, 4294967295 %31 = call i64 @FUNC(i64 %7, i64 %30) %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp ult i32 %36, 16 %38 = load i32, i32* %20, align 4 %39 = sub i32 %18, %38 %40 = icmp ult i32 %39, %36 %41 = or i1 %37, %40 store i64 4294967293, i64* %rax.0.reg2mem br i1 %41, label LBL_9, label LBL_7 LBL_7: %42 = zext i32 %29 to i64 %43 = add i64 %28, %42 %44 = inttoptr i64 %43 to i64* %45 = inttoptr i64 %31 to i64* %46 = call i64* @memcpy(i64* %44, i64* %45, i32 %36) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %47 = call i64 @FUNC(i64 %7, i64 %10, i64 1) store i64 4294967295, 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 %7, { 2, 1, 4, 3, 0, 6, 5 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4, 5, 6 } uselistorder i64 (i64, i64, i64)* @get_next_record_identifier, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder i64 4294967295, { 0, 2, 1, 3 } uselistorder label LBL_9, { 2, 1, 0, 3, 4, 5 } }
0
BinRealVul
ff_combine_frame_11765
ff_combine_frame
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %.reg2mem10 = alloca i32 %sv_0.13.reg2mem = alloca i32 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32* %.pre-phi9.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rdx = alloca i64, align 8 %2 = load i64, i64* %0 %rcx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %4, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %9 to i64 %14 = zext i32 %arg2 to i64 %15 = zext i32 %12 to i64 %16 = and i64 %1, 4294967295 %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %14, i64 %13) %18 = add nuw nsw i64 %16, 3 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = add nuw nsw i64 %16, 2 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = add nuw nsw i64 %16, 1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = zext i8 %20 to i64 %28 = zext i8 %23 to i64 %29 = zext i8 %26 to i64 %30 = urem i64 %2, 256 %31 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %29, i64 %28, i64 %27) br label LBL_2 LBL_2: %32 = bitcast i64* %rdi to i32* %33 = icmp slt i32 %5, 0 %34 = icmp eq i1 %33, false %35 = icmp eq i1 %6, false %36 = icmp eq i1 %34, %35 br i1 %36, label LBL_4, label LBL_2.LBL_7_crit_edge LBL_3: %37 = trunc i64 %3 to i32 %.pre5 = bitcast i64* %rcx to i32* %.pre6 = add i64 %4, 8 %.pre8 = inttoptr i64 %.pre6 to i32* store i32* %.pre8, i32** %.pre-phi9.reg2mem store i32* %.pre5, i32** %.pre-phi.reg2mem store i32 %37, i32* %.reg2mem br label LBL_7 LBL_4: %38 = add i64 %4, 24 %39 = inttoptr i64 %38 to i64* %40 = add i64 %4, 12 %41 = inttoptr i64 %40 to i32* %42 = add i64 %4, 8 %43 = inttoptr i64 %42 to i32* %44 = bitcast i64* %arg1 to i32* br label LBL_5 LBL_5: %45 = load i64, i64* %39, align 8 %46 = load i32, i32* %41, align 4 %47 = add i32 %46, 1 store i32 %47, i32* %41, align 4 %48 = sext i32 %46 to i64 %49 = add i64 %45, %48 %50 = load i64, i64* %39, align 8 %51 = load i32, i32* %43, align 4 %52 = add i32 %51, 1 store i32 %52, i32* %43, align 4 %53 = sext i32 %51 to i64 %54 = add i64 %50, %53 %55 = inttoptr i64 %49 to i8* %56 = load i8, i8* %55, align 1 %57 = inttoptr i64 %54 to i8* store i8 %56, i8* %57, align 1 %58 = load i32, i32* %32, align 8 %59 = add i32 %58, -1 store i32 %59, i32* %44, align 4 %60 = icmp eq i32 %58, 0 %61 = icmp slt i32 %58, 0 %62 = icmp eq i1 %61, false %63 = icmp eq i1 %60, false %64 = icmp eq i1 %62, %63 br i1 %64, label LBL_5, label LBL_6 LBL_6: %.phi.trans.insert = bitcast i64* %rcx to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32* %43, i32** %.pre-phi9.reg2mem store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem %65 = icmp eq i32 %.reload, 0 %66 = icmp eq i32 %arg2, -1 %67 = icmp eq i1 %66, %65 %sv_0.0 = select i1 %67, i32 0, i32 %arg2 %68 = load i32, i32* %.pre-phi9.reload, align 4 %69 = add i64 %4, 16 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = icmp eq i32 %sv_0.0, -1 %72 = icmp eq i1 %71, false br i1 %72, label LBL_10, label LBL_8 LBL_8: %73 = load i32, i32* %.pre-phi.reload, align 8 %74 = load i32, i32* %.pre-phi9.reload, align 4 %75 = add i32 %73, 16 %76 = add i32 %75, %74 %77 = zext i32 %76 to i64 %78 = add i64 %4, 20 %79 = add i64 %4, 24 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = call i64 @FUNC(i64 %81, i64 %78, i64 %77) %83 = icmp eq i64 %82, 0 %84 = icmp eq i1 %83, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %84, label LBL_9, label LBL_21 LBL_9: store i64 %82, i64* %80, align 8 %85 = load i32, i32* %.pre-phi.reload, align 8 %86 = sext i32 %85 to i64 %87 = load i32, i32* %.pre-phi9.reload, align 4 %88 = sext i32 %87 to i64 %89 = add i64 %82, %88 %90 = inttoptr i64 %89 to i64* %91 = inttoptr i64 %86 to i64* %92 = call i64* @memcpy(i64* %90, i64* %91, i32 %85) %93 = load i32, i32* %.pre-phi9.reload, align 4 %94 = add i32 %93, %85 store i32 %94, i32* %.pre-phi9.reload, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_10: %95 = load i32, i32* %.pre-phi9.reload, align 4 %96 = add i32 %95, %sv_0.0 %97 = add i64 %4, 12 %98 = inttoptr i64 %97 to i32* store i32 %96, i32* %98, align 4 store i32 %96, i32* %arg4, align 4 %99 = load i32, i32* %.pre-phi9.reload, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label LBL_15, label LBL_11 LBL_11: %101 = add i32 %sv_0.0, 16 %102 = add i32 %99, %101 %103 = zext i32 %102 to i64 %104 = add i64 %4, 20 %105 = add i64 %4, 24 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = call i64 @FUNC(i64 %107, i64 %104, i64 %103) %109 = icmp eq i64 %108, 0 %110 = icmp eq i1 %109, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %110, label LBL_12, label LBL_21 LBL_12: store i64 %108, i64* %106, align 8 %111 = icmp slt i32 %sv_0.0, -15 br i1 %111, label LBL_14, label LBL_13 LBL_13: %112 = sext i32 %101 to i64 %113 = load i32, i32* %.pre-phi9.reload, align 4 %114 = sext i32 %113 to i64 %115 = add i64 %108, %114 %116 = inttoptr i64 %115 to i64* %117 = inttoptr i64 %112 to i64* %118 = call i64* @memcpy(i64* %116, i64* %117, i32 %101) br label LBL_14 LBL_14: store i32 0, i32* %.pre-phi9.reload, align 4 %119 = load i64, i64* %106, align 8 store i64 %119, i64* %arg3, align 8 br label LBL_15 LBL_15: %120 = icmp slt i32 %sv_0.0, 0 br i1 %120, label LBL_17, label LBL_15.LBL_19_crit_edge LBL_16: %.pre4 = load i32, i32* %32, align 8 %phitmp = zext i32 %sv_0.0 to i64 store i32 %.pre4, i32* %.reg2mem10 store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem br label LBL_19 LBL_17: %121 = add i64 %4, 4 %122 = inttoptr i64 %121 to i32* %123 = add i64 %4, 24 %124 = inttoptr i64 %123 to i64* %125 = add i64 %4, 32 %126 = inttoptr i64 %125 to i64* %127 = bitcast i64* %arg1 to i32* store i32 %sv_0.0, i32* %sv_0.13.reg2mem br label LBL_18 LBL_18: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %128 = load i32, i32* %122, align 4 %129 = mul i32 %128, 256 %130 = load i64, i64* %124, align 8 %131 = load i32, i32* %70, align 4 %132 = add i32 %131, %sv_0.13.reload %133 = sext i32 %132 to i64 %134 = add i64 %130, %133 %135 = inttoptr i64 %134 to i8* %136 = load i8, i8* %135, align 1 %137 = zext i8 %136 to i32 %138 = or i32 %129, %137 store i32 %138, i32* %122, align 4 %139 = load i64, i64* %126, align 8 %140 = mul i64 %139, 256 %141 = load i64, i64* %124, align 8 %142 = load i32, i32* %70, align 4 %143 = add i32 %142, %sv_0.13.reload %144 = sext i32 %143 to i64 %145 = add i64 %141, %144 %146 = inttoptr i64 %145 to i8* %147 = load i8, i8* %146, align 1 %148 = zext i8 %147 to i64 %149 = or i64 %140, %148 store i64 %149, i64* %126, align 8 %150 = load i32, i32* %32, align 8 %151 = add i32 %150, 1 store i32 %151, i32* %127, align 4 %152 = add nsw i32 %sv_0.13.reload, 1 %exitcond = icmp eq i32 %152, 0 store i32 %152, i32* %sv_0.13.reg2mem store i32 %150, i32* %.reg2mem10 store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %exitcond, label LBL_19, label LBL_18 LBL_19: %.reload11 = load i32, i32* %.reg2mem10 %153 = icmp eq i32 %.reload11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %153, label LBL_21, label LBL_20 LBL_20: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %154 = load i32, i32* %.pre-phi9.reload, align 4 %155 = add i64 %4, 4 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = zext i32 %154 to i64 %159 = zext i32 %157 to i64 %160 = zext i32 %.reload11 to i64 %161 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %160, i64 %159, i64 %sv_0.1.lcssa.reload, i64 %158) %162 = add nuw nsw i64 %160, 3 %163 = inttoptr i64 %162 to i8* %164 = load i8, i8* %163, align 1 %165 = add nuw nsw i64 %160, 2 %166 = inttoptr i64 %165 to i8* %167 = load i8, i8* %166, align 1 %168 = add nuw nsw i64 %160, 1 %169 = inttoptr i64 %168 to i8* %170 = load i8, i8* %169, align 1 %171 = bitcast i64* %rdx to i8* %172 = load i8, i8* %171, align 8 %173 = zext i8 %164 to i64 %174 = zext i8 %167 to i64 %175 = zext i8 %170 to i64 %176 = zext i8 %172 to i64 %177 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %176, i64 %175, i64 %174, i64 %173) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.13.reload, { 0, 2, 1 } uselistorder i32 %101, { 2, 1, 0 } uselistorder i32 %sv_0.0, { 0, 2, 3, 6, 5, 1, 4 } uselistorder i32* %.pre-phi9.reload, { 6, 5, 4, 7, 8, 1, 0, 2, 3, 9 } uselistorder i32* %32, { 1, 0, 2 } uselistorder i64 %16, { 3, 2, 1, 0 } uselistorder i64 %4, { 5, 6, 8, 7, 9, 10, 11, 3, 4, 12, 13, 15, 14, 0, 2, 1 } uselistorder i64* %rcx, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64, i64, i64)* @av_fast_realloc, { 1, 0 } uselistorder i1 false, { 3, 4, 5, 6, 2, 0, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_dlog, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_21, { 1, 0, 2, 4, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
red_channel_destroy_7902
red_channel_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) store i64 %1, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dd_delete_item_13167
dd_delete_item
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %7 = call i64 @FUNC(i64 %0, i64 %arg2) %8 = inttoptr i64 %7 to i8* %9 = call i32 @unlink(i8* %8) %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false store i32 %9, i32* %sv_0.0.reg2mem br i1 %11, label LBL_6, label LBL_3 LBL_3: %12 = call i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 2 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i32* @__errno_location() store i32 0, i32* %16, align 4 store i32 0, i32* %sv_0.0.reg2mem br label LBL_6 LBL_5: %17 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %7) store i32 %9, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = inttoptr i64 %7 to i64* call void @free(i64* %18) %19 = zext i32 %sv_0.0.reload to i64 ret i64 %19 uselistorder i64 %7, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } }
1
BinRealVul
do_interrupt_v7m_1811
do_interrupt_v7m
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 store i64 %2, i64* @0, align 8 switch i64 %2, label LBL_10 [ i64 1, label LBL_1 i64 2, label LBL_2 i64 3, label LBL_3 i64 4, label LBL_3 i64 5, label LBL_4 i64 6, label LBL_8 i64 7, label LBL_9 ] LBL_1: %7 = load i64, i64* inttoptr (i64 81 to i64*), align 8 %8 = call i64 @FUNC(i64 %7, i64 1) store i64 %8, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %9 = load i32, i32* inttoptr (i64 78 to i32*), align 4 %10 = add i32 %9, 2 store i32 %10, i32* inttoptr (i64 78 to i32*), align 4 %11 = load i64, i64* inttoptr (i64 82 to i64*), align 8 %12 = call i64 @FUNC(i64 %11, i64 2) store i64 %12, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %13 = add i64 %2, 80 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 3) store i64 %16, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %17 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = load i32, i32* inttoptr (i64 93 to i32*), align 4 %20 = load i32, i32* inttoptr (i64 81 to i32*), align 4 %21 = zext i32 %19 to i64 %22 = zext i32 %20 to i64 %23 = call i64 @FUNC(i64 %22, i64 %21) %24 = urem i64 %23, 256 %25 = icmp eq i64 %24, 171 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = load i32, i32* inttoptr (i64 81 to i32*), align 4 %28 = add i32 %27, 2 store i32 %28, i32* inttoptr (i64 81 to i32*), align 4 %29 = call i64 @FUNC(i64 5) %30 = trunc i64 %29 to i32 store i32 %30, i32* inttoptr (i64 21 to i32*), align 4 store i64 %29, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %31 = load i64, i64* inttoptr (i64 85 to i64*), align 8 %32 = call i64 @FUNC(i64 %31, i64 4) store i64 %32, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %33 = load i64, i64* inttoptr (i64 86 to i64*), align 8 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 store i32 %35, i32* %5, align 4 %36 = load i32, i32* inttoptr (i64 74 to i32*), align 4 %37 = and i32 %36, 4 %38 = icmp eq i32 %37, 0 store i64 %3, i64* %sv_0.0.reg2mem br i1 %38, label LBL_12, label LBL_11 LBL_9: %39 = call i64 @FUNC(i64 7) store i64 %39, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %40 = add i64 %2, 12 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i32 %42) store i64 %43, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %44 = add i32 %36, -4 store i32 %44, i32* inttoptr (i64 74 to i32*), align 4 %45 = or i64 %3, 512 store i64 %45, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %46 = trunc i64 %1 to i32 %47 = icmp eq i32 %46, 0 %spec.select = select i1 %47, i32 -15, i32 -11 %48 = icmp eq i32 %6, 0 %49 = icmp eq i1 %48, false %50 = or i32 %spec.select, 8 %sv_1.1 = select i1 %49, i32 %spec.select, i32 %50 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %51 = and i64 %sv_0.0.reload, 4294967295 %52 = call i64 @FUNC(i64 6, i64 %51) %53 = load i32, i32* inttoptr (i64 82 to i32*), align 4 %54 = zext i32 %53 to i64 %55 = call i64 @FUNC(i64 6, i64 %54) %56 = load i32, i32* inttoptr (i64 78 to i32*), align 4 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 6, i64 %57) %59 = load i32, i32* inttoptr (i64 70 to i32*), align 4 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 6, i64 %60) %62 = load i32, i32* inttoptr (i64 34 to i32*), align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 6, i64 %63) %65 = load i32, i32* inttoptr (i64 30 to i32*), align 4 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 6, i64 %66) %68 = load i32, i32* inttoptr (i64 26 to i32*), align 4 %69 = zext i32 %68 to i64 %70 = call i64 @FUNC(i64 6, i64 %69) %71 = load i32, i32* inttoptr (i64 22 to i32*), align 4 %72 = zext i32 %71 to i64 %73 = call i64 @FUNC(i64 6, i64 %72) %74 = call i64 @FUNC(i64 6, i64 0) store i32 0, i32* inttoptr (i64 98 to i32*), align 4 store i32 %sv_1.1, i32* inttoptr (i64 78 to i32*), align 4 %75 = load i32, i32* inttoptr (i64 14 to i32*), align 4 %76 = load i32, i32* %5, align 4 %77 = mul i32 %76, 4 %78 = add i32 %77, %75 %79 = zext i32 %78 to i64 %80 = call i64 @FUNC(i64 %79) %81 = trunc i64 %80 to i32 %82 = and i32 %81, -2 store i32 %82, i32* inttoptr (i64 82 to i32*), align 4 %83 = urem i32 %81, 2 store i32 %83, i32* inttoptr (i64 102 to i32*), align 4 store i64 6, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 8, 7, 5, 4, 3, 2, 1 } uselistorder i32* inttoptr (i64 82 to i32*), { 1, 0 } uselistorder i64 (i64, i64)* @v7m_push, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* inttoptr (i64 74 to i32*), { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 171, { 1, 0 } uselistorder i32* inttoptr (i64 81 to i32*), { 1, 2, 0 } uselistorder i32 0, { 0, 3, 4, 1, 2 } uselistorder i64 82, { 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i32* inttoptr (i64 78 to i32*), { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @armv7m_nvic_set_pending, { 3, 2, 1, 0 } uselistorder i64 6, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10 } uselistorder label LBL_13, { 1, 7, 0, 2, 3, 4, 5, 6 } }
0
BinRealVul
set_dirty_tracking_1684
set_dirty_tracking
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge24.reg2mem br label LBL_1 LBL_1: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %0 = inttoptr i64 %storemerge24.reload to i64* %1 = load i64, i64* %0, align 8 %2 = call i64 @FUNC(i64 %1, i64 512, i64 0) %3 = add i64 %storemerge24.reload, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = icmp eq i64 %2, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i32* @__errno_location() %8 = load i32, i32* %7, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge13.reg2mem br label LBL_4 LBL_3: %9 = add i64 %storemerge24.reload, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %storemerge24.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_4: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %14 = add i64 %storemerge13.reload, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = inttoptr i64 %storemerge13.reload to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %16) br label LBL_6 LBL_6: %21 = add i64 %storemerge13.reload, 16 %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 %23, i64* %storemerge13.reg2mem br i1 %25, label LBL_4, label LBL_7 LBL_7: %26 = sub i32 0, %8 %27 = zext i32 %26 to i64 store i64 %27, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge24.reload, { 0, 2, 1 } uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 0, 2, 1 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
target_to_host_errno_15250
target_to_host_errno
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 30 %1 = add i64 %0, ptrtoint (i32** @gv_0 to i64) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = and i64 %arg1, 4294967295 %6 = zext i32 %3 to i64 %storemerge = select i1 %4, i64 %5, i64 %6 ret i64 %storemerge uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
json_message_process_token_16413
json_message_process_token
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = add i64 %1, -32 %4 = inttoptr i64 %3 to i32* %5 = icmp eq i32 %2, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_10, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 125 br i1 %10, label LBL_7, label LBL_2 LBL_2: %11 = icmp sgt i8 %9, 125 br i1 %11, label LBL_10, label LBL_3 LBL_3: %12 = icmp eq i8 %9, 123 br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = icmp sgt i8 %9, 123 br i1 %13, label LBL_10, label LBL_5 LBL_5: switch i8 %9, label LBL_10 [ i8 91, label LBL_8 i8 93, label LBL_9 ] LBL_6: %14 = load i32, i32* %4, align 4 %15 = add i32 %14, 1 store i32 %15, i32* %4, align 4 br label LBL_10 LBL_7: %16 = load i32, i32* %4, align 4 %17 = add i32 %16, -1 store i32 %17, i32* %4, align 4 br label LBL_10 LBL_8: %18 = add i64 %1, -28 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, 1 store i32 %21, i32* %19, align 4 br label LBL_10 LBL_9: %22 = add i64 %1, -28 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i32 %24, -1 store i32 %25, i32* %23, align 4 br label LBL_10 LBL_10: %sext = mul i64 %arg3, 4294967296 %26 = ashr exact i64 %sext, 32 %27 = and i64 %arg4, 4294967295 %28 = and i64 %arg5, 4294967295 %29 = call i64 @FUNC() %30 = and i64 %26, 4294967295 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %31) %33 = call i64 @FUNC(i64 %0) %34 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %0) %35 = call i64 @FUNC(i64 %27) %36 = call i64 @FUNC(i64 %29, i8* inttoptr (i64 4202524 to i8*), i64 %35) %37 = call i64 @FUNC(i64 %28) %38 = call i64 @FUNC(i64 %29, i8* inttoptr (i64 4202526 to i8*), i64 %37) %39 = add i64 %1, -24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = bitcast i64* %rsi to i32* %43 = load i32, i32* %42, align 8 %44 = add i32 %43, %41 store i32 %44, i32* %40, align 4 %45 = add i64 %1, -8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47, i64 %29) %49 = trunc i64 %26 to i32 %50 = icmp eq i32 %49, 1 br i1 %50, label LBL_15, label LBL_11 LBL_11: %51 = load i32, i32* %4, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label LBL_16, label LBL_12 LBL_12: %53 = add i64 %1, -28 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp slt i32 %55, 0 %57 = or i32 %55, %51 %58 = icmp eq i32 %57, 0 %or.cond = or i1 %56, %58 br i1 %or.cond, label LBL_16, label LBL_13 LBL_13: %59 = load i32, i32* %40, align 4 %60 = icmp sgt i32 %59, 1024 %61 = icmp sgt i32 %55, 100 %or.cond7 = or i1 %61, %60 br i1 %or.cond7, label LBL_16, label LBL_14 LBL_14: %62 = zext i32 %51 to i64 %63 = icmp slt i32 %51, 101 store i64 %62, i64* %rax.0.reg2mem br i1 %63, label LBL_19, label LBL_16 LBL_15: %64 = load i64, i64* %46, align 8 %65 = call i64 @FUNC(i64 %64) store i64 0, i64* %46, align 8 br label LBL_16 LBL_16: store i32 0, i32* %4, align 4 %66 = add i64 %1, -28 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %68 = load i64, i64* %46, align 8 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_18, label LBL_17 LBL_17: %70 = call i64 @FUNC(i64 %68) br label LBL_18 LBL_18: %71 = call i64 @FUNC() store i64 %71, i64* %46, align 8 store i32 0, i32* %40, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %55, { 1, 0, 2 } uselistorder i32 %51, { 2, 1, 0, 3 } uselistorder i32* %40, { 1, 0, 2, 3 } uselistorder i32* %4, { 4, 5, 3, 2, 1, 0 } uselistorder i64 %1, { 2, 3, 4, 5, 1, 0, 6 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @qdict_put, { 3, 2, 1, 0 } uselistorder i64 (i64)* @qint_from_int, { 2, 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i64 -28, { 2, 3, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 1 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 4, 1, 0, 3, 2 } uselistorder label LBL_10, { 3, 4, 5, 6, 0, 2, 1, 7 } }
1
BinRealVul
pciej_write_15448
pciej_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge34.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = and i64 %arg3, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = load i64, i64* %arg1, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_6 LBL_2: %6 = trunc i64 %1 to i32 %7 = add i32 %6, -1 %8 = ptrtoint i64* %arg1 to i64 store i64 %3, i64* %.reg2mem store i64 %8, i64* %storemerge34.reg2mem br label LBL_3 LBL_3: %storemerge34.reload = load i64, i64* %storemerge34.reg2mem %.reload = load i64, i64* %.reg2mem %9 = add i64 %storemerge34.reload, -8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = urem i32 %11, 32 %13 = icmp eq i32 %12, %7 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %storemerge34.reload) br label LBL_5 LBL_5: %16 = inttoptr i64 %.reload to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %.reg2mem store i64 %.reload, i64* %storemerge34.reg2mem br i1 %19, label LBL_3, label LBL_6 LBL_6: %20 = and i64 %arg2, 4294967295 %21 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %0) ret i64 %21 uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge34.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
GC_posix_memalign_9337
GC_posix_memalign
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = add i64 %arg2, -1 %1 = and i64 %0, %arg2 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false %4 = icmp ult i64 %arg2, 8 %or.cond = or i1 %4, %3 store i64 22, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %arg2, i64 %arg3) store i64 %5, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
youngcollection_3622
youngcollection
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %2, i64 %12, i64 %9) %14 = add i64 %2, 32 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %2, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %2, i64 %19, i64 %16) %21 = call i64 @FUNC(i64 %arg1) %22 = add i64 %2, 48 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %10, i64 %24) %26 = load i64, i64* %8, align 8 %27 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %25, i64 %26) %28 = add i64 %2, 40 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 store i64 %30, i64* %8, align 8 %31 = inttoptr i64 %25 to i64* %32 = load i64, i64* %31, align 8 store i64 %32, i64* %29, align 8 %33 = load i64, i64* %11, align 8 store i64 %33, i64* %23, align 8 %34 = add i64 %2, 64 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %17, i64 %36) %38 = load i64, i64* %15, align 8 %39 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %37, i64 %38) %40 = add i64 %2, 56 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 store i64 %42, i64* %15, align 8 %43 = inttoptr i64 %37 to i64* %44 = load i64, i64* %43, align 8 store i64 %44, i64* %41, align 8 %45 = load i64, i64* %18, align 8 store i64 %45, i64* %35, align 8 %46 = add i64 %2, 72 %47 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %46, i64 0) %48 = call i64 @FUNC(i64 %arg1, i64 %2) ret i64 %48 uselistorder i64* %8, { 1, 0, 2 } uselistorder i64 %2, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 4, 5, 3, 1, 2, 0, 16, 15 } uselistorder i64 (i64, i64, i64, i64)* @sweepgen, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @markold, { 1, 0 } }
0
BinRealVul
gf_xml_sax_parse_intern_12944
gf_xml_sax_parse_intern
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32* %.reg2mem27 = alloca i32 %sv_0.0.be.reg2mem = alloca i64 %.reg2mem25 = alloca i32 %sv_0.09.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_1, label LBL_18 LBL_1: %10 = trunc i64 %1 to i32 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* %15 = bitcast i32* %sv_2 to i64* %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* %18 = bitcast i64* %rdi to i32* %19 = bitcast i64* %arg1 to i32* store i32 %10, i32* %.reg2mem store i64 %arg2, i64* %sv_0.09.reg2mem br label LBL_2 LBL_2: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %.reload = load i32, i32* %.reg2mem %20 = inttoptr i64 %sv_0.09.reload to i8* %21 = call i8* @strchr(i8* %20, i32 38) %22 = load i32, i32* %12, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_11, label LBL_3 LBL_3: %24 = call i8* @strchr(i8* %20, i32 59) %25 = icmp eq i8* %24, null %26 = icmp eq i1 %25, false br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %2, i64 %sv_0.09.reload) store i64 %27, i64* %rax.0.reg2mem br label LBL_19 LBL_5: %28 = load i64, i64* %14, align 8 %29 = inttoptr i64 %28 to i8* %30 = call i8* @strrchr(i8* %29, i32 38) %31 = ptrtoint i8* %30 to i64 store i8 0, i8* %24, align 1 %32 = call i32 @strlen(i8* %30) %33 = call i32 @strlen(i8* %20) %34 = add i32 %32, 1 %35 = add i32 %34, %33 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %31, 1 %39 = inttoptr i64 %37 to i8* %40 = inttoptr i64 %38 to i8* %41 = call i32 (i8*, i8*, ...) @sprintf(i8* %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* %40, i8* %20) %42 = call i64 @FUNC(i64 %2, i64 %37, i64* nonnull %15) %43 = call i64 @FUNC(i64 %37) %44 = icmp eq i64 %42, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_6 LBL_6: %46 = load i32, i32* %sv_2, align 4 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_9, label LBL_7 LBL_7: %49 = call i64 @FUNC(i64 %2, i64 %sv_0.09.reload) %50 = call i64 @FUNC(i64 %2, i64 1) store i8 59, i8* %24, align 1 %51 = ptrtoint i8* %24 to i64 store i32 %.reload, i32* %.reg2mem25 store i64 %51, i64* %sv_0.0.be.reg2mem br label LBL_8 LBL_8: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem %.reload26 = load i32, i32* %.reg2mem25 store i32 %.reload26, i32* %.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.09.reg2mem br label LBL_2 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i32 78, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)) br label LBL_10 LBL_10: %52 = inttoptr i64 %42 to i32* %53 = load i32, i32* %17, align 4 %54 = call i32 @strlen(i8* %30) %55 = sub i32 %53, %54 store i32 %55, i32* %17, align 4 store i8 0, i8* %30, align 1 store i32 0, i32* %12, align 4 store i8 59, i8* %24, align 1 %56 = ptrtoint i8* %24 to i64 %57 = add i64 %56, 1 %.pre = load i32, i32* %18, align 8 store i32 %.pre, i32* %.reg2mem27 store i32* %52, i32** %sv_1.0.reg2mem store i64 %57, i64* %storemerge.reg2mem br label LBL_17 LBL_11: %58 = icmp eq i8* %21, null store i64 %sv_0.09.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %58, label LBL_18, label LBL_12 LBL_12: %59 = ptrtoint i8* %21 to i64 %60 = add i64 %59, 1 %61 = call i64 @FUNC(i64 %2, i64 %60, i64* nonnull %15) store i8 0, i8* %21, align 1 %62 = call i64 @FUNC(i64 %2, i64 %sv_0.09.reload) %63 = call i64 @FUNC(i64 %2, i64 1) store i8 38, i8* %21, align 1 %64 = icmp eq i64 %61, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_16, label LBL_13 LBL_13: %66 = load i32, i32* %sv_2, align 4 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = call i64 @FUNC(i64 %2, i64 ptrtoint (i64* @gv_4 to i64)) store i32 %.reload, i32* %.reg2mem25 store i64 %60, i64* %sv_0.0.be.reg2mem br label LBL_8 LBL_15: store i32 1, i32* %12, align 4 %70 = call i64 @FUNC(i64 %2, i64 %59) store i64 %70, i64* %rax.0.reg2mem br label LBL_19 LBL_16: %71 = inttoptr i64 %61 to i32* %72 = load i32, i32* %71, align 4 %73 = zext i32 %72 to i64 %74 = add i64 %59, 2 %75 = add i64 %74, %73 store i32 %.reload, i32* %.reg2mem27 store i32* %71, i32** %sv_1.0.reg2mem store i64 %75, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %76 = ptrtoint i32* %sv_1.0.reload to i64 %77 = add i64 %76, 8 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = call i64 @FUNC(i64 %2, i64 %79) %81 = call i64 @FUNC(i64 %2, i64 1) store i32 %.reload28, i32* %19, align 4 store i32 %.reload28, i32* %.reg2mem25 store i64 %storemerge.reload, i64* %sv_0.0.be.reg2mem br label LBL_8 LBL_18: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %82 = call i64 @FUNC(i64 %2, i64 %sv_0.0.lcssa.reload) %83 = call i64 @FUNC(i64 %2, i64 0) store i64 %83, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload28, { 1, 0 } uselistorder i64 %59, { 1, 0, 2 } uselistorder i8* %24, { 3, 2, 1, 0, 4, 5 } uselistorder i32 %.reload, { 0, 2, 1 } uselistorder i64 %sv_0.09.reload, { 2, 0, 1, 4, 3 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64 %2, { 12, 13, 8, 9, 7, 6, 10, 11, 15, 1, 2, 4, 0, 3, 5, 14, 16 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem25, { 3, 2, 0, 1 } uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 } uselistorder i32* %.reg2mem27, { 0, 2, 1 } uselistorder i32** %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @xml_sax_parse, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64*)* @gf_xml_locate_entity, { 1, 0 } uselistorder i64 1, { 1, 2, 4, 5, 3, 6, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i64 (i64, i64)* @xml_sax_append_string, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 2, 1, 0 } }
1
BinRealVul
ivshmem_client_parse_args_16394
ivshmem_client_parse_args
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = inttoptr i64 %arg3 to i8** %2 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i32 %2, i32* %.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* store i32 %2, i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %8 = icmp eq i32 %.reload, 118 br i1 %8, label LBL_7, label LBL_3 LBL_3: %9 = icmp sgt i32 %.reload, 118 br i1 %9, label LBL_10, label LBL_4 LBL_4: %10 = icmp eq i32 %.reload, 83 br i1 %10, label LBL_9, label LBL_5 LBL_5: %11 = icmp eq i32 %.reload, 104 %12 = icmp eq i1 %11, false br i1 %12, label LBL_10, label LBL_6 LBL_6: %13 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 0) unreachable LBL_7: store i32 1, i32* %arg1, align 4 br label LBL_8 LBL_8: %14 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false store i32 %14, i32* %.reg2mem store i32 %14, i32* %.lcssa.reg2mem br i1 %16, label LBL_2, label LBL_11 LBL_9: %17 = load i8*, i8** @gv_1, align 8 %18 = call i8* @strdup(i8* %17) %19 = ptrtoint i8* %18 to i64 store i64 %19, i64* %7, align 8 br label LBL_8 LBL_10: %20 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 1) unreachable LBL_11: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %21 = sext i32 %.lcssa.reload to i64 ret i64 %21 uselistorder i32 %.reload, { 3, 0, 1, 2 } uselistorder i32 %2, { 1, 0, 2 } uselistorder i8** %1, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @ivshmem_client_usage, { 1, 0 } uselistorder i64 ptrtoint ([5 x i8]* @gv_0 to i64), { 1, 0 } uselistorder i32 118, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 (i32, i8**, i8*)* @getopt, { 1, 0 } uselistorder [5 x i8]* @gv_0, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tcpmux_handler_7837
tcpmux_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %r8.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %4 = ptrtoint i64* %sv_2 to i64 %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %3) %8 = call i64 @FUNC() br label LBL_1 LBL_1: %9 = call i32 @read(i32 %6, i64* nonnull %sv_1, i32 1024) %10 = icmp eq i32 %9, -1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 4 br i1 %14, label LBL_1, label LBL_3 LBL_3: %15 = ptrtoint i64* %sv_1 to i64 %16 = icmp eq i32 %9, 0 %17 = icmp slt i32 %9, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %2, i64 %1) call void @exit(i32 0) unreachable LBL_5: %22 = icmp slt i32 %9, 3 br i1 %22, label LBL_8, label LBL_6 LBL_6: %23 = add i32 %9, -1 %24 = sext i32 %23 to i64 %25 = add i64 %4, -1088 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 10 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = add i32 %9, -2 %32 = sext i32 %31 to i64 %33 = add i64 %25, %32 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = icmp eq i8 %35, 13 br i1 %36, label LBL_11, label LBL_8 LBL_8: %37 = load i32, i32* inttoptr (i64 4210860 to i32*), align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_10, label LBL_9 LBL_9: %39 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %2, i64 %1) br label LBL_10 LBL_10: call void @exit(i32 0) unreachable LBL_11: store i8 0, i8* %34, align 1 %40 = load i32, i32* @gv_3, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_13, label LBL_12 LBL_12: %42 = zext i32 %9 to i64 %43 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64 %42, i64 %15, i64 %1) store i64 %15, i64* %r8.0.reg2mem br label LBL_13 LBL_13: %r8.0.reload = load i64, i64* %r8.0.reg2mem %44 = call i64 @FUNC(i64 0) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %46, label LBL_18, label LBL_14 LBL_14: %47 = bitcast i64* %sv_1 to i8* store i32 0, i32* %storemerge3.reg2mem br label LBL_15 LBL_15: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %48 = call i32 @strcasecmp(i8* nonnull %47, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0)) %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false %51 = load i32, i32* @gv_3, align 4 %52 = icmp eq i32 %51, 0 %or.cond = or i1 %50, %52 br i1 %or.cond, label LBL_17, label LBL_16 LBL_16: %53 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_6, i64 0, i64 0), i64 %15, i64 %r8.0.reload, i64 %1) br label LBL_17 LBL_17: %54 = add nuw i32 %storemerge3.reload, 1 %55 = call i64 @FUNC(i64 0) %56 = trunc i64 %55 to i32 %57 = icmp ult i32 %54, %56 store i32 %54, i32* %storemerge3.reg2mem store i32 %54, i32* %storemerge.lcssa.reg2mem br i1 %57, label LBL_15, label LBL_18 LBL_18: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %58 = call i64 @FUNC(i64 0) %59 = trunc i64 %58 to i32 %60 = icmp ult i32 %storemerge.lcssa.reload, %59 br i1 %60, label LBL_24, label LBL_19 LBL_19: %61 = load i32, i32* @gv_3, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_21, label LBL_20 LBL_20: %63 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0), i64 %15, i64 %r8.0.reload, i64 %1) br label LBL_21 LBL_21: %64 = and i64 %5, 4294967295 %65 = call i64 @FUNC(i64 %64, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0), i64 10) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 10 br i1 %67, label LBL_23, label LBL_22 LBL_22: %68 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i64 %15, i64 %r8.0.reload, i64 %1) call void @exit(i32 0) unreachable LBL_23: %69 = call i64 @FUNC(i64 %64) %70 = call i64 @FUNC(i64 %64) call void @exit(i32 0) unreachable LBL_24: store i64 0, i64* %sv_0, align 8 %71 = call i64 @FUNC(i64* nonnull %sv_0) %72 = call i64 @FUNC(i64 %71) ret i64 %72 uselistorder i64 %r8.0.reload, { 1, 2, 0 } uselistorder i64 %15, { 1, 2, 3, 0, 6, 4, 5 } uselistorder i32 %9, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @pset_count, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder void (i32)* @exit, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @msg, { 5, 3, 4, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), { 1, 2, 0, 3, 4, 5 } uselistorder i64 1, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4, 5, 6 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
shmem_acct_block_6601
shmem_acct_block
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = urem i64 %arg1, 2 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 4096) 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 i1 false, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
virtio_mmio_class_init_15702
virtio_mmio_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = add i64 %0, 56 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
visit_type_uint64_750
visit_type_uint64
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %2 = ptrtoint i64* %arg2 to i64 store i64 %2, i64* %arg2, align 8 store i64 %2, 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
WildMidi_Shutdown_8374
WildMidi_Shutdown
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = load i64, i64* @gv_0, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem br i1 %5, label LBL_3, label LBL_4 LBL_2: %6 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 51, i64 4294967295, i64 0, i64 0) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_3: %.reload = load i64, i64* %.reg2mem %7 = add i64 %.reload, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* @gv_0, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_4: %14 = call i64 @FUNC() %15 = call i64 @FUNC() %16 = call i64 @FUNC() store i32 948, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_5 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8 %17 = call i128 @FUNC(i32 1099366400) %18 = call i64 @__asm_movss.1(i128 %17) %19 = trunc i64 %18 to i32 store i32 %19, i32* bitcast (i64* @gv_7 to i32*), align 8 %20 = call i128 @FUNC(i32 1102315520) %21 = call i64 @__asm_movss.1(i128 %20) %22 = trunc i64 %21 to i32 store i32 %22, i32* bitcast (i64* @gv_8 to i32*), align 8 %23 = load i32, i32* inttoptr (i64 4202572 to i32*), align 4 %24 = call i128 @FUNC(i32 %23) %25 = call i64 @__asm_movss.1(i128 %24) %26 = trunc i64 %25 to i32 store i32 %26, i32* bitcast (i64* @gv_9 to i32*), align 8 %27 = call i128 @FUNC(i32 1099366400) %28 = call i64 @__asm_movss.1(i128 %27) %29 = trunc i64 %28 to i32 store i32 %29, i32* bitcast (i64* @gv_10 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_11 to i32*), align 8 %30 = load i64, i64* @gv_12, align 8 %31 = icmp eq i64 %30, 0 store i64 0, i64* %storemerge.reg2mem br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = inttoptr i64 %30 to i64* call void @free(i64* %32) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
do_net_open_3978
do_net_open
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_2, i64 15) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, -1 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = trunc i64 %0 to i16 %5 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16) store i64 2, i64* %sv_1, align 8 %6 = call i16 @htons(i16 %4) %7 = bitcast i64* %sv_2 to i8* %8 = bitcast i64* %sv_0 to %in_addr* %9 = call i32 @inet_aton(i8* nonnull %7, %in_addr* nonnull %8) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_8 LBL_2: %12 = load i64, i64* %sv_1, align 8 %13 = trunc i64 %12 to i32 %14 = urem i32 %13, 65536 %15 = call i32 @socket(i32 %14, i32 1, i32 6) %16 = icmp eq i32 %15, -1 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_8 LBL_3: %sext = mul i64 %0, 281474976710656 %18 = ashr exact i64 %sext, 48 %19 = and i64 %18, 4294967295 %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64 %19) %21 = bitcast i64* %sv_1 to %sockaddr* %22 = call i32 @connect(i32 %15, %sockaddr* nonnull %21, i32 16) %23 = icmp eq i32 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i32 @close(i32 %15) %26 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %27 = zext i32 %15 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i32 @close(i32 %15) %33 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %34 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0)) store i64 %27, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 } uselistorder i32 (i32)* @close, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 4294967295, { 4, 3, 5, 0, 1, 2 } uselistorder label LBL_8, { 3, 4, 5, 0, 1, 2 } }
0
BinRealVul
io_uring_flush_19297
io_uring_flush
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %arg2) %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %.pre = load i64, i64* @gv_0, align 8 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = inttoptr i64 %.pre 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_3, label LBL_2 LBL_2: %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %13, i64 4198746, i64 %.pre, i64 1) br label LBL_3 LBL_3: ret i64 0 uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
set_msi_affinity_7166
set_msi_affinity
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, -1 %5 = icmp eq i64* %arg1, null %or.cond = or i1 %5, %4 store i64 %2, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %1, 8 %7 = call i64 @FUNC(i64 %6) %8 = and i64 %7, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %7 to i32 %11 = and i32 %10, -256 store i32 %11, i32* %sv_0, align 4 %12 = add i64 %1, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = or i32 %14, %11 store i32 %15, i32* %sv_0, align 4 %16 = bitcast i32* %sv_0 to i64* %17 = call i64 @FUNC(i64 %1, i64* nonnull %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_0, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
f2fs_put_super_11094
f2fs_put_super
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %1, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %1, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* %sv_1, align 4 %12 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1) br label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %1) %14 = call i64 @FUNC(i64 %1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = add i64 %1, 40 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: store i32 3, i32* %sv_0, align 4 %22 = call i64 @FUNC(i64 %1, i32* nonnull %sv_0) br label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %1) %24 = call i64 @FUNC(i64 %1, i64 1) %25 = call i64 @FUNC(i64 %1) %26 = call i64 @FUNC(i64 %1) %27 = call i64 @FUNC(i64 %1) %28 = add i64 %1, 48 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) %32 = add i64 %1, 56 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) %36 = call i64 @FUNC(i64 %1) %37 = call i64 @FUNC(i64 %1) %38 = add i64 %1, 64 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %40) %42 = call i64 @FUNC(i64 %1) store i64 0, i64* %arg1, align 8 %43 = add i64 %1, 184 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = call i64 @FUNC(i64 %45) br label LBL_8 LBL_8: %48 = add i64 %1, 72 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50) %52 = call i64 @FUNC(i64 %1) %53 = add i64 %1, 176 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %1, 80 store i64 0, i64* %indvars.iv4.reg2mem br label LBL_9 LBL_9: %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem %58 = mul i64 %indvars.iv4.reload, 8 %59 = add i64 %57, %58 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %61) %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1 %exitcond6 = icmp eq i64 %indvars.iv.next5, 4 store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem br i1 %exitcond6, label LBL_10, label LBL_9 LBL_10: %63 = call i64 @FUNC(i64 %1) %64 = add i64 %1, 112 store i64 0, i64* %indvars.iv.reg2mem br label LBL_11 LBL_11: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %65 = mul i64 %indvars.iv.reload, 8 %66 = add i64 %64, %65 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = call i64 @FUNC(i64 %68) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_11 LBL_12: %70 = call i64 @FUNC(i64 %1) ret i64 %70 uselistorder i64 %1, { 5, 1, 6, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 3, 4, 22, 23, 24, 2, 25, 26 } uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 2, 0, 1 } uselistorder i64 (i64)* @kfree, { 3, 4, 2, 1, 0 } uselistorder i64 (i64)* @iput, { 1, 0 } uselistorder i64 (i64, i32*)* @write_checkpoint, { 1, 0 } uselistorder i64 1, { 1, 0, 2, 3, 4 } }
1
BinRealVul
ext4_alloc_inode_17906
ext4_alloc_inode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.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 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = inttoptr i64 %1 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %1, 52 %8 = inttoptr i64 %7 to i64* %9 = call i64* @memset(i64* %8, i32 0, i32 4) %10 = add i64 %1, 56 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %1, 64 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %1, 48 %15 = call i64 @FUNC(i64 %14, i64 %1) %16 = add i64 %1, 8 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %1, 12 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %1, 16 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %1, 20 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %1, 24 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 %26 = add i64 %1, 72 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %1, 28 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %1, 80 %31 = call i64 @FUNC(i64 %30) %32 = add i64 %1, 32 %33 = inttoptr i64 %32 to i64* store i64 0, i64* %33, align 8 %34 = add i64 %1, 40 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %1, 44 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 store i64 %1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 12, 14, 15, 16, 17, 18, 19 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @spin_lock_init, { 1, 0 } uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
FixTrackID_12999
FixTrackID
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = add i64 %arg1, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 1 %17 = icmp eq i1 %16, false store i64 %14, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = load i64, i64* %10, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 0) %22 = call i64 @FUNC(i64 %20, i64 0) %23 = inttoptr i64 %21 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = inttoptr i64 %22 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = icmp eq i32 %26, %30 store i64 %31, i64* %rax.0.reg2mem br i1 %32, label LBL_5, label LBL_4 LBL_4: %33 = call i64 @FUNC(i64 1, i64 2, i64 %31, i64 %3, i64 %2, i64 %1) %34 = load i64, i64* %27, align 8 %35 = load i64, i64* %23, align 8 %36 = inttoptr i64 %34 to i32* %37 = load i32, i32* %36, align 4 %38 = inttoptr i64 %35 to i32* store i32 %37, i32* %38, align 4 store i64 %35, 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 %31, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @gf_list_get, { 1, 0 } uselistorder i64 (i64)* @gf_list_count, { 1, 0 } uselistorder label LBL_5, { 1, 2, 3, 4, 0 } }
1
BinRealVul
rpc_type_of_NPNVariable_6039
rpc_type_of_NPNVariable
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp sgt i32 %0, 11 br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = icmp sgt i32 %0, 9 store i64 3, i64* %sv_0.0.reg2mem br i1 %2, label LBL_6, label LBL_2 LBL_2: %3 = icmp sgt i32 %0, 7 br i1 %3, label LBL_4, label LBL_3 LBL_3: %4 = icmp eq i32 %0, 0 %5 = icmp slt i32 %0, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 1, i64* %sv_0.0.reg2mem br i1 %8, label LBL_6, label LBL_5 LBL_4: %9 = or i32 %0, 1 %10 = icmp eq i32 %9, 9 store i64 2, i64* %sv_0.0.reg2mem br i1 %10, label LBL_6, label LBL_5 LBL_5: store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i32 %0, { 4, 2, 3, 1, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 3, 1, 2, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
pl080_class_init_16126
pl080_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 1, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %3, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
regmap_raw_read_18552
regmap_raw_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 40 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_10 LBL_1: %6 = urem i64 %arg4, %0 %7 = icmp eq i64 %6, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_10 LBL_2: %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = add i64 %0, 56 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %.lhs.trunc = trunc i64 %8 to i32 %12 = urem i32 %.lhs.trunc, %11 %13 = icmp eq i32 %12, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_10 LBL_3: %14 = udiv i64 %arg4, %0 %15 = and i64 %8, 4294967295 %16 = call i64 @FUNC(i64 %0, i64 %15, i64 %14) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_7, label LBL_4 LBL_4: %20 = add i64 %0, 48 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_5 LBL_5: %25 = add i64 %0, 52 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_7 LBL_6: %30 = icmp ugt i64 %0, %arg4 store i32 0, i32* %storemerge2.reg2mem br i1 %30, label LBL_9, label LBL_8 LBL_7: %31 = ptrtoint i64* %arg3 to i64 %32 = call i64 @FUNC(i64 %0, i32 %.lhs.trunc, i64 %31, i64 %arg4) %33 = trunc i64 %32 to i32 store i32 %33, i32* %sv_0.1.reg2mem br label LBL_9 LBL_8: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %34 = load i32, i32* %10, align 4 %35 = mul i32 %34, %storemerge2.reload %36 = add i32 %35, %.lhs.trunc %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %0, i64 %37, i64* nonnull %sv_1) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = add i32 %storemerge2.reload, 1 %42 = sext i32 %41 to i64 %43 = icmp ugt i64 %14, %42 %or.cond = icmp eq i1 %43, %40 store i32 %41, i32* %storemerge2.reg2mem store i32 %39, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_8, label LBL_9 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %44 = zext i32 %sv_0.1.reload to i64 store i64 %44, 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 %8, { 1, 0 } uselistorder i64 %0, { 1, 4, 0, 3, 2, 6, 8, 5, 7, 9 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 0, { 2, 0, 3, 4, 5, 1, 6 } uselistorder i64 %arg4, { 1, 0, 3, 2 } uselistorder label LBL_10, { 3, 0, 1, 2 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
handle_ti_11520
handle_ti
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %2, 28 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %2, 304 %13 = inttoptr i64 %12 to i64* store i64 4198710, i64* %13, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_12 LBL_3: %14 = trunc i64 %1 to i32 %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = mul i32 %17, 256 %19 = or i32 %18, %14 %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %22, 65536 %24 = or i32 %19, %23 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false %spec.select = select i1 %26, i32 %24, i32 65536 %27 = add i64 %2, 16 %28 = inttoptr i64 %27 to i32* store i32 %spec.select, i32* %28, align 4 %29 = add i64 %2, 32 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_5, label LBL_4 LBL_4: %33 = icmp ult i32 %spec.select, 32 %34 = select i1 %33, i32 %spec.select, i32 32 store i32 %34, i32* %sv_0.0.reg2mem br label LBL_8 LBL_5: %35 = add i64 %2, 36 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_7, label LBL_6 LBL_6: %40 = sub i32 0, %37 %41 = icmp ugt i32 %spec.select, %40 %42 = select i1 %41, i32 %40, i32 %spec.select store i32 %42, i32* %sv_0.0.reg2mem br label LBL_8 LBL_7: %43 = icmp ugt i32 %spec.select, %37 %44 = select i1 %43, i32 %37, i32 %spec.select store i32 %44, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %45 = zext i32 %sv_0.0.reload to i64 %46 = call i64 @FUNC(i64 %45) %47 = load i32, i32* %4, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = add i64 %2, 20 %50 = inttoptr i64 %49 to i32* store i32 %sv_0.0.reload, i32* %50, align 4 %51 = add i64 %2, 12 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = and i32 %53, -2 store i32 %54, i32* %52, align 4 %55 = call i64 @FUNC(i64 %2) br label LBL_10 LBL_10: %56 = load i32, i32* %30, align 4 %57 = icmp eq i32 %56, 0 store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_12, label LBL_11 LBL_11: %58 = add i64 %2, 40 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %61) %63 = add i64 %2, 36 %64 = inttoptr i64 %63 to i32* store i32 0, i32* %64, align 4 store i32 0, i32* %59, align 4 store i32 0, i32* %30, align 4 %65 = add i64 %2, 44 %66 = call i64 @FUNC(i64 %2, i64 %65) store i64 %66, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32 %37, { 1, 0, 2, 3 } uselistorder i32 %spec.select, { 5, 4, 0, 1, 3, 2, 6 } uselistorder i64 %2, { 4, 3, 6, 5, 1, 2, 7, 9, 8, 10, 12, 11, 0, 13, 14, 15 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 65536, { 1, 0 } }
1
BinRealVul
preloadobjstms_6376
preloadobjstms
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = icmp sgt i64 %2, 0 store i32 0, i32* %storemerge1.reg2mem store i64 %2, i64* %.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %4 = call i64 @FUNC(i64 %1, i64 %0, i32 %storemerge1.reload) %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 111 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %1, i64 %0, i32 %storemerge1.reload) %10 = call i64 @FUNC(i64 %1, i64 %9) br label LBL_3 LBL_3: %11 = add i32 %storemerge1.reload, 1 %12 = call i64 @FUNC(i64 %1, i64 %0) %13 = sext i32 %11 to i64 %14 = icmp sgt i64 %12, %13 store i32 %11, i32* %storemerge1.reg2mem store i64 %12, i64* %.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_4 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %storemerge1.reload, { 2, 0, 1 } uselistorder i64 %1, { 4, 2, 1, 3, 0 } uselistorder i64 %0, { 3, 1, 2, 0 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @pdf_xref_len, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
srt_write_packet_2903
srt_write_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi5.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %16, false %18 = trunc i64 %3 to i32 br i1 %17, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %5, 16 %.pre4 = inttoptr i64 %.pre to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem br label LBL_7 LBL_2: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp slt i64 %21, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %22, false %26 = icmp eq i1 %24, %25 store i64 %21, i64* %sv_0.0.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = add i64 %4, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 store i64 %29, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = icmp ne i64* %arg2, inttoptr (i64 -1 to i64*) %31 = icmp slt i64 %sv_0.0.reload, 0 %32 = icmp eq i1 %31, false %or.cond = icmp eq i1 %30, %32 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %33 = and i64 %3, 4294967295 %34 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %33, i64 %2, i64 %1) br label LBL_10 LBL_6: %35 = lshr i64 %4, 63 %36 = ashr i64 %4, 63 %37 = udiv i64 %36, 4294967296 %38 = trunc i64 %37 to i32 %39 = trunc i64 %35 to i32 %40 = add i32 %38, %39 %41 = ashr i32 %40, 5 %42 = mul i32 %41, -60 %43 = or i32 %42, %39 %44 = lshr i64 %4, 63 %45 = ashr i64 %4, 63 %46 = udiv i64 %45, 4294967296 %47 = trunc i64 %46 to i32 %48 = trunc i64 %44 to i32 %49 = add i32 %47, %48 %50 = ashr i32 %49, 5 %51 = mul i32 %50, -60 %52 = or i32 %51, %48 %53 = add i64 %5, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = zext i32 %43 to i64 %57 = zext i32 %52 to i64 %58 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 %18, i64 0, i64 %57, i64 %56) store i64* %54, i64** %.pre-phi5.reg2mem br label LBL_7 LBL_7: %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %59 = add i64 %4, 32 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i64 %4, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = load i64, i64* %.pre-phi5.reload, align 8 %66 = call i64 @FUNC(i64 %65, i64 %64, i32 %61) br i1 %17, label LBL_9, label LBL_8 LBL_8: %67 = load i64, i64* %.pre-phi5.reload, align 8 %68 = call i64 @FUNC(i64 %67, i64 ptrtoint ([3 x i8]* @gv_2 to i64), i32 2) br label LBL_9 LBL_9: %69 = load i64, i64* %.pre-phi5.reload, align 8 %70 = call i64 @FUNC(i64 %69) %71 = add i32 %18, 1 %72 = bitcast i64* %arg1 to i32* store i32 %71, i32* %72, align 4 br label LBL_10 LBL_10: ret i64 0 uselistorder i64* %.pre-phi5.reload, { 1, 0, 2 } uselistorder i64 %21, { 0, 2, 1 } uselistorder i64 %5, { 1, 2, 0, 3 } uselistorder i64 %4, { 7, 6, 0, 1, 2, 3, 4, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @avio_write, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i1 false, { 0, 3, 1, 2, 4 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
opficomp_8162
opficomp
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg3 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = and i32 %8, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = bitcast i64* %arg2 to i8* store i8 -34, i8* %14, align 1 %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %11, 1 %19 = trunc i32 %17 to i8 %20 = or i8 %19, 24 %21 = inttoptr i64 %18 to i8* store i8 %20, i8* %21, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %22 = and i32 %8, 4 %23 = icmp eq i32 %22, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = bitcast i64* %arg2 to i8* store i8 -38, i8* %24, align 1 %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %11, 1 %29 = trunc i32 %27 to i8 %30 = or i8 %29, 24 %31 = inttoptr i64 %28 to i8* store i8 %30, i8* %31, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %11, { 1, 0 } uselistorder i32 %8, { 1, 2, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 1, 4, 3 } uselistorder i64 2, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_6, { 1, 4, 0, 3, 2 } }
0
BinRealVul
fiin_Write_9555
fiin_Write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_2, label LBL_7 LBL_2: %7 = call i64 @FUNC(i64 %3) %8 = urem i64 %7, 65536 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = call i64 @FUNC(i64 %3, i64 %2, i64 %2) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_7 LBL_3: %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %15, i64 %2) br label LBL_5 LBL_5: %18 = add i64 %3, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %20, i64 %2) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %2, { 1, 0, 4, 3, 2, 5 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i64 (i64, i64)* @gf_isom_box_write, { 1, 0 } uselistorder i64 0, { 1, 0, 7, 8, 2, 3, 4, 5, 6 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2, 3, 4 } }
0
BinRealVul
imap_auth_login_12757
imap_auth_login
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = add i64 %4, 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 %8, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @globalFUNCvarFUNC402018, i64 0, i64 0)) %13 = call i64 @FUNC(i64 %12) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %14 = call i64 @FUNC(i64 %8) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_9 LBL_3: %18 = call i64 @FUNC(i64 %8) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_9 LBL_4: %22 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @globalFUNCvarFUNC402037, i64 0, i64 0)) %23 = call i64 @FUNC(i64 %22) %24 = ptrtoint i64* %sv_2 to i64 %25 = call i64 @FUNC(i64* nonnull %sv_2, i64 256, i64 %22) %26 = add i64 %24, 256 %27 = call i64 @FUNC(i64* nonnull %sv_1, i64 256, i64 %26) %28 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = ptrtoint i64* %sv_1 to i64 %35 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %34, i64 %3, i64 %2, i64 %1) br label LBL_6 LBL_6: %36 = bitcast i64* %sv_0 to i8* %37 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %36, i32 1024, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64* nonnull %sv_1) %38 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0, i64 3) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_8, label LBL_7 LBL_7: %42 = call i64 @FUNC() store i64 2, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %43 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @globalFUNCvarFUNC402075, i64 0, i64 0)) %44 = call i64 @FUNC(i64 %43) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @imap_quote_string, { 1, 0 } uselistorder i64 256, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @mutt_message, { 1, 0 } uselistorder i64 (i8*)* @_, { 2, 1, 0 } uselistorder i64 1, { 2, 0, 1, 3 } uselistorder label LBL_9, { 2, 3, 0, 1, 4 } }
1
BinRealVul
fdctrl_init_isa_18655
fdctrl_init_isa
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([8 x i8]* @gv_0 to i64)) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %8) br label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false %14 = add i64 %1, 8 %storemerge = select i1 %13, i64 %14, i64 0 ret i64 %storemerge uselistorder i64 %1, { 1, 2, 0, 3 } uselistorder i64 (i64, i8*, i64)* @qdev_prop_set_drive_nofail, { 1, 0 } uselistorder [8 x i8]* @gv_0, { 1, 0 } }
1
BinRealVul
brcmf_rx_event_13193
brcmf_rx_event
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg2) %6 = call i64 @FUNC(i64 %3, i64 %arg2, i64* nonnull %sv_0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load i64, i64* %sv_0, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 %arg2) %14 = call i64 @FUNC(i64 %arg2) store i64 %14, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
btree_xlog_delete_get_latestRemovedXid_7677
btree_xlog_delete_get_latestRemovedXid
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_0.22.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %1 = load i32, i32* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %4 to i64 %9 = zext i32 %7 to i64 %10 = call i64 @FUNC(i64 %9, i64 %8, i64 0) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_8 LBL_1: %13 = call i64 @FUNC(i64 %10) %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 store i64 0, i64* %sv_0.2.lcssa.reg2mem br i1 %17, label LBL_6, label LBL_2 LBL_2: %18 = add i64 %2, 12 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %storemerge3.reg2mem store i32 0, i32* %sv_0.22.reg2mem br label LBL_3 LBL_3: %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 0, i64 0) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_4, label LBL_8 LBL_4: %sv_0.22.reload = load i32, i32* %sv_0.22.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %25 = call i64 @FUNC(i64 %22) %26 = call i64 @FUNC(i64 0) %27 = zext i32 %sv_0.22.reload to i64 %28 = and i64 %26, 4294967295 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = trunc i64 %29 to i8 %31 = icmp eq i8 %30, 0 %32 = trunc i64 %26 to i32 %spec.select = select i1 %31, i32 %sv_0.22.reload, i32 %32 %33 = call i64 @FUNC(i64 0) %34 = zext i32 %spec.select to i64 %35 = and i64 %33, 4294967295 %36 = call i64 @FUNC(i64 %35, i64 %34) %37 = trunc i64 %36 to i8 %38 = icmp eq i8 %37, 0 %39 = trunc i64 %33 to i32 %sv_0.1 = select i1 %38, i32 %spec.select, i32 %39 %40 = add i32 %storemerge3.reload, 1 %41 = load i32, i32* %15, align 4 %42 = zext i32 %41 to i64 %43 = sext i32 %40 to i64 %44 = icmp slt i64 %43, %42 store i32 %40, i32* %storemerge3.reg2mem store i32 %sv_0.1, i32* %sv_0.22.reg2mem br i1 %44, label LBL_3, label LBL_5 LBL_5: %phitmp = zext i32 %sv_0.1 to i64 store i64 %phitmp, i64* %sv_0.2.lcssa.reg2mem br label LBL_6 LBL_6: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %45 = icmp eq i32 %1, 0 store i64 %sv_0.2.lcssa.reload, i64* %rax.0.reg2mem br i1 %45, label LBL_8, label LBL_7 LBL_7: %46 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %47 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %46, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.1, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i32* %15, { 1, 0 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.22.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64, i64)* @TransactionIdFollows, { 1, 0 } uselistorder i32 0, { 5, 0, 1, 2, 3, 4 } uselistorder i64 (i64)* @BufferGetPage, { 1, 0 } uselistorder i64 (i64, i64, i64)* @XLogReadBuffer, { 1, 0 } uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
hci_uart_set_proto_11078
hci_uart_set_proto
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %arg1, align 8 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 0, i64 %5) %7 = call i64 @FUNC(i64 %4) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 0, i64 %5) %11 = and i64 %7, 4294967295 store i64 %11, 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 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
parse_scheme_6546
parse_scheme
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %1 = bitcast i64* %rdi to i8* %2 = add i64 %0, 272 %3 = inttoptr i64 %2 to i64* %4 = add i64 %0, 16 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = add i64 %0, -1 store i64 %0, i64* %.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %sext = mul i64 %.reload, 72057594037927936 %8 = ashr exact i64 %sext, 56 %9 = add nsw i64 %8, 4294967253 %10 = and i64 %9, 4294967295 store i64 %10, i64* @0, align 8 %trunc = trunc i64 %9 to i32 switch i32 %trunc, label LBL_5 [ i32 0, label LBL_3 i32 2, label LBL_3 i32 3, label LBL_3 i32 5, label LBL_3 i32 6, label LBL_3 i32 7, label LBL_3 i32 8, label LBL_3 i32 9, label LBL_3 i32 10, label LBL_3 i32 11, label LBL_3 i32 12, label LBL_3 i32 13, label LBL_3 i32 14, label LBL_3 i32 15, label LBL_2 i32 22, label LBL_4 i32 23, label LBL_4 i32 24, label LBL_4 i32 25, label LBL_4 i32 26, label LBL_4 i32 27, label LBL_4 i32 28, label LBL_4 i32 29, label LBL_4 i32 30, label LBL_4 i32 31, label LBL_4 i32 32, label LBL_4 i32 33, label LBL_4 i32 34, label LBL_4 i32 35, label LBL_4 i32 36, label LBL_4 i32 37, label LBL_4 i32 38, label LBL_4 i32 39, label LBL_4 i32 40, label LBL_4 i32 41, label LBL_4 i32 42, label LBL_4 i32 43, label LBL_4 i32 44, label LBL_4 i32 45, label LBL_4 i32 46, label LBL_4 i32 47, label LBL_4 i32 54, label LBL_4 i32 55, label LBL_4 i32 56, label LBL_4 i32 57, label LBL_4 i32 58, label LBL_4 i32 59, label LBL_4 i32 60, label LBL_4 i32 61, label LBL_4 i32 62, label LBL_4 i32 63, label LBL_4 i32 64, label LBL_4 i32 65, label LBL_4 i32 66, label LBL_4 i32 67, label LBL_4 i32 68, label LBL_4 i32 69, label LBL_4 i32 70, label LBL_4 i32 71, label LBL_4 i32 72, label LBL_4 i32 73, label LBL_4 i32 74, label LBL_4 i32 75, label LBL_4 i32 76, label LBL_4 i32 77, label LBL_4 i32 78, label LBL_4 i32 79, label LBL_4 ] LBL_2: %11 = add i64 %0, 280 %12 = inttoptr i64 %11 to i64* store i64 %4, i64* %12, align 8 %13 = load i64, i64* %3, align 8 %14 = add i64 %13, 1 store i64 %14, i64* %3, align 8 %15 = add i64 %13, %4 %16 = inttoptr i64 %15 to i8* store i8 0, i8* %16, align 1 %17 = load i64, i64* %rdi, align 8 %18 = add i64 %17, 1 store i64 %17, i64* %storemerge.reg2mem store i64 %18, i64* %storemerge1.reg2mem br label LBL_9 LBL_3: %19 = icmp eq i64 %.reload, %0 br i1 %19, label LBL_8, label LBL_4 LBL_4: %20 = load i64, i64* %3, align 8 %21 = add i64 %20, 1 store i64 %21, i64* %3, align 8 %22 = load i8, i8* %1, align 8 %23 = add i64 %20, %4 %24 = inttoptr i64 %23 to i8* store i8 %22, i8* %24, align 1 %.pre = load i64, i64* %rdi, align 8 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_7 LBL_5: %25 = load i64, i64* %6, align 8 store i64 %0, i64* %rdi, align 8 %26 = call i64 @FUNC(i64 %0, i64 1, i64 %.reload, i64 %25, i64 %0, i64 1) %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = add i64 %7, %26 store i64 %28, i64* %arg1, align 8 store i64 %0, i64* %.pre-phi.reg2mem br label LBL_7 LBL_7: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %29 = add i64 %.pre-phi.reload, 1 store i64 %29, i64* %arg1, align 8 %30 = load i64, i64* %6, align 8 %31 = icmp eq i64 %.pre-phi.reload, %30 %32 = icmp eq i1 %31, false store i64 %.pre-phi.reload, i64* %.reg2mem br i1 %32, label LBL_1, label LBL_8 LBL_8: store i64 0, i64* %3, align 8 %storemerge.pre = load i64, i64* %rdi, align 8 store i64 %storemerge.pre, i64* %storemerge.reg2mem store i64 %0, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge1.reload, i64* %arg1, align 8 ret i64 %storemerge.reload uselistorder i64 %.pre-phi.reload, { 2, 1, 0 } uselistorder i64 %.reload, { 1, 0, 2 } uselistorder i64* %3, { 0, 3, 4, 2, 1 } uselistorder i64 %0, { 0, 1, 8, 10, 11, 4, 5, 2, 3, 9, 6, 7, 12 } uselistorder i64* %rdi, { 0, 2, 1, 4, 3, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 5, 1, 0, 2, 3, 4 } uselistorder i64* %arg1, { 1, 2, 0, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
tcp_write_packet_971
tcp_write_packet
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %sv_0.05.reg2mem = alloca i32 %sv_1.0.in6.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_2) %11 = trunc i64 %10 to i32 store i64 0, i64* %8, align 8 %12 = icmp sgt i32 %11, 4 br i1 %12, label LBL_1, label LBL_4 LBL_1: %13 = load i64, i64* %sv_2, align 8 %14 = add i64 %4, 4 %15 = inttoptr i64 %14 to i32* %16 = bitcast i64* %rsi to i32* %17 = inttoptr i64 %3 to i64* store i64 %13, i64* %sv_1.0.in6.reg2mem store i32 %11, i32* %sv_0.05.reg2mem br label LBL_2 LBL_2: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %sv_1.0.in6.reload = load i64, i64* %sv_1.0.in6.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in6.reload to i32* %18 = load i32, i32* %sv_1.0, align 4 %19 = add i32 %sv_0.05.reload, -4 %20 = icmp ult i32 %19, %18 %21 = icmp ult i32 %18, 2 %or.cond = or i1 %20, %21 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %sv_1.0.in6.reload, 4 %23 = inttoptr i64 %sv_1.0.in6.reload to i8* %24 = add i64 %sv_1.0.in6.reload, 5 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, -56 %28 = icmp eq i1 %27, false %storemerge.in = select i1 %28, i32* %15, i32* %16 %storemerge = load i32, i32* %storemerge.in, align 4 store i8 36, i8* %23, align 1 %29 = add i64 %sv_1.0.in6.reload, 1 %30 = trunc i32 %storemerge to i8 %31 = inttoptr i64 %29 to i8* store i8 %30, i8* %31, align 1 %32 = add i64 %sv_1.0.in6.reload, 2 %33 = trunc i32 %18 to i16 %34 = inttoptr i64 %32 to i16* store i16 %33, i16* %34, align 2 %35 = add i32 %18, 4 %36 = zext i32 %35 to i64 %37 = load i64, i64* %17, align 8 %38 = call i64 @FUNC(i64 %37, i64 %sv_1.0.in6.reload, i64 %36) %39 = zext i32 %18 to i64 %40 = add i64 %22, %39 %41 = sub i32 %19, %18 %42 = icmp sgt i32 %41, 4 store i64 %40, i64* %sv_1.0.in6.reg2mem store i32 %41, i32* %sv_0.05.reg2mem br i1 %42, label LBL_2, label LBL_4 LBL_4: %43 = load i64, i64* %sv_2, align 8 %44 = call i64 @FUNC(i64 %43) %45 = call i64 @FUNC(i64 %7, i64 1500) ret i64 %45 uselistorder i32 %19, { 1, 0 } uselistorder i32 %18, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %sv_1.0.in6.reload, { 5, 0, 1, 2, 4, 3, 6 } uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i64* %sv_1.0.in6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
imdct36_23
imdct36
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %indvars.iv15.reg2mem = alloca i64 %indvars.iv17.reg2mem = alloca i64 %1 = ptrtoint i64* %arg3 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 17, i64* %indvars.iv17.reg2mem br label LBL_1 LBL_1: %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem %4 = mul i64 %indvars.iv17.reload, 4 %5 = add i64 %4, %1 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i128 @FUNC(i32 %7) %9 = add i64 %5, -4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i128 @FUNC(i32 %11) %13 = call i128 @FUNC(i128 %12, i128 %8) %14 = call i64 @__asm_movss.1(i128 %13) %15 = trunc i64 %14 to i32 store i32 %15, i32* %6, align 4 %indvars.iv.next18 = add nsw i64 %indvars.iv17.reload, -1 %16 = icmp eq i64 %indvars.iv.next18, 0 %17 = icmp eq i1 %16, false store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem br i1 %17, label LBL_1, label LBL_2 LBL_2: %18 = ptrtoint i64* %arg2 to i64 %19 = ptrtoint i64* %arg1 to i64 store i64 17, i64* %indvars.iv15.reg2mem br label LBL_3 LBL_3: %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem %20 = mul i64 %indvars.iv15.reload, 4 %21 = add i64 %20, %1 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = call i128 @FUNC(i32 %23) %25 = add i64 %21, -8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = call i128 @FUNC(i32 %27) %29 = call i128 @FUNC(i128 %28, i128 %24) %30 = call i64 @__asm_movss.1(i128 %29) %31 = trunc i64 %30 to i32 store i32 %31, i32* %22, align 4 %indvars.iv.next16 = add nsw i64 %indvars.iv15.reload, -2 %32 = icmp ugt i64 %indvars.iv.next16, 2 store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem br i1 %32, label LBL_3, label LBL_4 LBL_4: %33 = ptrtoint i64* %arg4 to i64 %34 = ptrtoint i64* %sv_1 to i64 %35 = ptrtoint i64* %sv_0 to i64 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_5 LBL_5: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %36 = mul i64 %indvars.iv12.reload, 4 %37 = add nuw nsw i64 %36, %35 %38 = add i64 %36, %1 %39 = add i64 %38, 32 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = call i128 @FUNC(i32 %41) %43 = add i64 %38, 64 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = call i128 @FUNC(i32 %45) %47 = call i128 @FUNC(i128 %46, i128 %42) %48 = add i64 %38, 16 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = call i128 @FUNC(i32 %50) %52 = call i128 @FUNC(i128 %47, i128 %51) %53 = call i64 @__asm_movss.1(i128 %52) %54 = trunc i64 %53 to i32 %55 = inttoptr i64 %38 to i32* %56 = load i32, i32* %55, align 4 %57 = call i128 @FUNC(i32 %56) %58 = add i64 %38, 48 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = call i128 @FUNC(i32 %60) %62 = call i128 @FUNC(i32 1073741824) %63 = call i128 @FUNC(i128 %61, i128 %62) %64 = call i128 @FUNC(i128 %63, i128 %57) %65 = call i64 @__asm_movss.1(i128 %64) %66 = trunc i64 %65 to i32 %67 = load i32, i32* %55, align 4 %68 = call i128 @FUNC(i32 %67) %69 = load i32, i32* %59, align 4 %70 = call i128 @FUNC(i32 %69) %71 = call i128 @FUNC(i128 %68, i128 %70) %72 = call i64 @__asm_movss.1(i128 %71) %73 = trunc i64 %72 to i32 %74 = call i128 @FUNC(i32 %54) %75 = call i128 @FUNC(i32 1073741824) %76 = call i128 @FUNC(i128 %74) %77 = call i128 @FUNC(i128 %76, i128 %75) %78 = add i64 %37, 24 %79 = call i128 @FUNC(i32 %73) %80 = call i128 @FUNC(i128 %79, i128 %77) %81 = call i64 @__asm_movss.1(i128 %80) %82 = trunc i64 %81 to i32 %83 = inttoptr i64 %78 to i32* store i32 %82, i32* %83, align 4 %84 = add i64 %37, 64 %85 = call i128 @FUNC(i32 %73) %86 = call i128 @__asm_addss.2(i128 %85, i32 %54) %87 = call i64 @__asm_movss.1(i128 %86) %88 = trunc i64 %87 to i32 %89 = inttoptr i64 %84 to i32* store i32 %88, i32* %89, align 4 %90 = load i32, i32* %49, align 4 %91 = call i128 @FUNC(i32 %90) %92 = load i32, i32* %40, align 4 %93 = call i128 @FUNC(i32 %92) %94 = call i128 @FUNC(i128 %93, i128 %91) %95 = call i64 @__asm_movss.1(i128 %94) %96 = trunc i64 %95 to i32 %97 = load i32, i32* %40, align 4 %98 = call i128 @FUNC(i32 %97) %99 = load i32, i32* %44, align 4 %100 = call i128 @FUNC(i32 %99) %101 = call i128 @FUNC(i128 %98) %102 = call i128 @FUNC(i128 %101, i128 %100) %103 = call i128 @FUNC(i32 -1073741824) %104 = call i128 @FUNC(i128 %103, i128 %102) %105 = call i64 @__asm_movss.1(i128 %104) %106 = trunc i64 %105 to i32 %107 = load i32, i32* %49, align 4 %108 = call i128 @FUNC(i32 %107) %109 = load i32, i32* %44, align 4 %110 = call i128 @FUNC(i32 %109) %111 = call i128 @FUNC(i128 %110, i128 %108) %112 = call i128 @FUNC(i128 %111) %113 = call i128 @FUNC(i128 %112) %114 = call i128 @FUNC(i32 -2147483648) %115 = call i128 @FUNC(i128 %113, i128 %114) %116 = call i64 @__asm_movss.1(i128 %115) %117 = trunc i64 %116 to i32 %118 = call i128 @FUNC(i32 %66) %119 = call i128 @__asm_subss.3(i128 %118, i32 %96) %120 = add i64 %37, 40 %121 = call i128 @__asm_subss.3(i128 %119, i32 %117) %122 = call i64 @__asm_movss.1(i128 %121) %123 = trunc i64 %122 to i32 %124 = inttoptr i64 %120 to i32* store i32 %123, i32* %124, align 4 %125 = call i128 @FUNC(i32 %66) %126 = call i128 @__asm_addss.2(i128 %125, i32 %96) %127 = add i64 %37, 8 %128 = call i128 @__asm_addss.2(i128 %126, i32 %106) %129 = call i64 @__asm_movss.1(i128 %128) %130 = trunc i64 %129 to i32 %131 = inttoptr i64 %127 to i32* store i32 %130, i32* %131, align 4 %132 = call i128 @FUNC(i32 %66) %133 = call i128 @__asm_addss.2(i128 %132, i32 %117) %134 = add i64 %37, 56 %135 = call i128 @__asm_subss.3(i128 %133, i32 %106) %136 = call i64 @__asm_movss.1(i128 %135) %137 = trunc i64 %136 to i32 %138 = inttoptr i64 %134 to i32* store i32 %137, i32* %138, align 4 %139 = add i64 %38, 40 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = call i128 @FUNC(i32 %141) %143 = add i64 %38, 56 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = call i128 @FUNC(i32 %145) %147 = call i128 @FUNC(i128 %146, i128 %142) %148 = add i64 %38, 8 %149 = inttoptr i64 %148 to i32* %150 = load i32, i32* %149, align 4 %151 = call i128 @FUNC(i32 %150) %152 = call i128 @FUNC(i128 %147, i128 %151) %153 = call i128 @FUNC(i128 %152) %154 = call i128 @FUNC(i128 %153) %155 = add i64 %37, 16 %156 = call i128 @FUNC(i32 -2147483648) %157 = call i128 @FUNC(i128 %154, i128 %156) %158 = call i64 @__asm_movss.1(i128 %157) %159 = trunc i64 %158 to i32 %160 = inttoptr i64 %155 to i32* store i32 %159, i32* %160, align 4 %161 = load i32, i32* %149, align 4 %162 = call i128 @FUNC(i32 %161) %163 = load i32, i32* %140, align 4 %164 = call i128 @FUNC(i32 %163) %165 = call i128 @FUNC(i128 %164, i128 %162) %166 = call i64 @__asm_movss.1(i128 %165) %167 = trunc i64 %166 to i32 %168 = load i32, i32* %140, align 4 %169 = call i128 @FUNC(i32 %168) %170 = load i32, i32* %144, align 4 %171 = call i128 @FUNC(i32 %170) %172 = call i128 @FUNC(i128 %169) %173 = call i128 @FUNC(i128 %172, i128 %171) %174 = call i128 @FUNC(i32 -1073741824) %175 = call i128 @FUNC(i128 %174, i128 %173) %176 = call i64 @__asm_movss.1(i128 %175) %177 = trunc i64 %176 to i32 %178 = add i64 %38, 24 %179 = inttoptr i64 %178 to i32* %180 = load i32, i32* %179, align 4 %181 = call i128 @FUNC(i32 %180) %182 = call i64 @__asm_movss.1(i128 %181) %183 = trunc i64 %182 to i32 %184 = load i32, i32* %149, align 4 %185 = call i128 @FUNC(i32 %184) %186 = load i32, i32* %144, align 4 %187 = call i128 @FUNC(i32 %186) %188 = call i128 @FUNC(i128 %187, i128 %185) %189 = call i128 @FUNC(i128 %188) %190 = call i128 @FUNC(i128 %189) %191 = call i128 @FUNC(i32 -2147483648) %192 = call i128 @FUNC(i128 %190, i128 %191) %193 = call i64 @__asm_movss.1(i128 %192) %194 = trunc i64 %193 to i32 %195 = call i128 @FUNC(i32 %167) %196 = call i128 @__asm_addss.2(i128 %195, i32 %177) %197 = call i128 @__asm_addss.2(i128 %196, i32 %183) %198 = call i64 @__asm_movss.1(i128 %197) %199 = trunc i64 %198 to i32 %200 = inttoptr i64 %37 to i32* store i32 %199, i32* %200, align 4 %201 = call i128 @FUNC(i32 %167) %202 = call i128 @__asm_addss.2(i128 %201, i32 %194) %203 = add i64 %37, 48 %204 = call i128 @__asm_subss.3(i128 %202, i32 %183) %205 = call i64 @__asm_movss.1(i128 %204) %206 = trunc i64 %205 to i32 %207 = inttoptr i64 %203 to i32* store i32 %206, i32* %207, align 4 %208 = call i128 @FUNC(i32 %177) %209 = call i128 @__asm_subss.3(i128 %208, i32 %194) %210 = add i64 %37, 32 %211 = call i128 @__asm_subss.3(i128 %209, i32 %183) %212 = call i64 @__asm_movss.1(i128 %211) %213 = trunc i64 %212 to i32 %214 = inttoptr i64 %210 to i32* store i32 %213, i32* %214, align 4 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next13, 2 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem br i1 %exitcond14, label LBL_6, label LBL_5 LBL_6: %215 = add i64 %34, -128 %216 = add i64 %18, 128 %217 = add i64 %19, 1024 %218 = add i64 %33, 160 %219 = add i64 %33, 68 %220 = add i64 %18, 272 %221 = add i64 %19, 2176 %222 = add i64 %33, 196 store i64 0, i64* %indvars.iv10.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %223 = mul i64 %indvars.iv10.reload, 4 %224 = add i64 %223, %215 %225 = inttoptr i64 %224 to i32* %226 = load i32, i32* %225, align 8 %227 = call i128 @FUNC(i32 %226) %228 = call i64 @__asm_movss.1(i128 %227) %229 = trunc i64 %228 to i32 %230 = or i64 %223, 8 %231 = add i64 %230, %215 %232 = inttoptr i64 %231 to i32* %233 = load i32, i32* %232, align 8 %234 = call i128 @FUNC(i32 %233) %235 = call i64 @__asm_movss.1(i128 %234) %236 = trunc i64 %235 to i32 %237 = call i128 @FUNC(i32 %236) %238 = call i128 @__asm_addss.2(i128 %237, i32 %229) %239 = call i64 @__asm_movss.1(i128 %238) %240 = trunc i64 %239 to i32 %241 = call i128 @FUNC(i32 %236) %242 = call i128 @__asm_subss.3(i128 %241, i32 %229) %243 = call i64 @__asm_movss.1(i128 %242) %244 = trunc i64 %243 to i32 %245 = or i64 %223, 4 %246 = add i64 %245, %215 %247 = inttoptr i64 %246 to i32* %248 = load i32, i32* %247, align 4 %249 = call i128 @FUNC(i32 %248) %250 = call i64 @__asm_movss.1(i128 %249) %251 = trunc i64 %250 to i32 %252 = or i64 %223, 12 %253 = add i64 %252, %215 %254 = inttoptr i64 %253 to i32* %255 = load i32, i32* %254, align 4 %256 = call i128 @FUNC(i32 %255) %257 = call i64 @__asm_movss.1(i128 %256) %258 = trunc i64 %257 to i32 %259 = call i128 @FUNC(i32 %258) %260 = call i128 @FUNC(i128 %259) %261 = call i128 @__asm_addss.2(i128 %260, i32 %251) %262 = mul i64 %indvars.iv.reload, 4 %263 = add i64 %262, ptrtoint (i32** @gv_0 to i64) %264 = inttoptr i64 %263 to i32* %265 = load i32, i32* %264, align 4 %266 = call i128 @FUNC(i32 %265) %267 = call i128 @FUNC(i128 %266, i128 %261) %268 = call i64 @__asm_movss.1(i128 %267) %269 = trunc i64 %268 to i32 %270 = call i128 @FUNC(i32 %258) %271 = call i128 @FUNC(i128 %270) %272 = call i128 @__asm_subss.3(i128 %271, i32 %251) %273 = sub nuw nsw i64 32, %262 %274 = add i64 %273, ptrtoint (i32** @gv_1 to i64) %275 = inttoptr i64 %274 to i32* %276 = load i32, i32* %275, align 4 %277 = call i128 @FUNC(i32 %276) %278 = call i128 @FUNC(i128 %277, i128 %272) %279 = call i64 @__asm_movss.1(i128 %278) %280 = trunc i64 %279 to i32 %281 = call i128 @FUNC(i32 %240) %282 = call i128 @__asm_addss.2(i128 %281, i32 %269) %283 = call i64 @__asm_movss.1(i128 %282) %284 = trunc i64 %283 to i32 %285 = call i128 @FUNC(i32 %240) %286 = call i128 @__asm_subss.3(i128 %285, i32 %269) %287 = call i64 @__asm_movss.1(i128 %286) %288 = trunc i64 %287 to i32 %289 = add i64 %262, %33 %290 = add i64 %289, 36 %291 = inttoptr i64 %290 to i32* %292 = load i32, i32* %291, align 4 %293 = call i128 @FUNC(i32 %292) %294 = call i128 @FUNC(i128 %293) %295 = call i128 @__asm_mulss.4(i128 %294, i32 %288) %296 = mul i64 %indvars.iv.reload, 16 %297 = add i64 %296, %18 %298 = add i64 %297, 144 %299 = inttoptr i64 %298 to i32* %300 = load i32, i32* %299, align 4 %301 = call i128 @FUNC(i32 %300) %302 = mul i64 %indvars.iv.reload, 128 %303 = add i64 %302, %19 %304 = add i64 %303, 1152 %305 = call i128 @FUNC(i128 %301, i128 %295) %306 = call i64 @__asm_movss.1(i128 %305) %307 = trunc i64 %306 to i32 %308 = inttoptr i64 %304 to i32* store i32 %307, i32* %308, align 4 %309 = add i64 %273, %33 %310 = inttoptr i64 %309 to i32* %311 = load i32, i32* %310, align 4 %312 = call i128 @FUNC(i32 %311) %313 = call i128 @FUNC(i128 %312) %314 = call i128 @__asm_mulss.4(i128 %313, i32 %288) %315 = sub i64 %216, %296 %316 = inttoptr i64 %315 to i32* %317 = load i32, i32* %316, align 4 %318 = call i128 @FUNC(i32 %317) %319 = sub i64 %217, %302 %320 = call i128 @FUNC(i128 %318, i128 %314) %321 = call i64 @__asm_movss.1(i128 %320) %322 = trunc i64 %321 to i32 %323 = inttoptr i64 %319 to i32* store i32 %322, i32* %323, align 4 %324 = add i64 %289, 164 %325 = inttoptr i64 %324 to i32* %326 = load i32, i32* %325, align 4 %327 = call i128 @FUNC(i32 %326) %328 = call i128 @__asm_mulss.4(i128 %327, i32 %284) %329 = call i64 @__asm_movss.1(i128 %328) %330 = trunc i64 %329 to i32 store i32 %330, i32* %299, align 4 %331 = sub i64 %218, %262 %332 = inttoptr i64 %331 to i32* %333 = load i32, i32* %332, align 4 %334 = call i128 @FUNC(i32 %333) %335 = call i128 @__asm_mulss.4(i128 %334, i32 %284) %336 = call i64 @__asm_movss.1(i128 %335) %337 = trunc i64 %336 to i32 store i32 %337, i32* %316, align 4 %338 = call i128 @FUNC(i32 %244) %339 = call i128 @__asm_addss.2(i128 %338, i32 %280) %340 = call i64 @__asm_movss.1(i128 %339) %341 = trunc i64 %340 to i32 %342 = call i128 @FUNC(i32 %244) %343 = call i128 @__asm_subss.3(i128 %342, i32 %280) %344 = call i64 @__asm_movss.1(i128 %343) %345 = trunc i64 %344 to i32 %346 = sub i64 %219, %262 %347 = inttoptr i64 %346 to i32* %348 = load i32, i32* %347, align 4 %349 = call i128 @FUNC(i32 %348) %350 = call i128 @FUNC(i128 %349) %351 = call i128 @__asm_mulss.4(i128 %350, i32 %345) %352 = sub i64 %220, %296 %353 = inttoptr i64 %352 to i32* %354 = load i32, i32* %353, align 4 %355 = call i128 @FUNC(i32 %354) %356 = sub i64 %221, %302 %357 = call i128 @FUNC(i128 %355, i128 %351) %358 = call i64 @__asm_movss.1(i128 %357) %359 = trunc i64 %358 to i32 %360 = inttoptr i64 %356 to i32* store i32 %359, i32* %360, align 4 %361 = inttoptr i64 %289 to i32* %362 = load i32, i32* %361, align 4 %363 = call i128 @FUNC(i32 %362) %364 = call i128 @FUNC(i128 %363) %365 = call i128 @__asm_mulss.4(i128 %364, i32 %345) %366 = inttoptr i64 %297 to i32* %367 = load i32, i32* %366, align 4 %368 = call i128 @FUNC(i32 %367) %369 = call i128 @FUNC(i128 %368, i128 %365) %370 = call i64 @__asm_movss.1(i128 %369) %371 = trunc i64 %370 to i32 %372 = inttoptr i64 %303 to i32* store i32 %371, i32* %372, align 4 %373 = sub i64 %222, %262 %374 = inttoptr i64 %373 to i32* %375 = load i32, i32* %374, align 4 %376 = call i128 @FUNC(i32 %375) %377 = call i128 @__asm_mulss.4(i128 %376, i32 %341) %378 = call i64 @__asm_movss.1(i128 %377) %379 = trunc i64 %378 to i32 store i32 %379, i32* %353, align 4 %380 = add i64 %289, 128 %381 = inttoptr i64 %380 to i32* %382 = load i32, i32* %381, align 4 %383 = call i128 @FUNC(i32 %382) %384 = call i128 @__asm_mulss.4(i128 %383, i32 %341) %385 = call i64 @__asm_movss.1(i128 %384) %386 = trunc i64 %385 to i32 store i32 %386, i32* %366, align 4 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %387 = call i128 @FUNC(i32 %3) %388 = call i64 @__asm_movss.1(i128 %387) %389 = trunc i64 %388 to i32 %390 = call i128 @FUNC(i32 %2) %391 = load i32, i32* @gv_2, align 4 %392 = call i128 @FUNC(i32 %391) %393 = call i128 @FUNC(i128 %392, i128 %390) %394 = call i64 @__asm_movss.1(i128 %393) %395 = trunc i64 %394 to i32 %396 = call i128 @FUNC(i32 %389) %397 = call i128 @__asm_addss.2(i128 %396, i32 %395) %398 = call i64 @__asm_movss.1(i128 %397) %399 = trunc i64 %398 to i32 %400 = call i128 @FUNC(i32 %389) %401 = call i128 @__asm_subss.3(i128 %400, i32 %395) %402 = call i64 @__asm_movss.1(i128 %401) %403 = trunc i64 %402 to i32 %404 = add i64 %33, 52 %405 = inttoptr i64 %404 to i32* %406 = load i32, i32* %405, align 4 %407 = call i128 @FUNC(i32 %406) %408 = call i128 @FUNC(i128 %407) %409 = call i128 @__asm_mulss.4(i128 %408, i32 %403) %410 = add i64 %18, 208 %411 = inttoptr i64 %410 to i32* %412 = load i32, i32* %411, align 4 %413 = call i128 @FUNC(i32 %412) %414 = add i64 %19, 1664 %415 = call i128 @FUNC(i128 %413, i128 %409) %416 = call i64 @__asm_movss.1(i128 %415) %417 = trunc i64 %416 to i32 %418 = inttoptr i64 %414 to i32* store i32 %417, i32* %418, align 4 %419 = add i64 %33, 16 %420 = inttoptr i64 %419 to i32* %421 = load i32, i32* %420, align 4 %422 = call i128 @FUNC(i32 %421) %423 = call i128 @FUNC(i128 %422) %424 = call i128 @__asm_mulss.4(i128 %423, i32 %403) %425 = add i64 %18, 64 %426 = inttoptr i64 %425 to i32* %427 = load i32, i32* %426, align 4 %428 = call i128 @FUNC(i32 %427) %429 = add i64 %19, 512 %430 = call i128 @FUNC(i128 %428, i128 %424) %431 = call i64 @__asm_movss.1(i128 %430) %432 = trunc i64 %431 to i32 %433 = inttoptr i64 %429 to i32* store i32 %432, i32* %433, align 4 %434 = add i64 %33, 180 %435 = inttoptr i64 %434 to i32* %436 = load i32, i32* %435, align 4 %437 = call i128 @FUNC(i32 %436) %438 = call i128 @__asm_mulss.4(i128 %437, i32 %399) %439 = call i64 @__asm_movss.1(i128 %438) %440 = trunc i64 %439 to i32 store i32 %440, i32* %411, align 4 %441 = add i64 %33, 144 %442 = inttoptr i64 %441 to i32* %443 = load i32, i32* %442, align 4 %444 = call i128 @FUNC(i32 %443) %445 = call i128 @__asm_mulss.4(i128 %444, i32 %399) %446 = call i64 @__asm_movss.1(i128 %445) %447 = trunc i64 %446 to i32 store i32 %447, i32* %426, align 4 ret i64 %425 uselistorder i32 %403, { 1, 0 } uselistorder i32 %399, { 1, 0 } uselistorder i32 %395, { 1, 0 } uselistorder i32 %389, { 1, 0 } uselistorder i32 %345, { 1, 0 } uselistorder i32 %341, { 1, 0 } uselistorder i64 %302, { 2, 1, 0 } uselistorder i64 %296, { 2, 1, 0 } uselistorder i32 %288, { 1, 0 } uselistorder i32 %284, { 1, 0 } uselistorder i32 %280, { 1, 0 } uselistorder i32 %269, { 1, 0 } uselistorder i64 %262, { 5, 4, 3, 2, 1, 0 } uselistorder i32 %258, { 1, 0 } uselistorder i32 %251, { 1, 0 } uselistorder i32 %244, { 1, 0 } uselistorder i32 %240, { 1, 0 } uselistorder i32 %236, { 1, 0 } uselistorder i32 %229, { 1, 0 } uselistorder i64 %223, { 2, 1, 0, 3 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i32 %194, { 1, 0 } uselistorder i32 %183, { 2, 1, 0 } uselistorder i32 %177, { 1, 0 } uselistorder i32 %167, { 1, 0 } uselistorder i32 %117, { 1, 0 } uselistorder i32 %106, { 1, 0 } uselistorder i32 %96, { 1, 0 } uselistorder i32 %73, { 1, 0 } uselistorder i32 %66, { 2, 1, 0 } uselistorder i32 %54, { 1, 0 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %33, { 5, 6, 7, 8, 3, 4, 0, 1, 2 } uselistorder i64 %19, { 3, 4, 2, 0, 1 } uselistorder i64 %18, { 3, 4, 2, 0, 1 } uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %0, { 1, 0 } uselistorder i64 144, { 1, 0 } uselistorder i128 (i128, i32)* @__asm_mulss.4, { 8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7 } uselistorder i64 128, { 1, 0, 2 } uselistorder i128 (i128, i32)* @__asm_subss.3, { 4, 0, 1, 2, 3, 5, 6, 7, 8, 9, 10 } uselistorder i128 (i128, i128)* @__asm_mulss, { 2, 0, 1, 3, 4 } uselistorder i128 (i128, i32)* @__asm_addss.2, { 4, 0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11 } uselistorder i128 (i128)* @__asm_movaps, { 6, 7, 0, 1, 2, 3, 4, 5, 8, 9, 10 } uselistorder i64 16, { 1, 0, 2, 3 } uselistorder i64 2, { 1, 0 } uselistorder i128 (i128, i128)* @__asm_addss, { 4, 5, 0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ofpact_bitmap_from_openflow_8299
ofpact_bitmap_from_openflow
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.16.reg2mem = alloca i64 %storemerge4.in7.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %storemerge45 = inttoptr i64 %1 to i32* %2 = load i32, i32* %storemerge45, align 4 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = trunc i64 %arg1 to i32 store i32 %2, i32* %.reg2mem store i64 %1, i64* %storemerge4.in7.reg2mem store i64 0, i64* %sv_0.16.reg2mem br label LBL_2 LBL_2: %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem %storemerge4.in7.reload = load i64, i64* %storemerge4.in7.reg2mem %.reload = load i32, i32* %.reg2mem %6 = urem i32 %.reload, 32 %7 = shl i32 1, %6 %8 = call i32 @htonl(i32 %7) %9 = and i32 %8, %5 %10 = icmp eq i32 %9, 0 store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %storemerge4.in7.reload, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 64 %15 = icmp eq i32 %14, 0 %16 = zext i32 %14 to i64 %17 = shl i64 1, %16 %storemerge3 = select i1 %15, i64 1, i64 %17 %18 = or i64 %storemerge3, %sv_0.16.reload store i64 %18, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = add i64 %storemerge4.in7.reload, 8 %storemerge4 = inttoptr i64 %19 to i32* %20 = load i32, i32* %storemerge4, align 4 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %20, i32* %.reg2mem store i64 %19, i64* %storemerge4.in7.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.16.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %22, label LBL_2, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem ret i64 %sv_0.1.lcssa.reload uselistorder i64 %sv_0.16.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.in7.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 3, 1, 2, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sd_1d97_int_16680
sd_1d97_int
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %storemerge48.reg2mem = alloca i32 %storemerge59.reg2mem = alloca i32 %storemerge610.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext2, 32 %5 = add i64 %arg2, 1 %6 = and i64 %5, 4294967295 %7 = icmp sgt i64 %4, %6 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 32768 %15 = ashr i32 %14, 16 store i32 %15, i32* %12, align 4 store i64 %11, i64* %rax.0.reg2mem br label LBL_16 LBL_3: %16 = trunc i64 %1 to i32 %17 = add i32 %16, 32768 %18 = ashr i32 %17, 16 %19 = bitcast i64* %arg1 to i32* store i32 %18, i32* %19, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %20 = and i64 %4, 4294967295 %21 = and i64 %3, 4294967295 %22 = call i64 @FUNC(i64 %2, i64 %21, i64 %20) %23 = trunc i64 %3 to i32 %24 = add i32 %23, 1 %sext3 = add i64 %sext2, 4294967296 %25 = udiv i64 %sext3, 4294967296 %26 = icmp slt i32 %24, 0 %27 = zext i1 %26 to i32 %28 = add i32 %24, %27 %29 = ashr i32 %28, 1 %30 = add nsw i32 %29, -2 %31 = trunc i64 %25 to i32 %32 = icmp slt i64 %sext3, 0 %33 = zext i1 %32 to i32 %34 = add i32 %33, %31 %35 = ashr i32 %34, 1 %36 = zext i32 %35 to i64 %37 = sext i32 %30 to i64 %38 = icmp sgt i64 %37, %36 br i1 %38, label LBL_7, label LBL_5 LBL_5: %39 = add i64 %2, 8 store i32 %30, i32* %storemerge610.reg2mem br label LBL_6 LBL_6: %storemerge610.reload = load i32, i32* %storemerge610.reg2mem %40 = mul i32 %storemerge610.reload, 2 %41 = or i32 %40, 1 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 4 %44 = add i64 %43, %2 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = sext i32 %40 to i64 %48 = mul i64 %47, 4 %49 = add i64 %48, %2 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %39, %48 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i32 %51, 32768 %56 = add i32 %55, %54 %57 = ashr i32 %56, 16 %58 = sub i32 %46, %57 store i32 %58, i32* %45, align 4 %59 = add i32 %storemerge610.reload, 1 %60 = sext i32 %59 to i64 %61 = icmp sgt i64 %60, %36 store i32 %59, i32* %storemerge610.reg2mem br i1 %61, label LBL_7, label LBL_6 LBL_7: %62 = add nsw i32 %29, -1 %63 = sext i32 %62 to i64 %64 = icmp sgt i64 %63, %36 br i1 %64, label LBL_10, label LBL_8 LBL_8: %65 = add i64 %2, -4 store i32 %62, i32* %storemerge59.reg2mem br label LBL_9 LBL_9: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %66 = mul i32 %storemerge59.reload, 2 %67 = sext i32 %66 to i64 %68 = mul i64 %67, 4 %69 = add i64 %68, %2 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i64 %65, %68 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = or i32 %66, 1 %76 = sext i32 %75 to i64 %77 = mul i64 %76, 4 %78 = add i64 %77, %2 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = add i32 %74, 32768 %82 = add i32 %81, %80 %83 = ashr i32 %82, 16 %84 = sub i32 %71, %83 store i32 %84, i32* %70, align 4 %85 = add i32 %storemerge59.reload, 1 %86 = sext i32 %85 to i64 %87 = icmp sgt i64 %86, %36 store i32 %85, i32* %storemerge59.reg2mem br i1 %87, label LBL_10, label LBL_9 LBL_10: %88 = icmp slt i64 %63, %36 br i1 %88, label LBL_11, label LBL_13 LBL_11: %89 = add i64 %2, 8 store i32 %62, i32* %storemerge48.reg2mem br label LBL_12 LBL_12: %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %90 = mul i32 %storemerge48.reload, 2 %91 = or i32 %90, 1 %92 = sext i32 %91 to i64 %93 = mul i64 %92, 4 %94 = add i64 %93, %2 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = sext i32 %90 to i64 %98 = mul i64 %97, 4 %99 = add i64 %98, %2 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = add i64 %89, %98 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = add i32 %101, 32768 %106 = add i32 %105, %104 %107 = ashr i32 %106, 16 %108 = add i32 %107, %96 store i32 %108, i32* %95, align 4 %109 = add i32 %storemerge48.reload, 1 %110 = sext i32 %109 to i64 %111 = icmp slt i64 %110, %36 store i32 %109, i32* %storemerge48.reg2mem br i1 %111, label LBL_12, label LBL_13 LBL_13: %112 = sext i32 %29 to i64 %113 = icmp slt i64 %112, %36 store i64 %36, i64* %rax.0.reg2mem br i1 %113, label LBL_14, label LBL_16 LBL_14: %114 = add i64 %2, -4 store i32 %29, i32* %storemerge7.reg2mem br label LBL_15 LBL_15: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %115 = mul i32 %storemerge7.reload, 2 %116 = sext i32 %115 to i64 %117 = mul i64 %116, 4 %118 = add i64 %117, %2 %119 = inttoptr i64 %118 to i32* %120 = load i32, i32* %119, align 4 %121 = add i64 %114, %117 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %122, align 4 %124 = or i32 %115, 1 %125 = sext i32 %124 to i64 %126 = mul i64 %125, 4 %127 = add i64 %126, %2 %128 = inttoptr i64 %127 to i32* %129 = load i32, i32* %128, align 4 %130 = add i32 %123, 32768 %131 = add i32 %130, %129 %132 = ashr i32 %131, 16 %133 = add i32 %132, %120 store i32 %133, i32* %119, align 4 %134 = add i32 %storemerge7.reload, 1 %135 = sext i32 %134 to i64 %136 = icmp slt i64 %135, %36 store i32 %134, i32* %storemerge7.reg2mem store i64 %36, i64* %rax.0.reg2mem br i1 %136, label LBL_15, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %115, { 1, 0 } uselistorder i32 %90, { 1, 0 } uselistorder i32 %66, { 1, 0 } uselistorder i32 %40, { 1, 0 } uselistorder i64 %36, { 0, 2, 1, 5, 3, 6, 4, 7, 9, 8 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %sext2, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 1, 2, 10, 3, 4, 9, 5, 6, 11, 7, 8, 12, 14, 0, 13 } uselistorder i32* %storemerge610.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i32 32768, { 1, 0, 2, 3, 5, 4 } uselistorder i64 4294967296, { 0, 3, 1, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
opsize_bytes_2411
opsize_bytes
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 1, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_5 [ i32 1, label LBL_6 i32 2, label LBL_1 i32 3, label LBL_2 i32 4, label LBL_3 i32 5, label LBL_4 ] LBL_1: store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_2: store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_3: store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_4: store i64 8, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %2 = call i64 @FUNC() unreachable LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 4, 0 } }
0
BinRealVul
do_info_snapshots_14535
do_info_snapshots
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rdx.14.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %6 = call i64 @FUNC() %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %9, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 ptrtoint (i64* @gv_2 to i64), i64* %storemerge15.reg2mem br label LBL_3 LBL_3: %rdx.14.reload = load i64, i64* %rdx.14.reg2mem %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %11 = add i64 %storemerge15.reload, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i64 %6, %13 %18 = icmp eq i1 %17, false %or.cond = or i1 %18, %16 store i64 %rdx.14.reload, i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %13) %20 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %19, i64 %4, i64 %2, i64 %1) store i64 %19, i64* %rdx.0.reg2mem br label LBL_5 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %21 = inttoptr i64 %storemerge15.reload to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 %22, i64* %storemerge15.reg2mem store i64 %rdx.0.reload, i64* %rdx.14.reg2mem br i1 %24, label LBL_3, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) %26 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = and i64 %26, 4294967295 %31 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %30, i64 %4, i64 %2, i64 %1) store i64 %31, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %32 = call i64 @FUNC(i64 %6) %33 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %32, i64 %4, i64 %2, i64 %1) %34 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i64 0) %35 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %34, i64 %4, i64 %2, i64 %1) %36 = icmp sgt i32 %27, 0 %37 = load i64, i64* %sv_1, align 8 store i64 %37, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem store i64 %37, i64* %.lcssa.reg2mem br i1 %36, label LBL_9, label LBL_10 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i64 %.reload) %39 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %38, i64 %4, i64 %2, i64 %1) %40 = add nuw nsw i32 %storemerge3.reload, 1 %41 = load i64, i64* %sv_1, align 8 %exitcond = icmp eq i32 %40, %27 store i64 %41, i64* %.reg2mem store i32 %40, i32* %storemerge3.reg2mem store i64 %41, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %42 = call i64 @FUNC(i64 %.lcssa.reload) store i64 %42, 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 %13, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i64 %5, { 1, 3, 2, 0, 4, 5, 6, 7 } uselistorder i64 %4, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.14.reg2mem, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64, i64)* @bdrv_snapshot_dump, { 1, 0 } uselistorder i64 (i64)* @bdrv_get_device_name, { 1, 0 } uselistorder i32 0, { 0, 1, 3, 2 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 7, 6, 5, 3, 2, 4, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
out_string_13313
out_string
define i64 @FUNC(i32* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i8* %.pre-phi.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i32* %arg1, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %5) %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = add i64 %5, 1024 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = bitcast i64* %rdi to i32* %18 = load i32, i32* %17, align 8 %19 = zext i32 %18 to i64 %20 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64 %19, i8* %arg2) br label LBL_5 LBL_5: %22 = load i64, i64* @gv_5, align 8 %23 = call i64 @FUNC(i64 %2, i64 %22) store i64 %23, i64* %storemerge.reg2mem br label LBL_11 LBL_6: %24 = load i32, i32* @gv_6, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = and i64 %1, 4294967295 %27 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i64 %26, i8* %arg2) br label LBL_8 LBL_8: %29 = call i32 @strlen(i8* %arg2) %30 = sext i32 %29 to i64 %31 = add nsw i64 %30, 2 %32 = icmp ult i64 %31, 1024 %33 = icmp eq i32 %29, 1022 %34 = or i1 %33, %32 store i64 %31, i64* %.pre-phi5.reg2mem store i64 %30, i64* %.pre-phi.reg2mem store i8* %arg2, i8** %sv_1.0.reg2mem store i32 %29, i32* %sv_0.0.reg2mem br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = call i32 @strlen(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0)) %.pre = sext i32 %35 to i64 %.pre4 = add nsw i64 %.pre, 2 store i64 %.pre4, i64* %.pre-phi5.reg2mem store i64 %.pre, i64* %.pre-phi.reg2mem store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i8** %sv_1.0.reg2mem store i32 %35, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi5.reload = load i64, i64* %.pre-phi5.reg2mem %36 = inttoptr i64 %5 to i64* %37 = bitcast i8* %sv_1.0.reload to i64* %38 = call i64* @memcpy(i64* %36, i64* %37, i32 %sv_0.0.reload) %39 = add i64 %.pre-phi.reload, %5 %40 = inttoptr i64 %39 to i64* %41 = call i64* @memcpy(i64* %40, i64* bitcast ([3 x i8]* @gv_9 to i64*), i32 2) %42 = call i64 @FUNC(i64 %5, i64 %5, i64 %.pre-phi5.reload) %43 = load i64, i64* @gv_5, align 8 %44 = call i64 @FUNC(i64 %2, i64 %43) store i64 %44, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 3, 0, 4, 1, 5 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %.pre-phi5.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64, i64)* @conn_set_state, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i32 2, { 2, 0, 1, 3 } uselistorder i8* %arg2, { 0, 3, 2, 1 } }
1
BinRealVul
b43_bcma_remove_18543
b43_bcma_remove
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 = add i64 %1, 12 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %3, 0 %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %1, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %1) %19 = inttoptr i64 %3 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) br label LBL_3 LBL_3: %22 = add i64 %1, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = call i64 @FUNC(i64 %3) %28 = inttoptr i64 %3 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) ret i64 %30 uselistorder i64 %3, { 3, 2, 0, 1, 4, 5 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } }
1
BinRealVul
ppc_hw_interrupt_150
ppc_hw_interrupt
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 = trunc i64 %1 to i32 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i32 %4, -2 %8 = bitcast i64* %arg1 to i32* store i32 %7, i32* %8, align 4 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %3, i64 %12, i64 0) store i64 %13, i64* %rax.0.reg2mem br label LBL_27 LBL_2: %14 = and i32 %4, 2 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = and i32 %4, -3 %17 = bitcast i64* %arg1 to i32* store i32 %16, i32* %17, align 4 %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %3, i64 %21, i64 1) store i64 %22, i64* %rax.0.reg2mem br label LBL_27 LBL_4: %23 = load i32, i32* inttoptr (i64 4210728 to i32*), align 8 %24 = icmp eq i32 %23, 0 %25 = and i32 %4, 8 %26 = icmp eq i32 %25, 0 %or.cond = or i1 %26, %24 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %2, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %3, i64 %30, i64 3) store i64 %31, i64* %rax.0.reg2mem br label LBL_27 LBL_6: %32 = load i32, i32* @gv_0, align 4 %33 = icmp eq i32 %32, 0 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_27, label LBL_7 LBL_7: %34 = and i32 %4, 16 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = and i32 %4, -17 %37 = bitcast i64* %arg1 to i32* store i32 %36, i32* %37, align 4 %38 = add i64 %2, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %3, i64 %41, i64 4) store i64 %42, i64* %rax.0.reg2mem br label LBL_27 LBL_9: %43 = and i32 %4, 32 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_11, label LBL_10 LBL_10: %45 = and i32 %4, -33 %46 = bitcast i64* %arg1 to i32* store i32 %45, i32* %46, align 4 %47 = add i64 %2, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %3, i64 %50, i64 5) store i64 %51, i64* %rax.0.reg2mem br label LBL_27 LBL_11: %52 = and i32 %4, 64 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_13, label LBL_12 LBL_12: %54 = and i32 %4, -65 %55 = bitcast i64* %arg1 to i32* store i32 %54, i32* %55, align 4 %56 = add i64 %2, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %3, i64 %59, i64 6) store i64 %60, i64* %rax.0.reg2mem br label LBL_27 LBL_13: %61 = trunc i64 %1 to i8 %62 = icmp sgt i8 %61, -1 br i1 %62, label LBL_15, label LBL_14 LBL_14: %63 = and i32 %4, -129 %64 = bitcast i64* %arg1 to i32* store i32 %63, i32* %64, align 4 %65 = add i64 %2, 4 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = call i64 @FUNC(i64 %3, i64 %68, i64 7) store i64 %69, i64* %rax.0.reg2mem br label LBL_27 LBL_15: %70 = and i32 %4, 256 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_19, label LBL_16 LBL_16: %72 = call i64 @FUNC(i64 %2) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_18, label LBL_17 LBL_17: %75 = and i32 %4, -257 %76 = bitcast i64* %arg1 to i32* store i32 %75, i32* %76, align 4 br label LBL_18 LBL_18: %77 = add i64 %2, 4 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i64 %3, i64 %80, i64 8) store i64 %81, i64* %rax.0.reg2mem br label LBL_27 LBL_19: %82 = and i32 %4, 512 %83 = icmp eq i32 %82, 0 br i1 %83, label LBL_21, label LBL_20 LBL_20: %84 = add i64 %2, 4 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %3, i64 %87, i64 9) store i64 %88, i64* %rax.0.reg2mem br label LBL_27 LBL_21: %89 = and i32 %4, 1024 %90 = icmp eq i32 %89, 0 br i1 %90, label LBL_23, label LBL_22 LBL_22: %91 = and i32 %4, -1025 %92 = bitcast i64* %arg1 to i32* store i32 %91, i32* %92, align 4 %93 = add i64 %2, 4 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = zext i32 %95 to i64 %97 = call i64 @FUNC(i64 %3, i64 %96, i64 10) store i64 %97, i64* %rax.0.reg2mem br label LBL_27 LBL_23: %98 = and i32 %4, 2048 %99 = icmp eq i32 %98, 0 br i1 %99, label LBL_25, label LBL_24 LBL_24: %100 = and i32 %4, -2049 %101 = bitcast i64* %arg1 to i32* store i32 %100, i32* %101, align 4 %102 = add i64 %2, 4 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = zext i32 %104 to i64 %106 = call i64 @FUNC(i64 %3, i64 %105, i64 11) store i64 %106, i64* %rax.0.reg2mem br label LBL_27 LBL_25: %107 = and i32 %4, 4096 %108 = icmp eq i32 %107, 0 store i64 0, i64* %rax.0.reg2mem br i1 %108, label LBL_27, label LBL_26 LBL_26: %109 = and i32 %4, -4097 %110 = bitcast i64* %arg1 to i32* store i32 %109, i32* %110, align 4 %111 = add i64 %2, 4 %112 = inttoptr i64 %111 to i32* %113 = load i32, i32* %112, align 4 %114 = zext i32 %113 to i64 %115 = call i64 @FUNC(i64 %3, i64 %114, i64 12) store i64 %115, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %4, { 2, 3, 4, 5, 6, 7, 8, 1, 9, 10, 11, 12, 13, 14, 15, 16, 20, 19, 18, 17, 0 } uselistorder i64 %3, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 12, 11, 10, 9, 7, 8, 6, 5, 4, 3, 2, 1, 0, 13 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 12, 13, 11, 10, 9, 8, 7, 6, 5, 4, 14, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @powerpc_excp, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 12, 13 } uselistorder i32 2, { 1, 0 } }
1
BinRealVul
virtualHostDirective_5232
virtualHostDirective
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %5, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %12) %14 = add i64 %5, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = add i64 %13, 16 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = load i64, i64* %15, align 8 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %5, 16 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = load i64, i64* %10, align 8 %25 = call i64 @FUNC(i64 %24) store i64 %25, i64* %10, align 8 %26 = call i64 @FUNC(i64 %25) %27 = load i64, i64* %10, align 8 %28 = load i64, i64* %15, align 8 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = load i64, i64* %15, align 8 %31 = load i64, i64* %10, align 8 %32 = call i64 @FUNC(i64 %31, i64 %30) %33 = icmp eq i8* %arg3, null br i1 %33, label LBL_3, label LBL_2 LBL_2: %34 = ptrtoint i8* %arg3 to i64 %35 = call i64 @FUNC(i64 %34) %36 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 0) %37 = load i64, i64* %10, align 8 %38 = call i64 @FUNC(i64 %37, i64 %36) %39 = load i64, i64* %10, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %41, i64 %36, i64 %3, i64 %2, i64 %1) %43 = load i64, i64* %15, align 8 %44 = call i64 @FUNC(i64 %43, i64 %42) %45 = call i64 @FUNC(i64 %34) %46 = add i64 %5, 32 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %36, { 1, 0 } uselistorder i64* %15, { 0, 2, 1, 3, 4 } uselistorder i64* %10, { 1, 0, 2, 3, 5, 4, 6 } uselistorder i64 %5, { 0, 1, 3, 2, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @sclone, { 1, 0 } uselistorder i8* %arg3, { 1, 0 } }
0
BinRealVul
qemu_devtree_add_subnode_16282
qemu_devtree_add_subnode
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = inttoptr i64 %0 to i8* %2 = call i8* @strrchr(i8* %1, i32 47) %3 = icmp eq i8* %2, null %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: store i8 0, i8* %2, align 1 %5 = call i64 @FUNC(i64 %arg1, i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %5, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = ptrtoint i8* %2 to i64 %11 = add i64 %10, 1 %12 = and i64 %5, 4294967295 %13 = call i64 @FUNC(i64 %arg1, i64 %12, i64 %11) %14 = call i64 @FUNC(i64 %0) %15 = and i64 %13, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
set_tco_timeout_16579
set_tco_timeout
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i16 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5, i16 %1) ret i64 %6 }
1
reposvul_c_test
xf_post_final_disconnect_85
xf_post_final_disconnect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gen_mtmsr_18636
gen_mtmsr
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, i64 1) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2, i64 1) store i64 %8, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = and i32 %11, 65536 %13 = icmp eq i32 %12, 0 %14 = call i64 @FUNC() br i1 %13, label LBL_4, label LBL_3 LBL_3: %15 = trunc i64 %14 to i32 %16 = load i32, i32* %10, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) %sext = mul i64 %18, 4294967296 %19 = ashr exact i64 %sext, 30 %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64) %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = and i64 %14, 4294967295 %25 = call i64 @FUNC(i64 %24, i64 %23, i64 3) %26 = load i32, i32* @gv_1, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 %27, i64 4294967292) %29 = load i32, i32* @gv_1, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30, i64 %30, i32 %15) %32 = call i64 @FUNC(i64 %24) store i64 %32, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %33 = add i64 %2, 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %2, i64 %36) %38 = load i32, i32* %10, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39) %sext1 = mul i64 %40, 4294967296 %41 = ashr exact i64 %sext1, 30 %42 = add i64 %41, ptrtoint (i32** @gv_0 to i64) %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = load i32, i32* @gv_1, align 4 %46 = and i64 %14, 4294967295 %47 = call i64 @FUNC(i64 %46, i32 %45, i32 %44, i64 0, i64 32) %48 = load i32, i32* %10, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49) %sext2 = mul i64 %50, 4294967296 %51 = ashr exact i64 %sext2, 30 %52 = add i64 %51, ptrtoint (i32** @gv_0 to i64) %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %46, i64 %55) %57 = load i32, i32* inttoptr (i64 4210884 to i32*), align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58, i64 %46) %60 = call i64 @FUNC(i64 %46) %61 = call i64 @FUNC(i64 %2) store i64 %61, 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 %30, { 1, 0 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i32* %10, { 1, 2, 0, 3 } uselistorder i64 %2, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @tcg_temp_free, { 1, 0 } uselistorder i32* @gv_1, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_tl, { 1, 0 } uselistorder i64 (i64)* @rS, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64, i64)* @gen_inval_exception, { 1, 0 } }
1
BinRealVul
umount_tree_11694
umount_tree
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %storemerge35.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %storemerge35.reload = load i64, i64* %storemerge35.reg2mem %2 = inttoptr i64 %storemerge35.reload to i32* %3 = load i32, i32* %2, align 4 %4 = or i32 %3, 1 store i32 %4, i32* %2, align 4 %5 = add i64 %storemerge35.reload, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %storemerge35.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_2: %10 = ptrtoint i64* %sv_0 to i64 store i64 %10, i64* %storemerge4.reg2mem br label LBL_3 LBL_3: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %11 = add i64 %storemerge4.reload, 32 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge4.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_4: %16 = add i64 %10, 16 %17 = inttoptr i64 %16 to i64* %18 = and i64 %arg2, 2 %19 = icmp eq i64 %18, 0 %20 = bitcast i64* %sv_0 to i32* br label LBL_5 LBL_5: store i64 0, i64* %17, align 8 br i1 %19, label LBL_7, label LBL_6 LBL_6: %21 = load i32, i32* %20, align 8 %22 = or i32 %21, 2 store i32 %22, i32* %20, align 8 br label LBL_7 LBL_7: br label LBL_5 uselistorder i32* %20, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i32 1, { 4, 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
symlink_idempotent_8546
symlink_idempotent
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rbx.0.shrunk.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) 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 ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = inttoptr i64 %arg1 to i8* %5 = inttoptr i64 %arg2 to i8* %6 = call i32 @symlink(i8* %4, i8* %5) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_9, label LBL_5 LBL_5: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 17 br i1 %11, label LBL_7, label LBL_6 LBL_6: %12 = call i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = sub i32 0, %13 store i32 %14, i32* %rbx.0.shrunk.reg2mem br label LBL_10 LBL_7: %15 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_0) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false store i32 %16, i32* %rbx.0.shrunk.reg2mem br i1 %18, label LBL_8, label LBL_10 LBL_8: %19 = load i64, i64* %sv_0, align 8 %20 = call i64 @FUNC(i64 %19, i64 %arg1) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i32 -22, i32* %rbx.0.shrunk.reg2mem br i1 %23, label LBL_9, label LBL_10 LBL_9: store i32 0, i32* %rbx.0.shrunk.reg2mem br label LBL_10 LBL_10: %rbx.0.shrunk.reload = load i32, i32* %rbx.0.shrunk.reg2mem %rbx.0 = zext i32 %rbx.0.shrunk.reload to i64 %24 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %rbx.0 uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i32* %rbx.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1, 3 } }
0
BinRealVul
nbd_handle_list_1331
nbd_handle_list
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = and i64 %1, 4294967295 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge3.reg2mem br label LBL_4 LBL_2: %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = and i64 %5, 4294967295 %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %6) %9 = trunc i64 %5 to i32 %10 = trunc i64 %8 to i32 %11 = icmp eq i32 %9, %10 store i64 4294967291, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_7 LBL_3: %12 = call i64 @FUNC(i64 %7, i64 4294967295, i64 1) store i64 %12, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %13 = call i64 @FUNC(i64 %4, i64 %storemerge3.reload) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_7 LBL_5: %16 = inttoptr i64 %storemerge3.reload to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %storemerge3.reg2mem br i1 %19, label LBL_4, label LBL_6 LBL_6: %20 = call i64 @FUNC(i64 %4, i64 0, i64 1) store i64 %20, 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 %7, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 (i64, i64, i64)* @nbd_send_rep, { 1, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
tcp_write_packet_14666
tcp_write_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i32 %sv_1.0.in5.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_2) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 4 br i1 %9, label LBL_1, label LBL_4 LBL_1: %10 = load i64, i64* %sv_2, align 8 %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* %13 = bitcast i64* %rsi to i32* store i64 %10, i64* %sv_1.0.in5.reg2mem store i32 %8, i32* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %sv_1.0.in5.reload = load i64, i64* %sv_1.0.in5.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in5.reload to i32* %14 = load i32, i32* %sv_1.0, align 4 %15 = add i32 %sv_0.04.reload, -4 %16 = icmp ult i32 %15, %14 %17 = icmp ult i32 %14, 2 %or.cond = or i1 %16, %17 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %sv_1.0.in5.reload, 4 %19 = inttoptr i64 %sv_1.0.in5.reload to i8* %20 = add i64 %sv_1.0.in5.reload, 5 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, -56 %24 = icmp eq i1 %23, false %storemerge.in = select i1 %24, i32* %12, i32* %13 %storemerge = load i32, i32* %storemerge.in, align 4 store i8 36, i8* %19, align 1 %25 = add i64 %sv_1.0.in5.reload, 1 %26 = trunc i32 %storemerge to i8 %27 = inttoptr i64 %25 to i8* store i8 %26, i8* %27, align 1 %28 = add i64 %sv_1.0.in5.reload, 2 %29 = trunc i32 %14 to i16 %30 = inttoptr i64 %28 to i16* store i16 %29, i16* %30, align 2 %31 = add i32 %14, 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %6, i64 %sv_1.0.in5.reload, i64 %32) %34 = zext i32 %14 to i64 %35 = add i64 %18, %34 %36 = sub i32 %15, %14 %37 = icmp sgt i32 %36, 4 store i64 %35, i64* %sv_1.0.in5.reg2mem store i32 %36, i32* %sv_0.04.reg2mem br i1 %37, label LBL_2, label LBL_4 LBL_4: %38 = load i64, i64* %sv_2, align 8 %39 = call i64 @FUNC(i64 %38) %40 = call i64 @FUNC(i64 %4, i64 4096) ret i64 0 uselistorder i32 %15, { 1, 0 } uselistorder i32 %14, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %sv_1.0.in5.reload, { 5, 0, 1, 2, 4, 3, 6 } uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i64* %sv_1.0.in5.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
print_mi_data_18718
print_mi_data
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %sv_0.14.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64 %2, i64 %arg3, i64 %arg2) %10 = icmp sgt i32 %5, 0 %11 = inttoptr i64 %arg2 to %_IO_FILE* br i1 %10, label LBL_1, label LBL_6 LBL_1: %12 = trunc i64 %1 to i8 %13 = icmp sgt i32 %8, 0 store i32 0, i32* %storemerge5.reg2mem store i32 0, i32* %sv_0.14.reg2mem br label LBL_2 LBL_2: %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8 %12) store i32 %sv_0.14.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %13, label LBL_3, label LBL_5 LBL_3: %15 = add i32 %sv_0.14.reload, %8 store i32 %sv_0.14.reload, i32* %sv_0.02.reg2mem br label LBL_4 LBL_4: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %16 = sext i32 %sv_0.02.reload to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, %2 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %20, %arg4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %24) %26 = add i32 %sv_0.02.reload, 1 %exitcond = icmp eq i32 %26, %15 store i32 %26, i32* %sv_0.02.reg2mem store i32 %15, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %27 = call i32 @fputc(i32 10, %_IO_FILE* %11) %28 = add i32 %sv_0.0.lcssa.reload, 8 %29 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond7 = icmp eq i32 %29, %5 store i32 %29, i32* %storemerge5.reg2mem store i32 %28, i32* %sv_0.14.reg2mem br i1 %exitcond7, label LBL_6, label LBL_2 LBL_6: %30 = call i32 @fputc(i32 10, %_IO_FILE* %11) %31 = sext i32 %30 to i64 ret i64 %31 uselistorder i32 %sv_0.14.reload, { 1, 2, 0 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32 10, { 1, 0 } }
1
BinRealVul
exec_start_incoming_migration_17151
exec_start_incoming_migration
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_1) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %4, i64 %7, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0)) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %1) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 0, i64 4199055, i64 0, i64 %1) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
inc_slabs_node_10500
inc_slabs_node
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = call i64 @FUNC(i64 %2) %5 = add i64 %2, 8 %6 = ashr exact i64 %sext, 32 %7 = call i64 @FUNC(i64 %6, i64 %5) store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2 } }
0
BinRealVul
ff_lag_rac_init_16044
ff_lag_rac_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %.reg2mem = alloca i32 %indvars.iv.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 %0) %4 = trunc i64 %3 to i32 %5 = sdiv i32 %4, 128 %6 = sext i32 %5 to i64 %7 = add i64 %6, %0 %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 store i64 %7, i64* %arg1, align 8 %sext = mul i64 %arg3, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = add i64 %10, %0 %12 = add i64 %1, 16 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = add i64 %1, 24 %15 = inttoptr i64 %14 to i32* store i32 128, i32* %15, align 4 %16 = load i64, i64* %9, align 8 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = udiv i8 %18, 2 %20 = zext i8 %19 to i32 %21 = add i64 %1, 28 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %1, 36 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, -8 %27 = sub i32 7, %25 %28 = and i32 %27, %25 %29 = icmp slt i32 %28, 0 %30 = icmp slt i32 %26, 0 %31 = icmp eq i1 %30, %29 %32 = select i1 %31, i32 %26, i32 0 %33 = add i64 %1, 32 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %1, 40 %36 = add i64 %1, 296 store i64 0, i64* %indvars.iv.reg2mem store i32 %32, i32* %.reg2mem store i32 0, i32* %sv_0.11.reg2mem br label LBL_1 LBL_1: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %.reload = load i32, i32* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %37 = urem i32 %.reload, 32 %38 = trunc i64 %indvars.iv.reload to i32 %39 = shl i32 %38, %37 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %40 = add i32 %sv_0.0.reload, 1 %41 = sext i32 %40 to i64 %42 = add i64 %35, %41 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = zext i8 %44 to i32 %46 = icmp ult i32 %39, %45 %47 = icmp eq i1 %46, false store i32 %40, i32* %sv_0.0.reg2mem br i1 %47, label LBL_2, label LBL_3 LBL_3: %48 = trunc i32 %sv_0.0.reload to i8 %49 = add i64 %36, %indvars.iv.reload %50 = inttoptr i64 %49 to i8* store i8 %48, i8* %50, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %51 = load i32, i32* %34, align 4 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %51, i32* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %52 = add i32 %51, 23 store i32 %52, i32* %34, align 4 ret i64 %1 uselistorder i32 %51, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i32* %34, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder i32 128, { 1, 0 } }
1
BinRealVul
cgi_set_sid_5647
cgi_set_sid
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = load i32, i32* %0 %sv_3 = alloca i32, align 4 %2 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i8* %2, null %4 = icmp eq i1 %3, false %spec.select = select i1 %4, i8* %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0) %5 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %6 = icmp eq i8* %5, null %7 = icmp eq i1 %6, false %storemerge14 = select i1 %7, i8* %5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0) %8 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %9 = icmp eq i8* %8, null %10 = icmp eq i1 %9, false %spec.select16 = select i1 %10, i8* %8, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0) %11 = bitcast i32* %sv_3 to %timeval* %12 = call i32 @gettimeofday(%timeval* nonnull %11, %timezone* null) %13 = load i32, i32* %sv_3, align 4 %14 = add i32 %13, %1 call void @srand(i32 %14) %15 = call i32 @rand() %16 = urem i32 %15, 256 %17 = call i32 @rand() %18 = urem i32 %17, 256 %19 = call i32 @rand() %20 = call i32 @rand() %21 = call i32 @rand() %22 = call i32 @rand() %23 = call i32 @rand() %24 = call i32 @rand() %25 = urem i32 %19, 256 %26 = urem i32 %20, 256 %27 = urem i32 %21, 256 %28 = urem i32 %22, 256 %29 = urem i32 %23, 256 %30 = urem i32 %24, 256 %31 = bitcast i64* %sv_2 to i8* %32 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %31, i32 512, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* %spec.select, i8* %storemerge14, i8* %spec.select16, i32 %30, i32 %29, i32 %28, i32 %27, i32 %26, i32 %25, i32 %18, i32 %16) %33 = call i32 @strlen(i8* nonnull %31) %34 = sext i32 %33 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_2, i64 %34, i64* nonnull %sv_1, i64 16) %36 = call i64 @FUNC(i64* nonnull %sv_1, i64 16, i64* nonnull %sv_0, i64 33) %37 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %36, i64* nonnull @gv_6, i64 0, i64 0, i64 0) %38 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 10, i64* nonnull @gv_7) ret i64 %38 uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i8* (i8*)* @getenv, { 2, 1, 0 } uselistorder i32 1, { 6, 9, 8, 7, 0, 1, 5, 4, 3, 2 } }
0
BinRealVul
serial_can_receive_917
serial_can_receive
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 = urem i64 %1, 2 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp sgt i32 %7, 15 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = add i64 %2, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp ult i32 %11, %7 store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = sub i32 %11, %7 %14 = zext i32 %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 %20 = zext i1 %19 to i64 store i64 %20, 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 %11, { 1, 0 } uselistorder i32 %7, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder label LBL_5, { 2, 3, 1, 0 } }
0
BinRealVul
vcc_recvmsg_11307
vcc_recvmsg
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg2 to i64 %sv_1 = alloca i32, align 4 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i32 -22, i32* %sv_1, align 4 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 1 store i64 4294967189, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_14 LBL_1: %9 = and i64 %arg5, 4294967292 %10 = icmp eq i64 %9, 0 store i64 4294967201, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_14 LBL_2: %11 = call i64 @FUNC(i64 %3) %12 = call i64 @FUNC(i64 0, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_14, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 1, i64 %11) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_14, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 2, i64 %11) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_14 LBL_5: %sext = mul i64 %arg5, 4294967296 %24 = ashr exact i64 %sext, 32 %25 = urem i64 %24, 2 %26 = trunc i64 %24 to i32 %27 = call i64 @FUNC(i64 %6, i32 %26, i64 %25, i32* nonnull %sv_1) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = load i32, i32* %sv_1, align 4 %31 = zext i32 %30 to i64 store i64 %31, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %32 = inttoptr i64 %27 to i32* %33 = load i32, i32* %32, align 4 %34 = sext i32 %33 to i64 %35 = icmp ugt i64 %34, %arg4 %36 = icmp eq i1 %35, false store i64 %34, i64* %sv_0.0.reg2mem br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = trunc i64 %2 to i32 %sext5 = mul i64 %arg4, 4294967296 %38 = ashr exact i64 %sext5, 32 %39 = or i32 %37, 4 %40 = bitcast i64* %arg3 to i32* store i32 %39, i32* %40, align 4 store i64 %38, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %41 = ptrtoint i64* %arg3 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = trunc i64 %sv_0.0.reload to i32 %46 = call i64 @FUNC(i64 %27, i64 0, i64 %44, i32 %45) %47 = trunc i64 %46 to i32 store i32 %47, i32* %sv_1, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_11, label LBL_10 LBL_10: %49 = and i64 %46, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %50 = call i64 @FUNC(i64 %41, i64 %6, i64 %27) %51 = and i64 %arg5, 2 %52 = icmp eq i64 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_13, label LBL_12 LBL_12: %54 = add i64 %27, 4 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = call i64 @FUNC(i64 %6) %58 = zext i32 %56 to i64 %59 = and i64 %57, 4294967295 %60 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %59, i64 %58) %61 = load i32, i32* %55, align 4 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %11, i64 %62) br label LBL_13 LBL_13: %64 = call i64 @FUNC(i64 %6, i64 %27) %65 = and i64 %sv_0.0.reload, 4294967295 store i64 %65, 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 %sv_0.0.reload, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %6, { 1, 0, 2, 3 } uselistorder i32* %sv_1, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 3, 2, 1, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 (i64, i64)* @test_bit, { 2, 1, 0 } uselistorder i64 %arg5, { 1, 0, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_14, { 5, 6, 7, 2, 1, 0, 3, 4 } }
1
BinRealVul
ljpeg_decode_rgb_scan_126
ljpeg_decode_rgb_scan
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge619.reg2mem = alloca i32 %.reg2mem37 = alloca i64 %storemerge518.reg2mem = alloca i32 %.reg2mem35 = alloca i64 %storemerge417.reg2mem = alloca i32 %.reg2mem33 = alloca i64 %.reg2mem31 = alloca i32 %indvars.iv22.reg2mem = alloca i64 %storemerge716.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge320.reg2mem = alloca i32 %indvars.iv.next2630.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = add i64 %0, 56 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 32 %9 = trunc i64 %arg3 to i32 %10 = add i32 %9, 31 %11 = add i64 %1, -16432 %12 = add i32 %10, %7 %13 = urem i32 %12, 32 %14 = shl i32 1, %13 %15 = trunc i32 %14 to i16 %16 = inttoptr i64 %11 to i16* store i16 %15, i16* %16, align 8 store i64 1, i64* %indvars.iv.next2630.reg2mem br label LBL_1 LBL_1: %indvars.iv.next2630.reload = load i64, i64* %indvars.iv.next2630.reg2mem %.pre = load i32, i32* %6, align 4 %17 = add i32 %10, %.pre %18 = urem i32 %17, 32 %19 = shl i32 1, %18 %20 = trunc i32 %19 to i16 %21 = mul i64 %indvars.iv.next2630.reload, 2 %22 = add nuw nsw i64 %21, %11 %23 = inttoptr i64 %22 to i16* store i16 %20, i16* %23, align 2 %indvars.iv.next26 = add nuw nsw i64 %indvars.iv.next2630.reload, 1 %exitcond27 = icmp eq i64 %indvars.iv.next26, 3 store i64 %indvars.iv.next26, i64* %indvars.iv.next2630.reg2mem br i1 %exitcond27, label LBL_2, label LBL_1 LBL_2: %24 = bitcast i64* %rdi to i32* %25 = load i32, i32* %24, align 8 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_27, label LBL_3 LBL_3: %notmask = shl nsw i32 -1, %8 %27 = xor i32 %notmask, 65535 %28 = add i64 %0, 48 %29 = inttoptr i64 %28 to i64* %30 = add i64 %0, 24 %31 = inttoptr i64 %30 to i32* %32 = add i64 %0, 20 %33 = inttoptr i64 %32 to i32* %34 = ashr i32 %4, 1 %35 = add i64 %0, 4 %36 = inttoptr i64 %35 to i32* %37 = add i64 %0, 12 %38 = inttoptr i64 %37 to i32* %39 = add i64 %0, 16 %40 = inttoptr i64 %39 to i32* %41 = add i64 %0, 36 %42 = urem i32 %9, 32 %43 = icmp eq i32 %42, 0 %44 = add i64 %0, 60 %45 = add i64 %0, 28 %46 = inttoptr i64 %45 to i32* %47 = add i64 %1, -16430 %48 = add i64 %1, -16428 %49 = add i64 %0, 32 %50 = inttoptr i64 %49 to i32* store i32 0, i32* %storemerge320.reg2mem br label LBL_4 LBL_4: %storemerge320.reload = load i32, i32* %storemerge320.reg2mem %51 = load i64, i64* %29, align 8 %52 = mul i32 %storemerge320.reload, %4 %53 = sext i32 %52 to i64 %54 = add i64 %51, %53 %55 = load i32, i32* %31, align 4 %56 = icmp eq i32 %55, 0 store i64 %54, i64* %sv_0.0.reg2mem br i1 %56, label LBL_6, label LBL_5 LBL_5: %57 = load i32, i32* %33, align 4 %58 = icmp eq i32 %57, 0 %narrow = select i1 %58, i32 0, i32 %34 %59 = sext i32 %narrow to i64 %spec.select = add i64 %54, %59 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %60 = mul i64 %indvars.iv.reload, 2 %61 = add nuw nsw i64 %60, %11 %62 = inttoptr i64 %61 to i16* %63 = load i16, i16* %62, align 2 %64 = zext i16 %63 to i32 %65 = mul i64 %indvars.iv.reload, 4 %66 = add i64 %65, %1 %67 = add i64 %66, -16468 %68 = inttoptr i64 %67 to i32* store i32 %64, i32* %68, align 4 %69 = add i64 %66, -16444 %70 = inttoptr i64 %69 to i32* store i32 %64, i32* %70, align 4 %71 = add i64 %66, -16456 %72 = inttoptr i64 %71 to i32* store i32 %64, i32* %72, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %73 = load i32, i32* %36, align 4 %74 = icmp eq i32 %73, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge716.reg2mem store i32 0, i32* %.reg2mem31 br i1 %74, label LBL_18, label LBL_9 LBL_9: %storemerge716.reload = load i32, i32* %storemerge716.reg2mem %.reload = load i64, i64* %.reg2mem %75 = load i32, i32* %38, align 4 %76 = icmp eq i32 %75, 0 br i1 %76, label LBL_12, label LBL_10 LBL_10: %77 = load i32, i32* %40, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_12, label LBL_11 LBL_11: store i32 %75, i32* %40, align 4 br label LBL_12 LBL_12: %80 = mul i64 %.reload, 4 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_13 LBL_13: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %81 = mul i64 %indvars.iv22.reload, 4 %82 = add i64 %81, %1 %83 = add i64 %82, -16456 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = add i64 %82, -16468 %87 = inttoptr i64 %86 to i32* store i32 %85, i32* %87, align 4 %88 = add nuw nsw i64 %indvars.iv22.reload, %80 %89 = mul i64 %88, 2 %90 = add i64 %89, %11 %91 = inttoptr i64 %90 to i16* %92 = load i16, i16* %91, align 2 %93 = zext i16 %92 to i32 store i32 %93, i32* %84, align 4 %94 = add i64 %82, -16444 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = add i32 %96, %93 %98 = load i32, i32* %87, align 4 %99 = sub i32 %97, %98 %100 = add i64 %41, %81 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = zext i32 %102 to i64 %104 = call i64 @FUNC(i64 %0, i64 %103) %105 = trunc i64 %104 to i32 %106 = shl i32 %105, %42 %107 = zext i32 %106 to i64 %rdx.0 = select i1 %43, i64 %104, i64 %107 %108 = trunc i64 %rdx.0 to i32 %109 = add i32 %99, %108 %110 = and i32 %109, %27 %111 = trunc i32 %110 to i16 store i16 %111, i16* %91, align 2 %112 = urem i32 %110, 65536 store i32 %112, i32* %95, align 4 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, 3 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %exitcond24, label LBL_14, label LBL_13 LBL_14: %113 = load i32, i32* %38, align 4 %114 = icmp eq i32 %113, 0 br i1 %114, label LBL_17, label LBL_15 LBL_15: %115 = load i32, i32* %40, align 4 %116 = add i32 %115, -1 store i32 %116, i32* %40, align 4 %117 = icmp eq i32 %116, 0 %118 = icmp eq i1 %117, false br i1 %118, label LBL_17, label LBL_16 LBL_16: %119 = call i64 @FUNC(i64 %44) %120 = call i64 @FUNC(i64 %44, i64 16) br label LBL_17 LBL_17: %121 = add i32 %storemerge716.reload, 1 %122 = load i32, i32* %36, align 4 %123 = zext i32 %122 to i64 %124 = sext i32 %121 to i64 %125 = icmp slt i64 %124, %123 store i64 %124, i64* %.reg2mem store i32 %121, i32* %storemerge716.reg2mem store i32 %122, i32* %.reg2mem31 br i1 %125, label LBL_9, label LBL_18 LBL_18: %.reload32 = load i32, i32* %.reg2mem31 %126 = load i32, i32* %46, align 4 %127 = icmp eq i32 %126, 0 br i1 %127, label LBL_21, label LBL_19 LBL_19: %128 = icmp eq i32 %.reload32, 0 store i64 0, i64* %.reg2mem33 store i32 0, i32* %storemerge417.reg2mem br i1 %128, label LBL_26, label LBL_20 LBL_20: %storemerge417.reload = load i32, i32* %storemerge417.reg2mem %.reload34 = load i64, i64* %.reg2mem33 %129 = mul i64 %.reload34, 8 %130 = add i64 %129, %11 %131 = inttoptr i64 %130 to i16* %132 = load i16, i16* %131, align 8 %133 = zext i16 %132 to i32 %134 = add i64 %129, %47 %135 = inttoptr i64 %134 to i16* %136 = load i16, i16* %135, align 2 %137 = add i64 %129, %48 %138 = inttoptr i64 %137 to i16* %139 = load i16, i16* %138, align 4 %140 = zext i16 %139 to i32 %141 = zext i16 %136 to i32 %142 = add nuw nsw i32 %141, 512 %143 = add nuw nsw i32 %142, %140 %144 = udiv i32 %143, 4 %145 = mul i32 %storemerge417.reload, 4 %146 = or i32 %145, 1 %147 = sext i32 %146 to i64 %148 = add i64 %sv_0.0.reload, %147 %149 = sub nsw i32 %133, %144 %150 = trunc i32 %149 to i8 %151 = inttoptr i64 %148 to i8* store i8 %150, i8* %151, align 1 %152 = load i16, i16* %135, align 2 %153 = trunc i16 %152 to i8 %154 = sext i32 %145 to i64 %155 = add i64 %sv_0.0.reload, %154 %156 = add i8 %150, %153 %157 = inttoptr i64 %155 to i8* store i8 %156, i8* %157, align 1 %158 = load i16, i16* %138, align 4 %159 = trunc i16 %158 to i8 %160 = load i8, i8* %151, align 1 %161 = or i32 %145, 2 %162 = sext i32 %161 to i64 %163 = add i64 %sv_0.0.reload, %162 %164 = add i8 %160, %159 %165 = inttoptr i64 %163 to i8* store i8 %164, i8* %165, align 1 %166 = add i32 %storemerge417.reload, 1 %167 = load i32, i32* %36, align 4 %168 = zext i32 %167 to i64 %169 = sext i32 %166 to i64 %170 = icmp slt i64 %169, %168 store i64 %169, i64* %.reg2mem33 store i32 %166, i32* %storemerge417.reg2mem br i1 %170, label LBL_20, label LBL_26 LBL_21: %171 = load i32, i32* %50, align 4 %172 = icmp eq i32 %171, 0 %173 = icmp eq i32 %.reload32, 0 br i1 %172, label LBL_23, label LBL_22 LBL_22: store i64 0, i64* %.reg2mem35 store i32 0, i32* %storemerge518.reg2mem br i1 %173, label LBL_26, label LBL_24 LBL_23: store i64 0, i64* %.reg2mem37 store i32 0, i32* %storemerge619.reg2mem br i1 %173, label LBL_26, label LBL_25 LBL_24: %storemerge518.reload = load i32, i32* %storemerge518.reg2mem %.reload36 = load i64, i64* %.reg2mem35 %174 = mul i64 %.reload36, 8 %175 = add i64 %174, %11 %176 = inttoptr i64 %175 to i16* %177 = load i16, i16* %176, align 8 %178 = zext i16 %177 to i32 %179 = add i64 %174, %47 %180 = inttoptr i64 %179 to i16* %181 = load i16, i16* %180, align 2 %182 = add i64 %174, %48 %183 = inttoptr i64 %182 to i16* %184 = load i16, i16* %183, align 4 %185 = zext i16 %184 to i32 %186 = zext i16 %181 to i32 %187 = add nuw nsw i32 %185, %186 %188 = udiv i32 %187, 4 %189 = mul i32 %storemerge518.reload, 4 %190 = or i32 %189, 1 %191 = sext i32 %190 to i64 %192 = add i64 %sv_0.0.reload, %191 %193 = sub nsw i32 %178, %188 %194 = trunc i32 %193 to i8 %195 = inttoptr i64 %192 to i8* store i8 %194, i8* %195, align 1 %196 = load i16, i16* %180, align 2 %197 = trunc i16 %196 to i8 %198 = sext i32 %189 to i64 %199 = add i64 %sv_0.0.reload, %198 %200 = add i8 %194, %197 %201 = inttoptr i64 %199 to i8* store i8 %200, i8* %201, align 1 %202 = load i16, i16* %183, align 4 %203 = trunc i16 %202 to i8 %204 = load i8, i8* %195, align 1 %205 = or i32 %189, 2 %206 = sext i32 %205 to i64 %207 = add i64 %sv_0.0.reload, %206 %208 = add i8 %204, %203 %209 = inttoptr i64 %207 to i8* store i8 %208, i8* %209, align 1 %210 = add i32 %storemerge518.reload, 1 %211 = load i32, i32* %36, align 4 %212 = zext i32 %211 to i64 %213 = sext i32 %210 to i64 %214 = icmp slt i64 %213, %212 store i64 %213, i64* %.reg2mem35 store i32 %210, i32* %storemerge518.reg2mem br i1 %214, label LBL_24, label LBL_26 LBL_25: %storemerge619.reload = load i32, i32* %storemerge619.reg2mem %.reload38 = load i64, i64* %.reg2mem37 %215 = mul i64 %.reload38, 8 %216 = add i64 %215, %11 %217 = inttoptr i64 %216 to i16* %218 = load i16, i16* %217, align 8 %219 = mul i32 %storemerge619.reload, 4 %220 = sext i32 %219 to i64 %221 = add i64 %sv_0.0.reload, %220 %222 = trunc i16 %218 to i8 %223 = inttoptr i64 %221 to i8* store i8 %222, i8* %223, align 1 %224 = add i64 %215, %47 %225 = inttoptr i64 %224 to i16* %226 = load i16, i16* %225, align 2 %227 = or i32 %219, 1 %228 = sext i32 %227 to i64 %229 = add i64 %sv_0.0.reload, %228 %230 = trunc i16 %226 to i8 %231 = inttoptr i64 %229 to i8* store i8 %230, i8* %231, align 1 %232 = add i64 %215, %48 %233 = inttoptr i64 %232 to i16* %234 = load i16, i16* %233, align 4 %235 = or i32 %219, 2 %236 = sext i32 %235 to i64 %237 = add i64 %sv_0.0.reload, %236 %238 = trunc i16 %234 to i8 %239 = inttoptr i64 %237 to i8* store i8 %238, i8* %239, align 1 %240 = add i32 %storemerge619.reload, 1 %241 = load i32, i32* %36, align 4 %242 = zext i32 %241 to i64 %243 = sext i32 %240 to i64 %244 = icmp slt i64 %243, %242 store i64 %243, i64* %.reg2mem37 store i32 %240, i32* %storemerge619.reg2mem br i1 %244, label LBL_25, label LBL_26 LBL_26: %245 = add i32 %storemerge320.reload, 1 %246 = load i32, i32* %24, align 8 %247 = zext i32 %246 to i64 %248 = sext i32 %245 to i64 %249 = icmp slt i64 %248, %247 store i32 %245, i32* %storemerge320.reg2mem br i1 %249, label LBL_4, label LBL_27 LBL_27: ret i64 0 uselistorder i32 %219, { 2, 1, 0 } uselistorder i64 %215, { 2, 1, 0 } uselistorder i32 %189, { 2, 1, 0 } uselistorder i64 %174, { 2, 1, 0 } uselistorder i1 %173, { 1, 0 } uselistorder i32 %145, { 2, 1, 0 } uselistorder i64 %129, { 2, 1, 0 } uselistorder i32 %.reload32, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %sv_0.0.reload, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i32 %42, { 1, 0 } uselistorder i32* %40, { 1, 0, 2, 3 } uselistorder i32* %36, { 2, 1, 0, 4, 3 } uselistorder i32* %24, { 1, 0 } uselistorder i64 %11, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i64 %1, { 0, 1, 3, 2, 4 } uselistorder i64 %0, { 2, 7, 4, 1, 0, 6, 5, 3, 9, 8, 10, 11, 12 } uselistorder i64* %indvars.iv.next2630.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge320.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge716.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem33, { 2, 0, 1 } uselistorder i32* %storemerge417.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem35, { 2, 0, 1 } uselistorder i32* %storemerge518.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem37, { 2, 0, 1 } uselistorder i32* %storemerge619.reg2mem, { 2, 0, 1 } uselistorder i64 -16456, { 1, 0 } uselistorder i64 -16444, { 1, 0 } uselistorder i64 -16468, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 0, 1, 7, 11, 2, 8, 17, 13, 14, 15, 16, 3, 4, 9, 6, 18, 19, 5, 12, 10 } uselistorder i64 3, { 1, 2, 0 } uselistorder label LBL_26, { 2, 1, 5, 4, 0, 3 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
scsi_get_configuration_3425
scsi_get_configuration
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %4) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i32 0, i32 2 store i32 %., i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %11 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %12 = call i64* @memset(i64* %arg2, i32 0, i32 40) %13 = call i64 @FUNC(i64 %11, i64 36) %14 = add i64 %11, 6 %15 = zext i32 %sv_0.0.reload to i64 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = add i64 %11, 10 %18 = inttoptr i64 %17 to i8* store i8 3, i8* %18, align 1 %19 = add i64 %11, 11 %20 = inttoptr i64 %19 to i8* store i8 8, i8* %20, align 1 %21 = add i64 %11, 12 %22 = call i64 @FUNC(i64 %21, i64 1) %23 = icmp eq i32 %sv_0.0.reload, 1 %24 = add i64 %11, 14 %25 = zext i1 %23 to i8 %26 = inttoptr i64 %24 to i8* store i8 %25, i8* %26, align 1 %27 = add i64 %11, 16 %28 = call i64 @FUNC(i64 %27, i64 2) %29 = icmp eq i32 %sv_0.0.reload, 2 %30 = zext i1 %29 to i8 %31 = add i64 %11, 18 %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %33 = add i64 %11, 20 %34 = call i64 @FUNC(i64 %33, i64 1) %35 = add i64 %11, 22 %36 = inttoptr i64 %35 to i8* store i8 11, i8* %36, align 1 %37 = add i64 %11, 23 %38 = inttoptr i64 %37 to i8* store i8 8, i8* %38, align 1 %39 = add i64 %11, 24 %40 = call i64 @FUNC(i64 %39, i64 1) %41 = add i64 %11, 28 %42 = inttoptr i64 %41 to i8* store i8 1, i8* %42, align 1 %43 = add i64 %11, 32 %44 = call i64 @FUNC(i64 %43, i64 3) %45 = add i64 %11, 34 %46 = inttoptr i64 %45 to i8* store i8 11, i8* %46, align 1 %47 = add i64 %11, 35 %48 = inttoptr i64 %47 to i8* store i8 4, i8* %48, align 1 %49 = add i64 %11, 36 %50 = inttoptr i64 %49 to i8* store i8 57, i8* %50, align 1 store i64 40, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %11, { 0, 1, 3, 2, 5, 4, 6, 8, 7, 10, 9, 12, 11, 13, 14, 16, 15 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64, i64)* @stw_be_p, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @stl_be_p, { 1, 0 } uselistorder i64 36, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ps2_reset_keyboard_14353
ps2_reset_keyboard
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = bitcast i64* %arg1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 2, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0, i64 0) ret i64 %5 }
1
BinRealVul
ihevcd_mv_buf_mgr_add_bufs_7464
ihevcd_mv_buf_mgr_add_bufs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %sv_2.03.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = add i64 %3, 4 %10 = add i64 %9, %8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, 1 %14 = add i64 %0, 40 %15 = inttoptr i64 %14 to i64* store i64 %0, i64* %15, align 8 %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %3, 36 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, 63 %23 = and i32 %22, -64 %24 = add i64 %3, 40 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %26, 63 %28 = and i32 %27, -64 %29 = mul i32 %28, %23 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = icmp sgt i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_1, label LBL_7 LBL_1: %33 = trunc i64 %31 to i32 %34 = mul i32 %13, 32 %35 = sub i32 %18, %34 %36 = sext i32 %13 to i64 %37 = mul i64 %36, 32 %38 = add i64 %37, %0 %39 = add i64 %0, 32 %40 = inttoptr i64 %39 to i64* store i32 0, i32* %storemerge4.reg2mem store i32 %35, i32* %sv_2.03.reg2mem store i64 %0, i64* %sv_1.02.reg2mem store i64 %38, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_2.03.reload = load i32, i32* %sv_2.03.reg2mem %41 = sub i32 %sv_2.03.reload, %33 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_4, label LBL_3 LBL_3: %44 = add i64 %0, 24 %45 = inttoptr i64 %44 to i32* store i32 1, i32* %45, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %46 = load i32, i32* %20, align 4 %47 = add i32 %46, 63 %48 = and i32 %47, -64 %49 = load i32, i32* %25, align 4 %50 = add i32 %49, 63 %51 = and i32 %50, -64 %52 = mul i32 %51, %48 %53 = ashr exact i32 %52, 8 %54 = ashr exact i32 %52, 6 %55 = inttoptr i64 %sv_1.02.reload to i64* store i64 %sv_0.01.reload, i64* %55, align 8 %56 = or i32 %53, 1 %57 = sext i32 %56 to i64 %58 = mul i64 %57, 4 %59 = add i64 %58, %sv_0.01.reload %60 = add i64 %sv_1.02.reload, 8 %61 = inttoptr i64 %60 to i64* store i64 %59, i64* %61, align 8 %62 = sext i32 %54 to i64 %63 = add i64 %59, %62 %64 = add i64 %sv_1.02.reload, 16 %65 = inttoptr i64 %64 to i64* store i64 %63, i64* %65, align 8 %66 = sext i32 %53 to i64 %67 = mul i64 %66, 2 %68 = add i64 %63, %67 %69 = add i64 %sv_1.02.reload, 24 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %71 = load i64, i64* %40, align 8 %72 = call i64 @FUNC(i64 %71, i64 %sv_1.02.reload, i32 %storemerge4.reload) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_6, label LBL_5 LBL_5: %75 = add i64 %0, 24 %76 = inttoptr i64 %75 to i32* store i32 2, i32* %76, align 4 store i64 2, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %77 = add i64 %sv_1.02.reload, 32 %78 = add nuw nsw i32 %storemerge4.reload, 1 %79 = icmp slt i32 %78, %13 store i32 %78, i32* %storemerge4.reg2mem store i32 %41, i32* %sv_2.03.reg2mem store i64 %77, i64* %sv_1.02.reg2mem store i64 %68, i64* %sv_0.01.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %79, label LBL_2, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %53, { 1, 0 } uselistorder i32 %52, { 1, 0 } uselistorder i64 %sv_0.01.reload, { 1, 0 } uselistorder i32 %13, { 2, 3, 0, 1 } uselistorder i64 %0, { 3, 2, 0, 4, 1, 5, 8, 6, 7 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 4, { 0, 2, 1 } uselistorder label LBL_7, { 0, 2, 3, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
create_filter_with_args_2312
create_filter_with_args
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %2 to i8* %4 = call i8* @strchr(i8* %3, i32 61) %5 = icmp eq i8* %4, null store i8* null, i8** %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i8* %4 to i64 %7 = icmp eq i64 %2, %6 br i1 %7, label LBL_8, label LBL_2 LBL_2: %8 = add i64 %6, 1 %9 = inttoptr i64 %8 to i8* store i8 0, i8* %4, align 1 store i8* %9, i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %10 = icmp eq i8* %sv_0.0.reload, null %11 = ptrtoint i8* %sv_0.0.reload to i64 %storemerge2 = select i1 %10, i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64 %11 %12 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %storemerge2, i64 %1) %13 = call i64 @FUNC(i64 %2, i64 0) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %13, i64 %11, i64 %arg2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %11, i64 %storemerge2, i64 %1) %19 = call i64 @FUNC(i64 %13) br label LBL_8 LBL_6: %20 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %2, i64 %storemerge2, i64 %1) br label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 %2) store i64 %13, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %22 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge2, { 1, 0, 2 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 5, 4, 0, 6 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i8* null, { 1, 0, 2 } uselistorder i64 (i64)* @av_strdup, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
unregister_displaychangelistener_673
unregister_displaychangelistener
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %arg1, i64 %4) %6 = add i64 %arg1, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = inttoptr i64 %8 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, -1 store i32 %12, i32* %10, align 4 br label LBL_2 LBL_2: %13 = inttoptr i64 %arg1 to i64* store i64 0, i64* %13, align 8 %14 = call i64 @FUNC(i64 %arg1) ret i64 %14 uselistorder i64 %arg1, { 0, 1, 3, 2, 4 } }
0
BinRealVul
qdisc_lookup_8662
qdisc_lookup
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg2 to i32 store i64 %3, i64* %storemerge24.reg2mem br label LBL_2 LBL_2: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %5 = inttoptr i64 %storemerge24.reload to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, %4 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %storemerge24.reload, i64* %storemerge.reg2mem br label LBL_6 LBL_4: %10 = add i64 %storemerge24.reload, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %storemerge24.reg2mem br i1 %14, label LBL_2, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge24.reload, { 1, 0, 2 } uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_thread_get_buffer_17369
ff_thread_get_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %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 i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 %4, i32 %arg3) ret i64 %5 }
1
BinRealVul
avcodec_default_execute2_9646
avcodec_default_execute2
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg5 to i32 %1 = icmp sgt i32 %0, 0 br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg4, null %5 = trunc i64 %3 to i32 %wide.trip.count = and i64 %arg5, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %6 = mul i64 %indvars.iv.reload, 4 %7 = add i64 %6, %2 %8 = inttoptr i64 %7 to i32* store i32 %5, i32* %8, align 4 br label LBL_4 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_2 LBL_5: %9 = call i64 @FUNC() ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
tcp_send_challenge_ack_6503
tcp_send_challenge_ack
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %3, i64 %0, i64 0, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_1 LBL_1: br i1 true, label LBL_3, label LBL_2 LBL_2: store i32 undef, i32* %.reg2mem br label LBL_4 LBL_3: %.pr = load i32, i32* @gv_0, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %8 = icmp eq i32 %.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = add i32 %.reload, -1 store i32 %9, i32* @gv_0, align 4 %10 = call i64 @FUNC(i64 %1) %11 = call i64 @FUNC(i64 %10, i64 1) %12 = call i64 @FUNC(i64 %1) store i64 %12, 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 %1, { 1, 0, 2, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 (i64)* @sock_net, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
aio_context_new_17278
aio_context_new
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0, i64 56) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, 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 = ptrtoint i64* %arg1 to i64 %7 = sub i64 0, %2 %8 = and i64 %7, 4294967295 %9 = call i64 @FUNC(i64 %6, i64 %8, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0)) %10 = add i64 %0, 8 %11 = call i64 @FUNC(i64 %10) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = add i64 %0, 8 %13 = call i64 @FUNC(i64 %12, i64 1) %14 = call i64 @FUNC(i64 %0, i64 %0, i64 0, i64 4198879, i64 4198890) %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %17 = add i64 %0, 24 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %0, 32 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %0, 40 %22 = call i64 @FUNC(i64 %21, i64 4198901, i64 %0) %23 = add i64 %0, 48 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 store i64 %0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 6, 5, 4, 3, 10, 8, 9, 7, 1, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
mboxlist_unsetquota_8496
mboxlist_unsetquota
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %2 = trunc i64 %1 to i8 store i64 4294967295, i64* %storemerge.reg2mem store i64 4294967295, i64* %storemerge.reg2mem switch i8 %2, label LBL_1 [ i8 0, label LBL_6 i8 46, label LBL_6 ] LBL_1: %3 = inttoptr i64 %arg1 to i8* %4 = call i8* @strchr(i8* %3, i32 47) %5 = icmp eq i8* %4, null %6 = icmp eq i1 %5, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_2: %7 = call i8* @strchr(i8* %3, i32 42) %8 = icmp eq i8* %7, null %9 = icmp eq i1 %8, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = call i8* @strchr(i8* %3, i32 37) %11 = icmp eq i8* %10, null %12 = icmp eq i1 %11, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = call i8* @strchr(i8* %3, i32 63) %14 = icmp eq i8* %13, null store i64 4294967295, i64* %storemerge.reg2mem br i1 %14, label LBL_5, label LBL_6 LBL_5: %15 = call i64 @FUNC(i32* nonnull %sv_0, i64 %arg1) %16 = call i64 @FUNC(i32* nonnull %sv_0, i64 0, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %spec.store.select = select i1 %19, i32 %17, i32 0 store i32 %spec.store.select, i32* %sv_0, align 4 %20 = call i64 @FUNC(i32* nonnull %sv_0) %21 = load i32, i32* %sv_0, align 4 %22 = zext i32 %21 to i64 store i64 %22, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0, { 3, 0, 4, 1, 2, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 7, 6, 5, 4, 3, 1, 2 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0, 3, 2 } uselistorder i32 0, { 0, 2, 1 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 6, 5, 4, 3, 2, 0, 1 } }
0
BinRealVul
unwind_next_frame_18441
unwind_next_frame
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = add i64 %0, 32 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i64* br label LBL_2 LBL_2: br label LBL_4 LBL_3: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 0 store i64 1, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_6 LBL_4: store i64 %4, i64* %arg1, align 8 %14 = load i64, i64* %5, align 8 %15 = icmp ugt i64 %14, %0 br i1 %15, label LBL_3, label LBL_5 LBL_5: %16 = load i64, i64* %7, align 8 store i64 %16, i64* %arg1, align 8 %17 = load i64, i64* %10, align 8 %18 = call i64 @FUNC(i64 %0, i64 %17, i64 %4, i64 %8) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 1 %21 = icmp eq i1 %20, false store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_2, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 5, 4, 3, 0, 7, 6 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
virtio_config_readl_401
virtio_config_readl
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = add nuw nsw i64 %1, 4 %3 = and i64 %0, 4294967295 %4 = icmp ugt i64 %2, %3 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, %1 %9 = call i64 @FUNC(i64 %8) %10 = and i64 %9, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 3, 0, 1, 4, 2 } uselistorder label LBL_2, { 1, 0 } }
0