dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
SkipRGBMipmaps_12697
SkipRGBMipmaps
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %sv_1.0.off010.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i32 %2, 4194304 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = and i32 %2, 4096 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = and i32 %11, 512 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_6, label LBL_3 LBL_3: %14 = add i64 %5, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = ashr i32 %16, 1 %18 = add i64 %5, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = ashr i32 %20, 1 %22 = add i64 %5, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = sext i32 %24 to i64 %26 = icmp sgt i32 %24, 1 %27 = icmp ne i32 %17, 0 %or.cond.not7 = icmp eq i1 %27, %26 %28 = icmp eq i32 %21, 0 %29 = icmp eq i1 %28, false %or.cond68 = icmp eq i1 %29, %or.cond.not7 store i64 %25, i64* %rax.0.reg2mem br i1 %or.cond68, label LBL_4, label LBL_6 LBL_4: %extract.t = sext i32 %21 to i64 %30 = sext i32 %17 to i64 %31 = sext i32 %arg3 to i64 %32 = ptrtoint i32* %arg1 to i64 store i64 1, i64* %storemerge11.reg2mem store i64 %extract.t, i64* %sv_1.0.off010.reg2mem store i64 %30, i64* %sv_0.09.reg2mem br label LBL_5 LBL_5: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %sv_1.0.off010.reload = load i64, i64* %sv_1.0.off010.reg2mem %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %33 = mul i64 %sv_1.0.off010.reload, %31 %34 = mul i64 %33, %sv_0.09.reload %35 = call i64 @FUNC(i64 %32, i64 %34, i64 1) %36 = udiv i64 %sv_0.09.reload, 2 %37 = udiv i64 %sv_1.0.off010.reload, 2 %38 = add nuw nsw i64 %storemerge11.reload, 1 %39 = load i32, i32* %23, align 4 %40 = sext i32 %39 to i64 %41 = icmp slt i64 %38, %40 %42 = icmp ugt i64 %sv_0.09.reload, 1 %or.cond.not = icmp eq i1 %42, %41 %43 = icmp ult i64 %sv_1.0.off010.reload, 2 %44 = icmp eq i1 %43, false %or.cond6 = icmp eq i1 %44, %or.cond.not store i64 %38, i64* %storemerge11.reg2mem store i64 %37, i64* %sv_1.0.off010.reg2mem store i64 %36, i64* %sv_0.09.reg2mem store i64 %40, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_5, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.off010.reload, { 2, 1, 0 } uselistorder i64 %sv_0.09.reload, { 2, 1, 0 } uselistorder i32* %23, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i64 %5, { 1, 2, 3, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.off010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 3, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
cifs_umount_9161
cifs_umount
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: store i64 0, i64* %arg2, align 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 store i64 0, i64* %4, align 8 %8 = call i64 @FUNC(i64 %5) ret i64 0 uselistorder i64 %0, { 2, 1, 0 } }
0
BinRealVul
virtio_queue_set_num_10737
virtio_queue_set_num
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 %sext = mul i64 %arg2, 4294967296 %1 = trunc i64 %arg3 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = and i64 %arg4, 4294967040 %6 = or i64 %5, %4 %7 = ashr exact i64 %sext, 30 %8 = add i64 %7, %0 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i32 %14 = and i32 %10, -256 %15 = or i32 %14, %13 %16 = trunc i64 %6 to i32 %17 = xor i32 %15, %16 %18 = zext i32 %17 to i64 %19 = trunc i32 %17 to i8 %20 = icmp eq i8 %19, 0 %21 = icmp eq i1 %20, false %22 = icmp ugt i32 %1, 1024 %or.cond = or i1 %22, %21 store i64 %18, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: store i32 %1, i32* %9, align 4 %23 = call i64 @FUNC(i64 %8) store i64 %23, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
glyph_enu_free_14821
glyph_enu_free
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2) ret i64 0 }
1
BinRealVul
init_2d_vlc_rl_15628
init_2d_vlc_rl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 52 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i32 %6, 2 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %2, i64 8, i64 %8, i64 %3, i64 4, i64 2) %10 = bitcast i64* %rdi to i32* %sext = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = mul nsw i64 %11, 12 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %2, 40 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = load i32, i32* %10, align 8 %17 = icmp eq i32 %16, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %17, label LBL_8, label LBL_1 LBL_1: %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i64* %20 = add i64 %2, 24 %21 = inttoptr i64 %20 to i64* %22 = add i64 %2, 32 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %24 = load i64, i64* %19, align 8 %25 = mul i64 %.reload, 8 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %28, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i32 65, i32* %sv_1.0.reg2mem store i32 127, i32* %sv_0.0.reg2mem br i1 %35, label LBL_3, label LBL_7 LBL_3: %36 = icmp slt i32 %33, 0 %37 = icmp eq i1 %36, false store i32 0, i32* %sv_1.0.reg2mem store i32 %30, i32* %sv_0.0.reg2mem br i1 %37, label LBL_4, label LBL_7 LBL_4: %38 = load i32, i32* %5, align 4 %39 = icmp eq i32 %30, %38 %40 = icmp eq i1 %39, false store i32 65, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %40, label LBL_5, label LBL_7 LBL_5: %41 = add i32 %38, 1 %42 = icmp eq i32 %30, %41 %43 = icmp eq i1 %42, false store i32 0, i32* %sv_1.0.reg2mem store i32 127, i32* %sv_0.0.reg2mem br i1 %43, label LBL_6, label LBL_7 LBL_6: %44 = load i64, i64* %21, align 8 %45 = sext i32 %30 to i64 %46 = mul i64 %45, 4 %47 = add i64 %44, %46 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i32 %49, 1 %51 = load i64, i64* %23, align 8 %52 = add i64 %51, %46 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 store i32 %50, i32* %sv_1.0.reg2mem store i32 %54, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %55 = load i64, i64* %15, align 8 %56 = mul nsw i64 %.reload, 12 %57 = add i64 %55, %56 %58 = inttoptr i64 %57 to i32* store i32 %33, i32* %58, align 4 %59 = load i64, i64* %15, align 8 %60 = add nsw i64 %56, 4 %61 = add i64 %60, %59 %62 = inttoptr i64 %61 to i32* store i32 %sv_0.0.reload, i32* %62, align 4 %63 = load i64, i64* %15, align 8 %64 = add nsw i64 %56, 8 %65 = add i64 %64, %63 %66 = inttoptr i64 %65 to i32* store i32 %sv_1.0.reload, i32* %66, align 4 %67 = add i32 %storemerge1.reload, 1 %68 = load i32, i32* %10, 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* %storemerge1.reg2mem store i64 %69, i64* %.lcssa.reg2mem br i1 %71, label LBL_2, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %56, { 1, 2, 0 } uselistorder i64 %46, { 1, 0 } uselistorder i32 %30, { 3, 2, 1, 0 } uselistorder i32* %10, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 32, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sfb_init_perturbation_13190
sfb_init_perturbation
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = mul i64 %arg1, 4 %4 = and i64 %3, 17179869180 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i32* store i32 %2, i32* %6, align 4 ret i64 %1 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
asf_read_ext_content_16915
asf_read_ext_content
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %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 %3) %6 = urem i64 %5, 65536 %7 = icmp eq i64 %6, 0 store i64 %3, i64* %rdi.0.lcssa.reg2mem br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = add i64 %0, 16 store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i16 %11 = icmp eq i16 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_8 LBL_3: %13 = urem i64 %9, 65536 %14 = call i64 @FUNC(i64 %13) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_8 LBL_4: %17 = call i64 @FUNC(i64 %3, i16 %10, i64 %14, i16 %10) %18 = call i64 @FUNC(i64 %3) %19 = call i64 @FUNC(i64 %3) %20 = trunc i64 %19 to i16 %21 = urem i64 %18, 65536 %22 = call i64 @FUNC(i64 %0, i64 %14, i16 %10, i16 %20, i64 %21, i64 %8) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = and i64 %22, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %27 = add i32 %storemerge3.reload, 1 %28 = sext i32 %27 to i64 %29 = icmp sgt i64 %6, %28 store i32 %27, i32* %storemerge3.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem br i1 %29, label LBL_2, label LBL_7 LBL_7: %sext = mul i64 %4, 4294967296 %30 = ashr exact i64 %sext, 32 %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %31 = call i64 @FUNC(i64 %3, i64 %rdi.0.lcssa.reload, i64 %30) 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 i16 %10, { 0, 2, 1, 3 } uselistorder i64 %3, { 1, 4, 3, 2, 5, 0, 6, 7 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 (i64)* @avio_rl16, { 3, 2, 1, 0 } uselistorder label LBL_8, { 3, 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
check_watchpoint_14629
check_watchpoint
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge89.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 32) store i64 %5, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %6 = inttoptr i64 %0 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %0, 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_11 LBL_3: %sext = mul i64 %arg1, 4294967296 %14 = and i64 %10, 4294963200 %15 = ashr exact i64 %sext, 32 %16 = add nsw i64 %14, %15 %17 = trunc i64 %arg2 to i32 %18 = trunc i64 %arg3 to i32 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false %storemerge.v = select i1 %20, i32 4, i32 2 %21 = add i64 %0, 32 %22 = inttoptr i64 %21 to i32* %23 = bitcast i32* %sv_2 to i64* store i64 %11, i64* %storemerge89.reg2mem br label LBL_4 LBL_4: %storemerge89.reload = load i64, i64* %storemerge89.reg2mem %24 = call i64 @FUNC(i64 %storemerge89.reload, i64 %16, i32 %17) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %.pre = add i64 %storemerge89.reload, 8 %.pre12 = inttoptr i64 %.pre to i32* %.pre14 = load i32, i32* %.pre12, align 4 %27 = and i32 %.pre14, %18 %28 = icmp eq i32 %27, 0 %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_9, label LBL_5 LBL_5: %storemerge = or i32 %.pre14, %storemerge.v store i32 %storemerge, i32* %.pre12, align 4 %29 = inttoptr i64 %storemerge89.reload to i64* store i64 %16, i64* %29, align 8 %30 = load i32, i32* %2, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_10, label LBL_6 LBL_6: %33 = trunc i64 %storemerge89.reload to i32 store i32 %33, i32* %2, align 4 %34 = call i64 @FUNC(i64 %0) %35 = load i32, i32* %.pre12, align 4 %36 = and i32 %35, 8 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_8, label LBL_7 LBL_7: store i32 16, i32* %22, align 4 %38 = call i64 @FUNC(i64 %0) br label LBL_10 LBL_8: %39 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %23) %40 = load i32, i32* %sv_2, align 4 %41 = zext i32 %40 to i64 %42 = load i64, i64* %sv_1, align 8 %43 = load i64, i64* %sv_0, align 8 %44 = call i64 @FUNC(i64 %0, i64 %43, i64 %42, i64 %41, i64 1) %45 = call i64 @FUNC(i64 %0, i64 0) br label LBL_10 LBL_9: %46 = and i32 %.pre14, -65 store i32 %46, i32* %.pre12, align 4 br label LBL_10 LBL_10: %47 = add i64 %storemerge89.reload, 16 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 %49, i64* %storemerge89.reg2mem store i64 %49, i64* %rax.0.reg2mem br i1 %51, label LBL_4, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.pre14, { 0, 2, 1 } uselistorder i32* %.pre12, { 1, 3, 2, 0 } uselistorder i64 %storemerge89.reload, { 3, 0, 1, 4, 2 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 0, 4, 1, 5, 6, 9, 7, 8 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge89.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i32 1, { 8, 9, 11, 10, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
dcbnl_ieee_fill_7834
dcbnl_ieee_fill
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 1, i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_30 LBL_1: %8 = call i64 @FUNC(i64 %1, i64 2) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_30 LBL_2: %11 = inttoptr i64 %4 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = trunc i64 %0 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %1, i64 3, i64 0, i64* nonnull %sv_0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_30 LBL_5: %20 = add i64 %4, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_8, label LBL_6 LBL_6: %24 = trunc i64 %0 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %1, i64 4, i64 0, i64* nonnull %sv_0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %29, label LBL_8, label LBL_30 LBL_8: %30 = add i64 %4, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_11, label LBL_9 LBL_9: %34 = trunc i64 %0 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %1, i64 5, i64 0, i64* nonnull %sv_0) %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_30 LBL_11: %40 = call i64 @FUNC(i64 %1, i64 6) store i64 %40, i64* %sv_0, align 8 %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %42, label LBL_12, label LBL_30 LBL_12: %43 = call i64 @FUNC(i64* nonnull @gv_0) %44 = load i32*, i32** @gv_1, align 8 %45 = icmp eq i32* %44, null %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_18 LBL_13: %47 = ptrtoint i32* %44 to i64 %48 = add i64 %0, 8 %49 = inttoptr i64 %48 to i32* store i64 %47, i64* %.in.reg2mem br label LBL_14 LBL_14: %.in.reload = load i64, i64* %.in.reg2mem %50 = inttoptr i64 %.in.reload to i32* %51 = load i32, i32* %50, align 4 %52 = load i32, i32* %49, align 4 %53 = icmp eq i32 %51, %52 %54 = icmp eq i1 %53, false br i1 %54, label LBL_17, label LBL_15 LBL_15: %55 = add i64 %.in.reload, 4 %56 = inttoptr i64 %55 to i64* %57 = call i64 @FUNC(i64 %1, i64 7, i64 4, i64* %56) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 br i1 %59, label LBL_17, label LBL_16 LBL_16: %60 = call i64 @FUNC(i64* nonnull @gv_0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_30 LBL_17: %61 = add i64 %.in.reload, 8 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = icmp eq i64 %63, 0 %65 = icmp eq i1 %64, false store i64 %63, i64* %.in.reg2mem br i1 %65, label LBL_14, label LBL_18 LBL_18: %66 = load i64, i64* %3, align 8 %67 = add i64 %66, 24 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = call i64 @FUNC(i64* nonnull @gv_0) %71 = load i64, i64* %sv_0, align 8 %72 = call i64 @FUNC(i64 %1, i64 %71) %73 = add i64 %4, 32 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = icmp eq i64 %75, 0 br i1 %76, label LBL_21, label LBL_19 LBL_19: %77 = trunc i64 %0 to i32 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_21, label LBL_20 LBL_20: %80 = call i64 @FUNC(i64 %1, i64 8, i64 0, i64* nonnull %sv_0) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %82, label LBL_21, label LBL_30 LBL_21: %83 = add i64 %4, 40 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = icmp eq i64 %85, 0 br i1 %86, label LBL_24, label LBL_22 LBL_22: %87 = trunc i64 %0 to i32 %88 = icmp eq i32 %87, 0 %89 = icmp eq i1 %88, false br i1 %89, label LBL_24, label LBL_23 LBL_23: %90 = call i64 @FUNC(i64 %1, i64 9, i64 0, i64* nonnull %sv_0) %91 = trunc i64 %90 to i32 %92 = icmp eq i32 %91, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %92, label LBL_24, label LBL_30 LBL_24: %93 = add i64 %4, 48 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = icmp eq i64 %95, 0 br i1 %96, label LBL_27, label LBL_25 LBL_25: %97 = add i64 %4, 56 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = icmp eq i64 %99, 0 br i1 %100, label LBL_27, label LBL_26 LBL_26: %101 = call i64 @FUNC(i64 %0, i64 %1, i64 10, i64 11, i64 7) %102 = trunc i64 %101 to i32 %103 = icmp eq i32 %102, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %103, label LBL_27, label LBL_30 LBL_27: %104 = icmp eq i64 %69, 0 %105 = and i64 %0, 4294967295 %106 = call i64 @FUNC(i64 %1, i64 %8) %107 = select i1 %104, i64 4294967294, i64 %105 %108 = trunc i64 %107 to i32 %109 = icmp slt i32 %108, 0 br i1 %109, label LBL_29, label LBL_28 LBL_28: %110 = urem i64 %107, 256 %111 = call i64 @FUNC(i64 %1, i64 12, i64 %110) %112 = trunc i64 %111 to i32 %113 = icmp eq i32 %112, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %113, label LBL_29, label LBL_30 LBL_29: store i64 0, i64* %rax.0.reg2mem br label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.in.reload, { 2, 1, 0 } uselistorder i32* %44, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64* %sv_0, { 0, 1, 5, 6, 2, 3, 4 } uselistorder i64 %1, { 6, 7, 5, 4, 3, 8, 9, 10, 2, 1, 0, 11, 12 } uselistorder i64 %0, { 6, 5, 4, 3, 7, 2, 1, 0, 9, 8 } uselistorder i64* %.in.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 1, 2, 3, 4, 12, 5, 6, 7, 8, 9, 10 } uselistorder i64 (i64, i64)* @nla_nest_end, { 1, 0 } uselistorder i64 (i64*)* @spin_unlock, { 1, 0 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64*)* @nla_put, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 4, 3, 0, 5, 6, 7, 8, 9 } uselistorder i64 (i64, i64)* @nla_nest_start, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 } uselistorder label LBL_30, { 10, 0, 1, 2, 3, 11, 4, 5, 6, 7, 8, 9 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
send_xmessage_using_uids_9743
send_xmessage_using_uids
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %1 = bitcast i32* %sv_1 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull %1) %3 = load i32, i32* %sv_1, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = bitcast i64* %sv_0 to i8* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge23.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %7 = mul i64 %.reload, 4 %8 = add i64 %7, %2 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = call %passwd* @getpwuid(i32 %10) %12 = ptrtoint %passwd* %11 to i64 %13 = add i64 %12, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i8* %17 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* %16) %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = inttoptr i64 %2 to i64* call void @free(i64* %22) store i64 1, i64* %storemerge.reg2mem br label LBL_6 LBL_4: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %23 = add i32 %storemerge23.reload, 1 %24 = load i32, i32* %sv_1, align 4 %25 = zext i32 %24 to i64 %26 = sext i32 %23 to i64 %27 = icmp slt i64 %26, %25 store i64 %26, i64* %.reg2mem store i32 %23, i32* %storemerge23.reg2mem br i1 %27, label LBL_2, label LBL_5 LBL_5: %28 = inttoptr i64 %2 to i64* call void @free(i64* %28) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sctp_wfree_10453
sctp_wfree
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -20 store i32 %10, i32* %8, align 4 %11 = add i64 %6, 4 %12 = call i64 @FUNC(i64 8, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 @fwrite(i64* bitcast ([10 x i8]* @gv_1 to i64*), i32 1, i32 9, %_IO_FILE* %15) br label LBL_2 LBL_2: %17 = inttoptr i64 %6 to i32* %18 = load i32, i32* %17, align 4 %19 = bitcast i64* %rdi to i32* %20 = load i32, i32* %19, align 8 %21 = sub i32 %18, %20 store i32 %21, i32* %17, align 4 %22 = zext i32 %20 to i64 %23 = call i64 @FUNC(i64 %6, i64 %22) %24 = call i64 @FUNC(i64 %arg1) %25 = call i64 @FUNC(i64 %6, i64 %4) %26 = call i64 @FUNC(i64 %4) ret i64 %26 uselistorder i32* %17, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i32 1, { 3, 5, 4, 6, 2, 1, 0 } }
0
BinRealVul
repodata_schema2id_19112
repodata_schema2id
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %rdi.2.reg2mem = alloca i64 %rdi.16.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %.reg2mem36 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_2.18.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i32 %sv_0.010.reg2mem = alloca i32 %.reg2mem34 = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %storemerge3.lcssa.reg2mem = alloca i32 %sv_2.013.reg2mem = alloca i64 %storemerge314.reg2mem = alloca i32 %.reg2mem32 = alloca i32 %storemerge216.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_1, label LBL_17 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 16 %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 store i64 %8, i64* %sv_3.0.reg2mem store i64 %5, i64* %rdi.0.reg2mem br i1 %10, label LBL_7, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 256, i64 4) store i64 %11, i64* %7, align 8 %12 = add i64 %5, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp ugt i32 %14, 1 %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i64* store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge216.reg2mem br i1 %15, label LBL_3, label LBL_6 LBL_3: %storemerge216.reload = load i32, i32* %storemerge216.reg2mem %.reload = load i64, i64* %.reg2mem %18 = load i64, i64* %17, align 8 %19 = mul i64 %.reload, 4 %20 = add i64 %18, %19 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add nsw i64 %24, 256 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i32 %27, i32* %.reg2mem32 store i32 0, i32* %storemerge314.reg2mem store i64 %25, i64* %sv_2.013.reg2mem store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %29, label LBL_4, label LBL_5 LBL_4: %sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem %storemerge314.reload = load i32, i32* %storemerge314.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %30 = mul i32 %storemerge314.reload, 7 %31 = add i64 %sv_2.013.reload, 4 %32 = add i32 %30, %.reload33 %33 = inttoptr i64 %31 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false store i32 %34, i32* %.reg2mem32 store i32 %32, i32* %storemerge314.reg2mem store i64 %31, i64* %sv_2.013.reg2mem store i32 %32, i32* %storemerge3.lcssa.reg2mem br i1 %36, label LBL_4, label LBL_5 LBL_5: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %37 = mul i32 %storemerge3.lcssa.reload, 4 %38 = and i32 %37, 1020 %39 = zext i32 %38 to i64 %40 = add i64 %11, %39 %41 = inttoptr i64 %40 to i32* store i32 %storemerge216.reload, i32* %41, align 4 %42 = add i32 %storemerge216.reload, 1 %43 = load i32, i32* %13, align 4 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i64 %45, i64* %.reg2mem store i32 %42, i32* %storemerge216.reg2mem br i1 %46, label LBL_3, label LBL_6 LBL_6: %47 = add i64 %5, 28 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = call i64 @FUNC(i64 256, i32 %49, i64 4, i64 16) store i64 %50, i64* %arg1, align 8 %51 = load i32, i32* %13, align 4 %52 = load i64, i64* %17, align 8 %53 = call i64 @FUNC(i64 %52, i32 %51, i64 4, i64 16) store i64 %53, i64* %17, align 8 store i64 %11, i64* %sv_3.0.reg2mem store i64 %52, i64* %rdi.0.reg2mem br label LBL_7 LBL_7: %54 = ptrtoint i64* %arg2 to i64 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %55 = bitcast i64* %arg2 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i32 %56, i32* %.reg2mem34 store i32 1, i32* %sv_0.010.reg2mem store i32 0, i32* %sv_1.09.reg2mem store i64 %54, i64* %sv_2.18.reg2mem store i64 0, i64* %sv_1.0.lcssa.reg2mem store i32 1, i32* %sv_0.0.lcssa.reg2mem br i1 %58, label LBL_8, label LBL_10 LBL_8: %sv_2.18.reload = load i64, i64* %sv_2.18.reg2mem %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem %.reload35 = load i32, i32* %.reg2mem34 %59 = mul i32 %sv_1.09.reload, 7 %60 = add i64 %sv_2.18.reload, 4 %61 = add i32 %59, %.reload35 %phitmp = add i32 %sv_0.010.reload, 1 %62 = inttoptr i64 %60 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i32 %63, i32* %.reg2mem34 store i32 %phitmp, i32* %sv_0.010.reg2mem store i32 %61, i32* %sv_1.09.reg2mem store i64 %60, i64* %sv_2.18.reg2mem br i1 %65, label LBL_8, label LBL_9 LBL_9: %phitmp18 = mul i32 %61, 4 %phitmp19 = and i32 %phitmp18, 1020 %phitmp20 = zext i32 %phitmp19 to i64 store i64 %phitmp20, i64* %sv_1.0.lcssa.reg2mem store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem br label LBL_10 LBL_10: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %66 = add i64 %sv_1.0.lcssa.reload, %sv_3.0.reload %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp eq i32 %68, 0 store i64 %rdi.0.reload, i64* %rdi.2.reg2mem br i1 %69, label LBL_15, label LBL_11 LBL_11: %70 = mul i32 %sv_0.0.lcssa.reload, 4 %71 = add i64 %5, 8 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = sext i32 %68 to i64 %75 = mul i64 %74, 4 %76 = add i64 %73, %75 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, %rdi.0.reload %82 = inttoptr i64 %81 to i64* %83 = call i32 @memcmp(i64* %82, i64* %arg2, i32 %70) %84 = icmp eq i32 %83, 0 %85 = icmp eq i1 %84, false store i32 %68, i32* %rax.0.shrunk.reg2mem br i1 %85, label LBL_12, label LBL_17 LBL_12: %86 = add i64 %5, 24 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp ugt i32 %88, 1 store i64 1, i64* %.reg2mem36 store i32 1, i32* %storemerge7.reg2mem store i64 %81, i64* %rdi.16.reg2mem store i64 %81, i64* %rdi.2.reg2mem br i1 %89, label LBL_13, label LBL_15 LBL_13: %rdi.16.reload = load i64, i64* %rdi.16.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.reload37 = load i64, i64* %.reg2mem36 %90 = load i64, i64* %72, align 8 %91 = mul i64 %.reload37, 4 %92 = add i64 %90, %91 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = sext i32 %94 to i64 %96 = mul i64 %95, 4 %97 = add i64 %96, %rdi.16.reload %98 = inttoptr i64 %97 to i64* %99 = call i32 @memcmp(i64* %98, i64* %arg2, i32 %70) %100 = icmp eq i32 %99, 0 %101 = icmp eq i1 %100, false store i32 %storemerge7.reload, i32* %rax.0.shrunk.reg2mem br i1 %101, label LBL_14, label LBL_17 LBL_14: %102 = add i32 %storemerge7.reload, 1 %103 = load i32, i32* %87, align 4 %104 = zext i32 %103 to i64 %105 = sext i32 %102 to i64 %106 = icmp slt i64 %105, %104 store i64 %105, i64* %.reg2mem36 store i32 %102, i32* %storemerge7.reg2mem store i64 %97, i64* %rdi.16.reg2mem store i64 %97, i64* %rdi.2.reg2mem br i1 %106, label LBL_13, label LBL_15 LBL_15: %107 = trunc i64 %arg3 to i32 %108 = icmp eq i32 %107, 0 %109 = icmp eq i1 %108, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %109, label LBL_16, label LBL_17 LBL_16: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %110 = add i64 %5, 28 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = call i64 @FUNC(i64 %rdi.2.reload, i32 %112, i32 %sv_0.0.lcssa.reload, i64 4, i64 16) store i64 %113, i64* %arg1, align 8 %114 = add i64 %5, 24 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = add i64 %5, 8 %118 = inttoptr i64 %117 to i64* %119 = load i64, i64* %118, align 8 %120 = call i64 @FUNC(i64 %119, i32 %116, i32 1, i64 4, i64 16) store i64 %120, i64* %118, align 8 %121 = mul i32 %sv_0.0.lcssa.reload, 4 %122 = load i32, i32* %111, align 4 %123 = sext i32 %122 to i64 %124 = mul i64 %123, 4 %125 = add i64 %124, %119 %126 = inttoptr i64 %125 to i64* %127 = call i64* @memcpy(i64* %126, i64* %arg2, i32 %121) %128 = load i64, i64* %118, align 8 %129 = load i32, i32* %115, align 4 %130 = sext i32 %129 to i64 %131 = mul i64 %130, 4 %132 = add i64 %131, %128 %133 = load i32, i32* %111, align 4 %134 = inttoptr i64 %132 to i32* store i32 %133, i32* %134, align 4 %135 = load i32, i32* %111, align 4 %136 = add i32 %135, %sv_0.0.lcssa.reload store i32 %136, i32* %111, align 4 %137 = load i32, i32* %115, align 4 store i32 %137, i32* %67, align 4 %138 = load i32, i32* %115, align 4 %139 = add i32 %138, 1 store i32 %139, i32* %115, align 4 store i32 %138, i32* %rax.0.shrunk.reg2mem br label LBL_17 LBL_17: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32* %111, { 1, 0, 2, 3, 4 } uselistorder i32 %storemerge7.reload, { 1, 0 } uselistorder i32* %87, { 1, 0 } uselistorder i32 %70, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 3, 0, 2 } uselistorder i32 %61, { 1, 0 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i32* %13, { 0, 2, 1 } uselistorder i64 %5, { 7, 6, 8, 4, 5, 3, 2, 1, 0, 9 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge216.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem32, { 2, 0, 1 } uselistorder i32* %storemerge314.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.013.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem34, { 2, 0, 1 } uselistorder i32* %sv_0.010.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.18.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem36, { 2, 0, 1 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.16.reg2mem, { 2, 0, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 (i64, i32, i32, i64, i64)* @solv_extend, { 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64 (i64, i32, i64, i64)* @solv_extend_resize, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 4, { 0, 1, 8, 9, 2, 3, 4, 5, 13, 10, 11, 14, 6, 7, 12 } uselistorder i1 false, { 3, 2, 4, 5, 1, 6, 0, 7, 8 } uselistorder i32 0, { 0, 8, 7, 9, 10, 11, 2, 6, 12, 3, 4, 5, 1, 13 } uselistorder i64* %arg2, { 2, 1, 3, 0, 4 } uselistorder label LBL_17, { 4, 1, 0, 2, 3 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
g364fb_screen_dump_16026
g364fb_screen_dump
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i8* %storemerge510.reg2mem = alloca i32 %.reg2mem34 = alloca i32 %.reg2mem32 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i8* %.reg2mem30 = alloca i32 %.reg2mem28 = alloca i32 %sv_1.07.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i8* %storemerge12.reg2mem = alloca i32 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 8 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %6 = call %_IO_FILE* @fopen(i8* %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %7 = ptrtoint %_IO_FILE* %6 to i64 %8 = icmp eq %_IO_FILE* %6, null store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_17, label LBL_3 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_10, label LBL_4 LBL_4: %15 = add i64 %9, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = add i64 %9, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* nonnull %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %18) %24 = load i32, i32* %16, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_16, label LBL_5 LBL_5: %.pre = load i32, i32* %20, align 4 store i32 %24, i32* %.reg2mem24 store i32 %.pre, i32* %.reg2mem26 store i32 0, i32* %storemerge12.reg2mem br label LBL_9 LBL_6: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %26 = call i32 @fputc(i32 0, %_IO_FILE* nonnull %6) %27 = add i32 %storemerge411.reload, 1 %28 = load i32, i32* %20, align 4 %29 = zext i32 %28 to i64 %30 = sext i32 %27 to i64 %31 = icmp slt i64 %30, %29 store i32 %27, i32* %storemerge411.reg2mem br i1 %31, label LBL_6, label LBL_7 LBL_7: %.pre13 = load i32, i32* %16, align 4 store i32 %.pre13, i32* %.reg2mem store i32 %28, i32* %.reg2mem22 br label LBL_8 LBL_8: %.reload23 = load i32, i32* %.reg2mem22 %.reload = load i32, i32* %.reg2mem %32 = add i32 %storemerge12.reload, 1 %33 = zext i32 %.reload to i64 %34 = sext i32 %32 to i64 %35 = icmp slt i64 %34, %33 store i32 %.reload, i32* %.reg2mem24 store i32 %.reload23, i32* %.reg2mem26 store i32 %32, i32* %storemerge12.reg2mem br i1 %35, label LBL_9, label LBL_16 LBL_9: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i32, i32* %.reg2mem24 %36 = icmp eq i32 %.reload27, 0 store i32 0, i32* %storemerge411.reg2mem store i32 %.reload25, i32* %.reg2mem store i32 0, i32* %.reg2mem22 br i1 %36, label LBL_8, label LBL_6 LBL_10: %37 = add i64 %9, 24 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %9, 16 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %9, 8 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = add i64 %9, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* nonnull %6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %50, i64 %46, i64 255) %52 = load i32, i32* %44, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_16, label LBL_11 LBL_11: %54 = sext i32 %42 to i64 %55 = add i64 %39, %54 %56 = inttoptr i64 %55 to i8* %.pre14 = load i32, i32* %48, align 4 store i32 %52, i32* %.reg2mem32 store i32 %.pre14, i32* %.reg2mem34 store i32 0, i32* %storemerge510.reg2mem store i8* %56, i8** %sv_0.19.reg2mem br label LBL_15 LBL_12: %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %sv_0.08.reload = load i8*, i8** %sv_0.08.reg2mem %57 = load i8, i8* %sv_0.08.reload, align 1 %58 = zext i8 %57 to i64 %59 = mul nuw nsw i64 %58, 3 %60 = add i64 %59, %9 %61 = add i64 %60, 32 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = zext i8 %63 to i32 %65 = call i32 @fputc(i32 %64, %_IO_FILE* nonnull %6) %66 = add i64 %60, 33 %67 = inttoptr i64 %66 to i8* %68 = load i8, i8* %67, align 1 %69 = zext i8 %68 to i32 %70 = call i32 @fputc(i32 %69, %_IO_FILE* nonnull %6) %71 = add i64 %60, 34 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = zext i8 %73 to i32 %75 = call i32 @fputc(i32 %74, %_IO_FILE* nonnull %6) %76 = add i32 %sv_1.07.reload, 1 %77 = ptrtoint i8* %sv_0.08.reload to i64 %78 = add i64 %77, 1 %79 = inttoptr i64 %78 to i8* %80 = load i32, i32* %48, align 4 %81 = zext i32 %80 to i64 %82 = sext i32 %76 to i64 %83 = icmp slt i64 %82, %81 store i8* %79, i8** %sv_0.08.reg2mem store i32 %76, i32* %sv_1.07.reg2mem br i1 %83, label LBL_12, label LBL_13 LBL_13: %.pre15 = load i32, i32* %44, align 4 store i32 %.pre15, i32* %.reg2mem28 store i32 %80, i32* %.reg2mem30 store i8* %79, i8** %sv_0.0.lcssa.reg2mem br label LBL_14 LBL_14: %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem %.reload31 = load i32, i32* %.reg2mem30 %.reload29 = load i32, i32* %.reg2mem28 %84 = add i32 %storemerge510.reload, 1 %85 = zext i32 %.reload29 to i64 %86 = sext i32 %84 to i64 %87 = icmp slt i64 %86, %85 store i32 %.reload29, i32* %.reg2mem32 store i32 %.reload31, i32* %.reg2mem34 store i32 %84, i32* %storemerge510.reg2mem store i8* %sv_0.0.lcssa.reload, i8** %sv_0.19.reg2mem br i1 %87, label LBL_15, label LBL_16 LBL_15: %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %.reload35 = load i32, i32* %.reg2mem34 %.reload33 = load i32, i32* %.reg2mem32 %88 = icmp eq i32 %.reload35, 0 store i8* %sv_0.19.reload, i8** %sv_0.08.reg2mem store i32 0, i32* %sv_1.07.reg2mem store i32 %.reload33, i32* %.reg2mem28 store i32 0, i32* %.reg2mem30 store i8* %sv_0.19.reload, i8** %sv_0.0.lcssa.reg2mem br i1 %88, label LBL_14, label LBL_12 LBL_16: %89 = call i32 @fclose(%_IO_FILE* nonnull %6) %90 = sext i32 %89 to i64 store i64 %90, 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 i8* %sv_0.19.reload, { 1, 0 } uselistorder i32* %48, { 1, 0, 2 } uselistorder i32* %20, { 1, 0, 2 } uselistorder i64 %9, { 0, 2, 1, 6, 7, 5, 4, 3 } uselistorder %_IO_FILE* %6, { 1, 2, 3, 4, 5, 0, 6, 7, 8 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge411.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem22, { 2, 0, 1 } uselistorder i8** %sv_0.08.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.07.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem28, { 1, 0, 2 } uselistorder i32* %.reg2mem30, { 1, 0, 2 } uselistorder i8** %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder label LBL_17, { 1, 0, 2 } uselistorder label LBL_16, { 1, 3, 0, 2 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
blkverify_err_263
blkverify_err
define i64 @FUNC(i64* %arg1, i8* %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 i64, i64* %1 %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 %11 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %12 = trunc i64 %3 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i128 %11) %15 = call i64 @FUNC(i128 %10) %16 = call i64 @FUNC(i128 %9) %17 = call i64 @FUNC(i128 %8) %18 = call i64 @FUNC(i128 %7) %19 = call i64 @FUNC(i128 %6) %20 = call i64 @FUNC(i128 %5) %21 = call i64 @FUNC(i128 %4) br label LBL_2 LBL_2: %22 = ptrtoint i64* %arg1 to i64 %23 = trunc i64 %2 to i32 store i32 16, i32* %sv_0, align 4 %24 = add i64 %22, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = add i64 %22, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i32 %23, 0 %32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %33 = select i1 %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0) %34 = trunc i64 %30 to i32 %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i8* %33, i32 %34, i64 %27) %36 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %37 = ptrtoint i32* %sv_0 to i64 %38 = call i32 @vfprintf(%_IO_FILE* %36, i8* %arg2, i64 %37) %39 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %40 = call i32 @fputc(i32 10, %_IO_FILE* %39) call void @exit(i32 1) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %22, { 1, 0 } uselistorder i64* %1, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i8 0, { 1, 0 } }
0
BinRealVul
handle_aiocb_rw_16328
handle_aiocb_rw
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem26 = alloca i64 %.lcssa.reg2mem = alloca i1 %sv_0.09.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %.reg2mem24 = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_2.012.reg2mem = alloca i64 %storemerge313.reg2mem = alloca i32 %.reg2mem22 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %.pre17 = ptrtoint i32* %arg1 to i64 br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = add i64 %.pre17, 16 %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_2 LBL_2: %11 = add i64 %.pre17, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %.pre17, i64 %15) store i64 %16, i64* %rax.0.reg2mem br label LBL_22 LBL_3: %17 = load i8, i8* inttoptr (i64 4210757 to i8*), align 1 %18 = icmp eq i8 %17, 0 br i1 %18, label LBL_7, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %.pre17) %20 = add i64 %.pre17, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, %19 store i64 %19, i64* %rax.0.reg2mem br i1 %23, label LBL_22, label LBL_5 LBL_5: %24 = icmp slt i64 %19, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i64 %19, -38 %or.cond = or i1 %26, %25 store i64 %19, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_22 LBL_6: store i8 0, i8* bitcast (i64* @gv_0 to i8*), align 8 br label LBL_7 LBL_7: %27 = add i64 %.pre17, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %.pre17, 32 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %29) %34 = urem i32 %2, 2 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_8, label LBL_9 LBL_8: %36 = call i64 @FUNC(i64 %.pre17, i64 %33) %37 = load i64, i64* %28, align 8 %38 = add i64 %.pre17, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp ne i32 %40, 0 %42 = icmp eq i64 %37, 0 %43 = icmp eq i1 %42, false %or.cond78 = icmp eq i1 %43, %41 store i1 %42, i1* %.lcssa.reg2mem br i1 %or.cond78, label LBL_15, label LBL_19 LBL_9: %44 = add i64 %.pre17, 16 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 0 store i64 %33, i64* %sv_2.0.lcssa.reg2mem br i1 %47, label LBL_12, label LBL_10 LBL_10: %48 = add i64 %.pre17, 24 %49 = inttoptr i64 %48 to i64* %.pre = load i64, i64* %49, align 8 store i64 %.pre, i64* %.reg2mem store i64 0, i64* %.reg2mem22 store i32 0, i32* %storemerge313.reg2mem store i64 %33, i64* %sv_2.012.reg2mem br label LBL_11 LBL_11: %sv_2.012.reload = load i64, i64* %sv_2.012.reg2mem %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %.reload23 = load i64, i64* %.reg2mem22 %.reload = load i64, i64* %.reg2mem %50 = mul i64 %.reload23, 16 %51 = add i64 %50, %.reload %52 = add i64 %51, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = inttoptr i64 %51 to i64* %56 = load i64, i64* %55, align 8 %57 = inttoptr i64 %sv_2.012.reload to i64* %58 = inttoptr i64 %56 to i64* %59 = trunc i64 %54 to i32 %60 = call i64* @memcpy(i64* %57, i64* %58, i32 %59) %61 = load i64, i64* %49, align 8 %62 = or i64 %50, 8 %63 = add i64 %61, %62 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = add i64 %65, %sv_2.012.reload %67 = add i32 %storemerge313.reload, 1 %68 = load i32, i32* %45, align 4 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i64 %61, i64* %.reg2mem store i64 %70, i64* %.reg2mem22 store i32 %67, i32* %storemerge313.reg2mem store i64 %66, i64* %sv_2.012.reg2mem store i64 %66, i64* %sv_2.0.lcssa.reg2mem br i1 %71, label LBL_11, label LBL_12 LBL_12: %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %72 = sub i64 %sv_2.0.lcssa.reload, %33 %73 = load i64, i64* %28, align 8 %74 = icmp eq i64 %72, %73 br i1 %74, label LBL_14, label LBL_13 LBL_13: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 62, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0)) br label LBL_14 LBL_14: %75 = call i64 @FUNC(i64 %.pre17, i64 %33) store i64 %75, i64* %.reg2mem26 br label LBL_21 LBL_15: %76 = add i64 %.pre17, 24 %77 = inttoptr i64 %76 to i64* store i64 0, i64* %.reg2mem24 store i32 0, i32* %storemerge11.reg2mem store i64 %37, i64* %sv_1.010.reg2mem store i64 %33, i64* %sv_0.09.reg2mem br label LBL_16 LBL_16: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %.reload25 = load i64, i64* %.reg2mem24 %78 = load i64, i64* %77, align 8 %79 = mul i64 %.reload25, 16 %80 = add i64 %78, %79 %81 = add i64 %80, 8 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = icmp ugt i64 %sv_1.010.reload, %83 %spec.select = select i1 %84, i64 %83, i64 %sv_1.010.reload %sv_3.0 = trunc i64 %spec.select to i32 %85 = inttoptr i64 %80 to i64* %86 = load i64, i64* %85, align 8 %87 = inttoptr i64 %86 to i64* %88 = inttoptr i64 %sv_0.09.reload to i64* %89 = call i64* @memcpy(i64* %87, i64* %88, i32 %sv_3.0) %sext = mul i64 %spec.select, 4294967296 %90 = ashr exact i64 %sext, 32 %91 = icmp ult i64 %sv_1.010.reload, %90 %92 = icmp eq i1 %91, false br i1 %92, label LBL_18, label LBL_17 LBL_17: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0)) br label LBL_18 LBL_18: %93 = add i64 %90, %sv_0.09.reload %94 = sub i64 %sv_1.010.reload, %90 %95 = add i32 %storemerge11.reload, 1 %96 = load i32, i32* %39, align 4 %97 = zext i32 %96 to i64 %98 = sext i32 %95 to i64 %99 = icmp slt i64 %98, %97 %100 = icmp eq i64 %94, 0 %101 = icmp eq i1 %100, false %or.cond7 = icmp eq i1 %101, %99 store i64 %98, i64* %.reg2mem24 store i32 %95, i32* %storemerge11.reg2mem store i64 %94, i64* %sv_1.010.reg2mem store i64 %93, i64* %sv_0.09.reg2mem store i1 %100, i1* %.lcssa.reg2mem br i1 %or.cond7, label LBL_16, label LBL_19 LBL_19: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem store i64 %36, i64* %.reg2mem26 br i1 %.lcssa.reload, label LBL_21, label LBL_20 LBL_20: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 76, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0)) store i64 %36, i64* %.reg2mem26 br label LBL_21 LBL_21: %.reload27 = load i64, i64* %.reg2mem26 %102 = call i64 @FUNC(i64 %33) store i64 %.reload27, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %90, { 1, 0, 2 } uselistorder i64 %sv_1.010.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_0.09.reload, { 1, 0 } uselistorder i64 %sv_2.012.reload, { 1, 0 } uselistorder i64* %49, { 1, 0 } uselistorder i32* %45, { 1, 0 } uselistorder i32* %39, { 1, 0 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %33, { 5, 0, 6, 4, 2, 1, 3 } uselistorder i64 %19, { 1, 2, 3, 0, 4 } uselistorder i64 %.pre17, { 2, 4, 1, 0, 3, 7, 5, 6, 10, 9, 12, 11, 8 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem22, { 1, 0, 2 } uselistorder i32* %storemerge313.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.012.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem24, { 1, 0, 2 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem26, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 2, 0 } uselistorder i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), { 1, 0, 2 } uselistorder i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), { 1, 0, 2 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 (i64, i64)* @handle_aiocb_rw_linear, { 2, 0, 1 } uselistorder i64 16, { 0, 1, 3, 2, 4 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5 } uselistorder i32 0, { 0, 1, 3, 2, 4, 5 } uselistorder label LBL_22, { 2, 1, 0, 3 } uselistorder label LBL_21, { 1, 2, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } }
1
BinRealVul
match_7001
match
define i64 @FUNC(i64* %arg1, i16 %arg2, i16 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %4, %7 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = add i64 %0, 2 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = add i64 %1, 2 %14 = inttoptr i64 %13 to i16* %15 = load i16, i16* %14, align 2 %16 = icmp eq i16 %12, %15 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_2 LBL_2: %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i16* %20 = load i16, i16* %19, align 2 %21 = icmp ne i16 %20, 0 %22 = icmp eq i16 %20, %arg2 %23 = icmp eq i1 %22, false %or.cond = icmp eq i1 %21, %23 br i1 %or.cond, label LBL_5, label LBL_3 LBL_3: %24 = trunc i64 %arg5 to i32 %25 = icmp eq i32 %24, 0 store i64 1, i64* %rax.0.reg2mem br i1 %25, label LBL_12, label LBL_4 LBL_4: %26 = add i64 %0, 34 %27 = inttoptr i64 %26 to i16* %28 = load i16, i16* %27, align 2 %29 = icmp eq i16 %28, %arg3 %30 = icmp eq i1 %29, false store i64 1, i64* %rax.0.reg2mem br i1 %30, label LBL_5, label LBL_12 LBL_5: %31 = add i64 %0, 20 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, %7 %35 = icmp eq i1 %34, false br i1 %35, label LBL_11, label LBL_6 LBL_6: %36 = add i64 %0, 18 %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = add i64 %1, 2 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 %42 = icmp eq i16 %38, %41 %43 = icmp eq i1 %42, false br i1 %43, label LBL_11, label LBL_7 LBL_7: %44 = add i64 %0, 40 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_11, label LBL_8 LBL_8: %48 = add i64 %0, 34 %49 = inttoptr i64 %48 to i16* %50 = load i16, i16* %49, align 2 %51 = icmp eq i16 %50, %arg3 store i64 1, i64* %rax.0.reg2mem br i1 %51, label LBL_12, label LBL_9 LBL_9: %52 = icmp eq i32 %46, 1 %53 = icmp eq i1 %52, false br i1 %53, label LBL_11, label LBL_10 LBL_10: %54 = add i64 %0, 36 %55 = inttoptr i64 %54 to i16* %56 = load i16, i16* %55, align 2 %57 = icmp eq i16 %56, %arg2 %58 = icmp eq i1 %57, false store i64 1, i64* %rax.0.reg2mem br i1 %58, label LBL_11, label LBL_12 LBL_11: store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 7, 6, 5, 4, 3, 0, 2, 1, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 4, 3 } uselistorder i64 1, { 1, 0, 3, 2 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 } uselistorder i16 %arg2, { 1, 0 } uselistorder label LBL_12, { 4, 1, 0, 3, 2 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
0
BinRealVul
TmModuleStreamTcpRegister_3967
TmModuleStreamTcpRegister
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8** @gv_1, align 8 store i64 4198733, i64* @gv_2, align 8 store i64 4198740, i64* @gv_3, align 8 store i64 4198747, i64* @gv_4, align 8 store i64 4198754, i64* @gv_5, align 8 store i64 4198761, i64* @gv_6, align 8 %1 = call i64 @FUNC(i64 262144, i64 32768, i64 4198810, i64 0, i64 4198817) store i64 %1, i64* @gv_7, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %4 = call i32 @pthread_mutex_init(i64* nonnull @gv_8, i64* null) %5 = sext i32 %4 to i64 ret i64 %5 uselistorder i32 1, { 1, 0 } }
0
BinRealVul
aspath_put_4269
aspath_put
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.017.reg2mem = alloca i64 %sv_1.118.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i64 %sv_3.09.reg2mem = alloca i64 %sv_2.010.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %sv_4.0.neg.lcssa.reg2mem = alloca i32 %sv_4.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %sv_4.04.reg2mem = alloca i32 %0 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_11 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = and i64 %8, 4294967295 %10 = trunc i64 %8 to i32 store i64 0, i64* %sv_1.118.reg2mem store i64 %1, i64* %sv_0.017.reg2mem br label LBL_10 LBL_3: %11 = inttoptr i64 %sv_0.017.reload to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %sv_0.017.reload, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = load i32, i32* @gv_0, align 4 %17 = icmp ugt i32 %15, %16 %18 = add i64 %sv_0.017.reload, 12 %19 = inttoptr i64 %18 to i32* %20 = add i64 %sv_0.017.reload, 16 %21 = inttoptr i64 %20 to i64* store i32 0, i32* %sv_4.04.reg2mem store i64 %sv_1.118.reload, i64* %sv_1.03.reg2mem store i64 %sv_1.118.reload, i64* %sv_1.0.lcssa.reg2mem store i32 0, i32* %sv_4.0.lcssa.reg2mem store i32 0, i32* %sv_4.0.neg.lcssa.reg2mem store i32 %15, i32* %.lcssa.reg2mem br i1 %17, label LBL_4, label LBL_6 LBL_4: %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %sv_4.04.reload = load i32, i32* %sv_4.04.reg2mem %22 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %23 = sext i32 %22 to i64 %24 = load i32, i32* %19, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %7, i64 %25, i64 %23) %27 = load i32, i32* @gv_0, align 4 %28 = sext i32 %27 to i64 %29 = load i64, i64* %21, align 8 %30 = call i64 @FUNC(i64 %7, i64 %29, i64 %28, i32 %10) %31 = load i32, i32* @gv_0, align 4 %32 = add i32 %31, %sv_4.04.reload %33 = sext i32 %31 to i64 %34 = call i64 @FUNC(i64 %33, i64 %9) %35 = add i64 %34, %sv_1.03.reload %36 = load i32, i32* %14, align 4 %37 = sub i32 %36, %32 %38 = load i32, i32* @gv_0, align 4 %39 = icmp ugt i32 %37, %38 store i32 %32, i32* %sv_4.04.reg2mem store i64 %35, i64* %sv_1.03.reg2mem br i1 %39, label LBL_4, label LBL_5 LBL_5: %sv_4.0.neg.le = sub i32 0, %32 store i64 %35, i64* %sv_1.0.lcssa.reg2mem store i32 %32, i32* %sv_4.0.lcssa.reg2mem store i32 %sv_4.0.neg.le, i32* %sv_4.0.neg.lcssa.reg2mem store i32 %37, i32* %.lcssa.reg2mem br label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_4.0.neg.lcssa.reload = load i32, i32* %sv_4.0.neg.lcssa.reg2mem %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %40 = sext i32 %.lcssa.reload to i64 %41 = load i32, i32* %19, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %7, i64 %42, i64 %40) %44 = load i32, i32* %14, align 4 %45 = sub i32 %44, %sv_4.0.lcssa.reload %46 = sext i32 %45 to i64 %47 = load i64, i64* %21, align 8 %48 = sext i32 %sv_4.0.lcssa.reload to i64 %49 = mul i64 %48, 4 %50 = add i64 %47, %49 %51 = call i64 @FUNC(i64 %7, i64 %50, i64 %46, i32 %10) %52 = icmp eq i64 %12, 0 store i32 0, i32* %sv_2.010.reg2mem store i64 %12, i64* %sv_3.09.reg2mem store i64 0, i64* %sv_3.0.lcssa.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %52, label LBL_9, label LBL_8 LBL_7: %53 = add i64 %sv_3.09.reload, 8 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = sext i32 %55 to i64 %57 = add i64 %sv_3.09.reload, 16 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %7, i64 %59, i64 %56, i32 %10) %61 = load i32, i32* %14, align 4 %62 = add i32 %61, %sv_4.0.neg.lcssa.reload %63 = load i32, i32* %54, align 4 %64 = add i32 %62, %63 %65 = sext i32 %64 to i64 %66 = call i64 @FUNC(i64 %7, i64 %43, i64 %65) %67 = load i32, i32* %54, align 4 %68 = add i32 %67, %sv_2.010.reload %69 = inttoptr i64 %sv_3.09.reload to i64* %70 = load i64, i64* %69, align 8 %71 = icmp eq i64 %70, 0 store i32 %68, i32* %sv_2.010.reg2mem store i64 %70, i64* %sv_3.09.reg2mem store i64 0, i64* %sv_3.0.lcssa.reg2mem store i32 %68, i32* %sv_2.0.lcssa.reg2mem br i1 %71, label LBL_9, label LBL_8 LBL_8: %sv_3.09.reload = load i64, i64* %sv_3.09.reg2mem %sv_2.010.reload = load i32, i32* %sv_2.010.reg2mem %72 = call i64 @FUNC(i64 %sv_0.017.reload, i64 %sv_3.09.reload) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 %sv_3.09.reload, i64* %sv_3.0.lcssa.reg2mem store i32 %sv_2.010.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %75, label LBL_7, label LBL_9 LBL_9: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sv_3.0.lcssa.reload = load i64, i64* %sv_3.0.lcssa.reg2mem %76 = load i32, i32* %14, align 4 %77 = add i32 %sv_2.0.lcssa.reload, %sv_4.0.neg.lcssa.reload %78 = add i32 %77, %76 %79 = sext i32 %78 to i64 %80 = call i64 @FUNC(i64 %79, i64 %9) %81 = add i64 %80, %sv_1.0.lcssa.reload %82 = icmp eq i64 %sv_3.0.lcssa.reload, 0 store i64 %81, i64* %sv_1.118.reg2mem store i64 %sv_3.0.lcssa.reload, i64* %sv_0.017.reg2mem store i64 %81, i64* %storemerge.reg2mem br i1 %82, label LBL_11, label LBL_10 LBL_10: %sv_0.017.reload = load i64, i64* %sv_0.017.reg2mem %sv_1.118.reload = load i64, i64* %sv_1.118.reg2mem %83 = call i64 @FUNC(i64 %sv_0.017.reload, i64 %9) %84 = call i64 @FUNC(i64 %7) %85 = icmp ugt i64 %83, %84 store i64 %sv_1.118.reload, i64* %storemerge.reg2mem br i1 %85, label LBL_11, label LBL_3 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.017.reload, { 5, 4, 2, 3, 1, 0 } uselistorder i64 %sv_3.09.reload, { 0, 4, 2, 3, 1 } uselistorder i32 %sv_4.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_4.0.neg.lcssa.reload, { 1, 0 } uselistorder i32 %32, { 0, 2, 1, 3 } uselistorder i32 %31, { 1, 0 } uselistorder i32* %14, { 0, 1, 2, 4, 3 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %9, { 2, 0, 1 } uselistorder i64 %7, { 6, 0, 1, 2, 3, 4, 5 } uselistorder i32* %sv_4.04.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.0.neg.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.010.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.09.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64)* @ASSEGMENT_SIZE, { 1, 0 } uselistorder i64 (i64, i64, i64, i32)* @assegment_data_put, { 2, 0, 1 } uselistorder i32* @gv_0, { 3, 2, 1, 0 } uselistorder i32 0, { 6, 0, 1, 5, 2, 3, 4, 7 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 0, 1, 3, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
helper_mullv_16122
helper_mullv
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = mul i64 %arg3, %arg2 %1 = add i64 %0, 2147483648 %2 = icmp ult i64 %1, 4294967296 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 %5, i64 %6, i64 1, i64 0) br label LBL_2 LBL_2: %sext = mul i64 %0, 4294967296 %8 = ashr exact i64 %sext, 32 ret i64 %8 }
1
BinRealVul
xmlrpc_parse_8209
xmlrpc_parse
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i8* @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i8* %1, null store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i8* %1 to i64 %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
backup_set_speed_18695
backup_set_speed
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp slt i64 %arg2, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = udiv i64 %arg2, 512 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %4, i64 %6, i64 1000) store i64 %7, 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 } }
1
BinRealVul
load_device_tree_11745
load_device_tree
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = bitcast i64* %arg2 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_2: %11 = mul i32 %7, 2 %12 = add i32 %11, 20000 %13 = sext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64 %arg1, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %14, i64 %4, i64 %2, i64 %1) store i64 %14, i64* %sv_0.0.reg2mem br label LBL_9 LBL_4: %20 = zext i32 %12 to i64 %21 = call i64 @FUNC(i64 %14, i64 %14, i32 %12) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %20, i64 %14, i64 %2, i64 %1) store i64 %14, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %25 = call i64 @FUNC(i64 %14) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %arg1, i64 %20, i64 %14, i64 %2, i64 %1) store i64 %14, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: store i32 %12, i32* %5, align 4 store i64 %14, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %29 = call i64 @FUNC(i64 %sv_0.0.reload) 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 %20, { 1, 0 } uselistorder i64 %14, { 0, 3, 7, 8, 2, 5, 6, 9, 10, 1, 4, 11 } uselistorder i32 %12, { 0, 2, 1, 3 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 3, 2, 1, 0 } uselistorder i64 (i64)* @get_image_size, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i64 %arg1, { 2, 1, 3, 0, 4 } }
1
BinRealVul
virtio_net_class_init_1608
virtio_net_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 store i64 4198662, i64* %arg1, align 8 %3 = inttoptr i64 %1 to i64* store i64 4198669, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198676, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198683, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 4198690, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 4198697, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 4198704, i64* %13, align 8 %14 = add i64 %0, 56 %15 = inttoptr i64 %14 to i64* store i64 4198711, i64* %15, align 8 %16 = add i64 %0, 64 %17 = inttoptr i64 %16 to i64* store i64 4198718, i64* %17, align 8 %18 = add i64 %0, 72 %19 = inttoptr i64 %18 to i64* store i64 4198725, i64* %19, align 8 %20 = add i64 %0, 80 %21 = inttoptr i64 %20 to i64* store i64 4198732, i64* %21, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } }
0
BinRealVul
userns_install_11305
userns_install
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC() %2 = icmp eq i64 %1, %0 %3 = icmp eq i1 %2, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_5 LBL_2: %10 = call i64 @FUNC(i64 %0, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_5 LBL_3: %14 = call i64 @FUNC() %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = inttoptr i64 %14 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %14, i64 %20) %22 = call i64 @FUNC(i64 %14) store i64 %22, 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 %14, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
1
BinRealVul
DefragTrackerInit_11441
DefragTrackerInit
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = add i64 %1, 16 %4 = add i64 %0, 16 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = add i64 %1, 32 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %1, 36 %14 = inttoptr i64 %13 to i32* store i32 2, i32* %14, align 4 br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = add i64 %1, 32 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = add i64 %1, 36 %20 = inttoptr i64 %19 to i32* store i32 10, i32* %20, align 4 br label LBL_3 LBL_3: %21 = add i64 %0, 32 %22 = inttoptr i64 %21 to i16* %23 = load i16, i16* %22, align 2 %24 = add i64 %1, 40 %25 = inttoptr i64 %24 to i16* store i16 %23, i16* %25, align 2 %26 = add i64 %0, 34 %27 = inttoptr i64 %26 to i16* %28 = load i16, i16* %27, align 2 %29 = add i64 %1, 42 %30 = inttoptr i64 %29 to i16* store i16 %28, i16* %30, align 2 %31 = call i64 @FUNC(i64 %0) %32 = trunc i64 %31 to i32 %33 = add i64 %1, 44 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = call i64 @FUNC(i64 %0) %36 = trunc i64 %35 to i32 %37 = add i64 %1, 48 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = add i64 %1, 52 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 %41 = add i64 %1, 56 %42 = inttoptr i64 %41 to i32* store i32 0, i32* %42, align 4 %43 = add i64 %1, 60 %44 = call i64 @FUNC(i64 %43) %45 = call i64 @FUNC(i64 %1) ret i64 %45 uselistorder i64 %1, { 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 12, 13 } uselistorder i64 60, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 (i64, i64)* @COPY_ADDRESS, { 1, 0 } }
1
BinRealVul
r128_cce_vertex_7031
r128_cce_vertex
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = trunc i64 %1 to i32 %15 = call i32 @getpid() %16 = zext i32 %10 to i64 %17 = zext i32 %13 to i64 %18 = and i64 %1, 4294967295 %19 = zext i32 %15 to i64 %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %18, i64 %17, i64 %16) %21 = icmp sgt i32 %14, -1 %.pre = load i32, i32* %7, align 4 %22 = icmp ugt i32 %.pre, %14 %or.cond = icmp eq i1 %21, %22 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %23 = add i32 %.pre, -1 %24 = zext i32 %23 to i64 %25 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %24) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %27 = add i64 %2, 12 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp ult i32 %29, 3 br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = zext i32 %29 to i64 %32 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %31) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %34 = ptrtoint i64* %arg3 to i64 %35 = add i64 %6, 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %sext = mul i64 %1, 4294967296 %38 = ashr exact i64 %sext, 29 %39 = add i64 %37, %38 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %44, %34 br i1 %45, label LBL_6, label LBL_5 LBL_5: %46 = call i32 @getpid() %47 = zext i32 %46 to i64 %48 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %49 = inttoptr i64 %44 to i64* %50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %48, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64 %47, i64* %49) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %51 = add i64 %41, 16 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_8, label LBL_7 LBL_7: %55 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %56 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %55, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %18) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %57 = inttoptr i64 %41 to i64* %58 = load i64, i64* %57, align 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %12, align 4 %61 = add i64 %41, 20 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = load i32, i32* %28, align 4 store i32 %63, i32* %59, align 4 %64 = load i32, i32* %9, align 4 %65 = add i64 %58, 4 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = call i64 @FUNC(i64 %3, i64 %41) 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 %41, { 0, 2, 4, 1, 3 } uselistorder i32 %29, { 1, 0 } uselistorder i64 %18, { 1, 2, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i64 4294967274, { 1, 0, 2, 3 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 3, 0 } uselistorder %_IO_FILE** @gv_1, { 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 ()* @getpid, { 1, 0 } }
0
BinRealVul
block_job_yield_214
block_job_yield
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i8* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %5) %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 1 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %5) br label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %5) store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
mp3_write_packet_14067
mp3_write_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %3 to i32 %9 = inttoptr i64 %7 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, %8 %12 = icmp eq i1 %11, false br i1 %12, label LBL_10, label LBL_1 LBL_1: %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_9, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 24) store i64 %17, i64* %sv_0, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_18 LBL_3: %20 = add i64 %3, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %17 to i64* store i64 %3, i64* %23, align 8 %24 = add i64 %17, 8 %25 = inttoptr i64 %24 to i64* store i64 %22, i64* %25, align 8 %26 = load i64, i64* %21, align 8 %27 = load i64, i64* %sv_0, align 8 %28 = call i64 @FUNC(i64 %26) %29 = add i64 %27, 8 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = load i64, i64* %sv_0, align 8 %32 = add i64 %31, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_5, label LBL_4 LBL_4: %37 = call i64 @FUNC(i64* nonnull %sv_0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %38 = add i64 %7, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %40, 0 br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = add i64 %40, 16 %43 = inttoptr i64 %42 to i64* store i64 %31, i64* %43, align 8 br label LBL_8 LBL_7: %44 = add i64 %7, 8 %45 = inttoptr i64 %44 to i64* store i64 %31, i64* %45, align 8 br label LBL_8 LBL_8: %46 = load i64, i64* %sv_0, align 8 store i64 %46, i64* %39, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_9: %47 = call i64 @FUNC(i64 %4, i64 %3) store i64 %47, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %sext = mul i64 %3, 4294967296 %48 = ashr exact i64 %sext, 29 %49 = add i64 %48, %4 %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 = icmp eq i32 %53, 1 %55 = icmp eq i1 %54, false br i1 %55, label LBL_12, label LBL_11 LBL_11: %56 = and i64 %3, 4294967295 %57 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %2, i64 %1) br label LBL_12 LBL_12: %58 = add i64 %7, 4 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp eq i32 %60, 0 store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_18, label LBL_13 LBL_13: %62 = load i64, i64* %50, align 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = icmp slt i32 %64, 1 store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_14, label LBL_18 LBL_14: %66 = add i64 %7, 24 %67 = call i64 @FUNC(i64 %4, i64 %66, i64 %3) %68 = trunc i64 %67 to i32 %69 = icmp slt i32 %68, 0 %70 = icmp eq i1 %69, false br i1 %70, label LBL_16, label LBL_15 LBL_15: %71 = and i64 %67, 4294967295 store i64 %71, i64* %rax.0.reg2mem br label LBL_18 LBL_16: %72 = load i32, i32* %59, align 4 %73 = add i32 %72, -1 store i32 %73, i32* %59, align 4 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_18, label LBL_17 LBL_17: %76 = call i64 @FUNC(i64 %4) %77 = trunc i64 %76 to i32 %78 = icmp slt i32 %77, 0 %79 = icmp eq i1 %78, false %80 = and i64 %76, 4294967295 %spec.select = select i1 %79, i64 0, i64 %80 ret i64 %spec.select LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %59, { 1, 0, 2 } uselistorder i64 %31, { 1, 0, 2 } uselistorder i64 %7, { 3, 2, 1, 0, 4, 5 } uselistorder i64* %sv_0, { 1, 0, 2, 3, 4 } uselistorder i64 %4, { 3, 4, 2, 0, 1, 5 } uselistorder i64 %3, { 6, 1, 0, 5, 2, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 8, 4, 3, 7, 1, 6, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 0, { 8, 1, 3, 2, 9, 10, 0, 12, 13, 14, 4, 5, 6, 7, 15, 11 } uselistorder i64 24, { 1, 0 } uselistorder label LBL_18, { 1, 5, 3, 2, 6, 0, 7, 4 } }
1
BinRealVul
hugetlb_vm_op_close_13708
hugetlb_vm_op_close
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 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = icmp eq i64 %2, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %1, i64 %0, i64 %0) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %1, i64 %0, i64 %8) %10 = sub i64 %9, %5 %11 = call i64 @FUNC(i64 %2, i64 %5, i64 %9) %12 = sub i64 %10, %11 %13 = call i64 @FUNC(i64 %0) %14 = icmp eq i64 %12, 0 store i64 %13, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = sub i64 0, %12 %16 = call i64 @FUNC(i64 %1, i64 %15) %17 = call i64 @FUNC(i64 %3, i64 %12) store i64 %17, 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 %12, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %0, { 0, 3, 2, 4, 1, 5, 6, 7 } uselistorder i64 (i64, i64, i64)* @vma_hugecache_offset, { 1, 0 } }
0
BinRealVul
init_smb3_11_server_6955
init_smb3_11_server
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %2, align 8 %3 = load i64, i64* @gv_2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i32* store i32 8, i32* %7, align 4 %8 = add i64 %0, 28 %9 = inttoptr i64 %8 to i32* store i32 64, i32* %9, align 4 %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 %12 = load i32, i32* @gv_3, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 store i32 %12, i32* %.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = bitcast i64* %rdi to i32* %16 = load i32, i32* %15, align 8 %17 = load i64, i64* %rdi, align 8 %18 = or i32 %16, 1 %19 = inttoptr i64 %17 to i32* store i32 %18, i32* %19, align 4 %.pre = load i32, i32* @gv_3, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %20 = and i32 %.reload, 2 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = bitcast i64* %rdi to i32* %23 = load i32, i32* %22, align 8 %24 = load i64, i64* %rdi, align 8 %25 = or i32 %23, 2 %26 = inttoptr i64 %24 to i32* store i32 %25, i32* %26, align 4 br label LBL_4 LBL_4: %27 = add i64 %0, 40 %28 = call i64 @FUNC(i64 %27) ret i64 0 uselistorder i64* %rdi, { 3, 1, 2, 0, 4 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 2, 0 } }
0
BinRealVul
io_uring_task_cancel_6424
io_uring_task_cancel
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 1) store i64 %4, 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
virtio_device_realize_14853
virtio_device_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i64, i64* %sv_0, align 8 %10 = icmp eq i64 %.pre, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 %.pre) store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %12 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) %13 = load i64, i64* %sv_0, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %0, i64 %13) store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_6: store i64 4198724, i64* %3, align 8 %16 = call i64 @FUNC(i64 %2, i64 %1) store i64 %16, 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 %.pre, { 1, 0 } uselistorder i64* %sv_0, { 2, 1, 0, 3 } uselistorder i64 %1, { 1, 2, 0, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
jas_matrix_clip_5593
jas_matrix_clip
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.08.reg2mem = alloca i32 %storemerge5.in9.reg2mem = alloca i64 %sv_1.011.reg2mem = alloca i32 %storemerge12.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 1 store i64 %3, i64* %rax.1.reg2mem br i1 %5, label LBL_13, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 1 store i64 %6, i64* %rax.1.reg2mem br i1 %8, label LBL_13, label LBL_2 LBL_2: %9 = add i64 %2, 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_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %14 = trunc i64 %1 to i32 %15 = call i64 @FUNC(i64 %2) %16 = load i64, i64* %10, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i32 %14, 0 %20 = icmp slt i32 %14, 0 %21 = icmp eq i1 %20, false %22 = icmp eq i1 %19, false %23 = icmp eq i1 %21, %22 store i64 %18, i64* %rax.1.reg2mem br i1 %23, label LBL_5, label LBL_13 LBL_5: %24 = add i64 %2, 4 %25 = inttoptr i64 %24 to i32* %26 = trunc i64 %arg2 to i32 %27 = trunc i64 %arg3 to i32 %sext6 = mul i64 %15, 4294967296 %28 = ashr exact i64 %sext6, 30 store i64 %18, i64* %storemerge12.reg2mem store i32 %14, i32* %sv_1.011.reg2mem br label LBL_6 LBL_6: %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %29 = load i32, i32* %25, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp slt i32 %29, 0 %32 = icmp eq i1 %31, false %33 = icmp eq i1 %30, false %34 = icmp eq i1 %32, %33 store i64 %storemerge12.reload, i64* %storemerge5.in9.reg2mem store i32 %29, i32* %sv_0.08.reg2mem br i1 %34, label LBL_7, label LBL_12 LBL_7: %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem %storemerge5.in9.reload = load i64, i64* %storemerge5.in9.reg2mem %storemerge510 = inttoptr i64 %storemerge5.in9.reload to i32* %35 = load i32, i32* %storemerge510, align 4 %36 = icmp slt i32 %35, %26 br i1 %36, label LBL_8, label LBL_9 LBL_8: store i32 %26, i32* %storemerge510, align 4 br label LBL_11 LBL_9: %37 = icmp sgt i32 %35, %27 br i1 %37, label LBL_10, label LBL_11 LBL_10: store i32 %27, i32* %storemerge510, align 4 br label LBL_11 LBL_11: %38 = add i32 %sv_0.08.reload, -1 %39 = add i64 %storemerge5.in9.reload, 4 %40 = icmp eq i32 %38, 0 %41 = icmp slt i32 %38, 0 %42 = icmp eq i1 %41, false %43 = icmp eq i1 %40, false %44 = icmp eq i1 %42, %43 store i64 %39, i64* %storemerge5.in9.reg2mem store i32 %38, i32* %sv_0.08.reg2mem br i1 %44, label LBL_7, label LBL_12 LBL_12: %45 = add i32 %sv_1.011.reload, -1 %46 = add i64 %storemerge12.reload, %28 %47 = icmp eq i32 %45, 0 %48 = icmp slt i32 %45, 0 %49 = icmp eq i1 %48, false %50 = icmp eq i1 %47, false %51 = icmp eq i1 %49, %50 store i64 %46, i64* %storemerge12.reg2mem store i32 %45, i32* %sv_1.011.reg2mem store i64 %28, i64* %rax.1.reg2mem br i1 %51, label LBL_6, label LBL_13 LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %storemerge12.reload, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i32 %14, { 0, 2, 1 } uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.011.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge5.in9.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.08.reg2mem, { 2, 0, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 7, 5, 6, 4, 2, 3, 0, 1, 8 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
add_push_report_sideband_pkt_6630
add_push_report_sideband_pkt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %sv_2.0.ph.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 store i64 0, i64* %sv_4, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %1, i64* %sv_2.0.ph.reg2mem store i64 %10, i64* %sv_1.0.ph.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %10) %12 = load i64, i64* %3, align 8 store i64 %10, i64* %sv_2.0.ph.reg2mem store i64 %12, i64* %sv_1.0.ph.reg2mem br label LBL_2 LBL_2: %13 = ptrtoint i64* %arg1 to i64 %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem store i64 %sv_2.0.ph.reload, i64* %sv_2.0.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem br label LBL_8 LBL_3: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %14 = call i64 @FUNC(i64* nonnull %sv_3, i64 %sv_2.0.reload, i64* nonnull %sv_4, i64 %sv_1.0.reload) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, -1 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = icmp eq i1 %7, false store i64 0, i64* %sv_0.04.reg2mem br i1 %18, label LBL_10, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %0, i64 %sv_2.0.reload, i64 %sv_1.0.reload) store i64 0, i64* %sv_0.02.reg2mem br label LBL_11 LBL_6: %20 = icmp slt i32 %15, 0 store i64 %14, i64* %sv_0.0.reg2mem br i1 %20, label LBL_9, label LBL_7 LBL_7: %21 = load i64, i64* %sv_4, align 8 %22 = add i64 %sv_1.0.reload, %sv_2.0.reload %23 = sub i64 %22, %21 %24 = load i64, i64* %sv_3, align 8 %25 = call i64 @FUNC(i64 %13, i64 %24) %26 = trunc i64 %25 to i32 %27 = load i64, i64* %sv_3, align 8 %28 = call i64 @FUNC(i64 %27) %29 = icmp slt i32 %26, 0 %30 = icmp eq i32 %26, -2 %31 = icmp eq i1 %30, false %or.cond = icmp eq i1 %29, %31 store i64 %21, i64* %sv_2.0.reg2mem store i64 %23, i64* %sv_1.0.reg2mem store i64 %25, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %32 = icmp eq i64 %sv_1.0.reload, 0 %33 = icmp eq i1 %32, false store i64 0, i64* %sv_0.0.reg2mem br i1 %33, label LBL_3, label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.04.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.02.reg2mem br i1 %7, label LBL_11, label LBL_10 LBL_10: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %34 = load i64, i64* %sv_4, align 8 %35 = call i64 @FUNC(i64 %0, i64 %34) store i64 %sv_0.04.reload, i64* %sv_0.02.reg2mem br label LBL_11 LBL_11: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %36 = and i64 %sv_0.02.reload, 4294967295 ret i64 %36 uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 } uselistorder i64 %sv_2.0.reload, { 1, 2, 0 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i64* %sv_4, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.04.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @git_buf_put, { 1, 0 } uselistorder i1 false, { 4, 0, 2, 3, 1, 5 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
copy_backptr_14574
copy_backptr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %sext3 = sub i64 0, %sext %1 = ashr exact i64 %sext3, 32 %2 = add i64 %1, %0 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp ult i64 %2, %5 %7 = icmp ugt i64 %2, %0 %or.cond = or i1 %7, %6 br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = or i32 %10, 1 store i32 %11, i32* %9, align 4 br label LBL_5 LBL_2: %sext2 = mul i64 %arg3, 4294967296 %12 = ashr exact i64 %sext2, 32 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = sub i64 %15, %0 %17 = icmp sgt i64 %12, %16 store i64 %12, i64* %.pre-phi.reg2mem store i64 %sext2, i64* %sv_0.0.in.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: %18 = icmp sgt i64 %16, 0 %19 = select i1 %18, i64 %16, i64 0 %sext5 = mul i64 %19, 4294967296 %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = or i32 %22, 2 store i32 %23, i32* %21, align 4 %.pre = ashr exact i64 %sext5, 32 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %sext5, i64* %sv_0.0.in.reg2mem br label LBL_4 LBL_4: %24 = and i64 %arg2, 4294967295 %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %25 = udiv i64 %sv_0.0.in.reload, 4294967296 %26 = call i64 @FUNC(i64 %0, i64 %24, i64 %25) %27 = add i64 %.pre-phi.reload, %0 store i64 %27, i64* %arg1, align 8 br label LBL_5 LBL_5: ret i64 %0 uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %0, { 3, 0, 4, 5, 8, 6, 7, 2, 9, 1 } uselistorder i64 4294967296, { 4, 0, 1, 2, 3 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
decode_blocks_15637
decode_blocks
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %storemerge23.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp sgt i32 %5, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %7 = trunc i64 %1 to i32 %8 = icmp sgt i32 %7, 0 store i32 0, i32* %storemerge4.reg2mem br label LBL_4 LBL_2: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %9 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge23.reload, i32 %storemerge4.reload) %10 = add nuw nsw i32 %storemerge23.reload, 1 %exitcond = icmp eq i32 %10, %7 store i32 %10, i32* %storemerge23.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %11 = add nuw nsw i32 %storemerge4.reload, 1 %exitcond6 = icmp eq i32 %11, %5 store i32 %11, i32* %storemerge4.reg2mem br i1 %exitcond6, label LBL_5, label LBL_4 LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem store i32 0, i32* %storemerge23.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_5: %phitmp = zext i32 %5 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i32 %storemerge23.reload, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i32* %storemerge23.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
cmd_meta_hsdmf_7646
cmd_meta_hsdmf
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %rdx.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.pre-phi8.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_3 = alloca i64, align 8 %6 = add i64 %arg2, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 br i1 %9, label LBL_14, label LBL_1 LBL_1: %10 = icmp ugt i8 %8, 63 %11 = icmp slt i8 %8, 32 %or.cond5 = or i1 %10, %11 br i1 %or.cond5, label LBL_35, label LBL_2 LBL_2: %12 = sext i8 %8 to i64 %13 = add nsw i64 %12, 4294967264 %14 = and i64 %13, 4294967295 store i64 %14, i64* @0, align 8 %trunc = trunc i64 %13 to i32 switch i32 %trunc, label LBL_35 [ i32 0, label LBL_14 i32 1, label LBL_11 i32 10, label LBL_10 i32 13, label LBL_4 i32 31, label LBL_3 ] LBL_3: %15 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_4: %16 = add i64 %arg2, 2 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 32 br i1 %19, label LBL_8, label LBL_5 LBL_5: %20 = icmp eq i8 %18, 42 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5.LBL_9_crit_edge, label LBL_7 LBL_6: %.pre = add i64 %5, 8 %.pre7 = inttoptr i64 %.pre to i64* store i64* %.pre7, i64** %.pre-phi8.reg2mem store i64 %5, i64* %sv_1.0.reg2mem br label LBL_9 LBL_7: %sext = mul i64 %arg2, 72057594037927936 %22 = ashr exact i64 %sext, 56 %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %5, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %25, i64 %22, i64 0, i64 -1, i64 0) %30 = trunc i64 %29 to i32 %31 = inttoptr i64 %28 to i32* store i32 %30, i32* %31, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_8: %32 = add i64 %arg2, 3 %33 = add i64 %5, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35, i64 %32) store i64* %34, i64** %.pre-phi8.reg2mem store i64 %36, i64* %sv_1.0.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem %sext9 = mul i64 %arg2, 72057594037927936 %37 = ashr exact i64 %sext9, 56 %38 = add i64 %5, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = load i64, i64* %.pre-phi8.reload, align 8 %42 = call i64 @FUNC(i64 %40, i64 %37, i64 %sv_1.0.reload, i64 1, i64 0) %43 = trunc i64 %42 to i32 %44 = inttoptr i64 %41 to i32* store i32 %43, i32* %44, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_10: %45 = add i64 %5, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %sext10 = mul i64 %arg2, 72057594037927936 %48 = ashr exact i64 %sext10, 56 %49 = and i64 %48, 4294967295 %50 = call i64 @FUNC(i64 %47, i64 %49, i64 1) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_11: %51 = add i64 %5, 16 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53, i64 1, i64 %5) %55 = call i64 @FUNC(i64 %5, i64 %54) %56 = icmp eq i64 %55, 0 br i1 %56, label LBL_13, label LBL_12 LBL_12: %57 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %4, i64 %2, i64 %1) %58 = load i64, i64* %52, align 8 %59 = call i64 @FUNC(i64 %58, i64 1, i64 %5, i64 %55) %60 = inttoptr i64 %55 to i64* call void @free(i64* %60) br label LBL_13 LBL_13: %61 = inttoptr i64 %54 to i64* call void @free(i64* %61) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_14: %62 = trunc i64 %arg2 to i8 %63 = sext i8 %62 to i32 %64 = icmp eq i8 %62, 122 br i1 %64, label LBL_17, label LBL_15 LBL_15: %65 = load i8, i8* %7, align 1 %66 = icmp eq i8 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_17, label LBL_16 LBL_16: %68 = add i64 %5, 16 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = zext i32 %63 to i64 %72 = call i64 @FUNC(i64 %70, i64 %71, i64 0) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_17: %73 = add i64 %arg2, 2 %74 = inttoptr i64 %73 to i8* %75 = call i8* @strdup(i8* %74) %76 = bitcast i64* %sv_3 to i8* %77 = call i8* @strncpy(i8* nonnull %76, i8* %75, i32 255) %78 = icmp eq i8 %62, 67 store i32 67, i32* %sv_2.1.reg2mem store i64 %5, i64* %sv_1.2.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %78, label LBL_33, label LBL_18 LBL_18: %79 = ptrtoint i8* %75 to i64 %80 = add i64 %5, 8 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = call i64 @FUNC(i64 %82, i64 %79) %84 = trunc i64 %83 to i32 %85 = icmp eq i8 %62, 102 %86 = icmp eq i1 %85, false store i32 %84, i32* %sv_0.0.reg2mem store i64 %79, i64* %rcx.0.reg2mem store i64 %79, i64* %rdx.0.reg2mem br i1 %86, label LBL_21, label LBL_19 LBL_19: %87 = call i8* @strchr(i8* %75, i32 32) %88 = icmp eq i8* %87, null store i32 %84, i32* %sv_0.0.reg2mem store i64 %79, i64* %rcx.0.reg2mem store i64 %79, i64* %rdx.0.reg2mem br i1 %88, label LBL_21, label LBL_20 LBL_20: %89 = ptrtoint i8* %87 to i64 %90 = add i64 %89, 1 %91 = add i64 %5, 40 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = zext i32 %93 to i64 %95 = add i64 %5, 32 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = add i64 %5, 24 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = call i64 @FUNC(i64 %100, i64 %5, i64 %97, i32 %93, i64 %90, i64 4294967295) %102 = trunc i64 %101 to i32 store i32 %102, i32* %sv_0.0.reg2mem store i64 %94, i64* %rcx.0.reg2mem store i64 %97, i64* %rdx.0.reg2mem store i64 %90, i64* %r8.0.reg2mem store i64 4294967295, i64* %r9.0.reg2mem br label LBL_21 LBL_21: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %103 = icmp eq i8 %62, 115 %104 = icmp eq i1 %103, false store i64 %5, i64* %sv_1.1.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %104, label LBL_24, label LBL_22 LBL_22: %105 = call i8* @strchr(i8* %75, i32 32) %106 = icmp eq i8* %105, null store i64 %5, i64* %sv_1.1.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %106, label LBL_24, label LBL_23 LBL_23: %107 = ptrtoint i8* %105 to i64 %108 = add i64 %107, 1 %109 = load i64, i64* %81, align 8 %110 = call i64 @FUNC(i64 %109, i64 %108) store i64 %110, i64* %sv_1.1.reg2mem store i64 %108, i64* %rdx.1.reg2mem br label LBL_24 LBL_24: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %111 = load i8, i8* %75, align 1 %112 = icmp ne i8 %111, 0 %113 = icmp slt i32 %sv_0.0.reload, 1 %or.cond = icmp eq i1 %113, %112 br i1 %or.cond, label LBL_31, label LBL_25 LBL_25: %114 = call i8* @strchr(i8* nonnull %75, i32 32) %115 = icmp eq i8* %114, null br i1 %115, label LBL_27, label LBL_26 LBL_26: store i8 0, i8* %114, align 1 %116 = ptrtoint i8* %114 to i64 %117 = add i64 %116, 1 %118 = inttoptr i64 %117 to i8* %119 = call i8* @strncpy(i8* nonnull %76, i8* %118, i32 255) store i32 %63, i32* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_33 LBL_27: %.not = icmp ne i1 %103, true %120 = icmp eq i1 %64, false %or.cond6 = icmp eq i1 %120, %.not br i1 %or.cond6, label LBL_29, label LBL_28 LBL_28: %121 = call i8* @strncpy(i8* nonnull %76, i8* nonnull %75, i32 255) %122 = call i64 @FUNC(i64 %5, i64 %sv_1.1.reload, i64* nonnull %sv_3, i64 255) store i32 115, i32* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_33 LBL_29: %123 = add i64 %5, 48 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = call i64 @FUNC(i64 %125, i64 %sv_1.1.reload) %127 = icmp eq i64 %126, 0 store i32 %63, i32* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %127, label LBL_33, label LBL_30 LBL_30: %128 = inttoptr i64 %126 to i64* %129 = load i64, i64* %128, align 8 %130 = inttoptr i64 %129 to i8* %131 = call i8* @strncpy(i8* nonnull %76, i8* %130, i32 255) store i32 %63, i32* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_33 LBL_31: %132 = icmp eq i32 %sv_0.0.reload, 0 %133 = icmp slt i32 %sv_0.0.reload, 0 %134 = icmp eq i1 %133, false %135 = icmp eq i1 %132, false %136 = icmp eq i1 %134, %135 store i32 %63, i32* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %136, label LBL_33, label LBL_32 LBL_32: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %137 = zext i32 %sv_0.0.reload to i64 %138 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %137, i64 %rdx.1.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %r9.0.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_36 LBL_33: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %139 = icmp eq i32 %sv_0.1.reload, 0 %140 = zext i1 %139 to i32 %spec.select = add i32 %sv_0.1.reload, %140 %141 = sext i32 %spec.select to i64 %142 = add i64 %sv_1.2.reload, %141 %143 = add i64 %5, 16 %144 = inttoptr i64 %143 to i64* %145 = load i64, i64* %144, align 8 %146 = call i64 @FUNC(i64 %145, i32 %sv_2.1.reload, i64 %sv_1.2.reload, i64 %142, i64* nonnull %sv_3) %147 = trunc i64 %146 to i32 %148 = icmp eq i32 %147, 0 %149 = icmp eq i1 %148, false store i64 1, i64* %storemerge.reg2mem br i1 %149, label LBL_36, label LBL_34 LBL_34: %150 = bitcast i8* %75 to i64* call void @free(i64* %150) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_35: %151 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_36 LBL_36: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i8* %114, { 1, 0, 2 } uselistorder i64 %sv_1.1.reload, { 4, 1, 2, 6, 3, 5, 0 } uselistorder i32 %sv_0.0.reload, { 5, 4, 7, 6, 1, 2, 3, 0, 8 } uselistorder i64 %79, { 0, 2, 1, 3, 4 } uselistorder i8* %76, { 1, 2, 0, 3 } uselistorder i8* %75, { 5, 2, 4, 3, 1, 0, 7, 6 } uselistorder i32 %63, { 3, 1, 2, 0, 4 } uselistorder i8 %62, { 4, 3, 0, 2, 1 } uselistorder i64 %55, { 1, 0, 2 } uselistorder i8 %8, { 3, 1, 0, 2 } uselistorder i64 %5, { 24, 21, 22, 1, 2, 17, 18, 20, 19, 23, 0, 16, 5, 7, 6, 8, 9, 10, 11, 14, 15, 13, 12, 3, 4 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 5, 2, 3, 4, 1, 6 } uselistorder i64* %sv_1.2.reg2mem, { 0, 5, 2, 3, 4, 1, 6 } uselistorder i32* %sv_0.1.reg2mem, { 0, 5, 2, 3, 4, 1, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 8, 9, 10, 1, 5, 4, 6, 7, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 2, 0 } uselistorder i8* (i8*, i8*, i32)* @strncpy, { 2, 0, 1, 3 } uselistorder i64 (i64, i64)* @r_num_math, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64, i64)* @r_meta_del, { 1, 0 } uselistorder i64 16, { 4, 5, 0, 1, 2, 3 } uselistorder i64 8, { 3, 1, 2, 0 } uselistorder i1 false, { 3, 4, 1, 0, 5, 6, 7, 2 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eprintf, { 1, 0, 2 } uselistorder i64 4294967295, { 0, 3, 1, 2 } uselistorder i8 32, { 1, 0 } uselistorder i8 0, { 2, 3, 4, 0, 5, 6, 1 } uselistorder i64 1, { 1, 7, 8, 15, 16, 17, 0, 4, 11, 12, 3, 13, 5, 14, 6, 2, 18, 9, 10 } uselistorder i64 %arg2, { 3, 8, 5, 0, 1, 6, 2, 7, 4, 9 } uselistorder label LBL_36, { 1, 7, 8, 9, 0, 4, 3, 5, 6, 2 } uselistorder label LBL_33, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
pcmcia_info_13957
pcmcia_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %storemerge23.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %storemerge23.pre = load i64, i64* @gv_0, align 8 store i64 %storemerge23.pre, i64* %storemerge23.reg2mem br label LBL_2 LBL_2: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %10 = icmp eq i64 %storemerge23.reload, 0 %11 = icmp eq i1 %10, false store i64 %storemerge23.reload, i64* %storemerge24.reg2mem store i64 %storemerge23.reload, i64* %storemerge2.lcssa.reg2mem br i1 %11, label LBL_3, label LBL_6 LBL_3: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %12 = inttoptr i64 %storemerge24.reload to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 store i64 ptrtoint ([6 x i8]* @gv_2 to i64), i64* %storemerge1.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add i64 %13, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 store i64 %20, i64* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %21 = inttoptr i64 %13 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %22, i64 %storemerge1.reload, i64 %2, i64 %1) %24 = add i64 %storemerge24.reload, 8 %25 = inttoptr i64 %24 to i64* %storemerge2 = load i64, i64* %25, align 8 %26 = icmp eq i64 %storemerge2, 0 %27 = icmp eq i1 %26, false store i64 %storemerge2, i64* %storemerge24.reg2mem store i64 %storemerge2, i64* %storemerge2.lcssa.reg2mem br i1 %27, label LBL_3, label LBL_6 LBL_6: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem ret i64 %storemerge2.lcssa.reload uselistorder i64 %storemerge24.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge23.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge24.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
parse_inline_19040
parse_inline
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i1 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 48 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, %3 %8 = add i64 %0, 72 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ugt i64 %7, %10 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_1 LBL_1: %12 = icmp eq i64 %arg4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_10, label LBL_2 LBL_2: %13 = ptrtoint i64* %arg3 to i64 %14 = ptrtoint i64* %arg1 to i64 %15 = add i64 %0, 80 %16 = icmp eq i64* %arg2, null %17 = icmp eq i64* %arg1, null %18 = icmp eq i1 %17, false store i64 0, i64* %sv_1.16.reg2mem store i64 0, i64* %sv_0.05.reg2mem br label LBL_9 LBL_3: %19 = add i64 %sv_1.01.reload, 1 %20 = icmp ult i64 %19, %arg4 %21 = icmp eq i1 %20, false store i64 %19, i64* %sv_1.01.reg2mem store i64 %19, i64* %sv_1.0.lcssa.reg2mem store i1 true, i1* %.lcssa.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem %22 = add i64 %sv_1.01.reload, %13 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i64 %26 = add i64 %15, %25 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 0 store i64 %sv_1.01.reload, i64* %sv_1.0.lcssa.reg2mem store i1 false, i1* %.lcssa.reg2mem br i1 %29, label LBL_3, label LBL_5 LBL_5: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem br i1 %16, label LBL_6, label LBL_7 LBL_6: %30 = sub i64 %sv_1.0.lcssa.reload, %sv_0.05.reload %31 = add i64 %sv_0.05.reload, %13 %32 = call i64 @FUNC(i64 %14, i64 %31, i64 %30) br label LBL_7 LBL_7: store i64 %sv_1.0.lcssa.reload, i64* %rax.0.reg2mem br i1 %.lcssa.reload, label LBL_10, label LBL_8 LBL_8: %33 = add i64 %sv_1.0.lcssa.reload, %14 %34 = add i64 %sv_1.0.lcssa.reload, 1 %sv_0.0.be = select i1 %18, i64 %33, i64 %sv_1.0.lcssa.reload %sv_1.1.be = select i1 %18, i64 %33, i64 %34 %35 = icmp ult i64 %sv_0.0.be, %arg4 store i64 %sv_1.1.be, i64* %sv_1.16.reg2mem store i64 %sv_0.0.be, i64* %sv_0.05.reg2mem store i64 %sv_0.0.be, i64* %rax.0.reg2mem br i1 %35, label LBL_9, label LBL_10 LBL_9: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem %36 = icmp ult i64 %sv_1.16.reload, %arg4 %37 = icmp eq i1 %36, false store i64 %sv_1.16.reload, i64* %sv_1.01.reg2mem store i64 %sv_1.16.reload, i64* %sv_1.0.lcssa.reg2mem store i1 true, i1* %.lcssa.reg2mem br i1 %37, label LBL_5, label LBL_4 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.16.reload, { 2, 1, 0 } uselistorder i64 %sv_1.0.lcssa.reload, { 3, 1, 4, 0, 2 } uselistorder i64 %sv_1.01.reload, { 0, 2, 1 } uselistorder i64* %sv_1.01.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 3, 0, 1, 2 } uselistorder i1* %.lcssa.reg2mem, { 3, 0, 1, 2 } uselistorder i1 true, { 1, 0 } uselistorder i1 false, { 1, 0, 3, 2 } uselistorder i64 %arg4, { 1, 3, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
BinRealVul
virtio_serial_device_exit_3121
virtio_serial_device_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = inttoptr i64 %13 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = load i64, i64* %12, align 8 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %12, align 8 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = load i64, i64* %12, align 8 %29 = call i64 @FUNC(i64 %28) br label LBL_2 LBL_2: %30 = call i64 @FUNC(i64 %0) ret i64 %30 uselistorder i64 %0, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 } }
0
BinRealVul
vga_precise_update_retrace_info_7704
vga_precise_update_retrace_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %.pre-phi3.reg2mem = alloca i64* %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %5 = ptrtoint i64* %sv_0 to i64 %6 = add i64 %4, 72 %7 = inttoptr i64 %6 to i32* %8 = trunc i64 %2 to i32 %9 = add i32 %8, 5 %10 = add i64 %4, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %4, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %4, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 2 %23 = udiv i32 %21, 16 %24 = and i32 %23, 2 %25 = or i32 %24, %22 %26 = mul i32 %25, 256 %27 = or i32 %26, %18 %28 = add i32 %27, 2 %29 = add i64 %4, 20 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %4, 24 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %4, 64 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = udiv i32 %37, 8 %39 = urem i32 %38, 2 %40 = add i64 %4, 68 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = and i32 %42, 12 %44 = zext i32 %43 to i64 %45 = add i64 %5, -80 %46 = add i64 %45, %44 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = shl i32 %9, %39 %50 = mul i32 %28, %49 store i32 %50, i32* %7, align 4 %51 = add i64 %4, 108 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_2, label LBL_1 LBL_1: %55 = mul i32 %50, %53 %56 = udiv i32 1000000000, %55 %57 = zext i32 %56 to i64 %58 = add i64 %4, 80 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 store i64* %59, i64** %.pre-phi3.reg2mem br label LBL_3 LBL_2: %60 = ashr i32 %48, 31 %61 = zext i32 %60 to i64 %62 = mul i64 %61, 4294967296 %63 = zext i32 %48 to i64 %64 = or i64 %62, %63 %65 = urem i32 %42, 2 %66 = icmp eq i32 %65, 0 %. = select i1 %66, i64 9, i64 8 %67 = sdiv i64 %64, %. %sext = mul i64 %67, 4294967296 %68 = ashr exact i64 %sext, 32 %69 = udiv i64 1000000000, %68 %70 = add i64 %4, 80 %71 = inttoptr i64 %70 to i64* store i64 %69, i64* %71, align 8 store i64* %71, i64** %.pre-phi3.reg2mem br label LBL_3 LBL_3: %72 = udiv i32 %15, 32 %73 = urem i32 %72, 4 %74 = urem i32 %15, 32 %75 = udiv i32 %21, 4 %76 = urem i32 %75, 2 %77 = udiv i32 %21, 64 %78 = and i32 %77, 2 %79 = or i32 %78, %76 %80 = mul i32 %79, 256 %81 = or i32 %80, %31 %82 = urem i32 %34, 16 %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %83 = add i64 %4, 88 %84 = inttoptr i64 %83 to i32* store i32 %81, i32* %84, align 4 %85 = add nuw nsw i32 %82, 1 %86 = add i32 %85, %81 %87 = add i64 %4, 92 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 %89 = add i32 %73, %12 %90 = add i64 %4, 96 %91 = inttoptr i64 %90 to i32* store i32 %89, i32* %91, align 4 %92 = add nuw nsw i32 %74, 1 %93 = add i32 %92, %89 %94 = add i64 %4, 100 %95 = inttoptr i64 %94 to i32* store i32 %93, i32* %95, align 4 %96 = add i64 %4, 104 %97 = inttoptr i64 %96 to i32* store i32 %49, i32* %97, align 4 %98 = load i64, i64* %.pre-phi3.reload, align 8 %99 = load i32, i32* %7, align 4 %100 = sext i32 %99 to i64 %101 = mul i64 %98, %100 %102 = call i128 @FUNC(i128 %3, i128 %3) %103 = call i128 @FUNC(i64 %101) %104 = call i128 @FUNC(i64 4741671816366391296) %105 = call i128 @FUNC(i128 %104, i128 %103) %106 = call i64 @FUNC(i128 %105) %107 = zext i32 %28 to i64 %108 = zext i32 %73 to i64 %109 = zext i32 %12 to i64 %110 = zext i32 %49 to i64 %111 = zext i32 %74 to i64 %112 = call i128 @__asm_movq.1(i64 %106) %113 = trunc i128 %112 to i64 %114 = bitcast i64 %113 to double %115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([198 x i8], [198 x i8]* @gv_0, i64 0, i64 0), double %114, i64 %110, i64 %109, i64 %108, i64 %111, i64 %107) %116 = sext i32 %115 to i64 ret i64 %116 uselistorder i32 %74, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %4, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 } uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i32 32, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 4, 2, 0, 1, 5, 6, 3 } }
1
BinRealVul
print_arrays_for_10996
print_arrays_for
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i8* %0) %2 = call %_IO_FILE* @fopen(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %3 = icmp eq %_IO_FILE* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load [13 x i8]*, [13 x i8]** @gv_3, align 8 %6 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %7 = getelementptr inbounds [13 x i8], [13 x i8]* %5, i64 0, i64 0 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_5, i64 0, i64 0), i8* %7, i8* %0) call void @exit(i32 1) unreachable LBL_2: %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0)) %10 = ptrtoint %_IO_FILE* %2 to i64 %11 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 256) %12 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 256) %13 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0), i64 256) %14 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 256) %15 = call i32 @putchar(i32 10) %16 = call i32 @fclose(%_IO_FILE* %2) %17 = sext i32 %16 to i64 ret i64 %17 uselistorder i64 (i64, i64, i8*, i64)* @print_array, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 3, 2, 1, 4 } }
1
BinRealVul
fsmVerify_11252
fsmVerify
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = load i32, i32* %1 %sv_2 = alloca i64, align 8 %4 = call i32* @__errno_location() %5 = load i32, i32* %4, align 4 %6 = call i64 @FUNC(i64 %arg2) %7 = call i64 @FUNC(i64 %arg1, i64 1, i64* nonnull %sv_2) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %7, 4294967295 store i64 %10, i64* %.reg2mem br label LBL_6 LBL_2: %11 = trunc i64 %6 to i32 %12 = and i32 %11, 61440 %13 = icmp eq i32 %12, 32768 %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 0, i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 0) %16 = call i64 @FUNC(i64 %arg1, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_5 LBL_4: %20 = inttoptr i64 %15 to i64* call void @free(i64* %20) store i64 3, i64* %.reg2mem br label LBL_6 LBL_5: %21 = call i64 @FUNC(i64 %15) %22 = inttoptr i64 %15 to i64* call void @free(i64* %22) store i64 2, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem ret i64 %.reload LBL_7: %23 = icmp eq i32 %12, 16384 %24 = icmp eq i1 %23, false br i1 %24, label LBL_13, label LBL_8 LBL_8: %25 = and i32 %3, 61440 %26 = icmp eq i32 %25, 16384 %27 = icmp eq i1 %26, false store i64 0, i64* %.reg2mem br i1 %27, label LBL_9, label LBL_6 LBL_9: %28 = icmp eq i32 %25, 40960 %29 = icmp eq i1 %28, false br i1 %29, label LBL_25, label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %sv_2) %31 = trunc i64 %30 to i32 %32 = or i32 %31, 2 %33 = icmp eq i32 %32, 2 br i1 %33, label LBL_12, label LBL_11 LBL_11: %34 = and i64 %30, 4294967295 store i64 %34, i64* %.reg2mem br label LBL_6 LBL_12: %35 = call i32* @__errno_location() store i32 %5, i32* %35, align 4 br label LBL_25 LBL_13: %36 = icmp eq i32 %12, 40960 %37 = icmp eq i1 %36, false br i1 %37, label LBL_18, label LBL_14 LBL_14: %38 = and i32 %3, 61440 %39 = icmp eq i32 %38, 40960 %40 = icmp eq i1 %39, false br i1 %40, label LBL_25, label LBL_15 LBL_15: %41 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i64 65536, i64* nonnull %sv_1) %42 = trunc i64 %41 to i32 %43 = call i32* @__errno_location() store i32 %5, i32* %43, align 4 %44 = icmp eq i32 %42, 0 br i1 %44, label LBL_17, label LBL_16 LBL_16: %45 = and i64 %41, 4294967295 store i64 %45, i64* %.reg2mem br label LBL_6 LBL_17: %46 = call i64 @FUNC(i64 %arg2) %47 = call i64 @FUNC(i64 %46, i64* nonnull %sv_0) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 store i64 0, i64* %.reg2mem br i1 %49, label LBL_25, label LBL_6 LBL_18: %50 = icmp eq i32 %12, 4096 %51 = icmp eq i1 %50, false br i1 %51, label LBL_20, label LBL_19 LBL_19: %52 = and i32 %3, 61440 %53 = icmp eq i32 %52, 4096 %54 = icmp eq i1 %53, false store i64 0, i64* %.reg2mem br i1 %54, label LBL_25, label LBL_6 LBL_20: %55 = icmp ne i32 %12, 8192 %56 = icmp eq i32 %12, 24576 %57 = icmp eq i1 %56, false %or.cond = icmp eq i1 %55, %57 br i1 %or.cond, label LBL_23, label LBL_21 LBL_21: %58 = and i32 %3, 61440 %59 = icmp ne i32 %58, 8192 %60 = icmp eq i32 %58, 24576 %61 = icmp eq i1 %60, false %or.cond5 = icmp eq i1 %59, %61 br i1 %or.cond5, label LBL_25, label LBL_22 LBL_22: %62 = call i64 @FUNC(i64 %arg2) %63 = icmp eq i64 %2, %62 %64 = icmp eq i1 %63, false store i64 0, i64* %.reg2mem br i1 %64, label LBL_25, label LBL_6 LBL_23: %65 = icmp eq i32 %12, 49152 %66 = icmp eq i1 %65, false br i1 %66, label LBL_25, label LBL_24 LBL_24: %67 = and i32 %3, 61440 %68 = icmp eq i32 %67, 49152 %69 = icmp eq i1 %68, false store i64 0, i64* %.reg2mem br i1 %69, label LBL_25, label LBL_6 LBL_25: %70 = call i64 @FUNC(i64 %arg1) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false %spec.select2 = select i1 %73, i32 %71, i32 2 %74 = icmp eq i32 %spec.select2, 0 %narrow7 = select i1 %74, i32 2, i32 %spec.select2 %spec.select6 = zext i32 %narrow7 to i64 store i64 %spec.select6, i64* %.reg2mem br label LBL_6 uselistorder i64 %15, { 2, 1, 0, 3 } uselistorder i32 %12, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i32 %5, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 2, 3, 4, 5, 9, 8, 6, 0, 10, 11, 7 } uselistorder i32 2, { 0, 3, 1, 2 } uselistorder i64 (i64)* @fsmUnlink, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 5, 0, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 (i64, i64, i64*)* @fsmStat, { 1, 0 } uselistorder i32 1, { 8, 7, 6, 2, 1, 0, 5, 3, 4 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_25, { 3, 4, 2, 1, 5, 6, 7, 0, 8 } uselistorder label LBL_6, { 0, 1, 2, 3, 4, 6, 7, 5, 9, 10, 8 } }
1
BinRealVul
ict_int_15219
ict_int
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %sv_2.04.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %0 = icmp sgt i32 %arg4, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_4 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg3 to i64 store i32 0, i32* %storemerge5.reg2mem store i64 %3, i64* %sv_2.04.reg2mem store i64 %2, i64* %sv_1.03.reg2mem store i64 %1, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %4 = inttoptr i64 %sv_0.02.reload to i32* %5 = load i32, i32* %4, align 4 %6 = load i32, i32* @gv_0, align 4 %7 = inttoptr i64 %sv_2.04.reload to i32* %8 = load i32, i32* %7, align 4 %9 = mul i32 %8, %6 %10 = add i32 %9, 32768 %11 = ashr i32 %10, 16 %12 = add i32 %11, %5 %13 = load i32, i32* @gv_1, align 4 %14 = inttoptr i64 %sv_1.03.reload to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, %13 %17 = add i32 %16, 32768 %18 = ashr i32 %17, 16 %19 = sub i32 %5, %18 %20 = load i32, i32* @gv_2, align 4 %21 = mul i32 %20, %8 %22 = add i32 %21, 32768 %23 = ashr i32 %22, 16 %24 = sub i32 %19, %23 %25 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %26 = mul i32 %25, %15 %27 = add i32 %26, 32768 %28 = ashr i32 %27, 16 %29 = add i32 %28, %5 %30 = add i64 %sv_0.02.reload, 4 store i32 %12, i32* %4, align 4 %31 = add i64 %sv_1.03.reload, 4 store i32 %24, i32* %14, align 4 %32 = add i64 %sv_2.04.reload, 4 store i32 %29, i32* %7, align 4 %33 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond = icmp eq i32 %33, %arg4 store i32 %33, i32* %storemerge5.reg2mem store i64 %32, i64* %sv_2.04.reg2mem store i64 %31, i64* %sv_1.03.reg2mem store i64 %30, i64* %sv_0.02.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %phitmp = zext i32 %arg4 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_4 LBL_4: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %sv_0.02.reload, { 1, 0 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.04.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 %arg4, { 1, 0, 2 } }
1
BinRealVul
nbd_reply_ready_1689
nbd_reply_ready
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.3.reg2mem = alloca i64 %rax.1.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 %5, i32* %.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %3) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, -11 store i64 %9, i64* %rax.3.reg2mem br i1 %11, label LBL_12, label LBL_2 LBL_2: %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2.LBL_5_crit_edge, label LBL_4 LBL_3: %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_4: store i32 0, i32* %4, align 4 br label LBL_8 LBL_5: %.reload = load i32, i32* %.reg2mem %14 = srem i32 %.reload, 1024 %15 = icmp ult i32 %14, 1024 br i1 %15, label LBL_6, label LBL_8 LBL_6: %16 = sext i32 %14 to i64 %17 = mul i64 %16, 8 %18 = add i64 %2, 8 %19 = add i64 %18, %17 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %21, i64 0) store i64 %23, i64* %rax.3.reg2mem br label LBL_12 LBL_8: %24 = add i64 %2, 8 store i64 0, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %25 = mul i64 %storemerge1.reload, 8 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 store i64 0, i64* %rax.1.reg2mem br i1 %29, label LBL_11, label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %28, i64 0) store i64 %30, i64* %rax.1.reg2mem br label LBL_11 LBL_11: %rax.1.reload = load i64, i64* %rax.1.reg2mem %31 = add nuw nsw i64 %storemerge1.reload, 1 %exitcond = icmp eq i64 %31, 1024 store i64 %31, i64* %storemerge1.reg2mem store i64 %rax.1.reload, i64* %rax.3.reg2mem br i1 %exitcond, label LBL_12, label LBL_9 LBL_12: %rax.3.reload = load i64, i64* %rax.3.reg2mem ret i64 %rax.3.reload uselistorder i32* %4, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.3.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64, i64)* @qemu_coroutine_enter, { 1, 0 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i32 1024, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_12, { 0, 2, 1 } }
0
BinRealVul
bpf_map_get_with_uref_13549
bpf_map_get_with_uref
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = icmp ult i64 %2, -4095 store i64 %2, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i64 @FUNC(i64 %2, i64 1) %5 = call i64 @FUNC() store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ssh_channelcmp_8017
ssh_channelcmp
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = icmp ult i32 %3, %4 %6 = icmp ugt i32 %3, %4 %. = zext i1 %6 to i64 %rax.0 = select i1 %5, i64 4294967295, i64 %. ret i64 %rax.0 uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
qemu_get_be64_1174
qemu_get_be64
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %1, 4294967296 %3 = call i64 @FUNC(i64 %0) %4 = and i64 %3, 4294967295 %5 = or i64 %4, %2 ret i64 %5 uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 } }
0
BinRealVul
ide_data_readl_9376
ide_data_readl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 24 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = and i8 %4, 8 %6 = icmp eq i8 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = inttoptr i64 %1 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %12, 4 store i64 %17, i64* %11, align 8 %18 = and i64 %16, 4294967295 store i64 %18, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %12, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
0
reposvul_c_test
SWFShape_setRenderHintingFlags_129
SWFShape_setRenderHintingFlags
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 4 %2 = inttoptr i64 %arg1 to i32* store i32 %1, i32* %2, align 4 %3 = call i64 @FUNC(i64 %arg1, i64 4) ret i64 %3 }
0
BinRealVul
kvm_irqchip_get_virq_15630
kvm_irqchip_get_virq
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %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 = add i32 %3, 31 %5 = ashr i32 %4, 5 %6 = icmp sgt i32 %4, 31 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* %9 = sext i32 %5 to i64 store i8 1, i8* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = mul i64 %indvars.iv.reload, 4 %11 = add i64 %10, %0 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sub i32 0, %13 %15 = sub i32 %14, 1 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 32 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = mul i64 %indvars.iv.reload, 32 %21 = add i64 %17, %20 %22 = and i64 %21, 4294967295 store i64 %22, i64* %storemerge.reg2mem br label LBL_7 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %23 = icmp slt i64 %indvars.iv.next, %9 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %24 = load i32, i32* %8, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false %27 = icmp eq i8 %sv_0.0.reload, 0 %or.cond = or i1 %27, %26 store i64 4294967268, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %0) store i8 0, i8* %sv_0.0.reg2mem br label LBL_1 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i8* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 0, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
jpc_bitstream_putbits_13422
jpc_bitstream_putbits
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp sgt i32 %0, -1 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 32 %or.cond = icmp eq i1 %2, %4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_1: %5 = urem i64 %1, 64 %phitmp = shl i64 -1, %5 %6 = and i64 %phitmp, %arg3 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 20, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %9 = add nsw i64 %1, 63 %10 = urem i64 %9, 64 %11 = add i32 %3, -1 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %11, i32* %.in.reg2mem store i64 %arg3, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_6 LBL_4: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge23 = lshr i64 %sv_0.05.reload, %10 %14 = urem i64 %storemerge23, 2 %15 = call i64 @FUNC(i64 %8, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_6 LBL_5: %.in.reload = load i32, i32* %.in.reg2mem %19 = mul i64 %sv_0.05.reload, 2 %20 = add i32 %.in.reload, -1 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %20, i32* %.in.reg2mem store i64 %19, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.05.reload, { 1, 0 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i32* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 -1, { 3, 2, 0, 1 } uselistorder label LBL_6, { 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
create_directory_config_7660
create_directory_config
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 528) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 0, i64 3, i64 0, i64 %arg1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %0) %4 = inttoptr i64 %0 to i64* store i64 %arg1, i64* %4, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %0, 20 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %0, 24 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %0, 28 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %0, 36 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %0, 40 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 %23 = add i64 %0, 48 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = add i64 %0, 56 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %0, 64 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %0, 68 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %0, 72 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %0, 80 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %34, align 8 %35 = add i64 %0, 88 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = add i64 %0, 96 %38 = inttoptr i64 %37 to i64* store i64 0, i64* %38, align 8 %39 = add i64 %0, 104 %40 = inttoptr i64 %39 to i64* store i64 0, i64* %40, align 8 %41 = add i64 %0, 112 %42 = inttoptr i64 %41 to i64* store i64 0, i64* %42, align 8 %43 = add i64 %0, 120 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 %45 = call i64 @FUNC(i64 %arg1, i64 16, i64 8) %46 = add i64 %0, 128 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %48 = call i64 @FUNC(i64 %arg1, i64 16, i64 8) %49 = add i64 %0, 136 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = add i64 %0, 144 %52 = inttoptr i64 %51 to i32* store i32 0, i32* %52, align 4 %53 = add i64 %0, 148 %54 = inttoptr i64 %53 to i32* store i32 0, i32* %54, align 4 %55 = add i64 %0, 152 %56 = inttoptr i64 %55 to i32* store i32 0, i32* %56, align 4 %57 = add i64 %0, 156 %58 = inttoptr i64 %57 to i32* store i32 0, i32* %58, align 4 %59 = add i64 %0, 160 %60 = inttoptr i64 %59 to i32* store i32 0, i32* %60, align 4 %61 = add i64 %0, 168 %62 = inttoptr i64 %61 to i64* store i64 0, i64* %62, align 8 %63 = add i64 %0, 176 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %64, align 8 %65 = add i64 %0, 184 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 %67 = add i64 %0, 192 %68 = inttoptr i64 %67 to i64* store i64 0, i64* %68, align 8 %69 = add i64 %0, 200 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %70, align 8 %71 = add i64 %0, 208 %72 = inttoptr i64 %71 to i64* store i64 0, i64* %72, align 8 %73 = add i64 %0, 216 %74 = inttoptr i64 %73 to i64* store i64 0, i64* %74, align 8 %75 = add i64 %0, 224 %76 = inttoptr i64 %75 to i64* store i64 0, i64* %76, align 8 %77 = add i64 %0, 232 %78 = inttoptr i64 %77 to i64* store i64 0, i64* %78, align 8 %79 = add i64 %0, 240 %80 = inttoptr i64 %79 to i64* store i64 0, i64* %80, align 8 %81 = add i64 %0, 248 %82 = inttoptr i64 %81 to i32* store i32 0, i32* %82, align 4 %83 = add i64 %0, 252 %84 = inttoptr i64 %83 to i32* store i32 0, i32* %84, align 4 %85 = add i64 %0, 256 %86 = inttoptr i64 %85 to i32* store i32 0, i32* %86, align 4 %87 = add i64 %0, 260 %88 = inttoptr i64 %87 to i32* store i32 0, i32* %88, align 4 %89 = add i64 %0, 264 %90 = inttoptr i64 %89 to i64* store i64 0, i64* %90, align 8 %91 = add i64 %0, 272 %92 = inttoptr i64 %91 to i64* store i64 0, i64* %92, align 8 %93 = add i64 %0, 280 %94 = inttoptr i64 %93 to i64* store i64 0, i64* %94, align 8 %95 = add i64 %0, 288 %96 = inttoptr i64 %95 to i64* store i64 0, i64* %96, align 8 %97 = add i64 %0, 296 %98 = inttoptr i64 %97 to i64* store i64 0, i64* %98, align 8 %99 = add i64 %0, 304 %100 = inttoptr i64 %99 to i64* store i64 0, i64* %100, align 8 %101 = add i64 %0, 312 %102 = inttoptr i64 %101 to i64* store i64 0, i64* %102, align 8 %103 = add i64 %0, 320 %104 = inttoptr i64 %103 to i32* store i32 0, i32* %104, align 4 %105 = add i64 %0, 324 %106 = inttoptr i64 %105 to i32* store i32 0, i32* %106, align 4 %107 = add i64 %0, 328 %108 = inttoptr i64 %107 to i32* store i32 0, i32* %108, align 4 %109 = add i64 %0, 336 %110 = inttoptr i64 %109 to i64* store i64 0, i64* %110, align 8 %111 = add i64 %0, 344 %112 = inttoptr i64 %111 to i64* store i64 0, i64* %112, align 8 %113 = add i64 %0, 352 %114 = inttoptr i64 %113 to i64* store i64 0, i64* %114, align 8 %115 = add i64 %0, 360 %116 = inttoptr i64 %115 to i32* store i32 0, i32* %116, align 4 %117 = add i64 %0, 364 %118 = inttoptr i64 %117 to i32* store i32 0, i32* %118, align 4 %119 = add i64 %0, 368 %120 = inttoptr i64 %119 to i32* store i32 0, i32* %120, align 4 %121 = add i64 %0, 372 %122 = inttoptr i64 %121 to i32* store i32 0, i32* %122, align 4 %123 = add i64 %0, 376 %124 = inttoptr i64 %123 to i32* store i32 0, i32* %124, align 4 %125 = call i64 @FUNC(i64 %arg1) %126 = add i64 %0, 384 %127 = inttoptr i64 %126 to i64* store i64 %125, i64* %127, align 8 %128 = call i64 @FUNC(i64 %arg1, i64 16, i64 8) %129 = add i64 %0, 392 %130 = inttoptr i64 %129 to i64* store i64 %128, i64* %130, align 8 %131 = add i64 %0, 400 %132 = inttoptr i64 %131 to i64* store i64 0, i64* %132, align 8 %133 = add i64 %0, 408 %134 = inttoptr i64 %133 to i32* store i32 0, i32* %134, align 4 %135 = add i64 %0, 412 %136 = inttoptr i64 %135 to i32* store i32 0, i32* %136, align 4 %137 = add i64 %0, 416 %138 = inttoptr i64 %137 to i64* store i64 0, i64* %138, align 8 %139 = add i64 %0, 424 %140 = inttoptr i64 %139 to i32* store i32 0, i32* %140, align 4 %141 = add i64 %0, 428 %142 = inttoptr i64 %141 to i32* store i32 0, i32* %142, align 4 %143 = add i64 %0, 432 %144 = inttoptr i64 %143 to i64* store i64 0, i64* %144, align 8 %145 = add i64 %0, 440 %146 = inttoptr i64 %145 to i32* store i32 0, i32* %146, align 4 %147 = add i64 %0, 444 %148 = inttoptr i64 %147 to i32* store i32 0, i32* %148, align 4 %149 = add i64 %0, 448 %150 = inttoptr i64 %149 to i64* store i64 0, i64* %150, align 8 %151 = add i64 %0, 456 %152 = inttoptr i64 %151 to i64* store i64 0, i64* %152, align 8 %153 = add i64 %0, 464 %154 = inttoptr i64 %153 to i64* store i64 0, i64* %154, align 8 %155 = add i64 %0, 472 %156 = inttoptr i64 %155 to i64* store i64 0, i64* %156, align 8 %157 = add i64 %0, 480 %158 = inttoptr i64 %157 to i64* store i64 0, i64* %158, align 8 %159 = add i64 %0, 488 %160 = inttoptr i64 %159 to i64* store i64 0, i64* %160, align 8 %161 = add i64 %0, 496 %162 = inttoptr i64 %161 to i64* store i64 0, i64* %162, align 8 %163 = add i64 %0, 504 %164 = inttoptr i64 %163 to i64* store i64 0, i64* %164, align 8 %165 = add i64 %0, 512 %166 = inttoptr i64 %165 to i64* store i64 0, i64* %166, align 8 %167 = add i64 %0, 520 %168 = inttoptr i64 %167 to i64* store i64 0, i64* %168, align 8 store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @apr_array_make, { 2, 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 8, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64)* @apr_pcalloc, { 2, 1, 0 } uselistorder i32 1, { 2, 1, 0, 3 } uselistorder i64 %arg1, { 0, 1, 2, 3, 5, 4, 6 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
add_codec_17438
add_codec
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %xmm1.1.reg2mem = alloca i128 %xmm1.0.reg2mem = alloca i128 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = trunc i64 %2 to i32 switch i32 %5, label LBL_42 [ i32 1, label LBL_1 i32 2, label LBL_7 ] LBL_1: %6 = add i64 %4, 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_3, label LBL_2 LBL_2: store i32 64000, i32* %7, align 4 br label LBL_3 LBL_3: %11 = add i64 %4, 8 %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 br i1 %15, label LBL_5, label LBL_4 LBL_4: store i32 22050, i32* %12, align 4 br label LBL_5 LBL_5: %16 = add i64 %4, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_43, label LBL_6 LBL_6: store i32 1, i32* %17, align 4 br label LBL_43 LBL_7: %21 = add i64 %4, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: store i32 64000, i32* %22, align 4 br label LBL_9 LBL_9: %26 = add i64 %4, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = add i64 %4, 20 %32 = inttoptr i64 %31 to i32* store i32 5, i32* %32, align 4 store i32 1, i32* %27, align 4 br label LBL_11 LBL_11: %33 = add i64 %4, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 %.pre = add i64 %4, 28 %.pre1 = inttoptr i64 %.pre to i32* br i1 %36, label LBL_13, label LBL_12 LBL_12: %37 = load i32, i32* %.pre1, align 4 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_14, label LBL_13 LBL_13: store i32 160, i32* %34, align 4 store i32 128, i32* %.pre1, align 4 br label LBL_14 LBL_14: %40 = add i64 %4, 32 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_16, label LBL_15 LBL_15: %45 = load i32, i32* %22, align 4 %46 = load i32, i32* %27, align 4 %47 = sext i32 %46 to i64 %48 = sext i32 %45 to i64 %49 = mul nsw i64 %47, %48 %50 = add i64 %4, 20 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = sext i32 %52 to i64 %54 = udiv i64 %49, %53 %55 = sdiv i32 %45, 8 %56 = sext i32 %55 to i64 %57 = sub i64 %54, %56 %58 = xor i64 %54, %56 %59 = xor i64 %57, %54 %60 = and i64 %59, %58 %61 = icmp slt i64 %60, 0 %62 = icmp slt i64 %57, 0 %63 = icmp eq i1 %62, %61 %64 = select i1 %63, i64 %54, i64 %56 store i64 %64, i64* %41, align 8 br label LBL_16 LBL_16: %65 = add i64 %4, 40 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_18, label LBL_17 LBL_17: store i32 3, i32* %66, align 4 br label LBL_18 LBL_18: %70 = add i64 %4, 44 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 %74 = icmp eq i1 %73, false br i1 %74, label LBL_20, label LBL_19 LBL_19: store i32 31, i32* %71, align 4 br label LBL_20 LBL_20: %75 = add i64 %4, 48 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_22, label LBL_21 LBL_21: store i32 3, i32* %76, align 4 br label LBL_22 LBL_22: %80 = call i128 @FUNC(i64 4602678819172646912) %81 = call i64 @__asm_movsd.1(i128 %80) %82 = add i64 %4, 56 %83 = inttoptr i64 %82 to i64* store i64 %81, i64* %83, align 8 %84 = call i128 @FUNC(i64 4602678819172646912) %85 = call i64 @__asm_movsd.1(i128 %84) %86 = add i64 %4, 64 %87 = inttoptr i64 %86 to i64* store i64 %85, i64* %87, align 8 %88 = add i64 %4, 72 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_24, label LBL_23 LBL_23: store i32 8, i32* %89, align 4 br label LBL_24 LBL_24: %93 = add i64 %4, 76 %94 = inttoptr i64 %93 to i32* store i32 0, i32* %94, align 4 %95 = add i64 %4, 80 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = icmp eq i32 %97, 0 %99 = icmp eq i1 %98, false br i1 %99, label LBL_26, label LBL_25 LBL_25: store i32 1, i32* %96, align 4 br label LBL_26 LBL_26: %100 = call i128 @FUNC(i64 4607182418800017408) %101 = call i64 @__asm_movsd.1(i128 %100) %102 = add i64 %4, 88 %103 = inttoptr i64 %102 to i64* store i64 %101, i64* %103, align 8 %104 = add i64 %4, 96 %105 = inttoptr i64 %104 to i64* %106 = load i64, i64* %105, align 8 %107 = icmp eq i64 %106, 0 %108 = icmp eq i1 %107, false br i1 %108, label LBL_28, label LBL_27 LBL_27: store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %105, align 8 br label LBL_28 LBL_28: %109 = trunc i64 %106 to i8 %110 = call i8 @llvm.ctpop.i8(i8 %109), !range !82 %111 = urem i8 %110, 2 %112 = icmp eq i8 %111, 0 %113 = add i64 %4, 104 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = call i128 @FUNC(i64 %115) %117 = call i128 @FUNC(i128 %3, i128 %3) call void @FUNC(i128 %116, i128 %117) store i128 %117, i128* %xmm1.0.reg2mem br i1 %112, label LBL_31, label LBL_29 LBL_29: %118 = call i128 @FUNC(i128 %117, i128 %117) call void @FUNC(i128 %116, i128 %118) store i128 %118, i128* %xmm1.0.reg2mem br i1 %108, label LBL_31, label LBL_30 LBL_30: %119 = call i128 @FUNC(i64 -4617991057905706598) %120 = call i64 @__asm_movsd.1(i128 %119) store i64 %120, i64* %114, align 8 store i128 %118, i128* %xmm1.0.reg2mem br label LBL_31 LBL_31: %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem %121 = add i64 %4, 112 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = call i128 @FUNC(i64 %123) %125 = call i128 @FUNC(i128 %xmm1.0.reload, i128 %xmm1.0.reload) call void @FUNC(i128 %124, i128 %125) store i128 %125, i128* %xmm1.1.reg2mem br i1 %112, label LBL_34, label LBL_32 LBL_32: %126 = call i128 @FUNC(i128 %125, i128 %125) call void @FUNC(i128 %124, i128 %126) store i128 %126, i128* %xmm1.1.reg2mem br i1 %108, label LBL_34, label LBL_33 LBL_33: %127 = call i128 @FUNC(i64 4608308318706860032) %128 = call i64 @__asm_movsd.1(i128 %127) store i64 %128, i64* %122, align 8 store i128 %126, i128* %xmm1.1.reg2mem br label LBL_34 LBL_34: %xmm1.1.reload = load i128, i128* %xmm1.1.reg2mem %129 = add i64 %4, 120 %130 = inttoptr i64 %129 to i64* %131 = load i64, i64* %130, align 8 %132 = call i128 @FUNC(i64 %131) %133 = call i128 @FUNC(i128 %xmm1.1.reload, i128 %xmm1.1.reload) call void @FUNC(i128 %132, i128 %133) br i1 %112, label LBL_37, label LBL_35 LBL_35: %134 = call i128 @FUNC(i128 %133, i128 %133) call void @FUNC(i128 %132, i128 %134) br i1 %108, label LBL_37, label LBL_36 LBL_36: %135 = call i128 @FUNC(i64 4608308318706860032) %136 = call i64 @__asm_movsd.1(i128 %135) store i64 %136, i64* %130, align 8 br label LBL_37 LBL_37: %137 = add i64 %4, 128 %138 = inttoptr i64 %137 to i64* %139 = load i64, i64* %138, align 8 %140 = icmp eq i64 %139, 0 %141 = icmp eq i1 %140, false store i64 %139, i64* %.reg2mem br i1 %141, label LBL_39, label LBL_38 LBL_38: %142 = load i32, i32* %22, align 4 %143 = mul i32 %142, 2 %144 = sext i32 %143 to i64 store i64 %144, i64* %138, align 8 store i64 %144, i64* %.reg2mem br label LBL_39 LBL_39: %.reload = load i64, i64* %.reg2mem %145 = icmp eq i64 %.reload, 0 br i1 %145, label LBL_43, label LBL_40 LBL_40: %146 = add i64 %4, 136 %147 = inttoptr i64 %146 to i64* %148 = load i64, i64* %147, align 8 %149 = icmp eq i64 %148, 0 %150 = icmp eq i1 %149, false br i1 %150, label LBL_43, label LBL_41 LBL_41: store i64 %.reload, i64* %147, align 8 br label LBL_43 LBL_42: call void @abort() unreachable LBL_43: %151 = call i64 @FUNC(i64 8) %152 = icmp eq i64 %151, 0 store i64 0, i64* %rax.0.reg2mem br i1 %152, label LBL_45, label LBL_44 LBL_44: %153 = ptrtoint i64* %arg1 to i64 %154 = call i64 @FUNC(i64 0) %155 = inttoptr i64 %151 to i64* store i64 %154, i64* %155, align 8 %156 = add i64 %153, 8 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = add i32 %158, 1 store i32 %159, i32* %157, align 4 %160 = sext i32 %158 to i64 %161 = mul i64 %160, 8 %162 = inttoptr i64 %161 to i64* store i64 %151, i64* %162, align 8 %163 = load i64, i64* %155, align 8 %164 = inttoptr i64 %163 to i64* %165 = call i64* @memcpy(i64* %164, i64* %arg2, i32 144) %166 = ptrtoint i64* %165 to i64 store i64 %166, i64* %rax.0.reg2mem br label LBL_45 LBL_45: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %133, { 1, 0, 2 } uselistorder i128 %125, { 2, 1, 0, 3 } uselistorder i128 %117, { 2, 1, 0, 3 } uselistorder i1 %108, { 2, 1, 0, 3 } uselistorder i64 %57, { 1, 0 } uselistorder i64 %56, { 0, 2, 1 } uselistorder i64 %54, { 1, 0, 3, 2 } uselistorder i32* %27, { 1, 0, 2 } uselistorder i32* %22, { 1, 0, 2, 3 } uselistorder i64 %4, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 16, 0, 18, 20, 19, 21, 22, 23, 24 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32 8, { 2, 0, 1 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_43, { 2, 1, 0, 4, 3 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
qemu_chr_open_pp_15778
qemu_chr_open_pp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i64 2) %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 = call i32* @__errno_location() %7 = load i32, i32* %6, align 4 %8 = sub i32 0, %7 %9 = zext i32 %8 to i64 store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 24) %sext = mul i64 %2, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = inttoptr i64 %10 to i64* store i64 %11, i64* %12, align 8 %13 = add i64 %10, 8 %14 = inttoptr i64 %13 to i64* store i64 4198832, i64* %14, align 8 %15 = add i64 %10, 16 %16 = inttoptr i64 %15 to i64* store i64 4198852, i64* %16, align 8 store i64 %10, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
install_relocation_handler_19248
install_relocation_handler
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 1024, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
start_auth_vencrypt_subauth_16007
start_auth_vencrypt_subauth
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp sgt i32 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_5 LBL_2: %6 = or i32 %2, 1 %7 = icmp eq i32 %6, 3 br i1 %7, label LBL_4, label LBL_5 LBL_3: %8 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) %9 = ptrtoint i32* %arg1 to i64 %10 = call i64 @FUNC(i64 %9, i64 0) %11 = call i64 @FUNC(i64 %9) store i64 %11, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %12 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) %13 = ptrtoint i32* %arg1 to i64 %14 = call i64 @FUNC(i64 %13) store i64 %14, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %15 = ptrtoint i32* %arg1 to i64 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %19) %21 = call i64 @FUNC(i64 %15, i64 1) %22 = add i64 %15, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp slt i32 %24, 8 br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %15, i64 32) %27 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 32) br label LBL_7 LBL_7: %28 = call i64 @FUNC(i64 %15) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 2, 1, 0, 4, 3, 5 } uselistorder i32 %2, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i64)* @vnc_write_u32, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32* %arg1, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
nfs4_state_end_reclaim_reboot_9845
nfs4_state_end_reclaim_reboot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 %0) %2 = and i64 %1, 4294967295 %3 = xor i64 %2, 1 %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = add i64 %0, 8 %8 = call i64 @FUNC(i64 %7) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %storemerge6.reg2mem br i1 %10, label LBL_2, label LBL_7 LBL_2: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %11 = add i64 %storemerge6.reload, 32 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %storemerge6.reload, 16 %storemerge1.in2 = inttoptr i64 %13 to i64* %storemerge13 = load i64, i64* %storemerge1.in2, align 8 %14 = icmp eq i64 %storemerge13, %13 %15 = icmp eq i1 %14, false store i64 %storemerge13, i64* %storemerge14.reg2mem br i1 %15, label LBL_3, label LBL_6 LBL_3: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %16 = call i64 @FUNC(i64 1, i64 %storemerge14.reload) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %0, i64 %storemerge14.reload) br label LBL_5 LBL_5: %21 = add i64 %storemerge14.reload, 8 %storemerge1.in = inttoptr i64 %21 to i64* %storemerge1 = load i64, i64* %storemerge1.in, align 8 %22 = icmp eq i64 %storemerge1, %13 %23 = icmp eq i1 %22, false store i64 %storemerge1, i64* %storemerge14.reg2mem br i1 %23, label LBL_3, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %11) %25 = call i64 @FUNC(i64 %storemerge6.reload) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %storemerge6.reg2mem br i1 %27, label LBL_2, label LBL_7 LBL_7: %28 = call i64 @FUNC(i64 %0) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge14.reload, { 2, 0, 1 } uselistorder i64 %13, { 2, 0, 1 } uselistorder i64 %storemerge6.reload, { 0, 2, 1 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 4, 3, 2, 1, 0, 5, 6 } uselistorder i64 1, { 3, 2, 0, 1 } uselistorder i64 (i64, i64)* @test_and_clear_bit, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
proc_mkdir_mode_17578
proc_mkdir_mode
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 %arg3, i64* %sv_1, align 8 %1 = and i64 %arg2, 4294950911 %2 = or i64 %1, 16384 %3 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %2, i64 2) %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = load i64, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64 %5, i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %3, i64* %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %3) store i64 0, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
ff_print_debug_info_0
ff_print_debug_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.67.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %rcx.5.lcssa.reg2mem = alloca i64 %rcx.4.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.reg2mem13 = alloca i32 %rcx.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rcx.54.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 store i64 %5, i64* %rdi, align 8 %6 = add i64 %5, 8 %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 %11 = icmp eq i64* %arg2, null %or.cond = or i1 %11, %10 store i64 %8, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_62, label LBL_1 LBL_1: %12 = ptrtoint i64* %arg2 to i64 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_62, label LBL_2 LBL_2: %17 = bitcast i64* %rdi to i32* %18 = load i32, i32* %17, align 8 %19 = urem i32 %18, 8 %20 = icmp eq i32 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_62, label LBL_3 LBL_3: %21 = trunc i64 %3 to i32 %22 = load i64, i64* %rdi, align 8 %23 = call i64 @FUNC(i64 %22, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) %24 = and i64 %3, 4294967295 store i64 %24, i64* @0, align 8 switch i32 %21, label LBL_10 [ i32 0, label LBL_4 i32 1, label LBL_5 i32 2, label LBL_6 i32 3, label LBL_7 i32 4, label LBL_8 i32 5, label LBL_9 ] LBL_4: %25 = load i64, i64* %rdi, align 8 %26 = call i64 @FUNC(i64 %25, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_5: %27 = load i64, i64* %rdi, align 8 %28 = call i64 @FUNC(i64 %27, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_6: %29 = load i64, i64* %rdi, align 8 %30 = call i64 @FUNC(i64 %29, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_7: %31 = load i64, i64* %rdi, align 8 %32 = call i64 @FUNC(i64 %31, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_8: %33 = load i64, i64* %rdi, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_9: %35 = load i64, i64* %rdi, align 8 %36 = call i64 @FUNC(i64 %35, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_10 LBL_10: %37 = add i64 %5, 20 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_62, label LBL_11 LBL_11: %41 = add i64 %5, 16 %42 = inttoptr i64 %41 to i32* %43 = add i64 %5, 24 %44 = inttoptr i64 %43 to i32* %45 = add i64 %12, 16 %46 = inttoptr i64 %45 to i64* store i32 0, i32* %storemerge8.reg2mem br label LBL_61 LBL_12: %rcx.54.reload = load i64, i64* %rcx.54.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %47 = load i32, i32* %17, align 8 %48 = urem i32 %47, 2 %49 = icmp eq i32 %48, 0 store i32 %47, i32* %.reg2mem store i64 %rcx.54.reload, i64* %rcx.0.reg2mem br i1 %49, label LBL_14, label LBL_13 LBL_13: %50 = load i64, i64* %7, align 8 %51 = load i32, i32* %44, align 4 %52 = mul i32 %51, %storemerge8.reload %53 = add i32 %52, %storemerge25.reload %54 = sext i32 %53 to i64 %55 = mul i64 %54, 4 %56 = add i64 %55, %50 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp slt i32 %58, 9 %spec.select = select i1 %59, i32 %58, i32 9 %60 = load i64, i64* %rdi, align 8 %61 = zext i32 %spec.select to i64 %62 = call i64 @FUNC(i64 %60, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 %61, i64 %2, i64 %1) %.pre = load i32, i32* %17, align 8 store i32 %.pre, i32* %.reg2mem store i64 %61, i64* %rcx.0.reg2mem br label LBL_14 LBL_14: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i32, i32* %.reg2mem %63 = and i32 %.reload, 2 %64 = icmp eq i32 %63, 0 store i32 %.reload, i32* %.reg2mem13 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %64, label LBL_16, label LBL_15 LBL_15: %65 = load i64, i64* %46, align 8 %66 = load i32, i32* %44, align 4 %67 = mul i32 %66, %storemerge8.reload %68 = add i32 %67, %storemerge25.reload %69 = sext i32 %68 to i64 %70 = mul i64 %69, 4 %71 = add i64 %70, %65 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = load i64, i64* %rdi, align 8 %75 = zext i32 %73 to i64 %76 = call i64 @FUNC(i64 %74, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64 %75, i64 %2, i64 %1) %.pre12 = load i32, i32* %17, align 8 store i32 %.pre12, i32* %.reg2mem13 store i64 %75, i64* %rcx.1.reg2mem br label LBL_16 LBL_16: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %.reload14 = load i32, i32* %.reg2mem13 %77 = and i32 %.reload14, 4 %78 = icmp eq i32 %77, 0 store i64 %rcx.1.reload, i64* %rcx.4.reg2mem br i1 %78, label LBL_59, label LBL_17 LBL_17: %79 = load i64, i64* %14, align 8 %80 = load i32, i32* %44, align 4 %81 = mul i32 %80, %storemerge8.reload %82 = zext i32 %81 to i64 %83 = add i32 %81, %storemerge25.reload %84 = sext i32 %83 to i64 %85 = mul i64 %84, 4 %86 = add i64 %85, %79 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = zext i32 %88 to i64 store i64 %89, i64* %rdi, align 8 %90 = call i64 @FUNC(i64 %89) %91 = trunc i64 %90 to i32 %92 = icmp eq i32 %91, 0 br i1 %92, label LBL_19, label LBL_18 LBL_18: %93 = load i64, i64* %rdi, align 8 %94 = call i64 @FUNC(i64 %93, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_9, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_19: %95 = call i64 @FUNC(i64 %89) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 br i1 %97, label LBL_22, label LBL_20 LBL_20: store i64 %89, i64* %rdi, align 8 %98 = call i64 @FUNC(i64 %89) %99 = trunc i64 %98 to i32 %100 = icmp eq i32 %99, 0 br i1 %100, label LBL_22, label LBL_21 LBL_21: %101 = load i64, i64* %rdi, align 8 %102 = call i64 @FUNC(i64 %101, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_10, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_22: store i64 %89, i64* %rdi, align 8 %103 = call i64 @FUNC(i64 %89) %104 = trunc i64 %103 to i32 %105 = icmp eq i32 %104, 0 br i1 %105, label LBL_24, label LBL_23 LBL_23: %106 = load i64, i64* %rdi, align 8 %107 = call i64 @FUNC(i64 %106, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_11, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_24: store i64 %89, i64* %rdi, align 8 %108 = call i64 @FUNC(i64 %89) %109 = trunc i64 %108 to i32 %110 = icmp eq i32 %109, 0 br i1 %110, label LBL_26, label LBL_25 LBL_25: %111 = load i64, i64* %rdi, align 8 %112 = call i64 @FUNC(i64 %111, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_12, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_26: %113 = call i64 @FUNC(i64 %89) %114 = trunc i64 %113 to i32 %115 = icmp eq i32 %114, 0 br i1 %115, label LBL_29, label LBL_27 LBL_27: store i64 %89, i64* %rdi, align 8 %116 = call i64 @FUNC(i64 %89) %117 = trunc i64 %116 to i32 %118 = icmp eq i32 %117, 0 br i1 %118, label LBL_29, label LBL_28 LBL_28: %119 = load i64, i64* %rdi, align 8 %120 = call i64 @FUNC(i64 %119, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_13, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_29: store i64 %89, i64* %rdi, align 8 %121 = call i64 @FUNC(i64 %89) %122 = trunc i64 %121 to i32 %123 = icmp eq i32 %122, 0 br i1 %123, label LBL_31, label LBL_30 LBL_30: %124 = load i64, i64* %rdi, align 8 %125 = call i64 @FUNC(i64 %124, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_14, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_31: %126 = call i64 @FUNC(i64 %89) %127 = trunc i64 %126 to i32 %128 = icmp eq i32 %127, 0 br i1 %128, label LBL_34, label LBL_32 LBL_32: store i64 %89, i64* %rdi, align 8 %129 = call i64 @FUNC(i64 %89) %130 = trunc i64 %129 to i32 %131 = icmp eq i32 %130, 0 br i1 %131, label LBL_34, label LBL_33 LBL_33: %132 = load i64, i64* %rdi, align 8 %133 = call i64 @FUNC(i64 %132, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_15, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_34: store i64 %89, i64* %rdi, align 8 %134 = call i64 @FUNC(i64 %89) %135 = trunc i64 %134 to i32 %136 = icmp eq i32 %135, 0 br i1 %136, label LBL_36, label LBL_35 LBL_35: %137 = load i64, i64* %rdi, align 8 %138 = call i64 @FUNC(i64 %137, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_16, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_36: store i64 %89, i64* %rdi, align 8 %139 = call i64 @FUNC(i64 %89) %140 = trunc i64 %139 to i32 %141 = icmp eq i32 %140, 0 br i1 %141, label LBL_38, label LBL_37 LBL_37: %142 = load i64, i64* %rdi, align 8 %143 = call i64 @FUNC(i64 %142, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_17, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_38: store i64 %89, i64* %rdi, align 8 %144 = call i64 @FUNC(i64 %89, i64 1) %145 = trunc i64 %144 to i32 %146 = icmp eq i32 %145, 0 %147 = icmp eq i1 %146, false br i1 %147, label LBL_40, label LBL_39 LBL_39: %148 = load i64, i64* %rdi, align 8 %149 = call i64 @FUNC(i64 %148, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_18, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_40: store i64 %89, i64* %rdi, align 8 %150 = call i64 @FUNC(i64 %89, i64 0) %151 = trunc i64 %150 to i32 %152 = icmp eq i32 %151, 0 %153 = icmp eq i1 %152, false br i1 %153, label LBL_42, label LBL_41 LBL_41: %154 = load i64, i64* %rdi, align 8 %155 = call i64 @FUNC(i64 %154, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_19, i64 0, i64 0), i64 %82, i64 %2, i64 %1) store i64 %82, i64* %rcx.3.reg2mem br label LBL_46 LBL_42: %156 = call i64 @FUNC(i64 %89, i64 0) %157 = trunc i64 %156 to i32 %158 = icmp eq i32 %157, 0 br i1 %158, label LBL_44, label LBL_43 LBL_43: store i64 %89, i64* %rdi, align 8 %159 = call i64 @FUNC(i64 %89, i64 1) %160 = trunc i64 %159 to i32 %161 = icmp eq i32 %160, 0 %162 = icmp eq i1 %161, false store i64 %82, i64* %rcx.2.reg2mem br i1 %162, label LBL_45, label LBL_44 LBL_44: store i64 ptrtoint ([47 x i8]* @gv_20 to i64), i64* %rdi, align 8 call void @__assert_fail(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_20, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_21, i64 0, i64 0), i32 125, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_22, i64 0, i64 0)) store i64 ptrtoint ([20 x i8]* @gv_22 to i64), i64* %rcx.2.reg2mem br label LBL_45 LBL_45: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %163 = load i64, i64* %rdi, align 8 %164 = call i64 @FUNC(i64 %163, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_23, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 %rcx.2.reload, i64* %rcx.3.reg2mem br label LBL_46 LBL_46: %rcx.3.reload = load i64, i64* %rcx.3.reg2mem store i64 %89, i64* %rdi, align 8 %165 = call i64 @FUNC(i64 %89) %166 = trunc i64 %165 to i32 %167 = icmp eq i32 %166, 0 br i1 %167, label LBL_48, label LBL_47 LBL_47: %168 = load i64, i64* %rdi, align 8 %169 = call i64 @FUNC(i64 %168, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_24, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_56 LBL_48: store i64 %89, i64* %rdi, align 8 %170 = call i64 @FUNC(i64 %89) %171 = trunc i64 %170 to i32 %172 = icmp eq i32 %171, 0 br i1 %172, label LBL_50, label LBL_49 LBL_49: %173 = load i64, i64* %rdi, align 8 %174 = call i64 @FUNC(i64 %173, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_25, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_56 LBL_50: store i64 %89, i64* %rdi, align 8 %175 = call i64 @FUNC(i64 %89) %176 = trunc i64 %175 to i32 %177 = icmp eq i32 %176, 0 br i1 %177, label LBL_52, label LBL_51 LBL_51: %178 = load i64, i64* %rdi, align 8 %179 = call i64 @FUNC(i64 %178, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_26, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_56 LBL_52: store i64 %89, i64* %rdi, align 8 %180 = call i64 @FUNC(i64 %89) %181 = trunc i64 %180 to i32 %182 = icmp eq i32 %181, 0 %183 = icmp eq i1 %182, false br i1 %183, label LBL_54, label LBL_53 LBL_53: store i64 %89, i64* %rdi, align 8 %184 = call i64 @FUNC(i64 %89) %185 = trunc i64 %184 to i32 %186 = icmp eq i32 %185, 0 br i1 %186, label LBL_55, label LBL_54 LBL_54: %187 = load i64, i64* %rdi, align 8 %188 = call i64 @FUNC(i64 %187, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_27, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_56 LBL_55: %189 = load i64, i64* %rdi, align 8 %190 = call i64 @FUNC(i64 %189, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_28, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_56 LBL_56: store i64 %89, i64* %rdi, align 8 %191 = call i64 @FUNC(i64 %89) %192 = trunc i64 %191 to i32 %193 = icmp eq i32 %192, 0 %194 = load i64, i64* %rdi, align 8 br i1 %193, label LBL_58, label LBL_57 LBL_57: %195 = call i64 @FUNC(i64 %194, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_29, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) store i64 %rcx.3.reload, i64* %rcx.4.reg2mem br label LBL_59 LBL_58: %196 = call i64 @FUNC(i64 %194, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_27, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) store i64 %rcx.3.reload, i64* %rcx.4.reg2mem br label LBL_59 LBL_59: %rcx.4.reload = load i64, i64* %rcx.4.reg2mem %197 = add i32 %storemerge25.reload, 1 %198 = load i32, i32* %42, align 4 %199 = zext i32 %198 to i64 %200 = sext i32 %197 to i64 %201 = icmp slt i64 %200, %199 store i32 %197, i32* %storemerge25.reg2mem store i64 %rcx.4.reload, i64* %rcx.54.reg2mem store i64 %rcx.4.reload, i64* %rcx.5.lcssa.reg2mem br i1 %201, label LBL_12, label LBL_60 LBL_60: %rcx.5.lcssa.reload = load i64, i64* %rcx.5.lcssa.reg2mem %202 = load i64, i64* %rdi, align 8 %203 = call i64 @FUNC(i64 %202, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_30, i64 0, i64 0), i64 %rcx.5.lcssa.reload, i64 %2, i64 %1) %204 = add i32 %storemerge8.reload, 1 %205 = load i32, i32* %38, align 4 %206 = zext i32 %205 to i64 %207 = sext i32 %204 to i64 %208 = icmp slt i64 %207, %206 store i32 %204, i32* %storemerge8.reg2mem store i64 %rcx.5.lcssa.reload, i64* %rcx.67.reg2mem store i64 %206, i64* %rax.0.reg2mem br i1 %208, label LBL_61, label LBL_62 LBL_61: %rcx.67.reload = load i64, i64* %rcx.67.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %209 = load i32, i32* %42, align 4 %210 = icmp eq i32 %209, 0 store i32 0, i32* %storemerge25.reg2mem store i64 %rcx.67.reload, i64* %rcx.54.reg2mem store i64 %rcx.67.reload, i64* %rcx.5.lcssa.reg2mem br i1 %210, label LBL_60, label LBL_12 LBL_62: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge8.reload, { 1, 2, 3, 0 } uselistorder i64 %rcx.67.reload, { 1, 0 } uselistorder i64 %194, { 1, 0 } uselistorder i64 %rcx.3.reload, { 1, 4, 0, 3, 5, 2, 6, 7, 8 } uselistorder i64 %89, { 1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 19, 18, 20, 22, 21, 24, 23, 26, 25, 28, 27, 17, 16, 29, 31, 30, 15, 14, 32, 34, 33, 36, 35, 13, 12, 37, 38, 39 } uselistorder i64 %82, { 11, 10, 22, 9, 21, 8, 20, 7, 19, 6, 18, 5, 17, 4, 16, 3, 15, 2, 14, 1, 13, 0, 12 } uselistorder i32 %storemerge25.reload, { 0, 3, 2, 1 } uselistorder i32* %38, { 1, 0 } uselistorder i64 %5, { 1, 0, 2, 3, 4 } uselistorder i64 %4, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rdi, { 47, 46, 18, 45, 44, 17, 16, 43, 15, 42, 14, 41, 13, 40, 12, 11, 39, 10, 38, 9, 37, 8, 36, 7, 35, 6, 34, 5, 33, 4, 32, 3, 31, 2, 30, 1, 29, 0, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 48 } uselistorder i64 %2, { 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %storemerge25.reg2mem, { 1, 2, 0 } uselistorder i64* %rcx.54.reg2mem, { 1, 2, 0 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.3.reg2mem, { 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rcx.4.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.5.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_27, i64 0, i64 0), { 1, 0 } uselistorder [20 x i8]* @gv_22, { 1, 0 } uselistorder i64 (i64, i64)* @USES_LIST, { 3, 2, 1, 0 } uselistorder i64 (i64)* @IS_GMC, { 1, 0 } uselistorder i64 (i64)* @IS_SKIP, { 2, 1, 0 } uselistorder i64 (i64)* @IS_DIRECT, { 1, 0 } uselistorder i64 (i64)* @IS_INTRA, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 28, 27, 26, 25, 24, 23, 0 } uselistorder i32 0, { 1, 2, 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, 0, 3, 4, 30 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_62, { 0, 1, 4, 3, 2 } uselistorder label LBL_61, { 1, 0 } uselistorder label LBL_60, { 1, 0 } }
1
BinRealVul
hisi_clk_alloc_18027
hisi_clk_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 24, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 0, i64 0) %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %0, i64 %7, i64 %5) %9 = inttoptr i64 %1 to i64* store i64 %8, i64* %9, align 8 %10 = icmp eq i64 %8, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_4 LBL_2: %sext = mul i64 %arg2, 4294967296 %12 = ashr exact i64 %sext, 29 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = add i64 %1, 8 %17 = inttoptr i64 %16 to i64* store i64 %13, i64* %17, align 8 %18 = trunc i64 %arg2 to i32 %19 = add i64 %1, 16 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64)* @devm_kmalloc, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
end_read_record_5847
end_read_record
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 %0 }
0
BinRealVul
grlib_apbuart_writel_1527
grlib_apbuart_writel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = urem i64 %arg2, 256 %2 = icmp eq i64 %1, 3 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = icmp ult i64 %1, 4 br i1 %3, label LBL_2, label LBL_6 LBL_2: %4 = icmp eq i64 %1, 2 store i64 %0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_3 LBL_3: %5 = icmp ult i64 %1, 3 br i1 %5, label LBL_4, label LBL_6 LBL_4: %trunc = trunc i64 %arg2 to i8 store i64 %0, i64* %rax.0.reg2mem switch i8 %trunc, label LBL_6 [ i8 0, label LBL_5 i8 1, label LBL_7 ] LBL_5: %sext3 = mul i64 %arg3, 72057594037927936 %6 = ashr exact i64 %sext3, 56 store i64 %6, i64* %sv_0, align 8 %7 = bitcast i64* %sv_0 to i8* %8 = call i64 @FUNC(i64 %0, i8* nonnull %7, i64 1) store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %9 = and i64 %arg3, 4294967295 %10 = call i64 @FUNC(i64 %1, i64 %9) 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, { 4, 3, 2, 1, 0 } uselistorder i64* %sv_0, { 2, 1, 0 } uselistorder i64 %0, { 3, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_7, { 3, 4, 0, 1, 2 } }
0
BinRealVul
mxf_read_cryptographic_context_3453
mxf_read_cryptographic_context
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg4 to i32 %1 = icmp eq i32 %0, 16 store i64 4294967295, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 16) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_num_16886
get_num
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = trunc i64 %1 to i32 %6 = add i32 %5, -2 store i32 %6, i32* %arg2, align 4 %7 = icmp slt i32 %4, 16384 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %3, 4294950912 store i64 %8, i64* %storemerge.in.reg2mem br label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %2) store i32 %6, i32* %arg2, align 4 %10 = mul i64 %3, 65536 %11 = or i64 %9, %10 store i64 %11, i64* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @get_be16, { 1, 0 } }
1
BinRealVul
xan_decode_frame_5174
xan_decode_frame
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %11 = trunc i64 %3 to i32 %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %4, 16 %16 = call i64 @FUNC(i64 %15, i64 %14, i32 %11) %17 = call i64 @FUNC(i64 %15) %18 = trunc i64 %17 to i32 switch i32 %18, label LBL_5 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %19 = call i64 @FUNC(i64 %4) store i64 %19, i64* %storemerge.in.reg2mem br label LBL_6 LBL_4: %20 = call i64 @FUNC(i64 %4) store i64 %20, i64* %storemerge.in.reg2mem br label LBL_6 LBL_5: %21 = and i64 %17, 4294967295 %22 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %23 = icmp eq i32 %storemerge, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = and i64 %storemerge.in.reload, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %25 = call i64 @FUNC(i64 %arg2, i64 %5) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = and i64 %25, 4294967295 store i64 %29, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %30 = bitcast i64* %arg3 to i32* store i32 1, i32* %30, align 4 %31 = and i64 %3, 4294967295 store i64 %31, 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 %storemerge.in.reload, { 1, 0 } uselistorder i64 %4, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 %3, { 0, 3, 1, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } }
0
BinRealVul
bn_copy_words_18499
bn_copy_words
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = and i64 %1, 4294967295 %4 = icmp slt i64 %2, %3 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %arg3.tr = trunc i64 %arg3 to i32 %6 = mul i32 %arg3.tr, 8 %7 = call i64* @memset(i64* %arg1, i32 0, i32 %6) %8 = mul i32 %5, 8 %9 = ptrtoint i32* %arg2 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = call i64* @memcpy(i64* %arg1, i64* %13, i32 %8) store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
MPutChar_8939
MPutChar
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %sext3 = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext3, 32 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %3, i64 %6, i64 %2) %8 = ashr exact i64 %sext3, 31 %9 = add nsw i64 %8, %5 %10 = mul i64 %9, 8 %11 = add i64 %10, %3 %12 = call i64 @FUNC(i64 %3, i64 %11, i32 %4) %13 = call i64 @FUNC(i64 %3, i64 %11, i32 %4) %14 = call i64 @FUNC(i64 %2, i64 %11, i32 %4) %15 = trunc i64 %1 to i32 %16 = icmp eq i32 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %17 = add i32 %4, 1 %18 = call i64 @FUNC(i64 %3, i64 %11, i32 %17) %19 = call i64 @FUNC(i64 %2, i64 %11, i32 %17) %20 = inttoptr i64 %11 to i64* %21 = load i64, i64* %20, align 8 %22 = ashr exact i64 %sext, 30 %23 = add nsw i64 %22, 4 %24 = add i64 %21, %23 %25 = inttoptr i64 %24 to i32* store i32 %15, i32* %25, align 4 %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 1 br i1 %29, label LBL_3, label LBL_2 LBL_2: %30 = add i64 %11, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %32, %23 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = or i32 %35, 128 store i32 %36, i32* %34, align 4 store i64 %33, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %37 = bitcast i64* %rsi to i32* %38 = load i32, i32* %37, align 8 %39 = icmp eq i32 %38, 0 store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_5, label LBL_4 LBL_4: %40 = add i64 %11, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = add i64 %42, %23 %44 = inttoptr i64 %43 to i32* store i32 %38, i32* %44, align 4 %45 = add i64 %11, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %47, %23 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 store i64 %48, 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 %11, { 1, 2, 0, 4, 5, 3, 6, 7, 8 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %3, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64 (i64, i64, i32)* @copy_mchar2mline, { 1, 0 } uselistorder i64 (i64, i64, i32)* @MKillDwLeft, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 0 } }
0
BinRealVul
vc9_decode_init_1032
vc9_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %3, 48 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_19, label LBL_1 LBL_1: %11 = add i64 %3, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_19 LBL_2: %16 = add i64 %3, 24 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = inttoptr i64 %6 to i64* store i64 %3, i64* %18, align 8 %19 = call i64 @FUNC(i64 %3) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_19 LBL_3: %23 = call i64 @FUNC(i64 %6) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_19 LBL_4: %27 = bitcast i64* %rdi to i32* %28 = load i32, i32* %27, align 8 %29 = add i64 %3, 28 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %3, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %3, 32 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = add i64 %3, 56 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 1 %40 = icmp eq i1 %39, false br i1 %40, label LBL_10, label LBL_5 LBL_5: %41 = load i32, i32* %8, align 4 %42 = mul i32 %41, 8 %43 = zext i32 %42 to i64 %44 = load i64, i64* %12, align 8 %45 = call i64 @FUNC(i64* nonnull %sv_0, i64 %44, i64 %43) %46 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %49, label LBL_6, label LBL_19 LBL_6: %50 = load i32, i32* %8, align 4 %51 = mul i32 %50, 8 %52 = call i64 @FUNC(i64* nonnull %sv_0) %53 = trunc i64 %52 to i32 %54 = sub i32 %51, %53 %55 = icmp slt i32 %54, 1 br i1 %55, label LBL_8, label LBL_7 LBL_7: %56 = zext i32 %54 to i64 %57 = call i64 @FUNC(i64* nonnull %sv_0, i64 %56) %58 = and i64 %57, 4294967295 %59 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %58, i64 %1) br label LBL_10 LBL_8: %60 = icmp ne i32 %54, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_10, label LBL_9 LBL_9: %62 = sub i32 0, %54 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %63, i64 %2, i64 %1) br label LBL_10 LBL_10: %65 = add i64 %3, 36 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false %70 = zext i1 %69 to i32 %71 = add i64 %3, 40 %72 = inttoptr i64 %71 to i32* store i32 %70, i32* %72, align 4 %73 = load i32, i32* %30, align 4 %74 = add i32 %73, 15 %75 = ashr i32 %74, 4 %76 = add i64 %6, 8 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 %78 = load i32, i32* %35, align 4 %79 = add i32 %78, 15 %80 = ashr i32 %79, 4 %81 = add i64 %6, 12 %82 = inttoptr i64 %81 to i32* store i32 %80, i32* %82, align 4 %83 = load i32, i32* %77, align 4 %84 = add i64 %6, 40 %85 = zext i32 %83 to i64 %86 = call i64 @FUNC(i64 %84, i64 %85, i32 %80) %87 = trunc i64 %86 to i32 %88 = icmp slt i32 %87, 0 %89 = icmp eq i1 %88, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %89, label LBL_11, label LBL_19 LBL_11: %90 = load i32, i32* %82, align 4 %91 = load i32, i32* %77, align 4 %92 = zext i32 %91 to i64 %93 = call i64 @FUNC(i64 %84, i64 %92, i32 %90) %94 = trunc i64 %93 to i32 %95 = icmp slt i32 %94, 0 %96 = icmp eq i1 %95, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %96, label LBL_12, label LBL_19 LBL_12: %97 = load i32, i32* %82, align 4 %98 = load i32, i32* %77, align 4 %99 = add i64 %6, 48 %100 = zext i32 %98 to i64 %101 = call i64 @FUNC(i64 %99, i64 %100, i32 %97) %102 = trunc i64 %101 to i32 %103 = icmp slt i32 %102, 0 %104 = icmp eq i1 %103, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %104, label LBL_13, label LBL_19 LBL_13: %105 = load i32, i32* %82, align 4 %106 = load i32, i32* %77, align 4 %107 = add i64 %6, 56 %108 = zext i32 %106 to i64 %109 = call i64 @FUNC(i64 %107, i64 %108, i32 %105) %110 = trunc i64 %109 to i32 %111 = icmp slt i32 %110, 0 %112 = icmp eq i1 %111, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %112, label LBL_14, label LBL_19 LBL_14: %113 = add i64 %6, 16 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = mul i32 %115, 4 %117 = sext i32 %116 to i64 %118 = call i64 @FUNC(i64 %117) %119 = add i64 %6, 24 %120 = inttoptr i64 %119 to i64* store i64 %118, i64* %120, align 8 %121 = icmp eq i64 %118, 0 %122 = icmp eq i1 %121, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %122, label LBL_15, label LBL_19 LBL_15: %123 = add i64 %6, 32 %124 = inttoptr i64 %123 to i32* %125 = load i32, i32* %124, align 4 %126 = icmp eq i32 %125, 1 %127 = icmp eq i1 %126, false br i1 %127, label LBL_18, label LBL_16 LBL_16: %128 = load i32, i32* %82, align 4 %129 = load i32, i32* %77, align 4 %130 = add i64 %6, 64 %131 = zext i32 %129 to i64 %132 = call i64 @FUNC(i64 %130, i64 %131, i32 %128) %133 = trunc i64 %132 to i32 %134 = icmp slt i32 %133, 0 %135 = icmp eq i1 %134, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %135, label LBL_17, label LBL_19 LBL_17: %136 = load i32, i32* %82, align 4 %137 = load i32, i32* %77, align 4 %138 = add i64 %6, 72 %139 = zext i32 %137 to i64 %140 = call i64 @FUNC(i64 %138, i64 %139, i32 %136) %141 = trunc i64 %140 to i32 %142 = icmp slt i32 %141, 0 %143 = icmp eq i1 %142, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %143, label LBL_18, label LBL_19 LBL_18: store i64 0, 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 %54, { 1, 0, 2, 3 } uselistorder i64 %6, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64 %3, { 3, 2, 1, 0, 5, 4, 7, 6, 8, 9, 10, 12, 11, 13, 14 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i32)* @alloc_bitplane, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 1 } uselistorder label LBL_19, { 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10 } }
0
BinRealVul
nested_ept_init_mmu_context_10890
nested_ept_init_mmu_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 65) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 1 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %0) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = urem i64 %13, 2 %15 = urem i64 %10, 256 %16 = call i64 @FUNC(i64 %0, i64 %14, i64 %15) %17 = add i64 %0, 40 %18 = inttoptr i64 %17 to i64* store i64 4198788, i64* %18, align 8 %19 = add i64 %0, 48 %20 = inttoptr i64 %19 to i64* store i64 4198728, i64* %20, align 8 %21 = add i64 %0, 56 %22 = inttoptr i64 %21 to i64* store i64 4198803, i64* %22, align 8 %23 = add i64 %0, 32 %24 = add i64 %0, 24 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 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 %0, { 1, 0, 2, 3, 5, 4, 8, 7, 6, 10, 9, 11 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
guest_panicked_2420
guest_panicked
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1, i64* nonnull @gv_0) %1 = call i64 @FUNC(i64 2) ret i64 %1 }
0
BinRealVul
rxrpc_preparse_s_7314
rxrpc_preparse_s
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %1 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = inttoptr i64 %4 to i8* %8 = call i32 (i8*, i8*, ...) @sscanf(i8* %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i32* nonnull %sv_1, i64* nonnull %sv_2) %9 = icmp eq i32 %8, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %10 = load i32, i32* %sv_1, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 100, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* store i64 %12, i64* %16, align 8 %17 = inttoptr i64 %12 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false %. = select i1 %20, i64 %0, i64 4294967274 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 4294967274, { 2, 0, 1 } }
0
BinRealVul
sysbus_esp_class_init_15348
sysbus_esp_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 0, i64 %7) ret i64 %8 }
1
BinRealVul
helper_rdhwr_ccres_15406
helper_rdhwr_ccres
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 3) ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
i8042_start_12439
i8042_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = bitcast i64* %arg1 to i8* store i8 1, i8* %0, align 1 %1 = call i64 @FUNC() ret i64 0 }
1
BinRealVul
fts_build_parse_content_type_5163
fts_build_parse_content_type
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 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %6, i64 0) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 64) store i64 %9, i64* %sv_0, align 8 %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) %11 = load i64, i64* %sv_0, align 8 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %13) store i64 %14, i64* %arg1, align 8 %15 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %15, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 0, 4, 1, 5, 2, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
diffcore_rename_7544
diffcore_rename
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge16.reg2mem = alloca i32 %.reg2mem46 = alloca i64 %storemerge917.reg2mem = alloca i32 %.reg2mem44 = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem42 = alloca i32 %.pre28.reg2mem = alloca i32 %.pre.reg2mem = alloca i32 %storemerge1118.reg2mem = alloca i32 %.reg2mem40 = alloca i64 %sv_1.019.reg2mem = alloca i32 %sv_0.122.reg2mem = alloca i32 %.reg2mem38 = alloca i64 %.reg2mem36 = alloca i32 %.pre27.reg2mem = alloca i32 %storemerge1323.reg2mem = alloca i32 %.reg2mem34 = alloca i64 %storemerge1224.reg2mem = alloca i32 %.reg2mem32 = alloca i64 %storemerge1425.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_10, label LBL_1 LBL_1: %2 = trunc i64 %arg1 to i32 %3 = icmp slt i32 %2, 2 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1425.reg2mem br label LBL_2 LBL_2: %storemerge1425.reload = load i32, i32* %storemerge1425.reg2mem %.reload = load i64, i64* %.reg2mem %4 = load i64, i64* @gv_1, align 8 %5 = mul i64 %.reload, 8 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %15 = add i64 %8, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %14, label LBL_5, label LBL_3 LBL_3: br i1 %20, label LBL_9, label LBL_4 LBL_4: %21 = load i64, i64* %16, align 8 %22 = call i64 @FUNC(i64 %21, i64 1) br label LBL_9 LBL_5: %23 = icmp eq i1 %20, false br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = load i64, i64* %9, align 8 %25 = call i64 @FUNC(i64 %24, i64 1) br label LBL_9 LBL_7: br i1 %3, label LBL_9, label LBL_8 LBL_8: %26 = load i64, i64* %9, align 8 %27 = call i64 @FUNC(i64 %26, i64 1) br label LBL_9 LBL_9: %28 = add i32 %storemerge1425.reload, 1 %29 = load i32, i32* @gv_0, align 4 %30 = zext i32 %29 to i64 %31 = sext i32 %28 to i64 %32 = icmp slt i64 %31, %30 store i64 %31, i64* %.reg2mem store i32 %28, i32* %storemerge1425.reg2mem br i1 %32, label LBL_2, label LBL_10 LBL_10: %33 = trunc i64 %arg2 to i32 %sext5 = mul i64 %arg2, 4294967296 %34 = ashr exact i64 %sext5, 32 %35 = icmp eq i32 %33, 0 %36 = icmp eq i1 %35, false %spec.select = select i1 %36, i64 %34, i64 0 %37 = load i32, i32* @gv_2, align 4 %38 = icmp eq i32 %37, 0 store i64 0, i64* %.reg2mem32 store i32 0, i32* %storemerge1224.reg2mem br i1 %38, label LBL_45, label LBL_11 LBL_11: %storemerge1224.reload = load i32, i32* %storemerge1224.reg2mem %.reload33 = load i64, i64* %.reg2mem32 %39 = load i64, i64* @gv_3, align 8 %40 = mul i64 %.reload33, 16 %41 = or i64 %40, 8 %42 = add i64 %41, %39 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = load i32, i32* bitcast (i128* @gv_4 to i32*), align 8 %46 = icmp eq i32 %45, 0 store i64 0, i64* %.reg2mem34 store i32 0, i32* %storemerge1323.reg2mem br i1 %46, label LBL_15, label LBL_12 LBL_12: %storemerge1323.reload = load i32, i32* %storemerge1323.reg2mem %.reload35 = load i64, i64* %.reg2mem34 %47 = load i64, i64* @gv_5, align 8 %48 = mul i64 %.reload35, 16 %49 = or i64 %48, 8 %50 = add i64 %49, %47 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = call i64 @FUNC(i64 %52, i64 %44) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_14, label LBL_13 LBL_13: %56 = call i64 @FUNC(i64* nonnull %sv_3, i32 %storemerge1224.reload, i32 %storemerge1323.reload, i64 100) br label LBL_15 LBL_14: %57 = add i32 %storemerge1323.reload, 1 %58 = load i32, i32* bitcast (i128* @gv_4 to i32*), align 8 %59 = zext i32 %58 to i64 %60 = sext i32 %57 to i64 %61 = icmp slt i64 %60, %59 store i64 %60, i64* %.reg2mem34 store i32 %57, i32* %storemerge1323.reg2mem br i1 %61, label LBL_12, label LBL_15 LBL_15: %62 = add i32 %storemerge1224.reload, 1 %63 = load i32, i32* @gv_2, align 4 %64 = zext i32 %63 to i64 %65 = sext i32 %62 to i64 %66 = icmp slt i64 %65, %64 store i64 %65, i64* %.reg2mem32 store i32 %62, i32* %storemerge1224.reg2mem br i1 %66, label LBL_11, label LBL_16 LBL_16: %67 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_3) %68 = load i32, i32* @gv_2, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label LBL_31, label LBL_17 LBL_17: %70 = load i32, i32* bitcast (i128* @gv_4 to i32*), align 8 %71 = sext i32 %68 to i64 %72 = sext i32 %70 to i64 %73 = mul nsw i64 %71, 12 %74 = mul i64 %73, %72 %75 = call i64 @FUNC(i64 %74) %76 = load i32, i32* @gv_2, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label LBL_25, label LBL_18 LBL_18: %78 = trunc i64 %spec.select to i32 store i32 %76, i32* %.pre27.reg2mem store i32 %76, i32* %.reg2mem36 store i64 0, i64* %.reg2mem38 store i32 0, i32* %sv_0.122.reg2mem store i32 0, i32* %sv_1.019.reg2mem br label LBL_19 LBL_19: %sv_1.019.reload = load i32, i32* %sv_1.019.reg2mem %sv_0.122.reload = load i32, i32* %sv_0.122.reg2mem %.reload39 = load i64, i64* %.reg2mem38 %.reload37 = load i32, i32* %.reg2mem36 %.pre27.reload = load i32, i32* %.pre27.reg2mem %79 = load i64, i64* @gv_3, align 8 %80 = mul i64 %.reload39, 16 %81 = add i64 %79, %80 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = icmp eq i64 %83, 0 %85 = icmp eq i1 %84, false store i32 %.pre27.reload, i32* %.pre28.reg2mem store i32 %.reload37, i32* %.reg2mem42 store i32 %sv_0.122.reload, i32* %sv_0.0.reg2mem br i1 %85, label LBL_24, label LBL_20 LBL_20: %86 = mul i32 %sv_0.122.reload, %70 %87 = add i64 %81, 8 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = load i32, i32* bitcast (i128* @gv_4 to i32*), align 8 %91 = icmp eq i32 %90, 0 store i64 0, i64* %.reg2mem40 store i32 0, i32* %storemerge1118.reg2mem store i32 %.pre27.reload, i32* %.pre.reg2mem br i1 %91, label LBL_23, label LBL_21 LBL_21: %storemerge1118.reload = load i32, i32* %storemerge1118.reg2mem %.reload41 = load i64, i64* %.reg2mem40 %92 = load i64, i64* @gv_5, align 8 %93 = mul i64 %.reload41, 16 %94 = or i64 %93, 8 %95 = add i64 %94, %92 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = add i32 %storemerge1118.reload, %86 %99 = sext i32 %98 to i64 %100 = mul nsw i64 %99, 12 %101 = add i64 %100, %75 %102 = inttoptr i64 %101 to i32* store i32 %storemerge1118.reload, i32* %102, align 4 %103 = add i64 %101, 4 %104 = inttoptr i64 %103 to i32* store i32 %sv_1.019.reload, i32* %104, align 4 %105 = call i64 @FUNC(i64 %97, i64 %89, i32 %78) %106 = trunc i64 %105 to i32 %107 = add i64 %101, 8 %108 = inttoptr i64 %107 to i32* store i32 %106, i32* %108, align 4 %109 = add i32 %storemerge1118.reload, 1 %110 = load i32, i32* bitcast (i128* @gv_4 to i32*), align 8 %111 = zext i32 %110 to i64 %112 = sext i32 %109 to i64 %113 = icmp slt i64 %112, %111 store i64 %112, i64* %.reg2mem40 store i32 %109, i32* %storemerge1118.reg2mem br i1 %113, label LBL_21, label LBL_22 LBL_22: %.pre.pre = load i32, i32* @gv_2, align 4 store i32 %.pre.pre, i32* %.pre.reg2mem br label LBL_23 LBL_23: %.pre.reload = load i32, i32* %.pre.reg2mem %114 = add i32 %sv_0.122.reload, 1 store i32 %.pre.reload, i32* %.pre28.reg2mem store i32 %.pre.reload, i32* %.reg2mem42 store i32 %114, i32* %sv_0.0.reg2mem br label LBL_24 LBL_24: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload43 = load i32, i32* %.reg2mem42 %.pre28.reload = load i32, i32* %.pre28.reg2mem %115 = add i32 %sv_1.019.reload, 1 %116 = zext i32 %.reload43 to i64 %117 = sext i32 %115 to i64 %118 = icmp slt i64 %117, %116 store i32 %.pre28.reload, i32* %.pre27.reg2mem store i32 %.reload43, i32* %.reg2mem36 store i64 %117, i64* %.reg2mem38 store i32 %sv_0.0.reload, i32* %sv_0.122.reg2mem store i32 %115, i32* %sv_1.019.reg2mem br i1 %118, label LBL_19, label LBL_25 LBL_25: %119 = mul i32 %70, %68 %120 = inttoptr i64 %75 to i64* call void @qsort(i64* %120, i32 %119, i32 12, i32 (i64*, i64*)* inttoptr (i64 4198880 to i32 (i64*, i64*)*)) %121 = zext i32 %119 to i64 %122 = icmp eq i32 %119, 0 store i64 0, i64* %.reg2mem44 store i32 0, i32* %storemerge917.reg2mem br i1 %122, label LBL_30, label LBL_26 LBL_26: %storemerge917.reload = load i32, i32* %storemerge917.reg2mem %.reload45 = load i64, i64* %.reg2mem44 %123 = load i64, i64* @gv_3, align 8 %124 = mul nsw i64 %.reload45, 12 %125 = add i64 %124, %75 %126 = add i64 %125, 4 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = sext i32 %128 to i64 %130 = mul i64 %129, 16 %131 = add i64 %130, %123 %132 = inttoptr i64 %131 to i64* %133 = load i64, i64* %132, align 8 %134 = icmp eq i64 %133, 0 %135 = icmp eq i1 %134, false br i1 %135, label LBL_29, label LBL_27 LBL_27: %136 = add i64 %125, 8 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = zext i32 %138 to i64 %140 = icmp sgt i64 %spec.select, %139 br i1 %140, label LBL_30, label LBL_28 LBL_28: %141 = inttoptr i64 %125 to i32* %142 = load i32, i32* %141, align 4 %143 = call i64 @FUNC(i64* nonnull %sv_3, i32 %128, i32 %142, i64 %139) br label LBL_29 LBL_29: %144 = add i32 %storemerge917.reload, 1 %145 = sext i32 %144 to i64 %146 = icmp slt i64 %145, %121 store i64 %145, i64* %.reg2mem44 store i32 %144, i32* %storemerge917.reg2mem br i1 %146, label LBL_26, label LBL_30 LBL_30: call void @free(i64* %120) %147 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_3) br label LBL_31 LBL_31: store i64 0, i64* %sv_2, align 8 %148 = load i32, i32* @gv_0, align 4 %149 = icmp eq i32 %148, 0 store i64 0, i64* %.reg2mem46 store i32 0, i32* %storemerge16.reg2mem br i1 %149, label LBL_44, label LBL_32 LBL_32: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload47 = load i64, i64* %.reg2mem46 %150 = load i64, i64* @gv_1, align 8 %151 = mul i64 %.reload47, 8 %152 = add i64 %150, %151 %153 = inttoptr i64 %152 to i64* %154 = load i64, i64* %153, align 8 %155 = inttoptr i64 %154 to i64* %156 = load i64, i64* %155, align 8 %157 = call i64 @FUNC(i64 %156, i64 0) %158 = add i64 %154, 8 %159 = inttoptr i64 %158 to i64* %160 = load i64, i64* %159, align 8 %161 = call i64 @FUNC(i64 %160, i64 0) %162 = icmp eq i64 %161, 0 br i1 %162, label LBL_36, label LBL_33 LBL_33: %163 = inttoptr i64 %161 to i64* %164 = load i64, i64* %163, align 8 %165 = icmp eq i64 %164, 0 br i1 %165, label LBL_35, label LBL_34 LBL_34: %166 = call i64 @FUNC(i64* nonnull %sv_2, i64 %164) br label LBL_41 LBL_35: %167 = call i64 @FUNC(i64* nonnull %sv_2, i64 %154) br label LBL_43 LBL_36: %168 = call i64 @FUNC(i64 %154) %169 = trunc i64 %168 to i32 %170 = icmp eq i32 %169, 0 %171 = icmp eq i1 %170, false br i1 %171, label LBL_38, label LBL_37 LBL_37: %172 = call i64 @FUNC(i64* nonnull %sv_2, i64 %154) br label LBL_43 LBL_38: %173 = icmp eq i64 %157, 0 br i1 %173, label LBL_41, label LBL_39 LBL_39: %174 = inttoptr i64 %157 to i32* %175 = load i32, i32* %174, align 4 %176 = icmp eq i32 %175, 0 br i1 %176, label LBL_41, label LBL_40 LBL_40: %177 = call i64 @FUNC(i64* nonnull %sv_2, i64 %154) br label LBL_43 LBL_41: %178 = icmp eq i64 %154, 0 br i1 %178, label LBL_43, label LBL_42 LBL_42: %179 = load i64, i64* %155, align 8 %180 = call i64 @FUNC(i64 %179) %181 = load i64, i64* %159, align 8 %182 = call i64 @FUNC(i64 %181) call void @free(i64* %155) br label LBL_43 LBL_43: %183 = add i32 %storemerge16.reload, 1 %184 = load i32, i32* @gv_0, align 4 %185 = zext i32 %184 to i64 %186 = sext i32 %183 to i64 %187 = icmp slt i64 %186, %185 store i64 %186, i64* %.reg2mem46 store i32 %183, i32* %storemerge16.reg2mem br i1 %187, label LBL_32, label LBL_44 LBL_44: %188 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_2) %189 = load i64, i64* %sv_3, align 8 %190 = inttoptr i64 %189 to i64* call void @free(i64* %190) %191 = load i64, i64* @gv_1, align 8 %192 = inttoptr i64 %191 to i64* call void @free(i64* %192) %193 = load i64, i64* %sv_2, align 8 store i64 %193, i64* @gv_1, align 8 store i32 0, i32* @gv_0, align 4 %194 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_9, i64 0, i64 0), i64* nonnull @gv_1) br label LBL_45 LBL_45: %195 = load i64, i64* @gv_3, align 8 %196 = inttoptr i64 %195 to i64* call void @free(i64* %196) store i64 0, i64* @gv_3, align 8 store i32 0, i32* @gv_10, align 4 store i32 0, i32* @gv_2, align 4 %197 = load i64, i64* @gv_5, align 8 %198 = inttoptr i64 %197 to i64* call void @free(i64* %198) store i64 0, i64* @gv_5, align 8 store i32 0, i32* inttoptr (i64 4210812 to i32*), align 4 %199 = load i32, i32* @gv_11, align 4 %200 = zext i32 %199 to i64 store i32 %199, i32* bitcast (i128* @gv_4 to i32*), align 8 ret i64 %200 uselistorder i64 %157, { 1, 0 } uselistorder i64* %155, { 1, 0, 2 } uselistorder i64 %154, { 0, 3, 2, 4, 1, 5, 6 } uselistorder i32 %.reload43, { 1, 0 } uselistorder i64 %81, { 1, 0 } uselistorder i32 %.pre27.reload, { 1, 0 } uselistorder i32 %sv_0.122.reload, { 1, 2, 0 } uselistorder i32 %sv_1.019.reload, { 1, 0 } uselistorder i64 %75, { 0, 2, 1 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i1 %20, { 1, 0 } uselistorder i64* %9, { 1, 0, 2 } uselistorder i64* %sv_3, { 4, 0, 1, 2, 3, 5 } uselistorder i64* %sv_2, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1425.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem32, { 2, 0, 1 } uselistorder i32* %storemerge1224.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem34, { 2, 0, 1 } uselistorder i32* %storemerge1323.reg2mem, { 2, 0, 1 } uselistorder i32* %.pre27.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem36, { 1, 0, 2 } uselistorder i64* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %sv_0.122.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.019.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem40, { 2, 0, 1 } uselistorder i32* %storemerge1118.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem44, { 2, 0, 1 } uselistorder i32* %storemerge917.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem46, { 2, 0, 1 } uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @diff_free_filespec_data, { 1, 0 } uselistorder i64 (i64*, i64)* @diff_q, { 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 5, 4, 2, 1, 3, 0 } uselistorder i64 12, { 2, 1, 0 } uselistorder i64 (i8*, i64*)* @diff_debug_queue, { 3, 2, 1, 0 } uselistorder i64 (i64*, i32, i32, i64)* @record_rename_pair, { 1, 0 } uselistorder i64 100, { 1, 0 } uselistorder i32* bitcast (i128* @gv_4 to i32*), { 5, 4, 1, 3, 2, 0 } uselistorder i32* @gv_2, { 5, 0, 1, 4, 3, 2 } uselistorder i64 (i64, i64)* @locate_rename_src, { 2, 1, 0 } uselistorder i64 (i64, i64)* @locate_rename_dst, { 1, 0 } uselistorder i64 1, { 2, 3, 4, 0, 1 } uselistorder i1 false, { 0, 1, 2, 5, 3, 4 } uselistorder i64 (i64)* @DIFF_FILE_VALID, { 1, 0 } uselistorder i64 8, { 5, 0, 6, 7, 4, 8, 2, 3, 9, 1, 10 } uselistorder i32 0, { 21, 16, 22, 15, 23, 24, 0, 10, 1, 11, 2, 9, 3, 4, 12, 14, 25, 5, 8, 6, 28, 29, 26, 27, 7, 13, 17, 18, 19, 20 } uselistorder i32* @gv_0, { 4, 3, 1, 2, 0 } uselistorder i32 1, { 26, 27, 28, 30, 29, 32, 31, 33, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_43, { 3, 4, 2, 1, 0 } uselistorder label LBL_41, { 1, 0, 2 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_15, { 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ofpact_is_allowed_in_actions_set_10253
ofpact_is_allowed_in_actions_set
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp sgt i32 %2, 27 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = icmp eq i32 %2, 0 %5 = icmp slt i32 %2, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_2: %9 = add i32 %2, -28 %10 = icmp ult i32 %9, 26 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC() unreachable LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 3, 1, 2, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
imdct12_17028
imdct12
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = mul i32 %4, 32 %6 = add i64 %2, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, %4 %10 = mul i32 %9, 32 %11 = add i64 %2, 24 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, %8 %15 = add i64 %2, 36 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i32 %17, %13 %19 = mul i32 %18, 32 %20 = add i64 %2, 48 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, %17 %24 = mul i32 %23, 32 %25 = add i64 %2, 60 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i32 %27, %22 %29 = mul i32 %28, 32 %30 = add i32 %29, %19 %31 = add i32 %19, %10 %32 = mul i32 %14, 790080 %33 = ashr i32 %32, 15 %34 = mul i32 %31, 24690 %35 = ashr i32 %34, 15 %36 = sub i32 %5, %24 %37 = sub i32 %10, %30 %38 = load i32, i32* @gv_0, align 4 %39 = mul i32 %37, %38 %40 = add i64 %3, 40 %41 = add i32 %39, %36 %42 = inttoptr i64 %40 to i32* store i32 %41, i32* %42, align 4 %43 = add i64 %3, 28 %44 = inttoptr i64 %43 to i32* store i32 %41, i32* %44, align 4 %45 = add i64 %3, 16 %46 = sub i32 %36, %39 %47 = inttoptr i64 %45 to i32* store i32 %46, i32* %47, align 4 %48 = add i64 %3, 4 %49 = inttoptr i64 %48 to i32* store i32 %46, i32* %49, align 4 %50 = ashr exact i32 %24, 1 %51 = add i32 %50, %5 %52 = add i32 %51, %33 %53 = ashr exact i32 %30, 1 %54 = add i32 %53, %10 %55 = add i32 %54, %35 %56 = load i32, i32* @gv_1, align 4 %57 = mul i32 %56, %55 %58 = add i64 %3, 36 %59 = add i32 %57, %52 %60 = inttoptr i64 %58 to i32* store i32 %59, i32* %60, align 4 %61 = add i64 %3, 32 %62 = inttoptr i64 %61 to i32* store i32 %59, i32* %62, align 4 %63 = add i64 %3, 12 %64 = sub i32 %52, %57 %65 = inttoptr i64 %63 to i32* store i32 %64, i32* %65, align 4 %66 = add i64 %3, 8 %67 = inttoptr i64 %66 to i32* store i32 %64, i32* %67, align 4 %68 = sub i32 %51, %33 %69 = sub i32 %54, %35 %70 = load i32, i32* inttoptr (i64 4210812 to i32*), align 4 %71 = mul i32 %70, %69 %72 = add i64 %3, 20 %73 = sub i32 %68, %71 %74 = inttoptr i64 %72 to i32* store i32 %73, i32* %74, align 4 %75 = bitcast i64* %arg1 to i32* store i32 %73, i32* %75, align 4 %76 = add i64 %3, 44 %77 = add i32 %71, %68 %78 = inttoptr i64 %76 to i32* store i32 %77, i32* %78, align 4 %79 = add i64 %3, 24 %80 = zext i32 %77 to i64 %81 = inttoptr i64 %79 to i32* store i32 %77, i32* %81, align 4 ret i64 %80 uselistorder i32 %57, { 1, 0 } uselistorder i32 %54, { 1, 0 } uselistorder i32 %52, { 1, 0 } uselistorder i32 %51, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i32 %36, { 1, 0 } uselistorder i32 %35, { 1, 0 } uselistorder i32 %33, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %10, { 2, 0, 1 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } }
1
BinRealVul
common_init_14733
common_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = add i64 %3, 48 %11 = call i64 @FUNC(i64 %10, i64 %0) %12 = bitcast i64* %rdi to i32* %13 = load i32, i32* %12, align 8 %14 = add i64 %3, 12 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %0, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %3, 16 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = load i32, i32* %15, align 4 %22 = icmp slt i32 %21, 1 br i1 %22, label LBL_2, label LBL_1 LBL_1: %23 = icmp eq i32 %18, 0 %24 = icmp slt i32 %18, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %23, false %27 = icmp eq i1 %25, %26 br i1 %27, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %28 = add i64 %3, 24 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = load i32, i32* %12, align 8 %30 = add i32 %29, 16 %31 = sext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = mul i64 %indvars.iv.reload, 8 %34 = add i64 %28, %33 %35 = inttoptr i64 %34 to i64* store i64 %32, i64* %35, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } }
1
BinRealVul
MP4_EIA608_Convert_11511
MP4_EIA608_Convert
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_1.1.in.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.0.in.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp ult i64 %2, 3074457345618258602 %4 = select i1 %3, i64 %2, i64 3074457345618258602 %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp ugt i32 %6, 10 %8 = and i64 %5, 4294967295 %9 = icmp ugt i64 %4, %8 %or.cond = or i1 %7, %9 br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %10 = add i64 %arg1, 4 %11 = inttoptr i64 %10 to i64* %12 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_0 to i64*), i64* %11, i32 4) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = mul nuw i64 %4, 3 %16 = add i64 %15, -8 %17 = call i64 @FUNC(i64 %16) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %1, align 8 store i64 %arg1, i64* %storemerge.reg2mem br label LBL_12 LBL_4: %20 = inttoptr i64 %17 to i64* %21 = load i64, i64* %20, align 8 %22 = add i32 %6, -8 %23 = add nsw i64 %4, -8 store i64 0, i64* %sv_0.0.reg2mem store i64 %23, i64* %sv_3.0.reg2mem store i32 %22, i32* %sv_2.0.reg2mem store i64 %15, i64* %sv_1.0.in.reg2mem br label LBL_5 LBL_5: %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in.reload to i8* %24 = add i64 %sv_0.0.reload, %21 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 %26 = add i64 %24, 1 %27 = load i8, i8* %sv_1.0, align 1 %28 = inttoptr i64 %26 to i8* store i8 %27, i8* %28, align 1 %29 = add i64 %sv_0.0.reload, 3 %30 = add i64 %24, 2 %31 = add i64 %sv_1.0.in.reload, 1 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = inttoptr i64 %30 to i8* store i8 %33, i8* %34, align 1 %35 = add i64 %sv_1.0.in.reload, 2 %36 = add i32 %sv_2.0.reload, -2 %37 = add i64 %sv_3.0.reload, -2 %38 = icmp eq i32 %36, 0 %39 = icmp eq i32 %sv_2.0.reload, 3 %40 = or i1 %39, %38 store i64 %29, i64* %sv_0.0.reg2mem store i64 %37, i64* %sv_3.0.reg2mem store i32 %36, i32* %sv_2.0.reg2mem store i64 %35, i64* %sv_1.0.in.reg2mem br i1 %40, label LBL_6, label LBL_5 LBL_6: %41 = icmp ult i64 %37, 10 store i64 %29, i64* %sv_0.2.reg2mem br i1 %41, label LBL_11, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %35) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = and i64 %42, 4294967295 %46 = icmp ult i64 %37, %45 %or.cond4 = or i1 %44, %46 store i64 %29, i64* %sv_0.2.reg2mem br i1 %or.cond4, label LBL_11, label LBL_8 LBL_8: %47 = add i64 %sv_1.0.in.reload, 6 %48 = inttoptr i64 %47 to i64* %49 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_1 to i64*), i64* %48, i32 4) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false store i64 %29, i64* %sv_0.2.reg2mem br i1 %51, label LBL_11, label LBL_9 LBL_9: %52 = add i64 %sv_1.0.in.reload, 10 %53 = add i32 %43, -8 store i64 %29, i64* %sv_0.1.reg2mem store i32 %53, i32* %sv_2.1.reg2mem store i64 %52, i64* %sv_1.1.in.reg2mem br label LBL_10 LBL_10: %sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1 = inttoptr i64 %sv_1.1.in.reload to i8* %54 = add i64 %sv_0.1.reload, %21 %55 = inttoptr i64 %54 to i8* store i8 0, i8* %55, align 1 %56 = add i64 %54, 1 %57 = load i8, i8* %sv_1.1, align 1 %58 = inttoptr i64 %56 to i8* store i8 %57, i8* %58, align 1 %59 = add i64 %sv_0.1.reload, 3 %60 = add i64 %54, 2 %61 = add i64 %sv_1.1.in.reload, 1 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = inttoptr i64 %60 to i8* store i8 %63, i8* %64, align 1 %65 = add i64 %sv_1.1.in.reload, 2 %66 = add i32 %sv_2.1.reload, -2 %67 = icmp eq i32 %66, 0 %68 = icmp eq i32 %sv_2.1.reload, 3 %69 = or i1 %68, %67 store i64 %59, i64* %sv_0.1.reg2mem store i32 %66, i32* %sv_2.1.reg2mem store i64 %65, i64* %sv_1.1.in.reg2mem store i64 %59, i64* %sv_0.2.reg2mem br i1 %69, label LBL_11, label LBL_10 LBL_11: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %70 = add i64 %arg1, 16 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = add i64 %17, 24 %74 = inttoptr i64 %73 to i64* store i64 %72, i64* %74, align 8 %75 = add i64 %17, 8 %76 = inttoptr i64 %75 to i64* store i64 %sv_0.2.reload, i64* %76, align 8 %77 = add i64 %17, 32 %78 = inttoptr i64 %77 to i32* store i32 1, i32* %78, align 4 %79 = call i64 @FUNC(i64 %arg1) store i64 %17, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_1.1.in.reload, { 2, 1, 0 } uselistorder i64 %37, { 1, 2, 0 } uselistorder i64 %35, { 1, 0 } uselistorder i64 %29, { 3, 0, 1, 2, 4 } uselistorder i64 %sv_1.0.in.reload, { 4, 3, 2, 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %4, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.1.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.in.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 0, 2, 3, 1, 4 } uselistorder i64 (i64)* @GetDWBE, { 1, 0 } uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
ne2000_buffer_full_13838
ne2000_buffer_full
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %1 to i32 %7 = icmp ugt i32 %5, %6 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_5 LBL_1: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = mul i32 %10, 256 %12 = add i64 %2, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i32 %14, 256 %16 = icmp sgt i32 %15, %11 br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = sub i32 %15, %11 store i32 %17, i32* %storemerge.reg2mem br label LBL_4 LBL_3: %18 = sub i32 %5, %6 %19 = sub i32 %18, %11 %20 = add i32 %19, %15 store i32 %20, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %21 = icmp slt i32 %storemerge.reload, 1504 %. = zext i1 %21 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %15, { 2, 0, 1 } uselistorder i32 %11, { 2, 0, 1 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
net_slirp_cleanup_15625
net_slirp_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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 %3) %5 = add i64 %0, -8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %1) ret i64 %7 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
snd_compr_resume_10822
snd_compr_resume
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %4 to i32 %6 = and i64 %4, 4294967295 %7 = icmp eq i32 %5, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = bitcast i64* %arg1 to i32* store i32 2, i32* %9, align 4 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
ibwdt_set_heartbeat_19084
ibwdt_set_heartbeat
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge3.lcssa.reg2mem = alloca i32 %storemerge35.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 31 store i64 4294967274, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 store i32 15, i32* %storemerge35.reg2mem br label LBL_2 LBL_2: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %3 = sext i32 %storemerge35.reload to i64 %4 = mul i64 %3, 4 %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = icmp slt i64 %2, %8 store i32 %storemerge35.reload, i32* %storemerge3.lcssa.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i32 %storemerge35.reload, -1 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %10, i32* %storemerge35.reg2mem store i32 %10, i32* %storemerge3.lcssa.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_4: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem store i32 %storemerge3.lcssa.reload, i32* inttoptr (i64 4210820 to i32*), align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge35.reload, { 1, 0, 2 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
bus_socket_make_message_19013
bus_socket_make_message
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi2.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = icmp ult i64 %rdi.0.reload, %arg2 br i1 %3, label LBL_3, label LBL_4 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %.off = add i32 %6, -1 %switch = icmp ult i32 %.off, 2 br i1 %switch, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_8, label LBL_7 LBL_7: %11 = and i64 %7, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %12 = icmp ugt i64 %0, %arg2 %13 = icmp eq i1 %12, false br i1 %13, label LBL_8.LBL_11_crit_edge, label LBL_10 LBL_9: %.pre = add i64 %0, 16 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %14 = sub i64 %0, %arg2 %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, %arg2 %19 = call i64 @FUNC(i64 %18, i64 %14) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64* %16, i64** %.pre-phi2.reg2mem store i64 %19, i64* %sv_0.0.reg2mem store i64 4294967284, i64* %rax.0.reg2mem br i1 %21, label LBL_11, label LBL_14 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %22 = add i64 %0, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = load i64, i64* %.pre-phi2.reload, align 8 %29 = call i64 @FUNC(i64 %0, i64 %28, i64 %arg2, i64 %27, i64 %24, i64 0, i64* nonnull %sv_1) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_13, label LBL_12 LBL_12: %33 = inttoptr i64 %sv_0.0.reload to i64* call void @free(i64* %33) %34 = and i64 %29, 4294967295 store i64 %34, i64* %rax.0.reg2mem br label LBL_14 LBL_13: store i64 %sv_0.0.reload, i64* %.pre-phi2.reload, align 8 %35 = sub i64 %0, %arg2 store i64 %35, i64* %arg1, align 8 store i64 0, i64* %26, align 8 store i64 0, i64* %23, align 8 %36 = add i64 %0, 40 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %0, 48 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, 1 store i64 %42, i64* %40, align 8 %43 = mul i64 %41, 8 %44 = add i64 %43, %38 %45 = load i64, i64* %sv_1, align 8 %46 = inttoptr i64 %44 to i64* store i64 %45, i64* %46, align 8 store i64 1, 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, 0 } uselistorder i64 %0, { 5, 4, 6, 9, 8, 7, 3, 10, 1, 2, 11, 12, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 16, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [4 x i8]* @gv_0, { 1, 0 } uselistorder i64 %arg2, { 3, 4, 0, 5, 1, 2 } uselistorder label LBL_14, { 1, 2, 0, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
rfc4106_init_8479
rfc4106_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0) %3 = icmp ult i64 %2, -1000 store i64 %2, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = add i64 %1, 15 %5 = and i64 %4, -16 %6 = call i64 @FUNC(i64 %2) %7 = call i64 @FUNC(i64 %6) %8 = inttoptr i64 %5 to i64* %9 = load i64, i64* %8, align 16 %10 = inttoptr i64 %7 to i64* store i64 %9, i64* %10, align 8 store i64 %2, i64* %8, align 16 %11 = call i64 @FUNC(i64 %2) %sext = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add nsw i64 %12, 4 store i64 %13, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 3, 0, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
config_output_14262
config_output
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 i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %3 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = bitcast i64* %arg1 to i32* store i32 %12, i32* %13, align 4 %14 = add i64 %10, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %0, 4 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = add i64 %10, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %10, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %0, 12 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %10, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %0, 16 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 %34 = call i64 @FUNC(i64 %3, i64 %6) %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %35, 0 %37 = icmp eq i1 %36, false %38 = and i64 %34, 4294967295 %storemerge = select i1 %37, i64 0, i64 %38 ret i64 %storemerge uselistorder i64 %0, { 3, 2, 1, 0, 4 } }
1
BinRealVul
idct4col_put_14591
idct4col_put
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %sext3 = mul i32 %4, 65536 %5 = ashr exact i32 %sext3, 16 %6 = add i64 %2, 32 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = sext i16 %8 to i32 %10 = add i64 %2, 64 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = sext i16 %12 to i32 %14 = add i64 %2, 96 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = sext i16 %16 to i32 %18 = add nsw i32 %5, %13 %19 = mul i32 %18, 8192 %20 = or i32 %19, 32 %21 = sub nsw i32 %5, %13 %22 = mul i32 %21, 8192 %23 = or i32 %22, 32 %24 = mul i32 %17, 2 %25 = add nsw i32 %24, %9 %26 = mul i32 %9, 2 %27 = sub nsw i32 %26, %17 %28 = add nsw i32 %25, %20 %29 = ashr i32 %28, 6 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = trunc i64 %31 to i8 %33 = bitcast i64* %arg1 to i8* store i8 %32, i8* %33, align 1 %sext = mul i64 %arg2, 4294967296 %34 = ashr exact i64 %sext, 32 %35 = add i64 %34, %3 %36 = add nsw i32 %23, %27 %37 = ashr i32 %36, 6 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i8 %41 = inttoptr i64 %35 to i8* store i8 %40, i8* %41, align 1 %42 = add i64 %35, %34 %43 = sub nsw i32 %23, %27 %44 = ashr i32 %43, 6 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i8 %48 = inttoptr i64 %42 to i8* store i8 %47, i8* %48, align 1 %49 = add i64 %42, %34 %50 = sub nsw i32 %20, %25 %51 = ashr i32 %50, 6 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %52) %54 = trunc i64 %53 to i8 %55 = inttoptr i64 %49 to i8* store i8 %54, i8* %55, align 1 ret i64 %49 uselistorder i64 %49, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 } uselistorder i64 32, { 0, 2, 1 } }
1
BinRealVul
kvm_alloc_linear_18233
kvm_alloc_linear
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.in4.reg2mem = alloca i64 %storemerge.in7.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32* %0 = call i64 @FUNC(i64* nonnull @gv_0) %storemerge.in5 = load i64, i64* inttoptr (i64 4210768 to i64*), align 16 %storemerge6 = inttoptr i64 %storemerge.in5 to i32* %1 = icmp eq i32* %storemerge6, inttoptr (i64 4210768 to i32*) %2 = icmp eq i1 %1, false store i64 %storemerge.in5, i64* %storemerge.in4.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = trunc i64 %arg1 to i32 store i32* %storemerge6, i32** %storemerge8.reg2mem store i64 %storemerge.in5, i64* %storemerge.in7.reg2mem br label LBL_2 LBL_2: %storemerge.in7.reload = load i64, i64* %storemerge.in7.reg2mem %storemerge8.reload = load i32*, i32** %storemerge8.reg2mem %4 = load i32, i32* %storemerge8.reload, align 4 %5 = icmp eq i32 %4, %3 %6 = icmp eq i1 %5, false %7 = add i64 %storemerge.in7.reload, 8 br i1 %6, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %7) %9 = add i64 %storemerge.in7.reload, 4 %10 = call i64 @FUNC(i64 %9) store i64 %storemerge.in7.reload, i64* %storemerge.in4.reg2mem br label LBL_5 LBL_4: %11 = inttoptr i64 %7 to i64* %storemerge.in = load i64, i64* %11, align 8 %storemerge = inttoptr i64 %storemerge.in to i32* %12 = icmp eq i32* %storemerge, inttoptr (i64 4210768 to i32*) %13 = icmp eq i1 %12, false store i32* %storemerge, i32** %storemerge8.reg2mem store i64 %storemerge.in, i64* %storemerge.in7.reg2mem store i64 %storemerge.in, i64* %storemerge.in4.reg2mem br i1 %13, label LBL_2, label LBL_5 LBL_5: %storemerge.in4.reload = load i64, i64* %storemerge.in4.reg2mem %14 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %storemerge.in4.reload uselistorder i64 %7, { 1, 0 } uselistorder i64 %storemerge.in7.reload, { 0, 2, 1 } uselistorder i64 %storemerge.in5, { 1, 0, 2 } uselistorder i32** %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in7.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in4.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32* inttoptr (i64 4210768 to i32*), { 1, 0 } uselistorder i32 1, { 3, 2, 1, 4, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hdspm_get_system_sample_rate_4661
hdspm_get_system_sample_rate
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp ult i32 %4, 207001 store i64 %3, i64* %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %2) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %spec.select = select i1 %13, i64 %10, i64 %1 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = and i64 %sv_0.0.reload, 4294967295 ret i64 %14 }
0
BinRealVul
acpi_bus_generate_proc_event4_4140
acpi_bus_generate_proc_event4
define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 536, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = inttoptr i64 %3 to i8* %7 = call i8* @strcpy(i8* %6, i8* %arg1) %8 = add i64 %3, 256 %9 = inttoptr i64 %8 to i8* %10 = call i8* @strcpy(i8* %9, i8* %arg2) %11 = trunc i64 %arg3 to i8 %12 = add i64 %3, 512 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 %14 = trunc i64 %arg4 to i32 %15 = add i64 %3, 516 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64* nonnull @gv_0, i64 0) %18 = add i64 %3, 520 %19 = call i64 @FUNC(i64 %18, i64* nonnull @gv_1) %20 = call i64 @FUNC(i64* nonnull @gv_0, i64 0) %21 = call i64 @FUNC(i64* nonnull @gv_2) store i64 0, 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 i8* (i8*, i8*)* @strcpy, { 1, 0 } uselistorder i32 1, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
Com_RandomBytes_18292
Com_RandomBytes
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0)) %7 = trunc i64 %arg2 to i32 %8 = icmp sgt i32 %7, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = call i32 @rand() %10 = sext i32 %9 to i64 %11 = mul nsw i64 %10, -2139062143 %12 = udiv i64 %11, 4294967296 %13 = trunc i64 %12 to i32 %14 = add i32 %9, %13 %15 = ashr i32 %14, 7 %16 = ashr i32 %9, 31 %17 = sub nsw i32 %15, %16 %18 = mul i32 %17, -255 %19 = add i32 %18, %9 %20 = add i64 %indvars.iv.reload, %0 %21 = trunc i32 %19 to i8 %22 = inttoptr i64 %20 to i8* store i8 %21, i8* %22, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %1, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %9, { 1, 2, 0, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
handle_ing_17699
handle_ing
define i64 @FUNC(i64 %arg1, i64* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = inttoptr i64 %0 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, ptrtoint (i64* @gv_0 to i64) br i1 %5, label LBL_6, label LBL_2 LBL_2: %6 = icmp eq i64* %arg2, null br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %arg1, i64 %7, i64 %arg4) %9 = trunc i64 %8 to i32 store i32 %9, i32* %arg3, align 4 store i64 0, i64* %arg2, align 8 br label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %arg1, i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp ult i32 %11, 2 br i1 %12, label LBL_5, label LBL_6 LBL_5: %13 = call i64 @FUNC(i64 %arg1) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %14 = add i64 %arg1, 8 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 store i64 %arg1, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder i64 %arg1, { 0, 4, 2, 3, 1, 5 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
mp3_read_packet_15492
mp3_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i32 4096) %3 = trunc i64 %2 to i32 %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = icmp eq i32 %3, 0 %7 = icmp slt i32 %3, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = and i64 %2, 4294967295 %spec.select1 = select i1 %8, i64 4294967295, i64 %11 ret i64 %spec.select1 LBL_2: %12 = icmp slt i32 %3, 129 store i32 %3, i32* %sv_0.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = mul i64 %2, 4294967296 %sext = add i64 %13, -549755813888 %14 = ashr exact i64 %sext, 32 %15 = add i64 %0, 8 %16 = add i64 %15, %14 %17 = inttoptr i64 %16 to i64* %18 = call i32 @memcmp(i64* %17, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3) %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false %21 = add i32 %3, -128 %spec.select = select i1 %20, i32 %3, i32 %21 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = bitcast i64* %arg2 to i32* store i32 %sv_0.0.reload, i32* %22, align 4 %23 = zext i32 %sv_0.0.reload to i64 ret i64 %23 uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32 %3, { 1, 2, 0, 3, 5, 4 } uselistorder i1 false, { 1, 2, 0 } }
1
BinRealVul
ogm_header_7411
ogm_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64* %.pre-phi6.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 28 %7 = add i64 %5, %6 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, %0 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %7 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %7, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = add i64 %13, %17 %19 = inttoptr i64 %18 to i8* store i8* %19, i8** %sv_2, align 8 %20 = load i8, i8* %19, align 1 %21 = urem i8 %20, 2 %22 = icmp eq i8 %21, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_1, label LBL_18 LBL_1: %24 = icmp eq i8 %20, 1 %25 = icmp eq i1 %24, false br i1 %25, label LBL_15, label LBL_2 LBL_2: %26 = add i64 %18, 1 %27 = inttoptr i64 %26 to i8* store i8* %27, i8** %sv_2, align 8 %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 118 %30 = icmp eq i1 %29, false br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = inttoptr i64 %11 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 %34 = load i8*, i8** %sv_2, align 8 %35 = ptrtoint i8* %34 to i64 %36 = add i64 %35, 8 %37 = inttoptr i64 %36 to i8* store i8* %37, i8** %sv_2, align 8 %38 = bitcast i8** %sv_2 to i64* %39 = call i64 @FUNC(i64* nonnull %38) %40 = trunc i64 %39 to i32 %41 = load i32, i32* @gv_0, align 4 %42 = sext i32 %41 to i64 %43 = load i64, i64* %31, align 8 %44 = and i64 %39, 4294967295 %45 = call i64 @FUNC(i64 %42, i64 %44) %46 = trunc i64 %45 to i32 %47 = add i64 %43, 4 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i64, i64* %31, align 8 %50 = add i64 %49, 8 %51 = inttoptr i64 %50 to i32* store i32 %40, i32* %51, align 4 store i64* %31, i64** %.pre-phi6.reg2mem store i64* %38, i64** %.pre-phi.reg2mem br label LBL_8 LBL_4: %52 = icmp eq i8 %28, 116 %53 = icmp eq i1 %52, false %54 = inttoptr i64 %11 to i64* %55 = load i64, i64* %54, align 8 %56 = inttoptr i64 %55 to i32* br i1 %53, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %56, align 4 %57 = load i64, i64* %54, align 8 %58 = add i64 %57, 4 %59 = inttoptr i64 %58 to i32* store i32 3, i32* %59, align 4 %60 = load i8*, i8** %sv_2, align 8 %61 = ptrtoint i8* %60 to i64 %62 = add i64 %61, 12 %63 = inttoptr i64 %62 to i8* store i8* %63, i8** %sv_2, align 8 %.pre = bitcast i8** %sv_2 to i64* store i64* %54, i64** %.pre-phi6.reg2mem store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_8 LBL_6: store i32 2, i32* %56, align 4 %64 = load i8*, i8** %sv_2, align 8 %65 = ptrtoint i8* %64 to i64 %66 = add i64 %65, 8 %67 = inttoptr i64 %66 to i8* store i8* %67, i8** %sv_2, align 8 %68 = bitcast i8** %sv_2 to i64* %69 = call i64 @FUNC(i64* nonnull %68, i64* nonnull %sv_1, i64 4) %70 = bitcast i64* %sv_1 to i8* %71 = call i32 @strtol(i8* nonnull %70, i8** null, i32 16) %72 = load i32, i32* @gv_1, align 4 %73 = sext i32 %72 to i64 %74 = load i64, i64* %54, align 8 %75 = zext i32 %71 to i64 %76 = call i64 @FUNC(i64 %73, i64 %75) %77 = trunc i64 %76 to i32 %78 = add i64 %74, 4 %79 = inttoptr i64 %78 to i32* store i32 %77, i32* %79, align 4 %80 = load i64, i64* %54, align 8 %81 = add i64 %80, 4 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = icmp eq i32 %83, 4 store i64* %54, i64** %.pre-phi6.reg2mem store i64* %68, i64** %.pre-phi.reg2mem br i1 %84, label LBL_8, label LBL_7 LBL_7: %85 = add i64 %11, 8 %86 = inttoptr i64 %85 to i32* store i32 1, i32* %86, align 4 store i64* %54, i64** %.pre-phi6.reg2mem store i64* %68, i64** %.pre-phi.reg2mem br label LBL_8 LBL_8: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem %87 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %88 = add i64 %7, 12 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %92 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %93 = load i8*, i8** %sv_2, align 8 %94 = ptrtoint i8* %93 to i64 %95 = add i64 %94, 12 %96 = inttoptr i64 %95 to i8* store i8* %96, i8** %sv_2, align 8 %97 = load i64, i64* %.pre-phi6.reload, align 8 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = icmp eq i32 %99, 0 %101 = icmp eq i1 %100, false br i1 %101, label LBL_10, label LBL_9 LBL_9: %102 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %103 = trunc i64 %102 to i32 %104 = load i64, i64* %.pre-phi6.reload, align 8 %105 = add i64 %104, 12 %106 = inttoptr i64 %105 to i32* store i32 %103, i32* %106, align 4 %107 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %108 = trunc i64 %107 to i32 %109 = load i64, i64* %.pre-phi6.reload, align 8 %110 = add i64 %109, 16 %111 = inttoptr i64 %110 to i32* store i32 %108, i32* %111, align 4 %112 = mul i64 %92, 10000000 %113 = sext i64 %112 to i128 %114 = call i64 @FUNC(i64 %11, i64 64, i64 %91, i128 %113) store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_10: %115 = trunc i64 %87 to i32 %116 = icmp ult i32 %90, %115 %117 = select i1 %116, i32 %90, i32 %115 %118 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %119 = load i64, i64* %.pre-phi6.reload, align 8 %120 = trunc i64 %118 to i32 %121 = urem i32 %120, 65536 %122 = add i64 %119, 20 %123 = inttoptr i64 %122 to i32* store i32 %121, i32* %123, align 4 %124 = load i8*, i8** %sv_2, align 8 %125 = ptrtoint i8* %124 to i64 %126 = add i64 %125, 2 %127 = inttoptr i64 %126 to i8* store i8* %127, i8** %sv_2, align 8 %128 = call i64 @FUNC(i64* nonnull %.pre-phi.reload) %.tr = trunc i64 %128 to i32 %129 = mul i32 %.tr, 8 %130 = load i64, i64* %.pre-phi6.reload, align 8 %131 = add i64 %130, 24 %132 = inttoptr i64 %131 to i32* store i32 %129, i32* %132, align 4 %133 = mul i64 %92, 10000000 %134 = udiv i64 %133, %91 %135 = load i64, i64* %.pre-phi6.reload, align 8 %136 = trunc i64 %134 to i32 %137 = add i64 %135, 28 %138 = inttoptr i64 %137 to i32* store i32 %136, i32* %138, align 4 %139 = load i64, i64* %.pre-phi6.reload, align 8 %140 = add i64 %139, 28 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = sext i32 %142 to i128 %144 = call i64 @FUNC(i64 %11, i64 64, i64 1, i128 %143) %145 = icmp ult i32 %117, 56 store i32 %117, i32* %sv_0.0.reg2mem br i1 %145, label LBL_13, label LBL_11 LBL_11: %146 = load i64, i64* %.pre-phi6.reload, align 8 %147 = add i64 %146, 4 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = icmp eq i32 %149, 4 %151 = icmp eq i1 %150, false store i32 %117, i32* %sv_0.05.reg2mem br i1 %151, label LBL_14, label LBL_12 LBL_12: %152 = load i8*, i8** %sv_2, align 8 %153 = ptrtoint i8* %152 to i64 %154 = add i64 %153, 4 %155 = inttoptr i64 %154 to i8* store i8* %155, i8** %sv_2, align 8 %156 = add i32 %117, -4 store i32 %156, i32* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %157 = icmp ult i32 %sv_0.0.reload, 53 store i32 %sv_0.0.reload, i32* %sv_0.05.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %157, label LBL_18, label LBL_14 LBL_14: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %158 = call i64 @FUNC(i64 1) %159 = add i32 %sv_0.05.reload, -52 %160 = load i64, i64* %.pre-phi6.reload, align 8 %161 = add i64 %160, 32 %162 = inttoptr i64 %161 to i32* store i32 %159, i32* %162, align 4 %163 = add i32 %sv_0.05.reload, -20 %164 = zext i32 %163 to i64 %165 = load i64, i64* %.pre-phi6.reload, align 8 %166 = call i64 @FUNC(i64 %164) %167 = add i64 %165, 40 %168 = inttoptr i64 %167 to i64* store i64 %166, i64* %168, align 8 %169 = zext i32 %159 to i64 %170 = load i64, i64* %.pre-phi6.reload, align 8 %171 = add i64 %170, 40 %172 = inttoptr i64 %171 to i64* %173 = load i64, i64* %172, align 8 %174 = inttoptr i64 %173 to i64* %175 = call i64 @FUNC(i64* nonnull %.pre-phi.reload, i64* %174, i64 %169) store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_15: %176 = icmp eq i8 %20, 3 %177 = icmp eq i1 %176, false store i64 1, i64* %storemerge.reg2mem br i1 %177, label LBL_18, label LBL_16 LBL_16: %178 = add i64 %7, 12 %179 = inttoptr i64 %178 to i32* %180 = load i32, i32* %179, align 4 %181 = icmp slt i32 %180, 9 store i64 1, i64* %storemerge.reg2mem br i1 %181, label LBL_18, label LBL_17 LBL_17: %182 = add i32 %180, -8 %183 = zext i32 %182 to i64 %184 = add i64 %18, 7 %185 = add i64 %11, 16 %186 = call i64 @FUNC(i64 %0, i64 %185, i64 %184, i64 %183) store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_18: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %159, { 1, 0 } uselistorder i32 %117, { 2, 0, 1, 3 } uselistorder i64* %.pre-phi6.reload, { 3, 4, 5, 2, 6, 7, 8, 9, 0, 1, 10 } uselistorder i64* %.pre-phi.reload, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64* %68, { 1, 0, 2 } uselistorder i32* %56, { 1, 0 } uselistorder i64* %54, { 2, 1, 4, 5, 0, 3, 6 } uselistorder i8 %20, { 1, 2, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %11, { 5, 2, 1, 3, 4, 0 } uselistorder i64 %7, { 1, 0, 2, 3 } uselistorder i64 %sext, { 1, 0 } uselistorder i8** %sv_2, { 14, 13, 12, 11, 10, 9, 16, 8, 7, 0, 6, 5, 15, 4, 3, 2, 1 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64** %.pre-phi6.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64** %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_0.05.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 7 } uselistorder i64 32, { 1, 0 } uselistorder i32 65536, { 1, 0 } uselistorder i64 (i64, i64, i64, i128)* @avpriv_set_pts_info, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_le64, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64*, i64*, i64)* @bytestream_get_buffer, { 1, 0 } uselistorder i64 12, { 1, 2, 0, 3, 4 } uselistorder i64 4, { 1, 2, 3, 4, 0, 5, 6, 7, 8 } uselistorder i64 (i64, i64)* @ff_codec_get_id, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_le32, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 3, 4, 5, 0, 1, 2 } uselistorder i64 1, { 5, 4, 3, 2, 7, 1, 8, 0, 9, 6, 10, 11, 12 } uselistorder i64 28, { 1, 2, 0 } uselistorder label LBL_18, { 5, 4, 3, 2, 1, 0, 6 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
amdvi_class_init_1233
amdvi_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i8* store i8 0, i8* %4, align 1 store i64 4198669, i64* %arg1, align 8 %5 = add i64 %0, 17 %6 = inttoptr i64 %5 to i8* store i8 1, i8* %6, align 1 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
enable_each_ist_7285
enable_each_ist
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0, i64 1) %3 = call i64 @FUNC(i64 %0, i64 2) %4 = call i64 @FUNC(i64 %0, i64 3) ret i64 %4 uselistorder i64 (i64, i64)* @set_ist, { 3, 2, 1, 0 } }
0
BinRealVul
mov_read_chan_1799
mov_read_chan
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 %7 = icmp sgt i32 %arg3, 15 %or.cond = icmp eq i1 %7, %6 br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %0, 4294967296 %9 = ashr exact i64 %sext, 29 %10 = add nsw i64 %9, -8 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %10, %13 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i32 %arg3, -4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %0, i64 %8, i64 %16, i64 %18) br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ccid_kmem_cache_create_11863
ccid_kmem_cache_create
define i64 @FUNC(i64 %arg1, i64* %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg1, 4294967296 store i32 24, i32* %sv_0, align 4 %22 = ptrtoint i32* %sv_0 to i64 %23 = bitcast i64* %arg2 to i8* %24 = call i32 @vsnprintf(i8* %23, i32 8, i8* %arg3, i64 %22) %25 = ashr exact i64 %sext, 32 %26 = call i64 @FUNC(i64 %21, i64 %25, i64 0, i64 0, i64 0) ret i64 %26 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1