dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
avi_read_nikon_10738
avi_read_nikon
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.2.ph27.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %rdi.118.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i8* %storemerge.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i64 %1, %arg2 store i64 %1, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_18 LBL_1: %3 = add i64 %0, 8 store i64 %0, i64* %rdi.2.ph27.reg2mem br label LBL_16 LBL_2: %4 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %7 = icmp eq i32 %5, 1735680878 %8 = icmp eq i1 %7, false br i1 %8, label LBL_14, label LBL_3 LBL_3: %9 = trunc i64 %6 to i32 %10 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %11 = trunc i64 %10 to i32 %12 = add i32 %11, %9 %13 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %14 = sext i32 %12 to i64 %15 = icmp ult i64 %13, %14 store i64 %rdi.2.ph27.reload, i64* %rdi.118.reg2mem store i64 %rdi.2.ph27.reload, i64* %rdi.1.lcssa.reg2mem br i1 %15, label LBL_13, label LBL_15 LBL_4: %16 = call i64 @FUNC(i64 %rdi.118.reload) %17 = call i64 @FUNC(i64 %rdi.118.reload) store i64 0, i64* %sv_1, align 8 %18 = urem i64 %17, 65536 %19 = call i64 @FUNC(i64 %rdi.118.reload) %20 = sub i64 %14, %19 %21 = icmp ult i64 %18, %20 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %rdi.118.reload) %23 = trunc i64 %22 to i32 %24 = sub i32 %12, %23 store i32 %24, i32* %storemerge.in.reg2mem br label LBL_7 LBL_6: %25 = trunc i64 %17 to i32 %26 = urem i32 %25, 65536 store i32 %26, i32* %storemerge.in.reg2mem br label LBL_7 LBL_7: %27 = trunc i64 %16 to i32 %28 = urem i32 %27, 65536 %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %29 = trunc i32 %storemerge.in.reload to i16 %30 = icmp ult i16 %29, 64 %31 = urem i32 %storemerge.in.reload, 65536 %.op = zext i32 %31 to i64 %32 = select i1 %30, i64 %.op, i64 63 %33 = call i64 @FUNC(i64 %rdi.118.reload, i64* nonnull %sv_1, i64 %32) %34 = icmp eq i32 %28, 19 store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem br i1 %34, label LBL_11, label LBL_8 LBL_8: %35 = icmp ugt i32 %28, 19 store i64 %rdi.118.reload, i64* %rdi.0.reg2mem br i1 %35, label LBL_12, label LBL_9 LBL_9: %trunc = trunc i64 %16 to i16 store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem store i64 %rdi.118.reload, i64* %rdi.0.reg2mem switch i16 %trunc, label LBL_12 [ i16 3, label LBL_11 i16 4, label LBL_10 ] LBL_10: store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.ph.reg2mem br label LBL_11 LBL_11: %sv_0.0.ph.reload = load i8*, i8** %sv_0.0.ph.reg2mem %36 = ptrtoint i8* %sv_0.0.ph.reload to i64 %37 = call i64 @FUNC(i64 %3, i64 %36, i64* nonnull %sv_1, i64 0) store i64 %3, i64* %rdi.0.reg2mem br label LBL_12 LBL_12: %38 = trunc i64 %33 to i32 %39 = sub i32 %storemerge.in.reload, %38 %40 = urem i32 %39, 65536 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %rdi.0.reload, i64 %41) %43 = call i64 @FUNC(i64 %rdi.0.reload) %44 = icmp ult i64 %43, %14 store i64 %rdi.0.reload, i64* %rdi.118.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %44, label LBL_13, label LBL_15 LBL_13: %rdi.118.reload = load i64, i64* %rdi.118.reg2mem %45 = call i64 @FUNC(i64 %rdi.118.reload) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i64 %rdi.118.reload, i64* %rdi.1.lcssa.reg2mem br i1 %47, label LBL_4, label LBL_15 LBL_14: %48 = and i64 %6, 4294967295 %49 = call i64 @FUNC(i64 %rdi.2.ph27.reload, i64 %48) %50 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %51 = icmp ult i64 %50, %arg2 store i64 %50, i64* %rax.0.reg2mem br i1 %51, label LBL_17, label LBL_18 LBL_15: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %52 = call i64 @FUNC(i64 %rdi.1.lcssa.reload) %53 = icmp ult i64 %52, %arg2 store i64 %rdi.1.lcssa.reload, i64* %rdi.2.ph27.reg2mem store i64 %52, i64* %rax.0.reg2mem br i1 %53, label LBL_16, label LBL_18 LBL_16: %rdi.2.ph27.reload = load i64, i64* %rdi.2.ph27.reg2mem br label LBL_17 LBL_17: %54 = call i64 @FUNC(i64 %rdi.2.ph27.reload) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 store i64 %54, i64* %rax.0.reg2mem br i1 %56, label LBL_2, label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.2.ph27.reload, { 2, 4, 3, 5, 0, 7, 8, 6, 1 } uselistorder i64 %rdi.118.reload, { 0, 6, 3, 4, 5, 1, 2, 7, 8 } uselistorder i64 %rdi.0.reload, { 0, 1, 3, 2 } uselistorder i32 %storemerge.in.reload, { 0, 2, 1 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rdi.118.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i32 65536, { 0, 1, 3, 2 } uselistorder i64 (i64)* @avio_rl16, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 2, 3, 5, 7, 6, 1, 4, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_18, { 1, 0, 2, 3 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 2, 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } }
0
BinRealVul
integratorcm_init_16771
integratorcm_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 16777288, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 524031, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 69922, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 256 br i1 %9, label LBL_2, label LBL_1 LBL_1: store i32 64, i32* bitcast (i64* @gv_0 to i32*), align 8 %10 = load i32, i32* %5, align 4 %11 = or i32 %10, 16 store i32 %11, i32* %5, align 4 br label LBL_9 LBL_2: %12 = icmp slt i32 %8, 128 br i1 %12, label LBL_4, label LBL_3 LBL_3: store i32 32, i32* bitcast (i64* @gv_0 to i32*), align 8 %13 = load i32, i32* %5, align 4 %14 = or i32 %13, 12 store i32 %14, i32* %5, align 4 br label LBL_9 LBL_4: %15 = icmp slt i32 %8, 64 br i1 %15, label LBL_6, label LBL_5 LBL_5: store i32 16, i32* bitcast (i64* @gv_0 to i32*), align 8 %16 = load i32, i32* %5, align 4 %17 = or i32 %16, 8 store i32 %17, i32* %5, align 4 br label LBL_9 LBL_6: %18 = icmp slt i32 %8, 32 br i1 %18, label LBL_8, label LBL_7 LBL_7: store i32 4, i32* bitcast (i64* @gv_0 to i32*), align 8 %19 = load i32, i32* %5, align 4 %20 = or i32 %19, 4 store i32 %20, i32* %5, align 4 br label LBL_9 LBL_8: store i32 2, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_9 LBL_9: %21 = call i64* @memcpy(i64* nonnull @gv_1, i64* bitcast ([12 x i8]* @gv_2 to i64*), i32 11) %22 = add i64 %0, 16 %23 = inttoptr i64 %22 to i32* store i32 274, i32* %23, align 4 %24 = call i64 @FUNC(i64 0) %25 = call i64 @FUNC(i64 %24, i64 24, i64 1000) %26 = trunc i64 %25 to i32 %27 = add i64 %0, 20 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %0, 24 %30 = call i64 @FUNC(i64 %29, i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 1048576, i64 4198836) %31 = call i64 @FUNC(i64 %29) %32 = add i64 %0, 32 %33 = call i64 @FUNC(i64 %32, i64 %0, i64* nonnull @gv_4, i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64 8388608) %34 = call i64 @FUNC(i64 %0, i64 %32) %35 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i32 %8, { 2, 1, 0, 3 } uselistorder i32* %5, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 %0, { 3, 0, 5, 4, 6, 2, 1, 7, 8, 9, 10, 11 } uselistorder i64 24, { 1, 0 } }
1
BinRealVul
GPMF_ResetState_7980
GPMF_ResetState
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 1, i64* %storemerge.reg2mem br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = load i32, i32* %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = add i64 %1, 12 %11 = add i64 %10, %9 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = load i32, i32* %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = add i64 %1, 52 %17 = add i64 %16, %15 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = load i32, i32* %4, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 4 %22 = add i64 %1, 92 %23 = add i64 %22, %21 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = add i64 %1, 132 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 %27 = add i64 %1, 136 %28 = inttoptr i64 %27 to i8* store i8 0, i8* %28, align 1 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 3, 0, 1, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pure_strcmp_6485
pure_strcmp
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = inttoptr i64 %arg2 to i8* %3 = call i32 @strlen(i8* %2) %4 = icmp eq i32 %1, %3 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = sext i32 %1 to i64 %6 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %5) store i64 %6, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 1, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vp8_peek_si_internal_10960
vp8_peek_si_internal
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = icmp eq i32 %arg2, 0 %1 = icmp eq i1 %0, false store i64 1, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = bitcast i64* %arg3 to i32* store i32 0, i32* %2, align 4 %3 = icmp ult i32 %arg2, 10 store i64 2, i64* %storemerge.reg2mem br i1 %3, label LBL_7, label LBL_2 LBL_2: %4 = icmp eq i64 %arg4, 0 %spec.select = select i1 %4, i64* %arg1, i64* %sv_0 %5 = bitcast i64* %spec.select to i8* %6 = load i8, i8* %5, align 1 %7 = urem i8 %6, 2 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 2, i64* %storemerge.reg2mem br i1 %9, label LBL_7, label LBL_3 LBL_3: %sv_1.0 = ptrtoint i64* %spec.select to i64 store i32 1, i32* %2, align 4 %10 = add i64 %sv_1.0, 3 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, -99 %14 = icmp eq i1 %13, false store i64 2, i64* %storemerge.reg2mem br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = add i64 %sv_1.0, 4 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 1 %19 = icmp eq i1 %18, false store i64 2, i64* %storemerge.reg2mem br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = add i64 %sv_1.0, 5 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 42 store i64 2, i64* %storemerge.reg2mem br i1 %23, label LBL_6, label LBL_7 LBL_6: %24 = ptrtoint i64* %arg3 to i64 %25 = add i64 %sv_1.0, 6 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = add i64 %sv_1.0, 7 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = zext i8 %30 to i32 %32 = mul i32 %31, 256 %33 = zext i8 %27 to i32 %.masked = and i32 %32, 16128 %34 = or i32 %.masked, %33 %35 = add i64 %24, 4 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = add i64 %sv_1.0, 8 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = add i64 %sv_1.0, 9 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = zext i8 %42 to i32 %44 = mul i32 %43, 256 %45 = zext i8 %39 to i32 %.masked1 = and i32 %44, 16128 %46 = or i32 %.masked1, %45 %47 = add i64 %24, 8 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i32, i32* %36, align 4 %50 = or i32 %46, %49 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false %spec.select2 = select i1 %52, i64 0, i64 2 ret i64 %spec.select2 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_1.0, { 5, 6, 1, 0, 2, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 6, 5, 4, 2, 1, 3 } uselistorder i64 2, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_7, { 5, 4, 3, 1, 2, 0 } }
1
BinRealVul
qemu_global_option_3565
qemu_global_option
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1, i32* nonnull %sv_2) %2 = icmp slt i32 %1, 2 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load i32, i32* %sv_2, align 4 %4 = sext i32 %3 to i64 %5 = add i64 %4, %arg1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 61 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64* nonnull @gv_2, i64 0, i64 0, i64 0) %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0) %12 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1) %13 = load i32, i32* %sv_2, align 4 %14 = sext i32 %13 to i64 %15 = add i64 %arg1, 1 %16 = add i64 %15, %14 %17 = inttoptr i64 %16 to i64* %18 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64* %17) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_2, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*, i64*)* @qemu_opt_set, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3 } }
0
BinRealVul
vnc_job_new_16724
vnc_job_new
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 16) %2 = inttoptr i64 %1 to i64* store i64 %0, i64* %2, align 8 %3 = load i64, i64* @gv_0, align 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = load i64, i64* @gv_0, align 8 %8 = call i64 @FUNC(i64 %7) ret i64 %1 }
1
BinRealVul
virtio_net_handle_tx_14677
virtio_net_handle_tx
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 1) %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) store i32 0, i32* %3, align 4 %11 = call i64 @FUNC(i64 %2, i64 %0) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 0) %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = sext i32 %15 to i64 %17 = add i64 %12, %16 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %17) store i32 1, i32* %3, align 4 %22 = call i64 @FUNC(i64 %0, i64 0) store i64 %22, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %3, { 1, 0, 2 } uselistorder i64 %0, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @virtio_queue_set_notification, { 1, 0 } }
1
BinRealVul
usb_create_simple_2718
usb_create_simple
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = call i64 @FUNC(i64 %1) ret i64 %1 }
0
BinRealVul
mta_route_unref_4899
mta_route_unref
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = bitcast i64* %rdi to i32* %3 = trunc i64 %1 to i32 %4 = add i32 %3, -1 %5 = inttoptr i64 %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = load i32, i32* %2, align 8 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %arg1, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %arg1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = inttoptr i64 %arg1 to i64* call void @free(i64* %18) %19 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 1) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %arg1, { 0, 2, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ext4_update_dynamic_rev_8778
ext4_update_dynamic_rev
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 = 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 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([78 x i8], [78 x i8]* @gv_1, i64 0, i64 0), i64 1) %12 = call i64 @FUNC(i64 11) %13 = trunc i64 %12 to i32 %14 = add i64 %3, 4 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = call i64 @FUNC(i64 128) %17 = trunc i64 %16 to i16 %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i16* store i16 %17, i16* %19, align 2 %20 = call i64 @FUNC(i64 1) %21 = trunc i64 %20 to i32 store i32 %21, i32* %4, align 4 store i64 %20, 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 (i64)* @cpu_to_le32, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
xen_free_irq_13238
xen_free_irq
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %sext = mul i64 %arg1, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = call i64 @FUNC(i64 %1) %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 0) %12 = add i64 %1, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %1) %20 = call i64 @FUNC() %21 = trunc i64 %8 to i32 %22 = trunc i64 %20 to i32 %23 = icmp ult i32 %21, %22 store i64 %20, i64* %rax.0.reg2mem br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %10) store i64 %24, 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 %1, { 0, 2, 1, 3 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
qemu_chr_open_win_pipe_14127
qemu_chr_open_win_pipe
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = call i64 @FUNC(i64 0) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 4198742, i64* %6, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* store i64 4198753, i64* %8, align 8 %9 = call i64 @FUNC(i64 %2, i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %3) %14 = call i64 @FUNC(i64 %2) store i64 4294967291, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %2) store i64 %2, i64* %arg2, align 8 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 %2, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } }
1
BinRealVul
WT_CheckSampleEnd_13365
WT_CheckSampleEnd
define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i32* %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = trunc i64 %2 to i32 %6 = mul i32 %5, 65536 %7 = add i32 %6, %4 %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %7 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = add i32 %10, %13 %15 = add i64 %3, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp ult i32 %14, %17 store i64 0, i64* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_1 LBL_1: %19 = load i32, i32* %9, align 4 %20 = sub i32 %17, %19 %21 = mul i32 %20, 65536 %22 = sub i32 %21, %4 %23 = icmp eq i32 %5, 0 br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = udiv i32 %22, %5 %25 = add i32 %24, 1 %26 = ptrtoint i32* %arg2 to i64 %27 = add i64 %26, 4 %28 = inttoptr i64 %27 to i32* store i32 %25, i32* %28, align 4 store i32 %25, i32* %.reg2mem store i32* %28, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_3: %29 = ptrtoint i32* %arg2 to i64 %30 = add i64 %29, 4 %31 = inttoptr i64 %30 to i32* store i32 %22, i32* %31, align 4 store i32 %22, i32* %.reg2mem store i32* %31, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %32 = icmp slt i32 %.reload, 0 %33 = icmp eq i1 %32, false store i64 1, i64* %sv_0.0.reg2mem br i1 %33, label LBL_6, label LBL_5 LBL_5: %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %34 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %35 = call i64 @FUNC(i64 1397638484, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) store i32 0, i32* %.pre-phi5.reload, align 4 store i64 1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = trunc i64 %arg3 to i8 %37 = icmp eq i8 %36, 0 br i1 %37, label LBL_8, label LBL_7 LBL_7: store i32 %7, i32* %arg1, align 4 store i32 %14, i32* %9, align 4 br label LBL_8 LBL_8: ret i64 %sv_0.0.reload uselistorder i32 %22, { 0, 2, 1 } uselistorder i32* %9, { 1, 0, 2 } uselistorder i32 %5, { 1, 2, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
0
BinRealVul
tget_16760
tget
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 = trunc i64 %arg2 to i32 %sext2 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext2, 32 %3 = icmp eq i32 %1, 3 br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = icmp sgt i32 %1, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_2 LBL_2: store i64 4294967295, i64* %rax.0.reg2mem switch i32 %1, label LBL_6 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %5 = add i64 %0, 1 store i64 %5, i64* %arg1, align 8 %6 = urem i64 %0, 256 store i64 %6, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %7 = and i64 %2, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %9 = and i64 %2, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %9) store i64 %10, 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 %2, { 1, 0 } uselistorder i32 %1, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 4, 2, 1 } uselistorder i64 4294967295, { 2, 3, 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder label LBL_6, { 2, 3, 4, 1, 0 } }
1
BinRealVul
tcg_out_qemu_st_5033
tcg_out_qemu_st
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = zext i32 %arg4 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %3) %7 = trunc i64 %6 to i32 %8 = call i64 @FUNC(i64 %2, i32 %arg3, i32 %7, i32 %5, i64 0) %9 = trunc i64 %8 to i32 %10 = call i64 @FUNC(i64 %2, i64 12, i64 15, i64 0) %11 = mul i64 %4, 4 %12 = and i64 %11, 12 %13 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %2, i32 %arg2, i32 %9, i64 5, i64 %16) %18 = and i64 %8, 4294967295 %19 = call i64 @FUNC(i64 %2, i64 7, i64 6, i64 %18) %20 = zext i32 %arg2 to i64 %21 = call i64 @FUNC(i64 %2, i64 7, i64 7, i64 %20) %22 = mul i64 %4, 8 %23 = and i64 %22, 24 %24 = add i64 %23, ptrtoint (i64* @gv_1 to i64) %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false %29 = zext i1 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %2, i64 %26) %32 = call i64 @FUNC(i64 %2, i64 8, i32 8, i32 %arg4) %33 = call i64 @FUNC(i64 %2, i64 %2) %34 = or i64 %33, %1 %35 = trunc i64 %34 to i32 %36 = bitcast i64* %arg1 to i32* store i32 %35, i32* %36, align 4 %37 = load i32, i32* %14, align 4 %38 = zext i32 %37 to i64 %39 = load i32, i32* @gv_2, align 4 %40 = icmp eq i32 %39, 0 %. = select i1 %40, i64 10, i64 9 %41 = call i64 @FUNC(i64 %2, i32 %arg2, i32 %arg3, i64 %., i64 %38) ret i64 %41 uselistorder i64 %2, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @tcg_out_mov, { 1, 0 } uselistorder i64 (i64, i32, i32, i64, i64)* @tcg_out_ldst_rr, { 1, 0 } }
0
BinRealVul
fr_print_7538
fr_print
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %.reg2mem21 = alloca i32 %.pre-phi.reg2mem = alloca i32 %.reg2mem19 = alloca i8 %.reg2mem = alloca i32 %.pre-phi17.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %4 = zext i32 %arg3 to i64 %5 = bitcast i32* %sv_0 to i64* %6 = bitcast i32* %sv_1 to i64* %7 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %5, i64* nonnull %6, i64* nonnull %sv_2, i64 %4) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_31, label LBL_1 LBL_1: %10 = icmp eq i32 %8, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = bitcast i64* %arg1 to i8* %13 = call i32 (i8*, ...) @printf(i8* %12) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_3: %14 = load i32, i32* %sv_1, align 4 %15 = zext i32 %14 to i64 %16 = add i64 %15, %2 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = icmp eq i1 %19, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %20, label LBL_4, label LBL_32 LBL_4: %21 = add i32 %14, 1 %22 = icmp ugt i32 %21, %arg3 br i1 %22, label LBL_31, label LBL_5 LBL_5: %23 = trunc i64 %1 to i32 %24 = icmp eq i8 %18, 3 %25 = load i32, i32* %sv_0, align 4 %26 = icmp eq i32 %25, 0 %or.cond = or i1 %24, %26 br i1 %or.cond, label LBL_13, label LBL_6 LBL_6: %27 = add i32 %14, 2 %28 = icmp ugt i32 %27, %arg3 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = bitcast i64* %arg1 to i8* %31 = call i32 (i8*, ...) @printf(i8* %30, i32 ptrtoint (i32* @gv_0 to i32)) br label LBL_13 LBL_8: %32 = inttoptr i64 %16 to i16* %33 = load i16, i16* %32, align 2 %34 = icmp eq i32 %23, 0 store i64 %15, i64* %.pre-phi17.reg2mem store i32 %14, i32* %.reg2mem br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = zext i32 %25 to i64 %36 = zext i16 %33 to i64 %37 = call i64 @FUNC(i64 %3, i32 %arg3, i64 %15, i64 %35, i64* nonnull %sv_2, i64 %36) %.pre = load i32, i32* %sv_1, align 4 %.pre16 = zext i32 %.pre to i64 store i64 %.pre16, i64* %.pre-phi17.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %.pre-phi17.reload = load i64, i64* %.pre-phi17.reg2mem %38 = add i64 %3, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = sub i64 %40, %2 %42 = trunc i64 %41 to i32 %43 = sub i32 -2, %.reload %44 = add i32 %43, %42 %45 = add i32 %arg3, -2 %46 = sub i32 %45, %.reload %47 = zext i32 %46 to i64 %48 = add i64 %2, 2 %49 = add i64 %48, %.pre-phi17.reload %50 = zext i32 %44 to i64 %51 = call i64 @FUNC(i64 %3, i16 %33, i64 %49, i64 %47, i64 %50, i64 0) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = bitcast i64* %arg1 to i8* %56 = call i32 (i8*, ...) @printf(i8* %55, i32 ptrtoint (i32* @gv_0 to i32)) br label LBL_13 LBL_12: %57 = load i32, i32* %sv_1, align 4 %58 = add i32 %57, 2 store i32 %58, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_13: %59 = load i32, i32* %sv_1, align 4 %60 = add i32 %59, 1 %61 = zext i32 %60 to i64 %62 = add i64 %61, %2 %63 = inttoptr i64 %62 to i8* %64 = load i8, i8* %63, align 1 %65 = icmp eq i8 %64, 0 %66 = icmp eq i1 %65, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %66, label LBL_14, label LBL_32 LBL_14: %67 = add i32 %59, 2 %68 = icmp ugt i32 %67, %arg3 br i1 %68, label LBL_31, label LBL_15 LBL_15: %69 = icmp eq i32 %59, 3 %70 = icmp eq i1 %69, false store i8 %64, i8* %.reg2mem19 store i32 %67, i32* %.pre-phi.reg2mem store i32 %59, i32* %.reg2mem21 br i1 %70, label LBL_17, label LBL_16 LBL_16: %71 = bitcast i64* %arg1 to i8* %72 = call i32 (i8*, ...) @printf(i8* %71) %.pre6 = load i32, i32* %sv_1, align 4 %.pre7 = add i32 %.pre6, 2 %.pre8 = add i32 %.pre6, 1 %.pre10 = zext i32 %.pre8 to i64 %.pre12 = add i64 %.pre10, %2 %.pre14 = inttoptr i64 %.pre12 to i8* %.pre18 = load i8, i8* %.pre14, align 1 store i8 %.pre18, i8* %.reg2mem19 store i32 %.pre7, i32* %.pre-phi.reg2mem store i32 %.pre6, i32* %.reg2mem21 br label LBL_17 LBL_17: %.reload20 = load i8, i8* %.reg2mem19 %73 = icmp eq i8 %.reload20, 0 %74 = icmp eq i1 %73, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %74, label LBL_18, label LBL_32 LBL_18: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %75 = icmp ugt i32 %.pre-phi.reload, %arg3 br i1 %75, label LBL_31, label LBL_19 LBL_19: %76 = icmp eq i32 %23, 0 br i1 %76, label LBL_21, label LBL_20 LBL_20: %.reload22 = load i32, i32* %.reg2mem21 %77 = load i32, i32* %sv_0, align 4 %78 = zext i32 %77 to i64 %79 = zext i32 %.reload22 to i64 %80 = zext i8 %.reload20 to i64 %81 = call i64 @FUNC(i64 %3, i32 %arg3, i64 %79, i64 %78, i64* nonnull %sv_2, i64 %80) br label LBL_21 LBL_21: %82 = zext i32 %.pre-phi.reload to i64 %83 = add i64 %82, %2 %84 = sub i32 %arg3, %.pre-phi.reload %85 = icmp eq i8 %.reload20, 3 br i1 %85, label LBL_26, label LBL_22 LBL_22: %86 = icmp ugt i8 %.reload20, 3 br i1 %86, label LBL_27, label LBL_23 LBL_23: switch i8 %.reload20, label LBL_27 [ i8 1, label LBL_24 i8 2, label LBL_25 ] LBL_24: %87 = call i64 @FUNC(i64 %3, i64 %83, i32 %84) store i32 %.pre-phi.reload, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_25: %88 = call i64 @FUNC(i64 %3, i64 %83, i32 %84) store i32 %.pre-phi.reload, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_26: %89 = call i64 @FUNC(i64 %3, i64 %83, i32 %84) store i32 %.pre-phi.reload, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_27: %90 = icmp eq i1 %76, false br i1 %90, label LBL_29, label LBL_28 LBL_28: %91 = load i32, i32* %sv_0, align 4 %92 = zext i32 %91 to i64 %93 = load i32, i32* %sv_1, align 4 %94 = zext i32 %93 to i64 %95 = zext i8 %.reload20 to i64 %96 = call i64 @FUNC(i64 %3, i32 %arg3, i64 %94, i64 %92, i64* nonnull %sv_2, i64 %95) br label LBL_29 LBL_29: %97 = add i64 %3, 8 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = icmp eq i32 %99, 0 %101 = icmp eq i1 %100, false store i32 %.pre-phi.reload, i32* %rax.0.shrunk.reg2mem br i1 %101, label LBL_32, label LBL_30 LBL_30: %102 = zext i32 %84 to i64 %103 = call i64 @FUNC(i64 %83, i64 %102) store i32 %.pre-phi.reload, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_31: %104 = bitcast i64* %arg1 to i8* %105 = call i32 (i8*, ...) @printf(i8* %104) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_32: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %84, { 3, 2, 0, 1 } uselistorder i64 %83, { 3, 2, 0, 1 } uselistorder i32 %.pre-phi.reload, { 4, 3, 2, 1, 0, 7, 6, 5 } uselistorder i8 %.reload20, { 1, 0, 2, 3, 4, 5 } uselistorder i32 %.reload, { 1, 0 } uselistorder i16 %33, { 1, 0 } uselistorder i64 %15, { 2, 0, 1 } uselistorder i32* %sv_1, { 5, 0, 4, 3, 1, 2, 6 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64 %3, { 8, 7, 6, 4, 5, 3, 2, 1, 0, 9 } uselistorder i64 %2, { 0, 1, 2, 4, 5, 3, 6 } uselistorder i64* %.pre-phi17.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i8* %.reg2mem19, { 0, 2, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem21, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 11, 5, 4, 3, 2, 1, 6, 7, 10, 8, 9 } uselistorder i32 -2, { 1, 0 } uselistorder i64 (i64, i32, i64, i64, i64*, i64)* @fr_hdr_print, { 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 4, 3, 1, 0, 2, 6, 5 } uselistorder i32 0, { 4, 7, 8, 0, 1, 9, 10, 6, 2, 3, 11, 5, 12 } uselistorder i32 %arg3, { 1, 8, 7, 2, 3, 0, 6, 4, 5, 9 } uselistorder i64* %arg1, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_32, { 8, 4, 3, 2, 1, 0, 5, 6, 9, 7, 10 } }
1
BinRealVul
vnc_update_client_1722
vnc_update_client
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.4.lcssa.reg2mem = alloca i32 %sv_0.410.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.24.reg2mem = alloca i32 %sv_1.15.reg2mem = alloca i32 %storemerge36.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, -1 br i1 %6, label LBL_21, label LBL_1 LBL_1: br i1 %8, label LBL_22, 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 eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = add i64 %2, 40 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_5, label LBL_25 LBL_5: %23 = trunc i64 %arg2 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = add i64 %2, 40 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = add i64 %2, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_25 LBL_8: %36 = call i64 @FUNC(i64 %2) %37 = add i64 %2, 16 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %2, 20 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i32 %42, -100 %44 = sub i32 99, %42 %45 = and i32 %44, %42 %46 = icmp slt i32 %45, 0 %47 = icmp eq i32 %43, 0 %48 = icmp slt i32 %43, 0 %49 = icmp eq i1 %48, %46 %50 = icmp eq i1 %47, false %51 = icmp eq i1 %49, %50 %52 = select i1 %51, i32 100, i32 %42 %53 = icmp sgt i32 %52, 0 store i32 0, i32* %sv_0.4.lcssa.reg2mem br i1 %53, label LBL_9, label LBL_20 LBL_9: %54 = add i32 %39, -100 %55 = icmp slt i32 %54, 0 %56 = sub i32 99, %39 %57 = and i32 %56, %39 %58 = icmp slt i32 %57, 0 %59 = icmp eq i1 %55, %58 %60 = icmp eq i32 %54, 0 %61 = icmp eq i1 %60, false %62 = icmp eq i1 %59, %61 %.op = sdiv i32 %39, 32768 %63 = select i1 %62, i32 0, i32 %.op %64 = zext i32 %63 to i64 %65 = icmp eq i32 %63, 0 %66 = add i64 %2, 32 %67 = inttoptr i64 %66 to i64* %68 = zext i32 %52 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.410.reg2mem br label LBL_18 LBL_10: %sv_0.24.reload = load i32, i32* %sv_0.24.reg2mem %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %69 = load i64, i64* %67, align 8 %70 = add i64 %69, %104 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = sext i32 %72 to i64 %74 = zext i32 %storemerge36.reload to i64 %75 = call i64 @FUNC(i64 %74, i64 %73) %76 = trunc i64 %75 to i32 %77 = icmp eq i32 %76, 0 %78 = icmp eq i32 %sv_1.15.reload, -1 br i1 %77, label LBL_12, label LBL_11 LBL_11: %79 = icmp eq i1 %78, false %spec.select = select i1 %79, i32 %sv_1.15.reload, i32 %storemerge36.reload store i32 %sv_0.24.reload, i32* %sv_0.1.reg2mem store i32 %spec.select, i32* %sv_1.0.reg2mem br label LBL_14 LBL_12: store i32 %sv_0.24.reload, i32* %sv_0.1.reg2mem store i32 -1, i32* %sv_1.0.reg2mem br i1 %78, label LBL_14, label LBL_13 LBL_13: %80 = call i64 @FUNC(i64 %2, i32 %105, i32 %sv_1.15.reload, i32 %storemerge36.reload, i64 %68) %81 = sub i32 %storemerge36.reload, %sv_1.15.reload %82 = mul i32 %81, 16 %83 = zext i32 %82 to i64 %84 = mul i32 %sv_1.15.reload, 16 %85 = zext i32 %84 to i64 %86 = and i64 %80, 4294967295 %87 = call i64 @FUNC(i64 %36, i64 %85, i32 %105, i64 %83, i64 %86) %88 = trunc i64 %87 to i32 %89 = add i32 %sv_0.24.reload, %88 store i32 %89, i32* %sv_0.1.reg2mem store i32 -1, i32* %sv_1.0.reg2mem br label LBL_14 LBL_14: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %90 = add i32 %storemerge36.reload, 1 %91 = sext i32 %90 to i64 %92 = icmp slt i64 %91, %64 store i32 %90, i32* %storemerge36.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.15.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.24.reg2mem br i1 %92, label LBL_10, label LBL_15 LBL_15: %93 = icmp eq i32 %sv_1.0.reload, -1 store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem br i1 %93, label LBL_17, label LBL_16 LBL_16: %94 = call i64 @FUNC(i64 %2, i32 %105, i32 %sv_1.0.reload, i32 %90, i64 %68) %95 = sub i32 %90, %sv_1.0.reload %96 = mul i32 %95, 16 %97 = zext i32 %96 to i64 %98 = mul i32 %sv_1.0.reload, 16 %99 = zext i32 %98 to i64 %100 = and i64 %94, 4294967295 %101 = call i64 @FUNC(i64 %36, i64 %99, i32 %105, i64 %97, i64 %100) %102 = trunc i64 %101 to i32 %103 = add i32 %sv_0.1.reload, %102 store i32 %103, i32* %sv_0.3.reg2mem br label LBL_17 LBL_17: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %68 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.410.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.4.lcssa.reg2mem br i1 %exitcond, label LBL_20, label LBL_18 LBL_18: %sv_0.410.reload = load i32, i32* %sv_0.410.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 %sv_0.410.reload, i32* %sv_0.3.reg2mem br i1 %65, label LBL_17, label LBL_10.lr.ph LBL_19: %104 = mul i64 %indvars.iv.reload, 4 %105 = trunc i64 %indvars.iv.reload to i32 store i32 0, i32* %storemerge36.reg2mem store i32 -1, i32* %sv_1.15.reg2mem store i32 %sv_0.410.reload, i32* %sv_0.24.reg2mem br label LBL_10 LBL_20: %sv_0.4.lcssa.reload = load i32, i32* %sv_0.4.lcssa.reg2mem %106 = call i64 @FUNC(i64 %36) %107 = add i64 %2, 8 %108 = inttoptr i64 %107 to i32* store i32 0, i32* %108, align 4 %109 = zext i32 %sv_0.4.lcssa.reload to i64 store i64 %109, i64* %rax.0.reg2mem br label LBL_25 LBL_21: %110 = icmp eq i1 %8, false br i1 %110, label LBL_23, label LBL_22 LBL_22: %111 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_23: %112 = trunc i64 %arg3 to i8 %113 = icmp eq i8 %112, 0 store i64 0, i64* %rax.0.reg2mem br i1 %113, label LBL_25, label LBL_24 LBL_24: %114 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %105, { 3, 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 1, 2, 0 } uselistorder i32 %90, { 2, 1, 0, 3 } uselistorder i32 %sv_0.1.reload, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 3, 1, 0, 2, 4 } uselistorder i1 %78, { 1, 0 } uselistorder i32 %storemerge36.reload, { 4, 2, 1, 0, 3 } uselistorder i32 %sv_1.15.reload, { 4, 2, 3, 0, 1 } uselistorder i32 %sv_0.24.reload, { 2, 0, 1 } uselistorder i32 %52, { 1, 0 } uselistorder i32 %43, { 1, 0 } uselistorder i32 %42, { 2, 0, 1, 3 } uselistorder i1 %8, { 1, 0 } uselistorder i64 %2, { 13, 12, 2, 3, 4, 5, 6, 8, 7, 1, 0, 11, 10, 9, 14 } uselistorder i32* %storemerge36.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.15.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.24.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.3.reg2mem, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 6, 4, 5 } uselistorder i32 99, { 1, 0 } uselistorder i32 -100, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2, 4, 5, 6, 7, 8 } uselistorder i32 -1, { 2, 5, 0, 1, 4, 3 } uselistorder i32 0, { 7, 2, 6, 1, 4, 3, 12, 13, 11, 0, 5, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20 } uselistorder label LBL_25, { 2, 1, 0, 5, 3, 4 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_14, { 2, 1, 0 } }
0
BinRealVul
squashfs_put_super_3957
squashfs_put_super
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %2, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %2, i64 %14) %16 = add i64 %2, 32 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %2, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %2, 48 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %2, 56 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i64 %30) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %33 = call i64 @FUNC() ret i64 %33 uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 (i64)* @kfree, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @squashfs_cache_delete, { 2, 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
get_max_cost_18297
get_max_cost
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false %6 = trunc i64 %1 to i32 store i32 %6, i32* %rax.0.shrunk.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 2 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, %6 store i32 %16, i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_3: %17 = icmp eq i32 %10, 3 %. = sext i1 %17 to i32 store i32 %., i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %6, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
hash2metafield_9936
hash2metafield
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i64 %arg2, 0 %or.cond = or i1 %2, %3 br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 35 store i64 35, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = inttoptr i64 %arg1 to i8* %7 = call i8* @strchr(i8* %6, i32 58) %8 = ptrtoint i8* %7 to i64 %9 = icmp eq i8* %7, null %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %arg1) %12 = call i64 @FUNC(i64 %11, i64 %arg2, i64 %arg3) %13 = inttoptr i64 %11 to i64* call void @free(i64* %13) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
fio_signal_handler_setup_7068
fio_signal_handler_setup
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %rax.0.reg2mem br i1 %3, label LBL_9, label LBL_1 LBL_1: %4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 152) store i64 4198773, i64* %sv_1, align 8 %5 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t* %6 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* nonnull %5) %7 = bitcast i64* %sv_1 to %sigaction* %8 = call i32 @sigaction(i32 2, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_1 to %sigaction*)) %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_3: %10 = call i32 @sigaction(i32 15, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_3 to %sigaction*)) %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_5: %12 = call i32 @sigaction(i32 10, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_4 to %sigaction*)) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_7, label LBL_6 LBL_6: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_7: store i64 1, i64* %sv_1, align 8 %14 = call i32 @sigaction(i32 13, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_5 to %sigaction*)) %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_9, label LBL_8 LBL_8: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1, { 2, 0, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1, 6 } uselistorder i64 ptrtoint (i32* @0 to i64), { 3, 2, 1, 0 } uselistorder void (i8*)* @perror, { 3, 2, 1, 0 } uselistorder i32 (i32, %sigaction*, %sigaction*)* @sigaction, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 0, { 0, 2, 3, 1, 4, 5 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 5, 0 } }
0
BinRealVul
sock_def_error_report_10257
sock_def_error_report
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2, i64 1) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0, i64 3, i64 2) %8 = call i64 @FUNC() ret i64 %8 uselistorder i64 1, { 1, 0 } }
0
BinRealVul
parse_opus_ts_header_14556
parse_opus_ts_header
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg3 to i32 %4 = add i64 %2, 1 %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %4, i32 %3) %6 = call i64 @FUNC(i64* nonnull %sv_0) %7 = bitcast i64* %arg2 to i32* store i32 0, i32* %7, align 4 %8 = trunc i64 %1 to i32 br label LBL_1 LBL_1: %9 = call i64 @FUNC(i64* nonnull %sv_0) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, -1 %12 = call i64 @FUNC(i64* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = urem i32 %13, 256 %15 = add i32 %14, %8 store i32 %15, i32* %7, align 4 br i1 %11, label LBL_1, label LBL_2 LBL_2: %16 = and i64 %6, 16 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 2) br label LBL_4 LBL_4: %19 = and i64 %6, 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 2) br label LBL_6 LBL_6: %22 = and i64 %6, 4 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = call i64 @FUNC(i64* nonnull %sv_0) %25 = urem i64 %24, 256 %26 = call i64 @FUNC(i64* nonnull %sv_0, i64 %25) br label LBL_8 LBL_8: %27 = call i64 @FUNC(i64* nonnull %sv_0) %sext = mul i64 %27, 4294967296 %28 = ashr exact i64 %sext, 32 %29 = add i64 %28, %4 ret i64 %29 uselistorder i64* %sv_0, { 0, 1, 2, 3, 4, 6, 5, 7, 8 } uselistorder i64 (i64*, i64)* @bytestream2_skip, { 2, 1, 0 } uselistorder i64 (i64*)* @bytestream2_get_byte, { 2, 1, 0 } }
1
BinRealVul
pl041_device_class_init_3596
pl041_device_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, 32 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = or i32 %3, 2 store i32 %4, i32* %2, align 4 %5 = bitcast i64* %arg1 to i8* store i8 1, i8* %5, align 1 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 4198669, i64* %7, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %9, align 8 %10 = load i64, i64* @gv_1, align 8 %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
BinRealVul
cn_del_callback_7041
cn_del_callback
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %2 }
0
BinRealVul
ogg_read_seek_5407
ogg_read_seek
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = ashr exact i64 %sext, 30 %9 = inttoptr i64 %4 to i32* %10 = load i32, i32* %9, align 4 %11 = sub i32 %1, %10 %12 = xor i32 %10, %1 %13 = xor i32 %11, %1 %14 = and i32 %13, %12 %15 = icmp slt i32 %14, 0 %16 = icmp slt i32 %11, 0 %17 = icmp ne i1 %16, %15 %18 = zext i1 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC(i64 %4) %21 = add i64 %0, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = ashr exact i64 %sext, 29 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_3, label LBL_1 LBL_1: %34 = urem i64 %arg4, 2 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_3, label LBL_2 LBL_2: %37 = add i64 %7, %8 %38 = inttoptr i64 %37 to i32* store i32 1, i32* %38, align 4 br label LBL_3 LBL_3: %39 = trunc i64 %arg4 to i32 %40 = call i64 @FUNC(i64 %0, i32 %1, i64 %arg3, i32 %39) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = load i64, i64* %6, align 8 %45 = add i64 %44, %8 %46 = inttoptr i64 %45 to i32* store i32 0, i32* %46, align 4 br label LBL_5 LBL_5: %47 = and i64 %40, 4294967295 ret i64 %47 uselistorder i32 %11, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32 %1, { 2, 0, 1, 3 } uselistorder i64 %arg4, { 1, 0 } }
0
BinRealVul
url_box_read_12394
url_box_read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = icmp eq i64 %6, 0 %10 = icmp eq i1 %9, false store i64 1, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = bitcast i64* %rdi to i32* %13 = load i32, i32* %12, align 8 %14 = call i64 @FUNC(i64 %11, i64 %6, i32 %13) 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 %6, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
log_flush_13655
log_flush
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32* %0 = trunc i64 %arg1 to i32 %1 = load i32, i32* @gv_0, align 4 %2 = zext i32 %1 to i64 %3 = call i64 @FUNC(i64 %2) store i32 %0, i32* bitcast (i64* @gv_1 to i32*), align 8 %4 = icmp eq i32 %0, 0 br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32*, i32** @gv_2, align 8 %9 = icmp eq i32* %8, null %10 = icmp eq i1 %9, false store i32* %8, i32** %.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %.reload = load i32*, i32** %.reg2mem %11 = ptrtoint i32* %.reload to i64 %12 = add i64 %11, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i32* store i32* %15, i32** @gv_2, align 8 %16 = add i64 %11, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %11, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %11, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %11, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = load i32, i32* %.reload, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29, i32 %27, i64 %24, i32 %21, i64 %18) %31 = call i64 @FUNC(i64 %11) %32 = load i32*, i32** @gv_2, align 8 %33 = icmp eq i32* %32, null %34 = icmp eq i1 %33, false store i32* %32, i32** %.reg2mem br i1 %34, label LBL_2, label LBL_3 LBL_3: store i64 0, i64* @gv_3, align 8 store i32* null, i32** @gv_2, align 8 %35 = load i32, i32* @gv_4, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) br label LBL_4 LBL_4: %38 = load i32, i32* @gv_0, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39) ret i64 %40 uselistorder i64 %11, { 5, 4, 3, 2, 1, 0 } uselistorder i32* %.reload, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i32** %.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @CRYPTO_THREAD_unlock, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32* null, { 1, 2, 0, 3 } uselistorder i32** @gv_2, { 3, 2, 1, 0 } uselistorder i64 (i64)* @CRYPTO_THREAD_write_lock, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qio_channel_websock_source_check_626
qio_channel_websock_source_check
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %.pre3 = add i64 %arg1, 8 %.pre = inttoptr i64 %.pre3 to i32* %.pre4.pre = load i32, i32* %.pre, align 4 %1 = or i32 %.pre4.pre, %0 %2 = icmp eq i32 %1, 0 %3 = select i1 %2, i32 0, i32 %.pre4.pre %not. = icmp ne i1 %2, true %sv_0.0 = zext i1 %not. to i32 %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp sgt i32 %6, 1023 %8 = or i32 %sv_0.0, 2 %spec.select = select i1 %7, i32 %sv_0.0, i32 %8 %9 = and i32 %spec.select, %3 %10 = zext i32 %9 to i64 ret i64 %10 uselistorder i32 %.pre4.pre, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
fw_send_response_18098
fw_send_response
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %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 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 1 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %arg3 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %6, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %6, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %6, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %13 to i64 %21 = zext i32 %19 to i64 %22 = call i64 @FUNC(i64 %17, i64 %21, i32 %8, i64 %16, i64 %20) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %23 = add i64 %6, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %23, i64 %26, i32 %8, i64 0, i64 0) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 0, 3, 1, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i32, i64, i64)* @fw_fill_response, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
rdbSaveDoubleValue_5323
rdbSaveDoubleValue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.reg2mem = alloca i32 %1 = load i128, i128* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %2 = ptrtoint i64* %sv_3 to i64 %3 = add i64 %2, -176 %4 = trunc i64 %3 to i8 %5 = call i8 @llvm.ctpop.i8(i8 %4), !range !4 %6 = urem i8 %5, 2 %7 = icmp eq i8 %6, 0 %8 = call i64 @FUNC(i128 %1) %9 = call i128 @__asm_movsd.1(i64 %8) call void @FUNC(i128 %9, i64 %8) %10 = icmp eq i1 %7, false br i1 %10, label LBL_2, label LBL_1 LBL_1: store i32 -3, i32* %sv_2, align 4 store i32 1, i32* %sv_0.0.reg2mem br label LBL_7 LBL_2: %11 = sext i64 %8 to i128 %12 = icmp ult i64* %sv_3, inttoptr (i64 176 to i64*) %13 = call i128 @__asm_movsd.1(i64 %8) %14 = call i128 @FUNC(i64 9223372036854775807) %15 = call i128 @FUNC(i128 %14, i128 %13) %16 = call i128 @__asm_movsd.1(i64 9218868437227405311) call void @__asm_ucomisd.2(i128 %16, i128 %15) %17 = icmp eq i1 %12, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i128 @FUNC(i128 %16, i128 %16) call void @FUNC(i128 %18, i128 %11) store i32 -2, i32* %sv_2, align 4 store i32 1, i32* %sv_0.0.reg2mem br label LBL_7 LBL_4: %19 = icmp eq i64 %3, 0 %20 = call i128 @__asm_movsd.1(i64 -4382002437431492610) %21 = call i64 @FUNC(i128 %20) %22 = call i128 @__asm_movsd.1(i64 4841369599423283200) %23 = call i64 @FUNC(i128 %22) %24 = call i128 @__asm_movsd.1(i64 %8) %25 = sext i64 %21 to i128 call void @FUNC(i128 %24, i128 %25) br i1 %19, label LBL_6, label LBL_5 LBL_5: %26 = call i128 @__asm_movsd.1(i64 %23) call void @FUNC(i128 %26, i128 %11) %27 = call i128 @__asm_movsd.1(i64 %8) %28 = call i64 @FUNC(i128 %27) %29 = call i128 @FUNC(i128 %27, i128 %27) %30 = call i128 @FUNC(i64 %28) call void @FUNC(i128 %30, i64 %8) call void @FUNC(i128 %30, i64 %8) br label LBL_6 LBL_6: %31 = call i128 @FUNC(i64 %8) %32 = bitcast i64* %sv_1 to i8* %33 = trunc i128 %31 to i64 %34 = bitcast i64 %33 to double %35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %32, i32 127, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), double %34) %36 = call i32 @strlen(i8* nonnull %32) %sext3 = mul i32 %36, 16777216 %37 = ashr exact i32 %sext3, 24 store i32 %37, i32* %sv_2, align 4 %38 = urem i32 %37, 256 %39 = add nuw nsw i32 %38, 1 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %40 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %41 = bitcast i32* %sv_2 to i8* %42 = call i64 @FUNC(i64 %40, i8* nonnull %41, i32 %sv_0.0.reload) ret i64 %42 uselistorder i128 %27, { 2, 1, 0 } uselistorder i128 %16, { 1, 0, 2 } uselistorder i64 %8, { 0, 1, 2, 3, 4, 5, 8, 6, 7 } uselistorder i32* %sv_2, { 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
get_slot_from_bitmask_8248
get_slot_from_bitmask
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %1, 4294967295 %3 = trunc i64 %1 to i32 %4 = trunc i64 %0 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = icmp eq i64 %indvars.iv.reload, 0 %7 = trunc i64 %indvars.iv.reload to i32 %8 = lshr i32 %3, %7 %9 = zext i32 %8 to i64 %rdx.0 = select i1 %6, i64 %1, i64 %9 %10 = urem i64 %rdx.0, 2 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %indvars.iv.reload, i64* nonnull @gv_0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %or.cond = or i1 %5, %15 store i64 %indvars.iv.reload, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_3, label LBL_4 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %16 = icmp ult i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %2, i64* %storemerge.reg2mem br i1 %16, label LBL_1, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
WindowXI2MaskIsset_8945
WindowXI2MaskIsset
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %arg2, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %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 0, i64* %storemerge.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = and i64 %arg1, 4294967295 %11 = trunc i64 %1 to i32 %12 = inttoptr i64 %3 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 %10, i32 %11) store i64 %14, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
arm_pmu_acpi_probe_4527
arm_pmu_acpi_probe
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %rcx.115.reg2mem = alloca i64 %sv_0.116.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.116.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %rcx.115.reload = load i64, i64* %rcx.115.reg2mem %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = call i64 @FUNC(i64* nonnull @gv_1, i64 %indvars.iv.reload) %6 = icmp eq i64 %5, 0 store i64 %rcx.115.reload, i64* %rcx.0.reg2mem store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem br i1 %6, label LBL_9, label LBL_2 LBL_2: %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %rcx.115.reload, i64* %rcx.0.reg2mem store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem br i1 %10, label LBL_9, label LBL_3 LBL_3: %11 = trunc i64 %5 to i32 store i64 %rcx.115.reload, i64* %rcx.0.reg2mem store i32 %sv_0.116.reload, i32* %sv_0.0.reg2mem switch i32 %11, label LBL_4 [ i32 -19, label LBL_9 i32 0, label LBL_5 ] LBL_4: %12 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv.reload, i64 %arg1, i64 %rcx.115.reload, i64 %2, i64 %1) store i64 %5, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_5: %13 = zext i32 %sv_0.116.reload to i64 %14 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64 %13, i64 %2, i64 %1) store i64 %14, i64* %7, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i64 %indvars.iv.reload, i64 %5, i64 %13, i64 %2, i64 %1) store i64 4294967284, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_7: %18 = add i32 %sv_0.116.reload, 1 %19 = call i64 @FUNC(i64 %5) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %13, i64* %rcx.0.reg2mem store i32 %18, i32* %sv_0.0.reg2mem br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i64 %indvars.iv.reload, i64 %5, i64 %13, i64 %2, i64 %1) %23 = load i64, i64* %7, align 8 %24 = call i64 @FUNC(i64 %23) store i64 %19, i64* %rax.0.shrunk.reg2mem br label LBL_10 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %25 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem store i64 %rcx.0.reload, i64* %rcx.115.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %25, label LBL_1, label LBL_10 LBL_10: %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 %13, { 1, 0, 2, 3 } uselistorder i64 %5, { 1, 3, 2, 0, 4, 5, 6 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 4, 1 } uselistorder i32 %sv_0.116.reload, { 3, 4, 0, 1, 2 } uselistorder i64 %rcx.115.reload, { 3, 0, 1, 2 } uselistorder i64 %2, { 2, 1, 3, 0 } uselistorder i64 %1, { 2, 1, 3, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.116.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.115.reg2mem, { 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 5, 4, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_warn, { 2, 1, 0 } uselistorder i32 0, { 3, 1, 0, 4, 2 } uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 13, 12, 3, 1, 14, 2, 0 } uselistorder label LBL_10, { 0, 2, 3, 4, 1 } uselistorder label LBL_9, { 3, 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
graphicsGetFromVar_12369
graphicsGetFromVar
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 40 %3 = inttoptr i64 %2 to i64* store i64 %0, i64* %3, align 8 %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_2: %7 = call i64 @FUNC(i64 %4, i64 %1, i64 5) %8 = call i64 @FUNC(i64 %4) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* store i64 4198866, i64* %10, align 8 %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* store i64 4198873, i64* %12, align 8 %13 = add i64 %1, 24 %14 = inttoptr i64 %13 to i64* store i64 4198880, i64* %14, align 8 %15 = add i64 %1, 32 %16 = inttoptr i64 %15 to i64* store i64 4198887, i64* %16, align 8 %17 = bitcast i64* %rdi to i32* %18 = load i32, i32* %17, align 8 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_4: %22 = icmp eq i32 %18, 2 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_6: %25 = icmp eq i32 %18, 3 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_8: %28 = icmp eq i32 %18, 5 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_10: %31 = icmp eq i32 %18, 6 %32 = icmp eq i1 %31, false br i1 %32, label LBL_12, label LBL_11 LBL_11: %33 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_12: %34 = call i64 @FUNC(i64 7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0)) call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i32 102, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0)) store i64 1, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 4, 3, 2, 1, 0, 5, 6, 7, 9, 8, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 1, { 5, 4, 3, 2, 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder label LBL_13, { 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
r_cons_hud_path_4192
r_cons_hud_path
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i8* %sv_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 store i64 %arg1, i64* %sv_2.0.reg2mem br label LBL_1 LBL_1: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %5 = inttoptr i64 %sv_2.0.reload to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 32 %8 = add i64 %sv_2.0.reload, 1 store i64 %8, i64* %sv_2.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %9 = icmp ne i64 %sv_2.0.reload, 0 %10 = icmp eq i8 %6, 0 %11 = icmp eq i1 %10, false %or.cond = icmp eq i1 %9, %11 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %12 = call i8* @strdup(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) store i8* %12, i8** %storemerge2.in.reg2mem br label LBL_5 LBL_4: %13 = call i8* @strdup(i8* %5) store i8* %13, i8** %storemerge2.in.reg2mem br label LBL_5 LBL_5: %storemerge2.in.reload = load i8*, i8** %storemerge2.in.reg2mem %storemerge2 = ptrtoint i8* %storemerge2.in.reload to i64 %14 = call i64 @FUNC(i64 %storemerge2) %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_10, label LBL_6 LBL_6: %16 = call i64 @FUNC(i64 %14, i64 %storemerge2) %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_7, label LBL_8 LBL_7: %18 = call i64 @FUNC(i64 %14) store i64 %storemerge2, i64* %sv_0.14.reg2mem br label LBL_12 LBL_8: %19 = call i64 @FUNC(i64 %storemerge2, i64* nonnull @gv_1) %20 = inttoptr i64 %16 to i64* %21 = call i64 @FUNC(i64 %19, i64* %20) %22 = call i64 @FUNC(i64 %21) %23 = inttoptr i64 %21 to i64* call void @free(i64* %23) %24 = call i64 @FUNC(i64 %22) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 %22, i64* %sv_1.0.reg2mem br i1 %26, label LBL_11, label LBL_9 LBL_9: %27 = and i64 %arg2, 4294967295 %28 = call i64 @FUNC(i64 %22, i64 %27) %29 = inttoptr i64 %22 to i64* call void @free(i64* %29) store i64 %28, i64* %sv_1.0.reg2mem br label LBL_11 LBL_10: %30 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i64 %storemerge2, i64* %sv_0.14.reg2mem br label LBL_12 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %31 = call i64 @FUNC(i64 %14) %32 = icmp eq i64 %sv_1.0.reload, 0 %33 = icmp eq i1 %32, false store i64 %sv_1.0.reload, i64* %sv_0.14.reg2mem store i64 %sv_1.0.reload, i64* %storemerge.reg2mem br i1 %33, label LBL_13, label LBL_12 LBL_12: %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %34 = inttoptr i64 %sv_0.14.reload to i64* call void @free(i64* %34) store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %22, { 2, 1, 0, 3 } uselistorder i64 %14, { 1, 0, 2, 3 } uselistorder i64 %storemerge2, { 1, 2, 0, 3, 4 } uselistorder i64 %sv_2.0.reload, { 2, 0, 1 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i8** %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.14.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64*)* @r_str_concat, { 1, 0 } uselistorder i64 (i64)* @r_list_free, { 1, 0 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 0, 2, 1 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 9, 2, 0, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 2, 1, 0 } uselistorder label LBL_11, { 1, 0 } }
0
BinRealVul
print_drive_14482
print_drive
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = bitcast i64* %arg3 to i8* %8 = trunc i64 %arg4 to i32 %9 = inttoptr i64 %6 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %7, i32 %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* %9) %11 = sext i32 %10 to i64 ret i64 %11 }
1
BinRealVul
ohci_eof_timer_needed_15689
ohci_eof_timer_needed
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false %3 = zext i1 %2 to i64 %4 = and i64 %0, -256 %5 = or i64 %4, %3 ret i64 %5 }
1
BinRealVul
qsb_clone_15615
qsb_clone
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %rdi.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 0, i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i64 0, i64* %storemerge3.reg2mem store i64 0, i64* %rdi.02.reg2mem store i64 0, i64* %sv_0.01.reg2mem store i64 %1, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %8 = mul i64 %storemerge3.reload, 16 %9 = add i64 %8, %rdi.02.reload %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %9 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %1, i64 %14, i64 %sv_0.01.reload, i64 %12) %16 = icmp slt i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %19 = add i64 %15, %sv_0.01.reload %20 = add nuw i64 %storemerge3.reload, 1 %21 = load i64, i64* %5, align 8 %22 = icmp ult i64 %20, %21 store i64 %20, i64* %storemerge3.reg2mem store i64 %1, i64* %rdi.02.reg2mem store i64 %19, i64* %sv_0.01.reg2mem store i64 %1, i64* %rax.0.reg2mem br i1 %22, label LBL_2, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.01.reload, { 1, 0 } uselistorder i64* %5, { 1, 0 } uselistorder i64 %1, { 0, 2, 3, 4, 1, 5 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32 1, { 3, 2, 1, 0, 4, 5, 8, 7, 6 } uselistorder label LBL_5, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nfs_file_release_18053
nfs_file_release
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) br label LBL_2 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) ret i64 %9 uselistorder i64 %9, { 1, 0 } }
1
BinRealVul
render_line_1770
render_line
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_1.115.reg2mem = alloca i64 %sv_0.116.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %2 = trunc i64 %arg2 to i32 %sext6 = mul i64 %arg2, 4294967296 %3 = trunc i64 %arg3 to i32 %sext7 = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext7, 32 %5 = trunc i64 %arg4 to i32 %6 = sub i32 %5, %2 %7 = sub i32 %3, %1 %8 = sub i32 0, %6 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false %11 = select i1 %10, i32 %8, i32 %6 %12 = icmp slt i32 %6, 0 %13 = icmp eq i1 %12, false %14 = select i1 %13, i32 1, i32 -1 %15 = ashr exact i64 %sext, 30 %16 = add i64 %15, %0 %17 = ashr exact i64 %sext6, 30 %18 = add i64 %17, ptrtoint (i32** @gv_0 to i64) %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = call i128 @FUNC(i32 %20) %22 = call i64 @__asm_movss.1(i128 %21) %23 = trunc i64 %22 to i32 %24 = inttoptr i64 %16 to i32* store i32 %23, i32* %24, align 4 %25 = mul i32 %11, 2 %26 = zext i32 %25 to i64 %27 = sext i32 %7 to i64 %28 = icmp slt i64 %27, %26 br i1 %28, label LBL_2, label LBL_1 LBL_1: %29 = and i64 %arg1, 4294967295 %30 = trunc i64 %4 to i32 %31 = zext i32 %7 to i64 %32 = zext i32 %11 to i64 %33 = call i64 @FUNC(i64 %29, i32 %2, i32 %30, i32 %14, i64 %32, i64 %31, i64 %0) store i64 %33, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %34 = add i32 %1, 1 %35 = trunc i64 %4 to i32 %36 = icmp slt i32 %34, %35 store i32 %34, i32* %.lcssa.in.reg2mem br i1 %36, label LBL_3, label LBL_7 LBL_3: %37 = ashr i32 %6, 31 %38 = zext i32 %6 to i64 %39 = zext i32 %37 to i64 %40 = mul i64 %39, 4294967296 %41 = or i64 %40, %38 %42 = zext i32 %7 to i64 %43 = sdiv i64 %41, %42 %44 = trunc i64 %43 to i32 %45 = sub i32 0, %44 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false %48 = select i1 %47, i32 %45, i32 %44 %49 = mul i32 %48, %7 %50 = sub i32 %11, %49 %51 = sub i32 0, %7 %sext11 = mul i64 %arg2, 72057594037927936 %52 = ashr exact i64 %sext11, 56 %53 = zext i32 %14 to i64 %54 = sext i32 %34 to i64 store i64 %54, i64* %indvars.iv.reg2mem store i32 %34, i32* %.in.reg2mem store i32 %51, i32* %sv_0.116.reg2mem store i64 %52, i64* %sv_1.115.reg2mem br label LBL_4 LBL_4: %sv_1.115.reload = load i64, i64* %sv_1.115.reg2mem %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %55 = add i64 %sv_1.115.reload, %43 %sext12 = mul i64 %55, 72057594037927936 %56 = ashr exact i64 %sext12, 56 %57 = add i32 %sv_0.116.reload, %50 %58 = icmp slt i32 %57, 0 store i64 %56, i64* %sv_1.0.reg2mem store i32 %57, i32* %sv_0.0.reg2mem br i1 %58, label LBL_6, label LBL_5 LBL_5: %59 = sub i32 %57, %7 %60 = add nsw i64 %56, %53 %sext13 = mul i64 %60, 72057594037927936 %61 = ashr exact i64 %sext13, 56 store i64 %61, i64* %sv_1.0.reg2mem store i32 %59, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %62 = mul i64 %indvars.iv.reload, 4 %63 = add i64 %62, %0 %64 = mul i64 %sv_1.0.reload, 4 %65 = and i64 %64, 1020 %66 = add nuw nsw i64 %65, 4210784 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = call i128 @FUNC(i32 %68) %70 = call i64 @__asm_movss.1(i128 %69) %71 = trunc i64 %70 to i32 %72 = inttoptr i64 %63 to i32* store i32 %71, i32* %72, align 4 %73 = add i32 %.in.reload, 1 %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i32 %73, %35 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %73, i32* %.in.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.115.reg2mem store i32 %35, i32* %.lcssa.in.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32 %57, { 1, 0, 2 } uselistorder i64 %56, { 1, 0 } uselistorder i32 %34, { 1, 2, 0, 3 } uselistorder i32 %11, { 1, 2, 0 } uselistorder i32 %7, { 1, 2, 0, 4, 5, 3 } uselistorder i32 %6, { 1, 0, 4, 2, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.116.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.115.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 0, 3, 1, 2, 4, 5, 6 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 4294967296, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
rt2800_load_firmware_3748
rt2800_load_firmware
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i64 0, i64 0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967280, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_13 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 8) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0, i64 9) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = bitcast i32* %sv_0 to i64* %16 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %15) %17 = call i64 @FUNC(i64* nonnull %15, i64 112, i64 1) %18 = call i64 @FUNC(i64* nonnull %15, i64 128, i64 1) %19 = load i32, i32* %sv_0, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %0, i64 1, i64 %20) br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0, i64 2, i64 2) br label LBL_6 LBL_6: %23 = ptrtoint i64* %arg2 to i64 %24 = bitcast i32* %sv_0 to i64* %25 = call i64 @FUNC(i64 %0, i64 3, i64* nonnull %24) %26 = call i64 @FUNC(i64* nonnull %24, i64 16, i64 0) %27 = call i64 @FUNC(i64* nonnull %24, i64 32, i64 0) %28 = call i64 @FUNC(i64* nonnull %24, i64 48, i64 0) %29 = call i64 @FUNC(i64* nonnull %24, i64 64, i64 0) %30 = call i64 @FUNC(i64* nonnull %24, i64 80, i64 1) %31 = load i32, i32* %sv_0, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %0, i64 3, i64 %32) %34 = call i64 @FUNC(i64 %0, i64 %23, i64 %arg3) store i32 0, i32* %storemerge3.reg2mem br label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %0, i64 4, i64* nonnull %24) %36 = load i32, i32* %sv_0, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37, i64 96) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_8 LBL_8: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %42 = call i64 @FUNC(i64 1) %43 = add nuw nsw i32 %storemerge3.reload, 1 %44 = icmp ult i32 %43, 100 store i32 %43, i32* %storemerge3.reg2mem br i1 %44, label LBL_7, label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967280, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %46 = call i64 @FUNC(i64 %0, i64 5, i64 0) %47 = call i64 @FUNC(i64 %0, i64 6, i64 0) %48 = call i64 @FUNC(i64 %0) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_12, label LBL_11 LBL_11: %51 = call i64 @FUNC(i64 %0, i64 7, i64 0) br label LBL_12 LBL_12: %52 = call i64 @FUNC(i64 1) store i64 0, 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 i32* %sv_0, { 2, 1, 4, 0, 3 } uselistorder i64 %0, { 5, 8, 7, 6, 9, 10, 12, 11, 13, 1, 2, 3, 0, 4, 14, 15, 16 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @msleep, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @rt2x00_set_field32, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64*)* @rt2800_register_read, { 2, 1, 0 } uselistorder i64 1, { 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 } uselistorder i64 (i64, i64)* @rt2x00_rt, { 1, 0 } uselistorder i64 4294967280, { 1, 0 } uselistorder i64 (i64, i64, i64)* @rt2800_register_write, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
trace_event_iter_next_1473
trace_event_iter_next
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %arg1 to i32* %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = trunc i64 %1 to i32 %sext = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext, 29 %8 = add i64 %7, ptrtoint (i64* @gv_0 to i64) %9 = inttoptr i64 %8 to i64* %10 = icmp slt i32 %6, 10 %11 = add i32 %6, 1 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_3 LBL_1: %12 = load i64, i64* %9, align 8 store i32 %11, i32* %3, align 4 %13 = load i64, i64* %5, align 8 %14 = icmp eq i64 %13, 0 store i64 %12, i64* %storemerge.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %12) %16 = load i64, i64* %5, align 8 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = trunc i64 %17 to i32 %19 = icmp ne i32 %18, 0 %.not1 = icmp ne i1 %10, true %brmerge = or i1 %19, %.not1 %.mux = select i1 %19, i64 %12, i64 0 store i64 %.mux, i64* %storemerge.reg2mem br i1 %brmerge, label LBL_3, label LBL_1 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i1 %19, { 1, 0 } uselistorder i64 %12, { 1, 2, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } }
0
BinRealVul
virtio_rng_device_realize_22
virtio_rng_device_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %3 = trunc i64 %1 to i32 %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(i64 %2, i64 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) store i64 %6, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 2) %14 = call i64 @FUNC(i64 %13) %15 = add i64 %7, 16 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = call i64 @FUNC(i64 %14) %18 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0) %19 = load i64, i64* %sv_0, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %2, i64 %19) %22 = load i64, i64* %16, align 8 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %25 = load i64, i64* %16, align 8 %26 = call i64 @FUNC(i64 %25) %27 = call i64 @FUNC(i64 %7) %28 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 0) %29 = load i64, i64* %16, align 8 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %30) %32 = load i64, i64* %16, align 8 %33 = call i64 @FUNC(i64 %32) %34 = call i64 @FUNC(i64 %7) %35 = call i64 @FUNC(i64 %34, i64 %33, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 0) br label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 3, i64 0) %37 = load i64, i64* %9, align 8 %38 = add i64 %7, 40 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = icmp eq i64 %37, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_8, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0)) store i64 %42, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %43 = bitcast i64* %rdi to i32* %44 = call i64 @FUNC(i64 %7, i64 8, i64 4199032) %45 = add i64 %7, 32 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = add i64 %7, 24 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %7, 48 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = call i64 @FUNC(i64 0, i64 4199039, i64 %7) %53 = add i64 %7, 56 %54 = inttoptr i64 %53 to i64* store i64 %52, i64* %54, align 8 %55 = call i64 @FUNC(i64 0) %56 = load i32, i32* %43, align 8 %57 = trunc i64 %55 to i32 %58 = add i32 %56, %57 %59 = load i64, i64* %54, align 8 %60 = zext i32 %58 to i64 %61 = call i64 @FUNC(i64 %59, i64 %60) %62 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 4294967295, i64 1, i64 4199010, i64 4199021) store i64 %62, 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* %16, { 2, 1, 3, 0, 4 } uselistorder i64 %7, { 3, 5, 4, 7, 6, 8, 9, 10, 11, 0, 1, 2, 12 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @object_unref, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i8*)* @error_set, { 1, 0 } }
1
BinRealVul
qed_commit_l2_update_15207
qed_commit_l2_update
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) %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %3, i64 %5) store i64 %6, i64* %arg1, align 8 %7 = icmp eq i64 %3, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %9 = and i64 %arg2, 4294967295 %10 = call i64 @FUNC(i64 %2, i64 %9) ret i64 %10 uselistorder i64 4294967295, { 1, 0 } }
1
BinRealVul
bdrv_open_backing_file_2498
bdrv_open_backing_file
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i8, align 1 %1 = add i64 %0, 8200 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %arg2) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %6 = icmp eq i64 %arg2, 0 %7 = icmp eq i1 %6, false store i64 %arg2, i64* %sv_1.0.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC() store i64 %8, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = add i64 %0, 8192 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = and i32 %11, -2 store i32 %12, i32* %10, align 4 %13 = bitcast i64* %rdi to i8* %14 = load i8, i8* %13, align 8 %15 = icmp eq i8 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %sv_1.0.reload) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %22 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %22, i64* %2, align 8 %23 = bitcast i8* %sv_2 to i64* %24 = call i64 @FUNC(i64 %0, i64* nonnull %23, i64 4096) %25 = add i64 %0, 4096 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = call i64 @FUNC(i64 %25) store i64 %29, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = load i32, i32* %10, align 4 %31 = and i32 %30, -7 %32 = load i8, i8* %sv_2, align 1 %33 = icmp eq i8 %32, 0 %34 = ptrtoint i8* %sv_2 to i64 %storemerge = select i1 %33, i64 0, i64 %34 %35 = load i64, i64* %2, align 8 %36 = call i64 @FUNC(i64 %35, i64 %storemerge, i64 %sv_1.0.reload, i32 %31, i64 %sv_0.0.reload) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = load i64, i64* %2, align 8 %41 = call i64 @FUNC(i64 %40) store i64 0, i64* %2, align 8 %42 = load i32, i32* %10, align 4 %43 = or i32 %42, 1 store i32 %43, i32* %10, align 4 %44 = and i64 %36, 4294967295 store i64 %44, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %10, { 1, 0, 2, 3, 4 } uselistorder i64 %sv_1.0.reload, { 0, 2, 1 } uselistorder i64* %2, { 1, 0, 2, 3, 4 } uselistorder i8* %sv_2, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4096, { 1, 0 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3 } }
0
BinRealVul
snd_hdsp_interrupt_4665
snd_hdsp_interrupt
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = trunc i64 %3 to i32 %5 = and i32 %4, 14 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_18, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i64 16, i64 0) %8 = call i64 @FUNC(i64 %2, i64 32) %9 = call i64 @FUNC(i64 %2, i64 64) %10 = trunc i64 %1 to i8 %11 = icmp sgt i8 %10, -1 %12 = icmp eq i1 %11, false store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_18 LBL_2: %13 = and i32 %4, 2 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_7, label LBL_3 LBL_3: %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) br label LBL_5 LBL_5: %26 = add i64 %2, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %32, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) br label LBL_7 LBL_7: %38 = and i32 %4, 4 %39 = icmp eq i32 %38, 0 %40 = urem i64 %8, 256 %41 = icmp eq i64 %40, 0 %or.cond = or i1 %39, %41 store i32 0, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_8 LBL_8: %42 = add i64 %2, 24 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = add i64 %2, 28 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = and i32 %48, -257 store i32 %49, i32* %47, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %2, i64 1, i64 %50) %52 = add i64 %2, 32 %53 = inttoptr i64 %52 to i32* store i32 1, i32* %53, align 4 store i32 1, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %54 = add i64 %2, 32 %55 = call i64 @FUNC(i64 %54) store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %56 = add i64 %2, 40 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 1024 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %59, label LBL_16, label LBL_12 LBL_12: %60 = and i32 %4, 8 %61 = icmp eq i32 %60, 0 %62 = icmp eq i32 %58, 2048 %or.cond3 = or i1 %61, %62 %63 = urem i64 %9, 256 %64 = icmp eq i64 %63, 0 %or.cond5 = or i1 %64, %or.cond3 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %or.cond5, label LBL_16, label LBL_13 LBL_13: %65 = add i64 %2, 24 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = add i64 %2, 28 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = and i32 %71, -513 store i32 %72, i32* %70, align 4 %73 = zext i32 %72 to i64 %74 = call i64 @FUNC(i64 %2, i64 1, i64 %73) %75 = add i64 %2, 36 %76 = inttoptr i64 %75 to i32* store i32 1, i32* %76, align 4 store i32 1, i32* %sv_0.1.reg2mem br label LBL_16 LBL_15: %77 = add i64 %2, 36 %78 = call i64 @FUNC(i64 %77) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_16 LBL_16: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %79 = add i64 %2, 24 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %81, 0 %83 = icmp eq i32 %sv_0.1.reload, 0 %or.cond7 = or i1 %83, %82 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_18, label LBL_17 LBL_17: %84 = add i64 %2, 44 %85 = call i64 @FUNC(i64 %84) store i64 1, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %4, { 1, 2, 3, 0 } uselistorder i64 %2, { 12, 11, 16, 9, 10, 15, 14, 13, 8, 4, 5, 7, 6, 1, 0, 3, 2, 17, 18, 19, 20 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @snd_hdsp_midi_input_read, { 1, 0 } uselistorder i64 (i64)* @snd_pcm_period_elapsed, { 1, 0 } uselistorder i64 1, { 1, 0, 3, 4, 2 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @hdsp_write, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i32 0, { 5, 6, 7, 3, 0, 8, 1, 4, 9, 10, 11, 2 } uselistorder i64 (i64, i64)* @hdsp_read, { 2, 1, 0 } uselistorder label LBL_18, { 2, 1, 3, 0 } }
0
BinRealVul
ff_cavs_init_top_lines_1734
ff_cavs_init_top_lines
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %sext = mul i64 %1, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = load i32, i32* %3, align 8 %9 = mul i32 %8, 2 %10 = or i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = load i32, i32* %3, align 8 %17 = mul i32 %16, 2 %18 = or i32 %17, 1 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 8 %21 = call i64 @FUNC(i64 %20) %22 = add i64 %2, 24 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = load i32, i32* %3, align 8 %25 = mul i32 %24, 2 %26 = sext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %2, 32 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = load i32, i32* %3, align 8 %31 = mul i32 %30, 16 %32 = add i32 %31, 16 %33 = sext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %2, 40 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = load i32, i32* %3, align 8 %38 = mul i32 %37, 10 %39 = sext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %2, 48 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = load i32, i32* %3, align 8 %44 = mul i32 %43, 10 %45 = sext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = add i64 %2, 56 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 %49 = load i32, i32* %3, align 8 %50 = add i64 %2, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = mul i32 %49, 4 %54 = mul i32 %53, %52 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 8 %57 = call i64 @FUNC(i64 %56) %58 = add i64 %2, 64 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 %60 = load i32, i32* %3, align 8 %61 = load i32, i32* %51, align 4 %62 = mul i32 %61, %60 %63 = sext i32 %62 to i64 %64 = call i64 @FUNC(i64 %63) %65 = add i64 %2, 72 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = call i64 @FUNC(i64 128) %68 = add i64 %2, 80 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 ret i64 %67 uselistorder i64 %67, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } }
0
BinRealVul
pci_ne2000_init_16312
pci_ne2000_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = and i64 %arg3, 4294967295 %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 296, i64 %2, i64 0, i64 0, i64 %3, i64 %0) %5 = call i64 @FUNC(i64 %4, i64 4332) %6 = call i64 @FUNC(i64 %4, i64 32809) %7 = call i64 @FUNC(i64 %4, i64 131072) %8 = add i64 %4, 14 %9 = inttoptr i64 %8 to i8* store i8 0, i8* %9, align 1 %10 = add i64 %4, 61 %11 = inttoptr i64 %10 to i8* store i8 1, i8* %11, align 1 %12 = load i64, i64* @gv_1, align 8 %13 = call i64 @FUNC(i64 %4, i64 0, i64 256, i64 0, i64 %12) %14 = add i64 %4, 264 %15 = add i64 %4, 256 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = inttoptr i64 %14 to i32* store i32 %17, i32* %18, align 4 %19 = add i64 %4, 272 %20 = inttoptr i64 %19 to i64* store i64 %4, i64* %20, align 8 %21 = add i64 %4, 280 %22 = inttoptr i64 %21 to i64* %23 = call i64* @memcpy(i64* %22, i64* %arg2, i32 6) %24 = call i64 @FUNC(i64 %14) %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %0, 8 %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, i64 %30, i64 %27, i64 4199031, i64 4199038, i64 %14) %36 = add i64 %4, 288 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = call i64 @FUNC(i64 %35, i64 %21) %39 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 4294967295, i64 3, i64 4199045, i64 4199052, i64 %14) ret i64 %4 uselistorder i64 %4, { 3, 0, 1, 4, 2, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64 256, { 3, 2, 0, 1 } uselistorder i64 4294967295, { 1, 0 } }
1
BinRealVul
wv_get_value_integer_3017
wv_get_value_integer
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 store i32 %arg3, i32* %sv_0.1.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = urem i32 %4, 32 %7 = shl i32 %arg3, %6 %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i32 %7, i32* %sv_0.1.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = add i64 %3, 24 %13 = call i64 @FUNC(i64 %12) %14 = and i64 %1, 4294967295 %15 = icmp slt i64 %13, %14 store i32 %7, i32* %sv_0.1.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = trunc i64 %2 to i32 %17 = call i64 @FUNC(i64 %12, i64 %14) %18 = trunc i64 %17 to i32 %19 = or i32 %7, %18 %20 = mul i32 %16, 9 %21 = urem i32 %19, 65536 %22 = mul nuw nsw i32 %21, 3 %23 = udiv i32 %19, 65536 %24 = add i32 %23, %20 %25 = add i32 %24, %22 store i32 %25, i32* %arg2, align 4 store i32 %19, i32* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i32 %28, %sv_0.1.reload %30 = add i64 %3, 12 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = or i32 %32, %29 %34 = add i32 %33, %sv_0.1.reload %35 = add i64 %3, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = urem i32 %37, 32 %39 = shl i32 %34, %38 %40 = sub i32 %39, %33 %41 = add i64 %3, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = urem i32 %43, 32 %45 = shl i32 %40, %44 %rdx.1 = zext i32 %45 to i64 ret i64 %rdx.1 uselistorder i32 %33, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i32 %7, { 2, 0, 1 } uselistorder i64 %3, { 2, 3, 5, 4, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } }
0
BinRealVul
gf_sg_proto_del_instance_6990
gf_sg_proto_del_instance
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %rdi.02.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %arg1, i64* %rdi.02.reg2mem store i64 %arg1, i64* %rdi.0.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %4 = call i64 @FUNC(i64 %rdi.02.reload, i64 0) %5 = call i64 @FUNC(i64 %rdi.02.reload, i64 0) %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_7, label LBL_2 LBL_2: %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %.off = add i32 %11, -1 %switch = icmp ult i32 %.off, 2 br i1 %switch, label LBL_4, label LBL_3 LBL_3: %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %7, i64 %12) br label LBL_7 LBL_4: %14 = icmp eq i32 %11, 1 %15 = icmp eq i1 %14, false store i64 %7, i64* %sv_0.01.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %7, i64 %arg1) br label LBL_7 LBL_6: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %17 = add i64 %sv_0.01.reload, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %arg1) %21 = inttoptr i64 %sv_0.01.reload to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %sv_0.01.reload) %24 = icmp eq i64 %22, 0 %25 = icmp eq i1 %24, false store i64 %22, i64* %sv_0.01.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %4) %27 = call i64 @FUNC(i64 %4) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %4, i64* %rdi.02.reg2mem store i64 %4, i64* %rdi.0.lcssa.reg2mem br i1 %30, label LBL_1, label LBL_8 LBL_8: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %31 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) %32 = add i64 %arg1, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_9, label LBL_10 LBL_9: %39 = load i64, i64* %33, align 8 %40 = call i64 @FUNC(i64 %39, i64 0) %41 = call i64 @FUNC(i64 %40, i64 %arg1) %42 = load i64, i64* %33, align 8 %43 = call i64 @FUNC(i64 %42, i64 0) %44 = load i64, i64* %33, align 8 %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_9, label LBL_10 LBL_10: %49 = add i64 %arg1, 24 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53) %55 = inttoptr i64 %53 to i64* store i64 0, i64* %55, align 8 %56 = add i64 %arg1, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %58) %60 = load i64, i64* %33, align 8 %61 = call i64 @FUNC(i64 %60) %62 = add i64 %arg1, 40 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = call i64 @FUNC(i64 %64) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 113, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_12 LBL_12: %68 = load i64, i64* %63, align 8 %69 = call i64 @FUNC(i64 %68) %70 = add i64 %arg1, 32 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = icmp eq i64 %72, 0 br i1 %73, label LBL_15, label LBL_13 LBL_13: %74 = inttoptr i64 %72 to i64* %75 = load i64, i64* %74, align 8 %76 = icmp eq i64 %75, 0 br i1 %76, label LBL_15, label LBL_14 LBL_14: %77 = call i64 @FUNC(i64 %75, i64 %arg1) br label LBL_15 LBL_15: %78 = call i64 @FUNC(i64 %arg1) %79 = call i64 @FUNC(i64 %53) ret i64 %79 uselistorder i64* %33, { 0, 4, 3, 2, 1 } uselistorder i64 %sv_0.01.reload, { 2, 0, 1 } uselistorder i32 %11, { 0, 2, 1 } uselistorder i64 %7, { 2, 0, 1, 3 } uselistorder i64 %4, { 0, 1, 2, 4, 3, 5 } uselistorder i64 %rdi.02.reload, { 1, 0 } uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @gf_list_del, { 2, 1, 0 } uselistorder i64 (i64)* @gf_free, { 2, 0, 1 } uselistorder i64 (i64, i64)* @gf_node_unregister, { 2, 1, 0 } uselistorder i64 (i64, i64)* @gf_list_rem, { 1, 0 } uselistorder i64 (i64, i64)* @gf_list_get, { 1, 0 } uselistorder i1 false, { 2, 1, 5, 3, 4, 0 } uselistorder i32 0, { 2, 3, 1, 4, 0 } uselistorder i64 (i64)* @gf_list_count, { 4, 3, 1, 2, 0 } uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 4, 3, 5, 6, 7, 9, 8, 10, 12, 11, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ndisc_fill_addr_option_8761
ndisc_fill_addr_option
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 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = add nuw nsw i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = and i64 %9, 4294967295 %12 = call i64 @FUNC(i64 %2, i64 %11) %13 = trunc i64 %arg2 to i8 %14 = inttoptr i64 %12 to i8* store i8 %13, i8* %14, align 1 %15 = udiv i32 %10, 8 %16 = add i64 %12, 1 %17 = trunc i32 %15 to i8 %18 = inttoptr i64 %16 to i8* store i8 %17, i8* %18, align 1 %19 = add i64 %12, 2 %20 = inttoptr i64 %19 to i64* %21 = call i64* @memset(i64* %20, i32 0, i32 %5) %sext = mul i64 %4, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = add i64 %12, %22 %24 = sub i32 %10, %5 %25 = add i64 %23, 2 %26 = inttoptr i64 %25 to i64* %27 = bitcast i32* %arg3 to i64* %28 = call i64* @memcpy(i64* %26, i64* %27, i32 %8) %29 = add i32 %8, 2 %30 = zext i32 %29 to i64 %.neg = sub i32 -2, %8 %31 = add i32 %24, %.neg %32 = icmp slt i32 %31, 1 store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_2, label LBL_1 LBL_1: %33 = sext i32 %29 to i64 %34 = add i64 %23, %33 %35 = inttoptr i64 %34 to i64* %36 = call i64* @memset(i64* %35, i32 0, i32 %31) %37 = ptrtoint i64* %36 to i64 store i64 %37, 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 %31, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i32 %8, { 0, 2, 1 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } }
0
BinRealVul
ProcPseudoramiXGetScreenSize_11736
ProcPseudoramiXGetScreenSize
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %4 = icmp ugt i32 %3, %2 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64* nonnull %sv_7, i32 %8, i64 %5, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = and i64 %9, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_6 LBL_3: store i32 1, i32* %sv_6, align 4 store i32 0, i32* %sv_5, align 4 store i32 %2, i32* %sv_4, align 4 %sext = mul i64 %1, 4294967296 %13 = ashr exact i64 %sext, 29 %14 = add i64 %13, ptrtoint (i32** @gv_0 to i64) %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 8 store i32 %16, i32* %sv_3, align 4 %17 = add i64 %13, ptrtoint (i32** @gv_1 to i64) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 8 store i32 %19, i32* %sv_2, align 4 %20 = load i32, i32* %7, align 4 store i32 %20, i32* %sv_1, align 4 store i32 %2, i32* %sv_0, align 4 %21 = load i32, i32* %7, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i64 @FUNC(i32* nonnull %sv_4) %24 = call i64 @FUNC(i32* nonnull %sv_5) %25 = call i64 @FUNC(i32* nonnull %sv_3) %26 = call i64 @FUNC(i32* nonnull %sv_2) %27 = call i64 @FUNC(i32* nonnull %sv_1) %28 = call i64 @FUNC(i32* nonnull %sv_0) br label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %5, i64 28, i32* nonnull %sv_6) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %13, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i32*)* @swapl, { 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
megasas_reset_frames_13965
megasas_reset_frames
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %storemerge1.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = icmp eq i32 %4, 0 store i64 %5, i64* %.lcssa.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = bitcast i64* %rdi to i32* %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* store i32 %4, i32* %.reg2mem store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %.reload = load i32, i32* %.reg2mem %10 = load i64, i64* %9, align 8 %11 = mul nsw i64 %.reload6, 24 %12 = add i64 %10, %11 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 store i32 %.reload, i32* %.reg2mem7 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %12 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %3, i64 %21, i64 %19, i64 0, i64 0) store i64 0, i64* %20, align 8 store i64 0, i64* %14, align 8 %.pre = load i32, i32* %7, align 8 store i32 %.pre, i32* %.reg2mem7 br label LBL_4 LBL_4: %.reload8 = load i32, i32* %.reg2mem7 %23 = add i32 %storemerge1.reload, 1 %24 = zext i32 %.reload8 to i64 %25 = sext i32 %23 to i64 %26 = icmp slt i64 %25, %24 store i32 %.reload8, i32* %.reg2mem store i64 %25, i64* %.reg2mem5 store i32 %23, i32* %storemerge1.reg2mem store i64 %24, i64* %.lcssa.reg2mem br i1 %26, label LBL_2, label LBL_5 LBL_5: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %.reload8, { 1, 0 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem5, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem7, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
toneport_setup_11934
toneport_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 4, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i32* %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 store i32 %6, i32* %4, align 4 %7 = call i64 @FUNC(i64 %3, i64 32966, i64 %0, i64 4) %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %3, i64 769, i64 0) %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 4 %18 = add i64 %17, ptrtoint (i32** @gv_0 to i64) %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 0) br label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %3) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %3) br label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 1000) %28 = add i64 %3, 12 %29 = and i64 %27, 4294967295 %30 = call i64 @FUNC(i64 %28, i64 %29) 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 %3, { 3, 2, 4, 0, 1, 5, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @toneport_send_cmd, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
revert_cdlms_14115
revert_cdlms
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem22 = alloca i32 %.pre14.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %storemerge35.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %.reg2mem = alloca i32 %.pre13.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 store i64 %3, i64* %.lcssa.reg2mem br i1 %4, label LBL_14, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rdi to i32* %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = trunc i64 %arg2 to i32 %10 = icmp slt i32 %9, 1 %11 = add i64 %5, 56 %12 = inttoptr i64 %11 to i64* %13 = add i64 %5, 32 %14 = inttoptr i64 %13 to i64* %15 = add i64 %5, 16 %16 = inttoptr i64 %15 to i64* %17 = add i64 %5, 24 %18 = inttoptr i64 %17 to i64* %19 = add i64 %5, 48 %20 = inttoptr i64 %19 to i64* %21 = add i64 %5, 40 %22 = inttoptr i64 %21 to i64* %wide.trip.count = and i64 %arg2, 4294967295 store i32 %2, i32* %.pre13.reg2mem store i32 %2, i32* %.reg2mem store i64 0, i64* %.reg2mem20 store i32 0, i32* %storemerge7.reg2mem br label LBL_2 LBL_2: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.reload21 = load i64, i64* %.reg2mem20 %.reload = load i32, i32* %.reg2mem %.pre13.reload = load i32, i32* %.pre13.reg2mem %23 = load i64, i64* %8, align 8 %24 = mul i64 %.reload21, 4 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %brmerge = or i1 %10, %28 %.mux = select i1 %28, i32 %.reload, i32 %.pre13.reload store i32 %.pre13.reload, i32* %.pre14.reg2mem store i32 %.mux, i32* %.reg2mem22 br i1 %brmerge, label LBL_13, label LBL_3 LBL_3: %29 = mul i64 %.reload21, 8 %30 = zext i32 %storemerge7.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = load i64, i64* %12, align 8 %32 = add i64 %31, %24 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = load i64, i64* %14, align 8 %36 = add i64 %35, %29 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = mul i64 %indvars.iv.reload, 4 %40 = add i64 %38, %39 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = load i64, i64* %16, align 8 %44 = add i64 %43, %24 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = zext i32 %46 to i64 %48 = icmp eq i64 %indvars.iv.reload, %47 %49 = icmp eq i1 %48, false br i1 %49, label LBL_6, label LBL_5 LBL_5: %50 = load i64, i64* %18, align 8 %51 = add i64 %50, %24 %52 = inttoptr i64 %51 to i32* store i32 1, i32* %52, align 4 %53 = call i64 @FUNC(i64 %5, i64 %30) br label LBL_6 LBL_6: %54 = icmp slt i32 %34, 0 %55 = icmp eq i1 %54, false store i32 %34, i32* %storemerge35.reg2mem store i32 %42, i32* %sv_0.04.reg2mem store i32 %42, i32* %sv_0.0.lcssa.reg2mem br i1 %55, label LBL_7, label LBL_8 LBL_7: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %56 = call i64 @FUNC(i64 %5, i64 %30, i32 %storemerge35.reload) %57 = trunc i64 %56 to i32 %58 = add i32 %sv_0.04.reload, %57 %59 = and i64 %56, 4294967295 %60 = call i64 @FUNC(i64 %5, i32 %storemerge7.reload, i32 %storemerge35.reload, i32 %58, i64 %59) %61 = add i32 %storemerge35.reload, -1 %62 = icmp slt i32 %61, 0 %63 = icmp eq i1 %62, false store i32 %61, i32* %storemerge35.reg2mem store i32 %58, i32* %sv_0.04.reg2mem store i32 %58, i32* %sv_0.0.lcssa.reg2mem br i1 %63, label LBL_7, label LBL_8 LBL_8: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %64 = load i64, i64* %18, align 8 %65 = add i64 %64, %24 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_11, label LBL_9 LBL_9: %69 = load i64, i64* %20, align 8 %70 = add i64 %69, %24 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i32 %72, -1 store i32 %73, i32* %71, align 4 %74 = load i64, i64* %20, align 8 %75 = add i64 %74, %24 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_11, label LBL_10 LBL_10: %80 = call i64 @FUNC(i64 %5, i64 %30) br label LBL_11 LBL_11: %81 = load i64, i64* %22, align 8 %82 = add i64 %81, %29 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = add i64 %84, %39 %86 = inttoptr i64 %85 to i32* store i32 %sv_0.0.lcssa.reload, i32* %86, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_4 LBL_12: %.pre.pre = load i32, i32* %6, align 8 store i32 %.pre.pre, i32* %.pre14.reg2mem store i32 %.pre.pre, i32* %.reg2mem22 br label LBL_13 LBL_13: %.reload23 = load i32, i32* %.reg2mem22 %.pre14.reload = load i32, i32* %.pre14.reg2mem %87 = add i32 %storemerge7.reload, 1 %88 = zext i32 %.reload23 to i64 %89 = sext i32 %87 to i64 %90 = icmp slt i64 %89, %88 store i32 %.pre14.reload, i32* %.pre13.reg2mem store i32 %.reload23, i32* %.reg2mem store i64 %89, i64* %.reg2mem20 store i32 %87, i32* %storemerge7.reg2mem store i64 %88, i64* %.lcssa.reg2mem br i1 %90, label LBL_2, label LBL_14 LBL_14: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %.reload23, { 1, 0 } uselistorder i32 %storemerge35.reload, { 1, 0, 2 } uselistorder i64 %39, { 1, 0 } uselistorder i64 %29, { 1, 0 } uselistorder i1 %28, { 1, 0 } uselistorder i64 %24, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %.reload21, { 1, 0 } uselistorder i32 %storemerge7.reload, { 2, 1, 0 } uselistorder i64 %5, { 1, 4, 5, 0, 2, 3, 7, 6, 8, 9, 10 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.pre13.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem20, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 0, { 3, 4, 5, 2, 6, 0, 1 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ok_jpg_read_dht_6445
ok_jpg_read_dht
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = bitcast i32* %sv_1 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64 2) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 1 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_15 LBL_1: %5 = call i64 @FUNC(i64* nonnull %1) %6 = trunc i64 %5 to i32 %7 = add i32 %6, -2 %8 = icmp sgt i32 %7, 16 store i32 %7, i32* %sv_0.18.reg2mem store i32 %7, i32* %sv_0.1.lcssa.reg2mem br i1 %8, label LBL_2, label LBL_13 LBL_2: %9 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64 17) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 1 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_15 LBL_3: %12 = load i32, i32* %sv_1, align 4 %13 = udiv i32 %12, 16 %14 = urem i32 %13, 16 %15 = urem i32 %12, 16 %16 = icmp ult i32 %14, 2 %17 = icmp ult i32 %15, 4 %or.cond = icmp eq i1 %17, %16 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_5: %19 = icmp eq i32 %14, 0 %20 = icmp eq i1 %19, false %storemerge.in.in.v = select i1 %20, i64 16, i64 8 %storemerge.in.in = add i64 %storemerge.in.in.v, %0 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %narrow = mul nuw nsw i32 %15, 260 %21 = zext i32 %narrow to i64 %22 = add i64 %storemerge, %21 %23 = call i64 @FUNC(i64 %22, i64* nonnull %1) %24 = trunc i64 %23 to i8 %25 = icmp eq i8 %24, 1 br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_7: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %27 = add i32 %sv_0.18.reload, -17 %28 = inttoptr i64 %22 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp slt i32 %29, 1 store i32 %27, i32* %sv_0.0.reg2mem br i1 %30, label LBL_12, label LBL_8 LBL_8: %31 = zext i32 %29 to i64 %32 = sext i32 %27 to i64 %33 = icmp slt i64 %32, %31 br i1 %33, label LBL_9, label LBL_10 LBL_9: %34 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_10: %35 = sext i32 %29 to i64 %36 = add i64 %22, 4 %37 = inttoptr i64 %36 to i64* %38 = call i64 @FUNC(i64 %0, i64* %37, i64 %35) %39 = trunc i64 %38 to i8 %40 = icmp eq i8 %39, 1 store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_11, label LBL_15 LBL_11: %41 = load i32, i32* %28, align 4 %42 = sub i32 %27, %41 store i32 %42, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %43 = icmp eq i32 %14, 1 %44 = zext i1 %43 to i64 %45 = call i64 @FUNC(i64 %22, i64 %44) %46 = icmp sgt i32 %sv_0.0.reload, 16 store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %46, label LBL_2, label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %47 = icmp eq i32 %sv_0.1.lcssa.reload, 0 store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_15, label LBL_14 LBL_14: %48 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i32 %29, { 1, 0, 2 } uselistorder i32 %27, { 1, 2, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %14, { 1, 0, 2 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %0, { 1, 4, 5, 3, 0, 2, 6, 7 } uselistorder i32* %sv_0.18.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 1, 8, 7, 6, 2, 4 } uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @ok_jpg_error, { 0, 3, 2, 1 } uselistorder i64 1, { 3, 0, 4, 5, 6, 1, 7, 8, 2 } uselistorder i32 16, { 4, 1, 2, 0, 3 } uselistorder i64 (i64, i64*, i64)* @ok_read, { 2, 1, 0 } uselistorder label LBL_15, { 7, 2, 0, 4, 5, 6, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pci_save_pcie_state_4886
pci_save_pcie_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 16) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 16) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %sv_0.0.in.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 20, i64 0) store i64 %11, i64* %sv_0.0.in.reg2mem br label LBL_3 LBL_3: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %12 = icmp eq i64 %sv_0.0.in.reload, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i32* %15 = add i64 %sv_0.0.in.reload, 4 %16 = and i64 %1, 4294967295 %17 = call i64 @FUNC(i64 %0, i64 %16, i64 %15) %18 = add i64 %sv_0.0.in.reload, 6 %19 = add i64 %1, 2 %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %0, i64 %20, i64 %18) %22 = add i64 %sv_0.0.in.reload, 8 %23 = add i64 %1, 4 %24 = and i64 %23, 4294967295 %25 = call i64 @FUNC(i64 %0, i64 %24, i64 %22) %26 = add i64 %sv_0.0.in.reload, 10 %27 = add i64 %1, 6 %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 %0, i64 %28, i64 %26) store i32 16, i32* %sv_0.0, align 4 %30 = call i64 @FUNC(i64 %0, i64 %sv_0.0.in.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.in.reload, { 6, 5, 4, 3, 2, 0, 1 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @pci_read_config_word, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
WriteBlobMSBSignedLong_9717
WriteBlobMSBSignedLong
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i8, align 1 %2 = icmp eq i32* %arg1, 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 ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 11259375 br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = trunc i64 %arg2 to i32 %7 = udiv i32 %6, 16777216 %8 = trunc i32 %7 to i8 store i8 %8, i8* %sv_0, align 1 %9 = ptrtoint i32* %arg1 to i64 %10 = call i64 @FUNC(i64 %9, i64 4, i8* nonnull %sv_0) ret i64 %10 uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } }
0
BinRealVul
visit_type_str_13928
visit_type_str
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %5 = ptrtoint i64* %arg1 to i64 %spec.select = select i1 %4, i64 %1, i64 %5 ret i64 %spec.select uselistorder i32 0, { 1, 0 } }
1
BinRealVul
x25_state1_machine_4700
x25_state1_machine
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %2 = trunc i64 %arg3 to i32 %3 = call i64 @FUNC(i64 %1) switch i32 %2, label LBL_13 [ i32 1, label LBL_1 i32 2, label LBL_11 ] LBL_1: %4 = inttoptr i64 %3 to i32* %5 = call i64 @FUNC(i64 %1) store i32 0, i32* %4, align 4 %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %3, 12 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %3, 16 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %3, 20 %15 = inttoptr i64 %14 to i32* store i32 3, i32* %15, align 4 %16 = bitcast i64* %arg1 to i32* store i32 1, i32* %16, align 4 %17 = call i64 @FUNC(i64 %0, i64 5) %18 = bitcast i32* %sv_0 to i64* %19 = call i64 @FUNC(i64 %0, i64* nonnull %18, i64* nonnull %18) %20 = trunc i64 %19 to i32 store i32 %20, i32* %sv_0, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = and i64 %19, 4294967295 %23 = call i64 @FUNC(i64 %0, i64 %22) br label LBL_4 LBL_3: %24 = icmp slt i32 %20, 0 br i1 %24, label LBL_12, label LBL_4 LBL_4: %25 = add i64 %3, 304 %26 = add i64 %3, 296 %27 = add i64 %3, 288 %28 = call i64 @FUNC(i64 %0, i64 %27, i64 %26, i64 %25) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_0, align 4 %30 = icmp slt i32 %29, 1 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = and i64 %28, 4294967295 %32 = call i64 @FUNC(i64 %0, i64 %31) br label LBL_7 LBL_6: %33 = icmp slt i32 %29, 0 br i1 %33, label LBL_12, label LBL_7 LBL_7: %34 = bitcast i64* %rsi to i32* %35 = load i32, i32* %34, align 8 %36 = icmp slt i32 %35, 1 br i1 %36, label LBL_10, label LBL_8 LBL_8: %37 = icmp sgt i32 %35, 256 br i1 %37, label LBL_12, label LBL_9 LBL_9: %38 = add i64 %3, 24 %39 = call i64 @FUNC(i64 %0, i64 %38, i32 %35) %40 = add i64 %3, 280 %41 = inttoptr i64 %40 to i32* store i32 %35, i32* %41, align 4 br label LBL_10 LBL_10: %42 = call i64 @FUNC(i64 %1, i64 1) br label LBL_13 LBL_11: %43 = call i64 @FUNC(i64 %1, i64 1) %44 = add i64 %0, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = add i64 %46, 4 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = zext i8 %49 to i64 %51 = add i64 %46, 3 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = zext i8 %53 to i64 %55 = call i64 @FUNC(i64 %1, i64 111, i64 %54, i64 %50) br label LBL_13 LBL_12: %56 = call i64 @FUNC(i64 %1, i64 2) store i32 2, i32* %15, align 4 %57 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_13: ret i64 0 uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %1, { 3, 4, 0, 1, 2, 5, 6 } uselistorder i64 %0, { 0, 3, 2, 4, 1, 6, 5 } uselistorder i64 (i64, i64)* @x25_write_internal, { 1, 0 } uselistorder i64 (i64, i64)* @skb_pull, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_13, { 3, 1, 2, 0 } }
0
BinRealVul
isabus_bridge_class_init_338
isabus_bridge_class_init
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 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 0, i64 %3) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %6, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i8* store i8 1, i8* %8, align 1 ret i64 %2 uselistorder i64 %2, { 1, 0, 2 } }
0
BinRealVul
spapr_nvram_class_init_16823
spapr_nvram_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 32 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %arg1, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %6, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %8, align 8 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = sext i32 %10 to i64 %12 = call i64 @FUNC(i64 0, i64 %11) %13 = load i64, i64* @gv_2, align 8 store i64 %13, i64* %6, align 8 store i64 ptrtoint (i64* @gv_3 to i64), i64* %8, align 8 ret i64 %0 }
1
BinRealVul
qmp_transaction_15830
qmp_transaction
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge46.reg2mem = alloca i64 %.reg2mem12 = alloca i64 %storemerge38.reg2mem = alloca i64 %storemerge210.reg2mem = alloca i64 %sv_0.0.ptr.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC() store i64 %arg1, i64* %sv_1.0.reg2mem store i64* %sv_2, i64** %sv_0.0.ptr.reg2mem br label LBL_5 LBL_1: %sv_0.0.ptr.reload = load i64*, i64** %sv_0.0.ptr.reg2mem %2 = inttoptr i64 %sv_1.0.reload to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = add i64 %sv_1.0.reload, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = load i32, i32* %4, align 4 %9 = icmp ult i32 %8, 10 store i32 %8, i32* %.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %10 = sext i32 %.reload to i64 %11 = mul nsw i64 %10, 40 %12 = add i64 %11, ptrtoint (i64* @gv_3 to i64) %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %15 to i64* store i64 %12, i64* %16, align 8 %17 = add i64 %15, 8 %18 = inttoptr i64 %17 to i64* store i64 %3, i64* %18, align 8 %19 = add i64 %15, 16 %20 = inttoptr i64 %19 to i64* store i64 0, i64* %20, align 8 store i64 %15, i64* %sv_0.0.ptr.reload, align 8 %21 = call i64 @FUNC(i64* nonnull %sv_3) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 %7, i64* %sv_1.0.reg2mem store i64* %20, i64** %sv_0.0.ptr.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = load i64, i64* %sv_3, align 8 %25 = call i64 @FUNC(i64 %0, i64 %24) %storemerge37 = load i64, i64* %sv_2, align 8 %26 = icmp eq i64 %storemerge37, 0 %27 = icmp eq i1 %26, false store i64 %storemerge37, i64* %storemerge38.reg2mem store i64 %storemerge37, i64* %.reg2mem12 br i1 %27, label LBL_8, label LBL_9 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %28 = icmp eq i64 %sv_1.0.reload, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_1, label LBL_6 LBL_6: %storemerge29 = load i64, i64* %sv_2, align 8 %30 = icmp eq i64 %storemerge29, 0 %31 = icmp eq i1 %30, false store i64 %storemerge29, i64* %storemerge210.reg2mem store i64 %storemerge29, i64* %.reg2mem12 br i1 %31, label LBL_7, label LBL_9 LBL_7: %storemerge210.reload = load i64, i64* %storemerge210.reg2mem %32 = add i64 %storemerge210.reload, 16 %33 = inttoptr i64 %32 to i64* %storemerge2 = load i64, i64* %33, align 8 %34 = icmp eq i64 %storemerge2, 0 %35 = icmp eq i1 %34, false store i64 %storemerge2, i64* %storemerge210.reg2mem store i64 %storemerge29, i64* %.reg2mem12 br i1 %35, label LBL_7, label LBL_9 LBL_8: %storemerge38.reload = load i64, i64* %storemerge38.reg2mem %36 = add i64 %storemerge38.reload, 16 %37 = inttoptr i64 %36 to i64* %storemerge3 = load i64, i64* %37, align 8 %38 = icmp eq i64 %storemerge3, 0 %39 = icmp eq i1 %38, false store i64 %storemerge3, i64* %storemerge38.reg2mem store i64 %storemerge37, i64* %.reg2mem12 br i1 %39, label LBL_8, label LBL_9 LBL_9: %.reload13 = load i64, i64* %.reg2mem12 %40 = icmp eq i64 %.reload13, 0 store i64 %.reload13, i64* %storemerge46.reg2mem br i1 %40, label LBL_11, label LBL_10 LBL_10: %storemerge46.reload = load i64, i64* %storemerge46.reg2mem %41 = add i64 %storemerge46.reload, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %storemerge46.reload) %45 = icmp eq i64 %43, 0 store i64 %43, i64* %storemerge46.reg2mem br i1 %45, label LBL_11, label LBL_10 LBL_11: ret i64 0 uselistorder i64 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.0.ptr.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge210.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge38.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem12, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge46.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 3, 0, 4, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
virtio_net_set_mrg_rx_bufs_10116
virtio_net_set_mrg_rx_bufs
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %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 0, i32* %4, align 4 %5 = add i64 %0, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %13 = load i64, i64* %10, align 8 %14 = zext i32 %storemerge1.reload to i64 %15 = call i64 @FUNC(i64 %13, i64 %14) %16 = call i64 @FUNC(i64 %0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = load i32, i32* %4, align 4 %20 = inttoptr i64 %15 to i64* %21 = load i64, i64* %20, align 8 %22 = zext i32 %19 to i64 %23 = call i64 @FUNC(i64 %21, i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = load i32, i32* %4, align 4 %27 = load i64, i64* %20, align 8 %28 = zext i32 %26 to i64 %29 = call i64 @FUNC(i64 %27, i64 %28) %30 = load i32, i32* %4, align 4 store i32 %30, i32* %12, align 4 br label LBL_5 LBL_5: %31 = add i32 %storemerge1.reload, 1 %32 = load i32, i32* %6, align 4 %33 = zext i32 %32 to i64 %34 = sext i32 %31 to i64 %35 = icmp slt i64 %34, %33 store i32 %31, i32* %storemerge1.reg2mem store i64 %33, i64* %.lcssa.reg2mem br i1 %35, label LBL_2, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %6, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rdbSaveDoubleValue_18832
rdbSaveDoubleValue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.reg2mem = alloca i32 %1 = load i128, i128* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %2 = ptrtoint i64* %sv_3 to i64 %3 = add i64 %2, -176 %4 = trunc i64 %3 to i8 %5 = call i8 @llvm.ctpop.i8(i8 %4), !range !6 %6 = urem i8 %5, 2 %7 = icmp eq i8 %6, 0 %8 = call i64 @FUNC(i128 %1) %9 = call i128 @__asm_movsd.1(i64 %8) call void @FUNC(i128 %9, i64 %8) %10 = icmp eq i1 %7, false br i1 %10, label LBL_2, label LBL_1 LBL_1: store i32 -3, i32* %sv_2, align 4 store i32 1, i32* %sv_0.0.reg2mem br label LBL_7 LBL_2: %11 = sext i64 %8 to i128 %12 = icmp ult i64* %sv_3, inttoptr (i64 176 to i64*) %13 = call i128 @__asm_movsd.1(i64 %8) %14 = call i128 @FUNC(i64 9223372036854775807) %15 = call i128 @FUNC(i128 %14, i128 %13) %16 = call i128 @__asm_movsd.1(i64 9218868437227405311) call void @__asm_ucomisd.2(i128 %16, i128 %15) %17 = icmp eq i1 %12, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i128 @FUNC(i128 %16, i128 %16) call void @FUNC(i128 %18, i128 %11) store i32 -2, i32* %sv_2, align 4 store i32 1, i32* %sv_0.0.reg2mem br label LBL_7 LBL_4: %19 = icmp eq i64 %3, 0 %20 = call i128 @__asm_movsd.1(i64 -4382002437431492610) %21 = call i64 @FUNC(i128 %20) %22 = call i128 @__asm_movsd.1(i64 4841369599423283200) %23 = call i64 @FUNC(i128 %22) %24 = call i128 @__asm_movsd.1(i64 %8) %25 = sext i64 %21 to i128 call void @FUNC(i128 %24, i128 %25) br i1 %19, label LBL_6, label LBL_5 LBL_5: %26 = call i128 @__asm_movsd.1(i64 %23) call void @FUNC(i128 %26, i128 %11) %27 = call i128 @__asm_movsd.1(i64 %8) %28 = call i64 @FUNC(i128 %27) %29 = call i128 @FUNC(i128 %27, i128 %27) %30 = call i128 @FUNC(i64 %28) call void @FUNC(i128 %30, i64 %8) call void @FUNC(i128 %30, i64 %8) br label LBL_6 LBL_6: %31 = call i128 @FUNC(i64 %8) %32 = bitcast i64* %sv_1 to i8* %33 = trunc i128 %31 to i64 %34 = bitcast i64 %33 to double %35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %32, i32 127, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), double %34) %36 = call i32 @strlen(i8* nonnull %32) %sext3 = mul i32 %36, 16777216 %37 = ashr exact i32 %sext3, 24 store i32 %37, i32* %sv_2, align 4 %38 = urem i32 %37, 256 %39 = add nuw nsw i32 %38, 1 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %40 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %41 = bitcast i32* %sv_2 to i8* %42 = call i64 @FUNC(i64 %40, i8* nonnull %41, i32 %sv_0.0.reload) ret i64 %42 uselistorder i128 %27, { 2, 1, 0 } uselistorder i128 %16, { 1, 0, 2 } uselistorder i64 %8, { 0, 1, 2, 3, 4, 5, 8, 6, 7 } uselistorder i32* %sv_2, { 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
dccp_destroy_sock_10102
dccp_destroy_sock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64* %arg1, null br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0) br label LBL_4 LBL_4: %10 = inttoptr i64 %1 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) store i64 0, i64* %10, align 8 %13 = inttoptr i64 %2 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = add i64 %1, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %17, align 8 br label LBL_6 LBL_6: %20 = add i64 %1, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22, i64 %0) %24 = add i64 %1, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %0) store i64 0, i64* %25, align 8 store i64 0, i64* %21, align 8 %28 = call i64 @FUNC(i64 %2) ret i64 0 uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64 %0, { 3, 2, 1, 4, 0, 5, 6 } }
0
BinRealVul
ok_csv_circular_buffer_expand_12389
ok_csv_circular_buffer_expand
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = mul i64 %3, 2 %5 = trunc i64 %4 to i32 %6 = call i64* @malloc(i32 %5) %7 = icmp eq i64* %6, null %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = ptrtoint i64* %6 to i64 %10 = call i64 @FUNC(i64 %0) %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = sub i64 %13, %10 %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, %0 %19 = inttoptr i64 %18 to i64* %20 = trunc i64 %10 to i32 %21 = call i64* @memcpy(i64* %6, i64* %19, i32 %20) %22 = add i64 %10, %9 %23 = inttoptr i64 %22 to i64* %24 = trunc i64 %14 to i32 %25 = call i64* @memcpy(i64* %23, i64* %6, i32 %24) call void @free(i64* %23) store i64 %9, i64* %arg1, align 8 store i64 %4, i64* %2, align 8 store i64 0, i64* %16, align 8 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 %9, { 1, 0 } uselistorder i64* %6, { 0, 1, 3, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 0, 3, 2, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 0, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ensure_capacity_5764
ensure_capacity
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = sub i64 %arg2, %arg1 %1 = mul i64 %arg4, %arg3 %2 = icmp ult i64 %0, %1 %3 = icmp eq i1 %2, false %4 = icmp uge i64 %arg2, %arg1 %not.or.cond = icmp eq i1 %4, %3 %storemerge = zext i1 %not.or.cond to i64 ret i64 %storemerge }
0
BinRealVul
jsvGetLineAndCol_9187
jsvGetLineAndCol
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.14.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_1.17.reg2mem = alloca i64 %sv_0.18.reg2mem = alloca i64 %sv_2.09.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %0 = icmp ne i64* %arg3, null %1 = icmp eq i64* %arg4, null %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_3, i64 %3, i64 0) %5 = call i64 @FUNC(i64* nonnull %sv_3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %sv_2.09.reg2mem store i64 1, i64* %sv_0.18.reg2mem store i64 1, i64* %sv_1.17.reg2mem store i64 1, i64* %sv_1.1.lcssa.reg2mem store i64 1, i64* %sv_0.1.lcssa.reg2mem br i1 %8, label LBL_3, label LBL_6 LBL_3: %sv_1.17.reload = load i64, i64* %sv_1.17.reg2mem %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem %9 = call i64 @FUNC(i64* nonnull %sv_3) %10 = icmp eq i64 %sv_2.09.reload, %arg2 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64* nonnull %sv_3) store i64 %sv_1.17.reload, i64* %sv_1.16.reg2mem store i64 %sv_0.18.reload, i64* %sv_0.14.reg2mem br label LBL_7 LBL_5: %13 = trunc i64 %9 to i8 %14 = add i64 %sv_1.17.reload, 1 %15 = icmp eq i8 %13, 10 %16 = icmp eq i1 %15, false %spec.select = select i1 %16, i64 %14, i64 1 %not. = icmp ne i1 %16, true %17 = zext i1 %not. to i64 %spec.select2 = add i64 %sv_0.18.reload, %17 %18 = add i64 %sv_2.09.reload, 1 %19 = call i64 @FUNC(i64* nonnull %sv_3) %20 = call i64 @FUNC(i64* nonnull %sv_3) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %18, i64* %sv_2.09.reg2mem store i64 %spec.select2, i64* %sv_0.18.reg2mem store i64 %spec.select, i64* %sv_1.17.reg2mem store i64 %spec.select, i64* %sv_1.1.lcssa.reg2mem store i64 %spec.select2, i64* %sv_0.1.lcssa.reg2mem br i1 %23, label LBL_3, label LBL_6 LBL_6: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %24 = call i64 @FUNC(i64* nonnull %sv_3) store i64 %sv_1.1.lcssa.reload, i64* %sv_1.16.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.14.reg2mem br label LBL_7 LBL_7: %25 = ptrtoint i64* %arg4 to i64 %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem store i64 %sv_0.14.reload, i64* %arg3, align 8 store i64 %sv_1.16.reload, i64* %arg4, align 8 ret i64 %25 uselistorder i64 %sv_0.18.reload, { 1, 0 } uselistorder i64 %sv_1.17.reload, { 1, 0 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64* %sv_2.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.18.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.17.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 5, 4, 6, 0, 1, 2, 3, 7 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder i64* %arg4, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
reposvul_c_test
keyring_clear_173
keyring_clear
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp eq i64 %2, ptrtoint (i32* @gv_0 to i64) store i64 20, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 8 %8 = call i64 @FUNC(i64 %7, i64* nonnull @gv_1) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %storemerge1.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %8) %12 = call i64 @FUNC(i64 %4, i64 0) store i64 0, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = call i64 @FUNC(i64 %5) store i64 %storemerge1.reload, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
kvm_irqchip_add_irq_route_2844
kvm_irqchip_add_irq_route
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = and i64 %1, 4294967295 %sext5 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext5, 32 %4 = icmp slt i64 %3, %2 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 %5, i64* %sv_0, align 8 %6 = ptrtoint i32* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0) ret i64 %7 uselistorder i64 4294967296, { 1, 0 } }
0
BinRealVul
fmtutil_macbitmap_read_pixmap_only_fields_13495
fmtutil_macbitmap_read_pixmap_only_fields
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rcx.0.reg2mem = alloca i64 %.pre-phi2.reg2mem = alloca i32* %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = and i64 %arg4, 4294967295 %8 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %arg4, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %6, i64 1) %10 = call i64 @FUNC(i64 %5, i64 %arg4) %11 = urem i64 %10, 65536 %12 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %arg4, i64 %2, i64 %1) %13 = add i64 %arg4, 2 %14 = call i64 @FUNC(i64 %5, i64 %13) %15 = trunc i64 %14 to i16 %16 = bitcast i64* %arg3 to i16* store i16 %15, i16* %16, align 2 %17 = urem i64 %3, 65536 %18 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %arg4, i64 %2, i64 %1) %19 = add i64 %arg4, 4 %20 = call i64 @FUNC(i64 %5, i64 %19) %21 = and i64 %20, 4294967295 %22 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %arg4, i64 %2, i64 %1) %23 = add i64 %arg4, 8 %24 = call i128 @FUNC(i64 %5, i64 %23) %25 = call i64 @FUNC(i128 %24) %26 = add i64 %4, 8 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 %28 = add i64 %arg4, 12 %29 = call i128 @FUNC(i64 %5, i64 %28) %30 = call i64 @FUNC(i128 %29) %31 = add i64 %4, 16 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = call i128 @FUNC(i64 %30) %34 = load i64, i64* %27, align 8 %35 = call i128 @FUNC(i128 %33) %36 = call i128 @__asm_movq.1(i64 %34) %37 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %34, i64 %arg4, i64 %2, i64 %1) %38 = add i64 %arg4, 16 %39 = call i64 @FUNC(i64 %5, i64 %38) %40 = trunc i64 %39 to i16 %41 = add i64 %4, 24 %42 = inttoptr i64 %41 to i16* store i16 %40, i16* %42, align 2 %43 = add i64 %arg4, 18 %44 = call i64 @FUNC(i64 %5, i64 %43) %45 = trunc i64 %44 to i16 %46 = add i64 %4, 26 %47 = inttoptr i64 %46 to i16* store i16 %45, i16* %47, align 2 %48 = add i64 %arg4, 20 %49 = call i64 @FUNC(i64 %5, i64 %48) %50 = trunc i64 %49 to i16 %51 = add i64 %4, 28 %52 = inttoptr i64 %51 to i16* store i16 %50, i16* %52, align 2 %53 = add i64 %arg4, 22 %54 = call i64 @FUNC(i64 %5, i64 %53) %55 = trunc i64 %54 to i16 %56 = add i64 %4, 30 %57 = inttoptr i64 %56 to i16* store i16 %55, i16* %57, align 2 %58 = load i16, i16* %52, align 2 %59 = load i16, i16* %47, align 2 %60 = zext i16 %59 to i64 %61 = load i16, i16* %42, align 2 %62 = zext i16 %61 to i64 %63 = urem i64 %54, 65536 %64 = zext i16 %58 to i64 %65 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_5, i64 0, i64 0), i64 %62, i64 %60, i64 %64, i64 %63) %66 = load i16, i16* %47, align 2 %67 = icmp eq i16 %66, 0 br i1 %67, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %4, 36 %.pre1 = inttoptr i64 %.pre to i32* %.pre3 = load i32, i32* %.pre1, align 4 store i32 %.pre3, i32* %.reg2mem store i32* %.pre1, i32** %.pre-phi2.reg2mem store i64 %60, i64* %rcx.0.reg2mem br label LBL_3 LBL_2: %68 = add i64 %4, 44 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = mul i32 %70, 8 %72 = zext i32 %71 to i64 %73 = zext i16 %66 to i32 %74 = udiv i32 %71, %73 %75 = add i64 %4, 36 %76 = inttoptr i64 %75 to i32* store i32 %74, i32* %76, align 4 store i32 %74, i32* %.reg2mem store i32* %76, i32** %.pre-phi2.reg2mem store i64 %72, i64* %rcx.0.reg2mem br label LBL_3 LBL_3: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i32, i32* %.reg2mem %77 = add i64 %4, 40 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = icmp ult i32 %.reload, %79 %81 = icmp eq i1 %80, false br i1 %81, label LBL_5, label LBL_4 LBL_4: %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem store i32 %79, i32* %.pre-phi2.reload, align 4 br label LBL_5 LBL_5: %82 = add i64 %arg4, 24 %83 = call i64 @FUNC(i64 %5, i64 %82) %84 = and i64 %83, 4294967295 %85 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i64 %84, i64 %rcx.0.reload, i64 %64, i64 %63) %86 = add i64 %arg4, 28 %87 = call i64 @FUNC(i64 %5, i64 %86) %88 = trunc i64 %87 to i32 %89 = add i64 %4, 32 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 %91 = and i64 %87, 4294967295 %92 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %91, i64 %rcx.0.reload, i64 %64, i64 %63) %93 = add i64 %arg4, 32 %94 = call i64 @FUNC(i64 %5, i64 %93) %95 = and i64 %94, 4294967295 %96 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i64 %95, i64 %rcx.0.reload, i64 %64, i64 %63) %97 = call i64 @FUNC(i64 %6, i64 4294967295) ret i64 %97 uselistorder i64 %rcx.0.reload, { 2, 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %6, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 %4, { 3, 4, 1, 2, 0, 5, 6, 7, 8, 9, 10 } uselistorder i64 %2, { 4, 3, 2, 0, 1 } uselistorder i64 %1, { 4, 3, 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 36, { 1, 0 } uselistorder i128 (i64, i64)* @pict_read_fixed, { 1, 0 } uselistorder i64 (i64, i64)* @dbuf_getu32be, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @dbuf_getu16be, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @de_dbg_indent, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @de_dbg, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 5, 1, 0, 2, 3, 4 } uselistorder i64 %arg4, { 0, 1, 2, 3, 4, 5, 6, 17, 7, 8, 15, 9, 16, 10, 14, 11, 13, 12 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
tcp_collapse_retrans_11910
tcp_collapse_retrans
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 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 1 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %13) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %15 = icmp eq i32 %5, 0 br i1 %15, label LBL_7, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %0) %17 = sext i32 %5 to i64 %18 = icmp slt i64 %16, %17 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = zext i32 %5 to i64 %20 = call i64 @FUNC(i64 %0, i64 %19) %21 = call i64 @FUNC(i64 %3, i64 0, i64 %20, i64 %19) br label LBL_7 LBL_6: %22 = call i64 @FUNC(i64 %0, i64 %3, i32 %5) %23 = trunc i64 %22 to i8 %24 = icmp eq i8 %23, 1 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_7, label LBL_10 LBL_7: %25 = call i64 @FUNC(i64 %1, i64 %3, i64 %0) %26 = load i32, i32* %4, align 4 %27 = bitcast i64* %arg2 to i32* store i32 %26, i32* %27, align 4 %28 = add i64 %0, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %3, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = or i32 %33, %30 store i32 %34, i32* %29, align 4 %35 = add i64 %0, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %3, 8 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = urem i32 %40, 2 %42 = or i32 %41, %37 store i32 %42, i32* %36, align 4 %43 = add i64 %3, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %0, 12 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = call i64 @FUNC(i64 %2) %49 = inttoptr i64 %2 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, %3 %52 = icmp eq i1 %51, false br i1 %52, label LBL_9, label LBL_8 LBL_8: store i64 %0, i64* %49, align 8 br label LBL_9 LBL_9: %53 = call i64 @FUNC(i64 %3) %54 = and i64 %53, 4294967295 %55 = call i64 @FUNC(i64 %1, i64 %3, i64 %54) %56 = call i64 @FUNC(i64 %0, i64 %3) %57 = call i64 @FUNC(i64 %3, i64 %1) store i64 1, 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 i32 %5, { 2, 1, 0, 3 } uselistorder i64 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 4, 3, 5, 6, 7, 8, 1, 0, 2, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @tcp_skb_pcount, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } }
1
BinRealVul
pid_revalidate_3803
pid_revalidate
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 16749 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %3) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = inttoptr i64 %3 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %3, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 br label LBL_5 LBL_4: %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = bitcast i64* %arg1 to i32* store i32 0, i32* %23, align 4 br label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %3, i64 %2) %25 = call i64 @FUNC(i64 %3) store i64 1, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %26 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 0, 1, 2, 4, 3, 5 } uselistorder i64 %2, { 5, 2, 0, 1, 3, 4, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
clk_pllv3_av_round_rate_4625
clk_pllv3_av_round_rate
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = mul i64 %0, 54 %2 = icmp ult i64 %1, %arg2 store i64 %1, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = mul i64 %0, 27 %4 = icmp ugt i64 %3, %arg2 %5 = icmp eq i1 %4, false %spec.select = select i1 %5, i64 %arg2, i64 %3 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = udiv i64 %sv_0.0.reload, %0 %7 = and i64 %6, 4294967295 %8 = mul i64 %7, %0 %9 = sub i64 %sv_0.0.reload, %8 %10 = mul i64 %9, 1000000 %11 = call i64 @FUNC(i64 %10, i64 %0) %12 = and i64 %10, 4294967232 %13 = mul i64 %12, %0 %14 = udiv i64 %13, 1000000 %15 = add i64 %14, %8 ret i64 %15 uselistorder i64 %0, { 0, 3, 1, 2, 5, 4 } }
0
BinRealVul
dns_packet_truncate_opt_8795
dns_packet_truncate_opt
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = icmp eq i64 %rdi.0.reload, -1 %4 = icmp eq i1 %3, false %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, -1 br i1 %4, label LBL_5, label LBL_3 LBL_3: store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_11, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %9 = icmp eq i1 %8, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %9, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([27 x i8]* @gv_4 to i64), i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = icmp eq i16 %12, 0 %14 = icmp eq i1 %13, false store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br i1 %14, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([26 x i8]* @gv_5 to i64), i64* %rdi.2.reg2mem br label LBL_9 LBL_9: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %15 = load i64, i64* %6, align 8 %16 = add i64 %15, %rdi.2.reload %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %16, %19 store i64 4294967280, i64* %rax.0.reg2mem br i1 %20, label LBL_10, label LBL_11 LBL_10: %21 = call i64 @FUNC(i64 %0, i64 %rdi.2.reload) %22 = load i16, i16* %11, align 2 %23 = add i16 %22, -1 %24 = zext i16 %23 to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i16 store i16 %26, i16* %11, align 2 store i64 -1, i64* %6, align 8 store i64 -1, i64* %arg1, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i16* %11, { 1, 0, 2 } uselistorder i1 %8, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 4, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder [26 x i8]* @gv_5, { 1, 0 } uselistorder [27 x i8]* @gv_4, { 1, 0 } uselistorder i64 -1, { 0, 3, 1, 2 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder [2 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_11, { 3, 0, 2, 1 } }
0
BinRealVul
add_av_stream1_14618
add_av_stream1
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 0) %5 = inttoptr i64 %0 to i64* store i64 %4, i64* %5, align 8 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, 1 store i32 %9, i32* %7, align 4 %10 = sext i32 %8 to i64 %11 = mul i64 %10, 8 %12 = inttoptr i64 %11 to i64* store i64 %0, i64* %12, align 8 store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ff_get_wav_header_538
ff_get_wav_header
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg2 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 %3, i32* %6, align 4 %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = call i64 @FUNC(i64 %1) %12 = trunc i64 %11 to i32 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1) %.tr = trunc i64 %15 to i32 %16 = mul i32 %.tr, 8 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = call i64 @FUNC(i64 %1) %20 = trunc i64 %19 to i32 %21 = add i64 %0, 20 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = icmp eq i32 %arg3, 14 %24 = icmp eq i1 %23, false br i1 %24, label LBL_2, label LBL_1 LBL_1: %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i32* store i32 8, i32* %26, align 4 br label LBL_3 LBL_2: %27 = call i64 @FUNC(i64 %1) %28 = trunc i64 %27 to i32 %29 = add i64 %0, 24 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 br label LBL_3 LBL_3: %31 = icmp slt i32 %arg3, 18 store i32 %3, i32* %sv_0.1.reg2mem br i1 %31, label LBL_11, label LBL_4 LBL_4: %32 = call i64 @FUNC(i64 %1) %33 = add i32 %arg3, -18 %34 = trunc i64 %32 to i32 %35 = sub i32 %34, %33 %36 = xor i32 %33, %34 %37 = xor i32 %35, %34 %38 = and i32 %37, %36 %39 = icmp slt i32 %38, 0 %40 = icmp eq i32 %35, 0 %41 = icmp slt i32 %35, 0 %42 = icmp ne i1 %41, %39 %43 = or i1 %40, %42 %44 = select i1 %43, i32 %34, i32 %33 %45 = icmp slt i32 %44, 22 %46 = icmp eq i32 %3, 65534 %47 = icmp eq i1 %46, false %or.cond = or i1 %47, %45 store i32 %33, i32* %sv_1.0.reg2mem store i32 %3, i32* %sv_0.0.reg2mem store i32 %44, i32* %sv_2.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %48 = call i64 @FUNC(i64 %1) %49 = trunc i64 %48 to i32 %50 = add i64 %0, 24 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = call i64 @FUNC(i64 %1) %53 = trunc i64 %52 to i32 %54 = add i64 %0, 28 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = call i64 @FUNC(i64 %1) %57 = trunc i64 %56 to i32 %58 = call i64 @FUNC(i64 %1, i64 12) %59 = add i32 %44, -22 %60 = add i32 %arg3, -40 store i32 %60, i32* %sv_1.0.reg2mem store i32 %57, i32* %sv_0.0.reg2mem store i32 %59, i32* %sv_2.0.reg2mem br label LBL_6 LBL_6: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %61 = add i64 %0, 32 %62 = inttoptr i64 %61 to i32* store i32 %sv_2.0.reload, i32* %62, align 4 %63 = icmp slt i32 %sv_2.0.reload, 1 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem br i1 %63, label LBL_9, label LBL_7 LBL_7: %64 = add i32 %sv_2.0.reload, 32 %65 = sext i32 %64 to i64 %66 = call i64 @FUNC(i64 %65) %67 = add i64 %0, 40 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 %69 = icmp eq i64 %66, 0 %70 = icmp eq i1 %69, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %70, label LBL_8, label LBL_13 LBL_8: %71 = load i32, i32* %62, align 4 %72 = call i64 @FUNC(i64 %1, i64 %66, i32 %71) %73 = sub i32 %sv_1.0.reload, %sv_2.0.reload store i32 %73, i32* %sv_1.1.reg2mem br label LBL_9 LBL_9: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %74 = icmp slt i32 %sv_1.1.reload, 1 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %74, label LBL_11, label LBL_10 LBL_10: %75 = zext i32 %sv_1.1.reload to i64 %76 = call i64 @FUNC(i64 %1, i64 %75) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %77 = add i64 %0, 24 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = zext i32 %sv_0.1.reload to i64 %82 = call i64 @FUNC(i64 %81, i64 %80) %83 = trunc i64 %82 to i32 %84 = add i64 %0, 48 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = icmp eq i32 %83, 86016 %87 = icmp eq i1 %86, false store i64 0, i64* %storemerge.reg2mem br i1 %87, label LBL_13, label LBL_12 LBL_12: store i32 0, i32* %10, align 4 store i32 0, i32* %14, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %66, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 3, 1, 0 } uselistorder i32 %44, { 1, 0, 2 } uselistorder i32 %35, { 1, 2, 0 } uselistorder i32 %34, { 2, 1, 0, 3 } uselistorder i32 %33, { 0, 2, 1, 3 } uselistorder i32 %3, { 1, 2, 0, 3 } uselistorder i64 %1, { 5, 4, 1, 0, 2, 3, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64 %0, { 5, 6, 3, 4, 1, 2, 7, 0, 8, 9, 10, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rl16, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } }
0
BinRealVul
mix_pool_19004
mix_pool
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %spec.select8.reg2mem = alloca i64 %indvars.iv.next9.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 1024 %2 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %1, i64* %sv_1, align 8 %3 = add i64 %0, 1004 %4 = inttoptr i64 %1 to i64* %5 = inttoptr i64 %3 to i64* %6 = call i64* @memcpy(i64* %4, i64* %5, i32 20) %7 = add i64 %0, 1044 %8 = inttoptr i64 %7 to i64* %9 = call i64* @memcpy(i64* %8, i64* %arg1, i32 44) %10 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %11 = call i64* @memcpy(i64* %arg1, i64* %4, i32 20) %12 = inttoptr i64 %7 to i8* store i32 1, i32* %storemerge5.reg2mem store i64 %0, i64* %sv_0.04.reg2mem br label LBL_1 LBL_1: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %13 = inttoptr i64 %sv_0.04.reload to i64* %14 = call i64* @memcpy(i64* %4, i64* %13, i32 20) %15 = add i64 %sv_0.04.reload, 104 %16 = load i64, i64* %sv_1, align 8 %17 = icmp ugt i64 %16, %15 %18 = add i64 %sv_0.04.reload, 40 br i1 %17, label LBL_3, label LBL_2 LBL_2: %19 = icmp ult i64 %18, %16 %spec.select7 = select i1 %19, i64 %18, i64 %0 %20 = inttoptr i64 %spec.select7 to i8* %21 = load i8, i8* %20, align 1 store i8 %21, i8* %12, align 1 store i64 21, i64* %indvars.iv.next9.reg2mem store i64 %spec.select7, i64* %spec.select8.reg2mem br label LBL_4 LBL_3: %22 = inttoptr i64 %18 to i64* %23 = call i64* @memcpy(i64* %8, i64* %22, i32 44) br label LBL_5 LBL_4: %spec.select8.reload = load i64, i64* %spec.select8.reg2mem %indvars.iv.next9.reload = load i64, i64* %indvars.iv.next9.reg2mem %24 = add i64 %spec.select8.reload, 1 %.pre = load i64, i64* %sv_1, align 8 %25 = icmp ult i64 %24, %.pre %spec.select = select i1 %25, i64 %24, i64 %0 %26 = add i64 %indvars.iv.next9.reload, %1 %27 = inttoptr i64 %spec.select to i8* %28 = load i8, i8* %27, align 1 %29 = inttoptr i64 %26 to i8* store i8 %28, i8* %29, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.next9.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.next9.reg2mem store i64 %spec.select, i64* %spec.select8.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %30 = add i64 %sv_0.04.reload, 20 %31 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %32 = inttoptr i64 %30 to i64* %33 = call i64* @memcpy(i64* %32, i64* %4, i32 20) %34 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond6 = icmp eq i32 %34, 51 store i32 %34, i32* %storemerge5.reg2mem store i64 %30, i64* %sv_0.04.reg2mem br i1 %exitcond6, label LBL_6, label LBL_1 LBL_6: %35 = call i64 @FUNC(i64 384) ret i64 %35 uselistorder i64 %indvars.iv.next9.reload, { 1, 0 } uselistorder i64 %18, { 2, 0, 1 } uselistorder i64 %sv_0.04.reload, { 3, 0, 2, 1 } uselistorder i64 %1, { 1, 0, 3, 4, 2 } uselistorder i64* %sv_1, { 1, 0, 4, 2, 5, 3 } uselistorder i64 %0, { 2, 1, 0, 4, 3, 5 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.next9.reg2mem, { 1, 0, 2 } uselistorder i64* %spec.select8.reg2mem, { 1, 0, 2 } uselistorder i64 (i64*, i64)* @rmd160_mixblock, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 5, 4, 3, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
load_xref_from_plaintext_13398
load_xref_from_plaintext
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i32 %sv_2.19.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %1 = ptrtoint i64* %sv_7 to i64 store i64 0, i64* %sv_6, align 8 %2 = inttoptr i64 %arg1 to %_IO_FILE* %3 = call i32 @ftell(%_IO_FILE* %2) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = trunc i64 %6 to i32 %8 = call i32 @fseek(%_IO_FILE* %2, i32 %7, i32 0) store i64 %6, i64* %sv_4.0.reg2mem br label LBL_5 LBL_1: %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %9 = call i32 @fgetc(%_IO_FILE* %2) %10 = icmp eq i32 %9, 47 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i32 @fgetc(%_IO_FILE* %2) %13 = icmp eq i32 %12, 83 br i1 %13, label LBL_6, label LBL_3 LBL_3: %14 = add i64 %sv_4.0.reload, -1 %15 = trunc i64 %14 to i32 %16 = call i32 @fseek(%_IO_FILE* %2, i32 %15, i32 0) %17 = icmp eq i32 %16, 0 store i64 %14, i64* %sv_4.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %19 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %18) call void @exit(i32 1) unreachable LBL_5: %20 = call i32 @ftell(%_IO_FILE* %2) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_1, label LBL_6 LBL_6: %23 = call i32 @fread(i64* nonnull %sv_6, i32 1, i32 21, %_IO_FILE* %2) %24 = icmp eq i32 %23, 21 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_2 to i64*), i32 1, i32 34, %_IO_FILE* %25) call void @exit(i32 1) unreachable LBL_8: %27 = bitcast i64* %sv_5 to i8* %28 = call i32 @atoi(i8* nonnull %27) %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = sext i32 %28 to i64 %32 = mul nsw i64 %31, 24 %33 = call i64 @FUNC(i64 %32) %34 = add i64 %0, 24 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 %36 = call i32 @fseek(%_IO_FILE* %2, i32 5, i32 0) %37 = load i32, i32* %30, align 4 %38 = icmp eq i32 %37, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %38, label LBL_24, label LBL_9 LBL_9: %39 = add i64 %1, -96 %40 = bitcast i64* %sv_6 to i8* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge11.reg2mem store i32 0, i32* %sv_0.110.reg2mem store i32 0, i32* %sv_2.19.reg2mem br label LBL_10 LBL_10: %sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %.reload = load i64, i64* %.reg2mem %41 = call i32 @fgetc(%_IO_FILE* %2) store i32 %41, i32* %storemerge2.in.reg2mem br label LBL_12 LBL_11: %42 = call i32 @fgetc(%_IO_FILE* %2) store i32 %42, i32* %storemerge2.in.reg2mem br label LBL_12 LBL_12: %storemerge2.in.reload = load i32, i32* %storemerge2.in.reg2mem %storemerge2 = trunc i32 %storemerge2.in.reload to i8 store i64 0, i64* %indvars.iv.reg2mem store i32 %storemerge2.in.reload, i32* %sv_3.0.in.reg2mem switch i8 %storemerge2, label LBL_14 [ i8 13, label LBL_11 i8 10, label LBL_11 ] LBL_13: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %43 = add i64 %indvars.iv.reload, %39 %44 = inttoptr i64 %43 to i8* store i8 %sv_3.0, i8* %44, align 1 %45 = call i32 @fgetc(%_IO_FILE* %2) store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %45, i32* %sv_3.0.in.reg2mem br label LBL_14 LBL_14: %sv_3.0.in.reload = load i32, i32* %sv_3.0.in.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %sv_3.0 = trunc i32 %sv_3.0.in.reload to i8 switch i8 %sv_3.0, label LBL_15 [ i8 13, label LBL_17 i8 10, label LBL_17 ] LBL_15: %46 = call i32 @feof(%_IO_FILE* %2) %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_17, label LBL_16 LBL_16: %49 = call i32 @ferror(%_IO_FILE* %2) %50 = icmp eq i32 %49, 0 %51 = icmp ult i64 %indvars.iv.reload, 32 %or.cond7 = icmp eq i1 %51, %50 br i1 %or.cond7, label LBL_13, label LBL_17 LBL_17: %52 = trunc i64 %indvars.iv.reload to i32 %53 = icmp ult i32 %52, 32 br i1 %53, label LBL_19, label LBL_18 LBL_18: %54 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %55 = call i32 @fwrite(i64* bitcast ([66 x i8]* @gv_3 to i64*), i32 1, i32 65, %_IO_FILE* %54) call void @exit(i32 1) unreachable LBL_19: %sext = mul i64 %indvars.iv.reload, 4294967296 %56 = ashr exact i64 %sext, 32 %57 = add i64 %56, %39 %58 = inttoptr i64 %57 to i8* store i8 0, i8* %58, align 1 %59 = call i8* @strchr(i8* nonnull %40, i32 116) %60 = icmp eq i8* %59, null %61 = icmp eq i1 %60, false store i32 %sv_0.110.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %61, label LBL_24, label LBL_20 LBL_20: %62 = call i32 @strlen(i8* nonnull %40) %63 = icmp ult i32 %62, 18 br i1 %63, label LBL_22, label LBL_21 LBL_21: %64 = add i32 %sv_2.19.reload, 1 %65 = load i64, i64* %35, align 8 %66 = mul nsw i64 %.reload, 24 %67 = add nsw i64 %66, 16 %68 = add i64 %67, %65 %69 = inttoptr i64 %68 to i32* store i32 %sv_2.19.reload, i32* %69, align 4 %70 = call i8* @strtok(i8* nonnull %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %71 = load i64, i64* %35, align 8 %72 = add i64 %71, %66 %73 = call i32 @atol(i8* %70) %74 = sext i32 %73 to i64 %75 = inttoptr i64 %72 to i64* store i64 %74, i64* %75, align 8 %76 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %77 = load i64, i64* %35, align 8 %78 = call i32 @atoi(i8* %76) %79 = add nsw i64 %66, 8 %80 = add i64 %79, %77 %81 = inttoptr i64 %80 to i32* store i32 %78, i32* %81, align 4 %82 = load i64, i64* %35, align 8 %83 = add nsw i64 %66, 12 %84 = add i64 %83, %82 %85 = inttoptr i64 %84 to i8* %86 = add i32 %sv_0.110.reload, 1 store i32 %64, i32* %sv_2.0.reg2mem store i32 %86, i32* %sv_0.0.reg2mem store i32 %storemerge11.reload, i32* %sv_1.0.reg2mem br label LBL_23 LBL_22: %87 = call i32 @atoi(i8* nonnull %40) %88 = add i32 %storemerge11.reload, -1 store i32 %87, i32* %sv_2.0.reg2mem store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem store i32 %88, i32* %sv_1.0.reg2mem br label LBL_23 LBL_23: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %89 = add i32 %sv_1.0.reload, 1 %90 = load i32, i32* %30, align 4 %91 = zext i32 %90 to i64 %92 = sext i32 %89 to i64 %93 = icmp slt i64 %92, %91 store i64 %92, i64* %.reg2mem store i32 %89, i32* %storemerge11.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.19.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %93, label LBL_10, label LBL_24 LBL_24: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %30, align 4 %94 = call i32 @fseek(%_IO_FILE* %2, i32 %3, i32 0) %95 = sext i32 %94 to i64 ret i64 %95 uselistorder i64 %66, { 1, 2, 0, 3 } uselistorder i8 %sv_3.0, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 4, 3, 1, 0, 2 } uselistorder i32 %storemerge11.reload, { 1, 0 } uselistorder i32 %sv_0.110.reload, { 1, 2, 0 } uselistorder i32 %sv_2.19.reload, { 1, 0 } uselistorder i8* %40, { 1, 0, 2, 3 } uselistorder i32* %30, { 1, 2, 0, 3 } uselistorder %_IO_FILE* %2, { 0, 3, 4, 2, 1, 5, 6, 7, 11, 9, 8, 10, 12, 13 } uselistorder i64* %sv_4.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.110.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.0.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 24, { 0, 2, 1 } uselistorder i32 (i8*)* @atoi, { 2, 1, 0 } uselistorder void (i32)* @exit, { 3, 1, 2, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 0, 1 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*)* @fgetc, { 4, 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 2, 0, 3 } uselistorder i32 0, { 7, 10, 11, 1, 2, 3, 0, 4, 8, 5, 12, 6, 9 } uselistorder label LBL_17, { 2, 3, 0, 1 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
find_iso_bc_entry_14465
find_iso_bc_entry
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = load i64, i64* @gv_0, align 8 %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 1, i64* %indvars.iv.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = add i64 %indvars.iv.reload, %0 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add i64 %13, 1 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %18, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_7 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %22 = icmp ult i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %22, label LBL_3, label LBL_6 LBL_6: %23 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_3, i64 0, i64 0)) unreachable LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i8*)* @virtio_panic, { 1, 0 } uselistorder i64 1, { 4, 5, 0, 1, 2, 3 } uselistorder i32 1, { 2, 1, 3, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
set_link_completion_14580
set_link_completion
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = call i32 @strlen(i8* %arg3) %3 = sext i32 %2 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = icmp eq i32 %1, 2 %6 = icmp eq i1 %5, false br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 0, i64* nonnull %sv_0, i64 0, i64 10) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_8 LBL_2: %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -112 %wide.trip.count = and i64 %7, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i8* %19 = call i32 @strncmp(i8* %arg3, i8* %18, i32 %2) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %0, i64 %17) br label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_8, label LBL_3 LBL_6: %23 = icmp eq i32 %1, 3 %24 = icmp eq i1 %23, false store i64 %4, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = ptrtoint i8* %arg3 to i64 %26 = call i64 @FUNC(i64 %0, i64 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %27 = call i64 @FUNC(i64 %0, i64 %25, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, 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 %0, { 2, 1, 0, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 (i64, i64, i8*)* @add_completion_option, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i8* %arg3, { 1, 0, 2 } uselistorder label LBL_8, { 2, 3, 0, 1 } }
1
BinRealVul
_gd2GetHeader_7553
_gd2GetHeader
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64* %arg7, i64* %arg8, i64* %arg9) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %r9 = alloca i64, align 8 %r8 = alloca i64, align 8 %rsi = alloca i64, align 8 %rdx = alloca i64, align 8 %rcx = alloca i64, align 8 %0 = ptrtoint i64* %arg8 to i64 %1 = ptrtoint i64* %arg7 to i64 %2 = ptrtoint i64* %arg6 to i64 %3 = ptrtoint i64* %arg5 to i64 %4 = ptrtoint i64* %arg4 to i64 %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %7 = ptrtoint i64* %sv_1 to i64 %8 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) %9 = add i64 %7, -33 store i64 0, i64* %indvars.iv7.reg2mem br label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %arg1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, -1 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_30, label LBL_2 LBL_2: %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %13 = trunc i64 %10 to i8 %14 = add i64 %9, %indvars.iv7.reload %15 = inttoptr i64 %14 to i8* store i8 %13, i8* %15, align 1 %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %16 = icmp ult i64 %indvars.iv.next8, 4 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem br i1 %16, label LBL_1, label LBL_3 LBL_3: %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %18 = bitcast i64* %sv_0 to i8* %19 = call i32 @strcmp(i8* nonnull %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_5: %22 = call i64 @FUNC(i64 %3, i64 %arg1) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 1 %25 = icmp eq i1 %24, false store i64 0, i64* %storemerge.reg2mem br i1 %25, label LBL_30, label LBL_6 LBL_6: %26 = bitcast i64* %r8 to i32* %27 = load i32, i32* %26, align 8 %28 = zext i32 %27 to i64 %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 %28) %.off9 = add i32 %27, -1 %switch10 = icmp ult i32 %.off9, 2 br i1 %switch10, label LBL_8, label LBL_7 LBL_7: %30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 %28) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_8: %31 = call i64 @FUNC(i64 %6, i64 %arg1) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_10: %36 = call i64 @FUNC(i64 %5, i64 %arg1) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_12, label LBL_11 LBL_11: %40 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_12: %41 = bitcast i64* %rdx to i32* %42 = load i32, i32* %41, align 8 %43 = zext i32 %42 to i64 %44 = bitcast i64* %rsi to i32* %45 = load i32, i32* %44, align 8 %46 = zext i32 %45 to i64 %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 %46, i64 %43) %48 = call i64 @FUNC(i64 %4, i64 %arg1) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 1 %51 = icmp eq i1 %50, false store i64 0, i64* %storemerge.reg2mem br i1 %51, label LBL_30, label LBL_13 LBL_13: %52 = bitcast i64* %rcx to i32* %53 = load i32, i32* %52, align 8 %54 = zext i32 %53 to i64 %55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i64 %54) %.off4 = add i32 %53, -1 %56 = icmp ult i32 %.off4, 1024 br i1 %56, label LBL_15, label LBL_14 LBL_14: %57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0), i64 %54) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_15: %58 = call i64 @FUNC(i64 %2, i64 %arg1) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 1 %61 = icmp eq i1 %60, false store i64 0, i64* %storemerge.reg2mem br i1 %61, label LBL_30, label LBL_16 LBL_16: %62 = bitcast i64* %r9 to i32* %63 = load i32, i32* %62, align 8 %64 = zext i32 %63 to i64 %65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0), i64 %64) %switch = icmp ult i32 %63, 4 br i1 %switch, label LBL_18, label LBL_17 LBL_17: %66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_12, i64 0, i64 0), i64 %64) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_18: %67 = call i64 @FUNC(i64 %1, i64 %arg1) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 1 %70 = icmp eq i1 %69, false store i64 0, i64* %storemerge.reg2mem br i1 %70, label LBL_30, label LBL_19 LBL_19: %71 = bitcast i64* %arg7 to i32* %72 = load i32, i32* %71, align 4 %73 = zext i32 %72 to i64 %74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_13, i64 0, i64 0), i64 %73) %75 = call i64 @FUNC(i64 %0, i64 %arg1) %76 = trunc i64 %75 to i32 %77 = icmp eq i32 %76, 1 %78 = icmp eq i1 %77, false store i64 0, i64* %storemerge.reg2mem br i1 %78, label LBL_30, label LBL_20 LBL_20: %79 = bitcast i64* %arg8 to i32* %80 = load i32, i32* %79, align 4 %81 = zext i32 %80 to i64 %82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_14, i64 0, i64 0), i64 %81) %83 = call i64 @FUNC(i64 %64) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 br i1 %85, label LBL_28, label LBL_21 LBL_21: %86 = load i32, i32* %71, align 4 %87 = load i32, i32* %79, align 4 %88 = mul i32 %87, %86 %89 = zext i32 %88 to i64 %90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_15, i64 0, i64 0), i64 %89) %91 = mul i32 %88, 8 %92 = sext i32 %91 to i64 %93 = call i64 @FUNC(i64 %92, i64 1) %94 = icmp eq i64 %93, 0 store i64 0, i64* %storemerge.reg2mem br i1 %94, label LBL_30, label LBL_22 LBL_22: %95 = icmp sgt i32 %88, 0 br i1 %95, label LBL_23, label LBL_27 LBL_23: %96 = sext i32 %88 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_24 LBL_24: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %97 = mul i64 %indvars.iv.reload, 8 %98 = add i64 %97, %93 %99 = call i64 @FUNC(i64 %98, i64 %arg1) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 1 %102 = icmp eq i1 %101, false br i1 %102, label LBL_29, label LBL_25 LBL_25: %103 = add i64 %98, 4 %104 = call i64 @FUNC(i64 %103, i64 %arg1) %105 = trunc i64 %104 to i32 %106 = icmp eq i32 %105, 1 %107 = icmp eq i1 %106, false br i1 %107, label LBL_29, label LBL_26 LBL_26: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %108 = icmp slt i64 %indvars.iv.next, %96 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %108, label LBL_24, label LBL_27 LBL_27: store i64 %93, i64* %arg9, align 8 br label LBL_28 LBL_28: %109 = call i32 @puts(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_16, i64 0, i64 0)) store i64 1, i64* %storemerge.reg2mem br label LBL_30 LBL_29: %110 = call i64 @FUNC(i64 %93) store i64 0, i64* %storemerge.reg2mem br label LBL_30 LBL_30: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %93, { 2, 1, 0, 3 } uselistorder i32 %88, { 1, 2, 0, 3 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 8, 15, 14, 13, 12, 7, 11, 6, 10, 5, 4, 3, 9, 2, 1 } uselistorder i64 (i64, i64)* @gdGetInt, { 1, 0 } uselistorder i64 (i64, i64)* @gdGetWord, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 10, 1, 0, 8, 7, 6, 5, 9, 4, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder label LBL_30, { 7, 14, 13, 12, 11, 6, 10, 5, 9, 4, 3, 2, 8, 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
av_probe_input_buffer_7491
av_probe_input_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge22.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sext3 = mul i64 %arg6, 4294967296 %0 = ashr exact i64 %sext3, 32 %1 = icmp eq i64 %arg3, 0 %storemerge6 = select i1 %1, i64 ptrtoint (i64* @gv_0 to i64), i64 %arg3 store i64 %storemerge6, i64* %sv_3, align 8 %2 = trunc i64 %0 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %5 = icmp ult i32 %2, 4097 %or.cond8 = icmp eq i1 %5, %4 store i64 4096, i64* %sv_1.0.reg2mem br i1 %or.cond8, label LBL_1, label LBL_2 LBL_1: %6 = icmp ult i32 %2, 32 store i64 %0, i64* %sv_1.0.reg2mem store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_19, label LBL_2 LBL_2: %sext = mul i64 %arg5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %7 to i32 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = trunc i64 %sv_1.0.reload to i32 %10 = icmp ult i32 %8, %9 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_3, label LBL_19 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = icmp ugt i32 %9, 31 %13 = icmp eq i64* %arg2, null %or.cond18 = icmp eq i1 %13, %12 br i1 %or.cond18, label LBL_4, label LBL_14 LBL_4: %14 = and i64 %7, 4294967295 store i32 32, i32* %storemerge22.reg2mem br label LBL_5 LBL_5: %storemerge22.reload = load i32, i32* %storemerge22.reg2mem %15 = icmp ult i32 %storemerge22.reload, %9 %16 = select i1 %15, i32 10, i32 0 %17 = icmp ult i32 %storemerge22.reload, %8 br i1 %17, label LBL_13, label LBL_6 LBL_6: store i32 %16, i32* %sv_2, align 4 %18 = add i32 %storemerge22.reload, 32 %19 = sext i32 %18 to i64 %20 = call i64 @FUNC(i64 0, i64 %19) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 0) store i64 4294967284, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_8: %24 = icmp eq i32 %storemerge22.reload, 32 %25 = ashr i32 %storemerge22.reload, 1 %spec.select.le = select i1 %24, i32 0, i32 %25 %26 = sub i32 %storemerge22.reload, %spec.select.le %27 = zext i32 %26 to i64 %28 = sext i32 %spec.select.le to i64 %29 = add i64 %20, %28 %30 = call i64 @FUNC(i64 %11, i64 %29, i64 %27) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false store i64 %30, i64* %sv_0.0.reg2mem br i1 %33, label LBL_12, label LBL_9 LBL_9: %34 = icmp eq i32 %31, 1 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = call i64 @FUNC(i64 %20) store i64 %30, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_11: store i32 0, i32* %sv_2, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = sub i64 %sv_0.0.reload, %7 %37 = add i64 %20, %14 %sext31 = mul i64 %36, 4294967296 %38 = ashr exact i64 %sext31, 32 %39 = add i64 %37, %38 %40 = inttoptr i64 %39 to i64* %41 = call i64* @memset(i64* %40, i32 0, i32 32) %42 = call i64 @FUNC(i64* nonnull %sv_3, i64 1, i32* nonnull %sv_2) call void @llvm.trap() unreachable LBL_13: %43 = add i32 %storemerge22.reload, 1 %44 = icmp ult i32 %43, %9 %45 = icmp eq i1 %44, false %46 = select i1 %45, i32 %43, i32 %9 %47 = mul i32 %storemerge22.reload, 2 %48 = icmp ugt i32 %46, %47 %49 = select i1 %48, i32 %47, i32 %46 %50 = icmp ugt i32 %49, %9 store i32 %49, i32* %storemerge22.reg2mem br i1 %50, label LBL_15, label LBL_5 LBL_14: %51 = icmp eq i1 %13, false br i1 %51, label LBL_17, label LBL_16 LBL_15: store i32 %16, i32* %sv_2, align 4 br label LBL_16 LBL_16: %52 = call i64 @FUNC(i64 0) store i64 2, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_17: %53 = sub i32 0, %8 %54 = call i64 @FUNC(i64 %11, i64 0, i32 %53) %55 = trunc i64 %54 to i32 %56 = icmp slt i32 %55, 0 %57 = icmp eq i1 %56, false store i64 %54, i64* %rax.0.shrunk.reg2mem br i1 %57, label LBL_19, label LBL_18 LBL_18: %58 = call i64 @FUNC(i64 0) store i64 %54, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_19: %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 %54, { 1, 0, 2 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %spec.select.le, { 1, 0 } uselistorder i64 %20, { 0, 2, 1, 3 } uselistorder i32 %storemerge22.reload, { 7, 2, 5, 4, 3, 6, 0, 1 } uselistorder i1 %13, { 1, 0 } uselistorder i32 %9, { 3, 2, 1, 4, 0, 5 } uselistorder i32 %8, { 2, 0, 1 } uselistorder i32 %2, { 1, 0, 2 } uselistorder i32* %sv_2, { 0, 2, 3, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge22.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 5, 7, 6, 3, 4 } uselistorder i64 (i64)* @av_free, { 3, 0, 2, 1 } uselistorder i32 32, { 3, 1, 4, 0, 2 } uselistorder label LBL_19, { 1, 0, 6, 4, 5, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
srt_decode_frame_18527
srt_decode_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge.in.pre.reg2mem = alloca i32 %sv_0.0.in6.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %rcx = alloca i64, align 8 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %sv_7 = alloca i32, align 4 %sv_8 = alloca i32, align 4 %sv_9 = alloca i32*, align 8 store i32* %arg4, i32** %sv_9, align 8 store i32 -1, i32* %sv_8, align 4 store i32 -1, i32* %sv_7, align 4 store i32 -1, i32* %sv_6, align 4 store i32 -1, i32* %sv_5, align 4 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i32 %3, i32* %storemerge.in.reg2mem br i1 %8, label LBL_1, label LBL_7 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = trunc i64 %1 to i32 %11 = ptrtoint i32* %arg4 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %9) %sv_0.05 = inttoptr i64 %14 to i8* %16 = load i8, i8* %sv_0.05, align 1 %17 = icmp eq i8 %16, 0 %18 = icmp eq i1 %17, false store i32 %3, i32* %storemerge.in.pre.reg2mem store i32 %10, i32* %.reg2mem br i1 %18, label LBL_2, label LBL_6 LBL_2: %19 = ptrtoint i64* %arg1 to i64 %20 = ptrtoint i32** %sv_9 to i64 %21 = bitcast i64* %rcx to i32* %22 = add i64 %20, -8 %23 = inttoptr i64 %22 to i64* %24 = ptrtoint i32* %sv_5 to i64 %25 = bitcast i32* %sv_3 to i64* %26 = bitcast i32* %sv_4 to i64* %27 = add i64 %20, -16 %28 = inttoptr i64 %27 to i64* store i64 %14, i64* %sv_0.0.in6.reg2mem br label LBL_3 LBL_3: %sv_0.0.in6.reload = load i64, i64* %sv_0.0.in6.reg2mem store i64 %24, i64* %23, align 8 %29 = call i64 @FUNC(i64 %sv_0.0.in6.reload, i64* nonnull %25, i64* nonnull %26, i32* nonnull %sv_8, i32* nonnull %sv_7, i32* nonnull %sv_6) %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = load i32, i32* %sv_5, align 4 %32 = zext i32 %31 to i64 %33 = load i32, i32* %sv_6, align 4 %34 = zext i32 %33 to i64 %35 = load i32, i32* %sv_7, align 4 %36 = load i32, i32* %sv_8, align 4 store i64 %32, i64* %23, align 8 store i64 %34, i64* %28, align 8 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %19, i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %29, i64 %37, i32 %35) %39 = load i32, i32* %sv_4, align 4 %40 = zext i32 %39 to i64 %41 = load i32, i32* %sv_3, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %9, i64* nonnull %sv_2, i64 %42, i64 %40, i64 0) %sv_0.0 = inttoptr i64 %38 to i8* %44 = load i8, i8* %sv_0.0, align 1 %45 = icmp eq i8 %44, 0 %46 = icmp eq i1 %45, false store i64 %38, i64* %sv_0.0.in6.reg2mem br i1 %46, label LBL_3, label LBL_5 LBL_5: %.phi.trans.insert = bitcast i64* %rsi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 %storemerge.in.pre.pre = load i32, i32* %21, align 8 store i32 %storemerge.in.pre.pre, i32* %storemerge.in.pre.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %storemerge.in.pre.reload = load i32, i32* %storemerge.in.pre.reg2mem %47 = icmp eq i32 %.reload, 0 %48 = icmp slt i32 %.reload, 0 %49 = icmp eq i1 %48, false %50 = icmp eq i1 %47, false %51 = icmp eq i1 %49, %50 %52 = zext i1 %51 to i32 %53 = bitcast i64* %arg3 to i32* store i32 %52, i32* %53, align 4 store i32 %storemerge.in.pre.reload, i32* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %3, { 1, 0, 2, 3 } uselistorder i32* %sv_8, { 1, 0, 2 } uselistorder i32* %sv_7, { 1, 0, 2 } uselistorder i32* %sv_6, { 1, 0, 2 } uselistorder i64* %sv_0.0.in6.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.in.pre.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i1 false, { 3, 1, 4, 0, 5, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
update_error_limit_1605
update_error_limit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %.reg2mem10 = alloca i64 %storemerge38.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = bitcast i64* %rdi to i32* %3 = add i64 %1, -16 %4 = add i64 %1, -24 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge38.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %5 = mul i64 %.reload, 16 %6 = add i64 %5, %0 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %6, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = sub i32 0, %12 %14 = sub i32 %13, 1 %15 = icmp ugt i32 %9, %14 store i64 4294967295, i64* %storemerge2.reg2mem br i1 %15, label LBL_10, label LBL_2 LBL_2: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %16 = add i32 %12, %9 store i32 %16, i32* %8, align 4 %17 = ashr i32 %16, 16 %18 = mul i64 %.reload, 4 %19 = add i64 %18, %3 %20 = inttoptr i64 %19 to i32* store i32 %17, i32* %20, align 4 %21 = add i64 %6, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %4, %18 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = add i32 %storemerge38.reload, 1 %27 = load i32, i32* %2, align 8 %28 = zext i32 %27 to i64 %29 = sext i32 %26 to i64 %30 = icmp sgt i64 %29, %28 store i64 %29, i64* %.reg2mem store i32 %26, i32* %storemerge38.reg2mem br i1 %30, label LBL_3, label LBL_1 LBL_3: %31 = add i64 %0, 4 %32 = inttoptr i64 %31 to i32* %33 = add i64 %0, 20 store i64 0, i64* %.reg2mem10 store i32 0, i32* %storemerge7.reg2mem br label LBL_4 LBL_4: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.reload11 = load i64, i64* %.reg2mem10 %34 = load i32, i32* %32, align 4 %35 = icmp eq i32 %34, 0 %36 = mul i64 %.reload11, 4 br i1 %35, label LBL_8, label LBL_5 LBL_5: %37 = add i64 %4, %36 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %36, %3 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = sub i32 %39, %42 %44 = icmp slt i32 %43, -255 br i1 %44, label LBL_7, label LBL_6 LBL_6: %45 = urem i32 %43, 32 %46 = shl i32 1, %45 %47 = mul i64 %.reload11, 16 %48 = add i64 %47, %33 %49 = inttoptr i64 %48 to i32* store i32 %46, i32* %49, align 4 br label LBL_9 LBL_7: %50 = mul i64 %.reload11, 16 %51 = add i64 %50, %33 %52 = inttoptr i64 %51 to i32* store i32 0, i32* %52, align 4 br label LBL_9 LBL_8: %53 = add i64 %36, %3 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = urem i32 %55, 32 %57 = shl i32 1, %56 %58 = mul i64 %.reload11, 16 %59 = add i64 %58, %33 %60 = inttoptr i64 %59 to i32* store i32 %57, i32* %60, align 4 br label LBL_9 LBL_9: %61 = add i32 %storemerge7.reload, 1 %62 = load i32, i32* %2, align 8 %63 = zext i32 %62 to i64 %64 = sext i32 %61 to i64 %65 = icmp sgt i64 %64, %63 store i64 %64, i64* %.reg2mem10 store i32 %61, i32* %storemerge7.reg2mem store i64 0, i64* %storemerge2.reg2mem br i1 %65, label LBL_10, label LBL_4 LBL_10: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %36, { 2, 1, 0 } uselistorder i64 %.reload11, { 3, 2, 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem10, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 16, { 0, 1, 2, 4, 3 } uselistorder i32 0, { 3, 4, 0, 2, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
qos_list_build_18495
qos_list_build
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge1.reg2mem = alloca i64 %storemerge3.in.reg2mem = alloca i8* %1 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge1.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %arg1) %7 = inttoptr i64 %6 to i8* %8 = bitcast i64* %sv_2 to i8** %9 = call i8* @strtok_r(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8** nonnull %8) %10 = icmp eq i8* %9, null %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_7 LBL_2: %12 = zext i32 %1 to i64 store i8* %9, i8** %storemerge3.in.reg2mem br label LBL_3 LBL_3: %storemerge3.in.reload = load i8*, i8** %storemerge3.in.reg2mem %storemerge3 = ptrtoint i8* %storemerge3.in.reload to i64 %13 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) store i64 %storemerge3, i64* %sv_0, align 8 %14 = load i32, i32* @gv_2, align 4 %15 = load i64, i64* @gv_3, align 8 %16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_0, i32 %14, i64* nonnull %sv_1) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %5, i64 %12) br label LBL_6 LBL_5: %21 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %storemerge3) br label LBL_6 LBL_6: %22 = call i8* @strtok_r(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8** nonnull %8) %23 = icmp eq i8* %22, null %24 = icmp eq i1 %23, false store i8* %22, i8** %storemerge3.in.reg2mem br i1 %24, label LBL_3, label LBL_7 LBL_7: %25 = call i64 @FUNC(i64 %6) %26 = call i64 @FUNC(i64 ptrtoint ([2 x i8]* @gv_1 to i64)) store i64 %5, i64* %storemerge1.reg2mem br label LBL_8 LBL_8: %27 = ptrtoint i64* %arg2 to i64 %storemerge1.reload = load i64, i64* %storemerge1.reg2mem store i64 %storemerge1.reload, i64* %arg2, align 8 ret i64 %27 uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i8** %storemerge3.in.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i8* null, { 1, 2, 0 } uselistorder [2 x i8]* @gv_1, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
rdgsbase_5906
rdgsbase
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = and i64 %2, 32 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 3221225729, i64 %1) br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 32, { 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
cx24116_read_ucblocks_10625
cx24116_read_ucblocks
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %7 = call i64 @FUNC(i64 %5, i64 1) %8 = trunc i64 %7 to i32 %9 = mul i32 %8, 256 %10 = call i64 @FUNC(i64 %5, i64 0) %11 = trunc i64 %10 to i32 %12 = or i32 %9, %11 %13 = bitcast i64* %arg2 to i32* store i32 %12, i32* %13, align 4 ret i64 0 uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @cx24116_readreg, { 1, 0 } }
0
BinRealVul
io_req_drop_files_7197
io_req_drop_files
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1, i64 %2) %4 = add i64 %1, 24 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %1, 16 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %6) br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %1, i64 %2) %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = and i64 %14, -2 store i64 %15, i64* %13, align 8 %16 = inttoptr i64 %6 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) store i64 0, i64* %16, align 8 ret i64 %1 uselistorder i64 %1, { 0, 1, 2, 4, 3, 5 } }
0
BinRealVul
opj_tcd_code_block_enc_allocate_data_11044
opj_tcd_code_block_enc_allocate_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %1 to i32 %7 = sub i32 %5, %6 %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sub i32 %10, %13 %15 = mul i32 %7, 4 %16 = mul i32 %14, %15 %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp ugt i32 %16, %19 store i64 1, i64* %storemerge.reg2mem br i1 %20, label LBL_1, label LBL_6 LBL_1: %21 = add i64 %2, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = add i64 %23, -1 %26 = call i64 @FUNC(i64 %25) br label LBL_3 LBL_3: %27 = or i32 %16, 1 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) store i64 %29, i64* %22, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_5, label LBL_4 LBL_4: store i32 0, i32* %18, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: store i32 %16, i32* %18, align 4 %32 = load i64, i64* %22, align 8 %33 = inttoptr i64 %32 to i8* store i8 0, i8* %33, align 1 %34 = load i64, i64* %22, align 8 %35 = add i64 %34, 1 store i64 %35, i64* %22, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %22, { 1, 0, 2, 3, 4 } uselistorder i32 %16, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_6, { 0, 2, 1 } }
1
BinRealVul
jslGetTokenString_13343
jslGetTokenString
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32*, i32** @gv_0, align 8 %1 = load i32, i32* %0, align 4 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg1 to i8* %5 = trunc i64 %arg2 to i32 %6 = call i8* @strncpy(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 %5) %7 = call i64 @FUNC() %8 = inttoptr i64 %7 to i8* %9 = call i8* @strncat(i8* %4, i8* %8, i32 %5) %10 = ptrtoint i8* %9 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = icmp eq i32 %1, 2 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = bitcast i64* %arg1 to i8* %14 = trunc i64 %arg2 to i32 %15 = call i8* @strncpy(i8* %13, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i32 %14) %16 = call i64 @FUNC() %17 = inttoptr i64 %16 to i8* %18 = call i8* @strncat(i8* %13, i8* %17, i32 %14) %19 = call i8* @strncat(i8* %13, i8* inttoptr (i64 4202548 to i8*), i32 %14) %20 = ptrtoint i8* %19 to i64 store i64 %20, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = ptrtoint i64* %arg1 to i64 %22 = zext i32 %1 to i64 %23 = call i64 @FUNC(i64 %22, i64 %21, i64 %arg2) store i64 %23, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %13, { 0, 2, 1 } uselistorder i8* %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i8* (i8*, i8*, i32)* @strncat, { 2, 1, 0 } uselistorder i64 ()* @jslGetTokenValueAsString, { 1, 0 } uselistorder i8* (i8*, i8*, i32)* @strncpy, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } }
1
BinRealVul
tb_phys_invalidate_509
tb_phys_invalidate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC() %4 = and i64 %1, 4294967294 %5 = or i64 %4, 1 %6 = call i64 @FUNC(i64 %2, i64 %5) %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 4096 %14 = add i32 %13, %9 %15 = add i64 %2, 20 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = and i64 %1, 2 %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %17 to i64 %23 = zext i32 %14 to i64 %24 = call i64 @FUNC(i64 %23, i32 %12, i32 %21, i64 %18, i64 %22) %25 = trunc i64 %24 to i32 %26 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2, i32 %25) %27 = and i64 %26, 4294967295 %28 = xor i64 %27, 1 %29 = trunc i64 %28 to i8 %30 = icmp eq i8 %29, 0 %31 = icmp eq i1 %30, false store i64 %28, i64* %rax.0.reg2mem br i1 %31, label LBL_6, label LBL_1 LBL_1: %32 = load i32, i32* %8, align 4 %33 = trunc i64 %arg2 to i32 %34 = icmp eq i32 %32, %33 br i1 %34, label LBL_3, label LBL_2 LBL_2: %35 = udiv i32 %32, 4096 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = call i64 @FUNC(i64 %37, i64 %2) %39 = call i64 @FUNC(i64 %37) br label LBL_3 LBL_3: %40 = add i64 %2, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, -1 %44 = icmp eq i32 %42, %33 %or.cond = or i1 %43, %44 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %45 = udiv i32 %42, 4096 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = call i64 @FUNC(i64 %47, i64 %2) %49 = call i64 @FUNC(i64 %47) br label LBL_5 LBL_5: %50 = load i32, i32* %11, align 4 %51 = zext i32 %50 to i64 %52 = call i64 @FUNC(i64 %51) %53 = call i64 @FUNC(i64 %2, i64 0) %54 = call i64 @FUNC(i64 %2, i64 1) %55 = call i64 @FUNC(i64 %2) store i32 ptrtoint (i32* @gv_1 to i32), i32* bitcast (i64* @gv_2 to i32*), align 8 store i64 ptrtoint (i32* @gv_1 to 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 i32 %12, { 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 5, 0, 6, 7, 8, 9, 10, 11 } uselistorder i64 %1, { 1, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i64 (i64, i64)* @tb_remove_from_jmp_list, { 1, 0 } uselistorder i64 (i64)* @invalidate_page_bitmap, { 1, 0 } uselistorder i64 (i64, i64)* @tb_page_remove, { 1, 0 } uselistorder i64 (i64)* @page_find, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 1, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
read_help_15614
read_help
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i32 @puts(i8* getelementptr inbounds ([496 x i8], [496 x i8]* @gv_0, i64 0, i64 0)) %1 = sext i32 %0 to i64 ret i64 %1 }
1
BinRealVul
get_ue_code_13998
get_ue_code
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = call i64 @FUNC(i64 %0) store i64 %3, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 %6 = urem i32 %5, 32 %7 = icmp eq i32 %6, 0 %8 = trunc i64 %3 to i32 %9 = shl i32 %8, %6 %10 = zext i32 %9 to i64 %rdx.0 = select i1 %7, i64 %3, i64 %10 %11 = and i64 %4, 4294967295 %12 = call i64 @FUNC(i64 %0, i64 %11) %13 = add i64 %12, %rdx.0 %14 = and i64 %13, 4294967295 store i64 %14, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 1, 0 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
onig_region_resize_9521
onig_region_resize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = add i64 %0, 20 %4 = inttoptr i64 %3 to i32* store i32 %1, i32* %4, align 4 %5 = icmp sgt i32 %1, 9 %spec.select = select i1 %5, i64 %2, i64 10 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = mul i64 %spec.select, 4 %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %arg1, align 8 %13 = call i64 @FUNC(i64 %11) %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = icmp ne i64 %spec.select, 0 %17 = icmp eq i64 %13, 0 %18 = icmp eq i1 %17, false %or.cond = icmp eq i1 %16, %18 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_6 LBL_2: %19 = trunc i64 %spec.select to i32 store i32 %19, i32* %7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %20 = zext i32 %8 to i64 %21 = icmp sgt i64 %spec.select, %20 store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_6 LBL_4: %22 = mul i64 %spec.select, 4 %23 = call i64 @FUNC(i64 %0, i64 %22) store i64 %23, i64* %arg1, align 8 %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %22) store i64 %27, i64* %25, align 8 %28 = icmp ne i64 %26, 0 %29 = icmp eq i64 %27, 0 %30 = icmp eq i1 %29, false %or.cond9 = icmp eq i1 %28, %30 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond9, label LBL_5, label LBL_6 LBL_5: %31 = trunc i64 %spec.select to i32 store i32 %31, i32* %7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %22, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64 %spec.select, { 2, 0, 5, 3, 4, 1 } uselistorder i32 %1, { 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 3, 1, 5 } uselistorder i64 (i64, i64)* @xrealloc, { 1, 0 } uselistorder i64 (i64)* @xmalloc, { 1, 0 } uselistorder label LBL_6, { 3, 0, 4, 2, 1 } }
0
BinRealVul
do_device_add_2050
do_device_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC([12 x i8]** nonnull @gv_1, i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %2) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } }
0
BinRealVul
pfkey_register_6472
pfkey_register
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 256 store i64 4294967293, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = inttoptr i64 %3 to i32* %7 = icmp eq i32 %4, 0 br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = load i32, i32* %6, align 4 %9 = urem i32 %8, 32 %10 = ashr i32 %8, %9 %storemerge = zext i32 %10 to i64 store i64 %storemerge, i64* %rdx, align 8 %11 = urem i64 %storemerge, 2 %12 = icmp eq i64 %11, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_8 LBL_3: %13 = load i32, i32* %6, align 4 %14 = zext i32 %13 to i64 store i64 %14, i64* %rdx, align 8 %15 = urem i32 %13, 32 %16 = shl i32 1, %15 %17 = or i32 %16, %13 store i32 %17, i32* %6, align 4 br label LBL_4 LBL_4: %18 = call i64 @FUNC() %19 = ptrtoint i32* %arg3 to i64 %20 = call i64 @FUNC(i64 %19, i64 0) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = bitcast i64* %rdx to i32* %24 = load i32, i32* %23, align 8 %25 = icmp eq i32 %24, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = load i32, i32* %6, align 4 %27 = zext i32 %26 to i64 store i64 %27, i64* %rdx, align 8 %28 = urem i32 %26, 32 %29 = icmp eq i32 %28, 0 %30 = shl i32 -1, %28 %phitmp = add i32 %30, -1 %storemerge3 = select i1 %29, i32 -2, i32 %phitmp %31 = and i32 %storemerge3, %26 store i32 %31, i32* %6, align 4 store i64 4294967294, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %2) %33 = call i64 @FUNC(i64 %20, i64 0, i64 1, i64 %2, i64 %32) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %26, { 1, 0, 2 } uselistorder i32 %13, { 1, 0, 2 } uselistorder i32 %8, { 1, 0 } uselistorder i32* %6, { 2, 3, 0, 1, 4 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rdx, { 2, 3, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 4294967294, { 1, 0 } uselistorder label LBL_8, { 4, 1, 0, 2, 3 } }
0