dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
sendMessageAndForget_13106
sendMessageAndForget
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64 %0 = load i16, i16* inttoptr (i64 4210724 to i16*), align 4 %1 = icmp slt i16 %0, 5 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64* nonnull @gv_0) %arg2.tr = trunc i64 %arg2 to i32 %sext4 = mul i32 %arg2.tr, 65536 %3 = ashr exact i32 %sext4, 16 %4 = zext i32 %3 to i64 %arg1.tr = trunc i64 %arg1 to i32 %sext5 = mul i32 %arg1.tr, 65536 %5 = ashr exact i32 %sext5, 16 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6, i64 %4, i64 %arg3) %8 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %7, i64* %sv_0.0.in.reg2mem br label LBL_3 LBL_2: %arg2.tr12 = trunc i64 %arg2 to i32 %sext6 = mul i32 %arg2.tr12, 65536 %9 = ashr exact i32 %sext6, 16 %10 = zext i32 %9 to i64 %arg1.tr13 = trunc i64 %arg1 to i32 %sext7 = mul i32 %arg1.tr13, 65536 %11 = ashr exact i32 %sext7, 16 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12, i64 %10, i64 %arg3) store i64 %13, i64* %sv_0.0.in.reg2mem br label LBL_3 LBL_3: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %14 = and i64 %sv_0.0.in.reload, 4294967295 ret i64 %14 uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
ip_mc_clear_src_9938
ip_mc_clear_src
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %storemerge13.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* %storemerge13.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %3 = inttoptr i64 %storemerge13.reload to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %storemerge13.reload) %6 = icmp eq i64 %4, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %storemerge13.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: store i64 0, i64* %arg1, align 8 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %storemerge2.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %13 = inttoptr i64 %storemerge2.reload to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %storemerge2.reload) %16 = icmp eq i64 %14, 0 %17 = icmp eq i1 %16, false store i64 %14, i64* %storemerge2.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_4: store i64 0, i64* %9, align 8 %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = add i64 %0, 20 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i32* store i32 1, i32* %23, align 4 ret i64 %0 uselistorder i64 %storemerge2.reload, { 1, 0 } uselistorder i64 %storemerge13.reload, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 0 } uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ccp_sha_import_4738
ccp_sha_import
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 152) %3 = inttoptr i64 %1 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 152) %5 = load i64, i64* %sv_0, align 8 %6 = trunc i64 %5 to i32 %7 = inttoptr i64 %1 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i32* %12 = add i64 %1, 20 %13 = inttoptr i64 %12 to i64* %14 = add i64 %1, 28 %15 = inttoptr i64 %14 to i64* %16 = add i64 %1, 36 %17 = inttoptr i64 %16 to i64* %18 = add i64 %1, 44 %19 = inttoptr i64 %18 to i64* %20 = add i64 %1, 52 %21 = inttoptr i64 %20 to i64* %22 = add i64 %1, 60 %23 = inttoptr i64 %22 to i64* %24 = add i64 %1, 68 %25 = inttoptr i64 %24 to i64* %26 = add i64 %1, 76 %27 = inttoptr i64 %26 to i64* %28 = add i64 %1, 84 %29 = inttoptr i64 %28 to i32* %30 = add i64 %1, 88 %31 = inttoptr i64 %30 to i64* %32 = add i64 %1, 96 %33 = inttoptr i64 %32 to i64* %34 = add i64 %1, 104 %35 = inttoptr i64 %34 to i64* %36 = add i64 %1, 112 %37 = inttoptr i64 %36 to i64* %38 = add i64 %1, 120 %39 = inttoptr i64 %38 to i64* %40 = add i64 %1, 128 %41 = inttoptr i64 %40 to i64* %42 = add i64 %1, 136 %43 = inttoptr i64 %42 to i64* %44 = add i64 %1, 144 %45 = inttoptr i64 %44 to i64* ret i64 0 uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 14, 15, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20 } uselistorder i64* %sv_0, { 1, 0 } }
0
BinRealVul
vfio_exitfn_16210
vfio_exitfn
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 40 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg1) %4 = call i64 @FUNC(i64 %arg1, i64 0) %5 = call i64 @FUNC(i64 %arg1) %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %8) br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %arg1) %12 = call i64 @FUNC(i64 %arg1) %13 = add i64 %arg1, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %arg1, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %arg1) %22 = call i64 @FUNC(i64 %2) ret i64 %22 uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 4, 3, 2, 5, 6, 7, 8, 9 } }
1
BinRealVul
do_setlk_13073
do_setlk
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %sext = mul i64 %0, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp eq i32 %1, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %sv_0.1.reg2mem br i1 %4, label LBL_8, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 %arg1) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %arg1) %13 = trunc i64 %arg1 to i32 %sext3 = mul i64 %arg1, 4294967296 %14 = ashr exact i64 %sext3, 32 %15 = icmp eq i32 %13, -4 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = trunc i64 %14 to i32 %17 = icmp eq i32 %16, -512 %18 = icmp eq i1 %17, false store i64 %14, i64* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %arg1, i64 %arg3) store i64 %14, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %20 = call i64 @FUNC(i64 %arg1, i64 %arg3) %sext4 = mul i64 %20, 4294967296 %21 = ashr exact i64 %sext4, 32 store i64 %21, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %22 = call i64 @FUNC() %23 = trunc i64 %sv_0.0.reload to i32 %24 = icmp slt i32 %23, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = call i64 @FUNC(i64 %arg1) %26 = call i64 @FUNC(i64 %arg1) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %27 = and i64 %sv_0.1.reload, 4294967295 ret i64 %27 uselistorder i64 %14, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @do_vfs_lock, { 1, 0 } uselistorder i64 (i64)* @nfs_sync_mapping, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg1, { 5, 1, 6, 2, 0, 3, 4, 7, 8 } uselistorder label LBL_8, { 2, 0, 1 } }
1
BinRealVul
cm_establish_9634
cm_establish
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 32, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 3, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %1 to i32 %8 = add i64 %6, 12 %9 = call i64 @FUNC(i64 %8, i64 %2) %10 = icmp sgt i32 %7, 2 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = icmp eq i32 %7, 0 %12 = icmp slt i32 %7, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 br i1 %15, label LBL_6, label LBL_4 LBL_3: %16 = icmp eq i32 %7, 3 store i64 1, i64* %sv_0.0.ph.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: store i64 2, i64* %sv_0.0.ph.reg2mem br label LBL_5 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %17 = call i64 @FUNC(i64 %8, i64 %2) %18 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.ph.reload, i64* %sv_0.01.reg2mem br label LBL_7 LBL_6: %19 = bitcast i64* %arg1 to i32* store i32 3, i32* %19, align 4 %20 = call i64 @FUNC(i64 %8, i64 %2) %21 = call i64 @FUNC(i64 %3, i64 4198726) %22 = add i64 %6, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = add i64 %6, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %3, 12 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i64 %3, 16 %33 = inttoptr i64 %32 to i64* store i64 0, i64* %33, align 8 %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i32* store i32 4, i32* %35, align 4 %36 = load i64, i64* @gv_0, align 8 %37 = call i64 @FUNC(i64 %36, i64 %3, i64 0) store i64 0, i64* %sv_0.01.reg2mem br label LBL_7 LBL_7: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %38 = and i64 %sv_0.01.reload, 4294967295 store i64 %38, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 1, 0, 2 } uselistorder i32 %7, { 3, 1, 2, 0 } uselistorder i64 %3, { 0, 1, 2, 3, 5, 4, 6, 7 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
rm_read_header_101
rm_read_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i32 %sv_2.011.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i32 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, -43945426 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %arg1) store i64 %10, i64* %rax.0.reg2mem br label LBL_27 LBL_2: %11 = icmp eq i32 %7, 1179472430 store i64 4294967291, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_27 LBL_3: %12 = call i64 @FUNC(i64 %5) %13 = add i64 %12, 4294967288 %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %5, i64 %14) %16 = call i64 @FUNC(i64 %5) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_27 LBL_4: %19 = ptrtoint i64* %sv_5 to i64 %20 = inttoptr i64 %2 to i32* %21 = add i64 %19, -8 %22 = inttoptr i64 %21 to i64* %23 = add i64 %19, -16 %24 = inttoptr i64 %23 to i64* %25 = inttoptr i64 %arg1 to i32* store i32 0, i32* %sv_1.013.reg2mem store i32 0, i32* %sv_2.011.reg2mem store i32 0, i32* %sv_0.09.reg2mem br label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %5) %27 = trunc i64 %26 to i32 %28 = call i64 @FUNC(i64 %5) %29 = trunc i64 %28 to i32 %30 = call i64 @FUNC(i64 %5) %31 = udiv i64 %26, 16777216 %32 = udiv i64 %26, 65536 %33 = udiv i64 %26, 256 %34 = urem i64 %33, 256 %35 = urem i64 %26, 256 %36 = and i64 %28, 4294967295 store i64 %36, i64* %22, align 8 %37 = and i64 %26, 4294967295 store i64 %37, i64* %24, align 8 %38 = urem i64 %31, 256 %39 = urem i64 %32, 256 %40 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %35, i64 %34, i64 %39, i64 %38) %41 = icmp sgt i32 %29, 9 %42 = icmp eq i32 %27, 1096040772 %or.cond = or i1 %42, %41 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_27 LBL_6: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %43 = icmp eq i32 %27, 1414418243 br i1 %43, label LBL_13, label LBL_7 LBL_7: %44 = icmp ult i32 %27, 1414418244 br i1 %44, label LBL_8, label LBL_18 LBL_8: %45 = icmp eq i32 %27, 1380992077 br i1 %45, label LBL_14, label LBL_9 LBL_9: %46 = icmp ult i32 %27, 1380992078 br i1 %46, label LBL_10, label LBL_18 LBL_10: br i1 %42, label LBL_20, label LBL_11 LBL_11: %47 = icmp eq i32 %27, 1347375696 %48 = icmp eq i1 %47, false br i1 %48, label LBL_18, label LBL_12 LBL_12: %49 = call i64 @FUNC(i64 %5) %50 = call i64 @FUNC(i64 %5) %51 = call i64 @FUNC(i64 %5) %52 = call i64 @FUNC(i64 %5) %53 = call i64 @FUNC(i64 %5) %54 = call i64 @FUNC(i64 %5) %55 = and i64 %54, 4294967295 %56 = call i64 @FUNC(i64 %55, i64 1000000, i64 1000) %57 = trunc i64 %56 to i32 store i32 %57, i32* %25, align 4 %58 = call i64 @FUNC(i64 %5) %59 = call i64 @FUNC(i64 %5) %60 = trunc i64 %59 to i32 %61 = call i64 @FUNC(i64 %5) %62 = trunc i64 %61 to i32 %63 = call i64 @FUNC(i64 %5) %64 = call i64 @FUNC(i64 %5) %65 = trunc i64 %64 to i32 store i32 %62, i32* %sv_0.1.reg2mem store i32 %60, i32* %sv_2.1.reg2mem store i32 %65, i32* %sv_1.1.reg2mem br label LBL_19 LBL_13: %66 = call i64 @FUNC(i64 %arg1, i64 1) store i32 %sv_0.09.reload, i32* %sv_0.1.reg2mem store i32 %sv_2.011.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.013.reload, i32* %sv_1.1.reg2mem br label LBL_19 LBL_14: %67 = call i64 @FUNC(i64 %arg1, i64 0) %68 = icmp eq i64 %67, 0 %69 = icmp eq i1 %68, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %69, label LBL_15, label LBL_27 LBL_15: %70 = inttoptr i64 %67 to i32* %71 = call i64 @FUNC(i64 %5) %72 = trunc i64 %71 to i32 store i32 %72, i32* %70, align 4 %73 = call i64 @FUNC(i64 %5) %74 = call i64 @FUNC(i64 %5) %75 = trunc i64 %74 to i32 %76 = add i64 %67, 8 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = inttoptr i64 %78 to i32* store i32 %75, i32* %79, align 4 %80 = call i64 @FUNC(i64 %5) %81 = call i64 @FUNC(i64 %5) %82 = call i64 @FUNC(i64 %5) %83 = trunc i64 %82 to i32 %84 = call i64 @FUNC(i64 %5) %85 = call i64 @FUNC(i64 %5) %86 = trunc i64 %85 to i32 %87 = add i64 %67, 16 %88 = inttoptr i64 %87 to i32* store i32 %83, i32* %88, align 4 %89 = add i64 %67, 20 %90 = inttoptr i64 %89 to i32* store i32 %86, i32* %90, align 4 %91 = icmp eq i32 %86, 0 br i1 %91, label LBL_17, label LBL_16 LBL_16: store i32 0, i32* %25, align 4 br label LBL_17 LBL_17: %92 = call i64 @FUNC(i64 %5, i64* nonnull %sv_4, i64 128) %93 = call i64 @FUNC(i64 %5, i64* nonnull %sv_3, i64 128) %94 = load i64, i64* %77, align 8 %95 = add i64 %94, 4 %96 = inttoptr i64 %95 to i32* store i32 0, i32* %96, align 4 %97 = call i64 @FUNC() %98 = add i64 %67, 24 %99 = inttoptr i64 %98 to i64* store i64 %97, i64* %99, align 8 %100 = call i64 @FUNC(i64 %5) %101 = load i64, i64* %99, align 8 %102 = load i64, i64* %4, align 8 %103 = and i64 %100, 4294967295 %104 = call i64 @FUNC(i64 %arg1, i64 %102, i64 %67, i64 %101, i64 %103, i64* nonnull %sv_3) %105 = trunc i64 %104 to i32 %106 = icmp slt i32 %105, 0 %107 = icmp eq i1 %106, false store i32 %sv_0.09.reload, i32* %sv_0.1.reg2mem store i32 %sv_2.011.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.013.reload, i32* %sv_1.1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %107, label LBL_19, label LBL_27 LBL_18: %108 = add i64 %28, 4294967286 %109 = and i64 %108, 4294967295 %110 = call i64 @FUNC(i64 %5, i64 %109) store i32 %sv_0.09.reload, i32* %sv_0.1.reg2mem store i32 %sv_2.011.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.013.reload, i32* %sv_1.1.reg2mem br label LBL_19 LBL_19: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %111 = call i64 @FUNC(i64 %5) %112 = trunc i64 %111 to i32 %113 = icmp eq i32 %112, 0 store i32 %sv_1.1.reload, i32* %sv_1.013.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.011.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.09.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %113, label LBL_5, label LBL_27 LBL_20: %114 = call i64 @FUNC(i64 %5) %115 = trunc i64 %114 to i32 %116 = icmp eq i32 %115, 0 %117 = icmp eq i1 %116, false %118 = and i32 %sv_1.013.reload, 4 %119 = icmp eq i32 %118, 0 %or.cond5 = or i1 %119, %117 %spec.store.select = select i1 %or.cond5, i32 %115, i32 90000 store i32 %spec.store.select, i32* %20, align 4 %120 = call i64 @FUNC(i64 %5) %121 = icmp eq i32 %sv_0.09.reload, 0 %122 = icmp eq i1 %121, false store i32 %sv_0.09.reload, i32* %sv_0.2.reg2mem br i1 %122, label LBL_22, label LBL_21 LBL_21: %123 = call i64 @FUNC(i64 %5) %124 = trunc i64 %123 to i32 %125 = add i32 %124, -18 store i32 %125, i32* %sv_0.2.reg2mem br label LBL_22 LBL_22: %126 = icmp eq i32 %sv_2.011.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %126, label LBL_27, label LBL_23 LBL_23: %127 = add i64 %5, 48 %128 = inttoptr i64 %127 to i32* %129 = load i32, i32* %128, align 4 %130 = icmp eq i32 %129, 0 store i64 0, i64* %rax.0.reg2mem br i1 %130, label LBL_27, label LBL_24 LBL_24: %131 = add i64 %arg1, 4 %132 = inttoptr i64 %131 to i32* %133 = load i32, i32* %132, align 4 %134 = urem i32 %133, 2 %135 = icmp eq i32 %134, 0 %136 = icmp eq i1 %135, false store i64 0, i64* %rax.0.reg2mem br i1 %136, label LBL_27, label LBL_25 LBL_25: %137 = zext i32 %sv_2.011.reload to i64 %138 = call i64 @FUNC(i64 %5, i64 %137, i64 0) %139 = trunc i64 %138 to i32 %140 = icmp slt i32 %139, 0 store i64 0, i64* %rax.0.reg2mem br i1 %140, label LBL_27, label LBL_26 LBL_26: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %141 = call i64 @FUNC(i64 %arg1) %142 = add i32 %sv_0.2.reload, 18 %143 = zext i32 %142 to i64 %144 = call i64 @FUNC(i64 %5, i64 %143, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %86, { 1, 0 } uselistorder i32 %sv_1.013.reload, { 3, 0, 1, 2 } uselistorder i32 %sv_2.011.reload, { 3, 4, 0, 1, 2 } uselistorder i32 %sv_0.09.reload, { 0, 4, 1, 2, 3 } uselistorder i1 %42, { 1, 0 } uselistorder i32 %27, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %26, { 4, 3, 0, 1, 2, 5 } uselistorder i64 %5, { 14, 16, 15, 13, 17, 18, 33, 12, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 31, 32, 0, 34, 35, 36 } uselistorder i32* %sv_1.013.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.011.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 8, 7, 6, 1, 4, 3, 2, 5, 11, 12 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @get_str8, { 1, 0 } uselistorder i64 0, { 4, 20, 3, 21, 2, 1, 0, 24, 22, 18, 19, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 23 } uselistorder i64 256, { 1, 2, 3, 4, 0 } uselistorder i64 (i64)* @avio_rb16, { 3, 2, 1, 0 } uselistorder i32 0, { 5, 6, 7, 8, 9, 4, 10, 15, 11, 12, 13, 14, 0, 1, 2, 3 } uselistorder i64 (i64)* @url_feof, { 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i32 1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 %arg1, { 2, 3, 4, 5, 6, 7, 1, 0, 8, 9 } uselistorder label LBL_27, { 9, 8, 7, 6, 5, 0, 3, 2, 1, 4, 10, 11 } uselistorder label LBL_19, { 1, 0, 2, 3 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
do_dma_memory_set_14144
do_dma_memory_set
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 256 %2 = call i64* @memset(i64* nonnull %sv_0, i32 %1, i32 512) %3 = ptrtoint i64* %2 to i64 %4 = icmp eq i64 %arg3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = icmp ult i64 %arg3, 512 %7 = select i1 %6, i64 %arg3, i64 512 %8 = trunc i64 %7 to i32 %9 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i32 %8, i64 1) store i64 0, i64* %rax.0.lcssa.reg2mem br label LBL_2 LBL_2: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64* %rax.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 0, 1 } }
1
BinRealVul
l2cap_config_req_7854
l2cap_config_req
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg4 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i16, align 2 %7 = urem i64 %4, 65536 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %5, 2 %10 = inttoptr i64 %9 to i16* %11 = load i16, i16* %10, align 2 %12 = zext i16 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i16 %15 = urem i64 %8, 65536 %16 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %15, i16 %14, i64 %5, i64 %2, i64 %1) %17 = call i64 @FUNC(i64 %6, i64 %15) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 1, i64* %storemerge.reg2mem br i1 %19, label LBL_1, label LBL_17 LBL_1: %20 = trunc i64 %3 to i32 %21 = inttoptr i64 %17 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label LBL_3, label LBL_2 LBL_2: %26 = call i64 @FUNC(i64 2) %27 = trunc i64 %26 to i16 store i16 %27, i16* %sv_2, align 2 %28 = call i64 @FUNC(i64 %6, i32 %20, i64 3, i64 2, i16* nonnull %sv_2) br label LBL_16 LBL_3: %29 = sext i16 %14 to i32 %30 = trunc i64 %arg3 to i32 %31 = urem i32 %30, 65536 %32 = add nsw i32 %31, -4 %33 = add i64 %17, 8 %34 = inttoptr i64 %33 to i16* %35 = load i16, i16* %34, align 2 %36 = zext i16 %35 to i32 %37 = add nsw i32 %32, %36 %38 = icmp ult i32 %37, 65 br i1 %38, label LBL_5, label LBL_4 LBL_4: %39 = urem i32 %29, 65536 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %17, i64* nonnull %sv_1, i64 6, i64 %40) %42 = and i64 %41, 4294967295 %43 = bitcast i64* %sv_1 to i16* %44 = call i64 @FUNC(i64 %6, i32 %20, i64 4, i64 %42, i16* nonnull %43) br label LBL_16 LBL_5: %45 = add i64 %5, 4 %46 = add i64 %17, 17 %47 = zext i16 %35 to i64 %48 = add i64 %46, %47 %49 = inttoptr i64 %48 to i64* %50 = inttoptr i64 %45 to i64* %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %32) %52 = load i16, i16* %34, align 2 %53 = trunc i32 %32 to i16 %54 = add i16 %52, %53 store i16 %54, i16* %34, align 2 %55 = urem i32 %29, 2 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_7, label LBL_6 LBL_6: %57 = call i64 @FUNC(i64 %17, i64* nonnull %sv_1, i64 5, i64 1) %58 = bitcast i64* %rsi to i32* %59 = load i32, i32* %58, align 8 %60 = and i64 %57, 4294967295 %61 = bitcast i64* %sv_1 to i16* %62 = call i64 @FUNC(i64 %6, i32 %59, i64 4, i64 %60, i16* nonnull %61) br label LBL_16 LBL_7: %63 = call i64 @FUNC(i64 %17, i64* nonnull %sv_1) %64 = trunc i64 %63 to i32 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_9, label LBL_8 LBL_8: %67 = call i64 @FUNC(i64 %6, i64 %17, i64 8) br label LBL_16 LBL_9: %68 = bitcast i64* %rsi to i32* %69 = load i32, i32* %68, align 8 %70 = and i64 %63, 4294967295 %71 = bitcast i64* %sv_1 to i16* %72 = call i64 @FUNC(i64 %6, i32 %69, i64 4, i64 %70, i16* nonnull %71) %73 = add i64 %17, 12 %74 = inttoptr i64 %73 to i8* %75 = load i8, i8* %74, align 1 %76 = add i8 %75, 1 store i8 %76, i8* %74, align 1 store i16 0, i16* %34, align 2 %77 = add i64 %17, 10 %78 = inttoptr i64 %77 to i16* %79 = load i16, i16* %78, align 2 %80 = and i16 %79, 9 %81 = icmp eq i16 %80, 0 br i1 %81, label LBL_16, label LBL_10 LBL_10: %82 = and i16 %79, 10 %83 = icmp eq i16 %82, 0 br i1 %83, label LBL_14, label LBL_11 LBL_11: %84 = call i64 @FUNC(i64 %17) store i32 2, i32* %23, align 4 %85 = add i64 %17, 14 %86 = inttoptr i64 %85 to i8* store i8 0, i8* %86, align 1 %87 = add i64 %17, 15 %88 = inttoptr i64 %87 to i8* store i8 0, i8* %88, align 1 %89 = add i64 %17, 81 %90 = call i64 @FUNC(i64 %89) %91 = add i64 %17, 16 %92 = inttoptr i64 %91 to i8* %93 = load i8, i8* %92, align 1 %94 = icmp eq i8 %93, 7 %95 = icmp eq i1 %94, false br i1 %95, label LBL_13, label LBL_12 LBL_12: %96 = call i64 @FUNC(i64 %17) br label LBL_13 LBL_13: %97 = call i64 @FUNC(i64 %22) br label LBL_16 LBL_14: %98 = and i16 %79, 11 %99 = icmp eq i16 %98, 0 %100 = icmp eq i1 %99, false br i1 %100, label LBL_16, label LBL_15 LBL_15: %101 = or i16 %79, 11 store i16 %101, i16* %78, align 2 %102 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0) %103 = call i64 @FUNC(i64 %6) %104 = trunc i64 %103 to i32 %105 = and i64 %102, 4294967295 %106 = bitcast i64* %sv_0 to i16* %107 = call i64 @FUNC(i64 %6, i32 %104, i64 12, i64 %105, i16* nonnull %106) %108 = add i64 %17, 13 %109 = inttoptr i64 %108 to i8* %110 = load i8, i8* %109, align 1 %111 = add i8 %110, 1 store i8 %111, i8* %109, align 1 br label LBL_16 LBL_16: %112 = call i64 @FUNC(i64 %22) store i64 0, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i16* %34, { 0, 2, 1, 3 } uselistorder i32 %32, { 1, 2, 0 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64 %17, { 6, 7, 2, 1, 3, 4, 5, 9, 8, 10, 0, 11, 12, 14, 15, 13, 16, 17 } uselistorder i64 %15, { 1, 0 } uselistorder i16 %14, { 1, 0 } uselistorder i64 %6, { 5, 4, 6, 3, 2, 1, 0, 7 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i64* %rsi, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 0, 1, 3, 2 } uselistorder i64 4294967295, { 1, 0, 2, 3 } uselistorder i64 (i64, i64*, i64, i64)* @l2cap_build_conf_rsp, { 1, 0 } uselistorder i64 (i64, i32, i64, i64, i16*)* @l2cap_send_cmd, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @__le16_to_cpu, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 2, 0, 3, 1, 4, 5, 6, 7 } }
1
BinRealVul
xmlrpc_set_options_10486
xmlrpc_set_options
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = ptrtoint i8* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: store i32 1, i32* @gv_1, align 4 br label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: store i32 0, i32* @gv_1, align 4 br label LBL_5 LBL_5: %12 = icmp eq i32 %0, 2 %13 = icmp eq i1 %12, false %14 = icmp eq i8* %arg2, null %or.cond = or i1 %14, %13 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %15 = ptrtoint i8* %arg2 to i64 %16 = call i64 @FUNC(i64 %15) %17 = inttoptr i64 %16 to i8* store i8* %17, i8** @gv_3, align 8 br label LBL_7 LBL_7: %18 = icmp eq i32 %0, 3 %19 = icmp eq i1 %18, false br i1 %19, label LBL_12, label LBL_8 LBL_8: %20 = ptrtoint i8* %arg2 to i64 %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_5 to i64)) %26 = inttoptr i64 %25 to i8* store i8* %26, i8** @gv_6, align 8 %27 = call i64 @FUNC(i64 ptrtoint ([6 x i8]* @gv_7 to i64)) %28 = inttoptr i64 %27 to i8* store i8* %28, i8** @gv_8, align 8 br label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0)) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_12, label LBL_11 LBL_11: %33 = call i64 @FUNC(i64 ptrtoint ([6 x i8]* @gv_10 to i64)) %34 = inttoptr i64 %33 to i8* store i8* %34, i8** @gv_6, align 8 %35 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_11 to i64)) %36 = inttoptr i64 %35 to i8* store i8* %36, i8** @gv_8, align 8 br label LBL_12 LBL_12: ret i64 1 uselistorder i32 %0, { 1, 0, 2 } uselistorder i64 (i64)* @sstrdup, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*)* @stricmp, { 3, 2, 1, 0 } uselistorder i32 1, { 2, 0, 1 } uselistorder i8* %arg2, { 0, 2, 1, 3 } }
0
BinRealVul
gvirt_to_maddr_12181
gvirt_to_maddr
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = urem i64 %0, 2 %2 = icmp eq i64 %1, 0 store i64 4294967282, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = and i64 %0, -4096 %4 = urem i64 %arg1, 4096 %5 = or i64 %3, %4 store i64 %5, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
bcm_rx_thr_flush_11461
bcm_rx_thr_flush
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %arg2, 4294967295 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 2 %5 = ptrtoint i32* %arg1 to i64 br i1 %4, label LBL_3, label LBL_1 LBL_1: %6 = and i64 %1, 4294967295 store i32 1, i32* %storemerge4.reg2mem store i32 0, i32* %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %7 = call i64 @FUNC(i64 %5, i64 %2, i32 %storemerge4.reload) %8 = trunc i64 %7 to i32 %9 = add i32 %sv_0.03.reload, %8 %10 = add i32 %storemerge4.reload, 1 %11 = sext i32 %10 to i64 %12 = icmp sgt i64 %6, %11 store i32 %10, i32* %storemerge4.reg2mem store i32 %9, i32* %sv_0.03.reg2mem store i32 %9, i32* %sv_0.1.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %5, i64 %2, i32 0) %14 = trunc i64 %13 to i32 store i32 %14, i32* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %15 = zext i32 %sv_0.1.reload to i64 ret i64 %15 uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @bcm_rx_do_flush, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
openpic_reset_15919
openpic_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %storemerge36.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %1, 32 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -1 %7 = add i64 %1, 36 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -1 %11 = or i32 %10, %6 %12 = add i64 %1, 40 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = or i32 %11, %14 %16 = add i64 %1, 4 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %1, 8 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %1, 44 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %1, 12 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %1, 20 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %1, 16 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %1, 48 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_3, label LBL_1 LBL_1: %34 = add i64 %1, 24 %35 = inttoptr i64 %34 to i32* %36 = add i64 %1, 28 %37 = inttoptr i64 %36 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge36.reg2mem br label LBL_2 LBL_2: %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %.reload = load i64, i64* %.reg2mem %38 = load i32, i32* %35, align 4 %39 = mul i64 %.reload, 8 %40 = add i64 %39, %1 %41 = add i64 %40, 52 %42 = inttoptr i64 %41 to i32* store i32 %38, i32* %42, align 4 %43 = load i32, i32* %37, align 4 %44 = add i64 %40, 56 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = add i32 %storemerge36.reload, 1 %47 = load i32, i32* %31, align 4 %48 = zext i32 %47 to i64 %49 = sext i32 %46 to i64 %50 = icmp slt i64 %49, %48 store i64 %49, i64* %.reg2mem store i32 %46, i32* %storemerge36.reg2mem br i1 %50, label LBL_2, label LBL_3 LBL_3: store i64 0, i64* %indvars.iv7.reg2mem br label LBL_4 LBL_4: %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %51 = mul nuw nsw i64 %indvars.iv7.reload, 12 %52 = add i64 %51, %1 %53 = add i64 %52, 116 %54 = inttoptr i64 %53 to i32* store i32 15, i32* %54, align 4 %55 = add i64 %52, 120 %56 = inttoptr i64 %55 to i64* %57 = call i64* @memset(i64* %56, i32 0, i32 4) %58 = inttoptr i64 %55 to i32* store i32 -1, i32* %58, align 4 %59 = add i64 %52, 124 %60 = inttoptr i64 %59 to i64* %61 = call i64* @memset(i64* %60, i32 0, i32 4) %62 = inttoptr i64 %59 to i32* store i32 -1, i32* %62, align 4 %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %exitcond9 = icmp eq i64 %indvars.iv.next8, 8 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %exitcond9, label LBL_5, label LBL_4 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %63 = mul i64 %indvars.iv.reload, 8 %64 = add i64 %63, %1 %65 = add i64 %64, 212 %66 = inttoptr i64 %65 to i32* store i32 0, i32* %66, align 4 %67 = add i64 %64, 216 %68 = inttoptr i64 %67 to i32* store i32 0, i32* %68, align 4 %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_6, label LBL_5 LBL_6: store i32 0, i32* %2, align 4 ret i64 %1 uselistorder i64 %52, { 1, 0, 2 } uselistorder i32* %31, { 1, 0 } uselistorder i64 %1, { 4, 0, 1, 2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 7 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 8, { 3, 0, 2, 1, 4 } uselistorder i32 -1, { 2, 3, 0, 1 } uselistorder i32 0, { 6, 4, 5, 2, 3, 0, 1, 7, 8 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
postprocess_request_4233
postprocess_request
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = call i64 @FUNC() ret i64 0 }
0
BinRealVul
qemu_chr_open_pp_fd_17039
qemu_chr_open_pp_fd
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i32 (i32, i32, ...) @ioctl(i32 %0, i32 4660) %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = call i32 @close(i32 %5) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 8) %8 = trunc i64 %1 to i32 %9 = inttoptr i64 %7 to i32* store i32 %8, i32* %9, align 4 %10 = add i64 %7, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC() %13 = inttoptr i64 %12 to i64* store i64 4198790, i64* %13, align 8 %14 = add i64 %12, 8 %15 = inttoptr i64 %14 to i64* store i64 4198797, i64* %15, align 8 %16 = add i64 %12, 16 %17 = inttoptr i64 %16 to i64* store i64 4198808, i64* %17, align 8 %18 = add i64 %12, 24 %19 = inttoptr i64 %18 to i64* store i64 %7, i64* %19, align 8 store i64 %12, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } }
1
BinRealVul
download_firmware_4560
download_firmware
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64* %arg1, null br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %10 = inttoptr i64 %7 to i32* %11 = add i64 %7, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %7, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %7, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = load i32, i32* %10, align 4 %21 = bitcast i64* %sv_0 to i8* %22 = trunc i64 %arg2 to i32 %23 = urem i32 %22, 256 %24 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %21, i32 28, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i32 %20, i32 %19, i32 %16, i32 %13, i32 %23) %25 = add i64 %3, 8 %26 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 %25) ret i64 %26 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
net_enque_8725
net_enque
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = inttoptr i64 %1 to i32* %4 = trunc i64 %arg3 to i32 store i32 %4, i32* %3, align 4 %5 = icmp slt i32 %4, 257 store i32 %4, i32* %.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %3, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %6 = add i64 %1, 4 %7 = inttoptr i64 %6 to i64* %8 = call i64* @memcpy(i64* %7, i64* %arg2, i32 %.reload) %9 = call i64 @FUNC(i64 %0, i64 %1) store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
xbzrle_decode_buffer_1069
xbzrle_decode_buffer
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i32 %sv_1.010.reg2mem = alloca i32 %sv_2 = alloca i32, align 4 store i32 0, i32* %sv_2, align 4 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg4 to i32 store i32 0, i32* %sv_1.010.reg2mem store i32 0, i32* %sv_0.09.reg2mem br label LBL_2 LBL_2: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %5 = sub i32 %0, %sv_0.09.reload %6 = icmp sgt i32 %5, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_11 LBL_3: %7 = sext i32 %sv_0.09.reload to i64 %8 = add i64 %7, %3 %9 = call i64 @FUNC(i64 %8, i32* nonnull %sv_2) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_11, label LBL_4 LBL_4: %12 = icmp eq i32 %sv_0.09.reload, 0 %.pre = load i32, i32* %sv_2, align 4 %13 = icmp eq i32 %.pre, 0 %14 = icmp eq i1 %13, false %or.cond12 = or i1 %12, %14 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond12, label LBL_5, label LBL_11 LBL_5: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %15 = add i32 %sv_0.09.reload, %10 %16 = add i32 %.pre, %sv_1.010.reload %17 = icmp sle i32 %16, %4 %18 = sub i32 %0, %15 %19 = icmp sgt i32 %18, 1 %or.cond = icmp eq i1 %19, %17 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_11 LBL_6: %20 = sext i32 %15 to i64 %21 = add i64 %20, %3 %22 = call i64 @FUNC(i64 %21, i32* nonnull %sv_2) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_11, label LBL_7 LBL_7: %25 = load i32, i32* %sv_2, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %27, label LBL_8, label LBL_11 LBL_8: %28 = add i32 %15, %23 %29 = add i32 %25, %16 %30 = icmp ugt i32 %29, %4 %31 = add i32 %25, %28 %32 = icmp ugt i32 %31, %0 %or.cond7 = or i1 %30, %32 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_11, label LBL_9 LBL_9: %33 = sext i32 %28 to i64 %34 = add i64 %33, %3 %35 = sext i32 %16 to i64 %36 = add i64 %35, %2 %37 = inttoptr i64 %36 to i64* %38 = inttoptr i64 %34 to i64* %39 = call i64* @memcpy(i64* %37, i64* %38, i32 %25) %40 = load i32, i32* %sv_2, align 4 %41 = add i32 %40, %16 %42 = add i32 %40, %28 %43 = icmp slt i32 %42, %0 store i32 %41, i32* %sv_1.010.reg2mem store i32 %42, i32* %sv_0.09.reg2mem br i1 %43, label LBL_2, label LBL_10 LBL_10: %phitmp = zext i32 %41 to i64 store i64 %phitmp, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %41, { 1, 0 } uselistorder i32 %28, { 0, 2, 1 } uselistorder i32 %25, { 2, 0, 1, 3 } uselistorder i32 %16, { 0, 2, 1, 3 } uselistorder i32 %15, { 0, 2, 1 } uselistorder i32 %sv_0.09.reload, { 3, 0, 2, 1 } uselistorder i32 %0, { 4, 1, 2, 3, 0 } uselistorder i32* %sv_2, { 3, 4, 1, 0, 2, 5 } uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 3, 5, 4, 2, 1, 6, 7, 8 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64, i32*)* @uleb128_decode_small, { 1, 0 } uselistorder label LBL_11, { 8, 2, 4, 3, 1, 0, 5, 6, 7 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
update_content_info_7579
update_content_info
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_2.4.lcssa.reg2mem = alloca i32 %sv_3.3.lcssa.reg2mem = alloca i32 %sv_4.3.lcssa.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.3.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i32 %sv_4.2.reg2mem = alloca i32 %.reg2mem36 = alloca i32 %sv_4.116.reg2mem = alloca i32 %sv_3.118.reg2mem = alloca i32 %sv_1.021.reg2mem = alloca i32 %sv_4.117.reg2mem = alloca i32 %sv_3.119.reg2mem = alloca i32 %sv_2.120.reg2mem = alloca i32 %sv_1.022.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_4.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_5.023.reg2mem = alloca i64 %sv_6.024.reg2mem = alloca i64 %sv_4.325.reg2mem = alloca i32 %sv_3.327.reg2mem = alloca i32 %sv_2.428.reg2mem = alloca i32 %sv_1.229.reg2mem = alloca i32 %sv_0.231.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i64 %arg3, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_1, label LBL_3 LBL_1: %9 = trunc i64 %1 to i32 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i64 %arg4, 0 %20 = icmp eq i1 %19, false store i32 %9, i32* %sv_4.3.lcssa.reg2mem store i32 %12, i32* %sv_3.3.lcssa.reg2mem store i32 %15, i32* %sv_2.4.lcssa.reg2mem store i32 %18, i32* %sv_1.2.lcssa.reg2mem store i32 %6, i32* %sv_0.2.lcssa.reg2mem br i1 %20, label LBL_2, label LBL_42 LBL_2: %21 = bitcast i64* %arg1 to i32* %22 = add i64 %3, 4 %23 = inttoptr i64 %22 to i32* %24 = add i64 %3, 8 %25 = inttoptr i64 %24 to i32* %26 = add i64 %3, 12 %27 = inttoptr i64 %26 to i32* %28 = add i64 %3, 16 %29 = inttoptr i64 %28 to i32* %30 = add i64 %3, 20 %31 = inttoptr i64 %30 to i32* %32 = add i64 %3, 24 %33 = inttoptr i64 %32 to i32* %34 = add i64 %3, 28 %35 = inttoptr i64 %34 to i32* %36 = add i64 %3, 32 %37 = inttoptr i64 %36 to i32* %38 = add i64 %3, 36 %39 = inttoptr i64 %38 to i32* store i32 %6, i32* %sv_0.231.reg2mem store i32 %18, i32* %sv_1.229.reg2mem store i32 %15, i32* %sv_2.428.reg2mem store i32 %12, i32* %sv_3.327.reg2mem store i32 %9, i32* %sv_4.325.reg2mem store i64 %arg4, i64* %sv_6.024.reg2mem store i64 %arg3, i64* %sv_5.023.reg2mem br label LBL_5 LBL_3: %40 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_43, label LBL_4 LBL_4: %41 = bitcast i64* %arg1 to i32* store i32 1, i32* %41, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_43 LBL_5: %sv_5.023.reload = load i64, i64* %sv_5.023.reg2mem %sv_6.024.reload = load i64, i64* %sv_6.024.reg2mem %sv_4.325.reload = load i32, i32* %sv_4.325.reg2mem %sv_3.327.reload = load i32, i32* %sv_3.327.reg2mem %sv_2.428.reload = load i32, i32* %sv_2.428.reg2mem %sv_1.229.reload = load i32, i32* %sv_1.229.reg2mem %sv_0.231.reload = load i32, i32* %sv_0.231.reg2mem %42 = inttoptr i64 %sv_5.023.reload to i8* %43 = load i8, i8* %42, align 1 %44 = icmp eq i32 %sv_0.231.reload, 0 br i1 %44, label LBL_14, label LBL_6 LBL_6: %45 = icmp eq i8 %43, 10 br i1 %45, label LBL_8, label LBL_7 LBL_7: store i32 1, i32* %21, align 4 %46 = add i32 %sv_1.229.reload, 1 store i32 %46, i32* %.reg2mem br label LBL_21 LBL_8: %47 = icmp eq i32 %sv_3.327.reload, 0 br i1 %47, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* %23, align 4 br label LBL_10 LBL_10: %48 = icmp eq i32 %sv_2.428.reload, 0 br i1 %48, label LBL_12, label LBL_11 LBL_11: store i32 1, i32* %25, align 4 br label LBL_12 LBL_12: %49 = load i32, i32* %27, align 4 %50 = zext i32 %49 to i64 %51 = sext i32 %sv_1.229.reload to i64 %52 = icmp sgt i64 %51, %50 store i32 %sv_4.325.reload, i32* %sv_4.2.reg2mem store i32 0, i32* %sv_3.2.reg2mem store i32 0, i32* %sv_2.3.reg2mem store i32 0, i32* %sv_1.1.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %52, label LBL_13, label LBL_41 LBL_13: store i32 %sv_1.229.reload, i32* %27, align 4 store i32 %sv_4.325.reload, i32* %sv_4.2.reg2mem store i32 0, i32* %sv_3.2.reg2mem store i32 0, i32* %sv_2.3.reg2mem store i32 0, i32* %sv_1.1.reg2mem store i32 0, i32* %sv_0.1.reg2mem br label LBL_41 LBL_14: %53 = add i32 %sv_1.229.reload, 1 %54 = icmp eq i8 %43, 10 %55 = icmp eq i1 %54, false store i32 %53, i32* %.reg2mem br i1 %55, label LBL_21, label LBL_15 LBL_15: %56 = load i32, i32* %29, align 4 %57 = add i32 %56, 1 store i32 %57, i32* %29, align 4 %58 = icmp eq i32 %sv_3.327.reload, 0 br i1 %58, label LBL_17, label LBL_16 LBL_16: store i32 1, i32* %23, align 4 br label LBL_17 LBL_17: %59 = icmp eq i32 %sv_2.428.reload, 0 br i1 %59, label LBL_19, label LBL_18 LBL_18: store i32 1, i32* %25, align 4 br label LBL_19 LBL_19: %60 = load i32, i32* %27, align 4 %61 = zext i32 %60 to i64 %62 = sext i32 %53 to i64 %63 = icmp sgt i64 %62, %61 store i32 0, i32* %sv_1.022.reg2mem store i32 0, i32* %sv_2.120.reg2mem store i32 0, i32* %sv_3.119.reg2mem store i32 %sv_4.325.reload, i32* %sv_4.117.reg2mem br i1 %63, label LBL_20, label LBL_38.thread LBL_20: store i32 %53, i32* %27, align 4 store i32 0, i32* %sv_1.022.reg2mem store i32 0, i32* %sv_2.120.reg2mem store i32 0, i32* %sv_3.119.reg2mem store i32 %sv_4.325.reload, i32* %sv_4.117.reg2mem br label LBL_38.thread LBL_21: %.reload = load i32, i32* %.reg2mem %64 = icmp eq i8 %43, 13 %65 = icmp eq i1 %64, false br i1 %65, label LBL_23, label LBL_22 LBL_22: %66 = load i32, i32* %29, align 4 %67 = add i32 %66, 1 store i32 %67, i32* %29, align 4 store i32 1, i32* %31, align 4 store i32 %sv_4.325.reload, i32* %sv_4.2.reg2mem store i32 %sv_3.327.reload, i32* %sv_3.2.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.3.reg2mem store i32 %.reload, i32* %sv_1.1.reg2mem store i32 1, i32* %sv_0.1.reg2mem br label LBL_41 LBL_23: %68 = icmp slt i8 %43, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_25, label LBL_24 LBL_24: %70 = load i32, i32* %33, align 4 %71 = add i32 %70, 1 store i32 %71, i32* %33, align 4 store i32 %sv_4.325.reload, i32* %sv_4.1.reg2mem store i32 %sv_3.327.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.1.reg2mem br label LBL_38 LBL_25: %72 = icmp ne i8 %43, 9 %73 = icmp eq i8 %43, 12 %74 = icmp eq i1 %73, false %or.cond7 = icmp eq i1 %72, %74 br i1 %or.cond7, label LBL_27, label LBL_26 LBL_26: %75 = load i32, i32* %35, align 4 %76 = add i32 %75, 1 store i32 %76, i32* %35, align 4 %77 = add i32 %sv_3.327.reload, 1 store i32 %sv_4.325.reload, i32* %sv_4.1.reg2mem store i32 %77, i32* %sv_3.1.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.1.reg2mem br label LBL_38 LBL_27: %78 = icmp sgt i8 %43, 31 %79 = icmp eq i8 %43, 127 %80 = icmp eq i1 %79, false %or.cond9 = icmp eq i1 %78, %80 br i1 %or.cond9, label LBL_29, label LBL_28 LBL_28: %81 = load i32, i32* %37, align 4 %82 = add i32 %81, 1 store i32 %82, i32* %37, align 4 store i32 %sv_4.325.reload, i32* %sv_4.1.reg2mem store i32 %sv_3.327.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.1.reg2mem br label LBL_38 LBL_29: %83 = icmp eq i32 %sv_1.229.reload, 0 %84 = icmp eq i1 %83, false br i1 %84, label LBL_31, label LBL_30 LBL_30: %85 = icmp eq i8 %43, 70 %. = zext i1 %85 to i32 %86 = icmp eq i8 %43, 46 %.10 = zext i1 %86 to i32 store i32 %., i32* %sv_4.0.reg2mem store i32 %.10, i32* %sv_2.0.reg2mem br label LBL_37 LBL_31: %87 = icmp eq i32 %sv_4.325.reload, 0 store i32 0, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br i1 %87, label LBL_37, label LBL_32 LBL_32: %88 = icmp eq i32 %.reload, 2 %89 = icmp eq i1 %88, false %90 = icmp eq i8 %43, 114 %or.cond = or i1 %90, %89 store i32 0, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br i1 %or.cond, label LBL_33, label LBL_37 LBL_33: %91 = icmp eq i32 %.reload, 3 %92 = icmp eq i1 %91, false %93 = icmp eq i8 %43, 111 %or.cond3 = or i1 %93, %92 store i32 0, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br i1 %or.cond3, label LBL_34, label LBL_37 LBL_34: %94 = icmp eq i32 %.reload, 4 %95 = icmp eq i1 %94, false store i32 %sv_4.325.reload, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br i1 %95, label LBL_37, label LBL_35 LBL_35: %96 = icmp eq i8 %43, 109 %97 = icmp eq i1 %96, false store i32 0, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br i1 %97, label LBL_37, label LBL_36 LBL_36: store i32 1, i32* %39, align 4 store i32 0, i32* %sv_4.0.reg2mem store i32 %sv_2.428.reload, i32* %sv_2.0.reg2mem br label LBL_37 LBL_37: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %98 = icmp eq i8 %43, 32 %99 = zext i1 %98 to i32 %spec.select = add i32 %sv_3.327.reload, %99 %100 = load i32, i32* %35, align 4 %101 = add i32 %100, 1 store i32 %101, i32* %35, align 4 store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i32 %spec.select, i32* %sv_3.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem br label LBL_38 LBL_38: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %102 = icmp slt i32 %.reload, 2 store i32 %.reload, i32* %sv_1.022.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.120.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.119.reg2mem store i32 %sv_4.1.reload, i32* %sv_4.117.reg2mem store i32 %.reload, i32* %sv_1.021.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.118.reg2mem store i32 %sv_4.1.reload, i32* %sv_4.116.reg2mem store i32 0, i32* %.reg2mem36 br i1 %102, label LBL_38.thread, label %103 LBL_39: %sv_4.117.reload = load i32, i32* %sv_4.117.reg2mem %sv_3.119.reload = load i32, i32* %sv_3.119.reg2mem %sv_2.120.reload = load i32, i32* %sv_2.120.reg2mem %sv_1.022.reload = load i32, i32* %sv_1.022.reg2mem store i32 %sv_1.022.reload, i32* %sv_1.021.reg2mem store i32 %sv_3.119.reload, i32* %sv_3.118.reg2mem store i32 %sv_4.117.reload, i32* %sv_4.116.reg2mem store i32 %sv_2.120.reload, i32* %.reg2mem36 br label %103 LBL_40: store i32 %sv_4.116.reload, i32* %sv_4.2.reg2mem store i32 0, i32* %sv_3.2.reg2mem store i32 %.reload37, i32* %sv_2.3.reg2mem store i32 %sv_1.021.reload, i32* %sv_1.1.reg2mem store i32 0, i32* %sv_0.1.reg2mem br label LBL_41 LBL_41: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem %sv_4.2.reload = load i32, i32* %sv_4.2.reg2mem %104 = add i64 %sv_5.023.reload, 1 %105 = add i64 %sv_6.024.reload, -1 %106 = icmp eq i64 %105, 0 %107 = icmp eq i1 %106, false store i32 %sv_0.1.reload, i32* %sv_0.231.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.229.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.428.reg2mem store i32 %sv_3.2.reload, i32* %sv_3.327.reg2mem store i32 %sv_4.2.reload, i32* %sv_4.325.reg2mem store i64 %105, i64* %sv_6.024.reg2mem store i64 %104, i64* %sv_5.023.reg2mem store i32 %sv_4.2.reload, i32* %sv_4.3.lcssa.reg2mem store i32 %sv_3.2.reload, i32* %sv_3.3.lcssa.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.4.lcssa.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %107, label LBL_5, label LBL_42 LBL_42: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %sv_2.4.lcssa.reload = load i32, i32* %sv_2.4.lcssa.reg2mem %sv_3.3.lcssa.reload = load i32, i32* %sv_3.3.lcssa.reg2mem %sv_4.3.lcssa.reload = load i32, i32* %sv_4.3.lcssa.reg2mem %108 = bitcast i64* %arg2 to i32* store i32 %sv_4.3.lcssa.reload, i32* %108, align 4 store i32 %sv_3.3.lcssa.reload, i32* %11, align 4 store i32 %sv_2.4.lcssa.reload, i32* %14, align 4 store i32 %sv_1.2.lcssa.reload, i32* %17, align 4 store i32 %sv_0.2.lcssa.reload, i32* %5, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_43 LBL_43: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.021.reload, { 1, 0, 2 } uselistorder i32 %sv_4.116.reload, { 1, 0, 2 } uselistorder i32 %.reload37, { 1, 0, 2 } uselistorder i32 %.reload, { 1, 2, 6, 5, 4, 3, 0 } uselistorder i32 %53, { 2, 1, 0 } uselistorder i8 %43, { 1, 6, 13, 12, 11, 5, 14, 2, 0, 3, 10, 9, 8, 7, 4 } uselistorder i32 %sv_1.229.reload, { 4, 3, 2, 1, 0 } uselistorder i32 %sv_2.428.reload, { 5, 4, 8, 6, 7, 9, 2, 3, 1, 0, 11, 10 } uselistorder i32 %sv_3.327.reload, { 6, 2, 5, 1, 0, 4, 3 } uselistorder i32 %sv_4.325.reload, { 8, 9, 6, 7, 5, 2, 3, 4, 0, 1 } uselistorder i32* %35, { 1, 0, 2, 3 } uselistorder i32* %29, { 1, 0, 2, 3 } uselistorder i32* %27, { 1, 0, 2, 3 } uselistorder i32 %18, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i32 %6, { 2, 1, 0 } uselistorder i64 %3, { 0, 7, 8, 9, 6, 5, 4, 3, 2, 1 } uselistorder i64 %2, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_0.231.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.229.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.428.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.327.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.325.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_6.024.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.023.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 1, 6, 3, 4, 7, 5 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1, 6, 3, 4, 7, 5 } uselistorder i32* %sv_4.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_1.022.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_2.120.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_3.119.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_4.117.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_1.021.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.118.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.116.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem36, { 0, 2, 1 } uselistorder i32* %sv_4.2.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i32* %sv_3.2.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i32* %sv_2.3.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i32* %sv_1.1.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 11, 3, 4, 5, 6, 7, 1, 2, 8, 9, 10, 0, 12 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_43, { 2, 1, 0 } uselistorder label LBL_41, { 4, 0, 1, 5, 2, 3 } uselistorder label %103, { 1, 0 } uselistorder label LBL_38.thread, { 2, 0, 1 } uselistorder label LBL_37, { 1, 0, 5, 2, 3, 6, 4 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
new_node_page_4470
new_node_page
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
ff_jref_idct_put_423
ff_jref_idct_put
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0, i64 %1, i64 %arg2) ret i64 %3 }
0
BinRealVul
ppc_cpu_get_phys_page_debug_14790
ppc_cpu_get_phys_page_debug
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i32 %3, -5 %5 = icmp ult i32 %4, 2 br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 %1, i64 %arg2) store i64 %6, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %7 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 %arg2, i64 0, i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 %arg2, i64 0, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = icmp eq i1 %15, false store i64 -1, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = load i64, i64* %sv_0, align 8 %18 = and i64 %17, -4096 store i64 %18, 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 %1, { 0, 2, 1, 3 } uselistorder i64* %sv_0, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 0, 2, 1, 3 } uselistorder i64 (i64, i64*, i64, i64, i64)* @get_physical_address, { 1, 0 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
pcntl_signal_handler_6302
pcntl_signal_handler
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32* %sv_0 = alloca i32*, align 8 %0 = load i32*, i32** @gv_0, align 8 %1 = ptrtoint i32* %0 to i64 store i32* %0, i32** %sv_0, align 8 %2 = icmp eq i32* %0, null store i64 %1, i64* %rax.0.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* store i32* %6, i32** @gv_0, align 8 %7 = trunc i64 %arg1 to i32 store i32 %7, i32* %0, align 4 store i64 0, i64* %4, align 8 %8 = load i32*, i32** @gv_1, align 8 %9 = icmp eq i32* %8, null %10 = load i32*, i32** @gv_2, align 8 %11 = icmp eq i32* %10, null %or.cond = or i1 %9, %11 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %12 = ptrtoint i32* %10 to i64 %13 = load i32*, i32** %sv_0, align 8 %14 = ptrtoint i32* %13 to i64 %15 = add i64 %12, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %.pre = load i32*, i32** %sv_0, align 8 store i32* %.pre, i32** %.reg2mem br label LBL_4 LBL_3: %17 = load i32*, i32** %sv_0, align 8 %18 = ptrtoint i32* %17 to i64 store i64 %18, i64* bitcast (i32** @gv_1 to i64*), align 8 store i32* %17, i32** %.reg2mem br label LBL_4 LBL_4: %.reload = load i32*, i32** %.reg2mem %19 = ptrtoint i32* %.reload to i64 store i32* %.reload, i32** @gv_2, align 8 store i32 1, i32* @gv_3, align 4 store i64 %19, 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 %1, { 1, 0 } uselistorder i32** %sv_0, { 0, 1, 3, 2 } uselistorder i32** %.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
imsg_get_4537
imsg_get
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = icmp ugt i64* %arg1, inttoptr (i64 15 to i64*) store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_13 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %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 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %5 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %arg2, align 8 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i64* store i64 %8, i64* %12, align 8 %13 = icmp ugt i64* %arg2, inttoptr (i64 15 to i64*) %14 = icmp ult i64* %arg2, inttoptr (i64 4097 to i64*) %or.cond = icmp eq i1 %13, %14 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %15 = call i32* @__errno_location() store i32 34, i32* %15, align 4 store i64 -1, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %16 = icmp ult i64* %arg1, %arg2 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_13 LBL_4: %18 = add i64 %1, -16 %19 = trunc i64 %18 to i32 %20 = load i64, i64* %4, align 8 %21 = add i64 %20, 16 %22 = add i64 %2, 16 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = icmp eq i64 %18, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 br label LBL_7 LBL_6: %28 = call i64* @malloc(i32 %19) %29 = ptrtoint i64* %28 to i64 %30 = add i64 %1, 16 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = icmp eq i64* %28, null %33 = icmp eq i1 %32, false store i64 -1, i64* %rax.0.reg2mem br i1 %33, label LBL_7, label LBL_13 LBL_7: %34 = inttoptr i64 %11 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 2 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_9, label LBL_8 LBL_8: %38 = call i64 @FUNC(i64 %2) %39 = trunc i64 %38 to i32 %40 = add i64 %1, 24 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 br label LBL_10 LBL_9: %42 = add i64 %1, 24 %43 = inttoptr i64 %42 to i32* store i32 -1, i32* %43, align 4 br label LBL_10 LBL_10: %44 = load i64, i64* %23, align 8 %45 = add i64 %1, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i64* %49 = inttoptr i64 %44 to i64* %50 = call i64* @memcpy(i64* %48, i64* %49, i32 %19) %51 = icmp ult i64 %44, %2 store i64 0, i64* %storemerge.reg2mem br i1 %51, label LBL_11, label LBL_12 LBL_11: %52 = sub i64 %2, %44 %53 = load i64, i64* %4, align 8 %54 = add i64 %53, %44 %55 = inttoptr i64 %54 to i64* %56 = trunc i64 %52 to i32 %57 = call i64* @memmove(i64* nonnull %4, i64* %55, i32 %56) store i64 %52, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %arg1, align 8 %sext = mul i64 %18, 4294967296 %58 = ashr exact i64 %sext, 32 %59 = add nsw i64 %58, 16 store i64 %59, 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 %44, { 0, 2, 1, 3 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %4, { 1, 0, 2, 3 } uselistorder i64 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 2, 3, 1, 4, 0, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i64* %arg1, { 0, 1, 3, 2 } uselistorder label LBL_13, { 3, 0, 1, 4, 2 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
update_exception_bitmap_11074
update_exception_bitmap
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = urem i64 %1, 4 %3 = icmp eq i64 %2, 3 %4 = icmp eq i1 %3, false %spec.select = select i1 %4, i32 16582, i32 16590 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %sv_0.1 = select i1 %10, i32 %spec.select, i32 -1 %11 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %12 = icmp eq i32 %11, 0 %13 = and i32 %sv_0.1, -16385 %spec.select2 = select i1 %12, i32 %sv_0.1, i32 %13 %14 = add i64 %5, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = and i32 %spec.select2, -5 %sv_0.3 = select i1 %17, i32 %spec.select2, i32 %18 %19 = call i64 @FUNC(i64 %5) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i32 %sv_0.3, i32* %sv_0.4.reg2mem br i1 %21, label LBL_2, label LBL_1 LBL_1: %22 = call i64 @FUNC(i64 %5) %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, %sv_0.3 store i32 %25, i32* %sv_0.4.reg2mem br label LBL_2 LBL_2: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %26 = zext i32 %sv_0.4.reload to i64 %27 = call i64 @FUNC(i64 0, i64 %26) ret i64 %27 uselistorder i32 %sv_0.3, { 1, 0 } uselistorder i64 4, { 1, 2, 0 } }
1
BinRealVul
get_unused_buffer_1535
get_unused_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false store i64 %arg3, i64* %sv_0.01.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %3 = icmp ult i64 %sv_0.01.reload, 1024 %4 = select i1 %3, i64 %sv_0.01.reload, i64 1024 %5 = trunc i64 %4 to i32 %6 = sub i64 %sv_0.01.reload, %4 %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i32 %5) %8 = icmp eq i64 %6, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %sv_0.01.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_2: ret i64 0 uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
swiotlb_print_info_6719
swiotlb_print_info
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) store i64 %2, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %3 = load i64, i64* @gv_1, align 8 %4 = udiv i64 %3, 256 %5 = and i64 %4, 17592186044415 %6 = load i64, i64* @gv_2, align 8 %7 = load i64, i64* @gv_3, align 8 %8 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %7, i64 %6, i64 %5) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
changedline_11176
changedline
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = sext i32 %arg3 to i64 store i64 %1, i64* %sv_0.0.reg2mem br label LBL_3 LBL_1: %3 = mul i64 %sv_0.0.reload, 4294967296 %sext3 = add i64 %3, 4294967296 %4 = ashr exact i64 %sext3, 32 %5 = ashr exact i64 %sext3, 30 %6 = add i64 %5, %0 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 store i64 %4, i64* %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add nsw i64 %4, 4294967295 %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %0, i64 %11) %13 = trunc i64 %12 to i32 %14 = zext i32 %arg3 to i64 %15 = call i64 @FUNC(i64 %0, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %13, %16 %18 = icmp eq i1 %17, false %19 = zext i1 %18 to i64 store i64 %19, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = and i64 %sv_0.0.reload, 4294967295 %21 = icmp slt i64 %20, %2 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_1, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @luaG_getfuncline, { 1, 0 } uselistorder i64 4294967296, { 3, 0, 1, 2 } }
1
BinRealVul
readwbmp_18804
readwbmp
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.311.reg2mem = alloca i32 %storemerge12.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i32 %sv_0.2.lcssa.reg2mem = alloca i32 %.reg2mem21 = alloca i32 %.reg2mem19 = alloca i32 %.reg2mem17 = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i32 %storemerge48.reg2mem = alloca i32 %.reg2mem15 = alloca i32 %sv_0.29.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 24) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_25 LBL_1: %3 = inttoptr i64 %0 to i32* %4 = trunc i64 %arg2 to i32 store i32 %4, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64 %arg2) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_25 LBL_4: %10 = call i64 @FUNC(i64 %arg1, i64 %arg2) %11 = trunc i64 %10 to i32 %12 = add i64 %0, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = icmp eq i32 %11, -1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_6: %17 = call i64 @FUNC(i64 %arg1, i64 %arg2) %18 = trunc i64 %17 to i32 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = icmp eq i32 %18, -1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_8: %24 = and i64 %17, 4294967295 %25 = load i32, i32* %13, align 4 %26 = zext i32 %25 to i64 %27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %24) %28 = load i32, i32* %13, align 4 %29 = sext i32 %28 to i64 %30 = call i64 @FUNC(i64 4, i64 %29) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = load i32, i32* %20, align 4 %35 = sext i32 %34 to i64 %36 = load i32, i32* %13, align 4 %37 = sext i32 %36 to i64 %38 = mul i64 %37, 4 %39 = call i64 @FUNC(i64 %38, i64 %35) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_11: %43 = load i32, i32* %13, align 4 %44 = load i32, i32* %20, align 4 %45 = sext i32 %44 to i64 %46 = sext i32 %43 to i64 %47 = mul nsw i64 %45, %46 %48 = call i64 @FUNC(i64 %47, i64 4, i64 0) %49 = add i64 %0, 16 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = icmp eq i64 %48, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_13, label LBL_12 LBL_12: %53 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_13: %54 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) %55 = load i32, i32* %20, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_24, label LBL_14 LBL_14: %sext = mul i64 %arg2, 4294967296 %57 = ashr exact i64 %sext, 32 %58 = trunc i64 %57 to i32 %.pre = load i32, i32* %13, align 4 store i32 %55, i32* %.reg2mem23 store i32 %.pre, i32* %.reg2mem25 store i32 %.pre, i32* %.reg2mem27 store i32 0, i32* %storemerge12.reg2mem store i32 0, i32* %sv_0.311.reg2mem br label LBL_23 LBL_15: %sv_0.29.reload = load i32, i32* %sv_0.29.reg2mem %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %indvars.iv.reload = load i32, i32* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem15 store i32 7, i32* %storemerge48.reg2mem store i32 %sv_1.110.reload, i32* %sv_1.07.reg2mem store i32 %sv_0.29.reload, i32* %sv_0.16.reg2mem br label LBL_16 LBL_16: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %.reload16 = load i32, i32* %.reg2mem15 %59 = icmp ult i32 %sv_1.07.reload, %.reload16 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %59, label LBL_17, label LBL_18 LBL_17: %60 = icmp eq i32 %storemerge48.reload, 0 %61 = lshr i32 %58, %storemerge48.reload %62 = zext i32 %61 to i64 %storemerge3 = select i1 %60, i64 %57, i64 %62 %63 = urem i64 %storemerge3, 2 %64 = icmp ne i64 %63, 0 %65 = load i64, i64* %50, align 8 %66 = sext i32 %sv_0.16.reload to i64 %67 = mul i64 %66, 4 %68 = add i64 %65, %67 %69 = inttoptr i64 %68 to i32* %. = zext i1 %64 to i32 store i32 %., i32* %69, align 4 %70 = add i32 %sv_0.16.reload, 1 store i32 %70, i32* %sv_0.0.reg2mem br label LBL_18 LBL_18: %71 = add i32 %sv_1.07.reload, 1 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %exitcond = icmp eq i32 %71, %indvars.iv.reload br i1 %exitcond, label LBL_20, label LBL_18.LBL_16_crit_edge LBL_19: %72 = add nsw i32 %storemerge48.reload, -1 %.pre13 = load i32, i32* %13, align 4 store i32 %.pre13, i32* %.reg2mem15 store i32 %72, i32* %storemerge48.reg2mem store i32 %71, i32* %sv_1.07.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem br label LBL_16 LBL_20: %73 = add i32 %sv_1.110.reload, 8 %74 = load i32, i32* %13, align 4 %75 = zext i32 %74 to i64 %76 = sext i32 %73 to i64 %77 = icmp slt i64 %76, %75 %indvars.iv.next = add i32 %indvars.iv.reload, 8 store i32 %74, i32* %.reg2mem store i32 %indvars.iv.next, i32* %indvars.iv.reg2mem store i32 %73, i32* %sv_1.110.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.29.reg2mem br i1 %77, label LBL_15, label LBL_21 LBL_21: %.pre14 = load i32, i32* %20, align 4 store i32 %.pre14, i32* %.reg2mem17 store i32 %74, i32* %.reg2mem19 store i32 %74, i32* %.reg2mem21 store i32 %sv_0.0.reload, i32* %sv_0.2.lcssa.reg2mem br label LBL_22 LBL_22: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %.reload22 = load i32, i32* %.reg2mem21 %.reload20 = load i32, i32* %.reg2mem19 %.reload18 = load i32, i32* %.reg2mem17 %78 = add i32 %storemerge12.reload, 1 %79 = zext i32 %.reload18 to i64 %80 = sext i32 %78 to i64 %81 = icmp slt i64 %80, %79 store i32 %.reload18, i32* %.reg2mem23 store i32 %.reload20, i32* %.reg2mem25 store i32 %.reload22, i32* %.reg2mem27 store i32 %78, i32* %storemerge12.reg2mem store i32 %sv_0.2.lcssa.reload, i32* %sv_0.311.reg2mem br i1 %81, label LBL_23, label LBL_24 LBL_23: %sv_0.311.reload = load i32, i32* %sv_0.311.reg2mem %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %.reload26 = load i32, i32* %.reg2mem25 %.reload24 = load i32, i32* %.reg2mem23 %82 = icmp eq i32 %.reload28, 0 store i32 %.reload26, i32* %.reg2mem store i32 8, i32* %indvars.iv.reg2mem store i32 0, i32* %sv_1.110.reg2mem store i32 %sv_0.311.reload, i32* %sv_0.29.reg2mem store i32 %.reload24, i32* %.reg2mem17 store i32 %.reload26, i32* %.reg2mem19 store i32 0, i32* %.reg2mem21 store i32 %sv_0.311.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %82, label LBL_22, label LBL_15 LBL_24: store i64 %0, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload26, { 1, 0 } uselistorder i32 %sv_0.311.reload, { 1, 0 } uselistorder i32 %sv_0.16.reload, { 1, 2, 0 } uselistorder i32 %sv_1.110.reload, { 1, 0 } uselistorder i32* %13, { 2, 0, 1, 3, 4, 5, 6, 7 } uselistorder i32* %.reg2mem, { 1, 2, 0 } uselistorder i32* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.110.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.29.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem15, { 1, 0, 2 } uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.07.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem17, { 1, 0, 2 } uselistorder i32* %.reg2mem19, { 1, 0, 2 } uselistorder i32* %.reg2mem21, { 1, 0, 2 } uselistorder i32* %sv_0.2.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 8, 5, 4, 1, 3, 2 } uselistorder i64 (i64, i64)* @overflow2, { 1, 0 } uselistorder i64 4, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @getmbi, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 6, 0, 1, 5, 7, 8, 9, 10 } uselistorder i64 4294967295, { 5, 6, 7, 4, 3, 0, 2, 1 } uselistorder label LBL_25, { 2, 3, 4, 5, 6, 0, 7, 1 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_18, { 1, 0 } }
1
BinRealVul
tee_user_mem_alloc_5935
tee_user_mem_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i32 %0, -1 %3 = icmp ult i32 %2, 2 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = trunc i64 %1 to i32 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i32 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %7 = add i64 %arg1, 8 %8 = icmp ugt i64 %7, ashr (i64 add (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 lshr (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 63)), i64 1) %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_10 LBL_3: %10 = trunc i64 %arg1 to i32 %11 = call i64* @malloc(i32 %10) %12 = ptrtoint i64* %11 to i64 %13 = add i64 %12, %arg1 %14 = icmp ugt i64 %13, add (i64 ashr (i64 add (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 lshr (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 63)), i64 1), i64 ptrtoint (i64* @gv_3 to i64)) %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: call void @free(i64* %11) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %16 = icmp eq i64* %11, null %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_6, label LBL_10 LBL_6: %18 = trunc i64 %1 to i32 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64* @memset(i64* %11, i32 0, i32 %10) br label LBL_8 LBL_8: %22 = icmp eq i32 %18, 2 %23 = icmp eq i1 %22, false store i64 %12, i64* %rax.0.reg2mem br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i64* @memset(i64* %11, i32 187, i32 %10) store i64 %12, 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 %12, { 1, 0, 2 } uselistorder i64* %11, { 0, 3, 1, 2, 4 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 6, 4, 5 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 ashr (i64 add (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 lshr (i64 sub (i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint (i64* @gv_3 to i64)), i64 63)), i64 1), { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1 } uselistorder label LBL_10, { 1, 0, 2, 4, 3, 5 } }
0
BinRealVul
cirrus_vga_load_1729
cirrus_vga_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp slt i32 %0, 3 store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg2, null %5 = icmp ne i32 %0, 2 %or.cond = or i1 %4, %5 br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %2, i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %11 = add i64 %2, 8 %12 = call i64 @FUNC(i64 %3, i64 %11) %13 = add i64 %2, 12 %14 = call i64 @FUNC(i64 %3, i64 %13) %15 = add i64 %2, 13 %16 = call i64 @FUNC(i64 %3, i64 %15, i64 256) %17 = add i64 %2, 269 %18 = call i64 @FUNC(i64 %3, i64 %17) %19 = add i64 %2, 270 %20 = call i64 @FUNC(i64 %3, i64 %19) %21 = add i64 %2, 271 %22 = call i64 @FUNC(i64 %3, i64 %21) %23 = inttoptr i64 %19 to i8* %24 = load i8, i8* %23, align 1 %25 = urem i8 %24, 16 %26 = add i64 %2, 272 %27 = inttoptr i64 %26 to i8* store i8 %25, i8* %27, align 1 %28 = inttoptr i64 %21 to i8* %29 = load i8, i8* %28, align 1 %30 = urem i8 %29, 16 %31 = add i64 %2, 273 %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %33 = add i64 %2, 274 %34 = call i64 @FUNC(i64 %3, i64 %33, i64 254) %35 = add i64 %2, 528 %36 = call i64 @FUNC(i64 %3, i64 %35) %37 = add i64 %2, 529 %38 = call i64 @FUNC(i64 %3, i64 %37, i64 21) %39 = call i64 @FUNC(i64 %3) %40 = trunc i64 %39 to i32 %41 = add i64 %2, 552 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = add i64 %2, 556 %44 = call i64 @FUNC(i64 %3, i64 %43) %45 = add i64 %2, 557 %46 = call i64 @FUNC(i64 %3, i64 %45, i64 256) %47 = add i64 %2, 813 %48 = call i64 @FUNC(i64 %3, i64 %47) %49 = add i64 %2, 814 %50 = call i64 @FUNC(i64 %3, i64 %49) %51 = add i64 %2, 815 %52 = call i64 @FUNC(i64 %3, i64 %51) %53 = add i64 %2, 816 %54 = call i64 @FUNC(i64 %3, i64 %53) %55 = add i64 %2, 817 %56 = call i64 @FUNC(i64 %3, i64 %55) %57 = add i64 %2, 818 %58 = call i64 @FUNC(i64 %3, i64 %57) %59 = add i64 %2, 819 %60 = call i64 @FUNC(i64 %3, i64 %59) %61 = add i64 %2, 820 %62 = call i64 @FUNC(i64 %3, i64 %61) %63 = add i64 %2, 821 %64 = call i64 @FUNC(i64 %3, i64 %63, i64 3) %65 = add i64 %2, 824 %66 = call i64 @FUNC(i64 %3, i64 %65, i64 768) %67 = call i64 @FUNC(i64 %3) %68 = trunc i64 %67 to i32 %69 = add i64 %2, 1592 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = add i64 %2, 1596 %72 = call i64 @FUNC(i64 %3, i64 %71) %73 = add i64 %2, 1597 %74 = call i64 @FUNC(i64 %3, i64 %73) %75 = add i64 %2, 1600 %76 = call i64 @FUNC(i64 %3, i64 %75) %77 = add i64 %2, 1604 %78 = call i64 @FUNC(i64 %3, i64 %77) %79 = call i64 @FUNC(i64 %2) %80 = call i64 @FUNC(i64 %2) %81 = add i64 %2, 1608 %82 = inttoptr i64 %81 to i32* store i32 1, i32* %82, align 4 %83 = call i64 @FUNC(i64 %2, i64 0) %84 = call i64 @FUNC(i64 %2, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @cirrus_update_bank_ptr, { 1, 0 } uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @qemu_get_buffer, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_8s, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_be32s, { 2, 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
lpfc_sli4_cq_release_3917
lpfc_sli4_cq_release
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %rdi.04.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_8 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %5, %8 %10 = icmp eq i1 %9, false store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i32* store i32 %8, i32* %.reg2mem store i64 %2, i64* %rdi.04.reg2mem store i32 0, i32* %sv_0.03.reg2mem br label LBL_3 LBL_3: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %rdi.04.reload = load i64, i64* %rdi.04.reg2mem %.reload = load i32, i32* %.reg2mem %13 = zext i32 %.reload to i64 %14 = mul i64 %13, 8 %15 = add i64 %14, %rdi.04.reload %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 0, i64 %17, i64 0) %19 = add i32 %sv_0.03.reload, 1 %20 = load i32, i32* %7, align 4 %21 = add i32 %20, 1 %22 = load i32, i32* %12, align 4 %23 = urem i32 %21, %22 store i32 %23, i32* %7, align 4 %24 = load i32, i32* %4, align 4 %25 = icmp eq i32 %24, %23 %26 = icmp eq i1 %25, false store i32 %23, i32* %.reg2mem store i64 0, i64* %rdi.04.reg2mem store i32 %19, i32* %sv_0.03.reg2mem store i32 %19, i32* %sv_0.0.lcssa.reg2mem br i1 %26, label LBL_3, label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %27 = icmp eq i32 %sv_0.0.lcssa.reload, 0 %28 = icmp eq i1 %27, false %sext.mask = urem i64 %arg2, 256 %29 = icmp eq i64 %sext.mask, 1 %or.cond = or i1 %29, %28 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_8 LBL_5: store i32 0, i32* %sv_1, align 4 %30 = trunc i64 %arg2 to i8 %31 = icmp eq i8 %30, 0 br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 1, i32* nonnull %sv_1, i64 1) br label LBL_7 LBL_7: %33 = zext i32 %sv_0.0.lcssa.reload to i64 %34 = call i64 @FUNC(i64 2, i32* nonnull %sv_1, i64 %33) %35 = call i64 @FUNC(i64 3, i32* nonnull %sv_1, i64 0) %36 = add i64 %2, 32 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 4, i32* nonnull %sv_1, i64 %39) %41 = add i64 %2, 24 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = load i32, i32* %sv_1, align 4 %47 = zext i32 %45 to i64 %48 = zext i32 %46 to i64 %49 = call i64 @FUNC(i64 %48, i64 %47) store i64 %33, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %7, { 2, 1, 0 } uselistorder i32* %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3, 5, 4 } uselistorder i32* %sv_1, { 4, 0, 1, 2, 3, 5 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.04.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i32*, i64)* @bf_set, { 3, 2, 1, 0 } uselistorder i32 0, { 2, 3, 1, 0 } uselistorder i1 false, { 1, 3, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
check_tm_pred8x8_mode_16344
check_tm_pred8x8_mode
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i32 %arg3, 0 %. = select i1 %4, i64 2, i64 1 %.2 = select i1 %4, i64 3, i64 %0 %rax.0 = select i1 %3, i64 %.2, i64 %. ret i64 %rax.0 }
1
BinRealVul
ehci_shutdown_3781
ehci_shutdown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = xor i8 %3, 1 %5 = zext i8 %4 to i64 %6 = icmp eq i8 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %1, 12 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %1, 1 %11 = inttoptr i64 %10 to i8* store i8 1, i8* %11, align 1 %12 = add i64 %1, 4 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = call i64 @FUNC(i64 %8) %17 = call i64 @FUNC(i64 %1) %18 = add i64 %1, 16 %19 = call i64 @FUNC(i64 %18) store i64 %19, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2, 3, 5, 4, 6 } uselistorder i8 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
CheckMov_10965
CheckMov
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 8 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_35 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = icmp sgt i64 %sext, 34359738368 store i32 0, i32* %storemerge5.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_35 LBL_2: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %5 = sext i32 %storemerge5.reload to i64 %6 = add i64 %5, %2 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %6, 4 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 1937013104 br i1 %11, label LBL_29, label LBL_3 LBL_3: %12 = icmp ult i32 %10, 1937013105 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_35 LBL_4: %13 = icmp eq i32 %10, 1936943480 br i1 %13, label LBL_29, label LBL_5 LBL_5: %14 = icmp ult i32 %10, 1936943481 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_35 LBL_6: %15 = icmp eq i32 %10, 1936419184 br i1 %15, label LBL_29, label LBL_7 LBL_7: %16 = icmp ult i32 %10, 1936419185 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_8, label LBL_35 LBL_8: %17 = icmp eq i32 %10, 1936286840 br i1 %17, label LBL_29, label LBL_9 LBL_9: %18 = icmp ult i32 %10, 1936286841 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_10, label LBL_35 LBL_10: %19 = icmp eq i32 %10, 1886545524 br i1 %19, label LBL_29, label LBL_11 LBL_11: %20 = icmp ult i32 %10, 1886545525 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_12, label LBL_35 LBL_12: %21 = icmp eq i32 %10, 1885628782 br i1 %21, label LBL_29, label LBL_13 LBL_13: %22 = icmp ult i32 %10, 1885628783 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_14, label LBL_35 LBL_14: %23 = icmp eq i32 %10, 1836019574 br i1 %23, label LBL_29, label LBL_15 LBL_15: %24 = icmp ult i32 %10, 1836019575 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_16, label LBL_35 LBL_16: %25 = icmp eq i32 %10, 1836019558 br i1 %25, label LBL_29, label LBL_17 LBL_17: %26 = icmp ult i32 %10, 1836019559 store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_18, label LBL_35 LBL_18: %27 = icmp eq i32 %10, 1835430497 br i1 %27, label LBL_29, label LBL_19 LBL_19: %28 = icmp ult i32 %10, 1835430498 store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_20, label LBL_35 LBL_20: %29 = icmp eq i32 %10, 1835365473 br i1 %29, label LBL_29, label LBL_21 LBL_21: %30 = icmp ult i32 %10, 1835365474 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_22, label LBL_35 LBL_22: %31 = icmp eq i32 %10, 1835361135 br i1 %31, label LBL_29, label LBL_23 LBL_23: %32 = icmp ult i32 %10, 1835361136 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_24, label LBL_35 LBL_24: %33 = icmp eq i32 %10, 1835295092 br i1 %33, label LBL_29, label LBL_25 LBL_25: %34 = icmp ult i32 %10, 1835295093 store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_26, label LBL_35 LBL_26: %35 = icmp eq i32 %10, 1718909296 br i1 %35, label LBL_29, label LBL_27 LBL_27: %36 = icmp ult i32 %10, 1718909297 store i64 0, i64* %rax.0.reg2mem br i1 %36, label LBL_28, label LBL_35 LBL_28: store i64 0, i64* %rax.0.reg2mem switch i32 %10, label LBL_35 [ i32 1718773093, label LBL_29 i32 1651273571, label LBL_29 ] LBL_29: %37 = trunc i64 %7 to i32 %38 = icmp eq i32 %37, 1 %39 = icmp eq i1 %38, false store i32 %37, i32* %sv_0.0.reg2mem br i1 %39, label LBL_33, label LBL_30 LBL_30: %40 = add i32 %storemerge5.reload, 15 %41 = zext i32 %40 to i64 %42 = icmp sgt i64 %3, %41 store i64 1, i64* %rax.0.reg2mem br i1 %42, label LBL_31, label LBL_35 LBL_31: %43 = add i64 %6, 8 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_35, label LBL_32 LBL_32: %48 = add i64 %6, 12 %49 = call i64 @FUNC(i64 %48) %50 = trunc i64 %49 to i32 store i32 %50, i32* %sv_0.0.reg2mem br label LBL_33 LBL_33: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = icmp slt i32 %sv_0.0.reload, 1 store i64 1, i64* %rax.0.reg2mem br i1 %51, label LBL_35, label LBL_34 LBL_34: %52 = add i32 %sv_0.0.reload, %storemerge5.reload %53 = add i32 %52, 8 %54 = zext i32 %53 to i64 %55 = icmp sgt i64 %3, %54 store i32 %52, i32* %storemerge5.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %55, label LBL_2, label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32 %storemerge5.reload, { 2, 0, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 18, 15, 16, 17, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19, 20 } uselistorder i64 (i64)* @Read32, { 3, 2, 1, 0 } uselistorder i64 1, { 3, 0, 1, 2, 4, 5 } uselistorder i32 0, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder label LBL_35, { 17, 14, 15, 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18, 19 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
make_argv_19160
make_argv
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.09.reg2mem = alloca i64 %sv_1.010.in.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %arg1 to i8* store i8 0, i8* %3, align 1 %storemerge7 = add i32 %arg3, -1 %4 = icmp sgt i32 %storemerge7, 0 %5 = icmp eq i64 %arg2, 0 %6 = icmp eq i1 %5, false %or.cond8 = icmp eq i1 %6, %4 br i1 %or.cond8, label LBL_1, label LBL_3 LBL_1: %7 = add i64 %2, %arg2 store i32 %storemerge7, i32* %storemerge11.reg2mem store i64 %arg4, i64* %sv_1.010.in.reg2mem store i64 %arg2, i64* %sv_0.09.reg2mem br label LBL_2 LBL_2: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %sv_1.010.in.reload = load i64, i64* %sv_1.010.in.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %sv_1.010 = add i64 %sv_1.010.in.reload, 8 %8 = inttoptr i64 %sv_1.010 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i8* %11 = call i32 @strncmp(i8* %10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 10) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = load i64, i64* %8, align 8 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 13) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %19 = load i64, i64* %8, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strncmp(i8* %20, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i32 13) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %24 = load i64, i64* %8, align 8 %25 = inttoptr i64 %24 to i8* %26 = call i32 @strncmp(i8* %25, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i32 16) %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false %29 = load i64, i64* %8, align 8 %30 = inttoptr i64 %29 to i8* %31 = call i32 @strncmp(i8* %30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i32 16) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false %34 = icmp slt i32 %storemerge11.reload, 2 %. = select i1 %34, i64 0, i64 32 %35 = sub i64 %7, %sv_0.09.reload %36 = select i1 %13, i64 %9, i64 ptrtoint ([15 x i8]* @gv_5 to i64) %37 = select i1 %18, i64 %36, i64 ptrtoint ([18 x i8]* @gv_6 to i64) %38 = select i1 %23, i64 %37, i64 ptrtoint ([18 x i8]* @gv_7 to i64) %39 = select i1 %28, i64 %38, i64 ptrtoint ([21 x i8]* @gv_8 to i64) %40 = select i1 %33, i64 %39, i64 ptrtoint ([21 x i8]* @gv_9 to i64) %41 = call i64 @FUNC(i64 %35, i64 %sv_0.09.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i64 %40, i64 %., i64 %1) %42 = sub i64 %sv_0.09.reload, %41 %storemerge = add i32 %storemerge11.reload, -1 %43 = icmp sgt i32 %storemerge, 0 %44 = icmp eq i64 %42, 0 %45 = icmp eq i1 %44, false %or.cond = icmp eq i1 %43, %45 store i32 %storemerge, i32* %storemerge11.reg2mem store i64 %sv_1.010, i64* %sv_1.010.in.reg2mem store i64 %42, i64* %sv_0.09.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_3: ret i64 %2 uselistorder i32 %storemerge11.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.010.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
scatterwalk_pagedone_17751
scatterwalk_pagedone
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %rax.0.reg2mem store i64 %3, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem %5 = trunc i64 %arg3 to i32 %6 = icmp eq i32 %5, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %6, label LBL_5, label LBL_3 LBL_3: %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 = add i64 %9, 4095 %11 = and i64 %10, -4096 store i64 %11, i64* %8, align 8 %12 = add i64 %rdi.0.reload, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %14, %rdi.0.reload %16 = icmp ult i64 %11, %15 store i64 %15, i64* %rax.1.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %rdi.0.reload) %18 = call i64 @FUNC(i64 %0, i64 %17) store i64 %18, i64* %rax.1.reg2mem br label LBL_5 LBL_5: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %rdi.0.reload, { 1, 2, 0 } uselistorder i64 %0, { 2, 3, 1, 0 } uselistorder i32 0, { 1, 2, 0 } }
1
BinRealVul
hci_pin_code_request_evt_4606
hci_pin_code_request_evt
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(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %1, i64 0, i64 %0) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = inttoptr i64 %4 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %4) %11 = add i64 %4, 4 %12 = inttoptr i64 %11 to i32* store i32 30, i32* %12, align 4 %13 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_3: %14 = add i64 %1, 56 %15 = call i64 @FUNC(i64 1, i64 %14) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 1 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %1, i64 1, i64 6, i64 %0) br label LBL_7 LBL_5: %19 = call i64 @FUNC(i64 2, i64 %14) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 2 %. = zext i1 %25 to i8 %26 = add i64 %1, 52 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29, i64 %0, i8 %.) br label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %1) ret i64 %31 uselistorder i64 %1, { 3, 1, 0, 2, 4, 5, 6 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64, i64)* @test_bit, { 1, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } }
0
BinRealVul
capability_index_stats_3752
capability_index_stats
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %r8.0.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %storemerge4 = load i64, i64* @gv_0, align 8 %2 = icmp eq i64 %storemerge4, 0 %3 = icmp eq i1 %2, false store i64 %storemerge4, i64* %storemerge5.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %4 = add i64 %storemerge5.reload, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -1 %11 = inttoptr i64 %6 to i64* %12 = load i64, i64* %11, align 8 %13 = zext i32 %10 to i64 %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %13, i64 %1) %15 = add i64 %6, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_2, label LBL_3 LBL_2: %20 = inttoptr i64 %17 to i32* %21 = add i64 %17, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = load i32, i32* %20, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %23, i64 %1) br label LBL_3 LBL_3: %27 = load i32, i32* %8, align 4 %28 = sub i32 33, %27 %29 = load i64, i64* %11, align 8 %30 = zext i32 %28 to i64 %31 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %30, i64 %1) %32 = inttoptr i64 %storemerge5.reload to i64* %storemerge = load i64, i64* %32, align 8 %33 = icmp eq i64 %storemerge, 0 %34 = icmp eq i1 %33, false store i64 %storemerge, i64* %storemerge5.reg2mem store i64 %30, i64* %r8.0.lcssa.reg2mem br i1 %34, label LBL_1, label LBL_4 LBL_4: %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem %35 = call i64 @FUNC(i64* nonnull @gv_0) %36 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %35, i64 %r8.0.lcssa.reload, i64 %1) %37 = ptrtoint i64* %sv_0 to i64 ret i64 %37 uselistorder i64 %17, { 0, 2, 1 } uselistorder i64* %sv_0, { 4, 0, 1, 2, 3 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @rb_snprintf, { 0, 2, 3, 1 } uselistorder i1 false, { 3, 1, 0, 4, 2 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i32 1, { 8, 4, 3, 2, 7, 6, 5, 9, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
stdp_Write_9598
stdp_Write
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = add i64 %arg1, 8 %9 = inttoptr i64 %8 to i64* %10 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_3: %11 = and i64 %3, 4294967295 store i64 %11, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = load i64, i64* %9, align 8 %13 = mul i64 %indvars.iv.reload, 4 %14 = add i64 %12, %13 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %2, i64 %17) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 0, { 0, 2, 1, 3, 4 } uselistorder label LBL_5, { 0, 2, 1 } }
0
BinRealVul
malidp_crtc_reset_7270
malidp_crtc_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 8, i64 0) %2 = call i64 @FUNC(i64 %0, i64 8) %3 = icmp eq i64 %1, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %1) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 %0, i64 0) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @__drm_atomic_helper_crtc_reset, { 1, 0 } }
0
BinRealVul
mem_seek_11092
mem_seek
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = call i64 @FUNC(i64 100, i64 %5, i64 %arg3, i64 %3, i64 %2, i64 %1) %7 = icmp eq i32 %4, 2 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %5 to i32 %9 = icmp sgt i32 %8, 2 br i1 %9, label LBL_5, label LBL_2 LBL_2: store i64 %arg2, i64* %sv_0.0.reg2mem switch i32 %8, label LBL_5 [ i32 0, label LBL_6 i32 1, label LBL_3 ] LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = sub i64 %13, %arg2 store i64 %14, i64* %sv_0.0.reg2mem br label LBL_6 LBL_4: %15 = add i64 %arg2, 100 store i64 %15, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: call void @abort() unreachable LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = icmp slt i64 %sv_0.0.reload, 0 %17 = icmp eq i1 %16, false store i64 -1, i64* %storemerge.reg2mem br i1 %17, label LBL_7, label LBL_8 LBL_7: store i64 %sv_0.0.reload, i64* %arg1, align 8 store i64 100, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 %arg3, { 2, 0, 1 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
xfs_sbversion_add_attr2_9583
xfs_sbversion_add_attr2
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = add i64 %4, 4 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %5) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = ptrtoint i64* %arg2 to i64 %17 = call i64 @FUNC(i64 %5) %18 = call i64 @FUNC(i64 %10) %19 = call i64 @FUNC(i64 %16) store i64 %19, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %20 = call i64 @FUNC(i64 %10) store i64 %20, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %10, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 (i64)* @xfs_sb_version_hasattr2, { 1, 0 } }
0
BinRealVul
path_1835
path
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load [11 x i8]*, [11 x i8]** @gv_0, align 8 %3 = icmp ne [11 x i8]* %2, null %4 = icmp ne i8* %arg1, null %or.cond.not = icmp eq i1 %4, %3 %5 = trunc i64 %1 to i8 %6 = icmp eq i8 %5, 47 %or.cond4 = icmp eq i1 %6, %or.cond.not br i1 %or.cond4, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i8* %arg1 to i64 ret i64 %7 LBL_2: %8 = ptrtoint [11 x i8]* %2 to i64 %9 = ptrtoint i8* %arg1 to i64 %10 = call i64 @FUNC(i64 %8, i64 %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false %spec.select = select i1 %12, i64 %10, i64 %9 ret i64 %spec.select uselistorder i8* %arg1, { 1, 0, 2 } }
0
BinRealVul
TS_OBJ_print_bio_11845
TS_OBJ_print_bio
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 128, i64 %0, i64 0) %3 = trunc i64 %2 to i32 %4 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i32 %3) %5 = call i64 @FUNC(i64 %1, i64* inttoptr (i64 4202519 to i64*), i32 1) ret i64 1 uselistorder i64 (i64, i64*, i32)* @BIO_write, { 1, 0 } }
1
BinRealVul
add_crc_to_array_2802
add_crc_to_array
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem6 = alloca i64 %.reg2mem4 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* @gv_0, align 8 %4 = load i64, i64* @gv_1, align 8 %5 = icmp ugt i64 %3, %4 br i1 %5, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre = load i64, i64* @gv_2, align 8 store i64 %4, i64* %.reg2mem4 store i64 %.pre, i64* %.reg2mem6 br label LBL_7 LBL_2: %6 = icmp eq i64 %3, 0 %7 = icmp eq i1 %6, false store i64 %3, i64* %.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: store i64 10, i64* @gv_0, align 8 store i64 10, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %8 = mul i64 %.reload, 2 store i64 %8, i64* @gv_0, align 8 %9 = load i64, i64* @gv_2, align 8 %10 = call i64 @FUNC(i64 %9, i64 %8, i64 4) store i64 %10, i64* @gv_2, align 8 %11 = load i64, i64* @gv_0, align 8 %12 = load i64, i64* @gv_3, align 8 %13 = call i64 @FUNC(i64 %12, i64 %11, i64 8) store i64 %13, i64* @gv_3, align 8 %14 = load i64, i64* @gv_2, align 8 %15 = icmp ne i64 %14, 0 %16 = icmp eq i64 %13, 0 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %17, %15 br i1 %or.cond, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre3 = load i64, i64* @gv_1, align 8 store i64 %.pre3, i64* %.reg2mem4 store i64 %14, i64* %.reg2mem6 br label LBL_7 LBL_6: %18 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_4, i64 0, i64 0), i64 %11, i64 %2, i64 %1) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %.reload7 = load i64, i64* %.reg2mem6 %.reload5 = load i64, i64* %.reg2mem4 %19 = mul i64 %.reload5, 4 %20 = add i64 %19, %.reload7 %21 = trunc i64 %arg1 to i32 %22 = inttoptr i64 %20 to i32* store i32 %21, i32* %22, align 4 %23 = load i64, i64* @gv_3, align 8 %24 = load i64, i64* @gv_1, align 8 %25 = mul i64 %24, 8 %26 = add i64 %25, %23 %27 = inttoptr i64 %26 to i64* store i64 %arg2, i64* %27, align 8 %28 = load i64, i64* @gv_1, align 8 %29 = add i64 %28, 1 store i64 %29, i64* @gv_1, align 8 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 %8, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @av_realloc_f, { 1, 0 } uselistorder i64* @gv_1, { 1, 2, 3, 0, 4 } uselistorder i32 1, { 6, 5, 4, 3, 2, 7, 1, 0 } }
0
BinRealVul
ReadPWPImage_7777
ReadPWPImage
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64* %storemerge.lcssa.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i64 %storemerge518.reg2mem = alloca i64 %storemerge715.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i8, i8* %1 %7 = load i8, i8* %1 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %sv_3 = alloca i64, align 8 %8 = icmp eq i32* %arg1, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 187, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %10 = trunc i64 %4 to i32 %11 = icmp eq i32 %10, 5 br i1 %11, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 188, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC() %21 = call i64 @FUNC(i64 3, i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %19, i64 %3, i64 %2) br label LBL_6 LBL_6: %22 = icmp eq i32* %arg2, null %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 192, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %24 = trunc i64 %5 to i32 %25 = icmp eq i32 %24, 5 br i1 %25, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 193, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_10 LBL_10: %26 = ptrtoint i32* %arg2 to i64 %27 = call i64 @FUNC(i64 %12, i64 %26) %28 = call i64 @FUNC(i64 %12, i64 %27, i64 0, i64 %26) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_11, label LBL_40 LBL_11: %32 = bitcast i8* %sv_2 to i64* %33 = call i64 @FUNC(i64 %27, i64 5, i64* nonnull %32) %34 = icmp eq i64 %33, 5 %35 = icmp eq i1 %34, false br i1 %35, label LBL_13, label LBL_12 LBL_12: %36 = call i64 @FUNC(i64* nonnull %32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 5) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_14, label LBL_13 LBL_13: %39 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0)) unreachable LBL_14: %40 = ptrtoint i64* %sv_3 to i64 %41 = call i64 @FUNC(i64 %12) %42 = call i64 @FUNC(i64 %41, i64 0, i64 0) %43 = call i64 @FUNC(i64 %41, i64 0, i64 0) %44 = add i64 %41, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, -1 %50 = zext i8 %7 to i64 %51 = mul nuw nsw i64 %50, 65535 %52 = zext i8 %6 to i64 %53 = mul i64 %52, 256 %54 = add nuw nsw i64 %51, %53 %55 = add i64 %12, 20 %56 = inttoptr i64 %55 to i32* %57 = add i64 %12, 24 %58 = inttoptr i64 %57 to i32* store i64 %27, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %59 = call i64 @FUNC(i64 %27) %storemerge616 = trunc i64 %59 to i32 %60 = icmp eq i32 %storemerge616, -1 %61 = icmp eq i1 %60, false store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %61, label LBL_19, label LBL_35 LBL_16: %storemerge715.reload = load i64, i64* %storemerge715.reg2mem %62 = add i64 %storemerge715.reload, %40 %63 = add i64 %62, -1135 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = add i64 %62, -1136 %67 = inttoptr i64 %66 to i8* store i8 %65, i8* %67, align 1 %68 = add nuw nsw i64 %storemerge715.reload, 1 %exitcond = icmp eq i64 %68, 17 store i64 %68, i64* %storemerge715.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: %69 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i64 6) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_20, label LBL_18 LBL_18: %72 = call i64 @FUNC(i64 %27) %storemerge6 = trunc i64 %72 to i32 %73 = icmp eq i32 %storemerge6, -1 %74 = icmp eq i1 %73, false store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %74, label LBL_19, label LBL_35 LBL_19: store i64 0, i64* %storemerge715.reg2mem br label LBL_16 LBL_20: %75 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i64 6) %76 = trunc i64 %75 to i32 %77 = icmp eq i32 %76, 0 br i1 %77, label LBL_22, label LBL_21 LBL_21: %78 = load i64, i64* %45, align 8 %79 = call i64 @FUNC(i64 %78) %80 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0)) unreachable LBL_22: br i1 %49, label LBL_24, label LBL_23 LBL_23: %81 = call %_IO_FILE* @fdopen(i32 %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_10, i64 0, i64 0)) %82 = icmp eq %_IO_FILE* %81, null %83 = icmp eq i1 %82, false br i1 %83, label LBL_25, label LBL_24 LBL_24: %84 = load i64, i64* %45, align 8 %85 = call i64 @FUNC(i64 %84) %86 = add i64 %sv_0.0.reload, 24 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = call i64 @FUNC(i64 %26, i64 2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0), i64 %88) unreachable LBL_25: %90 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_9 to i64*), i32 1, i32 6, %_IO_FILE* %81) %91 = load i8, i8* %sv_2, align 1 %92 = zext i8 %91 to i64 %93 = add nuw nsw i64 %54, %92 %94 = icmp eq i64 %93, 0 store i64 0, i64* %storemerge518.reg2mem br i1 %94, label LBL_27, label LBL_26 LBL_26: %storemerge518.reload = load i64, i64* %storemerge518.reg2mem %95 = call i64 @FUNC(i64 %27) %96 = trunc i64 %95 to i32 %97 = call i32 @fputc(i32 %96, %_IO_FILE* %81) %98 = add nuw nsw i64 %storemerge518.reload, 1 %exitcond31 = icmp eq i64 %98, %93 store i64 %98, i64* %storemerge518.reg2mem br i1 %exitcond31, label LBL_27, label LBL_26 LBL_27: %99 = call i32 @fclose(%_IO_FILE* %81) %100 = call i64 @FUNC(i64 %41, i64 %26) %101 = icmp eq i64 %100, 0 store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %101, label LBL_35, label LBL_28 LBL_28: %102 = add i64 %100, 16 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = add i64 %100, 24 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = call i64 @FUNC(i64 %107, i64 1024, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_12, i64 0, i64 0), i64 %104) %109 = icmp eq i64 %sv_0.0.reload, 0 %110 = icmp eq i1 %109, false store i64 %100, i64* %sv_0.1.reg2mem br i1 %110, label LBL_29, label LBL_32 LBL_29: %111 = inttoptr i64 %sv_0.0.reload to i64* %112 = load i64, i64* %111, align 8 %113 = icmp eq i64 %112, 0 %114 = icmp eq i1 %113, false store i64 %sv_0.0.reload, i64* %storemerge19.reg2mem store i64 %sv_0.0.reload, i64* %storemerge.lcssa.reg2mem store i64* %111, i64** %.lcssa.reg2mem br i1 %114, label LBL_30, label LBL_31 LBL_30: %storemerge19.reload = load i64, i64* %storemerge19.reg2mem %115 = call i64 @FUNC(i64 %storemerge19.reload) %116 = inttoptr i64 %115 to i64* %117 = load i64, i64* %116, align 8 %118 = icmp eq i64 %117, 0 %119 = icmp eq i1 %118, false store i64 %115, i64* %storemerge19.reg2mem store i64 %115, i64* %storemerge.lcssa.reg2mem store i64* %116, i64** %.lcssa.reg2mem br i1 %119, label LBL_30, label LBL_31 LBL_31: %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %120 = add i64 %100, 8 %121 = inttoptr i64 %120 to i64* store i64 %storemerge.lcssa.reload, i64* %121, align 8 %122 = add i64 %storemerge.lcssa.reload, 16 %123 = inttoptr i64 %122 to i64* %124 = load i64, i64* %123, align 8 %125 = add i64 %124, 1 store i64 %125, i64* %103, align 8 store i64 %100, i64* %.lcssa.reload, align 8 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_32 LBL_32: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %126 = load i32, i32* %56, align 4 %127 = icmp eq i32 %126, 0 br i1 %127, label LBL_34, label LBL_33 LBL_33: %128 = load i64, i64* %103, align 8 %129 = load i32, i32* %58, align 4 %130 = add i32 %126, -1 %131 = add i32 %130, %129 %132 = sext i32 %131 to i64 %133 = icmp slt i64 %128, %132 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %133, label LBL_34, label LBL_35 LBL_34: %134 = call i64 @FUNC(i64 %27) %135 = call i64 @FUNC(i64 %27) %136 = call i64 @FUNC(i64 %sv_0.1.reload, i64 4, i64 %135, i64 %134) %137 = trunc i64 %136 to i32 %138 = icmp eq i32 %137, 0 store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %138, label LBL_35, label LBL_15 LBL_35: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem br i1 %49, label LBL_37, label LBL_36 LBL_36: %139 = call i32 @close(i32 %48) br label LBL_37 LBL_37: %140 = load i64, i64* %45, align 8 %141 = call i64 @FUNC(i64 %140) %142 = call i64 @FUNC(i64 %41) %143 = call i64 @FUNC(i64 %27) %144 = call i64 @FUNC(i64 %27) %145 = call i64 @FUNC(i64 %sv_0.2.reload) %146 = trunc i64 %145 to i32 %147 = icmp eq i32 %146, 0 br i1 %147, label LBL_39, label LBL_38 LBL_38: %148 = call i32* @__errno_location() %149 = load i32, i32* %148, align 4 %150 = zext i32 %149 to i64 %151 = call i64 @FUNC(i64 %150) %152 = add i64 %sv_0.2.reload, 24 %153 = inttoptr i64 %152 to i64* %154 = load i64, i64* %153, align 8 %155 = call i64 @FUNC() %156 = call i64 @FUNC(i64 %26, i64 %155, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_14, i64 0, i64 0), i64 %154) %157 = call i64 @FUNC(i64 %151) br label LBL_39 LBL_39: %158 = call i64 @FUNC(i64 %sv_0.2.reload) %159 = call i64 @FUNC(i64 %sv_0.2.reload) store i64 %159, i64* %rax.0.reg2mem br label LBL_40 LBL_40: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.2.reload, { 1, 2, 3, 0 } uselistorder i64 %sv_0.1.reload, { 1, 3, 2, 0 } uselistorder i64 %100, { 1, 2, 0, 4, 3, 5 } uselistorder %_IO_FILE* %81, { 3, 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 3, 4, 5, 7, 6, 1, 8, 2, 0 } uselistorder i32 %48, { 2, 1, 0 } uselistorder i64* %45, { 2, 1, 0, 3 } uselistorder i64 %41, { 1, 0, 2, 3, 4 } uselistorder i64 %27, { 6, 5, 3, 2, 4, 1, 7, 0, 8, 9 } uselistorder i64 %26, { 2, 1, 0, 3, 4 } uselistorder i64 %12, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge715.reg2mem, { 2, 1, 0 } uselistorder i64* %storemerge518.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 2, 4, 5, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i8* %1, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @CloseBlob, { 1, 0 } uselistorder i64 (i64)* @RelinquishUniqueFileResource, { 2, 1, 0 } uselistorder [7 x i8]* @gv_9, { 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64)* @ReadBlobByte, { 2, 1, 0 } uselistorder i64 24, { 0, 2, 3, 1 } uselistorder i32 -1, { 1, 3, 0, 2 } uselistorder i64 (i64, i8*)* @ThrowReaderException, { 1, 0 } uselistorder i64 1, { 2, 5, 6, 3, 7, 4, 0, 1 } uselistorder i64 (i64*, i8*, i64)* @LocaleNCompare, { 2, 1, 0 } uselistorder i64 5, { 1, 0, 2 } uselistorder i64 ()* @GetMagickModule, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 2, 3, 0 } uselistorder i1 false, { 3, 0, 4, 2, 5, 1, 6, 7, 8, 9 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_35, { 0, 1, 2, 4, 3 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
msGMLFreeGeometries_17871
msGMLFreeGeometries
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* %7 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %6, align 8 %9 = mul i64 %.reload, 16 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = load i64, i64* %6, align 8 %15 = or i64 %9, 8 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i32 %storemerge1.reload, 1 %21 = sext i32 %20 to i64 %22 = icmp sgt i64 %7, %21 store i64 %21, i64* %.reg2mem store i32 %20, i32* %storemerge1.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_4: %23 = inttoptr i64 %arg1 to i64* call void @free(i64* %23) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 (i64)* @msFree, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
avfilter_graph_config_14793
avfilter_graph_config
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %arg2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 %arg2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 %arg2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 %11, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %spec.store.select = select i1 %16, i64 %14, i64 0 store i64 %spec.store.select, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
node_add_before_18536
node_add_before
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %arg3, null %7 = icmp eq i1 %6, false %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = icmp eq i64 %arg4, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %arg1, i64 %1, i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %13 = icmp eq i64 %0, %arg4 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %arg1, i64 %1, i64 %0) store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i64 %arg1, i64* %arg2, align 8 %16 = add i64 %arg4, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %1, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = add i64 %1, 16 %22 = inttoptr i64 %21 to i64* store i64 %arg4, i64* %22, align 8 store i64 %1, i64* %17, align 8 %23 = add i64 %0, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, 1 store i32 %26, i32* %24, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 2, 3, 4, 1, 0 } uselistorder i64 %0, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @return_if_fail, { 1, 0 } uselistorder i64 %arg4, { 1, 2, 0, 3 } uselistorder i64 %arg1, { 2, 1, 0 } }
1
BinRealVul
qemu_rdma_write_flush_2336
qemu_rdma_write_flush
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %6, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = and i64 %2, 4294967295 %15 = call i64 @FUNC(i64 %7, i64 %6, i32 %13, i32 %10, 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_3, label LBL_2 LBL_2: %19 = and i64 %15, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %20 = icmp eq i32 %16, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = zext i32 %10 to i64 %23 = add i64 %6, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, 1 %27 = zext i32 %26 to i64 store i32 %26, i32* %24, align 4 %28 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %27, i64 %27, i64 %22, i64 %14, i64 %1) br label LBL_5 LBL_5: %29 = bitcast i64* %arg2 to i32* store i32 0, i32* %29, align 4 store i32 0, i32* %9, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %27, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %6, { 0, 1, 3, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
vmxnet3_init_msi_2416
vmxnet3_init_msi
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 0, i64 1, i64 1, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %8) %10 = bitcast i64* %arg1 to i8* store i8 0, i8* %10, align 1 br label LBL_3 LBL_2: %11 = bitcast i64* %arg1 to i8* store i8 1, i8* %11, align 1 br label LBL_3 LBL_3: %12 = urem i64 %1, 256 ret i64 %12 uselistorder i64 1, { 2, 1, 0 } }
0
BinRealVul
opsize_bytes_16118
opsize_bytes
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 1, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_5 [ i32 1, label LBL_6 i32 2, label LBL_1 i32 3, label LBL_2 i32 4, label LBL_3 i32 5, label LBL_4 ] LBL_1: store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_2: store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_3: store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_4: store i64 8, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %2 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 1, { 2, 1, 3, 0 } uselistorder label LBL_6, { 5, 1, 2, 3, 4, 0 } }
1
BinRealVul
__anon_vma_prepare_12042
__anon_vma_prepare
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_2.0.in.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 0) %2 = icmp eq i64 %1, 0 store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_10, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_2.0.in.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC() %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %9, false store i64 %7, i64* %sv_2.0.in.reg2mem store i64 %7, i64* %sv_0.0.reg2mem br i1 %10, label LBL_9, label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_2.0.in.reload = load i64, i64* %sv_2.0.in.reg2mem %11 = call i64 @FUNC(i64 %sv_2.0.in.reload) %12 = call i64 @FUNC(i64 %3) %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %1, i64* %sv_1.0.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %sv_2.0 = inttoptr i64 %sv_2.0.in.reload to i32* store i64 %sv_2.0.in.reload, i64* %14, align 8 %18 = call i64 @FUNC(i64 %3, i64 %1, i64 %sv_2.0.in.reload) %19 = load i32, i32* %sv_2.0, align 4 %20 = add i32 %19, 1 store i32 %20, i32* %sv_2.0, align 4 store i64 0, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %21 = call i64 @FUNC(i64 %3) %22 = call i64 @FUNC(i64 %sv_2.0.in.reload) %23 = icmp eq i64 %sv_0.1.reload, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %sv_0.1.reload) br label LBL_7 LBL_7: %27 = icmp eq i64 %sv_1.0.reload, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %28, false store i64 0, i64* %storemerge.reg2mem br i1 %29, label LBL_10, label LBL_8 LBL_8: %30 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %31 = call i64 @FUNC(i64 %1) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_2.0, { 1, 0 } uselistorder i64 %sv_2.0.in.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %3, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 1, 2, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 (i64)* @anon_vma_chain_free, { 1, 0 } uselistorder i1 false, { 0, 4, 1, 5, 2, 6, 3, 7 } uselistorder label LBL_10, { 0, 3, 2, 1 } }
1
BinRealVul
gf_swf_read_header_6411
gf_swf_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i32 %storemerge.reg2mem = alloca i64 %2 = load i128, i128* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32, i32* %1 %sv_0 = alloca i32, align 4 %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i8 %7 = call i64 @FUNC(i64 %3) %8 = call i64 @FUNC(i64 %3) %9 = icmp ne i8 %6, 70 %10 = icmp eq i8 %6, 67 %11 = icmp eq i1 %10, false %or.cond4 = icmp eq i1 %9, %11 store i64 1, i64* %storemerge.reg2mem br i1 %or.cond4, label LBL_5, label LBL_1 LBL_1: %12 = trunc i64 %8 to i8 %13 = trunc i64 %7 to i8 %14 = icmp eq i8 %13, 87 %15 = icmp eq i8 %12, 83 %or.cond = icmp eq i1 %14, %15 store i64 1, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_2, label LBL_5 LBL_2: %16 = call i64 @FUNC(i64 %3) %17 = call i64 @FUNC(i64 %3) %18 = trunc i64 %17 to i32 %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 br i1 %11, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %3) br label LBL_4 LBL_4: %22 = bitcast i32* %sv_0 to i64* %23 = call i64 @FUNC(i64 %3, i64* nonnull %22) %24 = load i32, i32* %sv_0, align 4 %25 = call i128 @FUNC(i32 %24) %26 = call i64 @__asm_movss.1(i128 %25) %27 = add i64 %3, 12 %28 = trunc i64 %26 to i32 %29 = inttoptr i64 %27 to i32* store i32 %28, i32* %29, align 4 %30 = call i128 @FUNC(i32 %4) %31 = call i64 @__asm_movss.1(i128 %30) %32 = add i64 %3, 16 %33 = trunc i64 %31 to i32 %34 = inttoptr i64 %32 to i32* store i32 %33, i32* %34, align 4 %35 = call i64 @FUNC(i64 %3) %36 = call i64 @FUNC(i64 %3) %37 = udiv i64 %36, 256 %38 = trunc i64 %37 to i16 %39 = urem i16 %38, 256 %40 = add i64 %3, 20 %41 = inttoptr i64 %40 to i16* store i16 %39, i16* %41, align 2 %42 = call i64 @FUNC(i64 %3) %43 = trunc i64 %42 to i16 %44 = add i64 %3, 22 %45 = inttoptr i64 %44 to i16* store i16 %43, i16* %45, align 2 %46 = load i16, i16* %41, align 2 %47 = zext i16 %46 to i64 %48 = load i32, i32* %34, align 4 %49 = call i128 @FUNC(i32 %48) %50 = call i128 @FUNC(i128 %49) %51 = load i32, i32* %29, align 4 %52 = call i128 @FUNC(i32 %51) %53 = call i128 @FUNC(i128 %2, i128 %2) %54 = call i128 @FUNC(i128 %52) %55 = call i64 @FUNC(i128 %54) %56 = urem i64 %42, 65536 %57 = call i128 @FUNC(i128 %50) %58 = call i128 @__asm_movq.2(i64 %55) %59 = trunc i128 %58 to i64 %60 = bitcast i64 %59 to double %61 = trunc i128 %57 to i64 %62 = bitcast i64 %61 to double %63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), double %60, double %62, i64 %56, i64 %47) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i1 %11, { 1, 0 } uselistorder i64 %3, { 2, 1, 5, 4, 3, 6, 8, 7, 0, 10, 9, 11, 12, 13, 14 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @swf_get_16, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @gf_bs_read_u8, { 3, 2, 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
ntlm_write_message_fields_buffer_12816
ntlm_write_message_fields_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %2, i64 %5) %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %2, i64 %9, i64 %5) store i64 %10, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } }
1
BinRealVul
grlib_gptimer_readl_15646
grlib_gptimer_readl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = urem i32 %3, 256 %5 = icmp eq i32 %4, 8 br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = icmp ult i32 %4, 9 br i1 %6, label LBL_2, label LBL_6 LBL_2: %trunc = trunc i64 %arg2 to i8 switch i8 %trunc, label LBL_6 [ i8 0, label LBL_3 i8 4, label LBL_4 ] LBL_3: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %7) store i64 %7, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %12) %14 = load i32, i32* %10, align 4 %15 = zext i32 %14 to i64 store i64 %15, i64* %rax.0.reg2mem br label LBL_15 LBL_5: %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %19) %21 = load i32, i32* %17, align 4 %22 = zext i32 %21 to i64 store i64 %22, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %23 = add nsw i32 %4, -32 %24 = udiv i32 %23, 32 %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp ult i32 %24, %27 br i1 %28, label LBL_7, label LBL_14 LBL_7: %29 = urem i32 %3, 32 %30 = icmp eq i32 %29, 16 br i1 %30, label LBL_12, label LBL_8 LBL_8: %31 = icmp ult i32 %29, 17 br i1 %31, label LBL_9, label LBL_14 LBL_9: %32 = icmp eq i32 %29, 8 br i1 %32, label LBL_13, label LBL_10 LBL_10: %33 = icmp eq i32 %29, 12 %34 = icmp eq i1 %33, false br i1 %34, label LBL_14, label LBL_11 LBL_11: %35 = add i64 %2, 16 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = mul i32 %24, 16 %39 = or i32 %38, 8 %40 = zext i32 %39 to i64 %41 = add i64 %37, %40 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = and i64 %44, 4294967295 %46 = zext i32 %24 to i64 %47 = call i64 @FUNC(i64 %46, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i64 %45) store i64 %45, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %48 = add i64 %2, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = mul i32 %24, 16 %52 = zext i32 %51 to i64 %53 = add i64 %50, %52 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = zext i32 %24 to i64 %58 = call i64 @FUNC(i64 %57, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %56) store i64 %56, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %59 = add i64 %2, 16 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = mul i32 %24, 16 %63 = or i32 %62, 4 %64 = zext i32 %63 to i64 %65 = add i64 %61, %64 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = zext i32 %24 to i64 %70 = call i64 @FUNC(i64 %69, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64 %68) %71 = load i64, i64* %60, align 8 %72 = add i64 %71, %64 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = zext i32 %74 to i64 store i64 %75, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %76 = zext i32 %4 to i64 %77 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %76) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %24, { 4, 0, 3, 1, 5, 2, 6 } uselistorder i32 %4, { 3, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 3, 0, 5, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 7, 5, 6 } uselistorder i32 32, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @trace_grlib_gptimer_readl, { 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 3, 4, 5, 0, 2 } }
1
BinRealVul
uwbd_stop_13593
uwbd_stop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %0) ret i64 %3 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
isCoordinateSkiaSafe_8771
isCoordinateSkiaSafe
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i1 %2 = load i128, i128* %0 %3 = load i1, i1* %1 %4 = call i64 @FUNC(i128 %2) %5 = trunc i64 %4 to i32 %6 = call i128 @__asm_movss.1(i32 %5) %7 = call i128 @__asm_movss.1(i32 2147483647) %8 = call i128 @FUNC(i128 %6, i128 %7) %9 = call i128 @FUNC(i128 %7, i128 %7) %10 = call i128 @FUNC(i128 %8) %11 = call i128 @FUNC(i64 9218868437227405311) call void @FUNC(i128 %11, i128 %10) %12 = icmp eq i1 %3, false br i1 %12, label LBL_1, label LBL_2 LBL_1: %13 = call i128 @FUNC(i128 %10, i128 %10) %14 = call i128 @FUNC(i32 32767) %15 = call i128 @__asm_movss.1(i32 %5) call void @FUNC(i128 %15, i128 %14) br label LBL_2 LBL_2: ret i64 0 uselistorder i128 %10, { 1, 0, 2 } uselistorder i128 %7, { 2, 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
reset_codec_14159
reset_codec
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa2.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem6 = alloca i64 %storemerge13.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = mul i32 %6, %3 %8 = add i64 %2, 48 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = load i32, i32* %5, align 4 %11 = icmp eq i32 %10, 0 store i64 0, i64* %.lcssa2.reg2mem br i1 %11, label LBL_6, label LBL_1 LBL_1: %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* %14 = add i64 %2, 24 %15 = inttoptr i64 %14 to i64* %16 = add i64 %2, 32 %17 = inttoptr i64 %16 to i64* %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = add i64 %2, 40 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %.reg2mem6 store i32 0, i32* %storemerge4.reg2mem br label LBL_4 LBL_2: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload = load i64, i64* %.reg2mem %22 = load i64, i64* %15, align 8 %23 = add i64 %22, %58 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = mul i64 %.reload, 8 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %27, 4 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i32 %storemerge13.reload, 1 %33 = load i64, i64* %13, align 8 %34 = add i64 %33, %53 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = sext i32 %32 to i64 %39 = icmp slt i64 %38, %37 store i64 %38, i64* %.reg2mem store i32 %32, i32* %storemerge13.reg2mem br i1 %39, label LBL_2, label LBL_3 LBL_3: %40 = load i64, i64* %17, align 8 %41 = add i64 %40, %53 %42 = load i32, i32* %19, align 4 %43 = inttoptr i64 %41 to i32* store i32 %42, i32* %43, align 4 %44 = load i64, i64* %21, align 8 %45 = add i64 %44, %53 %46 = inttoptr i64 %45 to i32* store i32 1, i32* %46, align 4 %47 = add i32 %storemerge4.reload, 1 %48 = load i32, i32* %5, align 4 %49 = zext i32 %48 to i64 %50 = sext i32 %47 to i64 %51 = icmp slt i64 %50, %49 store i64 %50, i64* %.reg2mem6 store i32 %47, i32* %storemerge4.reg2mem store i64 %49, i64* %.lcssa2.reg2mem br i1 %51, label LBL_4, label LBL_6 LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %52 = load i64, i64* %13, align 8 %53 = mul i64 %.reload7, 4 %54 = add i64 %52, %53 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_3, label LBL_2.lr.ph LBL_5: %58 = mul i64 %.reload7, 8 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge13.reg2mem br label LBL_2 LBL_6: %.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem ret i64 %.lcssa2.reload uselistorder i64 %.reload7, { 1, 0 } uselistorder i32* %5, { 1, 0, 2 } uselistorder i64 %2, { 0, 4, 2, 3, 1, 5, 6 } uselistorder i64* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge13.reg2mem, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
free_getaddrinfo_request_9108
free_getaddrinfo_request
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %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_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 %4) br label LBL_4 LBL_4: %7 = add i64 %arg1, 16 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %arg1) ret i64 %9 uselistorder i64 (i64)* @mm_free, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 3, 0, 4 } }
0
BinRealVul
av_vsrc_buffer_add_frame_14757
av_vsrc_buffer_add_frame
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2, i64 1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i64 %0) %4 = inttoptr i64 %0 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* store i64 0, i64* %8, align 8 %9 = call i64 @FUNC(i64 %0) %10 = and i64 %3, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
getStrrtokenPos_6509
getStrrtokenPos
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 store i32 %1, i32* %storemerge.in.reg2mem br label LBL_4 LBL_1: %2 = sext i32 %storemerge to i64 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = sext i8 %5 to i64 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i32 %storemerge, i32* %storemerge.in.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = icmp slt i32 %storemerge, 2 store i32 %storemerge, i32* %sv_0.0.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = add i64 %3, -2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = sext i8 %14 to i64 %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = add i32 %storemerge.in.reload, -3 %spec.select1 = select i1 %19, i32 %storemerge, i32 %20 store i32 %spec.select1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = add i32 %storemerge.in.reload, -1 %21 = icmp slt i32 %storemerge, 0 %22 = icmp eq i1 %21, false store i32 -1, i32* %sv_0.0.reg2mem br i1 %22, label LBL_1, label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %23 = icmp eq i32 %sv_0.0.reload, 0 %24 = icmp slt i32 %sv_0.0.reload, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %23, false %27 = icmp eq i1 %25, %26 %28 = zext i32 %sv_0.0.reload to i64 %29 = select i1 %27, i64 %28, i64 4294967295 ret i64 %29 uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %storemerge, { 5, 4, 1, 3, 0, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 0, 1 } uselistorder i64 (i64)* @isIDSeparator, { 1, 0 } }
0
BinRealVul
mxf_write_preface_15859
mxf_write_preface
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 = call i64 @FUNC(i64 %5, i64 77568) %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 4294967280 %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %10) %12 = trunc i64 %1 to i32 %13 = mul i32 %12, 16 %14 = add i32 %13, 130 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %5, i64 %15) %17 = call i64 @FUNC(i64 %5, i64 16, i64 15370) %18 = call i64 @FUNC(i64 %5, i64* nonnull @gv_1, i64 0) %19 = load i64, i64* %7, align 8 %20 = add i64 %19, 4294967280 %21 = and i64 %20, 4294967295 %22 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %21) %23 = call i64 @FUNC(i64 %5, i64 8, i64 15106) %24 = load i64, i64* %4, align 8 %25 = call i64 @FUNC(i64 %5, i64 %24) %26 = call i64 @FUNC(i64 %5, i64 2, i64 15109) %27 = call i64 @FUNC(i64 %5, i64 258) %28 = call i64 @FUNC(i64 %5, i64 24, i64 15110) %29 = call i64 @FUNC(i64 %5, i64 1) %30 = call i64 @FUNC(i64 %5, i64* nonnull @gv_3, i64 0) %31 = call i64 @FUNC(i64 %5, i64 16, i64 15107) %32 = call i64 @FUNC(i64 %5, i64* nonnull @gv_4, i64 0) %33 = call i64 @FUNC(i64 %5, i64 16, i64 15113) %34 = call i64 @FUNC(i64 %5, i64* nonnull @gv_5, i64 16) %35 = or i32 %13, 8 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %5, i64 %36, i64 15114) %38 = call i64 @FUNC(i64 %2) %39 = call i64 @FUNC(i64 %5, i64 8, i64 15115) %40 = call i64 @FUNC(i64 %5, i64 0) ret i64 %40 uselistorder i32 %13, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 (i64, i64)* @avio_wb64, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @mxf_write_uuid, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @mxf_write_local_tag, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @PRINT_KEY, { 1, 0 } }
1
BinRealVul
qeth_l2_remove_device_17868
qeth_l2_remove_device
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, @gv_0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %1, i64 0, i64 1) %6 = call i64 @FUNC(i64 %1, i64 4294967295) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i1 %8 to i64 %13 = zext i32 %11 to i64 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %21 = inttoptr i64 %1 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %1, 12 %25 = call i64 @FUNC(i64 %24) %26 = load i64, i64* %21, align 8 %27 = call i64 @FUNC(i64 %26) store i64 0, i64* %21, align 8 store i64 %1, 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* %21, { 1, 0, 2 } uselistorder i64 %1, { 0, 1, 2, 5, 4, 3 } uselistorder i64 %0, { 2, 1, 0, 3 } }
1
BinRealVul
crypto_rng_report_13562
crypto_rng_report
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i16, align 2 store i16 28274, i16* %sv_0, align 2 %1 = call i64 @FUNC(i64 %0, i64 1, i64 8, i16* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 4294967206, i64 0 ret i64 %. }
0
BinRealVul
OPENSSL_LH_flush_11878
OPENSSL_LH_flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi8.reg2mem = alloca i64* %storemerge12.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rdi to i32* %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = load i64, i64* %8, align 8 %10 = mul i64 %indvars.iv.reload, 8 %11 = add i64 %9, %10 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge12.reg2mem store i64* %12, i64** %.pre-phi8.reg2mem br i1 %15, label LBL_4, label LBL_6 LBL_4: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %16 = inttoptr i64 %storemerge12.reload to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %storemerge12.reload) %19 = icmp eq i64 %17, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %storemerge12.reg2mem br i1 %20, label LBL_4, label LBL_5 LBL_5: %.pre = load i64, i64* %8, align 8 %.pre6 = add i64 %.pre, %10 %.pre7 = inttoptr i64 %.pre6 to i64* store i64* %.pre7, i64** %.pre-phi8.reg2mem br label LBL_6 LBL_6: %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem store i64 0, i64* %.pre-phi8.reload, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = load i32, i32* %6, align 8 %22 = zext i32 %21 to i64 %23 = icmp ult i64 %indvars.iv.next, %22 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %22, i64* %rax.0.reg2mem br i1 %23, label LBL_3, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge12.reload, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64** %.pre-phi8.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
slc_bump_11186
slc_bump
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in5.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %sv_1.0.in.reg2mem = alloca i8 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i8* store i32 0, i32* %sv_3, align 4 %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 116 br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = sext i8 %3 to i64 %6 = icmp sgt i8 %3, 116 store i64 %5, i64* %rax.0.reg2mem br i1 %6, label LBL_19, label LBL_2 LBL_2: %7 = icmp eq i8 %3, 114 br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = icmp sgt i8 %3, 114 store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_19, label LBL_4 LBL_4: store i32 -2147483648, i32* %.reg2mem store i64 %5, i64* %rax.0.reg2mem switch i8 %3, label LBL_19 [ i8 82, label LBL_7 i8 84, label LBL_8 ] LBL_5: store i32 536870912, i32* %sv_3, align 4 br label LBL_6 LBL_6: %9 = add i64 %0, 13 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 store i8 0, i8* %10, align 1 store i8 %11, i8* %sv_1.0.in.reg2mem br label LBL_9 LBL_7: store i32 536870912, i32* %sv_3, align 4 store i32 -1610612736, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %sv_3, align 4 %12 = add i64 %0, 13 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 store i8 0, i8* %13, align 1 store i8 %14, i8* %sv_1.0.in.reg2mem br label LBL_9 LBL_9: %15 = add i64 %0, 9 %16 = bitcast i32* %sv_2 to i64* %17 = call i64 @FUNC(i64 %15, i64 16, i64* nonnull %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %rax.0.reg2mem br i1 %20, label LBL_19, label LBL_10 LBL_10: %sv_1.0.in.reload = load i8, i8* %sv_1.0.in.reg2mem %sv_1.0 = sext i8 %sv_1.0.in.reload to i32 %21 = load i32, i32* %sv_3, align 4 %22 = load i32, i32* %sv_2, align 4 %23 = or i32 %22, %21 store i32 %23, i32* %sv_3, align 4 %24 = urem i32 %sv_1.0, 256 %25 = zext i32 %24 to i64 %sv_1.0.in.off = add i8 %sv_1.0.in.reload, -48 %26 = icmp ult i8 %sv_1.0.in.off, 9 store i64 %25, i64* %rax.0.reg2mem br i1 %26, label LBL_11, label LBL_19 LBL_11: %27 = mul i32 %sv_1.0, 16777216 %sext = add i32 %27, -805306368 %28 = ashr exact i32 %sext, 24 %29 = and i32 %23, 536870912 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_17, label LBL_12 LBL_12: %32 = urem i32 %28, 256 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_17, label LBL_13 LBL_13: %34 = ptrtoint i64* %sv_4 to i64 %storemerge4.in = add i64 %0, 14 %35 = zext i32 %32 to i64 %36 = add i64 %34, -59 store i64 0, i64* %.reg2mem7 store i32 0, i32* %storemerge6.reg2mem store i64 %storemerge4.in, i64* %sv_0.0.in5.reg2mem br label LBL_14 LBL_14: %sv_0.0.in5.reload = load i64, i64* %sv_0.0.in5.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in5.reload to i8* %37 = load i8, i8* %sv_0.0, align 1 %38 = sext i8 %37 to i64 %39 = and i64 %38, 4294967295 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 store i64 %40, i64* %rax.0.reg2mem br i1 %42, label LBL_19, label LBL_15 LBL_15: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload8 = load i64, i64* %.reg2mem7 %43 = add i64 %sv_0.0.in5.reload, 1 %44 = inttoptr i64 %43 to i8* %.tr = trunc i64 %40 to i8 %45 = mul i8 %.tr, 16 %46 = add i64 %36, %.reload8 %47 = inttoptr i64 %46 to i8* store i8 %45, i8* %47, align 1 %48 = load i8, i8* %44, align 1 %49 = sext i8 %48 to i64 %50 = and i64 %49, 4294967295 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 store i64 %51, i64* %rax.0.reg2mem br i1 %53, label LBL_19, label LBL_16 LBL_16: %54 = add i64 %sv_0.0.in5.reload, 2 %55 = load i8, i8* %47, align 1 %56 = trunc i64 %51 to i8 %57 = or i8 %55, %56 store i8 %57, i8* %47, align 1 %58 = add i32 %storemerge6.reload, 1 %59 = sext i32 %58 to i64 %60 = icmp slt i64 %59, %35 store i64 %59, i64* %.reg2mem7 store i32 %58, i32* %storemerge6.reg2mem store i64 %54, i64* %sv_0.0.in5.reg2mem br i1 %60, label LBL_14, label LBL_17 LBL_17: store i64 24, i64* %rdi, align 8 %61 = call i64 @FUNC(i64 24) %62 = icmp eq i64 %61, 0 store i64 0, i64* %rax.0.reg2mem br i1 %62, label LBL_19, label LBL_18 LBL_18: %63 = inttoptr i64 %61 to i64* store i64 24, i64* %63, align 8 %64 = call i64 @FUNC(i64 192) %65 = trunc i64 %64 to i32 %66 = add i64 %61, 8 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %68 = add i64 %61, 12 %69 = inttoptr i64 %68 to i32* store i32 0, i32* %69, align 4 %70 = add i64 %61, 16 %71 = inttoptr i64 %70 to i32* store i32 0, i32* %71, align 4 %72 = call i64 @FUNC(i64 %61) %73 = call i64 @FUNC(i64 %61) %74 = bitcast i64* %rdi to i32* %75 = load i32, i32* %74, align 8 %76 = inttoptr i64 %73 to i32* store i32 %75, i32* %76, align 4 %77 = call i64 @FUNC(i64 %61) %78 = add i64 %77, 4 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 %80 = call i64 @FUNC(i64 %61, i32* nonnull %sv_3, i64 16) %81 = inttoptr i64 %66 to i64* %82 = load i64, i64* %81, align 8 %83 = add i64 %82, 1 store i64 %83, i64* %81, align 8 %84 = inttoptr i64 %70 to i64* %85 = load i64, i64* %84, align 8 %86 = urem i32 %28, 256 %87 = zext i32 %86 to i64 %88 = add i64 %85, %87 store i64 %88, i64* %84, align 8 %89 = call i64 @FUNC(i64 %61) store i64 %89, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %61, { 0, 1, 2, 4, 3, 5, 6, 7, 8, 9 } uselistorder i64 %51, { 1, 0, 2 } uselistorder i8* %47, { 1, 0, 2 } uselistorder i64 %40, { 1, 0, 2 } uselistorder i8 %sv_1.0.in.reload, { 1, 0 } uselistorder i8 %3, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %.reg2mem7, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in5.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 1, 2, 8, 9, 3, 4, 5 } uselistorder i64 (i64)* @can_skb_prv, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @hex_to_bin, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i8 9, { 1, 0 } uselistorder i8 -48, { 1, 0 } uselistorder i32 256, { 1, 2, 3, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i32 536870912, { 2, 0, 1 } uselistorder label LBL_19, { 8, 4, 0, 1, 2, 5, 3, 7, 6 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
vnc_auth_name_2781
vnc_auth_name
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 = and i64 %1, 4294967295 store i64 %3, i64* @0, align 8 store i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem switch i32 %2, label LBL_19 [ i32 0, label LBL_20 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_6 i32 7, label LBL_7 i32 8, label LBL_8 i32 18, label LBL_18 ] LBL_1: store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_2: store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_3: store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_4: store i64 ptrtoint ([6 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_5: store i64 ptrtoint ([6 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_6: store i64 ptrtoint ([6 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_7: store i64 ptrtoint ([4 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_8: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, -9 %9 = zext i32 %8 to i64 store i64 %9, i64* @1, align 8 store i64 ptrtoint ([15 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem switch i32 %7, label LBL_17 [ i32 9, label LBL_20 i32 10, label LBL_9 i32 11, label LBL_10 i32 12, label LBL_11 i32 13, label LBL_12 i32 14, label LBL_13 i32 15, label LBL_14 i32 16, label LBL_15 i32 17, label LBL_16 ] LBL_9: store i64 ptrtoint ([18 x i8]* @gv_9 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_10: store i64 ptrtoint ([17 x i8]* @gv_10 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_11: store i64 ptrtoint ([19 x i8]* @gv_11 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_12: store i64 ptrtoint ([19 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_13: store i64 ptrtoint ([18 x i8]* @gv_13 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_14: store i64 ptrtoint ([20 x i8]* @gv_14 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_15: store i64 ptrtoint ([18 x i8]* @gv_15 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_16: store i64 ptrtoint ([19 x i8]* @gv_16 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_17: store i64 ptrtoint ([9 x i8]* @gv_17 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_18: store i64 ptrtoint ([5 x i8]* @gv_18 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_19: store i64 ptrtoint ([8 x i8]* @gv_19 to i64), 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 i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 1, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder label LBL_20, { 19, 2, 11, 3, 4, 5, 6, 7, 8, 9, 10, 0, 12, 13, 14, 15, 16, 17, 18, 1 } }
0
BinRealVul
ok_csv_circular_buffer_readable_6343
ok_csv_circular_buffer_readable
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = sub i64 %3, %6 %8 = call i64 @FUNC(i64 %0, i64 %7) ret i64 %8 uselistorder i64 %0, { 2, 0, 1 } }
0
BinRealVul
actionDestruct_4040
actionDestruct
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %2 to i8* %4 = call i32 @strcmp(i8* %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_7 LBL_2: %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %7) br label LBL_4 LBL_4: %12 = add i64 %arg1, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %12) br label LBL_6 LBL_6: %17 = add i64 %arg1, 32 %18 = inttoptr i64 %17 to i64* %19 = call i32 @pthread_mutex_destroy(i64* %18) %20 = add i64 %arg1, 72 %21 = inttoptr i64 %20 to i64* %22 = call i32 @pthread_mutex_destroy(i64* %21) %23 = add i64 %arg1, 112 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %arg1, 120 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %arg1, 128 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33) %35 = call i64 @FUNC(i64 %arg1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i64*)* @pthread_mutex_destroy, { 1, 0 } uselistorder i64 (i64)* @d_free, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 3, 2, 5, 4, 6, 7, 8, 9 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
host_pci_config_read_16422
host_pci_config_read
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sext6 = mul i64 %arg3, 4294967296 %0 = ashr exact i64 %sext6, 32 store i64 %0, i64* %sv_1, align 8 %1 = bitcast i64* %sv_0 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 4096, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i32 0, i32 0, i32 0, i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %3 = icmp slt i32 %2, 4096 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %or.cond = icmp eq i1 %3, %5 store i32 -19, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_1, label LBL_10 LBL_1: %6 = call i32 (i8*, i32, ...) @open(i8* nonnull %1, i32 2) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i32 -19, i32* %rax.0.shrunk.reg2mem br i1 %8, label LBL_2, label LBL_10 LBL_2: %sext = mul i64 %arg1, 4294967296 %9 = trunc i64 %arg1 to i32 %10 = call i32 @lseek(i32 %6, i32 %9, i32 0) %11 = sext i32 %10 to i64 %12 = ashr exact i64 %sext, 32 %13 = icmp eq i64 %12, %11 br i1 %13, label LBL_3, label LBL_4 LBL_3: %14 = trunc i64 %arg2 to i32 %15 = call i32 @read(i32 %6, i64* nonnull %sv_1, i32 %14) %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %.reg2mem store i32 %15, i32* %.lcssa.reg2mem br i1 %17, label LBL_8, label LBL_5 LBL_4: %18 = call i32* @__errno_location() %19 = load i32, i32* %18, align 4 %20 = sub i32 0, %19 store i32 %20, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_5: %21 = call i32* @__errno_location() %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 4 br i1 %23, label LBL_6, label LBL_7 LBL_6: %24 = call i32 @read(i32 %6, i64* nonnull %sv_1, i32 %14) %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %.reg2mem store i32 %24, i32* %.lcssa.reg2mem br i1 %26, label LBL_8, label LBL_5 LBL_7: %.reload = load i32, i32* %.reg2mem %27 = call i32* @__errno_location() %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 11 store i32 %.reload, i32* %.lcssa.reg2mem br i1 %29, label LBL_6, label LBL_8 LBL_8: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %30 = icmp eq i32 %.lcssa.reload, %14 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = call i32* @__errno_location() %32 = load i32, i32* %31, align 4 %33 = sub i32 0, %32 store i32 %33, i32* %rax.0.shrunk.reg2mem br label LBL_10 LBL_10: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %14, { 0, 2, 1 } uselistorder i32 %6, { 1, 0, 2, 3 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i32* ()* @__errno_location, { 2, 1, 0, 3 } uselistorder i32 (i32, i64*, i32)* @read, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_10, { 3, 0, 4, 1, 2 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
__lzma_wrap_alloc_4081
__lzma_wrap_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %arg2.off = add i64 %arg2, -1 %0 = icmp ult i64 %arg2.off, 1048576 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = call i64 @FUNC(i64 1, i64 %arg2) store i64 %1, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 3, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ga_command_state_new_15868
ga_command_state_new
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 8) %1 = inttoptr i64 %0 to i64* store i64 0, i64* %1, align 8 ret i64 %0 }
1
BinRealVul
reap_them_all_17998
reap_them_all
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %.reg2mem48 = alloca i32 %.reg2mem46 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem44 = alloca i32 %rcx.0.reg2mem = alloca i64 %rsi.6.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %rsi.5.lcssa.reg2mem = alloca i64 %rsi.4.reg2mem = alloca i64 %.reg2mem42 = alloca i32 %.reg2mem40 = alloca i32 %rsi.55.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i32 %.reg2mem38 = alloca i32 %rsi.3.lcssa.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %.reg2mem36 = alloca i32 %.reg2mem34 = alloca i32 %rsi.39.reg2mem = alloca i64 %storemerge210.reg2mem = alloca i32 %.reg2mem32 = alloca i32 %rsi.1.lcssa.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem30 = alloca i32 %.reg2mem28 = alloca i32* %rsi.112.reg2mem = alloca i64 %storemerge313.reg2mem = alloca i32 %.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 1 store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_24, label LBL_1 LBL_1: %5 = load i32, i32* @gv_1, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i32 %5, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_24, label LBL_2 LBL_2: %11 = load i32, i32* @gv_2, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8 br label LBL_5 LBL_4: store i32 1, i32* @gv_0, align 4 br label LBL_5 LBL_5: store i32 0, i32* %sv_0, align 4 %14 = load i32*, i32** @gv_4, align 8 %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 store i32* %14, i32** %.reg2mem store i32 0, i32* %storemerge313.reg2mem br i1 %16, label LBL_9, label LBL_6 LBL_6: %rsi.112.reload = load i64, i64* %rsi.112.reg2mem %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %.reload = load i32*, i32** %.reg2mem %17 = ptrtoint i32* %.reload to i64 %18 = add i64 %17, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = sext i32 %storemerge313.reload to i64 %22 = mul i64 %21, 4 %23 = add i64 %20, %22 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp slt i32 %25, 1 store i32* %.reload, i32** %.reg2mem28 store i32 %storemerge313.reload, i32* %.reg2mem30 store i64 %rsi.112.reload, i64* %rsi.0.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = sub i32 0, %25 %28 = call i32 @kill(i32 %27, i32 9) %.pre = load i32, i32* %sv_0, align 4 %.pre17 = load i32*, i32** @gv_4, align 8 store i32* %.pre17, i32** %.reg2mem28 store i32 %.pre, i32* %.reg2mem30 store i64 9, i64* %rsi.0.reg2mem br label LBL_8 LBL_8: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %.reload31 = load i32, i32* %.reg2mem30 %.reload29 = load i32*, i32** %.reg2mem28 %29 = add i32 %.reload31, 1 store i32 %29, i32* %sv_0, align 4 %30 = load i32, i32* %.reload29, align 4 %31 = icmp ugt i32 %30, %29 store i32* %.reload29, i32** %.reg2mem store i32 %29, i32* %storemerge313.reg2mem store i64 %rsi.0.reload, i64* %rsi.112.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.lcssa.reg2mem br i1 %31, label LBL_6, label LBL_9 LBL_9: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem store i32 0, i32* %sv_0, align 4 %32 = load i32, i32* @gv_5, align 4 %33 = icmp eq i32 %32, 0 store i32 %32, i32* %.reg2mem32 store i32 0, i32* %storemerge210.reg2mem store i64 %rsi.1.lcssa.reload, i64* %rsi.39.reg2mem store i64 %rsi.1.lcssa.reload, i64* %rsi.3.lcssa.reg2mem br i1 %33, label LBL_13, label LBL_10 LBL_10: %rsi.39.reload = load i64, i64* %rsi.39.reg2mem %storemerge210.reload = load i32, i32* %storemerge210.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %34 = load i64, i64* @gv_6, align 8 %35 = sext i32 %storemerge210.reload to i64 %36 = mul i64 %35, 4 %37 = add i64 %34, %36 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp slt i32 %39, 1 store i32 %.reload33, i32* %.reg2mem34 store i32 %storemerge210.reload, i32* %.reg2mem36 store i64 %rsi.39.reload, i64* %rsi.2.reg2mem br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = call i32 @kill(i32 %39, i32 9) %.pre18 = load i32, i32* %sv_0, align 4 %.pre19 = load i32, i32* @gv_5, align 4 store i32 %.pre19, i32* %.reg2mem34 store i32 %.pre18, i32* %.reg2mem36 store i64 9, i64* %rsi.2.reg2mem br label LBL_12 LBL_12: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %.reload37 = load i32, i32* %.reg2mem36 %.reload35 = load i32, i32* %.reg2mem34 %42 = add i32 %.reload37, 1 store i32 %42, i32* %sv_0, align 4 %43 = icmp ugt i32 %.reload35, %42 store i32 %.reload35, i32* %.reg2mem32 store i32 %42, i32* %storemerge210.reg2mem store i64 %rsi.2.reload, i64* %rsi.39.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.lcssa.reg2mem br i1 %43, label LBL_10, label LBL_13 LBL_13: %rsi.3.lcssa.reload = load i64, i64* %rsi.3.lcssa.reg2mem store i32 0, i32* %sv_0, align 4 %44 = load i32, i32* @gv_7, align 4 %45 = icmp eq i32 %44, 0 store i32 %44, i32* %.reg2mem38 store i32 0, i32* %storemerge16.reg2mem store i64 %rsi.3.lcssa.reload, i64* %rsi.55.reg2mem store i64 %rsi.3.lcssa.reload, i64* %rsi.5.lcssa.reg2mem store i32 0, i32* %.lcssa.reg2mem br i1 %45, label LBL_17, label LBL_14 LBL_14: %rsi.55.reload = load i64, i64* %rsi.55.reg2mem %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload39 = load i32, i32* %.reg2mem38 %46 = load i64, i64* @gv_8, align 8 %47 = sext i32 %storemerge16.reload to i64 %48 = mul i64 %47, 4 %49 = add i64 %46, %48 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp slt i32 %51, 1 store i32 %.reload39, i32* %.reg2mem40 store i32 %storemerge16.reload, i32* %.reg2mem42 store i64 %rsi.55.reload, i64* %rsi.4.reg2mem br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = call i32 @kill(i32 %51, i32 9) %.pre20 = load i32, i32* %sv_0, align 4 %.pre21 = load i32, i32* @gv_7, align 4 store i32 %.pre21, i32* %.reg2mem40 store i32 %.pre20, i32* %.reg2mem42 store i64 9, i64* %rsi.4.reg2mem br label LBL_16 LBL_16: %rsi.4.reload = load i64, i64* %rsi.4.reg2mem %.reload43 = load i32, i32* %.reg2mem42 %.reload41 = load i32, i32* %.reg2mem40 %54 = add i32 %.reload43, 1 store i32 %54, i32* %sv_0, align 4 %55 = icmp ugt i32 %.reload41, %54 store i32 %.reload41, i32* %.reg2mem38 store i32 %54, i32* %storemerge16.reg2mem store i64 %rsi.4.reload, i64* %rsi.55.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.lcssa.reg2mem store i32 %.reload41, i32* %.lcssa.reg2mem br i1 %55, label LBL_14, label LBL_17 LBL_17: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %rsi.5.lcssa.reload = load i64, i64* %rsi.5.lcssa.reg2mem %56 = zext i32 %.lcssa.reload to i64 %57 = load i32, i32* @gv_9, align 4 %58 = icmp slt i32 %57, 0 store i64 %56, i64* %rdx.0.reg2mem store i64 %rsi.5.lcssa.reload, i64* %rsi.6.reg2mem br i1 %58, label LBL_19, label LBL_18 LBL_18: %59 = call i32 @kill(i32 %57, i32 9) %60 = load i32, i32* @gv_9, align 4 %61 = ptrtoint i32* %sv_0 to i64 %62 = call i32 @waitpid(i32 %60, i32* nonnull %sv_0, i32 0) %63 = load i32, i32* @gv_9, align 4 %64 = zext i32 %63 to i64 %65 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_10, i64 0, i64 0), i64 %64, i64 0, i64 %61, i64 %2, i64 %1) store i64 0, i64* %rdx.0.reg2mem store i64 %64, i64* %rsi.6.reg2mem store i64 %61, i64* %rcx.0.reg2mem br label LBL_19 LBL_19: %66 = load i64, i64* @gv_11, align 8 %67 = icmp eq i64 %66, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %67, label LBL_24, label LBL_20 LBL_20: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %rsi.6.reload = load i64, i64* %rsi.6.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %68 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_12, i64 0, i64 0), i64 %rsi.6.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) store i32 1, i32* %sv_0, align 4 %69 = load i32, i32* @gv_13, align 4 %70 = icmp eq i32 %69, 0 store i32 %69, i32* %.reg2mem44 store i32 1, i32* %storemerge4.reg2mem store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %70, label LBL_24, label LBL_21 LBL_21: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload45 = load i32, i32* %.reg2mem44 %71 = load i64, i64* @gv_11, align 8 %72 = sext i32 %storemerge4.reload to i64 %73 = mul i64 %72, 4 %74 = add i64 %73, %71 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = icmp slt i32 %76, 1 store i32 %.reload45, i32* %.reg2mem46 store i32 %storemerge4.reload, i32* %.reg2mem48 br i1 %77, label LBL_23, label LBL_22 LBL_22: %78 = call i32 @kill(i32 %76, i32 15) %.pre22 = load i32, i32* %sv_0, align 4 %.pre23 = load i32, i32* @gv_13, align 4 store i32 %.pre23, i32* %.reg2mem46 store i32 %.pre22, i32* %.reg2mem48 br label LBL_23 LBL_23: %.reload49 = load i32, i32* %.reg2mem48 %.reload47 = load i32, i32* %.reg2mem46 %79 = add i32 %.reload49, 1 store i32 %79, i32* %sv_0, align 4 %80 = icmp ult i32 %.reload47, %79 store i32 %.reload47, i32* %.reg2mem44 store i32 %79, i32* %storemerge4.reg2mem store i32 %79, i32* %rax.0.shrunk.reg2mem br i1 %80, label LBL_24, label LBL_21 LBL_24: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %79, { 0, 1, 3, 2 } uselistorder i32 %.reload47, { 1, 0 } uselistorder i32 %54, { 0, 2, 1 } uselistorder i32 %.reload41, { 0, 2, 1 } uselistorder i32 %42, { 0, 2, 1 } uselistorder i32 %.reload35, { 1, 0 } uselistorder i32 %29, { 0, 2, 1 } uselistorder i32* %.reload29, { 1, 0 } uselistorder i32 %5, { 0, 2, 1 } uselistorder i32* %sv_0, { 11, 0, 7, 12, 13, 10, 1, 6, 9, 2, 5, 8, 3, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32** %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge313.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.112.reg2mem, { 1, 0 } uselistorder i32* %.reg2mem32, { 2, 0, 1 } uselistorder i32* %storemerge210.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.39.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem38, { 2, 0, 1 } uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.55.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem44, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem46, { 0, 2, 1 } uselistorder i32* %.reg2mem48, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @uwsgi_log, { 1, 0 } uselistorder i32* @gv_9, { 2, 1, 0 } uselistorder i32 (i32, i32)* @kill, { 3, 1, 0, 4, 2 } uselistorder i32 9, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 5, 0, 12, 20, 1, 2, 6, 11, 3, 7, 10, 21, 4, 8, 9, 22, 23, 24, 13, 14, 15, 16, 17, 18, 19 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 44, 40, 3, 8, 36, 45, 39, 46, 38, 47, 37, 48, 49, 4, 41, 42, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 7, 6, 5, 2, 43, 1, 0 } uselistorder label LBL_24, { 0, 1, 2, 4, 3 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
sortROGetKeys_12826
sortROGetKeys
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i32* store i32 3, i32* %4, align 4 ret i64 1 }
1
BinRealVul
addFloat64Sigs_15626
addFloat64Sigs
define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %storemerge13.in.reg2mem = alloca i16 %sv_2.1.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %sv_4.1.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %0 = udiv i64 %arg1, 4503599627370496 %1 = trunc i64 %0 to i16 %2 = urem i16 %1, 2048 %3 = udiv i64 %arg2, 4503599627370496 %4 = trunc i64 %3 to i16 %5 = urem i16 %4, 2048 %6 = sub nsw i16 %2, %5 %7 = sext i16 %6 to i32 %8 = mul i64 %arg1, 512 %9 = and i64 %8, 2305843009213693440 %10 = mul i64 %arg2, 512 %11 = and i64 %10, 2305843009213693440 %12 = icmp slt i16 %6, 1 br i1 %12, label LBL_8, label LBL_1 LBL_1: %13 = icmp eq i16 %2, 2047 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = icmp eq i64 %9, 0 %arg1. = select i1 %15, i64 %arg1, i64 9221120237041090560 store i64 %arg1., i64* %rax.0.reg2mem br label LBL_24 LBL_3: %16 = icmp eq i16 %5, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = mul i32 %7, 65536 %sext = add nsw i32 %18, -65536 %19 = ashr exact i32 %sext, 16 store i64 %11, i64* %sv_2.0.reg2mem store i32 %19, i32* %sv_4.0.reg2mem br label LBL_6 LBL_5: %20 = or i64 %11, 2305843009213693952 store i64 %20, i64* %sv_2.0.reg2mem store i32 %7, i32* %sv_4.0.reg2mem br label LBL_6 LBL_6: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %21 = trunc i32 %sv_4.0.reload to i16 %22 = icmp sgt i16 %21, 63 store i64 %9, i64* %sv_3.1.reg2mem store i64 0, i64* %sv_2.1.reg2mem store i16 %2, i16* %storemerge13.in.reg2mem br i1 %22, label LBL_22, label LBL_7 LBL_7: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %23 = urem i32 %sv_4.0.reload, 64 %24 = icmp eq i32 %23, 0 %25 = zext i32 %23 to i64 %rdx.0 = lshr i64 %sv_2.0.reload, %25 %notmask = shl nsw i64 -1, %25 %26 = sub i64 0, %notmask %phitmp15 = sub i64 %26, 1 %storemerge = select i1 %24, i64 0, i64 %phitmp15 %27 = and i64 %storemerge, %sv_2.0.reload %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false %30 = zext i1 %29 to i64 %31 = or i64 %rdx.0, %30 store i64 %9, i64* %sv_3.1.reg2mem store i64 %31, i64* %sv_2.1.reg2mem store i16 %2, i16* %storemerge13.in.reg2mem br label LBL_22 LBL_8: %32 = icmp ne i16 %6, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_17, label LBL_9 LBL_9: %34 = icmp eq i16 %5, 2047 %35 = icmp eq i1 %34, false br i1 %35, label LBL_12, label LBL_10 LBL_10: %36 = icmp eq i64 %11, 0 store i64 9221120237041090560, i64* %rax.0.reg2mem br i1 %36, label LBL_11, label LBL_24 LBL_11: %37 = zext i8 %arg3 to i64 %38 = shl i64 %37, 63 %39 = or i64 %38, 9218868437227405312 store i64 %39, i64* %rax.0.reg2mem br label LBL_24 LBL_12: %40 = icmp eq i16 %2, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_14, label LBL_13 LBL_13: %42 = mul i32 %7, 65536 %sext9 = add nsw i32 %42, 65536 %43 = ashr exact i32 %sext9, 16 store i64 %9, i64* %sv_3.0.reg2mem store i32 %43, i32* %sv_4.1.reg2mem br label LBL_15 LBL_14: %44 = or i64 %9, 2305843009213693952 store i64 %44, i64* %sv_3.0.reg2mem store i32 %7, i32* %sv_4.1.reg2mem br label LBL_15 LBL_15: %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %45 = trunc i32 %sv_4.1.reload to i16 %46 = icmp slt i16 %45, -63 store i64 0, i64* %sv_3.1.reg2mem store i64 %11, i64* %sv_2.1.reg2mem store i16 %5, i16* %storemerge13.in.reg2mem br i1 %46, label LBL_22, label LBL_16 LBL_16: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %47 = sub nsw i32 0, %sv_4.1.reload %48 = urem i32 %47, 64 %49 = icmp eq i32 %48, 0 %50 = zext i32 %48 to i64 %rdx.1 = lshr i64 %sv_3.0.reload, %50 %notmask18 = shl nsw i64 -1, %50 %51 = sub i64 0, %notmask18 %phitmp = sub i64 %51, 1 %storemerge12 = select i1 %49, i64 0, i64 %phitmp %52 = and i64 %storemerge12, %sv_3.0.reload %53 = icmp eq i64 %52, 0 %54 = icmp eq i1 %53, false %55 = zext i1 %54 to i64 %56 = or i64 %rdx.1, %55 store i64 %56, i64* %sv_3.1.reg2mem store i64 %11, i64* %sv_2.1.reg2mem store i16 %5, i16* %storemerge13.in.reg2mem br label LBL_22 LBL_17: %57 = icmp eq i16 %2, 2047 %58 = icmp eq i1 %57, false br i1 %58, label LBL_19, label LBL_18 LBL_18: %59 = or i64 %11, %9 %60 = icmp eq i64 %59, 0 %arg1.16 = select i1 %60, i64 %arg1, i64 9221120237041090560 store i64 %arg1.16, i64* %rax.0.reg2mem br label LBL_24 LBL_19: %61 = icmp eq i16 %2, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_21, label LBL_20 LBL_20: %63 = zext i8 %arg3 to i64 %64 = shl i64 %63, 63 %65 = add nuw nsw i64 %11, %9 %66 = udiv i64 %65, 512 %67 = or i64 %66, %64 store i64 %67, i64* %rax.0.reg2mem br label LBL_24 LBL_21: %68 = add nuw nsw i64 %11, %9 %69 = or i64 %68, 4611686018427387904 %70 = zext i16 %2 to i32 store i32 %70, i32* %sv_1.0.reg2mem store i64 %69, i64* %sv_0.0.reg2mem br label LBL_23 LBL_22: %storemerge13.in.reload = load i16, i16* %storemerge13.in.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %71 = zext i16 %storemerge13.in.reload to i32 %72 = or i64 %sv_3.1.reload, 2305843009213693952 %73 = add i64 %sv_2.1.reload, %72 %74 = mul i64 %73, 2 %75 = mul i32 %71, 65536 %sext5 = add nsw i32 %75, -65536 %76 = ashr exact i32 %sext5, 16 %77 = icmp slt i64 %74, 0 %78 = icmp eq i1 %77, false %spec.select = select i1 %78, i32 %76, i32 %71 %spec.select17 = select i1 %78, i64 %74, i64 %73 store i32 %spec.select, i32* %sv_1.0.reg2mem store i64 %spec.select17, i64* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %79 = zext i32 %sv_1.0.reload to i64 %80 = sext i8 %arg3 to i64 %81 = and i64 %80, 4294967295 %82 = call i64 @FUNC(i64 %81, i64 %79, i64 %sv_0.0.reload) store i64 %82, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %74, { 1, 0 } uselistorder i64 %73, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i64 %sv_3.0.reload, { 1, 0 } uselistorder i32 %sv_4.1.reload, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 1, 0 } uselistorder i32 %sv_4.0.reload, { 1, 0 } uselistorder i64 %11, { 3, 4, 5, 1, 0, 7, 6, 2 } uselistorder i64 %9, { 3, 4, 5, 7, 2, 0, 1, 6 } uselistorder i32 %7, { 0, 2, 1, 3 } uselistorder i16 %5, { 1, 0, 3, 4, 2 } uselistorder i16 %2, { 7, 3, 4, 5, 0, 1, 6, 2 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i16* %storemerge13.in.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 4, 2, 3 } uselistorder i32 16, { 1, 0, 2 } uselistorder i32 65536, { 0, 3, 1, 2 } uselistorder i16 0, { 1, 2, 0, 3 } uselistorder i64 9221120237041090560, { 1, 0, 2 } uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 %arg3, { 2, 1, 0 } uselistorder i64 %arg1, { 2, 3, 0, 1 } uselistorder label LBL_24, { 3, 4, 0, 5, 1, 2 } }
1
BinRealVul
handle_recv_2_6953
handle_recv_2
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8, align 1 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %arg4.off = add i16 %arg4, -22 %0 = icmp ugt i16 %arg4.off, 1002 store i64 1, i64* %rax.0.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg3 to i64 %2 = add i64 %1, 21 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %.off = add i8 %4, -1 %switch = icmp ult i8 %.off, 2 store i64 1, i64* %rax.0.reg2mem br i1 %switch, label LBL_2, label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %1, 13 %8 = add i64 %1, 1 %9 = add i64 %5, 8 %10 = call i64 @FUNC(i64 %9, i64 %8, i64 %7, i64 32, i64* nonnull %sv_5) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 16 store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %13 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_5, i32 16, i64 0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false store i64 1, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: store i8 3, i8* %sv_3, align 1 %17 = call i64* @memcpy(i64* nonnull %sv_1, i64* nonnull %sv_2, i32 10) %18 = zext i16 %arg4 to i32 %19 = add nsw i32 %18, -21 %20 = ptrtoint i64* %sv_0 to i64 %21 = inttoptr i64 %2 to i64* %22 = call i64* @memcpy(i64* nonnull %sv_0, i64* %21, i32 %19) %23 = add i16 %arg4, -10 %24 = load i64, i64* %sv_4, align 8 %25 = call i64 @FUNC(i64 %20, i64 %24, i8* nonnull %sv_3, i16 %23) %26 = trunc i64 %25 to i32 %27 = zext i16 %23 to i32 %28 = icmp ne i32 %26, %27 %. = zext i1 %28 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 1, { 0, 1, 4, 2, 3 } uselistorder i16 %arg4, { 1, 2, 0 } uselistorder label LBL_5, { 2, 3, 4, 0, 1 } }
0
BinRealVul
pnv_chip_power8nvl_class_init_3287
pnv_chip_power8nvl_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 1300748959618170880, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 1121501860331520, i64* %11, align 8 store i64 ptrtoint ([23 x i8]* @gv_2 to i64), i64* %arg1, align 8 ret i64 %0 }
0
BinRealVul
getsymbol_6132
getsymbol
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 72057594037927936 %0 = ashr exact i64 %sext, 56 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %.pre = trunc i64 %0 to i8 br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = icmp eq i8 %.pre, 62 %4 = icmp eq i1 %3, false store i64 95, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_12 LBL_2: %5 = icmp eq i8 %.pre, 63 %6 = icmp eq i1 %5, false store i64 45, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_12 LBL_3: %7 = icmp eq i8 %1, 1 br i1 %7, label LBL_6, label LBL_4 LBL_4: %8 = icmp eq i8 %.pre, 64 %9 = icmp eq i1 %8, false store i64 47, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_12 LBL_5: %10 = icmp eq i8 %.pre, 65 %11 = icmp eq i1 %10, false store i64 43, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_12 LBL_6: %12 = icmp ult i8 %.pre, 26 br i1 %12, label LBL_7, label LBL_8 LBL_7: %13 = urem i64 %0, 256 %14 = add nuw nsw i64 %13, 65 store i64 %14, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %15 = icmp ult i8 %.pre, 52 br i1 %15, label LBL_9, label LBL_10 LBL_9: %16 = urem i64 %0, 256 %17 = add nuw nsw i64 %16, 71 store i64 %17, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %18 = icmp ult i8 %.pre, 62 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_12 LBL_11: %19 = urem i64 %0, 256 %20 = add nuw nsw i64 %19, 4294967292 %21 = and i64 %20, 4294967295 store i64 %21, 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 i64* %rax.0.reg2mem, { 0, 6, 1, 7, 8, 2, 3, 4, 5 } uselistorder label LBL_12, { 5, 0, 6, 7, 1, 2, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
decode_nfs_fh_19096
decode_nfs_fh
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 4) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967191, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_5 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = trunc i64 %3 to i32 %11 = call i64 @FUNC(i64 %6) %12 = trunc i64 %11 to i32 %13 = bitcast i64* %arg2 to i32* store i32 %12, i32* %13, align 4 %14 = icmp ult i32 %10, 133 %15 = and i64 %3, 4294967295 br i1 %14, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %9, i64 %4, i64 %2, i64 %1) store i64 4294967221, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %17 = call i64 @FUNC(i64 %5, i64 %15) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 4294967191, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_4: %20 = add i64 %9, 4 %21 = inttoptr i64 %20 to i64* %22 = inttoptr i64 %17 to i64* %23 = call i64* @memcpy(i64* %21, i64* %22, i32 %10) %24 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %20, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0 } uselistorder i64 %15, { 2, 0, 1 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @xdr_inline_decode, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_5, { 2, 0, 3, 1 } }
1
BinRealVul
rgb16tobgr15_362
rgb16tobgr15
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = icmp sgt i64 %arg3, 1 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = ashr i64 %arg3, 1 %3 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %4 = mul i64 %storemerge2.reload, 2 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = and i8 %7, -32 %9 = add i64 %4, %1 %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = add nuw nsw i64 %storemerge2.reload, 1 %12 = icmp slt i64 %11, %2 store i64 %11, i64* %storemerge2.reg2mem store i64 %11, i64* %storemerge.lcssa.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__f2fs_set_acl_10982
__f2fs_set_acl
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i32* %sv_2.06.reg2mem = alloca i32 %sv_2.09.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 0, i64* %sv_3, align 8 %4 = icmp eq i32 %2, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_15 LBL_2: %7 = icmp eq i32* %arg3, null store i32 3, i32* %sv_2.06.reg2mem store i32* null, i32** %sv_1.05.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %7, label LBL_12, label LBL_3 LBL_3: %8 = ptrtoint i32* %arg1 to i64 %9 = ptrtoint i32* %arg3 to i64 %10 = call i64 @FUNC(i64 %9, i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = and i64 %10, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_15 LBL_5: %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %8, i64 %15) %17 = icmp eq i32 %11, 0 %18 = icmp eq i1 %17, false store i64 %9, i64* %.pre-phi.reg2mem store i32 3, i32* %sv_2.09.reg2mem store i32 3, i32* %sv_2.06.reg2mem store i32* null, i32** %sv_1.05.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %18, label LBL_10, label LBL_12 LBL_6: %19 = and i64 %1, 61440 %20 = icmp eq i64 %19, 16384 %21 = icmp eq i32* %arg3, null br i1 %20, label LBL_8, label LBL_7 LBL_7: %. = select i1 %21, i64 0, i64 4294967283 store i64 %., i64* %rax.0.reg2mem br label LBL_15 LBL_8: store i32 4, i32* %sv_2.06.reg2mem store i32* null, i32** %sv_1.05.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_12, label LBL_8.LBL_10_crit_edge LBL_9: %.pre = ptrtoint i32* %arg3 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i32 4, i32* %sv_2.09.reg2mem br label LBL_10 LBL_10: %sv_2.09.reload = load i32, i32* %sv_2.09.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %22 = call i64 @FUNC(i64 %.pre-phi.reload, i64* nonnull %sv_3) %23 = icmp ult i64 %22, -1000 store i32 %sv_2.09.reload, i32* %sv_2.06.reg2mem store i32* %arg3, i32** %sv_1.05.reg2mem store i64 %22, i64* %sv_0.0.reg2mem br i1 %23, label LBL_12, label LBL_11 LBL_11: %24 = ptrtoint i32* %arg1 to i64 %25 = call i64 @FUNC(i64 %24, i64 1) store i64 %22, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem %26 = load i64, i64* %sv_3, align 8 %27 = ptrtoint i32* %arg4 to i64 %28 = ptrtoint i32* %arg1 to i64 %29 = call i64 @FUNC(i64 %28, i32 %sv_2.06.reload, i64* nonnull @gv_0, i64 %sv_0.0.reload, i64 %26, i64 %27) %30 = trunc i64 %29 to i32 %31 = call i64 @FUNC(i64 %sv_0.0.reload) %32 = icmp eq i32 %30, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_14, label LBL_13 LBL_13: %sv_1.05.reload = load i32*, i32** %sv_1.05.reg2mem %34 = ptrtoint i32* %sv_1.05.reload to i64 %35 = and i64 %3, 4294967295 %36 = call i64 @FUNC(i64 %28, i64 %35, i64 %34) br label LBL_14 LBL_14: %37 = call i64 @FUNC(i64 %28, i64 1) %38 = and i64 %29, 4294967295 store i64 %38, 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 %28, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i1 %21, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.09.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.06.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32** %sv_1.05.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 } uselistorder i64 (i64, i64)* @clear_inode_flag, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 3, { 0, 2, 1 } uselistorder i32* null, { 2, 4, 0, 1, 3 } uselistorder i32* %arg3, { 0, 1, 2, 4, 3 } uselistorder i32* %arg1, { 2, 1, 0 } uselistorder label LBL_15, { 2, 3, 1, 4, 0 } uselistorder label LBL_12, { 2, 3, 0, 1 } }
1
BinRealVul
decode_styl_1744
decode_styl
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in3.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %1 to i32 %7 = mul i32 %6, 256 %8 = and i32 %7, 65280 %9 = add i64 %5, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i32 %13 = or i32 %8, %12 %14 = trunc i64 %2 to i32 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = mul nuw nsw i32 %13, 12 %19 = add i32 %14, 2 %20 = add i32 %19, %17 %21 = add i32 %20, %18 %22 = trunc i64 %3 to i32 %23 = icmp ugt i32 %21, %22 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_8, label LBL_1 LBL_1: %24 = add i64 %4, 8 %25 = inttoptr i64 %24 to i32* store i32 %13, i32* %25, align 4 %26 = add i64 %4, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = or i32 %28, 1 store i32 %29, i32* %27, align 4 %30 = load i32, i32* %25, align 4 %31 = icmp eq i32 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_8, label LBL_2 LBL_2: %32 = add i64 %5, 2 %33 = add i64 %4, 16 %34 = inttoptr i64 %33 to i64* %35 = add i64 %4, 24 %36 = add i64 %4, 32 %37 = inttoptr i64 %36 to i64* store i32 0, i32* %storemerge4.reg2mem store i64 %32, i64* %sv_0.0.in3.reg2mem br label LBL_3 LBL_3: %sv_0.0.in3.reload = load i64, i64* %sv_0.0.in3.reg2mem %38 = call i64 @FUNC(i64 20) store i64 %38, i64* %34, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_5, label LBL_4 LBL_4: %41 = call i64 @FUNC(i64 %4) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %sv_0.05 = inttoptr i64 %sv_0.0.in3.reload to i8* %42 = load i8, i8* %sv_0.05, align 1 %43 = zext i8 %42 to i32 %44 = mul i32 %43, 256 %45 = add i64 %sv_0.0.in3.reload, 1 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = zext i8 %47 to i32 %49 = or i32 %44, %48 %50 = inttoptr i64 %38 to i32* store i32 %49, i32* %50, align 4 %51 = add i64 %sv_0.0.in3.reload, 2 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = zext i8 %53 to i32 %55 = mul i32 %54, 256 %56 = add i64 %sv_0.0.in3.reload, 3 %57 = inttoptr i64 %56 to i8* %58 = load i8, i8* %57, align 1 %59 = load i64, i64* %34, align 8 %60 = zext i8 %58 to i32 %61 = or i32 %55, %60 %62 = add i64 %59, 4 %63 = inttoptr i64 %62 to i32* store i32 %61, i32* %63, align 4 %64 = add i64 %sv_0.0.in3.reload, 4 %65 = inttoptr i64 %64 to i8* %66 = load i8, i8* %65, align 1 %67 = zext i8 %66 to i32 %68 = mul i32 %67, 256 %69 = add i64 %sv_0.0.in3.reload, 5 %70 = inttoptr i64 %69 to i8* %71 = load i8, i8* %70, align 1 %72 = load i64, i64* %34, align 8 %73 = zext i8 %71 to i32 %74 = or i32 %68, %73 %75 = add i64 %72, 8 %76 = inttoptr i64 %75 to i32* store i32 %74, i32* %76, align 4 %77 = add i64 %sv_0.0.in3.reload, 6 %78 = inttoptr i64 %77 to i8* %79 = load i8, i8* %78, align 1 %80 = load i64, i64* %34, align 8 %81 = zext i8 %79 to i32 %82 = add i64 %80, 12 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = add i64 %sv_0.0.in3.reload, 7 %85 = inttoptr i64 %84 to i8* %86 = load i8, i8* %85, align 1 %87 = load i64, i64* %34, align 8 %88 = zext i8 %86 to i32 %89 = add i64 %87, 16 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 %91 = load i64, i64* %34, align 8 %92 = call i64 @FUNC(i64 %36, i64 %35, i64 %91) %93 = load i64, i64* %37, align 8 %94 = icmp eq i64 %93, 0 %95 = icmp eq i1 %94, false br i1 %95, label LBL_7, label LBL_6 LBL_6: %96 = call i64 @FUNC(i64 %4) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %97 = add i64 %sv_0.0.in3.reload, 12 %98 = add i32 %storemerge4.reload, 1 %99 = load i32, i32* %25, align 4 %100 = zext i32 %99 to i64 %101 = sext i32 %98 to i64 %102 = icmp slt i64 %101, %100 store i32 %98, i32* %storemerge4.reg2mem store i64 %97, i64* %sv_0.0.in3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %102, label LBL_3, label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %38, { 1, 0, 2 } uselistorder i64 %sv_0.0.in3.reload, { 0, 6, 5, 4, 3, 2, 1, 7, 8 } uselistorder i64 %36, { 1, 0 } uselistorder i32* %25, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 0, 3, 2, 1, 4, 5, 6, 7 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @mov_text_cleanup, { 1, 0 } uselistorder label LBL_8, { 0, 3, 4, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
parse_status_12441
parse_status
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rdx.2.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %storemerge.in15.reg2mem = alloca i64 %.reg2mem = alloca i8* %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i8* @strchr(i8* %0, i32 10) %2 = icmp eq i8* %1, null %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_11 LBL_1: %storemerge.in.in13 = ptrtoint i8* %1 to i64 %storemerge.in14 = add i64 %storemerge.in.in13, 1 %4 = inttoptr i64 %storemerge.in14 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_10 LBL_2: %8 = ptrtoint i64* %sv_7 to i64 %9 = ptrtoint i64* %sv_3 to i64 %10 = add i64 %8, -16 %11 = inttoptr i64 %10 to i64* %12 = ptrtoint i64* %sv_2 to i64 %13 = add i64 %8, -24 %14 = inttoptr i64 %13 to i64* %15 = ptrtoint i64* %sv_1 to i64 %16 = add i64 %8, -32 %17 = inttoptr i64 %16 to i64* %18 = ptrtoint i32* %sv_0 to i64 %19 = bitcast i64* %sv_3 to i8* store i8* %4, i8** %.reg2mem store i64 %storemerge.in14, i64* %storemerge.in15.reg2mem br label LBL_3 LBL_3: %storemerge.in15.reload = load i64, i64* %storemerge.in15.reg2mem %.reload = load i8*, i8** %.reg2mem %storemerge = inttoptr i64 %storemerge.in15.reload to i32* store i64 %12, i64* %11, align 8 store i64 %15, i64* %14, align 8 store i64 %18, i64* %17, align 8 %20 = call i32 (i8*, i8*, ...) @sscanf(i8* %.reload, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_3, i64* nonnull %sv_4, i64* nonnull %sv_5, i64* nonnull %sv_6, i32* %storemerge) %21 = icmp sgt i32 %20, 4 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = ptrtoint i64* %sv_5 to i64 %23 = ptrtoint i64* %sv_6 to i64 %24 = ptrtoint i64* %sv_4 to i64 %25 = zext i32 %20 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %9, i64 %24, i64 %22, i64 %23) %27 = call i64 @FUNC() unreachable LBL_5: %28 = load i32, i32* %sv_0, align 4 %29 = load i64, i64* %sv_6, align 8 %30 = load i64, i64* %sv_5, align 8 %31 = and i64 %30, 4294967295 %32 = load i64, i64* %sv_4, align 8 %33 = and i64 %32, 4294967295 %34 = zext i32 %28 to i64 %35 = and i64 %29, 4294967295 %36 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %33, i64 %31, i64 %35, i64 %34) %37 = load i64, i64* %sv_1, align 8 %38 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %37, i64 %12, i64 %31, i64 %35, i64 %34) %39 = load i64, i64* @gv_4, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = load i64, i64* %sv_4, align 8 %sext = mul i64 %42, 4294967296 %43 = ashr exact i64 %sext, 32 %44 = ashr exact i64 %sext, 31 %45 = add nsw i64 %44, %43 %46 = mul i64 %45, 8 %47 = add i64 %46, %41 %48 = inttoptr i64 %47 to i32* %49 = inttoptr i64 %47 to i64* %50 = call i64* @memset(i64* %49, i32 0, i32 24) %51 = call i32 @strncmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i8* nonnull %19, i32 2) %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false %. = select i1 %53, i32 2, i32 1 store i32 %., i32* %48, align 4 %54 = load i64, i64* %sv_4, align 8 %55 = trunc i64 %54 to i32 %56 = add i64 %47, 4 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = load i64, i64* %sv_5, align 8 %59 = trunc i64 %58 to i32 %60 = add i64 %47, 8 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = load i32, i32* %sv_0, align 4 %63 = add i64 %47, 12 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = load i32, i32* %sv_0, align 4 %66 = ashr i32 %65, 16 %67 = add i64 %47, 16 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 %69 = load i32, i32* %sv_0, align 4 %70 = urem i32 %69, 65536 %71 = zext i32 %70 to i64 %72 = add i64 %47, 20 %73 = inttoptr i64 %72 to i32* store i32 %70, i32* %73, align 4 %74 = load i32, i32* %61, align 4 %switch = icmp ult i32 %74, 2 store i64 %71, i64* %rdx.0.reg2mem br i1 %switch, label LBL_8, label LBL_6 LBL_6: %75 = call i64 @FUNC(i64 %47, i64* nonnull %sv_2) %76 = icmp eq i64 %75, 0 %77 = icmp eq i1 %76, false store i64 %12, i64* %rdx.0.reg2mem br i1 %77, label LBL_8, label LBL_7 LBL_7: %78 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 %12, i64 %12, i64 %41, i64 %35, i64 %34) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %79 = call i8* @strchr(i8* %.reload, i32 10) %80 = icmp eq i8* %79, null store i64 %41, i64* %rcx.1.reg2mem store i64 %rdx.0.reload, i64* %rdx.2.reg2mem store i64 %35, i64* %r8.1.reg2mem store i64 %34, i64* %r9.1.reg2mem br i1 %80, label LBL_10, label LBL_9 LBL_9: %storemerge.in.in = ptrtoint i8* %79 to i64 %storemerge.in = add i64 %storemerge.in.in, 1 %81 = inttoptr i64 %storemerge.in to i8* %82 = load i8, i8* %81, align 1 %83 = icmp eq i8 %82, 0 %84 = icmp eq i1 %83, false store i8* %81, i8** %.reg2mem store i64 %storemerge.in, i64* %storemerge.in15.reg2mem store i64 %41, i64* %rcx.1.reg2mem store i64 %rdx.0.reload, i64* %rdx.2.reg2mem store i64 %35, i64* %r8.1.reg2mem store i64 %34, i64* %r9.1.reg2mem br i1 %84, label LBL_3, label LBL_10 LBL_10: %r9.1.reload = load i64, i64* %r9.1.reg2mem %r8.1.reload = load i64, i64* %r8.1.reg2mem %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %85 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 10, i64 %rdx.2.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %r9.1.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %70, { 1, 0 } uselistorder i64 %47, { 0, 1, 2, 3, 4, 5, 7, 6 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %34, { 0, 1, 2, 4, 3 } uselistorder i64 %12, { 2, 1, 0, 3, 4 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %sv_6, { 1, 2, 0 } uselistorder i64* %sv_5, { 1, 2, 3, 0 } uselistorder i64* %sv_4, { 1, 2, 3, 4, 0 } uselistorder i32* %sv_0, { 4, 3, 2, 1, 0 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in15.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dbg, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 2, 0, 3, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder i32 1, { 10, 20, 19, 18, 17, 16, 15, 14, 13, 9, 8, 7, 6, 5, 4, 3, 2, 11, 12, 21, 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
__rta_fill_11551
__rta_fill
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i32 %arg3, 7 %2 = and i32 %1, -4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i32 %arg2 to i16 %6 = add i64 %4, 2 %7 = inttoptr i64 %6 to i16* store i16 %5, i16* %7, align 2 %8 = trunc i32 %arg3 to i16 %9 = add i16 %8, 4 %10 = inttoptr i64 %4 to i16* store i16 %9, i16* %10, align 2 %11 = add i64 %4, 4 %12 = inttoptr i64 %11 to i64* %13 = bitcast i32* %arg4 to i64* %14 = call i64* @memcpy(i64* %12, i64* %13, i32 %arg3) %15 = ptrtoint i64* %14 to i64 ret i64 %15 }
1
BinRealVul
be_get_config_17629
be_get_config
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %2, 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_7 LBL_2: %8 = add i64 %2, 8 %9 = add i64 %2, 4 %10 = call i64 @FUNC(i64 %2, i64 %9, i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %14 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 6) %15 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0, i64 1, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = and i64 %15, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = load i64, i64* %sv_0, align 8 %23 = trunc i64 %22 to i32 %24 = inttoptr i64 %21 to i32* store i32 %23, i32* %24, align 4 %25 = add i64 %21, 4 %26 = inttoptr i64 %25 to i16* store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %21, { 1, 0 } uselistorder i64* %sv_0, { 2, 0, 1 } uselistorder i64 %2, { 0, 1, 4, 3, 2, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 0, { 1, 0, 2, 3 } }
1
BinRealVul
avfilter_unref_buffer_1277
avfilter_unref_buffer
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 store i64 %arg1, i64* %rdi, align 8 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_9, label LBL_1 LBL_1: %1 = trunc i64 %arg1 to i32 %2 = bitcast i64* %rdi to i32* %3 = icmp eq i32 %1, 0 %4 = icmp slt i32 %1, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 %8 = zext i1 %7 to i64 store i64 %8, i64* %rdi, align 8 %9 = call i64 @FUNC(i64 %8) %not. = icmp ne i1 %7, true %10 = sext i1 %not. to i32 %11 = inttoptr i64 %8 to i32* store i32 %10, i32* %11, align 4 %12 = load i32, i32* %2, align 8 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = load i64, i64* %rdi, align 8 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %arg1) store i64 %21, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %22 = add i64 %arg1, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %arg1, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %24, %27 br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %22) br label LBL_6 LBL_6: %30 = add i64 %arg1, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %32) br label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %30) %36 = add i64 %arg1, 32 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %arg1, 40 %39 = call i64 @FUNC(i64 %38) %40 = call i64 @FUNC(i64 %arg1) store i64 %40, 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, { 2, 1, 0 } uselistorder i64* %rdi, { 2, 0, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_freep, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 %arg1, { 2, 4, 3, 5, 7, 6, 1, 0, 8, 9 } uselistorder label LBL_9, { 1, 2, 0 } }
0
BinRealVul
vips_malloc_11372
vips_malloc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2) %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 4198726, i64 %0) %4 = add i64 %2, %arg2 store i64 %4, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
1
BinRealVul
av_get_audio_frame_duration_10346
av_get_audio_frame_duration
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = add i64 %2, 20 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %2, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %9 to i64 %23 = zext i32 %12 to i64 %24 = and i64 %1, 4294967295 %25 = call i64 @FUNC(i64 %24, i32 %21, i32 %18, i32 %15, i64 %23, i64 %22, i64 %6) ret i64 %25 }
0
BinRealVul
check_entry_size_and_hooks_11208
check_entry_size_and_hooks
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg6 to i64 %3 = ptrtoint i64* %arg5 to i64 %4 = ptrtoint i64* %arg4 to i64 %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i32* %arg1 to i64 %7 = urem i64 %6, 8 %8 = icmp eq i64 %7, 0 %9 = add i64 %6, 32 %10 = icmp ult i64 %9, %4 %or.cond = icmp eq i1 %8, %10 store i64 %5, i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %11 = and i64 %1, 4294967295 %12 = add i64 %11, %6 %13 = icmp ugt i64 %12, %4 %14 = icmp eq i1 %13, false store i64 %11, i64* %rdx.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %15 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %rdx.0.reload, i64 %4, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %16 = trunc i64 %1 to i32 %17 = icmp ult i32 %16, 32 br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %11, i64 %4, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %19 = add i64 %6, 8 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_18 LBL_6: %24 = add i64 %6, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %6, i64 %27, i32 %16) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_7, label LBL_8 LBL_7: %31 = ptrtoint i64* %arg2 to i64 %32 = sub i64 %6, %5 store i64 0, i64* %indvars.iv.reg2mem br label LBL_9 LBL_8: %33 = and i64 %28, 4294967295 store i64 %33, i64* %rax.0.reg2mem br label LBL_18 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = trunc i64 %indvars.iv.reload to i32 %35 = shl i32 1, %34 %storemerge = zext i32 %35 to i64 %36 = and i64 %storemerge, %arg7 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_16, label LBL_10 LBL_10: %38 = mul i64 %indvars.iv.reload, 4 %39 = add i64 %38, %3 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = zext i32 %41 to i64 %43 = icmp eq i64 %32, %42 %44 = icmp eq i1 %43, false br i1 %44, label LBL_12, label LBL_11 LBL_11: %45 = add i64 %38, %31 %46 = inttoptr i64 %45 to i32* store i32 %41, i32* %46, align 4 br label LBL_12 LBL_12: %47 = add i64 %38, %2 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = icmp eq i64 %32, %50 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_13 LBL_13: %53 = call i64 @FUNC(i64 %6) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_15, label LBL_14 LBL_14: %57 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_2, i64 0, i64 0), i64 %27, i64 %50, i64 %38, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_18 LBL_15: %58 = load i32, i32* %48, align 4 %59 = add i64 %38, %31 %60 = add i64 %59, 20 %61 = inttoptr i64 %60 to i32* store i32 %58, i32* %61, align 4 br label LBL_16 LBL_16: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %62 = icmp ult i64 %indvars.iv.next, 5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %62, label LBL_9, label LBL_17 LBL_17: %63 = inttoptr i64 %19 to i64* store i64 0, i64* %63, align 8 %64 = add i64 %6, 16 %65 = inttoptr i64 %64 to i64* store i64 0, i64* %65, align 8 %66 = add i64 %6, 24 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %38, { 3, 4, 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %11, { 2, 0, 1 } uselistorder i64 %6, { 3, 4, 5, 6, 8, 7, 10, 9, 11, 1, 2, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 2, 3, 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6 } uselistorder i64 1, { 2, 0, 1 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 4294967274, { 1, 0, 2, 3 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @duprintf, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_18, { 2, 1, 3, 0, 4, 5 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
check_alu_op_7862
check_alu_op
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %5 to i32 %8 = and i64 %5, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i8 %11 = icmp ne i8 %10, 0 %12 = icmp eq i8 %10, 1 %13 = icmp eq i1 %12, false %or.cond = icmp eq i1 %11, %13 br i1 %or.cond, label LBL_17, label LBL_1 LBL_1: br i1 %13, label LBL_7, label LBL_2 LBL_2: %14 = and i32 %7, 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = add i64 %5, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_4 LBL_4: %22 = add i64 %5, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %5, 16 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_13, label LBL_6 LBL_6: %31 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_7: %32 = add i64 %5, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_12, label LBL_8 LBL_8: %37 = add i64 %5, 12 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_12, label LBL_9 LBL_9: %42 = add i64 %5, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 switch i32 %44, label LBL_10 [ i32 16, label LBL_11 i32 32, label LBL_11 ] LBL_10: %45 = icmp eq i32 %44, 64 %46 = icmp eq i1 %45, false br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = urem i32 %7, 4 %48 = icmp eq i32 %47, 3 %49 = icmp eq i1 %48, false br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_13: %51 = add i64 %5, 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = zext i32 %53 to i64 %55 = call i64 @FUNC(i64 %6, i64 %54, i64 0) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 store i64 %55, i64* %rax.0.shrunk.reg2mem br i1 %57, label LBL_14, label LBL_36 LBL_14: %58 = load i32, i32* %52, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %6, i64 %59) %61 = trunc i64 %60 to i8 %62 = icmp eq i8 %61, 0 %63 = load i32, i32* %52, align 4 %64 = zext i32 %63 to i64 br i1 %62, label LBL_16, label LBL_15 LBL_15: %65 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %64, i64 %59, i64 %54, i64 %2, i64 %1) store i64 4294967283, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_16: %66 = call i64 @FUNC(i64 %6, i64 %64, i64 1) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 store i64 %66, i64* %rax.0.shrunk.reg2mem br i1 %68, label LBL_35, label LBL_36 LBL_17: %69 = icmp eq i8 %10, 2 %70 = icmp eq i1 %69, false br i1 %70, label LBL_34, label LBL_18 LBL_18: %71 = and i32 %7, 4 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_23, label LBL_19 LBL_19: %73 = add i64 %5, 16 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false br i1 %77, label LBL_21, label LBL_20 LBL_20: %78 = add i64 %5, 12 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label LBL_22, label LBL_21 LBL_21: %82 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_22: %83 = add i64 %5, 4 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = zext i32 %85 to i64 %87 = call i64 @FUNC(i64 %6, i64 %86, i64 0) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 store i64 %87, i64* %rax.0.shrunk.reg2mem br i1 %89, label LBL_26, label LBL_36 LBL_23: %90 = add i64 %5, 4 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false br i1 %94, label LBL_25, label LBL_24 LBL_24: %95 = add i64 %5, 12 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_26, label LBL_25 LBL_25: %99 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_26: %100 = add i64 %5, 8 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = zext i32 %102 to i64 %104 = call i64 @FUNC(i64 %6, i64 %103, i64 1) %105 = trunc i64 %104 to i32 %106 = icmp eq i32 %105, 0 store i64 %104, i64* %rax.0.shrunk.reg2mem br i1 %106, label LBL_27, label LBL_36 LBL_27: br i1 %72, label LBL_33, label LBL_28 LBL_28: %107 = urem i32 %7, 4 %108 = icmp eq i32 %107, 3 %109 = icmp eq i1 %108, false %110 = add i64 %5, 4 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 br i1 %109, label LBL_30, label LBL_29 LBL_29: %113 = sext i32 %112 to i64 %114 = mul i64 %113, 16 %115 = add i64 %114, %6 %116 = load i32, i32* %101, align 4 %117 = sext i32 %116 to i64 %118 = mul i64 %117, 16 %119 = add i64 %118, %6 %120 = inttoptr i64 %115 to i64* %121 = load i64, i64* %120, align 8 %122 = add i64 %115, 8 %123 = inttoptr i64 %122 to i64* %124 = load i64, i64* %123, align 8 %125 = inttoptr i64 %119 to i64* store i64 %121, i64* %125, align 8 %126 = add i64 %119, 8 %127 = inttoptr i64 %126 to i64* store i64 %124, i64* %127, align 8 br label LBL_35 LBL_30: %128 = zext i32 %112 to i64 %129 = call i64 @FUNC(i64 %6, i64 %128) %130 = trunc i64 %129 to i8 %131 = icmp eq i8 %130, 0 br i1 %131, label LBL_32, label LBL_31 LBL_31: %132 = load i32, i32* %111, align 4 %133 = zext i32 %132 to i64 %134 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64 %133, i64 %128, i64 %103, i64 %2, i64 %1) store i64 4294967283, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_32: %135 = load i32, i32* %101, align 4 %136 = sext i32 %135 to i64 %137 = mul i64 %136, 16 %138 = add i64 %137, %6 %139 = inttoptr i64 %138 to i32* store i32 0, i32* %139, align 4 %140 = load i32, i32* %101, align 4 %141 = sext i32 %140 to i64 %142 = mul i64 %141, 16 %143 = add i64 %6, 8 %144 = add i64 %143, %142 %145 = inttoptr i64 %144 to i64* store i64 0, i64* %145, align 8 br label LBL_35 LBL_33: %146 = load i32, i32* %101, align 4 %147 = sext i32 %146 to i64 %148 = mul i64 %147, 16 %149 = add i64 %148, %6 %150 = inttoptr i64 %149 to i32* store i32 1, i32* %150, align 4 %151 = load i32, i32* %101, align 4 %152 = sext i32 %151 to i64 %153 = mul i64 %152, 16 %154 = add i64 %5, 16 %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = add i64 %6, 4 %158 = add i64 %157, %153 %159 = inttoptr i64 %158 to i32* store i32 %156, i32* %159, align 4 br label LBL_35 LBL_34: %160 = urem i64 %9, 256 %161 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %160, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_35: store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_36: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %119, { 1, 0 } uselistorder i64 %115, { 1, 0 } uselistorder i32 %112, { 1, 0 } uselistorder i32* %101, { 3, 4, 1, 2, 0, 5 } uselistorder i64 %64, { 1, 0 } uselistorder i32 %44, { 1, 0 } uselistorder i1 %13, { 1, 0 } uselistorder i8 %10, { 1, 0, 2 } uselistorder i32 %7, { 0, 2, 1, 3 } uselistorder i64 %6, { 4, 0, 5, 1, 7, 2, 3, 8, 6, 9, 10, 11 } uselistorder i64 %5, { 7, 6, 8, 1, 11, 9, 13, 2, 12, 10, 17, 3, 20, 19, 18, 4, 16, 15, 14, 0, 5 } uselistorder i64 %4, { 2, 3, 4, 0, 1 } uselistorder i64 %3, { 2, 3, 4, 0, 1 } uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 11, 8, 6, 1, 7, 2, 5, 3, 10, 4, 12, 9 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @is_pointer_value, { 1, 0 } uselistorder i64 (i64, i64, i64)* @check_reg_arg, { 3, 2, 1, 0 } uselistorder i64 4294967274, { 2, 1, 0, 4, 3 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @verbose, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 16, { 6, 0, 1, 2, 3, 4, 5, 7, 8, 9 } uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 4, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder label LBL_36, { 4, 5, 6, 0, 7, 1, 8, 2, 9, 3, 10, 11 } uselistorder label LBL_11, { 2, 0, 1 } }
1
BinRealVul
nct7802_write_voltage_4658
nct7802_write_voltage
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = mul i64 %arg3, 4294967296 %sext4 = add i64 %3, -4294967296 %4 = ashr exact i64 %sext4, 31 %5 = add nsw i64 %4, %2 %6 = mul i64 %5, 4 %7 = add i64 %6, %1 %8 = add i64 %7, -32 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = ashr exact i64 %sext, 30 %12 = add i64 %11, %1 %13 = add i64 %12, -40 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, 1023 %17 = sext i32 %16 to i64 %18 = call i64 @FUNC(i64 %arg4, i64 0, i64 %17) %sext6 = mul i64 %18, 4294967296 %19 = ashr exact i64 %sext6, 32 %20 = add i64 %12, -48 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp slt i32 %22, 0 %24 = zext i1 %23 to i32 %25 = add i32 %22, %24 %26 = ashr i32 %25, 1 %27 = sext i32 %26 to i64 %28 = add nsw i64 %19, %27 %29 = add i64 %12, -56 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = sext i32 %31 to i64 %33 = udiv i64 %28, %32 %34 = add i64 %0, 8 %35 = call i64 @FUNC(i64 %34) %36 = urem i64 %33, 256 %37 = add i64 %7, -80 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %34, i64 %40, i64 %36) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 store i64 %41, i64* %sv_0.0.reg2mem br i1 %43, label LBL_2, label LBL_1 LBL_1: %44 = sub i32 8, %10 %45 = and i64 %33, 768 %46 = urem i32 %44, 64 %47 = zext i32 %46 to i64 %storemerge12 = lshr i64 %45, %47 %48 = urem i32 %44, 32 %49 = lshr i32 768, %48 %storemerge = sext i32 %49 to i64 %50 = add i64 %12, -88 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = call i64 @FUNC(i64 %storemerge12, i32 %52, i64 %storemerge, i64 %storemerge12) store i64 %53, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %54 = call i64 @FUNC(i64 %34) %55 = and i64 %sv_0.0.reload, 4294967295 ret i64 %55 uselistorder i64 %33, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ras_getcmap_3625
ras_getcmap
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi24.reg2mem = alloca i32 %indvars.iv12.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg2 to i64 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_17, label LBL_1 LBL_1: %7 = icmp eq i32 %5, 1 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_17, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %9, i64 %3, i64 %2, i64 %1) %11 = add i64 %4, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 32 %15 = shl i32 1, %14 %16 = icmp slt i32 %15, 257 store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_17 LBL_3: %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = sdiv i32 %19, 3 %21 = icmp eq i32 %14, 31 store i32 %20, i32* %.pre-phi24.reg2mem store i32 %19, i32* %.reg2mem br i1 %21, label LBL_7, label LBL_4 LBL_4: %22 = sext i32 %15 to i64 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_5 LBL_5: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %23 = add i64 %indvars.iv12.reload, %9 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %25 = icmp slt i64 %indvars.iv.next13, %22 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem br i1 %25, label LBL_5, label LBL_6 LBL_6: %.pre = load i32, i32* %18, align 4 %.pre23 = sdiv i32 %.pre, 3 store i32 %.pre23, i32* %.pre-phi24.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %.pre-phi24.reload = load i32, i32* %.pre-phi24.reg2mem %26 = mul i32 %.pre-phi24.reload, 3 %27 = icmp eq i32 %.reload, %26 %28 = icmp eq i1 %27, false %29 = icmp slt i32 %.reload, 0 %or.cond = or i1 %29, %28 %30 = shl i32 3, %14 %31 = icmp ugt i32 %.reload, %30 %or.cond6 = or i1 %31, %or.cond store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_17, label LBL_8 LBL_8: %32 = ptrtoint i64* %arg1 to i64 %33 = icmp sgt i32 %19, 2 %34 = sext i32 %20 to i64 store i32 0, i32* %storemerge29.reg2mem br label LBL_16 LBL_9: %35 = call i64 @FUNC(i64 %32) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, -1 %38 = icmp eq i1 %37, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %38, label LBL_10, label LBL_17 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.reg2mem switch i32 %storemerge29.reload, label LBL_14 [ i32 2, label LBL_13 i32 0, label LBL_11 i32 1, label LBL_12 ] LBL_11: %39 = urem i32 %36, 256 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_14 LBL_12: %40 = udiv i32 %36, 256 %41 = urem i32 %40, 256 store i32 %41, i32* %sv_0.0.reg2mem br label LBL_14 LBL_13: %42 = udiv i32 %36, 65536 %43 = urem i32 %42, 256 store i32 %43, i32* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %44 = add i64 %indvars.iv.reload, %9 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = trunc i32 %sv_0.0.reload to i8 %48 = or i8 %46, %47 store i8 %48, i8* %45, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %49 = icmp slt i64 %indvars.iv.next, %34 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %49, label LBL_9, label LBL_15 LBL_15: %50 = add nuw nsw i32 %storemerge29.reload, 1 %51 = icmp ult i32 %50, 3 store i32 %50, i32* %storemerge29.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_16, label LBL_17 LBL_16: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %33, label LBL_9, label LBL_15 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge29.reload, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i32 %14, { 1, 2, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %4, { 2, 3, 0, 1 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 6, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 256, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 3, { 3, 2, 4, 0, 1 } uselistorder i64 4294967295, { 0, 2, 3, 1 } uselistorder label LBL_17, { 0, 1, 4, 5, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 2, 3, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
nfs4_decode_dirent_8703
nfs4_decode_dirent
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32* %.pre-phi5.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32* %sv_3.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 4 %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = inttoptr i64 %4 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 -11, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_18 LBL_2: %12 = add i64 %2, 40 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 store i64 -112, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i64* store i64 %2, i64* %15, align 8 %16 = call i64 @FUNC(i64 %4, i64 %2) %17 = add i64 %16, 4 %18 = inttoptr i64 %16 to i32* %19 = load i32, i32* %18, align 4 %20 = call i32 @ntohl(i32 %19) %21 = add i64 %2, 24 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %2, 32 %24 = inttoptr i64 %23 to i64* store i64 %17, i64* %24, align 8 %25 = load i32, i32* %22, align 4 %26 = add i32 %25, 3 %27 = and i32 %26, -4 %28 = zext i32 %27 to i64 %29 = mul i64 %28, 4 %30 = add i64 %29, %17 %31 = add i64 %2, 16 %32 = inttoptr i64 %31 to i64* store i64 1, i64* %32, align 8 %33 = add i64 %30, 4 %34 = inttoptr i64 %33 to i32* %35 = inttoptr i64 %30 to i32* %36 = load i32, i32* %35, align 4 %37 = call i32 @ntohl(i32 %36) %38 = icmp eq i32 %37, 0 store i32* %34, i32** %sv_0.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br i1 %38, label LBL_6, label LBL_4 LBL_4: %39 = add i64 %30, 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %34, align 4 %42 = call i32 @ntohl(i32 %41) %43 = icmp eq i32 %37, 1 store i32* %40, i32** %sv_0.0.reg2mem store i32 %42, i32* %sv_2.0.reg2mem br i1 %43, label LBL_6, label LBL_5 LBL_5: %44 = add i32 %37, -2 %45 = add i64 %30, 12 %46 = load i32, i32* %40, align 4 %47 = call i32 @ntohl(i32 %46) %48 = zext i32 %44 to i64 %49 = mul i64 %48, 4 %50 = add i64 %45, %49 %51 = inttoptr i64 %50 to i32* store i32* %51, i32** %sv_0.0.reg2mem store i32 %42, i32* %sv_2.0.reg2mem store i32 %47, i32* %sv_3.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %52 = ptrtoint i32* %sv_0.0.reload to i64 %53 = add i64 %52, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %sv_0.0.reload, align 4 %56 = call i32 @ntohl(i32 %55) %57 = add i32 %56, 3 %58 = and i32 %57, -4 %59 = icmp eq i32 %58, 0 store i32* %54, i32** %sv_0.2.reg2mem br i1 %59, label LBL_14, label LBL_7 LBL_7: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %60 = urem i32 %sv_2.0.reload, 2 %61 = icmp eq i32 %60, 0 store i32* %54, i32** %sv_0.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %58, i32* %sv_1.0.reg2mem br i1 %61, label LBL_9, label LBL_8 LBL_8: %62 = and i32 %sv_2.0.reload, -2 %63 = add i64 %52, 8 %64 = inttoptr i64 %63 to i32* %65 = add i32 %58, -1 store i32* %64, i32** %sv_0.1.reg2mem store i32 %62, i32* %sv_2.1.reg2mem store i32 %65, i32* %sv_1.0.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem %66 = icmp eq i32 %sv_2.1.reload, 0 %67 = icmp eq i32 %sv_3.0.reload, 2 %68 = icmp eq i1 %67, %66 br i1 %68, label LBL_10, label LBL_11 LBL_10: %69 = ptrtoint i32* %sv_0.1.reload to i64 %70 = call i64 @FUNC(i64 %69, i64 %31) store i64 %69, i64* %.pre-phi5.reg2mem br label LBL_13 LBL_11: %71 = icmp eq i32 %sv_2.1.reload, 4 %72 = icmp eq i1 %71, false %.pre4 = ptrtoint i32* %sv_0.1.reload to i64 store i64 %.pre4, i64* %.pre-phi5.reg2mem br i1 %72, label LBL_13, label LBL_12 LBL_12: %73 = call i64 @FUNC(i64 %.pre4, i64 %31) store i64 %.pre4, i64* %.pre-phi5.reg2mem br label LBL_13 LBL_13: %.pre-phi5.reload = load i64, i64* %.pre-phi5.reg2mem %74 = zext i32 %sv_1.0.reload to i64 %75 = mul i64 %74, 4 %76 = add i64 %.pre-phi5.reload, %75 %77 = inttoptr i64 %76 to i32* store i32* %77, i32** %sv_0.2.reg2mem br label LBL_14 LBL_14: %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem %78 = load i32, i32* %sv_0.2.reload, align 4 %79 = icmp eq i32 %78, 0 %80 = icmp eq i1 %79, false %.pre6 = ptrtoint i32* %sv_0.2.reload to i64 br i1 %80, label LBL_16, label LBL_15 LBL_15: %81 = add i64 %.pre6, 4 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = icmp eq i32 %83, 0 store i32 1, i32* %storemerge.reg2mem br i1 %84, label LBL_16, label LBL_17 LBL_16: store i32 0, i32* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i32, i32* %storemerge.reg2mem %85 = add i64 %2, 40 %86 = inttoptr i64 %85 to i32* store i32 %storemerge.reload, i32* %86, align 4 store i64 %.pre6, 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* %sv_0.2.reload, { 1, 0 } uselistorder i64 %.pre4, { 1, 2, 0 } uselistorder i32* %sv_0.1.reload, { 1, 0 } uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2 } uselistorder i32 %58, { 1, 0, 2 } uselistorder i32* %54, { 1, 0 } uselistorder i32* %40, { 1, 0 } uselistorder i32 %37, { 1, 0, 2 } uselistorder i32* %34, { 1, 0 } uselistorder i64 %31, { 1, 0, 2 } uselistorder i64 %30, { 0, 1, 3, 2 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 4, 5, 7, 6, 0 } uselistorder i64* %.pre-phi5.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32 -2, { 1, 0 } uselistorder i32 (i32)* @ntohl, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @xdr_decode_hyper, { 2, 1, 0 } uselistorder i64 8, { 0, 1, 3, 2 } uselistorder i32 0, { 0, 2, 3, 4, 5, 6, 1, 7, 8, 9 } uselistorder i64 4, { 3, 0, 4, 1, 5, 2, 6, 7, 8 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } }
0
BinRealVul
do_subfe_14926
do_subfe
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %rax.1.reg2mem = alloca i64 %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = sub i32 0, %0 %2 = sub i32 %1, 1 %3 = load i32, i32* @gv_1, align 4 %4 = add i32 %3, %2 %5 = load i32, i32* @gv_2, align 4 %6 = add i32 %4, %5 store i32 %6, i32* bitcast (i64* @gv_0 to i32*), align 8 %7 = sub i32 %6, %3 %8 = xor i32 %6, %3 %9 = xor i32 %7, %6 %10 = and i32 %9, %8 %11 = icmp slt i32 %10, 0 %12 = icmp slt i32 %7, 0 %13 = icmp eq i1 %12, %11 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_1 LBL_1: %15 = icmp eq i32 %5, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %16, false store i64 1, i64* %rax.1.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = icmp eq i32 %6, %3 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %19, false store i64 1, i64* %rax.1.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %20, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %rax.1.reg2mem store i32 1, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %rax.1.reload = load i64, i64* %rax.1.reg2mem store i32 %storemerge.reload, i32* @gv_2, align 4 ret i64 %rax.1.reload uselistorder i32 %7, { 1, 0 } uselistorder i32 %6, { 2, 0, 1, 3, 4 } uselistorder i32 %3, { 2, 0, 3, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 0, 3, 4, 1, 2 } uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
adpcm_ms_expand_nibble_2235
adpcm_ms_expand_nibble
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 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = trunc i64 %3 to i16 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sext i16 %6 to i32 %11 = mul i32 %9, %10 %12 = add i64 %4, 2 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = sext i16 %14 to i32 %19 = mul i32 %17, %18 %20 = add i32 %19, %11 %21 = add i32 %20, 63 %22 = icmp slt i32 %20, 0 %23 = select i1 %22, i32 %21, i32 %20 %24 = ashr i32 %23, 6 %25 = and i64 %arg2, 8 %26 = icmp eq i64 %25, 0 %27 = add nsw i64 %5, 4294967280 %storemerge.in = select i1 %26, i64 %5, i64 %27 %28 = add i64 %4, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = trunc i64 %storemerge.in to i32 %32 = mul i32 %30, %31 %33 = add i32 %24, %32 store i16 %6, i16* %13, align 2 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i16 %37 = bitcast i64* %arg1 to i16* store i16 %36, i16* %37, align 2 %38 = ashr exact i64 %sext, 30 %39 = add i64 %38, ptrtoint (i32** @gv_0 to i64) %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = load i32, i32* %29, align 4 %43 = mul i32 %42, %41 %44 = ashr i32 %43, 8 store i32 %44, i32* %29, align 4 %45 = icmp sgt i32 %43, 4095 br i1 %45, label LBL_2, label LBL_1 LBL_1: store i32 16, i32* %29, align 4 br label LBL_4 LBL_2: %46 = icmp slt i32 %43, 715827968 br i1 %46, label LBL_4, label LBL_3 LBL_3: %47 = zext i32 %11 to i64 %48 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %47, i64 %2, i64 %1) store i32 2796202, i32* %29, align 4 br label LBL_4 LBL_4: %49 = bitcast i64* %rdi to i16* %50 = load i16, i16* %49, align 8 %51 = zext i16 %50 to i64 ret i64 %51 uselistorder i32* %29, { 0, 1, 3, 2, 4 } uselistorder i32 %11, { 1, 0 } uselistorder i16 %6, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
t4_sched_queue_bind_4189
t4_sched_queue_bind
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 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp slt i32 %6, 0 store i64 4294967262, i64* %rax.0.reg2mem br i1 %7, label LBL_9, label LBL_1 LBL_1: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp ugt i32 %10, %6 store i64 4294967262, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_9 LBL_2: %12 = call i64 @FUNC(i64 24) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_9 LBL_3: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i32 %18, %6 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 4 %22 = add nsw i64 %21, 24 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = call i64 @FUNC(i64 %2, i64 %15) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = call i64 @FUNC(i64 %12) store i64 %25, i64* %sv_0.0.reg2mem br label LBL_8 LBL_5: %29 = inttoptr i64 %12 to i64* %30 = call i64* @memset(i64* %29, i32 0, i32 24) %31 = inttoptr i64 %12 to i32* store i32 %24, i32* %31, align 4 %32 = add i64 %12, 4 %33 = inttoptr i64 %32 to i64* store i64 0, i64* %33, align 8 %34 = inttoptr i64 %5 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %12, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 %39, 16 %41 = add i64 %40, %35 %42 = call i64 @FUNC(i64 %41) %43 = call i64 @FUNC(i64 %2, i64 %12, i64 1, i64 1) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = call i64 @FUNC(i64 %12) %47 = call i64 @FUNC(i64 %41) store i64 %43, i64* %sv_0.0.reg2mem br label LBL_8 LBL_7: %48 = add i64 %41, 8 %49 = add i64 %12, 16 %50 = call i64 @FUNC(i64 %49, i64 %48) %51 = add i64 %41, 4 %52 = call i64 @FUNC(i64 %51) %53 = call i64 @FUNC(i64 %41) store i64 %43, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %54 = and i64 %sv_0.0.reload, 4294967295 store i64 %54, 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 %43, { 1, 0, 2 } uselistorder i64 %41, { 1, 3, 2, 0, 4 } uselistorder i64 %12, { 1, 0, 2, 3, 4, 6, 5, 7, 8 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @t4_free_mem, { 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 4294967262, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 16, { 1, 0, 2 } uselistorder label LBL_9, { 3, 0, 2, 1 } }
0
BinRealVul
get_alias_id_10449
get_alias_id
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %3 = trunc i64 %1 to i32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, ptrtoint ([2 x i8*]* @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = inttoptr i64 %7 to i8* %10 = call i32 (i8*, i8*, ...) @sscanf(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32* nonnull %sv_0, i32* nonnull %sv_1) %11 = icmp eq i32 %10, 2 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = load i32, i32* %sv_0, align 4 %14 = icmp eq i32 %13, %3 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = load i32, i32* %sv_1, align 4 %17 = udiv i32 %16, 65536 %18 = udiv i64 %1, 65536 %19 = urem i32 %16, 65536 %20 = zext i32 %19 to i64 %21 = zext i32 %17 to i64 %22 = urem i64 %1, 65536 %23 = urem i64 %18, 65536 %24 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %22, i64 %21, i64 %20) %25 = load i32, i32* %sv_1, align 4 store i32 %25, i32* %arg2, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %26 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %26, label LBL_1, label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %16, { 1, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 65536, { 1, 2, 0 } uselistorder i32 65536, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
perf_nesting_17035
perf_nesting
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %3 = call i64 @FUNC() store i32 0, i32* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem store i32 0, i32* %sv_0, align 4 %4 = call i64 @FUNC(i64 4198798) %5 = call i64 @FUNC(i64 %4, i32* nonnull %sv_0) %6 = add nuw nsw i32 %storemerge1.reload, 1 %exitcond = icmp eq i32 %6, 10000 store i32 %6, i32* %storemerge1.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %7 = call i128 @FUNC() %8 = call i64 @FUNC(i128 %7) %9 = call i128 @__asm_movq.1(i64 %8) %10 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 10000, i64 1000, i64 %8, i64 %2, i64 %1) ret i64 %10 uselistorder i64 %8, { 1, 0 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 1, 0, 3, 2 } }
1