dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
mp3_read_probe_3969
mp3_read_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa171819.reg2mem = alloca i32 %sv_1.17.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i32 %sv_2.09.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i64 %sv_3.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_5 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %0, i64* %sv_4.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %sext = mul i64 %4, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %5, %0 store i64 %6, i64* %sv_4.0.reg2mem br label LBL_2 LBL_2: %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sext i32 %9 to i64 %11 = add i64 %0, -4 %12 = add i64 %11, %10 %13 = icmp ult i64 %sv_4.0.reload, %12 store i64 %sv_4.0.reload, i64* %sv_2.09.reg2mem store i32 0, i32* %sv_0.08.reg2mem store i32 0, i32* %sv_1.17.reg2mem store i32 0, i32* %sv_0.0.lcssa171819.reg2mem br i1 %13, label LBL_6, label LBL_10 LBL_3: %sv_3.02.reload = load i64, i64* %sv_3.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %14 = call i64 @FUNC(i64 %sv_3.02.reload) %15 = trunc i64 %14 to i32 %16 = call i64 @FUNC(i64* nonnull %sv_5, i32 %15, i64* nonnull %sv_5, i64* nonnull %sv_5, i64* nonnull %sv_5, i64* nonnull %sv_5) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 store i64 %sv_3.02.reload, i64* %sv_3.0.lcssa.reg2mem store i32 %storemerge3.reload, i32* %storemerge.lcssa.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %sext1 = mul i64 %16, 4294967296 %19 = ashr exact i64 %sext1, 32 %20 = add i64 %19, %sv_3.02.reload %21 = add i32 %storemerge3.reload, 1 %22 = icmp ult i64 %20, %12 store i32 %21, i32* %storemerge3.reg2mem store i64 %20, i64* %sv_3.02.reg2mem store i64 %20, i64* %sv_3.0.lcssa.reg2mem store i32 %21, i32* %storemerge.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_5 LBL_5: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %sv_3.0.lcssa.reload = load i64, i64* %sv_3.0.lcssa.reg2mem %23 = sub i32 %sv_0.08.reload, %storemerge.lcssa.reload %24 = xor i32 %storemerge.lcssa.reload, %sv_0.08.reload %25 = xor i32 %23, %sv_0.08.reload %26 = and i32 %25, %24 %27 = icmp slt i32 %26, 0 %28 = icmp slt i32 %23, 0 %29 = icmp eq i1 %28, %27 %30 = select i1 %29, i32 %sv_0.08.reload, i32 %storemerge.lcssa.reload %31 = icmp eq i64 %sv_2.09.reload, %sv_4.0.reload %32 = icmp eq i1 %31, false %spec.select = select i1 %32, i32 %sv_1.17.reload, i32 %storemerge.lcssa.reload %33 = add i64 %sv_3.0.lcssa.reload, 1 %34 = icmp ult i64 %33, %12 store i64 %33, i64* %sv_2.09.reg2mem store i32 %30, i32* %sv_0.08.reg2mem store i32 %spec.select, i32* %sv_1.17.reg2mem br i1 %34, label LBL_6, label LBL_7 LBL_6: %sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem %35 = icmp ult i64 %sv_2.09.reload, %12 store i32 0, i32* %storemerge3.reg2mem store i64 %sv_2.09.reload, i64* %sv_3.02.reg2mem store i64 %sv_2.09.reload, i64* %sv_3.0.lcssa.reg2mem store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %35, label LBL_3, label LBL_5 LBL_7: %phitmp = icmp slt i32 %spec.select, 3 store i64 51, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_8, label LBL_11 LBL_8: %36 = icmp slt i32 %30, 501 store i64 50, i64* %rax.0.reg2mem br i1 %36, label LBL_9, label LBL_11 LBL_9: %37 = icmp slt i32 %30, 3 store i32 %30, i32* %sv_0.0.lcssa171819.reg2mem store i64 25, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_11 LBL_10: %sv_0.0.lcssa171819.reload = load i32, i32* %sv_0.0.lcssa171819.reg2mem %38 = icmp sgt i32 %sv_0.0.lcssa171819.reload, 0 %. = zext i1 %38 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.09.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_0.08.reload, { 0, 2, 3, 1 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i32 %30, { 0, 2, 3, 1 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 3, 1 } uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i64 %sv_3.02.reload, { 2, 0, 1 } uselistorder i64 %12, { 1, 3, 2, 0 } uselistorder i64 %sv_4.0.reload, { 1, 0, 2 } uselistorder i64 %0, { 2, 4, 1, 3, 0, 5 } uselistorder i32* %storemerge3.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_3.02.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_3.0.lcssa.reg2mem, { 3, 0, 2, 1 } uselistorder i32* %storemerge.lcssa.reg2mem, { 3, 0, 2, 1 } uselistorder i64* %sv_2.09.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.08.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.17.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa171819.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 5, 3, 4, 6, 7, 8, 0, 1, 2, 9 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
kvm_arch_pre_run_905
kvm_arch_pre_run
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i8*, align 8 %3 = load i64, i64* @gv_0, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load i64, i64* @gv_1, align 8 %7 = call i64 @FUNC(i64 %6, i64 4198799, i64 0) store i64 %7, i64* @gv_0, align 8 %8 = load i64, i64* @gv_1, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC() %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = zext i1 %12 to i32 %14 = add i32 %13, %11 %15 = ashr i32 %14, 1 %16 = sext i32 %15 to i64 %17 = add i64 %9, %16 %18 = load i64, i64* @gv_0, align 8 %19 = call i64 @FUNC(i64 %18, i64 %17) br label LBL_2 LBL_2: %20 = trunc i64 %2 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_7, label LBL_3 LBL_3: %22 = ptrtoint i32* %arg1 to i64 %23 = add i64 %22, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = urem i32 %25, 2 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_7, label LBL_4 LBL_4: %28 = add i64 %22, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %30, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_5 LBL_5: store i8* inttoptr (i32 -1 to i8*), i8** %sv_0, align 8 %33 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_2 to i32), i8* inttoptr (i32 -1 to i8*), i64 4294967295) %34 = bitcast i8** %sv_0 to i32* %35 = call i64 @FUNC(i64 %22, i64 174, i32* nonnull %34) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_7, label LBL_6 LBL_6: %39 = load i8*, i8** %sv_0, align 8 %40 = ptrtoint i8* %39 to i64 %41 = trunc i64 %40 to i32 %42 = and i64 %1, 4294967295 %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i64 %42, i32 %41) br label LBL_7 LBL_7: ret i64 0 uselistorder i32 %11, { 1, 0 } uselistorder i8** %sv_0, { 1, 2, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
compute_something_fast_8397
compute_something_fast
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i32 %sv_1.03.reg2mem = alloca i64 %sv_2.04.reg2mem = alloca i8 %sv_3.05.reg2mem = alloca i8 %storemerge6.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_4 = alloca i64, align 8 %0 = ptrtoint i64* %sv_4 to i64 %1 = add i64 %0, -288 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge6.reg2mem br label LBL_1 LBL_1: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = trunc i32 %storemerge6.reload to i8 %3 = add i64 %indvars.iv.reload, %1 %4 = inttoptr i64 %3 to i8* store i8 %2, i8* %4, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %5 = add nuw nsw i32 %storemerge6.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %5, i32* %storemerge6.reg2mem store i8 0, i8* %sv_3.05.reg2mem store i8 0, i8* %sv_2.04.reg2mem store i64 0, i64* %sv_1.03.reg2mem store i32 1000, i32* %sv_0.02.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %sv_2.04.reload = load i8, i8* %sv_2.04.reg2mem %sv_3.05.reload = load i8, i8* %sv_3.05.reg2mem %6 = add i32 %sv_0.02.reload, -1 %7 = add i8 %sv_2.04.reload, 1 %8 = zext i8 %7 to i64 %9 = add i64 %1, %8 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = add i8 %11, %sv_3.05.reload %13 = zext i8 %12 to i64 %14 = add i64 %1, %13 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 store i8 %16, i8* %10, align 1 store i8 %11, i8* %15, align 1 %17 = load i8, i8* %10, align 1 %18 = add i8 %17, %11 %19 = zext i8 %18 to i64 %20 = add i64 %1, %19 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = add i64 %sv_1.03.reload, %23 %25 = icmp eq i32 %6, 0 %26 = icmp eq i1 %25, false store i8 %12, i8* %sv_3.05.reg2mem store i8 %7, i8* %sv_2.04.reg2mem store i64 %24, i64* %sv_1.03.reg2mem store i32 %6, i32* %sv_0.02.reg2mem br i1 %26, label LBL_2, label LBL_3 LBL_3: ret i64 %24 uselistorder i64 %24, { 1, 0 } uselistorder i8 %11, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_3.05.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_2.04.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
reposvul_c_test
kvm_vm_ioctl_set_pit_248
kvm_vm_ioctl_set_pit
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = bitcast i32* %arg2 to i64* %5 = call i64* @memcpy(i64* %arg1, i64* %4, i32 12) %6 = trunc i64 %1 to i32 %7 = call i64 @FUNC(i64 %2, i64 0, i32 %6, i64 0) %8 = call i64 @FUNC(i64 %2) ret i64 0 }
1
BinRealVul
clk_set_rate_17842
clk_set_rate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = icmp eq i64* %arg1, null br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = add i64 %1, 8 %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: store i64 %1, i64* %8, align 8 br label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %1) br label LBL_5 LBL_5: %12 = and i64 %1, 4294967295 %13 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) ret i64 %12 uselistorder i64 %1, { 3, 2, 1, 0, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
install_process_keyring_11201
install_process_keyring
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = icmp eq i32 %4, -17 %9 = and i64 %3, 4294967295 %spec.select = select i1 %8, i64 0, i64 %9 ret i64 %spec.select LBL_3: %10 = call i64 @FUNC(i64 %0) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
agp_create_user_memory_10441
agp_create_user_memory
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ult i64 %arg1, 268435456 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_7 LBL_1: %1 = call i64* @malloc(i32 24) %2 = icmp eq i64* %1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_7 LBL_2: %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = bitcast i64* %1 to i32* store i32 %5, i32* %6, align 4 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: call void @free(i64* nonnull %1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %9 = mul i64 %arg1, 8 %10 = ptrtoint i64* %1 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = add i64 %10, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = load i32, i32* %6, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) call void @free(i64* nonnull %1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %20 = add i64 %10, 16 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 store i64 %10, 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* %1, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 2, 3, 4, 0, 1 } }
0
BinRealVul
linux_set_rate_17835
linux_set_rate
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 %2) %5 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 32) %6 = inttoptr i64 %4 to i32* %7 = load i32, i32* %6, align 4 switch i32 %7, label LBL_9 [ i32 1, label LBL_1 i32 2, label LBL_8 ] LBL_1: %8 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 40) %9 = call i64 @FUNC(i64 %2) %10 = bitcast i64* %sv_2 to i8* %11 = inttoptr i64 %9 to i8* %12 = call i8* @strncpy(i8* nonnull %10, i8* %11, i32 15) %13 = add i64 %4, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = call i32 (i32, i32, ...) @ioctl(i32 %15, i32 35123) %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64 %2) %20 = inttoptr i64 %19 to i8* %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* %20) call void @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %22 = load i32, i32* %14, align 4 %23 = call i32 (i32, i32, ...) @ioctl(i32 %22, i32 35092) %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: call void @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_5: %26 = call i32 @usleep(i32 100000) %27 = call i128 @FUNC(i128 %1, i128 %1) %28 = trunc i64 %3 to i32 %29 = call i128 @FUNC(i32 %28) %30 = call i128 @FUNC(i64 4696837146684686336) %31 = call i128 @FUNC(i128 %29, i128 %30) %32 = call i64 @FUNC(i128 %31) %33 = call i128 @__asm_movq.1(i64 %32) %34 = bitcast i64* %sv_3 to i8* %35 = trunc i128 %33 to i64 %36 = bitcast i64 %35 to double %37 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %34, i32 31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), double %36) %38 = call i32 @fork() %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_7, label LBL_6 LBL_6: %41 = call i32 @close(i32 0) %42 = call i32 @close(i32 1) %43 = call i32 @close(i32 2) %44 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %45 = call i64 @FUNC(i64 %2) %46 = add i64 %4, 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i8* %50 = call i32 (i8*, i8*, ...) @execlp(i8* %49, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_7: %51 = bitcast i64* %sv_1 to i32* %52 = call i32 @waitpid(i32 %38, i32* nonnull %51, i32 0) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %narrow = mul nsw i64 %3, 1125899907 %53 = udiv i64 %narrow, 4294967296 %54 = trunc i64 %53 to i32 %55 = ashr i32 %54, 17 %56 = trunc i64 %3 to i32 %57 = ashr i32 %56, 31 %58 = sub nsw i32 %55, %57 %59 = add i64 %4, 16 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 br label LBL_9 LBL_9: %61 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32) %62 = add i64 %4, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = icmp eq i64 %64, 0 br i1 %65, label LBL_11, label LBL_10 LBL_10: %66 = bitcast i64* %sv_0 to i8* %67 = inttoptr i64 %64 to i8* %68 = call i8* @strncpy(i8* nonnull %66, i8* %67, i32 16) br label LBL_12 LBL_11: %69 = call i64 @FUNC(i64 %2) %70 = bitcast i64* %sv_0 to i8* %71 = inttoptr i64 %69 to i8* %72 = call i8* @strncpy(i8* nonnull %70, i8* %71, i32 16) br label LBL_12 LBL_12: %73 = add i64 %4, 4 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = call i32 (i32, i32, ...) @ioctl(i32 %75, i32 35616) %77 = icmp slt i32 %76, 0 %78 = icmp eq i1 %77, false %. = select i1 %78, i64 0, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 3, 1, 0, 2, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i32 (i32)* @close, { 2, 1, 0 } uselistorder i32 31, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 (i32, i32, ...)* @ioctl, { 2, 0, 1 } uselistorder i8* (i8*, i8*, i32)* @strncpy, { 2, 0, 1 } uselistorder i64 (i64)* @wi_get_ifname, { 3, 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 } uselistorder i32 0, { 5, 3, 0, 1, 6, 7, 8, 2, 4 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
mm_decode_inter_14146
mm_decode_inter
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.3.ph19.reg2mem = alloca i32 %sv_0.0.ph20.reg2mem = alloca i32 %sv_2.0.ph21.reg2mem = alloca i32 %sv_1.215.reg2mem = alloca i32 %sv_3.116.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %sv_1.112.reg2mem = alloca i32 %sv_3.013.reg2mem = alloca i32 %storemerge414.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i32 %sv_2.010.reg2mem = alloca i32 %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = add i32 %2, 2 %4 = icmp sgt i32 %3, 2 store i32 2, i32* %sv_0.0.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_17 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %0, 1 %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i32* %9 = trunc i64 %arg2 to i32 %10 = icmp eq i32 %9, 0 %11 = trunc i64 %arg3 to i32 %12 = icmp eq i32 %11, 0 %13 = add i32 %9, 1 store i32 0, i32* %sv_2.0.ph21.reg2mem store i32 2, i32* %sv_0.0.ph20.reg2mem store i32 %3, i32* %sv_1.3.ph19.reg2mem br label LBL_2.lr.ph LBL_2: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %sv_2.010.reload = load i32, i32* %sv_2.010.reg2mem %14 = sext i32 %sv_0.09.reload to i64 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = urem i8 %17, -128 %19 = add i64 %6, %14 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %17 to i32 %23 = mul i32 %22, 2 %24 = and i32 %23, 256 %25 = zext i8 %21 to i32 %26 = or i32 %24, %25 %27 = add i32 %sv_0.09.reload, 2 %28 = icmp eq i8 %18, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_3, label LBL_4 LBL_3: %30 = add i32 %sv_2.010.reload, 1 %wide.trip.count = zext i8 %18 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 %26, i32* %sv_3.116.reg2mem store i32 %sv_1.3.ph19.reload, i32* %sv_1.215.reg2mem br label LBL_14 LBL_4: %31 = add i32 %26, %sv_2.010.reload %32 = icmp slt i32 %27, %3 store i32 %31, i32* %sv_2.010.reg2mem store i32 %27, i32* %sv_0.09.reg2mem store i32 %27, i32* %sv_0.0.lcssa.reg2mem br i1 %32, label LBL_2, label LBL_17 LBL_5: %sv_1.112.reload = load i32, i32* %sv_1.112.reg2mem %sv_3.013.reload = load i32, i32* %sv_3.013.reg2mem %storemerge414.reload = load i32, i32* %storemerge414.reg2mem %33 = load i8, i8* %79, align 1 %34 = zext i8 %33 to i64 %35 = sub nuw nsw i32 7, %storemerge414.reload %36 = icmp eq i32 %35, 0 store i64 %34, i64* %rdx.0.reg2mem br i1 %36, label %41, label %37 LBL_6: %44 = sext i32 %sv_1.112.reload to i64 %45 = add i64 %44, %0 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = load i32, i32* %8, align 4 %49 = mul i32 %48, %sv_2.010.reload %50 = add i32 %49, %sv_3.013.reload %51 = sext i32 %50 to i64 %52 = add i64 %51, %0 %53 = inttoptr i64 %52 to i8* store i8 %47, i8* %53, align 1 br i1 %10, label LBL_8, label LBL_7 LBL_7: %54 = load i32, i32* %8, align 4 %55 = mul i32 %54, %sv_2.010.reload %56 = add i32 %55, %sv_3.013.reload %57 = sext i32 %56 to i64 %58 = add i64 %6, %57 %59 = inttoptr i64 %58 to i8* store i8 %47, i8* %59, align 1 br label LBL_8 LBL_8: br i1 %12, label LBL_11, label LBL_9 LBL_9: %60 = load i32, i32* %8, align 4 %61 = mul i32 %60, %30 %62 = add i32 %61, %sv_3.013.reload %63 = sext i32 %62 to i64 %64 = add i64 %63, %0 %65 = inttoptr i64 %64 to i8* store i8 %47, i8* %65, align 1 br i1 %10, label LBL_11, label LBL_10 LBL_10: %66 = load i32, i32* %8, align 4 %67 = mul i32 %66, %30 %68 = add i32 %67, %sv_3.013.reload %69 = sext i32 %68 to i64 %70 = add i64 %6, %69 %71 = inttoptr i64 %70 to i8* store i8 %47, i8* %71, align 1 br label LBL_11 LBL_11: %72 = add i32 %sv_1.112.reload, 1 store i32 %72, i32* %sv_1.0.reg2mem br label LBL_12 LBL_12: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %73 = add i32 %13, %sv_3.013.reload %74 = add nuw nsw i32 %storemerge414.reload, 1 %exitcond = icmp eq i32 %74, 8 store i32 %74, i32* %storemerge414.reg2mem store i32 %73, i32* %sv_3.013.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.112.reg2mem br i1 %exitcond, label LBL_13, label LBL_5 LBL_13: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond33 = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %73, i32* %sv_3.116.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.215.reg2mem br i1 %exitcond33, label LBL_15, label LBL_14 LBL_14: %sv_1.215.reload = load i32, i32* %sv_1.215.reg2mem %sv_3.116.reload = load i32, i32* %sv_3.116.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %75 = trunc i64 %indvars.iv.reload to i32 %76 = add i32 %27, %75 %77 = sext i32 %76 to i64 %78 = add i64 %77, %0 %79 = inttoptr i64 %78 to i8* store i32 0, i32* %storemerge414.reg2mem store i32 %sv_3.116.reload, i32* %sv_3.013.reg2mem store i32 %sv_1.215.reload, i32* %sv_1.112.reg2mem br label LBL_5 LBL_15: %80 = zext i8 %18 to i32 %81 = add i32 %27, %80 %82 = add i32 %30, %11 %83 = icmp slt i32 %81, %3 store i32 %82, i32* %sv_2.0.ph21.reg2mem store i32 %81, i32* %sv_0.0.ph20.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.3.ph19.reg2mem store i32 %81, i32* %sv_0.0.lcssa.reg2mem br i1 %83, label LBL_2.lr.ph, label LBL_17 LBL_16: %sv_1.3.ph19.reload = load i32, i32* %sv_1.3.ph19.reg2mem %sv_0.0.ph20.reload = load i32, i32* %sv_0.0.ph20.reg2mem %sv_2.0.ph21.reload = load i32, i32* %sv_2.0.ph21.reg2mem store i32 %sv_2.0.ph21.reload, i32* %sv_2.010.reg2mem store i32 %sv_0.0.ph20.reload, i32* %sv_0.09.reg2mem br label LBL_2 LBL_17: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %84 = zext i32 %sv_0.0.lcssa.reload to i64 ret i64 %84 uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %35, { 1, 0 } uselistorder i32 %sv_3.013.reload, { 0, 4, 3, 2, 1 } uselistorder i32 %sv_1.112.reload, { 1, 2, 0 } uselistorder i32 %27, { 2, 3, 0, 1, 4 } uselistorder i32 %26, { 1, 0 } uselistorder i8 %18, { 1, 0, 2 } uselistorder i8 %17, { 1, 0 } uselistorder i32 %sv_2.010.reload, { 3, 2, 0, 1 } uselistorder i32* %8, { 1, 2, 0, 3 } uselistorder i32 %3, { 2, 3, 0, 1 } uselistorder i64 %0, { 3, 0, 1, 2, 4, 5, 6 } uselistorder i32* %sv_2.010.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.09.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge414.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_3.013.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.112.reg2mem, { 2, 1, 0 } uselistorder i32 0, { 1, 4, 0, 2, 3 } uselistorder i32 2, { 4, 2, 1, 0, 3, 5 } uselistorder label LBL_2.lr.ph, { 1, 0 } uselistorder label %41, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
InitOMXParams_9113
InitOMXParams
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 12, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i8* store i8 1, i8* %3, align 1 %4 = add i64 %0, 5 %5 = inttoptr i64 %4 to i8* store i8 0, i8* %5, align 1 %6 = add i64 %0, 6 %7 = inttoptr i64 %6 to i16* store i16 0, i16* %7, align 2 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i16* store i16 0, i16* %9, align 2 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
BinRealVul
jfs_evict_inode_19199
jfs_evict_inode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %arg1) %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %arg1) %11 = add i64 %arg1, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_9, label LBL_3 LBL_3: %16 = add i64 %arg1, 16 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 1, i64 %arg1) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %arg1) br label LBL_5 LBL_5: %22 = inttoptr i64 %11 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %arg1) br label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %arg1) br label LBL_9 LBL_8: %30 = add i64 %arg1, 16 %31 = call i64 @FUNC(i64 %30) br label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %arg1) %33 = call i64 @FUNC(i64 %arg1) %34 = add i64 %arg1, 4 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = call i64 @FUNC(i64 %34) %41 = icmp eq i32 %3, -1 br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = add i64 %arg1, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %sext = mul i64 %1, 4294967296 %49 = ashr exact i64 %sext, 30 %50 = add i64 %48, %49 %51 = call i64 @FUNC(i64 %50) %52 = inttoptr i64 %arg1 to i32* store i32 -1, i32* %52, align 4 br label LBL_11 LBL_11: %53 = call i64 @FUNC(i64 %34) ret i64 %53 uselistorder i64 %1, { 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i64 (i64)* @truncate_inode_pages_final, { 1, 0 } uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 8, 9, 10, 12, 11, 13, 1, 2, 0, 4, 3, 6, 5, 7, 14 } }
1
BinRealVul
process_work_frame_15712
process_work_frame
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 64 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_20 LBL_1: %6 = add i64 %0, 56 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %0, 52 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_20 LBL_3: %16 = add i64 %0, 84 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %0, 80 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = zext i32 %18 to i64 %28 = and i64 %23, 4294967295 %29 = call i64 @FUNC(i64 %26, i64 %28, i64 %27) %sext = mul i64 %29, 4294967296 %30 = ashr exact i64 %sext, 32 %31 = add i64 %30, %0 %32 = add i64 %0, 24 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp slt i64 %31, %34 br i1 %35, label LBL_5, label LBL_4 LBL_4: %36 = add i64 %0, 52 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_5, label LBL_20 LBL_5: %41 = load i64, i64* %7, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_7, label LBL_6 LBL_6: %44 = load i64, i64* %2, align 8 %45 = call i64 @FUNC(i64 %44) %46 = add i64 %0, 72 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 store i64 %45, i64* %.reg2mem br label LBL_18 LBL_7: %48 = add i64 %0, 32 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = add i64 %50, %34 %52 = icmp slt i64 %31, %51 br i1 %52, label LBL_9, label LBL_8 LBL_8: %53 = add i64 %0, 52 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 store i64 0, i64* %rax.0.reg2mem br i1 %56, label LBL_9, label LBL_20 LBL_9: %57 = add i64 %0, 40 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = add i64 %0, 16 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = sub i64 %31, %62 %64 = and i64 %50, 4294967295 %65 = zext i32 %59 to i64 %66 = call i64 @FUNC(i64 %63, i64 %65, i64 %64) %67 = trunc i64 %66 to i32 %68 = load i32, i32* %58, align 4 %69 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i32 %67, i32 %68) %70 = add i64 %0, 48 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = zext i32 %72 to i64 %sext1 = mul i64 %66, 4294967296 %74 = ashr exact i64 %sext1, 32 %75 = icmp sgt i64 %74, %73 br i1 %75, label LBL_10, label LBL_11 LBL_10: %76 = load i64, i64* %2, align 8 %77 = call i64 @FUNC(i64 %76) %78 = add i64 %0, 72 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 store i64 %77, i64* %.reg2mem br label LBL_18 LBL_11: %80 = add i64 %0, 44 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = zext i32 %82 to i64 %84 = icmp slt i64 %74, %83 br i1 %84, label LBL_12, label LBL_13 LBL_12: %85 = load i64, i64* %7, align 8 %86 = call i64 @FUNC(i64 %85) %87 = add i64 %0, 72 %88 = inttoptr i64 %87 to i64* store i64 %86, i64* %88, align 8 store i64 %86, i64* %.reg2mem br label LBL_18 LBL_13: %89 = and i64 %66, 4294967295 %90 = call i64 @FUNC(i64 %0, i64 %89) %91 = trunc i64 %90 to i32 %92 = icmp slt i32 %91, 0 %93 = icmp eq i1 %92, false br i1 %93, label LBL_15, label LBL_14 LBL_14: %94 = and i64 %90, 4294967295 store i64 %94, i64* %rax.0.reg2mem br label LBL_20 LBL_15: %95 = icmp eq i32 %91, 0 %96 = icmp eq i1 %95, false br i1 %96, label LBL_15.LBL_18_crit_edge, label LBL_17 LBL_16: %.pre = add i64 %0, 72 %.pre4 = inttoptr i64 %.pre to i64* %.pre6 = load i64, i64* %.pre4, align 8 store i64 %.pre6, i64* %.reg2mem br label LBL_18 LBL_17: %97 = load i32, i32* %58, align 4 %98 = ashr i32 %97, 1 %99 = zext i32 %98 to i64 %100 = icmp sgt i64 %74, %99 %storemerge.in.in.v = select i1 %100, i64 64, i64 56 %storemerge.in.in = add i64 %storemerge.in.in.v, %0 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %101 = call i64 @FUNC(i64 %storemerge) %102 = add i64 %0, 72 %103 = inttoptr i64 %102 to i64* store i64 %101, i64* %103, align 8 store i64 %101, i64* %.reg2mem br label LBL_18 LBL_18: %.reload = load i64, i64* %.reg2mem %104 = icmp eq i64 %.reload, 0 %105 = icmp eq i1 %104, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %105, label LBL_19, label LBL_20 LBL_19: %106 = inttoptr i64 %.reload to i64* store i64 %31, i64* %106, align 8 %107 = load i64, i64* %25, align 8 %108 = add i64 %107, 1 store i64 %108, i64* %25, align 8 store i64 1, 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 %66, { 1, 0, 2 } uselistorder i64 %50, { 1, 0 } uselistorder i64* %25, { 1, 0, 2 } uselistorder i64* %2, { 1, 0, 2 } uselistorder i64 %0, { 4, 0, 2, 5, 6, 9, 7, 8, 10, 12, 11, 14, 13, 3, 16, 15, 1, 17, 19, 18, 20, 21, 22 } uselistorder i64* %.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 6, 2, 3, 4, 5 } uselistorder i64 72, { 1, 0, 2, 3, 4 } uselistorder i64 (i64)* @av_frame_clone, { 3, 2, 1, 0 } uselistorder i64 32, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i64 4294967295, { 0, 1, 3, 4, 2 } uselistorder label LBL_20, { 5, 0, 6, 1, 2, 3, 4 } uselistorder label LBL_18, { 1, 0, 2, 3, 4 } }
1
BinRealVul
parse_line_5656
parse_line
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.pre-phi.reg2mem = alloca i16 %storemerge6.in.in.in.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %0 = add i64 %arg1, 1 %1 = inttoptr i64 %0 to i8* %2 = call i32 @strtol(i8* %1, i8** null, i32 16) %3 = inttoptr i64 %arg1 to i8* %4 = call i8* @strchr(i8* %3, i32 61) %5 = icmp eq i8* %4, null %6 = icmp eq i1 %5, false store i64 4294967291, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_7 LBL_1: %7 = urem i32 %2, 65536 %8 = ptrtoint i64* %sv_3 to i64 %9 = add i64 %8, -288 store i32 0, i32* %sv_0.0.reg2mem store i8* %4, i8** %storemerge6.in.in.in.reg2mem br label LBL_5 LBL_2: %storemerge6.in.in.in.reload = load i8*, i8** %storemerge6.in.in.in.reg2mem %storemerge6.in.in = ptrtoint i8* %storemerge6.in.in.in.reload to i64 %storemerge6.in = add i64 %storemerge6.in.in, 1 %storemerge6 = inttoptr i64 %storemerge6.in to i8* %10 = call i32 @strtol(i8* %storemerge6, i8** nonnull %sv_2, i32 16) %11 = trunc i32 %10 to i16 %12 = icmp eq i16 %11, 0 %13 = load i8*, i8** %sv_2, align 8 %14 = icmp eq i8* %13, %storemerge6 %or.cond = icmp eq i1 %12, %14 store i16 %32, i16* %.pre-phi.pre-phi.reg2mem br i1 %or.cond, label LBL_6, label LBL_3 LBL_3: %15 = urem i32 %sv_0.0.reload, 65536 %16 = zext i32 %15 to i64 %17 = trunc i32 %10 to i8 %18 = add i64 %9, %16 %19 = inttoptr i64 %18 to i8* store i8 %17, i8* %19, align 1 %20 = udiv i16 %11, 256 %21 = add nsw i32 %sv_0.0.reload, 1 %22 = mul i32 %21, 65536 %sext5 = add i32 %22, 65536 %23 = ashr exact i32 %sext5, 16 %24 = urem i32 %21, 65536 %25 = zext i32 %24 to i64 %26 = trunc i16 %20 to i8 %27 = add i64 %9, %25 %28 = inttoptr i64 %27 to i8* store i8 %26, i8* %28, align 1 %29 = load i8*, i8** %sv_2, align 8 %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 store i32 %23, i32* %sv_0.0.reg2mem store i8* %29, i8** %storemerge6.in.in.in.reg2mem br i1 %31, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = trunc i32 %23 to i16 store i16 %.pre, i16* %.pre-phi.pre-phi.reg2mem br label LBL_6 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %32 = trunc i32 %sv_0.0.reload to i16 %33 = icmp ult i16 %32, 255 store i16 %32, i16* %.pre-phi.pre-phi.reg2mem br i1 %33, label LBL_2, label LBL_6 LBL_6: %.pre-phi.pre-phi.reload = load i16, i16* %.pre-phi.pre-phi.reg2mem %34 = zext i32 %7 to i64 %35 = call i64 @FUNC(i64 %34, i64* nonnull %sv_1, i16 %.pre-phi.pre-phi.reload) store i64 %35, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i16 %32, { 1, 2, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8** %storemerge6.in.in.in.reg2mem, { 2, 0, 1 } uselistorder i16* %.pre-phi.pre-phi.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32 65536, { 1, 5, 0, 2, 3, 4 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vhost_net_ubuf_put_and_wait_12138
vhost_net_ubuf_put_and_wait
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 4198847) %1 = call i64 @FUNC(i64 %arg1) %2 = urem i64 %1, 256 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %arg1) ret i64 %6 }
1
BinRealVul
ovl_cleanup_whiteouts_6209
ovl_cleanup_whiteouts
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0) ret i64 %2 }
0
BinRealVul
init_die_6954
init_die
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = icmp eq i64 %arg3, 0 br i1 %2, label LBL_3, label LBL_2 LBL_2: %3 = trunc i64 %arg3 to i32 %4 = call i64* @calloc(i32 0, i32 %3) %5 = ptrtoint i64* %4 to i64 store i64 %5, i64* %arg1, align 8 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %6 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* store i64 %arg2, i64* %8, align 8 %9 = add i64 %6, 16 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %11 = add i64 %6, 24 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg1, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
cpu_ioreq_pio_2925
cpu_ioreq_pio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %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 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = add i64 %2, 20 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_12, label LBL_3 LBL_3: %15 = add i64 %2, 12 %16 = inttoptr i64 %15 to i32* %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i32* %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %storemerge5.reg2mem br label LBL_5 LBL_4: %21 = add i64 %2, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %2, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %23 to i64 %28 = zext i32 %26 to i64 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = trunc i64 %29 to i32 %31 = add i64 %2, 16 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 store i64 %29, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %33 = load i32, i32* %16, align 4 %34 = load i32, i32* %18, align 4 %35 = zext i32 %33 to i64 %36 = zext i32 %34 to i64 %37 = call i64 @FUNC(i64 %36, i64 %35) %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_1, align 4 %39 = load i32, i32* %20, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i64 %2, i32 %storemerge5.reload, i32* nonnull %sv_1) %42 = add i32 %storemerge5.reload, 1 %43 = load i32, i32* %12, align 4 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i32 %42, i32* %storemerge5.reg2mem store i64 %44, i64* %rax.0.reg2mem br i1 %46, label LBL_5, label LBL_12 LBL_6: %47 = and i64 %1, 4294967295 %48 = icmp eq i32 %3, 1 %49 = icmp eq i1 %48, false store i64 %47, i64* %rax.0.reg2mem br i1 %49, label LBL_12, label LBL_7 LBL_7: %50 = add i64 %2, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_8, label LBL_10 LBL_8: %55 = add i64 %2, 20 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, 0 store i64 0, i64* %rax.0.reg2mem br i1 %58, label LBL_12, label LBL_9 LBL_9: %59 = add i64 %2, 16 %60 = inttoptr i64 %59 to i32* %61 = add i64 %2, 12 %62 = inttoptr i64 %61 to i32* %63 = add i64 %2, 8 %64 = inttoptr i64 %63 to i32* store i32 0, i32* %storemerge14.reg2mem br label LBL_11 LBL_10: %65 = add i64 %2, 16 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = add i64 %2, 12 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = add i64 %2, 8 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = zext i32 %70 to i64 %75 = zext i32 %73 to i64 %76 = call i64 @FUNC(i64 %75, i64 %74, i32 %67) store i64 %76, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem store i32 0, i32* %sv_0, align 4 %77 = load i32, i32* %60, align 4 %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %78, i64 %2, i32 %storemerge14.reload, i32* nonnull %sv_0) %80 = load i32, i32* %sv_0, align 4 %81 = load i32, i32* %62, align 4 %82 = load i32, i32* %64, align 4 %83 = zext i32 %81 to i64 %84 = zext i32 %82 to i64 %85 = call i64 @FUNC(i64 %84, i64 %83, i32 %80) %86 = add i32 %storemerge14.reload, 1 %87 = load i32, i32* %56, align 4 %88 = zext i32 %87 to i64 %89 = sext i32 %86 to i64 %90 = icmp slt i64 %89, %88 store i32 %86, i32* %storemerge14.reg2mem store i64 %88, i64* %rax.0.reg2mem br i1 %90, label LBL_11, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %56, { 1, 0 } uselistorder i32 %storemerge5.reload, { 1, 0 } uselistorder i32* %12, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %2, { 9, 14, 12, 13, 6, 8, 7, 10, 11, 2, 0, 16, 15, 1, 4, 3, 5, 17 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 4, 7, 1, 5, 3 } uselistorder i64 (i64, i64, i32)* @do_outp, { 1, 0 } uselistorder i64 (i64, i64)* @do_inp, { 1, 0 } uselistorder i64 16, { 1, 0, 3, 2 } uselistorder i64 8, { 1, 0, 3, 2 } uselistorder i64 12, { 1, 0, 3, 2 } uselistorder i32 0, { 4, 0, 2, 5, 1, 3, 6, 7 } uselistorder label LBL_12, { 1, 4, 3, 5, 0, 6, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
rd_req_decrypt_tkt_part_7572
rd_req_decrypt_tkt_part
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.4.reg2mem = alloca i32 %sv_0.3.reg2mem = alloca i32 %sv_0.2.ph.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = ptrtoint i64* %arg5 to i64 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %3 = icmp eq i64 %arg3, 0 %4 = icmp eq i64 %arg4, 0 %5 = icmp eq i1 %4, false %or.cond6 = icmp eq i1 %3, %5 br i1 %or.cond6, label LBL_5, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %6, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = add i64 %6, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = icmp eq i1 %3, false %storemerge = select i1 %15, i64 %arg3, i64 %6 %16 = bitcast i32* %sv_3 to i64* %17 = call i64 @FUNC(i64 %arg1, i64 %arg4, i64 %storemerge, i64 %14, i64 %10, i64* nonnull %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i32 %18, i32* %sv_0.4.reg2mem br i1 %20, label LBL_19, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %arg1, i64* nonnull %16, i64 %arg4) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i64* %arg5, null %or.cond = or i1 %25, %24 store i32 %22, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %arg1, i64* nonnull %16, i64 %1) %27 = trunc i64 %26 to i32 store i32 %27, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %28 = call i64 @FUNC(i64 %arg1, i64* nonnull %16) store i32 %sv_0.0.reload, i32* %sv_0.4.reg2mem br label LBL_19 LBL_5: %29 = call i64 @FUNC(i64 %arg1, i64 %arg4, i64* nonnull %sv_2) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i32 %30, i32* %sv_0.4.reg2mem br i1 %31, label LBL_6, label LBL_19 LBL_6: %32 = bitcast i32* %sv_3 to i64* %33 = add i64 %arg4, 12 %34 = inttoptr i64 %33 to i32* store i32 1, i32* %sv_0.2.ph.reg2mem br label LBL_16 LBL_7: %35 = load i32, i32* %sv_3, align 4 %36 = load i32, i32* %34, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label LBL_8, label LBL_17 LBL_8: %38 = call i64 @FUNC(i64 %arg1, i64* nonnull %32, i64 %arg4) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_15, label LBL_9 LBL_9: store i64 0, i64* %sv_1, align 8 %42 = call i64 @FUNC(i64 %arg1, i64 %2, i64* nonnull %sv_1) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false %46 = icmp eq i64* %arg5, null %or.cond4 = or i1 %46, %45 store i32 %43, i32* %sv_0.1.reg2mem br i1 %or.cond4, label LBL_11, label LBL_10 LBL_10: %47 = ptrtoint i32* %sv_3 to i64 %48 = call i64 @FUNC(i64 %arg1, i64* nonnull %32, i64 %1) %49 = trunc i64 %48 to i32 store i32 %49, i32* %sv_0.1.reg2mem store i64 %47, i64* %rsi.0.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %50 = icmp eq i32 %sv_0.1.reload, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_13, label LBL_12 LBL_12: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %52 = call i64 @FUNC(i64 %arg1, i64 %rsi.0.reload) %53 = load i64, i64* %sv_1, align 8 %54 = inttoptr i64 %rsi.0.reload to i64* store i64 %53, i64* %54, align 8 br label LBL_14 LBL_13: %55 = load i64, i64* %sv_1, align 8 %56 = call i64 @FUNC(i64 %arg1, i64 %55) br label LBL_14 LBL_14: %57 = call i64 @FUNC(i64 %arg1, i64* nonnull %32) store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem br label LBL_18 LBL_15: %58 = call i64 @FUNC(i64 %arg1, i64* nonnull %32) store i32 %39, i32* %sv_0.2.ph.reg2mem br label LBL_16 LBL_16: %sv_0.2.ph.reload = load i32, i32* %sv_0.2.ph.reg2mem br label LBL_17 LBL_17: %59 = call i64 @FUNC(i64 %arg1, i64 %arg4, i64* nonnull %32, i64* nonnull %sv_2) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 store i32 %sv_0.2.ph.reload, i32* %sv_0.3.reg2mem br i1 %61, label LBL_7, label LBL_18 LBL_18: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %62 = call i64 @FUNC(i64 %arg1, i64 %arg4, i64* nonnull %sv_2) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %spec.select = select i1 %64, i32 %sv_0.3.reload, i32 %63 store i32 %spec.select, i32* %sv_0.4.reg2mem br label LBL_19 LBL_19: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %65 = add i32 %sv_0.4.reload, -1 %66 = icmp ult i32 %65, 3 %spec.select7 = select i1 %66, i32 4, i32 %sv_0.4.reload %67 = zext i32 %spec.select7 to i64 ret i64 %67 uselistorder i32 %sv_0.4.reload, { 1, 0 } uselistorder i64* %32, { 4, 3, 1, 0, 2 } uselistorder i64* %16, { 1, 0, 2, 3 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i1 %3, { 1, 0 } uselistorder i32* %sv_3, { 1, 0, 3, 2 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64 (i64, i64)* @krb5_free_principal, { 1, 0 } uselistorder i64 (i64, i64*)* @krb5_free_keytab_entry_contents, { 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @krb5_copy_keyblock_contents, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @krb5_decrypt_tkt_part, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2, 5, 6, 7 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 %arg4, { 1, 4, 3, 2, 5, 6, 7, 0 } uselistorder i64 %arg1, { 2, 8, 6, 3, 4, 1, 0, 5, 7, 9, 11, 10, 12, 13 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
wassp_match_strval_13170
wassp_match_strval
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 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = and i64 %1, 4294967295 %6 = icmp sgt i64 %4, %5 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = ashr exact i64 %sext, 29 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
nvme_get_feature_16281
nvme_get_feature
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge1.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 store i64 7, i64* %storemerge.reg2mem switch i32 %4, label LBL_4 [ i32 1, label LBL_1 i32 2, label LBL_2 ] LBL_1: %5 = call i64 @FUNC(i64 %2) store i64 %5, i64* %storemerge1.in.reg2mem br label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -1 %11 = mul i32 %9, 65536 %12 = add i32 %11, -65536 %13 = or i32 %12, %10 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) store i64 %15, i64* %storemerge1.in.reg2mem br label LBL_3 LBL_3: %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem %storemerge1 = trunc i64 %storemerge1.in.reload to i32 %16 = bitcast i64* %arg3 to i32* store i32 %storemerge1, i32* %16, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
Curl_detach_connnection_12893
Curl_detach_connnection
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 = add i64 %arg1, 8 %2 = call i64 @FUNC(i64 %arg1, i64 %1, i64 0) br label LBL_2 LBL_2: %3 = inttoptr i64 %arg1 to i64* store i64 0, i64* %3, align 8 ret i64 %arg1 uselistorder i64 %arg1, { 1, 2, 3, 0, 4 } }
1
BinRealVul
ext4_xattr_block_get_11127
ext4_xattr_block_get
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i8* %arg3 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32*, align 8 %5 = trunc i64 %arg2 to i32 %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 %3, i64 %2, i64 %arg5) %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 0, i64* %sv_1.0.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %12, label LBL_9, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i32 %11, i64 %3, i64 %2, i64 %arg5) %14 = load i64, i64* %8, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = and i64 %1, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 %17) %20 = icmp eq i64 %19, 0 store i64 0, i64* %sv_1.0.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %20, label LBL_9, label LBL_2 LBL_2: %21 = inttoptr i64 %19 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %19, 16 %28 = call i64 @FUNC(i64 %27) %29 = and i64 %28, 4294967295 %30 = and i64 %26, 4294967295 %31 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %29, i64 %30, i64 %2, i64 %arg5) %32 = call i64 @FUNC(i64 %4, i64 %19) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 store i64 %30, i64* %rcx.0.reg2mem store i64 %2, i64* %r8.0.reg2mem br i1 %34, label LBL_4, label LBL_3 LBL_3: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %35 = load i64, i64* %8, align 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i32 %37, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg5) store i64 %19, i64* %sv_1.0.reg2mem store i64 4294967221, i64* %sv_0.0.reg2mem br label LBL_9 LBL_4: %39 = call i64 @FUNC(i64 0, i64 %19) %40 = load i64, i64* %21, align 8 %41 = inttoptr i64 %40 to i32* store i32* %41, i32** %sv_2, align 8 %42 = add i64 %19, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = bitcast i32** %sv_2 to i64* %46 = call i64 @FUNC(i64* nonnull %45, i32 %5, i64 %3, i64 %44, i64 1) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, -75 store i64 %44, i64* %rcx.0.reg2mem store i64 1, i64* %r8.0.reg2mem br i1 %48, label LBL_3, label LBL_5 LBL_5: %49 = icmp eq i32 %47, 0 %50 = icmp eq i1 %49, false store i64 %19, i64* %sv_1.0.reg2mem store i64 %46, i64* %sv_0.0.reg2mem br i1 %50, label LBL_9, label LBL_6 LBL_6: %51 = load i32*, i32** %sv_2, align 8 %52 = load i32, i32* %51, align 4 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = icmp eq i64* %arg4, null store i64 %19, i64* %sv_1.0.reg2mem store i64 %54, i64* %sv_0.0.reg2mem br i1 %55, label LBL_9, label LBL_7 LBL_7: %sext6 = mul i64 %54, 4294967296 %56 = ashr exact i64 %sext6, 32 %57 = icmp ugt i64 %56, %arg5 store i64 %19, i64* %sv_1.0.reg2mem store i64 4294967262, i64* %sv_0.0.reg2mem br i1 %57, label LBL_9, label LBL_8 LBL_8: %58 = trunc i64 %54 to i32 %59 = load i64, i64* %21, align 8 %60 = load i32*, i32** %sv_2, align 8 %61 = ptrtoint i32* %60 to i64 %62 = add i64 %61, 4 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = zext i32 %64 to i64 %66 = call i64 @FUNC(i64 %65) %sext5 = mul i64 %66, 4294967296 %67 = ashr exact i64 %sext5, 32 %68 = add i64 %67, %59 %69 = inttoptr i64 %68 to i64* %70 = call i64* @memcpy(i64* nonnull %arg4, i64* %69, i32 %58) store i64 %19, i64* %sv_1.0.reg2mem store i64 %54, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %71 = call i64 @FUNC(i64 %sv_1.0.reload) %72 = and i64 %sv_0.0.reload, 4294967295 ret i64 %72 uselistorder i64 %54, { 1, 3, 2, 0 } uselistorder i64 %19, { 1, 2, 0, 3, 5, 6, 4, 7, 9, 8, 10, 11 } uselistorder i32** %sv_2, { 2, 1, 3, 0 } uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 } uselistorder i64* %r8.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @ea_idebug, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0, 3, 6, 4, 5 } }
1
BinRealVul
selinux_ptrace_traceme_19176
selinux_ptrace_traceme
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = and i64 %2, 4294967295 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64* nonnull @gv_1, i64 %5, i64 %4, i64 0, i64 1, i64 0) ret i64 %6 }
1
BinRealVul
sctp_destroy_sock_9824
sctp_destroy_sock
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3, i64 %2, i64 %1) %5 = call i64 @FUNC(i64 %arg1) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 %7, i64* %.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %10, align 4 %13 = add i64 %5, 16 %14 = call i64 @FUNC(i64 %13) %.pre = load i64, i64* %6, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %15 = call i64 @FUNC(i64 %.reload) %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64* nonnull @gv_2) %18 = call i64 @FUNC(i64 %arg1) %19 = call i64 @FUNC(i64 %18, i64 ptrtoint (i64* @gv_2 to i64), i64 4294967295) %20 = call i64 @FUNC() store i64 %20, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64* @gv_2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ksba_oid_to_str_18771
ksba_oid_to_str
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i8* %sv_1.4.reg2mem = alloca i32 %storemerge3.lcssa.reg2mem = alloca i32 %sv_1.39.reg2mem = alloca i32 %storemerge310.reg2mem = alloca i32 %sv_0.1.in16.reg2mem = alloca i64 %sv_0.117.reg2mem = alloca i8* %storemerge18.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pn.in.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %storemerge4.lcssa.reg2mem = alloca i32 %sv_1.020.reg2mem = alloca i32 %storemerge421.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = mul i64 %arg2, 4 %3 = or i64 %2, 3 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_20 LBL_1: %7 = inttoptr i64 %4 to i8* %8 = icmp eq i64 %arg2, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: store i8 0, i8* %7, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_20 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = trunc i64 %1 to i8 %12 = icmp ult i8 %11, 40 br i1 %12, label LBL_4, label LBL_5 LBL_4: %13 = urem i64 %1, 256 %14 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %13) store i32 0, i32* %sv_1.2.reg2mem store i32 %14, i32* %.pn.in.reg2mem br label LBL_12 LBL_5: %15 = icmp ult i8 %11, 80 br i1 %15, label LBL_6, label LBL_7 LBL_6: %16 = urem i64 %1, 256 %17 = add nuw nsw i64 %16, 4294967256 %18 = and i64 %17, 4294967295 %19 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %18) store i32 0, i32* %sv_1.2.reg2mem store i32 %19, i32* %.pn.in.reg2mem br label LBL_12 LBL_7: %20 = urem i8 %11, -128 %21 = zext i8 %20 to i32 %22 = bitcast i64* %arg1 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp slt i8 %23, 0 %25 = icmp eq i1 %24, false store i32 %21, i32* %storemerge421.reg2mem store i32 0, i32* %sv_1.020.reg2mem store i32 %21, i32* %storemerge4.lcssa.reg2mem store i32 0, i32* %sv_1.1.reg2mem br i1 %25, label LBL_11, label LBL_10 LBL_8: %26 = icmp sgt i32 %storemerge421.reload, -1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_19, label LBL_9 LBL_9: %28 = mul i32 %storemerge421.reload, 128 %29 = add i64 %38, %10 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = urem i8 %31, -128 %33 = zext i8 %32 to i32 %34 = or i32 %28, %33 %35 = icmp slt i8 %31, 0 %36 = icmp eq i1 %35, false store i32 %34, i32* %storemerge421.reg2mem store i32 %37, i32* %sv_1.020.reg2mem store i32 %34, i32* %storemerge4.lcssa.reg2mem store i32 %37, i32* %sv_1.1.reg2mem br i1 %36, label LBL_11, label LBL_10 LBL_10: %sv_1.020.reload = load i32, i32* %sv_1.020.reg2mem %storemerge421.reload = load i32, i32* %storemerge421.reg2mem %37 = add i32 %sv_1.020.reload, 1 %38 = sext i32 %37 to i64 %39 = icmp ult i64 %38, %arg2 store i32 %storemerge421.reload, i32* %storemerge4.lcssa.reg2mem store i32 %37, i32* %sv_1.1.reg2mem br i1 %39, label LBL_8, label LBL_11 LBL_11: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %40 = add i32 %storemerge4.lcssa.reload, -80 %41 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %40) %42 = call i32 @strlen(i8* %7) store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i32 %42, i32* %.pn.in.reg2mem br label LBL_12 LBL_12: %.pn.in.reload = load i32, i32* %.pn.in.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %.pn = sext i32 %.pn.in.reload to i64 %sv_0.0.in = add i64 %4, %.pn %sv_0.114 = inttoptr i64 %sv_0.0.in to i8* %storemerge15 = add i32 %sv_1.2.reload, 1 %43 = sext i32 %storemerge15 to i64 %44 = icmp ult i64 %43, %arg2 store i64 %43, i64* %.reg2mem store i32 %storemerge15, i32* %storemerge18.reg2mem store i8* %sv_0.114, i8** %sv_0.117.reg2mem store i64 %sv_0.0.in, i64* %sv_0.1.in16.reg2mem store i8* %sv_0.114, i8** %sv_0.1.lcssa.reg2mem br i1 %44, label LBL_13, label LBL_18 LBL_13: %sv_0.1.in16.reload = load i64, i64* %sv_0.1.in16.reg2mem %sv_0.117.reload = load i8*, i8** %sv_0.117.reg2mem %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %.reload = load i64, i64* %.reg2mem %45 = add i64 %.reload, %10 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = urem i8 %47, -128 %49 = zext i8 %48 to i32 %50 = sext i32 %storemerge18.reload to i64 %51 = add i64 %50, %10 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = icmp slt i8 %53, 0 %55 = icmp eq i1 %54, false store i32 %49, i32* %storemerge310.reg2mem store i32 %storemerge18.reload, i32* %sv_1.39.reg2mem store i32 %49, i32* %storemerge3.lcssa.reg2mem store i32 %storemerge18.reload, i32* %sv_1.4.reg2mem br i1 %55, label LBL_17, label LBL_16 LBL_14: %56 = icmp sgt i32 %storemerge310.reload, -1 %57 = icmp eq i1 %56, false br i1 %57, label LBL_19, label LBL_15 LBL_15: %58 = mul i32 %storemerge310.reload, 128 %59 = add i64 %68, %10 %60 = inttoptr i64 %59 to i8* %61 = load i8, i8* %60, align 1 %62 = urem i8 %61, -128 %63 = zext i8 %62 to i32 %64 = or i32 %58, %63 %65 = icmp slt i8 %61, 0 %66 = icmp eq i1 %65, false store i32 %64, i32* %storemerge310.reg2mem store i32 %67, i32* %sv_1.39.reg2mem store i32 %64, i32* %storemerge3.lcssa.reg2mem store i32 %67, i32* %sv_1.4.reg2mem br i1 %66, label LBL_17, label LBL_16 LBL_16: %sv_1.39.reload = load i32, i32* %sv_1.39.reg2mem %storemerge310.reload = load i32, i32* %storemerge310.reg2mem %67 = add i32 %sv_1.39.reload, 1 %68 = sext i32 %67 to i64 %69 = icmp ult i64 %68, %arg2 store i32 %storemerge310.reload, i32* %storemerge3.lcssa.reg2mem store i32 %67, i32* %sv_1.4.reg2mem br i1 %69, label LBL_14, label LBL_17 LBL_17: %sv_1.4.reload = load i32, i32* %sv_1.4.reg2mem %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %70 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.117.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 %storemerge3.lcssa.reload) %71 = call i32 @strlen(i8* %sv_0.117.reload) %72 = sext i32 %71 to i64 %73 = add i64 %sv_0.1.in16.reload, %72 %sv_0.1 = inttoptr i64 %73 to i8* %storemerge = add i32 %sv_1.4.reload, 1 %74 = sext i32 %storemerge to i64 %75 = icmp ult i64 %74, %arg2 store i64 %74, i64* %.reg2mem store i32 %storemerge, i32* %storemerge18.reg2mem store i8* %sv_0.1, i8** %sv_0.117.reg2mem store i64 %73, i64* %sv_0.1.in16.reg2mem store i8* %sv_0.1, i8** %sv_0.1.lcssa.reg2mem br i1 %75, label LBL_13, label LBL_18 LBL_18: %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem store i8 0, i8* %sv_0.1.lcssa.reload, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_20 LBL_19: %76 = call i64 @FUNC(i64 %4) %77 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0)) store i64 %77, 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 %68, { 1, 0 } uselistorder i32 %67, { 0, 3, 2, 1 } uselistorder i8 %61, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i32 %37, { 0, 3, 2, 1 } uselistorder i8 %31, { 1, 0 } uselistorder i8 %11, { 0, 2, 1 } uselistorder i8* %7, { 2, 1, 3, 4, 0 } uselistorder i64 %4, { 3, 1, 2, 0, 4, 5 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge421.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.020.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.117.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.in16.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge310.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.39.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 2, 3, 0, 1 } uselistorder i8 0, { 3, 2, 1, 4, 0, 5 } uselistorder i1 false, { 3, 2, 1, 5, 4, 0, 6, 7 } uselistorder i64 %arg2, { 3, 2, 1, 4, 5, 0 } uselistorder label LBL_20, { 1, 2, 3, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 1, 0, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
GetIntegrityLevelString_3621
GetIntegrityLevelString
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 ptrtoint ([13 x i32]* @gv_0 to i64), i64* %rax.0.reg2mem switch i32 %trunc, label LBL_8 [ i32 0, label LBL_9 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 ] LBL_1: store i64 ptrtoint ([13 x i32]* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_2: store i64 ptrtoint ([12 x i32]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_3: store i64 ptrtoint ([12 x i32]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_4: store i64 ptrtoint ([12 x i32]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_5: store i64 ptrtoint ([12 x i32]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_6: store i64 ptrtoint ([9 x i32]* @gv_6 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_7: store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %2 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder label LBL_9, { 8, 1, 2, 3, 4, 5, 6, 7, 0 } }
0
BinRealVul
qcow2_pre_write_overlap_check_5066
qcow2_pre_write_overlap_check
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0, i32 %1, i64 %arg3, i64 %arg4) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %7 = icmp slt i32 %3, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = and i64 %2, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = add i32 %10, -1 %12 = icmp slt i32 %11, 32 br i1 %12, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %13 = sext i32 %11 to i64 %14 = mul i64 %13, 8 %15 = add i64 %14, ptrtoint ([32 x i8*]* @gv_3 to i64) %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %0, i64 1, i64 %arg3, i64 %arg4, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_4, i64 0, i64 0), i64 %17) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 32, { 1, 0 } uselistorder i32 0, { 64, 65, 0, 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, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63 } uselistorder label LBL_6, { 1, 0, 2 } }
0
BinRealVul
jpc_firstone_19065
jpc_firstone
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = icmp eq i32 %0, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, %4 store i32 %0, i32* %.reg2mem store i32 -1, i32* %storemerge2.reg2mem store i64 4294967295, i64* %storemerge.lcssa.reg2mem br i1 %5, label LBL_3, label LBL_5 LBL_3: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i32, i32* %.reg2mem %6 = ashr i32 %.reload, 1 %7 = add i32 %storemerge2.reload, 1 %8 = icmp eq i32 %6, 0 %9 = icmp slt i32 %.reload, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 store i32 %6, i32* %.reg2mem store i32 %7, i32* %storemerge2.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_4: %phitmp = zext i32 %7 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_5 LBL_5: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i32 %7, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i32 0, { 0, 2, 1, 3 } uselistorder i32 1, { 3, 4, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
amqp_simple_get_frame_18580
amqp_simple_get_frame
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1.05.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %arg1 to i32 %4 = trunc i64 %1 to i16 store i64 0, i64* %sv_0.06.reg2mem store i64 %2, i64* %sv_1.05.reg2mem br label LBL_1 LBL_1: %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %5 = inttoptr i64 %sv_1.05.reload to i64* %6 = trunc i64 %sv_0.06.reload to i32 %7 = sub i32 7, %6 %8 = call i32 @recv(i32 %3, i64* %5, i32 %7, i32 0) %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 br i1 %13, label LBL_4, label LBL_2 LBL_2: store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_3 LBL_3: %14 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %15 = sext i32 %8 to i64 %16 = add i64 %sv_0.06.reload, %15 %17 = add i64 %sv_1.05.reload, %15 %18 = icmp ult i64 %16, 7 store i64 %16, i64* %sv_0.06.reg2mem store i64 %17, i64* %sv_1.05.reg2mem br i1 %18, label LBL_1, label LBL_5 LBL_5: %19 = call i16 @ntohs(i16 %4) %20 = bitcast i64* %arg2 to i16* store i16 %19, i16* %20, align 2 %21 = add i64 %2, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = call i32 @ntohl(i32 %23) store i32 %24, i32* %22, align 4 %25 = add i32 %24, 1 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = load i32, i32* %22, align 4 %29 = add i32 %28, 1 %30 = icmp eq i32 %29, 0 store i32 %29, i32* %.reg2mem store i64 %27, i64* %storemerge4.reg2mem store i64 0, i64* %sv_0.13.reg2mem store i64 %27, i64* %rax.0.reg2mem br i1 %30, label LBL_10, label LBL_6 LBL_6: %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %.reload = load i32, i32* %.reg2mem %31 = inttoptr i64 %storemerge4.reload to i64* %32 = trunc i64 %sv_0.13.reload to i32 %33 = sub i32 %.reload, %32 %34 = call i32 @recv(i32 %3, i64* %31, i32 %33, i32 0) %35 = icmp eq i32 %34, 0 %36 = icmp slt i32 %34, 0 %37 = icmp eq i1 %36, false %38 = icmp eq i1 %35, false %39 = icmp eq i1 %37, %38 br i1 %39, label LBL_9, label LBL_7 LBL_7: store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_8 LBL_8: %40 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %41 = sext i32 %34 to i64 %42 = add i64 %sv_0.13.reload, %41 %43 = add i64 %storemerge4.reload, %41 %44 = load i32, i32* %22, align 4 %45 = add i32 %44, 1 %46 = zext i32 %45 to i64 %47 = icmp ult i64 %42, %46 store i32 %45, i32* %.reg2mem store i64 %43, i64* %storemerge4.reg2mem store i64 %42, i64* %sv_0.13.reg2mem store i64 %27, i64* %rax.0.reg2mem br i1 %47, label LBL_6, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %34, { 2, 0, 1 } uselistorder i64 %storemerge4.reload, { 1, 0 } uselistorder i64 %sv_0.13.reload, { 1, 0 } uselistorder i32* %22, { 1, 0, 2, 3 } uselistorder i32 %8, { 2, 0, 1 } uselistorder i64 %sv_0.06.reload, { 1, 0 } uselistorder i64 %sv_1.05.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2, 6, 5 } uselistorder i64 (i8*)* @uwsgi_error, { 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i32 (i32, i64*, i32, i32)* @recv, { 1, 0 } uselistorder i32 0, { 3, 4, 6, 0, 1, 2, 5 } uselistorder label LBL_10, { 0, 3, 2, 1, 5, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
__vm_enough_memory_17903
__vm_enough_memory
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = icmp eq i32 %1, 2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0) %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %7, %6 %9 = call i64 @FUNC(i64 0) %10 = add i64 %8, %9 %11 = trunc i64 %arg3 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = udiv i64 %10, 32 %15 = select i1 %13, i64 0, i64 %14 %sv_0.0 = sub i64 %10, %15 %16 = icmp ugt i64 %sv_0.0, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %17 = call i64 @FUNC() %18 = load i64, i64* @gv_2, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label LBL_4, label LBL_6 LBL_4: %20 = sub i64 %17, %18 %21 = udiv i64 %20, 32 %.op = sub nsw i64 0, %21 %.neg = select i1 %13, i64 0, i64 %.op %sv_1.0 = add i64 %20, %sv_0.0 %22 = add i64 %sv_1.0, %.neg %23 = icmp ugt i64 %22, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_5: %24 = load i64, i64* @gv_3, align 8 %25 = load i64, i64* @gv_4, align 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = sdiv i64 %29, 2147483648 %sv_2.0 = sub i64 %24, %30 %31 = call i64 @FUNC(i64* nonnull @gv_5) %32 = icmp slt i64 %31, %sv_2.0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %arg2) store i64 4294967284, 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 %20, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64)* @global_page_state, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } }
1
BinRealVul
load_script_5480
load_script
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.in17.reg2mem = alloca i64 %.reg2mem19 = alloca i8 %.in.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %.reg2mem = alloca i8* %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 35 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_32, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 33 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_32 LBL_2: %10 = add i64 %5, 256 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = load i64, i64* %11, align 8 %15 = call i64 @FUNC(i64 %14) store i64 0, i64* %11, align 8 %16 = add i64 %5, 255 %17 = inttoptr i64 %16 to i8* store i8 0, i8* %17, align 1 %18 = bitcast i64* %arg1 to i8* %19 = call i8* @strchr(i8* %18, i32 10) %20 = icmp eq i8* %19, null %21 = icmp eq i1 %20, false %storemerge3 = select i1 %21, i8* %19, i8* %17 store i8 0, i8* %storemerge3, align 1 %22 = bitcast i8* %storemerge3 to i64* %23 = icmp ugt i64* %22, %arg1 store i8* %storemerge3, i8** %.reg2mem br i1 %23, label LBL_3, label LBL_5 LBL_3: %.reload = load i8*, i8** %.reg2mem %24 = ptrtoint i8* %.reload to i64 %25 = add i64 %24, -1 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp ne i8 %27, 32 %29 = icmp eq i8 %27, 9 %30 = icmp eq i1 %29, false %or.cond = icmp eq i1 %28, %30 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: store i8 0, i8* %26, align 1 %31 = inttoptr i64 %25 to i64* %32 = icmp ugt i64* %31, %arg1 store i8* %26, i8** %.reg2mem br i1 %32, label LBL_3, label LBL_5 LBL_5: %33 = add i64 %5, 2 store i64 %33, i64* %storemerge.in.reg2mem br label LBL_7 LBL_6: %34 = add i64 %storemerge.in.reload, 1 store i64 %34, i64* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = inttoptr i64 %storemerge.in.reload to i8* %35 = load i8, i8* %storemerge, align 1 switch i8 %35, label LBL_8 [ i8 32, label LBL_6 i8 9, label LBL_6 ] LBL_8: %36 = icmp eq i8 %35, 0 %37 = icmp eq i1 %36, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %37, label LBL_9, label LBL_32 LBL_9: %38 = bitcast i8** %sv_2 to i64* store i64 %storemerge.in.reload, i64* %38, align 8 store i64 0, i64* %sv_1, align 8 store i64 %storemerge.in.reload, i64* %.in.reg2mem br label LBL_10 LBL_10: %.in.reload = load i64, i64* %.in.reg2mem %39 = inttoptr i64 %.in.reload to i8* %40 = load i8, i8* %39, align 1 switch i8 %40, label LBL_11 [ i8 0, label LBL_12 i8 32, label LBL_12 ] LBL_11: %41 = icmp eq i8 %40, 9 %42 = icmp eq i1 %41, false %43 = add i64 %.in.reload, 1 store i64 %43, i64* %.in.reg2mem br i1 %42, label LBL_10, label LBL_12 LBL_12: store i8 %40, i8* %.reg2mem19 store i64 %.in.reload, i64* %.in17.reg2mem br label LBL_14 LBL_13: %44 = inttoptr i64 %.in17.reload to i8* %45 = add i64 %.in17.reload, 1 store i8 0, i8* %44, align 1 %.phi.trans.insert = inttoptr i64 %45 to i8* %.pre = load i8, i8* %.phi.trans.insert, align 1 store i8 %.pre, i8* %.reg2mem19 store i64 %45, i64* %.in17.reg2mem br label LBL_14 LBL_14: %.in17.reload = load i64, i64* %.in17.reg2mem %.reload20 = load i8, i8* %.reg2mem19 switch i8 %.reload20, label LBL_15 [ i8 32, label LBL_13 i8 9, label LBL_13 i8 0, label LBL_16 ] LBL_15: store i64 %.in17.reload, i64* %sv_1, align 8 br label LBL_16 LBL_16: %46 = load i8*, i8** %sv_2, align 8 %47 = bitcast i64* %sv_0 to i8* %48 = call i8* @strcpy(i8* nonnull %47, i8* %46) %49 = call i64 @FUNC(i64 %5) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_18, label LBL_17 LBL_17: %52 = and i64 %49, 4294967295 store i64 %52, i64* %rax.0.reg2mem br label LBL_32 LBL_18: %53 = add i64 %5, 264 %54 = call i64 @FUNC(i64 1, i64 %53, i64 %5) %55 = trunc i64 %54 to i32 %56 = icmp slt i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_20, label LBL_19 LBL_19: %58 = and i64 %54, 4294967295 store i64 %58, i64* %rax.0.reg2mem br label LBL_32 LBL_20: %59 = add i64 %5, 272 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i32 %61, 1 store i32 %62, i32* %60, align 4 %63 = load i64, i64* %sv_1, align 8 %64 = icmp eq i64 %63, 0 br i1 %64, label LBL_24, label LBL_21 LBL_21: %65 = ptrtoint i64* %sv_1 to i64 %66 = call i64 @FUNC(i64 1, i64 %65, i64 %5) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_23, label LBL_22 LBL_22: %70 = and i64 %66, 4294967295 store i64 %70, i64* %rax.0.reg2mem br label LBL_32 LBL_23: %71 = load i32, i32* %60, align 4 %72 = add i32 %71, 1 store i32 %72, i32* %60, align 4 br label LBL_24 LBL_24: %73 = ptrtoint i8** %sv_2 to i64 %74 = call i64 @FUNC(i64 1, i64 %73, i64 %5) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 br i1 %76, label LBL_26, label LBL_25 LBL_25: %77 = and i64 %74, 4294967295 store i64 %77, i64* %rax.0.reg2mem br label LBL_32 LBL_26: %78 = load i32, i32* %60, align 4 %79 = add i32 %78, 1 store i32 %79, i32* %60, align 4 %80 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5) %81 = trunc i64 %80 to i32 %82 = icmp slt i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_28, label LBL_27 LBL_27: %84 = and i64 %80, 4294967295 store i64 %84, i64* %rax.0.reg2mem br label LBL_32 LBL_28: %85 = call i64 @FUNC(i64* nonnull %sv_0) %86 = icmp ult i64 %85, -1000 store i64 %85, i64* %rax.0.reg2mem br i1 %86, label LBL_29, label LBL_32 LBL_29: store i64 %85, i64* %11, align 8 %87 = call i64 @FUNC(i64 %5) %88 = trunc i64 %87 to i32 %89 = icmp slt i32 %88, 0 %90 = icmp eq i1 %89, false br i1 %90, label LBL_31, label LBL_30 LBL_30: %91 = and i64 %87, 4294967295 store i64 %91, i64* %rax.0.reg2mem br label LBL_32 LBL_31: %92 = call i64 @FUNC(i64 %5) store i64 %92, i64* %rax.0.reg2mem br label LBL_32 LBL_32: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %85, { 1, 0, 2 } uselistorder i32* %60, { 3, 2, 1, 0, 4, 5 } uselistorder i64 %.in17.reload, { 2, 0, 1 } uselistorder i8 %40, { 0, 2, 1 } uselistorder i64 %.in.reload, { 0, 2, 1 } uselistorder i64 %storemerge.in.reload, { 0, 3, 1, 2 } uselistorder i64 %5, { 1, 2, 3, 4, 0, 5, 7, 6, 8, 9, 10, 11, 12 } uselistorder i8** %sv_2, { 2, 1, 0 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 1, 9, 8, 7, 6, 5, 2, 4, 3 } uselistorder i64 (i64, i64, i64)* @copy_strings_kernel, { 2, 1, 0 } uselistorder i8 9, { 0, 3, 1, 2 } uselistorder i8 0, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0, 7, 8 } uselistorder i64* %arg1, { 1, 0, 2, 3 } uselistorder label LBL_32, { 4, 5, 0, 6, 7, 8, 9, 10, 1, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_vb_1365
get_vb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 9 store i64 -1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i32 %2, i32* %sv_1.02.reg2mem store i64 0, i64* %sv_0.01.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %6 = add i32 %sv_1.02.reload, -1 %7 = mul i64 %sv_0.01.reload, 256 %8 = call i64 @FUNC(i64 %0) %9 = urem i64 %8, 256 %10 = or i64 %9, %7 %11 = icmp eq i32 %6, 0 %12 = icmp eq i1 %11, false store i32 %6, i32* %sv_1.02.reg2mem store i64 %10, i64* %sv_0.01.reg2mem store i64 %10, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 256, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
perf_event_task_sched_out_11171
perf_event_task_sched_out
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 1, i64 1, i64 0, i64 0) %2 = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i64 %0, i64 %2) ret i64 %3 uselistorder i64 1, { 1, 0 } }
1
BinRealVul
kvm_irqchip_create_547
kvm_irqchip_create
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 1) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 1) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 1 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = call i64 @FUNC(i64 %5, i64 2) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %14 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_2 to i64*), i32 1, i32 29, %_IO_FILE* %13) %15 = and i64 %9, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i8 1, i8* inttoptr (i64 4210761 to i8*), align 1 store i8 1, i8* inttoptr (i64 4210762 to i8*), align 2 store i8 1, i8* inttoptr (i64 4210763 to i8*), align 1 %16 = call i64 @FUNC(i64 %5) 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* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i8 1, { 2, 3, 4, 0, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 0, { 2, 1, 0, 5, 6, 3, 4, 7 } uselistorder label LBL_5, { 2, 3, 1, 0 } }
0
BinRealVul
parse_data_for_row_pseudocolor_6996
parse_data_for_row_pseudocolor
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.1.lcssa.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.02.reg2mem = alloca i64 %sv_2.03.reg2mem = alloca i32 %sv_0.14.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i32 %5, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.1.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_5 LBL_1: %11 = inttoptr i64 %8 to i8* %12 = add i64 %0, 32 %13 = inttoptr i64 %12 to i64* %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* store i8* %11, i8** %sv_0.14.reg2mem store i32 %5, i32* %sv_2.03.reg2mem store i64 %0, i64* %sv_1.02.reg2mem br label LBL_2 LBL_2: %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %sv_2.03.reload = load i32, i32* %sv_2.03.reg2mem %sv_0.14.reload = load i8*, i8** %sv_0.14.reg2mem %16 = inttoptr i64 %sv_1.02.reload to i8* %17 = load i8, i8* %16, align 1 %18 = load i64, i64* %13, align 8 %19 = zext i8 %17 to i64 %20 = call i64 @FUNC(i64 %18, i64 %19) %21 = ptrtoint i8* %sv_0.14.reload to i64 %22 = add i64 %21, 1 %23 = inttoptr i64 %20 to i8* %24 = load i8, i8* %23, align 1 store i8 %24, i8* %sv_0.14.reload, align 1 %25 = add i64 %21, 2 %26 = add i64 %20, 1 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = inttoptr i64 %22 to i8* store i8 %28, i8* %29, align 1 %30 = add i64 %21, 3 %31 = inttoptr i64 %30 to i8* %32 = add i64 %20, 2 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = inttoptr i64 %25 to i8* store i8 %34, i8* %35, align 1 %36 = load i64, i64* %15, align 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = icmp eq i32 %38, 32 %41 = icmp eq i1 %40, false store i8* %31, i8** %sv_0.0.reg2mem store i64 %39, i64* %rax.0.reg2mem br i1 %41, label LBL_4, label LBL_3 LBL_3: %42 = add i64 %21, 4 %43 = inttoptr i64 %42 to i8* %44 = add i64 %20, 3 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 store i8 %46, i8* %31, align 1 store i8* %43, i8** %sv_0.0.reg2mem store i64 %30, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %47 = add i32 %sv_2.03.reload, -1 %48 = add i64 %sv_1.02.reload, 1 %49 = icmp eq i32 %47, 0 %50 = icmp eq i1 %49, false store i8* %sv_0.0.reload, i8** %sv_0.14.reg2mem store i32 %47, i32* %sv_2.03.reg2mem store i64 %48, i64* %sv_1.02.reg2mem store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem br i1 %50, label LBL_2, label LBL_5 LBL_5: %rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem ret i64 %rax.1.lcssa.reload uselistorder i8* %31, { 1, 0 } uselistorder i64 %21, { 0, 3, 2, 1 } uselistorder i8* %sv_0.14.reload, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i8** %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i64 3, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
security_context_to_sid_core_11315
security_context_to_sid_core
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.3.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = inttoptr i64 %arg1 to i8* store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, ptrtoint (i64* @gv_1 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i8* %9 = call i32 @strcmp(i8* %8, i8* %3) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = trunc i64 %indvars.iv.reload to i32 %13 = bitcast i64* %arg3 to i32* store i32 %12, i32* %13, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %14 = icmp ult i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %14, label LBL_2, label LBL_5 LBL_5: %15 = bitcast i64* %arg3 to i32* store i32 0, i32* %15, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %sext = mul i64 %arg2, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = and i64 %arg5, 4294967295 %18 = bitcast i64* %arg3 to i32* store i32 0, i32* %18, align 4 %19 = add nsw i64 %16, 1 %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %20, i64 %17) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_15 LBL_7: %24 = trunc i64 %16 to i32 %25 = inttoptr i64 %21 to i64* %26 = inttoptr i64 %arg1 to i64* %27 = call i64* @memcpy(i64* %25, i64* %26, i32 %24) %28 = and i64 %16, 4294967295 %29 = add i64 %21, %28 %30 = inttoptr i64 %29 to i8* store i8 0, i8* %30, align 1 %31 = trunc i64 %arg6 to i32 %32 = icmp eq i32 %31, 0 store i64 0, i64* %sv_1.0.reg2mem br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = call i64 @FUNC(i64 %21, i64 %17) %34 = icmp eq i64 %33, 0 store i64 %33, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_1.3.reg2mem store i64 4294967284, i64* %sv_0.1.reg2mem br i1 %34, label LBL_14, label LBL_9 LBL_9: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %35 = call i64 @FUNC(i64* nonnull @gv_2) %36 = zext i32 %arg4 to i64 %37 = call i64 @FUNC(i64* nonnull @gv_3, i64* nonnull @gv_4, i64 %21, i64 %28, i64* nonnull %sv_2, i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, -22 %40 = icmp eq i1 %39, false %or.cond = or i1 %32, %40 br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: store i64 %sv_1.0.reload, i64* %sv_2, align 8 store i64 0, i64* %sv_1.1.reg2mem br label LBL_12 LBL_11: %41 = icmp eq i32 %38, 0 %42 = icmp eq i1 %41, false store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 %37, i64* %sv_0.0.reg2mem br i1 %42, label LBL_13, label LBL_12 LBL_12: %43 = ptrtoint i64* %arg3 to i64 %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %44 = call i64 @FUNC(i64* nonnull @gv_4, i64* nonnull %sv_2, i64 %43) %45 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i64 %44, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %46 = call i64 @FUNC(i64* nonnull @gv_2) store i64 %sv_1.2.reload, i64* %sv_1.3.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_14 LBL_14: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem %47 = call i64 @FUNC(i64 %21) %48 = call i64 @FUNC(i64 %sv_1.3.reload) %49 = and i64 %sv_0.1.reload, 4294967295 store i64 %49, 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 } uselistorder i64 %21, { 2, 3, 1, 0, 4, 5 } uselistorder i64* %sv_2, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64* %arg3, { 3, 0, 2, 1 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_15, { 1, 0, 3, 2 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
do_tb_flush_18693
do_tb_flush
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.next7.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC() %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = icmp eq i32 %3, %1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = load i32, i32* bitcast (i128* @gv_1 to i32*), align 8 %7 = icmp slt i32 %6, 1 %.pre = load i64, i64* @gv_2, align 8 %.pre4 = load i64, i64* @gv_3, align 8 %.pre6 = sub i64 %.pre, %.pre4 store i32 0, i32* %storemerge2.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = sext i32 %6 to i64 %9 = udiv i64 %.pre6, %8 %phitmp = trunc i64 %9 to i32 store i32 %phitmp, i32* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %10 = zext i32 %6 to i64 %11 = trunc i64 %.pre6 to i32 %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_4, i64 0, i64 0), i32 %11, i64 %10, i32 %storemerge2.reload) %13 = load i64, i64* @gv_2, align 8 %14 = load i64, i64* @gv_3, align 8 %15 = sub i64 %13, %14 %16 = load i64, i64* @gv_5, align 8 %17 = icmp ugt i64 %15, %16 br i1 %17, label LBL_4, label LBL_6 LBL_4: %18 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_6, i64 0, i64 0)) unreachable LBL_5: %indvars.iv.next7.reload = load i64, i64* %indvars.iv.next7.reg2mem %.pre5 = load i64, i64* %sv_0, align 8 %19 = mul i64 %indvars.iv.next7.reload, 8 %20 = add i64 %19, %.pre5 %21 = call i64 @FUNC(i64 %20, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.next7.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.next7.reg2mem br i1 %exitcond, label LBL_7, label LBL_5 LBL_6: %22 = ptrtoint i64* %sv_0 to i64 store i64 %22, i64* %sv_0, align 8 %23 = call i64 @FUNC(i64 %22, i64 0) store i64 1, i64* %indvars.iv.next7.reg2mem br label LBL_5 LBL_7: store i64 0, i64* %sv_0, align 8 store i32 0, i32* bitcast (i128* @gv_1 to i32*), align 8 %24 = call i64 @FUNC(i64* nonnull @gv_7, i64 256) %25 = call i64 @FUNC() %26 = load i64, i64* @gv_3, align 8 store i64 %26, i64* @gv_2, align 8 %27 = call i64 @FUNC(i64* nonnull @gv_0, i64 zext (i32 ptrtoint (i32* @gv_8 to i32) to i64)) br label LBL_8 LBL_8: %28 = call i64 @FUNC() ret i64 %28 uselistorder i64* %sv_0, { 2, 1, 3, 0, 4 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.next7.reg2mem, { 2, 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64* @gv_3, { 1, 2, 0 } uselistorder i64* @gv_2, { 1, 2, 0 } uselistorder i32* bitcast (i128* @gv_1 to i32*), { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
iwch_cxgb3_ofld_send_13507
iwch_cxgb3_ofld_send
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %6 = call i64 @FUNC(i64 %1, i64 %0) %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 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %11 = icmp eq i32 %7, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %9, %12 %14 = and i64 %6, 4294967295 %15 = select i1 %13, i64 0, i64 %14 store i64 %15, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree_skb, { 1, 0 } }
0
BinRealVul
smack_getprocattr_6944
smack_getprocattr
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = inttoptr i64 %6 to i8* %10 = call i32 @strlen(i8* %9) store i64 %6, i64* %arg3, align 8 %11 = zext i32 %10 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
xmlrpc_write_header_8139
xmlrpc_write_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8, align 1 store i8 0, i8* %sv_3, align 1 %0 = call i32 @time(i32* null) %1 = sext i32 %0 to i64 store i64 %1, i64* %sv_2, align 8 %2 = bitcast i64* %sv_2 to i32* %3 = call %tm* @localtime(i32* nonnull %2) %4 = bitcast %tm* %3 to i64* %5 = load i64, i64* %4, align 8 store i64 %5, i64* %sv_1, align 8 %6 = bitcast i64* %sv_0 to i8* %7 = bitcast i64* %sv_1 to %tm* %8 = call i32 @strftime(i8* nonnull %6, i32 64, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), %tm* nonnull %7) %9 = and i64 %arg1, 4294967295 %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %sv_3, i32 512, i8* getelementptr inbounds ([112 x i8], [112 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64* nonnull %sv_0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %11 = call i64 @FUNC(i8* nonnull %sv_3) ret i64 %11 uselistorder i32 1, { 4, 3, 2, 1, 0 } }
0
BinRealVul
equality_6379
equality
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.be.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = call i64 @FUNC() store i64 %1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %arg1, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %arg1, i64 %0) %8 = call i64 @FUNC(i64 5, i64 %sv_0.0.reload, i64 %7) store i64 %8, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_3: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem br label LBL_1 LBL_4: %9 = call i64 @FUNC(i64 %arg1, i64 2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 %arg1, i64 %0) %13 = call i64 @FUNC(i64 6, i64 %sv_0.0.reload, i64 %12) store i64 %13, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_6: %14 = call i64 @FUNC(i64 %arg1, i64 3) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_8, label LBL_7 LBL_7: %17 = call i64 @FUNC(i64 %arg1, i64 %0) %18 = call i64 @FUNC(i64 7, i64 %sv_0.0.reload, i64 %17) store i64 %18, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_8: %19 = call i64 @FUNC(i64 %arg1, i64 4) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_10, label LBL_9 LBL_9: %22 = call i64 @FUNC(i64 %arg1, i64 %0) %23 = call i64 @FUNC(i64 8, i64 %sv_0.0.reload, i64 %22) store i64 %23, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_10: %24 = call i64 @FUNC() ret i64 %sv_0.0.reload uselistorder i64 %sv_0.0.reload, { 4, 0, 1, 2, 3 } uselistorder i64 %0, { 1, 2, 3, 4, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.be.reg2mem, { 4, 3, 2, 0, 1 } uselistorder i64 (i64, i64, i64)* @EXP2, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @relational, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 2, 5, 1, 6, 0, 7, 8 } uselistorder label LBL_1.backedge, { 3, 2, 1, 0 } }
0
BinRealVul
__io_free_req_finish_19295
__io_free_req_finish
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 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %0) %6 = urem i64 %5, 256 %7 = icmp eq i64 %6, 1 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load i64, i64* @gv_0, align 8 %9 = call i64 @FUNC(i64 %8, i64 %0) br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 0, i64 %1) br label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0) ret i64 %11 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
nsv_read_close_15983
nsv_read_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 8 %2 = call i64 @FUNC(i64 %1) ret i64 0 uselistorder i64 (i64)* @av_freep, { 1, 0 } }
1
BinRealVul
mlock_vma_page_12176
mlock_vma_page
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %0) %11 = and i64 %9, 4294967295 %12 = and i64 %10, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 1, i64 %11) %14 = call i64 @FUNC(i64 2) %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %15, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %0) 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 %0, { 0, 1, 3, 2, 4, 5 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } }
1
BinRealVul
helper_discard_movcal_backup_656
helper_discard_movcal_backup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = add i64 %0, 8 store i64 %0, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %4 = inttoptr i64 %sv_0.01.reload to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %sv_0.01.reload) store i64 %5, i64* %arg1, align 8 %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.01.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_3: %9 = inttoptr i64 %3 to i64* store i64 %0, i64* %9, align 8 br label LBL_4 LBL_4: ret i64 %0 uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg1, { 1, 0, 2 } }
0
BinRealVul
io_watch_poll_finalize_3617
io_watch_poll_finalize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
start_cfs_bandwidth_6692
start_cfs_bandwidth
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 24 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 %6 = and i64 %1, 4294967295 %7 = icmp eq i32 %5, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = bitcast i64* %arg1 to i32* store i32 1, i32* %9, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %3, i64 %12, i64 %15) %17 = call i64 @FUNC(i64 %3, i64 0) store i64 %17, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
decode_subframe_lpc_3177
decode_subframe_lpc
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp sgt i32 %arg4, 0 br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = add i64 %0, 24 %wide.trip.count12 = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv10.reg2mem br label LBL_2 LBL_2: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %3 = mul i64 %indvars.iv10.reload, 4 %4 = add i64 %3, %0 %5 = call i64 @FUNC(i64 %2, i64 10) %6 = trunc i64 %5 to i32 %7 = inttoptr i64 %4 to i32* store i32 %6, i32* %7, align 4 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next11, %wide.trip.count12 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem br i1 %exitcond13, label LBL_3, label LBL_2 LBL_3: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %11, label LBL_9, label LBL_4 LBL_4: %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = sext i32 %arg2 to i64 %17 = mul i64 %16, 8 %18 = add i64 %0, 24 %19 = zext i32 %arg3 to i64 %wide.trip.count = zext i32 %arg4 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge5.reg2mem br label LBL_5 LBL_5: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload = load i64, i64* %.reg2mem %20 = load i32, i32* %13, align 4 store i32 %20, i32* %sv_0.0.lcssa.reg2mem br i1 %1, label LBL_6, label LBL_8 LBL_6: %21 = load i64, i64* %15, align 8 %22 = add i64 %21, %17 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %24, -4 store i64 0, i64* %indvars.iv.reg2mem store i32 %20, i32* %sv_0.03.reg2mem br label LBL_7 LBL_7: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = mul i64 %indvars.iv.reload, 4 %27 = add i64 %26, %0 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = trunc i64 %indvars.iv.reload to i32 %31 = sub i32 %storemerge5.reload, %30 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 4 %34 = add i64 %25, %33 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = mul i32 %36, %29 %38 = add i32 %37, %sv_0.03.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %38, i32* %sv_0.03.reg2mem store i32 %38, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %39 = call i64 @FUNC(i64 %18, i64 %19) %40 = trunc i64 %39 to i32 %41 = ashr i32 %sv_0.0.lcssa.reload, 10 %42 = load i64, i64* %15, align 8 %43 = add i64 %42, %17 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = mul i64 %.reload, 4 %47 = add i64 %45, %46 %48 = add i32 %41, %40 %49 = inttoptr i64 %47 to i32* store i32 %48, i32* %49, align 4 %50 = add i32 %storemerge5.reload, 1 %51 = load i32, i32* %9, align 4 %52 = zext i32 %51 to i64 %53 = sext i32 %50 to i64 %54 = icmp slt i64 %53, %52 store i64 %53, i64* %.reg2mem store i32 %50, i32* %storemerge5.reg2mem store i64 %52, i64* %.lcssa.reg2mem br i1 %54, label LBL_5, label LBL_9 LBL_9: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %20, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i32* %9, { 1, 0 } uselistorder i64 %0, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @get_sr_golomb_shorten, { 1, 0 } uselistorder i32 %arg4, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
g_realloc_15356
g_realloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2) %1 = icmp eq i64 %arg2, 0 %phitmp = trunc i64 %arg2 to i32 %storemerge = select i1 %1, i32 1, i32 %phitmp %2 = inttoptr i64 %arg1 to i64* %3 = call i64* @realloc(i64* %2, i32 %storemerge) %4 = icmp eq i64* %3, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() unreachable LBL_2: %7 = ptrtoint i64* %3 to i64 ret i64 %7 uselistorder i64* %3, { 1, 0 } }
1
BinRealVul
qdev_try_create_2769
qdev_try_create
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = call i64 @FUNC(i64 %arg2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_5 LBL_2: %6 = icmp eq i64 %arg1, 0 %7 = icmp eq i1 %6, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC() store i64 %8, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %9 = call i64 @FUNC(i64 %3, i64 %sv_0.0.reload) %10 = call i64 @FUNC(i64 %3) store i64 %3, 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, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
gui_buffer_local_var_remove_18104
gui_buffer_local_var_remove
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i64* %arg2, null %or.cond = or i1 %0, %1 br i1 %or.cond, label LBL_11, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg2 to i64 call void @free(i64* nonnull %arg2) %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 %2, i64* %rdi.1.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = inttoptr i64 %5 to i64* call void @free(i64* %7) store i64 %5, i64* %rdi.1.reg2mem br label LBL_3 LBL_3: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %.pre = add i64 %2, 24 %.pre2 = inttoptr i64 %.pre to i64* br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = load i64, i64* %.pre2, align 8 %13 = add i64 %10, 24 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 br label LBL_5 LBL_5: %15 = load i64, i64* %.pre2, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = load i64, i64* %9, align 8 %18 = add i64 %15, 16 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 br label LBL_7 LBL_7: %20 = icmp eq i64 %rdi.1.reload, %2 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = load i64, i64* %.pre2, align 8 store i64 %22, i64* %arg1, align 8 br label LBL_9 LBL_9: %23 = ptrtoint i64* %arg1 to i64 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, %2 %28 = icmp eq i1 %27, false store i64 %26, i64* %rax.0.reg2mem br i1 %28, label LBL_11, label LBL_10 LBL_10: %29 = load i64, i64* %9, align 8 store i64 %29, i64* %25, align 8 store i64 %23, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %9, { 1, 0, 2 } uselistorder i64 %2, { 2, 3, 1, 4, 0, 5 } uselistorder i64 24, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
tcp_shifted_skb_11426
tcp_shifted_skb
define i64 @FUNC(i8* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32 %arg5, i32 %arg6, i64 %arg7, i64 %arg8) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i8* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %arg5, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %11 = ptrtoint i64* %arg4 to i64 %12 = add i32 %7, %arg6 %13 = trunc i64 %1 to i32 %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %arg8 to i8 %16 = add i64 %2, 20 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = call i64 @FUNC(i64 %3, i64 %11, i32 %18, i32 %7, i32 %12, i8 %15) %20 = call i64 @FUNC(i64 %3, i64 %2, i32 %13) %21 = inttoptr i64 %4 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, %2 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = add i64 %4, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i32 %27, %arg5 store i32 %28, i32* %26, align 4 br label LBL_4 LBL_4: %29 = ptrtoint i64* %arg2 to i64 %30 = add i64 %29, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, %arg6 store i32 %33, i32* %31, align 4 %34 = load i32, i32* %6, align 4 %35 = add i32 %34, %arg6 store i32 %35, i32* %6, align 4 %36 = zext i32 %arg5 to i64 %37 = call i64 @FUNC(i64 %29, i64 %36) %38 = call i64 @FUNC(i64 %2) %39 = trunc i64 %38 to i32 %40 = icmp ult i32 %39, %arg5 br i1 %40, label LBL_5, label LBL_6 LBL_5: %41 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) br label LBL_6 LBL_6: %42 = sub i32 0, %arg5 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %2, i64 %43) %45 = add i64 %29, 24 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_8, label LBL_7 LBL_7: %50 = trunc i64 %arg7 to i32 store i32 %50, i32* %46, align 4 br label LBL_8 LBL_8: %51 = call i64 @FUNC(i64 %2) %52 = trunc i64 %51 to i32 %53 = icmp ult i32 %52, 2 br i1 %53, label LBL_9, label LBL_10 LBL_9: %54 = add i64 %2, 24 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 br label LBL_10 LBL_10: %56 = add i64 %29, 20 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = load i32, i32* %17, align 4 %60 = urem i32 %59, 2 %61 = or i32 %60, %58 store i32 %61, i32* %57, align 4 %62 = bitcast i64* %rdx to i32* %63 = load i32, i32* %62, align 8 %64 = icmp slt i32 %63, 1 br i1 %64, label LBL_14, label LBL_11 LBL_11: %65 = call i64 @FUNC(i64 %2) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_13, label LBL_12 LBL_12: %69 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) br label LBL_13 LBL_13: %70 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_25 LBL_14: %71 = add i64 %4, 8 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = icmp eq i64 %73, %2 %75 = icmp eq i1 %74, false br i1 %75, label LBL_16, label LBL_15 LBL_15: store i64 %29, i64* %72, align 8 br label LBL_16 LBL_16: %76 = load i64, i64* %21, align 8 %77 = icmp eq i64 %76, %2 %78 = icmp eq i1 %77, false br i1 %78, label LBL_18, label LBL_17 LBL_17: store i64 %29, i64* %21, align 8 %79 = call i64 @FUNC(i64 %29) %80 = trunc i64 %79 to i32 %81 = add i64 %4, 16 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = sub i32 %83, %80 store i32 %84, i32* %82, align 4 br label LBL_18 LBL_18: %85 = add i64 %29, 12 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = add i64 %2, 12 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = or i32 %90, %87 store i32 %91, i32* %86, align 4 %92 = add i64 %2, 16 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = add i64 %29, 16 %96 = inttoptr i64 %95 to i32* store i32 %94, i32* %96, align 4 %97 = load i32, i32* %89, align 4 %98 = urem i32 %97, 2 %99 = icmp eq i32 %98, 0 br i1 %99, label LBL_20, label LBL_19 LBL_19: %100 = load i32, i32* %31, align 4 %101 = add i32 %100, 1 store i32 %101, i32* %31, align 4 br label LBL_20 LBL_20: %102 = call i64 @FUNC(i64 %3) %103 = icmp eq i64 %102, %2 %104 = icmp eq i1 %103, false br i1 %104, label LBL_22, label LBL_21 LBL_21: %105 = call i64 @FUNC(i64 %3, i64 %2) br label LBL_22 LBL_22: %106 = call i64 @FUNC(i64 %29, i64 %2) %107 = add i64 %29, 28 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label LBL_24, label LBL_23 LBL_23: store i32 0, i32* %108, align 4 br label LBL_24 LBL_24: %111 = call i64 @FUNC(i64 %2, i64 %3) %112 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %storemerge.reg2mem br label LBL_25 LBL_25: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %31, { 1, 0, 2, 3 } uselistorder i64 %29, { 4, 3, 5, 6, 1, 2, 0, 7, 8, 9, 10 } uselistorder i64* %21, { 1, 0, 2 } uselistorder i32 %7, { 1, 0 } uselistorder i32* %6, { 1, 0, 2 } uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i64 %3, { 1, 0, 2, 4, 3, 5 } uselistorder i64 %2, { 5, 6, 7, 0, 8, 9, 1, 2, 4, 10, 11, 12, 13, 3, 14, 15, 16, 17 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @tcp_skb_pcount, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @tcp_skb_pcount_add, { 1, 0 } uselistorder i32 (i8*)* @puts, { 4, 3, 2, 1, 0 } uselistorder i32 %arg5, { 2, 1, 3, 0, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
Sys_LoadDll_6623
Sys_LoadDll
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_2: %9 = trunc i64 %arg2 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) %12 = call i64 @FUNC(i64 %arg1) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %storemerge.reg2mem br i1 %14, label LBL_12, label LBL_4 LBL_4: %15 = call i64 @FUNC() %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false %20 = select i1 %19, i64 %15, i64 ptrtoint (i8** @gv_3 to i64) %21 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %arg1, i64 %20, i64 %4, i64 %2, i64 %1) %22 = call i64 @FUNC(i64* nonnull %sv_2, i64 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %20, i64 47, i64 %arg1) %23 = ptrtoint i64* %sv_2 to i64 %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %storemerge.reg2mem br i1 %26, label LBL_12, label LBL_5 LBL_5: %27 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0)) %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = inttoptr i64 %27 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false store i8* %29, i8** %sv_1.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: store i8* bitcast (i8** @gv_3 to i8*), i8** %sv_1.0.reg2mem br label LBL_8 LBL_8: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %33 = ptrtoint i8* %sv_1.0.reload to i64 %34 = call i64 @FUNC(i64 %20, i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 store i64 %24, i64* %sv_0.0.reg2mem store i64 %20, i64* %rcx.0.reg2mem store i64 %33, i64* %rdx.0.reg2mem br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %arg1, i64 %33, i64 %20, i64 47, i64 %arg1) %38 = call i64 @FUNC(i64* nonnull %sv_2, i64 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %33, i64 47, i64 %arg1) %39 = call i64 @FUNC(i64 %23) store i64 %39, i64* %sv_0.0.reg2mem store i64 %33, i64* %rcx.0.reg2mem store i64 ptrtoint ([7 x i8]* @gv_5 to i64), i64* %rdx.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %40 = icmp eq i64 %sv_0.0.reload, 0 %41 = icmp eq i1 %40, false store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br i1 %41, label LBL_12, label LBL_11 LBL_11: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %42 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0), i64 %arg1, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 47, i64 %arg1) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %33, { 1, 2, 3, 0, 4 } uselistorder i64 %24, { 1, 0, 2 } uselistorder i64 %20, { 2, 0, 4, 3, 1 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @Com_sprintf, { 1, 0 } uselistorder i64 47, { 0, 2, 1, 3 } uselistorder [7 x i8]* @gv_5, { 1, 0 } uselistorder i64 ptrtoint (i8** @gv_3 to i64), { 0, 2, 1 } uselistorder i64 (i64)* @Sys_LoadLibrary, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @Com_Printf, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 11, 9, 8, 7, 6, 5, 4, 12, 3, 1, 10, 13, 2, 0 } uselistorder i64 %arg1, { 0, 7, 6, 4, 5, 9, 8, 3, 2, 1, 10 } uselistorder label LBL_12, { 3, 2, 1, 0, 4 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
blkif_recover_18123
blkif_recover
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem14 = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 528384, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_10 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 528384) %5 = call i64 @FUNC(i64 %3, i64 0, i64 528384) store i64 0, i64* %indvars.iv9.reg2mem br label LBL_2 LBL_2: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %6 = mul nuw nsw i64 %indvars.iv9.reload, 2064 %7 = add i64 %6, %3 %8 = inttoptr i64 %7 to i32* %9 = trunc i64 %indvars.iv.next10 to i32 store i32 %9, i32* %8, align 4 %exitcond11 = icmp eq i64 %indvars.iv.next10, 256 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond11, label LBL_3, label LBL_2 LBL_3: %10 = add i64 %3, 528388 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %3, 528384 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %3, 526320 %16 = inttoptr i64 %15 to i32* store i32 268435455, i32* %16, align 4 %17 = add i64 %3, 1040 %18 = add i64 %3, 528392 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %20 = mul nuw nsw i64 %indvars.iv.reload, 2064 %21 = add i64 %20, %0 %22 = add i64 %21, 1032 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_8, label LBL_5 LBL_5: %26 = load i32, i32* %11, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %10, i64 %27) %29 = inttoptr i64 %28 to i32* %30 = inttoptr i64 %21 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %28 to i64* store i64 %31, i64* %32, align 8 %33 = add i64 %21, 1024 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %28, 1024 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = add i64 %28, 8 %39 = and i64 %38, -8 %40 = sub i64 %28, %39 %41 = sub i64 %21, %40 %42 = add i64 %40, 1032 %43 = udiv i64 %42, 8 %44 = urem i64 %43, 536870912 %45 = inttoptr i64 %41 to i8* %46 = inttoptr i64 %39 to i8* call void @FUNC(i8* %46, i8* %45, i64 %44) %47 = call i64 @FUNC(i64 %3) %48 = trunc i64 %47 to i32 store i32 %48, i32* %29, align 4 %sext = mul i64 %47, 4294967296 %49 = ashr exact i64 %sext, 32 %50 = mul nsw i64 %49, 2064 %51 = add i64 %50, %3 %52 = call i64 @FUNC(i64 %51, i64 %21, i64 2064) %53 = add i64 %28, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 %57 = load i32, i32* %29, align 4 %58 = sext i32 %57 to i64 %59 = mul nsw i64 %58, 2064 %60 = add i64 %59, %3 store i64 %60, i64* %.reg2mem store i64 0, i64* %.reg2mem14 store i32 0, i32* %storemerge35.reg2mem store i64 %60, i64* %.lcssa.reg2mem br i1 %56, label LBL_7, label LBL_6 LBL_6: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %.reload15 = load i64, i64* %.reg2mem14 %.reload = load i64, i64* %.reg2mem %61 = add i64 %.reload, 1032 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = call i64 @FUNC(i64 %63) %65 = load i32, i32* %29, align 4 %66 = sext i32 %65 to i64 %67 = mul nsw i64 %66, 516 %68 = add nsw i64 %67, %.reload15 %69 = mul i64 %68, 4 %70 = add i64 %17, %69 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = zext i32 %72 to i64 %74 = call i64 @FUNC(i64 %73) %75 = load i64, i64* %19, align 8 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = mul i64 %.reload15, 4 %79 = add i64 %78, %38 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = and i64 %64, 4294967295 %83 = and i64 %74, 4294967295 %84 = zext i32 %81 to i64 %85 = call i64 @FUNC(i64 %84, i32 %77, i64 %83, i64 %82) %86 = add i32 %storemerge35.reload, 1 %87 = load i32, i32* %54, align 4 %88 = zext i32 %87 to i64 %89 = sext i32 %86 to i64 %90 = icmp slt i64 %89, %88 %91 = load i32, i32* %29, align 4 %92 = sext i32 %91 to i64 %93 = mul nsw i64 %92, 2064 %94 = add i64 %93, %3 store i64 %94, i64* %.reg2mem store i64 %89, i64* %.reg2mem14 store i32 %86, i32* %storemerge35.reg2mem store i64 %94, i64* %.lcssa.reg2mem br i1 %90, label LBL_6, label LBL_7 LBL_7: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %95 = inttoptr i64 %28 to i8* %96 = inttoptr i64 %.lcssa.reload to i8* call void @FUNC(i8* %96, i8* %95, i64 129) %97 = load i32, i32* %11, align 4 %98 = add i32 %97, 1 store i32 %98, i32* %11, align 4 br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_4 LBL_9: %99 = call i64 @FUNC(i64 %0) %100 = load i64, i64* %19, align 8 %101 = call i64 @FUNC(i64 %100, i64 1) %102 = call i64 @FUNC(i64* nonnull @gv_0) %103 = add i64 %3, 528400 %104 = inttoptr i64 %103 to i32* store i32 1, i32* %104, align 4 %105 = call i64 @FUNC(i64 %3) %106 = call i64 @FUNC(i64 %3) %107 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload15, { 1, 0 } uselistorder i32* %54, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i32* %29, { 2, 1, 0, 3 } uselistorder i64 %28, { 0, 1, 6, 5, 2, 4, 3 } uselistorder i64 %21, { 0, 1, 3, 2, 4 } uselistorder i32* %11, { 1, 0, 2, 3 } uselistorder i64 %indvars.iv9.reload, { 1, 0 } uselistorder i64 %3, { 6, 5, 7, 0, 1, 2, 9, 8, 4, 10, 12, 11, 3, 14, 13 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem14, { 2, 0, 1 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 1032, { 1, 0, 2 } uselistorder i64 256, { 1, 0 } uselistorder i64 2064, { 2, 0, 5, 3, 4, 1 } uselistorder i64 1, { 2, 1, 0, 3, 4 } uselistorder i64 (i64, i64, i64)* @memcpy, { 1, 0 } uselistorder i64 528384, { 3, 0, 1, 2, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
unassigned_mem_readb_5076
unassigned_mem_readb
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %0) %2 = load i64, i64* @gv_1, align 8 %3 = call i64 @FUNC(i64 %2, i64 %arg2, i64 0, i64 0, i64 0, i64 1) ret i64 0 }
0
BinRealVul
expr__ctx_new_12909
expr__ctx_new
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64* @malloc(i32 16) %1 = icmp eq i64* %0, null %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %0 to i64 %4 = call i64 @FUNC(i64 4198749, i64 4198764, i64 0) store i64 %4, i64* %0, align 8 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 store i64 %3, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %0, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cvs_client_merged_4821
cvs_client_merged
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %6 = icmp eq i64 %arg1, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) unreachable LBL_2: %9 = call i64 @FUNC(i64 %arg1) %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = call i64 @FUNC() %13 = call i64 @FUNC() %14 = call i64 @FUNC(i64 4096) %15 = inttoptr i64 %14 to i8* %16 = call i64 @FUNC(i64* nonnull @gv_1, i64 %14, i64 4096) %17 = call i64 @FUNC(i64 %14) %18 = call i32 @strlen(i8* %15) %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, 1 %21 = inttoptr i64 %10 to i8* %22 = call i32 @strlen(i8* %21) %23 = sext i32 %22 to i64 %24 = icmp ugt i64 %20, %23 br i1 %24, label LBL_3, label LBL_4 LBL_3: %25 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 4096, i64 %5, i64 %2, i64 %1) unreachable LBL_4: %26 = call i32 @strlen(i8* %15) %27 = sext i32 %26 to i64 %28 = add nsw i64 %27, 1 %29 = add i64 %28, %10 %30 = inttoptr i64 %29 to i8* %31 = call i8* @dirname(i8* %30) %32 = icmp eq i8* %31, null %33 = icmp eq i1 %32, false br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i32* @__errno_location() %35 = load i32, i32* %34, align 4 %36 = call i8* @strerror(i32 %35) %37 = ptrtoint i8* %36 to i64 %38 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %37, i64 %28, i64 %5, i64 %2, i64 %1) unreachable LBL_6: %39 = call i64 @FUNC(i64 %14) %40 = ptrtoint i64* %sv_4 to i64 %41 = call i64 @FUNC(i64 %13, i64 0, i64 2147483647, i64* nonnull %sv_4) %42 = load i64, i64* %sv_4, align 8 %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %13, i64 %42, i64 %40, i64 %2, i64 %1) unreachable LBL_8: %45 = ptrtoint i64* %sv_5 to i64 %46 = call i64 @FUNC(i64 %13) %47 = bitcast i32* %sv_3 to i64* %48 = call i64 @FUNC(i64 %12, i64* nonnull %47) %49 = call i64 @FUNC(i64 %12) %50 = call i32 @umask(i32 0) %51 = call i32 @umask(i32 %50) %52 = sub i32 0, %50 %53 = sub i32 %52, 1 %54 = load i32, i32* %sv_3, align 4 %55 = and i32 %54, %53 store i32 %55, i32* %sv_3, align 4 %56 = bitcast i64* %sv_2 to i32* %57 = call i32 @time(i32* nonnull %56) %58 = call %tm* @gmtime(i32* nonnull %56) %59 = bitcast i64* %sv_1 to i8* %60 = call i8* @asctime_r(%tm* %58, i8* nonnull %59) %61 = call i32 @strlen(i8* nonnull %59) %62 = sext i32 %61 to i64 %63 = add i64 %45, -193 %64 = add i64 %63, %62 %65 = inttoptr i64 %64 to i8* %66 = load i8, i8* %65, align 1 %67 = icmp eq i8 %66, 10 %68 = icmp eq i1 %67, false br i1 %68, label LBL_10, label LBL_9 LBL_9: %69 = call i32 @strlen(i8* nonnull %59) %70 = sext i32 %69 to i64 %71 = add i64 %63, %70 %72 = inttoptr i64 %71 to i8* store i8 0, i8* %72, align 1 br label LBL_10 LBL_10: %73 = ptrtoint i8* %31 to i64 %74 = call i64 @FUNC(i64 %73) %75 = call i64 @FUNC(i64 %74, i64 %11) %76 = call i64 @FUNC(i64 %74, i64 1) %77 = call i64 @FUNC(i64 %11) %78 = call i32 (i8*, i32, ...) @open(i8* %30, i32 577) %79 = icmp eq i32 %78, -1 %80 = icmp eq i1 %79, false br i1 %80, label LBL_12, label LBL_11 LBL_11: %81 = call i32* @__errno_location() %82 = load i32, i32* %81, align 4 %83 = call i8* @strerror(i32 %82) %84 = ptrtoint i8* %83 to i64 %85 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %29, i64 %84, i64 %40, i64 %2, i64 %1) unreachable LBL_12: %86 = zext i32 %78 to i64 %87 = call i64 @FUNC(i64 %86, i64 %41) %88 = load i64, i64* %sv_2, align 8 store i64 %88, i64* %sv_0, align 8 %89 = ptrtoint i64* %sv_0 to i64 %90 = insertvalue %timeval undef, i64 %89, 0 %91 = insertvalue [2 x %timeval] undef, %timeval %90, 0 %92 = call i32 @futimes(i32 %78, [2 x %timeval] %91) %93 = icmp eq i32 %92, -1 %94 = icmp eq i1 %93, false br i1 %94, label LBL_14, label LBL_13 LBL_13: %95 = call i32* @__errno_location() %96 = load i32, i32* %95, align 4 %97 = call i8* @strerror(i32 %96) %98 = ptrtoint i8* %97 to i64 %99 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 %98, i64 %89, i64 %40, i64 %2, i64 %1) unreachable LBL_14: %100 = load i32, i32* %sv_3, align 4 %101 = call i32 @fchmod(i32 %78, i32 %100) %102 = icmp eq i32 %101, -1 %103 = icmp eq i1 %102, false br i1 %103, label LBL_16, label LBL_15 LBL_15: %104 = zext i32 %100 to i64 %105 = call i32* @__errno_location() %106 = load i32, i32* %105, align 4 %107 = call i8* @strerror(i32 %106) %108 = ptrtoint i8* %107 to i64 %109 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_7, i64 0, i64 0), i64 %108, i64 %104, i64 %40, i64 %2, i64 %1) unreachable LBL_16: %110 = call i32 @close(i32 %78) %111 = call i64 @FUNC(i64 %10) ret i64 %111 uselistorder i32 %100, { 1, 0 } uselistorder i64 %40, { 3, 2, 1, 0 } uselistorder i8* %31, { 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %14, { 0, 1, 3, 4, 2 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64* %sv_4, { 1, 0, 2 } uselistorder i32* %sv_3, { 2, 1, 0, 3 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64)* @xfree, { 4, 3, 2, 1, 0 } uselistorder i8* (i32)* @strerror, { 0, 3, 1, 2 } uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 } uselistorder i32 (i8*)* @strlen, { 4, 3, 2, 1, 0 } uselistorder i64 ()* @cvs_remote_input, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @fatal, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
redisContextConnectUnix_13172
redisContextConnectUnix
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i16, align 2 %sv_2 = alloca i64, align 8 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 store i64 -1, i64* %sv_2, align 8 %4 = call i64 @FUNC(i64 %0, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_17 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_17 LBL_2: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* store i32 2, i32* %12, align 4 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = ptrtoint i8* %arg2 to i64 %17 = icmp eq i64 %15, %16 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i8* @strdup(i8* %arg2) %19 = ptrtoint i8* %18 to i64 store i64 %19, i64* %14, align 8 br label LBL_4 LBL_4: %20 = icmp eq i64* %arg3, null %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 br i1 %20, label LBL_9, label LBL_5 LBL_5: %24 = ptrtoint i64* %arg3 to i64 %25 = icmp eq i64 %23, %24 br i1 %25, label LBL_10, label LBL_6 LBL_6: %26 = icmp eq i64 %23, 0 %27 = icmp eq i1 %26, false store i64 %23, i64* %.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = call i64* @malloc(i32 16) %29 = ptrtoint i64* %28 to i64 store i64 %29, i64* %22, align 8 store i64 %29, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %30 = add i64 %24, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %.reload to i64* store i64 %32, i64* %33, align 8 %34 = add i64 %.reload, 8 %35 = inttoptr i64 %34 to i64* store i64 %32, i64* %35, align 8 br label LBL_10 LBL_9: %36 = inttoptr i64 %23 to i64* call void @free(i64* %36) store i64 0, i64* %22, align 8 br label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_11, label LBL_17 LBL_11: %40 = urem i32 %3, 2 store i16 1, i16* %sv_1, align 2 %41 = bitcast i64* %sv_0 to i8* %42 = call i8* @strncpy(i8* nonnull %41, i8* %arg2, i32 107) %43 = bitcast i64* %rdi to i32* %44 = load i32, i32* %43, align 8 %45 = bitcast i16* %sv_1 to %sockaddr* %46 = call i32 @connect(i32 %44, %sockaddr* nonnull %45, i32 110) %47 = icmp eq i32 %46, -1 %48 = icmp eq i1 %47, false br i1 %48, label LBL_14, label LBL_12 LBL_12: %49 = call i32* @__errno_location() %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 115 %52 = icmp eq i32 %40, 0 %or.cond = icmp eq i1 %52, %51 br i1 %or.cond, label LBL_16, label LBL_13 LBL_13: %53 = load i64, i64* %sv_2, align 8 %54 = call i64 @FUNC(i64 %0, i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %56, label LBL_14, label LBL_17 LBL_14: %57 = icmp eq i32 %40, 0 br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = call i64 @FUNC(i64 %0, i64 1) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %60, label LBL_16, label LBL_17 LBL_16: %61 = load i32, i32* %2, align 4 %62 = or i32 %61, 4 store i32 %62, i32* %2, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %23, { 3, 0, 2, 1 } uselistorder i64* %22, { 1, 0, 2 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i64 (i64, i64)* @redisSetBlocking, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 8, 1 } uselistorder i64* %arg3, { 1, 0 } uselistorder i8* %arg2, { 0, 2, 1 } uselistorder label LBL_17, { 5, 0, 1, 2, 3, 4 } uselistorder label LBL_16, { 1, 2, 0 } }
1
BinRealVul
decode_i_frame_145
decode_i_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = add i32 %5, 12 %7 = icmp ugt i32 %6, %arg4 br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = sext i32 %arg4 to i64 %9 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %10 = ptrtoint i64* %arg3 to i64 %11 = and i64 %3, 4294967295 %12 = add i64 %10, 4 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, 4 %17 = add i32 %16, %6 %18 = icmp eq i32 %17, %arg4 %19 = icmp ult i32 %5, 67108865 %or.cond = icmp eq i1 %19, %18 %20 = icmp ult i32 %16, 67108865 %or.cond4 = icmp eq i1 %20, %or.cond br i1 %or.cond4, label LBL_4, label LBL_3 LBL_3: %21 = zext i32 %arg4 to i64 %22 = zext i32 %16 to i64 %23 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %11, i64 %21) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %24 = add i64 %4, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %10, 12 %28 = add i64 %27, %11 %29 = call i64 @FUNC(i64 %4, i64 %28, i32 %16) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %28, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %33 = mul i64 %3, 8 %34 = and i64 %33, 4294967288 %35 = add i64 %4, 40 %36 = call i64 @FUNC(i64 %35, i64 %12, i64 %34) %37 = zext i32 %arg4 to i64 %38 = add i64 %37, %10 %39 = sub i64 %38, %29 %40 = add i64 %39, 32 %41 = and i64 %40, 4294967295 %42 = add i64 %4, 16 %43 = add i64 %4, 8 %44 = call i64 @FUNC(i64 %43, i64 %42, i64 %41) %45 = inttoptr i64 %43 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %48, label LBL_7, label LBL_16 LBL_7: %49 = add i64 %4, 32 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = and i64 %39, 4294967295 %53 = add i64 %46, %52 %54 = inttoptr i64 %53 to i64* %55 = call i64* @memset(i64* %54, i32 0, i32 32) %56 = mul i64 %39, 8 %57 = load i64, i64* %45, align 8 %58 = add i64 %4, 48 %59 = and i64 %56, 4294967288 %60 = call i64 @FUNC(i64 %58, i64 %57, i64 %59) %61 = add i64 %4, 24 %62 = inttoptr i64 %61 to i32* store i32 0, i32* %62, align 4 %63 = icmp sgt i32 %26, 0 br i1 %63, label LBL_8, label LBL_14 LBL_8: %64 = ptrtoint i64* %arg2 to i64 %65 = trunc i64 %4 to i32 %66 = icmp sgt i32 %65, 0 store i32 0, i32* %storemerge6.reg2mem br label LBL_13 LBL_9: %67 = call i64 @FUNC(i64 %4) %68 = trunc i64 %67 to i32 %69 = icmp slt i32 %68, 0 %70 = icmp eq i1 %69, false br i1 %70, label LBL_11, label LBL_10 LBL_10: %71 = and i64 %67, 4294967295 store i64 %71, i64* %rax.0.reg2mem br label LBL_16 LBL_11: %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %72 = call i64 @FUNC(i64 %4, i64 %64, i32 %storemerge15.reload, i32 %storemerge6.reload) %73 = add i32 %storemerge15.reload, 16 %74 = icmp slt i32 %73, %65 store i32 %73, i32* %storemerge15.reg2mem br i1 %74, label LBL_9, label LBL_12 LBL_12: %75 = add i32 %storemerge6.reload, 16 %76 = icmp slt i32 %75, %26 store i32 %75, i32* %storemerge6.reg2mem br i1 %76, label LBL_13, label LBL_14 LBL_13: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem store i32 0, i32* %storemerge15.reg2mem br i1 %66, label LBL_9, label LBL_12 LBL_14: %77 = add i64 %4, 56 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = call i64 @FUNC(i64 %58, i64 %79, i64 10, i64 3) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 256 store i64 0, i64* %rax.0.reg2mem br i1 %82, label LBL_16, label LBL_15 LBL_15: %83 = call i64 @FUNC(i64 %58, i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 3, i64 %51, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge6.reload, { 1, 0 } uselistorder i32 %storemerge15.reload, { 1, 0 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %16, { 1, 0, 2, 3 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %4, { 4, 5, 6, 3, 7, 8, 9, 11, 10, 12, 1, 13, 14, 2, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge15.reg2mem, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 3, 5, 4, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 0, { 1, 5, 0, 2, 3, 6, 4 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @init_get_bits, { 1, 0 } uselistorder i64 4294967288, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i32 %arg4, { 0, 2, 1, 4, 3 } uselistorder label LBL_16, { 1, 0, 3, 2, 4, 5, 6 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
l2tp_ip6_push_pending_frames_8528
l2tp_ip6_push_pending_frames
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0) %phitmp = and i64 %5, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
av_opt_set_dict_14960
av_opt_set_dict
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %3 = call i64 @FUNC(i64 %2, i64* nonnull @gv_0, i64 0, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %.reload to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %arg1, i64 %10, i64 %8, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, -1 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = load i64, i64* %7, align 8 %16 = load i64, i64* %9, align 8 %17 = call i64 @FUNC(i64* nonnull %sv_1, i64 %16, i64 %15, i64 0) store i64 %16, i64* %rsi.0.reg2mem br label LBL_5 LBL_3: %18 = icmp slt i32 %12, 0 %19 = icmp eq i1 %18, false store i64 %10, i64* %rsi.0.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = load i64, i64* %7, align 8 %21 = load i64, i64* %9, align 8 %22 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %20, i64 %1) %phitmp = and i64 %11, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %23 = call i64 @FUNC(i64 %rsi.0.reload, i64* nonnull @gv_0, i64 %.reload, i64 0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %25, label LBL_1, label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64 %2) %27 = load i64, i64* %sv_1, align 8 store i64 %27, i64* %arg2, align 8 ret i64 %sv_0.0.reload uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder i64 (i64, i64*, i64, i64)* @av_dict_get, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
copyfd_sparse_9497
copyfd_sparse
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %sv_2.09.reg2mem = alloca i32 %sv_3.010.reg2mem = alloca i64 %sv_0.011.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_4 = alloca i64, align 8 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4, i64 4096) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %sv_0.1.reg2mem br i1 %3, label LBL_1, label LBL_20 LBL_1: %4 = ptrtoint i64* %sv_4 to i64 %5 = zext i32 %arg2 to i64 store i64 %1, i64* %.reg2mem store i64 0, i64* %sv_0.011.reg2mem store i64 %arg4, i64* %sv_3.010.reg2mem store i32 %arg3, i32* %sv_2.09.reg2mem br label LBL_9 LBL_2: %storemerge.reload = load i32, i32* %storemerge.reg2mem %6 = icmp eq i32 %storemerge.reload, 0 store i64 %41, i64* %sv_0.1.reg2mem br i1 %6, label LBL_20, label LBL_3 LBL_3: %7 = call i32 @lseek(i32 %arg2, i32 -1, i32 1) %8 = icmp slt i32 %7, 0 br i1 %8, label LBL_8, label LBL_4 LBL_4: %9 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 1) %10 = icmp eq i64 %9, 1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_8, label LBL_5 LBL_5: %12 = icmp slt i32 %spec.select, 0 store i64 %41, i64* %sv_0.1.reg2mem br i1 %12, label LBL_20, label LBL_6 LBL_6: %13 = call i32 @lseek(i32 %spec.select, i32 -1, i32 1) %14 = icmp slt i32 %13, 0 br i1 %14, label LBL_8, label LBL_7 LBL_7: %15 = zext i32 %spec.select to i64 %16 = call i64 @FUNC(i64 %15, i64* nonnull @gv_0, i64 1) %17 = icmp eq i64 %16, 1 store i64 %41, i64* %sv_0.1.reg2mem br i1 %17, label LBL_20, label LBL_8 LBL_8: %18 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) store i64 -1, i64* %sv_0.1.reg2mem br label LBL_20 LBL_9: %sv_2.09.reload = load i32, i32* %sv_2.09.reg2mem %sv_3.010.reload = load i64, i64* %sv_3.010.reg2mem %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem %.reload = load i64, i64* %.reg2mem %19 = icmp slt i64 %.reload, 0 %20 = icmp eq i1 %19, false store i64 %.reload, i64* %sv_1.0.reg2mem br i1 %20, label LBL_16, label LBL_10 LBL_10: %21 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 -1, i64* %sv_0.1.reg2mem br label LBL_20 LBL_11: %22 = add i64 %34, %4 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 0 store i64 %34, i64* %sv_1.0.reg2mem br i1 %25, label LBL_16, label LBL_12 LBL_12: %26 = call i32* @__errno_location() store i32 0, i32* %26, align 4 %27 = call i64 @FUNC(i64 %5, i64* nonnull %sv_4, i64 %.reload) %28 = icmp slt i32 %sv_2.09.reload, 0 store i64 %.reload, i64* %storemerge2.reg2mem br i1 %28, label LBL_14, label LBL_13 LBL_13: %29 = zext i32 %sv_2.09.reload to i64 %30 = call i64 @FUNC(i64 %29, i64* nonnull %sv_4, i64 %.reload) store i64 %30, i64* %storemerge2.reg2mem br label LBL_14 LBL_14: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %31 = icmp slt i64 %27, %.reload %32 = icmp slt i64 %storemerge2.reload, %.reload %or.cond = or i1 %31, %32 store i32 0, i32* %storemerge.reg2mem br i1 %or.cond, label LBL_15, label LBL_19 LBL_15: %33 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) store i64 -1, i64* %sv_0.1.reg2mem br label LBL_20 LBL_16: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %34 = add i64 %sv_1.0.reload, -1 %35 = icmp slt i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_17 LBL_17: %37 = call i64 @FUNC(i64 %5, i64 %.reload, i64 1) %38 = icmp slt i32 %sv_2.09.reload, 0 store i32 1, i32* %storemerge.reg2mem br i1 %38, label LBL_19, label LBL_18 LBL_18: %39 = zext i32 %sv_2.09.reload to i64 %40 = call i64 @FUNC(i64 %39, i64 %.reload, i64 1) store i32 1, i32* %storemerge.reg2mem br label LBL_19 LBL_19: %41 = add i64 %sv_0.011.reload, %.reload %42 = sub i64 %sv_3.010.reload, %.reload %43 = icmp slt i64 %42, 0 %44 = icmp eq i1 %43, false %spec.select = select i1 %44, i32 %sv_2.09.reload, i32 -1 %45 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4, i64 4096) %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false store i64 %45, i64* %.reg2mem store i64 %41, i64* %sv_0.011.reg2mem store i64 %42, i64* %sv_3.010.reg2mem store i32 %spec.select, i32* %sv_2.09.reg2mem br i1 %47, label LBL_9, label LBL_2 LBL_20: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i32 %spec.select, { 0, 2, 3, 1 } uselistorder i64 %41, { 3, 2, 1, 0 } uselistorder i64 %34, { 2, 1, 0 } uselistorder i64 %.reload, { 5, 10, 3, 4, 2, 6, 7, 1, 8, 0, 9 } uselistorder i32 %sv_2.09.reload, { 0, 2, 1, 4, 3 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_4, { 3, 1, 2, 4, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.010.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.09.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 3, 2, 1, 0 } uselistorder i64* %sv_0.1.reg2mem, { 0, 7, 6, 4, 2, 3, 5, 1 } uselistorder i64 (i64, i64, i64)* @xlseek, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @full_write, { 1, 0 } uselistorder i64 -1, { 3, 2, 1, 0 } uselistorder i64 (i8*)* @perror_msg, { 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @safe_write, { 1, 0 } uselistorder i32 (i32, i32, i32)* @lseek, { 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @safe_read, { 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder label LBL_20, { 4, 5, 6, 3, 2, 1, 0 } uselistorder label LBL_19, { 2, 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
hexagon_v6_op_13311
hexagon_v6_op
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg4 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %arg3, 4294967295 %3 = and i64 %1, 4294967295 %4 = bitcast i32* %sv_0 to i64* %5 = call i64 @FUNC(i64 %3, i64* nonnull %4, i64 %2) %6 = trunc i64 %5 to i32 store i32 %6, i32* %sv_0, align 4 %7 = bitcast i64* %arg2 to i32* store i32 %6, i32* %7, align 4 %8 = icmp eq i32 %6, 0 %9 = icmp slt i32 %6, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %5, 4294967295 store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %14 = ptrtoint i64* %arg2 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* store i64 %arg3, i64* %16, align 8 %17 = call i64 @FUNC(i64* nonnull %4, i64 %14) store i64 %17, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
1
BinRealVul
process_numeric_entity_6516
process_numeric_entity
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 = trunc i64 %0 to i8 %2 = icmp ne i8 %1, 120 %3 = icmp eq i8 %1, 88 %phitmp3 = icmp eq i1 %3, false %storemerge2 = icmp eq i1 %2, %phitmp3 %4 = icmp eq i8 %1, 0 %or.cond = or i1 %4, %storemerge2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 1 store i64 %5, i64* %arg1, align 8 br label LBL_2 LBL_2: %6 = call i16** @__ctype_b_loc() %7 = load i16*, i16** %6, align 8 %8 = ptrtoint i16* %7 to i64 %sext = mul i64 %0, 72057594037927936 %9 = ashr exact i64 %sext, 55 %10 = add i64 %9, %8 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 br i1 %storemerge2, label LBL_4, label LBL_3 LBL_3: %13 = and i16 %12, 4096 %14 = icmp eq i16 %13, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %14, label LBL_8, label LBL_5 LBL_4: %15 = and i16 %12, 2048 %16 = icmp eq i16 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_8 LBL_5: %. = select i1 %storemerge2, i32 10, i32 16 %18 = bitcast i64* %arg1 to i8* %19 = bitcast i64* %sv_0 to i8** %20 = call i32 @strtol(i8* %18, i8** nonnull %19, i32 %.) %21 = load i64, i64* %sv_0, align 8 store i64 %21, i64* %arg1, align 8 %22 = icmp eq i8 %1, 59 %23 = icmp slt i32 %20, 1114112 %or.cond5 = icmp eq i1 %22, %23 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_6, label LBL_8 LBL_6: %24 = icmp eq i64* %arg2, null store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = bitcast i64* %arg2 to i32* store i32 %20, i32* %25, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %20, { 1, 0 } uselistorder i16 %12, { 1, 0 } uselistorder i1 %storemerge2, { 1, 0, 2 } uselistorder i8 %1, { 0, 3, 2, 1 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0, 2, 3 } uselistorder label LBL_8, { 1, 0, 2, 4, 3 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
neon_load_reg_1199
neon_load_reg
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %arg2, 4294967295 %2 = and i64 %arg1, 4294967295 %3 = call i64 @FUNC(i64 %2, i64 %1) %4 = and i64 %3, 4294967295 %5 = load i64, i64* @gv_0, align 8 %6 = and i64 %0, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5, i64 %4) ret i64 %6 }
0
BinRealVul
new_creator_11657
new_creator
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 144) %1 = call i64* @memcpy(i64* %0, i64* bitcast ([18 x i8*]* @gv_0 to i64*), i32 144) %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = bitcast i64* %arg1 to i32* store i32 9, i32* %3, align 4 br label LBL_2 LBL_2: %4 = ptrtoint i64* %0 to i64 ret i64 %4 uselistorder i64* %0, { 1, 0 } }
1
BinRealVul
nvmet_fc_find_target_queue_13754
nvmet_fc_find_target_queue
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 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg2) %3 = call i64 @FUNC(i64 %arg2) %4 = trunc i64 %3 to i16 %5 = icmp ult i16 %4, 129 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_10 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 16 %8 = call i64 @FUNC(i64 %7, i64 %1) store i64 %7, i64* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %9 = inttoptr i64 %storemerge3.reload to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %2, %10 %12 = icmp eq i1 %11, false br i1 %12, label LBL_8, label LBL_3 LBL_3: %13 = mul i64 %3, 8 %14 = and i64 %13, 524280 %15 = add nuw nsw i64 %14, 8 %16 = add i64 %15, %storemerge3.reload %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %19, label LBL_7, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %18) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %18) %24 = trunc i64 %23 to i8 %25 = icmp eq i8 %24, 1 store i64 %18, i64* %sv_0.0.reg2mem br i1 %25, label LBL_7, label LBL_6 LBL_6: store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64 %7, i64 %1) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %27 = add i64 %storemerge3.reload, 1032 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, %6 %31 = icmp eq i1 %30, false store i64 %29, i64* %storemerge3.reg2mem br i1 %31, label LBL_2, label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %7, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge3.reload, { 0, 2, 1 } uselistorder i64 %7, { 1, 2, 0, 3 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vmxnet3_get_txq_descr_10152
vmxnet3_get_txq_descr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = add i64 %0, 8 %4 = call i64 @FUNC(i64 %1, i64 %3) %5 = call i64 @FUNC(i64 %1) %6 = trunc i64 %5 to i8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %9 = call i64 @FUNC(i64 %1) %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %0, 32 %13 = call i64 @FUNC(i64 %1, i64 %12) ret i64 0 uselistorder i64 (i64, i64)* @vmxnet3_get_ring_from_file, { 1, 0 } }
0
BinRealVul
mxf_read_track_10284
mxf_read_track
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 19201 br i1 %3, label LBL_10, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, 19201 br i1 %4, label LBL_12, label LBL_2 LBL_2: %5 = icmp eq i32 %2, 18436 br i1 %5, label LBL_8, label LBL_3 LBL_3: %6 = icmp sgt i32 %2, 18436 br i1 %6, label LBL_12, label LBL_4 LBL_4: %7 = icmp eq i32 %2, 18435 br i1 %7, label LBL_11, label LBL_5 LBL_5: %8 = icmp sgt i32 %2, 18435 br i1 %8, label LBL_12, label LBL_6 LBL_6: switch i32 %2, label LBL_12 [ i32 18433, label LBL_7 i32 18434, label LBL_9 ] LBL_7: %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = bitcast i64* %arg1 to i32* store i32 %10, i32* %11, align 4 br label LBL_12 LBL_8: %12 = add i64 %1, 4 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 4) br label LBL_12 LBL_9: %14 = and i64 %arg4, 4294967295 %15 = add i64 %1, 8 %16 = call i64 @FUNC(i64 %0, i64 %14, i64 %15) br label LBL_12 LBL_10: %17 = call i64 @FUNC(i64 %0) %18 = trunc i64 %17 to i32 %19 = add i64 %1, 16 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = call i64 @FUNC(i64 %0) %22 = trunc i64 %21 to i32 %23 = add i64 %1, 20 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 br label LBL_12 LBL_11: %25 = add i64 %1, 24 %26 = call i64 @FUNC(i64 %0, i64 %25, i64 16) br label LBL_12 LBL_12: ret i64 0 uselistorder i32 %2, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64 %1, { 3, 0, 1, 2, 4 } uselistorder i64 %0, { 2, 4, 5, 0, 3, 1 } uselistorder i64 (i64, i64, i64)* @avio_read, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 2, 1, 0 } uselistorder i32 18435, { 1, 0 } uselistorder i32 18436, { 1, 0 } uselistorder i32 19201, { 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 4, 5, 0, 6, 7, 8 } }
0
BinRealVul
breakpoint_invalidate_858
breakpoint_invalidate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = and i64 %arg2, -4096 %3 = or i64 %1, %2 %4 = call i64 @FUNC(i64 %3) ret i64 %4 }
0
BinRealVul
thread_pool_cancel_2863
thread_pool_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.pre-phi.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %0) %5 = call i64 @FUNC(i64 %3) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = add i64 %3, 112 %12 = call i64 @FUNC(i64 %11, i64 0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: store i32 2, i32* %7, align 4 %16 = add i64 %3, 96 %17 = call i64 @FUNC(i64 %16) store i64 %16, i64* %.pre-phi.reg2mem br label LBL_8 LBL_3: %18 = add i64 %3, 88 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, 1 store i32 %21, i32* %19, align 4 %22 = load i32, i32* %7, align 4 %23 = icmp ne i32 %22, 2 %24 = icmp eq i32 %22, 3 %25 = icmp eq i1 %24, false %or.cond2 = icmp eq i1 %23, %25 store i32 %21, i32* %.reg2mem br i1 %or.cond2, label LBL_4, label LBL_7 LBL_4: %26 = add i64 %3, 40 br label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %26, i64 %3) %28 = load i32, i32* %7, align 4 %29 = icmp ne i32 %28, 2 %30 = icmp eq i32 %28, 3 %31 = icmp eq i1 %30, false %or.cond = icmp eq i1 %29, %31 br i1 %or.cond, label LBL_5, label LBL_6 LBL_6: %.pre = load i32, i32* %19, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %32 = add i32 %.reload, -1 store i32 %32, i32* %19, align 4 %.pre3 = add i64 %3, 96 store i64 %.pre3, i64* %.pre-phi.reg2mem br label LBL_8 LBL_8: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %33 = call i64 @FUNC(i64 %3) %34 = call i64 @FUNC(i64 %.pre-phi.reload) ret i64 %34 uselistorder i32* %19, { 1, 0, 2, 3 } uselistorder i32* %7, { 2, 0, 1, 3 } uselistorder i64 %3, { 5, 0, 3, 4, 6, 1, 2, 7 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
decode_subframe_fixed_14856
decode_subframe_fixed
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.453.reg2mem = alloca i32 %sv_1.354.reg2mem = alloca i32 %sv_2.255.reg2mem = alloca i32 %sv_3.156.reg2mem = alloca i32 %storemerge.in57.reg2mem = alloca i64 %sv_0.349.reg2mem = alloca i32 %sv_1.250.reg2mem = alloca i32 %sv_2.151.reg2mem = alloca i32 %storemerge20.in52.reg2mem = alloca i64 %sv_0.246.reg2mem = alloca i32 %sv_1.147.reg2mem = alloca i32 %storemerge25.in48.reg2mem = alloca i64 %sv_0.144.reg2mem = alloca i32 %storemerge30.in45.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i32 %sv_1.03637.reg2mem = alloca i32 %sv_0.0343538.reg2mem = alloca i32 %sv_2.039.reg2mem = alloca i32 %storemerge3358.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %sext3 = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext3, 32 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = ashr exact i64 %sext, 29 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = trunc i64 %5 to i32 %14 = icmp sgt i32 %13, 0 br i1 %14, label LBL_1, label LBL_3 LBL_1: %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* %17 = add i64 %4, 16 store i64 0, i64* %storemerge3358.reg2mem br label LBL_2 LBL_2: %storemerge3358.reload = load i64, i64* %storemerge3358.reg2mem %18 = load i32, i32* %16, align 4 %19 = mul i64 %storemerge3358.reload, 4 %20 = add i64 %19, %12 %21 = zext i32 %18 to i64 %22 = call i64 @FUNC(i64 %17, i64 %21) %23 = trunc i64 %22 to i32 %24 = inttoptr i64 %20 to i32* store i32 %23, i32* %24, align 4 %25 = mul i64 %storemerge3358.reload, 4294967296 %sext32 = add i64 %25, 4294967296 %26 = ashr exact i64 %sext32, 32 %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, %13 store i64 %26, i64* %storemerge3358.reg2mem br i1 %28, label LBL_2, label LBL_3 LBL_3: %29 = and i64 %arg2, 4294967295 %30 = and i64 %5, 4294967295 %31 = call i64 @FUNC(i64 %4, i64 %29, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_4, label LBL_19 LBL_4: %35 = trunc i64 %3 to i32 %36 = icmp slt i32 %13, 1 br i1 %36, label LBL_12, label LBL_5 LBL_5: %37 = ashr exact i64 %sext3, 30 %38 = add i64 %12, %37 %39 = add i64 %38, -4 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %13, 1 br i1 %42, label LBL_6, label LBL_7 LBL_6: store i64 %30, i64* @0, align 8 %43 = trunc i64 %arg3 to i32 %44 = icmp sgt i32 %35, %43 store i64 %sext3, i64* %storemerge30.in45.reg2mem store i32 %41, i32* %sv_0.144.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_14, label LBL_19 LBL_7: %45 = add i64 %38, -8 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = sub i32 %41, %47 %49 = icmp slt i32 %13, 3 br i1 %49, label LBL_660, label LBL_9 LBL_8: store i64 %30, i64* @0, align 8 %50 = trunc i64 %arg3 to i32 %51 = icmp sgt i32 %35, %50 store i64 %sext3, i64* %storemerge25.in48.reg2mem store i32 %48, i32* %sv_1.147.reg2mem store i32 %41, i32* %sv_0.246.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_15, label LBL_19 LBL_9: %52 = sub i32 %48, %47 %53 = add i64 %38, -12 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i32 %55, %52 %57 = icmp eq i32 %13, 3 br i1 %57, label LBL_663, label LBL_11 LBL_10: store i64 %30, i64* @0, align 8 %58 = trunc i64 %arg3 to i32 %59 = icmp sgt i32 %35, %58 store i64 %sext3, i64* %storemerge20.in52.reg2mem store i32 %56, i32* %sv_2.151.reg2mem store i32 %48, i32* %sv_1.250.reg2mem store i32 %41, i32* %sv_0.349.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_16, label LBL_19 LBL_11: %60 = sub i32 %56, %47 %61 = mul i32 %55, 2 %62 = add i32 %60, %61 %63 = add i64 %38, -16 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = sub i32 %62, %65 store i32 %56, i32* %sv_2.039.reg2mem store i32 %41, i32* %sv_0.0343538.reg2mem store i32 %48, i32* %sv_1.03637.reg2mem store i32 %66, i32* %sv_3.0.reg2mem br label LBL_12 LBL_12: store i64 %30, i64* @0, align 8 store i64 0, i64* %rax.0.reg2mem switch i32 %13, label LBL_18 [ i32 0, label LBL_19 i32 4, label LBL_13 ] LBL_13: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_1.03637.reload = load i32, i32* %sv_1.03637.reg2mem %sv_0.0343538.reload = load i32, i32* %sv_0.0343538.reg2mem %sv_2.039.reload = load i32, i32* %sv_2.039.reg2mem %67 = trunc i64 %arg3 to i32 %68 = icmp sgt i32 %35, %67 store i64 %sext3, i64* %storemerge.in57.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.156.reg2mem store i32 %sv_2.039.reload, i32* %sv_2.255.reg2mem store i32 %sv_1.03637.reload, i32* %sv_1.354.reg2mem store i32 %sv_0.0343538.reload, i32* %sv_0.453.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %68, label LBL_17, label LBL_19 LBL_14: %sv_0.144.reload = load i32, i32* %sv_0.144.reg2mem %storemerge30.in45.reload = load i64, i64* %storemerge30.in45.reg2mem %69 = ashr exact i64 %storemerge30.in45.reload, 30 %70 = add i64 %69, %12 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i32 %72, %sv_0.144.reload store i32 %73, i32* %71, align 4 %sext29 = add i64 %storemerge30.in45.reload, 4294967296 %74 = udiv i64 %sext29, 4294967296 %75 = trunc i64 %74 to i32 %76 = icmp sgt i32 %35, %75 store i64 %sext29, i64* %storemerge30.in45.reg2mem store i32 %73, i32* %sv_0.144.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %76, label LBL_14, label LBL_19 LBL_15: %sv_0.246.reload = load i32, i32* %sv_0.246.reg2mem %sv_1.147.reload = load i32, i32* %sv_1.147.reg2mem %storemerge25.in48.reload = load i64, i64* %storemerge25.in48.reg2mem %77 = ashr exact i64 %storemerge25.in48.reload, 30 %78 = add i64 %77, %12 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = add i32 %80, %sv_1.147.reload %82 = add i32 %81, %sv_0.246.reload store i32 %82, i32* %79, align 4 %sext24 = add i64 %storemerge25.in48.reload, 4294967296 %83 = udiv i64 %sext24, 4294967296 %84 = trunc i64 %83 to i32 %85 = icmp sgt i32 %35, %84 store i64 %sext24, i64* %storemerge25.in48.reg2mem store i32 %81, i32* %sv_1.147.reg2mem store i32 %82, i32* %sv_0.246.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %85, label LBL_15, label LBL_19 LBL_16: %sv_0.349.reload = load i32, i32* %sv_0.349.reg2mem %sv_1.250.reload = load i32, i32* %sv_1.250.reg2mem %sv_2.151.reload = load i32, i32* %sv_2.151.reg2mem %storemerge20.in52.reload = load i64, i64* %storemerge20.in52.reg2mem %86 = ashr exact i64 %storemerge20.in52.reload, 30 %87 = add i64 %86, %12 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = add i32 %89, %sv_2.151.reload %91 = add i32 %90, %sv_1.250.reload %92 = add i32 %91, %sv_0.349.reload store i32 %92, i32* %88, align 4 %sext19 = add i64 %storemerge20.in52.reload, 4294967296 %93 = udiv i64 %sext19, 4294967296 %94 = trunc i64 %93 to i32 %95 = icmp sgt i32 %35, %94 store i64 %sext19, i64* %storemerge20.in52.reg2mem store i32 %90, i32* %sv_2.151.reg2mem store i32 %91, i32* %sv_1.250.reg2mem store i32 %92, i32* %sv_0.349.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %95, label LBL_16, label LBL_19 LBL_17: %sv_0.453.reload = load i32, i32* %sv_0.453.reg2mem %sv_1.354.reload = load i32, i32* %sv_1.354.reg2mem %sv_2.255.reload = load i32, i32* %sv_2.255.reg2mem %sv_3.156.reload = load i32, i32* %sv_3.156.reg2mem %storemerge.in57.reload = load i64, i64* %storemerge.in57.reg2mem %96 = ashr exact i64 %storemerge.in57.reload, 30 %97 = add i64 %96, %12 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = add i32 %99, %sv_3.156.reload %101 = add i32 %100, %sv_2.255.reload %102 = add i32 %101, %sv_1.354.reload %103 = add i32 %102, %sv_0.453.reload store i32 %103, i32* %98, align 4 %sext15 = add i64 %storemerge.in57.reload, 4294967296 %104 = udiv i64 %sext15, 4294967296 %105 = trunc i64 %104 to i32 %106 = icmp sgt i32 %35, %105 store i64 %sext15, i64* %storemerge.in57.reg2mem store i32 %100, i32* %sv_3.156.reg2mem store i32 %101, i32* %sv_2.255.reg2mem store i32 %102, i32* %sv_1.354.reg2mem store i32 %103, i32* %sv_0.453.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %106, label LBL_17, label LBL_19 LBL_18: %107 = add i64 %4, 24 %108 = inttoptr i64 %107 to i64* %109 = load i64, i64* %108, align 8 %110 = call i64 @FUNC(i64 %109, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %56, { 1, 2, 0 } uselistorder i32 %48, { 2, 0, 3, 1 } uselistorder i32 %47, { 1, 0, 2 } uselistorder i32 %41, { 3, 0, 1, 4, 2 } uselistorder i64 %38, { 1, 0, 2, 3 } uselistorder i32 %35, { 0, 1, 2, 3, 7, 6, 5, 4 } uselistorder i64 %30, { 3, 4, 0, 1, 2, 5 } uselistorder i64 %storemerge3358.reload, { 1, 0 } uselistorder i32 %13, { 0, 1, 3, 2, 4, 6, 5 } uselistorder i64 %12, { 0, 3, 2, 1, 4, 5 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %sext3, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %4, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge3358.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge30.in45.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.144.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge25.in48.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.147.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.246.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge20.in52.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.151.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.250.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.349.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in57.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.156.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.255.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.354.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.453.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 4, 1, 2, 3, 5, 9, 6, 7, 8, 10 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64* @0, { 3, 0, 1, 2 } uselistorder i64 30, { 3, 2, 1, 0, 4 } uselistorder i64 4294967295, { 1, 0, 3, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 4294967296, { 3, 11, 4, 10, 5, 9, 6, 8, 7, 0, 1, 2 } uselistorder i64 %arg3, { 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_19, { 10, 3, 0, 1, 2, 4, 8, 5, 6, 7, 9 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gf_isom_check_position_6432
gf_isom_check_position
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg2, null %5 = icmp eq i32* %arg3, null %or.cond4 = or i1 %4, %5 store i64 %3, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_7, label LBL_2 LBL_2: %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_7, label LBL_3 LBL_3: %13 = ptrtoint i64* %arg2 to i64 %14 = call i64 @FUNC(i64 %3, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_7, label LBL_4 LBL_4: %17 = trunc i64 %1 to i32 %18 = icmp eq i32 %17, %15 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %3, i64 %13) %20 = call i64 @FUNC(i64 %3, i64 %13, i32 %17) br label LBL_6 LBL_6: %21 = add i32 %17, 1 %22 = ptrtoint i32* %arg3 to i64 store i32 %21, i32* %arg3, align 4 store i64 %22, 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 %13, { 1, 0, 2 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %3, { 2, 1, 3, 4, 0 } uselistorder i32* %arg3, { 1, 0, 2 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 4, 0, 1, 3, 2 } }
0
BinRealVul
__fanout_set_data_bpf_9441
__fanout_set_data_bpf
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %1, i64 %4) %6 = call i64 @FUNC(i64 %1, i64 %arg2) %7 = call i64 @FUNC(i64 %1) %8 = icmp eq i64 %5, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC() %10 = call i64 @FUNC(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 %1, { 0, 3, 2, 1, 4 } }
0
BinRealVul
find_body_sid_by_offset_10729
find_body_sid_by_offset
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, 1 %4 = icmp sgt i32 %3, 1 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 store i32 %2, i32* %sv_1.02.reg2mem store i32 -1, i32* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %9 = add i32 %sv_0.01.reload, %sv_1.02.reload %10 = ashr i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 16 %13 = add i64 %12, %8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp sgt i64 %15, %arg2 %sv_0.0. = select i1 %16, i32 %sv_0.01.reload, i32 %10 %.stack_var_-16.0 = select i1 %16, i32 %10, i32 %sv_1.02.reload %17 = sub i32 %.stack_var_-16.0, %sv_0.0. %18 = icmp sgt i32 %17, 1 store i32 %.stack_var_-16.0, i32* %sv_1.02.reg2mem store i32 %sv_0.0., i32* %sv_0.01.reg2mem br i1 %18, label LBL_2, label LBL_3 LBL_3: %19 = icmp eq i32 %sv_0.0., -1 %20 = icmp eq i1 %19, false store i64 0, i64* %storemerge.reg2mem br i1 %20, label LBL_4, label LBL_5 LBL_4: %21 = sext i32 %sv_0.0. to i64 %22 = mul i64 %21, 16 %23 = or i64 %22, 8 %24 = add i64 %8, %23 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 store i64 %27, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0., { 2, 1, 0, 3 } uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
php_snmp_write_max_oids_6498
php_snmp_write_max_oids
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg1 to i32* store i32 0, i32* %4, align 4 br label LBL_9 LBL_2: %5 = icmp eq i32 %1, 1 store i64 %0, i64* %sv_0.0.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: store i64 %0, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_1) %7 = call i64 @FUNC(i64* nonnull %sv_1) %8 = ptrtoint i64* %sv_1 to i64 store i64 %8, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %9 = add i64 %sv_0.0.reload, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp slt i64 %11, 1 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = trunc i64 %11 to i32 %14 = bitcast i64* %arg1 to i32* store i32 %13, i32* %14, align 4 br label LBL_7 LBL_6: %15 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %11) br label LBL_7 LBL_7: %16 = ptrtoint i64* %sv_1 to i64 %17 = icmp eq i64 %sv_0.0.reload, %16 %18 = icmp eq i1 %17, false br i1 %18, label LBL_9, label LBL_8 LBL_8: %19 = call i64 @FUNC(i64 %sv_0.0.reload) br label LBL_9 LBL_9: ret i64 0 uselistorder i64 %sv_0.0.reload, { 1, 2, 0 } uselistorder i32 %1, { 1, 0 } uselistorder i64* %sv_1, { 2, 3, 0, 1, 4 } uselistorder i64 %0, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0, 2 } }
0
BinRealVul
_sdsMakeRoomFor_5618
_sdsMakeRoomFor
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, -1 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp ult i64 %0, %arg2 store i64 %arg1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_15 LBL_1: %5 = call i64 @FUNC(i64 %arg1) %6 = add i64 %5, %arg2 %7 = icmp ult i64 %6, %5 br i1 %7, label LBL_2, label LBL_3 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %8 = trunc i64 %arg3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false store i64 %6, i64* %sv_1.0.reg2mem br i1 %10, label LBL_7, label LBL_4 LBL_4: %11 = icmp ult i64 %6, 1048576 br i1 %11, label LBL_5, label LBL_6 LBL_5: %12 = mul i64 %6, 2 store i64 %12, i64* %sv_1.0.reg2mem br label LBL_7 LBL_6: %13 = add i64 %6, 1048576 store i64 %13, i64* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %14 = call i64 @FUNC(i64 %sv_1.0.reload) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 0 %17 = icmp eq i1 %16, false %spec.select = select i1 %17, i8 %15, i8 1 %18 = icmp eq i8 %spec.select, 0 %19 = icmp eq i1 %18, false %storemerge5 = select i1 %19, i64 8, i64 5 %20 = add i64 %sv_1.0.reload, 1 %21 = add i64 %20, %storemerge5 %22 = icmp ult i64 %6, %21 br i1 %22, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_9 LBL_9: %23 = urem i8 %3, 16 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false %. = select i1 %25, i64 -8, i64 -5 %26 = add i64 %., %arg1 %27 = icmp eq i8 %23, %spec.select %28 = icmp eq i1 %27, false br i1 %28, label LBL_12, label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 %26, i64 %21, i64* nonnull %sv_2) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_11, label LBL_15 LBL_11: %32 = add i64 %29, %storemerge5 store i64 %32, i64* %sv_0.0.reg2mem br label LBL_14 LBL_12: %33 = call i64 @FUNC(i64 %21, i64* nonnull %sv_2) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_13, label LBL_15 LBL_13: %36 = add i64 %33, %storemerge5 %37 = inttoptr i64 %36 to i64* %38 = inttoptr i64 %arg1 to i64* %39 = trunc i64 %5 to i32 %40 = add i32 %39, 1 %41 = call i64* @memcpy(i64* %37, i64* %38, i32 %40) %42 = call i64 @FUNC(i64 %26) %43 = add i64 %36, -1 %44 = inttoptr i64 %43 to i8* store i8 %spec.select, i8* %44, align 1 %45 = call i64 @FUNC(i64 %36, i64 %5) store i64 %36, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = load i64, i64* %sv_2, align 8 %47 = sub i64 0, %storemerge5 %48 = sub i64 %47, 1 %49 = add i64 %46, %48 %.7 = select i1 %19, i64 256, i64 32 %50 = icmp ult i64 %.7, %49 %51 = icmp eq i1 %50, false %spec.select9 = select i1 %51, i64 %49, i64 %.7 store i64 %spec.select9, i64* %sv_2, align 8 %52 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %spec.select9) store i64 %sv_0.0.reload, 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 %spec.select9, { 1, 0 } uselistorder i64 %36, { 0, 2, 1, 3 } uselistorder i64 %26, { 1, 0 } uselistorder i8 %23, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %6, { 4, 3, 1, 2, 0, 5 } uselistorder i64 %5, { 1, 2, 3, 0 } uselistorder i64* %sv_2, { 0, 3, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 1048576, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 1, { 4, 5, 6, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 3, 0, 4, 5 } uselistorder label LBL_15, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
collect_syscall_5584
collect_syscall
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64* @memset(i64* %arg2, i32 0, i32 72) store i64 -1, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0) store i64 4294967285, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %10 = ptrtoint i64* %arg2 to i64 %11 = call i64 @FUNC(i64 %6) %12 = add i64 %10, 64 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64 @FUNC(i64 %6) %15 = add i64 %10, 56 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = call i64 @FUNC(i64 %0, i64 %6) store i64 %17, i64* %arg2, align 8 %18 = icmp eq i64 %6, -1 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %0, i64 %6, i64* nonnull %sv_0) br label LBL_6 LBL_6: %20 = load i64, i64* %sv_0, align 8 %21 = add i64 %10, 8 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = add i64 %10, 16 %24 = inttoptr i64 %23 to i64* store i64 0, i64* %24, align 8 %25 = add i64 %10, 24 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %10, 32 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %10, 40 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %10, 48 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 %33 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @put_task_stack, { 1, 0 } uselistorder i64* %arg2, { 0, 3, 1, 2 } }
0
BinRealVul
qdev_get_prop_mask64_16974
qdev_get_prop_mask64
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, @gv_0 br i1 %0, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = urem i32 %4, 32 %6 = shl i32 1, %5 %storemerge = sext i32 %6 to i64 ret i64 %storemerge uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
smp_br_process_link_key_9600
smp_br_process_link_key
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 %3 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) store i32 0, i32* %sv_0, align 4 %8 = call i64 @FUNC(i64 %2, i64 1, i32* nonnull %sv_0) store i64 %8, i64* %storemerge.reg2mem br label LBL_6 LBL_2: %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = inttoptr i64 %10 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %14) %16 = load i32, i32* %12, align 4 %17 = or i32 %16, 1 store i32 %17, i32* %12, align 4 br label LBL_5 LBL_4: %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) br label LBL_5 LBL_5: %19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) %20 = call i64 @FUNC(i64 %2) %21 = call i64 @FUNC(i64 %2, i64 1, i64 0) %22 = call i64 @FUNC(i64 %2, i64 0) store i64 %22, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %12, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 (i8*, ...)* @printf, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), { 1, 0, 2, 3, 4 } }
0
BinRealVul
Jsi_ListClear_9615
Jsi_ListClear
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false %3 = add i64 %0, 8 br i1 %2, label LBL_1, label LBL_3 LBL_1: %4 = inttoptr i64 %3 to i64* br label LBL_2 LBL_2: store i64 0, i64* %4, align 8 store i64 0, i64* %arg1, align 8 %5 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_3: %6 = inttoptr i64 %3 to i32* store i32 0, i32* %6, align 4 ret i64 %0 uselistorder i64 %0, { 2, 1, 0 } }
0
BinRealVul
machine_halt_4012
machine_halt
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() br label LBL_1 LBL_1: br label LBL_1 uselistorder i64 ()* @local_irq_disable, { 1, 0 } }
0
BinRealVul
get_sort_5199
get_sort
define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem42 = alloca i32 %.reg2mem40 = alloca i64 %.reg2mem38 = alloca i64 %sv_0.179.reg2mem = alloca i32 %sv_0.1.ph.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i8* %sv_0.015.reg2mem = alloca i32 %sv_1.1.in16.reg2mem = alloca i64 %sv_1.117.reg2mem = alloca i8* %.reg2mem = alloca i8 %rax.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_4.019.reg2mem = alloca i64 %sv_3.120.reg2mem = alloca i64 %sv_2.121.reg2mem = alloca i32 %.in.in.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = trunc i64 %arg1 to i32 %22 = icmp ult i32 %21, 5 br i1 %22, label LBL_3, label LBL_5 LBL_3: %23 = icmp eq i32 %21, 0 %24 = icmp eq i1 %23, false store i64 0, i64* %storemerge.reg2mem br i1 %24, label LBL_4, label LBL_19 LBL_4: %sext = mul i64 %arg1, 4294967296 %25 = ptrtoint i64* %sv_5 to i64 %26 = ptrtoint i64* %sv_6 to i64 store i64 %sext, i64* %.in.in.reg2mem store i32 8, i32* %sv_2.121.reg2mem store i64 %26, i64* %sv_3.120.reg2mem store i64 0, i64* %sv_4.019.reg2mem br label LBL_6 LBL_5: %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %27, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_6: %sv_4.019.reload = load i64, i64* %sv_4.019.reg2mem %sv_3.120.reload = load i64, i64* %sv_3.120.reg2mem %sv_2.121.reload = load i32, i32* %sv_2.121.reg2mem %.in.in.reload = load i64, i64* %.in.in.reg2mem %29 = icmp ult i32 %sv_2.121.reload, 48 br i1 %29, label LBL_7, label LBL_8 LBL_7: %30 = zext i32 %sv_2.121.reload to i64 %31 = add i64 %30, %25 %32 = add i32 %sv_2.121.reload, 8 store i64 %sv_3.120.reload, i64* %sv_3.0.reg2mem store i32 %32, i32* %sv_2.0.reg2mem store i64 %31, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %33 = add i64 %sv_3.120.reload, 8 store i64 %33, i64* %sv_3.0.reg2mem store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem store i64 %sv_3.120.reload, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %34 = inttoptr i64 %rax.0.reload to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 store i32 0, i32* %sv_0.1.ph.reg2mem br i1 %36, label %.thread, label LBL_10 LBL_10: %sv_1.114 = inttoptr i64 %35 to i8* %37 = load i8, i8* %sv_1.114, align 1 %38 = icmp eq i8 %37, 0 %39 = icmp eq i1 %38, false store i8 %37, i8* %.reg2mem store i8* %sv_1.114, i8** %sv_1.117.reg2mem store i64 %35, i64* %sv_1.1.in16.reg2mem store i32 0, i32* %sv_0.015.reg2mem store i32 0, i32* %sv_0.1.ph.reg2mem br i1 %39, label LBL_11, label %.thread LBL_11: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %sv_1.1.in16.reload = load i64, i64* %sv_1.1.in16.reg2mem %sv_1.117.reload = load i8*, i8** %sv_1.117.reg2mem %.reload = load i8, i8* %.reg2mem %40 = icmp eq i8 %.reload, 42 %41 = icmp eq i1 %40, false br i1 %41, label LBL_13, label LBL_12 LBL_12: %42 = add i64 %sv_1.1.in16.reload, 1 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = icmp eq i8 %44, 0 store i8* %43, i8** %sv_1.0.reg2mem br i1 %45, label LBL_13, label LBL_16 LBL_13: %46 = icmp ne i8 %.reload, 63 %47 = icmp eq i8 %.reload, 33 %48 = icmp eq i1 %47, false %or.cond = icmp eq i1 %46, %48 store i8* %sv_1.117.reload, i8** %sv_1.0.reg2mem br i1 %or.cond, label LBL_16, label LBL_14 LBL_14: %49 = sub i64 %sv_1.1.in16.reload, %35 %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i8 %.reload, 63 %53 = icmp eq i1 %52, %51 br i1 %53, label LBL_15, label LBL_17 LBL_15: %54 = add i64 %sv_1.1.in16.reload, 1 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 %57 = icmp eq i8 %56, 0 %58 = mul i64 %sv_4.019.reload, 256 %. = select i1 %57, i32 1, i32 2 store i64 %58, i64* %.reg2mem40 store i32 %., i32* %.reg2mem42 br label LBL_18 LBL_16: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %59 = ptrtoint i8* %sv_1.0.reload to i64 %60 = add i64 %59, 1 %sv_1.1 = inttoptr i64 %60 to i8* %61 = load i8, i8* %sv_1.1, align 1 %62 = icmp eq i8 %61, 0 %63 = icmp eq i1 %62, false store i8 %61, i8* %.reg2mem store i8* %sv_1.1, i8** %sv_1.117.reg2mem store i64 %60, i64* %sv_1.1.in16.reg2mem store i32 128, i32* %sv_0.015.reg2mem store i32 128, i32* %sv_0.1.ph.reg2mem br i1 %63, label LBL_11, label %.thread LBL_17: %65 = add i32 %50, 2 %66 = mul i64 %sv_4.019.reload, 256 %67 = icmp eq i32 %65, 0 %68 = icmp ult i32 %65, 127 %.29 = select i1 %68, i32 %65, i32 127 store i32 %sv_0.015.reload, i32* %sv_0.179.reg2mem store i64 %66, i64* %.reg2mem38 store i64 %66, i64* %.reg2mem40 store i32 %.29, i32* %.reg2mem42 br i1 %67, label %69, label LBL_18 LBL_18: %.in = add i64 %.in.in.reload, -4294967296 %.reload43 = load i32, i32* %.reg2mem42 %.reload41 = load i64, i64* %.reg2mem40 %storemerge4 = zext i32 %.reload43 to i64 %70 = add i64 %.reload41, %storemerge4 %71 = icmp eq i64 %.in, 0 %72 = icmp eq i1 %71, false store i64 %.in, i64* %.in.in.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.121.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.120.reg2mem store i64 %70, i64* %sv_4.019.reg2mem store i64 %70, i64* %storemerge.reg2mem br i1 %72, label LBL_6, label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8 %.reload, { 3, 1, 2, 0 } uselistorder i64 %sv_1.1.in16.reload, { 2, 1, 0 } uselistorder i64 %35, { 2, 0, 1, 3 } uselistorder i32 %sv_2.121.reload, { 0, 2, 3, 1 } uselistorder i64 %sv_3.120.reload, { 0, 2, 1 } uselistorder i64 %sv_4.019.reload, { 2, 1, 0 } uselistorder i64* %.in.in.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.121.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.120.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_4.019.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_1.117.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.in16.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem40, { 0, 3, 1, 2 } uselistorder i32* %.reg2mem42, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i1 false, { 5, 4, 2, 3, 1, 0 } uselistorder i32 0, { 4, 5, 0, 2, 1, 3 } uselistorder i8 0, { 4, 2, 3, 0, 5, 1 } uselistorder label LBL_19, { 0, 2, 1 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
handle_dr_7521
handle_dr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0) %2 = urem i64 %1, 8 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = and i64 %6, -8 store i64 %7, i64* %5, align 8 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = or i64 %10, 8 store i64 %11, i64* %9, align 8 %12 = load i64, i64* %5, align 8 %13 = call i64 @FUNC(i64 0, i64 %12) %14 = call i64 @FUNC(i64 %0, i64 2) br label LBL_12 LBL_2: %15 = call i64 @FUNC(i64 4) %16 = trunc i64 %15 to i32 %17 = and i32 %16, 5 %18 = urem i32 %16, 16 %19 = and i64 %15, 6 %20 = icmp eq i64 %19, 0 %21 = icmp ugt i32 %17, 3 br i1 %20, label LBL_6, label LBL_3 LBL_3: store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = mul i32 %17, 8 %23 = zext i32 %22 to i64 %24 = add i64 %0, 24 %25 = add i64 %24, %23 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %phitmp = mul i64 %27, 4294967296 %phitmp4 = ashr exact i64 %phitmp, 32 store i64 %phitmp4, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = zext i32 %18 to i64 %29 = call i64 @FUNC(i64 %0, i64 %28, i64 %sv_0.0.reload) br label LBL_11 LBL_6: br i1 %21, label LBL_7, label LBL_8 LBL_7: %30 = or i32 %17, 1 %31 = icmp eq i32 %30, 5 br i1 %31, label LBL_9, label LBL_11 LBL_8: %32 = mul i32 %18, 8 %33 = zext i32 %32 to i64 %34 = add i64 %0, 88 %35 = add i64 %34, %33 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %sext2 = mul i64 %37, 4294967296 %38 = ashr exact i64 %sext2, 32 %39 = mul i32 %17, 8 %40 = zext i32 %39 to i64 %41 = add i64 %40, %0 %42 = add i64 %41, 24 %43 = inttoptr i64 %42 to i64* store i64 %38, i64* %43, align 8 %44 = add i64 %41, 56 %45 = inttoptr i64 %44 to i64* store i64 %38, i64* %45, align 8 br label LBL_11 LBL_9: %46 = add i64 %0, 216 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = and i64 %48, 16 %50 = icmp eq i64 %49, 0 br i1 %50, label LBL_11, label LBL_10 LBL_10: %51 = call i64 @FUNC(i64 %0, i64 14) br label LBL_11 LBL_11: %52 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_12: ret i64 1 uselistorder i1 %21, { 1, 0 } uselistorder i32 %17, { 0, 3, 1, 2 } uselistorder i64 %0, { 8, 7, 6, 0, 9, 5, 4, 1, 2, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 32, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 (i64, i64)* @kvm_queue_exception, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 (i64)* @vmcs_readl, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
smp_proc_id_info_6751
smp_proc_id_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 1397638484, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %11 = call i64 @FUNC(i64 %5, i64 2, i64* nonnull %sv_0) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %5, i64 %12, i64 16) %14 = call i64 @FUNC(i64 %5, i64 0) store i64 %14, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
generic_hdmi_build_controls_17576
generic_hdmi_build_controls
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge410.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %3, label LBL_11, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %rdi to i32* %6 = and i64 %1, 4294967295 store i32 0, i32* %storemerge410.reg2mem br label LBL_2 LBL_2: %storemerge410.reload = load i32, i32* %storemerge410.reg2mem %7 = zext i32 %storemerge410.reload to i64 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = call i64 @FUNC(i64 %4, i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_11 LBL_3: %13 = inttoptr i64 %8 to i32* %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = load i32, i32* %13, align 4 %20 = call i64 @FUNC(i64 %4, i32 %19, i32 %18, i64 0) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %rax.0.shrunk.reg2mem br i1 %23, label LBL_4, label LBL_11 LBL_4: %24 = call i64 @FUNC(i64 %4, i64 %7) %25 = call i64 @FUNC(i64 %4, i64 %7) %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %4, i64 %7, i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false store i64 %28, i64* %rax.0.shrunk.reg2mem br i1 %31, label LBL_5, label LBL_11 LBL_5: %32 = call i64 @FUNC(i64 %8, i64 0) %33 = add i32 %storemerge410.reload, 1 %34 = sext i32 %33 to i64 %35 = icmp sgt i64 %6, %34 store i32 %33, i32* %storemerge410.reg2mem br i1 %35, label LBL_2, label LBL_6 LBL_6: %36 = add i64 %4, 8 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge8.reg2mem br label LBL_7 LBL_7: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload = load i64, i64* %.reg2mem %37 = mul i64 %.reload, 8 %38 = add i64 %36, %37 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = zext i32 %storemerge8.reload to i64 %42 = call i64 @FUNC(i64 %40, i64 0, i64 0, i64 0, i64 %41, i64* nonnull %sv_0, i32 %storemerge8.reload) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false store i64 %42, i64* %rax.0.shrunk.reg2mem br i1 %45, label LBL_8, label LBL_11 LBL_8: %46 = load i64, i64* %sv_0, align 8 %47 = inttoptr i64 %46 to i64* store i64 %4, i64* %47, align 8 %48 = load i64, i64* %sv_0, align 8 %49 = add i64 %48, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = zext i32 %53 to i64 store i32 0, i32* %storemerge3.reg2mem br label LBL_9 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %55 = sext i32 %storemerge3.reload to i64 %56 = icmp slt i64 %55, %54 %57 = add i32 %storemerge3.reload, 1 store i32 %57, i32* %storemerge3.reg2mem br i1 %56, label LBL_9, label LBL_10 LBL_10: %58 = add i64 %51, 16 %59 = inttoptr i64 %58 to i64* store i64 4198856, i64* %59, align 8 %60 = add i64 %51, 24 %61 = inttoptr i64 %60 to i64* store i64 4198875, i64* %61, align 8 %62 = add i64 %51, 32 %63 = inttoptr i64 %62 to i64* store i64 4198894, i64* %63, align 8 %64 = load i64, i64* @gv_0, align 8 %65 = add i64 %51, 40 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = add i32 %storemerge8.reload, 1 %68 = load i32, i32* %5, align 8 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i64 %70, i64* %.reg2mem store i32 %67, i32* %storemerge8.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %71, label LBL_7, label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i32 %storemerge8.reload, { 0, 2, 1 } uselistorder i64 %7, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge410.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 2, 3, 6 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i32 0, { 0, 4, 1, 5, 6, 7, 2, 3 } uselistorder label LBL_11, { 4, 3, 0, 1, 2, 5 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ahci_dma_set_inactive_2709
ahci_dma_set_inactive
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -24 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %6 = call i64 @FUNC(i64 %1, i64 0) %7 = add i64 %0, -16 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %9 = add i64 %0, -8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 4198781, i64 %1) store i64 %14, i64* %10, align 8 %15 = call i64 @FUNC(i64 %14) br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %1, { 0, 2, 1 } }
0
BinRealVul
xbzrle_cache_zero_page_16260
xbzrle_cache_zero_page
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = icmp eq i32 %0, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = load i64, i64* @gv_1, align 8 %8 = call i64 @FUNC(i64 %7, i64 %arg1, i64 0) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 0, { 1, 2, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
git_branch_delete_5357
git_branch_delete
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %3 = icmp ne i64 %arg1, 0 %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false %or.cond = icmp eq i1 %3, %5 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = icmp ult i32 %arg3, 2 br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 58, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = icmp eq i32 %arg3, 1 %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64 %arg2, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = and i64 %9, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 %arg1, i64 %2, i64 %1) br label LBL_13 LBL_8: %19 = load i64, i64* %sv_0, align 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 br i1 %23, label LBL_11, label LBL_9 LBL_9: %24 = load i64, i64* %sv_1, align 8 %25 = call i64 @FUNC(i64 %24) %26 = load i64, i64* %sv_0, align 8 %27 = call i64 @FUNC(i64 %26) %28 = inttoptr i64 %27 to i8* %29 = inttoptr i64 %25 to i8* %30 = call i32 @strcmp(i8* %28, i8* %29) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_6, i64 0, i64 0), i64 %arg2, i64 %arg1, i64 %2, i64 %1) br label LBL_13 LBL_11: %34 = load i64, i64* %sv_1, align 8 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 br i1 %37, label LBL_13, label LBL_12 LBL_12: %38 = load i64, i64* %sv_0, align 8 %39 = call i64 @FUNC(i64 %38) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %40 = load i64, i64* %sv_0, align 8 %41 = call i64 @FUNC(i64 %40) %42 = load i64, i64* %sv_1, align 8 %43 = call i64 @FUNC(i64 %42) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @git_reference_free, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @giterr_set, { 1, 0 } uselistorder [5 x i8]* @gv_4, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 5, 7, 6, 4, 3, 2, 0, 1 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tcos_decipher_5772
tcos_decipher
define i64 @FUNC(i32* %arg1, i16* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = alloca i8 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %storemerge6.lcssa.reg2mem = alloca i32 %storemerge612.reg2mem = alloca i32 %.reg2mem = alloca i64 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i8, i8* %2 %6 = load i32, i32* %1 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8*, align 8 %7 = icmp ne i32* %arg1, null %8 = icmp ne i16* %arg2, null %or.cond.not = icmp eq i1 %7, %8 %9 = icmp eq i64* %arg4, null %10 = icmp eq i1 %9, false %or.cond9 = icmp eq i1 %or.cond.not, %10 br i1 %or.cond9, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 79, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %11 = trunc i64 %4 to i32 %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i32 %11, 1 %17 = zext i1 %16 to i32 %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %15) %22 = inttoptr i64 %20 to i64* %23 = load i64, i64* %22, align 8 %24 = urem i64 %23, 2 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false %27 = zext i1 %26 to i64 %28 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i32 %17, i64 %27, i64 %arg5, i64 %3) %29 = icmp ult i64 %arg3, 256 %30 = zext i1 %29 to i64 %31 = bitcast i8** %sv_3 to i64* %32 = call i64 @FUNC(i64 %12, i64* nonnull %31, i64 %30, i64 42, i64 128, i64 134) %33 = bitcast i64* %sv_2 to i8* store i8* %33, i8** %sv_3, align 8 store i64 4294967295, i64* %storemerge.reg2mem br i1 %29, label LBL_3, label LBL_14 LBL_3: %34 = bitcast i16* %arg2 to i64* %35 = trunc i64 %arg3 to i32 %36 = call i64* @memcpy(i64* nonnull %sv_1, i64* %34, i32 %35) %37 = call i64 @FUNC(i64 %12, i64* nonnull %31) %38 = load i64, i64* %14, align 8 %39 = and i64 %37, 4294967295 %40 = call i64 @FUNC(i64 %38, i64 %39, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0)) %41 = trunc i32 %6 to i8 %42 = icmp eq i8 %41, -112 %43 = icmp eq i8 %5, 0 %44 = icmp eq i1 %43, %42 br i1 %44, label LBL_4, label LBL_13 LBL_4: %45 = icmp ult i64 %arg5, 256 %46 = select i1 %45, i64 %arg5, i64 256 %47 = icmp eq i1 %16, false store i32 0, i32* %sv_0.0.reg2mem br i1 %47, label LBL_12, label LBL_5 LBL_5: %48 = load i64, i64* %22, align 8 %49 = urem i64 %48, 2 %50 = icmp eq i64 %49, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %50, label LBL_12, label LBL_6 LBL_6: %51 = load i8*, i8** %sv_3, align 8 %52 = load i8, i8* %51, align 1 %53 = icmp eq i8 %52, 0 %54 = icmp eq i1 %53, false store i32 0, i32* %sv_0.0.reg2mem br i1 %54, label LBL_12, label LBL_7 LBL_7: %55 = ptrtoint i8* %51 to i64 %56 = add i64 %55, 1 %57 = inttoptr i64 %56 to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, 2 %60 = icmp eq i1 %59, false store i32 0, i32* %sv_0.0.reg2mem br i1 %60, label LBL_12, label LBL_8 LBL_8: %61 = icmp ugt i64 %46, 2 store i64 2, i64* %.reg2mem store i32 2, i32* %storemerge612.reg2mem store i32 2, i32* %storemerge6.lcssa.reg2mem store i64 2, i64* %.lcssa.reg2mem br i1 %61, label LBL_10, label LBL_11 LBL_9: %62 = add i32 %storemerge612.reload, 1 %63 = zext i32 %62 to i64 %64 = icmp ugt i64 %46, %63 store i64 %63, i64* %.reg2mem store i32 %62, i32* %storemerge612.reg2mem store i32 %62, i32* %storemerge6.lcssa.reg2mem store i64 %63, i64* %.lcssa.reg2mem br i1 %64, label LBL_10, label LBL_11 LBL_10: %storemerge612.reload = load i32, i32* %storemerge612.reg2mem %.reload = load i64, i64* %.reg2mem %65 = add i64 %.reload, %55 %66 = inttoptr i64 %65 to i8* %67 = load i8, i8* %66, align 1 %68 = icmp eq i8 %67, 0 %69 = icmp eq i1 %68, false store i32 %storemerge612.reload, i32* %storemerge6.lcssa.reg2mem store i64 %.reload, i64* %.lcssa.reg2mem br i1 %69, label LBL_9, label LBL_11 LBL_11: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem %70 = add nsw i64 %46, -1 %71 = icmp ugt i64 %70, %.lcssa.reload %72 = icmp eq i1 %71, false %73 = add i32 %storemerge6.lcssa.reload, 1 %storemerge5 = select i1 %72, i32 0, i32 %73 store i32 %storemerge5, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %74 = load i8*, i8** %sv_3, align 8 %75 = ptrtoint i8* %74 to i64 %76 = zext i32 %sv_0.0.reload to i64 %77 = add i64 %75, %76 %78 = inttoptr i64 %77 to i64* %79 = trunc i64 %46 to i32 %80 = sub i32 %79, %sv_0.0.reload %81 = call i64* @memcpy(i64* %arg4, i64* %78, i32 %80) %82 = sub nsw i64 %46, %76 %83 = load i64, i64* %14, align 8 %84 = call i64 @FUNC(i64 %83, i64 1, i64 %82) br label LBL_13 LBL_13: %85 = zext i8 %5 to i64 %86 = urem i32 %6, 256 %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %12, i64 %87, i64 %85) %sext = mul i64 %88, 4294967296 %89 = ashr exact i64 %sext, 32 %90 = load i64, i64* %14, align 8 %91 = call i64 @FUNC(i64 %90, i64 1, i64 %89) store i64 %91, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %76, { 1, 0 } uselistorder i64 %46, { 3, 4, 1, 2, 0 } uselistorder i64* %14, { 1, 0, 2, 3 } uselistorder i8** %sv_3, { 2, 1, 0, 3 } uselistorder i32 %6, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge612.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge6.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @SC_FUNC_RETURN, { 1, 0 } uselistorder i32 0, { 4, 0, 1, 2, 3 } uselistorder i8 0, { 1, 2, 0, 3, 4 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 2, { 0, 1, 4, 2, 3 } uselistorder i1 false, { 2, 3, 4, 5, 1, 6, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mbochs_remove_11992
mbochs_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sub i32 %2, %6 store i32 %7, i32* bitcast (i64* @gv_0 to i32*), align 8 %8 = add i64 %1, 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %1, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 %1) ret i64 %18 uselistorder i64 (i64)* @kfree, { 2, 1, 0 } }
1
BinRealVul
sta_info_tx_streams_8664
sta_info_tx_streams
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_11 LBL_1: %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = zext i16 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = urem i32 %15, 65536 store i32 7, i32* %storemerge24.reg2mem br label LBL_3 LBL_3: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %17 = mul i32 %storemerge24.reload, 2 %18 = and i32 %17, 30 %19 = shl i32 3, %18 %20 = and i32 %16, %19 %21 = icmp eq i32 %20, 65535 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i32 %storemerge24.reload, 1 %23 = zext i32 %22 to i64 store i64 %23, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %24 = add nsw i32 %storemerge24.reload, -1 %25 = icmp eq i32 %storemerge24.reload, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %storemerge24.reg2mem br i1 %26, label LBL_3, label LBL_6 LBL_6: %27 = add i64 %0, 3 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 0 store i64 4, i64* %sv_0.0.reg2mem br i1 %30, label LBL_7, label LBL_9 LBL_7: %31 = add i64 %0, 2 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 0 store i64 3, i64* %sv_0.0.reg2mem br i1 %34, label LBL_8, label LBL_9 LBL_8: %35 = add i64 %0, 1 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 0 %. = select i1 %38, i64 1, i64 2 store i64 %., i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %39 = add i64 %0, 4 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = urem i8 %41, 2 %43 = icmp eq i8 %42, 0 %44 = icmp eq i1 %43, false store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %44, label LBL_10, label LBL_11 LBL_10: %45 = udiv i8 %41, 2 %46 = urem i8 %45, 8 %narrow = add nuw nsw i8 %46, 1 %47 = zext i8 %narrow to i64 store i64 %47, 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 %storemerge24.reload, { 2, 0, 1, 3 } uselistorder i64 %0, { 0, 3, 2, 1, 5, 4, 6 } uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_11, { 2, 0, 3, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_monitor_def_3271
get_monitor_def
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge45.reg2mem = alloca i8* %.reg2mem = alloca i64 %0 = load [16 x i8]*, [16 x i8]** @gv_0, align 8 %1 = icmp eq [16 x i8]* %0, null %2 = icmp eq i1 %1, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_10 LBL_1: %3 = ptrtoint [16 x i8]* %0 to i64 %4 = ptrtoint i8* %arg2 to i64 store i64 %3, i64* %.reg2mem store i8* bitcast ([16 x i8]** @gv_0 to i8*), i8** %storemerge45.reg2mem br label LBL_2 LBL_2: %storemerge45.reload = load i8*, i8** %storemerge45.reg2mem %.reload = load i64, i64* %.reg2mem %5 = call i64 @FUNC(i64 %4, i64 %.reload) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = ptrtoint i8* %storemerge45.reload to i64 br i1 %7, label LBL_9, label LBL_3 LBL_3: %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %8, 4294967296 %13 = ashr exact i64 %sext, 32 store i64 %13, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_5: %14 = call i64 @FUNC() %15 = add i64 %8, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = sext i32 %17 to i64 %19 = add i64 %14, %18 %20 = add i64 %8, 20 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 switch i32 %22, label LBL_8 [ i32 1, label LBL_6 i32 2, label LBL_7 ] LBL_6: %23 = inttoptr i64 %19 to i32* %24 = load i32, i32* %23, align 4 %25 = sext i32 %24 to i64 store i64 %25, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_7: %26 = inttoptr i64 %19 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_8: store i64 0, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %28 = add i64 %8, 24 %29 = inttoptr i64 %28 to i8* %30 = inttoptr i64 %28 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %.reg2mem store i8* %29, i8** %storemerge45.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %33, label LBL_2, label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 4, 1, 2, 0, 3 } uselistorder [16 x i8]* %0, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i8** %storemerge45.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 6, 5, 4, 3, 2 } uselistorder [16 x i8]** @gv_0, { 1, 0 } uselistorder i64* %arg1, { 2, 1, 0, 3 } uselistorder label LBL_10, { 0, 5, 4, 3, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sco_sock_timeout_8885
sco_sock_timeout
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %3) %5 = call i64 @FUNC(i64 %2) %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* store i32 110, i32* %7, align 4 %8 = call i64 @FUNC(i64 %2) %9 = call i64 @FUNC(i64 %2) %10 = call i64 @FUNC(i64 %2) ret i64 %10 }
0
BinRealVul
pdftex_fail_8304
pdftex_fail
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 8, i32* %sv_0, align 4 %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %22 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %21) %23 = load [12 x i8]*, [12 x i8]** @gv_2, align 8 %24 = icmp eq [12 x i8]* %23, null br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = getelementptr inbounds [12 x i8], [12 x i8]* %23, i64 0, i64 0 %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* nonnull %26) br label LBL_4 LBL_4: %28 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %29 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_4 to i64*), i32 1, i32 2, %_IO_FILE* %28) %30 = ptrtoint i32* %sv_0 to i64 %31 = call i32 @vsprintf(i8* bitcast (i8** @gv_5 to i8*), i8* %arg1, i64 %30) %32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %33 = call i32 @fputs(i8* bitcast (i8** @gv_5 to i8*), %_IO_FILE* %32) %34 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %35 = call i32 @fwrite(i64* bitcast ([65 x i8]* @gv_6 to i64*), i32 1, i32 64, %_IO_FILE* %34) call void @exit(i32 -1) ret i64 ptrtoint (i32* @0 to i64) uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 0 } }
0
BinRealVul
AcquirePixelThreadSet_11848
AcquirePixelThreadSet
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 %0, i64 8) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_11 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = inttoptr i64 %1 to i64* %.tr = trunc i64 %0 to i32 %6 = mul i32 %.tr, 8 %7 = call i64* @memset(i64* %5, i32 0, i32 %6) %8 = icmp eq i64* %arg1, null %9 = icmp eq i1 %8, false store i64 %4, i64* %storemerge26.reg2mem store i64 %1, i64* %sv_0.05.reg2mem store i64 %1, i64* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge26.reload = load i64, i64* %storemerge26.reg2mem %10 = inttoptr i64 %storemerge26.reload to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %sv_0.05.reload) %13 = add i64 %storemerge26.reload, 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 %15, i64* %storemerge26.reg2mem store i64 %12, i64* %sv_0.05.reg2mem store i64 %12, i64* %sv_0.0.lcssa.reg2mem br i1 %17, label LBL_2, label LBL_3 LBL_3: %18 = icmp sgt i64 %0, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_11 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %19 = icmp sgt i64 %sv_0.0.lcssa.reload, 0 %exitcond7 = icmp eq i64 %sv_0.0.lcssa.reload, 1 store i64 0, i64* %storemerge4.reg2mem br label LBL_5 LBL_5: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %20 = mul i64 %storemerge4.reload, 8 %21 = add i64 %20, %1 %22 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 0) %23 = inttoptr i64 %21 to i64* store i64 %22, i64* %23, align 8 %24 = icmp eq i64 %22, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_8 LBL_6: br i1 %19, label LBL_7, label LBL_10 LBL_7: %26 = call i64 @FUNC(i64 %4, i64 %22) store i64 1, i64* %.reg2mem br i1 %exitcond7, label LBL_10, label LBL_9 LBL_8: %27 = call i64 @FUNC(i64 %1) store i64 %27, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %.reload = load i64, i64* %.reg2mem %.pre = load i64, i64* %23, align 8 %28 = call i64 @FUNC(i64 %4, i64 %.pre) %29 = add nuw nsw i64 %.reload, 1 %exitcond = icmp eq i64 %29, %sv_0.0.lcssa.reload store i64 %29, i64* %.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %30 = add nuw nsw i64 %storemerge4.reload, 1 %31 = icmp slt i64 %30, %0 store i64 %30, i64* %storemerge4.reg2mem store i64 %1, i64* %rax.0.reg2mem br i1 %31, label LBL_5, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.lcssa.reload, { 2, 0, 3, 1 } uselistorder i64 %storemerge26.reload, { 1, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %1, { 0, 5, 4, 1, 2, 3, 6, 7 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64 (i64, i64)* @GetMagickPixelPacket, { 1, 0 } uselistorder i64 1, { 3, 2, 0, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i64)* @AcquireQuantumMemory, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_11, { 0, 3, 1, 2 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cp2112_gpio_direction_input_6649
cp2112_gpio_direction_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %1, 16 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %3, i64 1, i64 %6, i64 3, i64 2, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 3 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %10) store i32 %10, i32* %sv_0.0.reg2mem br label LBL_4 LBL_2: %13 = add i64 %6, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = trunc i64 %arg2 to i32 %17 = urem i32 %16, 32 %18 = icmp eq i32 %17, 0 %19 = shl i32 1, %17 %phitmp = xor i32 %19, 255 %storemerge2 = select i1 %18, i32 254, i32 %phitmp %20 = trunc i32 %storemerge2 to i8 %21 = and i8 %15, %20 store i8 %21, i8* %14, align 1 %22 = add i64 %6, 2 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %24 = call i64 @FUNC(i64 %3, i64 1, i64 %6, i64 3, i64 2, i64 2) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false store i32 0, i32* %sv_0.0.reg2mem br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i32 %25) store i32 %25, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %29 = call i64 @FUNC(i64 %7) %30 = icmp eq i32 %sv_0.0.reload, 0 %31 = icmp slt i32 %sv_0.0.reload, 0 %32 = icmp eq i1 %31, false %33 = icmp eq i1 %30, false %34 = icmp eq i1 %32, %33 %35 = zext i32 %sv_0.0.reload to i64 %storemerge = select i1 %34, i64 4294967291, i64 %35 ret i64 %storemerge uselistorder i32 %17, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder i64 (i64, i8*, i32)* @hid_err, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @hid_hw_raw_request, { 1, 0 } uselistorder i64 2, { 1, 0, 3, 2 } uselistorder i64 1, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
bdrv_aio_bh_cb_968
bdrv_aio_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %2, 40 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %12, i64 0, i64 %17, i64 %14) br label LBL_3 LBL_3: %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %2, 32 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) store i64 0, i64* %24, align 8 %27 = call i64 @FUNC(i64 %2) ret i64 %27 uselistorder i64 %2, { 0, 2, 1, 4, 3, 5 } }
0
BinRealVul
acpi_memory_device_remove_3966
acpi_memory_device_remove
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 4294967274, i64* %rax.0.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_5 LBL_2: %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC(i64 %5) 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* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @acpi_driver_data, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 2, 3, 1, 0 } }
0
BinRealVul
mov_read_stsc_3015
mov_read_stsc
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_12 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %sext = mul i64 %2, 4294967296 %13 = ashr exact i64 %sext, 29 %14 = add nsw i64 %13, -8 %15 = add i64 %14, %12 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %9) %21 = call i64 @FUNC(i64 %9) %22 = call i64 @FUNC(i64 %9) %23 = trunc i64 %22 to i32 %24 = add i64 %2, 4294967295 %25 = and i64 %22, 4294967295 %26 = and i64 %24, 4294967295 %27 = call i64 @FUNC(i64 %9, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %25, i64 %1) %28 = icmp eq i32 %23, 0 %29 = icmp eq i1 %28, false store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_2, label LBL_12 LBL_2: %30 = icmp ult i32 %23, 357913941 store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_3, label LBL_12 LBL_3: %31 = mul nuw nsw i64 %25, 12 %32 = call i64 @FUNC(i64 %31) %33 = inttoptr i64 %19 to i64* store i64 %32, i64* %33, align 8 %34 = icmp eq i64 %32, 0 %35 = icmp eq i1 %34, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %35, label LBL_4, label LBL_12 LBL_4: %36 = bitcast i64* %rsi to i32* %37 = add i64 %19, 12 %38 = inttoptr i64 %37 to i32* %39 = add i64 %9, 16 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %storemerge3.reg2mem br label LBL_10 LBL_5: %41 = call i64 @FUNC(i64 %9) %42 = trunc i64 %41 to i32 %43 = load i64, i64* %33, align 8 %44 = zext i32 %storemerge3.reload to i64 %45 = mul nuw nsw i64 %44, 12 %46 = add i64 %43, %45 %47 = inttoptr i64 %46 to i32* store i32 %42, i32* %47, align 4 %48 = call i64 @FUNC(i64 %9) %49 = trunc i64 %48 to i32 %50 = load i64, i64* %33, align 8 %51 = add nuw nsw i64 %45, 4 %52 = add i64 %51, %50 %53 = inttoptr i64 %52 to i32* store i32 %49, i32* %53, align 4 %54 = call i64 @FUNC(i64 %9) %55 = trunc i64 %54 to i32 %56 = load i64, i64* %33, align 8 %57 = add nuw nsw i64 %45, 8 %58 = add i64 %56, %57 %59 = inttoptr i64 %58 to i32* store i32 %55, i32* %59, align 4 %60 = load i64, i64* %33, align 8 %61 = add i64 %60, %57 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp slt i32 %63, 0 br i1 %64, label LBL_7, label LBL_6 LBL_6: %65 = load i32, i32* %38, align 4 %66 = icmp ugt i32 %63, %65 br i1 %66, label LBL_7, label LBL_9 LBL_7: store i32 0, i32* %62, align 4 %67 = load i32, i32* %40, align 4 %68 = urem i32 %67, 2 %69 = icmp eq i32 %68, 0 br i1 %69, label LBL_9, label LBL_8 LBL_8: %70 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %60, i64 %25, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %71 = add i32 %storemerge3.reload, 1 %72 = icmp ult i32 %71, %23 %73 = icmp eq i1 %72, false store i32 %71, i32* %storemerge3.reg2mem store i32 %71, i32* %storemerge.lcssa.reg2mem br i1 %73, label LBL_11, label LBL_10 LBL_10: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %74 = load i32, i32* %36, align 8 %75 = icmp eq i32 %74, 0 store i32 %storemerge3.reload, i32* %storemerge.lcssa.reg2mem br i1 %75, label LBL_5, label LBL_11 LBL_11: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %76 = add i64 %19, 8 %77 = inttoptr i64 %76 to i32* store i32 %storemerge.lcssa.reload, i32* %77, align 4 %78 = load i32, i32* %36, align 8 %79 = icmp eq i32 %78, 0 %. = select i1 %79, i64 0, i64 4294967291 store i64 %., i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge3.reload, { 0, 2, 1 } uselistorder i64 %45, { 1, 2, 0 } uselistorder i64 %25, { 1, 0, 2 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i64 %9, { 1, 2, 3, 4, 0, 7, 8, 6, 5 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 3, 4, 5 } uselistorder i64 12, { 0, 2, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 3, 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 0, { 5, 6, 7, 11, 0, 8, 9, 1, 2, 3, 4, 10 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 0, { 4, 5, 1, 2, 3, 0, 6, 7, 8 } uselistorder label LBL_12, { 0, 5, 1, 2, 3, 4 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0