dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
sysMapFile_13366
sysMapFile
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = icmp eq i64 %arg1, 0 br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = trunc i64 %3 to i8 %8 = icmp eq i8 %7, 64 %9 = icmp eq i1 %8, false br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = add i64 %arg1, 1 %11 = inttoptr i64 %10 to i8* %12 = call %_IO_FILE* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %13 = icmp eq %_IO_FILE* %12, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i32* @__errno_location() %16 = load i32, i32* %15, align 4 %17 = call i8* @strerror(i32 %16) %18 = ptrtoint i8* %17 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %18, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %20 = ptrtoint %_IO_FILE* %12 to i64 %21 = call i64 @FUNC(i64 %20, i64 %5) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %5, i64 %4, i64 %2, i64 %1) %25 = call i32 @fclose(%_IO_FILE* %12) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %26 = call i32 @fclose(%_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %27 = inttoptr i64 %arg1 to i8* %28 = call i32 (i8*, i32, ...) @open(i8* %27, i32 0) %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = call i32* @__errno_location() %32 = load i32, i32* %31, align 4 %33 = call i8* @strerror(i32 %32) %34 = ptrtoint i8* %33 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %34, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %36 = zext i32 %28 to i64 %37 = call i64 @FUNC(i64 %36, i64 %5) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %5, i64 %4, i64 %2, i64 %1) %41 = call i32 @close(i32 %28) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %42 = call i32 @close(i32 %28) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0, 2, 3 } uselistorder %_IO_FILE* %12, { 1, 0, 2, 3 } uselistorder i64 %5, { 2, 3, 0, 1 } uselistorder i64 %4, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 5, 1, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOGE, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i64 4294967295, { 3, 2, 1, 0 } uselistorder i8* (i32)* @strerror, { 1, 0 } uselistorder i64 %arg1, { 3, 2, 4, 0, 1, 5 } uselistorder label LBL_12, { 1, 2, 3, 0, 4, 5 } }
0
BinRealVul
hpet_init_17038
hpet_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 40) store i64 %2, i64* @gv_1, align 8 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 8 %6 = add i64 %5, %2 %7 = load i64, i64* @gv_2, align 8 %8 = call i64 @FUNC(i64 %7, i64 4198876, i64 %6) %9 = inttoptr i64 %6 to i64* store i64 %8, i64* %9, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %10 = call i64 @FUNC(i64 4294967295, i64* nonnull @gv_3, i64 %2) %11 = call i64 @FUNC(i64 4198865, i64 %2) %12 = call i64 @FUNC(i64 4198887, i64 4198898, i64 %2) %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 4275044352, i64 1024, i64 %13) ret i64 %14 uselistorder i64 %2, { 3, 2, 1, 0, 4, 5 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
Jsi_InterpDelete_9740
Jsi_InterpDelete
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = add i64 %arg1, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = icmp eq i32 %8, 0 %11 = icmp slt i32 %8, 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.reg2mem br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = add i64 %arg1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = inttoptr i64 %arg1 to i32* store i32 1, i32* %19, align 4 %20 = load i64, i64* %16, align 8 %21 = call i64 @FUNC(i64 %20) store i64 0, i64* %16, align 8 %22 = call i64 @FUNC(i64 %arg1, i64 %arg1, i64 4198740) store i64 %22, 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* %16, { 1, 0, 2 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
0
BinRealVul
gen_check_cpenable_1557
gen_check_cpenable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 store i64 1, i64* %storemerge2.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %1 to i32 %8 = trunc i64 %6 to i32 %9 = urem i32 %8, 32 %10 = shl i32 1, %9 %11 = and i32 %10, %7 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 1, i64* %storemerge2.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i64 %6, 4294967295 %15 = call i64 @FUNC(i64 %2, i64 %14) %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* store i32 1, i32* %17, align 4 store i64 0, i64* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
parse_video_info_5509
parse_video_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg2 to i32* store i32 %3, i32* %4, align 4 %5 = call i64 @FUNC(i64 %1) %6 = trunc i64 %5 to i32 %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = call i64 @FUNC(i64 %1, i64 1) %10 = call i64 @FUNC(i64 %1) %11 = bitcast i32* %sv_0 to i64* %12 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %11) %13 = trunc i64 %12 to i16 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i16* store i16 %13, i16* %15, align 2 %16 = load i64, i64* @gv_0, align 8 %17 = and i64 %12, 4294967295 %18 = call i64 @FUNC(i64 %16, i64 %17) %19 = trunc i64 %18 to i32 %20 = add i64 %0, 12 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = load i32, i32* %sv_0, align 4 %23 = trunc i64 %10 to i32 %24 = urem i32 %23, 65536 %25 = icmp ugt i32 %22, %24 %26 = icmp eq i1 %25, false %27 = select i1 %26, i32 %24, i32 %22 store i32 %27, i32* %sv_0, align 4 %.off = add i32 %27, -55 %28 = icmp ult i32 %.off, 2147483560 store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_1, label LBL_4 LBL_1: %29 = add i32 %27, -54 %30 = add nuw nsw i64 %17, 24 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i32 %27, -22 %33 = sext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = add nuw nsw i64 %17, 16 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = icmp eq i64 %34, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %31, align 4 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %39 = load i32, i32* %31, align 4 %40 = sext i32 %39 to i64 %41 = add i64 %34, %40 %42 = inttoptr i64 %41 to i64* %43 = call i64* @memset(i64* %42, i32 0, i32 32) %44 = load i32, i32* inttoptr (i64 24 to i32*), align 8 %45 = load i64, i64* inttoptr (i64 16 to i64*), align 16 %46 = call i64 @FUNC(i64 %1, i64 %45, i32 %44) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false %50 = and i64 %46, 4294967295 %spec.select = select i1 %49, i64 0, i64 %50 ret i64 %spec.select LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %31, { 1, 0, 2 } uselistorder i32 %27, { 0, 2, 1, 3 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
do_sys_settimeofday_4228
do_sys_settimeofday
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_11 LBL_2: %6 = ptrtoint i32* %arg2 to i64 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %7, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %11 = icmp eq i32* %arg2, null br i1 %11, label LBL_9, label LBL_5 LBL_5: %12 = trunc i64 %6 to i32 %.off = add i32 %12, 900 %13 = icmp ult i32 %.off, 1801 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_6, label LBL_11 LBL_6: store i64 %6, i64* @gv_0, align 8 %14 = call i64 @FUNC() %15 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_9, label LBL_7 LBL_7: store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8 %17 = icmp eq i1 %1, false br i1 %17, label LBL_10, label LBL_8 LBL_8: %18 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_9: store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_11, label LBL_10 LBL_10: %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %1, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 3, 5, 4 } uselistorder label LBL_11, { 4, 1, 0, 2, 5, 3 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
lmf_header_load_6444
lmf_header_load
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 %4 = call i64 @FUNC(i64 %3) %5 = icmp ult i64 %4, 48 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %3, i64 0, i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 1) %8 = icmp eq i64 %7, 48 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = call i64 @FUNC(i64 32) %11 = and i64 %2, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %6, i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64 1, i64 %1) %13 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 0) %14 = add i64 %6, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %12, i64 0, i64 1, i64 %1) %19 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 0) %20 = add i64 %6, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %18, i64 0, i64 1, i64 %1) %25 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64 %24, i64 0) %26 = add i64 %6, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %24, i64 0, i64 1, i64 %1) %31 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i64 %30, i64 0) %32 = add i64 %6, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %35, i64 %30, i64 0, i64 1, i64 %1) %37 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i64 %36, i64 0) %38 = add i64 %6, 20 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %41, i64 %36, i64 0, i64 1, i64 %1) %43 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 %42, i64 0) %44 = add i64 %6, 24 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %47, i64 %42, i64 0, i64 1, i64 %1) %49 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i64 %48, i64 0) %50 = add i64 %6, 28 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %53, i64 %48, i64 0, i64 1, i64 %1) %55 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0), i64 %54, i64 0) %56 = add i64 %6, 32 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 %54, i64 0, i64 1, i64 %1) %61 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_11, i64 0, i64 0), i64 %60, i64 0) %62 = add i64 %6, 36 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = zext i32 %64 to i64 %66 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %65, i64 %60, i64 0, i64 1, i64 %1) %67 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_12, i64 0, i64 0), i64 %66, i64 0) %68 = add i64 %6, 40 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = zext i32 %70 to i64 %72 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %71, i64 %66, i64 0, i64 1, i64 %1) %73 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_13, i64 0, i64 0), i64 %72, i64 0) %74 = add i64 %6, 44 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = zext i32 %76 to i64 %78 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 %77, i64 %72, i64 0, i64 1, i64 %1) %79 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_14, i64 0, i64 0), i64 %78, i64 0) store i64 1, 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 %72, { 1, 0 } uselistorder i64 %66, { 1, 0 } uselistorder i64 %60, { 1, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i64 %48, { 1, 0 } uselistorder i64 %42, { 1, 0 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64)* @sdb_set, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @r_strf, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder [19 x i8]* @gv_0, { 1, 0 } uselistorder i64 48, { 1, 2, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
page_unprotect_18667
page_unprotect
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = udiv i64 %arg1, 4096 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %6 = inttoptr i64 %2 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_8, label LBL_3 LBL_3: %10 = and i32 %7, 2 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_8, label LBL_4 LBL_4: %13 = and i64 %arg1, -4096 %14 = add i64 %13, 4096 %15 = icmp ult i64 %arg1, -4096 store i64 %13, i64* %storemerge3.reg2mem store i32 0, i32* %sv_0.02.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %15, label LBL_5, label LBL_7 LBL_5: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %16 = udiv i64 %storemerge3.reload, 4096 %17 = call i64 @FUNC(i64 %16) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, 2 store i32 %20, i32* %18, align 4 %21 = or i32 %20, %sv_0.02.reload %22 = call i64 @FUNC(i64 %storemerge3.reload, i64 %arg2, i64 %arg3) %23 = call i64 @FUNC(i64 %storemerge3.reload) %24 = add i64 %storemerge3.reload, 4096 %25 = icmp ult i64 %24, %14 store i64 %24, i64* %storemerge3.reg2mem store i32 %21, i32* %sv_0.02.reg2mem br i1 %25, label LBL_5, label LBL_6 LBL_6: %phitmp = urem i32 %21, 4 store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem br label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %26 = call i64 @FUNC(i64 %13) %27 = inttoptr i64 %26 to i64* %28 = call i32 @mprotect(i64* %27, i32 4096, i32 %sv_0.0.lcssa.reload) %29 = call i64 @FUNC() store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %30 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %21, { 1, 0 } uselistorder i64 %storemerge3.reload, { 2, 1, 0, 3 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i32 %7, { 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 ()* @mmap_unlock, { 2, 1, 0 } uselistorder i64 (i64)* @page_find, { 1, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
getstr8_15116
getstr8
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = load i64, i64* %sv_0, align 8 %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = add i64 %5, %6 %8 = icmp ugt i64 %7, %arg2 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %sext1 = add i64 %sext, 4294967296 %10 = ashr exact i64 %sext1, 32 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %14 = load i64, i64* %sv_0, align 8 %15 = inttoptr i64 %11 to i64* %16 = inttoptr i64 %14 to i64* %17 = call i64* @memcpy(i64* %15, i64* %16, i32 %2) %18 = add i64 %11, %6 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = load i64, i64* %sv_0, align 8 %21 = add i64 %20, %6 store i64 %21, i64* %sv_0, align 8 store i64 %21, i64* %arg1, align 8 store i64 %11, 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 %sext, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4294967296, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
scsi_get_configuration_17116
scsi_get_configuration
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %. = select i1 %8, i64 1, i64 2 %9 = trunc i64 %. to i32 %10 = call i64* @memset(i64* %arg2, i32 0, i32 40) %11 = call i64 @FUNC(i64 %4, i64 36) %12 = add i64 %4, 6 %13 = call i64 @FUNC(i64 %12, i64 %.) %14 = add i64 %4, 10 %15 = inttoptr i64 %14 to i8* store i8 3, i8* %15, align 1 %16 = add i64 %4, 11 %17 = inttoptr i64 %16 to i8* store i8 8, i8* %17, align 1 %18 = add i64 %4, 12 %19 = call i64 @FUNC(i64 %18, i64 2) %20 = icmp eq i32 %9, 2 %21 = add i64 %4, 14 %22 = zext i1 %20 to i8 %23 = inttoptr i64 %21 to i8* store i8 %22, i8* %23, align 1 %24 = add i64 %4, 16 %25 = call i64 @FUNC(i64 %24, i64 1) %26 = icmp eq i32 %9, 1 %27 = zext i1 %26 to i8 %28 = add i64 %4, 18 %29 = inttoptr i64 %28 to i8* store i8 %27, i8* %29, align 1 %30 = add i64 %4, 20 %31 = call i64 @FUNC(i64 %30, i64 1) %32 = add i64 %4, 22 %33 = inttoptr i64 %32 to i8* store i8 11, i8* %33, align 1 %34 = add i64 %4, 23 %35 = inttoptr i64 %34 to i8* store i8 8, i8* %35, align 1 %36 = add i64 %4, 24 %37 = call i64 @FUNC(i64 %36, i64 1) %38 = add i64 %4, 28 %39 = inttoptr i64 %38 to i8* store i8 1, i8* %39, align 1 %40 = add i64 %4, 32 %41 = call i64 @FUNC(i64 %40, i64 3) %42 = add i64 %4, 34 %43 = inttoptr i64 %42 to i8* store i8 11, i8* %43, align 1 %44 = add i64 %4, 35 %45 = inttoptr i64 %44 to i8* store i8 4, i8* %45, align 1 %46 = add i64 %4, 36 %47 = inttoptr i64 %46 to i8* store i8 57, i8* %47, align 1 store i64 40, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %., { 1, 0 } uselistorder i64 %4, { 0, 1, 3, 2, 5, 4, 6, 8, 7, 10, 9, 12, 11, 13, 16, 15, 14 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @stw_be_p, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @stl_be_p, { 1, 0 } uselistorder i64 36, { 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 1, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_sot_10286
get_sot
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp sgt i32 %5, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = call i64 @FUNC(i64 %3) %10 = urem i64 %9, 65536 %11 = add i64 %3, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = mul i32 %16, %13 %18 = zext i32 %17 to i64 %19 = icmp ult i64 %10, %18 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_2, label LBL_5 LBL_2: %20 = trunc i64 %9 to i32 %21 = urem i32 %20, 65536 store i32 %21, i32* %8, align 4 %22 = call i64 @FUNC(i64 %3) %23 = trunc i64 %22 to i32 %24 = call i64 @FUNC(i64 %3) %25 = call i64 @FUNC(i64 %3) %26 = call i64 @FUNC(i64 %3) %27 = trunc i64 %arg2 to i32 %28 = trunc i64 %26 to i32 %29 = add i32 %27, 2 %30 = add i32 %29, %28 %31 = icmp ult i32 %30, %23 br i1 %31, label LBL_3, label LBL_4 LBL_3: %32 = add i64 %3, 16432 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = and i64 %22, 4294967295 %36 = call i64 @FUNC(i64 %34, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %35, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %37 = zext i32 %13 to i64 %38 = trunc i64 %24 to i8 %39 = add i64 %3, 16432 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %41, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8 %38, i64 %37, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %13, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %3, { 0, 1, 3, 2, 5, 4, 6, 8, 7, 9, 10 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @bytestream2_get_byteu, { 1, 0 } uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
0
BinRealVul
kvm_arm_reset_vcpu_2531
kvm_arm_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 %1) %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 = sub i32 0, %3 %7 = call i8* @strerror(i32 %6) %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i8* %7) call void @abort() unreachable LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_2 to i64*), i32 1, i32 30, %_IO_FILE* %14) call void @abort() unreachable LBL_4: ret i64 %10 uselistorder void ()* @abort, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } }
0
BinRealVul
fill_autodev_6995
fill_autodev
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0)) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = bitcast i64* %sv_1 to i8* %6 = inttoptr i64 %4 to i8* %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 4096, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* %6) %8 = icmp ult i32 %7, 4096 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_14 LBL_3: %14 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0)) %15 = call i32 @umask(i32 73) %16 = bitcast i64* %sv_0 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul nuw nsw i64 %indvars.iv.reload, 24 %18 = add i64 %17, ptrtoint ([5 x i8]** @gv_4 to i64) %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = load i64, i64* %3, align 8 %22 = inttoptr i64 %21 to i8* %23 = inttoptr i64 %20 to i8* %24 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 4096, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i8* %22, i8* %23) %25 = icmp ult i32 %24, 4096 store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_14 LBL_5: %26 = add i64 %17, add (i64 ptrtoint ([5 x i8]** @gv_4 to i64), i64 16) %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 8 %29 = add i64 %17, add (i64 ptrtoint ([5 x i8]** @gv_4 to i64), i64 12) %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = call i64 @gnu_dev_makedev(i32 %31, i32 %28) %33 = add i64 %17, add (i64 ptrtoint ([5 x i8]** @gv_4 to i64), i64 8) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 8 %36 = trunc i64 %32 to i32 %37 = call i32 @mknod(i8* nonnull %5, i32 %35, i32 %36) %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_12, label LBL_6 LBL_6: %39 = call i32* @__errno_location() %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 17 br i1 %41, label LBL_12, label LBL_7 LBL_7: %42 = load i64, i64* %19, align 8 %43 = inttoptr i64 %42 to i8* %44 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %16, i32 4096, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* %43) %45 = icmp ult i32 %44, 4096 store i64 4294967295, i64* %rax.0.reg2mem br i1 %45, label LBL_8, label LBL_14 LBL_8: %46 = call %_IO_FILE* @fopen(i8* nonnull %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0)) %47 = icmp eq %_IO_FILE* %46, null %48 = icmp eq i1 %47, false br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_10: %50 = call i32 @fclose(%_IO_FILE* %46) %51 = load i64, i64* %3, align 8 %52 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 0, i64 4096, i64 0, i64 %51) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = load i64, i64* %19, align 8 %56 = inttoptr i64 %55 to i64* %57 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_9, i64 0, i64 0), i64* %56) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %58 = icmp eq i64 %indvars.iv.reload, 1 store i64 1, i64* %indvars.iv.reg2mem br i1 %58, label LBL_13, label LBL_4 LBL_13: %59 = call i32 @umask(i32 %15) %60 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_10, i64 0, i64 0)) store i64 0, 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 %indvars.iv.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 7, 6, 1, 2, 3, 4 } uselistorder i64 1, { 0, 2, 1 } uselistorder i64 (i8*, i64*)* @SYSERROR, { 1, 0 } uselistorder i32 (i32)* @umask, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 } uselistorder i32 4096, { 0, 3, 1, 4, 2, 5 } uselistorder i64 (i8*)* @INFO, { 2, 1, 0 } uselistorder label LBL_14, { 5, 3, 4, 0, 1, 2, 6 } }
0
BinRealVul
kvmppc_get_htab_fd_2725
kvmppc_get_htab_fd
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %0 = urem i64 %arg1, 256 store i64 %0, i64* %sv_0, align 8 %1 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 @fwrite(i64* bitcast ([51 x i8]* @gv_1 to i64*), i32 1, i32 50, %_IO_FILE* %4) store i32 -95, i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_2: %6 = load i64, i64* @gv_2, align 8 %7 = bitcast i64* %sv_0 to i32* %8 = call i64 @FUNC(i64 %6, i64 2, i32* nonnull %7) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false store i32 %9, i32* %rax.0.shrunk.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = sub i32 0, %13 store i32 %14, i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %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 i64* %sv_0, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
tp3780I_QueryAbilities_5273
tp3780I_QueryAbilities
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i32* %arg1) %5 = call i64* @memset(i64* %arg2, i32 0, i32 112) %6 = trunc i64 %1 to i32 %7 = bitcast i64* %arg2 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %3, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %2, 12 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %2, 16 %24 = inttoptr i64 %23 to i32* store i32 65537, i32* %24, align 4 %25 = add i64 %2, 20 %26 = inttoptr i64 %25 to i32* store i32 65538, i32* %26, align 4 %27 = add i64 %2, 24 %28 = inttoptr i64 %27 to i32* store i32 65540, i32* %28, align 4 %29 = add i64 %2, 28 %30 = inttoptr i64 %29 to i32* store i32 65544, i32* %30, align 4 %31 = add i64 %2, 32 %32 = inttoptr i64 %31 to i32* store i32 65552, i32* %32, align 4 %33 = add i64 %2, 36 %34 = inttoptr i64 %33 to i32* store i32 65568, i32* %34, align 4 %35 = add i64 %2, 40 %36 = inttoptr i64 %35 to i32* store i32 65600, i32* %36, align 4 %37 = add i64 %2, 44 %38 = inttoptr i64 %37 to i32* store i32 7, i32* %38, align 4 %39 = add i64 %2, 48 %40 = inttoptr i64 %39 to i64* %41 = call i64* @memcpy(i64* %40, i64* bitcast ([8 x i8]* @gv_1 to i64*), i32 8) %42 = add i64 %2, 80 %43 = inttoptr i64 %42 to i64* %44 = call i64* @memcpy(i64* %43, i64* bitcast ([10 x i8]* @gv_2 to i64*), i32 10) %45 = call i32 @puts(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0)) ret i64 0 uselistorder i64 %2, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } }
0
BinRealVul
vmdk_L2update_2265
vmdk_L2update
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %0, 16 %6 = mul i64 %0, 512 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = add i64 %11, %6 %13 = call i64 @FUNC(i64 %1, i64 %12, i64 %5, i64 4) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_1, label LBL_4 LBL_1: %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = inttoptr i64 %4 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %0, 12 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = add i64 %27, %22 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 store i64 %30, i64* %arg2, align 8 %31 = mul i64 %12, 512 %32 = load i32, i32* %8, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %31 %36 = call i64 @FUNC(i64 %1, i64 %35, i64 %5, i64 4) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_3, label LBL_4 LBL_3: 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 %4, { 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64, i64)* @bdrv_pwrite_sync, { 1, 0 } uselistorder i64 4, { 2, 0, 3, 1 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
php_stream_temp_cast_12445
php_stream_temp_cast
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.02.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.02.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rdi.02.reg2mem br label LBL_2 LBL_2: %3 = ptrtoint i64* %arg3 to i64 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %5 = call i64 @FUNC(i64 %rdi.02.reload, i64 2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = trunc i64 %4 to i32 %9 = call i64 @FUNC(i64 %rdi.02.reload, i32 %8, i64 %3, i64 0) store i64 %9, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %10 = icmp eq i64* %arg3, null %11 = icmp eq i1 %10, false br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = trunc i64 %4 to i32 %13 = icmp eq i32 %12, 1 %14 = icmp eq i1 %13, false %spec.select = select i1 %14, i64 4294967295, i64 0 ret i64 %spec.select LBL_6: %15 = call i64 @FUNC(i64 %rdi.02.reload, i64* nonnull %sv_0) %16 = call i64 @FUNC() %17 = load i64, i64* %sv_0, align 8 %18 = call i64 @FUNC(i64 %16, i64 %15, i64 %17) %19 = call i64 @FUNC(i64 %16) %20 = call i64 @FUNC(i64 %16, i64 3) store i64 %16, i64* %arg1, align 8 %21 = call i64 @FUNC(i64 %0, i64 %16) %22 = call i64 @FUNC(i64 %0, i64 %19, i64 0) %23 = trunc i64 %4 to i32 %24 = call i64 @FUNC(i64 %0, i32 %23, i64 %3, i64 1) store i64 %24, 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 %rdi.02.reload, { 1, 2, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 3, 2, 1, 0 } uselistorder i64* %rdi.02.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32, i64, i64)* @php_stream_cast, { 1, 0 } uselistorder [11 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
monitor_puts_592
monitor_puts
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %.in3.in.reg2mem = alloca i64 %.in.reg2mem = alloca i8 %0 = load i8, i8* %arg2, align 1 %1 = icmp eq i8 %0, 0 br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i8* %arg2 to i64 store i8 %0, i8* %.in.reg2mem store i64 %3, i64* %.in3.in.reg2mem br label LBL_2 LBL_2: %.in3.in.reload = load i64, i64* %.in3.in.reg2mem %.in.reload = load i8, i8* %.in.reg2mem %4 = sext i8 %.in.reload to i64 %5 = icmp eq i8 %.in.reload, 10 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_4 LBL_3: %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i64 %2, i64 %7) br label LBL_5 LBL_4: %9 = call i64 @FUNC(i64 %2, i64 13) %10 = and i64 %4, 4294967295 %11 = call i64 @FUNC(i64 %2, i64 %10) %12 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_5: %.in3 = add i64 %.in3.in.reload, 1 %13 = inttoptr i64 %.in3 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 store i8 %14, i8* %.in.reg2mem store i64 %.in3, i64* %.in3.in.reg2mem br i1 %15, label LBL_6, label LBL_2 LBL_6: ret i64 0 uselistorder i8 %.in.reload, { 1, 0 } uselistorder i64 %2, { 3, 0, 2, 1 } uselistorder i8* %.in.reg2mem, { 1, 0, 2 } uselistorder i64* %.in3.in.reg2mem, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
piix4_acpi_system_hot_add_init_15771
piix4_acpi_system_hot_add_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 0, i64 1, i64 1, i64 4198743, i64 %0) %3 = call i64 @FUNC(i64 0, i64 1, i64 1, i64 4198750, i64 %0) %4 = call i64 @FUNC(i64 %0, i64 0) %5 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198757, i64 %0) %6 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198764, i64 %0) %7 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198771, i64 %1) %8 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198778, i64 %1) %9 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198785, i64 %0) %10 = call i64 @FUNC(i64 0, i64 4, i64 4, i64 4198792, i64 %0) %11 = add i64 %0, 4 %12 = call i64 @FUNC(i64 %1, i64 4198799, i64 %11) ret i64 %12 uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 6, 7 } uselistorder i64 4, { 12, 1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 2, 1, 0 } uselistorder i64 1, { 1, 0, 3, 2 } }
1
BinRealVul
arcmsr_iop_parking_10873
arcmsr_iop_parking
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i32* %arg1, null br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = and i32 %3, -2 store i32 %6, i32* %arg1, align 4 %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %7) %10 = call i64 @FUNC(i64 %7) %11 = and i64 %8, 4294967295 %12 = call i64 @FUNC(i64 %7, i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } }
0
BinRealVul
git_revwalk_reset_4786
git_revwalk_reset
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 ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: call void @llvm.trap() unreachable uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
t_abspath_18028
t_abspath
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 47 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_3: %10 = load i64, i64* %sv_0, align 8 %11 = call i64 @FUNC(i64 %10, i64* nonnull @gv_1, i64 %arg1, i64 0) store i64 %11, 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, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*)* @i_fatal, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
br_multicast_router_expired_8451
br_multicast_router_expired
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = add i64 %0, 12 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = add i64 %0, 16 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %12) br label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %0) ret i64 %18 uselistorder i64 %0, { 2, 0, 1, 3, 4 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
0
BinRealVul
array_ensure_allocated_2386
array_ensure_allocated
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %sext2 = add i64 %sext, 4294967296 %4 = udiv i64 %sext2, 4294967296 %5 = trunc i64 %4 to i32 %6 = mul i32 %3, %5 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ugt i32 %6, %9 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_3 LBL_1: %sext3 = add i64 %sext, 137438953472 %11 = udiv i64 %sext3, 4294967296 %12 = trunc i64 %11 to i32 %13 = mul i32 %3, %12 %14 = sext i32 %13 to i64 %15 = call i64 @FUNC(i64 %0, i64 %14) store i64 %15, i64* %arg1, align 8 %16 = icmp eq i64* %arg1, null %17 = icmp eq i1 %16, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %17, label LBL_2, label LBL_3 LBL_2: %18 = load i32, i32* %8, align 4 %19 = sub i32 %13, %18 %20 = sext i32 %18 to i64 %21 = add i64 %20, %0 %22 = inttoptr i64 %21 to i64* %23 = call i64* @memset(i64* %22, i32 0, i32 %19) store i32 %13, i32* %8, align 4 %24 = trunc i64 %arg2 to i32 %25 = add i32 %24, 1 %26 = add i64 %0, 16 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 4294967296, { 1, 2, 3, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_3, { 0, 2, 1 } }
0
BinRealVul
sas_eh_finish_cmd_7279
sas_eh_finish_cmd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 8 %9 = call i64 @FUNC(i64 %8, i64 %1) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = add i64 %1, 4 %11 = call i64 @FUNC(i64 %0, i64 %10) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
nfs_readlink_req_5004
nfs_readlink_req
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = ptrtoint i64* %sv_0 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 %0) %5 = sub i64 %4, %2 %6 = udiv i64 %5, 4 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %1, i64 0, i64 0, i64* nonnull %sv_0, i64 %7) %9 = icmp ult i64 %8, -1000 store i64 %8, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 4 %13 = call i64 @FUNC(i64 %12, i64 0) %14 = call i64 @FUNC(i64 %13) %15 = add i64 %8, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, -4 %19 = and i64 %14, 4294967295 %20 = icmp ult i64 %18, %19 %21 = icmp eq i1 %20, false %22 = select i1 %21, i64 %18, i64 %14 %23 = trunc i64 %22 to i32 %24 = add i32 %23, 1 %25 = call i64* @calloc(i32 1, i32 %24) %26 = ptrtoint i64* %25 to i64 store i64 %26, i64* %arg3, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %18, { 1, 0 } uselistorder i64 %8, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 1, 0, 2, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
zipl_load_16067
zipl_load
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64* @memset(i64* nonnull @gv_0, i32 255, i32 512) %1 = call i64 @FUNC(i64 0, i64 ptrtoint (i64* @gv_0 to i64), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0)) %2 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4, i64 305419896) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC() br label LBL_2 LBL_2: %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC() br label LBL_4 LBL_4: %13 = call i64 @FUNC() %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0)) %18 = call i64 @FUNC() br label LBL_6 LBL_6: %19 = call i64 @FUNC() %20 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 2271560481) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = call i64 @FUNC() br label LBL_8 LBL_8: %26 = call i64* @memset(i64* nonnull @gv_0, i32 255, i32 512) %27 = call i64 @FUNC(i64 2, i64 ptrtoint (i64* @gv_0 to i64), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0)) %28 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29, i64 2864434397) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = call i64 @FUNC(i64 1) br label LBL_10 LBL_10: %34 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35, i64 3721182122) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_12, label LBL_11 LBL_11: %39 = call i64 @FUNC(i64 2) br label LBL_12 LBL_12: %40 = call i64 @FUNC(i64 3) %41 = call i64 @FUNC() %42 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0)) ret i64 %42 uselistorder i64 (i64)* @ipl_eckd_ldl, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 ()* @ipl_eckd_cdl, { 1, 0 } uselistorder i64 ()* @virtio_guessed_disk_nature, { 1, 0 } uselistorder i64 (i64, i64)* @magic_match, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*)* @read_block, { 1, 0 } uselistorder i64* @gv_0, { 0, 2, 3, 1 } }
1
BinRealVul
imap_disconnect_17863
imap_disconnect
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
checkpoint_5042
checkpoint
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem13 = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem11 = alloca i64 %.reg2mem9 = alloca i64 %.reg2mem7 = alloca i64 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 2 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %5) %7 = load i64, i64* @gv_0, align 8 %8 = call i64 @FUNC(i64 %7) %9 = load i64, i64* @gv_0, align 8 %10 = add i64 %9, 64 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 store i64 %9, i64* %.reg2mem br i1 %13, label LBL_6, label LBL_3 LBL_3: %14 = add i64 %9, 72 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %9, i64* %.reg2mem br i1 %18, label LBL_6, label LBL_4 LBL_4: %19 = add i64 %12, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 2 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %9, i64* %.reg2mem br i1 %24, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i64, i64* @gv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %25 = add i64 %.reload, 56 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %27, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 15 store i64 %.reload, i64* %.reg2mem7 br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %33 = call i32 @fwrite(i64* bitcast ([9 x i8]* @gv_6 to i64*), i32 1, i32 8, %_IO_FILE* %32) %.pre1 = load i64, i64* @gv_0, align 8 store i64 %.pre1, i64* %.reg2mem7 br label LBL_8 LBL_8: %.reload8 = load i64, i64* %.reg2mem7 %34 = inttoptr i64 %.reload8 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %.reload8, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %.reload8, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = mul i64 %41, %38 %43 = icmp ult i64 %35, %42 %44 = icmp eq i1 %43, false store i64 %.reload8, i64* %.reg2mem9 br i1 %44, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %.pre2 = load i64, i64* @gv_0, align 8 store i64 %.pre2, i64* %.reg2mem9 br label LBL_10 LBL_10: %.reload10 = load i64, i64* %.reg2mem9 %45 = add i64 %.reload10, 32 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %.reload10, 40 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = add i64 %.reload10, 48 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = mul i64 %53, %50 %55 = icmp ult i64 %47, %54 %56 = icmp eq i1 %55, false store i64 %.reload10, i64* %.reg2mem11 br i1 %56, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 74, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %.pre3 = load i64, i64* @gv_0, align 8 store i64 %.pre3, i64* %.reg2mem11 br label LBL_12 LBL_12: %.reload12 = load i64, i64* %.reg2mem11 %57 = add i64 %.reload12, 16 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp ult i64 %59, 47 store i64 %59, i64* %rax.0.reg2mem br i1 %60, label LBL_20, label LBL_13 LBL_13: %61 = call i64 @FUNC(i64 %.reload12, i64 47) %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_15, label LBL_14 LBL_14: call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 77, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) br label LBL_15 LBL_15: %64 = add i64 %61, 8 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = sext i32 %66 to i64 %68 = load i64, i64* @gv_0, align 8 %69 = add i64 %68, 48 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = icmp ugt i64 %71, %67 store i64 %67, i64* %.pre-phi.reg2mem store i64 %68, i64* %.reg2mem13 br i1 %72, label LBL_17, label LBL_16 LBL_16: call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 78, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %.pre4 = load i32, i32* %65, align 4 %.pre5 = load i64, i64* @gv_0, align 8 %.pre6 = sext i32 %.pre4 to i64 store i64 %.pre6, i64* %.pre-phi.reg2mem store i64 %.pre5, i64* %.reg2mem13 br label LBL_17 LBL_17: %.reload14 = load i64, i64* %.reg2mem13 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %73 = add i64 %.reload14, 32 %74 = call i64 @FUNC(i64 %73, i64 %.pre-phi.reload) %75 = add i64 %74, 4 %76 = inttoptr i64 %75 to i64* %77 = call i32 @memcmp(i64* %76, i64* bitcast ([12 x i8]* @gv_11 to i64*), i32 11) %78 = icmp eq i32 %77, 0 store i64 0, i64* %rax.0.reg2mem br i1 %78, label LBL_20, label LBL_18 LBL_18: %79 = inttoptr i64 %75 to i8* %80 = load i8, i8* %79, align 1 %81 = icmp eq i8 %80, 0 store i64 0, i64* %rax.0.reg2mem br i1 %81, label LBL_20, label LBL_19 LBL_19: call void @__assert_fail(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 2, 1, 3, 0, 4 } uselistorder i64* %.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %.reg2mem7, { 0, 2, 1 } uselistorder i64* %.reg2mem9, { 0, 2, 1 } uselistorder i64* %.reg2mem11, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem13, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 47, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @array_get, { 2, 1, 0 } uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_20, { 3, 1, 0, 2 } }
0
BinRealVul
bdrv_ioctl_bh_cb_15911
bdrv_ioctl_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4294967201) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) ret i64 %5 }
1
BinRealVul
can_merge_formats_18425
can_merge_formats
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = icmp eq i64 %arg1, %arg2 %1 = icmp eq i1 %0, false store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = call i64 @FUNC(i64 %arg1) store i64 %2, i64* %sv_2, align 8 %3 = call i64 @FUNC(i64 %arg2) store i64 %3, i64* %sv_1, align 8 %4 = icmp eq i32 %arg4, 0 br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %2, i64 %3) store i64 %5, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %6 = call i64 @FUNC(i64 %2, i64 %3, i32 %arg3) store i64 %6, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %sv_0, align 8 %7 = icmp eq i64 %storemerge.reload, 0 br i1 %7, label LBL_6, label LBL_5 LBL_5: %8 = call i64 @FUNC(i64 %storemerge.reload) %9 = ptrtoint i64* %sv_0 to i64 %10 = call i64 @FUNC(i64 %9) store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %11 = load i64, i64* %sv_2, align 8 %12 = call i64 @FUNC(i64 %11) %13 = load i64, i64* %sv_1, align 8 %14 = call i64 @FUNC(i64 %13) %15 = ptrtoint i64* %sv_2 to i64 %16 = call i64 @FUNC(i64 %15) %17 = ptrtoint i64* %sv_1 to i64 %18 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @av_freep, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @clone_filter_formats, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } }
1
BinRealVul
prepareForShutdown_11963
prepareForShutdown
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0)) %1 = load i32, i32* @gv_2, align 4 %2 = icmp eq i32 %1, -1 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0)) %4 = load i32, i32* @gv_2, align 4 %5 = call i32 @kill(i32 %4, i32 9) %6 = load i32, i32* @gv_2, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) br label LBL_2 LBL_2: %9 = load i32, i32* @gv_4, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = load i32, i32* @gv_5, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = load i32, i32* @gv_6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_9, label LBL_4 LBL_4: %16 = load i8*, i8** @gv_7, align 8 %17 = call i32 @unlink(i8* %16) br label LBL_9 LBL_5: %18 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %19 = icmp slt i32 %18, 1 br i1 %19, label LBL_8, label LBL_6 LBL_6: %20 = load i64, i64* @gv_8, align 8 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_9, label LBL_7 LBL_7: %24 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_9, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_12 LBL_8: %25 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0)) br label LBL_9 LBL_9: %26 = load i32, i32* @gv_11, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_11, label LBL_10 LBL_10: %28 = load i8*, i8** @gv_12, align 8 %29 = call i32 @unlink(i8* %28) br label LBL_11 LBL_11: %30 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_13, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 (i8*)* @unlink, { 1, 0 } uselistorder i64 (i8*, i8*)* @redisLog, { 4, 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 2, 0, 1, 3, 4 } uselistorder i32 1, { 3, 2, 1, 0 } }
1
BinRealVul
doubles2str_276
doubles2str
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i8* %sv_0 = alloca i8*, align 8 %0 = call i32 @strlen(i8* %arg3) %1 = add i32 %0, 15 %2 = trunc i64 %arg2 to i32 %3 = mul i32 %1, %2 %4 = sext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_7 LBL_1: %8 = icmp eq i8* %arg3, null %9 = icmp eq i1 %8, false %spec.select = select i1 %9, i8* %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0) %10 = inttoptr i64 %5 to i8* %11 = bitcast i8** %sv_0 to i64* store i64 %5, i64* %11, align 8 store i8 0, i8* %10, align 1 %12 = icmp sgt i32 %2, 0 br i1 %12, label LBL_2, label LBL_6 LBL_2: %13 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %14 = ashr exact i64 %sext, 32 store i8* %10, i8** %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i8*, i8** %.reg2mem %15 = mul i64 %indvars.iv.reload, 8 %16 = add i64 %15, %13 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i128 @FUNC(i64 %18) %20 = trunc i128 %19 to i64 %21 = bitcast i64 %20 to double %22 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %.reload, i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), double %21, i8* %spec.select) %23 = icmp ult i32 %22, %1 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = load i8*, i8** %sv_0, align 8 %25 = ptrtoint i8* %24 to i64 %26 = call i64 @FUNC(i64 %25) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %27 = zext i32 %22 to i64 %28 = ptrtoint i8* %.reload to i64 %29 = add i64 %27, %28 %30 = inttoptr i64 %29 to i8* %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %31 = icmp slt i64 %indvars.iv.next, %14 store i8* %30, i8** %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %31, label LBL_3, label LBL_6 LBL_6: %32 = load i8*, i8** %sv_0, align 8 %33 = call i32 @strlen(i8* %32) %34 = sext i32 %33 to i64 %35 = call i32 @strlen(i8* %spec.select) %36 = sext i32 %35 to i64 %37 = ptrtoint i8* %32 to i64 %38 = add i64 %34, %37 %39 = sub i64 %38, %36 %40 = inttoptr i64 %39 to i8* store i8 0, i8* %40, align 1 %41 = load i8*, i8** %sv_0, align 8 %42 = ptrtoint i8* %41 to i64 store i64 %42, 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* %.reload, { 1, 0 } uselistorder i8* %spec.select, { 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i32 %1, { 1, 2, 0 } uselistorder i8** %sv_0, { 3, 2, 1, 0 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
_multi_string_alloc_and_copy_11058
_multi_string_alloc_and_copy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_10 LBL_1: %2 = add i64 %arg1, 4 store i32 0, i32* %sv_0.0.reg2mem br label LBL_3 LBL_2: %3 = add i32 %sv_0.0.reload, 1 store i32 %3, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %4 = sext i32 %sv_0.0.reload to i64 %5 = mul i64 %4, 4 %6 = add i64 %5, %arg1 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_4 LBL_4: %11 = add i64 %5, %2 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_5 LBL_5: %16 = add i32 %sv_0.0.reload, 2 %17 = call i64* @malloc(i32 %16) %18 = ptrtoint i64* %17 to i64 store i32 0, i32* %storemerge1.reg2mem br label LBL_7 LBL_6: %19 = add i64 %23, %18 %20 = trunc i32 %27 to i8 %21 = inttoptr i64 %19 to i8* store i8 %20, i8* %21, align 1 %22 = add i32 %storemerge1.reload, 1 store i32 %22, i32* %storemerge1.reg2mem br label LBL_7 LBL_7: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %23 = sext i32 %storemerge1.reload to i64 %24 = mul i64 %23, 4 %25 = add i64 %24, %arg1 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_8 LBL_8: %30 = add i64 %24, %2 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_6, label LBL_9 LBL_9: %35 = add i32 %storemerge1.reload, 1 %36 = add i64 %23, %18 %37 = inttoptr i64 %36 to i8* store i8 0, i8* %37, align 1 %38 = sext i32 %35 to i64 %39 = add i64 %38, %18 %40 = inttoptr i64 %39 to i8* store i8 0, i8* %40, align 1 store i64 %18, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %27, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %23, { 1, 0, 2 } uselistorder i32 %storemerge1.reload, { 2, 0, 1 } uselistorder i64 %18, { 0, 2, 3, 1 } uselistorder i64 %5, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 3, 0, 4, 5, 1 } uselistorder i32 1, { 3, 4, 5, 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
adx_decode_init_712
adx_decode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 ret i64 0 }
0
BinRealVul
dyngen_code_18599
dyngen_code
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = load i64, i64* @gv_1, align 8 %2 = sub i64 %0, %1 %sext = mul i64 %2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = load i64, i64* @gv_2, align 8 %5 = add i64 %3, %4 store i64 %5, i64* @gv_2, align 8 %6 = load i32, i32* @gv_3, align 4 %7 = zext i32 %6 to i64 %8 = icmp sgt i64 %3, %7 br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = trunc i64 %2 to i32 store i32 %9, i32* @gv_3, align 4 br label LBL_2 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i64* %arg1 to i64 %12 = call i64 @FUNC(i64 %11, i64 %10, i64 0, i64 0) %13 = call i64 @FUNC(i64 %10, i64 %11) ret i64 0 uselistorder i64 %11, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sig_message_join_18709
sig_message_join
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i8* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %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 = ptrtoint i8* %arg3 to i64 %5 = call i64 @FUNC(i64 %2, i64 %4, i64 0) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
test_opts_dict_unvisited_16735
test_opts_dict_unvisited
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 4198742) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_0, i64 4198742) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %1) %6 = load i64, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64 %6) ret i64 %7 uselistorder i64* %sv_0, { 1, 0 } }
1
BinRealVul
virtio_pci_stop_ioeventfd_16215
virtio_pci_stop_ioeventfd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %indvars.iv.reload) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64 0) %12 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64 0) br label LBL_4 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_2 LBL_5: %13 = bitcast i64* %arg1 to i8* store i8 0, i8* %13, align 1 br label LBL_6 LBL_6: ret i64 0 uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
do_adaptive_prediction_854
do_adaptive_prediction
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = bitcast i64* %rdi to i32* %5 = trunc i64 %1 to i32 %6 = add i32 %5, %3 %7 = icmp slt i32 %6, 0 %8 = zext i1 %7 to i32 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, %8 %13 = icmp eq i1 %12, false %14 = zext i1 %13 to i64 %15 = mul i64 %14, 4 %16 = or i64 %15, ptrtoint (i32** @gv_0 to i64) %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, %8 %23 = zext i1 %22 to i64 %24 = mul i64 %23, 4 %25 = or i64 %24, ptrtoint (i32** @gv_0 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 store i32 %11, i32* %20, align 4 store i32 %8, i32* %10, align 4 %28 = add i64 %2, 12 %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, i64 4294959105, i64 8191) %33 = trunc i64 %32 to i32 %34 = mul i32 %18, %33 %35 = ashr i32 %34, 5 %36 = mul i32 %27, 128 %37 = add i32 %35, %36 %38 = add i64 %2, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = mul i32 %40, 127 %42 = ashr i32 %41, 7 %43 = add i32 %37, %42 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64 %44, i64 4294955008, i64 12288) %46 = trunc i64 %45 to i32 store i32 %46, i32* %39, align 4 %47 = sub i32 15360, %46 %48 = sub i32 0, %47 %49 = zext i32 %48 to i64 %50 = mul i32 %18, -192 %51 = load i32, i32* %29, align 4 %52 = mul i32 %51, 255 %53 = ashr i32 %52, 8 %54 = add i32 %53, %50 %55 = zext i32 %47 to i64 %56 = zext i32 %54 to i64 %57 = call i64 @FUNC(i64 %56, i64 %49, i64 %55) %58 = trunc i64 %57 to i32 store i32 %58, i32* %29, align 4 %59 = and i64 %arg2, 4294967295 %60 = call i64 @FUNC(i64 %59, i64 %2) %61 = add i64 %2, 20 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = add i32 %63, %3 %65 = mul i32 %64, 2 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %66) %68 = trunc i64 %67 to i32 %sext1 = mul i32 %68, 65536 %69 = ashr exact i32 %sext1, 16 %70 = load i32, i32* %4, align 8 %71 = load i32, i32* %29, align 4 %72 = mul i64 %67, 281474976710656 %73 = ashr exact i64 %72, 48 %74 = trunc i64 %73 to i32 %75 = mul i32 %71, %74 %76 = ashr i32 %75, 15 %77 = add i32 %76, %70 %78 = load i32, i32* %39, align 4 %79 = add i64 %2, 24 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = mul i32 %81, %78 %83 = ashr i32 %82, 15 %84 = add i32 %77, %83 %85 = zext i32 %84 to i64 %86 = call i64 @FUNC(i64 %85) %87 = trunc i64 %86 to i32 %sext2 = mul i32 %87, 65536 %88 = ashr exact i32 %sext2, 16 store i32 %88, i32* %62, align 4 store i32 %69, i32* %80, align 4 ret i64 %2 uselistorder i32 %18, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %8, { 2, 0, 1 } uselistorder i64 (i64)* @av_clip_int16, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @av_clip, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
lbs_set_radio_4659
lbs_set_radio
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 %sv_1 = alloca i16, align 2 %sext = mul i64 %arg2, 72057594037927936 %4 = ashr exact i64 %sext, 56 %5 = call i64 @FUNC(i64 3) %6 = call i64 @FUNC(i64 6) %7 = trunc i64 %6 to i16 store i16 %7, i16* %sv_1, align 2 %8 = call i64 @FUNC(i64 1) %9 = trunc i64 %3 to i32 %10 = icmp sgt i32 %9, 150994943 br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = urem i64 %4, 256 %12 = icmp ult i64 %11, 3 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = call i64 @FUNC(i64 %11) br label LBL_3 LBL_3: %14 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg3, 72057594037927936 %15 = ashr exact i64 %sext2, 56 %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 1) br label LBL_6 LBL_5: %19 = call i64 @FUNC(i64 65534) %20 = add i64 %14, 4 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 br label LBL_6 LBL_6: %22 = urem i64 %4, 256 %. = select i1 %17, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 ptrtoint ([3 x i8]* @gv_1 to i64) %23 = inttoptr i64 %. to i8* %24 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %22, i8* %23, i64 %2, i64 %1) %25 = trunc i64 %15 to i32 %26 = urem i32 %25, 256 %27 = add i64 %14, 8 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = call i64 @FUNC(i64 %14, i64 2, i16* nonnull %sv_1) %phitmp = and i64 %29, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %sv_0.0.reload) ret i64 %sv_0.0.reload uselistorder i64 %., { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @cpu_to_le16, { 4, 3, 2, 1, 0 } uselistorder i64 3, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
complete_request_vring_15660
complete_request_vring
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg2, 256 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, 1 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = zext i32 %6 to i64 %16 = call i64 @FUNC(i64 %14, i64 %9, i64 %15) %17 = load i64, i64* %11, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) ret i64 %20 }
1
BinRealVul
decode_component_247
decode_component
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = add i64 %2, 1936 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_12, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %8 = bitcast i64* %rdi to i32* %9 = ptrtoint i64* %sv_1 to i64 %10 = ashr exact i64 %sext, 32 %11 = ashr exact i64 %sext, 30 %12 = add nsw i64 %11, %10 %13 = mul i64 %12, 2 %14 = add i64 %9, -304 %15 = add i64 %2, 1928 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge10.reg2mem store i32 0, i32* %sv_0.19.reg2mem br label LBL_2 LBL_2: %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %.reload = load i64, i64* %.reg2mem %17 = icmp eq i32 %storemerge10.reload, 0 %18 = icmp eq i1 %17, false %19 = add nsw i64 %.reload, %13 %20 = mul i64 %19, 4 %21 = zext i1 %18 to i64 store i64 %21, i64* %indvars.iv.reg2mem store i32 %sv_0.19.reload, i32* %sv_0.07.reg2mem br label LBL_3 LBL_3: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %22 = add nsw i64 %indvars.iv.reload, %20 %23 = mul i64 %22, 16 %24 = add i64 %23, %2 %25 = add i64 %24, 8 %26 = inttoptr i64 %25 to i32* %27 = sext i32 %sv_0.07.reload to i64 %28 = mul i64 %27, 8 %29 = add i64 %14, %28 %30 = inttoptr i64 %29 to i64* store i64 %25, i64* %30, align 8 %31 = call i64 @FUNC(i64 %15) %32 = call i64 @FUNC(i64 %15) %33 = trunc i64 %32 to i32 store i32 %33, i32* %26, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_10, label LBL_4 LBL_4: %35 = call i64 @FUNC(i64 %15) %36 = trunc i64 %35 to i32 %37 = add i64 %24, 12 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = call i64 @FUNC(i64 %15) %40 = load i64, i64* %16, align 8 %41 = call i64 @FUNC(i64 %15) %42 = trunc i64 %41 to i32 %43 = sdiv i32 %42, 128 %44 = sext i32 %43 to i64 %45 = add i64 %40, %44 %46 = add i64 %24, 16 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %48 = load i32, i32* %26, align 4 %49 = call i64 @FUNC(i64 %15) %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %50, 8 br i1 %51, label LBL_7, label LBL_5 LBL_5: %52 = call i64 @FUNC(i64 %15) %53 = trunc i64 %52 to i32 %54 = sdiv i32 %53, 128 %55 = icmp ugt i32 %54, %48 br i1 %55, label LBL_6, label LBL_7 LBL_6: %56 = load i32, i32* %26, align 4 store i32 %56, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_7: %57 = call i64 @FUNC(i64 %15) %58 = trunc i64 %57 to i32 %59 = icmp slt i32 %58, 8 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %59, label LBL_9, label LBL_8 LBL_8: %60 = call i64 @FUNC(i64 %15) %61 = trunc i64 %60 to i32 %62 = sdiv i32 %61, 128 store i32 %62, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_9: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 store i32 %rax.0.shrunk.reload, i32* %26, align 4 %63 = mul i64 %rax.0, 8 %64 = and i64 %63, 4294967288 %65 = call i64 @FUNC(i64 %15, i64 %64) br label LBL_10 LBL_10: %66 = add i32 %sv_0.07.reload, 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %66, i32* %sv_0.07.reg2mem br i1 %exitcond, label LBL_11, label LBL_3 LBL_11: %67 = add i32 %storemerge10.reload, 1 %68 = load i32, i32* %8, align 8 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i64 %70, i64* %.reg2mem store i32 %67, i32* %storemerge10.reg2mem store i32 %66, i32* %sv_0.19.reg2mem br i1 %71, label LBL_2, label LBL_12 LBL_12: %72 = add i64 %2, 4 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = zext i32 %74 to i64 %76 = icmp eq i32 %74, 0 %77 = icmp eq i1 %76, false %spec.select = select i1 %77, i64 %75, i64 %5 ret i64 %spec.select uselistorder i32 %66, { 1, 0 } uselistorder i32 %rax.0.shrunk.reload, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %15, { 3, 1, 2, 0, 4, 5, 6, 8, 9, 10, 7 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @get_bits_left, { 3, 2, 1, 0 } uselistorder i64 (i64)* @svq3_get_ue_golomb, { 1, 0 } uselistorder i64 (i64)* @align_get_bits, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 6, 0, 4, 5, 1, 2, 3 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_sot_1463
get_sot
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 = trunc i64 %1 to i32 %3 = icmp sgt i32 %2, 7 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = urem i32 %5, 65536 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i32 %14, %11 %16 = icmp ult i32 %6, %15 br i1 %16, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %8, align 4 store i64 4294967274, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %17 = call i64 @FUNC(i64 %0, i64 4) %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) 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 i32 %6, { 1, 0 } uselistorder i64 %0, { 0, 3, 4, 2, 1, 6, 5, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @bytestream2_get_byteu, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
ptaCreate_9016
ptaCreate
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %sv_0 = alloca i32*, align 8 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 %6 = call i64* @calloc(i32 1, i32 24) %7 = bitcast i64* %6 to i32* store i32* %7, i32** %sv_0, align 8 store i32 0, i32* %7, align 4 %8 = load i32*, i32** %sv_0, align 8 %9 = ptrtoint i32* %8 to i64 %10 = select i1 %5, i32 %0, i32 10 %11 = add i64 %9, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = load i32*, i32** %sv_0, align 8 %14 = ptrtoint i32* %13 to i64 %15 = call i64 @FUNC(i64 %14, i64 1) %16 = call i64* @calloc(i32 %10, i32 4) %17 = ptrtoint i64* %16 to i64 %18 = add i64 %14, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = load i32*, i32** %sv_0, align 8 %21 = ptrtoint i32* %20 to i64 %22 = call i64* @calloc(i32 %10, i32 4) %23 = ptrtoint i64* %22 to i64 %24 = add i64 %21, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = load i32*, i32** %sv_0, align 8 %27 = ptrtoint i32* %26 to i64 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_2, label LBL_1 LBL_1: %32 = add i64 %27, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 %27, i64* %storemerge3.reg2mem br i1 %36, label LBL_3, label LBL_2 LBL_2: %37 = bitcast i32** %sv_0 to i64* %38 = call i64 @FUNC(i64* nonnull %37) store i64 0, i64* %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i32 %10, { 2, 1, 0 } uselistorder i32 %0, { 0, 2, 1 } uselistorder i32** %sv_0, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* (i32, i32)* @calloc, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
skip_boxes_7086
skip_boxes
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = and i64 %1, 4294967295 %4 = icmp slt i64 %2, %3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = ptrtoint i64* %arg2 to i64 %sext7 = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext7, 32 %8 = add i64 %7, %6 %9 = trunc i64 %2 to i32 %10 = sub i32 %9, %5 %11 = call i64 @FUNC(i64* nonnull %sv_2, i64 %8, i32 %10) %12 = sub i32 2147483647, %5 br label LBL_2 LBL_2: %13 = call i64 @FUNC(i64* nonnull %sv_2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_10, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64* nonnull %sv_2) %17 = icmp eq i64 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_10, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64* nonnull %sv_2) %19 = trunc i64 %18 to i32 %20 = icmp sgt i32 %19, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_10 LBL_5: %21 = call i64 @FUNC(i64* nonnull %sv_2) %22 = and i64 %21, 4294967295 %23 = icmp eq i64 %22, 1 %24 = icmp eq i1 %23, false store i32 4, i32* %sv_1.0.reg2mem store i64 %21, i64* %sv_0.0.in.reg2mem br i1 %24, label LBL_8, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64* nonnull %sv_2) %26 = trunc i64 %25 to i32 %27 = icmp sgt i32 %26, 11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_10 LBL_7: %28 = call i64 @FUNC(i64* nonnull %sv_2) store i32 12, i32* %sv_1.0.reg2mem store i64 %28, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %29 = add nuw nsw i32 %sv_1.0.reload, 4 %30 = icmp uge i32 %29, %sv_0.0 %31 = icmp ult i32 %12, %sv_0.0 %or.cond6 = or i1 %30, %31 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_10, label LBL_9 LBL_9: %32 = add i32 %sv_0.0, %5 store i32 %32, i32* %arg1, align 4 %33 = sub i32 %sv_0.0, %sv_1.0.reload %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64* nonnull %sv_2, i64 %34) %36 = call i64 @FUNC(i64* nonnull %sv_2) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp slt i32 %37, 0 %40 = icmp eq i1 %39, false %41 = icmp eq i1 %38, false %42 = icmp eq i1 %40, %41 store i64 4294967295, i64* %rax.0.reg2mem br i1 %42, label LBL_2, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %37, { 1, 0 } uselistorder i32 %sv_0.0, { 3, 0, 1, 2 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 2, 1, 7 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64*)* @bytestream2_get_bytes_left, { 2, 1, 0 } uselistorder label LBL_10, { 2, 5, 3, 4, 1, 0, 6 } }
0
BinRealVul
monitor_parse_1110
monitor_parse
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %0 = bitcast i8** %sv_2 to i64* %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load i8*, i8** %sv_2, align 8 %5 = bitcast i64* %sv_1 to i8* %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* %4) store i32 0, i32* %sv_0.1.reg2mem br label LBL_4 LBL_2: %7 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %8 = zext i32 %7 to i64 %9 = bitcast i64* %sv_1 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 32, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %8) %11 = load i32, i32* @gv_3, align 4 %12 = icmp eq i32 %11, 0 %spec.select = zext i1 %12 to i32 %13 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %17 = inttoptr i64 %arg1 to i8* %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i8* %17) call void @exit(i32 1) unreachable LBL_4: %19 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0)) %20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1, i64 1, i64 0) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_1) call void @exit(i32 1) unreachable LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %25 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64 %arg2) %26 = ptrtoint i64* %sv_1 to i64 %27 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0), i64 %26) %28 = icmp eq i32 %sv_0.1.reload, 0 br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i64 ptrtoint ([3 x i8]* @gv_11 to i64)) br label LBL_8 LBL_8: store i32 ptrtoint (i32* @gv_12 to i32), i32* @gv_3, align 4 ret i64 ptrtoint (i32* @gv_12 to i64) uselistorder i64 %20, { 0, 2, 1, 3 } uselistorder i64* %sv_1, { 5, 0, 1, 2, 3, 4 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* @gv_12, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_set, { 2, 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32* @gv_3, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 6, 1, 2, 7, 3 } }
0
BinRealVul
mmap_rnd_19200
mmap_rnd
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = urem i64 %2, 2 %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = mul i64 %5, 8192 %phitmp = and i64 %6, 17592186036224 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload }
1
BinRealVul
ff_ivi_decode_close_16781
ff_ivi_decode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %7 = add i64 %0, 16 %8 = call i64 @FUNC(i64 %7) ret i64 0 }
1
BinRealVul
evdns_transmit_10924
evdns_transmit
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.3.lcssa.reg2mem = alloca i8 %sv_0.2.reg2mem = alloca i8 %sv_0.1.reg2mem = alloca i8 %sv_1.0.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %sv_0.33.reg2mem = alloca i8 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i8 0, i8* %sv_0.3.lcssa.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem store i8 0, i8* %sv_0.33.reg2mem br label LBL_2 LBL_2: %sv_0.33.reload = load i8, i8* %sv_0.33.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %6, align 8 %9 = mul i64 %.reload, 8 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 store i8 %sv_0.33.reload, i8* %sv_0.0.reg2mem store i64 %12, i64* %sv_1.0.in.reg2mem store i8 %sv_0.33.reload, i8* %sv_0.2.reg2mem br i1 %13, label LBL_6, label LBL_3 LBL_3: %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in.reload to i32* %14 = load i32, i32* %sv_1.0, align 4 %15 = icmp eq i32 %14, 0 store i8 %sv_0.0.reload, i8* %sv_0.1.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %sv_1.0.in.reload) store i8 1, i8* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem %17 = add i64 %sv_1.0.in.reload, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, %12 %21 = icmp eq i1 %20, false store i8 %sv_0.1.reload, i8* %sv_0.0.reg2mem store i64 %19, i64* %sv_1.0.in.reg2mem store i8 %sv_0.1.reload, i8* %sv_0.2.reg2mem br i1 %21, label LBL_3, label LBL_6 LBL_6: %sv_0.2.reload = load i8, i8* %sv_0.2.reg2mem %22 = add i32 %storemerge4.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %7, %23 store i64 %23, i64* %.reg2mem store i32 %22, i32* %storemerge4.reg2mem store i8 %sv_0.2.reload, i8* %sv_0.33.reg2mem store i8 %sv_0.2.reload, i8* %sv_0.3.lcssa.reg2mem br i1 %24, label LBL_2, label LBL_7 LBL_7: %sv_0.3.lcssa.reload = load i8, i8* %sv_0.3.lcssa.reg2mem %25 = sext i8 %sv_0.3.lcssa.reload to i64 ret i64 %25 uselistorder i64 %sv_1.0.in.reload, { 2, 1, 0 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.33.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.in.reg2mem, { 2, 0, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dimC_Read_6695
dimC_Read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.01.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8, align 1 %sv_2 = alloca i64, align 8 %2 = ptrtoint i64* %sv_2 to i64 %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = add i64 %1, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = call i64 @FUNC(i64 %0, i64 4) %11 = trunc i64 %10 to i32 %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = call i64 @FUNC(i64 %0, i64 1) %15 = trunc i64 %14 to i32 %16 = add i64 %1, 12 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = call i64 @FUNC(i64 %0, i64 1) %19 = trunc i64 %18 to i32 %20 = add i64 %1, 16 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = call i64 @FUNC(i64 %0, i64 2) %23 = trunc i64 %22 to i32 %24 = add i64 %1, 20 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = call i64 @FUNC(i64 %1, i64 3) store i8 0, i8* %sv_1, align 1 %27 = add i64 %2, -1040 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.01.reg2mem br label LBL_1 LBL_1: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = call i64 @FUNC(i64 %0) %29 = trunc i64 %28 to i8 %30 = add i64 %indvars.iv.reload, %27 %31 = inttoptr i64 %30 to i8* store i8 %29, i8* %31, align 1 %32 = icmp eq i8 %29, 0 br i1 %32, label LBL_3, label LBL_2 LBL_2: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = add nuw nsw i32 %sv_0.01.reload, 1 %34 = icmp ult i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %33, i32* %sv_0.01.reg2mem store i32 %33, i32* %sv_0.0.lcssa.reg2mem br i1 %34, label LBL_1, label LBL_4 LBL_3: %35 = trunc i64 %indvars.iv.reload to i32 store i32 %35, i32* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %36 = zext i32 %sv_0.0.lcssa.reload to i64 %37 = call i64 @FUNC(i64 %1, i64 %36) %38 = call i64 @FUNC(i8* nonnull %sv_1) %39 = add i64 %1, 24 %40 = inttoptr i64 %39 to i64* store i64 %38, i64* %40, align 8 store i8 0, i8* %sv_1, align 1 store i32 0, i32* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %41 = call i64 @FUNC(i64 %0) %42 = zext i32 %sv_0.1.reload to i64 %43 = trunc i64 %41 to i8 %44 = add i64 %27, %42 %45 = inttoptr i64 %44 to i8* store i8 %43, i8* %45, align 1 %46 = icmp eq i8 %43, 0 %47 = add i32 %sv_0.1.reload, 1 store i32 %47, i32* %sv_0.1.reg2mem br i1 %46, label LBL_6, label LBL_5 LBL_6: %48 = call i64 @FUNC(i64 %1, i64 %42) %49 = call i64 @FUNC(i8* nonnull %sv_1) %50 = add i64 %1, 32 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 ret i64 0 uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i8* %sv_1, { 0, 2, 1, 3 } uselistorder i64 %1, { 1, 0, 3, 2, 4, 5, 6, 7, 8, 9 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 1, 0, 2 } uselistorder i64 (i8*)* @gf_strdup, { 1, 0 } uselistorder i8 0, { 2, 0, 3, 1 } uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 2, 1, 0 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 3, 2, 1, 0 } uselistorder i64 (i64)* @gf_bs_read_u8, { 3, 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ff_framequeue_take_2525
ff_framequeue_take
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %2, i64 0) %8 = add i32 %4, -1 store i32 %8, i32* %arg1, align 4 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, 1 store i32 %12, i32* %10, align 4 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i32 %15, -1 %17 = and i32 %16, %12 store i32 %17, i32* %10, align 4 %18 = add i64 %2, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, 1 store i32 %21, i32* %19, align 4 %22 = add i64 %2, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = inttoptr i64 %7 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, %24 store i32 %29, i32* %23, align 4 %30 = add i64 %2, 20 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = call i64 @FUNC(i64 %2) %33 = load i64, i64* %25, align 8 ret i64 %33 uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64)* @check_consistency, { 1, 0 } }
0
BinRealVul
session_close_x11_9964
session_close_x11
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %0) store i64 %4, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %5 = inttoptr i64 %1 to i32* %6 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %0) %7 = call i64 @FUNC(i64 %0) %8 = load i32, i32* %5, align 4 %9 = icmp eq i32 %8, 1 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %1) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 3, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i8*, i64)* @debug, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } }
0
BinRealVul
slirp_input_1750
slirp_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 14 br i1 %1, label LBL_8, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %2, 12 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = call i16 @ntohs(i16 %6) %8 = icmp eq i16 %7, 2048 br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = zext i16 %7 to i64 %10 = icmp eq i16 %7, 2054 %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_8, label LBL_3 LBL_3: %12 = and i64 %3, 4294967295 %13 = call i64 @FUNC(i64 %2, i64 %12) store i64 %13, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %14 = call i64 @FUNC() %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_5 LBL_5: %16 = inttoptr i64 %14 to i32* %17 = add nsw i64 %3, 1 %18 = and i64 %17, 4294967295 %19 = load i32, i32* %16, align 4 %20 = sub i32 1500, %19 %21 = zext i32 %20 to i64 %22 = icmp ult i64 %18, %21 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = add nsw i64 %3, 2 %24 = and i64 %23, 4294967295 %25 = call i64 @FUNC(i64 %14, i64 %24) br label LBL_7 LBL_7: %26 = trunc i64 %3 to i32 %27 = add i32 %26, 2 store i32 %27, i32* %16, align 4 %28 = add i64 %14, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, 2 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memcpy(i64* %32, i64* %arg1, i32 %26) %34 = load i64, i64* %29, align 8 %35 = add i64 %34, 16 store i64 %35, i64* %29, align 8 %36 = load i32, i32* %16, align 4 %37 = add i32 %36, -16 store i32 %37, i32* %16, align 4 %38 = call i64 @FUNC(i64 %14) store i64 %38, 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* %29, { 1, 0, 2 } uselistorder i32* %16, { 1, 0, 2, 3 } uselistorder i16 %7, { 0, 2, 1 } uselistorder i64 %3, { 1, 3, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_8, { 3, 0, 4, 1, 2 } }
0
BinRealVul
nft_match_set_mtchk_param_18841
nft_match_set_mtchk_param
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg6, 72057594037927936 %3 = ashr exact i64 %sext, 56 %sext2 = mul i64 %arg7, 72057594037927936 %4 = ashr exact i64 %sext2, 56 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 %1, i64* %6, align 8 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 switch i32 %11, label LBL_3 [ i32 2, label LBL_1 i32 10, label LBL_2 ] LBL_1: %12 = trunc i64 %3 to i8 %13 = bitcast i64* %arg5 to i8* store i8 %12, i8* %13, align 1 %14 = trunc i64 %4 to i32 %15 = urem i32 %14, 256 %16 = add i64 %0, 4 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 br label LBL_3 LBL_2: %18 = trunc i64 %3 to i8 %19 = bitcast i64* %arg5 to i8* store i8 %18, i8* %19, align 1 %20 = trunc i64 %4 to i32 %21 = urem i32 %20, 256 %22 = add i64 %0, 4 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 br label LBL_3 LBL_3: %24 = ptrtoint i64* %arg3 to i64 %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* store i64 %0, i64* %26, align 8 %27 = add i64 %2, 24 %28 = inttoptr i64 %27 to i64* store i64 %24, i64* %28, align 8 %29 = add i64 %2, 32 %30 = inttoptr i64 %29 to i64* store i64 %arg4, i64* %30, align 8 %31 = add i64 %1, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 2 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_5, label LBL_4 LBL_4: %38 = call i64 @FUNC(i64 %33) %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = urem i32 %42, 32 %44 = shl i32 1, %43 %45 = add i64 %2, 40 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 br label LBL_5 LBL_5: %47 = load i64, i64* %8, align 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %2, 44 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 ret i64 %2 uselistorder i64 %2, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %arg5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
kvm_mce_broadcast_rest_3587
kvm_mce_broadcast_rest
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %2, i64* %sv_0, align 8 %3 = trunc i64 %1 to i32 %4 = udiv i32 %3, 256 %5 = urem i32 %4, 16 %6 = udiv i32 %3, 4096 %7 = and i32 %6, 240 %8 = udiv i32 %3, 16 %9 = urem i32 %8, 16 %10 = or i32 %9, %7 %11 = zext i32 %10 to i64 %12 = icmp ne i32 %5, 6 %13 = icmp ult i32 %10, 14 %or.cond.not = or i1 %12, %13 %14 = icmp ult i32 %5, 7 %or.cond4 = icmp eq i1 %14, %or.cond.not store i64 %11, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_7, label LBL_1 LBL_1: %storemerge15 = load i64, i64* @gv_0, align 8 %15 = icmp eq i64 %storemerge15, 0 %16 = icmp eq i1 %15, false store i64 %storemerge15, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_7 LBL_2: %17 = ptrtoint i64* %sv_0 to i64 %18 = add i64 %17, -8 %19 = inttoptr i64 %18 to i64* store i64 %2, i64* %.reg2mem store i64 %storemerge15, i64* %storemerge16.reg2mem br label LBL_3 LBL_3: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %.reload = load i64, i64* %.reg2mem %20 = icmp eq i64 %storemerge16.reload, %.reload br i1 %20, label LBL_5, label LBL_4 LBL_4: store i64 4, i64* %19, align 8 %21 = call i64 @FUNC(i64 %storemerge16.reload, i64 1, i64 1, i64 3, i64 0, i64 0) br label LBL_5 LBL_5: %22 = add i64 %storemerge16.reload, 8 %23 = inttoptr i64 %22 to i64* %storemerge1 = load i64, i64* %23, align 8 %24 = icmp eq i64 %storemerge1, 0 %25 = icmp eq i1 %24, false store i64 %storemerge1, i64* %rax.0.reg2mem br i1 %25, label LBL_5.LBL_3_crit_edge, label LBL_7 LBL_6: %.pre = load i64, i64* %sv_0, align 8 store i64 %.pre, i64* %.reg2mem store i64 %storemerge1, i64* %storemerge16.reg2mem br label LBL_3 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge1, { 1, 0, 2 } uselistorder i64 %storemerge16.reload, { 2, 1, 0 } uselistorder i64 %storemerge15, { 1, 0, 2 } uselistorder i32 %5, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 16, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
getcode_12190
getcode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i8 %1 = icmp eq i8 %0, 47 %2 = icmp eq i1 %1, false store i32 63, i32* %rax.0.shrunk.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %3 = icmp eq i8 %0, 95 %4 = icmp eq i1 %3, false store i32 62, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_2, label LBL_12 LBL_2: %5 = icmp eq i8 %0, 43 %6 = icmp eq i1 %5, false store i32 61, i32* %rax.0.shrunk.reg2mem br i1 %6, label LBL_3, label LBL_12 LBL_3: %7 = icmp eq i8 %0, 45 %8 = icmp eq i1 %7, false store i32 60, i32* %rax.0.shrunk.reg2mem br i1 %8, label LBL_4, label LBL_12 LBL_4: %9 = icmp eq i8 %0, 61 %10 = icmp eq i1 %9, false store i32 59, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_5, label LBL_12 LBL_5: %11 = icmp sgt i8 %0, 47 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %11, label LBL_6, label LBL_12 LBL_6: %12 = icmp sgt i8 %0, 57 br i1 %12, label LBL_8, label LBL_7 LBL_7: %arg1.tr = trunc i64 %arg1 to i32 %sext2 = mul i32 %arg1.tr, 16777216 %13 = ashr exact i32 %sext2, 24 %14 = add nsw i32 %13, -5 store i32 %14, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_8: %.off = add i8 %0, -65 %15 = icmp ugt i8 %.off, 25 br i1 %15, label LBL_10, label LBL_9 LBL_9: %arg1.tr8 = trunc i64 %arg1 to i32 %sext3 = mul i32 %arg1.tr8, 16777216 %16 = ashr exact i32 %sext3, 24 %17 = add nsw i32 %16, -65 store i32 %17, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_10: %.off12 = add i8 %0, -97 %18 = icmp ugt i8 %.off12, 25 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %18, label LBL_12, label LBL_11 LBL_11: %arg1.tr9 = trunc i64 %arg1 to i32 %sext4 = mul i32 %arg1.tr9, 16777216 %19 = ashr exact i32 %sext4, 24 %20 = add nsw i32 %19, -96 store i32 %20, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_12: %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 %0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 10, 1, 9, 8, 2, 3, 4, 5, 6, 7 } uselistorder i8 47, { 1, 0 } uselistorder label LBL_12, { 7, 0, 8, 9, 1, 2, 3, 4, 5, 6 } }
1
BinRealVul
mov_write_amr_tag_7947
mov_write_amr_tag
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 17) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) br label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %2, i64 0) %11 = call i64 @FUNC(i64 %2, i64 33279) %12 = call i64 @FUNC(i64 %2, i64 0) %13 = call i64 @FUNC(i64 %2, i64 1) ret i64 17 uselistorder i64 %2, { 4, 3, 2, 1, 0, 5, 6, 7 } uselistorder i64 (i64, i64)* @avio_w8, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 2, 1, 0 } }
0
BinRealVul
probe_group_enter_1405
probe_group_enter
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi6.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 shl (i64 sext (i32 ptrtoint (i32* @gv_1 to i32) to i64), i64 5)) store i64 %1, i64* @gv_0, align 8 %2 = icmp ne i64 %1, 0 %3 = icmp eq i8* %arg1, null %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %4, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %6 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_3 to i64*), i32 1, i32 14, %_IO_FILE* %5) %7 = call i64 @FUNC(i64 1) unreachable LBL_2: %8 = load i32, i32* @gv_4, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %.pre-phi6.reg2mem store i64 %1, i64* %.reg2mem store i64 -1, i64* %sv_0.1.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = sext i32 %8 to i64 %11 = mul i64 %10, 32 %12 = add i64 %1, -32 %13 = add i64 %12, %11 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 1 %18 = icmp eq i1 %17, false %.pre7 = add i64 %13, 16 %.pre9 = inttoptr i64 %.pre7 to i64* %.pre11 = load i64, i64* %.pre9, align 8 %..pre11 = select i1 %18, i64 -1, i64 %.pre11 %19 = add i64 %.pre11, 1 store i64 %19, i64* %.pre9, align 8 %.pre = load i64, i64* @gv_0, align 8 store i64 %11, i64* %.pre-phi6.reg2mem store i64 %.pre, i64* %.reg2mem store i64 %..pre11, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.reload = load i64, i64* %.reg2mem %.pre-phi6.reload = load i64, i64* %.pre-phi6.reg2mem store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_4, align 4 %20 = add i64 %.reload, %.pre-phi6.reload %21 = ptrtoint i8* %arg1 to i64 %22 = inttoptr i64 %20 to i64* store i64 %21, i64* %22, align 8 %23 = trunc i64 %arg2 to i32 %24 = add i64 %20, 8 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = add i64 %20, 16 %27 = inttoptr i64 %26 to i64* store i64 %sv_0.1.reload, i64* %27, align 8 %28 = add i64 %20, 24 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 ret i64 %20 uselistorder i64 %20, { 4, 3, 2, 1, 0 } uselistorder i64* %.pre9, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %.pre-phi6.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 -1, { 1, 0 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 1, { 3, 4, 2, 1, 0 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
readU16_12615
readU16
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, %arg2 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = zext i8 %3 to i64 %5 = mul i64 %4, 256 %6 = add i64 %1, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i64 %10 = or i64 %5, %9 ret i64 %10 }
1
BinRealVul
blk_rq_map_user_iov_13855
blk_rq_map_user_iov
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %storemerge48.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32*, align 8 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64* %arg4, null store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_15, label LBL_1 LBL_1: %5 = trunc i64 %arg5 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_15 LBL_2: %11 = ptrtoint i64* %arg4 to i64 %12 = ptrtoint i64* %arg1 to i64 %sext3 = mul i64 %arg6, 4294967296 %13 = ashr exact i64 %sext3, 32 %14 = trunc i64 %3 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp sgt i32 %5, 0 store i32 0, i32* %storemerge48.reg2mem store i64 %2, i64* %rdi.0.lcssa.reg2mem br i1 %16, label LBL_3, label LBL_6 LBL_3: %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %17 = sext i32 %storemerge48.reload to i64 %18 = mul i64 %17, 16 %19 = add i64 %18, %11 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %24, label LBL_4, label LBL_15 LBL_4: %25 = inttoptr i64 %19 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %12) %28 = and i64 %27, %26 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_5, label LBL_7 LBL_5: %30 = add nuw i32 %storemerge48.reload, 1 %31 = icmp slt i32 %30, %5 store i32 %30, i32* %storemerge48.reg2mem store i64 %12, i64* %rdi.0.lcssa.reg2mem br i1 %31, label LBL_3, label LBL_6 LBL_6: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %32 = and i64 %13, 4294967295 %33 = and i64 %32, %rdi.0.lcssa.reload %34 = icmp eq i64 %33, 0 %35 = icmp eq i64* %arg3, null %or.cond = icmp eq i1 %35, %34 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %36 = ptrtoint i64* %arg3 to i64 %37 = and i64 %arg7, 4294967295 %38 = zext i1 %15 to i64 %39 = call i64 @FUNC(i64 %12, i64 %36, i64 %11, i32 %5, i64 %38, i64 %37) store i64 %39, i64* %storemerge.in.reg2mem br label LBL_9 LBL_8: %40 = and i64 %arg7, 4294967295 %41 = zext i1 %15 to i64 %42 = call i64 @FUNC(i64 %12, i64 0, i64 %11, i32 %5, i64 %41, i64 %40) store i64 %42, i64* %storemerge.in.reg2mem br label LBL_9 LBL_9: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = inttoptr i64 %storemerge.in.reload to i32* store i32* %storemerge, i32** %sv_0, align 8 %43 = icmp ugt i32* %storemerge, inttoptr (i64 -1001 to i32*) store i64 %storemerge.in.reload, i64* %rax.0.reg2mem br i1 %43, label LBL_15, label LBL_10 LBL_10: %44 = load i32, i32* %storemerge, align 4 %45 = trunc i64 %13 to i32 %46 = icmp eq i32 %44, %45 br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = call i64 @FUNC(i64 %storemerge.in.reload) %48 = load i32*, i32** %sv_0, align 8 %49 = ptrtoint i32* %48 to i64 %50 = call i64 @FUNC(i64 %49, i64 0) %51 = load i32*, i32** %sv_0, align 8 %52 = ptrtoint i32* %51 to i64 %53 = call i64 @FUNC(i64 %52) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %54 = call i64 @FUNC(i64 %storemerge.in.reload, i64 1) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_14, label LBL_13 LBL_13: %58 = trunc i64 %1 to i32 %59 = or i32 %58, 2 %60 = bitcast i64* %arg2 to i32* store i32 %59, i32* %60, align 4 br label LBL_14 LBL_14: %61 = bitcast i32** %sv_0 to i64* %62 = call i64 @FUNC(i64 %12, i64* nonnull %61) %63 = load i32*, i32** %sv_0, align 8 %64 = ptrtoint i32* %63 to i64 %65 = call i64 @FUNC(i64 %64) %66 = load i32*, i32** %sv_0, align 8 %67 = ptrtoint i32* %66 to i64 %68 = call i64 @FUNC(i64 %12, i64 %2, i64 %67) %69 = add i64 %2, 8 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %70, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.in.reload, { 3, 2, 0, 1 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %12, { 2, 3, 1, 4, 0, 5 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i32 %5, { 1, 2, 3, 0, 5, 4 } uselistorder i32** %sv_0, { 4, 3, 5, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i32* %storemerge48.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 4, 3 } uselistorder i64 (i64)* @bio_get, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 0, { 2, 0, 1, 5, 3, 4 } uselistorder i64 4294967274, { 3, 0, 2, 1 } uselistorder i64 %arg7, { 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_15, { 4, 5, 1, 0, 3, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
hypercall_xlat_continuation_7877
hypercall_xlat_continuation
define i64 @FUNC(i32* %arg1, i32 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.4.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.645.reg2mem = alloca i32* %sv_2.648.reg2mem = alloca i32 %sv_3.257.reg2mem = alloca i32 %sv_4.260.reg2mem = alloca i32* %sv_1.646.reg2mem = alloca i32* %sv_2.649.reg2mem = alloca i32 %sv_3.258.reg2mem = alloca i32 %sv_4.261.reg2mem = alloca i32* %.reg2mem72 = alloca i64 %sv_4.2.ph.reg2mem = alloca i32* %sv_3.2.ph.reg2mem = alloca i32 %sv_2.6.ph.reg2mem = alloca i32 %sv_1.6.ph.reg2mem = alloca i32* %rax.3.reg2mem = alloca i64 %sv_2.5.reg2mem = alloca i32 %sv_1.5.reg2mem = alloca i32* %.reg2mem70 = alloca i64 %sv_1.47.reg2mem = alloca i32* %sv_2.48.reg2mem = alloca i32 %.reg2mem68 = alloca i64 %sv_5.0.reg2mem = alloca i64 %sv_1.716.reg2mem = alloca i32* %sv_2.717.reg2mem = alloca i32 %sv_0.320.reg2mem = alloca i32 %sv_3.322.reg2mem = alloca i32 %sv_4.323.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.239.reg2mem = alloca i32* %sv_2.240.reg2mem = alloca i32 %sv_3.043.reg2mem = alloca i32 %sv_4.044.reg2mem = alloca i32* %rax.1.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32* %.reg2mem66 = alloca i64 %sv_1.05.reg2mem = alloca i32* %sv_2.06.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1.326.reg2mem = alloca i32* %sv_2.327.reg2mem = alloca i32 %sv_0.130.reg2mem = alloca i32 %sv_3.131.reg2mem = alloca i32 %sv_4.132.reg2mem = alloca i32* %indvars.iv33.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %11 = load i128, i128* %0 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %12 = trunc i64 %3 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i128 %11) %15 = call i64 @FUNC(i128 %10) %16 = call i64 @FUNC(i128 %9) %17 = call i64 @FUNC(i128 %8) %18 = call i64 @FUNC(i128 %7) %19 = call i64 @FUNC(i128 %6) %20 = call i64 @FUNC(i128 %5) %21 = call i64 @FUNC(i128 %4) br label LBL_2 LBL_2: %22 = load i64, i64* @gv_0, align 8 %cond = icmp eq i32* %arg1, null br i1 %cond, label LBL_7, label LBL_3 LBL_3: %23 = trunc i64 %2 to i32 %24 = icmp ult i32 %23, 6 br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_5: %26 = urem i32 %23, 32 %27 = shl i32 1, %26 %28 = and i32 %27, %arg2 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_7: %31 = bitcast i64* %sv_7 to i32* %32 = ptrtoint i64* %sv_6 to i64 %33 = inttoptr i64 %22 to i64* %34 = load i64, i64* %33, align 8 %35 = urem i64 %34, 2 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_26, label LBL_8 LBL_8: %37 = and i64 %34, 2 %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.4.reg2mem br i1 %39, label LBL_9, label LBL_54 LBL_9: %40 = add i64 %22, 8 store i64 0, i64* %indvars.iv33.reg2mem store i32* %arg1, i32** %sv_4.132.reg2mem store i32 %arg2, i32* %sv_3.131.reg2mem store i32 0, i32* %sv_0.130.reg2mem store i32 16, i32* %sv_2.327.reg2mem store i32* %31, i32** %sv_1.326.reg2mem br label LBL_10 LBL_10: %sv_1.326.reload = load i32*, i32** %sv_1.326.reg2mem %sv_2.327.reload = load i32, i32* %sv_2.327.reg2mem %sv_0.130.reload = load i32, i32* %sv_0.130.reg2mem %sv_3.131.reload = load i32, i32* %sv_3.131.reg2mem %sv_4.132.reload = load i32*, i32** %sv_4.132.reg2mem %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem %41 = urem i32 %sv_3.131.reload, 2 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_20, label LBL_11 LBL_11: %43 = icmp ult i32 %sv_2.327.reload, 48 br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = ptrtoint i32* %sv_1.326.reload to i64 %45 = add i64 %44, 8 %46 = inttoptr i64 %45 to i32* %47 = bitcast i32* %sv_1.326.reload to i64* %48 = load i64, i64* %47, align 8 store i64 %48, i64* %.reg2mem store i32 %sv_2.327.reload, i32* %sv_2.06.reg2mem store i32* %46, i32** %sv_1.05.reg2mem br label LBL_15 LBL_13: %49 = zext i32 %sv_2.327.reload to i64 %50 = add i64 %49, %32 %51 = add i32 %sv_2.327.reload, 8 %52 = inttoptr i64 %50 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp ult i32 %51, 48 store i64 %53, i64* %.reg2mem store i32 %51, i32* %sv_2.06.reg2mem store i32* %sv_1.326.reload, i32** %sv_1.05.reg2mem br i1 %54, label LBL_14, label LBL_15 LBL_14: %55 = zext i32 %51 to i64 %56 = add i64 %55, %32 %57 = add i32 %sv_2.327.reload, 16 store i64 %53, i64* %.reg2mem66 store i32* %sv_1.326.reload, i32** %sv_1.1.reg2mem store i32 %57, i32* %sv_2.1.reg2mem store i64 %56, i64* %rax.1.reg2mem br label LBL_16 LBL_15: %sv_1.05.reload = load i32*, i32** %sv_1.05.reg2mem %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem %.reload = load i64, i64* %.reg2mem %58 = ptrtoint i32* %sv_1.05.reload to i64 %59 = add i64 %58, 8 %60 = inttoptr i64 %59 to i32* store i64 %.reload, i64* %.reg2mem66 store i32* %60, i32** %sv_1.1.reg2mem store i32 %sv_2.06.reload, i32* %sv_2.1.reg2mem store i64 %58, i64* %rax.1.reg2mem br label LBL_16 LBL_16: %rax.1.reload = load i64, i64* %rax.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_1.1.reload = load i32*, i32** %sv_1.1.reg2mem %.reload67 = load i64, i64* %.reg2mem66 %61 = inttoptr i64 %rax.1.reload to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %62 to i64 %sext = mul i64 %.reload67, 4294967296 %64 = ashr exact i64 %sext, 32 %65 = icmp eq i64 %64, %63 %66 = icmp eq i1 %65, false br i1 %66, label LBL_18, label LBL_17 LBL_17: %67 = and i32 %sv_3.131.reload, -2 store i32* %sv_4.132.reload, i32** %sv_4.044.reg2mem store i32 %67, i32* %sv_3.043.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.1.reload, i32** %sv_1.239.reg2mem store i32 %sv_0.130.reload, i32* %sv_0.0.reg2mem br label LBL_25 LBL_18: %68 = and i64 %.reload67, 4294967295 %69 = icmp eq i64 %64, %68 %70 = icmp eq i1 %69, false br i1 %70, label LBL_23, label LBL_19 LBL_19: %71 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_20: %72 = icmp eq i32* %sv_4.132.reload, null store i32* null, i32** %sv_4.044.reg2mem store i32 %sv_3.131.reload, i32* %sv_3.043.reg2mem store i32 %sv_2.327.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.326.reload, i32** %sv_1.239.reg2mem store i32 %sv_0.130.reload, i32* %sv_0.0.reg2mem br i1 %72, label LBL_25, label LBL_21 LBL_21: %73 = load i32, i32* %sv_4.132.reload, align 4 %74 = zext i32 %73 to i64 %75 = icmp eq i64 %indvars.iv33.reload, %74 %76 = icmp eq i1 %75, false store i32* %sv_4.132.reload, i32** %sv_4.044.reg2mem store i32 %sv_3.131.reload, i32* %sv_3.043.reg2mem store i32 %sv_2.327.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.326.reload, i32** %sv_1.239.reg2mem store i32 %sv_0.130.reload, i32* %sv_0.0.reg2mem br i1 %76, label LBL_25, label LBL_22 LBL_22: %77 = mul i64 %indvars.iv33.reload, 4 %78 = add i64 %77, %40 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 store i32 %80, i32* %sv_4.132.reload, align 4 store i32* null, i32** %sv_4.044.reg2mem store i32 %sv_3.131.reload, i32* %sv_3.043.reg2mem store i32 %sv_2.327.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.326.reload, i32** %sv_1.239.reg2mem store i32 %sv_0.130.reload, i32* %sv_0.0.reg2mem br label LBL_25 LBL_23: %81 = mul i64 %indvars.iv33.reload, 4 %82 = add i64 %81, %40 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = zext i32 %84 to i64 %86 = icmp eq i64 %64, %85 %87 = icmp eq i1 %86, false store i32* %sv_4.132.reload, i32** %sv_4.044.reg2mem store i32 %sv_3.131.reload, i32* %sv_3.043.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.1.reload, i32** %sv_1.239.reg2mem store i32 %sv_0.130.reload, i32* %sv_0.0.reg2mem br i1 %87, label LBL_25, label LBL_24 LBL_24: store i32 %62, i32* %83, align 4 %88 = add i32 %sv_0.130.reload, 1 store i32* %sv_4.132.reload, i32** %sv_4.044.reg2mem store i32 %sv_3.131.reload, i32* %sv_3.043.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.240.reg2mem store i32* %sv_1.1.reload, i32** %sv_1.239.reg2mem store i32 %88, i32* %sv_0.0.reg2mem br label LBL_25 LBL_25: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.239.reload = load i32*, i32** %sv_1.239.reg2mem %sv_2.240.reload = load i32, i32* %sv_2.240.reg2mem %sv_3.043.reload = load i32, i32* %sv_3.043.reg2mem %sv_4.044.reload = load i32*, i32** %sv_4.044.reg2mem %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1 %89 = udiv i32 %sv_3.043.reload, 2 %90 = icmp ult i64 %indvars.iv.next34, 6 store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem store i32* %sv_4.044.reload, i32** %sv_4.132.reg2mem store i32 %89, i32* %sv_3.131.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.130.reg2mem store i32 %sv_2.240.reload, i32* %sv_2.327.reg2mem store i32* %sv_1.239.reload, i32** %sv_1.326.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.4.reg2mem br i1 %90, label LBL_10, label LBL_53 LBL_26: %91 = call i64 @FUNC() %92 = add i64 %91, 40 %93 = add i64 %91, 32 %94 = add i64 %91, 24 %95 = add i64 %91, 16 %96 = add i64 %91, 8 store i64 0, i64* %indvars.iv.reg2mem store i32* %arg1, i32** %sv_4.323.reg2mem store i32 %arg2, i32* %sv_3.322.reg2mem store i32 0, i32* %sv_0.320.reg2mem store i32 16, i32* %sv_2.717.reg2mem store i32* %31, i32** %sv_1.716.reg2mem br label LBL_27 LBL_27: %sv_1.716.reload = load i32*, i32** %sv_1.716.reg2mem %sv_2.717.reload = load i32, i32* %sv_2.717.reg2mem %sv_0.320.reload = load i32, i32* %sv_0.320.reg2mem %sv_3.322.reload = load i32, i32* %sv_3.322.reg2mem %sv_4.323.reload = load i32*, i32** %sv_4.323.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i64 %indvars.iv.reload, i64* @0, align 8 %97 = trunc i64 %indvars.iv.reload to i32 store i64 %91, i64* %sv_5.0.reg2mem switch i32 %97, label LBL_33 [ i32 0, label LBL_34 i32 1, label LBL_28 i32 2, label LBL_29 i32 3, label LBL_30 i32 4, label LBL_31 i32 5, label LBL_32 ] LBL_28: store i64 %96, i64* %sv_5.0.reg2mem br label LBL_34 LBL_29: store i64 %95, i64* %sv_5.0.reg2mem br label LBL_34 LBL_30: store i64 %94, i64* %sv_5.0.reg2mem br label LBL_34 LBL_31: store i64 %93, i64* %sv_5.0.reg2mem br label LBL_34 LBL_32: store i64 %92, i64* %sv_5.0.reg2mem br label LBL_34 LBL_33: %98 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_34: %sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem %99 = urem i32 %sv_3.322.reload, 2 %100 = icmp eq i32 %99, 0 br i1 %100, label LBL_44, label LBL_35 LBL_35: %101 = icmp ult i32 %sv_2.717.reload, 48 br i1 %101, label LBL_37, label LBL_36 LBL_36: %102 = ptrtoint i32* %sv_1.716.reload to i64 %103 = add i64 %102, 8 %104 = inttoptr i64 %103 to i32* %105 = bitcast i32* %sv_1.716.reload to i64* %106 = load i64, i64* %105, align 8 store i64 %106, i64* %.reg2mem68 store i32 %sv_2.717.reload, i32* %sv_2.48.reg2mem store i32* %104, i32** %sv_1.47.reg2mem br label LBL_39 LBL_37: %107 = zext i32 %sv_2.717.reload to i64 %108 = add i64 %107, %32 %109 = add i32 %sv_2.717.reload, 8 %110 = inttoptr i64 %108 to i64* %111 = load i64, i64* %110, align 8 %112 = icmp ult i32 %109, 48 store i64 %111, i64* %.reg2mem68 store i32 %109, i32* %sv_2.48.reg2mem store i32* %sv_1.716.reload, i32** %sv_1.47.reg2mem br i1 %112, label LBL_38, label LBL_39 LBL_38: %113 = zext i32 %109 to i64 %114 = add i64 %113, %32 %115 = add i32 %sv_2.717.reload, 16 store i64 %111, i64* %.reg2mem70 store i32* %sv_1.716.reload, i32** %sv_1.5.reg2mem store i32 %115, i32* %sv_2.5.reg2mem store i64 %114, i64* %rax.3.reg2mem br label LBL_40 LBL_39: %sv_1.47.reload = load i32*, i32** %sv_1.47.reg2mem %sv_2.48.reload = load i32, i32* %sv_2.48.reg2mem %.reload69 = load i64, i64* %.reg2mem68 %116 = ptrtoint i32* %sv_1.47.reload to i64 %117 = add i64 %116, 8 %118 = inttoptr i64 %117 to i32* store i64 %.reload69, i64* %.reg2mem70 store i32* %118, i32** %sv_1.5.reg2mem store i32 %sv_2.48.reload, i32* %sv_2.5.reg2mem store i64 %116, i64* %rax.3.reg2mem br label LBL_40 LBL_40: %rax.3.reload = load i64, i64* %rax.3.reg2mem %sv_2.5.reload = load i32, i32* %sv_2.5.reg2mem %sv_1.5.reload = load i32*, i32** %sv_1.5.reg2mem %.reload71 = load i64, i64* %.reg2mem70 %119 = inttoptr i64 %rax.3.reload to i32* %120 = load i32, i32* %119, align 4 %121 = zext i32 %120 to i64 %sext4 = mul i64 %.reload71, 4294967296 %122 = ashr exact i64 %sext4, 32 %123 = icmp eq i64 %122, %121 %124 = icmp eq i1 %123, false br i1 %124, label LBL_42, label LBL_41 LBL_41: %125 = and i32 %sv_3.322.reload, -2 store i32* %sv_1.5.reload, i32** %sv_1.6.ph.reg2mem store i32 %sv_2.5.reload, i32* %sv_2.6.ph.reg2mem store i32 %125, i32* %sv_3.2.ph.reg2mem store i32* %sv_4.323.reload, i32** %sv_4.2.ph.reg2mem br label LBL_47 LBL_42: %126 = and i64 %.reload71, 4294967295 %127 = icmp eq i64 %122, %126 %128 = icmp eq i1 %127, false br i1 %128, label LBL_48, label LBL_43 LBL_43: %129 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_44: %130 = icmp eq i32* %sv_4.323.reload, null store i32* %sv_1.716.reload, i32** %sv_1.6.ph.reg2mem store i32 %sv_2.717.reload, i32* %sv_2.6.ph.reg2mem store i32 %sv_3.322.reload, i32* %sv_3.2.ph.reg2mem store i32* null, i32** %sv_4.2.ph.reg2mem br i1 %130, label LBL_47, label LBL_45 LBL_45: %131 = load i32, i32* %sv_4.323.reload, align 4 %132 = zext i32 %131 to i64 %133 = icmp eq i64 %indvars.iv.reload, %132 %134 = icmp eq i1 %133, false store i32* %sv_1.716.reload, i32** %sv_1.6.ph.reg2mem store i32 %sv_2.717.reload, i32* %sv_2.6.ph.reg2mem store i32 %sv_3.322.reload, i32* %sv_3.2.ph.reg2mem store i32* %sv_4.323.reload, i32** %sv_4.2.ph.reg2mem br i1 %134, label LBL_47, label LBL_46 LBL_46: %135 = inttoptr i64 %sv_5.0.reload to i64* %136 = load i64, i64* %135, align 8 %137 = trunc i64 %136 to i32 store i32 %137, i32* %sv_4.323.reload, align 4 store i32* %sv_1.716.reload, i32** %sv_1.6.ph.reg2mem store i32 %sv_2.717.reload, i32* %sv_2.6.ph.reg2mem store i32 %sv_3.322.reload, i32* %sv_3.2.ph.reg2mem store i32* null, i32** %sv_4.2.ph.reg2mem br label LBL_47 LBL_47: %sv_4.2.ph.reload = load i32*, i32** %sv_4.2.ph.reg2mem %sv_3.2.ph.reload = load i32, i32* %sv_3.2.ph.reg2mem %sv_2.6.ph.reload = load i32, i32* %sv_2.6.ph.reg2mem %sv_1.6.ph.reload = load i32*, i32** %sv_1.6.ph.reg2mem %.pre37 = inttoptr i64 %sv_5.0.reload to i64* %.pr = load i64, i64* %.pre37, align 8 store i64 %.pr, i64* %.reg2mem72 store i32* %sv_4.2.ph.reload, i32** %sv_4.261.reg2mem store i32 %sv_3.2.ph.reload, i32* %sv_3.258.reg2mem store i32 %sv_2.6.ph.reload, i32* %sv_2.649.reg2mem store i32* %sv_1.6.ph.reload, i32** %sv_1.646.reg2mem br label LBL_50 LBL_48: %138 = inttoptr i64 %sv_5.0.reload to i64* %139 = load i64, i64* %138, align 8 %140 = icmp eq i64 %139, %122 %141 = icmp eq i1 %140, false store i64 %139, i64* %.reg2mem72 store i32* %sv_4.323.reload, i32** %sv_4.261.reg2mem store i32 %sv_3.322.reload, i32* %sv_3.258.reg2mem store i32 %sv_2.5.reload, i32* %sv_2.649.reg2mem store i32* %sv_1.5.reload, i32** %sv_1.646.reg2mem br i1 %141, label LBL_50, label LBL_49 LBL_49: store i64 %121, i64* %138, align 8 %142 = add i32 %sv_0.320.reload, 1 store i32* %sv_4.323.reload, i32** %sv_4.260.reg2mem store i32 %sv_3.322.reload, i32* %sv_3.257.reg2mem store i32 %sv_2.5.reload, i32* %sv_2.648.reg2mem store i32* %sv_1.5.reload, i32** %sv_1.645.reg2mem store i32 %142, i32* %sv_0.2.reg2mem br label LBL_52 LBL_50: %sv_1.646.reload = load i32*, i32** %sv_1.646.reg2mem %sv_2.649.reload = load i32, i32* %sv_2.649.reg2mem %sv_3.258.reload = load i32, i32* %sv_3.258.reg2mem %sv_4.261.reload = load i32*, i32** %sv_4.261.reg2mem %.reload73 = load i64, i64* %.reg2mem72 %143 = icmp ult i64 %.reload73, 4294967296 store i32* %sv_4.261.reload, i32** %sv_4.260.reg2mem store i32 %sv_3.258.reload, i32* %sv_3.257.reg2mem store i32 %sv_2.649.reload, i32* %sv_2.648.reg2mem store i32* %sv_1.646.reload, i32** %sv_1.645.reg2mem store i32 %sv_0.320.reload, i32* %sv_0.2.reg2mem br i1 %143, label LBL_52, label LBL_51 LBL_51: %144 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.4.reg2mem br label LBL_54 LBL_52: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.645.reload = load i32*, i32** %sv_1.645.reg2mem %sv_2.648.reload = load i32, i32* %sv_2.648.reg2mem %sv_3.257.reload = load i32, i32* %sv_3.257.reg2mem %sv_4.260.reload = load i32*, i32** %sv_4.260.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %145 = udiv i32 %sv_3.257.reload, 2 %146 = icmp ult i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32* %sv_4.260.reload, i32** %sv_4.323.reg2mem store i32 %145, i32* %sv_3.322.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.320.reg2mem store i32 %sv_2.648.reload, i32* %sv_2.717.reg2mem store i32* %sv_1.645.reload, i32** %sv_1.716.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.4.reg2mem br i1 %146, label LBL_27, label LBL_53 LBL_53: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %147 = zext i32 %sv_0.4.reload to i64 store i64 %147, i64* %rax.4.reg2mem br label LBL_54 LBL_54: %rax.4.reload = load i64, i64* %rax.4.reg2mem ret i64 %rax.4.reload uselistorder i64 %122, { 0, 2, 1 } uselistorder i32 %109, { 2, 0, 1 } uselistorder i64 %sv_5.0.reload, { 0, 2, 1 } uselistorder i32* %sv_4.323.reload, { 0, 1, 6, 2, 5, 4, 3 } uselistorder i32 %sv_2.717.reload, { 0, 1, 2, 4, 6, 7, 3, 5 } uselistorder i64 %64, { 0, 2, 1 } uselistorder i32* %sv_1.1.reload, { 1, 2, 0 } uselistorder i32 %sv_2.1.reload, { 1, 2, 0 } uselistorder i32 %51, { 2, 0, 1 } uselistorder i64 %indvars.iv33.reload, { 0, 3, 2, 1 } uselistorder i32* %sv_4.132.reload, { 2, 3, 6, 0, 5, 4, 1 } uselistorder i32 %sv_3.131.reload, { 3, 4, 0, 1, 2, 5, 6 } uselistorder i32 %sv_0.130.reload, { 5, 4, 0, 1, 2, 3 } uselistorder i32 %sv_2.327.reload, { 0, 1, 2, 4, 6, 7, 3, 5 } uselistorder i64 %40, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64* %indvars.iv33.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_4.132.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.131.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.130.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.327.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_1.326.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_4.044.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i32* %sv_3.043.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i32* %sv_2.240.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i32** %sv_1.239.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_4.323.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.322.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.320.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.717.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_1.716.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32** %sv_4.260.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.257.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.648.reg2mem, { 0, 2, 1 } uselistorder i32** %sv_1.645.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.4.reg2mem, { 0, 5, 7, 6, 8, 4, 1, 3, 2 } uselistorder i64* %1, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 6, { 1, 0 } uselistorder i64 32, { 0, 2, 1 } uselistorder i64 4294967296, { 2, 0, 1 } uselistorder i32 2, { 0, 1, 4, 2, 3 } uselistorder i32 16, { 2, 0, 3, 1 } uselistorder i64 8, { 1, 2, 0, 4, 5, 3 } uselistorder i32 (i8*)* @puts, { 3, 2, 5, 4, 1, 0 } uselistorder i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), { 1, 0, 2, 3, 4 } uselistorder i32* null, { 0, 1, 5, 2, 3, 6, 4 } uselistorder label LBL_54, { 4, 1, 2, 3, 5, 0, 6, 7 } uselistorder label LBL_53, { 1, 0 } uselistorder label LBL_50, { 1, 0 } uselistorder label LBL_39, { 1, 0 } uselistorder label LBL_34, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_25, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
qemu_run_all_timers_14355
qemu_run_all_timers
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i32* %0 = load i32*, i32** @gv_0, align 8 %1 = load i32, i32* %0, align 4 %2 = icmp eq i32 %1, 0 store i32* %0, i32** %.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %0, align 4 %3 = load i32*, i32** @gv_0, align 8 %4 = ptrtoint i32* %3 to i64 %5 = call i64 @FUNC(i64 %4) %.pre = load i32*, i32** @gv_0, align 8 store i32* %.pre, i32** %.reg2mem br label LBL_2 LBL_2: %.reload = load i32*, i32** %.reg2mem %6 = ptrtoint i32* %.reload to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = load i32, i32* @gv_1, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = load i32, i32* @gv_2, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) br label LBL_4 LBL_4: %14 = load i32, i32* @gv_3, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) ret i64 %19 uselistorder i32* %0, { 1, 0, 2 } uselistorder i32** %.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @qemu_run_timers, { 2, 1, 0 } }
1
BinRealVul
dmatest_cleanup_channel_4437
dmatest_cleanup_channel
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %arg1) ret i64 %4 }
0
BinRealVul
yield_task_fair_9561
yield_task_fair
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 1 %5 = zext i1 %4 to i64 %6 = icmp eq i1 %4, false %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_1 LBL_1: %8 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %17 = call i64 @FUNC(i64 %1) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp ult i64 %19, %1 %21 = zext i1 %20 to i64 %22 = icmp eq i1 %20, false %23 = icmp eq i1 %22, false store i64 %21, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %19, 1 store i64 %24, i64* %arg1, align 8 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 %1, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i1 false, { 3, 0, 1, 4, 2 } uselistorder label LBL_6, { 2, 0, 3, 1 } }
0
BinRealVul
validate_raw_date_8155
validate_raw_date
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %0 = call i32* @__errno_location() store i32 0, i32* %0, align 4 %1 = inttoptr i64 %arg1 to i8* %2 = call i32 @strtoul(i8* %1, i8** nonnull %sv_0, i32 10) %3 = call i32* @__errno_location() %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = load i8*, i8** %sv_0, align 8 %8 = ptrtoint i8* %7 to i64 %9 = icmp eq i64 %8, %arg1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = load i8, i8* %7, align 1 %11 = icmp eq i8 %10, 32 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_8 LBL_3: %12 = add i64 %8, 1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 store i64 4294967295, i64* %rax.0.reg2mem switch i8 %14, label LBL_8 [ i8 45, label LBL_4 i8 43, label LBL_4 ] LBL_4: %15 = add i64 %8, 2 %16 = inttoptr i64 %15 to i8* %17 = call i32 @strtoul(i8* %16, i8** nonnull %sv_0, i32 10) %18 = call i32* @__errno_location() %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %21, label LBL_8, label LBL_5 LBL_5: %22 = load i8*, i8** %sv_0, align 8 %23 = ptrtoint i8* %22 to i64 %24 = icmp eq i64 %15, %23 store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_6 LBL_6: %25 = load i8, i8* %22, align 1 %26 = icmp eq i8 %25, 0 %27 = icmp ult i32 %17, 1401 %or.cond = icmp eq i1 %27, %26 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_8 LBL_7: %28 = ptrtoint i64* %arg2 to i64 %29 = call i64 @FUNC(i64 %28, i64 %arg1) 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 i64 %8, { 0, 2, 1 } uselistorder i8** %sv_0, { 1, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 3, 2, 1, 4, 7, 6, 5 } uselistorder i64 2, { 1, 0 } uselistorder i64 4294967295, { 2, 1, 0, 3, 6, 5, 4 } uselistorder i32 (i8*, i8**, i32)* @strtoul, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_8, { 7, 2, 1, 0, 3, 6, 5, 4 } }
0
BinRealVul
hugetlbfs_statfs_6028
hugetlbfs_statfs
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 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) store i64 2508478710, i64* %arg2, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = icmp eq i64 %2, 0 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = add i64 %2, 16 %12 = call i64 @FUNC(i64 %11) %13 = inttoptr i64 %2 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = add i64 %14, 16 %17 = call i64 @FUNC(i64 %16) %18 = load i64, i64* %13, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %0, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = load i64, i64* %13, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %23, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = sub i64 %25, %28 %30 = add i64 %0, 24 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = add i64 %0, 32 %33 = inttoptr i64 %32 to i64* store i64 %29, i64* %33, align 8 %34 = load i64, i64* %13, align 8 %35 = add i64 %34, 16 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %2, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = sext i32 %39 to i64 %41 = add i64 %0, 40 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = add i64 %2, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = sext i32 %45 to i64 %47 = add i64 %0, 48 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 br label LBL_3 LBL_3: %49 = call i64 @FUNC(i64 %11) br label LBL_4 LBL_4: %50 = add i64 %0, 56 %51 = inttoptr i64 %50 to i64* store i64 255, i64* %51, align 8 ret i64 0 uselistorder i64 %2, { 0, 1, 3, 2, 4 } uselistorder i64 %0, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } }
0
BinRealVul
__pkvm_host_reclaim_page_13305
__pkvm_host_reclaim_page
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0, i64* nonnull %sv_1, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = load i64, i64* %sv_1, align 8 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 2 store i64 %2, i64* %sv_0.0.reg2mem br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i32 %12, 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %15, label LBL_3, label LBL_8 LBL_3: %16 = and i32 %12, 8 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %sv_0.0.reg2mem br i1 %21, label LBL_8, label LBL_5 LBL_5: %22 = load i32, i32* %11, align 4 %23 = and i32 %22, -9 store i32 %23, i32* %11, align 4 %24 = call i64 @FUNC() br label LBL_6 LBL_6: %25 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %26 = call i64 @FUNC(i64 %0, i64 4096, i32 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 %26, i64* %sv_0.0.reg2mem br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = load i32, i32* %11, align 4 %31 = and i32 %30, -5 store i32 %31, i32* %11, align 4 store i64 %26, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %32 = call i64 @FUNC() %33 = and i64 %sv_0.0.reload, 4294967295 ret i64 %33 uselistorder i32* %11, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6 } uselistorder i64 4096, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 5, 1, 2, 0, 3, 4 } }
1
BinRealVul
updateDevice_11827
updateDevice
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.pre-phi27.reg2mem = alloca i64* %.pre-phi31.reg2mem = alloca i64* %.pre-phi35.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi19.pre-phi.reg2mem = alloca i64* %.pre-phi23.pre-phi.reg2mem = alloca i64* %sv_2.09.reg2mem = alloca i64 %rdi.110.reg2mem = alloca i64 %storemerge111.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %storemerge18 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %storemerge18, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_0.LBL_13_crit_edge LBL_1: %.pre24 = add i64 %0, 16 %.pre26 = inttoptr i64 %.pre24 to i64* %.pre28 = add i64 %0, 24 %.pre30 = inttoptr i64 %.pre28 to i64* %.pre32 = add i64 %0, 8 %.pre34 = inttoptr i64 %.pre32 to i64* store i64* %.pre34, i64** %.pre-phi35.reg2mem store i64* %.pre30, i64** %.pre-phi31.reg2mem store i64* %.pre26, i64** %.pre-phi27.reg2mem br label LBL_13 LBL_2: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 %storemerge18, i64* %storemerge111.reg2mem store i64 %0, i64* %rdi.110.reg2mem store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_2.09.reg2mem br label LBL_3 LBL_3: %rdi.110.reload = load i64, i64* %rdi.110.reg2mem %storemerge111.reload = load i64, i64* %storemerge111.reg2mem %9 = add i64 %storemerge111.reload, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load i64, i64* %4, align 8 %13 = icmp eq i64 %11, %12 %14 = icmp eq i1 %13, false store i64 %rdi.110.reload, i64* %rdi.0.reg2mem br i1 %14, label LBL_12, label LBL_4 LBL_4: %15 = add i64 %storemerge111.reload, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = inttoptr i64 %rdi.110.reload to i64* %20 = trunc i64 %12 to i32 %21 = call i32 @memcmp(i64* %18, i64* %19, i32 %20) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %17, i64* %rdi.0.reg2mem br i1 %23, label LBL_12, label LBL_5 LBL_5: %24 = add i64 %storemerge111.reload, 40 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = load i64, i64* %6, align 8 %28 = icmp eq i64 %26, %27 %29 = icmp eq i1 %28, false store i64 %17, i64* %rdi.0.reg2mem br i1 %29, label LBL_12, label LBL_6 LBL_6: %30 = load i64, i64* %8, align 8 %31 = add i64 %storemerge111.reload, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* %35 = inttoptr i64 %30 to i64* %36 = trunc i64 %27 to i32 %37 = call i32 @memcmp(i64* %34, i64* %35, i32 %36) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 %33, i64* %rdi.0.reg2mem br i1 %39, label LBL_12, label LBL_7 LBL_7: %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem %40 = load i64, i64* %8, align 8 %41 = load i64, i64* %6, align 8 %42 = inttoptr i64 %40 to i8* call void (i32, i8*, ...) @syslog(i32 7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %41, i8* %42) %43 = add i64 %storemerge111.reload, 8 %44 = inttoptr i64 %43 to i64* store i64 %arg2, i64* %44, align 8 %45 = add i64 %0, 40 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %storemerge111.reload, 56 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp ugt i64 %47, %50 store i64* %25, i64** %.pre-phi23.pre-phi.reg2mem store i64* %10, i64** %.pre-phi19.pre-phi.reg2mem store i64 %47, i64* %.reg2mem store i64 %storemerge111.reload, i64* %sv_1.0.reg2mem br i1 %51, label LBL_8, label LBL_11 LBL_8: %52 = load i64, i64* %4, align 8 %53 = load i64, i64* %6, align 8 %54 = add i64 %52, %47 %55 = add i64 %54, %53 %56 = inttoptr i64 %storemerge111.reload to i64* %57 = trunc i64 %55 to i32 %58 = add i32 %57, 64 %59 = call i64* @realloc(i64* %56, i32 %58) %60 = icmp eq i64* %59, null %61 = icmp eq i1 %60, false br i1 %61, label LBL_10, label LBL_9 LBL_9: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0)) call void @free(i64* %56) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %62 = ptrtoint i64* %59 to i64 %63 = inttoptr i64 %sv_2.09.reload to i64* store i64 %62, i64* %63, align 8 %.pre = load i64, i64* %46, align 8 %.pre17 = add i64 %62, 24 %.pre20 = add i64 %62, 40 %.pre45 = inttoptr i64 %.pre17 to i64* %.pre46 = inttoptr i64 %.pre20 to i64* store i64* %.pre46, i64** %.pre-phi23.pre-phi.reg2mem store i64* %.pre45, i64** %.pre-phi19.pre-phi.reg2mem store i64 %.pre, i64* %.reg2mem store i64 %62, i64* %sv_1.0.reg2mem br label LBL_11 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.reload = load i64, i64* %.reg2mem %.pre-phi19.pre-phi.reload = load i64*, i64** %.pre-phi19.pre-phi.reg2mem %.pre-phi23.pre-phi.reload = load i64*, i64** %.pre-phi23.pre-phi.reg2mem %64 = add i64 %0, 32 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = load i64, i64* %.pre-phi19.pre-phi.reload, align 8 %68 = load i64, i64* %.pre-phi23.pre-phi.reload, align 8 %69 = add i64 %sv_1.0.reload, 64 %70 = add i64 %69, %67 %71 = add i64 %70, %68 %72 = inttoptr i64 %71 to i64* %73 = inttoptr i64 %66 to i64* %74 = trunc i64 %.reload to i32 %75 = call i64* @memcpy(i64* %72, i64* %73, i32 %74) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_12: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %76 = inttoptr i64 %storemerge111.reload to i64* %storemerge1 = load i64, i64* %76, align 8 %77 = icmp eq i64 %storemerge1, 0 %78 = icmp eq i1 %77, false store i64 %storemerge1, i64* %storemerge111.reg2mem store i64 %rdi.0.reload, i64* %rdi.110.reg2mem store i64 %storemerge111.reload, i64* %sv_2.09.reg2mem store i64* %4, i64** %.pre-phi35.reg2mem store i64* %6, i64** %.pre-phi31.reg2mem store i64* %8, i64** %.pre-phi27.reg2mem br i1 %78, label LBL_3, label LBL_13 LBL_13: %.pre-phi27.reload = load i64*, i64** %.pre-phi27.reg2mem %.pre-phi31.reload = load i64*, i64** %.pre-phi31.reg2mem %.pre-phi35.reload = load i64*, i64** %.pre-phi35.reg2mem %79 = load i64, i64* %.pre-phi27.reload, align 8 %80 = load i64, i64* %.pre-phi31.reload, align 8 %81 = inttoptr i64 %79 to i8* call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %80, i8* %81) %82 = load i64, i64* %.pre-phi35.reload, align 8 %83 = load i64, i64* %.pre-phi31.reload, align 8 %84 = add i64 %83, %82 %85 = add i64 %0, 40 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = add i64 %84, %87 %89 = trunc i64 %88 to i32 %90 = add i32 %89, 64 %91 = call i64* @malloc(i32 %90) %92 = icmp eq i64* %91, null %93 = icmp eq i1 %92, false br i1 %93, label LBL_15, label LBL_14 LBL_14: call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_15: %94 = ptrtoint i64* %91 to i64 %95 = load i64, i64* @gv_0, align 8 store i64 %95, i64* %91, align 8 %96 = add i64 %94, 8 %97 = inttoptr i64 %96 to i64* store i64 %arg2, i64* %97, align 8 %98 = add i64 %94, 64 %99 = add i64 %94, 16 store i64 0, i64* %indvars.iv.reg2mem store i64 %98, i64* %sv_0.06.reg2mem br label LBL_16 LBL_16: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %100 = mul i64 %indvars.iv.reload, 16 %101 = add i64 %99, %100 %102 = inttoptr i64 %101 to i64* store i64 %sv_0.06.reload, i64* %102, align 8 %103 = add i64 %100, %0 %104 = add i64 %103, 8 %105 = inttoptr i64 %104 to i64* %106 = load i64, i64* %105, align 8 %107 = add i64 %101, 8 %108 = inttoptr i64 %107 to i64* store i64 %106, i64* %108, align 8 %109 = load i64, i64* %105, align 8 %110 = inttoptr i64 %103 to i64* %111 = load i64, i64* %110, align 8 %112 = inttoptr i64 %sv_0.06.reload to i64* %113 = inttoptr i64 %111 to i64* %114 = trunc i64 %109 to i32 %115 = call i64* @memcpy(i64* %112, i64* %113, i32 %114) %116 = load i64, i64* %105, align 8 %117 = add i64 %116, %sv_0.06.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %117, i64* %sv_0.06.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: store i64 %94, i64* @gv_0, align 8 %118 = call i64 @FUNC(i64 1, i64 %94, i64 0) store i64 1, 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 %100, { 1, 0 } uselistorder i64 %sv_0.06.reload, { 2, 0, 1 } uselistorder i64 %94, { 1, 2, 0, 3, 4 } uselistorder i64* %91, { 0, 2, 1 } uselistorder i64* %59, { 1, 0 } uselistorder i64 %47, { 1, 0, 2 } uselistorder i64 %storemerge111.reload, { 1, 4, 8, 0, 9, 7, 3, 2, 5, 6 } uselistorder i64 %rdi.110.reload, { 1, 0 } uselistorder i64* %6, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 5, 6, 7, 0, 9, 8, 10, 2, 3, 4 } uselistorder i64* %storemerge111.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.110.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.09.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 1, { 0, 2, 1 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 64, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i64* null, { 1, 0 } uselistorder i32 64, { 1, 0 } uselistorder void (i32, i8*, ...)* @syslog, { 2, 0, 3, 1 } uselistorder i64 40, { 1, 0, 2, 3 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 4, 5, 0 } uselistorder i64 24, { 1, 3, 2, 0 } uselistorder i64 16, { 0, 2, 4, 3, 1 } uselistorder i1 false, { 6, 7, 1, 2, 3, 4, 5, 0 } uselistorder i64* @gv_0, { 1, 2, 3, 0 } uselistorder label LBL_18, { 0, 3, 1, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
patch_cs420x_4686
patch_cs420x
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 4, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = inttoptr i64 %0 to i32* store i64 %0, i64* %arg1, align 8 store i32 0, i32* %4, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = load i64, i64* @gv_1, align 8 %7 = load i64, i64* @gv_2, align 8 %8 = call i64 @FUNC(i64 %3, i64 %7, i64 %6, i64 %5) %9 = call i64 @FUNC(i64 %3, i64 0) %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load i64, i64* @gv_3, align 8 %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 %3, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %17 = call i64 @FUNC(i64 %3) store i64 0, i64* %arg1, align 8 %18 = and i64 %10, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 0, 1, 5, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @snd_hda_apply_fixup, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
helper_rfdi_13933
helper_rfdi
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 2048 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 257, i64 -1073676289, i64 0) ret i64 %4 }
1
BinRealVul
helper_ldda_asi_801
helper_ldda_asi
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp sgt i32 %0, 127 %.pre = load i32*, i32** @gv_0, align 8 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load i32, i32* %.pre, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = ptrtoint i32* %.pre to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_6, label LBL_3 LBL_3: %10 = trunc i64 %1 to i32 %.off = add i32 %10, -48 %11 = icmp ugt i32 %.off, 79 br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = load i32*, i32** @gv_0, align 8 %13 = ptrtoint i32* %12 to i64 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = and i32 %16, 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 2) br label LBL_6 LBL_6: %sext2 = mul i64 %arg3, 4294967296 %21 = ashr exact i64 %sext2, 32 %22 = trunc i64 %1 to i32 %23 = icmp ne i32 %22, 36 %24 = icmp eq i32 %22, 44 %25 = icmp eq i1 %24, false %or.cond16 = icmp eq i1 %23, %25 br i1 %or.cond16, label LBL_15, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %arg1, i64 15) %27 = trunc i64 %21 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_8 LBL_8: %30 = add i64 %arg1, 8 %31 = load i32*, i32** @gv_0, align 8 %32 = ptrtoint i32* %31 to i64 %33 = call i64 @FUNC(i64 %30) %34 = add i64 %32, 16 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 store i64 %33, i64* %rax.0.reg2mem br i1 %25, label LBL_20, label LBL_9 LBL_9: %36 = load i32*, i32** @gv_0, align 8 %37 = ptrtoint i32* %36 to i64 %38 = add i64 %37, 16 %39 = call i64 @FUNC(i64 %38) store i64 %39, i64* %rax.0.reg2mem br label LBL_20 LBL_10: %40 = icmp sgt i32 %27, 7 %41 = load i32*, i32** @gv_0, align 8 %42 = ptrtoint i32* %41 to i64 br i1 %40, label LBL_13, label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 %arg1) %44 = ashr exact i64 %sext2, 29 %45 = add nsw i64 %44, 8 %46 = add i64 %45, %42 %47 = inttoptr i64 %46 to i64* store i64 %43, i64* %47, align 8 %48 = add i64 %arg1, 8 %49 = load i32*, i32** @gv_0, align 8 %50 = ptrtoint i32* %49 to i64 %51 = call i64 @FUNC(i64 %48) %sext4 = add i64 %sext2, 4294967296 %52 = ashr exact i64 %sext4, 29 %53 = add nsw i64 %52, 8 %54 = add i64 %53, %50 %55 = inttoptr i64 %54 to i64* store i64 %51, i64* %55, align 8 store i64 %51, i64* %rax.0.reg2mem br i1 %25, label LBL_20, label LBL_12 LBL_12: %56 = load i32*, i32** @gv_0, align 8 %57 = ptrtoint i32* %56 to i64 %58 = add i64 %45, %57 %59 = call i64 @FUNC(i64 %58) %60 = load i32*, i32** @gv_0, align 8 %61 = ptrtoint i32* %60 to i64 %62 = add i64 %53, %61 %63 = call i64 @FUNC(i64 %62) store i64 %63, i64* %rax.0.reg2mem br label LBL_20 LBL_13: %64 = add i64 %42, 72 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = ashr exact i64 %sext2, 29 %68 = add i64 %66, %67 %69 = call i64 @FUNC(i64 %arg1) %70 = inttoptr i64 %68 to i64* store i64 %69, i64* %70, align 8 %71 = add i64 %arg1, 8 %72 = load i32*, i32** @gv_0, align 8 %73 = ptrtoint i32* %72 to i64 %74 = add i64 %73, 72 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = add nsw i64 %67, 8 %78 = add i64 %76, %77 %79 = call i64 @FUNC(i64 %71) %80 = inttoptr i64 %78 to i64* store i64 %79, i64* %80, align 8 store i64 %79, i64* %rax.0.reg2mem br i1 %25, label LBL_20, label LBL_14 LBL_14: %81 = load i32*, i32** @gv_0, align 8 %82 = ptrtoint i32* %81 to i64 %83 = add i64 %82, 72 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = add i64 %85, %67 %87 = call i64 @FUNC(i64 %86) %88 = load i32*, i32** @gv_0, align 8 %89 = ptrtoint i32* %88 to i64 %90 = add i64 %89, 72 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = add i64 %92, %77 %94 = call i64 @FUNC(i64 %93) store i64 %94, i64* %rax.0.reg2mem br label LBL_20 LBL_15: %95 = call i64 @FUNC(i64 %arg1, i64 3) %96 = trunc i64 %21 to i32 %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false br i1 %98, label LBL_17, label LBL_16 LBL_16: %99 = add i64 %arg1, 4 %100 = load i32*, i32** @gv_0, align 8 %101 = ptrtoint i32* %100 to i64 %102 = and i64 %1, 4294967295 %103 = call i64 @FUNC(i64 %99, i64 %102, i64 4, i64 0) %104 = add i64 %101, 16 %105 = inttoptr i64 %104 to i64* store i64 %103, i64* %105, align 8 store i64 %103, i64* %rax.0.reg2mem br label LBL_20 LBL_17: %106 = icmp sgt i32 %96, 7 %107 = load i32*, i32** @gv_0, align 8 %108 = ptrtoint i32* %107 to i64 br i1 %106, label LBL_19, label LBL_18 LBL_18: %109 = and i64 %1, 4294967295 %110 = call i64 @FUNC(i64 %arg1, i64 %109, i64 4, i64 0) %111 = ashr exact i64 %sext2, 29 %112 = add nsw i64 %111, 8 %113 = add i64 %112, %108 %114 = inttoptr i64 %113 to i64* store i64 %110, i64* %114, align 8 %115 = add i64 %arg1, 4 %116 = load i32*, i32** @gv_0, align 8 %117 = ptrtoint i32* %116 to i64 %118 = call i64 @FUNC(i64 %115, i64 %109, i64 4, i64 0) %sext12 = add i64 %sext2, 4294967296 %119 = ashr exact i64 %sext12, 29 %120 = add nsw i64 %119, 8 %121 = add i64 %120, %117 %122 = inttoptr i64 %121 to i64* store i64 %118, i64* %122, align 8 store i64 %118, i64* %rax.0.reg2mem br label LBL_20 LBL_19: %123 = add i64 %108, 72 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = ashr exact i64 %sext2, 29 %127 = add i64 %125, %126 %128 = and i64 %1, 4294967295 %129 = call i64 @FUNC(i64 %arg1, i64 %128, i64 4, i64 0) %130 = inttoptr i64 %127 to i64* store i64 %129, i64* %130, align 8 %131 = add i64 %arg1, 4 %132 = load i32*, i32** @gv_0, align 8 %133 = ptrtoint i32* %132 to i64 %134 = add i64 %133, 72 %135 = inttoptr i64 %134 to i64* %136 = load i64, i64* %135, align 8 %137 = add nsw i64 %126, 8 %138 = add i64 %137, %136 %139 = call i64 @FUNC(i64 %131, i64 %128, i64 4, i64 0) %140 = inttoptr i64 %138 to i64* store i64 %139, i64* %140, align 8 store i64 %139, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %126, { 1, 0 } uselistorder i64 %108, { 1, 0 } uselistorder i64 %67, { 0, 2, 1 } uselistorder i64 %42, { 1, 0 } uselistorder i1 %25, { 3, 2, 1, 0 } uselistorder i64 %sext2, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 4, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 8, 9, 6, 7, 4, 5 } uselistorder i64 (i64, i64, i64, i64)* @helper_ld_asi, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @bswap64s, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @ldq_kernel, { 4, 3, 2, 1, 0 } uselistorder i64 8, { 0, 2, 3, 1, 4, 5, 6, 7, 8 } uselistorder i64 (i64, i64)* @helper_check_align, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 4294967296, { 2, 3, 0, 1 } uselistorder i64 %arg1, { 3, 4, 1, 2, 0, 5, 9, 10, 7, 8, 6, 11 } uselistorder label LBL_20, { 6, 7, 8, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
_recalloc_10171
_recalloc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg3, %arg2 store i64 %arg3, i64* %rax.0.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = trunc i64 %arg3 to i32 %2 = call i64* @realloc(i64* %arg1, i32 %1) %3 = ptrtoint i64* %2 to i64 store i64 %3, i64* %arg1, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = trunc i64 %arg6 to i32 %7 = ptrtoint i8* %arg5 to i64 %8 = ptrtoint i8* %arg4 to i64 %9 = call i64 @FUNC(i64 1, i64 %8, i64 %7, i32 %6, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_3: %10 = icmp ugt i64 %arg3, %arg2 store i64 %arg3, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_5 LBL_4: %11 = ptrtoint i64* %arg1 to i64 %12 = sub i64 %arg3, %arg2 %13 = add i64 %11, %arg2 %14 = inttoptr i64 %13 to i64* %15 = trunc i64 %12 to i32 %16 = call i64* @memset(i64* %14, i32 0, i32 %15) %17 = ptrtoint i64* %16 to i64 store i64 %17, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 %arg3, { 2, 0, 3, 4, 1, 5 } uselistorder i64 %arg2, { 1, 2, 0, 3 } uselistorder i64* %arg1, { 3, 0, 1, 2 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
drm_load_edid_firmware_11536
drm_load_edid_firmware
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem30 = alloca i8* %.reg2mem28 = alloca i8* %.reg2mem26 = alloca i8* %.reg2mem24 = alloca i64 %.reg2mem22 = alloca i64 %.reg2mem = alloca i64 %.in.reg2mem = alloca i8* %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 0) store i64 %0, i64* %sv_1, align 8 %1 = bitcast i64* %sv_1 to i8** %2 = call i8* @strsep(i8** nonnull %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) store i8* %2, i8** %sv_0, align 8 %3 = icmp eq i8* %2, null %4 = icmp eq i1 %3, false store i64 0, i64* %.reg2mem24 store i8* null, i8** %.reg2mem26 store i8* %2, i8** %.reg2mem28 br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = bitcast i64* %arg1 to i8* store i8* %2, i8** %.in.reg2mem store i64 0, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %.in.reload = load i8*, i8** %.in.reg2mem %6 = call i8* @strchr(i8* %.in.reload, i32 58) %7 = icmp eq i8* %6, null br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = ptrtoint i8* %6 to i64 %9 = ptrtoint i8* %.in.reload to i64 %10 = sub i64 %8, %9 %11 = trunc i64 %10 to i32 %12 = call i32 @strncmp(i8* %5, i8* %.in.reload, i32 %11) %13 = icmp eq i32 %12, 0 store i64 %.reload, i64* %.reg2mem22 br i1 %13, label LBL_4, label LBL_6 LBL_4: %14 = add i64 %8, 1 %15 = inttoptr i64 %14 to i8* store i8* %15, i8** %sv_0, align 8 %16 = inttoptr i64 %.reload to i8* store i64 %.reload, i64* %.reg2mem24 store i8* %16, i8** %.reg2mem26 store i8* %15, i8** %.reg2mem28 br label LBL_8 LBL_5: %17 = ptrtoint i8* %.in.reload to i64 %18 = load i8, i8* %.in.reload, align 1 %19 = icmp eq i8 %18, 0 %spec.select = select i1 %19, i64 %.reload, i64 %17 store i64 %spec.select, i64* %.reg2mem22 br label LBL_6 LBL_6: %.reload23 = load i64, i64* %.reg2mem22 %20 = call i8* @strsep(i8** nonnull %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %21 = icmp eq i8* %20, null %22 = icmp eq i1 %21, false store i8* %20, i8** %.in.reg2mem store i64 %.reload23, i64* %.reg2mem br i1 %22, label LBL_2, label LBL_7 LBL_7: store i8* %20, i8** %sv_0, align 8 %23 = inttoptr i64 %.reload23 to i8* store i64 %.reload23, i64* %.reg2mem24 store i8* %23, i8** %.reg2mem26 store i8* %20, i8** %.reg2mem28 br label LBL_8 LBL_8: %.reload29 = load i8*, i8** %.reg2mem28 %24 = icmp eq i8* %.reload29, null %25 = icmp eq i1 %24, false store i8* %.reload29, i8** %.reg2mem30 br i1 %25, label LBL_12, label LBL_9 LBL_9: %.reload27 = load i8*, i8** %.reg2mem26 %26 = icmp eq i8* %.reload27, null %27 = icmp eq i1 %26, false br i1 %27, label LBL_11, label LBL_10 LBL_10: %28 = call i64 @FUNC(i64 %0) %29 = call i64 @FUNC(i64 4294967294) store i64 %29, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %.reload25 = load i64, i64* %.reg2mem24 %30 = bitcast i8** %sv_0 to i64* store i64 %.reload25, i64* %30, align 8 %31 = inttoptr i64 %.reload25 to i8* store i8* %31, i8** %.reg2mem30 br label LBL_12 LBL_12: %.reload31 = load i8*, i8** %.reg2mem30 %32 = call i32 @strlen(i8* %.reload31) %33 = sext i32 %32 to i64 %34 = ptrtoint i8* %.reload31 to i64 %35 = add i64 %34, -1 %36 = add i64 %35, %33 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 10 %40 = icmp eq i1 %39, false store i64 %34, i64* %.pre-phi.reg2mem br i1 %40, label LBL_14, label LBL_13 LBL_13: store i8 0, i8* %37, align 1 %.pre = load i8*, i8** %sv_0, align 8 %.pre21 = ptrtoint i8* %.pre to i64 store i64 %.pre21, i64* %.pre-phi.reg2mem br label LBL_14 LBL_14: %41 = ptrtoint i64* %arg1 to i64 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %42 = call i64 @FUNC(i64 %41, i64 %.pre-phi.reload, i64 %41) %43 = call i64 @FUNC(i64 %0) store i64 %42, 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 %41, { 1, 0 } uselistorder i8* %.reload31, { 1, 0 } uselistorder i64 %.reload25, { 1, 0 } uselistorder i8* %20, { 0, 2, 1, 3 } uselistorder i8* %6, { 1, 0 } uselistorder i8* %.in.reload, { 1, 0, 2, 3, 4 } uselistorder i64 %.reload, { 2, 0, 3, 1 } uselistorder i8* %2, { 1, 0, 2, 3 } uselistorder i8** %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i8** %sv_0, { 1, 3, 0, 4, 2 } uselistorder i8** %.in.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem24, { 0, 2, 3, 1 } uselistorder i8** %.reg2mem26, { 0, 2, 3, 1 } uselistorder i8** %.reg2mem28, { 0, 2, 3, 1 } uselistorder i8** %.reg2mem30, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i8* null, { 3, 4, 5, 2, 0, 1 } uselistorder i8* (i8**, i8*)* @strsep, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
e1000e_set_icr_17232
e1000e_set_icr
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %.pre = ptrtoint i32* %arg1 to i64 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %.pre, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = and i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC() %11 = add i64 %.pre, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %.pre, i64 %14) br label LBL_3 LBL_3: %sext = mul i64 %arg3, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = trunc i64 %16 to i32 %18 = sub i32 0, %17 %19 = sub i32 %18, 1 %20 = and i32 %2, %19 %21 = and i64 %1, 4294967295 %22 = and i64 %16, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 %21, i32 %20) store i32 %20, i32* %arg1, align 4 %24 = call i64 @FUNC(i64 %.pre) ret i64 %24 uselistorder i64 %16, { 1, 0 } uselistorder i64 %.pre, { 0, 2, 3, 1 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
compand_drain_3309
compand_drain
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %.pre-phi13.reg2mem = alloca i32* %sv_0.0.lcssa.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i32 %sv_0.06.reg2mem = alloca i32 %storemerge57.reg2mem = alloca i32 %.reg2mem21 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem19 = alloca i32 %.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 16 %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 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, -2048 %13 = sub i32 2047, %11 %14 = and i32 %13, %11 %15 = icmp slt i32 %14, 0 %16 = icmp eq i32 %12, 0 %17 = icmp slt i32 %12, 0 %18 = icmp ne i1 %17, %15 %19 = or i1 %16, %18 %20 = zext i32 %11 to i64 %21 = select i1 %19, i64 %20, i64 2048 %22 = call i64 @FUNC(i64 %4, i64 %21) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %24, label LBL_1, label LBL_9 LBL_1: %25 = trunc i64 %2 to i32 %26 = inttoptr i64 %22 to i32* %27 = add i64 %9, 12 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %22, 16 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i64 %4, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %4, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = mul i64 %38, 4294967296 %40 = or i64 %39, 1 %41 = load i32, i32* %26, align 4 %42 = zext i32 %41 to i64 %43 = call i128 @FUNC(i64 %42, i64 %40, i32 %34) %44 = load i32, i32* %28, align 4 %45 = call i128 @FUNC(i128 %3, i128 %3) %46 = call i128 @FUNC(i32 %44) %47 = call i128 @FUNC(i128 %43, i128 %46) %48 = call i32 @FUNC(i128 %47) store i32 %48, i32* %28, align 4 %49 = icmp eq i32 %25, 0 %50 = icmp slt i32 %25, 0 %51 = icmp eq i1 %50, false %52 = icmp eq i1 %49, false %53 = icmp eq i1 %51, %52 %54 = zext i1 %53 to i64 %55 = call i64 @FUNC(i64 %54) %56 = icmp sgt i32 %25, 0 br i1 %56, label LBL_3, label LBL_1.LBL_8_crit_edge LBL_2: %.pre10 = load i32, i32* %26, align 4 %.pre11 = add i64 %9, 4 %.pre12 = inttoptr i64 %.pre11 to i32* store i32* %.pre12, i32** %.pre-phi13.reg2mem store i32 %.pre10, i32* %.reg2mem27 br label LBL_8 LBL_3: %57 = add i64 %9, 16 %58 = inttoptr i64 %57 to i64* %59 = add i64 %22, 8 %60 = inttoptr i64 %59 to i64* %61 = add i64 %9, 24 %62 = inttoptr i64 %61 to i64* %63 = add i64 %9, 4 %64 = inttoptr i64 %63 to i32* %65 = add i64 %9, 8 %66 = inttoptr i64 %65 to i32* %.pre = load i32, i32* %26, align 4 %wide.trip.count = and i64 %2, 4294967295 store i32 %.pre, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem19 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload20 = load i32, i32* %.reg2mem19 %.reload = load i32, i32* %.reg2mem %67 = load i32, i32* %64, align 4 %68 = icmp eq i32 %.reload20, 0 store i32 %.reload, i32* %.reg2mem23 store i32 0, i32* %.reg2mem25 store i32 %67, i32* %sv_0.0.lcssa.reg2mem br i1 %68, label LBL_7, label LBL_5 LBL_5: %69 = load i64, i64* %58, align 8 %70 = add i64 %69, 8 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = mul i64 %indvars.iv.reload, 8 %74 = add i64 %72, %73 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = load i64, i64* %60, align 8 %78 = add i64 %77, %73 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = load i64, i64* %62, align 8 %82 = add i64 %81, %73 %83 = inttoptr i64 %82 to i64* store i64 0, i64* %.reg2mem21 store i32 0, i32* %storemerge57.reg2mem store i32 %67, i32* %sv_0.06.reg2mem br label LBL_6 LBL_6: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %storemerge57.reload = load i32, i32* %storemerge57.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %84 = sext i32 %sv_0.06.reload to i64 %85 = mul i64 %84, 8 %86 = add i64 %85, %76 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = call i128 @__asm_movsd.1(i64 %88) %90 = call i64 @FUNC(i128 %89) %91 = load i64, i64* %83, align 8 %92 = call i128 @FUNC(i64 %91) %93 = call i128 @FUNC(i64 %9) %94 = call i128 @__asm_mulsd.2(i128 %93, i64 %90) %95 = call i64 @__asm_movq.3(i128 %94) %96 = mul i64 %.reload22, 8 %97 = add i64 %96, %80 %98 = call i128 @__asm_movsd.1(i64 4607182418800017408) %99 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %100 = call i128 @FUNC(i128 %98) %101 = call i128 @FUNC(i128 %99) %102 = call i128 @FUNC(i64 %95) %103 = call i64 @FUNC() %104 = call i64 @__asm_movq.3(i128 %102) %105 = inttoptr i64 %97 to i64* store i64 %104, i64* %105, align 8 %106 = add i32 %sv_0.06.reload, 1 %107 = load i32, i32* %66, align 4 %108 = ashr i32 %106, 31 %109 = zext i32 %106 to i64 %110 = zext i32 %108 to i64 %111 = mul i64 %110, 4294967296 %112 = or i64 %111, %109 %113 = zext i32 %107 to i64 %114 = srem i64 %112, %113 %115 = trunc i64 %114 to i32 %116 = add i32 %storemerge57.reload, 1 %117 = load i32, i32* %26, align 4 %118 = zext i32 %117 to i64 %119 = sext i32 %116 to i64 %120 = icmp slt i64 %119, %118 store i64 %119, i64* %.reg2mem21 store i32 %116, i32* %storemerge57.reg2mem store i32 %115, i32* %sv_0.06.reg2mem store i32 %117, i32* %.reg2mem23 store i32 %117, i32* %.reg2mem25 store i32 %115, i32* %sv_0.0.lcssa.reg2mem br i1 %120, label LBL_6, label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %.reload24 = load i32, i32* %.reg2mem23 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i32 %.reload24, i32* %.reg2mem store i32 %.reload26, i32* %.reg2mem19 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32* %64, i32** %.pre-phi13.reg2mem store i32 %.reload24, i32* %.reg2mem27 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_4 LBL_8: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %.pre-phi13.reload = load i32*, i32** %.pre-phi13.reg2mem %121 = load i32, i32* %10, align 4 %122 = sub i32 %121, %.reload28 store i32 %122, i32* %10, align 4 store i32 %sv_0.1.lcssa.reload, i32* %.pre-phi13.reload, align 4 %123 = call i64 @FUNC(i64 %4, i64 %22) store i64 %123, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %73, { 2, 1, 0 } uselistorder i32 %67, { 1, 0 } uselistorder i32* %26, { 2, 1, 0, 3 } uselistorder i32 %25, { 2, 0, 1 } uselistorder i64 %22, { 1, 0, 2, 3, 4 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %11, { 2, 0, 1, 3 } uselistorder i64 %9, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64 %4, { 0, 2, 1, 3, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem19, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem21, { 1, 0, 2 } uselistorder i32* %storemerge57.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
copy_video_props_16520
copy_video_props
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i32* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 %0, i64* %arg1, align 8 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* store i64 %4, i64* %6, align 8 %7 = load i64, i64* %3, align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = bitcast i64* %rsi to i32* %10 = load i32, i32* %9, align 8 %11 = sext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %6, align 8 %13 = load i64, i64* %3, align 8 %14 = inttoptr i64 %12 to i64* %15 = inttoptr i64 %13 to i64* %16 = call i64* @memcpy(i64* %14, i64* %15, i32 %10) %17 = ptrtoint i64* %16 to i64 store i64 %17, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
cow_set_bit_16889
cow_set_bit
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = sdiv i64 %arg2, 128 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2, i64 1) %4 = icmp eq i64 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = sub i32 0, %6 store i32 %7, i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_2: %8 = trunc i64 %arg2 to i32 %9 = urem i32 %8, 8 %10 = shl i32 1, %9 %11 = load i32, i32* %sv_0, align 4 %12 = or i32 %11, %10 %sext = mul i32 %12, 16777216 %13 = ashr exact i32 %sext, 24 store i32 %13, i32* %sv_0, align 4 %14 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2, i64 1) %15 = icmp eq i64 %14, 1 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = sub i32 0, %17 store i32 %18, i32* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %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 i64 %1, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
sanitize_cookie_path_5637
sanitize_cookie_path
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call i8* @strdup(i8* %0) %2 = icmp eq i8* %1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_12 LBL_1: %4 = call i32 @strlen(i8* %1) %5 = load i8, i8* %1, align 1 %6 = icmp eq i8 %5, 34 %7 = icmp eq i1 %6, false store i32 %4, i32* %sv_0.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = ptrtoint i8* %1 to i64 %9 = add i64 %8, 1 %10 = bitcast i8* %1 to i64* %11 = inttoptr i64 %9 to i64* %12 = call i64* @memmove(i64* %10, i64* %11, i32 %4) %13 = add i32 %4, -1 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = icmp eq i32 %sv_0.0.reload, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = sext i32 %sv_0.0.reload to i64 %16 = ptrtoint i8* %1 to i64 %17 = add i64 %16, -1 %18 = add i64 %17, %15 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 34 %22 = icmp eq i1 %21, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: store i8 0, i8* %19, align 1 %23 = add i32 %sv_0.0.reload, -1 store i32 %23, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %24 = load i8, i8* %1, align 1 %25 = icmp eq i8 %24, 47 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = bitcast i8* %1 to i64* call void @free(i64* %26) %27 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %28 = ptrtoint i8* %27 to i64 store i64 %28, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %29 = icmp eq i32 %sv_0.1.reload, 0 br i1 %29, label LBL_8.dec_label_pc_40126c_crit_edge, label LBL_10 LBL_9: %.pre = ptrtoint i8* %1 to i64 store i64 %.pre, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %30 = sext i32 %sv_0.1.reload to i64 %31 = ptrtoint i8* %1 to i64 %32 = add i64 %31, -1 %33 = add i64 %32, %30 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = icmp eq i8 %35, 47 %37 = icmp eq i1 %36, false store i64 %31, i64* %rax.0.reg2mem br i1 %37, label LBL_12, label LBL_11 LBL_11: store i8 0, i8* %34, align 1 store i64 %31, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %31, { 1, 0, 2 } uselistorder i32 %sv_0.0.reload, { 3, 0, 1, 2 } uselistorder i32 %4, { 2, 1, 0 } uselistorder i8* %1, { 5, 0, 6, 4, 3, 2, 1, 8, 7, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder i32 0, { 1, 0, 2 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_12, { 1, 0, 2, 4, 3 } }
0
BinRealVul
av_grow_packet_15987
av_grow_packet
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp ult i32 %4, 2147483616 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* %3, align 4 %9 = sub i32 2147483615, %8 %10 = icmp ult i32 %9, %1 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_1, label LBL_12 LBL_1: %12 = add i32 %1, 32 %13 = add i32 %12, %8 %14 = icmp eq i1 %5, false br i1 %14, label LBL_9, label LBL_2 LBL_2: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: store i64 %6, i64* %16, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %20 = zext i32 %13 to i64 %21 = sub i64 %17, %6 %22 = mul i64 %20, 4294967296 %sext5 = sub i64 9223372032559808512, %22 %23 = ashr exact i64 %sext5, 32 %24 = icmp ugt i64 %21, %23 store i64 %21, i64* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_12, label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = sext i32 %13 to i64 %26 = add i64 %sv_0.0.reload, %25 %27 = load i64, i64* inttoptr (i64 9 to i64*), align 8 %28 = icmp ugt i64 %26, %27 store i64* %16, i64** %.pre-phi7.reg2mem br i1 %28, label LBL_6, label LBL_11 LBL_6: %29 = call i64 @FUNC(i64 %0, i64 %26) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: store i64 %17, i64* %16, align 8 %33 = and i64 %29, 4294967295 store i64 %33, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %34 = add i64 %sv_0.0.reload, %0 store i64 %34, i64* %16, align 8 store i64* %16, i64** %.pre-phi7.reg2mem br label LBL_11 LBL_9: %35 = sext i32 %13 to i64 %36 = call i64 @FUNC(i64 %35) store i64 %36, i64* %arg1, align 8 %37 = icmp eq i32 %13, 0 %38 = icmp eq i1 %37, false store i64 12, i64* %rax.0.reg2mem br i1 %38, label LBL_10, label LBL_12 LBL_10: %39 = load i32, i32* %3, align 4 %40 = add i64 %0, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = inttoptr i64 %35 to i64* %44 = inttoptr i64 %42 to i64* %45 = call i64* @memcpy(i64* %43, i64* %44, i32 %39) store i64 %35, i64* %41, align 8 store i64* %41, i64** %.pre-phi7.reg2mem br label LBL_11 LBL_11: %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %46 = load i32, i32* %3, align 4 %47 = add i32 %46, %1 store i32 %47, i32* %3, align 4 %48 = load i64, i64* %.pre-phi7.reload, align 8 %49 = sext i32 %47 to i64 %50 = add i64 %48, %49 %51 = inttoptr i64 %50 to i64* %52 = call i64* @memset(i64* %51, i32 0, i32 32) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 2, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %17, { 2, 0, 1 } uselistorder i64* %16, { 0, 3, 2, 1, 4, 5 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i32* %3, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 3, 0, 1, 2, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi7.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i32 32, { 1, 0 } uselistorder label LBL_12, { 3, 0, 4, 1, 2 } uselistorder label LBL_11, { 1, 2, 0 } }
1
BinRealVul
mmc_send_if_cond_5305
mmc_send_if_cond
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 28) store i64 8, i64* %sv_0, align 8 %5 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %5, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %storemerge.in.in = select i1 %11, i32 %2, i32 %3 %12 = trunc i32 %storemerge.in.in to i8 %13 = icmp eq i8 %12, -86 %. = select i1 %13, i64 0, i64 4294967291 store i64 %., 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* %sv_0, { 0, 2, 1 } uselistorder i32* %0, { 1, 0 } }
0
BinRealVul
btif_dm_ssp_cfm_req_evt_13205
btif_dm_ssp_cfm_req_evt
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i8 %rsi.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %6 = load i32, i32* @gv_0, align 4 %7 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %8 = add i64 %5, 254 %9 = add i64 %5, 6 %10 = call i64 @FUNC(i64 %5, i64 %9, i64 %8, i64 0) %11 = call i64 @FUNC(i64* nonnull %sv_2, i64 %5) %12 = inttoptr i64 %9 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %sv_1, align 8 %14 = add i64 %5, 230 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = ptrtoint i64* %sv_2 to i64 %18 = call i64 @FUNC(i64 0, i64* nonnull %sv_2, i64 1) %19 = add i64 %5, 259 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 0 store i64 %17, i64* %rsi.0.reg2mem br i1 %22, label LBL_4, label LBL_1 LBL_1: %23 = add i64 %5, 257 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = urem i8 %25, 2 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false store i64 %17, i64* %rsi.0.reg2mem br i1 %28, label LBL_4, label LBL_2 LBL_2: %29 = add i64 %5, 258 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = urem i8 %31, 2 %33 = icmp eq i8 %32, 0 %34 = icmp eq i1 %33, false store i64 %17, i64* %rsi.0.reg2mem br i1 %34, label LBL_4, label LBL_3 LBL_3: %35 = call i64 @FUNC(i64 %5, i64 0) %36 = trunc i64 %35 to i8 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false store i64 0, i64* %rsi.0.reg2mem store i64 0, i64* %rsi.1.reg2mem store i8 1, i8* %storemerge1.reg2mem br i1 %38, label LBL_4, label LBL_5 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem store i8 0, i8* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i8, i8* %storemerge1.reg2mem %rsi.1.reload = load i64, i64* %rsi.1.reg2mem store i8 %storemerge1.reload, i8* bitcast (i64* @gv_3 to i8*), align 8 store i8 1, i8* bitcast (i64* @gv_4 to i8*), align 8 %39 = load i8, i8* %20, align 1 %40 = icmp eq i8 %39, 0 store i64 %16, i64* %rcx.0.reg2mem store i64 1, i64* %rdx.0.reg2mem store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %40, label LBL_11, label LBL_6 LBL_6: %41 = icmp eq i32 %6, 1 %42 = icmp eq i1 %41, false %43 = icmp eq i1 %42, false br i1 %43, label LBL_10, label LBL_7 LBL_7: %44 = add i64 %5, 260 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = icmp eq i8 %46, 1 %48 = icmp eq i1 %47, false br i1 %48, label LBL_10, label LBL_8 LBL_8: %49 = add i64 %5, 261 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = icmp ne i8 %51, 0 %53 = icmp eq i8 %51, 3 %54 = icmp eq i1 %53, false %or.cond = icmp eq i1 %52, %54 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %55 = zext i8 %51 to i64 %56 = zext i8 %46 to i64 %57 = call i64 @FUNC(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %56, i64 %55, i64 %2, i64 %1) store i64 %55, i64* %rcx.0.reg2mem store i64 %56, i64* %rdx.0.reg2mem store i64 ptrtoint ([24 x i8]* @gv_2 to i64), i64* %rsi.2.reg2mem br label LBL_11 LBL_10: %58 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 1, i64 %16, i64 %2, i64 %1) %59 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i64 1, i64 0) store i64 %59, i64* %storemerge.reg2mem br label LBL_14 LBL_11: %60 = call i64 @FUNC(i64 %8) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i64 %60, i64* %sv_0.0.reg2mem br i1 %63, label LBL_13, label LBL_12 LBL_12: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %64 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_7, i64 0, i64 0), i64 %rsi.2.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i32 0, i32* bitcast (i64* @gv_8 to i32*), align 8 %65 = load i8, i8* %20, align 1 %66 = icmp eq i8 %65, 0 %67 = load i64, i64* @gv_9, align 8 %68 = zext i1 %66 to i64 %69 = and i64 %sv_0.0.reload, 4294967295 %70 = call i64 @FUNC(i64 %67, i64 4199131, i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %69, i64 %68) store i64 %70, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %16, { 1, 0 } uselistorder i64* %sv_2, { 0, 1, 2, 4, 3 } uselistorder i64 %5, { 4, 3, 2, 1, 0, 6, 5, 7, 8, 9, 10 } uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 } uselistorder i8* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @BTIF_TRACE_EVENT, { 1, 0 } uselistorder i8 1, { 1, 2, 0 } uselistorder i1 false, { 2, 0, 3, 1, 7, 4, 5, 6 } uselistorder i8 0, { 3, 4, 5, 0, 6, 1, 2, 7, 8, 9, 10 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder [24 x i8]* @gv_2, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
handle_aiocb_rw_linear_15163
handle_aiocb_rw_linear
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.ph.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = add i64 %2, 24 %6 = inttoptr i64 %5 to i32* %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = trunc i64 %1 to i32 store i64 0, i64* %sv_0.1.ph.reg2mem br label LBL_8 LBL_1: %10 = load i32, i32* %6, align 4 %11 = urem i32 %10, 2 %12 = icmp eq i32 %11, 0 %13 = load i64, i64* %8, align 8 %14 = add i64 %13, %sv_0.1.ph.reload %15 = sub i64 %33, %sv_0.1.ph.reload %16 = trunc i64 %15 to i32 %17 = trunc i64 %14 to i32 br i1 %12, label LBL_3, label LBL_2 LBL_2: %18 = call i32 @pwrite(i32 %9, i64* %32, i32 %16, i32 %17) store i32 %18, i32* %storemerge.in.reg2mem br label LBL_4 LBL_3: %19 = call i32 @pread(i32 %9, i64* %32, i32 %16, i32 %17) store i32 %19, i32* %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %20 = icmp eq i32 %storemerge.in.reload, -1 %21 = icmp eq i1 %20, false store i64 %sv_0.1.ph.reload, i64* %sv_0.0.reg2mem br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = call i32* @__errno_location() %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 4 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_9 LBL_6: %26 = call i32* @__errno_location() %27 = load i32, i32* %26, align 4 %28 = sub i32 0, %27 %29 = sext i32 %28 to i64 store i64 %29, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %storemerge2 = sext i32 %storemerge.in.reload to i64 %30 = add i64 %sv_0.0.reload, %storemerge2 store i64 %30, i64* %sv_0.1.ph.reg2mem br label LBL_8 LBL_8: %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem %31 = add i64 %sv_0.1.ph.reload, %arg2 %32 = inttoptr i64 %31 to i64* br label LBL_9 LBL_9: %33 = load i64, i64* %4, align 8 %34 = icmp ugt i64 %33, %sv_0.1.ph.reload br i1 %34, label LBL_1, label LBL_10 LBL_10: ret i64 %sv_0.1.ph.reload uselistorder i64 %33, { 1, 0 } uselistorder i64 %sv_0.1.ph.reload, { 4, 0, 2, 3, 1, 5 } uselistorder i32 %storemerge.in.reload, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.ph.reg2mem, { 0, 2, 1 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
smhd_Write_9076
smhd_Write
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* %arg2 to i64 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %3, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = urem i64 %1, 65536 %8 = call i64 @FUNC(i64 %2, i64 %7) %9 = add i64 %arg1, 2 %10 = inttoptr i64 %9 to i16* %11 = load i16, i16* %10, align 2 %12 = zext i16 %11 to i64 %13 = call i64 @FUNC(i64 %2, i64 %12) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @gf_bs_write_u16, { 1, 0 } }
0
BinRealVul
rtadv_read_11209
rtadv_read
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 store i32 -1, i32* %sv_2, align 4 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = inttoptr i64 %1 to i64* store i64 0, i64* %4, align 8 %5 = call i64 @FUNC(i64 %1, i64 1, i32 %3) %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i64 8192, i64* nonnull %sv_1, i32* nonnull %sv_3, i32* nonnull %sv_2) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = ptrtoint i64* %sv_1 to i64 %12 = ptrtoint i32* %sv_3 to i64 %13 = ptrtoint i32* %sv_2 to i64 %14 = call i32* @__errno_location() %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 8192, i64 %11, i64 %12, i64 %13) %19 = and i64 %7, 4294967295 store i64 %19, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = load i32, i32* %sv_2, align 4 %24 = load i32, i32* %sv_3, align 4 %25 = zext i32 %22 to i64 %26 = call i64 @FUNC(i64* nonnull %sv_0, i32 %8, i32 %24, i32 %23, i64 %25) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_3, { 1, 2, 0, 3 } uselistorder i32* %sv_2, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 2, 0 } }
1
BinRealVul
dss_sp_scale_vector_314
dss_sp_scale_vector
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp sgt i32 %arg3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: store i32 0, i32* %rax.0.in.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %6 = trunc i64 %2 to i32 %7 = sub i32 0, %6 %8 = urem i32 %7, 32 %wide.trip.count11 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_5 LBL_3: store i32 0, i32* %rax.0.in.reg2mem br i1 %5, label LBL_4, label LBL_7 LBL_4: %9 = trunc i64 %2 to i32 %10 = urem i32 %9, 32 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_5: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %11 = mul i64 %indvars.iv9.reload, 4 %12 = add i64 %11, %0 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = ashr i32 %14, %8 store i32 %15, i32* %13, align 4 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond12 = icmp eq i64 %indvars.iv.next10, %wide.trip.count11 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem store i32 %arg3, i32* %rax.0.in.reg2mem br i1 %exitcond12, label LBL_7, label LBL_5 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 4 %17 = add i64 %16, %0 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = shl i32 %19, %10 store i32 %20, i32* %18, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %arg3, i32* %rax.0.in.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i1 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.in.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i32 0, { 1, 3, 0, 2, 4 } uselistorder i32 %arg3, { 0, 1, 3, 2, 4 } uselistorder label LBL_7, { 0, 1, 3, 2 } }
0
BinRealVul
rng_unmap_ctx_17709
rng_unmap_ctx
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 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 %3, i64 128, i64 0) br label LBL_2 LBL_2: %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = add i64 %0, 24 %9 = call i64 @FUNC(i64 %0, i64 %8) ret i64 %9 uselistorder i64 %0, { 1, 3, 0, 2, 4, 5 } uselistorder i64 (i64, i64)* @rng_unmap_buf, { 1, 0 } }
1
BinRealVul
sctp_setsockopt_initmsg_10935
sctp_setsockopt_initmsg
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i16 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i16, i16* %0 %3 = load i16, i16* %0 %4 = load i16, i16* %0 %sv_0 = alloca i16, align 2 %5 = call i64 @FUNC(i64 %1) %6 = icmp eq i32 %arg3, 8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_10 LBL_1: %7 = bitcast i16* %sv_0 to i64* %8 = call i64 @FUNC(i64* nonnull %7, i64 %arg2, i32 8) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 4294967282, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_10 LBL_2: %11 = load i16, i16* %sv_0, align 2 %12 = icmp eq i16 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = inttoptr i64 %5 to i16* store i16 %11, i16* %13, align 2 br label LBL_4 LBL_4: %14 = icmp eq i16 %4, 0 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %5, 2 %16 = inttoptr i64 %15 to i16* br label LBL_6 LBL_6: %17 = icmp eq i16 %3, 0 br i1 %17, label LBL_8, label LBL_7 LBL_7: %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i16* br label LBL_8 LBL_8: %20 = icmp eq i16 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_10, label LBL_9 LBL_9: %21 = add i64 %5, 6 %22 = inttoptr i64 %21 to i16* store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i16* %0, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0, 2, 3 } }
0
BinRealVul
mobi_decode_infl_7811
mobi_decode_infl
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i8 %sv_2.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i8 %sv_1.0.ph.reg2mem = alloca i8 %sv_3.2.ph.reg2mem = alloca i32 %sv_2.0.ph.reg2mem = alloca i64 %rcx.0.ph.ph.reg2mem = alloca i64 %sv_0.0.ph.ph.reg2mem = alloca i8 %sv_1.0.ph.ph.reg2mem = alloca i8 %sv_3.2.ph.ph.reg2mem = alloca i32 %sv_2.0.ph.ph.reg2mem = alloca i64 %.reg2mem139 = alloca i32 %rcx.0.ph.ph.be.reg2mem = alloca i64 %sv_3.2.ph.ph.be.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0.0.ph.be.reg2mem = alloca i8 %sv_1.0.ph.be.reg2mem = alloca i8 %sv_3.2.ph.be.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rsi to i32* %7 = trunc i64 %3 to i32 %8 = add i64 %5, 1 %9 = add i64 %5, 1024 store i32 %7, i32* %.reg2mem139 store i64 %4, i64* %sv_2.0.ph.ph.reg2mem store i32 %7, i32* %sv_3.2.ph.ph.reg2mem store i8 105, i8* %sv_1.0.ph.ph.reg2mem store i8 60, i8* %sv_0.0.ph.ph.reg2mem br label LBL_20 LBL_1: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %10 = add i64 %sv_2.0.reload, 1 %11 = sext i8 %75 to i32 %12 = icmp ult i8 %75, 5 br i1 %12, label LBL_2, label LBL_5 LBL_2: %13 = icmp ult i8 %75, 3 %14 = select i1 %13, i8 105, i8 100 %15 = and i32 %11, 2 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i8 62, i8 60 %18 = icmp eq i8 %sv_0.0.reload, %17 %19 = icmp eq i8 %sv_0.0.reload, 0 %or.cond = or i1 %19, %18 store i64 %10, i64* %sv_2.0.reg2mem store i8 %14, i8* %sv_1.0.reg2mem store i8 %17, i8* %sv_0.0.reg2mem br i1 %or.cond, label LBL_22, label LBL_3 LBL_3: %narrow = select i1 %16, i32 0, i32 %.reload140 store i32 %narrow, i32* %sv_3.2.ph.be.reg2mem store i8 %14, i8* %sv_1.0.ph.be.reg2mem store i8 %17, i8* %sv_0.0.ph.be.reg2mem br label LBL_4 LBL_4: %sv_0.0.ph.be.reload = load i8, i8* %sv_0.0.ph.be.reg2mem %sv_1.0.ph.be.reload = load i8, i8* %sv_1.0.ph.be.reg2mem %sv_3.2.ph.be.reload = load i32, i32* %sv_3.2.ph.be.reg2mem store i64 %10, i64* %sv_2.0.ph.reg2mem store i32 %sv_3.2.ph.be.reload, i32* %sv_3.2.ph.reg2mem store i8 %sv_1.0.ph.be.reload, i8* %sv_1.0.ph.reg2mem store i8 %sv_0.0.ph.be.reload, i8* %sv_0.0.ph.reg2mem br label LBL_21 LBL_5: %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %.off = add i8 %75, -11 %20 = icmp ult i8 %.off, 9 br i1 %20, label LBL_6, label LBL_8 LBL_6: %21 = icmp eq i8 %sv_0.0.reload, 62 %22 = icmp eq i1 %21, false %spec.select = select i1 %22, i32 %sv_3.2.ph.reload, i32 %.reload140 %23 = urem i32 %11, 256 %.neg9 = sub nsw i32 10, %23 %24 = add i32 %.neg9, %spec.select %25 = icmp slt i32 %24, 0 %26 = sext i32 %24 to i64 %27 = icmp sgt i64 %26, %73 %or.cond75 = or i1 %25, %27 store i32 %24, i32* %sv_3.2.ph.be.reg2mem store i8 %sv_1.0.reload, i8* %sv_1.0.ph.be.reg2mem store i8 0, i8* %sv_0.0.ph.be.reg2mem br i1 %or.cond75, label LBL_7, label LBL_4 LBL_7: %28 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %10, i64 %rcx.0.ph.ph.reload, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_23 LBL_8: %29 = icmp eq i8 %sv_1.0.reload, 105 %30 = icmp eq i1 %29, false br i1 %30, label LBL_14, label LBL_9 LBL_9: %31 = sub i32 %.reload140, %sv_3.2.ph.reload %32 = icmp slt i32 %31, 0 br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = sext i32 %sv_3.2.ph.reload to i64 %34 = add i64 %8, %33 %35 = sext i32 %31 to i64 %36 = add i64 %34, %35 %37 = icmp ugt i64 %36, %9 br i1 %37, label LBL_11, label LBL_12 LBL_11: %38 = zext i32 %sv_3.2.ph.reload to i64 %39 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %38, i64 %rcx.0.ph.ph.reload, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_23 LBL_12: %40 = add i64 %33, %5 %41 = inttoptr i64 %34 to i64* %42 = inttoptr i64 %40 to i64* %43 = call i64* @memmove(i64* %41, i64* %42, i32 %31) %44 = inttoptr i64 %40 to i8* store i8 %75, i8* %44, align 1 %45 = load i32, i32* %6, align 8 %46 = add i32 %45, 1 store i32 %46, i32* %arg2, align 4 %47 = icmp eq i8 %sv_0.0.reload, 62 %48 = zext i1 %47 to i32 %spec.select7 = add i32 %sv_3.2.ph.reload, %48 store i32 %45, i32* %.reg2mem store i32 %spec.select7, i32* %sv_3.2.ph.ph.be.reg2mem store i64 %40, i64* %rcx.0.ph.ph.be.reg2mem br label LBL_13 LBL_13: %rcx.0.ph.ph.be.reload = load i64, i64* %rcx.0.ph.ph.be.reg2mem %sv_3.2.ph.ph.be.reload = load i32, i32* %sv_3.2.ph.ph.be.reg2mem %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem139 store i64 %10, i64* %sv_2.0.ph.ph.reg2mem store i32 %sv_3.2.ph.ph.be.reload, i32* %sv_3.2.ph.ph.reg2mem store i8 %sv_1.0.reload, i8* %sv_1.0.ph.ph.reg2mem store i8 %sv_0.0.reload, i8* %sv_0.0.ph.ph.reg2mem store i64 %rcx.0.ph.ph.be.reload, i64* %rcx.0.ph.ph.reg2mem br label LBL_20 LBL_14: %49 = icmp eq i8 %sv_0.0.reload, 60 %50 = sext i1 %49 to i32 %spec.select8 = add i32 %sv_3.2.ph.reload, %50 %51 = sub i32 %.reload140, %spec.select8 %52 = icmp slt i32 %51, 0 br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = sext i32 %spec.select8 to i64 %54 = add i64 %53, %5 %55 = sext i32 %51 to i64 %56 = add i64 %54, %55 %57 = icmp ugt i64 %56, %9 br i1 %57, label LBL_16, label LBL_17 LBL_16: %58 = zext i32 %spec.select8 to i64 %59 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %58, i64 %rcx.0.ph.ph.reload, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_23 LBL_17: %60 = inttoptr i64 %54 to i8* %61 = load i8, i8* %60, align 1 %62 = icmp eq i8 %61, %75 br i1 %62, label LBL_19, label LBL_18 LBL_18: %63 = zext i8 %61 to i64 %64 = zext i32 %spec.select8 to i64 %65 = urem i32 %11, 256 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i64 %5, i64 %64, i64 %63, i64 %66, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_23 LBL_19: %68 = add i64 %8, %53 %69 = inttoptr i64 %54 to i64* %70 = inttoptr i64 %68 to i64* %71 = call i64* @memmove(i64* %69, i64* %70, i32 %51) %72 = add i32 %.reload140, -1 store i32 %72, i32* %arg2, align 4 store i32 %.reload140, i32* %.reg2mem store i32 %spec.select8, i32* %sv_3.2.ph.ph.be.reg2mem store i64 %68, i64* %rcx.0.ph.ph.be.reg2mem br label LBL_13 LBL_20: %rcx.0.ph.ph.reload = load i64, i64* %rcx.0.ph.ph.reg2mem %sv_0.0.ph.ph.reload = load i8, i8* %sv_0.0.ph.ph.reg2mem %sv_1.0.ph.ph.reload = load i8, i8* %sv_1.0.ph.ph.reg2mem %sv_3.2.ph.ph.reload = load i32, i32* %sv_3.2.ph.ph.reg2mem %sv_2.0.ph.ph.reload = load i64, i64* %sv_2.0.ph.ph.reg2mem %.reload140 = load i32, i32* %.reg2mem139 %73 = zext i32 %.reload140 to i64 store i64 %sv_2.0.ph.ph.reload, i64* %sv_2.0.ph.reg2mem store i32 %sv_3.2.ph.ph.reload, i32* %sv_3.2.ph.reg2mem store i8 %sv_1.0.ph.ph.reload, i8* %sv_1.0.ph.reg2mem store i8 %sv_0.0.ph.ph.reload, i8* %sv_0.0.ph.reg2mem br label LBL_21 LBL_21: %sv_0.0.ph.reload = load i8, i8* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i8, i8* %sv_1.0.ph.reg2mem %sv_3.2.ph.reload = load i32, i32* %sv_3.2.ph.reg2mem %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem store i64 %sv_2.0.ph.reload, i64* %sv_2.0.reg2mem store i8 %sv_1.0.ph.reload, i8* %sv_1.0.reg2mem store i8 %sv_0.0.ph.reload, i8* %sv_0.0.reg2mem br label LBL_22 LBL_22: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %74 = inttoptr i64 %sv_2.0.reload to i8* %75 = load i8, i8* %74, align 1 %76 = icmp eq i8 %75, 0 %77 = icmp eq i1 %76, false store i64 0, i64* %rax.0.reg2mem br i1 %77, label LBL_1, label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %75, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %sv_2.0.reload, { 1, 0 } uselistorder i32 %sv_3.2.ph.reload, { 0, 1, 2, 5, 3, 4 } uselistorder i32 %.reload140, { 4, 5, 3, 2, 1, 0, 6 } uselistorder i64 %rcx.0.ph.ph.reload, { 2, 0, 1 } uselistorder i64 %54, { 2, 1, 0 } uselistorder i32 %spec.select8, { 0, 2, 1, 4, 3 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i8 %sv_1.0.reload, { 2, 0, 1 } uselistorder i8 %17, { 1, 0, 2 } uselistorder i8 %14, { 1, 0 } uselistorder i64 %10, { 2, 3, 1, 0 } uselistorder i8 %sv_0.0.reload, { 3, 5, 4, 2, 0, 1 } uselistorder i64 %5, { 6, 7, 0, 1, 5, 3, 4, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i32* %sv_3.2.ph.be.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_1.0.ph.be.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.0.ph.be.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.2.ph.ph.be.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.0.ph.ph.be.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.2.ph.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.0.reg2mem, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 5, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @debug_print, { 3, 2, 1, 0 } uselistorder i8 62, { 1, 2, 0 } uselistorder i8 60, { 2, 1, 0 } uselistorder i8 105, { 2, 1, 0 } uselistorder i64 1, { 2, 3, 1, 0, 5, 4 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
BinRealVul
ep_rbtree_insert_10270
ep_rbtree_insert
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %arg1, align 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %sv_1.0.lcssa.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = add i64 %0, 16 store i64 %2, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, 16 %7 = call i64 @FUNC(i64 %5, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 1 %10 = add i64 %.reload, 8 %spec.select = select i1 %9, i64 %.reload, i64 %10 %11 = inttoptr i64 %spec.select to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %.reg2mem store i64 %spec.select, i64* %sv_1.0.lcssa.reg2mem store i64 %.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %14, label LBL_2, 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 %15 = call i64 @FUNC(i64 %0, i64 %sv_0.0.lcssa.reload, i64 %sv_1.0.lcssa.reload) %16 = call i64 @FUNC(i64 %0, i64 %1) ret i64 %16 uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
exif_subchunk_parse_7575
exif_subchunk_parse
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %rcx.0.ph.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i32 %r8.0.ph.ph.reg2mem = alloca i64 %rcx.0.ph.ph.reg2mem = alloca i64 %sv_0.1.ph.ph.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rcx.0.ph.be.reg2mem = alloca i64 %sv_0.1.ph.be.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %3 = trunc i64 %arg2 to i32 %4 = bitcast i32* %sv_3 to i64* %5 = ptrtoint i64* %sv_2 to i64 %6 = bitcast i64* %sv_1 to i8* %7 = ptrtoint i64* %sv_1 to i64 store i32 0, i32* %sv_0.1.ph.ph.reg2mem br label LBL_14 LBL_1: %8 = call i64 @FUNC(i64 %2, i64* nonnull @gv_0, i64* nonnull %4, i64 %rcx.0.ph.reload, i64 %r8.0.ph.ph.reload, i64 %1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i32 %sv_0.1.reload, i32* %rax.0.in.reg2mem br i1 %10, label LBL_18, label LBL_2 LBL_2: %11 = add i32 %sv_0.1.reload, %9 %12 = load i32, i32* %sv_3, align 4 %13 = icmp ult i32 %12, 9 br i1 %13, label LBL_3, label LBL_15 LBL_3: %14 = icmp ult i32 %12, 3 %15 = icmp eq i1 %14, false br i1 %15, label LBL_8, label LBL_4 LBL_4: store i32 %11, i32* %sv_0.1.reg2mem switch i32 %12, label LBL_15 [ i32 2, label LBL_6 i32 0, label LBL_17 i32 1, label LBL_5 ] LBL_5: %16 = call i64 @FUNC(i64 %2, i64* bitcast ([3 x i8]* @gv_1 to i64*), i64* inttoptr (i64 4 to i64*), i64 %5, i64 %r8.0.ph.ph.reload, i64 %1) %17 = trunc i64 %16 to i32 %18 = add i32 %11, %17 %19 = load i64, i64* %sv_2, align 8 %20 = udiv i64 %19, 16777216 %21 = trunc i64 %20 to i32 %22 = urem i32 %21, 256 %23 = mul nuw nsw i32 %22, 10 %24 = trunc i64 %19 to i32 %25 = udiv i32 %24, 65536 %26 = urem i32 %25, 256 %27 = add nsw i32 %26, -528 %28 = add nsw i32 %27, %23 %29 = udiv i64 %19, 256 %30 = urem i64 %29, 256 %31 = mul nuw nsw i64 %30, 10 %32 = urem i64 %19, 256 %33 = add nuw nsw i64 %32, 4294966768 %34 = add nuw nsw i64 %33, %31 %35 = and i64 %34, 4294967295 %36 = trunc i64 %34 to i32 %37 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i32 %28, i32 %36, i64 %r8.0.ph.ph.reload, i64 %1) store i32 %18, i32* %sv_0.1.ph.be.reg2mem store i64 %35, i64* %rcx.0.ph.be.reg2mem br label LBL_7 LBL_6: %38 = call i64 @FUNC(i64 %2, i64* nonnull @gv_3, i64* nonnull %sv_2, i64 %rcx.0.ph.reload, i64 %r8.0.ph.ph.reload, i64 %1) %39 = trunc i64 %38 to i32 %40 = add i32 %11, %39 %41 = load i64, i64* %sv_2, align 8 %42 = and i64 %41, 4294967295 %43 = load i32, i32* %sv_3, align 4 %44 = trunc i64 %41 to i32 %45 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i32 %43, i32 %44, i64 %r8.0.ph.ph.reload, i64 %1) %46 = load i64, i64* %sv_2, align 8 %47 = mul i64 %46, 4294967296 %48 = add i64 %47, 4294967296 %sext3 = ashr exact i64 %48, 32 %49 = and i64 %sext3, -2 store i64 %49, i64* %sv_2, align 8 %50 = and i64 %sext3, 4294967294 %51 = inttoptr i64 %50 to i64* %52 = call i64 @FUNC(i64 %2, i64* nonnull @gv_5, i64* %51, i64 %42, i64 %r8.0.ph.ph.reload, i64 %1) %53 = trunc i64 %52 to i32 %54 = add i32 %40, %53 store i32 %54, i32* %sv_0.1.ph.be.reg2mem store i64 %42, i64* %rcx.0.ph.be.reg2mem br label LBL_7 LBL_7: %rcx.0.ph.be.reload = load i64, i64* %rcx.0.ph.be.reg2mem %sv_0.1.ph.be.reload = load i32, i32* %sv_0.1.ph.be.reg2mem store i32 %sv_0.1.ph.be.reload, i32* %sv_0.1.ph.reg2mem store i64 %rcx.0.ph.be.reload, i64* %rcx.0.ph.reg2mem br label LBL_16 LBL_8: %55 = call i64 @FUNC(i64 %2, i64* nonnull @gv_3, i64* nonnull %sv_2, i64 %rcx.0.ph.reload, i64 %r8.0.ph.ph.reload, i64 %1) %56 = trunc i64 %55 to i32 %57 = add i32 %11, 4 %58 = add i32 %57, %56 %59 = load i64, i64* %sv_2, align 8 %60 = mul i64 %59, 4294967296 %61 = add i64 %60, 4294967296 %sext4 = ashr exact i64 %61, 32 %62 = and i64 %sext4, -2 store i64 %62, i64* %sv_2, align 8 %63 = trunc i64 %62 to i32 %64 = icmp ult i32 %63, 4095 br i1 %64, label LBL_10, label LBL_9 LBL_9: %65 = load i32, i32* %sv_3, align 4 %66 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i32 %65, i32 %63, i64 %r8.0.ph.ph.reload, i64 %1) store i32 %58, i32* %rax.0.in.reg2mem br label LBL_18 LBL_10: %67 = and i64 %sext4, 4294967294 %68 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i64 4096, i64 %67) %69 = trunc i64 %68 to i32 %70 = add i32 %58, %69 %71 = load i32, i32* %sv_3, align 4 %72 = icmp eq i32 %71, 4 %73 = icmp eq i1 %72, false store i32 %70, i32* %sv_0.0.reg2mem br i1 %73, label LBL_13, label LBL_11 LBL_11: %74 = load i64, i64* %sv_2, align 8 %75 = and i64 %74, 4294967295 %76 = call i32 @strlen(i8* nonnull %6) %77 = sext i32 %76 to i64 %78 = icmp eq i64 %75, %77 %79 = icmp eq i1 %78, false store i32 %70, i32* %sv_0.0.reg2mem br i1 %79, label LBL_13, label LBL_12 LBL_12: %80 = trunc i64 %67 to i32 %81 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_7, i64 0, i64 0), i32 4096, i32 %80, i64 %r8.0.ph.ph.reload, i64 %1) %82 = call i64 @FUNC(i64 %2, i64* nonnull @gv_5, i64* inttoptr (i64 2 to i64*), i64 %67, i64 %r8.0.ph.ph.reload, i64 %1) %83 = trunc i64 %82 to i32 %84 = add i32 %70, %83 store i32 %84, i32* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %85 = load i64, i64* %sv_2, align 8 %86 = and i64 %85, 4294967295 %87 = load i32, i32* %sv_3, align 4 %88 = trunc i64 %85 to i32 %89 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i32 %87, i32 %88, i64 %7, i64 %1) %90 = load i64, i64* %sv_2, align 8 %91 = trunc i64 %90 to i32 %92 = icmp ult i32 %3, %91 %93 = icmp eq i1 %92, false store i32 %sv_0.0.reload, i32* %sv_0.1.ph.ph.reg2mem store i64 %86, i64* %rcx.0.ph.ph.reg2mem store i64 %7, i64* %r8.0.ph.ph.reg2mem store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem br i1 %93, label LBL_14, label LBL_18 LBL_14: %r8.0.ph.ph.reload = load i64, i64* %r8.0.ph.ph.reg2mem %rcx.0.ph.ph.reload = load i64, i64* %rcx.0.ph.ph.reg2mem %sv_0.1.ph.ph.reload = load i32, i32* %sv_0.1.ph.ph.reg2mem store i32 %sv_0.1.ph.ph.reload, i32* %sv_0.1.ph.reg2mem store i64 %rcx.0.ph.ph.reload, i64* %rcx.0.ph.reg2mem br label LBL_16 LBL_15: %94 = zext i32 %12 to i64 %95 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_9, i64 0, i64 0), i32 %12, i32 %12, i64 %r8.0.ph.ph.reload, i64 %1) store i32 %11, i32* %sv_0.1.ph.be.reg2mem store i64 %94, i64* %rcx.0.ph.be.reg2mem br label LBL_7 LBL_16: %rcx.0.ph.reload = load i64, i64* %rcx.0.ph.reg2mem %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem store i32 %sv_0.1.ph.reload, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %96 = icmp ult i32 %sv_0.1.reload, %3 store i32 %sv_0.1.reload, i32* %rax.0.in.reg2mem br i1 %96, label LBL_1, label LBL_18 LBL_18: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_0.1.reload, { 0, 2, 1, 3 } uselistorder i64 %rcx.0.ph.reload, { 1, 0, 2 } uselistorder i64 %r8.0.ph.ph.reload, { 9, 0, 7, 8, 4, 5, 6, 1, 10, 3, 2 } uselistorder i32 %70, { 2, 0, 1 } uselistorder i64 %67, { 1, 0, 2 } uselistorder i32 %58, { 1, 0 } uselistorder i64 %19, { 2, 0, 3, 1 } uselistorder i32 %12, { 2, 1, 0, 3, 4, 5 } uselistorder i32 %11, { 1, 2, 3, 4, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i32* %sv_3, { 4, 3, 2, 1, 0, 5 } uselistorder i64* %sv_2, { 2, 3, 4, 5, 6, 0, 7, 8, 9, 1, 10, 11 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64 %2, { 0, 9, 7, 8, 10, 6, 11, 3, 4, 5, 1, 2, 12 } uselistorder i64 %1, { 11, 10, 8, 9, 7, 4, 3, 6, 2, 5, 1, 0 } uselistorder i32* %sv_0.1.ph.be.reg2mem, { 3, 0, 1, 2 } uselistorder i64* %rcx.0.ph.be.reg2mem, { 3, 0, 1, 2 } uselistorder i32* %sv_0.1.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i32 4, { 1, 0 } uselistorder i64 4294967296, { 2, 0, 3, 1 } uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @psf_log_printf, { 5, 4, 3, 2, 1, 0 } uselistorder i64 256, { 1, 2, 0 } uselistorder i64 (i64, i64*, i64*, i64, i64, i64)* @psf_binheader_readf, { 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_18, { 1, 0, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
1
BinRealVul
mpeg4_decode_profile_level_6703
mpeg4_decode_profile_level
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i64 4) %5 = trunc i64 %4 to i32 %6 = bitcast i64* %arg3 to i32* store i32 %5, i32* %6, align 4 %7 = call i64 @FUNC(i64 %3, i64 4) %8 = trunc i64 %7 to i32 %9 = bitcast i64* %arg4 to i32* store i32 %8, i32* %9, align 4 %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = trunc i64 %2 to i32 %14 = icmp eq i32 %13, 8 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %9, align 4 br label LBL_3 LBL_3: ret i64 0 uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } }
0
BinRealVul
ProcXF86DGAGetViewPortSize_11402
ProcXF86DGAGetViewPortSize
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %7 = icmp ult i32 %5, %6 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: store i32 1, i32* %sv_1, align 4 %8 = load i32, i32* %4, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 1001, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_2: %14 = load i32, i32* %4, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 1001, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_3: %20 = load i32, i32* %4, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_0, i32 %17) %23 = call i64 @FUNC(i64 %0, i64 20, i32* nonnull %sv_1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
piix3_xen_class_init_14315
piix3_xen_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 store i64 4198662, i64* %2, align 8 %6 = inttoptr i64 %3 to i64* store i64 4198669, i64* %6, align 8 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* store i32 32902, i32* %8, align 4 %9 = add i64 %0, 28 %10 = inttoptr i64 %9 to i32* store i32 28947, i32* %10, align 4 %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i32* store i32 393472, i32* %12, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
WildMidi_OpenBuffer_12411
WildMidi_OpenBuffer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 store i32 441668941, i32* %sv_2, align 4 store i32 1297239878, i32* %sv_1, align 4 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), 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(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 61, i64 1, i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 64, i64 2, i64 ptrtoint ([24 x i8]* @gv_1 to i64), i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_4: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %7 to i32 %9 = icmp ult i32 %8, 1048577 br i1 %9, label LBL_6, label LBL_5 LBL_5: %10 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 67, i64 3, i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_6: %11 = ptrtoint i64* %arg1 to i64 %12 = call i32 @memcmp(i64* %arg1, i64* bitcast ([9 x i8]* @gv_2 to i64*), i32 8) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_8, label LBL_7 LBL_7: %15 = and i64 %7, 4294967295 %16 = call i64 @FUNC(i64 %11, i64 %15) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_15 LBL_8: %17 = call i32 @memcmp(i64* %arg1, i64* bitcast ([19 x i8]* @gv_3 to i64*), i32 18) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_10, label LBL_9 LBL_9: %20 = and i64 %7, 4294967295 %21 = call i64 @FUNC(i64 %11, i64 %20) store i64 %21, i64* %sv_0.0.reg2mem br label LBL_15 LBL_10: %22 = bitcast i32* %sv_2 to i64* %23 = call i32 @memcmp(i64* %arg1, i64* nonnull %22, i32 4) %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_12, label LBL_11 LBL_11: %26 = and i64 %7, 4294967295 %27 = call i64 @FUNC(i64 %11, i64 %26) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_15 LBL_12: %28 = bitcast i32* %sv_1 to i64* %29 = call i32 @memcmp(i64* %arg1, i64* nonnull %28, i32 4) %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false %32 = and i64 %7, 4294967295 br i1 %31, label LBL_14, label LBL_13 LBL_13: %33 = call i64 @FUNC(i64 %11, i64 %32) store i64 %33, i64* %sv_0.0.reg2mem br label LBL_15 LBL_14: %34 = call i64 @FUNC(i64 %11, i64 %32) store i64 %34, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %35 = icmp eq i64 %sv_0.0.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_18, label LBL_16 LBL_16: %36 = call i64 @FUNC(i64 %sv_0.0.reload) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %38, label LBL_18, label LBL_17 LBL_17: %39 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %11, { 3, 4, 2, 1, 0 } uselistorder i64 %7, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 6, 5, 4 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 0, 2, 1, 3 } uselistorder i64 (i8*, i64, i64, i64, i64)* @_WM_GLOBAL_ERROR, { 2, 1, 0 } uselistorder i64* %arg1, { 0, 1, 2, 3, 5, 4 } uselistorder label LBL_18, { 2, 1, 0, 3, 4, 5 } }
1
BinRealVul
kvaser_usb_leaf_simple_cmd_async_17356
kvaser_usb_leaf_simple_cmd_async
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = call i64 @FUNC(i64 12, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = inttoptr i64 %0 to i32* store i32 5, i32* %3, align 4 %4 = trunc i64 %arg2 to i8 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i8* store i8 %4, i8* %6, align 1 %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = load i32, i32* %3, align 4 %12 = ptrtoint i32* %arg1 to i64 %13 = call i64 @FUNC(i64 %12, i64 %0, i32 %11) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_3: %17 = and i64 %13, 4294967295 store i64 %17, 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, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
hid_scan_collection_9640
hid_scan_collection
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 48 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 1118 %9 = icmp eq i1 %8, false %10 = trunc i64 %1 to i32 store i32 %10, i32* %.reg2mem br i1 %9, label LBL_4, label LBL_1 LBL_1: %11 = add i64 %5, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %.off = add i32 %13, -161 %switch = icmp ugt i32 %.off, 3 %14 = icmp eq i32 %13, 165 %15 = icmp eq i1 %14, false %or.cond = icmp eq i1 %switch, %15 store i32 %10, i32* %.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 2 %20 = icmp eq i1 %19, false store i32 %10, i32* %.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: store i32 3, i32* %17, align 4 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %.mask = urem i32 %.reload, 65536 %21 = icmp eq i32 %.mask, 0 store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %2, 56 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 2 store i32 %25, i32* %23, align 4 store i64 %2, 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 i32 %10, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i32 3, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 3, 2, 0, 1 } }
0
BinRealVul
qdev_unplug_16535
qdev_unplug
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, 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 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %6) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
virtio_pci_reset_14791
virtio_pci_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 72 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %0, 64 %5 = call i64 @FUNC(i64 %4) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 4 %7 = add i64 %6, %0 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %0 uselistorder i64 %0, { 1, 0, 4, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
bdrv_aio_multiwrite_580
bdrv_aio_multiwrite
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = sext i32 %arg3 to i64 %4 = mul i64 %3, 16 %5 = or i64 %4, 8 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %6, 4 %9 = inttoptr i64 %8 to i32* store i32 %arg3, i32* %9, align 4 %10 = icmp sgt i32 %arg3, 0 br i1 %10, label LBL_2, label LBL_4 LBL_2: %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_3 LBL_3: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %11 = mul nuw nsw i64 %indvars.iv8.reload, 40 %12 = add i64 %11, %2 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = mul i64 %indvars.iv8.reload, 16 %16 = add i64 %15, %6 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* store i64 %14, i64* %18, align 8 %19 = add i64 %12, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %16, 16 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next9, %wide.trip.count store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %24 = ptrtoint i64* %arg1 to i64 %25 = call i64 @FUNC(i64 %24, i64 %2, i32 %arg3, i64 %6) %26 = trunc i64 %25 to i32 %27 = icmp sgt i32 %26, 0 store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_5, label LBL_11 LBL_5: %sext = mul i64 %25, 4294967296 %28 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %29 = mul nuw nsw i64 %indvars.iv.reload, 40 %30 = add i64 %29, %2 %31 = add i64 %30, 32 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %30, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %30, 16 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = call i64 @FUNC(i64 %24, i32 %39, i64 %36, i32 %33, i64 4198726, i64 %6) %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false %43 = load i32, i32* %7, align 4 br i1 %42, label LBL_10, label LBL_7 LBL_7: %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_9, label LBL_8 LBL_8: %46 = add i64 %30, 36 %47 = inttoptr i64 %46 to i32* store i32 -5, i32* %47, align 4 %48 = inttoptr i64 %6 to i64* call void @free(i64* %48) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %49 = add i32 %43, 1 store i32 %49, i32* %7, align 4 %50 = call i64 @FUNC(i64 %6, i64 4294967291) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %51 = add i32 %43, 1 store i32 %51, i32* %7, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %52 = icmp slt i64 %indvars.iv.next, %28 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %52, label LBL_6, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %43, { 2, 0, 1 } uselistorder i64 %indvars.iv8.reload, { 0, 2, 1 } uselistorder i32* %7, { 1, 2, 0, 3 } uselistorder i64 %6, { 2, 1, 3, 4, 0, 5, 6 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 5, 2, 4 } uselistorder i64 32, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 16, { 2, 3, 0, 1 } uselistorder i32 %arg3, { 2, 0, 1, 3, 4, 5 } uselistorder label LBL_11, { 0, 2, 4, 1, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0