dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
reset_packet_10265
reset_packet
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i32* store i32 0, i32* %0, align 4 %1 = add i64 %arg1, 4 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i32* %5 = add i64 %arg1, 12 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 store i32 0, i32* %4, align 4 %9 = add i64 %arg1, 20 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %9) ret i64 %11 uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 5 } }
0
BinRealVul
imc_mem_init_3745
imc_mem_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i8*, align 8 %4 = bitcast i8** %sv_0 to i64* %5 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967277, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_7 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 2 br i1 %12, label LBL_6, label LBL_2 LBL_2: %13 = icmp sgt i32 %11, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_7, label LBL_3 LBL_3: store i64 4294967274, i64* %rax.0.reg2mem switch i32 %11, label LBL_7 [ i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %14 = load i8*, i8** %sv_0, align 8 %15 = ptrtoint i8* %14 to i64 %16 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %2, i64 %1) store i64 %16, i64* %arg1, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %17 = load i8*, i8** %sv_0, align 8 %18 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8* %17, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 %2, i64 %1) store i64 %18, i64* %arg1, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %19 = load i8*, i8** %sv_0, align 8 %20 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8* %19, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 %2, i64 %1) store i64 %20, i64* %arg1, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8** %sv_0, { 2, 1, 0, 3 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 4, 5, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967284, { 2, 0, 1 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @kasprintf, { 2, 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1, 3 } uselistorder label LBL_7, { 3, 4, 5, 1, 0, 2 } }
0
BinRealVul
parse_fs_coord_origin_10532
parse_fs_coord_origin
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.in3.reg2mem = alloca i64* %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %indvars.iv.reg2mem store i64* %arg1, i64** %rdi.0.in3.reg2mem br label LBL_1 LBL_1: %rdi.0.in3.reload = load i64*, i64** %rdi.0.in3.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %rdi.0 = ptrtoint i64* %rdi.0.in3.reload to i64 store i64 %rdi.0, i64* %sv_0, align 8 %0 = mul i64 %indvars.iv.reload, 8 %1 = add i64 %0, ptrtoint ([4 x i8*]* @gv_0 to i64) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = trunc i64 %indvars.iv.reload to i32 %8 = bitcast i64* %arg2 to i32* store i32 %7, i32* %8, align 4 %9 = load i64, i64* %sv_0, align 8 store i64 %9, i64* %arg1, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %10 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64* %sv_0, i64** %rdi.0.in3.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64** %rdi.0.in3.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 2, 0, 1, 3, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
free_bprm_11296
free_bprm
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %arg1, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %arg1) ret i64 %7 }
1
BinRealVul
build_dirs_19183
build_dirs
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32 %sv_0.0.in7.reg2mem = alloca i64 %sv_1.0.in8.in.reg2mem = alloca i64 %sv_2.19.reg2mem = alloca i32 %1 = load i32, i32* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %2 = add i64 %arg1, 1 %3 = add i64 %2, %arg3 %4 = add i64 %arg4, %arg2 %5 = inttoptr i64 %4 to i8* store i8* %5, i8** %sv_4, align 8 store i8 0, i8* %5, align 1 %6 = inttoptr i64 %arg1 to i8* %7 = bitcast i64* %sv_3 to %stat* %8 = and i32 %1, 61440 %9 = icmp eq i32 %8, 16384 %10 = bitcast i8** %sv_4 to i64* store i32 0, i32* %sv_2.19.reg2mem store i64 %4, i64* %sv_1.0.in8.in.reg2mem store i64 %3, i64* %sv_0.0.in7.reg2mem br label LBL_1 LBL_1: %sv_0.0.in7.reload = load i64, i64* %sv_0.0.in7.reg2mem %sv_1.0.in8.in.reload = load i64, i64* %sv_1.0.in8.in.reg2mem %sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem %sv_1.0.in8 = add i64 %sv_1.0.in8.in.reload, 1 %sv_0.011 = inttoptr i64 %sv_0.0.in7.reload to i8* %11 = load i8, i8* %sv_0.011, align 1 %12 = icmp eq i8 %11, 0 %13 = icmp eq i1 %12, false %spec.select = select i1 %13, i32 %sv_2.19.reload, i32 1 br i1 %12, label LBL_4, label LBL_2 LBL_2: %14 = icmp eq i8 %11, 47 %15 = icmp eq i1 %14, false br i1 %15, label LBL_8, label LBL_3 LBL_3: %16 = add i64 %sv_0.0.in7.reload, -1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 47 br i1 %19, label LBL_8, label LBL_4 LBL_4: store i8 0, i8* %sv_0.011, align 1 %20 = call i32 @stat(i8* %6, %stat* nonnull %7) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %9, %21 br i1 %22, label LBL_5, label LBL_6 LBL_5: %sv_1.010 = inttoptr i64 %sv_1.0.in8 to i8* store i8 0, i8* %sv_1.010, align 1 %23 = load i8*, i8** %sv_4, align 8 store i8 47, i8* %23, align 1 store i64 %sv_1.0.in8, i64* %10, align 8 %24 = call i64 @FUNC(i64 %arg2, i32 %1, i64 0, i64 0) br label LBL_6 LBL_6: %25 = trunc i32 %spec.select to i8 %26 = icmp eq i8 %25, 1 br i1 %26, label LBL_8, label LBL_7 LBL_7: store i8 47, i8* %sv_0.011, align 1 br label LBL_8 LBL_8: %27 = add i64 %sv_0.0.in7.reload, 1 %28 = urem i32 %spec.select, 256 %29 = xor i32 %28, 1 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32 %spec.select, i32* %sv_2.19.reg2mem store i64 %sv_1.0.in8, i64* %sv_1.0.in8.in.reg2mem store i64 %27, i64* %sv_0.0.in7.reg2mem br i1 %31, label LBL_1, label LBL_9 LBL_9: %32 = zext i32 %29 to i64 ret i64 %32 uselistorder i8* %sv_0.011, { 2, 1, 0 } uselistorder i8** %sv_4, { 2, 0, 1 } uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in8.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in7.reg2mem, { 1, 0, 2 } uselistorder i8 47, { 2, 3, 0, 1 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder i32 0, { 1, 2, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
blkcg_drain_queue_3746
blkcg_drain_queue
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 = add i64 %0, 8 %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_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) store i64 %6, 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 label LBL_2, { 1, 0 } }
0
BinRealVul
ff_get_buffer_6555
ff_get_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i32 %arg3) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = bitcast i64* %arg2 to i32* store i32 0, i32* %9, align 4 br label LBL_2 LBL_2: %10 = and i64 %2, 4294967295 ret i64 %10 }
0
BinRealVul
emcute_run_7825
emcute_run
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %.reg2mem32 = alloca i64 %.reg2mem30 = alloca i64 %.reg2mem28 = alloca i64 %sv_0.0.ph16.in.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i16, align 2 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %arg2 to i8* %5 = call i32 @strlen(i8* %4) %6 = icmp ult i32 %5, 21 br i1 %6, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %sext = mul i64 %arg1, 281474976710656 %7 = ashr exact i64 %sext, 48 store i64 %7, i64* %sv_3, align 8 store i64 %arg2, i64* @gv_3, align 8 store i64 4198987, i64* @gv_4, align 8 store i64 0, i64* @gv_5, align 8 %8 = call i64 @FUNC(i64* nonnull @gv_6) %9 = bitcast i64* %sv_3 to i16* %10 = call i64 @FUNC(i64* nonnull @gv_7, i16* nonnull %9, i64 0, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = urem i64 %arg1, 65536 %15 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_9, i64 0, i64 0), i64 %14) store i32 %16, i32* %storemerge.in.reg2mem br label LBL_43 LBL_5: %17 = call i64 @FUNC() %18 = call i64 @FUNC(i64* nonnull @gv_7, i64* bitcast (i8** @gv_10 to i64*), i64 256, i64 60000000, i64* nonnull %sv_2) %19 = icmp slt i64 %18, 0 %20 = icmp eq i1 %19, false %21 = icmp eq i64 %18, -110 %or.cond131415 = or i1 %21, %20 br i1 %or.cond131415, label LBL_6, label LBL_9 LBL_6: %22 = bitcast i16* %sv_1 to i64* store i64 %18, i64* %.reg2mem store i64 %17, i64* %sv_0.0.ph16.in.reg2mem br label LBL_7 LBL_7: %sv_0.0.ph16.in.reload = load i64, i64* %sv_0.0.ph16.in.reg2mem %.reload = load i64, i64* %.reg2mem %sv_0.0.ph16 = trunc i64 %sv_0.0.ph16.in.reload to i32 %23 = add i64 %sv_0.0.ph16.in.reload, 60000000 store i64 %.reload, i64* %.reg2mem28 store i64 60000000, i64* %.reg2mem30 br label LBL_8 LBL_8: %.reload31 = load i64, i64* %.reg2mem30 %.reload29 = load i64, i64* %.reg2mem28 store i64 %.reload29, i64* %.reg2mem32 br label LBL_10 LBL_9: %24 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %25 = call i32 @fwrite(i64* bitcast ([43 x i8]* @gv_11 to i64*), i32 1, i32 42, %_IO_FILE* %24) store i32 %25, i32* %storemerge.in.reg2mem br label LBL_43 LBL_10: %.reload33 = load i64, i64* %.reg2mem32 %26 = icmp slt i64 %.reload33, 2 br i1 %26, label LBL_40, label LBL_11 LBL_11: %27 = icmp eq i64 %.reload33, 2 %28 = load i8, i8* bitcast (i8** @gv_10 to i8*), align 8 %29 = icmp eq i8 %28, 1 %or.cond8 = icmp eq i1 %27, %29 br i1 %or.cond8, label LBL_12, label LBL_13 LBL_12: %30 = call i64 @FUNC(i64* nonnull @gv_7, i64* bitcast (i8** @gv_10 to i64*), i64 256, i64 %.reload31, i64* nonnull %sv_2) %31 = icmp slt i64 %30, 0 %32 = icmp eq i1 %31, false %33 = icmp eq i64 %30, -110 %or.cond = or i1 %33, %32 store i64 %30, i64* %.reg2mem32 br i1 %or.cond, label LBL_10, label LBL_9 LBL_13: %34 = call i64 @FUNC(i64* bitcast (i8** @gv_10 to i64*), i64* nonnull %22) %35 = load i16, i16* %sv_1, align 2 %36 = zext i16 %35 to i64 %37 = icmp ult i64 %.reload33, %36 %38 = icmp ult i64 %34, %.reload33 %39 = icmp eq i1 %38, false %or.cond10 = or i1 %39, %37 br i1 %or.cond10, label LBL_12, label LBL_14 LBL_14: %40 = add i64 %34, ptrtoint (i8** @gv_10 to i64) %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = icmp eq i8 %42, -32 br i1 %43, label LBL_36, label LBL_15 LBL_15: %44 = sext i8 %42 to i32 %45 = icmp ugt i8 %42, -32 br i1 %45, label LBL_39, label LBL_16 LBL_16: %46 = icmp eq i8 %42, -48 br i1 %46, label LBL_35, label LBL_17 LBL_17: %47 = icmp ugt i8 %42, -48 br i1 %47, label LBL_39, label LBL_18 LBL_18: %48 = icmp eq i8 %42, -64 br i1 %48, label LBL_34, label LBL_19 LBL_19: %49 = icmp ugt i8 %42, -64 br i1 %49, label LBL_39, label LBL_20 LBL_20: %50 = icmp eq i8 %42, -80 br i1 %50, label LBL_33, label LBL_21 LBL_21: %51 = icmp ugt i8 %42, -80 br i1 %51, label LBL_39, label LBL_22 LBL_22: %52 = icmp ugt i8 %42, 64 br i1 %52, label LBL_25, label LBL_23 LBL_23: %53 = icmp ult i8 %42, 2 br i1 %53, label LBL_39, label LBL_24 LBL_24: %54 = zext i8 %42 to i64 store i64 %54, i64* @0, align 8 switch i8 %42, label LBL_39 [ i8 2, label LBL_26 i8 26, label LBL_27 i8 27, label LBL_28 i8 28, label LBL_29 i8 29, label LBL_37 i8 30, label LBL_38 i8 48, label LBL_30 i8 64, label LBL_31 ] LBL_25: %55 = icmp eq i8 %42, -112 br i1 %55, label LBL_32, label LBL_39 LBL_26: %56 = urem i32 %44, 256 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 0, i64 2, i64 0) br label LBL_40 LBL_27: %59 = urem i32 %44, 256 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60, i64 0, i64 0, i64 0) br label LBL_40 LBL_28: %62 = urem i32 %44, 256 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %63, i64 0, i64 0, i64 0) br label LBL_40 LBL_29: %65 = urem i32 %44, 256 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %66, i64 4, i64 6, i64 2) br label LBL_40 LBL_30: %68 = call i64 @FUNC(i64 %36, i64 %34) br label LBL_40 LBL_31: %69 = urem i32 %44, 256 %70 = zext i32 %69 to i64 %71 = call i64 @FUNC(i64 %70, i64 4, i64 6, i64 0) br label LBL_40 LBL_32: %72 = urem i32 %44, 256 %73 = zext i32 %72 to i64 %74 = call i64 @FUNC(i64 %73, i64 5, i64 7, i64 3) br label LBL_40 LBL_33: %75 = urem i32 %44, 256 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %76, i64 2, i64 0, i64 0) br label LBL_40 LBL_34: %78 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_40 LBL_35: %79 = call i64 @FUNC() br label LBL_40 LBL_36: %80 = call i64 @FUNC() br label LBL_40 LBL_37: %81 = urem i32 %44, 256 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82, i64 0, i64 0, i64 0) br label LBL_40 LBL_38: %84 = urem i32 %44, 256 %85 = zext i32 %84 to i64 %86 = call i64 @FUNC(i64 %85, i64 0, i64 0, i64 0) br label LBL_40 LBL_39: %87 = urem i32 %44, 256 %88 = zext i32 %87 to i64 %89 = call i64 @FUNC(i64 %88) %90 = load %_IO_FILE*, %_IO_FILE** @gv_12, align 8 %91 = inttoptr i64 %89 to i8* %92 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %90, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_13, i64 0, i64 0), i8* %91) br label LBL_40 LBL_40: %93 = call i64 @FUNC() %94 = trunc i64 %93 to i32 %95 = sub i32 %94, %sv_0.0.ph16 %96 = icmp ult i32 %95, 60000000 br i1 %96, label LBL_42, label LBL_41 LBL_41: %97 = call i64 @FUNC() %98 = call i64 @FUNC(i64* nonnull @gv_7, i64* bitcast (i8** @gv_10 to i64*), i64 256, i64 60000000, i64* nonnull %sv_2) %99 = icmp slt i64 %98, 0 %100 = icmp eq i1 %99, false %101 = icmp eq i64 %98, -110 %or.cond1314 = or i1 %101, %100 store i64 %98, i64* %.reg2mem store i64 %93, i64* %sv_0.0.ph16.in.reg2mem br i1 %or.cond1314, label LBL_7, label LBL_9 LBL_42: %102 = sub i64 %23, %93 %103 = and i64 %102, 4294967295 %104 = call i64 @FUNC(i64* nonnull @gv_7, i64* bitcast (i8** @gv_10 to i64*), i64 256, i64 %103, i64* nonnull %sv_2) %105 = icmp slt i64 %104, 0 %106 = icmp eq i1 %105, false %107 = icmp eq i64 %104, -110 %or.cond13 = or i1 %107, %106 store i64 %104, i64* %.reg2mem28 store i64 %103, i64* %.reg2mem30 br i1 %or.cond13, label LBL_8, label LBL_9 LBL_43: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = sext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %93, { 1, 0, 2 } uselistorder i8 %42, { 0, 1, 13, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11 } uselistorder i64 %sv_0.0.ph16.in.reload, { 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %sv_2, { 2, 1, 3, 4, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.ph16.in.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem28, { 1, 0, 2 } uselistorder i64* %.reg2mem30, { 1, 0, 2 } uselistorder i64* %.reg2mem32, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @on_ack, { 8, 7, 1, 0, 6, 5, 4, 3, 2 } uselistorder i64 2, { 2, 3, 4, 0, 1 } uselistorder i64 -110, { 3, 2, 4, 1, 0 } uselistorder i64 (i64*, i64*, i64, i64, i64*)* @sock_udp_recv, { 2, 1, 3, 0 } uselistorder i64 60000000, { 3, 0, 1, 2 } uselistorder i64 256, { 2, 1, 3, 0 } uselistorder i8** @gv_10, { 1, 2, 0 } uselistorder i64* bitcast (i8** @gv_10 to i64*), { 2, 1, 3, 4, 0 } uselistorder i64 ()* @xtimer_now_usec, { 1, 0 } uselistorder i1 false, { 2, 1, 3, 4, 0, 5 } uselistorder i64* @gv_7, { 2, 1, 3, 0, 4 } uselistorder i8 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_40, { 9, 1, 2, 10, 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
ape_decode_value_3900_14224
ape_decode_value_3900
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i32* %arg1 to i64 %6 = load i64, i64* @gv_0, align 8 %7 = load i64, i64* @gv_1, align 8 %8 = call i64 @FUNC(i64 %5, i64 %7, i64 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 255 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %5, i64 5) %13 = trunc i64 %12 to i32 store i32 0, i32* %sv_1.0.reg2mem store i32 %13, i32* %sv_0.0.reg2mem br label LBL_3 LBL_2: %14 = trunc i64 %4 to i32 %15 = icmp sgt i32 %14, 1 %16 = select i1 %15, i32 %14, i32 1 %17 = add nsw i32 %16, -1 store i32 %9, i32* %sv_1.0.reg2mem store i32 %17, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %18 = icmp slt i32 %sv_0.0.reload, 17 br i1 %18, label LBL_7, label LBL_4 LBL_4: %19 = trunc i64 %3 to i32 %20 = icmp sgt i32 %19, 3909 br i1 %20, label LBL_8, label LBL_5 LBL_5: %21 = icmp slt i32 %sv_0.0.reload, 24 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = add i64 %5, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = zext i32 %sv_0.0.reload to i64 %26 = call i64 @FUNC(i64 %24, i64 16, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %2, i64 %1) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_14 LBL_7: %27 = zext i32 %sv_0.0.reload to i64 %28 = call i64 @FUNC(i64 %5, i64 %27) %29 = trunc i64 %28 to i32 store i32 %29, i32* %storemerge.reg2mem br label LBL_11 LBL_8: %30 = icmp sgt i32 %sv_0.0.reload, 32 br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %5, i64 16) %32 = trunc i64 %31 to i32 %33 = add i32 %sv_0.0.reload, -16 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %5, i64 %34) %36 = trunc i64 %35 to i32 %37 = mul i32 %36, 65536 %38 = or i32 %37, %32 store i32 %38, i32* %storemerge.reg2mem br label LBL_11 LBL_10: %39 = add i64 %5, 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = zext i32 %sv_0.0.reload to i64 %43 = call i64 @FUNC(i64 %41, i64 16, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %42, i64 %2, i64 %1) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_14 LBL_11: %storemerge.reload = load i32, i32* %storemerge.reg2mem %44 = urem i32 %sv_0.0.reload, 32 %45 = shl i32 %sv_1.0.reload, %44 %46 = add i32 %storemerge.reload, %45 %47 = ptrtoint i32* %arg2 to i64 %48 = zext i32 %46 to i64 %49 = call i64 @FUNC(i64 %47, i64 %48) %50 = urem i32 %46, 2 %51 = icmp eq i32 %50, 0 %52 = udiv i32 %46, 2 br i1 %51, label LBL_13, label LBL_12 LBL_12: %53 = add nuw i32 %52, 1 store i32 %53, i32* %rax.0.shrunk.reg2mem br label LBL_14 LBL_13: %54 = sub nsw i32 0, %52 store i32 %54, i32* %rax.0.shrunk.reg2mem br label LBL_14 LBL_14: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_0.0.reload, { 7, 0, 6, 1, 4, 3, 5, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %5, { 1, 3, 2, 4, 5, 0, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64, i64)* @range_decode_bits, { 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
do_safe_dpy_refresh_15073
do_safe_dpy_refresh
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: ret i64 %arg2 }
1
BinRealVul
r5l_load_log_17548
r5l_load_log
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp ult i64 %3, %0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %3, i64 8) %sext = mul i64 %6, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = icmp eq i64 %3, %7 store i64 %3, i64* %sv_0.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: store i64 0, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_13 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i64 4096, i64 %9, i64 0, i64 0, i64 0) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 1 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %9) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %16 = call i64 @FUNC(i64 %9) %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, 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, 305419896 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_7 LBL_7: %24 = add i64 %16, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label LBL_8, label LBL_10 LBL_8: %28 = add i64 %16, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 store i32 0, i32* %29, align 4 %34 = add i64 %0, 40 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37, i64 %16, i64 4096) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %33, %39 br i1 %40, label LBL_9, label LBL_10 LBL_9: %41 = add i64 %16, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = icmp eq i64 %sv_0.0.reload, %44 br i1 %45, label LBL_11, label LBL_10 LBL_10: %46 = call i64 @FUNC() %47 = and i64 %46, 4294967295 store i64 %47, i64* %2, align 8 %48 = call i64 @FUNC(i64 %0, i64 0) store i64 0, i64* %sv_0.1.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_12 LBL_11: %49 = add i64 %16, 24 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51) store i64 %52, i64* %2, align 8 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %51, i64* %rdi.0.reg2mem br label LBL_12 LBL_12: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %53 = call i64 @FUNC(i64 %rdi.0.reload, i64 8) %sext1 = mul i64 %53, 4294967296 %54 = ashr exact i64 %sext1, 32 %55 = add i64 %0, 16 %56 = inttoptr i64 %55 to i64* store i64 %54, i64* %56, align 8 %57 = udiv i64 %54, 4 %58 = trunc i64 %57 to i32 %59 = add i64 %0, 24 %60 = inttoptr i64 %59 to i32* %61 = icmp ult i32 %58, 1024 %spec.store.select = select i1 %61, i32 %58, i32 1024 store i32 %spec.store.select, i32* %60, align 4 %62 = add i64 %0, 32 %63 = inttoptr i64 %62 to i64* store i64 %sv_0.1.reload, i64* %63, align 8 %64 = call i64 @FUNC(i64 %9) %65 = call i64 @FUNC(i64 %0) store i64 %65, 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 %16, { 4, 0, 1, 3, 2, 5 } uselistorder i64 %sv_0.0.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 %0, { 3, 4, 5, 6, 0, 2, 1, 7, 8, 9 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @le64_to_cpu, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder i64 (i64)* @__free_page, { 1, 0 } uselistorder i64 32, { 3, 0, 1, 2 } uselistorder i64 (i64, i64)* @round_down, { 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_10, { 3, 0, 2, 1 } }
1
BinRealVul
get_header_5882
get_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1024) %1 = inttoptr i64 %arg1 to %_IO_FILE* %2 = call i32 @ftell(%_IO_FILE* %1) %3 = call i32 @fseek(%_IO_FILE* %1, i32 0, i32 0) %4 = inttoptr i64 %0 to i64* %5 = call i32 @fread(i64* %4, i32 1, i32 1023, %_IO_FILE* %1) %6 = icmp eq i32 %5, 1023 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %7) call void @exit(i32 1) unreachable LBL_2: %9 = call i32 @fseek(%_IO_FILE* %1, i32 %2, i32 0) ret i64 %0 uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } }
0
BinRealVul
ktime_divns_9101
ktime_divns
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.01.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp ult i64 %arg3, 4294967296 %2 = icmp eq i1 %1, false store i32 0, i32* %sv_0.02.reg2mem store i64 %arg3, i64* %sv_1.01.reg2mem store i64 %arg3, i64* %sv_1.0.lcssa.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %3 = add i32 %sv_0.02.reload, 1 %4 = ashr i64 %sv_1.01.reload, 1 %5 = icmp ult i64 %4, 4294967296 %6 = icmp eq i1 %5, false store i32 %3, i32* %sv_0.02.reg2mem store i64 %4, i64* %sv_1.01.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_2: %phitmp = urem i32 %3, 64 %phitmp4 = zext i32 %phitmp to i64 store i64 %4, i64* %sv_1.0.lcssa.reg2mem store i64 %phitmp4, i64* %sv_0.0.lcssa.reg2mem br label LBL_3 LBL_3: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %sv_2.0 = lshr i64 %0, %sv_0.0.lcssa.reload %7 = call i64 @FUNC(i64 %sv_2.0, i64 %sv_1.0.lcssa.reload) ret i64 %sv_2.0 uselistorder i64 %sv_2.0, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
print_ls_8243
print_ls
define i64 @FUNC(i64 %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %arg1, 61440 %3 = icmp eq i64 %2, 40960 store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = icmp eq i64 %2, 16384 %5 = icmp eq i1 %4, false %. = select i1 %5, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 ptrtoint ([5 x i8]* @gv_2 to i64) store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = call i64 @FUNC(i64* nonnull @gv_3) br i1 %9, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64), i64 ptrtoint ([9 x i8]* @gv_4 to i64)) %12 = ptrtoint i8* %arg3 to i64 %13 = call i64 @FUNC(i64 %12, i64* nonnull @gv_3, i64 0, i64 0) %14 = call i64 @FUNC(i64* nonnull @gv_3, i64 10) br label LBL_5 LBL_4: %15 = ptrtoint i64* %arg2 to i64 %rax.0.reload = load i64, i64* %rax.0.reg2mem %16 = call i64 @FUNC(i64 %15) %17 = and i64 %6, 4294967295 %18 = call i64 @FUNC(i64* nonnull @gv_3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %17, i64 %rax.0.reload, i64 %16, i64 %1) %19 = ptrtoint i8* %arg3 to i64 %20 = call i64 @FUNC(i64 %19, i64* nonnull @gv_3, i64 0, i64 0) %21 = call i64 @FUNC(i64* nonnull @gv_3, i64 10) br label LBL_5 LBL_5: %22 = load i64, i64* @gv_3, align 8 %23 = load i64, i64* @gv_6, align 8 %24 = call i64 @FUNC(i64 %23, i64 %22) ret i64 %24 uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @strbuf_addch, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @quote_c_style, { 1, 0 } uselistorder i64 (i64, i64)* @strbuf_addstr, { 1, 0 } uselistorder i64* @gv_3, { 6, 0, 1, 2, 4, 5, 7, 3 } uselistorder i32 0, { 1, 0 } uselistorder i8* %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
btrfs_alloc_inode_4521
btrfs_alloc_inode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = inttoptr i64 %1 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %1, 12 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %1, 24 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %14, align 8 %15 = add i64 %1, 32 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %1, 40 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %1, 48 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %1, 56 %22 = call i64 @FUNC(i64 %21) store i64 %1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vhost_kernel_memslots_limit_17310
vhost_kernel_memslots_limit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64 0, i64 0) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 64, i64* %storemerge.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = load i64, i64* %sv_0, align 8 %4 = call i64 @FUNC(i64 %3, i64 0, i64 10) %5 = icmp ne i64 %4, -1 %6 = icmp eq i64 %4, 0 %7 = icmp eq i1 %6, false %or.cond = icmp eq i1 %5, %7 store i64 %4, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %4, i64* %storemerge.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = load i64, i64* %sv_0, align 8 %13 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i64 %12) store i64 64, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 64, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
1
BinRealVul
xan_decode_frame_type1_15663
xan_decode_frame_type1
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.in11.reg2mem = alloca i64 %sv_1.1.in13.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i32 %.reg2mem54 = alloca i32 %.reg2mem52 = alloca i32 %.reg2mem50 = alloca i32 %.reg2mem48 = alloca i32 %storemerge410.reg2mem = alloca i32 %.reg2mem46 = alloca i64 %.lcssa7.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i8* %.pre-phi.reg2mem = alloca i8 %sv_2.018.reg2mem = alloca i32 %storemerge619.reg2mem = alloca i32 %sv_0.0.in20.reg2mem = alloca i64 %sv_0.021.reg2mem = alloca i8* %.reg2mem = alloca i64 %sv_0.127.reg2mem = alloca i8* %storemerge530.reg2mem = alloca i32 %sv_1.031.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %4, i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_15 LBL_2: %14 = add i64 %7, 32 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = ashr i32 %16, 1 %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, -16 %22 = zext i32 %21 to i64 %23 = add i64 %3, 16 %24 = zext i32 %17 to i64 %25 = call i64 @FUNC(i64 %23, i64 %22, i64 %9, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %24, i64 %2, i64 %1) %29 = and i64 %25, 4294967295 store i64 %29, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %30 = add i64 %4, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_15, label LBL_5 LBL_5: %34 = inttoptr i64 %9 to i8* %35 = add i64 %7, 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = bitcast i64* %rdi to i32* store i64 %37, i64* %sv_1.031.in.reg2mem store i32 0, i32* %storemerge530.reg2mem store i8* %34, i8** %sv_0.127.reg2mem br label LBL_6 LBL_6: %sv_0.127.reload = load i8*, i8** %sv_0.127.reg2mem %storemerge530.reload = load i32, i32* %storemerge530.reg2mem %sv_1.031.in.reload = load i64, i64* %sv_1.031.in.reg2mem %sv_1.031 = inttoptr i64 %sv_1.031.in.reload to i8* %39 = load i8, i8* %sv_1.031, align 1 %40 = ptrtoint i8* %sv_0.127.reload to i64 %41 = load i8, i8* %sv_0.127.reload, align 1 %42 = zext i8 %41 to i32 %43 = mul i32 %42, 2 %44 = zext i8 %39 to i32 %45 = add nuw nsw i32 %43, %44 %46 = urem i32 %45, 64 %47 = trunc i32 %46 to i8 store i8 %47, i8* %sv_1.031, align 1 %sv_0.0.in16 = add i64 %40, 1 %sv_0.017 = inttoptr i64 %sv_0.0.in16 to i8* %48 = load i32, i32* %38, align 8 %49 = add i32 %48, -1 %50 = icmp ugt i32 %49, 1 store i64 1, i64* %.reg2mem store i8* %sv_0.017, i8** %sv_0.021.reg2mem store i64 %sv_0.0.in16, i64* %sv_0.0.in20.reg2mem store i32 1, i32* %storemerge619.reg2mem store i32 %46, i32* %sv_2.018.reg2mem store i8 %47, i8* %.pre-phi.reg2mem store i8* %sv_0.017, i8** %sv_0.0.lcssa.reg2mem store i64 1, i64* %.lcssa7.reg2mem br i1 %50, label LBL_7, label LBL_8 LBL_7: %sv_2.018.reload = load i32, i32* %sv_2.018.reg2mem %storemerge619.reload = load i32, i32* %storemerge619.reg2mem %sv_0.0.in20.reload = load i64, i64* %sv_0.0.in20.reg2mem %sv_0.021.reload = load i8*, i8** %sv_0.021.reg2mem %.reload = load i64, i64* %.reg2mem %51 = add i64 %.reload, %sv_1.031.in.reload %52 = add i64 %51, 1 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = load i8, i8* %sv_0.021.reload, align 1 %56 = zext i8 %55 to i32 %57 = mul i32 %56, 2 %58 = zext i8 %54 to i32 %59 = add nuw nsw i32 %57, %58 %60 = urem i32 %59, 64 %61 = add nuw nsw i32 %60, %sv_2.018.reload %62 = udiv i32 %61, 2 %63 = trunc i32 %62 to i8 %64 = inttoptr i64 %51 to i8* store i8 %63, i8* %64, align 1 %65 = trunc i32 %60 to i8 store i8 %65, i8* %53, align 1 %66 = add i32 %storemerge619.reload, 2 %sv_0.0.in = add i64 %sv_0.0.in20.reload, 1 %sv_0.0 = inttoptr i64 %sv_0.0.in to i8* %67 = load i32, i32* %38, align 8 %68 = add i32 %67, -1 %69 = zext i32 %68 to i64 %70 = sext i32 %66 to i64 %71 = icmp slt i64 %70, %69 store i64 %70, i64* %.reg2mem store i8* %sv_0.0, i8** %sv_0.021.reg2mem store i64 %sv_0.0.in, i64* %sv_0.0.in20.reg2mem store i32 %66, i32* %storemerge619.reg2mem store i32 %60, i32* %sv_2.018.reg2mem store i8 %65, i8* %.pre-phi.reg2mem store i8* %sv_0.0, i8** %sv_0.0.lcssa.reg2mem store i64 %70, i64* %.lcssa7.reg2mem br i1 %71, label LBL_7, label LBL_8 LBL_8: %.lcssa7.reload = load i64, i64* %.lcssa7.reg2mem %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem %72 = add i64 %.lcssa7.reload, %sv_1.031.in.reload %73 = inttoptr i64 %72 to i8* store i8 %.pre-phi.reload, i8* %73, align 1 %74 = load i32, i32* %38, align 8 %75 = sext i32 %74 to i64 %76 = add i64 %sv_1.031.in.reload, %75 %77 = add i32 %storemerge530.reload, 1 %78 = load i32, i32* %31, align 4 %79 = zext i32 %78 to i64 %80 = sext i32 %77 to i64 %81 = icmp slt i64 %80, %79 store i64 %76, i64* %sv_1.031.in.reg2mem store i32 %77, i32* %storemerge530.reg2mem store i8* %sv_0.0.lcssa.reload, i8** %sv_0.127.reg2mem br i1 %81, label LBL_6, label LBL_9 LBL_9: %82 = icmp eq i32 %78, 0 store i64 0, i64* %rax.0.reg2mem br i1 %82, label LBL_15, label LBL_10 LBL_10: %83 = add i64 %7, 16 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = load i64, i64* %36, align 8 %87 = add i64 %7, 24 %88 = inttoptr i64 %87 to i32* store i32 %78, i32* %.reg2mem52 store i32 %74, i32* %.reg2mem54 store i32 0, i32* %storemerge15.reg2mem store i64 %85, i64* %sv_1.1.in13.reg2mem store i64 %86, i64* %sv_0.2.in11.reg2mem br label LBL_14 LBL_11: %storemerge410.reload = load i32, i32* %storemerge410.reg2mem %.reload47 = load i64, i64* %.reg2mem46 %89 = add i64 %.reload47, %sv_0.2.in11.reload %90 = inttoptr i64 %89 to i8* %91 = load i8, i8* %90, align 1 %92 = mul i8 %91, 4 %93 = udiv i8 %91, 8 %94 = or i8 %92, %93 %95 = add i64 %.reload47, %sv_1.1.in13.reload %96 = inttoptr i64 %95 to i8* store i8 %94, i8* %96, align 1 %97 = add i32 %storemerge410.reload, 1 %98 = load i32, i32* %38, align 8 %99 = zext i32 %98 to i64 %100 = sext i32 %97 to i64 %101 = icmp slt i64 %100, %99 store i64 %100, i64* %.reg2mem46 store i32 %97, i32* %storemerge410.reg2mem br i1 %101, label LBL_11, label LBL_12 LBL_12: %.pre = load i32, i32* %31, align 4 store i32 %.pre, i32* %.reg2mem48 store i32 %98, i32* %.reg2mem50 br label LBL_13 LBL_13: %.reload51 = load i32, i32* %.reg2mem50 %.reload49 = load i32, i32* %.reg2mem48 %102 = sext i32 %.reload51 to i64 %103 = add i64 %sv_0.2.in11.reload, %102 %104 = load i32, i32* %88, align 4 %105 = sext i32 %104 to i64 %106 = add i64 %sv_1.1.in13.reload, %105 %107 = add i32 %storemerge15.reload, 1 %108 = zext i32 %.reload49 to i64 %109 = sext i32 %107 to i64 %110 = icmp slt i64 %109, %108 store i32 %.reload49, i32* %.reg2mem52 store i32 %.reload51, i32* %.reg2mem54 store i32 %107, i32* %storemerge15.reg2mem store i64 %106, i64* %sv_1.1.in13.reg2mem store i64 %103, i64* %sv_0.2.in11.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %110, label LBL_14, label LBL_15 LBL_14: %sv_0.2.in11.reload = load i64, i64* %sv_0.2.in11.reg2mem %sv_1.1.in13.reload = load i64, i64* %sv_1.1.in13.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %.reload55 = load i32, i32* %.reg2mem54 %.reload53 = load i32, i32* %.reg2mem52 %111 = icmp eq i32 %.reload55, 0 store i64 0, i64* %.reg2mem46 store i32 0, i32* %storemerge410.reg2mem store i32 %.reload53, i32* %.reg2mem48 store i32 0, i32* %.reg2mem50 br i1 %111, label LBL_13, label LBL_11 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %91, { 1, 0 } uselistorder i64 %.reload47, { 1, 0 } uselistorder i8* %sv_1.031, { 1, 0 } uselistorder i64 %sv_1.031.in.reload, { 3, 2, 1, 0 } uselistorder i8* %sv_0.127.reload, { 1, 0 } uselistorder i32* %38, { 0, 1, 3, 2 } uselistorder i32* %31, { 0, 2, 1 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64* %sv_1.031.in.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge530.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.127.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.021.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in20.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge619.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.018.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem46, { 1, 2, 0 } uselistorder i32* %storemerge410.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem48, { 1, 0, 2 } uselistorder i32* %.reg2mem50, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 5, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 1, { 4, 3, 0, 1, 2 } uselistorder i32 2, { 3, 2, 0, 1 } uselistorder i32 0, { 1, 2, 4, 0, 5, 3, 6, 7, 8 } uselistorder label LBL_15, { 0, 2, 1, 3, 4 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
mount_autodev_13050
mount_autodev
define i64 @FUNC(i8* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i8* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %6 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4, i64 %3, i64 %2, i64 %1) %7 = icmp eq i64* %arg2, null store i64 9, i64* %storemerge4.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i8* %12 = call i32 @strlen(i8* %11) %13 = sext i32 %12 to i64 %14 = add nsw i64 %13, 9 store i64 %14, i64* %storemerge4.reg2mem br label LBL_2 LBL_2: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem store i64 ptrtoint (i8** @gv_1 to i64), i64* %storemerge3.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %storemerge3.reg2mem br label LBL_4 LBL_4: %18 = ptrtoint i64* %sv_0 to i64 %19 = trunc i64 %storemerge4.reload to i32 %20 = add nsw i64 %storemerge4.reload, 23 %21 = udiv i64 %20, 16 %22 = mul i64 %21, 16 %23 = add i64 %18, 15 %24 = sub i64 %23, %22 %25 = and i64 %24, -16 %26 = inttoptr i64 %25 to i8* %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %27 = inttoptr i64 %storemerge3.reload to i8* %28 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %26, i32 %19, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %27) %29 = icmp sgt i32 %28, -1 %30 = icmp ult i32 %28, %19 %or.cond = icmp eq i1 %29, %30 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_16 LBL_5: %sext = mul i64 %storemerge4.reload, 4294967296 %31 = ashr exact i64 %sext, 32 %32 = call i64 @FUNC(i64 %25) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 %31, i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64 %storemerge3.reload, i64 %2, i64 %1) %37 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64 %31, i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64 %storemerge3.reload, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_7: %38 = call i32 @mount(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i8* %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i32 0, i64* bitcast ([21 x i8]* @gv_7 to i64*)) %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %25, i64 ptrtoint ([6 x i8]* @gv_6 to i64), i64 0, i64 ptrtoint ([21 x i8]* @gv_7 to i64), i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_9: %41 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_9, i64 0, i64 0), i64 %25, i64 ptrtoint ([6 x i8]* @gv_6 to i64), i64 0, i64 ptrtoint ([21 x i8]* @gv_7 to i64), i64 %1) %42 = icmp eq i64 %25, 0 store i64 ptrtoint (i8** @gv_1 to i64), i64* %storemerge.reg2mem br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = add i64 %5, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 store i64 %45, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem %46 = inttoptr i64 %storemerge.reload to i8* %47 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %26, i32 %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i8* %46) %48 = icmp sgt i32 %47, -1 %49 = icmp ult i32 %47, %19 %or.cond6 = icmp eq i1 %48, %49 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_12, label LBL_16 LBL_12: %50 = call i64 @FUNC(i64 %25) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i64 %31, i64* %rsi.0.reg2mem br i1 %53, label LBL_15, label LBL_13 LBL_13: %54 = call i32 @mkdir(i8* %26, i32 493) %55 = icmp eq i32 %54, 0 store i64 493, i64* %rsi.0.reg2mem br i1 %55, label LBL_15, label LBL_14 LBL_14: %56 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_11, i64 0, i64 0), i64 493, i64 ptrtoint ([11 x i8]* @gv_10 to i64), i64 %storemerge.reload, i64 ptrtoint ([21 x i8]* @gv_7 to i64), i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %57 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_12, i64 0, i64 0), i64 %rsi.0.reload, i64 ptrtoint ([11 x i8]* @gv_10 to i64), i64 %storemerge.reload, i64 ptrtoint ([21 x i8]* @gv_7 to i64), i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %47, { 1, 0 } uselistorder i64 %storemerge.reload, { 1, 2, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %storemerge3.reload, { 1, 2, 0 } uselistorder i64 %25, { 0, 1, 3, 2, 4, 5 } uselistorder i32 %19, { 0, 2, 1, 3 } uselistorder i64 %storemerge4.reload, { 2, 0, 1 } uselistorder i64 %5, { 2, 1, 0, 3 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 3, 6, 2, 1, 4, 5, 0 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 4, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ptrtoint ([11 x i8]* @gv_10 to i64), { 1, 0 } uselistorder i64 493, { 1, 0 } uselistorder [11 x i8]* @gv_10, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @SYSERROR, { 1, 0 } uselistorder i64 ptrtoint ([21 x i8]* @gv_7 to i64), { 1, 0, 2, 3 } uselistorder [6 x i8]* @gv_6, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @WARN, { 1, 0 } uselistorder i64 ptrtoint ([7 x i8]* @gv_2 to i64), { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5 } uselistorder i64 (i64)* @dir_exists, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder [7 x i8]* @gv_2, { 1, 0 } uselistorder i64 9, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @INFO, { 2, 1, 0 } uselistorder label LBL_16, { 2, 3, 0, 4, 5, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
smack_getprocattr_13004
smack_getprocattr
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = inttoptr i64 %6 to i8* %10 = call i32 @strlen(i8* %9) store i64 %6, i64* %arg3, align 8 %11 = zext i32 %10 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
fill_vaapi_pic_5182
fill_vaapi_pic
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i32 %arg3, 0 %5 = icmp eq i1 %4, false %6 = bitcast i64* %rsi to i32* %7 = trunc i64 %1 to i32 %sv_0.0 = select i1 %5, i32 %arg3, i32 %7 %8 = call i64 @FUNC(i64 %2) %9 = trunc i64 %8 to i32 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %storemerge2.in.in.in.v = select i1 %14, i64 12, i64 8 %storemerge2.in.in.in = add i64 %storemerge2.in.in.in.v, %2 %storemerge2.in.in = inttoptr i64 %storemerge2.in.in.in to i32* %storemerge2.in = load i32, i32* %storemerge2.in.in, align 4 %15 = add i64 %3, 4 %16 = inttoptr i64 %15 to i32* store i32 %storemerge2.in, i32* %16, align 4 %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i32* %19 = mul i32 %sv_0.0, 16 %20 = and i32 %19, 16 %21 = xor i32 %20, 16 store i32 %21, i32* %18, align 4 %22 = load i32, i32* %6, align 8 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = load i32, i32* %12, align 4 %25 = icmp eq i32 %24, 0 %.3 = select i1 %25, i32 64, i32 32 %26 = or i32 %.3, %21 store i32 %26, i32* %18, align 4 br label LBL_2 LBL_2: %27 = add i64 %3, 12 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %2, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 2147483647 %spec.store.select4 = select i1 %32, i32 0, i32 %31 store i32 %spec.store.select4, i32* %28, align 4 %33 = add i64 %3, 16 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 %35 = add i64 %2, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 2147483647 %spec.store.select5 = select i1 %38, i32 0, i32 %37 store i32 %spec.store.select5, i32* %34, align 4 %spec.select = select i1 %38, i64 2147483647, i64 %3 ret i64 %spec.select uselistorder i64 %2, { 1, 2, 0, 3, 4 } uselistorder i32 16, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 12, { 1, 0 } }
0
BinRealVul
slurm_get_job_steps_17948
slurm_get_job_steps
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32* %storemerge.reg2mem = alloca i64 %1 = load i32*, i32** %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 2, i32* %sv_1, align 4 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i32* nonnull %sv_1, i64* nonnull %2) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_7 LBL_1: %7 = load i32, i32* %sv_0, align 4 switch i32 %7, label LBL_6 [ i32 3, label LBL_2 i32 4, label LBL_3 ] LBL_2: %8 = ptrtoint i32* %1 to i64 store i64 %8, i64* %arg4, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_3: %9 = load i32, i32* %1, align 4 %10 = ptrtoint i32* %1 to i64 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i32 %9, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = zext i32 %9 to i64 %14 = call i64 @FUNC(i64 %13) br label LBL_5 LBL_5: store i64 0, i64* %arg4, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %15 = call i64 @FUNC(i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %1, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 (i64)* @slurm_seterrno_ret, { 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3 } }
1
BinRealVul
migrate_add_blocker_1144
migrate_add_blocker
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg1) store i64 %1, i64* @gv_0, align 8 ret i64 %1 uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
regulator_ena_gpio_ctrl_8468
regulator_ena_gpio_ctrl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_8 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i8 %4 = icmp eq i8 %3, 0 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 br i1 %4, label LBL_5, label LBL_2 LBL_2: %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i32 %7, i32* %.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i64 %2, 12 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = xor i8 %12, 1 %14 = zext i8 %13 to i64 %15 = call i64 @FUNC(i64 %2, i64 %14) %.pre = load i32, i32* %6, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %16 = add i32 %.reload, 1 store i32 %16, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %17 = icmp slt i32 %7, 2 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = add i32 %7, -1 store i32 %18, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %19 = add i64 %2, 12 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 %23 = call i64 @FUNC(i64 %2, i64 %22) store i32 0, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %7, { 1, 3, 0, 2 } uselistorder i32* %6, { 2, 3, 1, 0, 4 } uselistorder i64 %2, { 1, 3, 0, 2, 4 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64 (i64, i64)* @gpiod_set_value_cansleep, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 3, 0, 2 } }
0
BinRealVul
ff_mpeg4_decode_picture_header_80
ff_mpeg4_decode_picture_header
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.be.reg2mem = alloca i32 %.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 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %4) %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %8, %10 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %4, i64 24) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 5723696 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %4, i64 24) %18 = call i64 @FUNC(i64 %4, i64 8) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 240 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %5, i64 %4) store i64 %22, i64* %rax.0.reg2mem br label LBL_77 LBL_4: %23 = call i64 @FUNC(i64 %4, i64 8) store i64 %4, i64* %rdi, align 8 %24 = call i64 @FUNC(i64 %4) %25 = and i64 %3, 4294967295 %26 = icmp slt i64 %24, %25 br i1 %26, label LBL_5, label LBL_6 LBL_5: %27 = trunc i64 %23 to i32 %28 = or i32 %27, 65280 store i32 %28, i32* %.reg2mem br label LBL_10 LBL_6: %29 = trunc i64 %3 to i32 %30 = icmp eq i32 %29, 8 %31 = icmp eq i1 %30, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_77, label LBL_7 LBL_7: %32 = add i64 %5, 8 %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_9, label LBL_8 LBL_8: %37 = add i64 %5, 12 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %40, label LBL_77, label LBL_9 LBL_9: %41 = load i64, i64* %rdi, align 8 %42 = call i64 @FUNC(i64 %41, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_77 LBL_10: %.reload = load i32, i32* %.reg2mem %43 = and i32 %.reload, -256 %44 = icmp eq i32 %43, 256 %45 = icmp eq i1 %44, false store i32 %.reload, i32* %sv_0.0.be.reg2mem br i1 %45, label LBL_76, label LBL_11 LBL_11: %46 = load i64, i64* %rdi, align 8 %47 = add i64 %46, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = urem i32 %49, 2 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_67, label LBL_12 LBL_12: %52 = zext i32 %.reload to i64 %53 = call i64 @FUNC(i64 %46, i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %52, i64 %2, i64 %1) %54 = icmp sgt i32 %.reload, 287 br i1 %54, label LBL_14, label LBL_13 LBL_13: %55 = load i64, i64* %rdi, align 8 %56 = call i64 @FUNC(i64 %55, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_14: %57 = icmp sgt i32 %.reload, 303 br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = load i64, i64* %rdi, align 8 %59 = call i64 @FUNC(i64 %58, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_16: %60 = icmp sgt i32 %.reload, 319 br i1 %60, label LBL_18, label LBL_17 LBL_17: %61 = load i64, i64* %rdi, align 8 %62 = call i64 @FUNC(i64 %61, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_18: %63 = icmp sgt i32 %.reload, 351 br i1 %63, label LBL_20, label LBL_19 LBL_19: %64 = load i64, i64* %rdi, align 8 %65 = call i64 @FUNC(i64 %64, i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_20: %66 = icmp sgt i32 %.reload, 431 br i1 %66, label LBL_22, label LBL_21 LBL_21: %67 = load i64, i64* %rdi, align 8 %68 = call i64 @FUNC(i64 %67, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_22: %69 = icmp eq i32 %.reload, 432 %70 = icmp eq i1 %69, false br i1 %70, label LBL_24, label LBL_23 LBL_23: %71 = load i64, i64* %rdi, align 8 %72 = call i64 @FUNC(i64 %71, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_7, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_24: %73 = icmp eq i32 %.reload, 433 %74 = icmp eq i1 %73, false br i1 %74, label LBL_26, label LBL_25 LBL_25: %75 = load i64, i64* %rdi, align 8 %76 = call i64 @FUNC(i64 %75, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_8, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_26: %77 = icmp eq i32 %.reload, 434 %78 = icmp eq i1 %77, false br i1 %78, label LBL_28, label LBL_27 LBL_27: %79 = load i64, i64* %rdi, align 8 %80 = call i64 @FUNC(i64 %79, i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_28: %81 = icmp eq i32 %.reload, 435 %82 = icmp eq i1 %81, false br i1 %82, label LBL_30, label LBL_29 LBL_29: %83 = load i64, i64* %rdi, align 8 %84 = call i64 @FUNC(i64 %83, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_10, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_30: %85 = icmp eq i32 %.reload, 436 %86 = icmp eq i1 %85, false br i1 %86, label LBL_32, label LBL_31 LBL_31: %87 = load i64, i64* %rdi, align 8 %88 = call i64 @FUNC(i64 %87, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_11, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_32: %89 = icmp eq i32 %.reload, 437 %90 = icmp eq i1 %89, false br i1 %90, label LBL_34, label LBL_33 LBL_33: %91 = load i64, i64* %rdi, align 8 %92 = call i64 @FUNC(i64 %91, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_12, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_34: %93 = icmp eq i32 %.reload, 438 %94 = icmp eq i1 %93, false br i1 %94, label LBL_36, label LBL_35 LBL_35: %95 = load i64, i64* %rdi, align 8 %96 = call i64 @FUNC(i64 %95, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_13, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_36: %97 = icmp eq i32 %.reload, 439 %98 = icmp eq i1 %97, false br i1 %98, label LBL_38, label LBL_37 LBL_37: %99 = load i64, i64* %rdi, align 8 %100 = call i64 @FUNC(i64 %99, i64 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_14, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_38: %101 = icmp eq i32 %.reload, 440 %102 = icmp eq i1 %101, false br i1 %102, label LBL_40, label LBL_39 LBL_39: %103 = load i64, i64* %rdi, align 8 %104 = call i64 @FUNC(i64 %103, i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_15, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_40: %105 = icmp eq i32 %.reload, 441 %106 = icmp eq i1 %105, false br i1 %106, label LBL_42, label LBL_41 LBL_41: %107 = load i64, i64* %rdi, align 8 %108 = call i64 @FUNC(i64 %107, i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_16, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_42: %109 = icmp eq i32 %.reload, 442 %110 = icmp eq i1 %109, false br i1 %110, label LBL_44, label LBL_43 LBL_43: %111 = load i64, i64* %rdi, align 8 %112 = call i64 @FUNC(i64 %111, i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_17, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_44: %113 = icmp eq i32 %.reload, 443 %114 = icmp eq i1 %113, false br i1 %114, label LBL_46, label LBL_45 LBL_45: %115 = load i64, i64* %rdi, align 8 %116 = call i64 @FUNC(i64 %115, i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_18, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_46: %117 = icmp eq i32 %.reload, 444 %118 = icmp eq i1 %117, false br i1 %118, label LBL_48, label LBL_47 LBL_47: %119 = load i64, i64* %rdi, align 8 %120 = call i64 @FUNC(i64 %119, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_19, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_48: %121 = icmp eq i32 %.reload, 445 %122 = icmp eq i1 %121, false br i1 %122, label LBL_50, label LBL_49 LBL_49: %123 = load i64, i64* %rdi, align 8 %124 = call i64 @FUNC(i64 %123, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_20, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_50: %125 = icmp eq i32 %.reload, 446 %126 = icmp eq i1 %125, false br i1 %126, label LBL_52, label LBL_51 LBL_51: %127 = load i64, i64* %rdi, align 8 %128 = call i64 @FUNC(i64 %127, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_21, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_52: %129 = icmp eq i32 %.reload, 447 %130 = icmp eq i1 %129, false br i1 %130, label LBL_54, label LBL_53 LBL_53: %131 = load i64, i64* %rdi, align 8 %132 = call i64 @FUNC(i64 %131, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_22, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_54: %133 = icmp eq i32 %.reload, 448 %134 = icmp eq i1 %133, false br i1 %134, label LBL_56, label LBL_55 LBL_55: %135 = load i64, i64* %rdi, align 8 %136 = call i64 @FUNC(i64 %135, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_23, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_56: %137 = icmp eq i32 %.reload, 449 %138 = icmp eq i1 %137, false br i1 %138, label LBL_58, label LBL_57 LBL_57: %139 = load i64, i64* %rdi, align 8 %140 = call i64 @FUNC(i64 %139, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_24, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_58: %141 = icmp eq i32 %.reload, 450 %142 = icmp eq i1 %141, false br i1 %142, label LBL_60, label LBL_59 LBL_59: %143 = load i64, i64* %rdi, align 8 %144 = call i64 @FUNC(i64 %143, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_25, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_60: %145 = icmp eq i32 %.reload, 451 %146 = icmp eq i1 %145, false br i1 %146, label LBL_62, label LBL_61 LBL_61: %147 = load i64, i64* %rdi, align 8 %148 = call i64 @FUNC(i64 %147, i64 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_26, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_62: %149 = icmp sgt i32 %.reload, 453 br i1 %149, label LBL_64, label LBL_63 LBL_63: %150 = load i64, i64* %rdi, align 8 %151 = call i64 @FUNC(i64 %150, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_27, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_64: %152 = icmp sgt i32 %.reload, 511 br i1 %152, label LBL_66, label LBL_65 LBL_65: %153 = load i64, i64* %rdi, align 8 %154 = call i64 @FUNC(i64 %153, i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_28, i64 0, i64 0), i64 %52, i64 %2, i64 %1) br label LBL_66 LBL_66: %155 = call i64 @FUNC(i64 %4) %156 = and i64 %155, 4294967295 %157 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_29, i64 0, i64 0), i64 %156, i64 %2, i64 %1) br label LBL_67 LBL_67: %158 = and i32 %.reload, -16 %159 = icmp eq i32 %158, 288 br i1 %159, label LBL_68, label LBL_69 LBL_68: %160 = call i64 @FUNC(i64 %5, i64 %4) %161 = trunc i64 %160 to i32 %162 = icmp slt i32 %161, 0 %163 = icmp eq i1 %162, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %163, label LBL_75, label LBL_77 LBL_69: %164 = icmp eq i32 %.reload, 434 %165 = icmp eq i1 %164, false br i1 %165, label LBL_71, label LBL_70 LBL_70: %166 = call i64 @FUNC(i64 %5, i64 %4) br label LBL_75 LBL_71: %167 = icmp eq i32 %.reload, 435 %168 = icmp eq i1 %167, false br i1 %168, label LBL_73, label LBL_72 LBL_72: %169 = call i64 @FUNC(i64 %5, i64 %4) br label LBL_75 LBL_73: %170 = icmp eq i32 %.reload, 436 %171 = icmp eq i1 %170, false br i1 %171, label LBL_75, label LBL_74 LBL_74: %172 = call i64 @FUNC(i64 %5, i64 %4) store i64 %172, i64* %rax.0.reg2mem br label LBL_77 LBL_75: %173 = call i64 @FUNC(i64 %4) store i32 255, i32* %sv_0.0.be.reg2mem br label LBL_76 LBL_76: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %174 = call i64 @FUNC(i64 %4, i64 8) %175 = trunc i64 %174 to i32 %176 = mul i32 %sv_0.0.be.reload, 256 %177 = or i32 %176, %175 store i64 %4, i64* %rdi, align 8 %178 = call i64 @FUNC(i64 %4) %179 = icmp slt i64 %178, %25 store i32 %177, i32* %.reg2mem br i1 %179, label LBL_10, label LBL_6 LBL_77: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %52, { 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, 27 } uselistorder i32 %.reload, { 31, 30, 29, 1, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 33, 0, 32 } uselistorder i64 %25, { 1, 2, 0 } uselistorder i64 %5, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %4, { 15, 14, 16, 13, 12, 11, 10, 9, 8, 7, 0, 1, 2, 3, 5, 4, 6, 17 } uselistorder i64* %rdi, { 1, 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, 0, 2 } uselistorder i64 %2, { 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 } uselistorder i64 %1, { 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 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 3, 2, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 436, { 1, 0 } uselistorder i32 435, { 1, 0 } uselistorder i32 434, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 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 } uselistorder i64 (i64)* @get_bits_count, { 1, 2, 0 } uselistorder i64 (i64, i64)* @decode_vop_header, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 0, 1 } uselistorder i64 8, { 1, 3, 0, 2 } uselistorder i64 (i64)* @align_get_bits, { 1, 0 } uselistorder label LBL_77, { 3, 0, 4, 2, 1, 5 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
ahci_unmap_clb_address_8520
ahci_unmap_clb_address
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i32 %12, -2 store i32 %13, i32* %11, align 4 %14 = load i64, i64* %4, align 8 %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %14, i64 1024, i64 0, i64 1024) store i64 0, i64* %4, align 8 store i64 %2, 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, 1 } uselistorder i64 1024, { 1, 0 } }
0
BinRealVul
jsi_wswrite_10513
jsi_wswrite
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %arg4 to i32 %6 = and i64 %arg5, 4294967295 %7 = call i64 @FUNC(i64 %3, i64 %2, i32 %5, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = add i32 %10, 1 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 %13 = call i32 @time(i32* null) %14 = sext i32 %13 to i64 %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = inttoptr i64 %15 to i32* %18 = load i32, i32* %17, align 4 %19 = add i32 %18, 1 store i32 %19, i32* %17, align 4 %20 = call i32 @time(i32* null) %21 = sext i32 %20 to i64 %22 = add i64 %4, 16 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 br label LBL_3 LBL_2: %24 = add i64 %4, 40 %25 = inttoptr i64 %24 to i32* store i32 -1, i32* %25, align 4 %26 = add i64 %4, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, 1 store i32 %29, i32* %27, align 4 %30 = call i32 @time(i32* null) %31 = sext i32 %30 to i64 %32 = add i64 %4, 32 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = add i64 %4, 16 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i32 %36, 1 store i32 %37, i32* %35, align 4 %38 = call i32 @time(i32* null) %39 = sext i32 %38 to i64 %40 = inttoptr i64 %26 to i64* store i64 %39, i64* %40, align 8 br label LBL_3 LBL_3: %41 = and i64 %7, 4294967295 ret i64 %41 uselistorder i64 %4, { 2, 3, 4, 5, 0, 1 } uselistorder i32 (i32*)* @time, { 3, 2, 1, 0 } }
0
BinRealVul
avcodec_free_context_2669
avcodec_free_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.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_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 24 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %0, 32 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 3, 2, 7, 6, 5, 4, 0 } uselistorder i64 (i64)* @av_freep, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kvm_set_time_scale_9280
kvm_set_time_scale
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.13.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %sv_2.07.reg2mem = alloca i32 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = trunc i64 %arg1 to i32 %3 = mul i32 %2, 1000 %4 = icmp ugt i32 %3, 2000000000 store i32 %3, i32* %sv_2.07.reg2mem store i32 0, i32* %sv_1.06.reg2mem store i32 0, i32* %sv_1.0.lcssa.reg2mem store i32 %3, i32* %sv_2.0.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %5 = ashr i32 %sv_2.07.reload, 1 %6 = add i32 %sv_1.06.reload, -1 %7 = icmp ugt i32 %5, 2000000000 store i32 %5, i32* %sv_2.07.reg2mem store i32 %6, i32* %sv_1.06.reg2mem store i32 %6, i32* %sv_1.0.lcssa.reg2mem store i32 %5, i32* %sv_2.0.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %8 = icmp ugt i32 %sv_2.0.lcssa.reload, 1000000000 store i32 %sv_2.0.lcssa.reload, i32* %sv_0.04.reg2mem store i32 %sv_1.0.lcssa.reload, i32* %sv_1.13.reg2mem store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %9 = mul i32 %sv_0.04.reload, 2 %10 = add i32 %sv_1.13.reload, 1 %11 = icmp ugt i32 %9, 1000000000 store i32 %9, i32* %sv_0.04.reg2mem store i32 %10, i32* %sv_1.13.reg2mem store i32 %10, i32* %sv_1.1.lcssa.reg2mem store i32 %9, i32* %sv_0.0.lcssa.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_4: %12 = ptrtoint i64* %arg2 to i64 %13 = and i64 %arg1, 4294967295 %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %14 = bitcast i64* %arg2 to i32* store i32 %sv_1.1.lcssa.reload, i32* %14, align 4 %15 = zext i32 %sv_0.0.lcssa.reload to i64 %16 = call i64 @FUNC(i64 1000000000, i64 %15) %17 = trunc i64 %16 to i32 %18 = add i64 %12, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = bitcast i64* %rsi to i32* %21 = load i32, i32* %20, align 8 %22 = and i64 %16, 4294967295 %23 = zext i32 %21 to i64 %24 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %23, i64 %22, i64 %1) ret i64 %24 uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.06.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 } uselistorder i32 1000000000, { 1, 0 } uselistorder i32 2000000000, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
snd_timer_stop_3718
snd_timer_stop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %1, i64 0, i64 0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %3, 4294967295 store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %8 = icmp eq i64* %arg1, null %9 = icmp eq i1 %8, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %1, i64 %2) %11 = add i64 %1, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = add i64 %1, 24 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = call i64 @FUNC(i64 %1, i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
qbus_initfn_17069
qbus_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %1, i64 0) %3 = load i64, i64* @gv_2, align 8 %4 = load i64, i64* @gv_3, align 8 %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %3, i64 0) ret i64 %5 }
1
BinRealVul
slab_pad_check_8879
slab_pad_check
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = ptrtoint i32* %arg2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = urem i32 %8, 32 %10 = shl i32 4096, %9 %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = ashr i32 %10, 31 %16 = zext i32 %10 to i64 %17 = zext i32 %15 to i64 %18 = mul i64 %17, 4294967296 %19 = or i64 %18, %16 %20 = zext i32 %14 to i64 %21 = srem i64 %19, %20 %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 1, i64* %rax.0.reg2mem br i1 %24, label LBL_2, label LBL_6 LBL_2: %25 = sext i32 %10 to i64 %26 = add i64 %6, %25 %sext = mul i64 %21, 4294967296 %27 = ashr exact i64 %sext, 32 %28 = sub i64 %26, %27 %29 = and i64 %21, 4294967295 %30 = call i64 @FUNC(i64 %28, i64 170, i64 %29) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %26, i64* %sv_0.0.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %32, label LBL_3, label LBL_6 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %33 = icmp ugt i64 %sv_0.0.reload, %30 %34 = add i64 %sv_0.0.reload, -1 br i1 %33, label LBL_4, label LBL_5 LBL_4: %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, -86 store i64 %34, i64* %sv_0.0.reg2mem br i1 %37, label LBL_3, label LBL_5 LBL_5: %38 = call i64 @FUNC(i64 %11, i64 %5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64 %34) %39 = sub i64 %sv_0.0.reload, %27 %40 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 %29) %41 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 170, i64 %6, i64 %sv_0.0.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 2, 3, 0, 1 } uselistorder i64 %21, { 1, 0, 2 } uselistorder i32 %10, { 2, 0, 1 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
monitor_fdset_dup_fd_find_remove_16216
monitor_fdset_dup_fd_find_remove
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge6.reg2mem = alloca i64 %storemerge7.in11.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32* %0 = trunc i64 %arg1 to i32 store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge12.reg2mem br label LBL_1 LBL_1: %storemerge12.reload = load i32*, i32** %storemerge12.reg2mem %1 = ptrtoint i32* %storemerge12.reload to i64 %2 = add i64 %1, 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %storemerge7.in11.reg2mem br i1 %4, label LBL_2, label LBL_10 LBL_2: %storemerge7.in11.reload = load i64, i64* %storemerge7.in11.reg2mem %storemerge7 = inttoptr i64 %storemerge7.in11.reload to i32* %5 = load i32, i32* %storemerge7, align 4 %6 = icmp eq i32 %5, %0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_9, label LBL_3 LBL_3: %8 = trunc i64 %arg2 to i8 %9 = icmp eq i8 %8, 0 br i1 %9, label LBL_8, label LBL_4 LBL_4: %10 = add i64 %storemerge7.in11.reload, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = add i64 %12, 8 %15 = inttoptr i64 %14 to i64* store i64 %12, i64* %15, align 8 br label LBL_6 LBL_6: %16 = icmp eq i32* %storemerge12.reload, inttoptr (i64 -8 to i32*) %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = call i64 @FUNC(i64 %1) br label LBL_8 LBL_8: %19 = load i32, i32* %storemerge12.reload, align 4 %20 = zext i32 %19 to i64 store i64 %20, i64* %storemerge6.reg2mem br label LBL_11 LBL_9: %21 = add i64 %storemerge7.in11.reload, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge7.in11.reg2mem br i1 %25, label LBL_2, label LBL_10 LBL_10: %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i32* %30 = icmp eq i64 %28, 0 %31 = icmp eq i1 %30, false store i32* %29, i32** %storemerge12.reg2mem store i64 4294967295, i64* %storemerge6.reg2mem br i1 %31, label LBL_1, label LBL_11 LBL_11: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem ret i64 %storemerge6.reload uselistorder i64 %storemerge7.in11.reload, { 0, 2, 1 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32* %storemerge12.reload, { 2, 1, 0 } uselistorder i32** %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge7.in11.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 4, 3, 1, 2, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
reposvul_c_test
cmd_start_58
cmd_start
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %7 = icmp eq i8* %arg2, null br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = trunc i64 %arg3 to i32 %9 = ptrtoint i8* %arg2 to i64 %10 = call i64 @FUNC(i64 %2, i64 %9, i32 %8) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = and i64 %10, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %15 = and i64 %arg3, 2 %16 = icmp eq i64 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_6, label LBL_10 LBL_6: %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %19 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %22, %24 %26 = icmp eq i1 %25, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_10 LBL_7: %27 = and i64 %arg3, 4 %28 = icmp eq i64 %27, 0 %. = select i1 %28, i64 16, i64 8 %29 = add i64 %2, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %24, i64 %.) %33 = load i64, i64* %18, align 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %33, 8 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = add i64 %2, 24 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 32 %42 = icmp eq i1 %41, false br i1 %42, label LBL_9, label LBL_8 LBL_8: store i32 64, i32* %39, align 4 br label LBL_9 LBL_9: %43 = trunc i64 %32 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false %.3 = select i1 %45, i64 0, i64 4294967295 store i64 %.3, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 2, 3, 4, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder i8* %arg2, { 1, 0 } }
0
BinRealVul
hfs_mac2asc_4633
hfs_mac2asc
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_1.210.reg2mem = alloca i64 %sv_0.111.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i64* %storemerge4.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_1.112.reg2mem = alloca i64 %sv_4.013.reg2mem = alloca i32 %sv_0.014.reg2mem = alloca i64 %sv_3.316.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %2) %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp slt i32 %12, 255 %spec.select = select i1 %13, i32 %12, i32 255 %14 = icmp eq i64 %9, 0 br i1 %14, label LBL_3, label LBL_1 LBL_1: %15 = icmp eq i32 %spec.select, 0 %16 = icmp slt i32 %spec.select, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 store i64 %1, i64* %sv_0.2.reg2mem br i1 %19, label LBL_2, label LBL_12 LBL_2: %20 = icmp eq i64 %5, 0 store i64 %1, i64* %sv_0.014.reg2mem store i32 %spec.select, i32* %sv_4.013.reg2mem store i64 %0, i64* %sv_1.112.reg2mem br label LBL_4 LBL_3: %21 = add i32 %spec.select, -1 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false store i32 %21, i32* %.reg2mem store i64 %1, i64* %sv_0.111.reg2mem store i64 %0, i64* %sv_1.210.reg2mem store i64 %1, i64* %sv_0.2.reg2mem br i1 %23, label LBL_11, label LBL_12 LBL_4: %sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem %sv_4.013.reload = load i32, i32* %sv_4.013.reg2mem %sv_0.014.reload = load i64, i64* %sv_0.014.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %sv_3.316.reload = load i32, i32* %sv_3.316.reg2mem %24 = trunc i64 %sv_1.112.reload to i32 %25 = and i64 %sv_1.112.reload, 4294967295 %26 = icmp eq i32 %24, 0 %27 = icmp slt i32 %24, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 %spec.select6 = select i1 %30, i32 %sv_3.316.reload, i32 63 %31 = select i1 %30, i64 %25, i64 1 %sext = mul i64 %31, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = add i64 %32, %sv_1.112.reload %34 = trunc i64 %31 to i32 %35 = sub i32 %sv_4.013.reload, %34 store i64 %33, i64* %sv_1.0.reg2mem store i32 %spec.select6, i32* %sv_3.1.reg2mem store i32 %35, i32* %storemerge4.reg2mem br label LBL_7 LBL_6: %36 = add i64 %sv_1.112.reload, 1 %37 = inttoptr i64 %sv_1.112.reload to i8* %38 = load i8, i8* %37, align 1 %39 = sext i8 %38 to i32 %40 = add i32 %sv_4.013.reload, -1 store i64 %36, i64* %sv_1.0.reg2mem store i32 %39, i32* %sv_3.1.reg2mem store i32 %40, i32* %storemerge4.reg2mem br label LBL_7 LBL_7: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %41 = icmp eq i32 %sv_3.1.reload, 47 %42 = icmp eq i1 %41, false %spec.select8 = select i1 %42, i32 %sv_3.1.reload, i32 58 %43 = zext i32 %spec.select8 to i64 %44 = inttoptr i64 %43 to i64* %45 = icmp slt i32 %spec.select8, 0 %46 = icmp eq i1 %45, false store i64* %44, i64** %sv_2.1.reg2mem br i1 %46, label LBL_10, label LBL_8 LBL_8: %47 = icmp eq i32 %spec.select8, -1 store i64 %sv_0.014.reload, i64* %sv_0.2.reg2mem br i1 %47, label LBL_12, label LBL_9 LBL_9: %48 = inttoptr i64 %sv_0.014.reload to i8* store i8 63, i8* %48, align 1 store i64* inttoptr (i32 1 to i64*), i64** %sv_2.1.reg2mem br label LBL_10 LBL_10: %sv_2.1.reload = load i64*, i64** %sv_2.1.reg2mem %49 = ptrtoint i64* %sv_2.1.reload to i64 %sext3 = mul i64 %49, 4294967296 %50 = ashr exact i64 %sext3, 32 %51 = add i64 %50, %sv_0.014.reload %52 = icmp eq i32 %storemerge4.reload, 0 %53 = icmp slt i32 %storemerge4.reload, 0 %54 = icmp eq i1 %53, false %55 = icmp eq i1 %52, false %56 = icmp eq i1 %54, %55 store i32 %spec.select8, i32* %sv_3.316.reg2mem store i64 %51, i64* %sv_0.014.reg2mem store i32 %storemerge4.reload, i32* %sv_4.013.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.112.reg2mem store i64 %51, i64* %sv_0.2.reg2mem br i1 %56, label LBL_4, label LBL_12 LBL_11: %sv_1.210.reload = load i64, i64* %sv_1.210.reg2mem %sv_0.111.reload = load i64, i64* %sv_0.111.reg2mem %.reload = load i32, i32* %.reg2mem %57 = add i64 %sv_1.210.reload, 1 %58 = inttoptr i64 %sv_1.210.reload to i8* %59 = load i8, i8* %58, align 1 %60 = icmp eq i8 %59, 47 %storemerge5 = select i1 %60, i8 58, i8 %59 %61 = add i64 %sv_0.111.reload, 1 %62 = inttoptr i64 %sv_0.111.reload to i8* store i8 %storemerge5, i8* %62, align 1 %63 = add i32 %.reload, -1 %64 = icmp slt i32 %63, 0 %65 = icmp eq i1 %64, false store i32 %63, i32* %.reg2mem store i64 %61, i64* %sv_0.111.reg2mem store i64 %57, i64* %sv_1.210.reg2mem store i64 %61, i64* %sv_0.2.reg2mem br i1 %65, label LBL_11, label LBL_12 LBL_12: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %66 = sub i64 %sv_0.2.reload, %1 ret i64 %66 uselistorder i32 %spec.select8, { 0, 1, 3, 2 } uselistorder i32 %sv_3.1.reload, { 1, 0 } uselistorder i32 %storemerge4.reload, { 2, 1, 0 } uselistorder i64 %31, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i64 %sv_0.014.reload, { 2, 1, 0 } uselistorder i32 %sv_4.013.reload, { 1, 0 } uselistorder i64 %sv_1.112.reload, { 0, 1, 4, 2, 3 } uselistorder i32 %spec.select, { 3, 0, 1, 2 } uselistorder i64 %1, { 4, 1, 2, 3, 0 } uselistorder i32* %sv_3.316.reg2mem, { 1, 0 } uselistorder i64* %sv_0.014.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.013.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.112.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.111.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.210.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 1, 2, 5, 4 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i32 -1, { 1, 3, 2, 0 } uselistorder i1 false, { 5, 9, 4, 6, 7, 8, 3, 2, 0, 1 } uselistorder i32 0, { 3, 7, 8, 4, 5, 6, 2, 0, 1 } uselistorder i64 (i64)* @HFS_SB, { 1, 0 } uselistorder label LBL_12, { 2, 0, 1, 4, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
hal2_gain_get_4362
hal2_gain_get
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 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %0 to i32 store i64 4294967274, i64* %storemerge.reg2mem switch i32 %2, label LBL_5 [ i32 0, label LBL_1 i32 1, label LBL_3 ] LBL_1: %3 = call i64 @FUNC(i64 %1, i64 0) %4 = and i64 %3, 2 %5 = icmp eq i64 %4, 0 store i32 0, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %6 = trunc i64 %3 to i32 %7 = udiv i32 %6, 8 %8 = urem i32 %7, 32 %9 = xor i32 %8, 31 %10 = udiv i32 %6, 16 %11 = urem i32 %10, 32 %12 = xor i32 %11, 31 store i32 %9, i32* %sv_1.0.reg2mem store i32 %12, i32* %sv_0.0.reg2mem br label LBL_4 LBL_3: %13 = call i64 @FUNC(i64 %1, i64 1) %14 = trunc i64 %13 to i32 %15 = udiv i32 %14, 32 %16 = urem i32 %15, 16 %17 = udiv i32 %14, 64 %18 = urem i32 %17, 16 store i32 %16, i32* %sv_1.0.reg2mem store i32 %18, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %19 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %20 = bitcast i64* %arg2 to i32* store i32 %sv_1.0.reload, i32* %20, align 4 %21 = add i64 %19, 4 %22 = inttoptr i64 %21 to i32* store i32 %sv_0.0.reload, i32* %22, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @hal2_i_read32, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
block_save_pending_3436
block_save_pending
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC() %5 = call i64 @FUNC() %6 = call i64 @FUNC() %7 = load i32, i32* @gv_0, align 4 %8 = mul i32 %7, 4096 %9 = sext i32 %8 to i64 %10 = add i64 %6, %9 %11 = load i32, i32* @gv_1, align 4 %12 = mul i32 %11, 4096 %13 = sext i32 %12 to i64 %14 = add i64 %10, %13 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %sv_0.0.reg2mem br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = load i32, i32* @gv_2, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %spec.select = select i1 %19, i64 %14, i64 4096 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = call i64 @FUNC() %21 = call i64 @FUNC() %22 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %sv_0.0.reload, i64 %10, i64 %3, i64 %2, i64 %1) ret i64 %sv_0.0.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } }
0
BinRealVul
gen_rfe_195
gen_rfe
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = zext i32 %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %0, i64 15, i32 %1) %6 = bitcast i64* %arg1 to i32* store i32 1, i32* %6, align 4 ret i64 %0 }
0
BinRealVul
makedirs_17527
makedirs
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i8* @strdup(i8* %0) %2 = icmp eq i8* %1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %5 = trunc i64 %arg2 to i8 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = call i8* @strrchr(i8* %1, i32 47) %8 = ptrtoint i8* %7 to i64 %9 = icmp eq i8* %7, null store i64 %8, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_4 LBL_4: store i8 0, i8* %7, align 1 br label LBL_5 LBL_5: %10 = ptrtoint i8* %1 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %10) unreachable LBL_7: %15 = bitcast i8* %1 to i64* call void @free(i64* %15) store i64 ptrtoint (i32* @0 to i64), 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 0, 2, 1 } uselistorder i8 0, { 2, 3, 5, 4, 0, 6, 1 } uselistorder i1 false, { 1, 3, 2, 0, 4 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
xmlrpc_send_9810
xmlrpc_send
define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_1.12.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %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_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = call i64 @FUNC() %22 = load i8*, i8** @gv_0, align 8 %23 = icmp eq i8* %22, null %24 = bitcast i64* %sv_4 to i8* br i1 %23, label LBL_4, label LBL_3 LBL_3: %25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %24, i32 1024, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_1, i64 0, i64 0), i8* nonnull %22) br label LBL_5 LBL_4: %26 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %24, i32 1024, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %27 = call i32 @strlen(i8* nonnull %24) %28 = trunc i64 %arg1 to i32 %29 = icmp sgt i32 %28, 0 br i1 %29, label LBL_6, label LBL_11 LBL_6: %30 = ptrtoint i64* %sv_2 to i64 %31 = ptrtoint i64* %sv_3 to i64 store i32 0, i32* %storemerge4.reg2mem store i32 8, i32* %sv_0.13.reg2mem store i64 %31, i64* %sv_1.12.reg2mem br label LBL_7 LBL_7: %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %32 = call i32 @strlen(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0)) %33 = icmp ult i32 %sv_0.13.reload, 48 br i1 %33, label LBL_8, label LBL_9 LBL_8: %34 = zext i32 %sv_0.13.reload to i64 %35 = add i64 %34, %30 %36 = add i32 %sv_0.13.reload, 8 store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem store i32 %36, i32* %sv_0.0.reg2mem store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %37 = add i64 %sv_1.12.reload, 8 store i64 %37, i64* %sv_1.0.reg2mem store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem store i64 %sv_1.12.reload, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %38 = inttoptr i64 %rax.0.reload to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i8* %41 = call i32 @strlen(i8* %40) %42 = call i32 @strlen(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0)) %43 = add nuw nsw i32 %storemerge4.reload, 1 %exitcond = icmp eq i32 %43, %28 store i32 %43, i32* %storemerge4.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.12.reg2mem br i1 %exitcond, label LBL_11, label LBL_7 LBL_11: %44 = call i32 @strlen(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_5, i64 0, i64 0)) %45 = load i32, i32* @gv_6, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = add i64 %21, 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %50) %52 = inttoptr i64 %51 to i8* %53 = call i32 @strlen(i8* %52) %54 = sext i32 %53 to i64 %55 = sext i32 %49 to i64 %56 = add nsw i64 %55, 1 %57 = add nsw i64 %56, %54 %58 = call i64 @FUNC(i64 %57) %59 = inttoptr i64 %58 to i8* %60 = call i8* @strcpy(i8* %59, i8* %52) %61 = inttoptr i64 %21 to i64* %62 = load i64, i64* %61, align 8 %63 = call i32 @strlen(i8* %52) %64 = sext i32 %63 to i64 %65 = add i64 %58, %64 %66 = inttoptr i64 %65 to i64* %67 = inttoptr i64 %62 to i64* %68 = call i64* @memcpy(i64* %66, i64* %67, i32 %49) %69 = call i32 @strlen(i8* %52) %70 = inttoptr i64 %51 to i64* call void @free(i64* %70) %71 = inttoptr i64 %58 to i64* call void @free(i64* %71) store i32 1, i32* @gv_6, align 4 br label LBL_13 LBL_13: %72 = load i8*, i8** @gv_0, align 8 %73 = icmp eq i8* %72, null br i1 %73, label LBL_15, label LBL_14 LBL_14: %74 = bitcast i8* %72 to i64* call void @free(i64* %74) store i8* null, i8** @gv_0, align 8 br label LBL_15 LBL_15: ret i64 %21 uselistorder i64 %58, { 1, 0, 2 } uselistorder i32 %49, { 0, 2, 1 } uselistorder i32 %sv_0.13.reload, { 0, 2, 3, 1 } uselistorder i64 %sv_1.12.reload, { 0, 2, 1 } uselistorder i8* %24, { 0, 2, 1 } uselistorder i64 %21, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 8, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 5, 4, 0, 3, 6, 1, 7, 2 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 2, 0 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
vsock_add_pending_10098
vsock_add_pending
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) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 %3, i64 %2) ret i64 %6 uselistorder i64 (i64)* @sock_hold, { 1, 0 } uselistorder i64 (i64)* @vsock_sk, { 1, 0 } }
0
BinRealVul
drop_sysctl_table_19007
drop_sysctl_table
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = add i32 %2, -1 store i32 %3, i32* %1, align 4 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.1.reg2mem br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = icmp eq i64 %arg1, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %arg1) br label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %arg1) %10 = add i64 %arg1, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, -1 store i32 %13, i32* %11, align 4 %14 = zext i32 %13 to i64 %15 = icmp eq i32 %13, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %arg1, i64 4198699) store i64 %17, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %7, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %arg1) store i64 %18, i64* %rax.1.reg2mem br label LBL_7 LBL_7: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %13, { 1, 0, 2 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i64 %arg1, { 2, 1, 4, 3, 0, 5, 6 } uselistorder label LBL_7, { 1, 2, 0 } }
1
BinRealVul
fuse_setattr_13287
fuse_setattr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i32 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %4) %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967283, i64* %rax.0.shrunk.reg2mem br i1 %16, label LBL_3, label LBL_17 LBL_3: %17 = bitcast i64* %rsi to i32* %storemerge.reload = load i64, i64* %storemerge.reg2mem %18 = and i32 %6, 6 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_11, label LBL_4 LBL_4: %20 = inttoptr i64 %5 to i32* %21 = and i32 %6, -15 %22 = bitcast i64* %arg2 to i32* store i32 %21, i32* %22, align 4 %23 = load i32, i32* %20, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_11, label LBL_5 LBL_5: %26 = add i64 %5, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %4, i64 0, i64 %storemerge.reload) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 store i64 %31, i64* %rax.0.shrunk.reg2mem br i1 %33, label LBL_7, label LBL_17 LBL_7: %34 = inttoptr i64 %4 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %2, 16 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = load i32, i32* %34, align 4 %39 = and i32 %38, 2048 %40 = icmp eq i32 %39, 0 store i32 %38, i32* %.reg2mem br i1 %40, label LBL_9, label LBL_8 LBL_8: %41 = load i32, i32* %17, align 8 %42 = or i32 %41, 8 store i32 %42, i32* %22, align 4 %43 = load i32, i32* %37, align 4 %44 = and i32 %43, -2049 store i32 %44, i32* %37, align 4 %.pre = load i32, i32* %34, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_9 LBL_9: %.reload = load i32, i32* %.reg2mem %45 = and i32 %.reload, 1056 %46 = icmp eq i32 %45, 1056 %47 = icmp eq i1 %46, false br i1 %47, label LBL_11, label LBL_10 LBL_10: %48 = load i32, i32* %17, align 8 %49 = or i32 %48, 8 store i32 %49, i32* %22, align 4 %50 = load i32, i32* %37, align 4 %51 = and i32 %50, -1025 store i32 %51, i32* %37, align 4 br label LBL_11 LBL_11: %52 = load i32, i32* %17, align 8 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %54, label LBL_12, label LBL_17 LBL_12: %55 = call i64 @FUNC(i64 %3, i64 %2, i64 %storemerge.reload) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i64 %55, i64* %rax.0.shrunk.reg2mem br i1 %58, label LBL_17, label LBL_13 LBL_13: %59 = add i64 %5, 8 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_15, label LBL_14 LBL_14: %63 = call i64 @FUNC(i64 %4) br label LBL_15 LBL_15: %64 = call i64 @FUNC(i64 %3) %65 = trunc i64 %64 to i32 %66 = icmp eq i32 %65, 0 %67 = and i32 %52, 8 %68 = icmp eq i32 %67, 0 %or.cond = or i1 %68, %66 store i64 %55, i64* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_17, label LBL_16 LBL_16: %69 = call i64 @FUNC(i64 %3) store i64 %55, i64* %rax.0.shrunk.reg2mem br label LBL_17 LBL_17: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %55, { 2, 1, 0, 3 } uselistorder i32* %37, { 3, 2, 1, 0, 4 } uselistorder i32* %22, { 1, 0, 2 } uselistorder i32* %17, { 2, 1, 0 } uselistorder i32 %6, { 1, 2, 0 } uselistorder i64 %4, { 0, 3, 1, 2, 4 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4, 5, 6 } uselistorder i64 (i64)* @get_fuse_conn, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0, 3, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
blk_rq_map_sg_5343
blk_rq_map_sg
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 store i64 0, i64* %sv_0, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 8 %5 = call i64 @FUNC(i64 %0) %6 = call i64* @memset(i64* %arg3, i32 0, i32 16) %7 = load i64, i64* %sv_0, align 8 store i64 %7, i64* %arg3, align 8 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* store i32 %4, i32* %9, align 4 %10 = add i64 %1, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 ret i64 1 uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } }
0
BinRealVul
GC_generic_malloc_11557
GC_generic_malloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC() %6 = icmp ult i64 %arg1, 256 br i1 %6, label LBL_3, label LBL_4 LBL_3: %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i64 %arg1, i64 %7) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_11 LBL_4: %9 = add i64 %arg1, 7 %10 = and i64 %9, -8 %11 = add i64 %10, 4095 %12 = ashr exact i64 %sext, 30 %13 = add i64 %12, ptrtoint (i32** @gv_1 to i64) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = and i64 %4, 4294967295 %17 = call i64 @FUNC(i64 %10, i64 %16, i64 0) %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_8, label LBL_5 LBL_5: %19 = load i32, i32* @gv_2, align 4 %20 = icmp eq i32 %19, 0 %21 = inttoptr i64 %17 to i64* br i1 %20, label LBL_7, label LBL_6 LBL_6: %22 = trunc i64 %11 to i32 %23 = and i32 %22, -4096 %24 = call i64* @memset(i64* %21, i32 0, i32 %23) br label LBL_8 LBL_7: %25 = udiv i64 %9, 8 store i64 0, i64* %21, align 8 %26 = add i64 %17, 8 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 %28 = add nsw i64 %25, -1 %29 = and i64 %28, -8 %30 = add i64 %17, %29 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %31, align 8 %32 = add nsw i64 %25, -9 %33 = and i64 %32, -8 %34 = add i64 %17, %33 %35 = inttoptr i64 %34 to i64* store i64 0, i64* %35, align 8 br label LBL_8 LBL_8: %36 = load i64, i64* @gv_3, align 8 %37 = add i64 %36, %10 store i64 %37, i64* @gv_3, align 8 %38 = icmp eq i32 %15, 0 store i64 %17, i64* %sv_0.0.reg2mem br i1 %38, label LBL_11, label LBL_9 LBL_9: %39 = load i32, i32* @gv_2, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false %or.cond = or i1 %18, %41 store i64 %17, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: %42 = inttoptr i64 %17 to i64* %43 = trunc i64 %11 to i32 %44 = and i32 %43, -4096 %45 = call i64* @memset(i64* %42, i32 0, i32 %44) store i64 %17, i64* %storemerge.reg2mem br label LBL_13 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = icmp eq i64 %sv_0.0.reload, 0 %47 = icmp eq i1 %46, false store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br i1 %47, label LBL_13, label LBL_12 LBL_12: %48 = call i64 @FUNC() store i64 %48, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %25, { 1, 0 } uselistorder i64* %21, { 1, 0 } uselistorder i64 %17, { 0, 6, 1, 2, 3, 4, 5, 7, 8 } uselistorder i64 %10, { 0, 2, 1 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32* @gv_2, { 1, 0 } uselistorder i32 0, { 0, 4, 5, 1, 6, 7, 2, 3 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_13, { 2, 1, 0 } }
1
BinRealVul
if6_seq_show_9402
if6_seq_show
define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i16* %arg2 to i64 %4 = add i64 %3, 6 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = add i64 %3, 2 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = zext i16 %12 to i64 %14 = urem i64 %1, 65536 %15 = zext i16 %6 to i64 %16 = zext i16 %9 to i64 %17 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %13, i64 %16, i64 %15) ret i64 0 uselistorder i64 %3, { 2, 1, 0 } }
0
BinRealVul
git_remote_disconnect_4506
git_remote_disconnect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 ret i64 %2 uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
can_follow_write_pte_13250
can_follow_write_pte
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = urem i64 %arg2, 4 %5 = icmp eq i64 %4, 3 br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: 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* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
nbd_teardown_connection_4997
nbd_teardown_connection
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2, i64 0, i64 0) %5 = call i64 @FUNC(i64 %arg1) %6 = call i64 @FUNC(i64 %arg1) %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) store i64 0, i64* %8, align 8 %11 = load i64, i64* %1, align 8 %12 = call i64 @FUNC(i64 %11) store i64 0, i64* %1, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %1, { 1, 0, 2 } uselistorder i64 (i64)* @object_unref, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mta_route_unref_18493
mta_route_unref
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 = bitcast i64* %rdi to i32* %3 = trunc i64 %1 to i32 %4 = add i32 %3, -1 %5 = inttoptr i64 %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = load i32, i32* %2, align 8 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %arg1, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %arg1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 1) store i64 %18, 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 %arg1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mp_init_17642
mp_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = call i64* @malloc(i32 40) %1 = ptrtoint i64* %0 to i64 %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 store i64 %2, i64* %arg1, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 4 %4 = add nuw nsw i64 %3, 40 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %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_2, label LBL_1 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %6, 12 %10 = inttoptr i64 %9 to i32* store i32 10, i32* %10, align 4 %11 = add i64 %6, 16 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
blk_mq_sched_tags_teardown_6818
blk_mq_sched_tags_teardown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 8) store i64 1, i64* %0, align 8 %1 = ptrtoint i64* %0 to i64 %2 = call i64 @FUNC(i64 1) store i64 0, i64* %0, align 8 ret i64 %1 }
0
reposvul_c_test
stat_to_v9mode_79
stat_to_v9mode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 512 %5 = and i32 %3, 61440 %6 = icmp eq i32 %5, 16384 %7 = icmp eq i1 %6, false %8 = or i32 %4, 16384 %spec.select = select i1 %7, i32 %4, i32 %8 %9 = icmp eq i32 %5, 40960 %10 = icmp eq i1 %9, false %11 = or i32 %spec.select, 40960 %sv_0.1 = select i1 %10, i32 %spec.select, i32 %11 %12 = icmp eq i32 %5, 49152 %13 = icmp eq i1 %12, false %14 = or i32 %sv_0.1, 49152 %spec.select1 = select i1 %13, i32 %sv_0.1, i32 %14 %15 = icmp eq i32 %5, 4096 %16 = icmp eq i1 %15, false %17 = or i32 %spec.select1, 8192 %sv_0.3 = select i1 %16, i32 %spec.select1, i32 %17 %18 = icmp ne i32 %5, 24576 %19 = icmp eq i32 %5, 8192 %20 = icmp eq i1 %19, false %or.cond = icmp eq i1 %18, %20 %21 = or i32 %sv_0.3, 24576 %sv_0.4 = select i1 %or.cond, i32 %sv_0.3, i32 %21 %22 = and i32 %3, 3584 %23 = or i32 %sv_0.4, %22 %24 = zext i32 %23 to i64 ret i64 %24 uselistorder i32 %5, { 1, 0, 2, 3, 4, 5 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i32 24576, { 1, 0 } uselistorder i32 49152, { 1, 0 } uselistorder i32 40960, { 1, 0 } uselistorder i32 16384, { 1, 0 } }
0
BinRealVul
VectorClamp3_12695
VectorClamp3
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = call i128 @__asm_movss.1(i32 %2) %4 = call i128 @FUNC(i128 %3) %5 = call i128 @FUNC(i32 0) %6 = call i64 @FUNC() %7 = call i32 @__asm_movd.2(i128 %5) %8 = call i128 @FUNC(i32 %7) %9 = call i128 @FUNC(i32 1065353216) %10 = call i64 @FUNC() %11 = call i32 @__asm_movd.2(i128 %9) store i32 %11, i32* %arg1, align 4 %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = call i128 @__asm_movss.1(i32 %15) %17 = call i128 @FUNC(i128 %16) %18 = call i128 @FUNC(i32 0) %19 = call i64 @FUNC() %20 = call i32 @__asm_movd.2(i128 %18) %21 = call i128 @FUNC(i32 %20) %22 = call i128 @FUNC(i32 1065353216) %23 = call i64 @FUNC() %24 = call i32 @__asm_movd.2(i128 %22) store i32 %24, i32* %14, align 4 %25 = add i64 %12, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = call i128 @__asm_movss.1(i32 %27) %29 = call i128 @FUNC(i128 %28) %30 = call i128 @FUNC(i32 0) %31 = call i64 @FUNC() %32 = call i32 @__asm_movd.2(i128 %30) %33 = call i128 @FUNC(i32 %32) %34 = call i128 @FUNC(i32 1065353216) %35 = call i64 @FUNC() %36 = call i32 @__asm_movd.2(i128 %34) %37 = sext i32 %36 to i64 store i32 %36, i32* %26, align 4 ret i64 %37 uselistorder i64 ()* @MinF, { 2, 1, 0 } uselistorder i64 ()* @MaxF, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0 } }
1
BinRealVul
get_moov_size_16274
get_moov_size
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = trunc i64 %0 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %0, 4294967295 store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64 %6, i64 %5, i64 %5) %8 = load i64, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %8) 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 %5, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
mov_read_smi_3932
mov_read_smi
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 8 %7 = add i64 %1, -8 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i32 %arg3, 90 %15 = add i64 %10, 8 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i32 %arg3, 122 %18 = sext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) store i64 %19, i64* %11, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = inttoptr i64 %19 to i32* store i32 860968531, i32* %21, align 4 %22 = add i64 %19, 4 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %24 = load i64, i64* %11, align 8 %25 = add i64 %24, 90 %26 = call i64 @FUNC(i64 %0, i64 %25, i32 %arg3) br label LBL_3 LBL_2: %27 = zext i32 %arg3 to i64 %28 = call i64 @FUNC(i64 %0, i64 %27) br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %0, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 %arg3, { 2, 1, 0, 3 } }
0
BinRealVul
scatterwalk_map_and_copy_4221
scatterwalk_map_and_copy
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa7.reg2mem = alloca i32 %.reg2mem9 = alloca i64 %.reg2mem = alloca i32 %sv_0 = alloca i32, align 4 %0 = trunc i64 %arg4 to i32 store i32 0, i32* %sv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i32* nonnull %sv_0, i64 %2) %4 = load i32, i32* %arg2, align 4 %5 = load i32, i32* %sv_0, align 4 %6 = add i32 %5, %4 %7 = trunc i64 %arg3 to i32 %8 = icmp ugt i32 %6, %7 store i32 %6, i32* %.reg2mem store i64 %2, i64* %.reg2mem9 store i32 %5, i32* %.lcssa7.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %.reload10 = load i64, i64* %.reg2mem9 %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %sv_0, align 4 %9 = call i64 @FUNC(i64 %.reload10) %10 = inttoptr i64 %9 to i32* %11 = call i64 @FUNC(i32* nonnull %sv_0, i64 %9) %12 = load i32, i32* %10, align 4 %13 = load i32, i32* %sv_0, align 4 %14 = add i32 %13, %12 %15 = icmp ugt i32 %14, %7 store i32 %14, i32* %.reg2mem store i64 %9, i64* %.reg2mem9 store i32 %13, i32* %.lcssa7.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_3: %16 = ptrtoint i64* %arg1 to i64 %sext6 = mul i64 %arg5, 4294967296 %17 = ashr exact i64 %sext6, 32 %.lcssa7.reload = load i32, i32* %.lcssa7.reg2mem %18 = sub i32 %7, %.lcssa7.reload %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i32* nonnull %sv_0, i64 %19) %21 = trunc i64 %17 to i32 %22 = call i64 @FUNC(i64 %16, i32* nonnull %sv_0, i32 %0, i32 %21) %23 = and i64 %17, 4294967295 %24 = call i64 @FUNC(i32* nonnull %sv_0, i64 %23, i64 0) store i64 %24, 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 %17, { 1, 0 } uselistorder i32 %7, { 0, 2, 1 } uselistorder i32* %sv_0, { 2, 3, 4, 7, 5, 6, 0, 1, 8 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem9, { 2, 0, 1 } uselistorder i64 (i32*, i64)* @scatterwalk_start, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
r100_cs_parse_18343
r100_cs_parse
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem21 = alloca i32 %sv_0.0.in.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 0, i64 0) %4 = call i64 @FUNC(i64 0, i64 %3) %5 = add i64 %1, 16 %6 = inttoptr i64 %5 to i64* store i64 %3, i64* %6, align 8 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* %9 = bitcast i32* %sv_1 to i64* %10 = add i32 %2, 2 %11 = bitcast i64* %rdi to i32* %12 = add i64 %1, 24 %13 = inttoptr i64 %12 to i64* %14 = add i64 %1, 32 %15 = inttoptr i64 %14 to i32* %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_1 LBL_1: %.reload = load i32, i32* %.reg2mem store i64 %1, i64* %rdi, align 8 %16 = call i64 @FUNC(i64 %1, i64* nonnull %9, i32 %.reload) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = and i64 %16, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_15 LBL_3: %20 = load i32, i32* %8, align 4 %21 = add i32 %10, %20 store i32 %21, i32* %8, align 4 %22 = load i32, i32* %sv_1, align 4 %23 = icmp eq i32 %22, 2 br i1 %23, label LBL_9, label LBL_4 LBL_4: %24 = icmp sgt i32 %22, 2 br i1 %24, label LBL_10, label LBL_5 LBL_5: store i32 %21, i32* %.reg2mem21 switch i32 %22, label LBL_10 [ i32 0, label LBL_6 i32 1, label LBL_14 ] LBL_6: %25 = load i32, i32* %11, align 8 %26 = icmp slt i32 %25, 1 %27 = load i64, i64* %rdi, align 8 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %27, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 br i1 %26, label LBL_8, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %1, i64* nonnull %9, i32 %33, i32 %30, i64 4198877) store i64 %34, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_8: %35 = call i64 @FUNC(i64 %1, i64* nonnull %9, i32 %33, i32 %30, i64 4198896) store i64 %35, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_9: %36 = call i64 @FUNC(i64 %1, i64* nonnull %9) store i64 %36, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_10: %37 = zext i32 %22 to i64 %38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %39 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %38, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %37) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %40 = icmp eq i32 %sv_0.0, 0 br i1 %40, label LBL_11.LBL_14_crit_edge, label LBL_13 LBL_12: %.pre8 = load i32, i32* %8, align 4 store i32 %.pre8, i32* %.reg2mem21 br label LBL_14 LBL_13: %41 = and i64 %sv_0.0.in.reload, 4294967295 store i64 %41, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %.reload22 = load i32, i32* %.reg2mem21 %42 = load i64, i64* %13, align 8 %43 = load i32, i32* %15, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 4 %46 = add i64 %45, %42 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp ult i32 %.reload22, %48 store i32 %.reload22, i32* %.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_1, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload22, { 1, 0 } uselistorder i64 %sv_0.0.in.reload, { 1, 0 } uselistorder i32 %33, { 1, 0 } uselistorder i32 %30, { 1, 0 } uselistorder i64* %9, { 2, 0, 1, 3 } uselistorder i32* %8, { 0, 3, 2, 1 } uselistorder i64 %1, { 4, 0, 1, 6, 7, 3, 2, 5, 8 } uselistorder i64* %rdi, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem21, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 (i64, i64*, i32, i32, i64)* @r100_cs_parse_packet0, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 2, { 1, 0, 2 } }
1
BinRealVul
trace_define_field_18576
trace_define_field
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %0 = call i64 @FUNC(i64 40, i64 0) %cond = icmp eq i64 %0, 0 br i1 %cond, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i8* %arg3 to i64 %2 = call i64 @FUNC(i64 %1, i64 0) %3 = inttoptr i64 %0 to i64* store i64 %2, i64* %3, align 8 %4 = icmp eq i64 %2, 0 br i1 %4, label LBL_1.LBL_6_crit_edge, label LBL_3 LBL_2: %.pre5 = add i64 %0, 8 %.pre6 = inttoptr i64 %.pre5 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem store i64 0, i64* %.reg2mem br label LBL_6 LBL_3: %5 = ptrtoint i8* %arg2 to i64 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = icmp eq i64 %6, 0 br i1 %9, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = load i64, i64* %3, align 8 store i64* %8, i64** %.pre-phi7.reg2mem store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_5: %10 = ptrtoint i64* %arg1 to i64 %11 = trunc i64 %arg4 to i32 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = trunc i64 %arg5 to i32 %15 = add i64 %0, 20 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %0, 24 %18 = call i64 @FUNC(i64 %17, i64 %10) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_6: %.reload = load i64, i64* %.reg2mem %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %19 = call i64 @FUNC(i64 %.reload) %20 = load i64, i64* %.pre-phi7.reload, align 8 %21 = call i64 @FUNC(i64 %20) br label LBL_7 LBL_7: %22 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 7, 2, 3, 4, 5, 0, 6, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } uselistorder i64 (i64, i64)* @kstrdup, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
trgt_box_dump_12060
trgt_box_dump
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %spec.select = select i1 %7, i32 %5, i32 1969974903 store i32 %spec.select, i32* %arg1, align 4 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) store i32 1, i32* %arg1, align 4 %10 = add i64 %8, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i32 %12, i64 %4, i64 %2, i64 %1) %14 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %arg2) ret i64 0 uselistorder i32 %5, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i32* %arg1, { 2, 1, 0 } }
1
BinRealVul
smack_cred_prepare_4592
smack_cred_prepare
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2, i64 %2, i32 %arg3) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = ptrtoint i64* %arg2 to i64 store i64 %3, i64* %arg1, align 8 %7 = add i64 %6, 4 %8 = add i64 %3, 4 %9 = zext i32 %arg3 to i64 %10 = call i64 @FUNC(i64 %8, i64 %7, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_2: %13 = add i64 %6, 8 %14 = add i64 %3, 8 %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %9) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %. = select i1 %17, i64 0, i64 %15 store i64 %., i64* %rax.0.shrunk.reg2mem br label LBL_3 LBL_3: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 }
0
BinRealVul
ff_wma_end_15309
ff_wma_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %.reg2mem6 = alloca i64 %storemerge25.reg2mem = alloca i32 %.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, 0 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge25.reg2mem br label LBL_2 LBL_2: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %6, align 8 %9 = add i64 %8, %.reload %10 = call i64 @FUNC(i64 %9) %11 = add i32 %storemerge25.reload, 1 %12 = sext i32 %11 to i64 %13 = icmp sgt i64 %7, %12 store i64 %12, i64* %.reg2mem store i32 %11, i32* %storemerge25.reg2mem br i1 %13, label LBL_2, label LBL_3 LBL_3: %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %.reg2mem6 store i32 0, i32* %storemerge14.reg2mem br label LBL_4 LBL_4: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %16 = load i64, i64* %15, align 8 %17 = mul i64 %.reload7, 8 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) %22 = add i32 %storemerge14.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %7, %23 store i64 %23, i64* %.reg2mem6 store i32 %22, i32* %storemerge14.reg2mem br i1 %24, label LBL_4, label LBL_5 LBL_5: %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = add i64 %2, 32 %30 = call i64 @FUNC(i64 %29) br label LBL_7 LBL_7: %31 = add i64 %2, 28 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = add i64 %2, 40 %36 = call i64 @FUNC(i64 %35) br label LBL_9 LBL_9: store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %37 = mul i64 %indvars.iv.reload, 8 %38 = add i64 %37, %2 %39 = add i64 %38, 48 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %38, 64 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = add i64 %38, 80 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: ret i64 0 uselistorder i64 %2, { 0, 2, 1, 5, 4, 3, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem6, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @free_vlc, { 2, 1, 0 } uselistorder i64 (i64)* @av_free, { 2, 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
uhci_queue_free_2571
uhci_queue_free
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, -8 %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = add i64 %arg1, 8 br label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_3: %4 = add i64 %arg1, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7, i64 %arg2) %9 = inttoptr i64 %arg1 to i64* call void @free(i64* %9) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %arg1, { 0, 2, 3, 1 } }
0
BinRealVul
spapr_phb_class_init_497
spapr_phb_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = load i64, i64* @gv_0, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 %1, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198669, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i8* store i8 1, i8* %9, align 1 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = or i64 %12, 1 store i64 %13, i64* %11, align 8 store i64 4198676, i64* %arg1, align 8 store i64 4198683, i64* %3, align 8 ret i64 %0 }
0
BinRealVul
check_video_codec_tag_15797
check_video_codec_tag
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = icmp slt i32 %0, 1 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = icmp slt i32 %0, 16 %spec.select = select i1 %2, i64 0, i64 4294967258 ret i64 %spec.select LBL_2: ret i64 4294967258 }
1
BinRealVul
network_init_2437
network_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %2 = mul i64 %.reload, 8 %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64) %4 = icmp eq i32 %storemerge2.reload, 0 %5 = icmp eq i1 %4, false store i8* null, i8** %sv_0.0.reg2mem br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = inttoptr i64 %3 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = inttoptr i64 %7 to i8* %10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i8* null, i8** %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %13 = ptrtoint i8* %sv_0.0.reload to i64 %14 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %13) %15 = add i32 %storemerge2.reload, 1 %16 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %17 = zext i32 %16 to i64 %18 = sext i32 %15 to i64 %19 = icmp slt i64 %18, %17 store i64 %18, i64* %.reg2mem store i32 %15, i32* %storemerge2.reg2mem store i64 %17, i64* %.lcssa.reg2mem br i1 %19, label LBL_1, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* inttoptr (i64 4210724 to i32*), { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
page_mapped_in_vma_8020
page_mapped_in_vma
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = icmp ult i64 %2, %0 store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp uge i64 %2, %6 %spec.select = zext i1 %7 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = call i64 @FUNC(i64 %storemerge.reload) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %1, i64 %13, i64 %2, i64* nonnull %sv_0, i64 1) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = load i64, i64* %sv_0, align 8 %18 = call i64 @FUNC(i64 %14, i64 %17) store i64 1, 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* %sv_0, { 1, 0 } uselistorder i64 %0, { 1, 0, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
uhci_complete_td_7406
uhci_complete_td
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem9 = alloca i32 %.reg2mem7 = alloca i32 %.reg2mem5 = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %rdx = alloca i64, align 8 %4 = load i64, i64* %0 %rcx = alloca i64, align 8 %5 = ptrtoint i32* %arg4 to i64 store i64 %5, i64* %rcx, align 8 %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = urem i32 %9, 2 %11 = icmp eq i32 %10, 0 store i32 %9, i32* %.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i32 %9, -3 store i32 %12, i32* %8, align 4 store i32 %12, i32* %.reg2mem br label LBL_2 LBL_2: %13 = trunc i64 %3 to i8 %14 = trunc i64 %4 to i32 %.reload = load i32, i32* %.reg2mem %15 = icmp slt i32 %14, 0 br i1 %15, label LBL_12, label LBL_3 LBL_3: %16 = bitcast i64* %rdx to i32* %17 = load i32, i32* %16, align 8 %18 = and i32 %.reload, -2048 %19 = add i32 %17, 2047 %20 = and i32 %19, 2041 %21 = or i32 %20, %18 store i32 %21, i32* %8, align 4 %22 = and i32 %19, 8 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = bitcast i64* %rcx to i32* %25 = load i32, i32* %24, align 8 %26 = or i32 %25, 1 store i32 %26, i32* %arg4, align 4 br label LBL_5 LBL_5: %27 = icmp eq i8 %13, 1 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_26, label LBL_6 LBL_6: %29 = trunc i64 %3 to i32 %30 = udiv i32 %29, 2097152 %31 = add nuw nsw i32 %30, 1 %32 = urem i32 %31, 2048 %33 = icmp sgt i32 %17, %32 br i1 %33, label LBL_6.LBL_16_crit_edge, label LBL_8 LBL_7: %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem5 br label LBL_16 LBL_8: %34 = ptrtoint i64* %arg3 to i64 %35 = icmp slt i32 %17, 1 br i1 %35, label LBL_10, label LBL_9 LBL_9: %36 = add i64 %34, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 store i64 %39, i64* %rcx, align 8 %40 = add i64 %6, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43, i64 %39, i32 %17) br label LBL_10 LBL_10: %45 = load i32, i32* %8, align 4 %46 = and i32 %45, 16 %47 = icmp ne i32 %46, 0 %48 = icmp slt i32 %17, %32 %or.cond = icmp eq i1 %48, %47 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_26 LBL_11: %49 = bitcast i64* %rcx to i32* %50 = load i32, i32* %49, align 8 %51 = or i32 %50, 2 store i32 %51, i32* %arg4, align 4 %52 = add i64 %34, 4 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %34, 8 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = load i64, i64* %rcx, align 8 %60 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %58, i32 %54, i64 %59, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_12: store i32 %.reload, i32* %.reg2mem5 store i32 %.reload, i32* %.reg2mem7 switch i32 %14, label LBL_20 [ i32 -1, label LBL_13 i32 -3, label LBL_19 i32 -2, label LBL_16 ] LBL_13: %61 = and i32 %.reload, -67 %62 = or i32 %61, 64 store i32 %62, i32* %8, align 4 %63 = bitcast i64* %rdi to i32* %64 = load i32, i32* %63, align 8 %65 = or i32 %64, 1 store i32 %65, i32* %arg1, align 4 %66 = load i32, i32* %8, align 4 %67 = and i32 %66, 8 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = bitcast i64* %rcx to i32* %70 = load i32, i32* %69, align 8 %71 = or i32 %70, 1 store i32 %71, i32* %arg4, align 4 br label LBL_15 LBL_15: %72 = ptrtoint i32* %arg1 to i64 %73 = call i64 @FUNC(i64 %72) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_16: %.reload6 = load i32, i32* %.reg2mem5 %74 = and i32 %.reload6, -99 %75 = or i32 %74, 96 store i32 %75, i32* %8, align 4 %76 = bitcast i64* %rdi to i32* %77 = load i32, i32* %76, align 8 %78 = or i32 %77, 1 store i32 %78, i32* %arg1, align 4 %79 = load i32, i32* %8, align 4 %80 = and i32 %79, 8 %81 = icmp eq i32 %80, 0 br i1 %81, label LBL_18, label LBL_17 LBL_17: %82 = bitcast i64* %rcx to i32* %83 = load i32, i32* %82, align 8 %84 = or i32 %83, 1 store i32 %84, i32* %arg4, align 4 br label LBL_18 LBL_18: %85 = ptrtoint i32* %arg1 to i64 %86 = call i64 @FUNC(i64 %85) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_19: %87 = or i32 %.reload, 4 store i32 %87, i32* %8, align 4 %88 = icmp eq i8 %13, 2 store i32 %87, i32* %.reg2mem7 store i64 1, i64* %rax.0.reg2mem br i1 %88, label LBL_20, label LBL_26 LBL_20: %.reload8 = load i32, i32* %.reg2mem7 %89 = or i32 %.reload8, 128 store i32 %89, i32* %8, align 4 %90 = udiv i32 %.reload8, 256 %91 = urem i32 %90, 4 %92 = icmp eq i32 %91, 0 store i32 %89, i32* %.reg2mem9 store i32 0, i32* %sv_0.0.reg2mem br i1 %92, label LBL_25, label LBL_21 LBL_21: %93 = add nsw i32 %91, -1 %94 = icmp eq i32 %93, 0 %95 = icmp eq i1 %94, false store i32 %89, i32* %.reg2mem9 store i32 %93, i32* %sv_0.0.reg2mem br i1 %95, label LBL_25, label LBL_22 LBL_22: %96 = and i32 %89, -3 store i32 %96, i32* %8, align 4 %97 = bitcast i64* %rdi to i32* %98 = load i32, i32* %97, align 8 %99 = or i32 %98, 1 store i32 %99, i32* %arg1, align 4 %100 = load i32, i32* %8, align 4 %101 = and i32 %100, 8 %102 = icmp eq i32 %101, 0 br i1 %102, label LBL_24, label LBL_23 LBL_23: %103 = bitcast i64* %rcx to i32* %104 = load i32, i32* %103, align 8 %105 = or i32 %104, 1 store i32 %105, i32* %arg4, align 4 br label LBL_24 LBL_24: %106 = ptrtoint i32* %arg1 to i64 %107 = call i64 @FUNC(i64 %106) %.pre4 = load i32, i32* %8, align 4 store i32 %.pre4, i32* %.reg2mem9 store i32 %93, i32* %sv_0.0.reg2mem br label LBL_25 LBL_25: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload10 = load i32, i32* %.reg2mem9 %108 = and i32 %.reload10, -769 %109 = mul i32 %sv_0.0.reload, 256 %110 = or i32 %109, %108 store i32 %110, i32* %8, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %91, { 1, 0 } uselistorder i32 %89, { 2, 0, 1, 3 } uselistorder i32 %.reload8, { 1, 0 } uselistorder i64 %34, { 2, 1, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i32 %17, { 0, 1, 3, 2, 4 } uselistorder i32 %.reload, { 3, 4, 0, 1, 2 } uselistorder i32 %14, { 1, 0 } uselistorder i32 %9, { 2, 0, 1 } uselistorder i32* %8, { 10, 0, 8, 9, 11, 7, 5, 6, 12, 13, 3, 1, 4, 2, 14 } uselistorder i64* %rcx, { 5, 4, 3, 7, 2, 0, 1, 6 } uselistorder i64* %rdi, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 7, 4, 3, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @uhci_update_irq, { 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } uselistorder i32 8, { 2, 3, 4, 0, 1 } uselistorder i32 -3, { 1, 0, 2 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg4, { 3, 2, 4, 1, 0, 5 } uselistorder i32* %arg1, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_26, { 3, 0, 4, 5, 6, 2, 1 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
dtls1_reset_seq_numbers_9579
dtls1_reset_seq_numbers
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.pre-phi.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg2, 2 %2 = icmp eq i64 %1, 0 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 br i1 %2, label LBL_2, label LBL_1 LBL_1: %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, 1 store i32 %8, i32* %6, align 4 %9 = load i64, i64* %4, align 8 %10 = add i64 %9, 24 %11 = add i64 %9, 16 %12 = inttoptr i64 %10 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %11 to i64* store i64 %13, i64* %14, align 8 %15 = load i64, i64* %4, align 8 %16 = add i64 %15, 24 %17 = inttoptr i64 %16 to i64* %18 = call i64* @memset(i64* %17, i32 0, i32 8) %19 = call i64 @FUNC(i64 %0) store i64* %arg1, i64** %.pre-phi.reg2mem br label LBL_3 LBL_2: %20 = add i64 %5, 8 %21 = inttoptr i64 %20 to i64* store i64 %5, i64* %21, align 8 %22 = load i64, i64* %4, align 8 %23 = add i64 %22, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, 1 store i32 %26, i32* %24, align 4 store i64* %4, i64** %.pre-phi.reg2mem br label LBL_3 LBL_3: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %27 = call i64* @memset(i64* %.pre-phi.reload, i32 0, i32 8) %28 = ptrtoint i64* %27 to i64 ret i64 %28 uselistorder i64 %5, { 1, 2, 0 } uselistorder i64* %4, { 0, 3, 2, 1, 4 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } }
0
BinRealVul
rtc_class_initfn_1755
rtc_class_initfn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8 %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
mxf_read_sequence_623
mxf_read_sequence
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i32 %arg3, 4097 br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = icmp sgt i32 %arg3, 4097 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_2 LBL_2: %4 = icmp eq i32 %arg3, 513 br i1 %4, label LBL_5, label LBL_3 LBL_3: %5 = icmp eq i32 %arg3, 514 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_7, label LBL_4 LBL_4: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %8 = add i64 %1, 8 %9 = call i64 @FUNC(i64 %0, i64 %8, i64 16) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %10 = call i64 @FUNC(i64 %0) %11 = and i64 %10, 4294967295 %12 = add i64 %1, 24 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 store i64 4294967295, 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 %0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 4097, { 1, 0 } uselistorder i32 %arg3, { 2, 1, 0, 3 } uselistorder label LBL_7, { 4, 3, 2, 1, 0 } }
0
BinRealVul
init_sb_info_8672
init_sb_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i32 %storemerge24.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = add i64 %2, 12 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = urem i32 %13, 32 %17 = shl i32 1, %16 %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = load i32, i32* %7, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i32 %24 = add i64 %2, 20 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = urem i32 %23, 32 %27 = shl i32 1, %26 %28 = add i64 %2, 24 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = load i32, i32* %15, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = add i64 %2, 28 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = load i32, i32* %19, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 %40 = add i64 %2, 32 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i32, i32* %25, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i32 %46 = add i64 %2, 36 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = load i32, i32* %29, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49) %51 = udiv i64 %50, 2 %52 = load i32, i32* %29, align 4 %53 = trunc i64 %51 to i32 %54 = urem i32 %53, -2147483648 %55 = mul i32 %52, 128 %56 = mul i32 %55, %54 %57 = add i64 %2, 40 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 %59 = load i32, i32* %35, align 4 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = add i64 %2, 44 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = load i32, i32* %41, align 4 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %66) %68 = trunc i64 %67 to i32 %69 = add i64 %2, 48 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = load i32, i32* %47, align 4 %72 = zext i32 %71 to i64 %73 = call i64 @FUNC(i64 %72) %74 = trunc i64 %73 to i32 %75 = add i64 %2, 52 %76 = inttoptr i64 %75 to i32* store i32 %74, i32* %76, align 4 %77 = add i64 %2, 56 %78 = inttoptr i64 %77 to i64* store i64 0, i64* %78, align 8 %79 = add i64 %2, 64 %80 = inttoptr i64 %79 to i32* store i32 10, i32* %80, align 4 %81 = add i64 %2, 68 %82 = inttoptr i64 %81 to i32* store i32 3, i32* %82, align 4 %83 = add i64 %2, 72 %84 = inttoptr i64 %83 to i32* store i32 1000, i32* %84, align 4 %85 = add i64 %2, 76 %86 = inttoptr i64 %85 to i32* store i32 500, i32* %86, align 4 %87 = call i64 @FUNC(i64 %2, i64 1) %88 = add i64 %2, 80 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %89 = mul i64 %indvars.iv.reload, 4 %90 = add i64 %88, %89 %91 = call i64 @FUNC(i64 %90, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond8, label LBL_2, label LBL_1 LBL_2: %92 = add i64 %2, 120 %93 = call i64 @FUNC(i64 %92, i64 0) %94 = add i64 %2, 128 %95 = call i64 @FUNC(i64 %94) %96 = add i64 %2, 144 %97 = call i64 @FUNC(i64 %96) store i32 0, i32* %storemerge5.reg2mem br label LBL_5 LBL_3: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %98 = call i64 @FUNC(i64 %96) %99 = add nuw nsw i32 %storemerge24.reload, 1 %exitcond = icmp eq i32 %99, 3 store i32 %99, i32* %storemerge24.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %100 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond7 = icmp eq i32 %100, 4 store i32 %100, i32* %storemerge5.reg2mem br i1 %exitcond7, label LBL_6, label LBL_5 LBL_5: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem store i32 0, i32* %storemerge24.reg2mem br label LBL_3 LBL_6: %101 = call i64 @FUNC(i64 %96) ret i64 %101 uselistorder i64 %2, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 21 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge24.reg2mem, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @mutex_init, { 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
initOpensslLocks_13178
initOpensslLocks
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1) store i64 %0, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) ret i64 1 }
1
BinRealVul
simple_empty_12635
simple_empty
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = add i64 %arg1, 16 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %arg1, 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %storemerge1.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %5 = add i64 %storemerge1.reload, 16 %6 = call i64 @FUNC(i64 %5, i64 1) %7 = call i64 @FUNC(i64 %storemerge1.reload) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = call i64 @FUNC(i64 %5) store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %11 = add i64 %storemerge1.reload, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge1.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %15, label LBL_1, label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = call i64 @FUNC(i64 %0) ret i64 %sv_0.0.reload uselistorder i64 %storemerge1.reload, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
av_tempfile_17072
av_tempfile
define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.in.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_1, align 8 %3 = call i8* @tempnam(i8* null, i8* %arg1) %4 = icmp eq i8* %3, null %5 = icmp eq i1 %4, false store i8* %3, i8** %sv_0.0.in.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i8* @tempnam(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* %arg1) store i8* %6, i8** %sv_0.0.in.reg2mem br label LBL_2 LBL_2: %sv_0.0.in.reload = load i8*, i8** %sv_0.0.in.reg2mem %sv_0.0 = ptrtoint i8* %sv_0.0.in.reload to i64 %7 = call i64 @FUNC(i64 %sv_0.0) store i64 %7, i64* %arg2, align 8 %8 = bitcast i8* %sv_0.0.in.reload to i64* call void @free(i64* %8) %9 = icmp eq i8* %arg1, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) store i32 -12, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_4: %12 = call i32 (i8*, i32, ...) @open(i8* %arg1, i32 194) %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i32 %12, i32* %rax.0.shrunk.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i32* @__errno_location() %16 = load i32, i32* %15, align 4 %17 = sub i32 0, %16 %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 194, i64 %2, i64 %1) store i32 %17, i32* %rax.0.shrunk.reg2mem br label LBL_6 LBL_6: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i8* %sv_0.0.in.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
1
BinRealVul
kvm_reset_vcpu_14147
kvm_reset_vcpu
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_1 to i64*), i32 1, i32 29, %_IO_FILE* %5) call void @abort() unreachable LBL_2: ret i64 %2 }
1
BinRealVul
pms_change_state_17754
pms_change_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp eq i32 %3, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = trunc i64 %4 to i32 %7 = icmp sgt i32 %6, 0 %8 = or i32 %6, 1 %9 = icmp eq i32 %8, 3 %or.cond = icmp eq i1 %7, %9 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_12, label LBL_15 LBL_2: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 1 %12 = icmp eq i1 %11, false store i64 16, i64* %storemerge.reg2mem br i1 %12, label LBL_3, label LBL_15 LBL_3: %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %19 to i64 %24 = zext i32 %22 to i64 %25 = call i64 @FUNC(i64 %24, i64 %23, i64 1) %26 = load i32, i32* %18, align 4 %27 = load i32, i32* %21, align 4 %28 = zext i32 %26 to i64 %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 %29, i64 %28) store i8 -1, i8* %sv_2, align 1 %31 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* nonnull %sv_1, i64 2) %32 = call i64 @FUNC(i64 %2) %33 = trunc i64 %32 to i32 %34 = add i64 %2, 20 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 store i8 -12, i8* %sv_2, align 1 %36 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* null, i64 0) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_5, label LBL_4 LBL_4: %39 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) br label LBL_5 LBL_5: store i8 -24, i8* %sv_0, align 1 %40 = load i32, i32* %18, align 4 %41 = load i32, i32* %21, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42, i32 %40, i8* nonnull %sv_0, i64 2, i64 0, i64 1) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = and i64 %43, 4294967295 %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %46) br label LBL_7 LBL_7: store i8 -26, i8* %sv_0, align 1 %48 = load i32, i32* %18, align 4 %49 = load i32, i32* %21, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %50, i32 %48, i8* nonnull %sv_0, i64 1, i64 0, i64 1) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_9, label LBL_8 LBL_8: %54 = and i64 %51, 4294967295 %55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %54) br label LBL_9 LBL_9: store i8 -23, i8* %sv_0, align 1 %56 = load i32, i32* %18, align 4 %57 = load i32, i32* %21, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58, i32 %56, i8* nonnull %sv_0, i64 2, i64 0, i64 1) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 br i1 %61, label LBL_11, label LBL_10 LBL_10: %62 = and i64 %59, 4294967295 %63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %62) br label LBL_11 LBL_11: %64 = trunc i64 %4 to i32 %65 = bitcast i64* %arg1 to i32* store i32 %64, i32* %65, align 4 %66 = add i64 %2, 24 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_12: store i8 -11, i8* %sv_2, align 1 %68 = call i64 @FUNC(i64 %2, i8* nonnull %sv_2, i64 1, i64* null, i64 0) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_14, label LBL_13 LBL_13: %71 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0)) br label LBL_14 LBL_14: %72 = add i64 %2, 16 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = add i64 %2, 12 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = zext i32 %74 to i64 %79 = zext i32 %77 to i64 %80 = call i64 @FUNC(i64 %79, i64 %78, i64 0) %81 = bitcast i64* %arg1 to i32* store i32 %6, i32* %81, align 4 %82 = icmp eq i32 %6, 3 %83 = zext i1 %82 to i32 %84 = add i64 %2, 24 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 1, 2, 3, 0 } uselistorder i8* %sv_2, { 0, 3, 1, 4, 2, 5 } uselistorder i8* %sv_0, { 0, 3, 1, 4, 2, 5 } uselistorder i64 %2, { 0, 2, 1, 3, 4, 5, 8, 7, 6, 10, 9, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 } uselistorder i64 (i64, i32, i8*, i64, i64, i64)* @pckbc_enqueue_cmd, { 2, 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i64* null, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64*, i64)* @pms_cmd, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @pckbc_slot_enable, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_15, { 2, 1, 3, 0 } }
1
BinRealVul
vnc_sasl_client_cleanup_16769
vnc_sasl_client_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 %14 = add i64 %0, 48 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 56 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i64* call void @free(i64* %21) store i64 0, i64* %19, align 8 store i64 0, i64* %15, align 8 %22 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9 } uselistorder void (i64*)* @free, { 1, 0 } }
1
BinRealVul
zoran_dqbuf_7534
zoran_dqbuf
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = trunc i64 %4 to i32 %12 = trunc i64 %3 to i32 br i1 %10, label LBL_2, label LBL_1 LBL_1: %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_8, label LBL_14 LBL_2: %16 = icmp eq i32 %11, 1 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = and i64 %4, 4294967295 %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 0, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_15 LBL_4: %19 = add i64 %5, 2088 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = mul i32 %21, 4 %narrow4 = and i32 %22, 1020 %23 = add nuw nsw i32 %narrow4, 2080 %24 = zext i32 %23 to i64 %25 = add i64 %5, 12 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i32 %12, 2048 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = sext i32 %28 to i64 %32 = mul i64 %31, 4 %33 = add i64 %5, 40 %34 = add i64 %33, %32 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 store i64 4294967285, i64* %sv_0.0.reg2mem br i1 %37, label LBL_6, label LBL_15 LBL_6: %38 = zext i32 %28 to i64 %39 = call i64 @FUNC(i64 %5, i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i64 %39, i64* %sv_0.0.reg2mem br i1 %42, label LBL_15, label LBL_7 LBL_7: %43 = load i32, i32* %20, align 4 %44 = add i32 %43, 1 store i32 %44, i32* %20, align 4 %45 = ptrtoint i32* %arg3 to i64 %46 = call i64 @FUNC(i64 %5, i64 %45, i32 %28) store i64 %46, i64* %sv_0.0.reg2mem br label LBL_15 LBL_8: %47 = icmp eq i32 %9, 2 %48 = icmp eq i1 %47, false %. = select i1 %48, i32 1, i32 2 %49 = icmp eq i32 %., %11 br i1 %49, label LBL_10, label LBL_9 LBL_9: %50 = zext i32 %9 to i64 %51 = and i64 %4, 4294967295 %52 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %51, i64 %50, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_15 LBL_10: %53 = and i32 %12, 2048 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = add i64 %5, 3116 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = mul i32 %57, 4 %narrow = and i32 %58, 1020 %59 = add nuw nsw i32 %narrow, 3120 %60 = zext i32 %59 to i64 %61 = add i64 %60, %5 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = sext i32 %63 to i64 %65 = mul i64 %64, 4 %66 = add i64 %5, 1064 %67 = add i64 %66, %65 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = icmp eq i32 %69, 0 store i64 4294967285, i64* %sv_0.0.reg2mem br i1 %70, label LBL_12, label LBL_15 LBL_12: %71 = bitcast i32* %sv_1 to i64* %72 = call i64 @FUNC(i64 %5, i64* nonnull %71) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 %72, i64* %sv_0.0.reg2mem br i1 %75, label LBL_15, label LBL_13 LBL_13: %76 = load i32, i32* %sv_1, align 4 %77 = ptrtoint i32* %arg3 to i64 %78 = call i64 @FUNC(i64 %5, i64 %77, i32 %76) store i64 %78, i64* %sv_0.0.reg2mem br label LBL_15 LBL_14: %79 = and i64 %4, 4294967295 %80 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %79, i64 %2, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %81 = call i64 @FUNC(i64 %5) %82 = and i64 %sv_0.0.reload, 4294967295 ret i64 %82 uselistorder i32* %20, { 1, 0, 2 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %9, { 2, 1, 3, 0, 4 } uselistorder i64 %5, { 7, 3, 4, 2, 0, 5, 6, 8, 1, 10, 9, 11, 12 } uselistorder i64 %4, { 1, 2, 3, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 4, 5, 1, 3, 8, 9, 2, 7 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @zoran_v4l2_buffer_status, { 1, 0 } uselistorder i32 1020, { 1, 0 } uselistorder i64 4294967274, { 1, 0, 2 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @dprintk, { 2, 1, 0 } uselistorder i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), { 1, 2, 0 } uselistorder i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_15, { 4, 5, 2, 0, 6, 7, 3, 1, 8 } }
1
BinRealVul
vcpu_restore_fpu_lazy_12230
vcpu_restore_fpu_lazy
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = urem i64 %3, 256 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC() %9 = trunc i64 %1 to i8 %10 = urem i64 %1, 256 %11 = icmp eq i8 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = load i8, i8* inttoptr (i64 4210732 to i8*), align 4 %14 = icmp eq i8 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %2, i64 0) %.pre = add i64 %2, 1 %.pre2 = inttoptr i64 %.pre to i8* store i8* %.pre2, i8** %.pre-phi3.reg2mem br label LBL_6 LBL_3: %16 = add i64 %2, 1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %2) store i8* %17, i8** %.pre-phi3.reg2mem br label LBL_6 LBL_5: %21 = call i64 @FUNC() store i8* %17, i8** %.pre-phi3.reg2mem br label LBL_6 LBL_6: %.pre-phi3.reload = load i8*, i8** %.pre-phi3.reg2mem store i8 1, i8* %.pre-phi3.reload, align 1 store i8 1, i8* %arg1, align 1 store i64 %2, 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 i8* %17, { 1, 0, 2 } uselistorder i64 %2, { 0, 4, 2, 1, 3, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i8** %.pre-phi3.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
prores_encode_close_15018
prores_encode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0) %5 = inttoptr i64 %3 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %3, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) ret i64 0 uselistorder i64 (i64)* @av_free, { 2, 1, 0 } }
1
BinRealVul
js_ppfile_12530
js_ppfile
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i64 0) %4 = call i32 @fclose(%_IO_FILE* null) %5 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %6 = inttoptr i64 %arg2 to i8* %7 = call %_IO_FILE* @fopen(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %8 = icmp eq %_IO_FILE* %7, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %arg2) unreachable LBL_4: %11 = call i32 @fseek(%_IO_FILE* %7, i32 0, i32 2) %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i32 @fclose(%_IO_FILE* %7) %15 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) unreachable LBL_6: %16 = call i32 @ftell(%_IO_FILE* %7) %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = call i32 @fclose(%_IO_FILE* %7) %20 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %arg2) unreachable LBL_8: %21 = call i32 @fseek(%_IO_FILE* %7, i32 0, i32 0) %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i32 @fclose(%_IO_FILE* %7) %25 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) unreachable LBL_10: %26 = add i32 %16, 1 %27 = sext i32 %26 to i64 %28 = call i64 @FUNC(i64 %arg1, i64 %27) %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_12, label LBL_11 LBL_11: %31 = call i32 @fclose(%_IO_FILE* %7) %32 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i64 %arg2) unreachable LBL_12: %33 = inttoptr i64 %28 to i64* %34 = call i32 @fread(i64* %33, i32 1, i32 %16, %_IO_FILE* %7) %35 = icmp eq i32 %34, %16 br i1 %35, label LBL_14, label LBL_13 LBL_13: %36 = call i64 @FUNC(i64 %arg1, i64 %28) %37 = call i32 @fclose(%_IO_FILE* %7) %38 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %arg2) unreachable LBL_14: %39 = sext i32 %16 to i64 %40 = add i64 %28, %39 %41 = inttoptr i64 %40 to i8* store i8 0, i8* %41, align 1 %42 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %28, i32 %arg3) %43 = call i64 @FUNC(i64 %arg1) %44 = call i64 @FUNC(i64 %arg1, i64 %28) %45 = call i32 @fclose(%_IO_FILE* %7) %46 = sext i32 %45 to i64 ret i64 %46 uselistorder i64 %28, { 2, 1, 0, 3, 4, 5 } uselistorder i32 %16, { 0, 2, 1, 3, 4 } uselistorder %_IO_FILE* %7, { 2, 1, 3, 4, 0, 5, 6, 7, 8, 9, 10 } uselistorder i8 0, { 1, 0 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @js_error, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @js_free, { 2, 1, 0 } uselistorder i32 0, { 3, 0, 1, 4, 5, 2, 6 } uselistorder i64 %arg2, { 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i64 %arg1, { 11, 10, 9, 8, 7, 6, 12, 5, 4, 3, 2, 1, 0, 13 } }
1
BinRealVul
disable_each_ist_13338
disable_each_ist
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = call i64 @FUNC(i64 %0, i64 0) ret i64 %3 uselistorder i64 (i64, i64)* @set_ist, { 2, 1, 0 } }
1
BinRealVul
x11_init_protocol_12330
x11_init_protocol
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %sv_0.01.reg2mem store i64 %0, i64* %rax.0.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %3 = add i64 %sv_0.01.reload, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %sv_0.01.reload, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %sv_0.01.reload to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %sv_0.01.reload) %14 = icmp eq i64 %12, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %sv_0.01.reg2mem store i64 %13, i64* %rax.0.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_2 LBL_2: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem store i64 0, i64* @gv_0, align 8 ret i64 %rax.0.lcssa.reload uselistorder i64 %sv_0.01.reload, { 1, 0, 2, 3 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @g_hash_table_destroy, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
xdr_krb5_tl_data_18127
xdr_krb5_tl_data
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rax.0.ph.shrunk.reg2mem = alloca i1 %storemerge38.reg2mem = alloca i64 %storemerge413.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 2 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i32* nonnull %sv_1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge38.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_10, label LBL_18 LBL_2: %9 = icmp sgt i32 %2, 2 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_18, label LBL_3 LBL_3: %10 = ptrtoint i64* %arg2 to i64 store i64 1, i64* %rax.0.reg2mem switch i32 %2, label LBL_18 [ i32 0, label LBL_5 i32 1, label LBL_4 ] LBL_4: %11 = icmp eq i64* %arg2, null %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i32 store i32 %13, i32* %sv_1, align 4 %14 = ptrtoint i32* %arg1 to i64 %15 = call i64 @FUNC(i64 %14, i32* nonnull %sv_1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %brmerge10 = or i1 %11, %17 %not.11 = icmp ne i1 %17, true store i64 %10, i64* %storemerge413.reg2mem store i1 %not.11, i1* %rax.0.ph.shrunk.reg2mem br i1 %brmerge10, label LBL_17, label LBL_7 LBL_5: %18 = icmp eq i64* %arg2, null %19 = icmp eq i1 %18, false store i64 %10, i64* %storemerge29.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_18 LBL_6: %storemerge29.reload = load i64, i64* %storemerge29.reg2mem %20 = add i64 %storemerge29.reload, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %storemerge29.reload, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* call void @free(i64* %26) %27 = inttoptr i64 %storemerge29.reload to i64* call void @free(i64* %27) %28 = icmp eq i64 %22, 0 %29 = icmp eq i1 %28, false store i64 %22, i64* %storemerge29.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %29, label LBL_6, label LBL_18 LBL_7: %storemerge413.reload = load i64, i64* %storemerge413.reg2mem %30 = call i64 @FUNC(i64 %14, i64 %storemerge413.reload) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i1 false, i1* %rax.0.ph.shrunk.reg2mem br i1 %33, label LBL_8, label LBL_17 LBL_8: %34 = add i64 %storemerge413.reload, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 store i32 %36, i32* %sv_0, align 4 %37 = add i64 %storemerge413.reload, 8 %38 = call i64 @FUNC(i64 %14, i64 %37, i32* nonnull %sv_0, i64 4294967295) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i1 false, i1* %rax.0.ph.shrunk.reg2mem br i1 %41, label LBL_9, label LBL_17 LBL_9: %42 = add i64 %storemerge413.reload, 16 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %44, 0 %46 = icmp eq i1 %45, false %47 = zext i1 %46 to i32 store i32 %47, i32* %sv_1, align 4 %48 = call i64 @FUNC(i64 %14, i32* nonnull %sv_1) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 %brmerge = or i1 %45, %50 store i64 %44, i64* %storemerge413.reg2mem br i1 %brmerge, label LBL_16, label LBL_7 LBL_10: %storemerge38.reload = load i64, i64* %storemerge38.reg2mem %51 = load i32, i32* %sv_1, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_15, label LBL_11 LBL_11: %53 = call i64* @malloc(i32 24) %54 = icmp eq i64* %53, null %55 = icmp eq i1 %54, false store i64 0, i64* %rax.0.reg2mem br i1 %55, label LBL_12, label LBL_18 LBL_12: %56 = ptrtoint i64* %53 to i64 %57 = call i64* @memset(i64* %53, i32 0, i32 24) %58 = call i64 @FUNC(i64 %4, i64 %56) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_13, label LBL_18 LBL_13: %62 = add i64 %56, 8 %63 = call i64 @FUNC(i64 %4, i64 %62, i32* nonnull %sv_0, i64 4294967295) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false store i64 0, i64* %rax.0.reg2mem br i1 %66, label LBL_14, label LBL_18 LBL_14: %67 = load i32, i32* %sv_0, align 4 %68 = add i64 %56, 4 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = add i64 %56, 16 %71 = inttoptr i64 %70 to i64* store i64 %storemerge38.reload, i64* %71, align 8 %72 = call i64 @FUNC(i64 %4, i32* nonnull %sv_1) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 %56, i64* %storemerge38.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_10, label LBL_18 LBL_15: store i64 %storemerge38.reload, i64* %arg2, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_18 LBL_16: %not..le = icmp ne i1 %50, true store i1 %not..le, i1* %rax.0.ph.shrunk.reg2mem br label LBL_17 LBL_17: %rax.0.ph.shrunk.reload = load i1, i1* %rax.0.ph.shrunk.reg2mem %rax.0.ph = zext i1 %rax.0.ph.shrunk.reload to i64 store i64 %rax.0.ph, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %53, { 0, 2, 1 } uselistorder i64 %storemerge38.reload, { 1, 0 } uselistorder i64 %storemerge413.reload, { 0, 2, 1, 3 } uselistorder i64 %storemerge29.reload, { 0, 2, 1 } uselistorder i64 %14, { 3, 1, 2, 0 } uselistorder i1 %11, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %4, { 3, 1, 2, 0 } uselistorder i32 %2, { 2, 1, 0 } uselistorder i32* %sv_1, { 3, 5, 4, 6, 0, 1, 2 } uselistorder i32* %sv_0, { 2, 0, 1, 3 } uselistorder i64* %storemerge29.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge413.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge38.reg2mem, { 2, 0, 1 } uselistorder i1* %rax.0.ph.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 10, 2, 5, 4, 3, 1, 6, 11, 9, 7 } uselistorder i64 (i64, i64, i32*, i64)* @xdr_bytes, { 1, 0 } uselistorder i64 (i64, i64)* @xdr_krb5_int16, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64* null, { 2, 0, 1 } uselistorder i64 1, { 3, 0, 1, 4, 2, 5, 6, 7 } uselistorder i1 false, { 8, 5, 6, 7, 11, 0, 9, 1, 10, 12, 3, 2, 4 } uselistorder i64 (i64, i32*)* @xdr_bool, { 3, 2, 0, 1 } uselistorder i64* %arg2, { 2, 0, 1, 3 } uselistorder label LBL_18, { 7, 9, 1, 4, 3, 2, 0, 5, 10, 8, 6 } uselistorder label LBL_17, { 2, 0, 1, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
FixExtensionMap_11919
FixExtensionMap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %.reg2mem = alloca i16 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = zext i32 %5 to i64 %9 = and i64 %1, 4294967295 %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %8) call void @exit(i32 255) unreachable LBL_2: %11 = icmp sgt i32 %5, 212 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = zext i32 %5 to i64 %13 = and i64 %1, 4294967295 %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %12) call void @exit(i32 255) unreachable LBL_4: %15 = sext i32 %5 to i64 %16 = add nsw i64 %15, 8589934380 %17 = udiv i64 %16, 2 %18 = trunc i64 %17 to i32 %19 = add i64 %2, 12 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = icmp eq i16 %21, 0 %23 = icmp slt i32 %18, 0 %or.cond1 = or i1 %23, %22 store i32 0, i32* %sv_0.0.lcssa.reg2mem store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %or.cond1, label LBL_10, label LBL_5 LBL_5: %sext = mul i64 %17, 4294967296 %24 = ashr exact i64 %sext, 32 %25 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i16 %21, i16* %.reg2mem store i32 0, i32* %sv_0.02.reg2mem br label LBL_6 LBL_6: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %.reload = load i16, i16* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = icmp ult i16 %.reload, 101 %.pre = zext i16 %.reload to i64 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %.pre, i64 100) br label LBL_8 LBL_8: %28 = mul i64 %.pre, 4 %29 = add i64 %28, ptrtoint (i32** @gv_3 to i64) %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i32 %31, %sv_0.02.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = mul i64 %indvars.iv.next, 2 %34 = add i64 %33, %19 %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = icmp eq i16 %36, 0 %38 = icmp sge i64 %indvars.iv.reload, %24 %or.cond = or i1 %38, %37 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i16 %36, i16* %.reg2mem store i32 %32, i32* %sv_0.02.reg2mem br i1 %or.cond, label LBL_9, label LBL_6 LBL_9: %39 = trunc i64 %indvars.iv.next to i32 store i32 %32, i32* %sv_0.0.lcssa.reg2mem store i32 %39, i32* %storemerge.lcssa.reg2mem br label LBL_10 LBL_10: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %40 = add i64 %2, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %sv_0.0.lcssa.reload, %42 br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = zext i32 %sv_0.0.lcssa.reload to i64 %45 = zext i32 %42 to i64 %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_4, i64 0, i64 0), i64 %45, i64 %44) store i32 %sv_0.0.lcssa.reload, i32* %41, align 4 br label LBL_12 LBL_12: %47 = zext i32 %storemerge.lcssa.reload to i64 %48 = icmp eq i32 %storemerge.lcssa.reload, %18 store i64 %47, i64* %rax.0.reg2mem br i1 %48, label LBL_15, label LBL_13 LBL_13: %49 = sub i32 %18, %storemerge.lcssa.reload %50 = icmp eq i32 %49, 1 store i64 1, i64* %rax.0.reg2mem br i1 %50, label LBL_15, label LBL_14 LBL_14: %51 = bitcast i64* %rdi to i32* %52 = load i32, i32* %51, align 8 %53 = and i64 %17, 4294967295 %54 = zext i32 %52 to i64 %55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_5, i64 0, i64 0), i64 %54, i64 %53, i64 %47) %56 = sext i32 %55 to i64 store i64 %56, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %47, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 2, 0 } uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv.next, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i16 %.reload, { 1, 0 } uselistorder i32 %18, { 2, 1, 0 } uselistorder i64 %17, { 2, 0, 1 } uselistorder i32 %5, { 1, 2, 3, 4, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i16* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i16 0, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 3, 0, 2, 4 } uselistorder i64 4294967295, { 3, 0, 1, 2 } uselistorder i32 0, { 2, 0, 1, 3, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
line6_toneport_disconnect_5884
line6_toneport_disconnect
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
jas_matrix_clip_18988
jas_matrix_clip
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.lcssa.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %storemerge4.in8.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i32 %storemerge11.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i32 %4, 0 %11 = icmp slt i32 %4, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 store i64 %9, i64* %rax.0.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_9 LBL_1: %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = trunc i64 %arg2 to i32 %18 = trunc i64 %arg3 to i32 %sext5 = mul i64 %3, 4294967296 %19 = ashr exact i64 %sext5, 30 store i64 %9, i64* %storemerge11.reg2mem store i32 %4, i32* %sv_1.010.reg2mem br label LBL_2 LBL_2: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %20 = load i32, i32* %16, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp slt i32 %20, 0 %23 = icmp eq i1 %22, false %24 = icmp eq i1 %21, false %25 = icmp eq i1 %23, %24 store i64 %storemerge11.reload, i64* %storemerge4.in8.reg2mem store i32 %20, i32* %sv_0.07.reg2mem br i1 %25, label LBL_3, label LBL_8 LBL_3: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %storemerge4.in8.reload = load i64, i64* %storemerge4.in8.reg2mem %storemerge49 = inttoptr i64 %storemerge4.in8.reload to i32* %26 = load i32, i32* %storemerge49, align 4 %27 = icmp slt i32 %26, %17 br i1 %27, label LBL_4, label LBL_5 LBL_4: store i32 %17, i32* %storemerge49, align 4 br label LBL_7 LBL_5: %28 = icmp sgt i32 %26, %18 br i1 %28, label LBL_6, label LBL_7 LBL_6: store i32 %18, i32* %storemerge49, align 4 br label LBL_7 LBL_7: %29 = add i32 %sv_0.07.reload, -1 %30 = add i64 %storemerge4.in8.reload, 4 %31 = icmp eq i32 %29, 0 %32 = icmp slt i32 %29, 0 %33 = icmp eq i1 %32, false %34 = icmp eq i1 %31, false %35 = icmp eq i1 %33, %34 store i64 %30, i64* %storemerge4.in8.reg2mem store i32 %29, i32* %sv_0.07.reg2mem br i1 %35, label LBL_3, label LBL_8 LBL_8: %36 = add i32 %sv_1.010.reload, -1 %37 = add i64 %storemerge11.reload, %19 %38 = icmp eq i32 %36, 0 %39 = icmp slt i32 %36, 0 %40 = icmp eq i1 %39, false %41 = icmp eq i1 %38, false %42 = icmp eq i1 %40, %41 store i64 %37, i64* %storemerge11.reg2mem store i32 %36, i32* %sv_1.010.reg2mem store i64 %19, i64* %rax.0.lcssa.reg2mem br i1 %42, label LBL_2, label LBL_9 LBL_9: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64 %storemerge11.reload, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i32 %4, { 0, 2, 1 } uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.in8.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.07.reg2mem, { 2, 0, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 7, 5, 6, 4, 2, 3, 0, 1 } uselistorder i32 0, { 6, 7, 4, 5, 2, 3, 0, 1 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
preproc_mount_mnt_dir_11599
preproc_mount_mnt_dir
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = icmp eq i32 %0, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_17, label LBL_1 LBL_1: %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %7 = call i32 @mount(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 16777218, i64* bitcast ([15 x i8]* @gv_4 to i64*)) %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0)) unreachable LBL_5: store i32 1, i32* @gv_0, align 4 %11 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %12 = load i32, i32* @gv_6, align 4 %13 = icmp eq i32 %12, 0 %14 = call i32 @getgid() %15 = call i32 @getuid() %16 = zext i32 %14 to i64 %17 = zext i32 %15 to i64 br i1 %13, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_8, i64 0, i64 0), i64 %17, i64 %16, i64 420) br label LBL_8 LBL_7: %19 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_10, i64 0, i64 0), i64 %17, i64 %16, i64 420) br label LBL_8 LBL_8: %20 = load i32, i32* @gv_11, align 4 %21 = icmp eq i32 %20, 0 %22 = call i32 @getgid() %23 = call i32 @getuid() %24 = zext i32 %22 to i64 %25 = zext i32 %23 to i64 br i1 %21, label LBL_10, label LBL_9 LBL_9: %26 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_13, i64 0, i64 0), i64 %25, i64 %24, i64 420) br label LBL_11 LBL_10: %27 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_14, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_13, i64 0, i64 0), i64 %25, i64 %24, i64 420) br label LBL_11 LBL_11: %28 = load i32, i32* @gv_15, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_13, label LBL_12 LBL_12: %30 = call i32 @getgid() %31 = call i32 @getuid() %32 = zext i32 %30 to i64 %33 = zext i32 %31 to i64 %34 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_16, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_17, i64 0, i64 0), i64 %33, i64 %32, i64 420) br label LBL_13 LBL_13: %35 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_18, i64 0, i64 0), i64 420) %36 = call i32 @getgid() %37 = call i32 @getuid() %38 = zext i32 %36 to i64 %39 = zext i32 %37 to i64 %40 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_18, i64 0, i64 0), i64 %39, i64 %38, i64 420) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_15, label LBL_14 LBL_14: %43 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_19, i64 0, i64 0)) unreachable LBL_15: %44 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_20, i64 0, i64 0), i64 420) %45 = call i32 @getgid() %46 = call i32 @getuid() %47 = zext i32 %45 to i64 %48 = zext i32 %46 to i64 %49 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_20, i64 0, i64 0), i64 %48, i64 %47, i64 420) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 store i64 %49, i64* %rax.0.reg2mem br i1 %51, label LBL_17, label LBL_16 LBL_16: %52 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_19, i64 0, i64 0)) unreachable LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %25, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64)* @set_perms, { 1, 0 } uselistorder i64 (i8*, i64)* @create_empty_file_as_root, { 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64)* @copy_file, { 4, 3, 2, 1, 0 } uselistorder i32 ()* @getuid, { 4, 0, 1, 2, 3 } uselistorder i32 ()* @getgid, { 4, 0, 1, 2, 3 } uselistorder i64 (i8*)* @errExit, { 2, 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 5, 3, 2, 1, 0, 4 } }
1
BinRealVul
set_vrm_17816
set_vrm
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 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg3, i64 10, i64* nonnull %sv_0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %2, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = load i64, i64* %sv_0, align 8 %7 = inttoptr i64 %1 to i64* store i64 %6, i64* %7, align 8 store i64 %arg4, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
blkreplay_bh_cb_1428
blkreplay_bh_cb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %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 }
0
BinRealVul
cmv_decode_intra_14661
cmv_decode_intra
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = ptrtoint i64* %arg2 to i64 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* store i64 %0, i64* %.in.reg2mem store i32 0, i32* %storemerge3.reg2mem store i64 %8, i64* %sv_1.02.reg2mem store i64 %9, i64* %sv_0.01.reg2mem br label LBL_3 LBL_2: %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %12 = trunc i64 %.in.reload to i32 %13 = inttoptr i64 %sv_1.02.reload to i64* %14 = inttoptr i64 %sv_0.01.reload to i64* %15 = call i64* @memcpy(i64* %13, i64* %14, i32 %12) %16 = load i32, i32* %11, align 4 %17 = sext i32 %16 to i64 %18 = add i64 %sv_1.02.reload, %17 %sext = mul i64 %sv_1.02.reload, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = add i64 %19, %sv_0.01.reload %21 = add i32 %storemerge3.reload, 1 %22 = add i64 %sv_1.02.reload, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = sext i32 %21 to i64 %27 = icmp slt i64 %26, %25 store i64 %sv_1.02.reload, i64* %.in.reg2mem store i32 %21, i32* %storemerge3.reg2mem store i64 %18, i64* %sv_1.02.reg2mem store i64 %20, i64* %sv_0.01.reg2mem store i64 %25, i64* %rax.0.reg2mem br i1 %27, label LBL_3, label LBL_4 LBL_3: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %sext7 = mul i64 %.in.reload, 4294967296 %28 = ashr exact i64 %sext7, 32 %29 = add i64 %sv_0.01.reload, %28 %30 = icmp ugt i64 %29, %5 %31 = icmp eq i1 %30, false store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_2, label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.in.reload, { 1, 0 } uselistorder i64 %sv_0.01.reload, { 1, 0, 2 } uselistorder i64 %sv_1.02.reload, { 4, 1, 3, 2, 0 } uselistorder i64 %0, { 0, 2, 3, 1 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vmx_set_msr_bitmap_6492
vmx_set_msr_bitmap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64* @gv_0, i64** %sv_0.0.in.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 0) %8 = urem i64 %7, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %global_var_404038.global_var_404030 = select i1 %12, i64* @gv_1, i64* @gv_2 store i64* %global_var_404038.global_var_404030, i64** %sv_0.0.in.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %global_var_404048.global_var_404040 = select i1 %15, i64* @gv_3, i64* @gv_4 store i64* %global_var_404048.global_var_404040, i64** %sv_0.0.in.reg2mem br label LBL_5 LBL_5: %sv_0.0.in.reload = load i64*, i64** %sv_0.0.in.reg2mem %sv_0.0 = load i64, i64* %sv_0.0.in.reload, align 8 %16 = call i64 @FUNC(i64 %sv_0.0) %17 = call i64 @FUNC(i64 2, i64 %16) ret i64 %17 uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64)* @is_long_mode, { 1, 0 } uselistorder i64 2, { 1, 0 } }
0
BinRealVul
nf_ct_delete_from_lists_4608
nf_ct_delete_from_lists
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %6 }
0
BinRealVul
loc_8458
loc
define i64 @FUNC(i8* %arg1) FUNCal_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = load i32, i32* inttoptr (i64 4210880 to i32*), align 64 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = load i64, i64* bitcast ([8 x i8*]* @gv_0 to i64*), align 16 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_8 LBL_2: %9 = inttoptr i64 %6 to i8* %10 = call i32 @strcmp(i8* %arg1, i8* %9) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 ptrtoint ([4 x i8*]* @gv_1 to i64), i64* %.lcssa.reg2mem store i32 1, i32* %.reg2mem br i1 %12, label LBL_7, label LBL_6 LBL_3: %13 = ptrtoint i8* %arg1 to i64 store i64 %13, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %14 = inttoptr i64 %29 to i8* %15 = call i32 @strcmp(i8* %arg1, i8* %14) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = add i32 %.reload, 1 store i32 %18, i32* %.reg2mem br i1 %17, label LBL_7, label LBL_4.LBL_6_crit_edge LBL_5: %phitmp = add i64 %26, ptrtoint ([4 x i8*]* @gv_1 to i64) store i64 %phitmp, i64* %.lcssa.reg2mem br label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %19 = inttoptr i64 %.lcssa.reload to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 %24 = ptrtoint i8* %arg1 to i64 %spec.select = select i1 %23, i64 %24, i64 %20 ret i64 %spec.select LBL_7: %.reload = load i32, i32* %.reg2mem %25 = sext i32 %.reload to i64 %26 = mul i64 %25, 8 %27 = add i64 %26, ptrtoint ([8 x i8*]* @gv_0 to i64) %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_8 LBL_8: %32 = call i8* @strstr(i8* %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %33 = icmp eq i8* %32, null br i1 %33, label LBL_11, label LBL_9 LBL_9: %34 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %37 = inttoptr i64 %36 to i8* %38 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* %37) store i64 ptrtoint (i8** @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_11: %39 = call i8* @strstr(i8* %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) %40 = icmp eq i8* %39, null br i1 %40, label LBL_13, label LBL_12 LBL_12: %41 = call i8* @strcpy(i8* bitcast (i8** @gv_4 to i8*), i8* %arg1) store i64 ptrtoint (i8** @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_13: %42 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_0, i64 256) %43 = ptrtoint i8* %arg1 to i64 %44 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_8, i64 0, i64 0), i64 %43, i64* nonnull %sv_0, i64 256, i64 %2, i64 %1) store i64 %43, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 1, 0 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i64 ptrtoint (i8** @gv_4 to i64), { 1, 0 } uselistorder i8** @gv_4, { 1, 0 } uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 ptrtoint ([4 x i8*]* @gv_1 to i64), { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 2, 0 } uselistorder [8 x i8*]* @gv_0, { 1, 0 } uselistorder i1 false, { 3, 2, 0, 1, 4 } uselistorder i32 0, { 12, 11, 0, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i32 1, { 9, 4, 7, 6, 5, 3, 2, 8, 1, 0 } uselistorder i8* %arg1, { 3, 2, 4, 1, 5, 6, 7, 8, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
palette8tobgr24_826
palette8tobgr24
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = icmp sgt i64 %arg3, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %storemerge3.reg2mem store i64 %arg2, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %3 = add i64 %storemerge3.reload, %2 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i64 %7 = mul i64 %6, 4 %8 = add i64 %7, %1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = inttoptr i64 %sv_0.02.reload to i8* store i8 %10, i8* %11, align 1 %12 = load i8, i8* %4, align 1 %13 = zext i8 %12 to i64 %14 = mul i64 %13, 4 %15 = or i64 %14, 1 %16 = add i64 %15, %1 %17 = add i64 %sv_0.02.reload, 1 %18 = inttoptr i64 %16 to i8* %19 = load i8, i8* %18, align 1 %20 = inttoptr i64 %17 to i8* store i8 %19, i8* %20, align 1 %21 = load i8, i8* %4, align 1 %22 = zext i8 %21 to i64 %23 = mul i64 %22, 4 %24 = or i64 %23, 2 %25 = add i64 %24, %1 %26 = add i64 %sv_0.02.reload, 2 %27 = inttoptr i64 %25 to i8* %28 = load i8, i8* %27, align 1 %29 = inttoptr i64 %26 to i8* store i8 %28, i8* %29, align 1 %30 = add i64 %sv_0.02.reload, 3 %31 = add nuw nsw i64 %storemerge3.reload, 1 %exitcond = icmp eq i64 %31, %arg3 store i64 %31, i64* %storemerge3.reg2mem store i64 %30, i64* %sv_0.02.reg2mem store i64 %arg3, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } }
0
BinRealVul
sgi_clock_get_12088
sgi_clock_get
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC() %2 = load i128, i128* @gv_0, align 8 %3 = trunc i128 %2 to i64 %4 = mul i64 %1, %3 %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %4, %5 %7 = add i64 %0, 8 %8 = call i64 @FUNC(i64 %6, i64 1000000000, i64 %7) %9 = load i64, i64* @gv_2, align 8 %10 = add i64 %9, %8 store i64 %10, i64* %arg2, align 8 ret i64 0 }
1
BinRealVul
timerqueue_init_head_12398
timerqueue_init_head
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 0, i64* %2, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
ext4_can_extents_be_merged_4025
ext4_can_extents_be_merged
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg2 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = urem i32 %12, 65536 %14 = add i32 %13, %6 %15 = and i64 %2, 4294967295 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %14, %17 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_1, label LBL_4 LBL_1: %19 = load i16, i16* %8, align 2 %20 = zext i16 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = ptrtoint i32* %arg3 to i64 %24 = add i64 %23, 4 %25 = inttoptr i64 %24 to i16* %26 = load i16, i16* %25, align 2 %27 = zext i16 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = urem i32 %29, 65536 %31 = urem i32 %22, 65536 %32 = add nuw nsw i32 %30, %31 %33 = icmp ult i32 %32, 65536 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_2, label LBL_4 LBL_2: %34 = load i16, i16* %8, align 2 %35 = zext i16 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i16 %38 = icmp ult i16 %37, 4 store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_3, label LBL_4 LBL_3: %39 = call i64 @FUNC(i64 %3) %40 = trunc i64 %39 to i32 %41 = load i16, i16* %8, align 2 %42 = zext i16 %41 to i64 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 65536 %46 = add i32 %45, %40 %47 = call i64 @FUNC(i64 %23) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %46, %48 %. = zext i1 %49 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @ext_pblock, { 1, 0 } uselistorder i32 65536, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @le16_to_cpu, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 } }
0
BinRealVul
jpc_bitstream_getbits_18806
jpc_bitstream_getbits
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 32 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = add i32 %0, -1 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i32 %3, i32* %.in.reg2mem store i64 0, i64* %storemerge25.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_3, label LBL_5 LBL_3: %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 -1, i64* %storemerge.reg2mem br i1 %9, label LBL_4, label LBL_5 LBL_4: %storemerge25.reload = load i64, i64* %storemerge25.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %10 = mul i64 %storemerge25.reload, 2 %sext3 = mul i64 %6, 4294967296 %11 = ashr exact i64 %sext3, 32 %12 = or i64 %11, %10 %13 = add i32 %.in.reload, -1 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i32 %13, i32* %.in.reg2mem store i64 %12, i64* %storemerge25.reg2mem store i64 %12, i64* %storemerge.reg2mem br i1 %15, label LBL_3, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %0, { 1, 0 } uselistorder i32* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
arch_seccomp_spec_mitigate_12200
arch_seccomp_spec_mitigate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 0) br label LBL_2 LBL_2: %5 = load i32, i32* inttoptr (i64 4210720 to i32*), align 32 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, 1 %8 = icmp eq i1 %7, false store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0, i64 0) store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1