dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
rbd_aio_bh_cb_15920
rbd_aio_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi2.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %2, 8 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_2: %6 = add i64 %2, 16 %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 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %8, i64 0, i64 %13, i64 %10) store i64* %12, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_3: %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %15 = load i64, i64* %.pre-phi2.reload, align 8 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %2, 48 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %18, align 8 %21 = call i64 @FUNC(i64 %2) ret i64 %21 uselistorder i64 %2, { 1, 2, 4, 3, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
reds_stream_writev_10497
reds_stream_writev
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 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_7 LBL_2: %4 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.05.reg2mem br label LBL_3 LBL_3: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 16 %7 = add i64 %6, %4 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %7 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 %10) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp slt i32 %14, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 br i1 %19, label LBL_6, label LBL_4 LBL_4: %20 = icmp eq i64 %sv_0.05.reload, 0 %21 = icmp eq i1 %20, false store i64 %sv_0.05.reload, i64* %rax.0.reg2mem br i1 %21, label LBL_7, label LBL_5 LBL_5: %sext2 = mul i64 %13, 4294967296 %22 = ashr exact i64 %sext2, 32 store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %sext3 = mul i64 %13, 4294967296 %23 = ashr exact i64 %sext3, 32 %24 = add i64 %23, %sv_0.05.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %25 = icmp slt i64 %indvars.iv.next, %5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %24, i64* %sv_0.05.reg2mem store i64 %24, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %14, { 1, 0 } uselistorder i64 %sv_0.05.reload, { 1, 0, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 3, 2, 4 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_7, { 0, 4, 2, 1, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
unmap_switcher_3737
unmap_switcher
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %indvars.iv.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 = call i64 @FUNC(i64 %2) %4 = load i64, i64* @gv_1, align 8 store i64 0, i64* %indvars.iv.reg2mem store i64 %4, i64* %.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 8 %6 = add i64 %5, %.reload %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %10 = load i64, i64* @gv_1, align 8 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %10, i64* %.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %11 = call i64 @FUNC(i64 %10) ret i64 %11 uselistorder i64 %10, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } }
0
BinRealVul
sun4m_fdctrl_init_18682
sun4m_fdctrl_init
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = add i64 %1, 8 %7 = call i64 @FUNC(i64 %1, i64 0, i64 %arg1) %8 = call i64 @FUNC(i64 %1, i64 0, i64 %arg2) %9 = call i64 @FUNC(i64 %1, i64 0) store i64 %9, i64* %arg4, align 8 store i64 %6, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 3, 2, 1, 0, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
write_pseudoref_17886
write_pseudoref
define i64 @FUNC(i8* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i8* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64* nonnull %sv_2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %2, i64 %1) %8 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %5) %sext = mul i64 %8, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = call i64 @FUNC() %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 4210889, i64 %9, i64 1, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = call i8* @strerror(i32 %17) %19 = ptrtoint i8* %18 to i64 %20 = call i64 @FUNC(i64* %arg4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %19, i64 %2, i64 %1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_10 LBL_2: %21 = icmp eq i64* %arg3, null br i1 %21, label LBL_7, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = ptrtoint i64* %sv_1 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %25, i64 %11, i64 %2, i64 %1) unreachable LBL_5: %27 = ptrtoint i64* %arg3 to i64 %28 = call i64 @FUNC(i64* nonnull %sv_1, i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64* %arg4, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %5, i64 %11, i64 %2, i64 %1) %32 = call i64 @FUNC(i64* nonnull @gv_5) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_10 LBL_7: %33 = load i64, i64* %sv_2, align 8 %34 = and i64 %12, 4294967295 %35 = call i64 @FUNC(i64 %34, i64 %33, i64 0) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = call i64 @FUNC(i64* %arg4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 %9, i64 %33, i64 %2, i64 %1) %40 = call i64 @FUNC(i64* nonnull @gv_5) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %41 = call i64 @FUNC(i64* nonnull @gv_5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %42 = call i64 @FUNC(i64* nonnull %sv_2) ret i64 %sv_0.0.reload uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %9, { 1, 0, 2 } uselistorder i64* %sv_2, { 0, 2, 1, 3 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i64 %2, { 3, 2, 4, 1, 0 } uselistorder i64 %1, { 3, 2, 4, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*)* @rollback_lock_file, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967295, { 2, 4, 1, 0, 5, 3 } uselistorder i64 (i64*, i8*, i64, i64, i64, i64)* @strbuf_addf, { 3, 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } }
1
BinRealVul
serial_imx_probe_dt_4152
serial_imx_probe_dt
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) store i64 %1, i64* %arg1, align 8 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i32 %5) %9 = and i64 %4, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i32* store i32 %5, i32* %12, align 4 %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 0) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = add i64 %10, 12 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 br label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 0) %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = add i64 %10, 16 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %10, { 1, 0, 2 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i8*, i64)* @of_get_property, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 3, 2 } }
0
BinRealVul
bitstr_close_12496
bitstr_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %2, label LBL_3 [ i32 1, label LBL_1 i32 2, label LBL_2 ] LBL_1: %3 = call i64 @FUNC(i64 %arg1) store i64 %3, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC(i64 %arg1) store i64 %4, 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, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
desc_ring_alloc_14223
desc_ring_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i64* store i64 %3, i64* %4, align 8 %5 = trunc i64 %arg2 to i32 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 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 } }
1
BinRealVul
virtio_blk_handle_scsi_14293
virtio_blk_handle_scsi
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %arg1, i64 %4) %6 = call i64 @FUNC(i64 %arg1) ret i64 %6 }
1
BinRealVul
qemu_co_rwlock_unlock_2749
qemu_co_rwlock_unlock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i8 %9 = icmp eq i8 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = bitcast i64* %arg1 to i8* store i8 0, i8* %10, align 1 %11 = add i64 %7, 8 %12 = call i64 @FUNC(i64 %11) br label LBL_8 LBL_4: %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i32 %15, -1 store i32 %16, i32* %14, align 4 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false store i32 %16, i32* %.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %14, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %19 = icmp eq i32 %.reload, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = add i64 %7, 8 %22 = call i64 @FUNC(i64 %21) br label LBL_8 LBL_8: %23 = inttoptr i64 %2 to i32* %24 = load i32, i32* %23, align 4 %25 = add i32 %24, -1 store i32 %25, i32* %23, align 4 ret i64 %2 uselistorder i32* %23, { 1, 0 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } }
0
BinRealVul
tun_sendmsg_8626
tun_sendmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = and i32 %7, 2 %9 = urem i32 %7, 2 %10 = zext i32 %8 to i64 %11 = zext i32 %9 to i64 %12 = call i64 @FUNC(i64 %1, i64 %0, i64 %4, i64 %5, i64 %11, i64 %10) %13 = call i64 @FUNC(i64 %1) %14 = and i64 %12, 4294967295 store i64 %14, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fsmMkdirs_5937
fsmMkdirs
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.7.reg2mem = alloca i32 %.reg2mem41 = alloca i64 %sv_0.5.reg2mem = alloca i32 %sv_0.3.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i32 %sv_2.0.in14.reg2mem = alloca i64 %sv_0.415.reg2mem = alloca i32 %sv_2.016.reg2mem = alloca i8* %.reg2mem39 = alloca i8 %.reg2mem37 = alloca i8* %sv_3.0.ph18.reg2mem = alloca i64 %sv_4.promoted.reg2mem = alloca i8* %.reg2mem = alloca i8* %2 = load i64, i64* %0 %3 = load i32, i32* %1 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i8*, align 8 %sv_6 = alloca i64, align 8 %4 = call i64 @FUNC(i64 0) store i8* null, i8** %sv_5, align 8 %5 = call i64 @FUNC() %6 = inttoptr i64 %5 to i8* store i8* %6, i8** %sv_4, align 8 %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false store i32 0, i32* %sv_0.7.reg2mem br i1 %8, label LBL_1, label LBL_27 LBL_1: %9 = ptrtoint i64* %sv_6 to i64 %10 = and i32 %3, 61440 %11 = icmp eq i32 %10, 16384 %12 = bitcast i8** %sv_5 to i64* store i8* null, i8** %.reg2mem store i8* %6, i8** %sv_4.promoted.reg2mem store i64 0, i64* %sv_3.0.ph18.reg2mem br label LBL_2 LBL_2: %sv_3.0.ph18.reload = load i64, i64* %sv_3.0.ph18.reg2mem %sv_4.promoted.reload = load i8*, i8** %sv_4.promoted.reg2mem %.reload = load i8*, i8** %.reg2mem %13 = ptrtoint i8* %.reload to i64 store i8* %sv_4.promoted.reload, i8** %.reg2mem37 br label LBL_3 LBL_3: %.reload38 = load i8*, i8** %.reg2mem37 %14 = call i32 @strlen(i8* %.reload38) %15 = icmp ult i32 %14, 2 br i1 %15, label LBL_25, label LBL_4 LBL_4: %16 = sext i32 %14 to i64 %17 = icmp eq i64 %sv_3.0.ph18.reload, %16 %18 = icmp eq i1 %17, false %.pre36 = ptrtoint i8* %.reload38 to i64 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %.pre36, i64 %13) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_25, label LBL_6 LBL_6: store i8* %.reload38, i8** %sv_4, align 8 %23 = add nsw i64 %16, 16 %24 = udiv i64 %23, 16 %25 = mul i64 %24, 16 %26 = sub i64 %9, %25 %27 = inttoptr i64 %26 to i8* %28 = call i8* @strcpy(i8* %27, i8* %.reload38) %29 = or i64 %26, 1 %sv_2.011 = inttoptr i64 %29 to i8* %30 = load i8, i8* %sv_2.011, align 1 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false store i8 %30, i8* %.reg2mem39 store i8* %sv_2.011, i8** %sv_2.016.reg2mem store i32 0, i32* %sv_0.415.reg2mem store i64 %29, i64* %sv_2.0.in14.reg2mem store i32 1, i32* %sv_1.012.reg2mem store i64 %.pre36, i64* %.reg2mem41 br i1 %32, label LBL_7, label LBL_24 LBL_7: %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem %sv_2.0.in14.reload = load i64, i64* %sv_2.0.in14.reg2mem %sv_0.415.reload = load i32, i32* %sv_0.415.reg2mem %.reload40 = load i8, i8* %.reg2mem39 %33 = icmp eq i8 %.reload40, 47 %34 = icmp eq i1 %33, false store i32 %sv_0.415.reload, i32* %sv_0.3.reg2mem br i1 %34, label LBL_21, label LBL_8 LBL_8: %sv_2.016.reload = load i8*, i8** %sv_2.016.reg2mem %35 = sext i32 %sv_1.012.reload to i64 %36 = icmp ugt i64 %sv_3.0.ph18.reload, %35 br i1 %36, label LBL_9, label LBL_11 LBL_9: %37 = load i8*, i8** %sv_5, align 8 %38 = ptrtoint i8* %37 to i64 %39 = add i64 %38, %35 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = icmp ne i8 %41, 47 %43 = icmp eq i8 %41, 0 %44 = icmp eq i1 %43, false %or.cond = icmp eq i1 %42, %44 br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: %45 = call i64 @FUNC(i64 %26, i64 %38, i64 %35) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i32 %sv_0.415.reload, i32* %sv_0.3.reg2mem br i1 %48, label LBL_21, label LBL_11 LBL_11: store i8 0, i8* %sv_2.016.reload, align 1 %49 = call i64 @FUNC(i64 %26, i64 1, i64* nonnull %sv_6) %50 = trunc i64 %49 to i32 store i8 47, i8* %sv_2.016.reload, align 1 %51 = icmp eq i32 %50, 0 %or.cond7 = icmp eq i1 %11, %51 store i32 0, i32* %sv_0.3.reg2mem br i1 %or.cond7, label LBL_21, label LBL_12 LBL_12: %52 = icmp eq i32 %50, 2 %53 = icmp eq i1 %52, false store i32 %50, i32* %sv_0.2.reg2mem br i1 %53, label LBL_20, label LBL_13 LBL_13: store i8 0, i8* %sv_2.016.reload, align 1 %54 = call i64 @FUNC(i64 0, i64 %26, i32 16877, i32 3) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i32 %55, i32* %sv_0.0.reg2mem br i1 %57, label LBL_15, label LBL_14 LBL_14: %58 = call i64 @FUNC(i64 4294967295, i64 %26, i32 16877) %59 = trunc i64 %58 to i32 store i32 %59, i32* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %60 = icmp eq i32 %sv_0.0.reload, 0 %61 = icmp eq i1 %60, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %61, label LBL_17, label LBL_16 LBL_16: %62 = call i64 @FUNC(i64 0, i64 %26, i64 %26, i32 16877, i64 3) %63 = trunc i64 %62 to i32 store i32 %63, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %64 = zext i32 %sv_0.1.reload to i64 %65 = call i64 @FUNC(i64 0, i64 %26, i32 16877, i32 3, i64 %64) %66 = icmp eq i32 %sv_0.1.reload, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_19, label LBL_18 LBL_18: %68 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 493, i64 %64, i64 %2) br label LBL_19 LBL_19: store i8 47, i8* %sv_2.016.reload, align 1 store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br label LBL_20 LBL_20: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %69 = icmp eq i32 %sv_0.2.reload, 0 %70 = icmp eq i1 %69, false store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.5.reg2mem br i1 %70, label LBL_22, label LBL_21 LBL_21: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %71 = add i64 %sv_2.0.in14.reload, 1 %72 = add i32 %sv_1.012.reload, 1 %sv_2.0 = inttoptr i64 %71 to i8* %73 = load i8, i8* %sv_2.0, align 1 %74 = icmp eq i8 %73, 0 %75 = icmp eq i1 %74, false store i8 %73, i8* %.reg2mem39 store i8* %sv_2.0, i8** %sv_2.016.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.415.reg2mem store i64 %71, i64* %sv_2.0.in14.reg2mem store i32 %72, i32* %sv_1.012.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.5.reg2mem br i1 %75, label LBL_7, label LBL_22 LBL_22: %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem %76 = icmp eq i32 %sv_0.5.reload, 0 store i32 %sv_0.5.reload, i32* %sv_0.7.reg2mem br i1 %76, label LBL_22.LBL_24_crit_edge, label LBL_27 LBL_23: %77 = load i8*, i8** %sv_4, align 8 %78 = ptrtoint i8* %77 to i64 store i64 %78, i64* %.reg2mem41 br label LBL_24 LBL_24: %.reload42 = load i64, i64* %.reg2mem41 store i64 %.reload42, i64* %12, align 8 %79 = call i64 @FUNC() %80 = inttoptr i64 %79 to i8* store i8* %80, i8** %sv_4, align 8 %81 = icmp eq i64 %79, 0 %82 = icmp eq i1 %81, false %83 = inttoptr i64 %.reload42 to i8* store i8* %83, i8** %.reg2mem store i8* %80, i8** %sv_4.promoted.reg2mem store i64 %16, i64* %sv_3.0.ph18.reg2mem store i32 0, i32* %sv_0.7.reg2mem br i1 %82, label LBL_2, label LBL_27 LBL_25: %84 = call i64 @FUNC() %85 = inttoptr i64 %84 to i8* %86 = icmp eq i64 %84, 0 %87 = icmp eq i1 %86, false store i8* %85, i8** %.reg2mem37 br i1 %87, label LBL_3, label LBL_26 LBL_26: store i8* %85, i8** %sv_4, align 8 store i32 0, i32* %sv_0.7.reg2mem br label LBL_27 LBL_27: %sv_0.7.reload = load i32, i32* %sv_0.7.reg2mem %88 = call i64 @FUNC() %89 = zext i32 %sv_0.7.reload to i64 ret i64 %89 uselistorder i8* %85, { 1, 0 } uselistorder i64 %84, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 0, 2, 1 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %35, { 1, 0, 2 } uselistorder i8* %sv_2.016.reload, { 3, 2, 1, 0 } uselistorder i32 %sv_1.012.reload, { 1, 0 } uselistorder i64 %26, { 1, 2, 4, 3, 5, 6, 7, 0, 8, 9 } uselistorder i32 %14, { 1, 0 } uselistorder i8* %.reload38, { 2, 1, 3, 0 } uselistorder i8** %sv_5, { 2, 0, 1 } uselistorder i8** %sv_4, { 1, 4, 0, 2, 3 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_4.promoted.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.ph18.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem37, { 1, 0, 2 } uselistorder i8* %.reg2mem39, { 2, 0, 1 } uselistorder i8** %sv_2.016.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.415.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.in14.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.012.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %.reg2mem41, { 0, 2, 1 } uselistorder i32* %sv_0.7.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32 16877, { 2, 1, 0, 3 } uselistorder i8 47, { 2, 3, 0, 1 } uselistorder i8 0, { 4, 2, 3, 1, 0, 5 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i32 0, { 1, 0, 5, 6, 7, 8, 9, 3, 10, 11, 4, 12, 2, 13, 14 } uselistorder i1 false, { 14, 2, 11, 4, 5, 6, 7, 8, 9, 3, 10, 1, 12, 13, 0 } uselistorder i64 ()* @dnlNextIterator, { 2, 1, 0 } uselistorder i32 1, { 27, 14, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 0, 3, 2, 1 } uselistorder label LBL_27, { 2, 1, 0, 3 } uselistorder label LBL_21, { 3, 0, 1, 2 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
wolfSSH_SFTP_RecvSetSTAT_7308
wolfSSH_SFTP_RecvSetSTAT
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8 %sv_1.1.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i32, align 4 %sv_8 = alloca i64, align 8 %sv_9 = alloca i32, align 4 store i32 0, i32* %sv_9, align 4 store i64 0, i64* %sv_8, align 8 store i32 0, i32* %sv_7, align 4 store i64 7598826294347064659, i64* %sv_6, align 8 store i64 8367799623835807317, i64* %sv_5, align 8 store i64 8367799623835807317, i64* %sv_4, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_12 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %4 = bitcast i32* %sv_3 to i64* %5 = call i64 @FUNC(i64 %2, i64* nonnull %4) store i32 4, i32* %sv_9, align 4 %6 = add i32 %arg4, -4 %7 = load i32, i32* %sv_3, align 4 %8 = icmp ult i32 %6, %7 %9 = icmp eq i1 %8, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_12 LBL_2: %10 = add i32 %7, 1 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11, i64 %2, i64 0) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_12 LBL_3: %15 = ptrtoint i64* %arg1 to i64 %16 = ptrtoint i64* %sv_6 to i64 %17 = load i32, i32* %sv_3, align 4 %18 = zext i32 %17 to i64 %19 = add i64 %2, 4 %20 = call i64 @FUNC(i64 %12, i64 %19, i64 %18) %21 = load i32, i32* %sv_3, align 4 %22 = add i32 %21, 4 store i32 %22, i32* %sv_9, align 4 %23 = zext i32 %21 to i64 %24 = add i64 %12, %23 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 %26 = call i64 @FUNC(i64 %15, i64 %12) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %29, false store i64 4294967292, i64* %sv_2.2.reg2mem store i64 %16, i64* %sv_1.1.reg2mem store i8 0, i8* %sv_0.1.reg2mem store i64 %15, i64* %rdi.1.reg2mem br i1 %30, label LBL_7, label LBL_4 LBL_4: %31 = zext i32 %arg4 to i64 %32 = call i64 @FUNC(i64 %15, i64* nonnull %sv_8, i64 %2, i32* nonnull %sv_9, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = ptrtoint i64* %sv_4 to i64 %not. = icmp ne i1 %34, true %spec.select5 = zext i1 %not. to i8 %36 = icmp eq i1 %34, false store i64 4294967291, i64* %sv_2.2.reg2mem store i64 %35, i64* %sv_1.1.reg2mem store i8 %spec.select5, i8* %sv_0.1.reg2mem store i64 %15, i64* %rdi.1.reg2mem br i1 %36, label LBL_7, label LBL_5 LBL_5: %37 = call i64 @FUNC(i64 %15, i64 %12, i64* nonnull %sv_8) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 0, i64* %sv_2.2.reg2mem store i64 %16, i64* %sv_1.1.reg2mem store i8 %spec.select5, i8* %sv_0.1.reg2mem store i64 %15, i64* %rdi.1.reg2mem br i1 %39, label LBL_7, label LBL_6 LBL_6: %40 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0)) %41 = ptrtoint i64* %sv_5 to i64 store i64 4294967291, i64* %sv_2.2.reg2mem store i64 %41, i64* %sv_1.1.reg2mem store i8 1, i8* %sv_0.1.reg2mem store i64 2, i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %42 = call i64 @FUNC(i64 %12, i64 %rdi.1.reload, i64 0) %43 = call i64 @FUNC(i64 %15, i8 %sv_0.1.reload, i32 %arg2, i64 %sv_1.1.reload, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 0, i32* nonnull %sv_7) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 1 store i64 4294967292, i64* %rax.0.reg2mem br i1 %45, label LBL_8, label LBL_12 LBL_8: %46 = load i32, i32* %sv_7, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %47, i64 %15, i64 0) store i64 %48, i64* %sv_8, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %50, label LBL_9, label LBL_12 LBL_9: %51 = call i64 @FUNC(i64 %15, i8 %sv_0.1.reload, i32 %arg2, i64 %sv_1.1.reload, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %48, i32* nonnull %sv_7) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_11, label LBL_10 LBL_10: %54 = load i64, i64* %sv_8, align 8 %55 = call i64 @FUNC(i64 %54, i64 %15, i64 0) store i64 4294967292, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %56 = load i32, i32* %sv_7, align 4 %57 = load i64, i64* %sv_8, align 8 %58 = call i64 @FUNC(i64 %15, i64 %57, i32 %56) store i64 %sv_2.2.reload, 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 %sv_1.1.reload, { 1, 0 } uselistorder i8 %sv_0.1.reload, { 1, 0 } uselistorder i1 %34, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %15, { 6, 5, 7, 8, 9, 1, 4, 2, 3, 0, 10 } uselistorder i64 %12, { 2, 1, 3, 0, 4, 5 } uselistorder i64 %2, { 3, 0, 2, 1 } uselistorder i64* %sv_8, { 2, 3, 4, 0, 1, 5 } uselistorder i32* %sv_7, { 2, 0, 3, 1, 4 } uselistorder i32* %sv_3, { 2, 1, 0, 3 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i8* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 3, 4, 5 } uselistorder i64 (i64, i8, i32, i64, i8*, i64, i32*)* @wolfSSH_SFTP_CreateStatus, { 1, 0 } uselistorder i64 (i64, i64, i64)* @WFREE, { 1, 0 } uselistorder i64 4294967292, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @WMALLOC, { 1, 0 } uselistorder i64 (i64, i8*)* @WLOG, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i32 %arg4, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_12, { 5, 6, 0, 1, 2, 3, 4 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
0
BinRealVul
nfc_llcp_recv_dm_9459
nfc_llcp_recv_dm
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.in.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.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 %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i8 %7 = sext i8 %6 to i32 %8 = call i64 @FUNC(i64 %3) %9 = add i64 %3, 2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = urem i64 %8, 256 %13 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %12, i8 %6, i8 %11, i64 %2, i64 %1) %14 = icmp ult i8 %11, 2 br i1 %14, label LBL_1, label LBL_2 LBL_1: %15 = zext i8 %11 to i64 %16 = urem i32 %7, 256 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %4, i64 %17) store i64 %15, i64* %rcx.0.reg2mem store i64 %17, i64* %rdx.0.reg2mem store i64 %17, i64* %rsi.0.reg2mem store i64 %18, i64* %storemerge3.in.reg2mem br label LBL_3 LBL_2: %19 = trunc i64 %8 to i8 %20 = urem i32 %7, 256 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %4, i64 %21, i8 %19) store i64 %21, i64* %rcx.0.reg2mem store i64 %12, i64* %rdx.0.reg2mem store i64 %21, i64* %rsi.0.reg2mem store i64 %22, i64* %storemerge3.in.reg2mem br label LBL_3 LBL_3: %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem %23 = icmp eq i64 %storemerge3.in.reload, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %25 = trunc i64 %rdx.0.reload to i8 %26 = trunc i64 %rcx.0.reload to i8 %27 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %rsi.0.reload, i8 %25, i8 %26, i64 %2, i64 %1) store i64 %27, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %storemerge3 = inttoptr i64 %storemerge3.in.reload to i32* store i32 1, i32* %storemerge3, align 4 %28 = add i64 %storemerge3.in.reload, 4 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = call i64 @FUNC(i64 %storemerge3.in.reload) store i64 %30, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge3.in.reload, { 3, 2, 0, 1 } uselistorder i8 %11, { 2, 0, 1 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i8, i8, i64, i64)* @pr_debug, { 1, 0 } }
0
BinRealVul
cmd_valid_while_locked_2812
cmd_valid_while_locked
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = trunc i64 %2 to i32 br i1 %4, label LBL_2, label LBL_1 LBL_1: %6 = add i32 %5, -41 %7 = icmp ult i32 %6, 2 %spec.select = zext i1 %7 to i64 ret i64 %spec.select LBL_2: %8 = icmp ne i32 %5, 16 %9 = icmp eq i32 %5, 55 %10 = icmp eq i1 %9, false %or.cond4 = icmp eq i1 %8, %10 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_3, label LBL_4 LBL_3: %sext = mul i64 %2, 4294967296 %11 = ashr exact i64 %sext, 30 %12 = add i64 %11, ptrtoint (i32** @gv_0 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i32 %14, 7 %not.or.cond6 = or i1 %16, %15 %spec.select7 = zext i1 %not.or.cond6 to i64 store i64 %spec.select7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
php_escape_shell_cmd_12613
php_escape_shell_cmd
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %rbx.3.lcssa.reg2mem = alloca i64 %r12.0.reg2mem = alloca i64 %rbx.2.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i8* %rbx.1.reg2mem = alloca i64 %.reg2mem = alloca i8 %rbx.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i8* %sv_1.319.reg2mem = alloca i8* %rbx.322.reg2mem = alloca i64 %r12.125.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = zext i32 %1 to i64 %3 = mul i32 %1, 2 %4 = sext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = icmp eq i32 %1, 0 %.pre30 = inttoptr i64 %5 to i64* store i64 0, i64* %r12.125.reg2mem store i64 0, i64* %rbx.322.reg2mem store i8* null, i8** %sv_1.319.reg2mem store i64 0, i64* %rbx.3.lcssa.reg2mem br i1 %6, label LBL_20, label LBL_1 LBL_1: %sv_1.319.reload = load i8*, i8** %sv_1.319.reg2mem %rbx.322.reload = load i64, i64* %rbx.322.reg2mem %r12.125.reload = load i64, i64* %r12.125.reg2mem %7 = sub nsw i64 %2, %r12.125.reload %sext5 = mul i64 %r12.125.reload, 4294967296 %8 = ashr exact i64 %sext5, 32 %9 = add i64 %8, %arg1 %10 = and i64 %7, 4294967295 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i8* %sv_1.319.reload, i8** %sv_1.2.reg2mem store i64 %rbx.322.reload, i64* %rbx.2.reg2mem store i64 %r12.125.reload, i64* %r12.0.reg2mem br i1 %13, label LBL_19, label LBL_2 LBL_2: %14 = icmp slt i32 %12, 2 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load i64, i64* %.pre30, align 8 %sext7 = mul i64 %rbx.322.reload, 4294967296 %16 = ashr exact i64 %sext7, 32 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i64* %19 = inttoptr i64 %9 to i64* %20 = call i64* @memcpy(i64* %18, i64* %19, i32 %12) %21 = add i64 %11, %rbx.322.reload %22 = and i64 %21, 4294967295 %23 = add nuw nsw i64 %r12.125.reload, 4294967295 %24 = add i64 %23, %11 %25 = and i64 %24, 4294967295 store i8* %sv_1.319.reload, i8** %sv_1.2.reg2mem store i64 %22, i64* %rbx.2.reg2mem store i64 %25, i64* %r12.0.reg2mem br label LBL_19 LBL_4: %26 = inttoptr i64 %9 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 127 store i8 127, i8* %.reg2mem store i64 %rbx.322.reload, i64* %rbx.1.reg2mem br i1 %28, label LBL_18, label LBL_5 LBL_5: %29 = sext i8 %27 to i64 %30 = icmp sgt i8 %27, 90 br i1 %30, label LBL_8, label LBL_6 LBL_6: %31 = icmp eq i8 %27, -1 br i1 %31, label LBL_17, label LBL_7 LBL_7: %.off = add i8 %27, 1 %32 = icmp ult i8 %.off, 65 %33 = icmp sgt i8 %27, 9 %or.cond18 = icmp eq i1 %33, %32 store i8 %27, i8* %.reg2mem store i64 %rbx.322.reload, i64* %rbx.1.reg2mem br i1 %or.cond18, label LBL_9, label LBL_18 LBL_8: %34 = add nsw i64 %29, 37 %35 = urem i64 %34, 64 %36 = lshr i64 64424509487, %35 %37 = urem i64 %36, 2 %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false %40 = icmp eq i1 %39, false %41 = icmp eq i1 %40, false store i8 %27, i8* %.reg2mem store i64 %rbx.322.reload, i64* %rbx.1.reg2mem br i1 %41, label LBL_17, label LBL_18 LBL_9: %42 = urem i64 %29, 64 %43 = shl i64 1, %42 %44 = and i64 %43, -2882295686978599936 %45 = icmp eq i64 %44, 0 %46 = icmp eq i1 %45, false %47 = icmp eq i1 %46, false %48 = icmp eq i1 %47, false br i1 %48, label LBL_17, label LBL_10 LBL_10: %49 = urem i64 %43, 566935683073 %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false %52 = icmp eq i1 %51, false store i8 %27, i8* %.reg2mem store i64 %rbx.322.reload, i64* %rbx.1.reg2mem br i1 %52, label LBL_18, label LBL_11 LBL_11: %53 = icmp eq i8* %sv_1.319.reload, null %54 = icmp eq i1 %53, false store i8* %sv_1.319.reload, i8** %sv_1.0.reg2mem br i1 %54, label LBL_13, label LBL_12 LBL_12: %55 = trunc i64 %r12.125.reload to i32 %56 = sub i32 0, %55 %57 = sub i32 %56, 1 %58 = add i32 %1, %57 %59 = add i64 %9, 1 %60 = sext i8 %27 to i32 %61 = inttoptr i64 %59 to i64* %62 = call i64* @memchr(i64* %61, i32 %60, i32 %58) %63 = bitcast i64* %62 to i8* %64 = icmp eq i64* %62, null %65 = icmp eq i1 %64, false store i8* %63, i8** %sv_1.0.reg2mem store i8* %63, i8** %sv_1.1.reg2mem store i64 %rbx.322.reload, i64* %rbx.0.reg2mem br i1 %65, label LBL_16, label LBL_13 LBL_13: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %66 = icmp eq i8* %sv_1.0.reload, null br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = load i8, i8* %sv_1.0.reload, align 1 %68 = load i8, i8* %26, align 1 %69 = icmp eq i8 %67, %68 %70 = icmp eq i1 %69, false store i8* null, i8** %sv_1.1.reg2mem store i64 %rbx.322.reload, i64* %rbx.0.reg2mem br i1 %70, label LBL_15, label LBL_16 LBL_15: %71 = load i64, i64* %.pre30, align 8 %72 = add i64 %rbx.322.reload, 1 %73 = and i64 %72, 4294967295 %sext16 = mul i64 %rbx.322.reload, 4294967296 %74 = ashr exact i64 %sext16, 32 %75 = add i64 %71, %74 %76 = inttoptr i64 %75 to i8* store i8 92, i8* %76, align 1 store i8* %sv_1.0.reload, i8** %sv_1.1.reg2mem store i64 %73, i64* %rbx.0.reg2mem br label LBL_16 LBL_16: %rbx.0.reload = load i64, i64* %rbx.0.reg2mem %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %77 = load i64, i64* %.pre30, align 8 %78 = add i64 %rbx.0.reload, 1 %79 = and i64 %78, 4294967295 %sext15 = mul i64 %rbx.0.reload, 4294967296 %80 = ashr exact i64 %sext15, 32 %81 = add i64 %80, %77 %82 = load i8, i8* %26, align 1 %83 = inttoptr i64 %81 to i8* store i8 %82, i8* %83, align 1 store i8* %sv_1.1.reload, i8** %sv_1.2.reg2mem store i64 %79, i64* %rbx.2.reg2mem store i64 %r12.125.reload, i64* %r12.0.reg2mem br label LBL_19 LBL_17: %84 = load i64, i64* %.pre30, align 8 %85 = add i64 %rbx.322.reload, 1 %86 = and i64 %85, 4294967295 %sext17 = mul i64 %rbx.322.reload, 4294967296 %87 = ashr exact i64 %sext17, 32 %88 = add i64 %84, %87 %89 = inttoptr i64 %88 to i8* store i8 92, i8* %89, align 1 %.pre = load i8, i8* %26, align 1 store i8 %.pre, i8* %.reg2mem store i64 %86, i64* %rbx.1.reg2mem br label LBL_18 LBL_18: %rbx.1.reload = load i64, i64* %rbx.1.reg2mem %.reload = load i8, i8* %.reg2mem %90 = load i64, i64* %.pre30, align 8 %91 = add i64 %rbx.1.reload, 1 %92 = and i64 %91, 4294967295 %sext10 = mul i64 %rbx.1.reload, 4294967296 %93 = ashr exact i64 %sext10, 32 %94 = add i64 %93, %90 %95 = inttoptr i64 %94 to i8* store i8 %.reload, i8* %95, align 1 store i8* %sv_1.319.reload, i8** %sv_1.2.reg2mem store i64 %92, i64* %rbx.2.reg2mem store i64 %r12.125.reload, i64* %r12.0.reg2mem br label LBL_19 LBL_19: %r12.0.reload = load i64, i64* %r12.0.reg2mem %rbx.2.reload = load i64, i64* %rbx.2.reg2mem %sv_1.2.reload = load i8*, i8** %sv_1.2.reg2mem %96 = add nsw i64 %r12.0.reload, 1 %97 = and i64 %96, 4294967295 %98 = icmp ult i64 %97, %2 store i64 %97, i64* %r12.125.reg2mem store i64 %rbx.2.reload, i64* %rbx.322.reg2mem store i8* %sv_1.2.reload, i8** %sv_1.319.reg2mem store i64 %rbx.2.reload, i64* %rbx.3.lcssa.reg2mem br i1 %98, label LBL_1, label LBL_20 LBL_20: %99 = or i32 %3, 1 %100 = sext i32 %99 to i64 %rbx.3.lcssa.reload = load i64, i64* %rbx.3.lcssa.reg2mem %101 = load i64, i64* %.pre30, align 8 %sext = mul i64 %rbx.3.lcssa.reload, 4294967296 %102 = ashr exact i64 %sext, 32 %103 = add i64 %102, %101 %104 = inttoptr i64 %103 to i8* store i8 0, i8* %104, align 1 %105 = sub nsw i64 %100, %102 %106 = icmp ult i64 %105, 4097 store i64 %5, i64* %sv_0.0.reg2mem br i1 %106, label LBL_22, label LBL_21 LBL_21: %107 = call i64 @FUNC(i64 %5, i64 %102, i64 0) store i64 %107, i64* %sv_0.0.reg2mem br label LBL_22 LBL_22: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %108 = add i64 %sv_0.0.reload, 8 %109 = inttoptr i64 %108 to i64* store i64 %102, i64* %109, align 8 ret i64 %sv_0.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %102, { 1, 3, 2, 0 } uselistorder i64 %rbx.1.reload, { 1, 0 } uselistorder i64 %rbx.0.reload, { 1, 0 } uselistorder i8 %27, { 4, 0, 2, 1, 5, 3, 6, 7, 9, 8 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %r12.125.reload, { 1, 0, 4, 3, 2, 6, 5 } uselistorder i64 %rbx.322.reload, { 12, 8, 11, 7, 5, 6, 1, 3, 2, 4, 9, 10, 0 } uselistorder i8* %sv_1.319.reload, { 1, 3, 4, 0, 2 } uselistorder i64* %.pre30, { 0, 5, 4, 3, 2, 1 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i32 %1, { 1, 2, 0, 3 } uselistorder i64* %r12.125.reg2mem, { 2, 0, 1 } uselistorder i64* %rbx.322.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_1.319.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_1.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rbx.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8* %.reg2mem, { 0, 4, 1, 3, 2, 5 } uselistorder i64* %rbx.1.reg2mem, { 0, 4, 1, 3, 2, 5 } uselistorder i8** %sv_1.2.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %rbx.2.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %r12.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 1, { 6, 5, 2, 4, 3, 1, 7, 0 } uselistorder i1 false, { 3, 4, 5, 1, 6, 7, 2, 8, 9, 0, 10 } uselistorder i64 4294967295, { 7, 6, 3, 5, 4, 0, 1, 2, 8 } uselistorder i64 32, { 6, 3, 0, 2, 1, 4, 5 } uselistorder i8* null, { 0, 2, 3, 1 } uselistorder i32 0, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32 1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_19, { 1, 2, 3, 0 } uselistorder label LBL_18, { 2, 3, 1, 0, 4 } uselistorder label LBL_16, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
simple_set_acl_18944
simple_set_acl
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 %0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 %1) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = icmp eq i32 %6, 0 %10 = icmp eq i1 %9, false %spec.select = select i1 %10, i64 %0, i64 0 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %11 = and i64 %arg3, 4294967295 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %1) %13 = trunc i64 %12 to i32 %14 = add i64 %1, 4 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = call i64 @FUNC(i64 %1, i64 %11, i64 %sv_0.0.reload) br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %1, { 1, 3, 2, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
nfs4_xdr_dec_write_10025
nfs4_xdr_dec_write
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = bitcast i32* %sv_0 to i64* %5 = call i64 @FUNC(i64* nonnull %4, i64 %3, i64 %2) %6 = call i64 @FUNC(i64* nonnull %4, i64* nonnull %4) %7 = trunc i64 %6 to i32 store i32 %7, i32* %sv_0, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i32 %7, i32* %.reg2mem br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64* nonnull %4) %11 = trunc i64 %10 to i32 store i32 %11, i32* %sv_0, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %11, i32* %.reg2mem br i1 %13, label LBL_5, label LBL_2 LBL_2: %14 = ptrtoint i64* %arg3 to i64 %15 = call i64 @FUNC(i64* nonnull %4, i64 %14) %16 = trunc i64 %15 to i32 store i32 %16, i32* %sv_0, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i32 %16, i32* %.reg2mem br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = add i64 %14, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %14, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64* nonnull %4, i64 %24, i64 %21) %26 = load i32, i32* %sv_0, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %26, i32* %.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = trunc i64 %1 to i32 store i32 %29, i32* %sv_0, align 4 store i32 %29, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %30 = zext i32 %.reload to i64 ret i64 %30 uselistorder i64 %14, { 1, 0, 2 } uselistorder i64* %4, { 0, 1, 2, 4, 3, 5 } uselistorder i32* %sv_0, { 4, 3, 2, 1, 0, 5 } uselistorder i32* %.reg2mem, { 0, 1, 5, 4, 3, 2 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
0
BinRealVul
add_attendees_17616
add_attendees
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %2, i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.1.reg2mem br i1 %4, label LBL_11, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %2) %6 = icmp eq i64 %2, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.1.reg2mem br i1 %7, label LBL_3, label LBL_11 LBL_3: %8 = ptrtoint i64* %arg3 to i64 %9 = and i64 %5, 4294967295 store i64 %2, i64* %sv_0.04.reg2mem br label LBL_4 LBL_4: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %10 = call i64 @FUNC(i64 %sv_0.04.reload) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %storemerge3.reg2mem br i1 %12, label LBL_5, label LBL_10 LBL_5: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %13 = call i64 @FUNC(i64 %storemerge3.reload) %14 = inttoptr i64 %13 to i8* %15 = call i32 @strncasecmp(i8* %14, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 7) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = add i64 %13, 7 %19 = inttoptr i64 %18 to i8* %sv_1.0 = select i1 %17, i8* %14, i8* %19 %20 = call i32 @strcasecmp(i8* %sv_1.0, i8* %arg2) %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_9, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %storemerge3.reload) %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = call i64 @FUNC(i64 %22) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_8 LBL_8: %28 = ptrtoint i8* %sv_1.0 to i64 %29 = call i64 @FUNC(i64 %8, i64 %28) br label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %sv_0.04.reload) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %storemerge3.reg2mem br i1 %32, label LBL_5, label LBL_10 LBL_10: %33 = call i64 @FUNC(i64 %1, i64 %9) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 %33, i64* %sv_0.04.reg2mem store i64 %33, i64* %rax.1.reg2mem br i1 %35, label LBL_4, label LBL_11 LBL_11: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i8* %sv_1.0, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 5, 4, 2, 3, 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
get_lock_access_17899
get_lock_access
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) %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_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 %1) %7 = call i64 @FUNC(i64 %1, i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cpu_get_note_size_14304
cpu_get_note_size
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 2 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 39 br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_4 to i64), i64 8) to i64*), align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge6.reg2mem store i64 0, i64* %sv_0.05.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %6, label LBL_5, label LBL_6 LBL_5: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %7 = add i64 %sv_0.05.reload, 20 %8 = inttoptr i64 %storemerge6.reload to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %7, %9 %11 = add i64 %storemerge6.reload, 16 %12 = add i64 %storemerge6.reload, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %11, i64* %storemerge6.reg2mem store i64 %10, i64* %sv_0.05.reg2mem store i64 %10, i64* %sv_0.0.lcssa.reg2mem br i1 %16, label LBL_5, label LBL_6 LBL_6: %sext3 = mul i64 %arg3, 4294967296 %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %17 = ashr exact i64 %sext3, 32 %18 = mul i64 %sv_0.0.lcssa.reload, %17 ret i64 %18 uselistorder i64 %storemerge6.reload, { 2, 1, 0 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
blkreplay_bh_cb_15137
blkreplay_bh_cb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = add i64 %arg1, 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 %arg1) ret i64 %5 }
1
BinRealVul
uc32_cpu_realizefn_236
uc32_cpu_realizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) ret i64 %0 }
0
BinRealVul
nfs4_xdr_dec_getattr_10810
nfs4_xdr_dec_getattr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64* nonnull %1, i64 %0, i64 %arg2) %3 = call i64 @FUNC(i64* nonnull %1, i64* nonnull %1) %4 = trunc i64 %3 to i32 store i32 %4, i32* %sv_0, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64* nonnull %1) %8 = trunc i64 %7 to i32 store i32 %8, i32* %sv_0, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg3 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64* nonnull %1, i64 %14, i64 %14) %16 = trunc i64 %15 to i32 store i32 %16, i32* %sv_0, align 4 store i64 %15, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %17 = and i64 %.reload, 4294967295 ret i64 %17 uselistorder i64 %14, { 1, 0 } uselistorder i64* %1, { 0, 1, 3, 2, 4 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 0, 1, 3, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
sysfs_add_link_18212
sysfs_add_link
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16, i64 0) %1 = icmp eq i64 %0, 0 store i64 4294967284, i64* %sv_0.1.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = call i32 @strlen(i8* %arg2) %3 = sext i32 %2 to i64 %4 = add nsw i64 %3, 1 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = inttoptr i64 %0 to i64* store i64 %5, i64* %6, align 8 %7 = icmp eq i64 %5, 0 store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg3 to i64 %9 = ptrtoint i64* %arg1 to i64 %10 = inttoptr i64 %5 to i8* %11 = call i8* @strcpy(i8* %10, i8* %arg2) %12 = call i64 @FUNC(i64 %8) %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %9, i64 0, i64 %0, i64 0, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 0, i64* %storemerge.reg2mem br i1 %18, label LBL_3, label LBL_6 LBL_3: %19 = load i64, i64* %6, align 8 %20 = call i64 @FUNC(i64 %19) store i64 %15, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 %0) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %22 = and i64 %sv_0.1.reload, 4294967295 store i64 %22, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %0, { 2, 0, 1, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
check_cmd_17316
check_cmd
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.2.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge3410.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.2.reg2mem br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = and i64 %arg2, 4294967295 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i32 0, i32* %storemerge3410.reg2mem store i32 %10, i32* %.reg2mem store i64 0, i64* %rax.2.reg2mem br i1 %11, label LBL_8, label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %storemerge3410.reload = load i32, i32* %storemerge3410.reg2mem %12 = shl i32 1, %storemerge3410.reload %13 = and i32 %12, %.reload %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 %7, i32 %storemerge3410.reload) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %15, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = load i32, i32* %9, align 4 %20 = sub i32 0, %12 %21 = sub i32 %20, 1 %22 = and i32 %19, %21 store i32 %22, i32* %9, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem %23 = icmp ugt i32 %storemerge3410.reload, 30 store i64 %rax.0.reload, i64* %rax.2.reg2mem br i1 %23, label LBL_8, label LBL_5.dec_label_pc_4011bc_crit_edge LBL_6: %24 = add nuw nsw i32 %storemerge3410.reload, 1 %.pre = load i32, i32* %9, align 4 %25 = icmp eq i32 %.pre, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %storemerge3410.reg2mem store i32 %.pre, i32* %.reg2mem br i1 %26, label LBL_2, label LBL_7 LBL_7: %phitmp = zext i32 %.pre to i64 store i64 %phitmp, i64* %rax.2.reg2mem br label LBL_8 LBL_8: %rax.2.reload = load i64, i64* %rax.2.reg2mem ret i64 %rax.2.reload uselistorder i32 %.pre, { 1, 0, 2 } uselistorder i32 %storemerge3410.reload, { 2, 0, 3, 1 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %storemerge3410.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.2.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 4, 1, 3, 2, 0, 5, 6 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
zrealloc_18061
zrealloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = inttoptr i64 %arg2 to i64* %2 = trunc i64 %arg3 to i32 %3 = call i64* @realloc(i64* %1, i32 %2) %4 = icmp eq i64* %3, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %0, 4294967295 %7 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %arg3) unreachable LBL_2: %8 = icmp eq i64 %arg2, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %0, 4294967295 %11 = call i64 @FUNC(i64 %10) br label LBL_4 LBL_4: %12 = ptrtoint i64* %3 to i64 ret i64 %12 uselistorder i64* %3, { 1, 0 } uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
do_open_execat_10059
do_open_execat
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 store i32 7, i32* %sv_1, align 4 %0 = and i64 %arg3, 4294966527 %1 = icmp eq i64 %0, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_8 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = and i64 %arg1, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i32* nonnull %sv_1) %5 = icmp ult i64 %4, -1000 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_8 LBL_2: %6 = call i64 @FUNC(i64 %4) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i32 %8, 61440 %10 = icmp eq i32 %9, 32768 %11 = icmp eq i1 %10, false store i64 -13, i64* %sv_0.0.reg2mem br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = inttoptr i64 %4 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = and i32 %15, 1024 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 -13, i64* %sv_0.0.reg2mem br i1 %18, label LBL_7, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %4) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %19, i64* %sv_0.0.reg2mem br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = trunc i64 %2 to i8 %24 = icmp eq i8 %23, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %4) store i64 %4, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64 %4) %sext4 = mul i64 %sv_0.0.reload, 4294967296 %27 = ashr exact i64 %sext4, 32 store i64 %27, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 6, 0, 3, 2, 5, 4, 7, 1, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 2, 4 } uselistorder label LBL_8, { 4, 0, 2, 1, 3 } }
0
BinRealVul
paging_invlpg_12614
paging_invlpg
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) ret i64 %0 }
1
BinRealVul
ovl_is_allowed_fs_type_7984
ovl_is_allowed_fs_type
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %. = zext i1 %0 to i64 ret i64 %. }
0
BinRealVul
bdrv_qed_check_2541
bdrv_qed_check
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0) ret i64 %2 }
0
BinRealVul
dd_save_binary_13166
dd_save_binary
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 %arg2) %11 = add i64 %6, 24 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %6, 20 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %6, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %13 to i64 %21 = zext i32 %16 to i64 %22 = call i64 @FUNC(i64 %10, i64 %arg3, i32 %arg4, i32 %19, i64 %21, i64 %20) %23 = inttoptr i64 %10 to i64* call void @free(i64* %23) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %6, { 1, 0, 3, 2 } uselistorder i64 (i8*)* @error_msg_and_die, { 2, 1, 0 } }
1
BinRealVul
ntlm_read_message_header_6766
ntlm_read_message_header
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) %2 = icmp ult i64 %1, 12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 8) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %0, i64 %8) %10 = bitcast i64* %arg2 to i8* %11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %12 = icmp eq i32 %11, 0 %. = select i1 %12, i64 1, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 8, { 1, 0, 2, 3, 4 } uselistorder i64 4294967295, { 1, 0 } }
0
BinRealVul
gen_ld16s_15292
gen_ld16s
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1) ret i64 %2 }
1
BinRealVul
tftp_connect_18971
tftp_connect
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %4 = call i64* @calloc(i32 1, i32 176) %5 = ptrtoint i64* %4 to i64 %6 = add i64 %3, 24 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = icmp eq i64* %4, null %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_12 LBL_1: %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i32 512, i32* %sv_0.0.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %.off = add i32 %14, -8 %16 = icmp ult i32 %.off, 65457 store i32 %14, i32* %sv_0.0.reg2mem store i64 2, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_12 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %17 = load i64, i64* %4, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i32 %sv_0.0.reload, 4 %21 = call i64* @calloc(i32 1, i32 %20) %22 = ptrtoint i64* %21 to i64 store i64 %22, i64* %4, align 8 %23 = icmp eq i64* %21, null %24 = icmp eq i1 %23, false store i64 1, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_12 LBL_5: %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add i32 %sv_0.0.reload, 4 %31 = call i64* @calloc(i32 1, i32 %30) %32 = ptrtoint i64* %31 to i64 store i64 %32, i64* %26, align 8 %33 = icmp eq i64* %31, null %34 = icmp eq i1 %33, false store i64 1, i64* %rax.0.reg2mem br i1 %34, label LBL_7, label LBL_12 LBL_7: %35 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %36 = add i64 %5, 16 %37 = inttoptr i64 %36 to i64* store i64 %3, i64* %37, align 8 %38 = bitcast i64* %arg1 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %5, 24 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %5, 28 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %5, 32 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = add i64 %5, 36 %47 = inttoptr i64 %46 to i32* store i32 %sv_0.0.reload, i32* %47, align 4 %48 = add i64 %5, 40 %49 = inttoptr i64 %48 to i32* store i32 %sv_0.0.reload, i32* %49, align 4 %50 = add i64 %3, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %52, 12 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %5, 48 %57 = trunc i32 %55 to i16 %58 = inttoptr i64 %56 to i16* store i16 %57, i16* %58, align 2 %59 = call i64 @FUNC(i64 %5) %60 = add i64 %3, 4 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_11, label LBL_8 LBL_8: %65 = load i64, i64* %51, align 8 %66 = add i64 %65, 8 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = load i32, i32* %41, align 4 %70 = inttoptr i64 %56 to %sockaddr* %71 = call i32 @bind(i32 %69, %sockaddr* %70, i32 %68) %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_10, label LBL_9 LBL_9: %73 = call i32* @__errno_location() %74 = load i32, i32* %73, align 4 %75 = ptrtoint i64* %sv_1 to i64 %76 = zext i32 %74 to i64 %77 = call i64 @FUNC(i64 %76, i64* nonnull %sv_1, i64 256) %78 = load i64, i64* %11, align 8 %79 = call i64 @FUNC(i64 %78, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %77, i64 %75, i64 %2, i64 %1) store i64 3, i64* %rax.0.reg2mem br label LBL_12 LBL_10: store i32 1, i32* %61, align 4 br label LBL_11 LBL_11: %80 = load i64, i64* %11, align 8 %81 = call i64 @FUNC(i64 %80) %82 = bitcast i64* %arg2 to i8* store i8 1, i8* %82, align 1 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 i32 %sv_0.0.reload, { 1, 0, 2, 3 } uselistorder i64* %11, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_12, { 4, 5, 0, 1, 2, 3 } }
1
BinRealVul
set_banner_5468
set_banner
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem9 = alloca i8* %.pre-phi.reg2mem = alloca i64 %sv_0.0.in.be.reg2mem = alloca i64 %sv_0.0.in5.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i8* %.reg2mem7 = alloca i8 %.reg2mem = alloca i8* %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = bitcast i64* %arg1 to i8* %2 = call i32 @strlen(i8* %1) %3 = sext i32 %2 to i64 %4 = add nsw i64 %3, 1 %5 = trunc i64 %4 to i32 %6 = call i64* @malloc(i32 %5) %7 = icmp eq i64* %6, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32 @unsetenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) %10 = sext i32 %9 to i64 store i64 %10, i64* %storemerge.reg2mem br label LBL_12 LBL_3: %11 = bitcast i64* %6 to i8* %sv_0.04 = inttoptr i64 %4 to i8* %12 = load i8, i8* %sv_0.04, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false store i8* %11, i8** %.reg2mem store i8 %12, i8* %.reg2mem7 store i8* %sv_0.04, i8** %sv_0.06.reg2mem store i64 %4, i64* %sv_0.0.in5.reg2mem store i8* %11, i8** %.reg2mem9 br i1 %14, label LBL_4, label LBL_11 LBL_4: %sv_0.0.in5.reload = load i64, i64* %sv_0.0.in5.reg2mem %sv_0.06.reload = load i8*, i8** %sv_0.06.reg2mem %.reload8 = load i8, i8* %.reg2mem7 %.reload = load i8*, i8** %.reg2mem %15 = icmp eq i8 %.reload8, 37 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4.LBL_10_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %sv_0.0.in5.reload, 1 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_10 LBL_6: %17 = call i16** @__ctype_b_loc() %18 = load i16*, i16** %17, align 8 %19 = ptrtoint i16* %18 to i64 %20 = add i64 %sv_0.0.in5.reload, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = mul i64 %23, 2 %25 = add i64 %24, %19 %26 = inttoptr i64 %25 to i16* %27 = load i16, i16* %26, align 2 %28 = and i16 %27, 4096 %29 = icmp eq i16 %28, 0 store i64 %20, i64* %.pre-phi.reg2mem br i1 %29, label LBL_10, label LBL_7 LBL_7: %30 = call i16** @__ctype_b_loc() %31 = load i16*, i16** %30, align 8 %32 = ptrtoint i16* %31 to i64 %33 = add i64 %sv_0.0.in5.reload, 2 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = zext i8 %35 to i64 %37 = mul i64 %36, 2 %38 = add i64 %37, %32 %39 = inttoptr i64 %38 to i16* %40 = load i16, i16* %39, align 2 %41 = and i16 %40, 4096 %42 = icmp eq i16 %41, 0 store i64 %20, i64* %.pre-phi.reg2mem br i1 %42, label LBL_10, label LBL_8 LBL_8: %43 = call i64 @FUNC(i64 %20) %44 = trunc i64 %43 to i8 store i8 %44, i8* %.reload, align 1 %45 = add i64 %sv_0.0.in5.reload, 3 store i64 %45, i64* %sv_0.0.in.be.reg2mem br label LBL_9 LBL_9: %sv_0.0.in.be.reload = load i64, i64* %sv_0.0.in.be.reg2mem %.in.in = ptrtoint i8* %.reload to i64 %.in = add i64 %.in.in, 1 %46 = inttoptr i64 %.in to i8* %sv_0.0 = inttoptr i64 %sv_0.0.in.be.reload to i8* %47 = load i8, i8* %sv_0.0, align 1 %48 = icmp eq i8 %47, 0 %49 = icmp eq i1 %48, false store i8* %46, i8** %.reg2mem store i8 %47, i8* %.reg2mem7 store i8* %sv_0.0, i8** %sv_0.06.reg2mem store i64 %sv_0.0.in.be.reload, i64* %sv_0.0.in5.reg2mem store i8* %46, i8** %.reg2mem9 br i1 %49, label LBL_4, label LBL_11 LBL_10: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %50 = load i8, i8* %sv_0.06.reload, align 1 store i8 %50, i8* %.reload, align 1 store i64 %.pre-phi.reload, i64* %sv_0.0.in.be.reg2mem br label LBL_9 LBL_11: %.reload10 = load i8*, i8** %.reg2mem9 store i8 0, i8* %.reload10, align 1 %51 = call i32 @setenv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* %11, i32 1) call void @free(i64* %6) store i64 ptrtoint (i32* @0 to i64), i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.in.be.reload, { 1, 0 } uselistorder i64 %20, { 2, 1, 0, 3 } uselistorder i8* %.reload, { 0, 2, 1 } uselistorder i8* %11, { 2, 0, 1 } uselistorder i64* %6, { 0, 2, 1 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem7, { 2, 0, 1 } uselistorder i8** %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in5.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in.be.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 0, 2, 1 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64 1, { 0, 2, 1, 3, 4 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
openpic_irq_raise_1230
openpic_irq_raise
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %3 = urem i64 %1, 2 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = trunc i64 %arg2 to i32 %7 = sub i32 4, %6 %8 = urem i32 %7, 32 %9 = shl i32 1, %8 %10 = and i32 %9, %5 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = ashr exact i64 %sext, 29 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) store i64 %23, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %24 = ptrtoint i32* %arg1 to i64 %25 = add i64 %24, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = ashr exact i64 %sext, 29 %29 = add i64 %27, %28 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %31, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) store i64 %36, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @qemu_irq_raise, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } }
0
BinRealVul
vc1_v_overlap_c_16736
vc1_v_overlap_c
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.08.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = mul i64 %arg2, 8589934592 %2 = sub i64 0, %1 %3 = ashr exact i64 %2, 32 %sext3 = sub i64 0, %sext %4 = ashr exact i64 %sext3, 32 %5 = ashr exact i64 %sext, 32 store i32 0, i32* %storemerge10.reg2mem store i32 1, i32* %sv_1.09.reg2mem store i64 %0, i64* %sv_0.08.reg2mem br label LBL_1 LBL_1: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %6 = add i64 %sv_0.08.reload, %3 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i32 %10 = add i64 %sv_0.08.reload, %4 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i32 %14 = inttoptr i64 %sv_0.08.reload to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i32 %17 = add i64 %sv_0.08.reload, %5 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = sub nsw i32 %9, %20 %22 = add nuw nsw i32 %sv_1.09.reload, 3 %23 = add nsw i32 %22, %21 %24 = udiv i32 %23, 8 %25 = sub nsw i32 4, %sv_1.09.reload %26 = add nuw nsw i32 %25, %13 %27 = sub nsw i32 %26, %16 %28 = add nsw i32 %27, %21 %29 = udiv i32 %28, 8 %30 = trunc i32 %24 to i8 %31 = sub i8 %8, %30 store i8 %31, i8* %7, align 1 %32 = trunc i32 %29 to i8 %33 = sub i8 %12, %32 store i8 %33, i8* %11, align 1 %34 = add i8 %15, %32 store i8 %34, i8* %14, align 1 %35 = add i8 %19, %30 store i8 %35, i8* %18, align 1 %36 = add i64 %sv_0.08.reload, 1 %37 = icmp eq i32 %sv_1.09.reload, 0 %38 = zext i1 %37 to i32 %39 = add nuw nsw i32 %storemerge10.reload, 1 %exitcond = icmp eq i32 %39, 8 store i32 %39, i32* %storemerge10.reg2mem store i32 %38, i32* %sv_1.09.reg2mem store i64 %36, i64* %sv_0.08.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 1 uselistorder i32 %21, { 1, 0 } uselistorder i32 %sv_1.09.reload, { 1, 2, 0 } uselistorder i64 %sv_0.08.reload, { 0, 4, 1, 3, 2 } uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 } uselistorder i32 8, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
latm_dmx_process_7802
latm_dmx_process
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem28 = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %0, 4 %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 = zext i32 %3 to i64 store i64 %5, i64* %rax.0.reg2mem br label LBL_58 LBL_2: %6 = inttoptr i64 %0 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %arg1, i64 %0) br label LBL_4 LBL_4: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %0, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_58 LBL_6: %20 = add i64 %0, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_14, label LBL_7 LBL_7: %27 = load i32, i32* %21, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_58, label LBL_8 LBL_8: %32 = add i64 %0, 20 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_14, label LBL_9 LBL_9: %37 = load i32, i32* %12, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = zext i32 %37 to i64 %40 = call i64 @FUNC(i64 %39) br label LBL_11 LBL_11: %41 = add i64 %0, 88 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 br i1 %44, label LBL_13, label LBL_12 LBL_12: %45 = call i64 @FUNC(i64 %43) br label LBL_13 LBL_13: store i64 0, i64* %42, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_58 LBL_14: %46 = bitcast i32* %sv_6 to i64* %47 = call i64 @FUNC(i64 %24, i64* nonnull %46) %48 = add i64 %0, 96 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 0 %or.cond = or i1 %25, %51 store i64 -1, i64* %sv_2.0.reg2mem br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %52 = call i64 @FUNC(i64 %24) store i64 %52, i64* %sv_2.0.reg2mem br label LBL_16 LBL_16: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %53 = add i64 %0, 20 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 store i32 %55, i32* %.reg2mem26 br i1 %25, label LBL_22, label LBL_17 LBL_17: %56 = add i64 %0, 48 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false store i32 %55, i32* %.reg2mem26 br i1 %60, label LBL_22, label LBL_18 LBL_18: %61 = load i32, i32* %sv_6, align 4 %62 = add i32 %61, %55 %63 = add i64 %0, 24 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = icmp ugt i32 %62, %65 br i1 %66, label LBL_20, label LBL_18.LBL_21_crit_edge LBL_19: %.pre12 = add i64 %0, 32 %.pre13 = inttoptr i64 %.pre12 to i64* %.pre21 = load i64, i64* %.pre13, align 8 store i64 %.pre21, i64* %.reg2mem store i32 %55, i32* %.reg2mem22 store i32 %61, i32* %.reg2mem24 br label LBL_21 LBL_20: store i32 %62, i32* %64, align 4 %67 = zext i32 %62 to i64 %68 = add i64 %0, 32 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %70, i64 %67) store i64 %71, i64* %69, align 8 %.pre = load i32, i32* %sv_6, align 4 %.pre10 = load i32, i32* %54, align 4 store i64 %71, i64* %.reg2mem store i32 %.pre10, i32* %.reg2mem22 store i32 %.pre, i32* %.reg2mem24 br label LBL_21 LBL_21: %.reload25 = load i32, i32* %.reg2mem24 %.reload23 = load i32, i32* %.reg2mem22 %.reload = load i64, i64* %.reg2mem %72 = zext i32 %.reload23 to i64 %73 = add i64 %.reload, %72 %74 = inttoptr i64 %73 to i64* %75 = inttoptr i64 %47 to i64* %76 = call i64* @memcpy(i64* %74, i64* %75, i32 %.reload25) %77 = load i32, i32* %54, align 4 %78 = load i32, i32* %sv_6, align 4 %79 = add i32 %78, %77 store i32 %79, i32* %54, align 4 store i32 %79, i32* %.reg2mem26 br label LBL_22 LBL_22: %.reload27 = load i32, i32* %.reg2mem26 %80 = add i64 %0, 40 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = icmp eq i64 %82, 0 %84 = icmp eq i1 %83, false %85 = add i64 %0, 32 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 br i1 %84, label LBL_24, label LBL_23 LBL_23: %88 = zext i32 %.reload27 to i64 %89 = call i64 @FUNC(i64 %87, i64 %88, i64 0) store i64 %89, i64* %81, align 8 br label LBL_25 LBL_24: %90 = call i64 @FUNC(i64 %82, i64 %87, i32 %.reload27) br label LBL_25 LBL_25: %91 = add i64 %0, 48 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label LBL_27, label LBL_26 LBL_26: %95 = add i32 %93, -1 %96 = load i64, i64* %81, align 8 %97 = zext i32 %95 to i64 %98 = call i64 @FUNC(i64 %96, i64 %97) store i32 0, i32* %92, align 4 br label LBL_27 LBL_27: %99 = icmp eq i64 %sv_2.0.reload, -1 %100 = icmp eq i1 %99, false %spec.select = select i1 %100, i32 %55, i32 0 %101 = add i64 %0, 80 %102 = add i64 %0, 72 %103 = inttoptr i64 %102 to i32* %104 = add i64 %0, 76 %105 = inttoptr i64 %104 to i32* %106 = add i64 %0, 68 %107 = inttoptr i64 %106 to i32* %108 = add i64 %0, 56 %109 = inttoptr i64 %108 to i64* %110 = add i64 %0, 64 %111 = inttoptr i64 %110 to i32* %112 = add i64 %0, 12 %113 = inttoptr i64 %112 to i32* %114 = add i64 %0, 88 %115 = inttoptr i64 %114 to i64* %116 = inttoptr i64 %101 to i32* %117 = add i64 %0, 84 %118 = inttoptr i64 %117 to i8* store i32 %spec.select, i32* %sv_1.0.ph.reg2mem br label LBL_28 LBL_28: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %119 = icmp eq i32 %sv_1.0.ph.reload, 0 br label LBL_29 LBL_29: %120 = load i64, i64* %81, align 8 %121 = call i64 @FUNC(i64 %120) store i32 4096, i32* %sv_5, align 4 %122 = load i64, i64* %81, align 8 %123 = call i64 @FUNC(i64 %122, i64 %101, i32* nonnull %sv_5, i64* nonnull %sv_4, i64 0) %124 = trunc i64 %123 to i32 %125 = icmp eq i32 %124, 0 %126 = icmp eq i1 %125, false br i1 %126, label LBL_31, label LBL_30 LBL_30: br i1 %26, label LBL_53, label LBL_57 LBL_31: %127 = load i32, i32* %103, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label LBL_34, label LBL_32 LBL_32: %129 = load i32, i32* %105, align 4 %130 = load i32, i32* %107, align 4 %131 = zext i32 %130 to i64 %132 = mul i64 %131, 4 %133 = add i64 %132, ptrtoint (i32** @gv_0 to i64) %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = mul i32 %135, %129 %137 = zext i32 %136 to i64 %138 = load i64, i64* %109, align 8 %139 = load i32, i32* %111, align 4 %140 = zext i32 %139 to i64 %141 = add i64 %138, %140 %142 = icmp ult i64 %141, %137 br i1 %142, label LBL_34, label LBL_33 LBL_33: store i32 0, i32* %103, align 4 br label LBL_34 LBL_34: %143 = call i64 @FUNC(i64 %arg1, i64 %0) %144 = load i32, i32* %113, align 4 %145 = icmp eq i32 %144, 0 %146 = icmp eq i1 %145, false br i1 %146, label LBL_36, label LBL_35 LBL_35: %147 = trunc i64 %121 to i32 %148 = add i32 %147, 1 store i32 %148, i32* %92, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_58 LBL_36: %149 = load i32, i32* %103, align 4 %150 = icmp eq i32 %149, 0 %151 = icmp eq i1 %150, false br i1 %151, label LBL_46, label LBL_37 LBL_37: %152 = load i32, i32* %sv_5, align 4 %153 = load i32, i32* %12, align 4 %154 = zext i32 %152 to i64 %155 = zext i32 %153 to i64 %156 = call i64 @FUNC(i64 %155, i64 %154, i64* nonnull %sv_3) %157 = load i64, i64* %115, align 8 %158 = icmp eq i64 %157, 0 br i1 %158, label LBL_39, label LBL_38 LBL_38: %159 = call i64 @FUNC(i64 %157, i64 %156) br label LBL_39 LBL_39: %160 = load i32, i32* %sv_5, align 4 %161 = load i64, i64* %sv_3, align 8 %162 = inttoptr i64 %161 to i64* %163 = call i64* @memcpy(i64* %162, i64* nonnull %sv_4, i32 %160) %164 = load i64, i64* %109, align 8 %165 = call i64 @FUNC(i64 %156, i64 %164) %166 = load i32, i32* %111, align 4 %167 = zext i32 %166 to i64 %168 = call i64 @FUNC(i64 %156, i64 %167) %169 = call i64 @FUNC(i64 %156, i64 1, i64 1) %170 = load i32, i32* %116, align 4 %171 = icmp eq i32 %170, 2 %172 = icmp eq i1 %171, false store i64 1, i64* %sv_0.0.reg2mem br i1 %172, label LBL_45, label LBL_40 LBL_40: %173 = load i32, i32* %sv_5, align 4 %174 = icmp eq i32 %173, 0 br i1 %174, label LBL_44, label LBL_41 LBL_41: %175 = load i64, i64* %sv_3, align 8 %176 = inttoptr i64 %175 to i8* %177 = load i8, i8* %176, align 1 %178 = icmp slt i8 %177, 0 %179 = icmp eq i1 %178, false br i1 %179, label LBL_44, label LBL_42 LBL_42: %180 = load i8, i8* %118, align 1 %181 = icmp eq i8 %180, 0 %182 = icmp eq i1 %181, false br i1 %182, label LBL_44, label LBL_43 LBL_43: store i8 1, i8* %118, align 1 store i64 1, i64* %sv_0.0.reg2mem br label LBL_45 LBL_44: store i8 0, i8* %118, align 1 store i64 0, i64* %sv_0.0.reg2mem br label LBL_45 LBL_45: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %183 = call i64 @FUNC(i64 %156, i64 %sv_0.0.reload) %184 = call i64 @FUNC(i64 %156) br label LBL_46 LBL_46: %185 = call i64 @FUNC(i64 %0) br i1 %119, label LBL_28.backedge, label LBL_47 LBL_47: %186 = load i64, i64* %81, align 8 %187 = call i64 @FUNC(i64 %186) %188 = trunc i64 %187 to i32 %189 = icmp ugt i32 %sv_1.0.ph.reload, %188 br i1 %189, label LBL_29, label LBL_48 LBL_48: %190 = load i64, i64* %115, align 8 %191 = icmp eq i64 %190, 0 br i1 %191, label LBL_50, label LBL_49 LBL_49: %192 = call i64 @FUNC(i64 %190) br label LBL_50 LBL_50: store i64 %24, i64* %115, align 8 br i1 %25, label LBL_28.backedge, label LBL_52 LBL_51: store i32 0, i32* %sv_1.0.ph.reg2mem br label LBL_28 LBL_52: %193 = call i64 @FUNC(i64 %114) br label LBL_28.backedge LBL_53: %194 = load i64, i64* %81, align 8 %195 = call i64 @FUNC(i64 %194) %196 = trunc i64 %195 to i32 %197 = load i32, i32* %54, align 4 %198 = icmp ult i32 %197, %196 store i32 %197, i32* %.reg2mem28 br i1 %198, label LBL_54, label LBL_55 LBL_54: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i32 255, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) %.pre11 = load i32, i32* %54, align 4 store i32 %.pre11, i32* %.reg2mem28 br label LBL_55 LBL_55: %.reload29 = load i32, i32* %.reg2mem28 %199 = sub i32 %.reload29, %196 %200 = load i64, i64* %86, align 8 %201 = and i64 %195, 4294967295 %202 = add i64 %200, %201 %203 = inttoptr i64 %200 to i64* %204 = inttoptr i64 %202 to i64* %205 = call i64* @memmove(i64* %203, i64* %204, i32 %199) %206 = load i32, i32* %54, align 4 %207 = sub i32 %206, %196 store i32 %207, i32* %54, align 4 %208 = load i32, i32* %21, align 4 %209 = zext i32 %208 to i64 %210 = call i64 @FUNC(i64 %209) %211 = load i32, i32* %92, align 4 %212 = icmp eq i32 %211, 0 store i64 0, i64* %rax.0.reg2mem br i1 %212, label LBL_58, label LBL_56 LBL_56: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i32 259, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0)) br label LBL_57 LBL_57: store i32 0, i32* %54, align 4 %213 = call i64 @FUNC(i64 %arg1) store i64 %213, i64* %rax.0.reg2mem br label LBL_58 LBL_58: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %200, { 1, 0 } uselistorder i64 %156, { 1, 0, 3, 2, 4, 5 } uselistorder i64* %115, { 1, 0, 2 } uselistorder i64 %101, { 1, 0 } uselistorder i32* %92, { 1, 2, 0, 3 } uselistorder i64 %87, { 1, 0 } uselistorder i64* %81, { 2, 3, 4, 5, 1, 0, 6 } uselistorder i32 %.reload27, { 1, 0 } uselistorder i32 %55, { 4, 2, 3, 1, 0 } uselistorder i32* %54, { 4, 6, 5, 0, 7, 3, 2, 1, 8 } uselistorder i1 %25, { 1, 2, 0, 3 } uselistorder i32* %21, { 1, 0, 2 } uselistorder i32* %12, { 1, 0, 2 } uselistorder i64 %0, { 2, 6, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 } uselistorder i32* %sv_6, { 2, 0, 1, 3 } uselistorder i32* %sv_5, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i32* %.reg2mem26, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 7, 5, 2, 3, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64 (i64)* @gf_bs_get_position, { 2, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 -1, { 1, 0 } uselistorder i64 1, { 1, 2, 4, 3, 0 } uselistorder i64 (i64)* @gf_filter_pck_unref, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 5, 6, 7, 8, 9, 10, 4, 1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_58, { 3, 0, 4, 5, 1, 2, 6 } uselistorder label LBL_57, { 1, 0 } uselistorder label LBL_55, { 1, 0 } uselistorder label LBL_28.backedge, { 2, 1, 0 } uselistorder label LBL_34, { 1, 0, 2 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_21, { 1, 0 } }
1
BinRealVul
proto_tree_add_subtree_format_4178
proto_tree_add_subtree_format
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64* %arg6, i64 %arg7) 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 = load i64, i64* %1 %12 = trunc i64 %2 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i128 %10) %15 = call i64 @FUNC(i128 %9) %16 = call i64 @FUNC(i128 %8) %17 = call i64 @FUNC(i128 %7) %18 = call i64 @FUNC(i128 %6) %19 = call i64 @FUNC(i128 %5) %20 = call i64 @FUNC(i128 %4) %21 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %22 = icmp eq i64* %arg6, null br i1 %22, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %arg6, align 8 br label LBL_4 LBL_4: %23 = and i64 %arg5, 4294967295 %24 = call i64 @FUNC(i64 %arg1, i64 0, i64 %11) %25 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4) %26 = call i64 @FUNC(i64 %25) store i32 48, i32* %sv_0, align 4 %27 = call i64 @FUNC(i64 %25, i64 %arg7, i32* nonnull %sv_0) %28 = call i64 @FUNC(i64 %25, i64 %23) br i1 %22, label LBL_6, label LBL_5 LBL_5: store i64 %25, i64* %arg6, align 8 br label LBL_6 LBL_6: ret i64 %28 uselistorder i64* %1, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } }
0
BinRealVul
libopenjpeg_copy_packed12_2943
libopenjpeg_copy_packed12
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.pre.reg2mem = alloca i64 %.pre21.reg2mem = alloca i64 %.pre39.reg2mem = alloca i64 %.pre2144.reg2mem = alloca i64 %.reg2mem69 = alloca i64 %.pre40.reg2mem = alloca i64 %.pre2145.reg2mem = alloca i64 %storemerge212.reg2mem = alloca i32 %.reg2mem67 = alloca i32 %.reg2mem65 = alloca i64 %sv_0.013.reg2mem = alloca i32 %.reg2mem63 = alloca i64 %.reg2mem61 = alloca i64 %.pre41.reg2mem = alloca i64 %.pre2146.reg2mem = alloca i64 %storemerge3.lcssa.reg2mem = alloca i32 %.reg2mem59 = alloca i64 %.pre42.reg2mem = alloca i64 %.pre2147.reg2mem = alloca i64 %.reg2mem57 = alloca i64 %.pre35.reg2mem = alloca i64 %.pre2150.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i32 %.reg2mem55 = alloca i64 %storemerge4.lcssa.reg2mem = alloca i32 %.reg2mem53 = alloca i64 %.pre36.reg2mem = alloca i64 %.pre2148.reg2mem = alloca i64 %sv_2.07.reg2mem = alloca i32 %storemerge48.reg2mem = alloca i32 %.reg2mem51 = alloca i64 %storemerge310.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pre37.reg2mem = alloca i64 %.pre2149.reg2mem = alloca i64 %storemerge616.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = trunc i64 %3 to i32 %6 = add i64 %4, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp sgt i32 %5, 0 store i64 1, i64* %storemerge5.reg2mem br i1 %9, label LBL_1, label LBL_21 LBL_1: %10 = ptrtoint i64* %arg3 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = ashr i32 %18, 31 %20 = zext i32 %18 to i64 %21 = zext i32 %19 to i64 %22 = mul i64 %21, 4294967296 %23 = or i64 %22, %20 %24 = and i64 %3, 4294967295 %25 = sdiv i64 %23, %24 %26 = and i64 %25, 4294967295 %27 = add i64 %13, 8 store i32 0, i32* %storemerge616.reg2mem br label LBL_2 LBL_2: %storemerge616.reload = load i32, i32* %storemerge616.reg2mem %28 = sext i32 %storemerge616.reload to i64 %29 = mul nsw i64 %28, 24 %30 = add i64 %27, %29 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = icmp ult i64 %26, %33 br i1 %34, label LBL_3, label LBL_4 LBL_3: %35 = ptrtoint i32* %arg1 to i64 %36 = call i64 @FUNC(i64 %35, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %33, i64 %2, i64 %1) store i64 0, i64* %storemerge5.reg2mem br label LBL_21 LBL_4: %37 = add nuw i32 %storemerge616.reload, 1 %38 = icmp slt i32 %37, %5 store i32 %37, i32* %storemerge616.reg2mem br i1 %38, label LBL_2, label LBL_5 LBL_5: %39 = ptrtoint i32* %arg1 to i64 %40 = add i64 %39, 4 %41 = inttoptr i64 %40 to i32* %42 = bitcast i64* %rdi to i32* store i64 %13, i64* %.pre21.reg2mem store i64 %13, i64* %.pre.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_19 LBL_6: %storemerge310.reload = load i32, i32* %storemerge310.reg2mem %.reload = load i64, i64* %.reg2mem %.pre37.reload = load i64, i64* %.pre37.reg2mem %.pre2149.reload = load i64, i64* %.pre2149.reg2mem %43 = add i64 %.reload, %.pre22 %44 = add i64 %43, 16 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = add i64 %43, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = mul i32 %49, %storemerge310.reload %51 = sext i32 %50 to i64 %52 = mul i64 %51, 4 %53 = add i64 %52, %46 %54 = load i64, i64* %15, align 8 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = load i32, i32* %42, align 8 %58 = icmp eq i32 %57, 0 store i64 %.pre2149.reload, i64* %.pre2148.reg2mem store i64 %.pre37.reload, i64* %.pre36.reg2mem store i64 %.reload, i64* %.reg2mem53 store i32 0, i32* %storemerge4.lcssa.reg2mem br i1 %58, label LBL_10, label LBL_7 LBL_7: %59 = icmp slt i32 %56, 0 %60 = zext i1 %59 to i32 %61 = add i32 %56, %60 %62 = ashr i32 %61, 1 %63 = mul i32 %62, %storemerge310.reload %64 = add i32 %63, %156 store i64 0, i64* %.reg2mem51 store i32 0, i32* %storemerge48.reg2mem store i32 %64, i32* %sv_2.07.reg2mem br label LBL_8 LBL_8: %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %.reload52 = load i64, i64* %.reg2mem51 %65 = sext i32 %sv_2.07.reload to i64 %66 = mul i64 %65, 2 %67 = add i64 %66, %8 %68 = inttoptr i64 %67 to i16* %69 = load i16, i16* %68, align 2 %70 = udiv i16 %69, 16 %71 = mul i64 %.reload52, 4 %72 = add i64 %71, %53 %73 = zext i16 %70 to i32 %74 = inttoptr i64 %72 to i32* store i32 %73, i32* %74, align 4 %75 = add i32 %sv_2.07.reload, %5 %76 = add i32 %storemerge48.reload, 1 %77 = load i32, i32* %42, align 8 %78 = zext i32 %77 to i64 %79 = sext i32 %76 to i64 %80 = icmp slt i64 %79, %78 store i64 %79, i64* %.reg2mem51 store i32 %76, i32* %storemerge48.reg2mem store i32 %75, i32* %sv_2.07.reg2mem br i1 %80, label LBL_8, label LBL_9 LBL_9: %.pre20 = load i64, i64* %12, align 8 store i64 %.pre20, i64* %.pre2148.reg2mem store i64 %.pre20, i64* %.pre36.reg2mem store i64 %.pre20, i64* %.reg2mem53 store i32 %76, i32* %storemerge4.lcssa.reg2mem br label LBL_10 LBL_10: %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %.reload54 = load i64, i64* %.reg2mem53 %.pre36.reload = load i64, i64* %.pre36.reg2mem %.pre2148.reload = load i64, i64* %.pre2148.reg2mem %81 = add i64 %.reload54, %155 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = zext i32 %83 to i64 %85 = sext i32 %storemerge4.lcssa.reload to i64 %86 = icmp slt i64 %85, %84 store i64 %85, i64* %.reg2mem55 store i32 %storemerge4.lcssa.reload, i32* %sv_1.09.reg2mem store i64 %.pre2148.reload, i64* %.pre2150.reg2mem store i64 %.pre36.reload, i64* %.pre35.reg2mem store i64 %.reload54, i64* %.reg2mem57 br i1 %86, label LBL_11, label LBL_12 LBL_11: %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem %.reload56 = load i64, i64* %.reg2mem55 %87 = mul i64 %.reload56, 4 %88 = add i64 %87, %53 %89 = add i64 %88, -4 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = inttoptr i64 %88 to i32* store i32 %91, i32* %92, align 4 %93 = add i32 %sv_1.09.reload, 1 %94 = load i64, i64* %12, align 8 %95 = add i64 %94, %155 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = zext i32 %97 to i64 %99 = sext i32 %93 to i64 %100 = icmp slt i64 %99, %98 store i64 %99, i64* %.reg2mem55 store i32 %93, i32* %sv_1.09.reg2mem store i64 %94, i64* %.pre2150.reg2mem store i64 %94, i64* %.pre35.reg2mem store i64 %94, i64* %.reg2mem57 br i1 %100, label LBL_11, label LBL_12 LBL_12: %.reload58 = load i64, i64* %.reg2mem57 %.pre35.reload = load i64, i64* %.pre35.reg2mem %.pre2150.reload = load i64, i64* %.pre2150.reg2mem %101 = add i32 %storemerge310.reload, 1 %102 = load i32, i32* %41, align 4 %103 = zext i32 %102 to i64 %104 = sext i32 %101 to i64 %105 = icmp slt i64 %104, %103 store i64 %.pre2150.reload, i64* %.pre2149.reg2mem store i64 %.pre35.reload, i64* %.pre37.reg2mem store i64 %.reload58, i64* %.reg2mem store i32 %101, i32* %storemerge310.reg2mem store i64 %.pre2150.reload, i64* %.pre2147.reg2mem store i64 %.pre35.reload, i64* %.pre42.reg2mem store i64 %.reload58, i64* %.reg2mem59 store i32 %101, i32* %storemerge3.lcssa.reg2mem br i1 %105, label LBL_6, label LBL_13 LBL_13: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %.reload60 = load i64, i64* %.reg2mem59 %.pre42.reload = load i64, i64* %.pre42.reg2mem %.pre2147.reload = load i64, i64* %.pre2147.reg2mem %106 = add i64 %.reload60, %.pre22 %107 = add i64 %106, 12 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = zext i32 %109 to i64 %111 = sext i32 %storemerge3.lcssa.reload to i64 %112 = icmp slt i64 %111, %110 store i64 %.pre2147.reload, i64* %.pre2144.reg2mem store i64 %.pre42.reload, i64* %.pre39.reg2mem br i1 %112, label LBL_14, label LBL_18 LBL_14: %113 = add nuw nsw i64 %.pre22, 8 store i64 %.pre2147.reload, i64* %.pre2146.reg2mem store i64 %.pre42.reload, i64* %.pre41.reg2mem store i64 %.reload60, i64* %.reg2mem61 store i64 %106, i64* %.reg2mem63 store i32 %storemerge3.lcssa.reload, i32* %sv_0.013.reg2mem br label LBL_15 LBL_15: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %.reload64 = load i64, i64* %.reg2mem63 %.reload62 = load i64, i64* %.reg2mem61 %.pre41.reload = load i64, i64* %.pre41.reg2mem %.pre2146.reload = load i64, i64* %.pre2146.reg2mem %114 = add i64 %.reload64, 16 %115 = inttoptr i64 %114 to i64* %116 = load i64, i64* %115, align 8 %117 = add i64 %.reload64, 8 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = mul i32 %119, %sv_0.013.reload %121 = sext i32 %120 to i64 %122 = mul i64 %121, 4 %123 = add i64 %122, %116 %124 = add i64 %.reload62, %113 %125 = inttoptr i64 %124 to i32* %126 = load i32, i32* %125, align 4 %127 = icmp eq i32 %126, 0 store i64 0, i64* %.reg2mem65 store i32 %126, i32* %.reg2mem67 store i32 0, i32* %storemerge212.reg2mem store i64 %.pre2146.reload, i64* %.pre2145.reg2mem store i64 %.pre41.reload, i64* %.pre40.reg2mem store i64 %.reload62, i64* %.reg2mem69 br i1 %127, label LBL_17, label LBL_16 LBL_16: %storemerge212.reload = load i32, i32* %storemerge212.reg2mem %.reload68 = load i32, i32* %.reg2mem67 %.reload66 = load i64, i64* %.reg2mem65 %128 = sub i32 %storemerge212.reload, %.reload68 %129 = sext i32 %128 to i64 %130 = mul i64 %129, 4 %131 = add i64 %130, %123 %132 = mul i64 %.reload66, 4 %133 = add i64 %132, %123 %134 = inttoptr i64 %131 to i32* %135 = load i32, i32* %134, align 4 %136 = inttoptr i64 %133 to i32* store i32 %135, i32* %136, align 4 %137 = add i32 %storemerge212.reload, 1 %138 = load i64, i64* %12, align 8 %139 = add i64 %138, %113 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = zext i32 %141 to i64 %143 = sext i32 %137 to i64 %144 = icmp slt i64 %143, %142 store i64 %143, i64* %.reg2mem65 store i32 %141, i32* %.reg2mem67 store i32 %137, i32* %storemerge212.reg2mem store i64 %138, i64* %.pre2145.reg2mem store i64 %138, i64* %.pre40.reg2mem store i64 %138, i64* %.reg2mem69 br i1 %144, label LBL_16, label LBL_17 LBL_17: %.reload70 = load i64, i64* %.reg2mem69 %.pre40.reload = load i64, i64* %.pre40.reg2mem %.pre2145.reload = load i64, i64* %.pre2145.reg2mem %145 = add i32 %sv_0.013.reload, 1 %146 = add i64 %.reload70, %.pre22 %147 = add i64 %146, 12 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = zext i32 %149 to i64 %151 = sext i32 %145 to i64 %152 = icmp slt i64 %151, %150 store i64 %.pre2145.reload, i64* %.pre2146.reg2mem store i64 %.pre40.reload, i64* %.pre41.reg2mem store i64 %.reload70, i64* %.reg2mem61 store i64 %146, i64* %.reg2mem63 store i32 %145, i32* %sv_0.013.reg2mem store i64 %.pre2145.reload, i64* %.pre2144.reg2mem store i64 %.pre40.reload, i64* %.pre39.reg2mem br i1 %152, label LBL_15, label LBL_18 LBL_18: %.pre39.reload = load i64, i64* %.pre39.reg2mem %.pre2144.reload = load i64, i64* %.pre2144.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %24 store i64 %.pre2144.reload, i64* %.pre21.reg2mem store i64 %.pre39.reload, i64* %.pre.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 1, i64* %storemerge5.reg2mem br i1 %exitcond, label LBL_21, label LBL_19 LBL_19: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.pre21.reload = load i64, i64* %.pre21.reg2mem %153 = load i32, i32* %41, align 4 %154 = icmp eq i32 %153, 0 %.pre22 = mul nuw nsw i64 %indvars.iv.reload, 24 store i64 %.pre21.reload, i64* %.pre2147.reg2mem store i64 %.pre21.reload, i64* %.pre42.reg2mem store i64 %.pre21.reload, i64* %.reg2mem59 store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %154, label LBL_13, label LBL_6.lr.ph LBL_20: %.pre.reload = load i64, i64* %.pre.reg2mem %155 = add nuw nsw i64 %.pre22, 8 %156 = trunc i64 %indvars.iv.reload to i32 store i64 %.pre21.reload, i64* %.pre2149.reg2mem store i64 %.pre.reload, i64* %.pre37.reg2mem store i64 %.pre.reload, i64* %.reg2mem store i32 0, i32* %storemerge310.reg2mem br label LBL_6 LBL_21: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem ret i64 %storemerge5.reload uselistorder i64 %155, { 1, 0 } uselistorder i64 %.pre.reload, { 1, 0 } uselistorder i64 %.pre22, { 3, 4, 1, 0, 2 } uselistorder i64 %.pre21.reload, { 0, 3, 2, 1 } uselistorder i64 %indvars.iv.reload, { 1, 2, 0 } uselistorder i64 %.reload70, { 1, 0 } uselistorder i64 %.pre2147.reload, { 1, 0 } uselistorder i64 %.pre42.reload, { 1, 0 } uselistorder i32 %sv_2.07.reload, { 1, 0 } uselistorder i32 %storemerge310.reload, { 0, 2, 1 } uselistorder i32* %42, { 1, 0 } uselistorder i64* %12, { 1, 0, 2, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %storemerge616.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre2149.reg2mem, { 2, 1, 0 } uselistorder i64* %.pre37.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge310.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre2148.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre36.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem53, { 0, 2, 1 } uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem55, { 2, 0, 1 } uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre2147.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre42.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem59, { 1, 0, 2 } uselistorder i32* %storemerge3.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre2146.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre41.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem61, { 1, 0, 2 } uselistorder i64* %.reg2mem63, { 1, 0, 2 } uselistorder i32* %sv_0.013.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem65, { 2, 0, 1 } uselistorder i32* %.reg2mem67, { 2, 0, 1 } uselistorder i32* %storemerge212.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 4, 1, 9, 0, 8, 3, 6, 2, 7, 5, 10 } uselistorder label LBL_21, { 0, 2, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
x86_cpu_common_class_init_1627
x86_cpu_common_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 store i64 4198669, i64* %arg1, align 8 %5 = inttoptr i64 %3 to i32* store i32 3, i32* %5, align 4 %6 = add i64 %0, 40 %7 = inttoptr i64 %6 to i64* store i64 4198676, i64* %7, align 8 %8 = add i64 %0, 48 %9 = inttoptr i64 %8 to i64* store i64 4198683, i64* %9, align 8 %10 = add i64 %0, 56 %11 = inttoptr i64 %10 to i64* store i64 4198690, i64* %11, align 8 %12 = add i64 %0, 64 %13 = inttoptr i64 %12 to i64* store i64 4198697, i64* %13, align 8 %14 = add i64 %0, 72 %15 = inttoptr i64 %14 to i64* store i64 4198704, i64* %15, align 8 %16 = add i64 %0, 80 %17 = inttoptr i64 %16 to i64* store i64 4198711, i64* %17, align 8 %18 = add i64 %0, 88 %19 = inttoptr i64 %18 to i64* store i64 4198718, i64* %19, align 8 %20 = add i64 %0, 96 %21 = inttoptr i64 %20 to i64* store i64 4198725, i64* %21, align 8 %22 = add i64 %0, 104 %23 = inttoptr i64 %22 to i64* store i64 4198732, i64* %23, align 8 %24 = add i64 %0, 112 %25 = inttoptr i64 %24 to i64* store i64 4198739, i64* %25, align 8 %26 = add i64 %0, 120 %27 = inttoptr i64 %26 to i64* store i64 4198746, i64* %27, align 8 %28 = add i64 %0, 128 %29 = inttoptr i64 %28 to i64* store i64 4198753, i64* %29, align 8 %30 = add i64 %0, 136 %31 = inttoptr i64 %30 to i64* store i64 4198760, i64* %31, align 8 %32 = add i64 %0, 32 %33 = inttoptr i64 %32 to i32* store i32 57, i32* %33, align 4 store i64 4198823, i64* %2, align 8 %34 = add i64 %0, 24 %35 = inttoptr i64 %34 to i64* store i64 4198830, i64* %35, align 8 %36 = inttoptr i64 %3 to i8* store i8 1, i8* %36, align 1 ret i64 %0 uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 16, 18 } }
0
BinRealVul
part_fini_4487
part_fini
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* @gv_0, align 8 br label LBL_2 LBL_2: %3 = load i64, i64* @gv_1, align 8 %4 = call i64 @FUNC(i64 %3) %5 = load i64, i64* @gv_2, align 8 %6 = call i64 @FUNC(i64 %5) store i64 0, i64* @gv_3, align 8 ret i64 %6 uselistorder i64 (i64)* @xfree, { 1, 0 } }
0
BinRealVul
dequantization_float_17386
dequantization_float
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i64* %arg4, i64* %arg5, i32* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem32 = alloca i64 %.reg2mem30 = alloca i32 %.reg2mem28 = alloca i32 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %.reg2mem16 = alloca i32 %storemerge34.reg2mem = alloca i32 %.reg2mem = alloca i64 %r9 = alloca i64, align 8 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = add i64 %2, 12 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = ptrtoint i32* %arg3 to i64 %10 = add i64 %9, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %9, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %12, %15 store i64 0, i64* %.lcssa.reg2mem br i1 %16, label LBL_7, label LBL_1 LBL_1: %17 = ptrtoint i64* %arg5 to i64 %18 = trunc i64 %arg1 to i32 %19 = sub i32 %5, %8 %20 = trunc i64 %arg2 to i32 %21 = mul i32 %19, %20 %22 = add i32 %21, %18 %23 = sext i32 %22 to i64 %24 = trunc i64 %1 to i32 %25 = add i64 %9, 4 %26 = inttoptr i64 %25 to i32* %27 = bitcast i64* %rdx to i32* %28 = bitcast i64* %r9 to i32* %.pre = load i32, i32* %26, align 4 store i32 %15, i32* %.reg2mem24 store i32 %12, i32* %.reg2mem26 store i32 %24, i32* %.reg2mem28 store i32 %.pre, i32* %.reg2mem30 store i64 0, i64* %.reg2mem32 store i32 0, i32* %storemerge5.reg2mem br label LBL_5 LBL_2: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %.reload = load i64, i64* %.reg2mem %29 = load i32, i32* %4, align 4 %30 = load i32, i32* %7, align 4 %31 = sub i32 %29, %30 %32 = mul i32 %31, %storemerge5.reload %33 = add i32 %32, %storemerge34.reload %34 = load i64, i64* %63, align 8 %35 = mul i64 %.reload, 4 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = call i128 @FUNC(i32 %38) %40 = load i32, i32* %28, align 8 %41 = call i128 @FUNC(i32 %40) %42 = sext i32 %33 to i64 %reass.add = add nsw i64 %42, %23 %reass.mul = mul i64 %reass.add, 4 %43 = add i64 %reass.mul, %2 %44 = call i128 @FUNC(i128 %41, i128 %39) %45 = call i64 @__asm_movss.1(i128 %44) %46 = trunc i64 %45 to i32 %47 = inttoptr i64 %43 to i32* store i32 %46, i32* %47, align 4 %48 = add i32 %storemerge34.reload, 1 %49 = load i32, i32* %26, align 4 %50 = load i32, i32* %27, align 8 %51 = sub i32 %49, %50 %52 = zext i32 %51 to i64 %53 = sext i32 %48 to i64 %54 = icmp slt i64 %53, %52 store i64 %53, i64* %.reg2mem store i32 %48, i32* %storemerge34.reg2mem br i1 %54, label LBL_2, label LBL_3 LBL_3: %.pre8 = load i32, i32* %11, align 4 %.pre9 = load i32, i32* %14, align 4 store i32 %.pre9, i32* %.reg2mem16 store i32 %.pre8, i32* %.reg2mem18 store i32 %50, i32* %.reg2mem20 store i32 %49, i32* %.reg2mem22 br label LBL_4 LBL_4: %.reload23 = load i32, i32* %.reg2mem22 %.reload21 = load i32, i32* %.reg2mem20 %.reload19 = load i32, i32* %.reg2mem18 %.reload17 = load i32, i32* %.reg2mem16 %55 = add i32 %storemerge5.reload, 1 %56 = sub i32 %.reload19, %.reload17 %57 = zext i32 %56 to i64 %58 = sext i32 %55 to i64 %59 = icmp slt i64 %58, %57 store i32 %.reload17, i32* %.reg2mem24 store i32 %.reload19, i32* %.reg2mem26 store i32 %.reload21, i32* %.reg2mem28 store i32 %.reload23, i32* %.reg2mem30 store i64 %58, i64* %.reg2mem32 store i32 %55, i32* %storemerge5.reg2mem store i64 %57, i64* %.lcssa.reg2mem br i1 %59, label LBL_5, label LBL_7 LBL_5: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload31 = load i32, i32* %.reg2mem30 %.reload29 = load i32, i32* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i32, i32* %.reg2mem24 %60 = icmp eq i32 %.reload31, %.reload29 store i32 %.reload25, i32* %.reg2mem16 store i32 %.reload27, i32* %.reg2mem18 store i32 %.reload29, i32* %.reg2mem20 store i32 %.reload29, i32* %.reg2mem22 br i1 %60, label LBL_4, label LBL_2.lr.ph LBL_6: %.reload33 = load i64, i64* %.reg2mem32 %61 = mul i64 %.reload33, 8 %62 = add i64 %61, %17 %63 = inttoptr i64 %62 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge34.reg2mem br label LBL_2 LBL_7: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %.reload29, { 2, 1, 0 } uselistorder i32 %storemerge5.reload, { 1, 0 } uselistorder i32* %26, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge34.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem16, { 2, 0, 1 } uselistorder i32* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %.reg2mem20, { 2, 0, 1 } uselistorder i32* %.reg2mem22, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
handle_dots_11043
handle_dots
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = and i64 %1, 2 %6 = icmp eq i64 %5, 0 %7 = ptrtoint i32* %arg1 to i64 br i1 %6, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %7) 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 %7, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
nfs4_do_unlck_17453
nfs4_do_unlck
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 %1, i64 %0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 4294967284) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %1, i64 0, i64* nonnull @gv_0, i64 %4) store i64 %9, 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
nbd_recv_coroutines_enter_all_15020
nbd_recv_coroutines_enter_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %4, i64 0) store i64 %6, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
X86_insn_reg_intel_18947
X86_insn_reg_intel
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.12.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %sv_2.04.reg2mem = alloca i32 %0 = load i8, i8* inttoptr (i64 4210916 to i8*), align 4 %1 = icmp eq i8 %0, 1 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load i64, i64* @gv_0, align 8 %3 = load i32*, i32** @gv_1, align 8 %4 = ptrtoint i32* %3 to i64 store i64 %2, i64* @gv_2, align 8 store i64 %4, i64* bitcast (i32** @gv_3 to i64*), align 8 %5 = load i64, i64* @gv_4, align 8 %6 = load i64, i64* @gv_5, align 8 store i64 %5, i64* @gv_6, align 8 store i64 %6, i64* @gv_7, align 8 %7 = load i32, i32* inttoptr (i64 4210816 to i32*), align 128 store i32 %7, i32* bitcast (i64* @gv_8 to i32*), align 8 call void @qsort(i64* nonnull @gv_2, i32 3, i32 12, i32 (i64*, i64*)* inttoptr (i64 4198710 to i32 (i64*, i64*)*)) store i8 1, i8* bitcast (i64* @gv_9 to i8*), align 8 br label LBL_2 LBL_2: %8 = trunc i64 %arg1 to i32 store i32 1, i32* %sv_2.04.reg2mem store i32 2, i32* %sv_0.13.reg2mem store i32 0, i32* %sv_1.12.reg2mem br label LBL_3 LBL_3: %sv_2.04.reload = load i32, i32* %sv_2.04.reg2mem %9 = zext i32 %sv_2.04.reload to i64 %10 = mul nuw nsw i64 %9, 12 %11 = add i64 %10, ptrtoint (i64* @gv_2 to i64) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp ult i32 %13, %8 br i1 %14, label LBL_4, label LBL_5 LBL_4: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %15 = add nuw i32 %sv_2.04.reload, 1 store i32 %15, i32* %sv_1.0.reg2mem store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_5: %16 = icmp eq i32 %13, %8 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_6 LBL_6: %18 = icmp eq i64* %arg2, null br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = add i64 %10, ptrtoint (i32** @gv_10 to i64) %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = bitcast i64* %arg2 to i32* store i32 %21, i32* %22, align 4 br label LBL_8 LBL_8: %23 = add i64 %10, ptrtoint (i32** @gv_3 to i64) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 store i64 %26, i64* %storemerge.reg2mem br label LBL_12 LBL_9: %27 = icmp eq i32 %sv_2.04.reload, 0 store i64 0, i64* %storemerge.reg2mem br i1 %27, label LBL_12, label LBL_10 LBL_10: %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem %28 = add nsw i32 %sv_2.04.reload, -1 store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem store i32 %28, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %29 = add i32 %sv_0.0.reload, %sv_1.0.reload %30 = udiv i32 %29, 2 %31 = icmp ugt i32 %sv_1.0.reload, %sv_0.0.reload store i32 %30, i32* %sv_2.04.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %31, label LBL_12, label LBL_3 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %sv_2.04.reload, { 3, 2, 1, 0 } uselistorder i32* %sv_2.04.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.12.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32** @gv_3, { 1, 0 } uselistorder i64* @gv_2, { 1, 0, 2 } uselistorder i8 1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__packet_set_status_8255
__packet_set_status
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 3 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 3 br i1 %5, label LBL_6, label LBL_2 LBL_2: switch i32 %3, label LBL_6 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %6 = trunc i64 %2 to i32 %7 = inttoptr i64 %arg2 to i32* store i32 %6, i32* %7, align 4 %8 = call i64 @FUNC(i64 %arg2) %9 = call i64 @FUNC(i64 %8) br label LBL_7 LBL_4: %10 = trunc i64 %2 to i32 %11 = inttoptr i64 %arg2 to i32* store i32 %10, i32* %11, align 4 %12 = call i64 @FUNC(i64 %arg2) %13 = call i64 @FUNC(i64 %12) br label LBL_7 LBL_5: %14 = trunc i64 %2 to i32 %15 = inttoptr i64 %arg2 to i32* store i32 %14, i32* %15, align 4 %16 = call i64 @FUNC(i64 %arg2) %17 = call i64 @FUNC(i64 %16) br label LBL_7 LBL_6: %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0)) %19 = call i64 @FUNC() unreachable LBL_7: %20 = call i64 @FUNC() ret i64 %20 uselistorder i32 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 (i64)* @flush_dcache_page, { 2, 1, 0 } uselistorder i64 (i64)* @pgv_to_page, { 2, 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i64 %arg2, { 4, 5, 0, 1, 2, 3 } }
0
BinRealVul
sock_queue_err_skb_11500
sock_queue_err_skb
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = add i64 %3, 4 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = trunc i64 %2 to i32 %8 = add i32 %6, %7 %9 = trunc i64 %1 to i32 %10 = icmp ult i32 %8, %9 store i64 4294967284, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %12 = bitcast i64* %rsi to i32* %13 = call i64 @FUNC(i64 %11) %14 = add i64 %11, 8 %15 = inttoptr i64 %14 to i64* store i64 %3, i64* %15, align 8 %16 = add i64 %11, 16 %17 = inttoptr i64 %16 to i64* store i64 4198705, i64* %17, align 8 %18 = load i32, i32* %12, align 8 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i64 %4) %21 = call i64 @FUNC(i64 %11) %22 = add i64 %3, 8 %23 = call i64 @FUNC(i64 %22, i64 %11) %24 = call i64 @FUNC(i64 %3, i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 1, 0, 2, 4, 3 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vnc_client_read_buf_2138
vnc_client_read_buf
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = icmp eq i64* %arg1, null br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %4, i64 %3, i64 %arg3) %7 = icmp slt i64 %6, 0 %8 = icmp eq i1 %7, false store i32 -1, i32* %sv_1.0.reg2mem store i64 %6, i64* %sv_0.0.reg2mem br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 store i32 %10, i32* %sv_1.0.reg2mem store i64 %6, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14, i64 %3, i64 %arg3, i64 0) %16 = icmp slt i64 %15, 0 %17 = icmp eq i1 %16, false store i32 -1, i32* %sv_1.0.reg2mem store i64 %15, i64* %sv_0.0.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC() %19 = trunc i64 %18 to i32 store i32 %19, i32* %sv_1.0.reg2mem store i64 %15, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %20 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %arg3, i64 %sv_0.0.reload, i64 %2, i64 %1) %21 = call i64 @FUNC(i64 %4, i64 %sv_0.0.reload, i32 %sv_1.0.reload) ret i64 %21 uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %4, { 1, 2, 0 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg3, { 1, 2, 0 } }
0
BinRealVul
gio_poll_dispatch_del_17499
gio_poll_dispatch_del
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %5 = and i64 %arg1, 4294967295 %6 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) %7 = load i64, i64* @gv_1, align 8 %8 = call i64 @FUNC(i64 %7, i64 %5, i64* nonnull %sv_0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = ptrtoint i64* %sv_0 to i64 %13 = load i64, i64* %sv_0, align 8 %14 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %12, i64 %5, i64 %2, i64 %1) %15 = load i64, i64* %sv_0, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %sv_0, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i64* %sv_0, { 1, 2, 3, 4, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @crm_trace, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 1, { 4, 3, 5, 2, 0, 1 } }
1
BinRealVul
get_array_4280
get_array
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %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_4 LBL_1: %3 = load i64, i64* @gv_0, align 8 %4 = inttoptr i64 %3 to i64* %5 = call i32 @pthread_mutex_lock(i64* %4) %6 = load i64, i64* @gv_1, align 8 %7 = call i64 @FUNC(i64 %6, i64 %0) %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0) br label LBL_3 LBL_3: %10 = load i64, i64* @gv_0, align 8 %11 = inttoptr i64 %10 to i64* %12 = call i32 @pthread_mutex_unlock(i64* %11) %13 = inttoptr i64 %0 to i64* call void @free(i64* %13) store i64 %7, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mch_update_smram_73
mch_update_smram
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i32 %5, -5 store i32 %8, i32* %4, align 4 %9 = add i64 %2, 72 %10 = inttoptr i64 %9 to i32* store i32 5, i32* %10, align 4 %11 = add i64 %2, 64 %12 = inttoptr i64 %11 to i32* store i32 6, i32* %12, align 4 br label LBL_2 LBL_2: %13 = urem i64 %1, 2 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %16 = call i64 @FUNC() %17 = load i32, i32* %4, align 4 %18 = urem i32 %17, 8 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = zext i1 %15 to i64 %21 = call i64 @FUNC(i64 %3, i64 %20) %22 = add i64 %2, 16 %23 = call i64 @FUNC(i64 %22, i64 %20) br label LBL_5 LBL_4: %24 = call i64 @FUNC(i64 %3, i64 1) %25 = add i64 %2, 16 %26 = call i64 @FUNC(i64 %25, i64 0) br label LBL_5 LBL_5: %27 = load i32, i32* %4, align 4 %28 = and i32 %27, 8 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = icmp eq i1 %15, false %31 = add i64 %2, 24 %32 = zext i1 %30 to i64 %33 = call i64 @FUNC(i64 %31, i64 %32) %34 = add i64 %2, 32 %35 = zext i1 %15 to i64 %36 = call i64 @FUNC(i64 %34, i64 %35) br label LBL_8 LBL_7: %37 = add i64 %2, 24 %38 = call i64 @FUNC(i64 %37, i64 0) %39 = add i64 %2, 32 %40 = call i64 @FUNC(i64 %39, i64 0) br label LBL_8 LBL_8: %41 = bitcast i64* %rdi to i32* %42 = add i64 %2, 40 %43 = add i64 %2, 56 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i64 %42) %47 = call i64 @FUNC(i64 %42, i64 0) %48 = call i64 @FUNC(i64 %42, i64 0) %49 = load i32, i32* %41, align 8 %50 = zext i32 %49 to i64 %51 = load i64, i64* %44, align 8 %52 = call i64 @FUNC(i64 %51, i64 %50, i64 %42, i64 1) %53 = add i64 %2, 48 %54 = call i64 @FUNC(i64 %53, i64 0) %55 = call i64 @FUNC(i64 %53, i64 0) %56 = call i64 @FUNC(i64 %53, i64 %50) %57 = call i64 @FUNC(i64 %53, i64 %50) %58 = call i64 @FUNC() ret i64 %58 uselistorder i64 %50, { 1, 0, 2 } uselistorder i64 %42, { 0, 2, 1, 3 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32* %4, { 1, 2, 0, 3 } uselistorder i64 %2, { 5, 7, 6, 9, 8, 4, 3, 10, 2, 0, 1, 11 } uselistorder i64 (i64, i64)* @memory_region_set_size, { 1, 0 } uselistorder i64 (i64, i64)* @memory_region_set_enabled, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 8, { 1, 0 } }
1
BinRealVul
setup_report_key_7925
setup_report_key
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = trunc i64 %arg3 to i32 %3 = bitcast i64* %arg1 to i8* store i8 1, i8* %3, align 1 %4 = mul i32 %1, 64 %5 = or i32 %4, %2 %6 = trunc i32 %5 to i8 %7 = add i64 %0, 10 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %9 = icmp ult i32 %2, 9 %10 = icmp ne i1 %9, true %11 = icmp eq i1 %10, false %12 = icmp eq i1 %11, false br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = urem i64 %arg3, 64 %14 = shl i64 1, %13 %15 = and i64 %14, 289 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %17, false %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = and i64 %14, 20 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false %23 = icmp eq i1 %22, false %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_3 LBL_3: %25 = icmp ne i64 %13, 1 %26 = icmp eq i1 %25, false %27 = icmp eq i1 %26, false %28 = icmp eq i1 %27, false br i1 %28, label LBL_5, label LBL_7 LBL_4: %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i32* store i32 8, i32* %30, align 4 br label LBL_7 LBL_5: %31 = add i64 %0, 16 %32 = inttoptr i64 %31 to i32* store i32 16, i32* %32, align 4 br label LBL_7 LBL_6: %33 = add i64 %0, 16 %34 = inttoptr i64 %33 to i32* store i32 12, i32* %34, align 4 br label LBL_7 LBL_7: %35 = add i64 %0, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = trunc i32 %37 to i8 %39 = add i64 %0, 9 %40 = inttoptr i64 %39 to i8* store i8 %38, i8* %40, align 1 %41 = add i64 %0, 20 %42 = inttoptr i64 %41 to i8* store i8 0, i8* %42, align 1 ret i64 %0 uselistorder i64 %13, { 1, 0 } uselistorder i64 %0, { 3, 4, 6, 5, 1, 0, 2, 7 } uselistorder i64 20, { 1, 0 } uselistorder i1 false, { 4, 0, 5, 6, 1, 7, 8, 2, 9, 10, 3 } uselistorder label LBL_7, { 1, 2, 3, 0, 4 } }
0
BinRealVul
sctp_ulpq_skip_10580
sctp_ulpq_skip
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg3, 65536 %2 = urem i64 %arg2, 65536 %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = urem i64 %3, 65536 %5 = call i64 @FUNC(i64 %1, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0, i64 %2, i64 %1) %10 = call i64 @FUNC(i64 %0) store i64 %10, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vpc_has_zero_init_1382
vpc_has_zero_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 2 %6 = icmp eq i1 %5, false store i64 1, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) store i64 %11, 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
mov_read_esds_5307
mov_read_esds
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = 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 i32, align 4 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = add i64 %4, -8 %11 = add i64 %10, %9 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %3) %18 = zext i32 %arg3 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %18) %20 = call i64 @FUNC(i64 %3) %21 = bitcast i32* %sv_0 to i64* %22 = call i64 @FUNC(i64 %3, i64* nonnull %21) %23 = load i32, i32* %sv_0, align 4 %24 = icmp eq i32 %23, 1 %25 = icmp eq i1 %24, false %26 = call i64 @FUNC(i64 %3) br i1 %25, label LBL_2, label LBL_1 LBL_1: %27 = call i64 @FUNC(i64 %3) br label LBL_2 LBL_2: %28 = call i64 @FUNC(i64 %3, i64* nonnull %21) %29 = load i32, i32* %sv_0, align 4 %30 = icmp eq i32 %29, 2 %31 = icmp eq i1 %30, false br i1 %31, label LBL_6, label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %3) %33 = trunc i64 %32 to i32 %34 = urem i32 %33, 256 %35 = add i64 %16, 8 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = call i64 @FUNC(i64 %3) %38 = trunc i64 %37 to i32 %39 = urem i32 %38, 256 %40 = add i64 %16, 12 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = call i64 @FUNC(i64 %3) %43 = trunc i64 %42 to i32 %44 = add i64 %16, 16 %45 = inttoptr i64 %44 to i32* store i32 %43, i32* %45, align 4 %46 = call i64 @FUNC(i64 %3) %47 = trunc i64 %46 to i32 %48 = add i64 %16, 20 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 %50 = call i64 @FUNC(i64 %3) %51 = trunc i64 %50 to i32 %52 = add i64 %16, 24 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 %54 = call i64 @FUNC(i64 %3, i64* nonnull %21) %55 = load i32, i32* %sv_0, align 4 %56 = icmp eq i32 %55, 3 %57 = icmp eq i1 %56, false br i1 %57, label LBL_6, label LBL_4 LBL_4: %58 = and i64 %54, 4294967295 %59 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %58, i64 %2, i64 %1) %60 = mul i64 %54, 4294967296 %sext = add i64 %60, 68719476736 %61 = ashr exact i64 %sext, 32 %62 = call i64 @FUNC(i64 %61) %63 = inttoptr i64 %13 to i64* store i64 %62, i64* %63, align 8 %64 = icmp eq i64 %62, 0 br i1 %64, label LBL_6, label LBL_5 LBL_5: %65 = trunc i64 %54 to i32 %66 = call i64 @FUNC(i64 %3, i64 %62, i32 %65) %67 = add i64 %13, 8 %68 = inttoptr i64 %67 to i32* store i32 %65, i32* %68, align 4 br label LBL_6 LBL_6: %69 = trunc i64 %17 to i32 %70 = call i64 @FUNC(i64 %3) %71 = trunc i64 %70 to i32 %72 = add i32 %69, %arg3 %73 = sub i32 %72, %71 %74 = zext i32 %73 to i64 %75 = call i64 @FUNC(i64 %3, i64 %74) ret i64 0 uselistorder i32 %65, { 1, 0 } uselistorder i64 %62, { 1, 0, 2 } uselistorder i64 %54, { 2, 0, 1 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64 %3, { 8, 7, 0, 1, 2, 3, 4, 5, 6, 9, 11, 10, 12, 13, 14 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @get_byte, { 2, 1, 0 } uselistorder i64 (i64, i64*)* @mov_mp4_read_descr, { 2, 1, 0 } uselistorder i64 (i64)* @get_be32, { 2, 1, 0 } uselistorder i64 (i64)* @url_ftell, { 1, 0 } uselistorder i64 8, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
read_len_table_1437
read_len_table
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.11.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %sv_0.13.reg2mem br label LBL_1 LBL_1: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %6 = call i64 @FUNC(i64 %4, i64 3) %7 = trunc i64 %6 to i32 %8 = call i64 @FUNC(i64 %4, i64 5) %9 = icmp eq i32 %7, 0 %10 = icmp eq i1 %9, false store i32 %7, i32* %sv_1.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %4, i64 8) %12 = trunc i64 %11 to i32 store i32 %12, i32* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %13 = add i32 %sv_1.0.reload, %sv_0.13.reload %14 = icmp sgt i32 %13, 256 br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %4) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_7 LBL_5: %19 = icmp eq i32 %sv_1.0.reload, 0 %20 = icmp eq i1 %19, false store i32 %sv_0.13.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %20, label LBL_6, label LBL_9 LBL_6: %21 = trunc i64 %8 to i8 store i32 %sv_0.13.reload, i32* %sv_0.02.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.11.reg2mem br label LBL_8 LBL_7: %22 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_10 LBL_8: %sv_1.11.reload = load i32, i32* %sv_1.11.reg2mem %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %23 = add i32 %sv_1.11.reload, -1 %24 = add i32 %sv_0.02.reload, 1 %25 = sext i32 %sv_0.02.reload to i64 %26 = add i64 %25, %5 %27 = inttoptr i64 %26 to i8* store i8 %21, i8* %27, align 1 %28 = icmp eq i32 %23, 0 %29 = icmp eq i1 %28, false store i32 %24, i32* %sv_0.02.reg2mem store i32 %23, i32* %sv_1.11.reg2mem store i32 %24, i32* %sv_0.0.lcssa.reg2mem br i1 %29, label LBL_8, label LBL_9 LBL_9: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %30 = icmp slt i32 %sv_0.0.lcssa.reload, 256 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.13.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %30, label LBL_1, label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_0.02.reload, { 1, 0 } uselistorder i32 %sv_0.13.reload, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 3, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.11.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 0, { 0, 6, 5, 3, 4, 1, 2, 7 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
raptor_abbrev_subject_find_17853
raptor_abbrev_subject_find
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64 %3) %8 = call i64 @FUNC(i64 %3) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
ssh_tty_parse_specchar_8636
ssh_tty_parse_specchar
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 255, i64* %sv_0.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: store i64 0, i64* %sv_1, align 8 %4 = ptrtoint i16* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1) %6 = load i64, i64* %sv_1, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %1, 72057594037927936 %9 = ashr exact i64 %sext, 56 store i64 %9, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %10 = and i64 %sv_0.0.reload, 4294967295 ret i64 %10 uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
net_slirp_smb_2104
net_slirp_smb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_2 to i64*), i32 1, i32 17, %_IO_FILE* %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %4 = trunc i64 %arg1 to i32 store i32 %4, i32* @gv_0, align 4 %5 = call i64 @FUNC(i64* nonnull @gv_3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64* nonnull @gv_3) %10 = call i64 @FUNC(i64 %9, i64 0, i64 %arg1, i64 0) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
m25p80_transfer8_15936
m25p80_transfer8
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 56 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 5 br i1 %5, label LBL_8, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = icmp sgt i32 %4, 5 br i1 %7, label LBL_10, label LBL_2 LBL_2: %8 = icmp sgt i32 %4, 2 br i1 %8, label LBL_6, label LBL_3 LBL_3: switch i32 %4, label LBL_10 [ i32 1, label LBL_4 i32 2, label LBL_5 ] LBL_4: %9 = trunc i64 %6 to i32 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = trunc i64 %12 to i32 %14 = urem i32 %9, 256 %15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i32 %13, i32 %14) %16 = urem i64 %6, 256 %17 = load i64, i64* %11, align 8 %18 = call i64 @FUNC(i64 %1, i64 %17, i64 %16) %19 = load i64, i64* %11, align 8 %20 = add i64 %19, 1 store i64 %20, i64* %11, align 8 store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_5: %21 = inttoptr i64 %1 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %1, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %25, %22 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = zext i8 %28 to i32 %30 = trunc i64 %25 to i32 %31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %30, i32 %29) %32 = load i64, i64* %24, align 8 %33 = add i64 %32, 1 %34 = add i64 %1, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = urem i64 %33, %36 store i64 %37, i64* %24, align 8 store i32 %29, i32* %sv_0.0.reg2mem br label LBL_11 LBL_6: %38 = add i64 %1, 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %1, 32 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %43, %40 %45 = trunc i64 %6 to i8 %46 = inttoptr i64 %44 to i8* store i8 %45, i8* %46, align 1 %47 = load i64, i64* %42, align 8 %48 = add i64 %47, 1 store i64 %48, i64* %42, align 8 %49 = add i64 %1, 40 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %48, %51 %53 = icmp eq i1 %52, false store i32 0, i32* %sv_0.0.reg2mem br i1 %53, label LBL_11, label LBL_7 LBL_7: %54 = call i64 @FUNC(i64 %1) store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_8: %55 = add i64 %1, 8 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = add i64 %1, 48 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = add i64 %60, %57 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = zext i8 %63 to i32 %65 = add i64 %60, 1 store i64 %65, i64* %59, align 8 %66 = add i64 %1, 32 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = icmp eq i64 %65, %68 %70 = icmp eq i1 %69, false store i32 %64, i32* %sv_0.0.reg2mem br i1 %70, label LBL_11, label LBL_9 LBL_9: store i64 0, i64* %59, align 8 store i32 6, i32* %3, align 4 store i32 %64, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %71 = urem i64 %6, 256 %72 = call i64 @FUNC(i64 %1, i64 %71) store i32 0, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %73 = zext i32 %sv_0.0.reload to i64 ret i64 %73 uselistorder i64 %60, { 1, 0 } uselistorder i64* %42, { 1, 0, 2 } uselistorder i64 %25, { 1, 0 } uselistorder i64* %24, { 1, 0, 2 } uselistorder i64* %11, { 2, 1, 0, 3 } uselistorder i64 %6, { 0, 3, 1, 2 } uselistorder i64 %1, { 9, 10, 12, 11, 6, 5, 8, 7, 0, 2, 1, 3, 4, 13 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 6, 7, 3, 4, 1, 2 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 5, { 1, 0 } uselistorder label LBL_11, { 4, 1, 0, 3, 2, 5, 6 } }
1
BinRealVul
init_root_18213
init_root
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %0 = inttoptr i64 %arg1 to i8* %1 = icmp eq i64 %arg1, 0 %2 = icmp eq i1 %1, false store i8* %0, i8** %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) store i8* %3, i8** %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %4 = icmp eq i8* %sv_0.0.reload, null %5 = icmp eq i1 %4, false %spec.select = select i1 %5, i8* %sv_0.0.reload, i8* bitcast (i8** @gv_1 to i8*) %6 = call i8* @strdup(i8* %spec.select) %7 = ptrtoint i8* %6 to i64 %8 = call i32 @strlen(i8* %6) %9 = sext i32 %8 to i64 %10 = add i64 %7, -1 %11 = add i64 %10, %9 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp eq i8 %13, 47 store i64 %7, i64* %storemerge.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = call i32 @strlen(i8* %6) %16 = add i32 %15, 2 %17 = bitcast i8* %6 to i64* %18 = call i64* @realloc(i64* %17, i32 %16) %19 = icmp eq i64* %18, inttoptr (i64 -1 to i64*) %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: call void @free(i64* %17) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %21 = call i32 @strlen(i8* %6) %22 = sext i32 %21 to i64 %23 = add i64 %22, %7 %24 = inttoptr i64 %23 to i16* store i16 47, i16* %24, align 2 store i64 %7, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 2, 0, 3 } uselistorder i8* %6, { 0, 2, 1, 3, 4 } uselistorder i8* %sv_0.0.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
pc_dimm_get_memory_region_1398
pc_dimm_get_memory_region
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %0) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
sctp_skb_pull_9773
sctp_skb_pull
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64 %arg1) %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %0, %3 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %arg1, i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %7 = sub i64 %1, %2 %8 = and i64 %2, 4294967295 %9 = call i64 @FUNC(i64 %arg1, i64 %8) %10 = bitcast i64* %rdi to i32* %11 = inttoptr i64 %arg1 to i32* %12 = add i64 %arg1, 4 %13 = inttoptr i64 %12 to i32* store i64 %7, i64* %sv_0.0.in.in.reg2mem store i64 %arg1, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %14 = call i64 @FUNC(i64 %storemerge.reload, i64 %26) %15 = trunc i64 %14 to i32 %16 = load i32, i32* %10, align 8 %17 = trunc i64 %sv_0.0 to i32 %18 = sub i32 %15, %17 %19 = add i32 %18, %16 store i32 %19, i32* %11, align 4 %20 = load i32, i32* %13, align 4 %21 = add i32 %20, %18 store i32 %21, i32* %13, align 4 %22 = icmp eq i32 %15, 0 %23 = icmp eq i1 %22, false store i64 %14, i64* %sv_0.0.in.in.reg2mem store i64 0, i64* %storemerge.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = mul i64 %sv_0.0.in.in.reload, 4294967296 %sv_0.0 = ashr exact i64 %sv_0.0.in, 32 %24 = icmp eq i64 %storemerge.reload, 0 %25 = icmp eq i1 %24, false %26 = and i64 %sv_0.0, 4294967295 store i64 %26, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %15, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64, i64)* @__skb_pull, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 3, 4, 1, 5 } }
0
BinRealVul
qpci_io_readw_1362
qpci_io_readw
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = icmp ult i64 %arg2, 65535 br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = urem i32 %1, 65536 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) 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* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
lpfc_sli4_wq_release_17593
lpfc_sli4_wq_release
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, %2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = bitcast i64* %arg1 to i32* %10 = add i32 %3, 1 br label LBL_2 LBL_2: %11 = load i32, i32* %8, align 4 %12 = urem i32 %10, %11 store i32 %12, i32* %9, align 4 br label LBL_2 LBL_3: ret i64 0 }
1
BinRealVul
acpi_pm1_evt_get_sts_955
acpi_pm1_evt_get_sts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC() %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp slt i64 %3, %6 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = trunc i64 %1 to i16 %9 = or i16 %8, 1 %10 = bitcast i64* %arg1 to i16* store i16 %9, i16* %10, align 2 br label LBL_2 LBL_2: %11 = urem i64 %1, 65536 ret i64 %11 uselistorder i64 %1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fsck_gitmodules_fn_9791
fsck_gitmodules_fn
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i8*, align 8 %2 = bitcast i32* %sv_1 to i64* %3 = bitcast i8** %sv_2 to i64* %4 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %2, i64* nonnull %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 br i1 %6, label LBL_11, label LBL_1 LBL_1: %7 = load i64, i64* %sv_0, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_11 LBL_2: %10 = ptrtoint i64* %arg3 to i64 %11 = load i32, i32* %sv_1, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %7, i64 %12) %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %10, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %10, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23, i64 %20, i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %13) %25 = or i64 %24, %1 %26 = trunc i64 %25 to i32 %27 = bitcast i64* %arg3 to i32* store i32 %26, i32* %27, align 4 br label LBL_4 LBL_4: %28 = load i8*, i8** %sv_2, align 8 %29 = call i32 @strcmp(i8* %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i64 %arg2, 0 %or.cond = or i1 %32, %31 br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %arg2) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = add i64 %10, 16 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %10, 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %41, i64 %38, i64 2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %arg2) %43 = or i64 %42, %1 %44 = trunc i64 %43 to i32 %45 = bitcast i64* %arg3 to i32* store i32 %44, i32* %45, align 4 br label LBL_7 LBL_7: %46 = load i8*, i8** %sv_2, align 8 %47 = call i32 @strcmp(i8* %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false %or.cond5 = or i1 %32, %49 br i1 %or.cond5, label LBL_10, label LBL_8 LBL_8: %50 = call i64 @FUNC(i64 %arg2) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = add i64 %10, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %10, 8 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %58, i64 %55, i64 3, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %arg2) %60 = or i64 %59, %1 %61 = trunc i64 %60 to i32 %62 = bitcast i64* %arg3 to i32* store i32 %61, i32* %62, align 4 br label LBL_10 LBL_10: %63 = inttoptr i64 %13 to i64* call void @free(i64* %63) br label LBL_11 LBL_11: ret i64 0 uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %10, { 5, 4, 3, 2, 1, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 (i64)* @looks_like_command_line_option, { 1, 0 } uselistorder i64 (i64, i64, i64, i8*, i64)* @report, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0, 4, 3 } uselistorder label LBL_11, { 2, 1, 0 } }
0
BinRealVul
get_object_10993
get_object
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i64 %sv_2.09.reg2mem = alloca i32 %sv_3.014.reg2mem = alloca i32 %sv_4.115.reg2mem = alloca i32 %sv_0.116.reg2mem = alloca i8* %sv_2.017.reg2mem = alloca i32 %.reg2mem47 = alloca i64 %.reg2mem45 = alloca i32 %sv_0.0.reg2mem = alloca i8* %sv_4.0.reg2mem = alloca i32 %storemerge621.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg4, null br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg4, align 8 br label LBL_2 LBL_2: %3 = icmp eq i64* %arg5, null br i1 %3, label LBL_4, label LBL_3 LBL_3: %4 = bitcast i64* %arg5 to i32* store i32 0, i32* %4, align 4 br label LBL_4 LBL_4: %5 = trunc i64 %1 to i32 %6 = inttoptr i64 %arg1 to %_IO_FILE* %7 = call i32 @ftell(%_IO_FILE* %6) %8 = icmp eq i32 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_22, label LBL_5 LBL_5: %9 = ptrtoint i32* %arg3 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = trunc i64 %arg2 to i32 %14 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge621.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %15 = mul i64 %.reload, 16 %16 = add i64 %15, %12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, %13 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_8 LBL_7: %storemerge621.reload = load i32, i32* %storemerge621.reg2mem %21 = add i32 %storemerge621.reload, 1 %22 = sext i32 %21 to i64 %23 = icmp sgt i64 %14, %22 store i64 %22, i64* %.reg2mem store i32 %21, i32* %storemerge621.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_6, label LBL_22 LBL_8: %24 = icmp eq i64 %16, 0 %25 = icmp eq i1 %24, false store i64 0, i64* %storemerge.reg2mem br i1 %25, label LBL_9, label LBL_22 LBL_9: %26 = add i64 %16, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = trunc i64 %28 to i32 %30 = call i32 @fseek(%_IO_FILE* %6, i32 %29, i32 0) %31 = load i32, i32* inttoptr (i64 4202600 to i32*), align 8 %32 = call i64* @malloc(i32 %31) %33 = bitcast i64* %32 to i8* %34 = call i64* @memset(i64* %32, i32 0, i32 256) %35 = call i32 @fread(i64* %32, i32 1, i32 255, %_IO_FILE* %6) %36 = icmp eq i32 %35, 0 store i32 0, i32* %sv_2.09.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i8* %33, i8** %sv_0.2.reg2mem br i1 %36, label LBL_17, label LBL_10 LBL_10: %37 = ptrtoint i64* %32 to i64 store i32 %35, i32* %.reg2mem45 store i64 %37, i64* %.reg2mem47 store i32 0, i32* %sv_2.017.reg2mem store i8* %33, i8** %sv_0.116.reg2mem store i32 1, i32* %sv_4.115.reg2mem store i32 0, i32* %sv_3.014.reg2mem br label LBL_16 LBL_11: %sv_3.014.reload = load i32, i32* %sv_3.014.reg2mem %sv_4.115.reload = load i32, i32* %sv_4.115.reg2mem %.reload48 = load i64, i64* %.reg2mem47 %.reload46 = load i32, i32* %.reg2mem45 %38 = add i32 %sv_3.014.reload, %.reload46 %39 = sext i32 %38 to i64 %40 = add i64 %.reload48, %39 %41 = inttoptr i64 %40 to i8* store i8 0, i8* %41, align 1 %42 = add i32 %38, 256 %43 = mul i32 %sv_4.115.reload, 256 %44 = icmp ult i32 %42, %43 store i32 %sv_4.115.reload, i32* %sv_4.0.reg2mem store i8* %sv_0.116.reload, i8** %sv_0.0.reg2mem br i1 %44, label LBL_13, label LBL_12 LBL_12: %45 = add i32 %sv_4.115.reload, 1 %46 = mul i32 %45, 256 %47 = bitcast i8* %sv_0.116.reload to i64* %48 = call i64* @realloc(i64* %47, i32 %46) %49 = bitcast i64* %48 to i8* store i32 %45, i32* %sv_4.0.reg2mem store i8* %49, i8** %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %50 = icmp slt i32 %sv_3.014.reload, 0 %51 = icmp eq i1 %50, false %52 = sext i32 %sv_3.014.reload to i64 %53 = select i1 %51, i64 %52, i64 0 %54 = ptrtoint i8* %sv_0.0.reload to i64 %55 = add i64 %53, %54 %56 = inttoptr i64 %55 to i8* %57 = call i8* @strstr(i8* %56, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %58 = icmp eq i8* %57, null br i1 %58, label LBL_15, label LBL_14 LBL_14: %59 = ptrtoint i8* %57 to i64 %60 = add i64 %59, 7 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 %62 = call i8* @strstr(i8* %56, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %63 = ptrtoint i8* %62 to i64 %64 = sub i64 7, %54 %65 = add i64 %64, %63 store i32 %sv_2.017.reload, i32* %sv_2.09.reg2mem store i64 %65, i64* %sv_1.0.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.2.reg2mem br label LBL_17 LBL_15: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %66 = call i8* @strstr(i8* %sv_0.0.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %67 = icmp eq i8* %66, null %spec.select7 = select i1 %67, i32 %sv_2.017.reload, i32 1 %68 = add i64 %54, %39 %69 = inttoptr i64 %68 to i64* %70 = call i32 @fread(i64* %69, i32 1, i32 255, %_IO_FILE* %6) %71 = icmp eq i32 %70, 0 store i32 %70, i32* %.reg2mem45 store i64 %54, i64* %.reg2mem47 store i32 %spec.select7, i32* %sv_2.017.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.116.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.115.reg2mem store i32 %38, i32* %sv_3.014.reg2mem store i32 %spec.select7, i32* %sv_2.09.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.2.reg2mem br i1 %71, label LBL_17, label LBL_16 LBL_16: %sv_0.116.reload = load i8*, i8** %sv_0.116.reg2mem %sv_2.017.reload = load i32, i32* %sv_2.017.reg2mem %72 = call i32 @ferror(%_IO_FILE* %6) %73 = icmp eq i32 %72, 0 store i32 %sv_2.017.reload, i32* %sv_2.09.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i8* %sv_0.116.reload, i8** %sv_0.2.reg2mem br i1 %73, label LBL_11, label LBL_17 LBL_17: %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem %sv_2.09.reload = load i32, i32* %sv_2.09.reg2mem call void @clearerr(%_IO_FILE* %6) %74 = call i32 @fseek(%_IO_FILE* %6, i32 %7, i32 0) br i1 %2, label LBL_19, label LBL_18 LBL_18: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem store i64 %sv_1.0.reload, i64* %arg4, align 8 br label LBL_19 LBL_19: br i1 %3, label LBL_21, label LBL_20 LBL_20: %75 = bitcast i64* %arg5 to i32* store i32 %sv_2.09.reload, i32* %75, align 4 br label LBL_21 LBL_21: %76 = ptrtoint i8* %sv_0.2.reload to i64 store i64 %76, i64* %storemerge.reg2mem br label LBL_22 LBL_22: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %sv_0.116.reload, { 0, 2, 1 } uselistorder i64 %54, { 0, 3, 1, 2 } uselistorder i8* %sv_0.0.reload, { 0, 2, 4, 1, 3 } uselistorder i64 %39, { 1, 0 } uselistorder i32 %sv_4.115.reload, { 0, 2, 1 } uselistorder i8* %33, { 1, 0 } uselistorder i64* %32, { 1, 0, 3, 2 } uselistorder i64 %16, { 1, 0, 2 } uselistorder %_IO_FILE* %6, { 3, 2, 1, 4, 0, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge621.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem45, { 1, 0, 2 } uselistorder i64* %.reg2mem47, { 1, 0, 2 } uselistorder i32* %sv_4.115.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.014.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.09.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i8** %sv_0.2.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fread, { 1, 0 } uselistorder i32 255, { 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } uselistorder i32 0, { 6, 10, 11, 9, 1, 2, 0, 5, 7, 8, 3, 4, 12 } uselistorder label LBL_22, { 3, 2, 0, 1 } uselistorder label LBL_17, { 1, 0, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ide_data_writew_16930
ide_data_writew
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %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 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %1 to i64* %8 = load i64, i64* %7, align 8 %9 = urem i64 %arg3, 65536 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i16 %12 = inttoptr i64 %8 to i16* store i16 %11, i16* %12, align 2 %13 = add i64 %8, 2 store i64 %13, i64* %7, align 8 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp ult i64 %13, %16 %spec.select = select i1 %17, i64 %16, i64 %1 ret i64 %spec.select LBL_2: ret i64 0 uselistorder i64 %13, { 1, 0 } uselistorder i64 %8, { 1, 0 } }
1
BinRealVul
init_vmcb_7582
init_vmcb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 152 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 40 %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = call i64 @FUNC(i64 %0, i64 0) %9 = call i64 @FUNC(i64 %0, i64 1) %10 = call i64 @FUNC(i64 %0, i64 2) %11 = call i64 @FUNC(i64 %0, i64 3) %12 = call i64 @FUNC(i64 %0, i64 4) %13 = call i64 @FUNC(i64 %0, i64 5) %14 = call i64 @FUNC(i64 %0, i64 6) %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0, i64 33) %17 = call i64 @FUNC(i64 %0, i64 34) %18 = call i64 @FUNC(i64 %0, i64 35) %19 = call i64 @FUNC(i64 %0, i64 7) %20 = call i64 @FUNC(i64 %0, i64 8) %21 = call i64 @FUNC(i64 %0, i64 9) %22 = call i64 @FUNC(i64 %0, i64 10) %23 = call i64 @FUNC(i64 %0, i64 11) %24 = call i64 @FUNC(i64 %0, i64 12) %25 = call i64 @FUNC(i64 %0, i64 13) %26 = call i64 @FUNC(i64 %0, i64 14) %27 = call i64 @FUNC(i64 %0, i64 15) %28 = call i64 @FUNC(i64 %0, i64 16) %29 = call i64 @FUNC(i64 %0, i64 17) %30 = call i64 @FUNC(i64 %0, i64 18) %31 = call i64 @FUNC(i64 %0, i64 19) %32 = call i64 @FUNC(i64 %0, i64 20) %33 = call i64 @FUNC(i64 %0, i64 21) %34 = call i64 @FUNC(i64 %0, i64 22) %35 = call i64 @FUNC(i64 %0, i64 23) %36 = call i64 @FUNC(i64 %0, i64 24) %37 = call i64 @FUNC(i64 %0, i64 25) %38 = call i64 @FUNC(i64 %0, i64 26) %39 = call i64 @FUNC(i64 %0, i64 27) %40 = call i64 @FUNC(i64 %0, i64 28) %41 = call i64 @FUNC(i64 %0, i64 29) %42 = call i64 @FUNC(i64 %0, i64 30) %43 = call i64 @FUNC(i64 %0, i64 31) %44 = load i64, i64* @gv_0, align 8 %45 = inttoptr i64 %3 to i64* store i64 %44, i64* %45, align 8 %46 = add i64 %0, 160 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %48) %50 = add i64 %3, 8 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = add i64 %3, 16 %53 = inttoptr i64 %52 to i64* store i64 1, i64* %53, align 8 %54 = add i64 %3, 72 %55 = call i64 @FUNC(i64 %54) %56 = add i64 %3, 104 %57 = call i64 @FUNC(i64 %56) %58 = add i64 %3, 136 %59 = call i64 @FUNC(i64 %58) %60 = add i64 %3, 168 %61 = call i64 @FUNC(i64 %60) %62 = add i64 %3, 200 %63 = call i64 @FUNC(i64 %62) %64 = inttoptr i64 %4 to i16* store i16 -4096, i16* %64, align 2 %65 = add i64 %3, 48 %66 = inttoptr i64 %65 to i64* store i64 4294901760, i64* %66, align 8 %67 = add i64 %3, 56 %68 = inttoptr i64 %67 to i64* store i64 15, i64* %68, align 8 %69 = add i64 %3, 64 %70 = inttoptr i64 %69 to i64* store i64 65535, i64* %70, align 8 %71 = add i64 %3, 232 %72 = inttoptr i64 %71 to i16* store i16 -1, i16* %72, align 2 %73 = add i64 %3, 234 %74 = inttoptr i64 %73 to i16* store i16 -1, i16* %74, align 2 %75 = add i64 %3, 240 %76 = call i64 @FUNC(i64 %75, i64 1) %77 = add i64 %3, 256 %78 = call i64 @FUNC(i64 %77, i64 2) %79 = call i64 @FUNC(i64 %0, i64 0) %80 = add i64 %3, 272 %81 = inttoptr i64 %80 to i64* store i64 4294905840, i64* %81, align 8 %82 = call i64 @FUNC(i64 %0, i64 2) %83 = add i64 %3, 280 %84 = inttoptr i64 %83 to i64* store i64 65520, i64* %84, align 8 %85 = add i64 %0, 16 %86 = inttoptr i64 %85 to i64* store i64 65520, i64* %86, align 8 %87 = call i64 @FUNC(i64 %0, i64 3758096384) %88 = call i64 @FUNC(i64 %0) %89 = add i64 %3, 304 %90 = inttoptr i64 %89 to i64* store i64 32, i64* %90, align 8 %91 = add i64 %3, 32 %92 = inttoptr i64 %91 to i64* store i64 1, i64* %92, align 8 %93 = call i64 @FUNC(i64 %0, i64 15) %94 = call i64 @FUNC(i64 %0, i64 33) %95 = call i64 @FUNC(i64 %0, i64 1) %96 = call i64 @FUNC(i64 %0, i64 4) %97 = add i64 %0, 144 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = add i64 %3, 288 %101 = inttoptr i64 %100 to i64* store i64 %99, i64* %101, align 8 %102 = add i64 %3, 296 %103 = inttoptr i64 %102 to i64* store i64 0, i64* %103, align 8 store i64 0, i64* %90, align 8 %104 = add i64 %0, 168 %105 = inttoptr i64 %104 to i64* store i64 0, i64* %105, align 8 %106 = add i64 %0, 176 %107 = inttoptr i64 %106 to i64* store i64 0, i64* %107, align 8 store i64 0, i64* %7, align 8 %108 = add i64 %3, 24 %109 = inttoptr i64 %108 to i64* store i64 3000, i64* %109, align 8 %110 = call i64 @FUNC(i64 %0, i64 32) %111 = load i64, i64* %2, align 8 %112 = call i64 @FUNC(i64 %111) %113 = call i64 @FUNC(i64 %0) ret i64 %113 uselistorder i64 %3, { 18, 16, 15, 19, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 17, 3, 2, 1, 20, 21, 22, 0 } uselistorder i64 %0, { 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 52 } uselistorder i64 (i64, i64)* @clr_cr_intercept, { 1, 0 } uselistorder i64 (i64, i64)* @init_sys_seg, { 1, 0 } uselistorder i64 168, { 1, 0 } uselistorder i64 (i64)* @init_seg, { 4, 3, 2, 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 15, { 0, 2, 1 } uselistorder i64 (i64, i64)* @set_intercept, { 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 (i64, i64)* @set_exception_intercept, { 2, 1, 0 } uselistorder i64 (i64, i64)* @set_cr_intercept, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } }
1
BinRealVul
skcipher_setkey_12590
skcipher_setkey
define i64 @FUNC(i64 %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0, i32 %arg3) ret i64 %1 }
1
BinRealVul
get_proxy_8124
get_proxy
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %.lcssa11.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg2, align 8 %1 = load [8 x i8]*, [8 x i8]** @gv_0, align 8 %2 = icmp eq [8 x i8]* %1, null %3 = icmp eq i1 %2, false store i64 %0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = bitcast i64* %arg1 to i8* %5 = getelementptr inbounds [8 x i8], [8 x i8]* %1, i64 0, i64 0 %6 = call i32 @strlen(i8* %5) %7 = load [8 x i8]*, [8 x i8]** @gv_0, align 8 %8 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0 %9 = call i32 @strncmp(i8* %4, i8* %8, i32 %6) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 ptrtoint (i32** @gv_1 to i64), i64* %.lcssa11.reg2mem store i32 %6, i32* %.lcssa.reg2mem store i32 1, i32* %.reg2mem br i1 %11, label LBL_6, label LBL_4 LBL_2: %12 = inttoptr i64 %46 to i8* %13 = call i32 @strlen(i8* %12) %14 = load i64, i64* %45, align 8 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strncmp(i8* %4, i8* %15, i32 %13) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %19 = add i32 %.reload, 1 store i32 %19, i32* %.reg2mem br i1 %18, label LBL_6, label LBL_2.LBL_4_crit_edge LBL_3: %phitmp = add i64 %43, ptrtoint (i32** @gv_1 to i64) store i64 %phitmp, i64* %.lcssa11.reg2mem store i32 %13, i32* %.lcssa.reg2mem br label LBL_4 LBL_4: %20 = call i8* @strchr(i8* %4, i32 124) %21 = icmp eq i8* %20, null %22 = icmp eq i1 %21, false store i64 %0, i64* %storemerge.reg2mem br i1 %22, label LBL_5, label LBL_7 LBL_5: %23 = ptrtoint i64* %arg2 to i64 %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %.lcssa11.reload = load i64, i64* %.lcssa11.reg2mem store i8 0, i8* %20, align 1 %24 = ptrtoint i8* %20 to i64 %25 = sub i64 %24, %0 %26 = trunc i64 %25 to i32 %27 = sub i32 1, %.lcssa.reload %28 = add i32 %27, %26 %29 = call i64* @malloc(i32 %28) %30 = ptrtoint i64* %29 to i64 store i64 %30, i64* %arg2, align 8 %31 = sext i32 %.lcssa.reload to i64 %32 = add i64 %31, %0 %33 = inttoptr i64 %32 to i8* %34 = call i8* @strcpy(i8* inttoptr (i64 124 to i8*), i8* %33) %35 = add i64 %23, 8 %36 = call i64 @FUNC(i64 %32, i64 %35, i64 %35) %37 = inttoptr i64 %.lcssa11.reload to i32* %38 = load i32, i32* %37, align 8 %39 = add i64 %23, 12 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = add i64 %24, 1 store i64 %41, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %.reload = load i32, i32* %.reg2mem %42 = sext i32 %.reload to i64 %43 = mul i64 %42, 16 %44 = add i64 %43, ptrtoint ([8 x i8]** @gv_0 to i64) %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 %0, i64* %storemerge.reg2mem br i1 %48, label LBL_2, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %46, { 1, 0 } uselistorder i64* %45, { 1, 0 } uselistorder i64 %35, { 1, 0 } uselistorder i8* %20, { 1, 0, 2 } uselistorder i8* %4, { 1, 2, 0 } uselistorder i64 %0, { 0, 3, 4, 2, 1 } uselistorder i64* %.lcssa11.reg2mem, { 0, 2, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 4, 2 } uselistorder i8 0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 ptrtoint (i32** @gv_1 to i64), { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder [8 x i8]** @gv_0, { 2, 0, 1 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_7, { 0, 2, 3, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
b43_bcma_remove_4954
b43_bcma_remove
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %1, 12 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %3, 0 %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_1 LBL_1: %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %1, %15 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = add i64 %3, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %1) %23 = inttoptr i64 %3 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24) br label LBL_4 LBL_4: %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %30 = call i64 @FUNC(i64 %3) %31 = inttoptr i64 %3 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32) store i64 %33, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 1, 0, 4, 3, 5 } uselistorder i64 %1, { 0, 2, 1, 3, 4, 5 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
circuit_resume_edge_reading_10233
circuit_resume_edge_reading
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) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i64* %arg2, null %.2 = select i1 %4, i64 2, i64 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %.2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0)) store i64 %5, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %.2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 %0, i64 %6) store i64 %14, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %15 = call i64 @FUNC(i64 %0) %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %0, i64 %6) store i64 %19, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %.2, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @circuit_resume_edge_reading_helper, { 1, 0 } uselistorder i64 (i64, i8*)* @log_debug, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
0
BinRealVul
jme_process_receive_17984
jme_process_receive
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.3.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %.pre.pre-phi.reg2mem = alloca i64 %.lcssa.ph.reg2mem = alloca i64 %storemerge.lcssa.ph.reg2mem = alloca i32 %sv_1.2.lcssa.ph.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i32 %sv_3.06.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.28.reg2mem = alloca i64 %rdi.214.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 12 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %9, false store i64 %5, i64* %.pre-phi.reg2mem store i64 %1, i64* %sv_0.3.reg2mem br i1 %10, label LBL_18, label LBL_1 LBL_1: %11 = add i64 %0, 16 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 1 %15 = icmp eq i1 %14, false %16 = icmp eq i1 %15, false %17 = icmp eq i1 %16, false store i64 %5, i64* %.pre-phi.reg2mem store i64 %1, i64* %sv_0.3.reg2mem br i1 %17, label LBL_18, label LBL_2 LBL_2: %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) %22 = urem i64 %21, 256 %23 = icmp eq i64 %22, 1 %24 = icmp eq i1 %23, false store i64 %5, i64* %.pre-phi.reg2mem store i64 %1, i64* %sv_0.3.reg2mem br i1 %24, label LBL_18, label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %2) %26 = trunc i64 %25 to i32 %sext27 = add i64 %sext, -4294967296 %27 = ashr exact i64 %sext27, 32 %28 = trunc i64 %1 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 store i64 %27, i64* %.reg2mem store i32 %26, i32* %storemerge15.reg2mem store i64 %2, i64* %rdi.214.reg2mem store i64 %0, i64* %sv_1.28.reg2mem store i64 %5, i64* %.pre.pre-phi.reg2mem store i32 %26, i32* %storemerge.lcssa.reg2mem store i64 %27, i64* %.lcssa.reg2mem br i1 %33, label LBL_4, label LBL_17 LBL_4: %sv_1.28.reload = load i64, i64* %sv_1.28.reg2mem %rdi.214.reload = load i64, i64* %rdi.214.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %.reload = load i64, i64* %.reg2mem %34 = sext i32 %storemerge15.reload to i64 %35 = mul nsw i64 %34, 6 %36 = add i64 %35, %rdi.214.reload %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = urem i16 %38, 2 %40 = icmp eq i16 %39, 0 %41 = icmp eq i1 %40, false store i64 %sv_1.28.reload, i64* %sv_1.2.lcssa.ph.reg2mem store i32 %storemerge15.reload, i32* %storemerge.lcssa.ph.reg2mem store i64 %.reload, i64* %.lcssa.ph.reg2mem br i1 %41, label LBL_16, label LBL_5 LBL_5: %42 = add i64 %36, 2 %43 = inttoptr i64 %42 to i16* %44 = load i16, i16* %43, align 2 %45 = and i16 %44, 2 %46 = icmp eq i16 %45, 0 store i64 %sv_1.28.reload, i64* %sv_1.2.lcssa.ph.reg2mem store i32 %storemerge15.reload, i32* %storemerge.lcssa.ph.reg2mem store i64 %.reload, i64* %.lcssa.ph.reg2mem br i1 %46, label LBL_16, label LBL_6 LBL_6: %47 = urem i16 %44, 4 %48 = zext i16 %47 to i32 %49 = icmp eq i16 %47, 1 %50 = icmp eq i16 %47, 0 %51 = icmp eq i1 %50, false %52 = icmp eq i1 %49, false %53 = icmp eq i1 %51, %52 %54 = icmp eq i1 %53, false %55 = icmp eq i1 %54, false %.pre36 = add i64 %36, 4 %.pre38 = inttoptr i64 %.pre36 to i16* %.pre40 = load i16, i16* %.pre38, align 2 br i1 %55, label LBL_8, label LBL_7 LBL_7: %56 = and i16 %.pre40, 4 %57 = icmp eq i16 %56, 0 %58 = icmp eq i1 %57, false %59 = icmp eq i1 %58, false br i1 %59, label LBL_14, label LBL_8 LBL_8: %60 = and i16 %.pre40, 8 %61 = icmp eq i16 %60, 0 store i64 %sv_1.28.reload, i64* %sv_1.0.reg2mem br i1 %61, label LBL_10, label LBL_9 LBL_9: %62 = mul i64 %sv_1.28.reload, 4294967296 %sext3 = add i64 %62, 4294967296 %63 = ashr exact i64 %sext3, 32 store i64 %63, i64* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %64 = icmp ult i16 %47, 2 store i64 %.reload, i64* %sv_0.0.reg2mem br i1 %64, label LBL_12, label LBL_11 LBL_11: %65 = trunc i64 %.reload to i32 %.neg4 = add i32 %65, 1 %66 = sub i32 %.neg4, %48 %67 = sext i32 %66 to i64 store i64 %67, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i32 %48, i32* %sv_3.06.reg2mem store i32 %storemerge15.reload, i32* %sv_2.05.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %rdi.214.reload, i64* %rdi.1.reg2mem br i1 %51, label LBL_13, label LBL_15 LBL_13: %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %sv_3.06.reload = load i32, i32* %sv_3.06.reg2mem %68 = add i32 %sv_3.06.reload, -1 %69 = zext i32 %sv_2.05.reload to i64 %70 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %69) %71 = add i32 %sv_2.05.reload, 1 %72 = and i32 %71, %4 %73 = icmp eq i32 %68, 0 %74 = icmp eq i1 %73, false store i32 %68, i32* %sv_3.06.reg2mem store i32 %72, i32* %sv_2.05.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %sv_1.0.reload, i64* %rdi.1.reg2mem br i1 %74, label LBL_13, label LBL_15 LBL_14: %75 = zext i32 %storemerge15.reload to i64 %76 = call i64 @FUNC(i64 %sv_1.28.reload, i64 %75) store i64 %sv_1.28.reload, i64* %sv_1.1.reg2mem store i64 %.reload, i64* %sv_0.1.reg2mem store i64 %sv_1.28.reload, i64* %rdi.1.reg2mem br label LBL_15 LBL_15: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %77 = add i32 %storemerge15.reload, %48 %78 = and i32 %77, %4 %79 = mul i64 %sv_0.1.reload, 4294967296 %sext2 = add i64 %79, -4294967296 %80 = ashr exact i64 %sext2, 32 %81 = trunc i64 %sv_0.1.reload to i32 %82 = icmp eq i32 %81, 0 %83 = icmp slt i32 %81, 0 %84 = icmp eq i1 %83, false %85 = icmp eq i1 %82, false %86 = icmp eq i1 %84, %85 store i64 %80, i64* %.reg2mem store i32 %78, i32* %storemerge15.reg2mem store i64 %rdi.1.reload, i64* %rdi.214.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.28.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.2.lcssa.ph.reg2mem store i32 %78, i32* %storemerge.lcssa.ph.reg2mem store i64 %80, i64* %.lcssa.ph.reg2mem br i1 %86, label LBL_4, label LBL_16 LBL_16: %.lcssa.ph.reload = load i64, i64* %.lcssa.ph.reg2mem %storemerge.lcssa.ph.reload = load i32, i32* %storemerge.lcssa.ph.reg2mem %sv_1.2.lcssa.ph.reload = load i64, i64* %sv_1.2.lcssa.ph.reg2mem %.pre41 = add i64 %sv_1.2.lcssa.ph.reload, 12 store i64 %.pre41, i64* %.pre.pre-phi.reg2mem store i32 %storemerge.lcssa.ph.reload, i32* %storemerge.lcssa.reg2mem store i64 %.lcssa.ph.reload, i64* %.lcssa.reg2mem br label LBL_17 LBL_17: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %.pre.pre-phi.reload = load i64, i64* %.pre.pre-phi.reg2mem %87 = zext i32 %storemerge.lcssa.reload to i64 %88 = call i64 @FUNC(i64 %2, i64 %87) store i64 %.pre.pre-phi.reload, i64* %.pre-phi.reg2mem store i64 %.lcssa.reload, i64* %sv_0.3.reg2mem br label LBL_18 LBL_18: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %89 = call i64 @FUNC(i64 %.pre-phi.reload) %90 = trunc i64 %sv_0.3.reload to i32 %91 = icmp slt i32 %90, 0 %.op = and i64 %sv_0.3.reload, 4294967295 %92 = select i1 %91, i64 0, i64 %.op ret i64 %92 uselistorder i32 %81, { 1, 0 } uselistorder i32 %sv_2.05.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 1, 3, 2 } uselistorder i32 %48, { 1, 0, 2 } uselistorder i16 %47, { 3, 1, 2, 0 } uselistorder i64 %.reload, { 2, 4, 3, 1, 0 } uselistorder i32 %storemerge15.reload, { 5, 3, 2, 1, 0, 4 } uselistorder i64 %sv_1.28.reload, { 2, 3, 5, 6, 4, 1, 0 } uselistorder i64 %5, { 3, 2, 1, 0, 4 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge15.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.214.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.28.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.06.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.05.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rdi.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_1.2.lcssa.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge.lcssa.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %.lcssa.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %.pre.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64* %sv_0.3.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i16 4, { 1, 0 } uselistorder i16 2, { 1, 2, 0 } uselistorder i64 -4294967296, { 1, 0 } uselistorder i64 (i64)* @atomic_read, { 1, 0 } uselistorder i1 false, { 13, 7, 8, 2, 9, 10, 3, 11, 4, 12, 0, 1, 14, 15, 5, 16, 17, 6 } uselistorder i32 0, { 2, 4, 5, 3, 0, 1, 6, 7 } uselistorder i64 32, { 2, 1, 0, 3 } uselistorder i64 4294967296, { 0, 3, 1, 2 } uselistorder label LBL_18, { 3, 0, 1, 2 } uselistorder label LBL_16, { 2, 1, 0 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
uvesafb_exit_10444
uvesafb_exit
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = call i64 @FUNC() %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = inttoptr i64 %2 to i32* store i32 1, i32* %4, align 4 %5 = call i64 @FUNC(i64 %2) %6 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_3: %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64* nonnull @gv_1, i64* nonnull @gv_2) %9 = load i64, i64* @gv_3, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64* nonnull @gv_1) ret i64 %11 uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
set_task_cpu_13576
set_task_cpu
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %switch = icmp ult i32 %2, 2 %.pre5 = ptrtoint i32* %arg1 to i64 br i1 %switch, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %.pre5) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 1, i64* %storemerge3.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: store i64 0, i64* %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %9 = call i64 @FUNC(i64 %storemerge3.reload) %10 = load i32, i32* @gv_0, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = add i64 %.pre5, 24 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %.pre5) %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %storemerge.reg2mem br i1 %21, label LBL_6, label LBL_7 LBL_6: store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %sext = mul i64 %arg2, 4294967296 %22 = ashr exact i64 %sext, 32 %storemerge.reload = load i64, i64* %storemerge.reg2mem %23 = call i64 @FUNC(i64 %storemerge.reload) %24 = and i64 %22, 4294967295 %25 = call i64 @FUNC(i64 %.pre5, i64 %24) %26 = call i64 @FUNC(i64 %.pre5) %27 = trunc i64 %22 to i32 %28 = trunc i64 %26 to i32 %29 = icmp eq i32 %27, %28 br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = add i64 %.pre5, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, 1 store i32 %33, i32* %31, align 4 %34 = call i64 @FUNC(i64 0, i64 1, i64 0, i64 0) br label LBL_9 LBL_9: %35 = call i64 @FUNC(i64 %.pre5, i64 %24) ret i64 %35 uselistorder i64 %.pre5, { 1, 0, 2, 3, 5, 4, 6 } uselistorder i64 (i64)* @lockdep_is_held, { 1, 0 } uselistorder i64 (i64)* @WARN_ON_ONCE, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
prplcb_xfer_new_send_cb_10962
prplcb_xfer_new_send_cb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 32 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %8) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %11 = load i64, i64* %6, align 8 store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %1, i64 %storemerge.reload, i64 %17, i64 %14) %19 = inttoptr i64 %4 to i64* store i64 %18, i64* %19, align 8 %20 = inttoptr i64 %18 to i64* store i64 %4, i64* %20, align 8 %21 = load i64, i64* %19, align 8 %22 = add i64 %21, 8 %23 = inttoptr i64 %22 to i64* store i64 4198788, i64* %23, align 8 %24 = load i64, i64* %19, align 8 %25 = add i64 %24, 16 %26 = inttoptr i64 %25 to i64* store i64 4198795, i64* %26, align 8 %27 = load i64, i64* %19, align 8 %28 = add i64 %27, 24 %29 = inttoptr i64 %28 to i64* store i64 4198802, i64* %29, align 8 %30 = load i64, i64* %19, align 8 %31 = add i64 %30, 32 %32 = inttoptr i64 %31 to i64* store i64 4198809, i64* %32, align 8 ret i64 0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
decode_422_bitstream_1119
decode_422_bitstream
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %indvars.iv14.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = zext i1 %2 to i32 %4 = add i32 %3, %1 %5 = ashr i32 %4, 1 %6 = add i64 %0, 24 %7 = call i64 @FUNC(i64 %6) %sext = mul i64 %7, 4294967296 %8 = ashr exact i64 %sext, 32 %narrow = mul nsw i64 %8, -2078209981 %9 = udiv i64 %narrow, 4294967296 %10 = trunc i64 %9 to i32 %11 = trunc i64 %7 to i32 %12 = add i32 %10, %11 %13 = ashr i32 %12, 6 %14 = ashr i32 %11, 31 %15 = sub nsw i32 %13, %14 %16 = zext i32 %15 to i64 %17 = sext i32 %5 to i64 %18 = icmp slt i64 %17, %16 %19 = icmp sgt i32 %4, 1 br i1 %18, label LBL_3, label LBL_1 LBL_1: store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %19, label LBL_2, label LBL_9 LBL_2: %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i64* %22 = add i64 %0, 16 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %indvars.iv14.reg2mem br label LBL_6 LBL_3: store i32 0, i32* %rax.0.in.reg2mem br i1 %19, label LBL_4, label LBL_14 LBL_4: %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i64* %26 = add i64 %0, 16 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_12 LBL_5: %28 = load i64, i64* %21, align 8 %29 = mul i64 %indvars.iv14.reload, 4 %30 = add i64 %28, %29 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = mul i64 %indvars.iv14.reload, 8 %34 = add i64 %33, %6 %35 = add i32 %32, 1 %36 = inttoptr i64 %34 to i32* store i32 %35, i32* %36, align 4 %37 = load i64, i64* %23, align 8 %38 = add i64 %37, %29 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = or i64 %33, 4 %42 = add i64 %41, %6 %43 = add i32 %40, 2 %44 = inttoptr i64 %42 to i32* store i32 %43, i32* %44, align 4 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %45 = icmp slt i64 %indvars.iv.next15, %17 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem br i1 %45, label LBL_6, label LBL_7 LBL_6: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %46 = call i64 @FUNC(i64 %6) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp slt i32 %47, 0 %50 = icmp eq i1 %49, false %51 = icmp eq i1 %48, false %52 = icmp eq i1 %50, %51 br i1 %52, label LBL_5, label LBL_6.LBL_9_crit_edge LBL_7: %53 = trunc i64 %indvars.iv.next15 to i32 store i32 %53, i32* %storemerge.lcssa.reg2mem br label LBL_9 LBL_8: %54 = trunc i64 %indvars.iv14.reload to i32 store i32 %54, i32* %storemerge.lcssa.reg2mem br label LBL_9 LBL_9: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %55 = icmp slt i32 %storemerge.lcssa.reload, %5 store i32 %storemerge.lcssa.reload, i32* %rax.0.in.reg2mem br i1 %55, label LBL_10, label LBL_14 LBL_10: %56 = add i64 %0, 16 %57 = inttoptr i64 %56 to i64* %58 = add i64 %0, 8 %59 = inttoptr i64 %58 to i64* %60 = zext i32 %storemerge.lcssa.reload to i64 %wide.trip.count = zext i32 %5 to i64 store i64 %60, i64* %indvars.iv12.reg2mem br label LBL_11 LBL_11: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %61 = load i64, i64* %57, align 8 %62 = mul i64 %indvars.iv12.reload, 4 %63 = add i64 %61, %62 %64 = inttoptr i64 %63 to i32* store i32 128, i32* %64, align 4 %65 = mul i64 %indvars.iv12.reload, 8589934592 %66 = ashr exact i64 %65, 30 %67 = or i64 %66, 4 %68 = add i64 %67, %6 %69 = inttoptr i64 %68 to i32* store i32 128, i32* %69, align 4 %70 = load i64, i64* %59, align 8 %71 = add i64 %70, %62 %72 = inttoptr i64 %71 to i32* store i32 128, i32* %72, align 4 %indvars.iv12.tr = trunc i64 %indvars.iv12.reload to i32 %73 = mul i32 %indvars.iv12.tr, 2 %74 = sext i32 %73 to i64 %75 = mul i64 %74, 4 %76 = add i64 %75, %6 %77 = inttoptr i64 %76 to i32* store i32 128, i32* %77, align 4 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next13, %wide.trip.count store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i32 %5, i32* %rax.0.in.reg2mem br i1 %exitcond, label LBL_14, label LBL_11 LBL_12: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %78 = load i64, i64* %25, align 8 %79 = mul i64 %indvars.iv.reload, 4 %80 = add i64 %78, %79 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = mul i64 %indvars.iv.reload, 8 %84 = add i64 %83, %6 %85 = add i32 %82, 1 %86 = inttoptr i64 %84 to i32* store i32 %85, i32* %86, align 4 %87 = load i64, i64* %27, align 8 %88 = add i64 %87, %79 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = or i64 %83, 4 %92 = add i64 %91, %6 %93 = add i32 %90, 2 %94 = inttoptr i64 %92 to i32* store i32 %93, i32* %94, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %95 = icmp slt i64 %indvars.iv.next, %17 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %95, label LBL_12, label LBL_13 LBL_13: %96 = trunc i64 %indvars.iv.next to i32 store i32 %96, i32* %rax.0.in.reg2mem br label LBL_14 LBL_14: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i64 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %79, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %62, { 1, 0 } uselistorder i64 %indvars.iv12.reload, { 0, 1, 3, 2 } uselistorder i32 %storemerge.lcssa.reload, { 2, 0, 1 } uselistorder i32 %47, { 1, 0 } uselistorder i64 %indvars.iv14.reload, { 1, 2, 3, 0 } uselistorder i64 %indvars.iv.next15, { 1, 0, 2 } uselistorder i64 %29, { 1, 0 } uselistorder i1 %19, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 0, 1, 2, 3, 6, 4, 5, 7 } uselistorder i32 %1, { 1, 0 } uselistorder i64 %0, { 0, 1, 4, 5, 2, 3, 6 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.in.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 4, { 4, 0, 1, 6, 2, 5, 3 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 8, { 0, 3, 1, 2, 4 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 (i64)* @get_bits_left, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder label LBL_14, { 3, 0, 1, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
mk_vhost_fdt_close_12277
mk_vhost_fdt_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* @gv_0, align 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 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %9, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %9, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = zext i32 %12 to i64 %20 = call i64 @FUNC(i64 %19, i64 %18) %21 = icmp eq i64 %20, 0 %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = and i64 %1, 4294967295 %27 = call i64 @FUNC(i64 %26) store i64 %27, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %28 = zext i32 %15 to i64 %29 = call i64 @FUNC(i64 %28, i64 %20) %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_7, label LBL_5 LBL_5: %31 = inttoptr i64 %29 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, -1 store i32 %33, i32* %31, align 4 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_8, label LBL_6 LBL_6: %36 = inttoptr i64 %20 to i32* %37 = add i64 %29, 4 %38 = inttoptr i64 %37 to i32* store i32 -1, i32* %38, align 4 %39 = add i64 %29, 8 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 %41 = load i32, i32* %36, align 4 %42 = add i32 %41, 1 store i32 %42, i32* %36, align 4 %43 = bitcast i64* %rdi to i32* %44 = load i32, i32* %43, align 8 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) store i64 %46, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %47 = and i64 %1, 4294967295 %48 = call i64 @FUNC(i64 %47) store i64 %48, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %36, { 1, 0 } uselistorder i32* %31, { 1, 0 } uselistorder i64 %20, { 1, 0, 2 } uselistorder i64 %9, { 0, 2, 1 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64)* @close, { 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 2, 0, 3, 4 } }
1
BinRealVul
__unioxx5_subdev_init_4928
__unioxx5_subdev_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 52, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_13 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = zext i32 %arg3 to i64 %5 = call i64 @FUNC(i64 %3, i64 %4, i64 256) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = and i64 %5, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %10 = ptrtoint i64* %arg2 to i64 %11 = inttoptr i64 %0 to i32* store i32 %arg3, i32* %11, align 4 %12 = add i32 %arg3, 5 %13 = zext i32 %12 to i64 %14 = add i32 %arg3, 6 %15 = zext i32 %14 to i64 %16 = add i64 %0, 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul i64 %indvars.iv.reload, 2 %18 = call i64 @FUNC(i64 %0, i64 %17) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %19 = call i64 @FUNC(i64 %indvars.iv.next, i64 %13) %20 = call i64 @FUNC(i64 72, i64 %15) br label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %4) %22 = urem i64 %21, 2 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_5, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 0, i64 %15) store i32 10000, i32* %sv_0.0.reg2mem br label LBL_8 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %25 = add i32 %sv_0.0.reload, -1 %26 = icmp eq i32 %25, 0 %27 = icmp slt i32 %25, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 store i32 %25, i32* %sv_0.0.reg2mem br i1 %30, label LBL_8, label LBL_9 LBL_8: %31 = call i64 @FUNC(i64 %4) %32 = and i64 %31, 2 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_7, label LBL_10 LBL_9: %34 = mul i64 %indvars.iv.reload, 4 %35 = add i64 %34, %16 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 br label LBL_11 LBL_10: %37 = call i64 @FUNC(i64 %15) %38 = trunc i64 %37 to i32 %39 = mul i64 %indvars.iv.reload, 4 %40 = add i64 %39, %16 %41 = inttoptr i64 %40 to i32* store i32 %38, i32* %41, align 4 br label LBL_11 LBL_11: %42 = call i64 @FUNC(i64 1) %exitcond = icmp eq i64 %indvars.iv.next, 12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_4 LBL_12: %43 = bitcast i64* %arg2 to i32* store i32 1, i32* %43, align 4 %44 = add i64 %10, 8 %45 = inttoptr i64 %44 to i64* store i64 %0, i64* %45, align 8 %46 = add i64 %10, 16 %47 = inttoptr i64 %46 to i32* store i32 3, i32* %47, align 4 %48 = add i64 %10, 20 %49 = inttoptr i64 %48 to i32* store i32 12, i32* %49, align 4 %50 = add i64 %10, 24 %51 = inttoptr i64 %50 to i32* store i32 4095, i32* %51, align 4 %52 = add i64 %10, 32 %53 = inttoptr i64 %52 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %53, align 8 %54 = add i64 %10, 40 %55 = inttoptr i64 %54 to i64* store i64 4198870, i64* %55, align 8 %56 = add i64 %10, 48 %57 = inttoptr i64 %56 to i64* store i64 4198893, i64* %57, align 8 %58 = add i64 %10, 56 %59 = inttoptr i64 %58 to i64* store i64 4198916, i64* %59, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 3, 2, 0, 1 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %0, { 2, 1, 0, 4, 3, 5 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @inb, { 2, 1, 0 } uselistorder i64 (i64, i64)* @outb, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 2, { 2, 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } }
0
BinRealVul
sd_init_18790
sd_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 24) %3 = call i64 @FUNC(i64 512, i64 512) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* store i32 %1, i32* %6, align 4 %7 = add i64 %2, 12 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = call i64 @FUNC(i64 %2, i64 %0) %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 4198847, i64 %2) ret i64 %2 uselistorder i64 512, { 1, 0 } }
1
BinRealVul
spapr_nvram_init_14658
spapr_nvram_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 store i64 %5, i64* %.reg2mem br label LBL_3 LBL_2: %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* store i64 1024, i64* %9, align 8 %10 = call i64 @FUNC(i64 1024) %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %.pre = load i64, i64* %9, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %.off = add i64 %.reload, -256 %13 = icmp ult i64 %.off, 3841 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 256, i64 4096) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %16 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 4198788) %17 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 4198795) 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* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*, i64)* @spapr_rtas_register, { 1, 0 } }
1
BinRealVul
RelinquishVirtualMemory_13404
RelinquishVirtualMemory
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %rdi.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([34 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 %2 = icmp eq i64 %rdi.0.reload, 3735928559 br i1 %2, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_10, label LBL_5 LBL_5: %7 = add i64 %arg1, 280 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 switch i32 %9, label LBL_9 [ i32 0, label LBL_6 i32 1, label LBL_7 ] LBL_6: %10 = call i64 @FUNC(i64 %5) store i64 %10, i64* %4, align 8 %11 = add i64 %arg1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 0, i64 %13) br label LBL_10 LBL_7: %15 = add i64 %arg1, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %5, i64 %17) store i64 0, i64* %4, align 8 %19 = load i64, i64* %16, align 8 %20 = call i64 @FUNC(i64 1, i64 %19) %21 = add i64 %arg1, 24 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_10, label LBL_8 LBL_8: %25 = call i64 @FUNC(i64 %21) %26 = load i64, i64* %16, align 8 %27 = call i64 @FUNC(i64 2, i64 %26) br label LBL_10 LBL_9: %28 = call i64 @FUNC(i64 %5) store i64 %28, i64* %4, align 8 br label LBL_10 LBL_10: %29 = inttoptr i64 %arg1 to i64* store i64 559038736, i64* %29, align 8 %30 = call i64 @FUNC(i64 %arg1) ret i64 %30 uselistorder i64 %5, { 2, 0, 1, 3 } uselistorder i64* %4, { 2, 0, 1, 3 } uselistorder i64 (i64, i64)* @RelinquishMagickResource, { 2, 1, 0 } uselistorder i64 (i64)* @RelinquishAlignedMemory, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [34 x i8]* @gv_0, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 4, 5, 1, 2, 3, 7, 6, 0, 8 } uselistorder label LBL_10, { 2, 1, 0, 3, 4 } }
0
BinRealVul
wmi_set_ie_5670
wmi_set_ie
define i64 @FUNC(i64* %arg1, i8 %arg2, i16 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.03.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp ugt i16 %arg3, -261 %4 = icmp eq i1 %3, false store i32 -22, i32* %sv_0.02.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = add i16 %arg3, 260 %6 = zext i16 %5 to i64 %7 = call i64 @FUNC(i64 %6, i64 0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i32 -12, i32* %sv_0.02.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = inttoptr i64 %7 to i8* %11 = icmp eq i64 %arg4, 0 %12 = icmp eq i1 %11, false %spec.select = select i1 %12, i16 %arg3, i16 0 store i8 %arg2, i8* %10, align 1 %13 = zext i16 %spec.select to i64 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i16 %16 = add i64 %7, 2 %17 = inttoptr i64 %16 to i16* store i16 %15, i16* %17, align 2 %18 = add i64 %7, 4 %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %arg4 to i64* %21 = zext i16 %spec.select to i32 %22 = call i64* @memcpy(i64* %19, i64* %20, i32 %21) %23 = call i64 @FUNC(i64 %2, i64 5, i64 %7, i16 %5) %24 = trunc i64 %23 to i32 %25 = call i64 @FUNC(i64 %7) %26 = icmp eq i32 %24, 0 store i32 %24, i32* %sv_0.02.reg2mem store i32 0, i32* %sv_0.03.reg2mem br i1 %26, label LBL_6, label LBL_3 LBL_3: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %27 = icmp ult i8 %arg2, 5 store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem br i1 %27, label LBL_4, label LBL_5 LBL_4: %28 = zext i8 %arg2 to i64 %29 = mul i64 %28, 8 %30 = add i64 %29, ptrtoint ([5 x i8*]* @gv_1 to i64) %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 store i64 %32, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %33 = zext i32 %sv_0.02.reload to i64 %34 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i8 %arg2, i64 %storemerge.reload, i64 %33, i64 %1) store i32 %sv_0.02.reload, i32* %sv_0.03.reg2mem br label LBL_6 LBL_6: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %35 = zext i32 %sv_0.03.reload to i64 ret i64 %35 uselistorder i16 %spec.select, { 1, 0 } uselistorder i32* %sv_0.02.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 0, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i16 %arg3, { 0, 2, 1 } uselistorder i8 %arg2, { 0, 2, 1, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
cg3_initfn_184
cg3_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 1024, i64* nonnull @gv_1) %2 = call i64 @FUNC(i64 %0, i64 1) %3 = call i64 @FUNC(i64 %0, i64 %0) %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 %4, i64 0, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 256) %6 = call i64 @FUNC(i64 %0, i64 %4) ret i64 %6 uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 1, 0 } }
0
BinRealVul
rdma_start_incoming_migration_16204
rdma_start_incoming_migration
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i8* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = inttoptr i64 %3 to i32* %10 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) %11 = load i32, i32* %9, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12, i64 5) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_4: %17 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0)) %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23, i64 0, i64 4199017, i64 0, i64 %3) store i64 %24, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %25 = load i64, i64* %sv_0, align 8 %26 = call i64 @FUNC(i64 %0, i64 %25) %27 = call i64 @FUNC(i64 %3) store i64 %27, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 2, 0, 1, 4, 3, 5 } uselistorder i64* %sv_0, { 2, 0, 1, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i8*)* @DPRINTF, { 2, 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
BinRealVul
rpmReadPackageFile_18836
rpmReadPackageFile
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 1) store i32 0, i32* %sv_2, align 4 store i64 0, i64* %sv_1, align 8 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC() store i64 %4, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = trunc i64 %0 to i32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i32 %6, i64 %5, i32* nonnull %sv_2, i64* nonnull %sv_1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 3 br i1 %10, label LBL_8, label LBL_3 LBL_3: %11 = icmp sgt i32 %9, 3 br i1 %11, label LBL_10, label LBL_4 LBL_4: %12 = icmp eq i32 %9, 0 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = icmp sgt i32 %9, -1 %14 = add i32 %9, -1 %15 = icmp ult i32 %14, 2 %or.cond = icmp eq i1 %13, %15 br i1 %or.cond, label LBL_7, label LBL_10 LBL_6: %16 = load i64, i64* %sv_1, align 8 %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %16) br label LBL_11 LBL_7: %18 = load i32, i32* %sv_2, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = load i64, i64* %sv_1, align 8 %24 = zext i1 %22 to i64 %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %23) br label LBL_11 LBL_8: %26 = load i64, i64* %sv_1, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_11, label LBL_9 LBL_9: %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %26) br label LBL_11 LBL_10: %29 = load i64, i64* %sv_1, align 8 %30 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %29) br label LBL_11 LBL_11: %31 = call i64 @FUNC(i64 %7) %32 = and i64 %8, 4294967295 ret i64 %32 uselistorder i32 %9, { 1, 0, 2, 3, 4 } uselistorder i64 %sv_0.0.reload, { 1, 0, 3, 2 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 3, 4, 0, 5 } uselistorder i64 (i64, i8*, i64, i64)* @rpmlog, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 2, 0, 3, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_11, { 2, 1, 0, 3, 4 } }
1
BinRealVul
AllocationPolicy_9444
AllocationPolicy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %rbx.02.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, 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 ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = urem i64 %arg1, 32 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = icmp ult i64 %arg1, 1025 br i1 %4, label LBL_5, label LBL_6 LBL_5: %5 = udiv i64 %arg1, 32 store i64 %5, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %6 = icmp ult i64 %arg1, 524289 store i64 32, i64* %rbx.02.reg2mem store i64 %arg1, i64* %sv_0.01.reg2mem store i64 1023, i64* %rax.0.reg2mem br i1 %6, label LBL_7, label LBL_12 LBL_7: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %rbx.02.reload = load i64, i64* %rbx.02.reg2mem %7 = add nuw nsw i64 %rbx.02.reload, 1 %8 = udiv i64 %sv_0.01.reload, 2 %9 = icmp ult i64 %sv_0.01.reload, 2050 store i64 %7, i64* %rbx.02.reg2mem store i64 %8, i64* %sv_0.01.reg2mem br i1 %9, label LBL_8, label LBL_7 LBL_8: %10 = icmp ult i64 %7, 33 br i1 %10, label LBL_9, label LBL_10 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) store i64 %7, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %11 = icmp ult i64 %7, 1023 store i64 %7, i64* %rax.0.reg2mem br i1 %11, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) store i64 %7, 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 %7, { 2, 1, 4, 0, 5, 3 } uselistorder i64* %rbx.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i64 1023, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 0, 4, 1, 3, 2, 5 } uselistorder label LBL_12, { 2, 1, 0, 3, 4 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
sync_timeline_signal_18032
sync_timeline_signal
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1) %4 = add i64 %1, 8 %5 = call i64 @FUNC(i64 %4, i64 %2) %6 = icmp eq i64* %arg1, null store i64 %1, i64* %storemerge2.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_1: %7 = add i64 %storemerge2.reload, 16 %8 = inttoptr i64 %7 to i64* call void @free(i64* %8) br label LBL_2 LBL_2: %9 = icmp eq i64 %11, 0 store i64 %11, i64* %storemerge2.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %10 = inttoptr i64 %storemerge2.reload to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %storemerge2.reload, 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i64 %storemerge2.reload, -16 %or.cond = or i1 %16, %15 br i1 %or.cond, label LBL_2, label LBL_1 LBL_4: %17 = call i64 @FUNC(i64 %4, i64 %2) ret i64 %17 uselistorder i64 %11, { 1, 0 } uselistorder i64 %storemerge2.reload, { 0, 3, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mcf_fec_enable_rx_15242
mcf_fec_enable_rx
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 %3 = and i64 %1, 4294967295 %4 = bitcast i32* %sv_0 to i64* %5 = call i64 @FUNC(i64* nonnull %4, i64 %3) %6 = load i32, i32* %sv_0, align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = zext i1 %9 to i32 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = zext i1 %9 to i64 %14 = icmp eq i1 %9, false %15 = icmp eq i1 %14, false store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0)) store i64 %16, 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 i1 false, { 1, 0, 2 } }
1
BinRealVul
xfrm_dump_policy_5224
xfrm_dump_policy
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 store i64 %0, i64* %sv_0, align 8 %6 = call i64 @FUNC(i64 %2, i64 %5, i64 4198764, i64* nonnull %sv_0) %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 ret i64 %10 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
buf_get_buffer_1499
buf_get_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = sub i64 %1, %arg3 %3 = icmp eq i64 %2, 0 %4 = icmp slt i64 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg4, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = icmp sgt i64 %2, %9 %spec.select = select i1 %10, i64 %9, i64 %2 %11 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %spec.select, i64 %8) store i64 %11, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 0, 1, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vp8_decode_free_2016
vp8_decode_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 1) %2 = call i64 @FUNC(i64 %0, i64 1) ret i64 0 uselistorder i64 %0, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } }
0
BinRealVul
vmgenid_set_guid_auto_test_15933
vmgenid_set_guid_auto_test
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 ptrtoint ([57 x i8]* @gv_0 to i64)) %1 = call i64 @FUNC(i64* nonnull %sv_0) %2 = call i64 @FUNC(i64* nonnull %sv_0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8) ret i64 %9 uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 1, { 7, 5, 6, 2, 1, 8, 4, 3, 0 } }
1
BinRealVul
adts_aac_read_packet_13881
adts_aac_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 7) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %7 = icmp sgt i32 %3, 6 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %0) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %9 = call i64 @FUNC(i64 %0) %.mask1 = and i64 %9, 4294967280 %10 = icmp eq i64 %.mask1, 65520 br i1 %10, label LBL_6, label LBL_5 LBL_5: %11 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %12 = add i64 %0, 3 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = udiv i32 %14, 8192 %16 = urem i32 %15, 8192 %17 = icmp ugt i32 %16, 6 br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %19 = add nsw i32 %16, -7 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %12, i64 %0, i64 %20) store i64 %21, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %16, { 1, 0 } uselistorder i64 %0, { 3, 2, 4, 1, 5, 0, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 8192, { 1, 0 } uselistorder i64 (i64)* @av_packet_unref, { 2, 1, 0 } }
1
BinRealVul
br_multicast_port_group_expired_9051
br_multicast_port_group_expired
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = call i64 @FUNC(i64 %3) %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = add i64 %2, 8 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_2 LBL_2: %14 = add i64 %2, 12 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 2 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64 %2, i64 %2) br label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %3) ret i64 %26 uselistorder i64 %2, { 2, 0, 1, 3, 4, 5 } uselistorder label LBL_5, { 4, 3, 2, 1, 0 } }
0