dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
crypt_alloc_tfms_17810
crypt_alloc_tfms
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = mul i64 %1, 8 %4 = and i64 %3, 34359738360 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = icmp eq i64 %5, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_5 LBL_1: %10 = bitcast i64* %rdi to i32* %11 = load i32, i32* %10, align 8 %12 = icmp eq i32 %11, 0 store i32 0, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %13 = call i64* @malloc(i32 0) %14 = icmp eq i64* %13, null %. = select i1 %14, i64 -12, i64 1 %15 = load i64, i64* %7, align 8 %16 = zext i32 %storemerge2.reload to i64 %17 = mul i64 %16, 8 %18 = add i64 %15, %17 %19 = inttoptr i64 %18 to i64* store i64 %., i64* %19, align 8 %20 = load i64, i64* %7, align 8 %21 = add i64 %20, %17 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp ult i64 %23, -1000 br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %2) %26 = and i64 %23, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %27 = add i32 %storemerge2.reload, 1 %28 = load i32, i32* %10, align 8 %29 = icmp ult i32 %27, %28 store i32 %27, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_2, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0 } uselistorder i32* %10, { 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder label LBL_5, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
virtio_ioport_read_17109
virtio_ioport_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %1, 4294967295 store i64 %2, i64* @0, align 8 %3 = udiv i64 %1, 4 %4 = trunc i64 %3 to i32 %5 = urem i32 %4, 1073741824 %arg2.tr = trunc i64 %arg2 to i32 %6 = mul i32 %arg2.tr, 1073741824 %7 = or i32 %5, %6 store i32 -1, i32* %sv_0.0.reg2mem switch i32 %7, label LBL_10 [ i32 0, label LBL_1 i32 1, label LBL_2 i32 2, label LBL_3 i32 3, label LBL_4 i32 4, label LBL_5 i32 5, label LBL_6 i32 6, label LBL_7 i32 7, label LBL_8 i32 8, label LBL_9 ] LBL_1: %8 = trunc i64 %0 to i32 %9 = or i32 %8, 7 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_10 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 store i32 %12, i32* %sv_0.0.reg2mem br label LBL_10 LBL_3: %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = trunc i64 %17 to i32 %19 = udiv i32 %18, 4096 store i32 %19, i32* %sv_0.0.reg2mem br label LBL_10 LBL_4: %20 = add i64 %0, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %0, i64 %23) %25 = trunc i64 %24 to i32 store i32 %25, i32* %sv_0.0.reg2mem br label LBL_10 LBL_5: %26 = add i64 %0, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 store i32 %28, i32* %sv_0.0.reg2mem br label LBL_10 LBL_6: %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 store i32 %31, i32* %sv_0.0.reg2mem br label LBL_10 LBL_7: %32 = add i64 %0, 20 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 store i32 0, i32* %33, align 4 %35 = add i64 %0, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38, i64 0) store i32 %34, i32* %sv_0.0.reg2mem br label LBL_10 LBL_8: %40 = add i64 %0, 24 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 store i32 %42, i32* %sv_0.0.reg2mem br label LBL_10 LBL_9: %43 = add i64 %0, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %0, i64 %46) %48 = trunc i64 %47 to i32 store i32 %48, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %49 = zext i32 %sv_0.0.reload to i64 ret i64 %49 uselistorder i64 %0, { 12, 11, 10, 8, 9, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10 } uselistorder i32 7, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } }
1
BinRealVul
usb_msd_init_14120
usb_msd_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 ptrtoint (i64* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = zext i32 %2 to i64 %4 = bitcast i64* %sv_3 to i8* %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %4, i32 8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %3) %6 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_3, i64 0) %8 = inttoptr i64 %arg2 to i8* %9 = call i8* @strchr(i8* %8, i32 58) %10 = icmp eq i8* %9, null store i64 %arg2, i64* %sv_0.0.reg2mem br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = ptrtoint i8* %9 to i64 %12 = add i64 %11, 1 %13 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = load i64, i64* %sv_2, align 8 %17 = sub i64 %12, %16 %18 = icmp ult i64 %17, 32 %19 = select i1 %18, i64 %17, i64 32 %20 = call i64 @FUNC(i64* nonnull %sv_1, i64 %19, i64 %16) %21 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %22 = trunc i64 %1 to i8 %23 = icmp eq i8 %22, 58 store i64 %12, i64* %sv_0.0.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_6, i64 0, i64 0), i8* %8) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = inttoptr i64 %sv_0.0.reload to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %30 = inttoptr i64 %sv_0.0.reload to i64* %31 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64* %30) %32 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64* bitcast ([5 x i8]* @gv_10 to i64*)) %33 = call i64 @FUNC(i64 %7, i64 0) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %7) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_9: %37 = ptrtoint i64* %arg1 to i64 %38 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0)) %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_10, label LBL_13 LBL_10: %41 = inttoptr i64 %33 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp slt i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = call i64 @FUNC(i64 %38) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %48 = call i64 @FUNC(i64 %38) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false %. = select i1 %51, i64 %38, i64 0 store i64 %., i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 0, 2 } uselistorder i8* %9, { 1, 0 } uselistorder i64 %7, { 1, 4, 3, 2, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 5, 4, 3 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64, i8*, i64*)* @qemu_opt_set, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_13, { 0, 2, 1, 3, 4, 5 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
ParseGimpLUT_4079
ParseGimpLUT
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 0, i64 0) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 18) %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 %0) %7 = trunc i64 %6 to i32 %8 = icmp sgt i32 %7, 5 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %arg3, 4294967296 %18 = ashr exact i64 %sext, 29 %19 = add i64 %11, %18 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_0) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %26 = ptrtoint i64* %arg2 to i64 %27 = ptrtoint i64* %sv_2 to i64 %28 = call i64 @FUNC(i64 %0) %29 = add i64 %27, -528 %30 = add i64 %27, -272 store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = add i64 %29, %indvars.iv.reload %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = add i64 %indvars.iv.reload, %26 %35 = zext i8 %33 to i64 %36 = add i64 %30, %35 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = inttoptr i64 %34 to i8* store i8 %38, i8* %39, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64*)* @LutFromGimpLine, { 1, 0 } uselistorder i64 (i64)* @CSLDestroy, { 2, 1, 0 } }
0
BinRealVul
unassigned_mem_writew_18651
unassigned_mem_writew
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i32 %arg3) %1 = call i64 @FUNC(i64 %arg2, i64 1, i64 0, i64 0, i64 2) ret i64 %1 }
1
BinRealVul
break_ksm_9257
break_ksm
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64 1) %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %2, i64* %.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_1: %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %0, i64 %arg2, i64 1) %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %8, i64* %.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %13 = call i64 @FUNC(i64 %.reload) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = call i64 @FUNC(i64 %.reload) store i64 0, i64* %sv_0.1.reg2mem br label LBL_6 LBL_4: %17 = call i64 @FUNC(i64 %.reload, i64 %0, i64 %arg2, i64 16) %18 = call i64 @FUNC(i64 %.reload) %19 = and i64 %17, 14 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_1, label LBL_5 LBL_5: %phitmp14 = and i64 %17, 8 %phitmp13 = icmp eq i64 %phitmp14, 0 %phitmp = select i1 %phitmp13, i64 0, i64 4294967284 store i64 %phitmp, i64* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i64 %.reload, { 1, 0, 3, 2 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64)* @put_page, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64)* @IS_ERR_OR_NULL, { 1, 0 } uselistorder i64 (i64, i64, i64)* @follow_page, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 ()* @cond_resched, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mptsas_config_ioc_6_8904
mptsas_config_ioc_6
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: ret i64 ptrtoint ([45 x i8]* @gv_0 to i64) }
0
BinRealVul
keyctl_negate_key_10845
keyctl_negate_key
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = trunc i64 %arg3 to i32 %5 = call i64 @FUNC() %6 = and i64 %arg1, 4294967295 %7 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 %3, i32 %4, i64 %2, i64 %1) %8 = inttoptr i64 %5 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 -1, i64* %sv_0.0.reg2mem br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = trunc i64 %arg1 to i32 %19 = icmp eq i32 %17, %18 %20 = icmp eq i1 %19, false store i64 -1, i64* %sv_0.0.reg2mem br i1 %20, label LBL_5, label LBL_2 LBL_2: %21 = and i64 %arg3, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %13, i64* nonnull %sv_1) %23 = icmp slt i64 %22, 0 store i64 %22, i64* %sv_0.0.reg2mem br i1 %23, label LBL_5, label LBL_3 LBL_3: %24 = load i64, i64* %sv_1, align 8 %25 = load i64, i64* %14, align 8 %26 = call i64 @FUNC(i64 %25, i32 %3, i64 %24, i64 %9) %27 = load i64, i64* %sv_1, align 8 %28 = call i64 @FUNC(i64 %27) %29 = icmp eq i64 %26, 0 %30 = icmp eq i1 %29, false store i64 %26, i64* %sv_0.0.reg2mem br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 0) store i64 %26, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
0
BinRealVul
e1000e_cleanup_msix_221
e1000e_cleanup_msix
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 1) %7 = call i64 @FUNC(i64 %0) %8 = and i64 %7, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %0, i64 %0) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 3, 0, 4 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @PCI_DEVICE, { 1, 0 } }
0
BinRealVul
messageAddArguments_7566
messageAddArguments
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i8* %rcx.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i8* %sv_0.2.reg2mem = alloca i8* %sv_0.1.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %storemerge8.reg2mem = alloca i8* %sv_2.0.reg2mem = alloca i8* %storemerge9.in.in.in.reg2mem = alloca i8* %sv_3.0.reg2mem = alloca i8* %rcx.0.reg2mem = alloca i64 %.reg2mem20 = alloca i8* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = inttoptr i64 %arg2 to i8* %6 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) %7 = icmp eq i64 %arg2, 0 %8 = icmp eq i1 %7, false store i8* %5, i8** %sv_0.3.reg2mem br i1 %8, label LBL_38, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0)) store i64 %arg2, i64* %.reg2mem store i8* %5, i8** %.reg2mem20 store i64 ptrtoint ([20 x i8]* @gv_3 to i64), i64* %rcx.0.reg2mem br label LBL_2 LBL_2: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload21 = load i8*, i8** %.reg2mem20 %9 = call i16** @__ctype_b_loc() %10 = load i16*, i16** %9, align 8 %11 = ptrtoint i16* %10 to i64 %12 = load i8, i8* %.reload21, align 1 %13 = zext i8 %12 to i64 %14 = mul i64 %13, 2 %15 = add i64 %14, %11 %16 = inttoptr i64 %15 to i16* %17 = load i16, i16* %16, align 2 %18 = and i16 %17, 8192 %19 = icmp eq i16 %18, 0 %20 = icmp eq i8 %12, 59 %21 = icmp eq i1 %20, false %or.cond = icmp eq i1 %21, %19 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %22 = ptrtoint i8* %.reload21 to i64 %23 = add i64 %22, 1 %24 = inttoptr i64 %23 to i8* store i8* %24, i8** %sv_0.3.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem br label LBL_38 LBL_4: %.reload = load i64, i64* %.reg2mem %.cast = inttoptr i64 %.reload to i8* %25 = call i8* @strchr(i8* %.cast, i32 61) %26 = icmp eq i8* %25, null %27 = icmp eq i1 %26, false store i8* %25, i8** %sv_3.0.reg2mem br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = call i8* @strchr(i8* %.reload21, i32 58) store i8* %28, i8** %sv_3.0.reg2mem br label LBL_6 LBL_6: %29 = ptrtoint i64* %arg1 to i64 %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem %30 = icmp eq i8* %sv_3.0.reload, null %31 = icmp eq i1 %30, false store i8* %sv_3.0.reload, i8** %storemerge9.in.in.in.reg2mem br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %arg2, i64 %11, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %32, i64* %rax.0.reg2mem br label LBL_39 LBL_8: %storemerge9.in.in.in.reload = load i8*, i8** %storemerge9.in.in.in.reg2mem %storemerge9.in.in = ptrtoint i8* %storemerge9.in.in.in.reload to i64 %storemerge9.in = add i64 %storemerge9.in.in, 1 %storemerge9 = inttoptr i64 %storemerge9.in to i8* %33 = call i16** @__ctype_b_loc() %34 = load i16*, i16** %33, align 8 %35 = ptrtoint i16* %34 to i64 %36 = load i8, i8* %storemerge9, align 1 %37 = sext i8 %36 to i64 %38 = mul i64 %37, 2 %39 = add i64 %38, %35 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 %42 = and i16 %41, 8192 %43 = icmp ne i16 %42, 0 %44 = icmp eq i8 %36, 0 %45 = icmp eq i1 %44, false %or.cond12 = icmp eq i1 %45, %43 store i8* %storemerge9, i8** %storemerge9.in.in.in.reg2mem br i1 %or.cond12, label LBL_8, label LBL_9 LBL_9: %46 = add i64 %storemerge9.in.in, 2 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %.cast, align 1 %49 = icmp eq i8 %48, 0 %50 = icmp eq i1 %49, false store i8* %47, i8** %sv_0.3.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem br i1 %50, label LBL_10, label LBL_38 LBL_10: %51 = icmp eq i8 %36, 34 %52 = icmp eq i1 %51, false br i1 %52, label LBL_29, label LBL_11 LBL_11: %53 = call i64 @FUNC(i64 %.reload) %54 = icmp eq i64 %53, 0 store i64 0, i64* %rax.0.reg2mem br i1 %54, label LBL_39, label LBL_12 LBL_12: %55 = inttoptr i64 %53 to i8* %56 = call i8* @strchr(i8* %55, i32 61) %57 = icmp eq i8* %56, null %58 = icmp eq i1 %57, false store i8* %56, i8** %sv_2.0.reg2mem br i1 %58, label LBL_15, label LBL_13 LBL_13: %59 = call i8* @strchr(i8* %55, i32 58) %60 = icmp eq i8* %59, null %61 = icmp eq i1 %60, false store i8* %59, i8** %sv_2.0.reg2mem br i1 %61, label LBL_15, label LBL_14 LBL_14: %62 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %arg2, i64 %46, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %62, i64* %rax.0.reg2mem br label LBL_39 LBL_15: %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem store i8 0, i8* %sv_2.0.reload, align 1 %63 = call i8* @strchr(i8* %47, i32 34) %64 = icmp eq i8* %63, null %65 = icmp eq i1 %64, false br i1 %65, label LBL_17, label LBL_16 LBL_16: %66 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i64 %arg2, i64 %46, i64 %rcx.0.reload, i64 %2, i64 %1) store i8* bitcast (i8** @gv_6 to i8*), i8** %storemerge8.reg2mem br label LBL_18 LBL_17: %67 = ptrtoint i8* %63 to i64 %68 = add i64 %67, 1 %69 = inttoptr i64 %68 to i8* store i8* %69, i8** %storemerge8.reg2mem br label LBL_18 LBL_18: %storemerge8.reload = load i8*, i8** %storemerge8.reg2mem %70 = call i64 @FUNC(i64 %53) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_20, label LBL_19 LBL_19: %74 = inttoptr i64 %53 to i64* call void @free(i64* %74) store i8* %storemerge8.reload, i8** %sv_0.3.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem br label LBL_38 LBL_20: %75 = call i64 @FUNC(i64 %46) %76 = icmp eq i64 %75, 0 br i1 %76, label LBL_21, label LBL_22 LBL_21: %77 = call i64 @FUNC(i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %46, i64 %rcx.0.reload, i64 %2, i64 %1) br label LBL_24 LBL_22: %78 = inttoptr i64 %75 to i8* %79 = call i8* @strchr(i8* %78, i32 34) %80 = icmp eq i8* %79, null %81 = icmp eq i1 %80, false br i1 %81, label LBL_25, label LBL_23 LBL_23: %82 = call i64 @FUNC(i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %46, i64 %rcx.0.reload, i64 %2, i64 %1) %83 = inttoptr i64 %75 to i64* call void @free(i64* %83) br label LBL_24 LBL_24: %84 = inttoptr i64 %53 to i64* call void @free(i64* %84) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_39 LBL_25: store i8 0, i8* %79, align 1 %85 = call i32 @strlen(i8* %55) %86 = sext i32 %85 to i64 %87 = call i32 @strlen(i8* %78) %88 = sext i32 %87 to i64 %89 = add nsw i64 %86, 2 %90 = add nsw i64 %89, %88 %91 = call i64 @FUNC(i64 %53, i64 %90) %92 = inttoptr i64 %91 to i8* %93 = icmp eq i64 %91, 0 br i1 %93, label LBL_27, label LBL_26 LBL_26: %94 = call i32 @strlen(i8* %92) %95 = sext i32 %94 to i64 %96 = add i64 %91, %95 %97 = inttoptr i64 %96 to i16* store i16 61, i16* %97, align 2 %98 = call i8* @strcat(i8* %92, i8* %78) br label LBL_28 LBL_27: %99 = inttoptr i64 %53 to i64* call void @free(i64* %99) br label LBL_28 LBL_28: %100 = inttoptr i64 %75 to i64* call void @free(i64* %100) store i8* %storemerge8.reload, i8** %sv_0.2.reg2mem store i8* %92, i8** %sv_1.0.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br label LBL_36 LBL_29: br i1 %45, label LBL_30, label LBL_31 LBL_30: %101 = load i8, i8* %47, align 1 %102 = icmp eq i8 %101, 0 store i8* %47, i8** %sv_0.0.reg2mem store i8* %47, i8** %sv_0.1.reg2mem br i1 %102, label LBL_34, label LBL_33 LBL_31: %103 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_8, i64 0, i64 0), i64 %arg2, i64 %46, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %103, i64* %rax.0.reg2mem br label LBL_39 LBL_32: %104 = ptrtoint i8* %sv_0.0.reload to i64 %105 = add i64 %104, 1 %106 = inttoptr i64 %105 to i8* %107 = load i8, i8* %106, align 1 %108 = icmp eq i8 %107, 0 store i8* %106, i8** %sv_0.0.reg2mem store i8* %106, i8** %sv_0.1.reg2mem br i1 %108, label LBL_34, label LBL_33 LBL_33: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %109 = call i16** @__ctype_b_loc() %110 = load i16*, i16** %109, align 8 %111 = ptrtoint i16* %110 to i64 %112 = load i8, i8* %sv_0.0.reload, align 1 %113 = sext i8 %112 to i64 %114 = mul i64 %113, 2 %115 = add i64 %114, %111 %116 = inttoptr i64 %115 to i16* %117 = load i16, i16* %116, align 2 %118 = and i16 %117, 8192 %119 = icmp eq i16 %118, 0 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %119, label LBL_32, label LBL_34 LBL_34: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %120 = ptrtoint i8* %sv_0.1.reload to i64 %121 = sub i64 %120, %.reload %122 = add i64 %121, 1 %123 = call i64 @FUNC(i64 %122) %124 = inttoptr i64 %123 to i8* %125 = icmp eq i64 %123, 0 store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem store i8* %124, i8** %sv_1.0.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %125, label LBL_36, label LBL_35 LBL_35: %126 = inttoptr i64 %123 to i64* %127 = inttoptr i64 %.reload to i64* %128 = trunc i64 %122 to i32 %129 = add i32 %128, -1 %130 = call i64* @memcpy(i64* %126, i64* %127, i32 %129) %131 = add i64 %121, %123 %132 = inttoptr i64 %131 to i8* store i8 0, i8* %132, align 1 store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem store i8* %124, i8** %sv_1.0.reg2mem store i64 %.reload, i64* %rcx.1.reg2mem br label LBL_36 LBL_36: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem %133 = icmp eq i8* %sv_1.0.reload, null store i8* %sv_0.2.reload, i8** %sv_0.3.reg2mem store i64 %rcx.1.reload, i64* %rcx.2.reg2mem br i1 %133, label LBL_38, label LBL_37 LBL_37: %134 = ptrtoint i8* %sv_1.0.reload to i64 %135 = call i64 @FUNC(i64 %29, i64 %134) %136 = bitcast i8* %sv_1.0.reload to i64* call void @free(i64* %136) store i8* %sv_0.2.reload, i8** %sv_0.3.reg2mem store i64 %rcx.1.reload, i64* %rcx.2.reg2mem br label LBL_38 LBL_38: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem %137 = load i8, i8* %sv_0.3.reload, align 1 %138 = zext i8 %137 to i64 %139 = icmp eq i8 %137, 0 %140 = icmp eq i1 %139, false %141 = ptrtoint i8* %sv_0.3.reload to i64 store i64 %141, i64* %.reg2mem store i8* %sv_0.3.reload, i8** %.reg2mem20 store i64 %rcx.2.reload, i64* %rcx.0.reg2mem store i64 %138, i64* %rax.0.reg2mem br i1 %140, label LBL_2, label LBL_39 LBL_39: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %sv_0.3.reload, { 2, 0, 1 } uselistorder i8* %sv_1.0.reload, { 1, 0, 2 } uselistorder i64 %123, { 0, 1, 3, 2 } uselistorder i64 %91, { 0, 2, 1 } uselistorder i8* %storemerge8.reload, { 1, 0 } uselistorder i8* %55, { 1, 0, 2 } uselistorder i8* %47, { 1, 2, 3, 4, 0 } uselistorder i64 %46, { 5, 4, 0, 1, 3, 2, 6 } uselistorder i1 %45, { 1, 0 } uselistorder i64 %.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %11, { 1, 0 } uselistorder i8* %.reload21, { 2, 0, 1 } uselistorder i64 %rcx.0.reload, { 4, 5, 3, 6, 10, 2, 7, 8, 1, 9, 0 } uselistorder i8* %5, { 1, 0 } uselistorder i64 %2, { 5, 4, 6, 3, 2, 1, 0 } uselistorder i64 %1, { 5, 4, 6, 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem20, { 2, 0, 1 } uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 } uselistorder i8** %storemerge9.in.in.in.reg2mem, { 2, 0, 1 } uselistorder i8** %storemerge8.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i8** %sv_0.2.reg2mem, { 0, 2, 3, 1 } uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 3, 1 } uselistorder i8** %sv_0.3.reg2mem, { 0, 4, 5, 3, 2, 1, 6 } uselistorder i64* %rcx.2.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 4, 3, 5, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_7, i64 0, i64 0), { 1, 0 } uselistorder void (i64*)* @free, { 4, 5, 3, 2, 1, 0 } uselistorder i64 (i64)* @cli_strdup, { 1, 0 } uselistorder i8 0, { 2, 3, 4, 0, 5, 6, 7, 1, 8 } uselistorder i8* null, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0, 4, 2, 3, 5 } uselistorder i64 1, { 3, 2, 4, 1, 5, 0 } uselistorder i64 2, { 0, 4, 3, 1, 2 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0, 2 } uselistorder [20 x i8]* @gv_3, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 1, 12 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @cli_dbgmsg, { 6, 5, 0, 4, 3, 2, 1 } uselistorder i64 %arg2, { 6, 5, 1, 4, 3, 2, 0, 7, 8, 9 } uselistorder label LBL_39, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_38, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
qrtr_endpoint_post_7778
qrtr_endpoint_post
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem6 = alloca i32 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = icmp ne i64 %arg3, 0 %3 = urem i64 %arg3, 4 %4 = icmp eq i64 %3, 0 %or.cond = icmp eq i1 %2, %4 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_21 LBL_1: %5 = call i64 @FUNC(i64 0, i64 %arg3, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_21 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = trunc i64 %1 to i8 %10 = trunc i64 %1 to i32 %11 = inttoptr i64 %5 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* switch i8 %9, label LBL_10 [ i8 1, label LBL_3 i8 2, label LBL_5 ] LBL_3: %14 = icmp ult i64 %arg3, 28 br i1 %14, label LBL_20, label LBL_4 LBL_4: store i32 %10, i32* %13, align 4 %15 = add i64 %8, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %12, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %8, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %12, 8 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %8, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false %30 = zext i1 %29 to i32 %31 = add i64 %12, 12 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = add i64 %8, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %12, 16 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = add i64 %8, 20 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %12, 20 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 store i64 28, i64* %sv_0.0.reg2mem br label LBL_11 LBL_5: %43 = icmp ult i64 %arg3, 32 br i1 %43, label LBL_20, label LBL_6 LBL_6: %44 = add i64 %8, 28 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 store i32 %10, i32* %13, align 4 %47 = add i64 %8, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = urem i32 %49, 2 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false %53 = zext i1 %52 to i32 %54 = add i64 %12, 12 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = add i64 %8, 8 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %12, 4 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = add i64 %8, 12 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = add i64 %12, 8 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = add i64 %8, 16 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = add i64 %12, 16 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = add i64 %8, 20 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i64 %12, 20 %75 = inttoptr i64 %74 to i32* store i32 %73, i32* %75, align 4 %76 = load i32, i32* %65, align 4 %77 = icmp eq i32 %76, 0 %78 = icmp eq i1 %77, false store i32 %73, i32* %.reg2mem br i1 %78, label LBL_8, label LBL_7 LBL_7: store i32 0, i32* %65, align 4 %.pre = load i32, i32* %75, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_8 LBL_8: %79 = sext i32 %46 to i64 %80 = add nsw i64 %79, 32 %.reload = load i32, i32* %.reg2mem %81 = icmp eq i32 %.reload, 0 %82 = icmp eq i1 %81, false store i64 %80, i64* %sv_0.0.reg2mem br i1 %82, label LBL_11, label LBL_9 LBL_9: store i32 0, i32* %75, align 4 store i64 %80, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %83 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %84 = urem i64 %1, 256 %85 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %83, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %84) br label LBL_20 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %storemerge.in.in.in = add i64 %8, 24 %storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i32* %storemerge.in = load i32, i32* %storemerge.in.in, align 4 %storemerge = sext i32 %storemerge.in to i64 %86 = add nsw i64 %storemerge, 3 %87 = and i64 %86, -4 %88 = add nsw i64 %87, %sv_0.0.reload %89 = icmp eq i64 %88, %arg3 %90 = icmp eq i1 %89, false br i1 %90, label LBL_20, label LBL_12 LBL_12: %91 = add i64 %12, 20 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label LBL_14, label LBL_13 LBL_13: %95 = load i32, i32* %13, align 4 %96 = icmp ne i32 %95, 1 %97 = icmp eq i32 %95, 2 %98 = icmp eq i1 %97, false %or.cond4 = icmp eq i1 %96, %98 br i1 %or.cond4, label LBL_20, label LBL_14 LBL_14: %99 = ptrtoint i64* %arg1 to i64 %100 = add i64 %sv_0.0.reload, %8 %101 = call i64 @FUNC(i64 %5, i64 %100, i64 %storemerge) %102 = add i64 %12, 4 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = zext i32 %104 to i64 %106 = call i64 @FUNC(i64 %99, i64 %105) %107 = load i32, i32* %13, align 4 %108 = icmp eq i32 %107, 3 %109 = icmp eq i1 %108, false store i32 %107, i32* %.reg2mem6 br i1 %109, label LBL_16, label LBL_15 LBL_15: %110 = inttoptr i64 %100 to i32* %111 = load i32, i32* %110, align 4 %112 = zext i32 %111 to i64 %113 = call i64 @FUNC(i64 %99, i64 %112) %.pre5 = load i32, i32* %13, align 4 store i32 %.pre5, i32* %.reg2mem6 br label LBL_16 LBL_16: %.reload7 = load i32, i32* %.reg2mem6 %114 = icmp eq i32 %.reload7, 2 %115 = icmp eq i1 %114, false br i1 %115, label LBL_18, label LBL_17 LBL_17: %116 = call i64 @FUNC(i64 %99, i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_18: %117 = load i32, i32* %92, align 4 %118 = zext i32 %117 to i64 %119 = call i64 @FUNC(i64 %118) %120 = icmp eq i64 %119, 0 br i1 %120, label LBL_20, label LBL_19 LBL_19: %121 = call i64 @FUNC(i64 %119, i64 %5) %122 = trunc i64 %121 to i32 %123 = icmp eq i32 %122, 0 %124 = call i64 @FUNC(i64 %119) store i64 0, i64* %rax.0.reg2mem br i1 %123, label LBL_21, label LBL_20 LBL_20: %125 = call i64 @FUNC(i64 %5) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %99, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %80, { 1, 0 } uselistorder i32* %75, { 1, 0, 2 } uselistorder i32* %65, { 1, 0, 2 } uselistorder i32* %13, { 0, 2, 3, 1, 4 } uselistorder i64 %12, { 5, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3, 4, 12 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %8, { 0, 1, 7, 6, 5, 4, 3, 2, 12, 11, 10, 9, 8 } uselistorder i64 %5, { 3, 1, 0, 2, 4, 5 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @qrtr_node_assign, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 28, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %arg3, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_21, { 4, 1, 0, 2, 3 } uselistorder label LBL_20, { 5, 1, 0, 2, 6, 3, 4 } uselistorder label LBL_11, { 1, 0, 2 } }
1
BinRealVul
x3f_delete_13336
x3f_delete
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge36.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %.reg2mem18 = alloca i32 %.reg2mem16 = alloca i32 %storemerge45.reg2mem = alloca i32 %.reg2mem14 = alloca i64 %storemerge7.reg2mem = alloca i32 %.reg2mem12 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 51 %or.cond = icmp eq i1 %3, %5 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_20 LBL_1: %6 = icmp eq i32 %4, 0 %7 = add i64 %arg1, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %.lcssa.reg2mem br i1 %6, label LBL_19, label LBL_2 LBL_2: %10 = and i64 %1, 4294967295 store i64 %9, i64* %.reg2mem store i64 0, i64* %.reg2mem12 store i32 0, i32* %storemerge7.reg2mem br label LBL_3 LBL_3: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.reload13 = load i64, i64* %.reg2mem12 %.reload = load i64, i64* %.reg2mem %11 = mul nsw i64 %.reload13, 48 %12 = add i64 %11, %.reload %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false store i32 %14, i32* %.reg2mem16 br i1 %16, label LBL_9, label LBL_4 LBL_4: %17 = add i64 %12, 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_8, label LBL_5 LBL_5: %19 = inttoptr i64 %17 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_8, label LBL_6 LBL_6: %22 = add i64 %12, 16 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %.reg2mem14 store i32 0, i32* %storemerge45.reg2mem br label LBL_7 LBL_7: %storemerge45.reload = load i32, i32* %storemerge45.reg2mem %.reload15 = load i64, i64* %.reg2mem14 %24 = load i64, i64* %23, align 8 %25 = mul i64 %.reload15, 16 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* call void @free(i64* %29) %30 = load i64, i64* %23, align 8 %31 = or i64 %25, 8 %32 = add i64 %30, %31 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i64* call void @free(i64* %35) %36 = add i32 %storemerge45.reload, 1 %37 = load i32, i32* %19, align 4 %38 = zext i32 %37 to i64 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %39, %38 store i64 %39, i64* %.reg2mem14 store i32 %36, i32* %storemerge45.reg2mem br i1 %40, label LBL_7, label LBL_8 LBL_8: %41 = add i64 %12, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i64* call void @free(i64* %44) %45 = add i64 %12, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i64* call void @free(i64* %48) %.pre = load i32, i32* %13, align 4 store i32 %.pre, i32* %.reg2mem16 br label LBL_9 LBL_9: %.reload17 = load i32, i32* %.reg2mem16 %49 = icmp eq i32 %.reload17, 2 %50 = icmp eq i1 %49, false store i32 %.reload17, i32* %.reg2mem18 br i1 %50, label LBL_12, label LBL_10 LBL_10: %51 = add i64 %12, 32 %52 = icmp eq i64 %51, 0 store i32 %.reload17, i32* %.reg2mem18 br i1 %52, label LBL_12, label LBL_11 LBL_11: %53 = call i64 @FUNC(i64 %51) %54 = add i64 %12, 40 %55 = call i64 @FUNC(i64 %54) %56 = add i64 %12, 48 %57 = call i64 @FUNC(i64 %56) %58 = add i64 %12, 56 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = inttoptr i64 %60 to i64* call void @free(i64* %61) %.pre9 = load i32, i32* %13, align 4 store i32 %.pre9, i32* %.reg2mem18 br label LBL_12 LBL_12: %.reload19 = load i32, i32* %.reg2mem18 %62 = icmp eq i32 %.reload19, 3 %63 = icmp eq i1 %62, false br i1 %63, label LBL_18, label LBL_13 LBL_13: %64 = add i64 %12, 40 %65 = icmp eq i64 %64, 0 br i1 %65, label LBL_17, label LBL_14 LBL_14: %66 = inttoptr i64 %64 to i64* %67 = load i64, i64* %66, align 8 %68 = inttoptr i64 %67 to i64* call void @free(i64* %68) %69 = add i64 %12, 56 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = inttoptr i64 %71 to i64* call void @free(i64* %72) %73 = add i64 %12, 64 %74 = call i64 @FUNC(i64 %73) %75 = add i64 %12, 72 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = inttoptr i64 %77 to i64* call void @free(i64* %78) %79 = add i64 %12, 80 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label LBL_17, label LBL_15 LBL_15: %83 = add i64 %12, 88 %84 = inttoptr i64 %83 to i64* store i64 0, i64* %.reg2mem20 store i32 0, i32* %storemerge36.reg2mem br label LBL_16 LBL_16: %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %.reload21 = load i64, i64* %.reg2mem20 %85 = load i64, i64* %84, align 8 %86 = add i64 %85, %.reload21 %87 = call i64 @FUNC(i64 %86) %88 = add i32 %storemerge36.reload, 1 %89 = load i32, i32* %80, align 4 %90 = zext i32 %89 to i64 %91 = sext i32 %88 to i64 %92 = icmp slt i64 %91, %90 store i64 %91, i64* %.reg2mem20 store i32 %88, i32* %storemerge36.reg2mem br i1 %92, label LBL_16, label LBL_17 LBL_17: %93 = add i64 %12, 88 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = inttoptr i64 %95 to i64* call void @free(i64* %96) br label LBL_18 LBL_18: %97 = add i32 %storemerge7.reload, 1 %98 = sext i32 %97 to i64 %99 = icmp sgt i64 %10, %98 %100 = load i64, i64* %8, align 8 store i64 %100, i64* %.reg2mem store i64 %98, i64* %.reg2mem12 store i32 %97, i32* %storemerge7.reg2mem store i64 %100, i64* %.lcssa.reg2mem br i1 %99, label LBL_3, label LBL_19 LBL_19: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %101 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %101) %102 = inttoptr i64 %arg1 to i64* call void @free(i64* %102) store i64 0, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %80, { 1, 0 } uselistorder i32 %.reload17, { 1, 0, 2 } uselistorder i32* %19, { 1, 0 } uselistorder i64 %12, { 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 14, 15 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %8, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem12, { 2, 0, 1 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem14, { 1, 0, 2 } uselistorder i32* %storemerge45.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem16, { 0, 2, 1 } uselistorder i32* %.reg2mem18, { 0, 3, 2, 1 } uselistorder i64* %.reg2mem20, { 1, 0, 2 } uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 88, { 1, 0 } uselistorder i64 40, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0, 4, 3, 2, 10, 9, 6, 5, 8, 7 } uselistorder i64 16, { 2, 0, 1 } uselistorder i32 1, { 18, 19, 20, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
_slurmd_fini_18467
_slurmd_fini
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC() %9 = call i64 @FUNC() %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = call i64 @FUNC() %13 = call i64 @FUNC() %14 = call i64 @FUNC() %15 = call i64 @FUNC() %16 = call i64 @FUNC(i64 0) %17 = call i64 @FUNC() %18 = call i64 @FUNC() %19 = call i64 @FUNC() %20 = call i64 @FUNC() %21 = call i64 @FUNC() %22 = call i64 @FUNC() %23 = call i64 @FUNC() ret i64 0 }
1
BinRealVul
pmd_none_or_trans_huge_or_clear_bad_18957
pmd_none_or_trans_huge_or_clear_bad
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_4, { 2, 1, 0, 3 } }
1
BinRealVul
PrintGPACConfig_9336
PrintGPACConfig
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %1 = call i32 @fwrite(i64* bitcast ([45 x i8]* @gv_1 to i64*), i32 1, i32 44, %_IO_FILE* %0) %2 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %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 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_3 to i64*), i32 1, i32 27, %_IO_FILE* %8) %10 = sext i32 %9 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %11 = bitcast i64* %sv_0 to i8* %12 = call i32 @strcmp(i8* nonnull %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_5 to i64*), i32 1, i32 30, %_IO_FILE* %13) %15 = load i64, i64* @gv_6, align 8 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_13, label LBL_3 LBL_3: %19 = icmp eq i32 %12, 0 %20 = ptrtoint i64* %sv_0 to i64 %spec.select = select i1 %19, i64 0, i64 %20 %wide.trip.count = and i64 %16, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = load i64, i64* @gv_6, align 8 %22 = call i64 @FUNC(i64 %21, i64 %indvars.iv.reload) br i1 %19, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %22, i64 %spec.select) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_9, label LBL_12 LBL_6: %26 = call i64 @FUNC(i64 %22, i64 ptrtoint ([8 x i8]* @gv_7 to i64)) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_12, label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %22, i64 ptrtoint ([10 x i8]* @gv_8 to i64)) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_12, label LBL_8 LBL_8: %32 = call i64 @FUNC(i64 %22, i64 ptrtoint ([12 x i8]* @gv_9 to i64)) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_12, label LBL_9 LBL_9: %35 = inttoptr i64 %22 to i8* %36 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %37 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_10, i64 0, i64 0), i8* %35) %38 = load i64, i64* @gv_6, align 8 %39 = call i64 @FUNC(i64 %38, i64 %22) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i32 0, i32* %storemerge23.reg2mem br i1 %41, label LBL_11, label LBL_10 LBL_10: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %42 = load i64, i64* @gv_6, align 8 %43 = call i64 @FUNC(i64 %42, i64 %22, i32 %storemerge23.reload) %44 = load i64, i64* @gv_6, align 8 %45 = call i64 @FUNC(i64 %44, i64 %22, i64 %43) %46 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %47 = inttoptr i64 %43 to i8* %48 = inttoptr i64 %45 to i8* %49 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_11, i64 0, i64 0), i8* %47, i8* %48) %50 = add nuw i32 %storemerge23.reload, 1 %exitcond = icmp eq i32 %50, %40 store i32 %50, i32* %storemerge23.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %51 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %52 = call i32 @fputc(i32 10, %_IO_FILE* %51) br label LBL_12 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond6 = 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 %exitcond6, label LBL_13, label LBL_4 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %22, { 2, 3, 4, 7, 0, 1, 6, 5 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %sv_0, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge23.reg2mem, { 2, 0, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder i64 (i64, i64)* @stricmp, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 0, 1, 3, 4, 5, 6, 7, 2, 8, 9 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 13, 9, 10, 11, 12, 2, 1, 0, 8, 7, 6, 5, 4, 3 } uselistorder label LBL_12, { 4, 0, 1, 2, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ds_recv_status_nodump_18472
ds_recv_status_nodump
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %3 = call i64* @memset(i64* %arg2, i32 0, i32 8) store i32 0, i32* %sv_0, align 4 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %1, i64 %9, i64 %0, i32 %arg4, i32* nonnull %sv_0, i64 100) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = ptrtoint i32* %sv_0 to i64 %15 = zext i32 %arg4 to i64 %16 = load i32, i32* %5, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %11, i64 %15, i64 %14, i64 100) store i32 %11, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %19 = load i32, i32* %sv_0, align 4 store i32 %19, i32* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32* %sv_0, { 1, 2, 0, 3 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 1, 0 } uselistorder i32 %arg4, { 1, 0 } }
1
BinRealVul
cudaupload_query_formats_16527
cudaupload_query_formats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = call i64 @FUNC(i64* nonnull @gv_1) %2 = call i64 @FUNC(i64 %0, i64 ptrtoint (i64* @gv_1 to i64)) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 ret i64 %6 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 = call i64 @FUNC(i64 %1, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false %15 = and i64 %11, 4294967295 %spec.select = select i1 %14, i64 0, i64 %15 ret i64 %spec.select uselistorder i64 (i64, i64)* @ff_formats_ref, { 1, 0 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i64 (i64*)* @ff_make_format_list, { 1, 0 } }
1
BinRealVul
v9fs_clunk_15140
v9fs_clunk
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.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 7, i64 4202542, i64* nonnull %1) %3 = load i32, i32* %sv_1, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i32 -2, i32* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = inttoptr i64 %5 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, 1 store i32 %10, i32* %8, align 4 %11 = call i64 @FUNC(i64 %0, i64 %5) store i32 7, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %0, i64 %0, i32 %sv_0.0.reload) ret i64 %12 uselistorder i32* %8, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
iwl_mvm_free_inactive_queue_4846
iwl_mvm_free_inactive_queue
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 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %sext = mul i64 %arg2, 4294967296 %5 = add i64 %0, 4 %6 = call i64 @FUNC(i64 %5) %7 = ashr exact i64 %sext, 28 %8 = add i64 %7, %0 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %8, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %8, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = call i64 @FUNC(i64 %5) %19 = urem i32 %14, 256 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %0, i64 %20) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %23, label LBL_2, label LBL_8 LBL_2: %24 = ashr exact i64 %sext, 32 %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %0, i64 %25) %27 = icmp eq i64 %26, 0 %.pre = trunc i64 %24 to i32 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %0, i32 %.pre, i64 %26, i64 0) br label LBL_4 LBL_4: %29 = trunc i32 %17 to i8 %30 = inttoptr i64 %21 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = mul i32 %11, 4 %35 = and i32 %34, 1020 %36 = zext i32 %35 to i64 %37 = add i64 %33, %36 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = call i64 @FUNC(i64 %0, i32 %.pre, i32 %39, i8 %29, i64 0) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_6, label LBL_5 LBL_5: %43 = call i64 @FUNC(i64 %5) %44 = add i64 %8, 20 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = call i64 @FUNC(i64 %5) %47 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %48 = and i64 %40, 4294967295 %49 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %47, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %48) store i64 %48, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %50 = trunc i64 %arg3 to i8 %51 = icmp eq i8 %50, 1 store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_8, label LBL_7 LBL_7: %52 = call i64 @FUNC(i64 %0, i32 %.pre, i64 0, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 0, 2, 1, 3 } uselistorder i64 %0, { 2, 3, 1, 4, 5, 0, 6, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i64 (i64, i32, i64, i64)* @iwl_mvm_invalidate_sta_queue, { 1, 0 } uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 } uselistorder i64 (i64)* @spin_lock_bh, { 1, 0 } uselistorder label LBL_8, { 1, 0, 4, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
dlm_lowcomms_commit_buffer_4067
dlm_lowcomms_commit_buffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -1 store i32 %6, i32* %4, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = sub i32 %11, %14 %16 = add i64 %0, 12 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64 %1) %23 = call i64 @FUNC(i64 0, i64 %0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %23, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_2 LBL_2: %27 = call i64 @FUNC(i64* nonnull @gv_0) %28 = call i64 @FUNC(i64 %3, i64* nonnull @gv_1) %29 = call i64 @FUNC(i64* nonnull @gv_0) %30 = call i64 @FUNC(i64 4210788) store i64 %30, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %31 = call i64 @FUNC(i64 %1) store i64 %31, 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 %1, { 1, 0, 2 } uselistorder i64 %0, { 0, 1, 4, 3, 2, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
0
BinRealVul
gic_set_irq_16658
gic_set_irq
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.in.reg2mem = alloca i32 %sv_1.06.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i32 %4 = add i32 %3, -32 %5 = zext i32 %4 to i64 %6 = icmp slt i64 %2, %5 %7 = trunc i64 %2 to i32 br i1 %6, label LBL_1, label LBL_2 LBL_1: %8 = add i32 %7, 32 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 store i64 %9, i64* %sv_1.06.pre-phi.reg2mem store i32 %8, i32* %sv_1.0.in.reg2mem store i32 -1, i32* %sv_0.0.reg2mem store i32 %11, i32* %storemerge5.reg2mem br label LBL_3 LBL_2: %12 = sub i32 %7, %4 %13 = add i32 %12, 31 %14 = icmp slt i32 %12, 0 %15 = select i1 %14, i32 %13, i32 %12 %16 = udiv i32 %15, 32 %17 = srem i32 %12, 32 %18 = urem i32 %16, 32 %19 = shl i32 1, %18 %.pre = zext i32 %17 to i64 store i64 %.pre, i64* %sv_1.06.pre-phi.reg2mem store i32 %17, i32* %sv_1.0.in.reg2mem store i32 %19, i32* %sv_0.0.reg2mem store i32 %19, i32* %storemerge5.reg2mem br label LBL_3 LBL_3: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.in.reload = load i32, i32* %sv_1.0.in.reg2mem %sv_1.06.pre-phi.reload = load i64, i64* %sv_1.06.pre-phi.reg2mem %20 = icmp sgt i32 %sv_1.0.in.reload, 15 br i1 %20, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %sext3 = mul i64 %arg3, 4294967296 %21 = ashr exact i64 %sext3, 32 %22 = zext i32 %sv_0.0.reload to i64 %23 = call i64 @FUNC(i64 %sv_1.06.pre-phi.reload, i64 %22) %24 = trunc i64 %21 to i32 %25 = trunc i64 %23 to i32 %26 = icmp eq i32 %24, %25 store i64 %23, i64* %rax.0.reg2mem br i1 %26, label LBL_10, label LBL_6 LBL_6: %27 = ptrtoint i32* %arg1 to i64 %28 = add i64 %27, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp ne i32 %30, 1 %32 = icmp eq i32 %30, 2 %33 = icmp eq i1 %32, false %or.cond = icmp eq i1 %31, %33 %34 = and i64 %21, 4294967295 %35 = zext i32 %storemerge5.reload to i64 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %36 = call i64 @FUNC(i64 %27, i32 %sv_1.0.in.reload, i64 %34, i32 %sv_0.0.reload, i64 %35) br label LBL_9 LBL_8: %37 = call i64 @FUNC(i64 %27, i32 %sv_1.0.in.reload, i64 %34, i32 %sv_0.0.reload, i64 %35) br label LBL_9 LBL_9: %38 = call i64 @FUNC(i64 %27) store i64 %38, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %27, { 1, 2, 0, 3 } uselistorder i64 %21, { 1, 0 } uselistorder i32 %sv_1.0.in.reload, { 2, 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64* %sv_1.06.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i32 32, { 1, 2, 0, 3 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
i82378_init_16951
i82378_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %1, i64 %0, i64 2) %4 = call i64 @FUNC(i64 %1, i64 4198881, i64 16) %5 = call i64 @FUNC(i64 4198888, i64 %0, i64 1) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = trunc i64 %9 to i32 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = and i64 %9, 4294967295 %14 = call i64 @FUNC(i64 %2, i64 %13) %15 = call i64 @FUNC(i64 %2, i64 64, i64 0, i64 0) %16 = call i64 @FUNC(i64 %2, i64 %15) %17 = add i64 %0, 4 %18 = call i64 @FUNC(i64 1, i64 %17) %19 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %20 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) ret i64 %20 uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 (i64, i8*)* @isa_create_simple, { 1, 0 } }
1
BinRealVul
fw_cfg_realize_16968
fw_cfg_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i32 %3, 1 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %4, %7 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %2, 8 %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 %2, i64 %11, i64 %10) store i64 %12, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %13 = icmp eq i32 %3, 0 store i32 %7, i32* %.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add i64 %2, 12 %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %2, i64 %15, i64 %14) %.pr = load i32, i32* %6, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %17 = icmp eq i32 %.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = zext i32 %.reload to i64 %19 = add i64 %2, 16 %20 = call i64 @FUNC(i64 %2, i64 %18, i64 %19) store i64 %20, 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 %.reload, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 2, 3, 5, 1, 4, 0, 6 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i64, i64)* @sysbus_add_io, { 2, 1, 0 } }
1
BinRealVul
prepare_cmd_12810
prepare_cmd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64)) %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %4, i64 ptrtoint ([4 x i8]* @gv_2 to i64)) %11 = call i64 @FUNC(i64 %4, i64 ptrtoint ([4 x i8]* @gv_2 to i64)) br label LBL_7 LBL_4: %12 = add i64 %3, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64)) br label LBL_7 LBL_6: %17 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64)) br label LBL_7 LBL_7: %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i8* %22 = call i8* @strchr(i8* %21, i32 47) %23 = ptrtoint i8* %22 to i64 %24 = icmp eq i8* %22, null %25 = icmp eq i1 %24, false store i64 %23, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_8 LBL_8: %26 = add i64 %20, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %30 = icmp eq i64 %29, 0 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = add i64 %28, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* call void @free(i64* %34) %35 = add i64 %33, 8 %36 = inttoptr i64 %35 to i64* store i64 %29, i64* %36, align 8 store i64 %29, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 3, 4, 2, 1, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 (i64, i64)* @argv_array_pushv, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 8, { 2, 3, 4, 5, 6, 0, 1, 7 } uselistorder i64 (i64, i64)* @argv_array_push, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64* %arg2, { 1, 0 } }
1
BinRealVul
ff_prores_idct_3286
ff_prores_idct
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_1 LBL_1: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %2 = mul i64 %indvars.iv9.reload, 2 %3 = add i64 %2, %1 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = add i64 %2, %0 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = mul i16 %8, %5 store i16 %9, i16* %4, align 2 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next10, 64 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem store i64 0, i64* %indvars.iv6.reg2mem br i1 %exitcond11, label LBL_2, label LBL_1 LBL_2: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %10 = mul i64 %indvars.iv6.reload, 16 %11 = add i64 %10, %1 %12 = call i64 @FUNC(i64 %11, i64 2) %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 8 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %exitcond8, label LBL_3, label LBL_2 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = mul i64 %indvars.iv.reload, 2 %14 = add i64 %13, %1 %15 = call i64 @FUNC(i64 %14) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %15 uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
afx_init1_14395
afx_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 4, i64 4198755) %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %0, i64 %1) ret i64 0 }
1
BinRealVul
scale_vector_17087
scale_vector
define i64 @FUNC(i64 %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %indvars.iv13.reg2mem = alloca i64 %0 = icmp sgt i32 %arg3, 0 store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_4 LBL_1: %1 = ptrtoint i16* %arg2 to i64 %wide.trip.count15 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv13.reg2mem store i32 0, i32* %sv_0.07.reg2mem br label LBL_2 LBL_2: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %2 = mul i64 %indvars.iv13.reload, 2 %3 = add i64 %2, %1 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = sext i16 %5 to i64 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = or i32 %sv_0.07.reload, %9 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next14, %wide.trip.count15 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem store i32 %10, i32* %sv_0.07.reg2mem br i1 %exitcond16, label LBL_3, label LBL_2 LBL_3: %phitmp = zext i32 %10 to i64 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %11 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 15) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 15 %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_5 LBL_5: br i1 %0, label LBL_6, label LBL_11 LBL_6: %15 = ptrtoint i16* %arg2 to i64 %wide.trip.count11 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_9 LBL_7: br i1 %0, label LBL_8, label LBL_11 LBL_8: %16 = ptrtoint i16* %arg2 to i64 %17 = urem i32 %12, 32 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_9: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %18 = mul i64 %indvars.iv9.reload, 2 %19 = add i64 %18, %15 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = sext i16 %21 to i32 %23 = mul nsw i32 %22, 32767 %24 = udiv i32 %23, 8 %25 = add i64 %18, %arg1 %26 = trunc i32 %24 to i16 %27 = inttoptr i64 %25 to i16* store i16 %26, i16* %27, align 2 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond12 = icmp eq i64 %indvars.iv.next10, %wide.trip.count11 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond12, label LBL_11, label LBL_9 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = mul i64 %indvars.iv.reload, 2 %29 = add i64 %28, %16 %30 = inttoptr i64 %29 to i16* %31 = load i16, i16* %30, align 2 %32 = sext i16 %31 to i32 %33 = shl i32 %32, %17 %34 = udiv i32 %33, 8 %35 = add i64 %28, %arg1 %36 = trunc i32 %34 to i16 %37 = inttoptr i64 %35 to i16* store i16 %36, i16* %37, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %38 = add i64 %11, 4294967293 %39 = and i64 %38, 4294967295 ret i64 %39 uselistorder i64 %28, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 0, 3, 4, 5, 6, 1, 2, 7, 8 } uselistorder i32 %arg3, { 2, 1, 0, 3 } uselistorder i16* %arg2, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0, 3, 2 } }
1
BinRealVul
ff_init_block_index_15323
ff_init_block_index
define i64 @FUNC(i32* %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 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 40 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 44 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %2, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i32 %14, %11 %16 = bitcast i64* %rdi to i32* %17 = trunc i64 %1 to i32 %18 = add i32 %17, 2147483647 %19 = add i32 %18, %15 %20 = mul i32 %19, 2 %21 = add i64 %2, 88 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = load i32, i32* %10, align 4 %24 = load i32, i32* %13, align 4 %25 = mul i32 %24, %23 %26 = load i32, i32* %16, align 8 %reass.add = add i32 %26, %25 %reass.mul = mul i32 %reass.add, 2 %27 = add i32 %reass.mul, -1 %28 = add i64 %2, 92 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = load i32, i32* %13, align 4 %31 = load i32, i32* %10, align 4 %32 = mul i32 %31, 2 %33 = or i32 %32, 1 %34 = mul i32 %33, %30 %35 = load i32, i32* %16, align 8 %36 = mul i32 %35, 2 %37 = add i32 %36, -2 %38 = add i32 %37, %34 %39 = add i64 %2, 96 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = load i32, i32* %13, align 4 %42 = load i32, i32* %10, align 4 %43 = mul i32 %42, 2 %44 = or i32 %43, 1 %45 = mul i32 %44, %41 %46 = load i32, i32* %16, align 8 %47 = mul i32 %46, 2 %48 = add i32 %47, -1 %49 = add i32 %48, %45 %50 = add i64 %2, 100 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = add i64 %2, 16 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = load i32, i32* %10, align 4 %56 = add i32 %55, 1 %57 = mul i32 %56, %54 %58 = load i32, i32* %13, align 4 %59 = add i64 %2, 8 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = mul i32 %58, 2 %63 = mul i32 %62, %61 %64 = load i32, i32* %16, align 8 %65 = add i32 %57, -1 %66 = add i32 %65, %63 %67 = add i32 %66, %64 %68 = add i64 %2, 104 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = load i32, i32* %53, align 4 %71 = load i32, i32* %10, align 4 %72 = load i32, i32* %60, align 4 %73 = add i32 %71, 2 %74 = add i32 %73, %72 %75 = mul i32 %74, %70 %76 = load i32, i32* %13, align 4 %77 = mul i32 %72, 2 %78 = mul i32 %77, %76 %79 = load i32, i32* %16, align 8 %80 = add i32 %78, -1 %81 = add i32 %80, %75 %82 = add i32 %81, %79 %83 = add i64 %2, 108 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = add i64 %2, 56 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = load i32, i32* %16, align 8 %89 = mul i32 %88, 16 %90 = add i32 %89, -16 %91 = sext i32 %90 to i64 %92 = add i64 %87, %91 %93 = add i64 %2, 112 %94 = inttoptr i64 %93 to i64* store i64 %92, i64* %94, align 8 %95 = add i64 %2, 64 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = load i32, i32* %16, align 8 %99 = add i32 %98, -1 %100 = add i64 %2, 28 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = sub i32 4, %102 %104 = urem i32 %103, 32 %105 = shl i32 %99, %104 %106 = sext i32 %105 to i64 %107 = add i64 %97, %106 %108 = add i64 %2, 120 %109 = inttoptr i64 %108 to i64* store i64 %107, i64* %109, align 8 %110 = add i64 %2, 72 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 %113 = load i32, i32* %16, align 8 %114 = add i32 %113, -1 %115 = load i32, i32* %101, align 4 %116 = sub i32 4, %115 %117 = urem i32 %116, 32 %118 = shl i32 %114, %117 %119 = sext i32 %118 to i64 %120 = add i64 %112, %119 %121 = add i64 %2, 128 %122 = inttoptr i64 %121 to i64* store i64 %120, i64* %122, align 8 %123 = add i64 %2, 24 %124 = inttoptr i64 %123 to i32* %125 = load i32, i32* %124, align 4 %126 = icmp eq i32 %125, 1 %127 = icmp eq i1 %126, false br i1 %127, label LBL_3, label LBL_1 LBL_1: %128 = add i64 %2, 80 %129 = inttoptr i64 %128 to i64* %130 = load i64, i64* %129, align 8 %131 = inttoptr i64 %130 to i64* %132 = load i64, i64* %131, align 8 %133 = icmp eq i64 %132, 0 br i1 %133, label LBL_3, label LBL_2 LBL_2: %134 = add i64 %2, 20 %135 = inttoptr i64 %134 to i32* %136 = load i32, i32* %135, align 4 %137 = icmp eq i32 %136, 1 store i64 1, i64* %rax.0.reg2mem br i1 %137, label LBL_7, label LBL_3 LBL_3: %138 = add i64 %2, 20 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = icmp eq i32 %140, 1 %142 = icmp eq i1 %141, false %143 = load i64, i64* %94, align 8 %144 = load i32, i32* %10, align 4 br i1 %142, label LBL_5, label LBL_4 LBL_4: %145 = mul i32 %5, 16 %146 = mul i32 %145, %144 %147 = sext i32 %146 to i64 %148 = add i64 %143, %147 store i64 %148, i64* %94, align 8 %149 = load i64, i64* %109, align 8 %150 = load i32, i32* %10, align 4 %151 = mul i32 %150, %8 %152 = add i64 %2, 32 %153 = inttoptr i64 %152 to i32* %154 = load i32, i32* %153, align 4 %155 = sub i32 4, %154 %156 = urem i32 %155, 32 %157 = shl i32 %151, %156 %158 = sext i32 %157 to i64 %159 = add i64 %149, %158 store i64 %159, i64* %109, align 8 %160 = load i64, i64* %122, align 8 %161 = load i32, i32* %10, align 4 %162 = mul i32 %161, %8 %163 = load i32, i32* %153, align 4 %164 = sub i32 4, %163 %165 = urem i32 %164, 32 %166 = shl i32 %162, %165 %167 = sext i32 %166 to i64 %168 = add i64 %160, %167 store i64 %168, i64* %122, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %169 = ashr i32 %144, 1 %170 = sext i32 %169 to i64 %171 = zext i32 %5 to i64 %172 = mul i64 %171, 68719476736 %173 = mul i64 %172, %170 %174 = ashr exact i64 %173, 32 %175 = add i64 %174, %143 store i64 %175, i64* %94, align 8 %176 = load i64, i64* %109, align 8 %177 = load i32, i32* %10, align 4 %178 = ashr i32 %177, 1 %179 = mul i32 %178, %8 %180 = add i64 %2, 32 %181 = inttoptr i64 %180 to i32* %182 = load i32, i32* %181, align 4 %183 = sub i32 4, %182 %184 = urem i32 %183, 32 %185 = shl i32 %179, %184 %186 = sext i32 %185 to i64 %187 = add i64 %176, %186 store i64 %187, i64* %109, align 8 %188 = load i64, i64* %122, align 8 %189 = load i32, i32* %10, align 4 %190 = ashr i32 %189, 1 %191 = mul i32 %190, %8 %192 = load i32, i32* %181, align 4 %193 = sub i32 4, %192 %194 = urem i32 %193, 32 %195 = shl i32 %191, %194 %196 = sext i32 %195 to i64 %197 = add i64 %188, %196 store i64 %197, i64* %122, align 8 %198 = load i32, i32* %10, align 4 %199 = urem i32 %198, 2 %200 = xor i32 %199, 1 %201 = load i32, i32* %139, align 4 %202 = icmp eq i32 %201, 2 %203 = zext i1 %202 to i32 %204 = and i32 %201, -256 %205 = or i32 %204, %203 %206 = xor i32 %200, %205 %207 = zext i32 %206 to i64 %208 = trunc i32 %206 to i8 %209 = icmp eq i8 %208, 0 %210 = icmp eq i1 %209, false store i64 %207, i64* %rax.0.reg2mem br i1 %210, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %144, { 1, 0 } uselistorder i64 %143, { 1, 0 } uselistorder i64* %122, { 2, 3, 0, 1, 4 } uselistorder i64* %109, { 2, 3, 0, 1, 4 } uselistorder i64* %94, { 1, 0, 2, 3 } uselistorder i32* %10, { 2, 3, 4, 0, 1, 5, 6, 7, 8, 9, 10, 11 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 2, 0, 1, 3, 6, 5, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 32, { 1, 0, 2 } uselistorder i32 4, { 2, 3, 0, 1, 4, 5 } uselistorder i32 -1, { 3, 4, 0, 1, 5, 2 } uselistorder i32 2, { 10, 8, 0, 9, 1, 2, 3, 4, 5, 6, 7 } }
1
BinRealVul
visitor_input_test_init_5011
visitor_input_test_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i64* %arg1 to i64 store i32 16, i32* %sv_0, align 4 %22 = call i64 @FUNC(i64 %21, i64 %arg2, i32* nonnull %sv_0) ret i64 %22 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
rawsock_write_queue_purge_8227
rawsock_write_queue_purge
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = call i64 @FUNC(i64 %0) ret i64 %7 }
0
BinRealVul
decode_init_thread_copy_17076
decode_init_thread_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 16) %11 = add i64 %8, 16 %12 = inttoptr i64 %11 to i64* %13 = call i64* @memset(i64* %12, i32 0, i32 16) %14 = add i64 %8, 32 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = add i64 %8, 40 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %8, 48 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %20 = add i64 %8, 56 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %8, 64 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %8, { 0, 1, 2, 3, 6, 5, 4 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mp3_read_probe_15547
mp3_read_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %sv_2.07.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i32 %sv_3.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 51, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = add nsw i64 %7, -4 %9 = icmp ult i64 %8, 4096 %10 = icmp eq i32 %6, 4100 %11 = or i1 %10, %9 %12 = select i1 %11, i64 %8, i64 4096 %13 = add i64 %12, %0 %14 = icmp ugt i64 %13, %0 store i32 0, i32* %sv_1.0.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_7 LBL_2: %15 = ptrtoint i64* %sv_4 to i64 store i64 %0, i64* %sv_2.07.reg2mem store i32 0, i32* %sv_1.06.reg2mem br label LBL_3.lr.ph LBL_3: %sv_3.01.reload = load i64, i64* %sv_3.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %16 = inttoptr i64 %sv_3.01.reload to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = mul i64 %18, 16777216 %20 = add i64 %sv_3.01.reload, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = mul i64 %23, 65536 %25 = or i64 %24, %19 %26 = add i64 %sv_3.01.reload, 2 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = zext i8 %28 to i64 %30 = mul i64 %29, 256 %31 = or i64 %25, %30 %32 = add i64 %sv_3.01.reload, 3 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = zext i8 %34 to i64 %36 = or i64 %31, %35 %37 = call i64 @FUNC(i64* nonnull %sv_4, i64 %36, i64* nonnull %sv_4) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 store i32 %storemerge2.reload, i32* %storemerge.lcssa.reg2mem br i1 %39, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %37, 4294967296 %40 = ashr exact i64 %sext, 32 %41 = add i64 %40, %sv_3.01.reload %42 = add i32 %storemerge2.reload, 1 %43 = icmp ult i64 %41, %13 store i32 %42, i32* %storemerge2.reg2mem store i64 %41, i64* %sv_3.01.reg2mem store i32 %42, i32* %storemerge.lcssa.reg2mem br i1 %43, label LBL_3, label LBL_5 LBL_5: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %44 = sub i32 %sv_1.06.reload, %storemerge.lcssa.reload %45 = xor i32 %storemerge.lcssa.reload, %sv_1.06.reload %46 = xor i32 %44, %sv_1.06.reload %47 = and i32 %46, %45 %48 = icmp slt i32 %47, 0 %49 = icmp slt i32 %44, 0 %50 = icmp eq i1 %49, %48 %51 = select i1 %50, i32 %sv_1.06.reload, i32 %storemerge.lcssa.reload %52 = icmp eq i64 %sv_2.07.reload, %15 %53 = icmp eq i1 %52, false %spec.select = select i1 %53, i32 %sv_0.19.reload, i32 %storemerge.lcssa.reload %54 = add nuw i64 %sv_2.07.reload, 1 %exitcond = icmp eq i64 %54, %13 store i32 %spec.select, i32* %sv_0.19.reg2mem store i64 %54, i64* %sv_2.07.reg2mem store i32 %51, i32* %sv_1.06.reg2mem store i32 %51, i32* %sv_1.0.lcssa.reg2mem store i32 %spec.select, i32* %sv_0.1.lcssa.reg2mem br i1 %exitcond, label LBL_7, label LBL_3.lr.ph LBL_6: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 %sv_2.07.reload, i64* %sv_3.01.reg2mem br label LBL_3 LBL_7: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %55 = icmp slt i32 %sv_0.1.lcssa.reload, 3 store i64 51, i64* %rax.0.reg2mem br i1 %55, label LBL_8, label LBL_10 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %56 = icmp slt i32 %sv_1.0.lcssa.reload, 3 store i64 25, i64* %rax.0.reg2mem br i1 %56, label LBL_9, label LBL_10 LBL_9: %57 = icmp sgt i32 %sv_1.0.lcssa.reload, 0 %. = zext i1 %57 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.07.reload, { 2, 0, 1 } uselistorder i32 %sv_1.06.reload, { 0, 2, 3, 1 } uselistorder i32 %44, { 1, 0 } uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 3, 1 } uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i64 %sv_3.01.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %13, { 0, 2, 1 } uselistorder i64* %sv_4, { 1, 2, 0 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i32* %storemerge2.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_3.01.reg2mem, { 2, 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder i32 0, { 3, 2, 4, 5, 6, 1, 0, 7 } uselistorder label LBL_3.lr.ph, { 1, 0 } }
1
BinRealVul
ttusbdecfe_dvbs_diseqc_send_master_cmd_11319
ttusbdecfe_dvbs_diseqc_send_master_cmd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 %3) ret i64 0 }
1
BinRealVul
install_user_keyrings_7290
install_user_keyrings
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %r9.2.reg2mem = alloca i64 %r8.2.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi12.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_1.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %4 = call i64 @FUNC() %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = zext i32 %8 to i64 %13 = call i64 @FUNC(i64 %11, i64 %12) %14 = trunc i64 %13 to i32 %15 = and i64 %13, 4294967295 %16 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 %14, i64 %3, i64 %2, i64 %1) %17 = add i64 %6, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_3, label LBL_1 LBL_1: %21 = add i64 %6, 16 %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 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %15, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_3: %26 = call i64 @FUNC(i64* nonnull @gv_2) %27 = load i64, i64* %18, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 %15, i64* %rdx.0.reg2mem store i64 %6, i64* %rsi.1.reg2mem br i1 %29, label LBL_11, label LBL_4 LBL_4: %30 = bitcast i64* %sv_2 to i8* %31 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %30, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i32 %14) %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 1) %33 = icmp ult i64 %32, -1000 store i64 %32, i64* %sv_1.0.in.reg2mem br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = load i32, i32* %7, align 4 %35 = call i64 @FUNC(i64* nonnull %sv_2, i32 %34, i64 0, i64 %4, i64 31, i64 3) %36 = icmp ult i64 %35, -1000 store i64 %35, i64* %sv_1.0.in.reg2mem store i64 %4, i64* %rcx.0.reg2mem store i64 31, i64* %r8.0.reg2mem store i64 3, i64* %r9.0.reg2mem store i64 %35, i64* %sv_0.1.reg2mem store i64 0, i64* %rdx.2.reg2mem br i1 %36, label LBL_6, label LBL_14 LBL_6: %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %37 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i32 %14) %38 = call i64 @FUNC(i64* nonnull %sv_2, i64 1) %39 = icmp ult i64 %38, -1000 br i1 %39, label LBL_6.LBL_10_crit_edge, label LBL_8 LBL_7: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.pre = mul i64 %sv_1.0.in.reload, 4294967296 %.pre9 = ashr exact i64 %.pre, 32 %.pre10 = mul i64 %38, 4294967296 %.pre11 = ashr exact i64 %.pre10, 32 store i64 %.pre11, i64* %.pre-phi12.reg2mem store i64 %.pre9, i64* %.pre-phi.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 1, i64* %rsi.0.reg2mem store i64 %r8.0.reload, i64* %r8.1.reg2mem store i64 %r9.0.reload, i64* %r9.1.reg2mem br label LBL_10 LBL_8: %40 = load i32, i32* %7, align 4 %41 = call i64 @FUNC(i64* nonnull %sv_2, i32 %40, i64 0, i64 %4, i64 31, i64 3) %42 = icmp ult i64 %41, -1000 %sext7 = mul i64 %sv_1.0.in.reload, 4294967296 %43 = ashr exact i64 %sext7, 32 store i64 %41, i64* %sv_0.0.reg2mem store i64 0, i64* %rdx.1.reg2mem br i1 %42, label LBL_9, label LBL_13 LBL_9: %sext = mul i64 %41, 4294967296 %44 = ashr exact i64 %sext, 32 %45 = call i64 @FUNC(i64 %44, i64 %43) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 store i64 %44, i64* %.pre-phi12.reg2mem store i64 %43, i64* %.pre-phi.reg2mem store i64 %4, i64* %rcx.1.reg2mem store i64 %43, i64* %rsi.0.reg2mem store i64 31, i64* %r8.1.reg2mem store i64 3, i64* %r9.1.reg2mem br i1 %47, label LBL_12, label LBL_10 LBL_10: %r9.1.reload = load i64, i64* %r9.1.reg2mem %r8.1.reload = load i64, i64* %r8.1.reg2mem %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi12.reload = load i64, i64* %.pre-phi12.reg2mem store i64 %.pre-phi.reload, i64* %18, align 8 %48 = add i64 %6, 16 %49 = inttoptr i64 %48 to i64* store i64 %.pre-phi12.reload, i64* %49, align 8 store i64 %rcx.1.reload, i64* %rcx.2.reg2mem store i64 %.pre-phi12.reload, i64* %rdx.0.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem store i64 %r8.1.reload, i64* %r8.2.reg2mem store i64 %r9.1.reload, i64* %r9.2.reg2mem br label LBL_11 LBL_11: %r9.2.reload = load i64, i64* %r9.2.reg2mem %r8.2.reload = load i64, i64* %r8.2.reg2mem %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %50 = call i64 @FUNC(i64* nonnull @gv_2) %51 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %rsi.1.reload, i64 %rdx.0.reload, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %r9.2.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %52 = call i64 @FUNC(i64 %44) store i64 %45, i64* %sv_0.0.reg2mem store i64 %43, i64* %rdx.1.reg2mem br label LBL_13 LBL_13: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %53 = call i64 @FUNC(i64 %43) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %rdx.1.reload, i64* %rdx.2.reg2mem br label LBL_14 LBL_14: %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %54 = call i64 @FUNC(i64* nonnull @gv_2) %55 = and i64 %sv_0.1.reload, 4294967295 %56 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 %55, i64 %rdx.2.reload, i64 %4, i64 31, i64 3) store i64 %55, 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 i64 %44, { 1, 0, 2 } uselistorder i64 %43, { 3, 0, 1, 2, 4 } uselistorder i64 %41, { 1, 0, 2 } uselistorder i64 %sv_1.0.in.reload, { 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64 %6, { 1, 0, 3, 2, 5, 6, 4 } uselistorder i64 %4, { 2, 0, 4, 1, 3, 5, 6 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @key_put, { 1, 0 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 32, { 3, 2, 0, 1 } uselistorder i64 (i64*, i32, i64, i64, i64, i64)* @keyring_alloc, { 1, 0 } uselistorder i64 3, { 2, 0, 3, 1, 4 } uselistorder i64 31, { 4, 0, 2, 1, 3 } uselistorder i64 (i64*, i64)* @find_keyring_by_name, { 1, 0 } uselistorder i64* @gv_2, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @kleave, { 2, 1, 0 } uselistorder i32 1, { 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 1, 5, 0, 4, 3, 2 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
arm_set_cpu_off_15462
arm_set_cpu_off
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) %6 = call i64 @FUNC(i64 %arg1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = call i64 @FUNC(i64 %6) %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %14 = inttoptr i64 %6 to i32* store i32 1, i32* %10, align 4 store i32 1, i32* %14, align 4 %15 = add i64 %6, 4 %16 = inttoptr i64 %15 to i32* store i32 2, i32* %16, align 4 %17 = call i64 @FUNC(i64 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 0, 1, 3, 2, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 1, { 9, 10, 6, 5, 4, 7, 3, 1, 8, 2, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
nilfs_btree_propagate_v_17599
nilfs_btree_propagate_v
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %sext = mul i64 %3, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %0) %6 = sext i32 %arg3 to i64 %7 = mul i64 %6, 16 %8 = add i64 %7, %1 %9 = inttoptr i64 %8 to i64* store i64 %0, i64* %9, align 8 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64 %2, i64 %1, i32 %arg3, i64* nonnull %10, i64 %4) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i64 %11, i64* %sv_0.1.reg2mem br i1 %13, label LBL_4, label LBL_1 LBL_1: %14 = load i64, i64* %9, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = add i32 %arg3, 1 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %2, i64 %1, i64 %19) %21 = add i64 %8, 24 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = call i64 @FUNC(i64 %2, i64 %20, i32 %23) %25 = call i64 @FUNC(i64 %4, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 store i64 %25, i64* %sv_0.0.reg2mem store i64 %25, i64* %sv_0.1.reg2mem br i1 %27, label LBL_4, label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = load i32, i32* %sv_1, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %2, i64 %1, i32 %arg3, i64 %29, i64 %0, i64 %4) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %31 = load i64, i64* %9, align 8 %32 = call i64 @FUNC(i64 %31) store i64 0, i64* %9, align 8 %33 = and i64 %sv_0.1.reload, 4294967295 ret i64 %33 uselistorder i64 %11, { 1, 0, 2 } uselistorder i64* %9, { 1, 2, 0, 3 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 2, 1, 3, 0 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i32 %arg3, { 1, 0, 2, 3 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
skip_check_18936
skip_check
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_1.214.reg2mem = alloca i32 %sv_0.215.reg2mem = alloca i64 %storemerge316.reg2mem = alloca i32 %.reg2mem22 = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %sv_0.111.reg2mem = alloca i64 %storemerge412.reg2mem = alloca i32 %sv_1.319.reg2mem = alloca i32 %sv_0.320.reg2mem = alloca i64 %storemerge21.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = trunc i64 %2 to i32 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = mul i64 %2, 4294967296 %sext = mul i64 %8, %2 %9 = ashr exact i64 %sext, 32 %10 = mul nsw i64 %9, %9 %11 = ashr exact i64 %8, 32 %12 = mul nsw i64 %9, %11 %13 = sub i64 0, %12 %14 = icmp slt i64 %13, 0 %15 = icmp eq i1 %14, false %16 = select i1 %15, i64 %13, i64 %12 %17 = mul i32 %5, %5 %18 = sub i32 0, %5 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false %21 = select i1 %20, i32 %18, i32 %5 %22 = trunc i64 %1 to i32 store i32 0, i32* %storemerge21.reg2mem store i64 0, i64* %sv_0.320.reg2mem store i32 0, i32* %sv_1.319.reg2mem br label LBL_1 LBL_1: %sv_1.319.reload = load i32, i32* %sv_1.319.reg2mem %sv_0.320.reload = load i64, i64* %sv_0.320.reg2mem %storemerge21.reload = load i32, i32* %storemerge21.reg2mem %23 = icmp eq i32 %storemerge21.reload, 0 %24 = select i1 %23, i32 2, i32 1 %25 = mul i32 %24, %22 %26 = icmp eq i32 %25, 0 store i32 %sv_1.319.reload, i32* %sv_1.2.lcssa.reg2mem store i64 %sv_0.320.reload, i64* %sv_0.2.lcssa.reg2mem br i1 %26, label LBL_12, label LBL_2 LBL_2: %.pre = load i32, i32* %4, align 4 %27 = zext i32 %25 to i64 store i32 %.pre, i32* %.reg2mem22 store i32 0, i32* %storemerge316.reg2mem store i64 %sv_0.320.reload, i64* %sv_0.215.reg2mem store i32 %sv_1.319.reload, i32* %sv_1.214.reg2mem br label LBL_11 LBL_3: %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %sv_0.111.reload = load i64, i64* %sv_0.111.reg2mem %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %28 = load i64, i64* %7, align 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 store i64 %31, i64* @0, align 8 store i32 %sv_1.110.reload, i32* %sv_1.0.reg2mem store i64 %sv_0.111.reload, i64* %sv_0.0.reg2mem switch i32 %30, label LBL_9 [ i32 0, label LBL_4 i32 1, label LBL_5 i32 2, label LBL_6 i32 3, label LBL_7 i32 4, label LBL_8 ] LBL_4: %32 = sub i32 %sv_1.110.reload, %5 %33 = xor i32 %sv_1.110.reload, %5 %34 = xor i32 %32, %sv_1.110.reload %35 = and i32 %34, %33 %36 = icmp slt i32 %35, 0 %37 = icmp slt i32 %32, 0 %38 = icmp eq i1 %37, %36 %39 = select i1 %38, i32 %sv_1.110.reload, i32 %5 store i32 %39, i32* %sv_1.0.reg2mem store i64 %sv_0.111.reload, i64* %sv_0.0.reg2mem br label LBL_9 LBL_5: %40 = add i32 %sv_1.110.reload, %21 store i32 %40, i32* %sv_1.0.reg2mem store i64 %sv_0.111.reload, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %41 = add i32 %sv_1.110.reload, %17 store i32 %41, i32* %sv_1.0.reg2mem store i64 %sv_0.111.reload, i64* %sv_0.0.reg2mem br label LBL_9 LBL_7: %42 = add i64 %sv_0.111.reload, %16 store i32 %sv_1.110.reload, i32* %sv_1.0.reg2mem store i64 %42, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %43 = add i64 %sv_0.111.reload, %10 store i32 %sv_1.110.reload, i32* %sv_1.0.reg2mem store i64 %43, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %44 = add i32 %storemerge412.reload, 1 %45 = load i32, i32* %4, align 4 %46 = mul i32 %45, %24 %47 = zext i32 %46 to i64 %48 = sext i32 %44 to i64 %49 = icmp slt i64 %48, %47 store i32 %44, i32* %storemerge412.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.111.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.110.reg2mem store i32 %45, i32* %.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %49, label LBL_3, label LBL_10 LBL_10: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %.reload = load i32, i32* %.reg2mem %50 = add i32 %storemerge316.reload, 1 %51 = sext i32 %50 to i64 %52 = icmp slt i64 %51, %27 store i32 %.reload, i32* %.reg2mem22 store i32 %50, i32* %storemerge316.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.215.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.214.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.2.lcssa.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.lcssa.reg2mem br i1 %52, label LBL_11, label LBL_12 LBL_11: %sv_1.214.reload = load i32, i32* %sv_1.214.reg2mem %sv_0.215.reload = load i64, i64* %sv_0.215.reg2mem %storemerge316.reload = load i32, i32* %storemerge316.reg2mem %.reload23 = load i32, i32* %.reg2mem22 %53 = mul i32 %.reload23, %24 %54 = icmp eq i32 %53, 0 store i32 0, i32* %storemerge412.reg2mem store i64 %sv_0.215.reload, i64* %sv_0.111.reg2mem store i32 %sv_1.214.reload, i32* %sv_1.110.reg2mem store i32 %.reload23, i32* %.reg2mem store i32 %sv_1.214.reload, i32* %sv_1.1.lcssa.reg2mem store i64 %sv_0.215.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %54, label LBL_10, label LBL_3 LBL_12: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %55 = add nuw nsw i32 %storemerge21.reload, 1 %exitcond = icmp eq i32 %55, 3 store i32 %55, i32* %storemerge21.reg2mem store i64 %sv_0.2.lcssa.reload, i64* %sv_0.320.reg2mem store i32 %sv_1.2.lcssa.reload, i32* %sv_1.319.reg2mem br i1 %exitcond, label LBL_13, label LBL_1 LBL_13: %56 = icmp eq i32 %sv_1.2.lcssa.reload, 0 %57 = sext i32 %sv_1.2.lcssa.reload to i64 %spec.select = select i1 %56, i64 %sv_0.2.lcssa.reload, i64 %57 %58 = load i64, i64* %7, align 8 %59 = add i64 %58, 4 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = sext i32 %61 to i64 %63 = icmp slt i64 %spec.select, %62 store i64 1, i64* %rax.0.reg2mem br i1 %63, label LBL_15, label LBL_14 LBL_14: %64 = add i64 %58, 8 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %2, 32 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = sext i32 %69 to i64 %71 = sext i32 %66 to i64 %72 = mul nsw i64 %70, %71 %73 = ashr i64 %72, 8 %74 = icmp slt i64 %spec.select, %73 %. = zext i1 %74 to i64 store i64 %., 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 %.reload23, { 1, 0 } uselistorder i64 %sv_0.215.reload, { 1, 0 } uselistorder i32 %sv_1.214.reload, { 1, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i64 %sv_0.111.reload, { 4, 5, 2, 1, 0, 3 } uselistorder i32 %sv_1.110.reload, { 1, 0, 5, 6, 4, 8, 7, 3, 2 } uselistorder i32 %24, { 1, 0, 2 } uselistorder i64 %sv_0.320.reload, { 1, 0 } uselistorder i32 %sv_1.319.reload, { 1, 0 } uselistorder i64 %9, { 0, 2, 1 } uselistorder i64 %8, { 1, 0 } uselistorder i32 %5, { 2, 0, 1, 4, 3, 6, 5 } uselistorder i32* %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 4, 3, 5 } uselistorder i32* %storemerge21.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.320.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.319.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge412.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.111.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.110.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32 0, { 12, 1, 4, 9, 10, 6, 0, 5, 11, 2, 3, 7, 8 } uselistorder i1 false, { 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
__account_cfs_rq_runtime_12744
__account_cfs_rq_runtime
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = sub i64 %0, %arg2 store i64 %1, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false %5 = zext i1 %4 to i64 %6 = icmp eq i1 %4, false %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %0) %9 = and i64 %8, 4294967295 %10 = xor i64 %9, 1 %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 0 store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 false, { 0, 2, 3, 1, 4 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
1
BinRealVul
pic_is_unused_419
pic_is_unused
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 1, i64* %rax.0.reg2mem br i1 %11, label LBL_1, label LBL_4 LBL_1: %12 = trunc i64 %1 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 2 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 1, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
nic_reset_2680
nic_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 0, i64 %2) %4 = call i64* @memset(i64* %arg1, i32 0, i32 40) %5 = call i64 @FUNC(i64 %0) ret i64 %5 }
0
BinRealVul
handle_satn_2969
handle_satn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* store i64 4198700, i64* %11, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %12 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 32) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
0
BinRealVul
command_loop_1845
command_loop
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.be.reg2mem = alloca i32 %sv_1.4.be.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_1.210.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 %0 = bitcast i32* %sv_2 to i64* store i32 0, i32* %storemerge411.reg2mem store i32 0, i32* %sv_1.210.reg2mem br label LBL_13 LBL_1: %1 = load i64, i64* @gv_0, align 8 %2 = mul i64 %60, 8 %3 = add i64 %1, %2 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i8* %7 = call i8* @strdup(i8* %6) %8 = icmp eq i8* %7, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @globalFUNCvarFUNC402020, i64 0, i64 0)) %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %15 = inttoptr i64 %13 to i8* %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* %15) call void @exit(i32 1) unreachable LBL_3: %17 = ptrtoint i8* %7 to i64 %18 = call i64 @FUNC(i64 %17, i64* nonnull %0) %19 = load i32, i32* %sv_2, align 4 %20 = icmp eq i32 %19, 0 store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %20, label LBL_12, label LBL_4 LBL_4: %21 = inttoptr i64 %18 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_11, label LBL_5 LBL_5: %25 = inttoptr i64 %23 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %26, 2 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_6, label LBL_8 LBL_6: %29 = icmp eq i32 %sv_1.210.reload, 0 %30 = icmp eq i1 %29, false store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %30, label LBL_12, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %.reg2mem store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %34, label LBL_9, label LBL_12 LBL_8: %35 = load i32, i32* %sv_2, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %23, i64 %36, i64 %18) %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_1.1.reg2mem br label LBL_12 LBL_9: %39 = load i32, i32* %sv_2, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %23, i64 %40, i64 %18) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i32 %42, i32* %sv_1.1.reg2mem br i1 %44, label LBL_12, label LBL_10 LBL_10: %.reload = load i64, i64* %.reg2mem %45 = and i64 %.reload, 4294967295 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %46, i64* %.reg2mem store i32 %42, i32* %sv_1.1.reg2mem br i1 %49, label LBL_9, label LBL_12 LBL_11: %50 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402040, i64 0, i64 0)) %51 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %52 = inttoptr i64 %50 to i8* %53 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %51, i8* %52) store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br label LBL_12 LBL_12: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %54 = call i64 @FUNC(i64 %17, i64 %18) %55 = add i32 %storemerge411.reload, 1 %56 = icmp eq i32 %sv_1.1.reload, 0 %57 = icmp eq i1 %56, false store i32 %55, i32* %storemerge411.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.210.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem br i1 %57, label LBL_14, label LBL_13 LBL_13: %sv_1.210.reload = load i32, i32* %sv_1.210.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %58 = load i32, i32* @gv_2, align 4 %59 = zext i32 %58 to i64 %60 = sext i32 %storemerge411.reload to i64 %61 = icmp slt i64 %60, %59 store i32 %sv_1.210.reload, i32* %sv_1.2.lcssa.reg2mem br i1 %61, label LBL_1, label LBL_14 LBL_14: %62 = load i64, i64* @gv_0, align 8 %63 = icmp eq i64 %62, 0 br i1 %63, label LBL_15, label LBL_17 LBL_15: %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %64 = icmp eq i32 %sv_1.2.lcssa.reload, 0 br i1 %64, label LBL_16, label LBL_28 LBL_16: %65 = bitcast i32* %sv_3 to i64* store i32 0, i32* %sv_0.16.reg2mem br label LBL_18 LBL_17: %66 = call i64 @FUNC(i64 %62) store i64 %66, i64* %storemerge.reg2mem br label LBL_29 LBL_18: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %67 = icmp eq i32 %sv_0.16.reload, 0 %68 = icmp eq i1 %67, false store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %68, label LBL_20, label LBL_19 LBL_19: %69 = call i64 @FUNC() %70 = inttoptr i64 %69 to i8* %71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* %70) %72 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %73 = call i32 @fflush(%_IO_FILE* %72) %74 = call i64 @FUNC(i64 0, i64 4198790, i64 0, i64 0, i64 0, i64* nonnull %65) store i32 1, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %75 = call i64 @FUNC() %76 = load i32, i32* %sv_3, align 4 %77 = icmp eq i32 %76, 0 %78 = icmp eq i1 %77, false store i32 0, i32* %sv_1.4.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem br i1 %78, label LBL_21, label LBL_27 LBL_21: %79 = call i64 @FUNC() %80 = icmp eq i64 %79, 0 br i1 %80, label LBL_28, label LBL_22 LBL_22: %81 = call i64 @FUNC(i64 %79, i64* nonnull %0) %82 = load i32, i32* %sv_2, align 4 %83 = icmp eq i32 %82, 0 store i32 0, i32* %sv_1.3.reg2mem br i1 %83, label LBL_26, label LBL_23 LBL_23: %84 = inttoptr i64 %81 to i64* %85 = load i64, i64* %84, align 8 %86 = call i64 @FUNC(i64 %85) %87 = icmp eq i64 %86, 0 br i1 %87, label LBL_25, label LBL_24 LBL_24: %88 = load i32, i32* %sv_2, align 4 %89 = zext i32 %88 to i64 %90 = call i64 @FUNC(i64 %86, i64 %89, i64 %81) %91 = trunc i64 %90 to i32 store i32 %91, i32* %sv_1.3.reg2mem br label LBL_26 LBL_25: %92 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402040, i64 0, i64 0)) %93 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %94 = inttoptr i64 %92 to i8* %95 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %93, i8* %94) store i32 0, i32* %sv_1.3.reg2mem br label LBL_26 LBL_26: %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %96 = call i64 @FUNC(i64 %79, i64 %81) store i32 0, i32* %sv_3, align 4 store i32 %sv_1.3.reload, i32* %sv_1.4.be.reg2mem store i32 0, i32* %sv_0.1.be.reg2mem br label LBL_27 LBL_27: %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem %sv_1.4.be.reload = load i32, i32* %sv_1.4.be.reg2mem %97 = icmp eq i32 %sv_1.4.be.reload, 0 store i32 %sv_0.1.be.reload, i32* %sv_0.16.reg2mem br i1 %97, label LBL_18, label LBL_28 LBL_28: %98 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 0, i64* null) store i64 %98, i64* %storemerge.reg2mem br label LBL_29 LBL_29: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %81, { 1, 0, 2 } uselistorder i64 %60, { 1, 0 } uselistorder i32 %storemerge411.reload, { 1, 0 } uselistorder i32 %sv_1.210.reload, { 0, 2, 1, 4, 5, 3 } uselistorder i32 %42, { 1, 0, 2 } uselistorder i64 %18, { 2, 1, 0, 3 } uselistorder i8* %7, { 1, 0 } uselistorder i32* %sv_3, { 2, 1, 3, 0 } uselistorder i32* %sv_2, { 4, 3, 2, 1, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 6, 2, 1, 5, 3, 4, 7 } uselistorder i32* %sv_1.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.3.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_1.4.be.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.be.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64, i64, i64*)* @qemu_aio_set_fd_handler, { 1, 0 } uselistorder i64 (i64, i64)* @doneline, { 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i64, i64)* @command, { 2, 1, 0 } uselistorder i64 (i64)* @args_command, { 1, 0 } uselistorder i64 (i64)* @find_command, { 1, 0 } uselistorder i64 (i64, i64*)* @breakline, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder i64 (i8*)* @_, { 2, 1, 0 } uselistorder i1 false, { 2, 3, 7, 4, 5, 0, 1, 6 } uselistorder i32 1, { 8, 19, 16, 17, 18, 15, 14, 13, 12, 11, 10, 9, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 4, 1, 2, 5, 0, 3, 6 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
snd_usb_mixer_free_13751
snd_usb_mixer_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = load i64, i64* %3, align 8 %10 = call i64 @FUNC(i64 %9) br label LBL_2 LBL_2: %11 = add i64 %arg1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %arg1, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %arg1) ret i64 %19 uselistorder i64 (i64)* @usb_free_urb, { 1, 0 } uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3, 4, 5 } }
0
BinRealVul
ff_v4l2_m2m_codec_init_2379
ff_v4l2_m2m_codec_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem11 = alloca i64 %rcx.1.lcssa9.reg2mem = alloca i64 %sv_0.1.lcssa10.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rcx.0.reg2mem = alloca i64 %rcx.14.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i32 %storemerge.in6.reg2mem = alloca %dirent* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 %3, i64* %arg1, align 8 %4 = call %__dirstream* @opendir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq %__dirstream* %4, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32* @__errno_location() %8 = load i32, i32* %7, align 4 %9 = sub i32 0, %8 %10 = zext i32 %9 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %11 = call %dirent* @readdir(%__dirstream* %4) %12 = icmp eq %dirent* %11, null %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = ptrtoint %__dirstream* %4 to i64 %15 = call i32 @closedir(%__dirstream* %4) %.pre = add i64 %3, 8 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %14, i64* %.reg2mem store i32 -22, i32* %sv_0.1.lcssa10.reg2mem br label LBL_10 LBL_4: %16 = ptrtoint i64* %sv_1 to i64 %17 = bitcast i64* %sv_1 to i8* %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i8* store %dirent* %11, %dirent** %storemerge.in6.reg2mem store i32 -22, i32* %sv_0.15.reg2mem br label LBL_5 LBL_5: %rcx.14.reload = load i64, i64* %rcx.14.reg2mem %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %storemerge.in6.reload = load %dirent*, %dirent** %storemerge.in6.reg2mem %storemerge = ptrtoint %dirent* %storemerge.in6.reload to i64 %20 = add i64 %storemerge, 19 %21 = inttoptr i64 %20 to i8* %22 = call i32 @strncmp(i8* %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %rcx.14.reload, i64* %rcx.0.reg2mem store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %24, label LBL_8, label LBL_6 LBL_6: %25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %17, i32 4096, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* %21) %26 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1) %27 = call i32 @strlen(i8* nonnull %17) %28 = add i32 %27, 1 %29 = call i8* @strncpy(i8* %19, i8* nonnull %17, i32 %28) %30 = call i64 @FUNC(i64 %3) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 %18, i64* %rcx.0.reg2mem store i32 %31, i32* %sv_0.0.reg2mem br i1 %32, label LBL_7, label LBL_8 LBL_7: %33 = ptrtoint %__dirstream* %4 to i64 %34 = call i32 @closedir(%__dirstream* %4) store i64 %33, i64* %.reg2mem11 br label LBL_11 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %35 = call %dirent* @readdir(%__dirstream* %4) %36 = icmp eq %dirent* %35, null %37 = icmp eq i1 %36, false store %dirent* %35, %dirent** %storemerge.in6.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem store i64 %rcx.0.reload, i64* %rcx.14.reg2mem br i1 %37, label LBL_5, label LBL_9 LBL_9: %38 = ptrtoint %__dirstream* %4 to i64 %39 = call i32 @closedir(%__dirstream* %4) %40 = icmp eq i32 %sv_0.0.reload, 0 store i64 %18, i64* %.pre-phi.reg2mem store i64 %38, i64* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa10.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa9.reg2mem store i64 %38, i64* %.reg2mem11 br i1 %40, label LBL_11, label LBL_10 LBL_10: %rcx.1.lcssa9.reload = load i64, i64* %rcx.1.lcssa9.reg2mem %sv_0.1.lcssa10.reload = load i32, i32* %sv_0.1.lcssa10.reg2mem %.reload = load i64, i64* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %41 = inttoptr i64 %rcx.1.lcssa9.reload to i64* %42 = call i64 @FUNC(i64 %.reload, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64* %41, i64 %2, i64 %1) %43 = inttoptr i64 %.pre-phi.reload to i64* %44 = call i64* @memset(i64* %43, i32 0, i32 4096) %45 = zext i32 %sv_0.1.lcssa10.reload to i64 store i64 %45, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %.reload12 = load i64, i64* %.reg2mem11 %46 = call i64 @FUNC(i64 %.reload12, i64 2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1) %47 = call i64 @FUNC(i64 %3) store i64 %47, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %__dirstream* %4, { 5, 4, 6, 2, 3, 0, 1, 7, 8 } uselistorder i64 %3, { 1, 3, 2, 0, 4 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder %dirent** %storemerge.in6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.14.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64*, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i32 4096, { 1, 0 } uselistorder i32 -22, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 (%__dirstream*)* @closedir, { 2, 1, 0 } uselistorder %dirent* null, { 1, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
mount_entry_on_absolute_rootfs_17332
mount_entry_on_absolute_rootfs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_0.0.in.reg2mem = alloca i8* %rsi.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %4 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %5 = inttoptr i64 %0 to i8* %6 = bitcast i64* %sv_1 to i8* %7 = inttoptr i64 %arg3 to i8* %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %6, i32 4096, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i8* %5, i8* %7) %9 = icmp ugt i32 %8, 4095 store i64 4096, i64* %rsi.0.reg2mem br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = ptrtoint i64* %sv_1 to i64 %11 = call i8* @strstr(i8* nonnull %6, i8* nonnull %6) %12 = icmp eq i8* %11, null store i64 %10, i64* %rsi.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i32 @strlen(i8* nonnull %6) store i8* %11, i8** %sv_0.0.in.reg2mem store i32 %13, i32* %storemerge.reg2mem br label LBL_8 LBL_5: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %14 = inttoptr i64 %rsi.0.reload to i8* %15 = call i8* @strstr(i8* nonnull %6, i8* %14) %16 = icmp eq i8* %15, null %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %20 = call i32 @strlen(i8* %14) store i8* %15, i8** %sv_0.0.in.reg2mem store i32 %20, i32* %storemerge.reg2mem br label LBL_8 LBL_8: %21 = ptrtoint i64* %arg2 to i64 %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.0.in.reload = load i8*, i8** %sv_0.0.in.reg2mem %sv_0.0 = ptrtoint i8* %sv_0.0.in.reload to i64 %22 = sext i32 %storemerge.reload to i64 %23 = add i64 %22, %sv_0.0 %24 = add i64 %21, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i8* %28 = inttoptr i64 %23 to i8* %29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %6, i32 4096, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i8* %27, i8* %28) %30 = icmp ult i32 %29, 4096 br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %33 = ptrtoint i64* %arg1 to i64 %34 = call i64 @FUNC(i64 %33, i64* nonnull %sv_1) store i64 %34, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %6, { 4, 1, 2, 3, 0, 5 } uselistorder i64* %sv_1, { 2, 1, 0, 4, 3 } uselistorder i8** %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } }
1
BinRealVul
lag_calc_zero_run_14137
lag_calc_zero_run
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 72057594037927936 %0 = ashr exact i64 %sext, 55 %1 = trunc i64 %arg1 to i8 %2 = ashr i8 %1, 7 %3 = zext i8 %2 to i64 %.masked = and i64 %0, 4294967294 %4 = xor i64 %.masked, %3 ret i64 %4 uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
auth_client_request_abort_6392
auth_client_request_abort
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %7 = add i64 %0, 12 %8 = call i64 @FUNC(i64 %7) ret i64 %8 }
0
BinRealVul
rfbProcessFileTransferReadBuffer_6251
rfbProcessFileTransferReadBuffer
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %0, 4294967295 %5 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_0, i64 0, i64 0), i64 %4) %6 = call i64 @FUNC(i64 %arg1) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %7 = trunc i64 %0 to i32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_9, label LBL_3 LBL_3: %9 = add i32 %7, 1 %10 = call i64* @malloc(i32 %9) %11 = ptrtoint i64* %10 to i64 %12 = icmp eq i64* %10, null store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_9, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %arg1, i64 %11, i32 %7) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp slt i32 %14, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 br i1 %19, label LBL_8, label LBL_5 LBL_5: br i1 %15, label LBL_7, label LBL_6 LBL_6: %20 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0)) br label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 %arg1) call void @free(i64* nonnull %10) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %22 = and i64 %0, 4294967295 %23 = add i64 %22, %11 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 store i64 %11, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %14, { 1, 0 } uselistorder i64 %11, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 3, 4 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @rfbCloseClient, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 0 } uselistorder label LBL_9, { 2, 3, 1, 0, 4 } }
0
BinRealVul
mm_init_11338
mm_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %1, 12 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %1, 16 %7 = call i64 @FUNC(i64 %6, i64 1) %8 = add i64 %1, 20 %9 = call i64 @FUNC(i64 %8, i64 1) %10 = add i64 %1, 24 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %1, 32 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %1, 40 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = add i64 %1, 48 %17 = call i64 @FUNC(i64 %16, i64 0) %18 = call i64 @FUNC(i64 %1) %19 = add i64 %1, 56 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %1, 60 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = add i64 %1, 64 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = add i64 %1, 68 %26 = inttoptr i64 %25 to i64* %27 = call i64* @memset(i64* %26, i32 0, i32 4) %28 = add i64 %1, 72 %29 = call i64 @FUNC(i64 %28) %30 = call i64 @FUNC(i64 %1) %31 = call i64 @FUNC(i64 %1) %32 = call i64 @FUNC(i64 %1, i64 %0) %33 = call i64 @FUNC(i64 %1) %34 = call i64 @FUNC(i64 %1) %35 = add i64 %1, 88 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %36, align 8 %37 = load i64, i64* @gv_0, align 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_2, label LBL_1 LBL_1: %41 = add i64 %39, 76 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %1, 76 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = load i64, i64* @gv_0, align 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = add i64 %48, 80 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %1, 80 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 br label LBL_3 LBL_2: %54 = add i64 %1, 76 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %1, 80 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 br label LBL_3 LBL_3: %58 = call i64 @FUNC(i64 %1) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_7, label LBL_4 LBL_4: %62 = call i64 @FUNC(i64 %0, i64 %1) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_6, label LBL_5 LBL_5: %66 = ptrtoint i64* %arg3 to i64 %67 = call i64 @FUNC(i64 %66) %68 = add i64 %1, 96 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 store i64 %1, i64* %storemerge.reg2mem br label LBL_8 LBL_6: %70 = call i64 @FUNC(i64 %1) br label LBL_7 LBL_7: %71 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 6, 4, 0, 3, 5, 7, 8, 9, 1, 2, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
blog_post_12455
blog_post
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i1 %1 = load i1, i1* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %arg1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1) %6 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %7 = call i64 @FUNC() %8 = call i64 @FUNC() %9 = ptrtoint i64* %sv_0 to i64 %10 = bitcast i64* %sv_1 to i8* %11 = bitcast i64* %sv_0 to i8* call void @FUNC(i8* nonnull %11, i8* nonnull %10, i64 160) %12 = select i1 %1, i64 -1280, i64 1280 %13 = add i64 %12, %9 %14 = call i64 @FUNC(i64 %13, i64 %13) br label LBL_3 LBL_2: %15 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %16 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0)) %17 = call i64 @FUNC() %18 = call i64 @FUNC() %19 = call i64 @FUNC() br label LBL_3 LBL_3: %20 = call i64 @FUNC() ret i64 %20 uselistorder i64 ()* @template_header, { 1, 0 } uselistorder i64 ()* @terminate_headers, { 1, 0 } uselistorder i64 (i8*, i8*)* @send_header, { 2, 1, 0 } }
1
BinRealVul
read_file_11378
read_file
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call %_IO_FILE* @fopen(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq %_IO_FILE* %1, null store i64 0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = call i32 @fseek(%_IO_FILE* nonnull %1, i32 0, i32 2) %4 = call i32 @ftell(%_IO_FILE* nonnull %1) %5 = call i32 @fseek(%_IO_FILE* nonnull %1, i32 0, i32 0) %6 = add i32 %4, 1 %7 = call i64* @malloc(i32 %6) %8 = ptrtoint i64* %7 to i64 %9 = icmp eq i64* %7, null br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = call i32 @fread(i64* nonnull %7, i32 %4, i32 1, %_IO_FILE* nonnull %1) %11 = icmp eq i32 %10, 1 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) br label LBL_4 LBL_4: %13 = sext i32 %4 to i64 %14 = add i64 %8, %13 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 br label LBL_6 LBL_5: %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %arg1) br label LBL_6 LBL_6: %17 = call i32 @fclose(%_IO_FILE* nonnull %1) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder %_IO_FILE* %1, { 1, 0, 4, 3, 2, 5 } uselistorder i64 (i64, i8*, i64)* @log_message, { 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
monitor_qapi_event_handler_1972
monitor_qapi_event_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = call i64 @FUNC(i64* nonnull @gv_0) %9 = load i64, i64* %4, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext, 30 %12 = add i64 %11, ptrtoint (i32** @gv_1 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* @gv_2, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = load i64, i64* %4, align 8 %18 = call i64 @FUNC(i64 %6, i64 %17) %19 = load i64, i64* %4, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %4, align 8 %21 = load i32, i32* %13, align 4 %22 = sext i32 %21 to i64 %23 = add i64 %16, %22 %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %23) br label LBL_3 LBL_2: %28 = load i64, i64* @gv_3, align 8 %29 = call i64 @FUNC(i64 %28, i64 %2) %30 = add i64 %2, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32) %34 = add i64 %2, 16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %36) %38 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_3: %39 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %39 uselistorder i64 %6, { 1, 0 } uselistorder i64* %4, { 1, 0, 2, 3, 4 } uselistorder i64 %2, { 1, 4, 3, 2, 0, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64)* @QDECREF, { 1, 0 } }
0
BinRealVul
cpu_x86_init_18622
cpu_x86_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 1) %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* store i64 %arg1, i64* %2, align 8 %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = load i32, i32* @gv_0, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* @gv_0, align 4 %9 = call i64 @FUNC() %10 = load i64, i64* @gv_1, align 8 %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* @gv_2, align 8 br label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %1, i64 %arg1) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %17 = call i64 @FUNC(i64 %1) 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 %1, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } }
1
BinRealVul
mailpop3_stls_6133
mailpop3_stls
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = bitcast i64* %sv_0 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, -1 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %10 = call i64 @FUNC(i64 %0, i64 %7) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 1 store i64 4294967294, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = trunc i64 %0 to i32 %14 = icmp eq i32 %13, 0 %. = select i1 %14, i64 0, i64 4294967293 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
exif_process_user_comment_7821
exif_process_user_comment
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %4 = trunc i64 %arg5 to i32 %sext = mul i64 %arg5, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 0, i64* %arg3, align 8 %6 = icmp slt i32 %4, 8 store i64 %2, i64* %sv_1.1.reg2mem store i64 %5, i64* %sv_0.1.reg2mem br i1 %6, label LBL_22, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i32 %9 = call i32 @memcmp(i64* %arg4, i64* bitcast ([8 x i8]* @gv_0 to i64*), i32 8) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_13, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %2) store i64 %12, i64* %arg3, align 8 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = call i32 @memcmp(i64* %14, i64* nonnull @gv_1, i32 2) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %2, 10 %sext4 = add i64 %sext, -42949672960 %19 = ashr exact i64 %sext4, 32 store i64 %18, i64* %sv_1.0.reg2mem store i64 %19, i64* %sv_0.0.reg2mem store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8** %sv_2.0.reg2mem br label LBL_9 LBL_4: %20 = call i32 @memcmp(i64* %14, i64* nonnull @gv_3, i32 2) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = add i64 %2, 10 %sext5 = add i64 %sext, -42949672960 %24 = ashr exact i64 %sext5, 32 store i64 %23, i64* %sv_1.0.reg2mem store i64 %24, i64* %sv_0.0.reg2mem store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i8** %sv_2.0.reg2mem br label LBL_9 LBL_6: %sext3 = add i64 %sext, -34359738368 %25 = ashr exact i64 %sext3, 32 %26 = icmp eq i32 %8, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = add i64 %7, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i8* store i64 %13, i64* %sv_1.0.reg2mem store i64 %25, i64* %sv_0.0.reg2mem store i8* %30, i8** %sv_2.0.reg2mem br label LBL_9 LBL_8: %31 = add i64 %7, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i8* store i64 %13, i64* %sv_1.0.reg2mem store i64 %25, i64* %sv_0.0.reg2mem store i8* %34, i8** %sv_2.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %35 = add i64 %7, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37) %39 = ptrtoint i8* %sv_2.0.reload to i64 %40 = call i64 @FUNC(i64 %39) %41 = icmp eq i64 %38, 0 %42 = icmp eq i64 %40, 0 %or.cond = or i1 %41, %42 %.pre17 = trunc i64 %sv_0.0.reload to i32 br i1 %or.cond, label LBL_12, label LBL_10 LBL_10: %43 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %sv_1.0.reload, i32 %.pre17, i64 %38, i64 %40) %44 = icmp eq i64 %43, -1 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10.dec_label_pc_401379_crit_edge, label LBL_12 LBL_11: %.pre = load i64, i64* %sv_3, align 8 store i64 %.pre, i64* %rax.0.reg2mem br label LBL_27 LBL_12: %46 = call i64 @FUNC(i64 %3, i64 %sv_1.0.reload, i32 %.pre17) store i64 %46, i64* %sv_3, align 8 store i64 %46, i64* %rax.0.reg2mem br label LBL_27 LBL_13: %47 = call i32 @memcmp(i64* %arg4, i64* bitcast ([6 x i8]* @gv_5 to i64*), i32 8) %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_15, label LBL_14 LBL_14: %50 = call i64 @FUNC(i64 %2) store i64 %50, i64* %arg3, align 8 %51 = add i64 %2, 8 %sext6 = add i64 %sext, -34359738368 %52 = ashr exact i64 %sext6, 32 store i64 %51, i64* %sv_1.1.reg2mem store i64 %52, i64* %sv_0.1.reg2mem br label LBL_22 LBL_15: %53 = call i32 @memcmp(i64* %arg4, i64* bitcast ([4 x i8]* @gv_6 to i64*), i32 8) %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_20, label LBL_16 LBL_16: %56 = call i64 @FUNC(i64 %2) store i64 %56, i64* %arg3, align 8 %57 = add i64 %2, 8 %sext7 = add i64 %sext, -34359738368 %58 = udiv i64 %sext7, 4294967296 %59 = add i64 %7, 48 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %61) %63 = icmp eq i32 %8, 0 %storemerge8.in.in.v = select i1 %63, i64 40, i64 32 %storemerge8.in.in = add i64 %storemerge8.in.in.v, %7 %storemerge8.in = inttoptr i64 %storemerge8.in.in to i64* %storemerge8 = load i64, i64* %storemerge8.in, align 8 %64 = call i64 @FUNC(i64 %storemerge8) %65 = icmp eq i64 %62, 0 %66 = icmp eq i64 %64, 0 %or.cond12 = or i1 %65, %66 %.pre16 = trunc i64 %58 to i32 br i1 %or.cond12, label LBL_19, label LBL_17 LBL_17: %67 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %57, i32 %.pre16, i64 %62, i64 %64) %68 = icmp eq i64 %67, -1 %69 = icmp eq i1 %68, false br i1 %69, label LBL_17.dec_label_pc_401486_crit_edge, label LBL_19 LBL_18: %.pre15 = load i64, i64* %sv_3, align 8 store i64 %.pre15, i64* %rax.0.reg2mem br label LBL_27 LBL_19: %70 = call i64 @FUNC(i64 %3, i64 %57, i32 %.pre16) store i64 %70, i64* %sv_3, align 8 store i64 %70, i64* %rax.0.reg2mem br label LBL_27 LBL_20: %71 = call i32 @memcmp(i64* %arg4, i64* nonnull @gv_7, i32 8) %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false store i64 %2, i64* %sv_1.1.reg2mem store i64 %5, i64* %sv_0.1.reg2mem br i1 %73, label LBL_22, label LBL_21 LBL_21: %74 = call i64 @FUNC(i64 ptrtoint ([10 x i8]* @gv_8 to i64)) store i64 %74, i64* %arg3, align 8 %75 = add i64 %2, 8 %sext9 = add i64 %sext, -34359738368 %76 = ashr exact i64 %sext9, 32 store i64 %75, i64* %sv_1.1.reg2mem store i64 %76, i64* %sv_0.1.reg2mem br label LBL_22 LBL_22: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %77 = trunc i64 %sv_0.1.reload to i32 %78 = icmp slt i32 %77, 1 br i1 %78, label LBL_26, label LBL_23 LBL_23: %storemerge13 = add i32 %77, -1 %79 = icmp eq i32 %storemerge13, 0 store i32 %storemerge13, i32* %storemerge14.reg2mem br i1 %79, label LBL_26, label LBL_25 LBL_24: store i8 0, i8* %83, align 1 %storemerge = add i32 %storemerge14.reload, -1 %80 = icmp eq i32 %storemerge, 0 store i32 %storemerge, i32* %storemerge14.reg2mem br i1 %80, label LBL_26, label LBL_25 LBL_25: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %81 = sext i32 %storemerge14.reload to i64 %82 = add i64 %sv_1.1.reload, %81 %83 = inttoptr i64 %82 to i8* %84 = load i8, i8* %83, align 1 %85 = icmp eq i8 %84, 32 br i1 %85, label LBL_24, label LBL_26 LBL_26: %86 = call i64 @FUNC(i64 %3, i64 %sv_1.1.reload, i32 %77) %87 = inttoptr i64 %sv_1.1.reload to i8* %88 = call i32 @strlen(i8* %87) %89 = sext i32 %88 to i64 store i64 %89, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %83, { 1, 0 } uselistorder i32 %77, { 1, 0, 2 } uselistorder i64 %62, { 1, 0 } uselistorder i64 %57, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %7, { 0, 4, 1, 2, 3 } uselistorder i64 %sext, { 6, 5, 4, 1, 3, 2, 0 } uselistorder i64* %sv_3, { 4, 0, 2, 5, 1, 3 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i64 %2, { 7, 0, 6, 8, 5, 9, 2, 3, 4, 10, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i8** %sv_2.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32* %storemerge14.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64, i64, i32)* @exif_process_string_raw, { 1, 0 } uselistorder i64 -1, { 1, 2, 0 } uselistorder i64 (i64, i64*, i64, i32, i64, i64)* @zend_multibyte_encoding_converter, { 1, 0 } uselistorder i64 (i64)* @zend_multibyte_fetch_encoding, { 3, 2, 1, 0 } uselistorder i64 (i64)* @estrdup, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 5, 4, 3, 2, 1, 0 } uselistorder i32 8, { 1, 2, 3, 4, 0 } uselistorder i64 32, { 1, 0, 2, 5, 3, 4, 6 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_27, { 4, 0, 1, 2, 3 } uselistorder label LBL_26, { 1, 0, 2, 3 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
sctp_generate_t3_rtx_event_6567
sctp_generate_t3_rtx_event
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5) %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %12 = load i32, i32* @gv_2, align 4 %13 = add i32 %12, 5 %14 = add i64 %5, 12 %15 = zext i32 %13 to i64 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_2 LBL_2: %20 = call i64 @FUNC(i64 %5) br label LBL_6 LBL_3: %21 = add i64 %5, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_4 LBL_4: %26 = add i64 %5, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = zext i32 %23 to i64 %30 = call i64 @FUNC(i64 %6, i64 0, i64 1, i64 %29, i64 %28, i64 %5) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = sub i32 0, %31 %34 = bitcast i64* %arg1 to i32* store i32 %33, i32* %34, align 4 br label LBL_6 LBL_6: %35 = call i64 @FUNC(i64 %5) %36 = call i64 @FUNC(i64 %5) ret i64 %36 uselistorder i64 %5, { 4, 5, 3, 2, 6, 0, 1, 7, 8, 9 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_6, { 4, 0, 1, 3, 2 } }
0
BinRealVul
LookupModMask_11289
LookupModMask
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %arg4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = zext i32 %arg3 to i64 %7 = call i64 @FUNC(i64 %5, i64 %6) %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = bitcast i64* %arg5 to i32* store i32 -1, i32* %11, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %12 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = bitcast i64* %arg5 to i32* store i32 0, i32* %15, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %16 = call i64 @FUNC(i64 %0, i64 %6, i32 %3) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, -1 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_7 LBL_6: %20 = urem i32 %17, 32 %21 = shl i32 1, %20 %22 = bitcast i64* %arg5 to i32* store i32 %21, i32* %22, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder i64 (i64, i8*)* @istreq, { 1, 0 } uselistorder label LBL_7, { 2, 0, 3, 4, 1 } }
1
BinRealVul
transport_accept_nla_13795
transport_accept_nla
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.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: %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %arg1, align 8 store i64 %5, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: store i64 %rdi.0.reload, i64* %8, align 8 br label LBL_4 LBL_4: %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 %14 = add i64 %0, 40 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = inttoptr i64 %rdi.0.reload to i32* store i32 %18, i32* %19, align 4 %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %22, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %22, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %rdi.0.reload, i64 %28, i64 %25) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 1 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_5, label LBL_10 LBL_5: %32 = load i64, i64* %21, align 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 1 store i64 1, i64* %rax.0.reg2mem br i1 %35, label LBL_6, label LBL_10 LBL_6: %36 = add i64 %0, 32 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %.reg2mem br i1 %40, label LBL_8, label LBL_7 LBL_7: %41 = inttoptr i64 %32 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42, i64 %0, i64 %32) store i64 %43, i64* %37, align 8 store i64 %43, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %44 = call i64 @FUNC(i64 %.reload) %45 = trunc i64 %44 to i32 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_10, label LBL_9 LBL_9: %48 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %49 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_1 to i64*), i32 1, i32 30, %_IO_FILE* %48) %50 = load i64, i64* %37, align 8 %51 = call i64 @FUNC(i64 %50) store i64 0, i64* %37, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %37, { 1, 0, 2, 3 } uselistorder i64 %rdi.0.reload, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 3, 4, 5, 6, 7, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_10, { 3, 0, 1, 2 } }
0
BinRealVul
libopenjpeg_encode_close_16186
libopenjpeg_encode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) store i64 0, i64* %3, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 0, i64* %7, align 8 %10 = call i64 @FUNC(i64 %2) ret i64 0 }
1
BinRealVul
chk_calloc_8588
chk_calloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = zext i64 %arg1 to i128 %2 = zext i64 %arg2 to i128 %3 = mul nuw i128 %2, %1 %4 = icmp ugt i128 %3, 18446744073709551615 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %6 = mul i64 %arg2, %arg1 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i64 %7, 0 store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = trunc i64 %6 to i32 %10 = inttoptr i64 %7 to i64* %11 = call i64* @memset(i64* %10, i32 0, i32 %9) store i64 %7, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
Jsi_ValueInsertArray_12359
Jsi_ValueInsertArray
define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 1 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_8, label LBL_2 LBL_2: %7 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %8 = ptrtoint i64* %arg4 to i64 %sext = mul i64 %arg3, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = ptrtoint i32* %arg2 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_7, label LBL_4 LBL_4: %17 = trunc i64 %9 to i32 %18 = icmp slt i32 %17, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_8, label LBL_5 LBL_5: %19 = ptrtoint i32* %arg1 to i64 %20 = add i64 %19, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = icmp slt i64 %9, %23 store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_6, label LBL_8 LBL_6: %25 = call i64 @FUNC(i64 %19, i64 %13, i64 %8, i32 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %26 = and i64 %arg5, 4294967295 %27 = and i64 %9, 4294967295 %28 = call i64 @FUNC(i64 %27, i64* nonnull %sv_0, i64 32) %29 = ptrtoint i32* %arg1 to i64 %30 = call i64 @FUNC(i64 %29, i64 %13, i64* nonnull %sv_0, i64 %8, i64 %26) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0, 2 } uselistorder i64 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_8, { 4, 5, 1, 0, 3, 2 } }
1
BinRealVul
write_rle_data_13053
write_rle_data
define i64 @FUNC(i64* %arg1, i8* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 %2, i32* %rax.0.in.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = bitcast i64* %rdx to i32* %9 = ptrtoint i8* %arg2 to i64 %10 = add i64 %5, 16 %11 = inttoptr i64 %10 to i32* %12 = add i64 %5, 20 %13 = inttoptr i64 %12 to i32* br label LBL_2 LBL_2: %14 = load i64, i64* %7, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %5, i64 %9, i32 %16) %18 = load i64, i64* %7, align 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = sext i32 %20 to i64 %22 = add i64 %21, %5 store i64 %22, i64* %arg1, align 8 %23 = load i32, i32* %11, align 4 %24 = load i64, i64* %7, align 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %26, %23 store i32 %27, i32* %11, align 4 %28 = load i32, i32* %13, align 4 %29 = icmp eq i32 %27, %28 store i32 %27, i32* %rax.0.in.reg2mem br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = load i32, i32* %8, align 8 %31 = add i32 %30, -1 store i32 %31, i32* %arg3, align 4 %32 = icmp eq i32 %30, 0 %33 = icmp eq i1 %32, false store i32 %30, i32* %rax.0.in.reg2mem br i1 %33, label LBL_2, label LBL_4 LBL_4: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i64 %5, { 0, 3, 1, 2, 4 } uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
av_write_frame_14114
av_write_frame
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 29 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = ptrtoint i32* %arg2 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = load i64, i64* %4, align 8 %13 = add i64 %12, %6 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 %10) %17 = trunc i64 %2 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %2, i64* %.pre-phi.reg2mem br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = add i64 %2, 16 %21 = call i64 @FUNC(i64 %20) %22 = and i64 %21, 4294967295 store i64 %22, i64* %.pre-phi.reg2mem br label LBL_2 LBL_2: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = and i64 %.pre-phi.reload, 4294967295 ret i64 %23 uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } }
1
BinRealVul
mov_auto_flush_fragment_8869
mov_auto_flush_fragment
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %arg2, 4294967295 %4 = trunc i64 %1 to i32 %5 = call i64 @FUNC(i64 %2, i64 %3) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i32 %4, 0 %9 = icmp eq i1 %8, false %or.cond = or i1 %9, %7 store i64 %5, i64* %storemerge.in.reg2mem br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 store i64 %5, i64* %storemerge.in.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %2, i64 %3) store i64 %15, i64* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %3, { 1, 0 } uselistorder i64 (i64, i64)* @mov_flush_fragment, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
fuse_dev_write_6191
fuse_dev_write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) store i64 %1, i64* %sv_0, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 -1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 -22, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 %4) %10 = call i64 @FUNC(i64 %4) %11 = load i64, i64* %sv_0, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0, i64 %10) store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
exfat_set_label_18264
exfat_set_label
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %0 = call i64* @memset(i64* nonnull %sv_7, i32 0, i32 512) %1 = inttoptr i64 %arg2 to i8* %2 = call i32 @strlen(i8* %1) %3 = sext i32 %2 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_7, i64 %arg2, i64 255, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = bitcast i32* %sv_5 to i64* %10 = call i64 @FUNC(i64 %8, i64* nonnull %9, i64* nonnull %sv_6) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, -2 %13 = icmp eq i1 %12, false store i32 %11, i32* %sv_0.0.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %8, i32 %16, i64* nonnull %9, i64* nonnull %sv_6, i64 1) %18 = trunc i64 %17 to i32 store i32 %18, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = icmp eq i32 %sv_0.0.reload, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = zext i32 %sv_0.0.reload to i64 store i64 %20, i64* %rax.0.reg2mem br label LBL_9 LBL_6: store i32 15, i32* %sv_4, align 4 %21 = call i64 @FUNC(i64* nonnull %sv_7) %22 = ptrtoint i64* %sv_1 to i64 %23 = udiv i64 %22, 8 %24 = urem i64 %23, 536870912 %25 = bitcast i64* %sv_2 to i8* %26 = bitcast i64* %sv_3 to i8* call void @FUNC(i8* nonnull %26, i8* nonnull %25, i64 %24) %27 = trunc i64 %21 to i8 %28 = icmp eq i8 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: store i32 14, i32* %sv_4, align 4 br label LBL_8 LBL_8: %30 = load i64, i64* %sv_6, align 8 %31 = load i32, i32* %sv_5, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %8, i64 %32, i64 %30) %34 = bitcast i32* %sv_4 to i8* %35 = call i64 @FUNC(i64 %8, i8* nonnull %34, i64 512, i64 %33) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_6, { 2, 0, 1 } uselistorder i32* %sv_4, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 2, 0 } }
1
BinRealVul
assign_cfs_rq_runtime_11238
assign_cfs_rq_runtime
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = sub i64 %2, %5 %7 = add i64 %1, 36 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, -1 %13 = icmp eq i1 %12, false store i64 %6, i64* %sv_0.0.reg2mem br i1 %13, label LBL_1, label LBL_3 LBL_1: %14 = call i64 @FUNC(i64 %1) %15 = inttoptr i64 %1 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp slt i64 %16, 1 store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %16, i64 %6) %19 = load i64, i64* %15, align 8 %20 = sub i64 %19, %18 store i64 %20, i64* %15, align 8 %21 = add i64 %1, 32 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 store i64 %18, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = add i64 %1, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %1, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %7) %30 = load i64, i64* %4, align 8 %31 = add i64 %30, %sv_0.0.reload store i64 %31, i64* %4, align 8 %32 = add i64 %0, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %25, %34 store i64 %31, i64* %.reg2mem br i1 %35, label LBL_5, label LBL_4 LBL_4: store i32 %25, i32* %33, align 4 %36 = add i64 %0, 24 %37 = inttoptr i64 %36 to i64* store i64 %28, i64* %37, align 8 %.pre = load i64, i64* %4, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %38 = icmp eq i64 %.reload, 0 %39 = icmp eq i1 %38, false %40 = zext i1 %39 to i64 ret i64 %40 uselistorder i64 %6, { 1, 0 } uselistorder i64* %4, { 0, 2, 1, 3 } uselistorder i64 %1, { 2, 1, 0, 4, 3, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
checksoftirq2_8640
checksoftirq2
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_10 LBL_1: %8 = call i32 @sched_getscheduler(i32 %5) %9 = and i64 %4, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = call i32 @sched_get_priority_max(i32 1) %12 = sext i32 %11 to i64 %sext4 = mul i64 %10, 4294967296 %13 = ashr exact i64 %sext4, 32 %14 = icmp sge i64 %13, %12 %15 = icmp eq i32 %8, 0 %16 = icmp eq i1 %15, false %or.cond = icmp eq i1 %16, %14 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_10, label LBL_2 LBL_2: %17 = trunc i64 %arg1 to i32 %18 = icmp eq i32 %17, 0 %19 = call i32 @sched_get_priority_max(i32 1) br i1 %18, label LBL_4, label LBL_3 LBL_3: %20 = zext i32 %19 to i64 %21 = load i64, i64* @gv_0, align 8 %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %20, i64 %2, i64 %1) %23 = call i32 @sched_get_priority_max(i32 1) %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %9, i64 1, i64 %24, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %26 = call i64 @FUNC(i64 0, i64 %3) store i64 %26, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %27 = trunc i64 %10 to i32 %28 = icmp sgt i32 %19, %27 store i64 %3, i64* %rdx.0.reg2mem br i1 %28, label LBL_5, label LBL_6 LBL_5: %29 = call i32 @sched_get_priority_max(i32 1) %30 = load i64, i64* @gv_3, align 8 %31 = and i64 %10, 4294967295 %32 = ptrtoint i64* %sv_0 to i64 %33 = zext i32 %29 to i64 %34 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([234 x i8], [234 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0, i64 %31, i64 %33, i64 %1) store i64 %31, i64* %rcx.0.reg2mem store i64 %32, i64* %rdx.0.reg2mem store i64 %33, i64* %r8.0.reg2mem br label LBL_6 LBL_6: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %16, label LBL_8, label LBL_7 LBL_7: %35 = load i64, i64* @gv_3, align 8 %36 = ptrtoint i64* %sv_0 to i64 %37 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([183 x i8], [183 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_0, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) store i64 %36, i64* %rdx.1.reg2mem br label LBL_8 LBL_8: %38 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %39 = icmp eq i32 %38, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_10, label LBL_9 LBL_9: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %40 = load i64, i64* @gv_0, align 8 %41 = inttoptr i64 %rdx.1.reload to i64* %42 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([109 x i8], [109 x i8]* @gv_6, i64 0, i64 0), i64* %41, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) %43 = load i64, i64* @gv_0, align 8 %44 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([126 x i8], [126 x i8]* @gv_7, i64 0, i64 0), i64* %41, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rcx.0.reload, { 1, 0, 2 } uselistorder i64 %r8.0.reload, { 1, 0, 2 } uselistorder i1 %16, { 1, 0 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64* %sv_0, { 0, 5, 1, 6, 2, 3, 4 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 5, 1, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @print_error, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 (i32)* @sched_get_priority_max, { 3, 1, 2, 0 } uselistorder label LBL_10, { 2, 1, 4, 0, 3 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
netlink_bind_17744
netlink_bind
define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %1 to i16 %6 = icmp eq i16 %5, 16 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_1, label LBL_18 LBL_1: %7 = ptrtoint i16* %arg2 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %2, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %15, label LBL_3, label LBL_18 LBL_3: %16 = call i64 @FUNC(i64 %2) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 %16, i64* %rax.0.shrunk.reg2mem br i1 %18, label LBL_4, label LBL_18 LBL_4: %19 = inttoptr i64 %4 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = add i64 %7, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 br i1 %21, label LBL_6, label LBL_5 LBL_5: %25 = icmp eq i32 %24, %20 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %25, label LBL_10, label LBL_18 LBL_6: %26 = icmp eq i32 %24, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %2, i64 %3, i32 %24) store i64 %27, i64* %storemerge4.reg2mem br label LBL_9 LBL_8: %28 = call i64 @FUNC(i64 %2) store i64 %28, i64* %storemerge4.reg2mem br label LBL_9 LBL_9: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %29 = trunc i64 %storemerge4.reload to i32 %30 = icmp eq i32 %29, 0 store i64 %storemerge4.reload, i64* %rax.0.shrunk.reg2mem br i1 %30, label LBL_10, label LBL_18 LBL_10: %31 = load i32, i32* %9, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false %.pre6 = add i64 %4, 8 %.pre7 = inttoptr i64 %.pre6 to i64* br i1 %33, label LBL_13, label LBL_11 LBL_11: %34 = load i64, i64* %.pre7, align 8 %35 = icmp eq i64 %34, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %35, label LBL_18, label LBL_12 LBL_12: %36 = inttoptr i64 %34 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %39, label LBL_13, label LBL_18 LBL_13: %40 = call i64 @FUNC() %41 = add i64 %4, 32 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = load i32, i32* %9, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %sext = mul i64 %46, 4294967296 %47 = ashr exact i64 %sext, 32 %48 = load i64, i64* %.pre7, align 8 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = zext i32 %50 to i64 %52 = call i64 @FUNC(i64 %51) %sext3 = mul i64 %52, 4294967296 %53 = ashr exact i64 %sext3, 32 %54 = add i64 %47, %43 %55 = sub i64 %54, %53 %56 = call i64 @FUNC(i64 %2, i64 %55) %57 = load i64, i64* %.pre7, align 8 %58 = load i32, i32* %9, align 4 %59 = inttoptr i64 %57 to i32* store i32 %58, i32* %59, align 4 %60 = call i64 @FUNC(i64 %2) %61 = call i64 @FUNC() %62 = add i64 %4, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = icmp eq i64 %64, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %65, label LBL_18, label LBL_14 LBL_14: %66 = load i64, i64* %.pre7, align 8 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp eq i32 %68, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %69, label LBL_18, label LBL_15 LBL_15: %70 = add i64 %4, 16 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %73, label LBL_18, label LBL_16 LBL_16: %74 = call i64 @FUNC(i64 0, i64 %66) %75 = load i32, i32* %71, align 4 %76 = icmp ugt i32 %75, 1 store i32 1, i32* %.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %76, label LBL_17, label LBL_18 LBL_17: %.reload = load i32, i32* %.reg2mem %.pre = load i64, i64* %.pre7, align 8 %77 = zext i32 %.reload to i64 %78 = call i64 @FUNC(i64 %77, i64 %.pre) %79 = add i32 %.reload, 1 %80 = load i32, i32* %71, align 4 %81 = zext i32 %80 to i64 %82 = sext i32 %79 to i64 %83 = icmp slt i64 %82, %81 store i32 %79, i32* %.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %83, label LBL_17, label LBL_18 LBL_18: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %.reload, { 1, 0 } uselistorder i32* %71, { 2, 0, 1 } uselistorder i32 %24, { 0, 2, 1 } uselistorder i64 %4, { 1, 2, 3, 0, 4 } uselistorder i64 %2, { 3, 4, 5, 2, 0, 1, 6, 7 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 5, 4, 7, 6, 8, 9, 10, 11, 12 } uselistorder i64 (i64, i64)* @test_bit, { 1, 0 } uselistorder i64 (i64)* @hweight32, { 1, 0 } uselistorder i64 32, { 1, 2, 4, 0, 3 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_18, { 1, 0, 2, 4, 3, 6, 5, 7, 8, 9, 10, 11 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
open_url_1856
open_url
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 %arg4, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 %arg3) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_10 LBL_1: %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_10 LBL_3: %11 = inttoptr i64 %0 to i8* %12 = call i32 @strlen(i8* %11) %13 = inttoptr i64 %arg3 to i8* %14 = call i32 @strncmp(i8* %11, i8* %13, i32 %12) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i32 @strlen(i8* %11) %18 = sext i32 %17 to i64 %19 = add i64 %18, %arg3 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 58 store i64 %0, i64* %rdi.0.reg2mem br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_6 LBL_6: %26 = call i32 @strncmp(i8* %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 5) %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 %arg3, i64* %rdi.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_10 LBL_7: %29 = ptrtoint i64* %arg2 to i64 %30 = ptrtoint i64* %arg1 to i64 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %31 = call i64 @FUNC(i64* nonnull %sv_0, i64 %rdi.0.reload, i64 0) %32 = load i64, i64* %sv_1, align 8 %33 = call i64 @FUNC(i64* nonnull %sv_0, i64 %32, i64 0) %34 = add i64 %30, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %29, i64 %arg3, i64 1, i64 %36, i64* nonnull %sv_0) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = add i64 %30, 16 %41 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %arg3) %42 = inttoptr i64 %40 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %43, i64 0) br label LBL_9 LBL_9: %45 = call i64 @FUNC(i64* nonnull %sv_0) %46 = and i64 %37, 4294967295 store i64 %46, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %11, { 1, 0, 3, 2 } uselistorder i64 %0, { 0, 3, 1, 2, 4 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 (i64*, i64, i64)* @av_dict_copy, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 0, 2, 1 } uselistorder i64 (i64, i8*, i64)* @av_strstart, { 1, 0 } uselistorder i64 %arg3, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_10, { 4, 1, 0, 2, 3 } }
0
BinRealVul
uncurl_new_tls_ctx_8119
uncurl_new_tls_ctx
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64* @calloc(i32 1, i32 8) %1 = ptrtoint i64* %0 to i64 store i64 %1, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 1) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %storemerge = and i64 %2, 4294967295 ret i64 %storemerge uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
am_read_post_data_6187
am_read_post_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %rsi.06.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge1.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %storemerge1.reg2mem br label LBL_4 LBL_4: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %12 = icmp eq i64* %arg3, null br i1 %12, label LBL_6, label LBL_5 LBL_5: store i64 %storemerge1.reload, i64* %arg3, align 8 br label LBL_6 LBL_6: %13 = add i64 %storemerge1.reload, 1 %14 = call i64 @FUNC(i64 %0, i64 %13) store i64 %14, i64* %arg2, align 8 %15 = add i64 %13, %storemerge1.reload %16 = inttoptr i64 %15 to i8* store i8 0, i8* %16, align 1 %17 = icmp eq i64 %storemerge1.reload, 0 %18 = icmp eq i1 %17, false store i64 %storemerge1.reload, i64* %storemerge7.reg2mem store i64 %13, i64* %rsi.06.reg2mem store i64 0, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_7, label LBL_13 LBL_7: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %rsi.06.reload = load i64, i64* %rsi.06.reg2mem %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %19 = add i64 %sv_0.05.reload, %rsi.06.reload %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %storemerge7.reload) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_10, label LBL_8 LBL_8: %23 = add i64 %19, %sv_0.05.reload %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_13, label LBL_9 LBL_9: store i64 %sv_0.05.reload, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %25 = icmp slt i64 %20, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_12, label LBL_11 LBL_11: %27 = call i64 @FUNC(i64 0, i64 1, i64 0, i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) store i64 500, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %28 = add i64 %20, %sv_0.05.reload %29 = sub i64 %storemerge7.reload, %20 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %storemerge7.reg2mem store i64 %19, i64* %rsi.06.reg2mem store i64 %28, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_7, label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0, 2, 3 } uselistorder i64 %sv_0.05.reload, { 1, 2, 3, 0 } uselistorder i64 %storemerge1.reload, { 0, 3, 4, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 3, 4, 2, 5 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 1, { 1, 3, 2, 0 } uselistorder label LBL_13, { 0, 4, 2, 3, 1, 5 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
fsck_gitmodules_fn_13677
fsck_gitmodules_fn
define i64 @FUNC(i8* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i8*, align 8 %3 = bitcast i32* %sv_1 to i64* %4 = bitcast i8** %sv_2 to i64* %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %3, i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 br i1 %7, label LBL_11, label LBL_1 LBL_1: %8 = load i64, i64* %sv_0, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_11 LBL_2: %11 = ptrtoint i64* %arg3 to i64 %12 = load i32, i32* %sv_1, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %8, i64 %13) %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %11, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %11, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %21, i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %14) %26 = or i64 %25, %1 %27 = trunc i64 %26 to i32 %28 = bitcast i64* %arg3 to i32* store i32 %27, i32* %28, align 4 br label LBL_4 LBL_4: %29 = load i8*, i8** %sv_2, align 8 %30 = call i32 @strcmp(i8* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false %33 = icmp eq i8* %arg2, null %or.cond = or i1 %33, %32 br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %34 = ptrtoint i8* %arg2 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = add i64 %11, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %11, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43, i64 %40, i64 2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %34) %45 = or i64 %44, %1 %46 = trunc i64 %45 to i32 %47 = bitcast i64* %arg3 to i32* store i32 %46, i32* %47, align 4 br label LBL_7 LBL_7: %48 = load i8*, i8** %sv_2, align 8 %49 = call i32 @strcmp(i8* %48, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false %or.cond6 = or i1 %33, %51 br i1 %or.cond6, label LBL_10, label LBL_8 LBL_8: %52 = ptrtoint i8* %arg2 to i64 %53 = call i64 @FUNC(i64 %52) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_10, label LBL_9 LBL_9: %56 = add i64 %11, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = add i64 %11, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %61, i64 %58, i64 3, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %52) %63 = or i64 %62, %1 %64 = trunc i64 %63 to i32 %65 = bitcast i64* %arg3 to i32* store i32 %64, i32* %65, align 4 br label LBL_10 LBL_10: %66 = inttoptr i64 %14 to i64* call void @free(i64* %66) br label LBL_11 LBL_11: ret i64 0 uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %11, { 5, 4, 3, 2, 1, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 (i64)* @looks_like_command_line_option, { 1, 0 } uselistorder i64 (i64, i64, i64, i8*, i64)* @report, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i8* %arg2, { 0, 2, 1 } uselistorder label LBL_11, { 2, 1, 0 } }
0
BinRealVul
fxNewHostInstance_6989
fxNewHostInstance
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %2, 24 %7 = inttoptr i64 %6 to i64* store i64 %1, i64* %7, align 8 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* store i64 %2, i64* %9, align 8 %10 = bitcast i64* %arg1 to i32* store i32 2, i32* %10, align 4 %11 = icmp eq i64 %1, 0 br i1 %11, label LBL_7, label LBL_1 LBL_1: %12 = add i64 %1, 56 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_7, label LBL_2 LBL_2: %16 = inttoptr i64 %14 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 3 %19 = icmp eq i1 %18, false br i1 %19, label LBL_7, label LBL_3 LBL_3: %20 = add i64 %14, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 4198780 br i1 %23, label LBL_7, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %0) %25 = add i64 %2, 56 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = add i64 %24, 64 %28 = inttoptr i64 %27 to i32* store i32 4, i32* %28, align 4 %29 = inttoptr i64 %24 to i32* store i32 3, i32* %29, align 4 %30 = add i64 %24, 32 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %31, align 8 %32 = add i64 %14, 64 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = and i32 %34, 8 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = load i32, i32* %28, align 4 %38 = or i32 %37, 8 store i32 %38, i32* %28, align 4 %39 = add i64 %14, 48 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %24, 48 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 br label LBL_7 LBL_6: %44 = load i64, i64* %21, align 8 %45 = add i64 %24, 40 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 br label LBL_7 LBL_7: ret i64 %2 uselistorder i32* %28, { 1, 0, 2 } uselistorder i64 %24, { 3, 4, 2, 1, 0, 5 } uselistorder i64 %2, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %0, { 0, 1, 2, 4, 3 } uselistorder i32 3, { 1, 0 } }
0
BinRealVul
rhashtable_rehash_5380
rhashtable_rehash
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) %2 = inttoptr i64 %1 to i32* %3 = add i64 %arg2, 8 %4 = call i64 @FUNC(i64 %3, i64 8) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %arg2) %9 = call i64 @FUNC() %10 = load i32, i32* %2, align 4 %11 = icmp eq i32 %10, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %7, i64* %rdi.0.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %13 = load i32, i32* %2, align 4 %14 = zext i32 %13 to i64 %15 = icmp ult i64 %indvars.iv.next, %14 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_2 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %16 = call i64 @FUNC(i64 %rdi.0.lcssa.reload, i64 %arg2) %17 = call i64 @FUNC() %18 = call i64 @FUNC(i64 %1) ret i64 %18 uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 4, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @rcu_assign_pointer, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
local_mknod_2142
local_mknod
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 %arg2) %8 = inttoptr i64 %7 to i8* %9 = call i32 @mknod(i8* %8, i32 33188, i32 0) %10 = icmp eq i32 %9, -1 %11 = icmp eq i1 %10, false store i32 %9, i32* %rax.0.in.reg2mem br i1 %11, label LBL_2, label LBL_7 LBL_2: %12 = call i64 @FUNC(i64 %6, i64 %arg2) %13 = ptrtoint i32* %arg3 to i64 %14 = call i64 @FUNC(i64 %12, i64 %13) store i32 %9, i32* %rax.0.in.reg2mem br label LBL_7 LBL_3: %15 = icmp ne i32 %3, 2 %16 = icmp eq i32 %3, 3 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 store i32 -1, i32* %rax.0.in.reg2mem br i1 %or.cond, label LBL_7, label LBL_4 LBL_4: %18 = trunc i64 %2 to i32 %19 = ptrtoint i32* %arg3 to i64 %20 = add i64 %19, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = ptrtoint i32* %arg1 to i64 %24 = call i64 @FUNC(i64 %23, i64 %arg2) %25 = inttoptr i64 %24 to i8* %26 = call i32 @mknod(i8* %25, i32 %18, i32 %22) %27 = icmp eq i32 %26, -1 %28 = icmp eq i1 %27, false store i32 %26, i32* %rax.0.in.reg2mem br i1 %28, label LBL_5, label LBL_7 LBL_5: %29 = call i64 @FUNC(i64 %23, i64 %arg2, i64 %19) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, -1 %32 = icmp eq i1 %31, false store i32 %30, i32* %rax.0.in.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i32* @__errno_location() %storemerge = load i32, i32* %33, align 4 %34 = call i64 @FUNC(i64 %23, i64 %arg2) %35 = inttoptr i64 %34 to i8* %36 = call i32 @remove(i8* %35) %37 = call i32* @__errno_location() store i32 %storemerge, i32* %37, align 4 store i32 %30, i32* %rax.0.in.reg2mem br label LBL_7 LBL_7: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %30, { 1, 0, 2 } uselistorder i32 %3, { 2, 1, 0 } uselistorder i32* %rax.0.in.reg2mem, { 0, 6, 3, 4, 1, 2, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i32 (i8*, i32, i32)* @mknod, { 1, 0 } uselistorder i64 (i64, i64)* @rpath, { 3, 2, 1, 0 } uselistorder i32* %arg3, { 1, 0 } uselistorder i64 %arg2, { 2, 3, 4, 0, 1 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_7, { 5, 1, 3, 2, 0, 4 } }
0
BinRealVul
qemu_macaddr_default_if_unset_3302
qemu_macaddr_default_if_unset
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = bitcast i32* %arg1 to i64* %1 = call i32 @memcmp(i64* %0, i64* nonnull @gv_0, i32 6) %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = call i32 @memcmp(i64* %0, i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 5) %4 = sext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = bitcast i32* %arg1 to i8* store i8 82, i8* %9, align 1 %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 1 %12 = inttoptr i64 %11 to i8* store i8 84, i8* %12, align 1 %13 = add i64 %10, 2 %14 = inttoptr i64 %13 to i8* store i8 0, i8* %14, align 1 %15 = add i64 %10, 3 %16 = inttoptr i64 %15 to i8* store i8 18, i8* %16, align 1 %17 = add i64 %10, 4 %18 = inttoptr i64 %17 to i8* store i8 52, i8* %18, align 1 %19 = call i64 @FUNC() %20 = trunc i64 %19 to i8 %21 = add i64 %10, 5 %22 = inttoptr i64 %21 to i8* store i8 %20, i8* %22, align 1 %23 = call i64 @FUNC(i64 %10) store i64 %23, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @qemu_macaddr_set_used, { 1, 0 } uselistorder i32* %arg1, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
usb_msd_init_432
usb_msd_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 ptrtoint (i64* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = zext i32 %2 to i64 %4 = bitcast i64* %sv_3 to i8* %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %4, i32 8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %3) %6 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_3, i64 0, i64 0) %8 = inttoptr i64 %arg2 to i8* %9 = call i8* @strchr(i8* %8, i32 58) %10 = icmp eq i8* %9, null store i64 %arg2, i64* %sv_0.0.reg2mem br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = ptrtoint i8* %9 to i64 %12 = add i64 %11, 1 %13 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = load i64, i64* %sv_2, align 8 %17 = sub i64 %12, %16 %18 = icmp ult i64 %17, 32 %19 = select i1 %18, i64 %17, i64 32 %20 = call i64 @FUNC(i64* nonnull %sv_1, i64 %19, i64 %16) %21 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %22 = trunc i64 %1 to i8 %23 = icmp eq i8 %22, 58 store i64 %12, i64* %sv_0.0.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_6, i64 0, i64 0), i8* %8) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = inttoptr i64 %sv_0.0.reload to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %30 = inttoptr i64 %sv_0.0.reload to i64* %31 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64* %30) %32 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64* bitcast ([5 x i8]* @gv_10 to i64*)) %33 = call i64 @FUNC(i64 %7, i64 0) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %7) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_9: %37 = ptrtoint i64* %arg1 to i64 %38 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0)) %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_10, label LBL_13 LBL_10: %41 = inttoptr i64 %33 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp slt i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = call i64 @FUNC(i64 %38) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %48 = call i64 @FUNC(i64 %38) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false %. = select i1 %51, i64 %38, i64 0 store i64 %., i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 0, 2 } uselistorder i8* %9, { 1, 0 } uselistorder i64 %7, { 1, 4, 3, 2, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 5, 4, 3 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64, i8*, i64*)* @qemu_opt_set, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_13, { 0, 2, 1, 3, 4, 5 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
BN_bn2dec_5708
BN_bn2dec
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i8* %sv_0.210.reg2mem = alloca i8* %sv_0.311.reg2mem = alloca i8* %sv_1.112.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i8* %sv_0.113.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 8) %6 = call i64 @FUNC(i64 0) %7 = icmp ne i64 %6, 0 %8 = icmp eq i64 %5, 0 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 1, i64 2) %11 = call i64 @FUNC(i64 %5) %12 = call i64 @FUNC(i64 0) br label LBL_21 LBL_2: %13 = call i64 @FUNC(i64 %3) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_18, label LBL_3 LBL_3: %15 = inttoptr i64 %6 to i8* %16 = call i64 @FUNC(i64 %13) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %6, 1 store i8 48, i8* %15, align 1 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 br label LBL_17 LBL_5: %21 = call i64 @FUNC(i64 %13) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i8* %15, i8** %sv_0.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = add i64 %6, 1 %25 = inttoptr i64 %24 to i8* store i8 45, i8* %15, align 1 store i8* %25, i8** %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem store i64 %5, i64* %sv_1.0.reg2mem br label LBL_10 LBL_8: %26 = call i64 @FUNC(i64 %13, i64 10) %27 = inttoptr i64 %sv_1.0.reload to i64* store i64 %26, i64* %27, align 8 %28 = icmp eq i64 %26, -1 br i1 %28, label LBL_19, label LBL_9 LBL_9: %29 = add i64 %sv_1.0.reload, 8 %30 = sub i64 %29, %5 %31 = icmp slt i64 %30, 8 store i64 %29, i64* %sv_1.0.reg2mem br i1 %31, label LBL_10, label LBL_20 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %32 = call i64 @FUNC(i64 %13) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_8, label LBL_11 LBL_11: %35 = add i64 %sv_1.0.reload, -8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = ptrtoint i8* %sv_0.0.reload to i64 %39 = sub i64 %6, %38 %40 = call i64 @FUNC(i64 %38, i64 %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %37, i64 %2, i64 %1) %41 = load i8, i8* %sv_0.0.reload, align 1 %42 = icmp eq i8 %41, 0 %43 = icmp eq i1 %42, false store i8* %sv_0.0.reload, i8** %sv_0.113.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem br i1 %43, label LBL_12, label LBL_13 LBL_12: %sv_0.113.reload = load i8*, i8** %sv_0.113.reg2mem %44 = ptrtoint i8* %sv_0.113.reload to i64 %45 = add i64 %44, 1 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = icmp eq i8 %47, 0 %49 = icmp eq i1 %48, false store i8* %46, i8** %sv_0.113.reg2mem store i8* %46, i8** %sv_0.1.lcssa.reg2mem br i1 %49, label LBL_12, label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem %50 = icmp eq i64 %35, %5 %51 = icmp eq i1 %50, false store i64 %35, i64* %sv_1.112.reg2mem store i8* %sv_0.1.lcssa.reload, i8** %sv_0.311.reg2mem br i1 %51, label LBL_14, label LBL_17 LBL_14: %sv_0.311.reload = load i8*, i8** %sv_0.311.reg2mem %sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem %52 = add i64 %sv_1.112.reload, -8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = ptrtoint i8* %sv_0.311.reload to i64 %56 = sub i64 %6, %55 %57 = call i64 @FUNC(i64 %55, i64 %56, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %54, i64 %2, i64 %1) %58 = load i8, i8* %sv_0.311.reload, align 1 %59 = icmp eq i8 %58, 0 %60 = icmp eq i1 %59, false store i8* %sv_0.311.reload, i8** %sv_0.210.reg2mem store i8* %sv_0.311.reload, i8** %sv_0.2.lcssa.reg2mem br i1 %60, label LBL_15, label LBL_16 LBL_15: %sv_0.210.reload = load i8*, i8** %sv_0.210.reg2mem %61 = ptrtoint i8* %sv_0.210.reload to i64 %62 = add i64 %61, 1 %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 i8* %63, i8** %sv_0.210.reg2mem store i8* %63, i8** %sv_0.2.lcssa.reg2mem br i1 %66, label LBL_15, label LBL_16 LBL_16: %sv_0.2.lcssa.reload = load i8*, i8** %sv_0.2.lcssa.reg2mem %67 = icmp eq i64 %52, %5 %68 = icmp eq i1 %67, false store i64 %52, i64* %sv_1.112.reg2mem store i8* %sv_0.2.lcssa.reload, i8** %sv_0.311.reg2mem br i1 %68, label LBL_14, label LBL_17 LBL_17: %69 = call i64 @FUNC(i64 %5) %70 = call i64 @FUNC(i64 %13) store i64 %6, i64* %storemerge.reg2mem br label LBL_22 LBL_18: %71 = call i64 @FUNC(i64 %5) %72 = call i64 @FUNC(i64 0) br label LBL_21 LBL_19: %73 = call i64 @FUNC(i64 %5) %74 = call i64 @FUNC(i64 %13) br label LBL_21 LBL_20: %75 = call i64 @FUNC(i64 %5) %76 = call i64 @FUNC(i64 %13) br label LBL_21 LBL_21: %77 = call i64 @FUNC(i64 %6) store i64 0, i64* %storemerge.reg2mem br label LBL_22 LBL_22: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %55, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 2, 0, 1 } uselistorder i8* %sv_0.0.reload, { 0, 1, 3, 2 } uselistorder i8* %15, { 2, 0, 1 } uselistorder i64 %13, { 0, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64 %6, { 6, 0, 2, 1, 3, 4, 5, 7 } uselistorder i64 %5, { 2, 3, 4, 9, 7, 1, 8, 0, 5, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8** %sv_0.113.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.112.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.311.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.210.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @BIO_snprintf, { 1, 0 } uselistorder i8 0, { 2, 1, 3, 0, 4, 5 } uselistorder i64 (i64)* @BN_is_zero, { 1, 0 } uselistorder i64 (i64)* @BN_free, { 0, 1, 2, 4, 3 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i1 false, { 5, 4, 2, 1, 6, 0, 3 } uselistorder i64 (i64)* @OPENSSL_malloc, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
mjpeg_decode_dc_15733
mjpeg_decode_dc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = ashr exact i64 %sext, 30 %5 = add i64 %3, %4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i64 @FUNC(i64 %0, i32 %7, i64 9, i64 2) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i64 %arg2, 4294967295 %13 = load i64, i64* %2, align 8 %14 = add i64 %13, %4 %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %12, i64 %14) store i64 65535, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %19 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = and i64 %8, 4294967295 %21 = call i64 @FUNC(i64 %0, i64 %20) store i64 %21, 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 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
do_rt_sigreturn_v2_14877
do_rt_sigreturn_v2
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 104 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = urem i64 %3, 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0, i64 %3, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 0, i64 %3, i64 0) store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %16 = call i64 @FUNC(i64 0, i64 %3, i64 0) %17 = call i64 @FUNC(i64 11) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 4, 1, 2, 3, 0, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } }
1
BinRealVul
gvusershape_find_17733
gvusershape_find
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 %arg1, i64* %sv_0, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) ret i64 %1 }
1
BinRealVul
handle_denyall_8457
handle_denyall
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i16 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i32 @ntohl(i32 %4) %6 = call i64 @FUNC(i64* nonnull %sv_0, i32 %5, i64 0, i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i16 @htons(i16 0) %10 = bitcast i64* %arg2 to i16* store i16 %9, i16* %10, align 2 store i16 %9, i16* %rax.0.in.reg2mem br label LBL_3 LBL_2: %11 = call i16 @htons(i16 1) %12 = bitcast i64* %arg2 to i16* store i16 %11, i16* %12, align 2 store i16 %11, i16* %rax.0.in.reg2mem br label LBL_3 LBL_3: %rax.0.in.reload = load i16, i16* %rax.0.in.reg2mem %rax.0 = sext i16 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i16* %rax.0.in.reg2mem, { 0, 2, 1 } uselistorder i16 (i16)* @htons, { 1, 0 } uselistorder i64 1, { 1, 0 } }
0
BinRealVul
b43_ssb_wireless_core_reset_8210
b43_ssb_wireless_core_reset
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %spec.select = select i1 %2, i32 6, i32 7 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false %8 = or i32 %spec.select, 8 %sv_0.1 = select i1 %7, i32 %spec.select, i32 %8 %9 = zext i32 %sv_0.1 to i64 %10 = call i64 @FUNC(i64 %0, i64 %9) %11 = call i64 @FUNC(i64 2) %12 = call i64 @FUNC(i64 %0, i64 16) %13 = trunc i64 %12 to i32 %14 = and i32 %13, -37 %15 = or i32 %14, 32 %16 = call i64 @FUNC(i64 %0, i64 16, i32 %15) %17 = call i64 @FUNC(i64 %0, i64 16) %18 = call i64 @FUNC(i64 1) %19 = call i64 @FUNC(i64 %0, i64 16, i32 %14) %20 = call i64 @FUNC(i64 %0, i64 16) %21 = call i64 @FUNC(i64 1) ret i64 %21 uselistorder i64 %0, { 1, 0, 4, 3, 2, 5, 6 } uselistorder i64 (i64, i64, i32)* @ssb_write32, { 1, 0 } uselistorder i64 (i64, i64)* @ssb_read32, { 2, 1, 0 } uselistorder i64 (i64)* @msleep, { 2, 1, 0 } }
0
BinRealVul
jpeg_read_close_15706
jpeg_read_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) ret i64 0 }
1
BinRealVul
nbd_request_put_6711
nbd_request_put
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %arg1, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %5 = inttoptr i64 %2 to i32* %6 = call i64 @FUNC(i64 %arg1) %7 = load i32, i32* %5, align 4 %8 = add i32 %7, -1 store i32 %8, i32* %5, align 4 %9 = call i64 @FUNC(i64 %2) %10 = call i64 @FUNC(i64 %2) ret i64 %10 uselistorder i32* %5, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } }
0
BinRealVul
fsl_dma_new_3757
fsl_dma_new
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %2, i64* %rdx.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = load i64, i64* @gv_0, align 8 store i64 %9, i64* %5, align 8 store i64 %9, i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %10 = icmp eq i64 %rdx.0.reload, 0 store i64 %3, i64* %rdi.0.reg2mem br i1 %10, label LBL_7, label LBL_5 LBL_5: %11 = load i64, i64* @gv_1, align 8 %12 = call i64 @FUNC(i64 0, i64 %3, i64 %11, i64 %rdx.0.reload) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rdi.0.reg2mem br i1 %14, label LBL_7, label LBL_6 LBL_6: %15 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) %16 = and i64 %12, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_10, label LBL_8 LBL_8: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %21 = load i64, i64* @gv_1, align 8 %22 = call i64 @FUNC(i64 0, i64 %rdi.0.reload, i64 %21, i64 %19) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0)) %26 = call i64 @FUNC(i64 %21) %27 = and i64 %22, 4294967295 store i64 %27, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i8*)* @dev_err, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @snd_dma_alloc_pages, { 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_10, { 2, 1, 0, 3 } }
0
BinRealVul
proc_pid_follow_link_6125
proc_pid_follow_link
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64* inttoptr (i32 -13 to i64*), i64** %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = and i64 %0, 4294967295 %8 = inttoptr i64 %7 to i64* store i64* %8, i64** %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %9 = ptrtoint i64* %sv_0.0.reload to i64 %sext = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext, 32 ret i64 %10 uselistorder i64 %0, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
jsiGetDeviceFromClass_6984
jsiGetDeviceFromClass
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 68 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 69 %11 = icmp eq i1 %10, false store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = add i64 %6, 2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 86 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %6, 3 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = sext i8 %19 to i64 store i64 %20, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 4, 3, 2, 1, 0 } }
0
BinRealVul
hci_req_sync_5760
hci_req_sync
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 0, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg5 to i64 %6 = trunc i64 %arg4 to i32 %7 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i32 %6, i64 %5) %phitmp = and i64 %7, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = call i64 @FUNC(i64 %0) ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
_pci_cleanup_msix_13227
_pci_cleanup_msix
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = bitcast i64* %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = and i64 %1, 4294967295 %6 = icmp eq i32 %2, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %8, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = load i64, i64* @gv_0, align 8 %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %15, i64 %16, i32 %11) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = call i64 @FUNC() br label LBL_3 LBL_3: %21 = add i64 %8, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %8, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = load i64, i64* @gv_0, align 8 %28 = zext i32 %26 to i64 %29 = call i64 @FUNC(i64 %27, i64 %28, i32 %23) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = call i64 @FUNC() store i64 %32, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0, 3, 2 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 ()* @WARN, { 1, 0 } uselistorder i64 (i64, i64, i32)* @rangeset_remove_range, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
r_egg_compile_5619
r_egg_compile
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %3, i64 0, i64 0) %5 = bitcast i32* %sv_0 to i64* %6 = call i64 @FUNC(i64 %3, i64* nonnull %5, i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_1 LBL_1: %10 = add i64 %3, 1040 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 1 store i64 1, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_8 LBL_2: %14 = call i64 @FUNC(i64 %3) %15 = load i32, i32* %sv_0, align 4 %16 = trunc i32 %15 to i8 %17 = icmp eq i8 %16, 0 store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_8, label LBL_3 LBL_3: %18 = ptrtoint i32* %sv_0 to i64 %19 = zext i32 %15 to i64 %sext = mul i64 %19, 72057594037927936 %20 = ashr exact i64 %sext, 56 %21 = and i64 %20, 4294967295 %22 = call i64 @FUNC(i64 %3, i64 %21) %23 = add i64 %3, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp ult i32 %25, 1024 br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %21, i64 %20, i64 %18, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %28 = call i64 @FUNC(i64 %3, i64* nonnull %5, i64 1) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 1 %31 = icmp eq i1 %30, false store i64 1, i64* %rax.0.reg2mem br i1 %31, label LBL_8, label LBL_6 LBL_6: %32 = add i64 %3, 1036 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp slt i32 %34, 1 store i64 1, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = zext i32 %34 to i64 %37 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 1, i64 %18, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %18, { 1, 0 } uselistorder i64 %3, { 0, 1, 3, 2, 5, 4, 6, 7 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 4, 3, 2, 1, 6, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eprintf, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64, i64*, i64)* @r_buf_read, { 1, 0 } uselistorder i64 1, { 6, 3, 2, 7, 1, 0, 5, 4, 8 } uselistorder label LBL_8, { 6, 3, 2, 1, 0, 5, 4 } }
0
BinRealVul
iscsi_set_events_1957
iscsi_set_events
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, %2 store i64 %6, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i32 %2, 4 %9 = icmp eq i32 %8, 0 %. = select i1 %9, i64 0, i64 4198703 %10 = urem i32 %2, 2 %11 = icmp eq i32 %10, 0 %storemerge = select i1 %11, i64 0, i64 4198692 %12 = call i64 @FUNC(i64 %0) %13 = and i64 %12, 4294967295 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %13, i64 %storemerge, i64 %., i64 %0) store i32 %2, i32* %4, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 1, 0, 2, 3 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 } }
0
BinRealVul
pppoe_seq_show_9352
pppoe_seq_show
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 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) br label LBL_3 LBL_2: %7 = trunc i64 %2 to i32 %8 = add i64 %arg2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %arg2, 4 %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 %7, i64 %11, i64 %10, i64 %1) br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %3, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } }
0
BinRealVul
genl_register_family_5244
genl_register_family
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 %0) %7 = icmp eq i64 %6, 0 store i64 1, i64* %sv_0.1.reg2mem br i1 %7, label LBL_3, label LBL_17 LBL_3: %8 = icmp eq i64* %arg1, @gv_0 %9 = icmp eq i1 %8, false store i32 1, i32* %sv_2.0.reg2mem store i64 2, i64* %sv_1.0.reg2mem br i1 %9, label LBL_4, label LBL_6 LBL_4: %10 = bitcast i64* %arg1 to i8* %11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 2, i32* %sv_2.0.reg2mem store i64 3, i64* %sv_1.0.reg2mem br i1 %13, label LBL_5, label LBL_6 LBL_5: %14 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %spec.select = select i1 %16, i32 1, i32 3 %spec.select1 = select i1 %16, i64 256, i64 4 store i32 %spec.select, i32* %sv_2.0.reg2mem store i64 %spec.select1, i64* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_9, label LBL_7 LBL_7: %21 = add i64 %0, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = add i32 %19, 1 %27 = sext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 8, i64 0) %29 = add i64 %0, 24 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = icmp eq i64 %28, 0 %32 = icmp eq i1 %31, false store i64 2, i64* %sv_0.1.reg2mem br i1 %32, label LBL_10, label LBL_17 LBL_9: %33 = add i64 %0, 24 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %34, align 8 br label LBL_10 LBL_10: %35 = call i64 @FUNC(i64* nonnull @gv_3, i64 %0, i32 %sv_2.0.reload, i64 %sv_1.0.reload, i64 0) %36 = trunc i64 %35 to i32 %37 = add i64 %0, 16 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = icmp slt i32 %36, 0 %40 = icmp eq i1 %39, false store i64 %35, i64* %sv_0.0.reg2mem br i1 %40, label LBL_11, label LBL_16 LBL_11: %41 = call i64 @FUNC(i64 %0) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_15, label LBL_12 LBL_12: %45 = call i64 @FUNC() %46 = call i64 @FUNC(i64 1, i64 %0, i64 0, i64 0) %47 = add i64 %0, 32 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, 0 store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_18, label LBL_13 LBL_13: %51 = add i64 %0, 36 %52 = inttoptr i64 %51 to i32* %53 = add i64 %0, 40 %54 = inttoptr i64 %53 to i64* store i32 0, i32* %storemerge2.reg2mem br label LBL_14 LBL_14: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %55 = load i32, i32* %52, align 4 %56 = add i32 %55, %storemerge2.reload %57 = zext i32 %56 to i64 %58 = load i64, i64* %54, align 8 %59 = call i64 @FUNC(i64 2, i64 %0, i64 %58, i64 %57) %60 = add i32 %storemerge2.reload, 1 %61 = load i32, i32* %48, align 4 %62 = zext i32 %61 to i64 %63 = sext i32 %60 to i64 %64 = icmp slt i64 %63, %62 store i32 %60, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_14, label LBL_18 LBL_15: %65 = load i32, i32* %38, align 4 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64* nonnull @gv_3, i64 %66) store i64 %41, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %68 = add i64 %0, 24 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %70) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %72 = call i64 @FUNC() %73 = and i64 %sv_0.1.reload, 4294967295 store i64 %73, 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* %48, { 1, 0 } uselistorder i64 %0, { 6, 3, 4, 2, 1, 5, 7, 9, 8, 10, 0, 12, 11, 13, 14 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64, i64)* @genl_ctrl_event, { 1, 0 } uselistorder i64 ()* @genl_unlock_all, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 2, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_18, { 2, 0, 1, 3 } uselistorder label LBL_17, { 2, 0, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } }
0
BinRealVul
ovl_remove_upper_6506
ovl_remove_upper
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 24 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %1, i32 %8) %13 = icmp ult i64 %12, -4095 store i64 %12, i64* %sv_0.1.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_1: %14 = call i64 @FUNC(i64 %0) %15 = icmp eq i64 %12, %14 %16 = icmp eq i1 %15, false br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = call i64 @FUNC(i64 %12) store i64 4294967180, i64* %sv_0.1.reg2mem br label LBL_8 LBL_3: %18 = trunc i64 %arg2 to i8 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %4, i64 %12) store i64 %20, i64* %storemerge.in.reg2mem br label LBL_6 LBL_5: %21 = call i64 @FUNC(i64 %4, i64 %12, i64 0) store i64 %21, i64* %storemerge.in.reg2mem br label LBL_6 LBL_6: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %22 = call i64 @FUNC(i64 %4) %23 = call i64 @FUNC(i64 %12) %24 = icmp eq i32 %storemerge, 0 %25 = icmp eq i1 %24, false store i64 %storemerge.in.reload, i64* %sv_0.1.reg2mem br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %0) store i64 %storemerge.in.reload, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %27 = call i64 @FUNC(i64 %4) %28 = and i64 %sv_0.1.reload, 4294967295 ret i64 %28 uselistorder i64 %12, { 2, 5, 4, 1, 3, 0, 6 } uselistorder i64 %4, { 3, 0, 1, 2, 4 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 (i64)* @dput, { 1, 0 } uselistorder i64 (i64)* @ovl_dentry_upper, { 1, 0 } uselistorder label LBL_8, { 3, 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
openrisc_cpu_realizefn_1612
openrisc_cpu_realizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) ret i64 %0 }
0
BinRealVul
wma_decode_superframe_7679
wma_decode_superframe
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.18.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i8* %storemerge5.lcssa.reg2mem = alloca i32 %sv_1.0.in11.reg2mem = alloca i64 %storemerge512.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i32* %arg4 to i64 %7 = ptrtoint i32* %arg3 to i64 %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = trunc i64 %5 to i32 %13 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %6, i64 %2, i64 %1) %14 = icmp eq i32 %12, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = add i64 %8, 16 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_31 LBL_2: %18 = and i64 %3, 4294967295 %sext = mul i64 %5, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = icmp slt i64 %19, %18 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_31, label LBL_3 LBL_3: %21 = ptrtoint i64* %arg2 to i64 %22 = mul i64 %3, 8 %23 = and i64 %22, 4294967288 %24 = add i64 %8, 4136 %25 = call i64 @FUNC(i64 %24, i64 %11, i64 %23) %26 = add i64 %8, 4120 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_25, label LBL_4 LBL_4: %30 = call i64 @FUNC(i64 %24, i64 4) %31 = call i64 @FUNC(i64 %24, i64 4) %32 = trunc i64 %31 to i32 %33 = add i64 %8, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %35, %32 %37 = add i64 %8, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = mul i32 %36, %39 %41 = sext i32 %40 to i64 %42 = mul i64 %41, 2 %sext19 = mul i64 %4, 4294967296 %43 = ashr exact i64 %sext19, 32 %44 = icmp ugt i64 %42, %43 br i1 %44, label LBL_5, label LBL_6 LBL_5: %45 = add i64 %8, 4128 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %2, i64 %1) br label LBL_30 LBL_6: %49 = add i64 %8, 12 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i32 %51, 3 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %24, i64 %53) %55 = trunc i64 %54 to i32 %56 = add i64 %8, 16 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp slt i32 %58, 1 store i64 %21, i64* %sv_0.0.reg2mem br i1 %59, label LBL_17, label LBL_7 LBL_7: %60 = add i32 %55, 7 %61 = ashr i32 %60, 3 %62 = add i32 %61, %58 %63 = icmp sgt i32 %62, 4096 br i1 %63, label LBL_30, label LBL_8 LBL_8: %64 = add i64 %8, 24 %65 = sext i32 %58 to i64 %66 = add i64 %64, %65 %sv_1.010 = inttoptr i64 %66 to i8* %67 = icmp sgt i32 %55, 7 store i8* %sv_1.010, i8** %sv_1.013.reg2mem store i32 %55, i32* %storemerge512.reg2mem store i64 %66, i64* %sv_1.0.in11.reg2mem store i32 %55, i32* %storemerge5.lcssa.reg2mem store i8* %sv_1.010, i8** %sv_1.0.lcssa.reg2mem br i1 %67, label LBL_9, label LBL_11 LBL_9: %sv_1.0.in11.reload = load i64, i64* %sv_1.0.in11.reg2mem %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %sv_1.013.reload = load i8*, i8** %sv_1.013.reg2mem %68 = call i64 @FUNC(i64 %24, i64 8) %69 = add i64 %sv_1.0.in11.reload, 1 %70 = trunc i64 %68 to i8 store i8 %70, i8* %sv_1.013.reload, align 1 %71 = add i32 %storemerge512.reload, -8 %sv_1.0 = inttoptr i64 %69 to i8* %72 = icmp sgt i32 %71, 7 store i8* %sv_1.0, i8** %sv_1.013.reg2mem store i32 %71, i32* %storemerge512.reg2mem store i64 %69, i64* %sv_1.0.in11.reg2mem br i1 %72, label LBL_9, label LBL_10 LBL_10: %73 = urem i32 %55, 8 store i32 %73, i32* %storemerge5.lcssa.reg2mem store i8* %sv_1.0, i8** %sv_1.0.lcssa.reg2mem br label LBL_11 LBL_11: %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem %74 = icmp slt i32 %storemerge5.lcssa.reload, 1 br i1 %74, label LBL_13, label LBL_12 LBL_12: %sv_1.0.lcssa.reload = load i8*, i8** %sv_1.0.lcssa.reg2mem %75 = zext i32 %storemerge5.lcssa.reload to i64 %76 = call i64 @FUNC(i64 %24, i64 %75) %77 = sub i32 8, %storemerge5.lcssa.reload %78 = urem i32 %77, 32 %79 = icmp eq i32 %78, 0 %80 = trunc i64 %76 to i32 %81 = shl i32 %80, %78 %82 = zext i32 %81 to i64 %storemerge = select i1 %79, i64 %76, i64 %82 %83 = trunc i64 %storemerge to i8 store i8 %83, i8* %sv_1.0.lcssa.reload, align 1 br label LBL_13 LBL_13: %84 = call i64 @FUNC(i64 %24, i64 %64, i64 32768) %85 = add i64 %8, 20 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = icmp slt i32 %87, 1 br i1 %88, label LBL_15, label LBL_14 LBL_14: %89 = zext i32 %87 to i64 %90 = call i64 @FUNC(i64 %24, i64 %89) br label LBL_15 LBL_15: %91 = call i64 @FUNC(i64 %8, i64 %21) %92 = trunc i64 %91 to i32 %93 = icmp slt i32 %92, 0 br i1 %93, label LBL_30, label LBL_16 LBL_16: %94 = load i32, i32* %34, align 4 %95 = load i32, i32* %38, align 4 %96 = mul i32 %95, %94 %97 = sext i32 %96 to i64 %98 = mul i64 %97, 2 %99 = add i64 %98, %21 store i64 %99, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %100 = load i32, i32* %50, align 4 %101 = add i32 %55, 11 %102 = add i32 %100, %101 %103 = and i32 %102, -8 %104 = sub i32 32768, %103 %105 = zext i32 %104 to i64 %106 = ashr i32 %102, 3 %107 = sext i32 %106 to i64 %108 = add i64 %11, %107 %109 = call i64 @FUNC(i64 %24, i64 %108, i64 %105) %110 = urem i32 %102, 8 %111 = icmp eq i32 %110, 0 br i1 %111, label LBL_19, label LBL_18 LBL_18: %112 = zext i32 %110 to i64 %113 = call i64 @FUNC(i64 %24, i64 %112) br label LBL_19 LBL_19: %114 = add i32 %32, -1 %115 = add i64 %8, 4144 %116 = inttoptr i64 %115 to i32* store i32 1, i32* %116, align 4 %117 = icmp sgt i32 %114, 0 store i32 0, i32* %storemerge49.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.18.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %117, label LBL_20, label LBL_22 LBL_20: %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem %118 = call i64 @FUNC(i64 %8, i64 %sv_0.18.reload) %119 = trunc i64 %118 to i32 %120 = icmp slt i32 %119, 0 br i1 %120, label LBL_30, label LBL_21 LBL_21: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %121 = load i32, i32* %34, align 4 %122 = load i32, i32* %38, align 4 %123 = mul i32 %122, %121 %124 = sext i32 %123 to i64 %125 = mul i64 %124, 2 %126 = add i64 %125, %sv_0.18.reload %127 = add nuw nsw i32 %storemerge49.reload, 1 %128 = icmp slt i32 %127, %114 store i32 %127, i32* %storemerge49.reg2mem store i64 %126, i64* %sv_0.18.reg2mem store i64 %126, i64* %sv_0.1.lcssa.reg2mem br i1 %128, label LBL_20, label LBL_22 LBL_22: %129 = trunc i64 %3 to i32 %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %130 = call i64 @FUNC(i64 %24) %131 = trunc i64 %130 to i32 %132 = load i32, i32* %50, align 4 %133 = add i32 %132, %101 %134 = and i32 %133, -8 %135 = add i32 %134, %131 %136 = urem i32 %135, 8 %137 = add i64 %8, 20 %138 = inttoptr i64 %137 to i32* store i32 %136, i32* %138, align 4 %139 = ashr i32 %135, 3 %140 = sub i32 %129, %139 %141 = icmp slt i32 %140, 4097 %142 = icmp slt i32 %140, 0 %143 = icmp eq i1 %142, false %or.cond = icmp eq i1 %141, %143 br i1 %or.cond, label LBL_24, label LBL_23 LBL_23: %144 = add i64 %8, 4128 %145 = inttoptr i64 %144 to i64* %146 = load i64, i64* %145, align 8 %147 = zext i32 %140 to i64 %148 = call i64 @FUNC(i64 %146, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %147, i64 %2, i64 %1) br label LBL_30 LBL_24: %149 = bitcast i64* %rdi to i32* store i32 %140, i32* %57, align 4 %150 = sext i32 %139 to i64 %151 = add i64 %11, %150 %152 = add i64 %8, 24 %153 = inttoptr i64 %152 to i64* %154 = inttoptr i64 %151 to i64* %155 = call i64* @memcpy(i64* %153, i64* %154, i32 %140) %.pre = load i32, i32* %149, align 8 %.pre18 = zext i32 %.pre to i64 store i64 %.pre18, i64* %.pre-phi.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.reg2mem br label LBL_29 LBL_25: %156 = add i64 %8, 4 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = add i64 %8, 8 %160 = inttoptr i64 %159 to i32* %161 = load i32, i32* %160, align 4 %162 = mul i32 %161, %158 %163 = sext i32 %162 to i64 %164 = mul i64 %163, 2 %sext20 = mul i64 %4, 4294967296 %165 = ashr exact i64 %sext20, 32 %166 = icmp ugt i64 %164, %165 br i1 %166, label LBL_26, label LBL_27 LBL_26: %167 = add i64 %8, 4128 %168 = inttoptr i64 %167 to i64* %169 = load i64, i64* %168, align 8 %170 = call i64 @FUNC(i64 %169, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %2, i64 %1) br label LBL_30 LBL_27: %171 = call i64 @FUNC(i64 %8, i64 %21) %172 = trunc i64 %171 to i32 %173 = icmp slt i32 %172, 0 br i1 %173, label LBL_30, label LBL_28 LBL_28: %174 = load i32, i32* %157, align 4 %175 = load i32, i32* %160, align 4 %176 = mul i32 %175, %174 %177 = sext i32 %176 to i64 %178 = mul i64 %177, 2 %179 = add i64 %178, %21 store i64 %18, i64* %.pre-phi.reg2mem store i64 %179, i64* %sv_0.2.reg2mem br label LBL_29 LBL_29: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %180 = sub i64 %sv_0.2.reload, %21 %181 = trunc i64 %180 to i32 store i32 %181, i32* %arg3, align 4 store i64 %.pre-phi.reload, i64* %rax.0.reg2mem br label LBL_31 LBL_30: %182 = add i64 %8, 16 %183 = inttoptr i64 %182 to i32* store i32 0, i32* %183, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %140, { 2, 4, 3, 1, 0 } uselistorder i32 %135, { 1, 0 } uselistorder i64 %sv_0.18.reload, { 1, 0 } uselistorder i32 %114, { 1, 0 } uselistorder i32 %110, { 1, 0 } uselistorder i32 %78, { 1, 0 } uselistorder i32 %storemerge5.lcssa.reload, { 1, 0, 2 } uselistorder i64 %64, { 1, 0 } uselistorder i32 %58, { 1, 0, 2 } uselistorder i32 %55, { 3, 2, 0, 1, 4, 5 } uselistorder i32* %38, { 1, 0, 2 } uselistorder i32* %34, { 1, 0, 2 } uselistorder i32 %32, { 1, 0 } uselistorder i64 %24, { 0, 6, 8, 7, 4, 3, 2, 5, 9, 1, 10, 11, 12 } uselistorder i64 %21, { 4, 1, 5, 2, 3, 0 } uselistorder i64 %8, { 14, 19, 18, 16, 17, 3, 4, 5, 6, 7, 1, 2, 9, 8, 12, 13, 11, 10, 15, 20, 0, 21 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i8** %sv_1.013.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge512.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.in11.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge49.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.18.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @wma_decode_frame, { 2, 1, 0 } uselistorder i32 8, { 0, 1, 3, 2 } uselistorder i32 -8, { 2, 1, 0 } uselistorder i32 7, { 1, 0, 2 } uselistorder i32 3, { 1, 2, 3, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 3, 1, 0 } uselistorder i64 (i64, i64)* @skip_bits, { 2, 1, 0 } uselistorder i64 4, { 2, 3, 0, 1 } uselistorder i64 (i64, i64, i64)* @init_get_bits, { 2, 1, 0 } uselistorder i64 8, { 2, 1, 3, 0, 4 } uselistorder label LBL_31, { 1, 2, 0, 3 } uselistorder label LBL_30, { 1, 4, 5, 0, 2, 3, 6 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
tun_sock_write_space_10421
tun_sock_write_space
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 1, i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %7, i64 772) br label LBL_5 LBL_5: %13 = add i64 %0, 8 %14 = call i64 @FUNC(i64 %13, i64 29, i64 2) store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 1, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
evaluate_utility_inc_3550
evaluate_utility_inc
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem7 = alloca i32 %.reg2mem = alloca i64 %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_3, label LBL_1 LBL_1: %5 = bitcast i64* %rdi to i32* %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 16 %8 = inttoptr i64 %7 to i64* %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = add i64 %6, 24 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %.reg2mem store i32 %2, i32* %.reg2mem7 store i32 0, i32* %storemerge3.reg2mem store i64 0, i64* %sv_0.12.reg2mem br label LBL_2 LBL_2: %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload8 = load i32, i32* %.reg2mem7 %.reload = load i64, i64* %.reg2mem %13 = load i64, i64* %8, align 8 %14 = mul i64 %.reload, 8 %15 = add i64 %13, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = sext i32 %.reload8 to i64 %19 = mul i64 %17, %18 %20 = load i64, i64* %10, align 8 %21 = icmp sgt i64 %19, %20 %22 = select i1 %21, i64 %17, i64 0 %spec.select = add i64 %22, %sv_0.12.reload %23 = load i64, i64* %12, align 8 %24 = add i64 %23, %14 %25 = inttoptr i64 %24 to i64* store i64 %spec.select, i64* %25, align 8 %26 = add i32 %storemerge3.reload, 1 %27 = load i32, i32* %5, align 8 %28 = zext i32 %27 to i64 %29 = sext i32 %26 to i64 %30 = icmp slt i64 %29, %28 store i64 %29, i64* %.reg2mem store i32 %27, i32* %.reg2mem7 store i32 %26, i32* %storemerge3.reg2mem store i64 %spec.select, i64* %sv_0.12.reg2mem store i64 %28, i64* %.lcssa.reg2mem br i1 %30, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %17, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem7, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0