dataset
stringclasses 1
value | file
stringlengths 7
51
| fun_name
stringlengths 2
45
| llvm_ir_function
stringlengths 61
121k
| label
stringclasses 2
values |
|---|---|---|---|---|
CompRealVul
|
send_sub_rect_jpeg_18887
|
send_sub_rect_jpeg
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8, i64* %arg9) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %arg8 to i32
%3 = ptrtoint i64* %arg1 to i64
%sext9 = mul i64 %arg2, 4294967296
%4 = ashr exact i64 %sext9, 32
%sext10 = mul i64 %arg3, 4294967296
%5 = ashr exact i64 %sext10, 32
%sext11 = mul i64 %arg4, 4294967296
%6 = ashr exact i64 %sext11, 32
%sext12 = mul i64 %arg5, 4294967296
%7 = ashr exact i64 %sext12, 32
%8 = icmp eq i32 %2, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_4, label LBL_1
LBL_1:
%10 = trunc i64 %7 to i32
%11 = and i64 %6, 4294967295
%12 = call i64 @FUNC(i64 %3, i64 %11, i32 %10)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%sext = mul i64 %1, 4294967296
%15 = ashr exact i64 %sext, 30
%16 = add i64 %15, ptrtoint (i32** @gv_0 to i64)
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = trunc i64 %6 to i32
%20 = trunc i64 %5 to i32
%21 = trunc i64 %4 to i32
%22 = zext i32 %18 to i64
%23 = and i64 %7, 4294967295
%24 = call i64 @FUNC(i64 %3, i32 %21, i32 %20, i32 %19, i64 %23, i64 %22)
%25 = trunc i64 %24 to i32
store i32 %25, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_3:
%26 = trunc i64 %6 to i32
%27 = trunc i64 %5 to i32
%28 = trunc i64 %4 to i32
%29 = and i64 %7, 4294967295
%30 = call i64 @FUNC(i64 %3, i32 %28, i32 %27, i32 %26, i64 %29)
%31 = trunc i64 %30 to i32
store i32 %31, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_4:
%32 = icmp eq i32 %2, 1
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_6, label LBL_5
LBL_5:
%34 = call i64 @FUNC(i64 %3)
%35 = trunc i64 %34 to i32
store i32 %35, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_6:
%36 = icmp eq i32 %2, 2
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_8, label LBL_7
LBL_7:
%38 = trunc i64 %arg6 to i32
%39 = trunc i64 %7 to i32
%40 = trunc i64 %6 to i32
%41 = trunc i64 %5 to i32
%42 = trunc i64 %4 to i32
%43 = call i64 @FUNC(i64 %3, i32 %42, i32 %41, i32 %40, i32 %39, i32 %38)
%44 = trunc i64 %43 to i32
store i32 %44, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_8:
%45 = icmp sgt i32 %2, 256
br i1 %45, label LBL_13, label LBL_9
LBL_9:
%46 = icmp slt i32 %2, 97
br i1 %46, label LBL_12, label LBL_10
LBL_10:
%47 = trunc i64 %7 to i32
%48 = and i64 %6, 4294967295
%49 = call i64 @FUNC(i64 %3, i64 %48, i32 %47)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_12, label LBL_11
LBL_11:
%sext14 = mul i64 %1, 4294967296
%52 = ashr exact i64 %sext14, 30
%53 = add i64 %52, ptrtoint (i32** @gv_0 to i64)
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = trunc i64 %6 to i32
%57 = trunc i64 %5 to i32
%58 = trunc i64 %4 to i32
%59 = zext i32 %55 to i64
%60 = and i64 %7, 4294967295
%61 = call i64 @FUNC(i64 %3, i32 %58, i32 %57, i32 %56, i64 %60, i64 %59)
%62 = trunc i64 %61 to i32
store i32 %62, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_12:
%63 = ptrtoint i64* %arg9 to i64
%64 = trunc i64 %6 to i32
%65 = trunc i64 %5 to i32
%66 = trunc i64 %4 to i32
%67 = and i64 %7, 4294967295
%68 = call i64 @FUNC(i64 %3, i32 %66, i32 %65, i32 %64, i64 %67, i64 %63)
%69 = trunc i64 %68 to i32
store i32 %69, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_13:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%70 = zext i32 %sv_0.0.reload to i64
ret i64 %70
uselistorder i64 %7, { 6, 4, 5, 3, 1, 0, 2 }
uselistorder i64 %6, { 6, 4, 5, 3, 1, 0, 2 }
uselistorder i64 %5, { 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 4, 3, 2, 1, 0 }
uselistorder i64 %3, { 7, 5, 6, 4, 3, 1, 0, 2 }
uselistorder i32 %2, { 3, 2, 1, 0, 4 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i32, i32, i32, i64, i64)* @send_jpeg_rect, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @tight_detect_smooth_image, { 1, 0 }
}
|
1
|
CompRealVul
|
bin_size_8590
|
bin_size
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg1 to i64
%6 = trunc i64 %arg2 to i32
%7 = call i64 @FUNC(i64 %5)
%8 = icmp ne i32 %6, 1
%9 = icmp eq i32 %6, 2
%10 = icmp eq i1 %9, false
%or.cond = icmp eq i1 %8, %10
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %3, i64 %4, i64 %2, i64 %1)
br label LBL_7
LBL_2:
%12 = icmp eq i32 %6, 3
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %3, i64 %4, i64 %2, i64 %1)
br label LBL_7
LBL_4:
%15 = icmp eq i32 %6, 4
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %4, i64 %2, i64 %1)
br label LBL_7
LBL_6:
%18 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %3, i64 %4, i64 %2, i64 %1)
br label LBL_7
LBL_7:
ret i64 1
uselistorder i64 %7, { 2, 3, 1, 0 }
uselistorder i32 %6, { 2, 1, 0, 3 }
uselistorder i64 %4, { 2, 3, 1, 0 }
uselistorder i64 %3, { 2, 1, 0 }
uselistorder i64 %2, { 2, 3, 1, 0 }
uselistorder i64 %1, { 2, 3, 1, 0 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @r_cons_printf, { 2, 1, 0 }
uselistorder i1 false, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
__iov_iter_advance_iov_6206
|
__iov_iter_advance_iov
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 1
%5 = icmp eq i1 %4, false
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
store i64 %arg2, i64* %sv_2.0.reg2mem
store i64 %0, i64* %sv_1.0.reg2mem
store i64 %8, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%9 = add i64 %8, %arg2
store i64 %9, i64* %storemerge.reg2mem
br label LBL_6
LBL_2:
%.reload = load i64, i64* %.reg2mem
%10 = sub i64 %.reload, %sv_0.0.reload
%11 = icmp ugt i64 %10, %sv_2.0.reload
%12 = select i1 %11, i64 %sv_2.0.reload, i64 %10
%sext = mul i64 %12, 4294967296
%13 = ashr exact i64 %sext, 32
%14 = sub i64 %sv_2.0.reload, %13
%15 = add i64 %13, %sv_0.0.reload
%16 = icmp eq i64 %15, %.reload
%17 = icmp eq i1 %16, false
%18 = add i64 %sv_1.0.reload, 16
%spec.select = select i1 %17, i64 %sv_1.0.reload, i64 %18
%spec.select2 = select i1 %17, i64 %15, i64 0
store i64 %14, i64* %sv_2.0.reg2mem
store i64 %spec.select, i64* %sv_1.0.reg2mem
store i64 %spec.select2, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%19 = icmp eq i64 %sv_2.0.reload, 0
%20 = icmp eq i1 %19, false
%.pre = add i64 %sv_1.0.reload, 8
%.pre3 = inttoptr i64 %.pre to i64*
%.pre5 = load i64, i64* %.pre3, align 8
store i64 %.pre5, i64* %.reg2mem
br i1 %20, label LBL_2, label LBL_4
LBL_4:
%21 = icmp eq i64 %.pre5, 0
store i64 0, i64* %.reg2mem
br i1 %21, label LBL_2, label LBL_5
LBL_5:
store i64 %sv_1.0.reload, i64* %arg1, align 8
store i64 %sv_0.0.reload, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
store i64 %storemerge.reload, i64* %7, align 8
ret i64 %0
uselistorder i64 %.pre5, { 1, 0 }
uselistorder i64 %sv_2.0.reload, { 0, 3, 2, 1 }
uselistorder i64 %sv_1.0.reload, { 3, 2, 0, 1 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i64* %.reg2mem, { 2, 1, 0 }
uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
bareetraxfs_init_7708
|
bareetraxfs_init
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%indvars.iv.reg2mem = alloca i64
%indvars.iv9.reg2mem = alloca i64
%indvars.iv12.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = load i32, i32* %0
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%2 = icmp eq i64 %arg6, 0
%3 = icmp eq i1 %2, false
%4 = select i1 %3, i64 %arg6, i64 ptrtoint ([8 x i8]* @gv_0 to i64)
%5 = call i64 @FUNC(i64 %4)
%6 = call i64 @FUNC(i64 4199308, i64 %5)
%7 = call i64 @FUNC(i64 %arg1)
%8 = call i64 @FUNC(i64 1073741824, i64 %arg1, i64 %7)
%9 = call i64 @FUNC(i64 65536)
%10 = call i64 @FUNC(i64 939524096, i64 65536, i64 %9)
%11 = call i64 @FUNC(i64 1048576)
%12 = call i64 @FUNC(i64 1, i64 0, i64 0)
%13 = icmp eq i64 %12, 0
store i64 0, i64* %storemerge5.reg2mem
br i1 %13, label LBL_2, label LBL_1
LBL_1:
%14 = inttoptr i64 %12 to i64*
%15 = load i64, i64* %14, align 8
store i64 %15, i64* %storemerge5.reg2mem
br label LBL_2
LBL_2:
%16 = ptrtoint i64* %sv_3 to i64
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%17 = call i64 @FUNC(i64 0, i64 %11, i64 %storemerge5.reload, i64 65536, i64 16, i64 1)
%18 = call i64 @FUNC(i64 %5)
%19 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))
%20 = add i64 %5, 68
%21 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %20)
%22 = call i64 @FUNC(i64 %19)
%23 = call i64 @FUNC(i64 %19)
%24 = call i64 @FUNC(i64 %23, i64 0, i64 805421056)
%25 = inttoptr i64 %18 to i32*
%26 = load i32, i32* %25, align 4
%27 = call i64 @FUNC(i64 %23, i64 0, i32 %26)
%28 = add i64 %18, 4
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = call i64 @FUNC(i64 %23, i64 1, i32 %30)
%32 = add i64 %16, -208
store i64 0, i64* %indvars.iv12.reg2mem
br label LBL_3
LBL_3:
%indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem
%33 = call i64 @FUNC(i64 %19, i64 %indvars.iv12.reload)
%34 = trunc i64 %33 to i32
%35 = mul i64 %indvars.iv12.reload, 4
%36 = add i64 %35, %32
%37 = inttoptr i64 %36 to i32*
store i32 %34, i32* %37, align 4
%indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1
%exitcond14 = icmp eq i64 %indvars.iv.next13, 30
store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem
br i1 %exitcond14, label LBL_4, label LBL_3
LBL_4:
%38 = call i64 @FUNC(i64 %19, i64 30)
%39 = call i64 @FUNC(i64 %19, i64 31)
%40 = call i64 @FUNC(i64 805306368, i64 10)
%41 = ptrtoint i64* %sv_2 to i64
%42 = add i64 %41, 28
store i64 0, i64* %indvars.iv9.reg2mem
br label LBL_5
LBL_5:
%indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem
%43 = trunc i64 %indvars.iv9.reload to i32
%44 = urem i64 %indvars.iv9.reload, 2
%45 = mul i64 %indvars.iv9.reload, 4
%46 = add i64 %42, %45
%47 = call i64 @FUNC(i64 %40, i32 %43, i64 %46, i64 %44)
%indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1
%exitcond11 = icmp eq i64 %indvars.iv.next10, 10
store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem
br i1 %exitcond11, label LBL_6, label LBL_5
LBL_6:
%48 = call i64 @FUNC(i64* nonnull @gv_3, i64 805519360, i64 1)
%49 = call i64 @FUNC(i64* nonnull @gv_4, i64 805527552, i64 2)
%50 = call i64 @FUNC(i64 %40, i64 0, i64 %48)
%51 = call i64 @FUNC(i64 %40, i64 1, i64 %48)
%52 = icmp eq i64 %49, 0
br i1 %52, label LBL_8, label LBL_7
LBL_7:
%53 = call i64 @FUNC(i64 %40, i64 6, i64 %49)
%54 = call i64 @FUNC(i64 %40, i64 7, i64 %49)
br label LBL_8
LBL_8:
%55 = and i64 %39, 4294967295
%56 = zext i32 %1 to i64
%57 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64 805429248, i64 %56, i64 %55, i64 0)
%58 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64 805691392, i64 %56, i64 %55, i64 0)
%59 = add i64 %16, -128
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_9
LBL_9:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%60 = mul i64 %indvars.iv.reload, 4
%61 = add i64 %59, %60
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = mul i64 %indvars.iv.reload, 8192
%65 = add nuw nsw i64 %64, 805462016
%66 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 %65, i32 %63)
%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_10, label LBL_9
LBL_10:
%67 = icmp eq i64 %arg3, 0
br i1 %67, label LBL_18, label LBL_11
LBL_11:
%68 = call i64 @FUNC(i64 %arg3, i64 -2147483648, i64* nonnull %sv_0, i64 0, i64* nonnull %sv_1, i64 0)
%69 = trunc i64 %68 to i32
%70 = load i64, i64* %sv_0, align 8
%71 = trunc i64 %70 to i32
store i32 %71, i32* @gv_7, align 4
%72 = icmp slt i32 %69, 0
%73 = icmp eq i1 %72, false
br i1 %73, label LBL_13, label LBL_12
LBL_12:
%74 = call i64 @FUNC(i64 %arg3, i64 1073758208, i64 %arg1)
%75 = trunc i64 %74 to i32
store i32 1073758208, i32* @gv_7, align 4
%76 = add i32 %75, 1073758208
%77 = add i64 %5, 36
%78 = inttoptr i64 %77 to i32*
store i32 %76, i32* %78, align 4
br label LBL_13
LBL_13:
%79 = add i64 %5, 32
%80 = inttoptr i64 %79 to i32*
store i32 1452286855, i32* %80, align 4
%81 = icmp eq i64 %arg4, 0
br i1 %81, label LBL_18, label LBL_14
LBL_14:
%82 = inttoptr i64 %arg4 to i8*
%83 = call i32 @strlen(i8* %82)
%84 = icmp eq i32 %83, 0
br i1 %84, label LBL_18, label LBL_15
LBL_15:
%85 = icmp slt i32 %83, 257
br i1 %85, label LBL_17, label LBL_16
LBL_16:
%86 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%87 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_9 to i64*), i32 1, i32 39, %_IO_FILE* %86)
call void @exit(i32 1)
unreachable
LBL_17:
%88 = add i64 %5, 40
%89 = inttoptr i64 %88 to i32*
store i32 -2028956317, i32* %89, align 4
%90 = add i64 %5, 44
%91 = inttoptr i64 %90 to i32*
store i32 1073741824, i32* %91, align 4
%92 = call i64 @FUNC(i64 1073741824, i64 256, i64 %arg4)
br label LBL_18
LBL_18:
%93 = load i32, i32* @gv_7, align 4
%94 = add i64 %5, 64
%95 = inttoptr i64 %94 to i32*
store i32 %93, i32* %95, align 4
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i32 %93)
%97 = trunc i64 %arg1 to i32
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_11, i64 0, i64 0), i32 %97)
%99 = sext i32 %98 to i64
ret i64 %99
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %55, { 1, 0 }
uselistorder i64 %49, { 1, 0, 2 }
uselistorder i64 %indvars.iv9.reload, { 0, 3, 2, 1 }
uselistorder i64 %40, { 1, 0, 3, 2, 4 }
uselistorder i64 %indvars.iv12.reload, { 0, 2, 1 }
uselistorder i64 %19, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %5, { 4, 1, 2, 3, 0, 6, 5, 7 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
uselistorder i32 1073758208, { 1, 0 }
uselistorder i32 0, { 3, 4, 0, 1, 2 }
uselistorder i32* @gv_7, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64)* @sysbus_create_varargs, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @etraxfs_dmac_connect_client, { 3, 2, 1, 0 }
uselistorder i64 (i64*, i64, i64)* @etraxfs_eth_init, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 30, { 1, 0 }
uselistorder i64 (i64, i64)* @qdev_get_gpio_in, { 1, 0, 2 }
uselistorder i64 4, { 3, 0, 1, 2, 4 }
uselistorder i64 (i64, i64, i32)* @sysbus_connect_irq, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @cpu_register_physical_memory, { 1, 0 }
uselistorder i64 (i64)* @qemu_ram_alloc, { 2, 1, 0 }
uselistorder i64 %arg4, { 0, 2, 1 }
uselistorder i64 %arg3, { 0, 2, 1 }
uselistorder i64 %arg1, { 1, 0, 3, 2 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
udev_monitor_send_device_4865
|
udev_monitor_send_device
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.in.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0)
%4 = icmp sgt i64 %3, 31
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_6
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = trunc i64 %3 to i32
%7 = trunc i64 %1 to i32
%8 = add i64 %5, 4
%9 = inttoptr i64 %8 to i16*
%10 = load i16, i16* %9, align 2
%11 = icmp eq i16 %10, 0
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = add i64 %5, 140
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = load i64, i64* %sv_0, align 8
%16 = inttoptr i64 %15 to i64*
%17 = inttoptr i64 %8 to %sockaddr*
%18 = call i32 @sendto(i32 %7, i64* %16, i32 %6, i32 0, %sockaddr* %17, i32 %14)
store i32 %18, i32* %storemerge.in.reg2mem
br label LBL_5
LBL_3:
%19 = add i64 %5, 116
%20 = inttoptr i64 %19 to i16*
%21 = load i16, i16* %20, align 2
%22 = icmp eq i16 %21, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %22, label LBL_6, label LBL_4
LBL_4:
%23 = add i64 %5, 128
%24 = load i64, i64* %sv_0, align 8
%25 = inttoptr i64 %24 to i64*
%26 = inttoptr i64 %23 to %sockaddr*
%27 = call i32 @sendto(i32 %7, i64* %25, i32 %6, i32 0, %sockaddr* %26, i32 12)
store i32 %27, i32* %storemerge.in.reg2mem
br label LBL_5
LBL_5:
%storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem
%storemerge = sext i32 %storemerge.in.reload to i64
%28 = add i64 %5, 144
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %storemerge, i64 %5)
store i64 %storemerge, 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 %6, { 1, 0 }
uselistorder i64 %5, { 1, 0, 5, 4, 3, 2 }
uselistorder i64* %sv_0, { 1, 2, 0 }
uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 (i32, i64*, i32, i32, %sockaddr*, i32)* @sendto, { 1, 0 }
uselistorder label LBL_6, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
cmsAllocProfileSequenceDescription_8413
|
cmsAllocProfileSequenceDescription
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.next5.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp eq i32 %0, 0
%3 = icmp eq i1 %2, false
%4 = trunc i64 %1 to i32
%5 = icmp ult i32 %4, 256
%or.cond = icmp eq i1 %3, %5
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_7
LBL_1:
%6 = call i64 @FUNC(i64 %arg1, i64 24)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_7
LBL_2:
%9 = inttoptr i64 %6 to i64*
store i64 %arg1, i64* %9, align 8
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %arg1, i64 %10, i64 24)
%12 = add i64 %6, 8
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
%14 = add i64 %6, 16
%15 = inttoptr i64 %14 to i32*
store i32 %4, i32* %15, align 4
%16 = load i64, i64* %13, align 8
%17 = icmp eq i64 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_3, label LBL_5
LBL_3:
%19 = icmp eq i32 %4, 0
store i64 %6, i64* %rax.0.reg2mem
br i1 %19, label LBL_7, label LBL_4
LBL_4:
%20 = inttoptr i64 %16 to i64*
store i64 0, i64* %20, align 8
%21 = load i64, i64* %13, align 8
%22 = add i64 %21, 8
%23 = inttoptr i64 %22 to i64*
store i64 0, i64* %23, align 8
%24 = load i64, i64* %13, align 8
%25 = add i64 %24, 16
%26 = inttoptr i64 %25 to i64*
store i64 0, i64* %26, align 8
%exitcond4 = icmp eq i64 %10, 1
store i64 1, i64* %indvars.iv.next5.reg2mem
store i64 %6, i64* %rax.0.reg2mem
br i1 %exitcond4, label LBL_7, label LBL_6
LBL_5:
%27 = call i64 @FUNC(i64 %arg1, i64 %6)
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%indvars.iv.next5.reload = load i64, i64* %indvars.iv.next5.reg2mem
%.pre = load i64, i64* %13, align 8
%28 = mul nuw nsw i64 %indvars.iv.next5.reload, 24
%29 = add i64 %28, %.pre
%30 = inttoptr i64 %29 to i64*
store i64 0, i64* %30, align 8
%31 = load i64, i64* %13, align 8
%32 = add nuw nsw i64 %28, 8
%33 = add i64 %32, %31
%34 = inttoptr i64 %33 to i64*
store i64 0, i64* %34, align 8
%35 = load i64, i64* %13, align 8
%36 = add nuw nsw i64 %28, 16
%37 = add i64 %36, %35
%38 = inttoptr i64 %37 to i64*
store i64 0, i64* %38, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.next5.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %10
store i64 %indvars.iv.next, i64* %indvars.iv.next5.reg2mem
store i64 %6, i64* %rax.0.reg2mem
br i1 %exitcond, label LBL_7, label LBL_6
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %28, { 1, 2, 0 }
uselistorder i64 %indvars.iv.next5.reload, { 1, 0 }
uselistorder i64* %13, { 3, 4, 2, 0, 1, 5, 6 }
uselistorder i64 %10, { 1, 0, 2 }
uselistorder i64 %6, { 1, 3, 0, 2, 4, 5, 6, 7 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %indvars.iv.next5.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 1, 3, 4, 5 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder i64 16, { 1, 0, 2 }
uselistorder i32 1, { 1, 0, 2 }
uselistorder label LBL_7, { 1, 5, 0, 2, 3, 4 }
uselistorder label LBL_6, { 1, 0 }
}
|
0
|
CompRealVul
|
stts_dump_8597
|
stts_dump
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
%4 = trunc i64 %1 to i32
%5 = and i64 %1, 4294967295
%6 = inttoptr i64 %arg2 to %_IO_FILE*
%7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %5)
%8 = icmp eq i32 %4, 0
store i64 0, i64* %sv_0.0.lcssa.reg2mem
br i1 %8, label LBL_4, label LBL_1
LBL_1:
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i64*
%.pre = load i64, i64* %10, align 8
store i64 %.pre, i64* %.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_0.03.reg2mem
br label LBL_2
LBL_2:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%.reload = load i64, i64* %.reg2mem
%11 = mul i64 %indvars.iv.reload, 8
%12 = add i64 %11, %.reload
%13 = add i64 %12, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
%17 = inttoptr i64 %12 to i32*
%18 = load i32, i32* %17, align 4
%19 = zext i32 %18 to i64
%20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %19, i64 %16)
%21 = load i64, i64* %10, align 8
%22 = or i64 %11, 4
%23 = add i64 %21, %22
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = add i32 %25, %sv_0.03.reload
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %5
store i64 %21, i64* %.reg2mem
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %26, i32* %sv_0.03.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%phitmp = zext i32 %26 to i64
store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem
br label LBL_4
LBL_4:
%27 = add i64 %2, 16
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_6, label LBL_5
LBL_5:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i64 %sv_0.0.lcssa.reload)
br label LBL_7
LBL_6:
%32 = call i32 @fwrite(i64* bitcast ([52 x i8]* @gv_4 to i64*), i32 1, i32 51, %_IO_FILE* %6)
br label LBL_7
LBL_7:
%33 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg2)
ret i64 0
uselistorder i32 %26, { 1, 0 }
uselistorder i64* %10, { 1, 0 }
uselistorder %_IO_FILE* %6, { 1, 0, 2, 3 }
uselistorder i64 %2, { 0, 2, 1, 3 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 4, 2, 3, 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
SymbolsCreate_8731
|
SymbolsCreate
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64* @malloc(i32 32)
%1 = icmp eq i64* %0, null
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = bitcast i64* %0 to i32*
store i32 1, i32* %3, align 4
%4 = ptrtoint i64* %0 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
store i64 0, i64* %6, align 8
%7 = add i64 %4, 16
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = trunc i64 %arg1 to i32
%10 = add i64 %4, 20
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = add i64 %4, 24
%13 = inttoptr i64 %12 to i64*
store i64 %arg2, i64* %13, align 8
store i64 %4, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %0, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
ossl_x509name_cmp_19086
|
ossl_x509name_cmp
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = and i64 %arg2, 4294967295
%1 = and i64 %arg1, 4294967295
%2 = call i64 @FUNC(i64 %1, i64 %0)
%3 = trunc i64 %2 to i32
%4 = icmp slt i32 %3, 0
%5 = icmp eq i1 %4, false
%6 = icmp sgt i32 %3, 1
%. = zext i1 %6 to i64
%rax.0 = select i1 %5, i64 %., i64 4294967295
ret i64 %rax.0
}
|
1
|
CompRealVul
|
asymmetric_key_match_preparse_6635
|
asymmetric_key_match_preparse
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 4198694, i64* %3, align 8
ret i64 0
}
|
0
|
CompRealVul
|
process_audio_header_eacs_1716
|
process_audio_header_eacs
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %4, 16
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_2, label LBL_1
LBL_1:
%12 = call i64 @FUNC(i64 %7)
store i64 %12, i64* %storemerge1.reg2mem
br label LBL_3
LBL_2:
%13 = call i64 @FUNC(i64 %7)
store i64 %13, i64* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%14 = trunc i64 %storemerge1.reload to i32
%15 = bitcast i64* %arg1 to i32*
store i32 %14, i32* %15, align 4
%16 = call i64 @FUNC(i64 %7)
%17 = trunc i64 %16 to i32
%18 = add i64 %4, 4
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = icmp eq i32 %17, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_14
LBL_5:
%23 = call i64 @FUNC(i64 %7)
%24 = trunc i64 %23 to i32
%25 = inttoptr i64 %5 to i32*
store i32 %24, i32* %25, align 4
%26 = call i64 @FUNC(i64 %7)
%27 = trunc i64 %26 to i32
%28 = call i64 @FUNC(i64 %7, i64 13)
%29 = icmp eq i32 %27, 2
br i1 %29, label LBL_12, label LBL_6
LBL_6:
%30 = icmp sgt i32 %27, 2
br i1 %30, label LBL_13, label LBL_7
LBL_7:
switch i32 %27, label LBL_13 [
i32 0, label LBL_8
i32 1, label LBL_11
]
LBL_8:
%31 = load i32, i32* %19, align 4
store i64 1, i64* %storemerge.reg2mem
switch i32 %31, label LBL_14 [
i32 1, label LBL_9
i32 2, label LBL_10
]
LBL_9:
%32 = add i64 %4, 12
%33 = inttoptr i64 %32 to i32*
store i32 1, i32* %33, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_14
LBL_10:
%34 = add i64 %4, 12
%35 = inttoptr i64 %34 to i32*
store i32 2, i32* %35, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_14
LBL_11:
%36 = add i64 %4, 12
%37 = inttoptr i64 %36 to i32*
store i32 3, i32* %37, align 4
store i32 1, i32* %19, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_14
LBL_12:
%38 = add i64 %4, 12
%39 = inttoptr i64 %38 to i32*
store i32 4, i32* %39, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_14
LBL_13:
%40 = and i64 %26, 4294967295
%41 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i64 %40, i64 %2, i64 %1)
store i64 1, i64* %storemerge.reg2mem
br label LBL_14
LBL_14:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %7, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %4, { 4, 5, 1, 2, 3, 0, 6, 7, 8 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 5, 6, 1, 7 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 1, { 3, 2, 1, 4, 5, 0 }
uselistorder i32 2, { 3, 0, 2, 1 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i64 (i64)* @avio_r8, { 2, 1, 0 }
uselistorder label LBL_14, { 3, 2, 1, 4, 5, 0, 6 }
}
|
0
|
CompRealVul
|
ksmbd_smb_request_6157
|
ksmbd_smb_request
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%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, 4
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))
ret i64 0
LBL_2:
%.off = add i32 %3, -1
%switch = icmp ult i32 %.off, 3
%spec.select = zext i1 %switch to i64
ret i64 %spec.select
}
|
0
|
CompRealVul
|
wake_up_new_task_18234
|
wake_up_new_task
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = load i64, i64* %0
%3 = add i64 %arg1, 32
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %arg1, i64 %2)
%6 = call i64 @FUNC(i64 %arg1)
%7 = and i64 %6, 4294967295
%8 = call i64 @FUNC(i64 %arg1, i64 %7, i64 0, i64 0)
%9 = and i64 %8, 4294967295
%10 = call i64 @FUNC(i64 %arg1, i64 %9)
%11 = call i64 @FUNC(i64 %3)
%12 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)
%13 = call i64 @FUNC(i64 %12, i64 %arg1, i64 0)
%14 = add i64 %arg1, 16
%15 = inttoptr i64 %14 to i64*
store i64 1, i64* %15, align 8
%16 = call i64 @FUNC(i64 %arg1)
%17 = call i64 @FUNC(i64 %12, i64 %arg1, i64 0)
%18 = add i64 %arg1, 24
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label LBL_2, label LBL_1
LBL_1:
%24 = call i64 @FUNC(i64 %12, i64 %1)
%25 = call i64 @FUNC(i64 %12, i64 %1)
br label LBL_2
LBL_2:
%26 = call i64 @FUNC(i64 %12, i64 %arg1, i64* nonnull %sv_0)
ret i64 %26
uselistorder i64 %12, { 2, 1, 0, 3, 4 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
}
|
1
|
CompRealVul
|
gf_memory_log_6276
|
gf_memory_log
|
define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%2 = load i64, i64* %1
%3 = load i128, i128* %0
%4 = load i128, i128* %0
%5 = load i128, i128* %0
%6 = load i128, i128* %0
%7 = load i128, i128* %0
%8 = load i128, i128* %0
%9 = load i128, i128* %0
%10 = load i128, i128* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%11 = trunc i64 %2 to i8
%12 = icmp eq i8 %11, 0
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = call i64 @FUNC(i128 %10)
%14 = call i64 @FUNC(i128 %9)
%15 = call i64 @FUNC(i128 %8)
%16 = call i64 @FUNC(i128 %7)
%17 = call i64 @FUNC(i128 %6)
%18 = call i64 @FUNC(i128 %5)
%19 = call i64 @FUNC(i128 %4)
%20 = call i64 @FUNC(i128 %3)
br label LBL_2
LBL_2:
%21 = call i32 @strlen(i8* %arg2)
%22 = icmp ult i32 %21, 200
br i1 %22, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
store i32 16, i32* %sv_1, align 4
%23 = ptrtoint i32* %sv_1 to i64
%24 = bitcast i64* %sv_0 to i8*
%25 = call i32 @vsnprintf(i8* nonnull %24, i32 1024, i8* %arg2, i64 %23)
%26 = trunc i64 %arg1 to i32
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i32 %26, i64 1, i64* nonnull %sv_0)
%28 = sext i32 %27 to i64
ret i64 %28
uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }
}
|
0
|
CompRealVul
|
flush_tmregs_to_thread_5521
|
flush_tmregs_to_thread
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 %0, i64* %rax.0.reg2mem
br i1 %2, label LBL_5, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = load i64, i64* @gv_0, align 8
%5 = icmp eq i64 %4, %3
%6 = icmp eq i1 %5, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_5, label LBL_2
LBL_2:
%7 = call i64 @FUNC()
%8 = and i64 %7, 4294967295
%9 = call i64 @FUNC(i64 %8)
%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(i64 0)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%13 = call i64 @FUNC()
%14 = call i64 @FUNC(i64 %3)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder label LBL_5, { 2, 3, 1, 0 }
}
|
0
|
CompRealVul
|
find_marker_14968
|
find_marker
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_1.06.reg2mem = alloca i32
%sv_0.08.reg2mem = alloca i64
%sv_1.09.reg2mem = alloca i32
%.reg2mem = alloca i8
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = icmp ult i64 %4, %arg2
store i32 0, i32* %sv_1.06.reg2mem
store i64 %4, i64* %sv_0.1.reg2mem
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_5
LBL_1:
%.phi.trans.insert = bitcast i64* %arg1 to i8*
%.pre = load i8, i8* %.phi.trans.insert, align 1
store i8 %.pre, i8* %.reg2mem
store i32 0, i32* %sv_1.09.reg2mem
store i64 %4, i64* %sv_0.08.reg2mem
br label LBL_2
LBL_2:
%sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem
%sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem
%.reload = load i8, i8* %.reg2mem
%6 = add nuw i64 %sv_0.08.reload, 1
%7 = inttoptr i64 %6 to i8*
%8 = load i8, i8* %7, align 1
%9 = icmp eq i8 %.reload, -1
%10 = icmp ugt i8 %8, -65
%or.cond.not = icmp eq i1 %9, %10
%11 = icmp ne i8 %8, -1
%or.cond3 = icmp eq i1 %11, %or.cond.not
%12 = icmp ult i64 %6, %arg2
%13 = icmp eq i1 %12, %or.cond3
br i1 %13, label LBL_3, label LBL_4
LBL_3:
%14 = add i64 %sv_0.08.reload, 2
%phitmp = zext i8 %8 to i64
store i32 %sv_1.09.reload, i32* %sv_1.06.reg2mem
store i64 %14, i64* %sv_0.1.reg2mem
store i64 %phitmp, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%15 = add i32 %sv_1.09.reload, 1
store i8 %8, i8* %.reg2mem
store i32 %15, i32* %sv_1.09.reg2mem
store i64 %6, i64* %sv_0.08.reg2mem
store i32 %15, i32* %sv_1.06.reg2mem
store i64 %6, i64* %sv_0.1.reg2mem
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %12, label LBL_2, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem
%16 = zext i32 %sv_1.06.reload to i64
%17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %3, i64 %2, i64 %1)
store i64 %sv_0.1.reload, i64* %arg1, align 8
ret i64 %storemerge.reload
uselistorder i1 %12, { 1, 0 }
uselistorder i32 %sv_1.09.reload, { 1, 0 }
uselistorder i64 %sv_0.08.reload, { 1, 0 }
uselistorder i64 %4, { 1, 0, 2 }
uselistorder i8* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.06.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0, 2 }
uselistorder label LBL_5, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
mutt_b64_decode_12759
|
mutt_b64_decode
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.17.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.reg2mem = alloca i8
%0 = ptrtoint i64* %arg1 to i64
%.phi.trans.insert = inttoptr i64 %arg2 to i8*
%.pre = load i8, i8* %.phi.trans.insert, align 1
store i8 %.pre, i8* %.reg2mem
store i64 %arg2, i64* %sv_2.0.reg2mem
store i64 %0, i64* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%.reload = load i8, i8* %.reg2mem
%1 = icmp slt i8 %.reload, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %1, label LBL_17, label LBL_2
LBL_2:
%2 = zext i8 %.reload to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 255
%6 = icmp eq i1 %5, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_17
LBL_3:
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%7 = add i64 %sv_2.0.reload, 1
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = icmp slt i8 %9, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %10, label LBL_17, label LBL_4
LBL_4:
%11 = zext i8 %9 to i64
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 255
%15 = icmp eq i1 %14, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %15, label LBL_5, label LBL_17
LBL_5:
%16 = add i64 %sv_2.0.reload, 2
%17 = inttoptr i64 %16 to i8*
%18 = load i8, i8* %17, align 1
%19 = icmp slt i8 %18, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %19, label LBL_17, label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%20 = sext i8 %18 to i32
%21 = icmp eq i8 %18, 61
br i1 %21, label LBL_8, label LBL_7
LBL_7:
%22 = urem i32 %20, 256
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 255
%27 = icmp eq i1 %26, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %27, label LBL_8, label LBL_17
LBL_8:
%28 = add i64 %sv_2.0.reload, 3
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%31 = icmp slt i8 %30, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %31, label LBL_17, label LBL_9
LBL_9:
%32 = sext i8 %30 to i32
%33 = icmp eq i8 %30, 61
br i1 %33, label LBL_11, label LBL_10
LBL_10:
%34 = urem i32 %32, 256
%35 = zext i32 %34 to i64
%36 = call i64 @FUNC(i64 %35)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 255
%39 = icmp eq i1 %38, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %39, label LBL_11, label LBL_17
LBL_11:
%40 = call i64 @FUNC(i64 %2)
%41 = trunc i64 %40 to i32
%42 = mul i32 %41, 4
%43 = call i64 @FUNC(i64 %11)
%44 = trunc i64 %43 to i32
%45 = udiv i32 %44, 16
%46 = add i64 %sv_1.0.reload, 1
%47 = or i32 %45, %42
%48 = trunc i32 %47 to i8
%49 = inttoptr i64 %sv_1.0.reload to i8*
store i8 %48, i8* %49, align 1
%50 = add i32 %sv_0.0.reload, 1
store i64 %46, i64* %sv_1.1.reg2mem
store i32 %50, i32* %sv_0.1.reg2mem
br i1 %21, label LBL_14, label LBL_12
LBL_12:
%51 = call i64 @FUNC(i64 %11)
%52 = trunc i64 %51 to i32
%53 = mul i32 %52, 16
%54 = urem i32 %20, 256
%55 = zext i32 %54 to i64
%56 = call i64 @FUNC(i64 %55)
%57 = trunc i64 %56 to i32
%58 = udiv i32 %57, 4
%59 = or i32 %58, %53
%60 = trunc i32 %59 to i8
%61 = inttoptr i64 %46 to i8*
store i8 %60, i8* %61, align 1
br i1 %33, label LBL_15, label LBL_13
LBL_13:
%62 = add i64 %sv_1.0.reload, 2
%63 = call i64 @FUNC(i64 %55)
%64 = trunc i64 %63 to i8
%65 = mul i8 %64, 64
%66 = urem i32 %32, 256
%67 = zext i32 %66 to i64
%68 = call i64 @FUNC(i64 %67)
%69 = trunc i64 %68 to i8
%70 = add i64 %sv_1.0.reload, 3
%71 = or i8 %65, %69
%72 = inttoptr i64 %62 to i8*
store i8 %71, i8* %72, align 1
%73 = add i32 %sv_0.0.reload, 3
store i64 %70, i64* %sv_1.1.reg2mem
store i32 %73, i32* %sv_0.1.reg2mem
br label LBL_14
LBL_14:
%74 = add i64 %sv_2.0.reload, 4
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%75 = inttoptr i64 %74 to i8*
%76 = load i8, i8* %75, align 1
%77 = icmp ne i8 %76, 0
%78 = icmp eq i1 %33, false
%or.cond = icmp eq i1 %78, %77
store i8 %76, i8* %.reg2mem
store i64 %74, i64* %sv_2.0.reg2mem
store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.17.reg2mem
br i1 %or.cond, label LBL_1, label LBL_16
LBL_15:
%79 = add i32 %sv_0.0.reload, 2
store i32 %79, i32* %sv_0.17.reg2mem
br label LBL_16
LBL_16:
%sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem
%80 = zext i32 %sv_0.17.reload to i64
store i64 %80, i64* %rax.0.reg2mem
br label LBL_17
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %46, { 1, 0 }
uselistorder i1 %33, { 1, 0, 2 }
uselistorder i8 %30, { 0, 2, 1 }
uselistorder i64 %sv_1.0.reload, { 3, 2, 1, 0 }
uselistorder i32 %sv_0.0.reload, { 2, 1, 0 }
uselistorder i8 %18, { 0, 2, 1 }
uselistorder i64 %11, { 2, 1, 0 }
uselistorder i64 %sv_2.0.reload, { 3, 2, 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i8* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.17.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 2, 1, 4, 3, 6, 5, 8, 7 }
uselistorder i64 4, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 (i64)* @base64val, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0, 3, 2, 5, 4, 7, 6, 8, 9 }
uselistorder label LBL_17, { 8, 1, 0, 3, 2, 5, 4, 7, 6 }
uselistorder label LBL_16, { 1, 0 }
}
|
1
|
CompRealVul
|
check_offset_11870
|
check_offset
|
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = sub i64 %arg4, %0
%sext = mul i64 %arg5, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = add i64 %2, %1
%4 = icmp slt i64 %3, 0
%5 = sext i32 %arg2 to i64
%6 = icmp sgt i64 %3, %5
%or.cond = or i1 %4, %6
store i64 1, i64* %storemerge.reg2mem
br i1 %or.cond, label LBL_1, label LBL_2
LBL_1:
%7 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @globalFUNCvarFUNC402010, i64 0, i64 0))
%8 = call i64 @FUNC(i64 %7, i64 %arg3)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
i2c_ASN1_INTEGER_11422
|
i2c_ASN1_INTEGER
|
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%rsi.0.reg2mem = alloca i64
%sv_0.1.in10.in.reg2mem = alloca i64
%sv_1.211.in.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i8
%storemerge3.lcssa.reg2mem = alloca i32
%sv_0.0.in.lcssa.reg2mem = alloca i64
%sv_1.1.lcssa.reg2mem = alloca i64
%sv_1.114.reg2mem = alloca i64
%sv_0.0.in15.reg2mem = alloca i64
%storemerge316.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%.reg2mem37 = alloca i32
%storemerge4.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i8
%sv_3.1.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i8
%sv_3.0.reg2mem = alloca i32
%storemerge520.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i32* %arg1, null
%3 = icmp eq i1 %2, false
store i32 0, i32* %rax.0.shrunk.reg2mem
br i1 %3, label LBL_1, label LBL_21
LBL_1:
%4 = trunc i64 %1 to i32
%5 = and i32 %4, 32
%6 = ptrtoint i32* %arg1 to i64
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i32 0, i32* %sv_3.1.reg2mem
store i8 0, i8* %sv_2.1.reg2mem
store i32 1, i32* %storemerge4.reg2mem
br i1 %11, label LBL_2, label LBL_9
LBL_2:
%12 = add i64 %6, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp eq i32 %5, 0
%18 = icmp slt i8 %16, 0
%or.cond.not = icmp eq i1 %17, %18
%.mux = zext i1 %or.cond.not to i32
store i32 %.mux, i32* %sv_3.0.reg2mem
store i8 0, i8* %sv_2.0.reg2mem
br i1 %17, label LBL_8, label LBL_3
LBL_3:
%19 = icmp ult i8 %16, -127
store i32 1, i32* %sv_3.0.reg2mem
store i8 -1, i8* %sv_2.0.reg2mem
br i1 %19, label LBL_4, label LBL_8
LBL_4:
%20 = icmp eq i8 %16, -128
%21 = icmp ugt i32 %9, 1
%or.cond = icmp eq i1 %21, %20
store i32 0, i32* %sv_3.0.reg2mem
store i8 0, i8* %sv_2.0.reg2mem
br i1 %or.cond, label LBL_5, label LBL_8
LBL_5:
%22 = zext i32 %9 to i64
store i64 1, i64* %.reg2mem
store i32 1, i32* %storemerge520.reg2mem
br label LBL_6
LBL_6:
%.reload = load i64, i64* %.reg2mem
%23 = add i64 %.reload, %14
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp eq i8 %25, 0
store i32 1, i32* %sv_3.0.reg2mem
store i8 -1, i8* %sv_2.0.reg2mem
br i1 %26, label LBL_7, label LBL_8
LBL_7:
%storemerge520.reload = load i32, i32* %storemerge520.reg2mem
%27 = add i32 %storemerge520.reload, 1
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %28, %22
store i64 %28, i64* %.reg2mem
store i32 %27, i32* %storemerge520.reg2mem
store i32 0, i32* %sv_3.0.reg2mem
store i8 0, i8* %sv_2.0.reg2mem
br i1 %29, label LBL_6, label LBL_8
LBL_8:
%sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%30 = add i32 %sv_3.0.reload, %9
store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem
store i8 %sv_2.0.reload, i8* %sv_2.1.reg2mem
store i32 %30, i32* %storemerge4.reg2mem
br label LBL_9
LBL_9:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%31 = icmp eq i64* %arg2, null
%32 = icmp eq i1 %31, false
store i32 %storemerge4.reload, i32* %rax.0.shrunk.reg2mem
br i1 %32, label LBL_10, label LBL_21
LBL_10:
%33 = ptrtoint i64* %arg2 to i64
%sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem
%34 = icmp eq i32 %sv_3.1.reload, 0
store i32 %9, i32* %.reg2mem37
store i64 %33, i64* %sv_1.0.reg2mem
br i1 %34, label LBL_12, label LBL_11
LBL_11:
%sv_2.1.reload = load i8, i8* %sv_2.1.reg2mem
%35 = add i64 %33, 1
%36 = bitcast i64* %arg2 to i8*
store i8 %sv_2.1.reload, i8* %36, align 1
%.pre = load i32, i32* %8, align 4
store i32 %.pre, i32* %.reg2mem37
store i64 %35, i64* %sv_1.0.reg2mem
br label LBL_12
LBL_12:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%.reload38 = load i32, i32* %.reg2mem37
%37 = icmp eq i32 %.reload38, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_14, label LBL_13
LBL_13:
%39 = inttoptr i64 %sv_1.0.reload to i8*
store i8 0, i8* %39, align 1
store i64 %33, i64* %rsi.0.reg2mem
br label LBL_20
LBL_14:
%40 = icmp eq i32 %5, 0
%41 = icmp eq i1 %40, false
%42 = add i64 %6, 8
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
br i1 %41, label LBL_16, label LBL_15
LBL_15:
%45 = inttoptr i64 %sv_1.0.reload to i64*
%46 = inttoptr i64 %44 to i64*
%47 = call i64* @memcpy(i64* %45, i64* %46, i32 %.reload38)
store i64 %44, i64* %rsi.0.reg2mem
br label LBL_20
LBL_16:
%48 = sext i32 %.reload38 to i64
%49 = add nsw i64 %48, -1
%50 = add i64 %44, %49
%51 = add i64 %49, %sv_1.0.reload
%sv_0.013 = inttoptr i64 %50 to i8*
%52 = load i8, i8* %sv_0.013, align 1
%53 = icmp eq i8 %52, 0
store i32 %.reload38, i32* %storemerge316.reg2mem
store i64 %50, i64* %sv_0.0.in15.reg2mem
store i64 %51, i64* %sv_1.114.reg2mem
store i64 %51, i64* %sv_1.1.lcssa.reg2mem
store i64 %50, i64* %sv_0.0.in.lcssa.reg2mem
store i32 %.reload38, i32* %storemerge3.lcssa.reg2mem
store i8 %52, i8* %.lcssa.reg2mem
br i1 %53, label LBL_17, label LBL_18
LBL_17:
%sv_1.114.reload = load i64, i64* %sv_1.114.reg2mem
%sv_0.0.in15.reload = load i64, i64* %sv_0.0.in15.reg2mem
%storemerge316.reload = load i32, i32* %storemerge316.reg2mem
%54 = add i64 %sv_1.114.reload, -1
%55 = inttoptr i64 %sv_1.114.reload to i8*
store i8 0, i8* %55, align 1
%56 = add i64 %sv_0.0.in15.reload, -1
%57 = add i32 %storemerge316.reload, -1
%sv_0.0 = inttoptr i64 %56 to i8*
%58 = load i8, i8* %sv_0.0, align 1
%59 = icmp eq i8 %58, 0
store i32 %57, i32* %storemerge316.reg2mem
store i64 %56, i64* %sv_0.0.in15.reg2mem
store i64 %54, i64* %sv_1.114.reg2mem
store i64 %54, i64* %sv_1.1.lcssa.reg2mem
store i64 %56, i64* %sv_0.0.in.lcssa.reg2mem
store i32 %57, i32* %storemerge3.lcssa.reg2mem
store i8 %58, i8* %.lcssa.reg2mem
br i1 %59, label LBL_17, label LBL_18
LBL_18:
%.lcssa.reload = load i8, i8* %.lcssa.reg2mem
%storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem
%sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem
%60 = sub i8 0, %.lcssa.reload
%61 = inttoptr i64 %sv_1.1.lcssa.reload to i8*
store i8 %60, i8* %61, align 1
%storemerge9 = add i32 %storemerge3.lcssa.reload, -1
%62 = icmp eq i32 %storemerge9, 0
%63 = icmp slt i32 %storemerge9, 0
%64 = icmp eq i1 %63, false
%65 = icmp eq i1 %62, false
%66 = icmp eq i1 %64, %65
store i32 %storemerge9, i32* %storemerge12.reg2mem
store i64 %sv_1.1.lcssa.reload, i64* %sv_1.211.in.reg2mem
store i64 %sv_0.0.in.lcssa.reload, i64* %sv_0.1.in10.in.reg2mem
store i64 %33, i64* %rsi.0.reg2mem
br i1 %66, label LBL_19, label LBL_20
LBL_19:
%sv_0.1.in10.in.reload = load i64, i64* %sv_0.1.in10.in.reg2mem
%sv_1.211.in.reload = load i64, i64* %sv_1.211.in.reg2mem
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%sv_0.1.in10 = add i64 %sv_0.1.in10.in.reload, -1
%sv_1.211 = add i64 %sv_1.211.in.reload, -1
%sv_0.1 = inttoptr i64 %sv_0.1.in10 to i8*
%67 = load i8, i8* %sv_0.1, align 1
%68 = sub i8 0, %67
%69 = sub i8 %68, 1
%70 = inttoptr i64 %sv_1.211 to i8*
store i8 %69, i8* %70, align 1
%storemerge = add i32 %storemerge12.reload, -1
%71 = icmp eq i32 %storemerge, 0
%72 = icmp slt i32 %storemerge, 0
%73 = icmp eq i1 %72, false
%74 = icmp eq i1 %71, false
%75 = icmp eq i1 %73, %74
store i32 %storemerge, i32* %storemerge12.reg2mem
store i64 %sv_1.211, i64* %sv_1.211.in.reg2mem
store i64 %sv_0.1.in10, i64* %sv_0.1.in10.in.reg2mem
store i64 %33, i64* %rsi.0.reg2mem
br i1 %75, label LBL_19, label LBL_20
LBL_20:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%76 = sext i32 %storemerge4.reload to i64
%77 = add i64 %rsi.0.reload, %76
store i64 %77, i64* %arg2, align 8
store i32 %storemerge4.reload, i32* %rax.0.shrunk.reg2mem
br label LBL_21
LBL_21:
%rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem
%rax.0 = zext i32 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32 %storemerge, { 0, 2, 1 }
uselistorder i64 %44, { 1, 0, 2 }
uselistorder i32 %.reload38, { 0, 1, 3, 2, 4 }
uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }
uselistorder i64 %33, { 0, 1, 2, 4, 3 }
uselistorder i32 %storemerge4.reload, { 1, 2, 0 }
uselistorder i1 %17, { 1, 0 }
uselistorder i8 %16, { 1, 2, 0 }
uselistorder i32 %9, { 0, 1, 3, 2, 4 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge520.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 2, 5, 3, 4 }
uselistorder i8* %sv_2.0.reg2mem, { 0, 1, 2, 5, 3, 4 }
uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_2.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge316.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.in15.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.114.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.211.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.1.in10.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %rsi.0.reg2mem, { 0, 1, 2, 4, 3 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 -1, { 2, 0, 1 }
uselistorder i64 -1, { 1, 0, 2, 4, 3 }
uselistorder i8 0, { 4, 7, 9, 8, 5, 10, 1, 11, 3, 2, 6, 0 }
uselistorder i64* %arg2, { 0, 1, 3, 2 }
uselistorder label LBL_21, { 2, 0, 1 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
}
|
1
|
CompRealVul
|
pkt_find_dev_from_minor_12657
|
pkt_find_dev_from_minor
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp slt i32 %0, 10
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_2
LBL_1:
%sext = mul i64 %arg1, 4294967296
%2 = ashr exact i64 %sext, 29
%3 = add i64 %2, ptrtoint (i64* @gv_0 to i64)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
store i64 %5, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
get_complex_object_19185
|
get_complex_object
|
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%sv_0 = alloca i8, align 1
store i8 0, i8* %sv_0, align 1
%4 = call i64* @calloc(i32 1, i32 16)
%5 = icmp eq i64* %4, null
%6 = icmp eq i1 %5, false
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_18
LBL_1:
%7 = and i64 %3, 65534
%8 = icmp ult i64 %7, 62062
%9 = ptrtoint i32* %arg2 to i64
br i1 %8, label LBL_2, label LBL_3
LBL_2:
%10 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)
%11 = trunc i64 %10 to i32
%12 = urem i32 %11, 256
store i32 %12, i32* %storemerge3.reg2mem
br label LBL_4
LBL_3:
%13 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)
%14 = trunc i64 %13 to i32
store i32 %14, i32* %storemerge3.reg2mem
br label LBL_4
LBL_4:
%15 = load i8, i8* %sv_0, align 1
%16 = icmp eq i8 %15, 0
br i1 %16, label LBL_6, label LBL_5
LBL_5:
call void @free(i64* %4)
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_6:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%17 = add i32 %storemerge3.reload, 1
%18 = call i64* @malloc(i32 %17)
%19 = icmp eq i64* %18, null
%20 = icmp eq i1 %19, false
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_7, label LBL_18
LBL_7:
%21 = ptrtoint i64* %18 to i64
%22 = call i64 @FUNC(i64 %9, i64 %21, i32 %storemerge3.reload)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %storemerge3.reload, %23
br i1 %24, label LBL_9, label LBL_8
LBL_8:
call void @free(i64* %18)
call void @free(i64* %4)
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_9:
%25 = bitcast i64* %rdi to i32*
%26 = zext i32 %storemerge3.reload to i64
%27 = add i64 %21, %26
%28 = inttoptr i64 %27 to i8*
store i8 0, i8* %28, align 1
%29 = load i32, i32* %25, align 8
%30 = and i32 %29, 65534
%31 = icmp ult i32 %30, 62062
br i1 %31, label LBL_10, label LBL_11
LBL_10:
%32 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)
%33 = trunc i64 %32 to i32
%34 = urem i32 %33, 256
store i32 %34, i32* %storemerge.reg2mem
br label LBL_12
LBL_11:
%35 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)
%36 = trunc i64 %35 to i32
store i32 %36, i32* %storemerge.reg2mem
br label LBL_12
LBL_12:
%37 = load i8, i8* %sv_0, align 1
%38 = icmp eq i8 %37, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %38, label LBL_13, label LBL_18
LBL_13:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%39 = add i32 %storemerge.reload, 1
%40 = call i64* @malloc(i32 %39)
%41 = icmp eq i64* %40, null
%42 = icmp eq i1 %41, false
store i64 0, i64* %rax.0.reg2mem
br i1 %42, label LBL_14, label LBL_18
LBL_14:
%43 = ptrtoint i64* %40 to i64
%44 = call i64 @FUNC(i64 %9, i64 %43, i32 %storemerge.reload)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %storemerge.reload, %45
br i1 %46, label LBL_16, label LBL_15
LBL_15:
call void @free(i64* %18)
call void @free(i64* %40)
call void @free(i64* %4)
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_16:
%47 = ptrtoint i64* %4 to i64
%48 = zext i32 %storemerge.reload to i64
%49 = add i64 %43, %48
%50 = inttoptr i64 %49 to i8*
store i8 0, i8* %50, align 1
%51 = add i64 %47, 8
%52 = inttoptr i64 %51 to i32*
store i32 1, i32* %52, align 4
%53 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %21, i64 %43, i64 %43, i64 %2, i64 %1)
store i64 %53, i64* %4, align 8
call void @free(i64* %18)
call void @free(i64* %40)
%54 = load i64, i64* %4, align 8
%55 = icmp eq i64 %54, 0
%56 = icmp eq i1 %55, false
store i64 %47, i64* %rax.0.reg2mem
br i1 %56, label LBL_18, label LBL_17
LBL_17:
call void @free(i64* nonnull %4)
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 %43, { 1, 2, 0, 3 }
uselistorder i64* %40, { 0, 1, 3, 2 }
uselistorder i32 %storemerge.reload, { 2, 3, 1, 0 }
uselistorder i64 %21, { 1, 0, 2 }
uselistorder i64* %18, { 0, 1, 2, 4, 3 }
uselistorder i32 %storemerge3.reload, { 3, 1, 2, 0 }
uselistorder i64 %9, { 0, 2, 1, 3, 4, 5 }
uselistorder i64* %4, { 0, 1, 2, 7, 3, 4, 5, 6 }
uselistorder i8* %sv_0, { 4, 0, 1, 5, 2, 3, 6 }
uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 1, 8, 2, 3, 7, 4, 6, 5 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i32)* @rz_buf_read, { 1, 0 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i64 (i64, i8*)* @get_st32, { 1, 0 }
uselistorder i64 (i64, i8*)* @get_ut8, { 1, 0 }
uselistorder i8 0, { 1, 2, 3, 4, 0, 5 }
uselistorder label LBL_18, { 5, 0, 6, 1, 2, 7, 3, 8, 4 }
}
|
1
|
CompRealVul
|
test_acpi_piix4_tcg_cphp_13981
|
test_acpi_piix4_tcg_cphp
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%0 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)
store i64 1, i64* %sv_0, align 8
%1 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)
%2 = call i64 @FUNC(i64* nonnull %sv_0)
ret i64 %2
uselistorder i64* %sv_0, { 0, 1, 3, 2 }
uselistorder i32 1, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
_on_suback_5899
|
_on_suback
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %1, i64 %arg3, i64 8, i64 %0, i64 0)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %1)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%7 = add i64 %0, 7
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = icmp eq i8 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_5, label LBL_3
LBL_3:
%12 = inttoptr i64 %3 to i64*
%13 = load i64, i64* %12, align 8
%14 = icmp eq i64 %13, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_6, label LBL_4
LBL_4:
%15 = add i64 %0, 3
%16 = inttoptr i64 %13 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %15)
%19 = trunc i64 %18 to i16
%20 = inttoptr i64 %17 to i16*
store i16 %19, i16* %20, align 2
%21 = load i64, i64* %16, align 8
%22 = add i64 %21, 8
%23 = inttoptr i64 %22 to i64*
store i64 %1, i64* %23, align 8
%24 = add i64 %1, 8
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = add i64 %13, 8
%28 = inttoptr i64 %27 to i64*
store i64 %26, i64* %28, align 8
store i64 %13, i64* %25, align 8
br label LBL_5
LBL_5:
%29 = add i64 %3, 8
%30 = call i64 @FUNC(i64 %29)
%31 = call i64 @FUNC(i64 %1)
store i64 %3, 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, { 3, 1, 2, 0, 4, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }
uselistorder i64 8, { 1, 2, 3, 4, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
solo_enc_free_3754
|
solo_enc_free
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = add i64 %arg1, 24
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %arg1, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %arg1, i64 0, i64 %6, i64 %3)
%8 = add i64 %arg1, 32
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = add i64 %arg1, 40
%13 = call i64 @FUNC(i64 %12)
%14 = call i64 @FUNC(i64 %arg1)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i64 %arg1, { 0, 2, 1, 3, 5, 4, 6 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
dtls1_is_timer_expired_9563
|
dtls1_is_timer_expired
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = load i64, i64* %sv_0, align 8
%7 = icmp eq i64 %6, 0
%8 = icmp slt i64 %6, 0
%9 = icmp eq i1 %8, false
%10 = icmp eq i1 %7, false
%11 = icmp ne i1 %9, %10
%12 = icmp slt i64 %2, 1
%or.cond = icmp eq i1 %12, %11
%. = zext i1 %or.cond to i64
store i64 %., i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
jas_iccattrvalinfo_lookup_8856
|
jas_iccattrvalinfo_lookup
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge34.reg2mem = alloca i32*
%.reg2mem = alloca i32
%0 = trunc i64 %arg1 to i32
%1 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
store i32 %1, i32* %.reg2mem
store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge34.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_3
LBL_1:
%storemerge34.reload = load i32*, i32** %storemerge34.reg2mem
%.reload = load i32, i32* %.reg2mem
%4 = icmp eq i32 %.reload, %0
%5 = icmp eq i1 %4, false
%6 = ptrtoint i32* %storemerge34.reload to i64
store i64 %6, i64* %storemerge.reg2mem
br i1 %5, label LBL_2, label LBL_3
LBL_2:
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i32 %9, i32* %.reg2mem
store i32* %8, i32** %storemerge34.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_1, label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %6, { 1, 0 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i32** %storemerge34.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
mls_context_to_sid_7643
|
mls_context_to_sid
|
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.912.reg2mem = alloca i64
%sv_1.7.reg2mem = alloca i64
%sv_1.6.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i8
%sv_1.5.reg2mem = alloca i64
%storemerge848.reg2mem = alloca i32
%sv_3.0.reg2mem = alloca i8*
%sv_1.4.reg2mem = alloca i64
%.reg2mem148 = alloca i8
%sv_1.3.reg2mem = alloca i64
%sv_1.2.reg2mem = alloca i64
%sv_1.849.reg2mem = alloca i64
%sv_4.050.reg2mem = alloca i64
%sv_2.151.reg2mem = alloca i8
%indvars.iv.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%.reg2mem = alloca i8
%sv_1.0.reg2mem = alloca i64
%rdx = alloca i64, align 8
%0 = ptrtoint i64* %arg2 to i64
%sext = mul i64 %arg5, 4294967296
%1 = ashr exact i64 %sext, 32
%sext6 = mul i64 %arg1, 72057594037927936
%2 = ashr exact i64 %sext6, 56
%3 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
%8 = trunc i64 %2 to i8
%9 = icmp eq i8 %8, 0
%or.cond = or i1 %9, %7
store i64 0, i64* %storemerge.reg2mem
br i1 %or.cond, label LBL_42, label LBL_2
LBL_2:
%10 = bitcast i64* %arg2 to i8*
%11 = call i32 @strlen(i8* %10)
%12 = sext i32 %11 to i64
%13 = add i64 %12, %0
store i64 %13, i64* %arg2, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_42
LBL_3:
%14 = ptrtoint i64* %arg3 to i64
%15 = trunc i64 %2 to i8
%16 = icmp eq i8 %15, 0
%17 = icmp eq i1 %16, false
store i64 %0, i64* %sv_1.0.reg2mem
br i1 %17, label LBL_8, label LBL_4
LBL_4:
%18 = trunc i64 %1 to i32
%19 = icmp eq i32 %18, 0
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %19, label LBL_41, label LBL_5
LBL_5:
%20 = ptrtoint i64* %arg4 to i64
%21 = and i64 %1, 4294967295
%22 = call i64 @FUNC(i64 %20, i64 %21)
%23 = icmp eq i64 %22, 0
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %23, label LBL_41, label LBL_6
LBL_6:
%24 = call i64 @FUNC(i64 %14, i64 %22)
store i64 %24, i64* %sv_0.0.reg2mem
br label LBL_41
LBL_7:
%25 = add i64 %sv_1.0.reload, 1
store i64 %25, i64* %sv_1.0.reg2mem
br label LBL_8
LBL_8:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%26 = inttoptr i64 %sv_1.0.reload to i8*
%27 = load i8, i8* %26, align 1
store i8 0, i8* %.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
switch i8 %27, label LBL_9 [
i8 0, label LBL_12
i8 58, label LBL_11
]
LBL_9:
%28 = icmp eq i8 %27, 45
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_7, label LBL_10
LBL_10:
%30 = icmp eq i8 %27, 0
store i8 0, i8* %.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
br i1 %30, label LBL_12, label LBL_11
LBL_11:
%31 = add i64 %sv_1.0.reload, 1
store i8 0, i8* %26, align 1
store i8 %27, i8* %.reg2mem
store i64 %31, i64* %sv_1.1.reg2mem
br label LBL_12
LBL_12:
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%.reload = load i8, i8* %.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
store i8 %.reload, i8* %sv_2.151.reg2mem
store i64 %0, i64* %sv_4.050.reg2mem
store i64 %sv_1.1.reload, i64* %sv_1.849.reg2mem
br label LBL_13
LBL_13:
%sv_4.050.reload = load i64, i64* %sv_4.050.reg2mem
%32 = load i64, i64* @gv_0, align 8
%33 = call i64 @FUNC(i64 %32, i64 %sv_4.050.reload)
%34 = icmp eq i64 %33, 0
%35 = icmp eq i1 %34, false
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %35, label LBL_14, label LBL_41
LBL_14:
%sv_1.849.reload = load i64, i64* %sv_1.849.reg2mem
%sv_2.151.reload = load i8, i8* %sv_2.151.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%36 = inttoptr i64 %33 to i64*
%37 = load i64, i64* %36, align 8
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = mul i64 %indvars.iv.reload, 8
%41 = add i64 %40, %14
%42 = inttoptr i64 %41 to i32*
store i32 %39, i32* %42, align 4
%43 = icmp eq i8 %sv_2.151.reload, 58
%44 = icmp eq i1 %43, false
store i64 %sv_1.849.reload, i64* %sv_1.5.reg2mem
store i8 %sv_2.151.reload, i8* %sv_2.0.reg2mem
br i1 %44, label LBL_33, label LBL_15
LBL_15:
%45 = add i64 %41, 4
store i64 %sv_1.849.reload, i64* %sv_1.2.reg2mem
br label LBL_16
LBL_16:
%sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem
store i64 %sv_1.2.reload, i64* %sv_1.3.reg2mem
br label LBL_18
LBL_17:
%46 = add i64 %sv_1.3.reload, 1
store i64 %46, i64* %sv_1.3.reg2mem
br label LBL_18
LBL_18:
%sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem
%47 = inttoptr i64 %sv_1.3.reload to i8*
%48 = load i8, i8* %47, align 1
store i8 0, i8* %.reg2mem148
store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem
switch i8 %48, label LBL_19 [
i8 0, label LBL_22
i8 44, label LBL_21
]
LBL_19:
%49 = icmp eq i8 %48, 45
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_17, label LBL_20
LBL_20:
%51 = icmp eq i8 %48, 0
store i8 0, i8* %.reg2mem148
store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem
br i1 %51, label LBL_22, label LBL_21
LBL_21:
%52 = add i64 %sv_1.3.reload, 1
store i8 0, i8* %47, align 1
store i8 %48, i8* %.reg2mem148
store i64 %52, i64* %sv_1.4.reg2mem
br label LBL_22
LBL_22:
%sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem
%.reload149 = load i8, i8* %.reg2mem148
%53 = inttoptr i64 %sv_1.2.reload to i8*
%54 = call i8* @strchr(i8* %53, i32 46)
%55 = icmp eq i8* %54, null
store i8* null, i8** %sv_3.0.reg2mem
br i1 %55, label LBL_24, label LBL_23
LBL_23:
%56 = ptrtoint i8* %54 to i64
%57 = add i64 %56, 1
%58 = inttoptr i64 %57 to i8*
store i8 0, i8* %54, align 1
store i8* %58, i8** %sv_3.0.reg2mem
br label LBL_24
LBL_24:
%59 = load i64, i64* @gv_1, align 8
%60 = call i64 @FUNC(i64 %59, i64 %sv_1.2.reload)
%61 = icmp eq i64 %60, 0
%62 = icmp eq i1 %61, false
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %62, label LBL_25, label LBL_41
LBL_25:
%63 = inttoptr i64 %60 to i32*
%64 = load i32, i32* %63, align 4
%65 = add i32 %64, -1
%66 = zext i32 %65 to i64
%67 = call i64 @FUNC(i64 %45, i64 %66, i64 1)
%68 = trunc i64 %67 to i32
%69 = icmp eq i32 %68, 0
%70 = icmp eq i1 %69, false
store i64 %67, i64* %sv_0.0.reg2mem
br i1 %70, label LBL_41, label LBL_26
LBL_26:
%sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem
%71 = icmp eq i8* %sv_3.0.reload, null
br i1 %71, label LBL_32, label LBL_27
LBL_27:
%72 = load i64, i64* @gv_1, align 8
%73 = ptrtoint i8* %sv_3.0.reload to i64
%74 = call i64 @FUNC(i64 %72, i64 %73)
%75 = icmp eq i64 %74, 0
%76 = icmp eq i1 %75, false
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %76, label LBL_28, label LBL_41
LBL_28:
%77 = inttoptr i64 %74 to i32*
%78 = load i32, i32* %63, align 4
%79 = load i32, i32* %77, align 4
%80 = icmp ult i32 %78, %79
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %80, label LBL_29, label LBL_41
LBL_29:
%81 = zext i32 %79 to i64
%82 = sext i32 %78 to i64
%83 = icmp slt i64 %82, %81
store i32 %78, i32* %storemerge848.reg2mem
br i1 %83, label LBL_30, label LBL_32
LBL_30:
%storemerge848.reload = load i32, i32* %storemerge848.reg2mem
%84 = zext i32 %storemerge848.reload to i64
%85 = call i64 @FUNC(i64 %45, i64 %84, i64 1)
%86 = trunc i64 %85 to i32
%87 = icmp eq i32 %86, 0
%88 = icmp eq i1 %87, false
store i64 %85, i64* %sv_0.0.reg2mem
br i1 %88, label LBL_41, label LBL_31
LBL_31:
%89 = add i32 %storemerge848.reload, 1
%90 = load i32, i32* %77, align 4
%91 = zext i32 %90 to i64
%92 = sext i32 %89 to i64
%93 = icmp slt i64 %92, %91
store i32 %89, i32* %storemerge848.reg2mem
br i1 %93, label LBL_30, label LBL_32
LBL_32:
%94 = icmp eq i8 %.reload149, 44
%95 = icmp eq i1 %94, false
store i64 %sv_1.4.reload, i64* %sv_1.2.reg2mem
store i64 %sv_1.4.reload, i64* %sv_1.5.reg2mem
store i8 %.reload149, i8* %sv_2.0.reg2mem
br i1 %95, label LBL_33, label LBL_16
LBL_33:
%sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem
%sv_1.5.reload = load i64, i64* %sv_1.5.reg2mem
%96 = icmp eq i8 %sv_2.0.reload, 45
%97 = icmp eq i1 %96, false
store i64 %sv_1.5.reload, i64* %sv_1.6.reg2mem
br i1 %97, label LBL_38, label LBL_34
LBL_34:
%sv_1.6.reload = load i64, i64* %sv_1.6.reg2mem
%98 = inttoptr i64 %sv_1.6.reload to i8*
%99 = load i8, i8* %98, align 1
%100 = icmp ne i8 %99, 0
%101 = icmp eq i8 %99, 58
%102 = icmp eq i1 %101, false
%or.cond11 = icmp eq i1 %100, %102
%103 = add i64 %sv_1.6.reload, 1
store i64 %103, i64* %sv_1.6.reg2mem
br i1 %or.cond11, label LBL_34, label LBL_35
LBL_35:
%104 = icmp eq i8 %99, 0
store i64 %sv_1.6.reload, i64* %sv_1.7.reg2mem
br i1 %104, label LBL_37, label LBL_36
LBL_36:
store i8 0, i8* %98, align 1
store i64 %103, i64* %sv_1.7.reg2mem
br label LBL_37
LBL_37:
%sv_1.7.reload = load i64, i64* %sv_1.7.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%105 = icmp ult i64 %indvars.iv.next, 2
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i8 %99, i8* %sv_2.151.reg2mem
store i64 %sv_1.5.reload, i64* %sv_4.050.reg2mem
store i64 %sv_1.7.reload, i64* %sv_1.849.reg2mem
store i64 %sv_1.7.reload, i64* %sv_1.912.reg2mem
br i1 %105, label LBL_13, label LBL_40
LBL_38:
%106 = trunc i64 %indvars.iv.reload to i32
%107 = icmp eq i32 %106, 0
%108 = icmp eq i1 %107, false
store i64 %sv_1.5.reload, i64* %sv_1.912.reg2mem
br i1 %108, label LBL_40, label LBL_39
LBL_39:
%109 = bitcast i64* %rdx to i32*
%110 = load i32, i32* %109, align 8
%111 = add i64 %14, 8
%112 = inttoptr i64 %111 to i32*
store i32 %110, i32* %112, align 4
%113 = add i64 %14, 4
%114 = add i64 %14, 12
%115 = call i64 @FUNC(i64 %114, i64 %113)
%116 = trunc i64 %115 to i32
%117 = icmp eq i32 %116, 0
%118 = icmp eq i1 %117, false
store i64 %sv_1.5.reload, i64* %sv_1.912.reg2mem
store i64 %115, i64* %sv_0.0.reg2mem
br i1 %118, label LBL_41, label LBL_40
LBL_40:
%sv_1.912.reload = load i64, i64* %sv_1.912.reg2mem
%119 = add i64 %sv_1.912.reload, 1
store i64 %119, i64* %arg2, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_41
LBL_41:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%120 = and i64 %sv_0.0.reload, 4294967295
store i64 %120, i64* %storemerge.reg2mem
br label LBL_42
LBL_42:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_1.5.reload, { 1, 0, 3, 2 }
uselistorder i8* %54, { 1, 0, 2 }
uselistorder i8 %48, { 0, 1, 3, 2 }
uselistorder i64 %sv_1.3.reload, { 4, 1, 0, 3, 2 }
uselistorder i64 %sv_1.2.reload, { 2, 1, 0 }
uselistorder i64 %indvars.iv.reload, { 1, 0, 2 }
uselistorder i64 %sv_1.849.reload, { 1, 0 }
uselistorder i8 %27, { 0, 1, 3, 2 }
uselistorder i64 %sv_1.0.reload, { 4, 1, 0, 3, 2 }
uselistorder i64 %14, { 3, 2, 4, 0, 1 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i8* %.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_2.151.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_4.050.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.849.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.2.reg2mem, { 2, 0, 1 }
uselistorder i8* %.reg2mem148, { 0, 2, 3, 1 }
uselistorder i64* %sv_1.4.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %storemerge848.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.6.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.912.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 11, 10, 6, 2, 3, 5, 4, 1, 7, 8, 9 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64, i64, i64)* @ebitmap_set_bit, { 1, 0 }
uselistorder i8* null, { 1, 0, 2 }
uselistorder i8 44, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i64 (i64, i64)* @hashtab_search, { 2, 1, 0 }
uselistorder i8 58, { 1, 2, 0 }
uselistorder i64 1, { 3, 0, 4, 1, 2, 5, 7, 6, 9, 8 }
uselistorder i64 4294967274, { 1, 2, 3, 0, 4, 5 }
uselistorder i8 0, { 8, 9, 10, 11, 12, 1, 13, 4, 0, 14, 3, 15, 5, 2, 16, 6, 7 }
uselistorder i1 false, { 1, 2, 0, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14 }
uselistorder label LBL_42, { 2, 1, 0 }
uselistorder label LBL_41, { 9, 6, 5, 1, 2, 4, 3, 0, 10, 7, 8 }
uselistorder label LBL_40, { 1, 2, 0 }
uselistorder label LBL_34, { 1, 0 }
uselistorder label LBL_30, { 1, 0 }
uselistorder label LBL_22, { 1, 2, 0 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_12, { 1, 2, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
}
|
1
|
CompRealVul
|
ready_residue_16460
|
ready_residue
|
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%xmm1.48.reg2mem = alloca i128
%storemerge9.reg2mem = alloca i32
%.reg2mem44 = alloca i64
%xmm1.315.reg2mem = alloca i128
%rsi.416.reg2mem = alloca i64
%storemerge317.reg2mem = alloca i32
%.reg2mem42 = alloca i64
%.reg2mem40 = alloca i32
%rsi.3.reg2mem = alloca i64
%xmm1.2.reg2mem = alloca i128
%.reg2mem38 = alloca i32
%xmm1.1.lcssa.reg2mem = alloca i128
%xmm1.0.reg2mem = alloca i128
%xmm1.111.reg2mem = alloca i128
%storemerge412.reg2mem = alloca i32
%.reg2mem = alloca i64
%rsi.2.reg2mem = alloca i64
%rsi.1.reg2mem = alloca i64
%storemerge510.reg2mem = alloca i32
%rsi.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 2
store i64 %2, i64* %rsi.0.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([47 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem
br label LBL_2
LBL_2:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%5 = ptrtoint i32* %arg1 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = call i64 @FUNC(i64 %10)
%12 = add i64 %5, 16
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
%14 = load i32, i32* %7, align 4
%15 = icmp eq i32 %14, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %15, label LBL_23, label LBL_3
LBL_3:
%16 = add i64 %5, 8
%17 = inttoptr i64 %16 to i64*
store i32 %14, i32* %.reg2mem40
store i64 0, i64* %.reg2mem42
store i32 0, i32* %storemerge317.reg2mem
store i64 %rsi.0.reload, i64* %rsi.416.reg2mem
br label LBL_20
LBL_4:
%storemerge510.reload = load i32, i32* %storemerge510.reg2mem
%18 = sext i32 %storemerge510.reload to i64
%19 = mul i64 %18, 4
%20 = add i64 %19, %132
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %22, -1
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_6, label LBL_5
LBL_5:
%25 = add nuw i32 %storemerge510.reload, 1
%26 = icmp ult i32 %25, 8
store i32 %25, i32* %storemerge510.reg2mem
store i32 %.reload41, i32* %.reg2mem38
store i128 %xmm1.315.reload, i128* %xmm1.2.reg2mem
store i64 %rsi.416.reload, i64* %rsi.3.reg2mem
br i1 %26, label LBL_4, label LBL_19
LBL_6:
%27 = sext i32 %22 to i64
%28 = mul i64 %27, 32
%29 = add i64 %28, %rsi.416.reload
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = icmp sgt i32 %31, 1
store i64 %rsi.416.reload, i64* %rsi.1.reg2mem
br i1 %32, label LBL_8, label LBL_7
LBL_7:
call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([47 x i8]* @gv_1 to i64), i64* %rsi.1.reg2mem
br label LBL_8
LBL_8:
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%33 = add i64 %29, 24
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = icmp eq i64 %35, 0
%37 = icmp eq i1 %36, false
store i64 %rsi.1.reload, i64* %rsi.2.reg2mem
br i1 %37, label LBL_10, label LBL_9
LBL_9:
call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([47 x i8]* @gv_1 to i64), i64* %rsi.2.reg2mem
br label LBL_10
LBL_10:
%rsi.2.reload = load i64, i64* %rsi.2.reg2mem
%38 = add i64 %29, 4
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = icmp eq i32 %40, 0
store i128 %xmm1.315.reload, i128* %xmm1.1.lcssa.reg2mem
br i1 %41, label LBL_18, label LBL_11
LBL_11:
%42 = add i64 %29, 8
%43 = inttoptr i64 %42 to i64*
%44 = add i64 %29, 16
%45 = inttoptr i64 %44 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge412.reg2mem
store i128 %xmm1.315.reload, i128* %xmm1.111.reg2mem
br label LBL_12
LBL_12:
%xmm1.111.reload = load i128, i128* %xmm1.111.reg2mem
%storemerge412.reload = load i32, i32* %storemerge412.reg2mem
%.reload = load i64, i64* %.reg2mem
%46 = load i64, i64* %43, align 8
%47 = mul i64 %.reload, 4
%48 = add i64 %46, %47
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = icmp eq i32 %50, 0
store i128 %xmm1.111.reload, i128* %xmm1.0.reg2mem
br i1 %51, label LBL_17, label LBL_13
LBL_13:
%52 = load i64, i64* %45, align 8
%53 = load i32, i32* %30, align 4
%54 = mul i32 %53, %storemerge412.reload
%55 = sext i32 %54 to i64
%56 = mul i64 %55, 4
%57 = add i64 %56, %52
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 4
%60 = call i128 @FUNC(i32 %59)
%61 = call i128 @FUNC(i32 2147483647)
%62 = call i128 @FUNC(i128 %60, i128 %61)
%63 = call i64 @__asm_movss.1(i128 %62)
%64 = trunc i64 %63 to i32
%65 = load i64, i64* %13, align 8
%66 = add i64 %65, %129
%67 = icmp ult i64 %66, %129
%68 = icmp eq i64 %66, 0
%69 = inttoptr i64 %66 to i64*
%70 = load i64, i64* %69, align 8
%71 = inttoptr i64 %70 to i32*
%72 = load i32, i32* %71, align 4
%73 = call i128 @FUNC(i32 %72)
%74 = call i128 @FUNC(i32 %64)
call void @FUNC(i128 %74, i128 %73)
%75 = or i1 %67, %68
br i1 %75, label LBL_15, label LBL_14
LBL_14:
%76 = load i64, i64* %13, align 8
%77 = add i64 %76, %129
%78 = inttoptr i64 %77 to i64*
%79 = load i64, i64* %78, align 8
%80 = call i128 @FUNC(i32 %64)
%81 = call i64 @__asm_movss.1(i128 %80)
%82 = trunc i64 %81 to i32
%83 = inttoptr i64 %79 to i32*
store i32 %82, i32* %83, align 4
br label LBL_15
LBL_15:
%84 = load i64, i64* %45, align 8
%85 = load i32, i32* %30, align 4
%86 = mul i32 %85, %storemerge412.reload
%87 = sext i32 %86 to i64
%88 = mul i64 %87, 4
%89 = add i64 %84, 4
%90 = add i64 %89, %88
%91 = inttoptr i64 %90 to i32*
%92 = load i32, i32* %91, align 4
%93 = call i128 @FUNC(i32 %92)
%94 = call i128 @FUNC(i32 2147483647)
%95 = call i128 @FUNC(i128 %93, i128 %94)
%96 = call i64 @__asm_movss.1(i128 %95)
%97 = trunc i64 %96 to i32
%98 = load i64, i64* %13, align 8
%99 = add i64 %98, %129
%100 = inttoptr i64 %99 to i64*
%101 = load i64, i64* %100, align 8
%102 = add i64 %101, 4
%103 = icmp ugt i64 %101, -5
%104 = icmp eq i64 %102, 0
%105 = inttoptr i64 %102 to i32*
%106 = load i32, i32* %105, align 4
%107 = call i128 @FUNC(i32 %106)
%108 = call i128 @FUNC(i32 %97)
call void @FUNC(i128 %108, i128 %107)
%109 = or i1 %103, %104
store i128 %107, i128* %xmm1.0.reg2mem
br i1 %109, label LBL_17, label LBL_16
LBL_16:
%110 = load i64, i64* %13, align 8
%111 = add i64 %110, %129
%112 = inttoptr i64 %111 to i64*
%113 = load i64, i64* %112, align 8
%114 = add i64 %113, 4
%115 = call i128 @FUNC(i32 %97)
%116 = call i64 @__asm_movss.1(i128 %115)
%117 = trunc i64 %116 to i32
%118 = inttoptr i64 %114 to i32*
store i32 %117, i32* %118, align 4
store i128 %107, i128* %xmm1.0.reg2mem
br label LBL_17
LBL_17:
%xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem
%119 = add i32 %storemerge412.reload, 1
%120 = load i32, i32* %39, align 4
%121 = zext i32 %120 to i64
%122 = sext i32 %119 to i64
%123 = icmp slt i64 %122, %121
store i64 %122, i64* %.reg2mem
store i32 %119, i32* %storemerge412.reg2mem
store i128 %xmm1.0.reload, i128* %xmm1.111.reg2mem
store i128 %xmm1.0.reload, i128* %xmm1.1.lcssa.reg2mem
br i1 %123, label LBL_12, label LBL_18
LBL_18:
%xmm1.1.lcssa.reload = load i128, i128* %xmm1.1.lcssa.reg2mem
%.pre = load i32, i32* %7, align 4
store i32 %.pre, i32* %.reg2mem38
store i128 %xmm1.1.lcssa.reload, i128* %xmm1.2.reg2mem
store i64 %rsi.2.reload, i64* %rsi.3.reg2mem
br label LBL_19
LBL_19:
%rsi.3.reload = load i64, i64* %rsi.3.reg2mem
%xmm1.2.reload = load i128, i128* %xmm1.2.reg2mem
%.reload39 = load i32, i32* %.reg2mem38
%124 = add i32 %storemerge317.reload, 1
%125 = zext i32 %.reload39 to i64
%126 = sext i32 %124 to i64
%127 = icmp slt i64 %126, %125
store i32 %.reload39, i32* %.reg2mem40
store i64 %126, i64* %.reg2mem42
store i32 %124, i32* %storemerge317.reg2mem
store i64 %rsi.3.reload, i64* %rsi.416.reg2mem
store i128 %xmm1.2.reload, i128* %xmm1.315.reg2mem
br i1 %127, label LBL_20, label LBL_21
LBL_20:
%xmm1.315.reload = load i128, i128* %xmm1.315.reg2mem
%rsi.416.reload = load i64, i64* %rsi.416.reg2mem
%storemerge317.reload = load i32, i32* %storemerge317.reg2mem
%.reload43 = load i64, i64* %.reg2mem42
%.reload41 = load i32, i32* %.reg2mem40
%128 = load i64, i64* %17, align 8
%129 = mul i64 %.reload43, 8
%130 = add i64 %128, %129
%131 = inttoptr i64 %130 to i64*
%132 = load i64, i64* %131, align 8
store i32 0, i32* %storemerge510.reg2mem
br label LBL_4
LBL_21:
%133 = icmp eq i32 %.reload39, 0
store i64 0, i64* %.reg2mem44
store i32 0, i32* %storemerge9.reg2mem
store i128 %xmm1.2.reload, i128* %xmm1.48.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %133, label LBL_23, label LBL_22
LBL_22:
%xmm1.48.reload = load i128, i128* %xmm1.48.reg2mem
%storemerge9.reload = load i32, i32* %storemerge9.reg2mem
%.reload45 = load i64, i64* %.reg2mem44
%134 = load i64, i64* %13, align 8
%135 = mul i64 %.reload45, 8
%136 = add i64 %134, %135
%137 = inttoptr i64 %136 to i64*
%138 = load i64, i64* %137, align 8
%139 = inttoptr i64 %138 to i32*
%140 = load i32, i32* %139, align 4
%141 = call i128 @FUNC(i32 %140)
%142 = call i128 @FUNC(i128 %xmm1.48.reload, i128 %xmm1.48.reload)
%143 = call i128 @FUNC(i128 %141)
%144 = call i128 @FUNC(i64 4605380978949069210)
%145 = call i128 @FUNC(i128 %144, i128 %143)
%146 = load i64, i64* %13, align 8
%147 = add i64 %146, %135
%148 = inttoptr i64 %147 to i64*
%149 = load i64, i64* %148, align 8
%150 = call i128 @FUNC(i128 %145)
%151 = call i64 @__asm_movss.1(i128 %150)
%152 = trunc i64 %151 to i32
%153 = inttoptr i64 %149 to i32*
store i32 %152, i32* %153, align 4
%154 = load i64, i64* %13, align 8
%155 = add i64 %154, %135
%156 = inttoptr i64 %155 to i64*
%157 = load i64, i64* %156, align 8
%158 = add i64 %157, 4
%159 = inttoptr i64 %158 to i32*
%160 = load i32, i32* %159, align 4
%161 = call i128 @FUNC(i32 %160)
%162 = call i128 @FUNC(i128 %143, i128 %143)
%163 = call i128 @FUNC(i128 %161)
%164 = call i128 @FUNC(i64 4605380978949069210)
%165 = call i128 @FUNC(i128 %164, i128 %163)
%166 = load i64, i64* %13, align 8
%167 = add i64 %166, %135
%168 = inttoptr i64 %167 to i64*
%169 = load i64, i64* %168, align 8
%170 = add i64 %169, 4
%171 = call i128 @FUNC(i128 %165)
%172 = call i64 @__asm_movss.1(i128 %171)
%173 = trunc i64 %172 to i32
%174 = inttoptr i64 %170 to i32*
store i32 %173, i32* %174, align 4
%175 = add i32 %storemerge9.reload, 1
%176 = load i32, i32* %7, align 4
%177 = zext i32 %176 to i64
%178 = sext i32 %175 to i64
%179 = icmp slt i64 %178, %177
store i64 %178, i64* %.reg2mem44
store i32 %175, i32* %storemerge9.reg2mem
store i128 %163, i128* %xmm1.48.reg2mem
store i64 %177, i64* %.lcssa.reg2mem
br i1 %179, label LBL_22, label LBL_23
LBL_23:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i128 %143, { 2, 1, 0 }
uselistorder i64 %135, { 3, 2, 1, 0 }
uselistorder i128 %xmm1.48.reload, { 1, 0 }
uselistorder i64 %129, { 1, 2, 0, 3, 4, 5 }
uselistorder i64 %rsi.416.reload, { 2, 0, 1 }
uselistorder i128 %xmm1.315.reload, { 2, 1, 0 }
uselistorder i32 %.reload39, { 2, 0, 1 }
uselistorder i32 %storemerge412.reload, { 0, 2, 1 }
uselistorder i32* %39, { 1, 0 }
uselistorder i64* %13, { 0, 1, 2, 3, 5, 6, 4, 7, 8 }
uselistorder i32* %7, { 2, 0, 1, 3 }
uselistorder i32* %storemerge510.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge412.reg2mem, { 1, 0, 2 }
uselistorder i128* %xmm1.111.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem38, { 0, 2, 1 }
uselistorder i128* %xmm1.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %rsi.3.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem44, { 2, 0, 1 }
uselistorder i32* %storemerge9.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.48.reg2mem, { 2, 0, 1 }
uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 }
uselistorder [47 x i8]* @gv_1, { 1, 0 }
uselistorder label LBL_23, { 0, 2, 1 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_17, { 1, 2, 0 }
uselistorder label LBL_12, { 1, 0 }
}
|
1
|
CompRealVul
|
drm_display_mode_from_vic_index_17676
|
drm_display_mode_from_vic_index
|
define i64 @FUNC(i64* %arg1, i16* %arg2, i8 %arg3, i8 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp ne i16* %arg2, null
%1 = icmp ult i8 %arg4, %arg3
%or.cond = icmp eq i1 %0, %1
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_3
LBL_1:
%2 = zext i8 %arg4 to i64
%3 = ptrtoint i16* %arg2 to i64
%4 = add i64 %2, %3
%5 = inttoptr i64 %4 to i8*
%6 = load i8, i8* %5, align 1
%7 = urem i8 %6, -128
%8 = add nsw i8 %7, -1
%9 = icmp eq i8 %8, 0
%10 = icmp eq i8 %7, 2
%11 = or i1 %10, %9
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_3
LBL_2:
%12 = ptrtoint i64* %arg1 to i64
%13 = load i64, i64* @gv_0, align 8
%14 = zext i8 %8 to i64
%15 = mul i64 %14, 4
%16 = add i64 %13, %15
%17 = call i64 @FUNC(i64 %12, i64 %16)
%18 = inttoptr i64 %17 to i32*
store i32 0, i32* %18, align 4
store i64 %17, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i8 %arg4, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
}
|
1
|
CompRealVul
|
term_up_char_15069
|
term_up_char
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i32
%.reg2mem = alloca i32
%storemerge.lcssa.reg2mem = alloca i32
%storemerge1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4
%6 = icmp eq i32 %5, 0
store i32 0, i32* %rax.0.in.reg2mem
br i1 %6, label LBL_7, label LBL_1
LBL_1:
%7 = load i32, i32* @gv_0, align 4
%8 = icmp eq i32 %7, -1
%9 = icmp eq i1 %8, false
store i32 0, i32* %storemerge1.reg2mem
store i32 %7, i32* %.reg2mem
br i1 %9, label LBL_5, label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%10 = sext i32 %storemerge1.reload to i64
%11 = mul i64 %10, 8
%12 = add i64 %11, ptrtoint (i64* @gv_1 to i64)
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = icmp eq i64 %14, 0
store i32 %storemerge1.reload, i32* %storemerge.lcssa.reg2mem
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = add nuw i32 %storemerge1.reload, 1
%17 = icmp ult i32 %16, 100
store i32 %16, i32* %storemerge1.reg2mem
store i32 %16, i32* %storemerge.lcssa.reg2mem
br i1 %17, label LBL_2, label LBL_4
LBL_4:
%storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem
store i32 %storemerge.lcssa.reload, i32* @gv_0, align 4
store i32 %storemerge.lcssa.reload, i32* %.reg2mem
br label LBL_5
LBL_5:
%.reload = load i32, i32* %.reg2mem
%18 = add i32 %.reload, -1
store i32 %18, i32* @gv_0, align 4
%19 = icmp slt i32 %18, 0
store i32 %18, i32* %rax.0.in.reg2mem
br i1 %19, label LBL_7, label LBL_6
LBL_6:
%20 = sext i32 %18 to i64
%21 = mul i64 %20, 8
%22 = add i64 %21, ptrtoint (i64* @gv_1 to i64)
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i8*
%26 = call i8* @strcpy(i8* bitcast (i8** @gv_2 to i8*), i8* %25)
%27 = call i64 @FUNC(i64* nonnull @gv_3, i64 %24, i64 %3, i64 %4, i64 %2, i64 %1)
%28 = call i64 @FUNC(i64* bitcast (i8** @gv_2 to i64*))
%29 = call i32 @strlen(i8* bitcast (i8** @gv_2 to i8*))
store i32 %29, i32* inttoptr (i64 4211844 to i32*), align 4
%30 = load i32, i32* @gv_4, align 4
store i32 %30, i32* bitcast (i64* @gv_5 to i32*), align 8
store i32 %30, i32* %rax.0.in.reg2mem
br label LBL_7
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 i64 %24, { 1, 0 }
uselistorder i32 %18, { 1, 0, 2, 3 }
uselistorder i32 %storemerge1.reload, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 }
uselistorder i32 0, { 3, 1, 0, 4, 2 }
uselistorder label LBL_7, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
__skb_vlan_pop_10477
|
__skb_vlan_pop
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = sub i64 %0, %1
%3 = trunc i64 %2 to i32
%4 = and i64 %2, 4294967295
%5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_0, i64 0, i64 0), i32 %3)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
store i64 4294967274, i64* %rax.0.shrunk.reg2mem
br i1 %7, label LBL_1, label LBL_5
LBL_1:
%8 = call i64 @FUNC(i64 %0, i64 4)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
%12 = icmp eq i1 %11, false
store i64 %8, i64* %rax.0.shrunk.reg2mem
br i1 %12, label LBL_2, label LBL_5
LBL_2:
%13 = add i64 %0, 12
%14 = call i64 @FUNC(i64 %0, i64 %13, i64 4)
%15 = add i64 %0, 14
%16 = inttoptr i64 %15 to i16*
%17 = load i16, i16* %16, align 2
%18 = zext i16 %17 to i64
%19 = call i64 @FUNC(i64 %18)
%20 = trunc i64 %19 to i16
%21 = bitcast i64* %arg2 to i16*
store i16 %20, i16* %21, align 2
%22 = add nuw nsw i64 %18, 4
%23 = inttoptr i64 %22 to i64*
%24 = inttoptr i64 %18 to i64*
%25 = call i64* @memmove(i64* %23, i64* %24, i32 12)
%26 = call i64 @FUNC(i64 %0, i64 4)
%27 = call i64 @FUNC(i64 %0, i64 %15)
%28 = add i64 %0, 8
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = add i64 %30, 4
store i64 %31, i64* %29, align 8
%32 = call i64 @FUNC(i64 %0)
%33 = trunc i64 %32 to i32
%34 = icmp sgt i32 %33, 13
br i1 %34, label LBL_4, label LBL_3
LBL_3:
%35 = call i64 @FUNC(i64 %0, i64 14)
br label LBL_4
LBL_4:
%36 = call i64 @FUNC(i64 %0)
store i64 %8, i64* %rax.0.shrunk.reg2mem
br label LBL_5
LBL_5:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %18, { 2, 1, 0 }
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i64 %0, { 1, 0, 2, 5, 4, 3, 7, 6, 8, 9, 10, 11 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4, { 3, 0, 4, 1, 2 }
uselistorder label LBL_5, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
dccp_send_reset_4933
|
dccp_send_reset
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %0 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %0, 4294967295
store i64 %4, i64* %rax.0.reg2mem
br label LBL_4
LBL_2:
%5 = call i64 @FUNC(i64 %0, i32 0, i64 1, i64 1)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_4
LBL_3:
%8 = call i64 @FUNC(i64 %5, i64 0)
%9 = call i64 @FUNC(i64 %5)
%10 = inttoptr i64 %9 to i32*
store i32 1, i32* %10, align 4
%11 = call i64 @FUNC(i64 %5)
%12 = trunc i64 %arg2 to i32
%13 = add i64 %11, 4
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = call i64 @FUNC(i64 %0, i64 %5)
store i64 %15, 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 %5, { 0, 1, 3, 2, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 (i64)* @DCCP_SKB_CB, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 0, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
host_to_target_siginfo_14117
|
host_to_target_siginfo
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1, i64 %0)
%3 = call i64 @FUNC(i64 %1, i64 %1)
ret i64 %3
uselistorder i64 %1, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
destroy_eps_4043
|
destroy_eps
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.reg2mem = alloca i32
%.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
br i1 %4, label LBL_5, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 8
%7 = inttoptr i64 %6 to i64*
%8 = add i64 %5, 16
%9 = inttoptr i64 %8 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%10 = load i64, i64* %7, align 8
%11 = mul nsw i64 %.reload, 24
%12 = add i64 %10, %11
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %12)
br label LBL_4
LBL_4:
%17 = add i64 %12, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = add i64 %12, 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = load i64, i64* %9, align 8
%24 = call i64 @FUNC(i64 %23, i64 %22, i64 %19)
%25 = add i32 %storemerge1.reload, 1
%26 = sext i32 %25 to i64
%27 = icmp sgt i64 %3, %26
store i64 %26, i64* %.reg2mem
store i32 %25, i32* %storemerge1.reg2mem
br i1 %27, label LBL_2, label LBL_5
LBL_5:
ret i64 %3
uselistorder i64 %12, { 1, 0, 2, 3 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64 16, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
visit_type_int16_630
|
visit_type_int16
|
define i64 @FUNC(i64* %arg1, i16* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
store i64 %3, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%4 = trunc i64 %1 to i16
%5 = ptrtoint i16* %arg2 to i64
store i16 %4, i16* %arg2, align 2
store i64 %5, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i16* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
}
|
0
|
CompRealVul
|
__lpfc_sli_issue_iocb_s4_7556
|
__lpfc_sli_issue_iocb_s4
|
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_0.0.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32*, align 8
%4 = zext i32 %arg2 to i64
%5 = mul i64 %4, 4
%6 = add i64 %5, %3
%7 = inttoptr i64 %6 to i32*
store i32* %7, i32** %sv_1, align 8
%8 = trunc i64 %1 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_8, label LBL_1
LBL_1:
%11 = add i64 %2, 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%.off = add i32 %13, -1
%switch = icmp ugt i32 %.off, 1
%14 = icmp eq i32 %13, 3
%15 = icmp eq i1 %14, false
%or.cond5 = icmp eq i1 %switch, %15
br i1 %or.cond5, label LBL_2, label LBL_12
LBL_2:
%16 = load i32, i32* %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_5, label LBL_3
LBL_3:
%18 = and i32 %arg4, 4
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
store i64 1, i64* %rax.0.reg2mem
br i1 %20, label LBL_20, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %3, i64 %6, i64 %2)
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_5:
%22 = call i64 @FUNC(i64 %3, i64 %2)
%23 = icmp eq i64 %22, 0
%24 = icmp eq i1 %23, false
store i64 %22, i64* %sv_0.0.in.reg2mem
br i1 %24, label LBL_10, label LBL_6
LBL_6:
%25 = and i32 %arg4, 4
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
store i64 1, i64* %rax.0.reg2mem
br i1 %27, label LBL_20, label LBL_7
LBL_7:
%28 = load i32*, i32** %sv_1, align 8
%29 = ptrtoint i32* %28 to i64
%30 = call i64 @FUNC(i64 %3, i64 %29, i64 %2)
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_8:
%31 = add i64 %2, 4
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = and i32 %33, 8
%35 = icmp eq i32 %34, 0
br i1 %35, label LBL_9, label LBL_12
LBL_9:
%36 = and i64 %1, 4294967295
%37 = call i64 @FUNC(i64 %3, i64 %36)
%38 = icmp eq i64 %37, 0
%39 = icmp eq i1 %38, false
store i64 %37, i64* %sv_0.0.in.reg2mem
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %39, label LBL_10, label LBL_20
LBL_10:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%40 = icmp eq i64 %sv_0.0.in.reload, 0
br i1 %40, label LBL_12, label LBL_11
LBL_11:
%sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i32*
%41 = load i32, i32* %sv_0.0, align 4
%42 = add i64 %2, 16
%43 = inttoptr i64 %42 to i32*
store i32 %41, i32* %43, align 4
%44 = add i64 %sv_0.0.in.reload, 4
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = bitcast i64* %arg3 to i32*
store i32 %46, i32* %47, align 4
%48 = call i64 @FUNC(i64 %3, i64 %2, i64 %sv_0.0.in.reload)
%49 = trunc i64 %48 to i32
%50 = icmp eq i32 %49, 0
%51 = icmp eq i1 %50, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %51, label LBL_12, label LBL_20
LBL_12:
%52 = bitcast i32** %sv_1 to i64*
%53 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %52)
%54 = trunc i64 %53 to i32
%55 = icmp eq i32 %54, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %55, label LBL_13, label LBL_20
LBL_13:
%56 = add i64 %2, 4
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = and i32 %58, 24
%60 = icmp eq i32 %59, 0
br i1 %60, label LBL_18, label LBL_14
LBL_14:
%61 = and i32 %58, 8
%62 = icmp eq i32 %61, 0
br i1 %62, label LBL_14.LBL_17_crit_edge, label LBL_16
LBL_15:
%.pre = add i64 %2, 12
%.pre6 = inttoptr i64 %.pre to i32*
%.pre8 = load i32, i32* %.pre6, align 4
store i32 %.pre8, i32* %.reg2mem
br label LBL_17
LBL_16:
%63 = call i64 @FUNC(i64 %3)
%64 = trunc i64 %63 to i32
%65 = add i64 %2, 12
%66 = inttoptr i64 %65 to i32*
store i32 %64, i32* %66, align 4
store i32 %64, i32* %.reg2mem
br label LBL_17
LBL_17:
%.reload = load i32, i32* %.reg2mem
%67 = add i64 %3, 8
%68 = inttoptr i64 %67 to i64*
%69 = load i64, i64* %68, align 8
%70 = zext i32 %.reload to i64
%71 = mul i64 %70, 8
%72 = add i64 %71, %69
%73 = inttoptr i64 %72 to i64*
%74 = load i64, i64* %73, align 8
%75 = call i64 @FUNC(i64 %74, i64* nonnull %52)
%76 = trunc i64 %75 to i32
%77 = icmp eq i32 %76, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %77, label LBL_19, label LBL_20
LBL_18:
%78 = add i64 %3, 16
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
%81 = call i64 @FUNC(i64 %80, i64* nonnull %52)
%82 = trunc i64 %81 to i32
%83 = icmp eq i32 %82, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %83, label LBL_19, label LBL_20
LBL_19:
%84 = load i32*, i32** %sv_1, align 8
%85 = ptrtoint i32* %84 to i64
%86 = call i64 @FUNC(i64 %3, i64 %85, i64 %2)
store i64 0, 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 i32 %58, { 1, 0 }
uselistorder i64 %sv_0.0.in.reload, { 3, 2, 0, 1 }
uselistorder i32** %sv_1, { 2, 3, 1, 0 }
uselistorder i64 %3, { 7, 5, 8, 6, 9, 4, 10, 2, 3, 1, 0 }
uselistorder i64 %2, { 5, 4, 0, 6, 7, 2, 3, 8, 1, 10, 11, 9 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 2, 3, 4, 5, 9, 6, 8, 7 }
uselistorder i64 (i64, i64*)* @lpfc_sli4_wq_put, { 1, 0 }
uselistorder i64 12, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @__lpfc_sli_ringtx_put, { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6 }
uselistorder i64 4, { 1, 2, 3, 0 }
uselistorder i32 %arg4, { 1, 0 }
uselistorder label LBL_20, { 7, 0, 1, 2, 3, 4, 8, 5, 9, 6 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_12, { 2, 3, 0, 1 }
}
|
1
|
CompRealVul
|
ich9_apm_ctrl_changed_16229
|
ich9_apm_ctrl_changed
|
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = trunc i64 %arg1 to i32
%2 = icmp eq i32 %1, 2
%3 = zext i1 %2 to i64
%4 = icmp eq i32 %1, 1
%5 = zext i1 %4 to i64
%6 = call i64 @FUNC(i64 %0, i64 %5, i64 %3)
%.off = add i32 %1, -1
%switch = icmp ult i32 %.off, 2
store i64 %6, i64* %rax.0.reg2mem
br i1 %switch, label LBL_3, label LBL_1
LBL_1:
%7 = add i64 %0, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = urem i32 %9, 2
%11 = icmp eq i32 %10, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64 %13, i64 2)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder label LBL_3, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
set_system_io_map_1919
|
set_system_io_map
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0)
ret i64 %1
}
|
0
|
CompRealVul
|
vpc_create_161
|
vpc_create
|
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%sv_0.1.lcssa.reg2mem = alloca i64
%sv_1.07.reg2mem = alloca i64
%sv_0.19.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_2 = alloca i128, align 8
%sv_3 = alloca i8, align 1
%sv_4 = alloca i128, align 8
%sv_5 = alloca i64, align 8
%0 = icmp eq i64* %arg2, null
store i64 0, i64* %sv_0.1.lcssa.reg2mem
br i1 %0, label LBL_6, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg2 to i64
store i64 0, i64* %sv_0.19.reg2mem
store i64 %1, i64* %sv_1.07.reg2mem
br label LBL_5
LBL_2:
%2 = inttoptr i64 %17 to i8*
%3 = call i32 @strcmp(i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = add i64 %sv_1.07.reload, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i32 %8, 511
%10 = icmp slt i32 %8, 0
%11 = select i1 %10, i32 %9, i32 %8
%12 = ashr i32 %11, 9
%13 = sext i32 %12 to i64
store i64 %13, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%14 = add i64 %sv_1.07.reload, 16
%15 = icmp eq i64 %14, 0
store i64 %sv_0.0.reload, i64* %sv_0.19.reg2mem
store i64 %14, i64* %sv_1.07.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %15, label LBL_6, label LBL_5
LBL_5:
%sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem
%sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem
%16 = inttoptr i64 %sv_1.07.reload to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 %sv_0.19.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %19, label LBL_2, label LBL_6
LBL_6:
%20 = inttoptr i64 %arg1 to i8*
%21 = call i32 (i8*, i32, ...) @open(i8* %20, i32 577)
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %23, label LBL_7, label LBL_18
LBL_7:
%sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem
%24 = bitcast i128* %sv_2 to i64*
%25 = bitcast i8* %sv_3 to i64*
%26 = bitcast i128* %sv_4 to i64*
%27 = call i64 @FUNC(i64 %sv_0.1.lcssa.reload, i64* nonnull %24, i64* nonnull %25, i64* nonnull %26)
%28 = trunc i64 %27 to i32
%29 = icmp eq i32 %28, 0
store i64 4294967269, i64* %rax.0.reg2mem
br i1 %29, label LBL_8, label LBL_18
LBL_8:
%30 = ptrtoint i64* %sv_5 to i64
%31 = load i128, i128* %sv_2, align 8
%32 = load i8, i8* %sv_3, align 1
%33 = urem i128 %31, 65536
%34 = zext i8 %32 to i128
%35 = mul nuw nsw i128 %33, %34
%36 = load i128, i128* %sv_4, align 8
%37 = urem i128 %36, 256
%38 = mul nuw nsw i128 %35, %37
%39 = trunc i128 %38 to i64
%40 = call i64* @memset(i64* nonnull %sv_5, i32 0, i32 1024)
%41 = call i64* @memcpy(i64* nonnull %sv_5, i64* bitcast ([9 x i8]* @gv_1 to i64*), i32 8)
%42 = add i64 %30, 8
%43 = inttoptr i64 %42 to i64*
%44 = call i64* @memcpy(i64* %43, i64* bitcast ([5 x i8]* @gv_2 to i64*), i32 4)
%45 = add i64 %30, 12
%46 = inttoptr i64 %45 to i64*
%47 = call i64* @memcpy(i64* nonnull %46, i64* bitcast ([5 x i8]* @gv_3 to i64*), i32 4)
%48 = call i64 @FUNC(i64 2)
%49 = trunc i64 %48 to i32
%50 = add i64 %30, 16
%51 = inttoptr i64 %50 to i32*
store i32 %49, i32* %51, align 8
%52 = call i64 @FUNC(i64 65536)
%53 = trunc i64 %52 to i32
%54 = add i64 %30, 20
%55 = inttoptr i64 %54 to i32*
store i32 %53, i32* %55, align 4
%56 = call i64 @FUNC(i64 512)
%57 = add i64 %30, 24
%58 = inttoptr i64 %57 to i64*
store i64 %56, i64* %58, align 8
%59 = call i32 @time(i32* null)
%60 = zext i32 %59 to i64
%61 = call i64 @FUNC(i64 %60)
%62 = trunc i64 %61 to i32
%63 = add i64 %30, 32
%64 = inttoptr i64 %63 to i32*
store i32 %62, i32* %64, align 8
%65 = call i64 @FUNC(i64 5)
%66 = trunc i64 %65 to i16
%67 = add i64 %30, 36
%68 = inttoptr i64 %67 to i16*
store i16 %66, i16* %68, align 4
%69 = call i64 @FUNC(i64 3)
%70 = trunc i64 %69 to i16
%71 = add i64 %30, 38
%72 = inttoptr i64 %71 to i16*
store i16 %70, i16* %72, align 2
%73 = mul i64 %39, 512
%74 = call i64 @FUNC(i64 %73)
%75 = add i64 %30, 40
%76 = inttoptr i64 %75 to i64*
store i64 %74, i64* %76, align 8
%77 = call i64 @FUNC(i64 %73)
%78 = add i64 %30, 48
%79 = inttoptr i64 %78 to i64*
store i64 %77, i64* %79, align 8
%80 = load i128, i128* %sv_2, align 8
%81 = trunc i128 %80 to i64
%82 = urem i64 %81, 65536
%83 = call i64 @FUNC(i64 %82)
%84 = trunc i64 %83 to i16
%85 = add i64 %30, 56
%86 = inttoptr i64 %85 to i16*
store i16 %84, i16* %86, align 8
%87 = load i8, i8* %sv_3, align 1
%88 = add i64 %30, 58
%89 = inttoptr i64 %88 to i8*
store i8 %87, i8* %89, align 2
%90 = load i128, i128* %sv_4, align 8
%91 = trunc i128 %90 to i8
%92 = add i64 %30, 59
%93 = inttoptr i64 %92 to i8*
store i8 %91, i8* %93, align 1
%94 = call i64 @FUNC(i64 2)
%95 = trunc i64 %94 to i32
%96 = add i64 %30, 60
%97 = inttoptr i64 %96 to i32*
store i32 %95, i32* %97, align 4
%98 = call i64 @FUNC(i64* nonnull %sv_5, i64 512)
%99 = and i64 %98, 4294967295
%100 = call i64 @FUNC(i64 %99)
%101 = trunc i64 %100 to i32
%102 = add i64 %30, 64
%103 = inttoptr i64 %102 to i32*
store i32 %101, i32* %103, align 8
%104 = call i32 @write(i32 %21, i64* nonnull %sv_5, i32 512)
%105 = icmp eq i32 %104, 512
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %105, label LBL_9, label LBL_18
LBL_9:
%106 = trunc i128 %38 to i32
%.lhs.trunc = add i32 %106, 4096
%107 = udiv i32 %.lhs.trunc, 4096
%108 = mul i32 %107, 4
%109 = add nuw nsw i32 %108, 2047
%110 = and i32 %109, 8388096
%111 = call i32 @lseek(i32 %21, i32 %110, i32 0)
%112 = icmp slt i32 %111, 0
%113 = icmp eq i1 %112, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %113, label LBL_10, label LBL_18
LBL_10:
%114 = call i32 @write(i32 %21, i64* nonnull %sv_5, i32 512)
%115 = icmp eq i32 %114, 512
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %115, label LBL_11, label LBL_18
LBL_11:
%116 = call i32 @lseek(i32 %21, i32 1536, i32 0)
%117 = icmp slt i32 %116, 0
%118 = icmp eq i1 %117, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %118, label LBL_12, label LBL_18
LBL_12:
%119 = call i64* @memset(i64* nonnull %sv_5, i32 255, i32 512)
%narrow = add nuw nsw i32 %108, 511
%120 = udiv i32 %narrow, 512
%121 = zext i32 %120 to i64
%122 = icmp ult i32 %narrow, 512
store i32 0, i32* %storemerge6.reg2mem
br i1 %122, label LBL_15, label LBL_13
LBL_13:
%123 = call i32 @write(i32 %21, i64* nonnull %sv_5, i32 512)
%124 = icmp eq i32 %123, 512
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %124, label LBL_14, label LBL_18
LBL_14:
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%125 = add i32 %storemerge6.reload, 1
%126 = sext i32 %125 to i64
%127 = icmp ugt i64 %121, %126
store i32 %125, i32* %storemerge6.reg2mem
br i1 %127, label LBL_13, label LBL_15
LBL_15:
%.zext = zext i32 %107 to i64
%128 = call i64* @memset(i64* nonnull %sv_5, i32 0, i32 1024)
%129 = call i64* @memcpy(i64* nonnull %sv_5, i64* bitcast ([9 x i8]* @gv_4 to i64*), i32 8)
%130 = call i64 @FUNC(i64 4294967295)
store i64 %130, i64* %43, align 8
%131 = call i64 @FUNC(i64 1536)
%132 = inttoptr i64 %50 to i64*
store i64 %131, i64* %132, align 8
%133 = call i64 @FUNC(i64 65536)
%134 = trunc i64 %133 to i32
%135 = inttoptr i64 %57 to i32*
store i32 %134, i32* %135, align 8
%136 = call i64 @FUNC(i64 2097152)
%137 = trunc i64 %136 to i32
%138 = add i64 %30, 28
%139 = inttoptr i64 %138 to i32*
store i32 %137, i32* %139, align 4
%140 = call i64 @FUNC(i64 %.zext)
%141 = trunc i64 %140 to i32
store i32 %141, i32* %64, align 8
%142 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024)
%143 = and i64 %142, 4294967295
%144 = call i64 @FUNC(i64 %143)
%145 = trunc i64 %144 to i32
%146 = inttoptr i64 %67 to i32*
store i32 %145, i32* %146, align 4
%147 = call i32 @lseek(i32 %21, i32 512, i32 0)
%148 = icmp slt i32 %147, 0
%149 = icmp eq i1 %148, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %149, label LBL_16, label LBL_18
LBL_16:
%150 = call i32 @write(i32 %21, i64* nonnull %sv_5, i32 1024)
%151 = icmp eq i32 %150, 1024
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %151, label LBL_17, label LBL_18
LBL_17:
%152 = call i32 @close(i32 %21)
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 i32 %108, { 1, 0 }
uselistorder i32 %107, { 1, 0 }
uselistorder i64 %73, { 1, 0 }
uselistorder i64 %30, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 14 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %sv_1.07.reload, { 1, 0, 2 }
uselistorder i64* %sv_5, { 2, 3, 0, 4, 5, 6, 7, 8, 9, 1, 10, 11 }
uselistorder i128* %sv_4, { 1, 0, 2 }
uselistorder i8* %sv_3, { 1, 0, 2 }
uselistorder i128* %sv_2, { 1, 0, 2 }
uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 2, 3, 1, 4, 5, 6, 7, 8, 9 }
uselistorder i32 (i32, i32, i32)* @lseek, { 2, 0, 1 }
uselistorder i32 4096, { 1, 0 }
uselistorder i32 (i32, i64*, i32)* @write, { 1, 0, 3, 2 }
uselistorder i32 512, { 6, 2, 5, 0, 1, 7, 3, 8, 4, 9 }
uselistorder i64 4294967295, { 0, 2, 1 }
uselistorder i64 (i64*, i64)* @vpc_checksum, { 1, 0 }
uselistorder i64 (i64)* @be16_to_cpu, { 2, 1, 0 }
uselistorder i64 (i64)* @be64_to_cpu, { 4, 3, 2, 1, 0 }
uselistorder i64 512, { 1, 0, 2 }
uselistorder i64 65536, { 1, 0, 2 }
uselistorder i64 (i64)* @be32_to_cpu, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }
uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }
uselistorder i64 4294967291, { 1, 2, 0, 3, 4, 5, 6, 7 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder label LBL_18, { 9, 1, 2, 0, 3, 4, 5, 6, 7, 8 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
qed_dcbx_get_config_params_3791
|
qed_dcbx_get_config_params
|
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 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = add i64 %1, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
store i64 %1, i64* %arg2, align 8
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%9 = call i64 @FUNC(i64 3, i64 0)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %11, label LBL_3, label LBL_8
LBL_3:
%12 = inttoptr i64 %9 to i64*
%13 = call i64* @memset(i64* %12, i32 0, i32 3)
%14 = call i64 @FUNC(i64 %1, i64 %9, i64 0)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = call i64 @FUNC(i64 %9)
%18 = and i64 %14, 4294967295
store i64 %18, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%19 = add i64 %1, 4
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
%21 = add i64 %1, 8
%22 = inttoptr i64 %21 to i32*
store i32 0, i32* %22, align 4
%23 = inttoptr i64 %9 to i8*
%24 = load i8, i8* %23, align 1
%25 = icmp ne i8 %24, 0
%spec.store.select = zext i1 %25 to i32
store i32 %spec.store.select, i32* %22, align 4
%26 = add i64 %9, 1
%27 = inttoptr i64 %26 to i8*
%28 = load i8, i8* %27, align 1
%29 = icmp eq i8 %28, 0
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = or i32 %spec.store.select, 2
store i32 %30, i32* %22, align 4
br label LBL_7
LBL_7:
%31 = add i64 %9, 2
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32, align 1
%34 = add i64 %1, 12
%35 = inttoptr i64 %34 to i8*
store i8 %33, i8* %35, align 1
%36 = bitcast i64* %arg1 to i8*
store i8 1, i8* %36, align 1
%37 = inttoptr i64 %21 to i64*
%38 = load i64, i64* %37, align 8
store i64 %1, i64* %arg2, align 8
%39 = add i64 %0, 8
%40 = inttoptr i64 %39 to i64*
store i64 %38, i64* %40, align 8
%41 = call i64 @FUNC(i64 %9)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %22, { 1, 0, 2 }
uselistorder i64 %9, { 1, 2, 3, 4, 0, 6, 5, 7 }
uselistorder i64 %1, { 0, 1, 2, 3, 7, 5, 4, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder label LBL_8, { 1, 2, 0, 3 }
}
|
0
|
CompRealVul
|
vc9_init_common_96
|
vc9_init_common
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%indvars.iv4.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 0, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
store i32 0, i32* %2, align 4
%3 = add i64 %0, 12
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %0, 24
%8 = inttoptr i64 %7 to i64*
store i64 0, i64* %8, align 8
%9 = add i64 %0, 32
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
%11 = add i64 %0, 36
%12 = inttoptr i64 %11 to i32*
store i32 0, i32* %12, align 4
%13 = add i64 %0, 40
%14 = inttoptr i64 %13 to i32*
store i32 0, i32* %14, align 4
%15 = add i64 %0, 48
%16 = inttoptr i64 %15 to i64*
store i64 0, i64* %16, align 8
%17 = add i64 %0, 56
%18 = inttoptr i64 %17 to i32*
store i32 0, i32* %18, align 4
%19 = add i64 %0, 60
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
%21 = add i64 %0, 64
%22 = inttoptr i64 %21 to i32*
store i32 0, i32* %22, align 4
%23 = add i64 %0, 96
%24 = inttoptr i64 %23 to i64*
store i64 0, i64* %24, align 8
%25 = add i64 %0, 104
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
%27 = add i64 %0, 108
%28 = inttoptr i64 %27 to i32*
store i32 0, i32* %28, align 4
%29 = add i64 %0, 112
%30 = inttoptr i64 %29 to i32*
store i32 0, i32* %30, align 4
%31 = load i64, i64* %24, align 8
%32 = inttoptr i64 %25 to i64*
%33 = load i64, i64* %32, align 8
%34 = add i64 %0, 72
%35 = inttoptr i64 %34 to i64*
store i64 %31, i64* %35, align 8
%36 = add i64 %0, 80
%37 = inttoptr i64 %36 to i64*
store i64 %33, i64* %37, align 8
%38 = inttoptr i64 %29 to i64*
%39 = load i64, i64* %38, align 8
%40 = add i64 %0, 88
%41 = inttoptr i64 %40 to i64*
store i64 %39, i64* %41, align 8
%42 = add i64 %0, 128
%43 = inttoptr i64 %42 to i64*
store i64 0, i64* %43, align 8
%44 = add i64 %0, 120
%45 = inttoptr i64 %44 to i64*
store i64 0, i64* %45, align 8
%46 = load i32, i32* @gv_0, align 4
%47 = icmp eq i32 %46, 0
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_4, label LBL_1
LBL_1:
store i32 1, i32* @gv_0, align 4
%49 = call i64 @FUNC(i64* nonnull @gv_1, i64 23, i64 23, i64* nonnull @gv_2, i64 1, i64 1)
%50 = call i64 @FUNC(i64* nonnull @gv_3, i64 4, i64 4, i64* nonnull @gv_4, i64 1, i64 1)
%51 = call i64 @FUNC(i64* nonnull @gv_5, i64 64, i64 64, i64* nonnull @gv_6, i64 1, i64 1)
%52 = call i64 @FUNC(i64* nonnull @gv_7, i64 7, i64 7, i64* nonnull @gv_8, i64 1, i64 1)
%53 = ptrtoint i64* %sv_0 to i64
%54 = add i64 %53, -8
%55 = inttoptr i64 %54 to i64*
%56 = add i64 %53, -16
%57 = inttoptr i64 %56 to i64*
%58 = add i64 %53, -24
%59 = inttoptr i64 %58 to i64*
%60 = add i64 %53, -32
%61 = inttoptr i64 %60 to i64*
store i64 0, i64* %indvars.iv4.reg2mem
br label LBL_2
LBL_2:
%indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem
%62 = mul i64 %indvars.iv4.reload, 128
%63 = add i64 %62, ptrtoint (i64* @gv_9 to i64)
%64 = mul i64 %indvars.iv4.reload, 64
%65 = add i64 %64, ptrtoint (i64* @gv_10 to i64)
%66 = mul i64 %indvars.iv4.reload, 8
%67 = add i64 %66, ptrtoint (i64* @gv_11 to i64)
store i64 1, i64* %55, align 8
store i64 2, i64* %57, align 8
store i64 2, i64* %59, align 8
store i64 %63, i64* %61, align 8
%68 = inttoptr i64 %67 to i64*
%69 = inttoptr i64 %65 to i64*
%70 = call i64 @FUNC(i64* %68, i64 16, i64 16, i64* %69, i64 1, i64 1)
%indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1
%exitcond6 = icmp eq i64 %indvars.iv.next5, 3
store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
br i1 %exitcond6, label LBL_3, label LBL_2
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%71 = mul i64 %indvars.iv.reload, 128
%72 = add i64 %71, ptrtoint (i64* @gv_12 to i64)
%73 = mul i64 %indvars.iv.reload, 64
%74 = add i64 %73, ptrtoint (i64* @gv_13 to i64)
%75 = mul i64 %indvars.iv.reload, 8
%76 = add i64 %75, ptrtoint (i64* @gv_14 to i64)
store i64 1, i64* %55, align 8
store i64 1, i64* %57, align 8
store i64 1, i64* %59, align 8
store i64 %72, i64* %61, align 8
%77 = inttoptr i64 %76 to i64*
%78 = inttoptr i64 %74 to i64*
%79 = call i64 @FUNC(i64* %77, i64 16, i64 16, i64* %78, i64 1, i64 1)
%80 = mul i64 %indvars.iv.reload, 512
%81 = add i64 %80, ptrtoint (i64* @gv_15 to i64)
%82 = mul i64 %indvars.iv.reload, 256
%83 = add i64 %82, ptrtoint (i64* @gv_16 to i64)
%84 = add i64 %75, ptrtoint (i64* @gv_17 to i64)
store i64 1, i64* %55, align 8
store i64 2, i64* %57, align 8
store i64 2, i64* %59, align 8
store i64 %81, i64* %61, align 8
%85 = inttoptr i64 %84 to i64*
%86 = inttoptr i64 %83 to i64*
%87 = call i64 @FUNC(i64* %85, i64 64, i64 64, i64* %86, i64 1, i64 1)
%88 = mul nuw nsw i64 %indvars.iv.reload, 584
%89 = add i64 %88, ptrtoint (i64* @gv_18 to i64)
%90 = mul nuw nsw i64 %indvars.iv.reload, 292
%91 = add i64 %90, ptrtoint (i64* @gv_19 to i64)
%92 = add i64 %75, ptrtoint (i64* @gv_20 to i64)
store i64 1, i64* %55, align 8
store i64 2, i64* %57, align 8
store i64 2, i64* %59, align 8
store i64 %89, i64* %61, align 8
%93 = inttoptr i64 %92 to i64*
%94 = inttoptr i64 %91 to i64*
%95 = call i64 @FUNC(i64* %93, i64 73, i64 73, i64* %94, i64 1, i64 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
br i1 %exitcond, label LBL_4, label LBL_3
LBL_4:
%96 = add i64 %0, 136
%97 = inttoptr i64 %96 to i32*
store i32 -1, i32* %97, align 4
%98 = add i64 %0, 140
%99 = inttoptr i64 %98 to i32*
store i32 0, i32* %99, align 4
ret i64 0
uselistorder i64 %75, { 2, 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 7, 6, 5, 4, 3 }
uselistorder i64 %indvars.iv4.reload, { 0, 3, 2, 1 }
uselistorder i64* %61, { 2, 1, 0, 3 }
uselistorder i64* %59, { 2, 1, 0, 3 }
uselistorder i64* %57, { 2, 1, 0, 3 }
uselistorder i64* %55, { 2, 1, 0, 3 }
uselistorder i64 %0, { 0, 1, 2, 3, 6, 5, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 }
uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64 73, { 1, 0 }
uselistorder i64 7, { 1, 0 }
uselistorder i64 4, { 0, 2, 1 }
uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @INIT_VLC, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 1, { 1, 3, 2, 18, 5, 4, 19, 7, 6, 20, 21, 22, 0, 9, 8, 23, 11, 10, 13, 12, 15, 14, 17, 16 }
uselistorder i64 23, { 1, 0 }
uselistorder i32* @gv_0, { 1, 0 }
uselistorder i64 64, { 3, 2, 0, 1, 5, 4, 6 }
uselistorder i64 16, { 1, 0, 3, 2, 4 }
uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
X509_REQ_check_private_key_8029
|
X509_REQ_check_private_key
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC(i64 %arg1)
%3 = call i64 @FUNC(i64 %2, i64 %arg2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 1
store i64 1, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_10, label LBL_1
LBL_1:
%6 = icmp sgt i32 %4, 1
store i64 0, i64* %sv_0.0.reg2mem
br i1 %6, label LBL_10, label LBL_2
LBL_2:
store i64 0, i64* %sv_0.0.reg2mem
switch i32 %4, label LBL_10 [
i32 0, label LBL_3
i32 -2, label LBL_5
i32 -1, label LBL_4
]
LBL_3:
%7 = call i64 @FUNC(i64 100, i64 101)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_4:
%8 = call i64 @FUNC(i64 100, i64 102)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_5:
%9 = trunc i64 %1 to i32
%10 = icmp eq i32 %9, 1
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_7, label LBL_6
LBL_6:
%12 = call i64 @FUNC(i64 100, i64 105)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_7:
%13 = icmp eq i32 %9, 2
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_9, label LBL_8
LBL_8:
%15 = call i64 @FUNC(i64 100, i64 104)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_9:
%16 = call i64 @FUNC(i64 100, i64 103)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%17 = call i64 @FUNC(i64 %2)
ret i64 %sv_0.0.reload
uselistorder i32 %9, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 5, 4, 3, 7, 1, 8, 2 }
uselistorder i64 (i64, i64)* @X509err, { 4, 3, 2, 1, 0 }
uselistorder i32 1, { 3, 5, 4, 2, 1, 0 }
uselistorder label LBL_10, { 2, 3, 4, 5, 6, 0, 7, 1 }
}
|
0
|
CompRealVul
|
nbd_client_co_flush_4993
|
nbd_client_co_flush
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg1)
store i64 1, i64* %sv_1, align 8
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = urem i32 %2, 2
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_5
LBL_1:
%6 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%7 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_1, i64 0)
%8 = icmp slt i64 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = trunc i64 %7 to i32
%11 = sub i32 0, %10
store i32 %11, i32* %sv_0, align 4
br label LBL_4
LBL_3:
%12 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i32* nonnull %sv_0, i64 0)
br label LBL_4
LBL_4:
%13 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_1)
%14 = load i32, i32* %sv_0, align 4
%15 = sub i32 0, %14
%16 = zext i32 %15 to i64
store i64 %16, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32* %sv_0, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 4, 3, 2, 1, 0, 5 }
uselistorder label LBL_5, { 1, 0 }
}
|
0
|
CompRealVul
|
nbd_reject_length_16947
|
nbd_reject_length
|
define i64 @FUNC(i32* %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 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%6 = ptrtoint i64* %arg3 to i64
%7 = ptrtoint i32* %arg1 to i64
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = and i64 %2, 4294967295
%12 = zext i32 %10 to i64
%13 = call i64 @FUNC(i64 %12, i64 %11, i64 %6)
%14 = trunc i64 %13 to i32
%15 = icmp slt i32 %14, 0
%16 = icmp eq i1 %15, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %16, label LBL_3, label LBL_7
LBL_3:
%17 = add i64 %7, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = zext i32 %19 to i64
%21 = call i64 @FUNC(i64 %20)
%22 = call i64 @FUNC(i64 %7, i64 1, i64 %6, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %1)
%23 = trunc i64 %arg2 to i8
%24 = icmp eq i8 %23, 0
br i1 %24, label LBL_6, label LBL_4
LBL_4:
%25 = trunc i64 %22 to i32
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_6, label LBL_5
LBL_5:
%28 = load i32, i32* %18, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %29)
%31 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %30, i64 ptrtoint ([36 x i8]* @gv_3 to i64), i64 %21, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%32 = and i64 %22, 4294967295
store i64 %32, 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 %2, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder [36 x i8]* @gv_3, { 1, 0 }
uselistorder i64 (i64)* @nbd_opt_lookup, { 1, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
mov_get_stsc_samples_1625
|
mov_get_stsc_samples
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i32
%.pre-phi6.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = and i64 %arg2, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 %3)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 4294967296
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = ashr exact i64 %sext, 29
%12 = add nsw i64 %11, 8
%13 = and i64 %12, 34359738360
%14 = add i64 %10, %13
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = and i64 %11, 34359738360
%18 = add i64 %10, %17
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = sub i32 %16, %20
%.pre = mul i64 %arg2, 8
%.pre5 = and i64 %.pre, 34359738360
store i64 %10, i64* %.reg2mem
store i64 %.pre5, i64* %.pre-phi6.reg2mem
store i32 %21, i32* %storemerge.reg2mem
br label LBL_3
LBL_2:
%22 = add i64 %2, 16
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %2, 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = mul i64 %arg2, 8
%29 = and i64 %28, 34359738360
%30 = add i64 %27, %29
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%.neg2 = add i32 %24, 1
%33 = sub i32 %.neg2, %32
store i64 %27, i64* %.reg2mem
store i64 %29, i64* %.pre-phi6.reg2mem
store i32 %33, i32* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%.pre-phi6.reload = load i64, i64* %.pre-phi6.reg2mem
%.reload = load i64, i64* %.reg2mem
%34 = or i64 %.pre-phi6.reload, 4
%35 = add i64 %.reload, %34
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = mul i32 %37, %storemerge.reload
%39 = zext i32 %38 to i64
ret i64 %39
uselistorder i64 %11, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %.pre-phi6.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 34359738360, { 1, 0, 2, 3 }
}
|
0
|
CompRealVul
|
kvm_init_2977
|
kvm_init
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.3.reg2mem = alloca i32
%.reg2mem = alloca i32
%sv_0.3.ph.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp slt i32 %0, 2
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_24
LBL_1:
%2 = and i64 %arg1, 4294967295
%3 = call i64 @FUNC(i64 524)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %indvars.iv.reg2mem
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_24
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%6 = mul i64 %indvars.iv.reload, 4
%7 = add i64 %6, %3
%8 = inttoptr i64 %7 to i32*
%9 = trunc i64 %indvars.iv.reload to i32
store i32 %9, i32* %8, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 128
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%10 = add i64 %3, 512
%11 = inttoptr i64 %10 to i32*
store i32 -1, i32* %11, align 4
%12 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 2)
%13 = add i64 %3, 516
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = icmp eq i32 %12, -1
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %3)
%19 = call i32* @__errno_location()
%20 = load i32, i32* %19, align 4
%21 = sub i32 0, %20
store i32 %21, i32* %sv_0.3.ph.reg2mem
br label LBL_18
LBL_5:
%22 = call i64 @FUNC(i64 %3, i64 0, i64 0)
%23 = trunc i64 %22 to i32
%24 = icmp sgt i32 %23, 11
br i1 %24, label LBL_7, label LBL_6
LBL_6:
%25 = icmp slt i32 %23, 1
%spec.select = select i1 %25, i32 %23, i32 -22
%26 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%27 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_3 to i64*), i32 1, i32 20, %_IO_FILE* %26)
store i32 %spec.select, i32* %sv_0.3.ph.reg2mem
br label LBL_18
LBL_7:
%28 = icmp eq i32 %23, 12
br i1 %28, label LBL_9, label LBL_8
LBL_8:
%29 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%30 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_4 to i64*), i32 1, i32 26, %_IO_FILE* %29)
store i32 -22, i32* %sv_0.3.ph.reg2mem
br label LBL_18
LBL_9:
%31 = call i64 @FUNC(i64 %3, i64 1, i64 0)
%32 = trunc i64 %31 to i32
store i32 %32, i32* %11, align 4
%33 = icmp slt i32 %32, 0
store i32 %32, i32* %.reg2mem
store i32 12, i32* %sv_0.3.reg2mem
br i1 %33, label LBL_19, label LBL_10
LBL_10:
%34 = call i64 @FUNC(i64 %3, i64 2, i64 3)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = icmp slt i32 %35, 0
%38 = icmp eq i1 %37, false
%39 = icmp eq i1 %36, false
%40 = icmp eq i1 %38, %39
br i1 %40, label LBL_12, label LBL_11
LBL_11:
%spec.select2 = select i1 %39, i32 %35, i32 -22
%41 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%42 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_5 to i64*), i32 1, i32 41, %_IO_FILE* %41)
store i32 %spec.select2, i32* %sv_0.3.ph.reg2mem
br label LBL_18
LBL_12:
%43 = call i64 @FUNC(i64 %3, i64 2, i64 4)
%44 = trunc i64 %43 to i32
%45 = icmp eq i32 %44, 0
%46 = icmp slt i32 %44, 0
%47 = icmp eq i1 %46, false
%48 = icmp eq i1 %45, false
%49 = icmp eq i1 %47, %48
br i1 %49, label LBL_14, label LBL_13
LBL_13:
%spec.select3 = select i1 %48, i32 %44, i32 -22
%50 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%51 = call i32 @fwrite(i64* bitcast ([85 x i8]* @gv_6 to i64*), i32 1, i32 84, %_IO_FILE* %50)
store i32 %spec.select3, i32* %sv_0.3.ph.reg2mem
br label LBL_18
LBL_14:
%52 = add i64 %3, 520
%53 = inttoptr i64 %52 to i32*
store i32 0, i32* %53, align 4
%54 = call i64 @FUNC(i64 %3, i64 2, i64 5)
%55 = trunc i64 %54 to i32
%56 = icmp slt i32 %55, 1
br i1 %56, label LBL_16, label LBL_15
LBL_15:
store i32 %55, i32* %53, align 4
br label LBL_16
LBL_16:
%57 = call i64 @FUNC(i64 %3, i64 %2)
%58 = trunc i64 %57 to i32
%59 = icmp slt i32 %58, 0
store i32 %58, i32* %sv_0.3.ph.reg2mem
br i1 %59, label LBL_18, label LBL_17
LBL_17:
store i64 %3, i64* @gv_7, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_24
LBL_18:
%sv_0.3.ph.reload = load i32, i32* %sv_0.3.ph.reg2mem
%.pr = load i32, i32* %11, align 4
store i32 %.pr, i32* %.reg2mem
store i32 %sv_0.3.ph.reload, i32* %sv_0.3.reg2mem
br label LBL_19
LBL_19:
%sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem
%.reload = load i32, i32* %.reg2mem
%60 = icmp eq i32 %.reload, -1
br i1 %60, label LBL_21, label LBL_20
LBL_20:
%61 = call i32 @close(i32 %.reload)
br label LBL_21
LBL_21:
%62 = load i32, i32* %14, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label LBL_23, label LBL_22
LBL_22:
%64 = call i32 @close(i32 %62)
br label LBL_23
LBL_23:
%65 = call i64 @FUNC(i64 %3)
%66 = zext i32 %sv_0.3.reload to i64
store i64 %66, i64* %rax.0.reg2mem
br label LBL_24
LBL_24:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %44, { 0, 2, 1 }
uselistorder i32 %35, { 0, 2, 1 }
uselistorder i32 %23, { 1, 0, 2, 3 }
uselistorder i64 %3, { 7, 2, 3, 4, 5, 6, 8, 9, 10, 1, 11, 12, 0, 13 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i32 (i32)* @close, { 1, 0 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 3, 2, 1, 0 }
uselistorder i32 -22, { 1, 2, 0, 3 }
uselistorder i64 (i64, i64, i64)* @kvm_ioctl, { 4, 3, 2, 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_24, { 2, 3, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
l3_unscale_3604
|
l3_unscale
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %arg2 to i32
%4 = mul i64 %arg1, 4
%5 = urem i64 %arg2, 4
%6 = or i64 %5, %4
%sext = mul i64 %6, 4294967296
%7 = ashr exact i64 %sext, 30
%8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %7, ptrtoint (i32** @gv_1 to i64)
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = ashr i32 %3, 2
%15 = sub i32 %10, %14
%16 = icmp eq i32 %15, 0
%17 = icmp slt i32 %15, 0
%18 = icmp eq i1 %17, false
%19 = icmp eq i1 %16, false
%20 = icmp eq i1 %18, %19
br i1 %20, label LBL_2, label LBL_1
LBL_1:
%21 = zext i32 %15 to i64
%22 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1)
br label LBL_2
LBL_2:
%23 = icmp ult i32 %15, 32
store i64 0, i64* %storemerge.reg2mem
br i1 %23, label LBL_3, label LBL_4
LBL_3:
%24 = urem i32 %15, 32
%25 = icmp eq i32 %24, 0
%26 = shl i32 1, %24
%phitmp = udiv i32 %26, 2
%rdx.0 = select i1 %25, i32 0, i32 %phitmp
%27 = add i32 %rdx.0, %13
%28 = lshr i32 %27, %24
%rdx.1 = zext i32 %28 to i64
store i64 %rdx.1, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %24, { 2, 1, 0 }
uselistorder i32 %15, { 0, 1, 2, 4, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
vmxnet3_update_mcast_filters_16815
|
vmxnet3_update_mcast_filters
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 16
%5 = inttoptr i64 %4 to i32*
store i32 0, i32* %5, align 4
%6 = add i64 %3, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i64 0)
store i64 %9, i64* %7, align 8
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
%12 = load i32, i32* %5, align 4
br i1 %11, label LBL_5, label LBL_1
LBL_1:
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0))
br label LBL_4
LBL_3:
%16 = zext i32 %12 to i64
%17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %16)
br label LBL_4
LBL_4:
store i32 0, i32* %5, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%19 = zext i32 %12 to i64
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %19)
%21 = load i32, i32* %5, align 4
%22 = icmp eq i32 %21, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_8, label LBL_6
LBL_6:
%23 = trunc i64 %2 to i32
%24 = trunc i64 %1 to i32
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge1.reg2mem
br label LBL_7
LBL_7:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%25 = load i64, i64* %7, align 8
%26 = mul nsw i64 %.reload, 6
%27 = add nsw i64 %26, 5
%28 = add i64 %27, %25
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%31 = zext i8 %30 to i32
%32 = trunc i64 %25 to i32
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i32 %31, i32 %storemerge1.reload, i32 %32, i32 %23, i32 %24, i32 %storemerge1.reload)
%34 = add i32 %storemerge1.reload, 1
%35 = load i32, i32* %5, align 4
%36 = zext i32 %35 to i64
%37 = sext i32 %34 to i64
%38 = icmp slt i64 %37, %36
store i64 %37, i64* %.reg2mem
store i32 %34, i32* %storemerge1.reg2mem
store i64 %36, i64* %rax.0.reg2mem
br i1 %38, label LBL_7, label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %25, { 1, 0 }
uselistorder i32 %storemerge1.reload, { 1, 2, 0 }
uselistorder i32 %12, { 2, 0, 1 }
uselistorder i32* %5, { 2, 0, 1, 3, 4 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
uselistorder i32 0, { 0, 1, 3, 4, 2 }
uselistorder label LBL_7, { 1, 0 }
}
|
1
|
CompRealVul
|
kvm_emulate_hypercall_8752
|
kvm_emulate_hypercall
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %0)
store i64 %4, i64* %storemerge.reg2mem
br label LBL_9
LBL_2:
%5 = call i64 @FUNC(i64 %0, i64 0)
%6 = call i64 @FUNC(i64 %0, i64 1)
%7 = call i64 @FUNC(i64 %0, i64 2)
%8 = call i64 @FUNC(i64 %0, i64 3)
%9 = call i64 @FUNC(i64 %0, i64 4)
%10 = call i64 @FUNC(i64 %5, i64 %6, i64 %7, i64 %8, i64 %9)
%11 = call i64 @FUNC(i64 %0)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 %5, i64* %sv_3.0.reg2mem
store i64 %6, i64* %sv_2.0.reg2mem
store i64 %7, i64* %sv_1.0.reg2mem
br i1 %14, label LBL_4, label LBL_3
LBL_3:
%15 = and i64 %5, 4294967295
%16 = and i64 %6, 4294967295
%17 = and i64 %7, 4294967295
store i64 %15, i64* %sv_3.0.reg2mem
store i64 %16, i64* %sv_2.0.reg2mem
store i64 %17, i64* %sv_1.0.reg2mem
br label LBL_4
LBL_4:
%18 = trunc i64 %0 to i32
%19 = icmp eq i32 %18, 0
store i64 1, i64* %sv_0.0.reg2mem
br i1 %19, label LBL_5, label LBL_8
LBL_5:
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
store i64 0, i64* %sv_0.0.reg2mem
switch i64 %sv_3.0.reload, label LBL_7 [
i64 0, label LBL_8
i64 1, label LBL_6
]
LBL_6:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%20 = call i64 @FUNC(i64 %0, i64 %sv_2.0.reload, i64 %sv_1.0.reload)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_7:
store i64 2, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%21 = call i64 @FUNC(i64 %0, i64 0, i64 %sv_0.0.reload)
%22 = add i64 %0, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i32 %24, 1
store i32 %25, i32* %23, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64 %6, { 1, 0, 2 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %0, { 1, 0, 3, 2, 6, 5, 4, 9, 8, 7, 10, 11 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 2, 1, 0 }
uselistorder i64 1, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @kvm_register_read, { 4, 3, 2, 1, 0 }
uselistorder label LBL_8, { 2, 3, 0, 1 }
}
|
0
|
CompRealVul
|
r600_cs_parser_relocs_legacy_5426
|
r600_cs_parser_relocs_legacy
|
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 = icmp eq i32 %2, -1
%4 = icmp eq i1 %3, false
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 0, i64 0)
%7 = add i64 %5, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
%9 = icmp eq i64 %6, 0
%10 = icmp eq i1 %9, false
%. = select i1 %10, i64 0, i64 4294967284
store i64 %., i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
}
|
0
|
CompRealVul
|
nfs_direct_req_free_18020
|
nfs_direct_req_free
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %2)
br label LBL_2
LBL_2:
%5 = add i64 %arg1, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %7)
br label LBL_4
LBL_4:
%10 = load i64, i64* @gv_0, align 8
%11 = call i64 @FUNC(i64 %10, i64 %arg1)
ret i64 %11
}
|
1
|
CompRealVul
|
keyctl_assume_authority_10637
|
keyctl_assume_authority
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = icmp slt i64 %arg1, 0
store i64 -22, i64* %sv_0.0.reg2mem
br i1 %0, label LBL_6, label LBL_1
LBL_1:
%1 = icmp eq i64 %arg1, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_3, label LBL_2
LBL_2:
%3 = call i64 @FUNC(i64 0)
store i64 %3, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_3:
%4 = call i64 @FUNC(i64 %arg1)
%5 = icmp ult i64 %4, -4095
store i64 %4, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_4, label LBL_6
LBL_4:
%6 = call i64 @FUNC(i64 %4)
%7 = icmp slt i64 %6, 0
store i64 %6, i64* %sv_0.0.reg2mem
br i1 %7, label LBL_6, label LBL_5
LBL_5:
%8 = call i64 @FUNC(i64 %4)
%9 = inttoptr i64 %4 to i64*
%10 = load i64, i64* %9, align 8
store i64 %10, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %4, { 2, 1, 3, 0, 4 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2, 5 }
uselistorder i64 (i64)* @keyctl_change_reqkey_auth, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
uselistorder label LBL_6, { 3, 1, 0, 4, 2 }
}
|
0
|
CompRealVul
|
color_esycc_to_rgb_18179
|
color_esycc_to_rgb
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%xmm0.06.reg2mem = alloca i128
%xmm2.07.reg2mem = alloca i128
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = icmp ult i32 %6, 3
store i64 %7, i64* %rax.0.reg2mem
br i1 %8, label LBL_11, label LBL_1
LBL_1:
%9 = add i64 %0, 12
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = mul i32 %11, %6
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_10, label LBL_2
LBL_2:
%14 = add i32 %3, 31
%15 = urem i32 %14, 32
%16 = shl i32 1, %15
%17 = urem i32 %3, 32
%18 = icmp eq i32 %17, 0
%notmask = shl nsw i32 -1, %17
%19 = sub i32 0, %notmask
%phitmp = sub i32 %19, 1
%storemerge = select i1 %18, i32 0, i32 %phitmp
%20 = add i64 %0, 68
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %0, 44
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = add i64 %0, 24
%27 = inttoptr i64 %26 to i64*
%28 = add i64 %0, 48
%29 = inttoptr i64 %28 to i64*
%30 = icmp eq i32 %25, 0
%31 = icmp eq i1 %30, false
%32 = select i1 %31, i32 0, i32 %16
%33 = icmp eq i32 %22, 0
%34 = icmp eq i1 %33, false
%35 = select i1 %34, i32 0, i32 %16
%wide.trip.count = zext i32 %12 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_3:
%xmm0.06.reload = load i128, i128* %xmm0.06.reg2mem
%xmm2.07.reload = load i128, i128* %xmm2.07.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%36 = mul i64 %indvars.iv.reload, 4
%37 = add i64 %36, %0
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = load i64, i64* %27, align 8
%41 = add i64 %40, %36
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = load i64, i64* %29, align 8
%45 = add i64 %44, %36
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%spec.select = sub i32 %43, %32
%sv_1.0 = sub i32 %47, %35
%48 = call i128 @FUNC(i128 %xmm0.06.reload, i128 %xmm0.06.reload)
%49 = call i128 @FUNC(i32 %39)
%50 = call i128 @FUNC(i128 %xmm2.07.reload, i128 %xmm2.07.reload)
%51 = call i128 @FUNC(i32 %spec.select)
%52 = call i128 @FUNC(i32 941250995)
%53 = call i128 @FUNC(i128 %51, i128 %52)
%54 = call i128 @FUNC(i128 %49)
%55 = call i128 @FUNC(i128 %54, i128 %53)
%56 = call i128 @FUNC(i128 %53, i128 %53)
%57 = call i128 @FUNC(i32 %sv_1.0)
%58 = call i128 @FUNC(i32 1068725353)
%59 = call i128 @FUNC(i128 %58, i128 %57)
%60 = call i128 @FUNC(i128 %55, i128 %59)
%61 = call i128 @FUNC(i32 1056964608)
%62 = call i128 @FUNC(i128 %61, i128 %60)
%63 = call i32 @FUNC(i128 %62)
%64 = icmp sgt i32 %63, %storemerge
store i32 %storemerge, i32* %sv_0.0.reg2mem
br i1 %64, label LBL_5, label LBL_4
LBL_4:
%65 = icmp slt i32 %63, 0
%66 = icmp eq i1 %65, false
%spec.select3 = select i1 %66, i32 %63, i32 0
store i32 %spec.select3, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
store i32 %sv_0.0.reload, i32* %38, align 4
%67 = call i128 @FUNC(i128 %60, i128 %60)
%68 = call i128 @FUNC(i32 %39)
%69 = call i128 @FUNC(i32 1065355733)
%70 = call i128 @FUNC(i128 %69, i128 %68)
%71 = call i128 @FUNC(i128 %57, i128 %57)
%72 = call i128 @FUNC(i32 %spec.select)
%73 = call i128 @FUNC(i32 1051734311)
%74 = call i128 @FUNC(i128 %73, i128 %72)
%75 = call i128 @FUNC(i128 %70, i128 %74)
%76 = call i128 @FUNC(i128 %72, i128 %72)
%77 = call i128 @FUNC(i32 %sv_1.0)
%78 = call i128 @FUNC(i32 1060556825)
%79 = call i128 @FUNC(i128 %77, i128 %78)
%80 = call i128 @FUNC(i128 %75)
%81 = call i128 @FUNC(i128 %80, i128 %79)
%82 = call i128 @FUNC(i32 1056964608)
%83 = call i128 @FUNC(i128 %82, i128 %81)
%84 = call i32 @FUNC(i128 %83)
%85 = icmp sgt i32 %84, %storemerge
store i32 %storemerge, i32* %sv_0.1.reg2mem
br i1 %85, label LBL_7, label LBL_6
LBL_6:
%86 = icmp slt i32 %84, 0
%87 = icmp eq i1 %86, false
%spec.select4 = select i1 %87, i32 %84, i32 0
store i32 %spec.select4, i32* %sv_0.1.reg2mem
br label LBL_7
LBL_7:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%88 = load i64, i64* %27, align 8
%89 = add i64 %88, %36
%90 = inttoptr i64 %89 to i32*
store i32 %sv_0.1.reload, i32* %90, align 4
%91 = call i128 @FUNC(i128 %81, i128 %81)
%92 = call i128 @FUNC(i32 %39)
%93 = call i128 @FUNC(i32 1065350246)
%94 = call i128 @FUNC(i128 %92, i128 %93)
%95 = call i128 @FUNC(i128 %79, i128 %79)
%96 = call i128 @FUNC(i32 %spec.select)
%97 = call i128 @FUNC(i32 1071829557)
%98 = call i128 @FUNC(i128 %97, i128 %96)
%99 = call i128 @FUNC(i128 %98, i128 %94)
%100 = call i128 @FUNC(i128 %96, i128 %96)
%101 = call i128 @FUNC(i32 %sv_1.0)
%102 = load i32, i32* inttoptr (i64 4202544 to i32*), align 16
%103 = call i128 @FUNC(i32 %102)
%104 = call i128 @FUNC(i128 %101, i128 %103)
%105 = call i128 @FUNC(i128 %99)
%106 = call i128 @FUNC(i128 %105, i128 %104)
%107 = call i128 @FUNC(i32 1056964608)
%108 = call i128 @FUNC(i128 %107, i128 %106)
%109 = call i32 @FUNC(i128 %108)
%110 = icmp sgt i32 %109, %storemerge
store i32 %storemerge, i32* %sv_0.2.reg2mem
br i1 %110, label LBL_9, label LBL_8
LBL_8:
%111 = icmp slt i32 %109, 0
%112 = icmp eq i1 %111, false
%spec.select5 = select i1 %112, i32 %109, i32 0
store i32 %spec.select5, i32* %sv_0.2.reg2mem
br label LBL_9
LBL_9:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%113 = load i64, i64* %29, align 8
%114 = add i64 %113, %36
%115 = inttoptr i64 %114 to i32*
store i32 %sv_0.2.reload, i32* %115, 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 i128 %104, i128* %xmm2.07.reg2mem
store i128 %108, i128* %xmm0.06.reg2mem
br i1 %exitcond, label LBL_10, label LBL_3
LBL_10:
store i32 0, i32* %10, align 4
store i64 %0, 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 i128 %96, { 2, 1, 0 }
uselistorder i128 %81, { 1, 0, 2 }
uselistorder i128 %79, { 1, 0, 2 }
uselistorder i128 %72, { 2, 1, 0 }
uselistorder i128 %60, { 1, 0, 2 }
uselistorder i128 %57, { 1, 0, 2 }
uselistorder i128 %53, { 2, 1, 0 }
uselistorder i64 %36, { 4, 3, 2, 1, 0 }
uselistorder i128 %xmm2.07.reload, { 1, 0 }
uselistorder i128 %xmm0.06.reload, { 1, 0 }
uselistorder i32 %storemerge, { 0, 3, 1, 4, 2, 5 }
uselistorder i64 %0, { 0, 1, 2, 3, 6, 5, 4, 7, 8 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i128* %xmm2.07.reg2mem, { 1, 0 }
uselistorder i128* %xmm0.06.reg2mem, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
}
|
1
|
CompRealVul
|
bpf_any_get_6230
|
bpf_any_get
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
switch i32 %0, label LBL_3 [
i32 0, label LBL_1
i32 1, label LBL_2
]
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
store i64 %1, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_2:
%2 = call i64 @FUNC(i64 %arg1, i64 1)
store i64 %2, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_3:
%3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%4 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_1 to i64*), i32 1, i32 23, %_IO_FILE* %3)
store i64 %arg1, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i32 1, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
find_first_block_group_3801
|
find_first_block_group
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%sv_0.0.reg2mem = alloca i64
%.pre.reg2mem = alloca i32
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i32
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = load i64, i64* %0
%6 = load i32, i32* %1
%sv_1 = alloca i64, align 8
%7 = call i64 @FUNC(i64 0, i64 %4, i64 %2, i64 %3, i64 0, i64 0)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %8, 0
store i64 %7, i64* %sv_0.0.reg2mem
br i1 %9, label LBL_10, label LBL_1
LBL_1:
%10 = trunc i64 %4 to i32
%11 = add i64 %3, 8
%12 = inttoptr i64 %11 to i64*
%13 = ptrtoint i64* %sv_1 to i64
%14 = icmp eq i32 %6, 1
%15 = icmp eq i1 %14, false
%16 = trunc i64 %3 to i32
%17 = trunc i64 %13 to i32
%18 = or i32 %17, 1
%19 = bitcast i64* %sv_1 to i32*
store i32 %10, i32* %.reg2mem
br label LBL_2
LBL_2:
%.reload = load i32, i32* %.reg2mem
%20 = load i64, i64* %12, align 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = call i64 @FUNC(i64 %22)
%24 = sext i32 %.reload to i64
%25 = icmp sgt i64 %23, %24
br i1 %25, label LBL_4, label LBL_3
LBL_3:
%26 = call i64 @FUNC(i64 %4, i64 %3)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
store i32 %16, i32* %.pre.reg2mem
store i64 %26, i64* %sv_0.0.reg2mem
br i1 %28, label LBL_2.backedge, label LBL_10
LBL_4:
%29 = call i64 @FUNC(i64 %22, i64* nonnull %sv_1, i32 %.reload)
br i1 %15, label LBL_8, label LBL_5
LBL_5:
%30 = call i64 @FUNC(i64 %22)
%31 = load i64, i64* %sv_1, align 8
%32 = call i64 @FUNC(i64 %22, i64 %31, i64 %5)
%33 = call i64 @FUNC(i64 %22)
%34 = icmp eq i64 %32, 0
%35 = icmp eq i1 %34, false
store i64 0, i64* %storemerge.reg2mem
br i1 %35, label LBL_7, label LBL_6
LBL_6:
%36 = load i64, i64* %sv_1, align 8
%37 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %36, i64 %5)
store i64 4294967294, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%38 = call i64 @FUNC(i64 %32)
store i64 %storemerge.reload, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_8:
store i32 %18, i32* %19, align 8
store i32 %17, i32* %.pre.reg2mem
br label LBL_2.backedge
LBL_9:
%.pre.reload = load i32, i32* %.pre.reg2mem
store i32 %.pre.reload, i32* %.reg2mem
br label LBL_2
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%39 = and i64 %sv_0.0.reload, 4294967295
ret i64 %39
uselistorder i64 %22, { 0, 3, 2, 1, 4, 5 }
uselistorder i64* %sv_1, { 2, 3, 1, 0, 4 }
uselistorder i64 %4, { 1, 0, 2 }
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %.pre.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }
uselistorder label LBL_10, { 2, 0, 1 }
uselistorder label LBL_7, { 1, 0 }
}
|
0
|
CompRealVul
|
ib_cm_notify_15
|
ib_cm_notify
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
store i64 4294967274, i64* %sv_0.0.reg2mem
switch i32 %0, label LBL_3 [
i32 0, label LBL_1
i32 1, label LBL_2
]
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
store i64 %1, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_2:
%2 = call i64 @FUNC(i64 %arg1)
store i64 %2, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%3 = and i64 %sv_0.0.reload, 4294967295
ret i64 %3
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
bitmap_set_13946
|
bitmap_set
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i64
%sv_2.0.lcssa.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%sv_0.04.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = udiv i64 %arg2, 64
%2 = mul i64 %1, 8
%3 = add i64 %2, %0
%4 = sub i64 0, %arg2
%5 = urem i64 %4, 64
%6 = lshr i64 -1, %5
%7 = or i64 %arg2, -64
%8 = add i64 %7, %arg3
%9 = icmp slt i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 %8, i64* %.reg2mem
store i64 %6, i64* %sv_0.04.reg2mem
store i64 %3, i64* %sv_1.03.reg2mem
store i64 %arg3, i64* %sv_2.0.lcssa.reg2mem
store i64 %3, i64* %sv_1.0.lcssa.reg2mem
store i64 %6, i64* %sv_0.0.lcssa.reg2mem
store i64 %8, i64* %.lcssa.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem
%.reload = load i64, i64* %.reg2mem
%11 = inttoptr i64 %sv_1.03.reload to i64*
%12 = load i64, i64* %11, align 8
%13 = or i64 %12, %sv_0.04.reload
store i64 %13, i64* %11, align 8
%14 = add i64 %sv_1.03.reload, 8
%15 = add i64 %.reload, -64
%16 = icmp slt i64 %15, 0
%17 = icmp eq i1 %16, false
store i64 %15, i64* %.reg2mem
store i64 -1, i64* %sv_0.04.reg2mem
store i64 %14, i64* %sv_1.03.reg2mem
store i64 %.reload, i64* %sv_2.0.lcssa.reg2mem
store i64 %14, i64* %sv_1.0.lcssa.reg2mem
store i64 -1, i64* %sv_0.0.lcssa.reg2mem
store i64 %15, i64* %.lcssa.reg2mem
br i1 %17, label LBL_1, label LBL_2
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem
%18 = icmp eq i64 %sv_2.0.lcssa.reload, 0
store i64 %.lcssa.reload, i64* %rax.0.reg2mem
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = add i64 %arg3, %arg2
%20 = trunc i64 %19 to i32
%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
%21 = urem i32 %20, 64
%22 = icmp eq i32 %21, 0
%23 = zext i32 %21 to i64
%24 = shl i64 -1, %23
%storemerge2 = select i1 %22, i64 -1, i64 %24
%25 = and i64 %sv_0.0.lcssa.reload, %storemerge2
%26 = inttoptr i64 %sv_1.0.lcssa.reload to i64*
%27 = load i64, i64* %26, align 8
%28 = or i64 %27, %25
store i64 %28, i64* %26, align 8
store i64 %sv_1.0.lcssa.reload, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 -1, { 2, 3, 0, 1, 4 }
uselistorder i64 8, { 1, 0 }
uselistorder i64 64, { 1, 0 }
uselistorder i64 %arg3, { 1, 0, 2 }
uselistorder i64 %arg2, { 1, 2, 3, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
bochs_bios_write_2223
|
bochs_bios_write
|
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
%1 = icmp eq i32 %0, 35072
br i1 %1, label LBL_5, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = trunc i64 %2 to i32
%4 = icmp ugt i32 %3, 1282
br i1 %4, label LBL_10, label LBL_2
LBL_2:
%5 = icmp ult i32 %3, 1281
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_9, label LBL_3
LBL_3:
%7 = icmp eq i32 %3, 1280
%8 = icmp ult i32 %3, 1026
%or.cond5 = or i1 %8, %7
br i1 %or.cond5, label LBL_10, label LBL_4
LBL_4:
%9 = add nsw i64 %2, 4294966270
%10 = and i64 %9, 4294967295
store i64 %10, i64* %rax.0.reg2mem
br label LBL_10
LBL_5:
%11 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%12 = sext i32 %11 to i64
%13 = add i64 %12, ptrtoint (i8** @gv_1 to i64)
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = trunc i64 %arg3 to i32
%17 = sext i8 %15 to i32
%18 = icmp eq i32 %16, %17
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_8, label LBL_6
LBL_6:
store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8
store i64 zext (i32 ptrtoint (i32* @gv_2 to i32) to i64), i64* %rax.0.reg2mem
br i1 icmp ne (i32 sub (i32 ptrtoint (i32* @gv_2 to i32), i32 8), i32 0), label LBL_10, label LBL_7
LBL_7:
store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8
%20 = call i64 @FUNC()
store i64 %20, i64* %rax.0.reg2mem
br label LBL_10
LBL_8:
%21 = sext i8 %15 to i64
store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8
store i64 %21, i64* %rax.0.reg2mem
br label LBL_10
LBL_9:
%arg3.tr = trunc i64 %arg3 to i32
%22 = mul i32 %arg3.tr, 2
%23 = or i32 %22, 1
call void @exit(i32 %23)
unreachable
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8 %15, { 1, 0 }
uselistorder i32 %3, { 1, 2, 3, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_10, { 5, 4, 3, 2, 0, 1 }
}
|
0
|
CompRealVul
|
callexp_6378
|
callexp
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.be.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC()
store i64 %0, i64* %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%2 = call i64 @FUNC()
%3 = call i64 @FUNC(i64 %arg1, i64 46)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_4, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %arg1)
%7 = call i64 @FUNC(i64 1, i64 %sv_0.0.reload, i64 %6)
store i64 %7, i64* %sv_0.0.be.reg2mem
br label LBL_1.backedge
LBL_3:
%sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem
store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem
br label LBL_1
LBL_4:
%8 = call i64 @FUNC(i64 %arg1, i64 91)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_6, label LBL_5
LBL_5:
%11 = call i64 @FUNC(i64 %arg1, i64 0)
%12 = call i64 @FUNC(i64 2, i64 %sv_0.0.reload, i64 %11)
%13 = call i64 @FUNC(i64 %arg1, i64 93)
store i64 %12, i64* %sv_0.0.be.reg2mem
br label LBL_1.backedge
LBL_6:
%14 = call i64 @FUNC(i64 %arg1, i64 40)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_8, label LBL_7
LBL_7:
%17 = call i64 @FUNC(i64 %arg1)
%18 = call i64 @FUNC(i64 3, i64 %sv_0.0.reload, i64 %17)
%19 = call i64 @FUNC(i64 %arg1, i64 41)
store i64 %18, i64* %sv_0.0.be.reg2mem
br label LBL_1.backedge
LBL_8:
%20 = call i64 @FUNC()
ret i64 %sv_0.0.reload
uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 }
uselistorder i64 (i64, i64)* @jsP_expect, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @EXP2, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @jsP_accept, { 2, 1, 0 }
uselistorder i32 1, { 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }
uselistorder label LBL_1.backedge, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
vhost_scsi_unrealize_1477
|
vhost_scsi_unrealize
|
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 = add i64 %1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = load i64, i64* %3, align 8
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 %1, i64 0)
%9 = call i64 @FUNC(i64 %1)
%10 = call i64 @FUNC(i64 %1)
%11 = call i64 @FUNC(i64 %1, i64 %0)
ret i64 %11
}
|
0
|
CompRealVul
|
relay_open_buf_4714
|
relay_open_buf
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
store i64 %9, i64* %storemerge.reg2mem
br label LBL_7
LBL_2:
%10 = call i64 @FUNC(i64 256, i64 0)
%11 = icmp eq i64 %10, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_7, label LBL_3
LBL_3:
%sext = mul i64 %arg2, 4294967296
%12 = ashr exact i64 %sext, 32
%13 = inttoptr i64 %10 to i8*
%14 = add i64 %2, 16
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = and i64 %12, 4294967295
%18 = inttoptr i64 %16 to i8*
%19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %13, i32 255, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %18, i64 %17)
%20 = call i64 @FUNC(i64 %2)
%21 = icmp eq i64 %20, 0
br i1 %21, label LBL_6, label LBL_4
LBL_4:
%22 = bitcast i64* %rdi to i32*
%23 = inttoptr i64 %20 to i32*
%24 = trunc i64 %12 to i32
store i32 %24, i32* %23, align 4
%25 = call i64 @FUNC(i64 %20, i64 1)
%26 = add i64 %20, 8
%27 = inttoptr i64 %26 to i64*
store i64 %10, i64* %27, align 8
%28 = load i32, i32* %22, align 8
%29 = icmp eq i32 %28, 0
br i1 %29, label LBL_6, label LBL_5
LBL_5:
%30 = add i64 %2, 8
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = inttoptr i64 %32 to i64*
store i64 %20, i64* %33, align 8
store i32 0, i32* %23, align 4
br label LBL_6
LBL_6:
%34 = call i64 @FUNC(i64 %10)
store i64 %20, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %2, { 1, 2, 3, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
gf_isom_delete_movie_12069
|
gf_isom_delete_movie
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_20, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
%2 = add i64 %arg1, 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_3, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %4)
br label LBL_3
LBL_3:
%7 = add i64 %arg1, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label LBL_5, label LBL_4
LBL_4:
%11 = call i64 @FUNC(i64 %9)
br label LBL_5
LBL_5:
%12 = add i64 %arg1, 24
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = add i64 %arg1, 32
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18)
%20 = add i64 %arg1, 40
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = call i64 @FUNC(i64 %22)
br label LBL_7
LBL_7:
%25 = add i64 %arg1, 48
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = icmp eq i64 %27, 0
br i1 %28, label LBL_9, label LBL_8
LBL_8:
%29 = call i64 @FUNC(i64 %27)
br label LBL_9
LBL_9:
%30 = add i64 %arg1, 56
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label LBL_11, label LBL_10
LBL_10:
%34 = call i64 @FUNC(i64 %32)
br label LBL_11
LBL_11:
%35 = add i64 %arg1, 64
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = icmp eq i64 %37, 0
br i1 %38, label LBL_13, label LBL_12
LBL_12:
%39 = call i64 @FUNC(i64 %37)
br label LBL_13
LBL_13:
%40 = add i64 %arg1, 72
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = icmp eq i64 %42, 0
br i1 %43, label LBL_15, label LBL_14
LBL_14:
%44 = call i64 @FUNC(i64 %42)
br label LBL_15
LBL_15:
%45 = add i64 %arg1, 80
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label LBL_17, label LBL_16
LBL_16:
%49 = call i64 @FUNC(i64 %47)
br label LBL_17
LBL_17:
%50 = add i64 %arg1, 88
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label LBL_19, label LBL_18
LBL_18:
%54 = call i64 @FUNC(i64 %52)
br label LBL_19
LBL_19:
%55 = call i64 @FUNC(i64 %arg1)
store i64 %55, 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 (i64)* @gf_isom_box_del, { 2, 1, 0 }
uselistorder i64 (i64)* @gf_isom_box_array_del, { 1, 0 }
uselistorder i64 (i64)* @gf_free, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @gf_isom_datamap_del, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
}
|
1
|
CompRealVul
|
nfc_llcp_local_get_6160
|
nfc_llcp_local_get
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
ret i64 %0
}
|
0
|
CompRealVul
|
request_key_auth_destroy_17907
|
request_key_auth_destroy
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = and i64 %1, 4294967295
%6 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %5)
%7 = inttoptr i64 %4 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
ret i64 %9
}
|
1
|
CompRealVul
|
tcp_parse_option_mss_13225
|
tcp_parse_option_mss
|
define i64 @FUNC(i16* %arg1, i64 %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%rcx = alloca i64, align 8
%0 = ptrtoint i32* %arg4 to i64
%1 = urem i64 %arg2, 256
%2 = call i64 @FUNC(i64 %0, i64 %1, i64 4)
%3 = trunc i64 %2 to i32
%4 = icmp slt i32 %3, 0
store i64 %2, i64* %rax.0.reg2mem
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%5 = ptrtoint i16* %arg1 to i64
%6 = add i64 %5, 2
%7 = inttoptr i64 %6 to i8*
store i8 1, i8* %7, align 1
%8 = bitcast i64* %rcx to i32*
%9 = load i32, i32* %8, align 8
%10 = zext i32 %9 to i64
%11 = ptrtoint i32* %arg3 to i64
%12 = add i64 %10, %11
%13 = call i64 @FUNC(i64 %12)
%14 = add i32 %9, 2
store i32 %14, i32* %arg4, align 4
%15 = bitcast i64* %rdi to i16*
%16 = load i16, i16* %15, align 8
%17 = urem i64 %13, 65536
%18 = call i64 @FUNC(i64 %17)
%19 = trunc i64 %18 to i16
%20 = icmp ugt i16 %16, %19
store i64 %18, i64* %rax.0.reg2mem
br i1 %20, label LBL_2, label LBL_3
LBL_2:
%21 = call i64 @FUNC(i64 %17)
%22 = trunc i64 %21 to i16
store i16 %22, i16* %arg1, align 2
store i64 %21, 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 %17, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64)* @short_be, { 1, 0 }
uselistorder i64 256, { 2, 0, 4, 3, 1 }
uselistorder label LBL_3, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
CRYPTO_realloc_clean_3842
|
CRYPTO_realloc_clean
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64*
%.pre-phi10.reg2mem = alloca i64*
%sext5 = mul i64 %arg3, 4294967296
%0 = ashr exact i64 %sext5, 32
%sext6 = mul i64 %arg5, 4294967296
%1 = ashr exact i64 %sext6, 32
%2 = icmp eq i64 %arg1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = trunc i64 %1 to i32
%5 = ptrtoint i8* %arg4 to i64
%6 = and i64 %0, 4294967295
%7 = call i64 @FUNC(i64 %6, i64 %5, i32 %4)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%sext = mul i64 %arg2, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = trunc i64 %0 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp slt i32 %9, 0
%12 = icmp eq i1 %11, false
%13 = icmp eq i1 %10, false
%14 = icmp ne i1 %12, %13
%15 = trunc i64 %8 to i32
%16 = icmp slt i32 %9, %15
%or.cond = or i1 %16, %14
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_7, label LBL_3
LBL_3:
%17 = trunc i64 %1 to i32
%18 = ptrtoint i8* %arg4 to i64
%19 = and i64 %0, 4294967295
%20 = call i64 @FUNC(i64 %19, i64 %18, i32 %17)
%21 = icmp eq i64 %20, 0
br i1 %21, label LBL_3.LBL_6_crit_edge, label LBL_5
LBL_4:
%.pre = inttoptr i64 %arg1 to i64*
store i64* null, i64** %.pre-phi10.reg2mem
store i64* %.pre, i64** %.pre-phi.reg2mem
br label LBL_6
LBL_5:
%22 = inttoptr i64 %20 to i64*
%23 = inttoptr i64 %arg1 to i64*
%24 = call i64* @memcpy(i64* %22, i64* %23, i32 %15)
%25 = call i64 @FUNC(i64 %arg1, i64 %8)
%26 = call i64 @FUNC(i64 %arg1)
store i64* %22, i64** %.pre-phi10.reg2mem
store i64* %23, i64** %.pre-phi.reg2mem
br label LBL_6
LBL_6:
%.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem
%.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem
%27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %27, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64* %.pre-phi.reload, i64* %.pre-phi10.reload, i64 %19)
store i64 %20, 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 i32 %9, { 0, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 %0, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i1 false, { 2, 1, 3, 4, 0 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 4294967296, { 2, 0, 1 }
uselistorder i32 1, { 2, 1, 0, 5, 4, 3 }
uselistorder i8* %arg4, { 1, 0 }
uselistorder i64 %arg1, { 2, 1, 3, 0, 4 }
uselistorder label LBL_7, { 1, 0, 2 }
uselistorder label LBL_6, { 1, 0 }
}
|
0
|
CompRealVul
|
ssl3_dispatch_alert_8622
|
ssl3_dispatch_alert
|
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 = call i64 @FUNC(i64 %0, i64 21, i64 %2, i64 2, i64 0)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp slt i32 %4, 0
%7 = icmp eq i1 %6, false
%8 = icmp eq i1 %5, false
%9 = icmp eq i1 %7, %8
br i1 %9, label LBL_2, label LBL_1
LBL_1:
store i32 1, i32* %1, align 4
br label LBL_4
LBL_2:
%10 = inttoptr i64 %2 to i8*
%11 = load i8, i8* %10, align 1
%12 = icmp eq i8 %11, 2
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = add i64 %0, 48
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16)
br label LBL_4
LBL_4:
%18 = and i64 %3, 4294967295
ret i64 %18
uselistorder i32 %4, { 1, 0 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
rtp_parse_mp4_au_2754
|
rtp_parse_mp4_au
|
define i64 @FUNC(i64* %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%3 = icmp sgt i32 %arg3, 1
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_11
LBL_1:
%4 = trunc i64 %2 to i32
%5 = mul i32 %4, 256
%6 = and i32 %5, 65280
%7 = ptrtoint i16* %arg2 to i64
%8 = add i64 %7, 1
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = zext i8 %10 to i32
%12 = or i32 %6, %11
%13 = add nuw nsw i32 %12, 7
%14 = udiv i32 %13, 8
%15 = bitcast i64* %arg1 to i32*
store i32 %14, i32* %15, align 4
%16 = add i32 %arg3, -2
%17 = and i64 %1, 4294967295
%18 = sext i32 %16 to i64
%19 = icmp sgt i64 %17, %18
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %19, label LBL_11, label LBL_2
LBL_2:
%20 = ptrtoint i64* %arg1 to i64
%21 = add i64 %7, 2
%22 = mul i64 %1, 8
%23 = and i64 %22, 4294967288
%24 = call i64 @FUNC(i64* nonnull %sv_0, i64 %21, i64 %23)
%25 = add i64 %20, 4
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %20, 8
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i32 %30, %27
%32 = icmp slt i32 %31, 1
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %32, label LBL_11, label LBL_3
LBL_3:
%33 = urem i32 %12, %31
%34 = icmp eq i32 %33, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_4, label LBL_11
LBL_4:
%35 = udiv i32 %12, %31
%36 = add i64 %20, 12
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
%38 = add i64 %20, 16
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = icmp eq i64 %40, 0
br i1 %41, label LBL_6, label LBL_5
LBL_5:
%42 = add i64 %20, 24
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = icmp ult i32 %44, %35
store i64 %40, i64* %.reg2mem
br i1 %45, label LBL_6, label LBL_8
LBL_6:
%46 = call i64 @FUNC(i64 %40)
%47 = load i32, i32* %37, align 4
%48 = sext i32 %47 to i64
%49 = mul i64 %48, 8
%50 = call i64 @FUNC(i64 %49)
store i64 %50, i64* %39, align 8
%51 = icmp eq i64 %50, 0
%52 = icmp eq i1 %51, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %52, label LBL_7, label LBL_11
LBL_7:
%53 = load i32, i32* %37, align 4
%54 = add i64 %20, 24
%55 = inttoptr i64 %54 to i32*
store i32 %53, i32* %55, align 4
%.pre = load i64, i64* %39, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_8
LBL_8:
%.reload = load i64, i64* %.reg2mem
%56 = inttoptr i64 %.reload to i32*
store i32 0, i32* %56, align 4
%57 = load i64, i64* %39, align 8
%58 = add i64 %57, 4
%59 = inttoptr i64 %58 to i32*
store i32 0, i32* %59, align 4
%60 = load i32, i32* %37, align 4
%61 = icmp eq i32 %60, 0
store i32 0, i32* %storemerge2.reg2mem
br i1 %61, label LBL_10, label LBL_9
LBL_9:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%62 = load i32, i32* %26, align 4
%63 = zext i32 %62 to i64
%64 = call i64 @FUNC(i64* nonnull %sv_0, i64 %63)
%65 = trunc i64 %64 to i32
%66 = load i64, i64* %39, align 8
%67 = inttoptr i64 %66 to i32*
%68 = load i32, i32* %67, align 4
%69 = add i32 %68, %65
store i32 %69, i32* %67, align 4
%70 = load i32, i32* %29, align 4
%71 = load i64, i64* %39, align 8
%72 = zext i32 %70 to i64
%73 = call i64 @FUNC(i64* nonnull %sv_0, i64 %72)
%74 = trunc i64 %73 to i32
%75 = add i64 %71, 4
%76 = inttoptr i64 %75 to i32*
store i32 %74, i32* %76, align 4
%77 = add i32 %storemerge2.reload, 1
%78 = load i32, i32* %37, align 4
%79 = zext i32 %78 to i64
%80 = sext i32 %77 to i64
%81 = icmp slt i64 %80, %79
store i32 %77, i32* %storemerge2.reg2mem
br i1 %81, label LBL_9, label LBL_10
LBL_10:
store i32 1, i32* %37, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %40, { 1, 0, 2 }
uselistorder i64* %39, { 1, 2, 3, 0, 4, 5 }
uselistorder i32* %37, { 2, 1, 0, 3, 4, 5 }
uselistorder i64 %20, { 0, 2, 1, 3, 5, 4 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 3, 2, 4, 5 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64*, i64)* @get_bits_long, { 1, 0 }
uselistorder i32 0, { 0, 3, 5, 6, 7, 1, 2, 4, 8 }
uselistorder i64 8, { 0, 2, 1, 3, 4 }
uselistorder i32 7, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_11, { 5, 0, 2, 1, 3, 4 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
}
|
0
|
CompRealVul
|
get_migration_pass_2163
|
get_migration_pass
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))
%3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 0, i64* %storemerge.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_1:
%7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 0)
store i64 %8, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%9 = call i64 @FUNC(i64 %1)
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i8*)* @qdict_get_qdict, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
check_reg_overflow_8613
|
check_reg_overflow
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp slt i32 %2, 101
br i1 %3, label LBL_2, label LBL_1
LBL_1:
store i32 100, i32* %arg1, align 4
br label LBL_2
LBL_2:
%4 = ptrtoint i32* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = zext i32 %7 to i64
%10 = icmp slt i32 %7, 101
store i64 %9, i64* %rax.0.reg2mem
br i1 %10, label LBL_5, label LBL_4
LBL_4:
store i32 0, i32* %6, align 4
store i64 %4, 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 %7, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
}
|
0
|
CompRealVul
|
ReadGF_IPMPX_RemoveToolNotificationListener_5863
|
ReadGF_IPMPX_RemoveToolNotificationListener
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %0, 256
%3 = inttoptr i64 %2 to i32*
store i32 0, i32* %3, align 4
%4 = call i64 @FUNC(i64 %1, i64 8)
%5 = trunc i64 %4 to i32
%6 = urem i32 %5, 256
store i32 %6, i32* %3, align 4
%7 = icmp eq i32 %6, 0
store i64 0, i64* %indvars.iv.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%8 = call i64 @FUNC(i64 %1, i64 8)
%9 = trunc i64 %8 to i8
%10 = add i64 %indvars.iv.reload, %0
%11 = inttoptr i64 %10 to i8*
store i8 %9, i8* %11, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%12 = load i32, i32* %3, align 4
%13 = zext i32 %12 to i64
%14 = icmp ult i64 %indvars.iv.next, %13
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %14, label LBL_1, label LBL_2
LBL_2:
ret i64 0
uselistorder i32 %6, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
kvm_create_dirty_bitmap_10415
|
kvm_create_dirty_bitmap
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = mul i64 %1, 2
%3 = call i64 @FUNC(i64 %2, i64 0)
store i64 %3, i64* %arg1, align 8
%4 = icmp eq i64 %2, 0
%5 = icmp eq i1 %4, false
%. = select i1 %5, i64 0, i64 4294967284
ret i64 %.
}
|
0
|
CompRealVul
|
blkdebug_debug_resume_16445
|
blkdebug_debug_resume
|
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge24.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 4294967294, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_5
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
store i64 %2, i64* %storemerge24.reg2mem
br label LBL_2
LBL_2:
%storemerge24.reload = load i64, i64* %storemerge24.reg2mem
%3 = inttoptr i64 %storemerge24.reload to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i8*
%6 = call i32 @strcmp(i8* %5, i8* %arg2)
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = add i64 %storemerge24.reload, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11, i64 0)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%13 = add i64 %storemerge24.reload, 16
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
store i64 %15, i64* %storemerge24.reg2mem
store i64 4294967294, i64* %storemerge.reg2mem
br i1 %17, label LBL_2, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge24.reload, { 0, 2, 1 }
uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_5, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
qcrypto_hash_digest_len_394
|
qcrypto_hash_digest_len
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i32
%1 = icmp ult i32 %0, 3
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%2 = mul i64 %arg1, 8
%3 = and i64 %2, 34359738360
%4 = add i64 %3, ptrtoint (i64* @gv_3 to i64)
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
ret i64 %6
}
|
0
|
CompRealVul
|
i740fb_check_var_5640
|
i740fb_check_var
|
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
%rsi = alloca i64, align 8
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_21
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 32
br i1 %9, label LBL_11, label LBL_2
LBL_2:
%10 = icmp ult i32 %8, 33
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %10, label LBL_3, label LBL_21
LBL_3:
%11 = icmp eq i32 %8, 24
br i1 %11, label LBL_10, label LBL_4
LBL_4:
%12 = icmp ult i32 %8, 25
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %12, label LBL_5, label LBL_21
LBL_5:
store i64 4294967274, i64* %rax.0.reg2mem
switch i32 %8, label LBL_21 [
i32 8, label LBL_6
i32 16, label LBL_7
]
LBL_6:
%13 = add i64 %5, 24
%14 = inttoptr i64 %13 to i32*
store i32 0, i32* %14, align 4
%15 = add i64 %5, 16
%16 = inttoptr i64 %15 to i32*
store i32 0, i32* %16, align 4
%17 = add i64 %5, 8
%18 = inttoptr i64 %17 to i32*
store i32 0, i32* %18, align 4
%19 = add i64 %5, 28
%20 = inttoptr i64 %19 to i32*
store i32 8, i32* %20, align 4
%21 = add i64 %5, 20
%22 = inttoptr i64 %21 to i32*
store i32 8, i32* %22, align 4
%23 = add i64 %5, 12
%24 = inttoptr i64 %23 to i32*
store i32 8, i32* %24, align 4
br label LBL_12
LBL_7:
%25 = add i64 %5, 20
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp eq i32 %27, 6
%29 = add i64 %5, 8
%30 = inttoptr i64 %29 to i32*
br i1 %28, label LBL_9, label LBL_8
LBL_8:
store i32 10, i32* %30, align 4
%31 = add i64 %5, 16
%32 = inttoptr i64 %31 to i32*
store i32 5, i32* %32, align 4
%33 = add i64 %5, 24
%34 = inttoptr i64 %33 to i32*
store i32 0, i32* %34, align 4
%35 = add i64 %5, 12
%36 = inttoptr i64 %35 to i32*
store i32 5, i32* %36, align 4
store i32 5, i32* %26, align 4
%37 = add i64 %5, 28
%38 = inttoptr i64 %37 to i32*
store i32 5, i32* %38, align 4
br label LBL_12
LBL_9:
store i32 11, i32* %30, align 4
%39 = add i64 %5, 16
%40 = inttoptr i64 %39 to i32*
store i32 5, i32* %40, align 4
%41 = add i64 %5, 24
%42 = inttoptr i64 %41 to i32*
store i32 0, i32* %42, align 4
%43 = add i64 %5, 28
%44 = inttoptr i64 %43 to i32*
store i32 5, i32* %44, align 4
%45 = add i64 %5, 12
%46 = inttoptr i64 %45 to i32*
store i32 5, i32* %46, align 4
br label LBL_12
LBL_10:
%47 = add i64 %5, 8
%48 = inttoptr i64 %47 to i32*
store i32 16, i32* %48, align 4
%49 = add i64 %5, 16
%50 = inttoptr i64 %49 to i32*
store i32 8, i32* %50, align 4
%51 = add i64 %5, 24
%52 = inttoptr i64 %51 to i32*
store i32 0, i32* %52, align 4
%53 = add i64 %5, 28
%54 = inttoptr i64 %53 to i32*
store i32 8, i32* %54, align 4
%55 = add i64 %5, 20
%56 = inttoptr i64 %55 to i32*
store i32 8, i32* %56, align 4
%57 = add i64 %5, 12
%58 = inttoptr i64 %57 to i32*
store i32 8, i32* %58, align 4
br label LBL_12
LBL_11:
%59 = add i64 %5, 32
%60 = inttoptr i64 %59 to i32*
store i32 24, i32* %60, align 4
%61 = add i64 %5, 8
%62 = inttoptr i64 %61 to i32*
store i32 16, i32* %62, align 4
%63 = add i64 %5, 16
%64 = inttoptr i64 %63 to i32*
store i32 8, i32* %64, align 4
%65 = add i64 %5, 24
%66 = inttoptr i64 %65 to i32*
store i32 0, i32* %66, align 4
%67 = add i64 %5, 36
%68 = inttoptr i64 %67 to i32*
store i32 8, i32* %68, align 4
%69 = add i64 %5, 28
%70 = inttoptr i64 %69 to i32*
store i32 8, i32* %70, align 4
%71 = add i64 %5, 20
%72 = inttoptr i64 %71 to i32*
store i32 8, i32* %72, align 4
%73 = add i64 %5, 12
%74 = inttoptr i64 %73 to i32*
store i32 8, i32* %74, align 4
br label LBL_12
LBL_12:
%75 = add i64 %5, 40
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = add i64 %5, 48
%79 = inttoptr i64 %78 to i32*
%80 = load i32, i32* %79, align 4
%81 = icmp ugt i32 %77, %80
br i1 %81, label LBL_13, label LBL_14
LBL_13:
store i32 %77, i32* %79, align 4
br label LBL_14
LBL_14:
%82 = add i64 %5, 44
%83 = inttoptr i64 %82 to i32*
%84 = load i32, i32* %83, align 4
%85 = add i64 %5, 52
%86 = inttoptr i64 %85 to i32*
%87 = load i32, i32* %86, align 4
%88 = icmp ugt i32 %84, %87
br i1 %88, label LBL_15, label LBL_16
LBL_15:
store i32 %84, i32* %86, align 4
br label LBL_16
LBL_16:
%89 = bitcast i64* %rsi to i32*
%90 = load i32, i32* %89, align 8
%91 = icmp eq i32 %90, 0
br i1 %91, label LBL_20, label LBL_17
LBL_17:
%92 = ptrtoint i64* %arg2 to i64
%93 = add i64 %92, 4
%94 = inttoptr i64 %93 to i32*
%95 = load i32, i32* %94, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label LBL_20, label LBL_18
LBL_18:
%97 = add i64 %92, 8
%98 = inttoptr i64 %97 to i32*
%99 = load i32, i32* %98, align 4
%100 = icmp eq i32 %99, 0
br i1 %100, label LBL_20, label LBL_19
LBL_19:
%101 = call i64 @FUNC(i64 %5, i64 %92)
%102 = trunc i64 %101 to i32
%103 = icmp slt i32 %102, 0
%104 = icmp eq i1 %103, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %104, label LBL_20, label LBL_21
LBL_20:
store i64 0, i64* %rax.0.reg2mem
br label LBL_21
LBL_21:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %92, { 2, 1, 0 }
uselistorder i32* %30, { 1, 0 }
uselistorder i64 %5, { 22, 24, 23, 26, 25, 27, 28, 29, 30, 31, 32, 33, 34, 16, 17, 18, 19, 20, 21, 4, 5, 6, 7, 0, 1, 2, 3, 9, 8, 10, 11, 12, 13, 14, 15, 35 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 4, 3, 2, 5 }
uselistorder i32 16, { 1, 2, 0 }
uselistorder i32 8, { 4, 5, 7, 8, 9, 2, 3, 10, 11, 0, 1, 12, 6 }
uselistorder i32 24, { 1, 0 }
uselistorder i64 4294967274, { 0, 3, 2, 1, 4 }
uselistorder label LBL_21, { 5, 0, 3, 2, 1, 4 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_12, { 2, 3, 1, 0, 4 }
}
|
0
|
CompRealVul
|
crypto_aes_ccm_alloc_ctx_12031
|
crypto_aes_ccm_alloc_ctx
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64* @calloc(i32 1, i32 0)
%1 = icmp eq i64* %0, null
%2 = icmp eq i1 %1, false
store i64 1, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = ptrtoint i64* %0 to i64
store i64 %3, i64* %arg1, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
check_literal_12263
|
check_literal
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%sv_0.0.ph.reg2mem = alloca i32
%sv_1.0.ph.reg2mem = alloca i8*
%2 = load i64, i64* %1
%3 = load i128, i128* %0
%sv_2 = alloca i8*, align 8
%4 = trunc i64 %2 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_16
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%8 = add i64 %7, 4
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = icmp eq i8 %10, 116
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%12 = icmp sgt i8 %10, 116
br i1 %12, label LBL_12, label LBL_3
LBL_3:
switch i8 %10, label LBL_12 [
i8 102, label LBL_5
i8 110, label LBL_6
]
LBL_4:
%13 = call i64 @FUNC()
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem
store i32 4, i32* %sv_0.0.ph.reg2mem
br label LBL_7
LBL_5:
%14 = call i64 @FUNC()
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem
store i32 5, i32* %sv_0.0.ph.reg2mem
br label LBL_7
LBL_6:
%15 = call i64 @FUNC()
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem
store i32 4, i32* %sv_0.0.ph.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
%16 = icmp eq i32 %sv_0.0.ph.reload, %4
store i64 ptrtoint ([16 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem
br i1 %16, label LBL_8, label LBL_16
LBL_8:
%sv_1.0.ph.reload = load i8*, i8** %sv_1.0.ph.reg2mem
%17 = ptrtoint i8* %sv_1.0.ph.reload to i64
store i32 0, i32* %storemerge6.reg2mem
br label LBL_9
LBL_9:
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%18 = sext i32 %storemerge6.reload to i64
%19 = add i64 %8, %18
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = add i64 %18, %17
%23 = inttoptr i64 %22 to i8*
%24 = load i8, i8* %23, align 1
%25 = icmp eq i8 %21, %24
store i64 ptrtoint ([16 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem
br i1 %25, label LBL_10, label LBL_16
LBL_10:
%26 = add nuw i32 %storemerge6.reload, 1
%27 = icmp ult i32 %26, %4
store i32 %26, i32* %storemerge6.reg2mem
br i1 %27, label LBL_9, label LBL_11
LBL_11:
%28 = call i64 @FUNC(i64 %7)
%sext = mul i64 %28, 4294967296
%29 = ashr exact i64 %sext, 32
%30 = call i64 @FUNC(i64 %29)
br label LBL_15
LBL_12:
%sext7 = mul i64 %2, 4294967296
%31 = ashr exact i64 %sext7, 32
%32 = add i64 %31, %8
%33 = inttoptr i64 %32 to i8*
store i8 0, i8* %33, align 1
store i8* null, i8** %sv_2, align 8
%34 = add i64 %7, 264
%35 = bitcast i8** %sv_2 to i64*
%36 = call i64 @FUNC(i64 %34, i64 %8, i64* nonnull %35)
%37 = call i64 @FUNC(i128 %3)
%38 = load i8*, i8** %sv_2, align 8
%39 = icmp eq i8* %38, null
store i64 ptrtoint ([24 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem
br i1 %39, label LBL_16, label LBL_13
LBL_13:
%40 = load i8, i8* %38, align 1
%41 = icmp eq i8 %40, 0
store i64 ptrtoint ([24 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem
br i1 %41, label LBL_14, label LBL_16
LBL_14:
%42 = call i128 @__asm_movq.1(i64 %37)
%43 = call i64 @FUNC(i128 %42)
%44 = call i64 @FUNC(i64 %7)
%sext3 = mul i64 %44, 4294967296
%45 = ashr exact i64 %sext3, 32
%46 = call i64 @FUNC(i64 %45)
br label LBL_15
LBL_15:
%47 = bitcast i64* %arg1 to i32*
store i32 0, i32* %47, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %18, { 1, 0 }
uselistorder i64 %8, { 2, 1, 0, 3 }
uselistorder i64 %7, { 1, 2, 0, 3 }
uselistorder i32 %4, { 1, 0, 2 }
uselistorder i8** %sv_2, { 1, 2, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i8** %sv_1.0.ph.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 4, 5 }
uselistorder i64 ptrtoint ([24 x i8]* @gv_4 to i64), { 1, 0 }
uselistorder i64 (i64)* @TRY, { 1, 0 }
uselistorder i64 32, { 1, 0, 2 }
uselistorder i64 (i64)* @value, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_16, { 5, 2, 1, 0, 3, 4 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
dxva2_mpeg2_end_frame_15317
|
dxva2_mpeg2_end_frame
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = 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 = icmp slt i32 %11, 1
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %12, label LBL_5, label LBL_1
LBL_1:
%13 = add i64 %9, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
%17 = icmp slt i32 %15, 0
%18 = icmp eq i1 %17, false
%19 = icmp eq i1 %16, false
%20 = icmp eq i1 %18, %19
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %20, label LBL_2, label LBL_5
LBL_2:
%21 = add i64 %9, 16
%22 = add i64 %9, 8
%23 = add i64 %7, 8
%24 = call i64 @FUNC(i64 %2, i64 %23, i64 %22, i64 8, i64 %21, i64 8)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_4, label LBL_3
LBL_3:
%28 = trunc i64 %1 to i32
%29 = call i64 @FUNC(i64 %5, i64 0, i32 %28)
br label LBL_4
LBL_4:
%30 = and i64 %24, 4294967295
store i64 %30, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %15, { 1, 0 }
uselistorder i64 %9, { 1, 0, 2, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i64 8, { 1, 0, 2, 3, 4 }
uselistorder label LBL_5, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
jpc_rgn_putparms_9327
|
jpc_rgn_putparms
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg3 to i64
%4 = trunc i64 %2 to i32
%5 = icmp sgt i32 %4, 256
%6 = urem i64 %1, 256
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %3, i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_5
LBL_2:
%10 = call i64 @FUNC(i64 %3, i64 %6)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_3, label LBL_5
LBL_3:
%13 = ptrtoint i64* %arg1 to i64
%14 = add i64 %13, 1
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = zext i8 %16 to i64
%18 = call i64 @FUNC(i64 %3, i64 %17)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = add i64 %13, 2
%23 = inttoptr i64 %22 to i8*
%24 = load i8, i8* %23, align 1
%25 = zext i8 %24 to i64
%26 = call i64 @FUNC(i64 %3, i64 %25)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%spec.select = select i1 %28, i64 0, i64 4294967295
ret i64 %spec.select
LBL_5:
ret i64 4294967295
uselistorder i64 %6, { 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @jpc_putuint8, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
lumRangeToJpeg16_c_16919
|
lumRangeToJpeg16_c
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.lcssa.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = icmp sgt i32 %0, 0
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %1, label LBL_1, label LBL_3
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%wide.trip.count = and i64 %arg2, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%3 = mul i64 %indvars.iv.reload, 4
%4 = add i64 %3, %2
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i32 %6, -483024
%8 = sub i32 483023, %6
%9 = and i32 %8, %6
%10 = icmp slt i32 %9, 0
%11 = icmp eq i32 %7, 0
%12 = icmp slt i32 %7, 0
%13 = icmp eq i1 %12, %10
%14 = icmp eq i1 %11, false
%15 = icmp eq i1 %13, %14
%.op = mul i32 %6, 19077
%.op2 = add i32 %.op, -624917776
%.op2.op = ashr i32 %.op2, 14
%16 = select i1 %15, i32 -13, i32 %.op2.op
store i32 %16, i32* %5, 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 i64 %wide.trip.count, i64* %storemerge.lcssa.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
ret i64 %storemerge.lcssa.reload
uselistorder i32 %7, { 1, 0 }
uselistorder i32 %6, { 2, 0, 1, 3 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
hyper_getpwnam_13330
|
hyper_getpwnam
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%2 = icmp eq %_IO_FILE* %1, null
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = trunc i64 %0 to i32
%5 = inttoptr i64 %arg1 to i8*
br label LBL_3
LBL_2:
call void @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%6 = call %passwd* @fgetpwent(%_IO_FILE* %1)
%7 = icmp eq %passwd* %6, null
br i1 %7, label LBL_7, label LBL_4
LBL_4:
%8 = ptrtoint %passwd* %6 to i64
%9 = bitcast %passwd* %6 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i8*
%12 = call i32 @strcmp(i8* %11, i8* %5)
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_6, label LBL_5
LBL_5:
%14 = add i64 %8, 16
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, %4
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_3, label LBL_6
LBL_6:
%19 = call i32 @fclose(%_IO_FILE* %1)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%20 = call i32 @fclose(%_IO_FILE* %1)
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 %passwd* %6, { 0, 2, 1 }
uselistorder %_IO_FILE* %1, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
get_default_chdir_8620
|
get_default_chdir
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i64
%.pr3.reg2mem = alloca i8*
%storemerge.in7.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8*, align 8
store i8* null, i8** %sv_0, align 8
%2 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 0)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 %2, i64* %storemerge.in7.reg2mem
store i64 0, i64* %.reg2mem
br i1 %4, label LBL_1, label LBL_11
LBL_1:
%storemerge.in7.reload = load i64, i64* %storemerge.in7.reg2mem
%storemerge = inttoptr i64 %storemerge.in7.reload to i32*
%5 = call i64 @FUNC()
%6 = load i32, i32* %storemerge, align 4
%7 = icmp sgt i32 %6, 1
%8 = add i64 %storemerge.in7.reload, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = inttoptr i64 %12 to i8*
store i8* %13, i8** %sv_0, align 8
store i8* %13, i8** %.pr3.reg2mem
br label LBL_7
LBL_3:
%14 = add i64 %10, 8
%15 = call i64 @FUNC(i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = load i64, i64* %9, align 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = inttoptr i64 %20 to i8*
store i8* %21, i8** %sv_0, align 8
store i8* %21, i8** %.pr3.reg2mem
br label LBL_7
LBL_5:
%22 = add i64 %storemerge.in7.reload, 16
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %storemerge.in7.reload, i64 %24, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 0)
%26 = icmp eq i64 %25, 0
%27 = icmp eq i1 %26, false
store i64 %25, i64* %storemerge.in7.reg2mem
br i1 %27, label LBL_1, label LBL_6
LBL_6:
%.pr.pre = load i8*, i8** %sv_0, align 8
store i8* %.pr.pre, i8** %.pr3.reg2mem
br label LBL_7
LBL_7:
%.pr3.reload = load i8*, i8** %.pr3.reg2mem
%28 = icmp eq i8* %.pr3.reload, null
store i64 0, i64* %.reg2mem
br i1 %28, label LBL_11, label LBL_8
LBL_8:
%29 = load i8, i8* %.pr3.reload, align 1
switch i8 %29, label LBL_9 [
i8 47, label LBL_10
i8 126, label LBL_10
]
LBL_9:
%30 = ptrtoint i8* %.pr3.reload to i64
%31 = load i64, i64* @gv_1, align 8
%32 = call i64 @FUNC(i64 %1, i64 %31, i64 %30, i64 0)
%33 = inttoptr i64 %32 to i8*
store i8* %33, i8** %sv_0, align 8
%34 = icmp eq i64 %32, 0
store i64 0, i64* %.reg2mem
br i1 %34, label LBL_11, label LBL_10
LBL_10:
%35 = bitcast i8** %sv_0 to i64*
%36 = call i64 @FUNC(i64 %1, i64* nonnull %35)
%37 = inttoptr i64 %36 to i8*
store i8* %37, i8** %sv_0, align 8
store i64 %36, i64* %.reg2mem
br label LBL_11
LBL_11:
%.reload = load i64, i64* %.reg2mem
ret i64 %.reload
uselistorder i8* %.pr3.reload, { 1, 2, 0 }
uselistorder i64 %10, { 1, 0 }
uselistorder i8** %sv_0, { 5, 6, 4, 0, 3, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.in7.reg2mem, { 2, 0, 1 }
uselistorder i8** %.pr3.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_11, { 2, 3, 1, 0 }
uselistorder label LBL_10, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
buffered_rate_limit_14016
|
buffered_rate_limit
|
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 eq i32 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %1, 4294967295
store i64 %4, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%5 = add i64 %0, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %0, 12
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp ugt i32 %7, %10
%. = zext i1 %11 to i64
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 %0, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
lan9118_eeprom_cmd_3339
|
lan9118_eeprom_cmd
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg1 to i64
%6 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%7 = ashr exact i64 %sext, 32
%sext2 = mul i64 %arg3, 4294967296
%8 = ashr exact i64 %sext2, 32
%9 = trunc i64 %3 to i32
%10 = and i32 %9, 16
%11 = mul i32 %6, 268435456
%12 = trunc i64 %8 to i32
%13 = or i32 %11, %12
%14 = or i32 %13, %10
%15 = bitcast i64* %arg1 to i32*
store i32 %14, i32* %15, align 4
%16 = and i64 %7, 4294967295
store i64 %16, i64* @0, align 8
%17 = mul i64 %16, 8
%18 = add i64 %17, ptrtoint (i64* @gv_0 to i64)
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%trunc = trunc i64 %7 to i32
store i64 %20, i64* %rax.0.reg2mem
switch i32 %trunc, label LBL_19 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_7
i32 5, label LBL_12
i32 6, label LBL_15
i32 7, label LBL_18
]
LBL_1:
%21 = ashr exact i64 %sext2, 30
%22 = add i64 %5, 8
%23 = add i64 %22, %21
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = add i64 %5, 4
%27 = inttoptr i64 %26 to i32*
store i32 %25, i32* %27, align 4
%28 = and i64 %8, 4294967295
%29 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %25, i64 %4, i64 %2, i64 %1)
store i64 %29, i64* %rax.0.reg2mem
br label LBL_19
LBL_2:
%30 = add i64 %5, 520
%31 = inttoptr i64 %30 to i32*
store i32 0, i32* %31, align 4
%32 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %32, i64* %rax.0.reg2mem
br label LBL_19
LBL_3:
%33 = add i64 %5, 520
%34 = inttoptr i64 %33 to i32*
store i32 1, i32* %34, align 4
%35 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %arg2, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %35, i64* %rax.0.reg2mem
br label LBL_19
LBL_4:
%36 = add i64 %5, 520
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label LBL_6, label LBL_5
LBL_5:
%40 = ashr exact i64 %sext2, 30
%41 = add i64 %5, 8
%42 = add i64 %41, %40
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = add i64 %5, 4
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = and i32 %47, %44
%49 = zext i32 %48 to i64
store i32 %48, i32* %43, align 4
%50 = load i32, i32* %46, align 4
%51 = and i64 %8, 4294967295
%52 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %51, i32 %50, i64 %49, i64 %2, i64 %1)
store i64 %52, i64* %rax.0.reg2mem
br label LBL_19
LBL_6:
%53 = and i64 %8, 4294967295
%54 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %53, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %54, i64* %rax.0.reg2mem
br label LBL_19
LBL_7:
%55 = add i64 %5, 520
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label LBL_11, label LBL_8
LBL_8:
%59 = add i64 %5, 8
%60 = add i64 %5, 4
%61 = inttoptr i64 %60 to i32*
store i64 0, i64* %storemerge10.reg2mem
br label LBL_9
LBL_9:
%storemerge10.reload = load i64, i64* %storemerge10.reg2mem
%62 = mul i64 %storemerge10.reload, 4
%63 = add i64 %59, %62
%64 = inttoptr i64 %63 to i32*
%65 = load i32, i32* %64, align 4
%66 = load i32, i32* %61, align 4
%67 = and i32 %66, %65
store i32 %67, i32* %64, align 4
%68 = mul i64 %storemerge10.reload, 4294967296
%sext6 = add i64 %68, 4294967296
%69 = ashr exact i64 %sext6, 32
%70 = trunc i64 %69 to i32
%71 = icmp slt i32 %70, 128
store i64 %69, i64* %storemerge10.reg2mem
br i1 %71, label LBL_9, label LBL_10
LBL_10:
%72 = zext i32 %67 to i64
%73 = load i32, i32* %61, align 4
%74 = zext i32 %73 to i64
%75 = trunc i64 %storemerge10.reload to i32
%76 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64 %74, i32 %75, i64 %72, i64 %2, i64 %1)
store i64 %76, i64* %rax.0.reg2mem
br label LBL_19
LBL_11:
%77 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %77, i64* %rax.0.reg2mem
br label LBL_19
LBL_12:
%78 = add i64 %5, 520
%79 = inttoptr i64 %78 to i32*
%80 = load i32, i32* %79, align 4
%81 = icmp eq i32 %80, 0
br i1 %81, label LBL_14, label LBL_13
LBL_13:
%82 = ashr exact i64 %sext2, 30
%83 = add i64 %5, 8
%84 = add i64 %83, %82
%85 = inttoptr i64 %84 to i32*
store i32 255, i32* %85, align 4
%86 = and i64 %8, 4294967295
%87 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 %86, i32 %12, i64 %4, i64 %2, i64 %1)
store i64 %87, i64* %rax.0.reg2mem
br label LBL_19
LBL_14:
%88 = and i64 %8, 4294967295
%89 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i64 %88, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %89, i64* %rax.0.reg2mem
br label LBL_19
LBL_15:
%90 = add i64 %5, 520
%91 = inttoptr i64 %90 to i32*
%92 = load i32, i32* %91, align 4
%93 = icmp eq i32 %92, 0
br i1 %93, label LBL_17, label LBL_16
LBL_16:
%94 = add i64 %5, 8
%95 = inttoptr i64 %94 to i64*
%96 = call i64* @memset(i64* %95, i32 255, i32 128)
%97 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i64 255, i32 128, i64 %4, i64 %2, i64 %1)
store i64 %97, i64* %rax.0.reg2mem
br label LBL_19
LBL_17:
%98 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_11, i64 0, i64 0), i64 %arg2, i32 %14, i64 %4, i64 %2, i64 %1)
store i64 %98, i64* %rax.0.reg2mem
br label LBL_19
LBL_18:
%99 = call i64 @FUNC(i64 %5)
store i64 %99, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge10.reload, { 0, 2, 1 }
uselistorder i32 %14, { 5, 4, 3, 2, 1, 0, 6 }
uselistorder i32 %12, { 1, 0 }
uselistorder i64 %8, { 4, 3, 2, 1, 0, 5 }
uselistorder i64 %sext2, { 1, 2, 3, 0 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %5, { 14, 13, 12, 11, 10, 8, 7, 9, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64* %storemerge10.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 13 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i32 128, { 1, 2, 0 }
uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @DPRINTF, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 30, { 2, 1, 0 }
uselistorder i64 8, { 1, 2, 3, 4, 5, 0 }
uselistorder i64 4294967295, { 3, 4, 1, 2, 0, 5 }
uselistorder i64 4294967296, { 3, 0, 1, 2 }
uselistorder i64 %arg2, { 4, 3, 2, 1, 0, 5 }
uselistorder label LBL_9, { 1, 0 }
}
|
0
|
CompRealVul
|
impeg2d_dec_user_data_12221
|
impeg2d_dec_user_data
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.lcssa.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 32)
%storemerge2 = trunc i64 %1 to i32
%2 = icmp eq i32 %storemerge2, 178
store i64 %1, i64* %storemerge1.lcssa.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = call i64 @FUNC(i64 %0, i64 32)
%4 = call i64 @FUNC(i64 %0, i64 24)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 27
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_3
LBL_2:
%8 = call i64 @FUNC(i64 %0, i64 8)
%9 = call i64 @FUNC(i64 %0, i64 24)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 27
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_2, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %0, i64 32)
%storemerge = trunc i64 %13 to i32
%14 = icmp eq i32 %storemerge, 178
store i64 %13, i64* %storemerge1.lcssa.reg2mem
br i1 %14, label LBL_1, label LBL_4
LBL_4:
%storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem
ret i64 %storemerge1.lcssa.reload
uselistorder i64 %0, { 2, 3, 1, 0, 4, 5 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 27, { 1, 0 }
uselistorder i64 24, { 1, 0 }
uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 }
uselistorder i32 178, { 1, 0 }
uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 3, 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
ncq_err_17726
|
ncq_err
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %rdi, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i32*
store i32 1, i32* %4, align 4
%5 = add i64 %3, 4
%6 = inttoptr i64 %5 to i32*
store i32 65, i32* %6, align 4
%7 = bitcast i64* %rdi to i32*
%8 = load i32, i32* %7, align 8
%9 = inttoptr i64 %1 to i32*
%10 = load i32, i32* %9, align 4
%11 = urem i32 %10, 32
%12 = shl i32 1, %11
%13 = load i64, i64* %rdi, align 8
%14 = or i32 %12, %8
%15 = inttoptr i64 %13 to i32*
store i32 %14, i32* %15, align 4
ret i64 %13
uselistorder i64 %13, { 1, 0 }
uselistorder i64* %rdi, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
kvaser_usb_leaf_set_opt_mode_17355
|
kvaser_usb_leaf_set_opt_mode
|
define i64 @FUNC(i64* %arg1) 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_2
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
store i32 1, i32* %4, align 4
%5 = add i64 %0, 4
%6 = inttoptr i64 %5 to i32*
store i32 5, i32* %6, align 4
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i8*
store i8 -1, i8* %8, align 1
%9 = bitcast i64* %rdi to i32*
%10 = load i32, i32* %9, align 8
%11 = trunc i32 %10 to i8
%12 = add i64 %0, 9
%13 = inttoptr i64 %12 to i8*
store i8 %11, i8* %13, align 1
%14 = add i64 %3, 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 = add i64 %0, 10
%20 = inttoptr i64 %19 to i8*
%. = select i1 %18, i8 6, i8 5
store i8 %., i8* %20, align 1
%21 = load i32, i32* %6, align 4
%22 = add i64 %3, 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %24, i64 %0, i32 %21)
%26 = call i64 @FUNC(i64 %0)
%27 = and i64 %25, 4294967295
store i64 %27, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
blk_mig_bytes_transferred_1994
|
blk_mig_bytes_transferred
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.01.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = call i64 @FUNC()
store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge2.reg2mem
store i64 0, i64* %sv_0.01.reg2mem
br label LBL_1
LBL_1:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%1 = inttoptr i64 %storemerge2.reload to i64*
%2 = load i64, i64* %1, align 8
%3 = add i64 %2, %sv_0.01.reload
%4 = add i64 %storemerge2.reload, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 %6, i64* %storemerge2.reg2mem
store i64 %3, i64* %sv_0.01.reg2mem
br i1 %8, label LBL_1, label LBL_2
LBL_2:
%9 = call i64 @FUNC()
%10 = mul i64 %3, 512
ret i64 %10
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %storemerge2.reload, { 1, 0 }
uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
do_rt_sigreturn_227
|
do_rt_sigreturn
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 248
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = urem i64 %3, 16
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 1)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_5, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %0, i64 0)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_5, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64 %0)
%15 = call i64 @FUNC(i64 %3, i64 0, i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, -14
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = call i64 @FUNC(i64 0, i64 %3, i64 0)
br label LBL_6
LBL_5:
%19 = call i64 @FUNC(i64 0, i64 %3, i64 0)
%20 = call i64 @FUNC(i64 11)
br label LBL_6
LBL_6:
ret i64 0
uselistorder i64 %3, { 3, 1, 2, 4, 0 }
uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }
uselistorder i64 1, { 1, 0 }
}
|
0
|
CompRealVul
|
usb_ohci_init_4962
|
usb_ohci_init
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64* %arg8) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%indvars.iv8.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 %arg7, i64* %2, align 8
%3 = load i32, i32* @gv_0, align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_4, label LBL_1
LBL_1:
%6 = call i64 @FUNC()
%7 = trunc i64 %6 to i32
store i32 %7, i32* @gv_0, align 4
%8 = call i64 @FUNC()
%9 = and i64 %8, 4294967295
%10 = call i64 @FUNC(i64 1, i64 %9, i64 48000)
%11 = trunc i64 %10 to i32
store i32 %11, i32* @gv_1, align 4
%12 = call i64 @FUNC()
%13 = and i64 %12, 4294967295
%14 = call i64 @FUNC(i64 1, i64 %13, i64 1000)
%15 = trunc i64 %14 to i32
store i32 %15, i32* @gv_0, align 4
%16 = call i64 @FUNC()
%17 = trunc i64 %16 to i32
%18 = icmp slt i32 %17, 48000000
store i32 1, i32* %storemerge5.reg2mem
br i1 %18, label LBL_3, label LBL_2
LBL_2:
%19 = call i64 @FUNC()
%20 = and i64 %19, 4294967295
%21 = call i64 @FUNC(i64 1, i64 %20, i64 48000000)
%22 = trunc i64 %21 to i32
store i32 %22, i32* %storemerge5.reg2mem
br label LBL_3
LBL_3:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
store i32 %storemerge5.reload, i32* @gv_1, align 4
%23 = load i32, i32* @gv_0, align 4
%24 = zext i32 %storemerge5.reload to i64
%25 = zext i32 %23 to i64
%26 = call i64 @FUNC(i64 %25, i64 %24)
br label LBL_4
LBL_4:
%27 = ptrtoint i64* %arg2 to i64
%28 = trunc i64 %arg3 to i32
%29 = bitcast i64* %arg1 to i32*
store i32 %28, i32* %29, align 4
%30 = icmp eq i64 %arg5, 0
br i1 %30, label LBL_9, label LBL_5
LBL_5:
%31 = icmp sgt i32 %28, 0
br i1 %31, label LBL_6, label LBL_8
LBL_6:
%32 = ptrtoint i64* %sv_1 to i64
%33 = add i64 %0, 72
%34 = add i64 %32, -144
%wide.trip.count10 = and i64 %arg3, 4294967295
store i64 0, i64* %indvars.iv8.reg2mem
br label LBL_7
LBL_7:
%indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem
%35 = mul i64 %indvars.iv8.reload, 8
%36 = add i64 %33, %35
%37 = add i64 %34, %35
%38 = inttoptr i64 %37 to i64*
store i64 %36, i64* %38, align 8
%indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1
%exitcond11 = icmp eq i64 %indvars.iv.next9, %wide.trip.count10
store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem
br i1 %exitcond11, label LBL_8, label LBL_7
LBL_8:
%39 = trunc i64 %arg6 to i32
%40 = call i64 @FUNC(i64 %arg5, i64* nonnull %sv_0, i32 %28, i32 %39, i64 %0, i64* nonnull @gv_2)
br label LBL_12
LBL_9:
%41 = add i64 %0, 16
%42 = call i64 @FUNC(i64 %41, i64 8, i64* nonnull @gv_3, i64 %27)
%43 = icmp sgt i32 %28, 0
br i1 %43, label LBL_10, label LBL_12
LBL_10:
%44 = add i64 %0, 72
%wide.trip.count = and i64 %arg3, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_11
LBL_11:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%45 = mul i64 %indvars.iv.reload, 8
%46 = add i64 %44, %45
%47 = call i64 @FUNC(i64 %41, i64 %46, i64 %0, i64 %indvars.iv.reload, i64* nonnull @gv_2, i64 3)
%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
br i1 %exitcond, label LBL_12, label LBL_11
LBL_12:
%48 = call i64 @FUNC(i64 %27)
%49 = add i64 %0, 24
%50 = call i64 @FUNC(i64 %49, i64 %48, i64* nonnull @gv_4, i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 256)
%51 = add i64 %0, 32
%52 = inttoptr i64 %51 to i64*
store i64 %arg4, i64* %52, align 8
%53 = call i64 @FUNC(i64 %27)
%54 = call i64 @FUNC(i64 %53)
%55 = add i64 %0, 40
%56 = inttoptr i64 %55 to i64*
store i64 %54, i64* %56, align 8
%57 = add i64 %0, 48
%58 = call i64 @FUNC(i64 %57)
%59 = add i64 %0, 56
%60 = inttoptr i64 %59 to i32*
store i32 0, i32* %60, align 4
%61 = load i64, i64* @gv_6, align 8
%62 = call i64 @FUNC(i64 0, i64 %61, i64 %0)
%63 = add i64 %0, 64
%64 = inttoptr i64 %63 to i64*
store i64 %62, i64* %64, align 8
ret i64 %62
uselistorder i32 %28, { 0, 2, 1, 3 }
uselistorder i32 %storemerge5.reload, { 1, 0 }
uselistorder i64 %0, { 4, 3, 6, 5, 7, 10, 9, 8, 11, 0, 12, 2, 1, 13 }
uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 (i64)* @OBJECT, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @muldiv64, { 2, 1, 0 }
uselistorder i64 1, { 1, 0, 2, 3, 4 }
uselistorder i64 ()* @get_ticks_per_sec, { 4, 3, 2, 1, 0 }
uselistorder i32 0, { 4, 0, 1, 5, 2, 3 }
uselistorder i32* @gv_0, { 3, 2, 1, 0 }
uselistorder i64 8, { 0, 2, 1, 3 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
JSON_read_10882
|
JSON_read
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1 = alloca i32, align 4
%0 = and i64 %arg1, 4294967295
%1 = bitcast i32* %sv_1 to i64*
%2 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64 4, i64 0)
%3 = trunc i64 %2 to i32
%4 = icmp slt i32 %3, 0
store i64 0, i64* %sv_0.1.reg2mem
br i1 %4, label LBL_5, label LBL_1
LBL_1:
%5 = load i32, i32* %sv_1, align 4
%6 = call i32 @ntohl(i32 %5)
%7 = add i32 %6, 1
%8 = call i64* @malloc(i32 %7)
%9 = icmp eq i64* %8, null
store i64 0, i64* %sv_0.0.reg2mem
br i1 %9, label LBL_4, label LBL_2
LBL_2:
%10 = zext i32 %6 to i64
%11 = call i64 @FUNC(i64 %0, i64* nonnull %8, i64 %10, i64 0)
%12 = trunc i64 %11 to i32
%13 = icmp slt i32 %12, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = ptrtoint i64* %8 to i64
%15 = add i64 %14, %10
%16 = inttoptr i64 %15 to i8*
store i8 0, i8* %16, align 1
%17 = call i64 @FUNC(i64 %14)
store i64 %17, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
call void @free(i64* %8)
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_5
LBL_5:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
ret i64 %sv_0.1.reload
uselistorder i64 %14, { 1, 0 }
uselistorder i64* %8, { 0, 3, 1, 2 }
uselistorder i64 %0, { 1, 0 }
uselistorder void (i64*)* @free, { 1, 0 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder i64 (i64, i64*, i64, i64)* @Nread, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i32 1, { 5, 4, 1, 0, 2, 3 }
}
|
0
|
CompRealVul
|
mysql_fetch_lengths_10640
|
mysql_fetch_lengths
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_2
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
store i64 %5, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
mxf_read_track_14210
|
mxf_read_track
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = icmp eq i32 %2, 19201
br i1 %3, label LBL_7, label LBL_1
LBL_1:
%4 = icmp sgt i32 %2, 19201
br i1 %4, label LBL_9, label LBL_2
LBL_2:
%5 = icmp eq i32 %2, 18436
br i1 %5, label LBL_6, label LBL_3
LBL_3:
%6 = icmp sgt i32 %2, 18436
br i1 %6, label LBL_9, label LBL_4
LBL_4:
switch i32 %2, label LBL_9 [
i32 18433, label LBL_5
i32 18435, label LBL_8
]
LBL_5:
%7 = call i64 @FUNC(i64 %0)
%8 = trunc i64 %7 to i32
%9 = bitcast i64* %arg1 to i32*
store i32 %8, i32* %9, align 4
br label LBL_9
LBL_6:
%10 = add i64 %1, 4
%11 = call i64 @FUNC(i64 %0, i64 %10, i64 4)
br label LBL_9
LBL_7:
%12 = call i64 @FUNC(i64 %0)
%13 = trunc i64 %12 to i32
%14 = add i64 %1, 12
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
%16 = call i64 @FUNC(i64 %0)
%17 = trunc i64 %16 to i32
%18 = add i64 %1, 8
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
br label LBL_9
LBL_8:
%20 = add i64 %1, 16
%21 = call i64 @FUNC(i64 %0, i64 %20, i64 16)
br label LBL_9
LBL_9:
ret i64 0
uselistorder i32 %2, { 3, 2, 1, 0, 4 }
uselistorder i64 %1, { 2, 0, 1, 3 }
uselistorder i64 %0, { 0, 3, 4, 2, 1 }
uselistorder i64 (i64, i64, i64)* @avio_read, { 1, 0 }
uselistorder i64 (i64)* @avio_rb32, { 2, 1, 0 }
uselistorder i32 18436, { 1, 0 }
uselistorder i32 19201, { 1, 0 }
uselistorder label LBL_9, { 1, 2, 3, 4, 0, 5, 6 }
}
|
1
|
CompRealVul
|
cirrus_bitblt_videotovideo_copy_11711
|
cirrus_bitblt_videotovideo_copy
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = trunc i64 %1 to i32
%7 = add i64 %2, 16
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %2, 12
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %2, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = sub i32 %15, %6
%17 = add i64 %2, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = sub i32 %19, %6
%21 = zext i32 %12 to i64
%22 = zext i32 %16 to i64
%23 = call i64 @FUNC(i64 %2, i32 %20, i64 %22, i64 %21, i32 %9)
store i64 1, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %6, { 1, 0 }
uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
decode_read_10196
|
decode_read
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 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 = and i64 %1, 4294967295
store i64 %4, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%5 = ptrtoint i64* %arg3 to i64
%6 = call i64 @FUNC(i64 %0, i64 0)
%7 = bitcast i64* %arg3 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %5, 4
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, 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* %storemerge.reg2mem, { 0, 2, 1 }
}
|
0
|
CompRealVul
|
virtio_net_bad_features_6597
|
virtio_net_bad_features
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = urem i64 %1, 32
ret i64 %2
}
|
0
|
CompRealVul
|
read_SubStreamsInfo_7673
|
read_SubStreamsInfo
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.2.in.reg2mem = alloca i8
%sv_1.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32*
%sv_3.1.reg2mem = alloca i8*
%sv_3.015.reg2mem = alloca i8*
%sv_2.016.reg2mem = alloca i32*
%sv_1.017.reg2mem = alloca i32
%sv_4.018.reg2mem = alloca i32
%sv_3.221.reg2mem = alloca i8*
%sv_2.222.reg2mem = alloca i32*
%sv_1.223.reg2mem = alloca i32
%storemerge24.reg2mem = alloca i32
%.reg2mem68 = alloca i64
%sv_5.1.lcssa.reg2mem = alloca i32
%sv_5.0.reg2mem = alloca i32
%sv_5.125.reg2mem = alloca i32
%storemerge426.reg2mem = alloca i32
%.reg2mem66 = alloca i64
%storemerge528.reg2mem = alloca i32
%.reg2mem64 = alloca i64
%sv_0.1.in.reg2mem = alloca i8
%sv_6.2.reg2mem = alloca i64
%sv_7.1.reg2mem = alloca i64
%sv_6.1.reg2mem = alloca i64
%sv_6.029.reg2mem = alloca i64
%sv_7.030.reg2mem = alloca i64
%storemerge731.reg2mem = alloca i32
%sv_6.334.reg2mem = alloca i64
%storemerge635.reg2mem = alloca i32
%.reg2mem62 = alloca i64
%sv_8.1.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i8
%sv_8.0.lcssa.reg2mem = alloca i64
%sv_8.036.reg2mem = alloca i64
%storemerge837.reg2mem = alloca i32
%.reg2mem60 = alloca i64
%storemerge939.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = ptrtoint i64* %arg3 to i64
%2 = load i64, i64* %0
%sv_9 = alloca i64, align 8
%3 = call i64* @memset(i64* %arg2, i32 0, i32 32)
%4 = icmp eq i64 %arg4, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge939.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%storemerge939.reload = load i32, i32* %storemerge939.reg2mem
%.reload = load i64, i64* %.reg2mem
%5 = mul i64 %.reload, 16
%6 = add i64 %5, %1
%7 = inttoptr i64 %6 to i64*
store i64 1, i64* %7, align 8
%8 = add i32 %storemerge939.reload, 1
%9 = zext i32 %8 to i64
%10 = icmp ult i64 %9, %arg4
store i64 %9, i64* %.reg2mem
store i32 %8, i32* %storemerge939.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_2:
%11 = ptrtoint i64* %arg1 to i64
%12 = call i64 @FUNC(i64 %11, i64 1)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_46
LBL_3:
%15 = inttoptr i64 %12 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp eq i8 %16, 0
%18 = icmp eq i1 %17, false
store i8 %16, i8* %sv_0.0.in.reg2mem
store i64 %arg4, i64* %sv_8.1.reg2mem
br i1 %18, label LBL_10, label LBL_4
LBL_4:
store i64 0, i64* %.reg2mem60
store i32 0, i32* %storemerge837.reg2mem
store i64 0, i64* %sv_8.036.reg2mem
store i64 0, i64* %sv_8.0.lcssa.reg2mem
br i1 %4, label LBL_8, label LBL_5
LBL_5:
%.reload61 = load i64, i64* %.reg2mem60
%19 = mul i64 %.reload61, 16
%20 = add i64 %19, %1
%21 = call i64 @FUNC(i64 %11, i64 %20)
%22 = trunc i64 %21 to i32
%23 = icmp slt i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %24, label LBL_6, label LBL_46
LBL_6:
%25 = inttoptr i64 %20 to i64*
%26 = load i64, i64* %25, align 8
%27 = icmp ult i64 %26, 17
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %27, label LBL_7, label LBL_46
LBL_7:
%sv_8.036.reload = load i64, i64* %sv_8.036.reg2mem
%storemerge837.reload = load i32, i32* %storemerge837.reg2mem
%28 = add i64 %26, %sv_8.036.reload
%29 = add i32 %storemerge837.reload, 1
%30 = zext i32 %29 to i64
%31 = icmp ult i64 %30, %arg4
store i64 %30, i64* %.reg2mem60
store i32 %29, i32* %storemerge837.reg2mem
store i64 %28, i64* %sv_8.036.reg2mem
store i64 %28, i64* %sv_8.0.lcssa.reg2mem
br i1 %31, label LBL_5, label LBL_8
LBL_8:
%32 = call i64 @FUNC(i64 %11, i64 1)
%33 = icmp eq i64 %32, 0
%34 = icmp eq i1 %33, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_9, label LBL_46
LBL_9:
%sv_8.0.lcssa.reload = load i64, i64* %sv_8.0.lcssa.reg2mem
%35 = inttoptr i64 %32 to i8*
%36 = load i8, i8* %35, align 1
store i8 %36, i8* %sv_0.0.in.reg2mem
store i64 %sv_8.0.lcssa.reload, i64* %sv_8.1.reg2mem
br label LBL_10
LBL_10:
%37 = ptrtoint i64* %arg2 to i64
%sv_8.1.reload = load i64, i64* %sv_8.1.reg2mem
%sv_0.0.in.reload = load i8, i8* %sv_0.0.in.reg2mem
store i64 %sv_8.1.reload, i64* %arg2, align 8
%38 = icmp eq i64 %sv_8.1.reload, 0
br i1 %38, label LBL_13, label LBL_11
LBL_11:
%39 = trunc i64 %sv_8.1.reload to i32
%40 = call i64* @calloc(i32 %39, i32 8)
%41 = ptrtoint i64* %40 to i64
%42 = add i64 %37, 8
%43 = inttoptr i64 %42 to i64*
store i64 %41, i64* %43, align 8
%44 = call i64* @calloc(i32 %39, i32 1)
%45 = ptrtoint i64* %44 to i64
%46 = add i64 %37, 16
%47 = inttoptr i64 %46 to i64*
store i64 %45, i64* %47, align 8
%48 = call i64* @calloc(i32 %39, i32 4)
%49 = ptrtoint i64* %48 to i64
%50 = add i64 %37, 24
%51 = inttoptr i64 %50 to i64*
store i64 %49, i64* %51, align 8
%52 = load i64, i64* %43, align 8
%53 = icmp eq i64 %52, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %53, label LBL_46, label LBL_12
LBL_12:
%54 = load i64, i64* %47, align 8
%55 = icmp ne i64 %54, 0
%56 = icmp eq i64* %48, null
%57 = icmp eq i1 %56, false
%or.cond = icmp eq i1 %57, %55
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_13, label LBL_46
LBL_13:
br i1 %4, label LBL_21, label LBL_14
LBL_14:
%58 = add i64 %37, 8
%59 = inttoptr i64 %58 to i64*
%60 = load i64, i64* %59, align 8
%61 = icmp eq i8 %sv_0.0.in.reload, 1
store i64 0, i64* %.reg2mem62
store i32 0, i32* %storemerge635.reg2mem
store i64 %60, i64* %sv_6.334.reg2mem
br label LBL_15
LBL_15:
%sv_6.334.reload = load i64, i64* %sv_6.334.reg2mem
%storemerge635.reload = load i32, i32* %storemerge635.reg2mem
%.reload63 = load i64, i64* %.reg2mem62
%62 = mul i64 %.reload63, 16
%63 = add i64 %62, %1
%64 = inttoptr i64 %63 to i64*
%65 = load i64, i64* %64, align 8
%66 = icmp eq i64 %65, 0
store i64 %sv_6.334.reload, i64* %sv_6.2.reg2mem
br i1 %66, label LBL_20, label LBL_16
LBL_16:
%67 = icmp ne i64 %65, 1
%or.cond46 = icmp eq i1 %61, %67
store i32 1, i32* %storemerge731.reg2mem
store i64 0, i64* %sv_7.030.reg2mem
store i64 %sv_6.334.reload, i64* %sv_6.029.reg2mem
store i64 %sv_6.334.reload, i64* %sv_6.1.reg2mem
store i64 0, i64* %sv_7.1.reg2mem
br i1 %or.cond46, label LBL_17, label LBL_19
LBL_17:
%sv_6.029.reload = load i64, i64* %sv_6.029.reg2mem
%68 = call i64 @FUNC(i64 %11, i64 %sv_6.029.reload)
%69 = trunc i64 %68 to i32
%70 = icmp slt i32 %69, 0
%71 = icmp eq i1 %70, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %71, label LBL_18, label LBL_46
LBL_18:
%sv_7.030.reload = load i64, i64* %sv_7.030.reg2mem
%storemerge731.reload = load i32, i32* %storemerge731.reg2mem
%72 = add i64 %sv_6.029.reload, 8
%73 = inttoptr i64 %sv_6.029.reload to i64*
%74 = load i64, i64* %73, align 8
%75 = add i64 %74, %sv_7.030.reload
%76 = add i32 %storemerge731.reload, 1
%77 = zext i32 %76 to i64
%78 = load i64, i64* %64, align 8
%79 = icmp ugt i64 %78, %77
store i32 %76, i32* %storemerge731.reg2mem
store i64 %75, i64* %sv_7.030.reg2mem
store i64 %72, i64* %sv_6.029.reg2mem
store i64 %72, i64* %sv_6.1.reg2mem
store i64 %75, i64* %sv_7.1.reg2mem
br i1 %79, label LBL_17, label LBL_19
LBL_19:
%sv_7.1.reload = load i64, i64* %sv_7.1.reg2mem
%sv_6.1.reload = load i64, i64* %sv_6.1.reg2mem
%80 = call i64 @FUNC(i64 %63)
%81 = add i64 %sv_6.1.reload, 8
%82 = sub i64 %80, %sv_7.1.reload
%83 = inttoptr i64 %sv_6.1.reload to i64*
store i64 %82, i64* %83, align 8
store i64 %81, i64* %sv_6.2.reg2mem
br label LBL_20
LBL_20:
%sv_6.2.reload = load i64, i64* %sv_6.2.reg2mem
%84 = add i32 %storemerge635.reload, 1
%85 = zext i32 %84 to i64
%86 = icmp ult i64 %85, %arg4
store i64 %85, i64* %.reg2mem62
store i32 %84, i32* %storemerge635.reg2mem
store i64 %sv_6.2.reload, i64* %sv_6.334.reg2mem
br i1 %86, label LBL_15, label LBL_21
LBL_21:
%87 = icmp eq i8 %sv_0.0.in.reload, 1
%88 = icmp eq i1 %87, false
store i8 %sv_0.0.in.reload, i8* %sv_0.1.in.reg2mem
br i1 %88, label LBL_24, label LBL_22
LBL_22:
%89 = call i64 @FUNC(i64 %11, i64 1)
%90 = icmp eq i64 %89, 0
%91 = icmp eq i1 %90, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %91, label LBL_23, label LBL_46
LBL_23:
%92 = inttoptr i64 %89 to i8*
%93 = load i8, i8* %92, align 1
store i8 %93, i8* %sv_0.1.in.reg2mem
br label LBL_24
LBL_24:
%sv_0.1.in.reload = load i8, i8* %sv_0.1.in.reg2mem
br i1 %38, label LBL_27, label LBL_25
LBL_25:
%94 = add i64 %37, 16
%95 = inttoptr i64 %94 to i64*
%96 = add i64 %37, 24
%97 = inttoptr i64 %96 to i64*
store i64 0, i64* %.reg2mem64
store i32 0, i32* %storemerge528.reg2mem
br label LBL_26
LBL_26:
%storemerge528.reload = load i32, i32* %storemerge528.reg2mem
%.reload65 = load i64, i64* %.reg2mem64
%98 = load i64, i64* %95, align 8
%99 = add i64 %98, %.reload65
%100 = inttoptr i64 %99 to i8*
store i8 0, i8* %100, align 1
%101 = load i64, i64* %97, align 8
%102 = mul i64 %.reload65, 4
%103 = add i64 %101, %102
%104 = inttoptr i64 %103 to i32*
store i32 0, i32* %104, align 4
%105 = add i32 %storemerge528.reload, 1
%106 = zext i32 %105 to i64
%107 = icmp ugt i64 %sv_8.1.reload, %106
store i64 %106, i64* %.reg2mem64
store i32 %105, i32* %storemerge528.reg2mem
br i1 %107, label LBL_26, label LBL_27
LBL_27:
store i64 0, i64* %.reg2mem66
store i32 0, i32* %storemerge426.reg2mem
store i32 0, i32* %sv_5.125.reg2mem
store i32 0, i32* %sv_5.1.lcssa.reg2mem
br i1 %4, label LBL_32, label LBL_28
LBL_28:
%sv_5.125.reload = load i32, i32* %sv_5.125.reg2mem
%storemerge426.reload = load i32, i32* %storemerge426.reg2mem
%.reload67 = load i64, i64* %.reg2mem66
%108 = mul i64 %.reload67, 16
%109 = add i64 %108, %1
%110 = inttoptr i64 %109 to i64*
%111 = load i64, i64* %110, align 8
%112 = icmp eq i64 %111, 1
%113 = icmp eq i1 %112, false
br i1 %113, label LBL_30, label LBL_29
LBL_29:
%114 = add i64 %109, 8
%115 = inttoptr i64 %114 to i32*
%116 = load i32, i32* %115, align 4
%117 = icmp eq i32 %116, 0
%118 = icmp eq i1 %117, false
store i32 %sv_5.125.reload, i32* %sv_5.0.reg2mem
br i1 %118, label LBL_31, label LBL_30
LBL_30:
%119 = trunc i64 %111 to i32
%120 = add i32 %sv_5.125.reload, %119
store i32 %120, i32* %sv_5.0.reg2mem
br label LBL_31
LBL_31:
%sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem
%121 = add i32 %storemerge426.reload, 1
%122 = zext i32 %121 to i64
%123 = icmp ult i64 %122, %arg4
store i64 %122, i64* %.reg2mem66
store i32 %121, i32* %storemerge426.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.125.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.1.lcssa.reg2mem
br i1 %123, label LBL_28, label LBL_32
LBL_32:
%124 = icmp eq i8 %sv_0.1.in.reload, 2
%125 = icmp eq i1 %124, false
store i8 %sv_0.1.in.reload, i8* %sv_0.2.in.reg2mem
br i1 %125, label LBL_45, label LBL_33
LBL_33:
%sv_5.1.lcssa.reload = load i32, i32* %sv_5.1.lcssa.reg2mem
%126 = add i64 %37, 16
%127 = inttoptr i64 %126 to i64*
%128 = load i64, i64* %127, align 8
%129 = add i64 %37, 24
%130 = inttoptr i64 %129 to i64*
%131 = load i64, i64* %130, align 8
%132 = call i64* @memset(i64* nonnull %sv_9, i32 0, i32 16)
%133 = call i64 @FUNC(i64 %11, i64* nonnull %sv_9, i32 %sv_5.1.lcssa.reload)
%134 = trunc i64 %133 to i32
%135 = icmp slt i32 %134, 0
%136 = icmp eq i1 %135, false
br i1 %136, label LBL_34, label LBL_36
LBL_34:
br i1 %4, label LBL_43, label LBL_35
LBL_35:
%137 = inttoptr i64 %128 to i8*
%138 = inttoptr i64 %131 to i32*
store i64 0, i64* %.reg2mem68
store i32 0, i32* %storemerge24.reg2mem
store i32 0, i32* %sv_1.223.reg2mem
store i32* %138, i32** %sv_2.222.reg2mem
store i8* %137, i8** %sv_3.221.reg2mem
br label LBL_37
LBL_36:
%139 = call i64 @FUNC(i64* nonnull %sv_9)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_46
LBL_37:
%sv_3.221.reload = load i8*, i8** %sv_3.221.reg2mem
%sv_2.222.reload = load i32*, i32** %sv_2.222.reg2mem
%sv_1.223.reload = load i32, i32* %sv_1.223.reg2mem
%storemerge24.reload = load i32, i32* %storemerge24.reg2mem
%.reload69 = load i64, i64* %.reg2mem68
%140 = mul i64 %.reload69, 16
%141 = add i64 %140, %1
%142 = inttoptr i64 %141 to i64*
%143 = load i64, i64* %142, align 8
%144 = icmp eq i64 %143, 1
%145 = icmp eq i1 %144, false
br i1 %145, label LBL_40, label LBL_38
LBL_38:
%146 = add i64 %141, 8
%147 = inttoptr i64 %146 to i32*
%148 = load i32, i32* %147, align 4
%149 = icmp eq i32 %148, 0
br i1 %149, label LBL_40, label LBL_39
LBL_39:
%150 = ptrtoint i8* %sv_3.221.reload to i64
%151 = add i64 %150, 1
%152 = inttoptr i64 %151 to i8*
store i8 1, i8* %sv_3.221.reload, align 1
%153 = ptrtoint i32* %sv_2.222.reload to i64
%154 = add i64 %153, 4
%155 = inttoptr i64 %154 to i32*
%156 = add i64 %141, 12
%157 = inttoptr i64 %156 to i32*
%158 = load i32, i32* %157, align 4
store i32 %158, i32* %sv_2.222.reload, align 4
store i8* %152, i8** %sv_3.1.reg2mem
store i32* %155, i32** %sv_2.1.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.1.reg2mem
br label LBL_42
LBL_40:
%159 = icmp eq i64 %143, 0
store i32 0, i32* %sv_4.018.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.017.reg2mem
store i32* %sv_2.222.reload, i32** %sv_2.016.reg2mem
store i8* %sv_3.221.reload, i8** %sv_3.015.reg2mem
store i8* %sv_3.221.reload, i8** %sv_3.1.reg2mem
store i32* %sv_2.222.reload, i32** %sv_2.1.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.1.reg2mem
br i1 %159, label LBL_42, label LBL_41
LBL_41:
%sv_3.015.reload = load i8*, i8** %sv_3.015.reg2mem
%sv_2.016.reload = load i32*, i32** %sv_2.016.reg2mem
%sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem
%sv_4.018.reload = load i32, i32* %sv_4.018.reg2mem
%160 = load i64, i64* %sv_9, align 8
%161 = sext i32 %sv_1.017.reload to i64
%162 = add i64 %160, %161
%163 = ptrtoint i8* %sv_3.015.reload to i64
%164 = add i64 %163, 1
%165 = inttoptr i64 %164 to i8*
%166 = inttoptr i64 %162 to i8*
%167 = load i8, i8* %166, align 1
store i8 %167, i8* %sv_3.015.reload, align 1
%168 = mul i64 %161, 4
%169 = add i64 %168, %2
%170 = ptrtoint i32* %sv_2.016.reload to i64
%171 = add i64 %170, 4
%172 = inttoptr i64 %171 to i32*
%173 = inttoptr i64 %169 to i32*
%174 = load i32, i32* %173, align 4
store i32 %174, i32* %sv_2.016.reload, align 4
%175 = add i32 %sv_4.018.reload, 1
%176 = add i32 %sv_1.017.reload, 1
%177 = zext i32 %175 to i64
%178 = load i64, i64* %142, align 8
%179 = icmp ugt i64 %178, %177
store i32 %175, i32* %sv_4.018.reg2mem
store i32 %176, i32* %sv_1.017.reg2mem
store i32* %172, i32** %sv_2.016.reg2mem
store i8* %165, i8** %sv_3.015.reg2mem
store i8* %165, i8** %sv_3.1.reg2mem
store i32* %172, i32** %sv_2.1.reg2mem
store i32 %176, i32* %sv_1.1.reg2mem
br i1 %179, label LBL_41, label LBL_42
LBL_42:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%sv_2.1.reload = load i32*, i32** %sv_2.1.reg2mem
%sv_3.1.reload = load i8*, i8** %sv_3.1.reg2mem
%180 = add i32 %storemerge24.reload, 1
%181 = zext i32 %180 to i64
%182 = icmp ult i64 %181, %arg4
store i64 %181, i64* %.reg2mem68
store i32 %180, i32* %storemerge24.reg2mem
store i32 %sv_1.1.reload, i32* %sv_1.223.reg2mem
store i32* %sv_2.1.reload, i32** %sv_2.222.reg2mem
store i8* %sv_3.1.reload, i8** %sv_3.221.reg2mem
br i1 %182, label LBL_37, label LBL_43
LBL_43:
%183 = call i64 @FUNC(i64* nonnull %sv_9)
%184 = call i64 @FUNC(i64 %11, i64 1)
%185 = icmp eq i64 %184, 0
%186 = icmp eq i1 %185, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %186, label LBL_44, label LBL_46
LBL_44:
%187 = inttoptr i64 %184 to i8*
%188 = load i8, i8* %187, align 1
store i8 %188, i8* %sv_0.2.in.reg2mem
br label LBL_45
LBL_45:
%sv_0.2.in.reload = load i8, i8* %sv_0.2.in.reg2mem
%189 = icmp eq i8 %sv_0.2.in.reload, 3
%. = select i1 %189, i64 0, i64 4294967295
store i64 %., i64* %rax.0.reg2mem
br label LBL_46
LBL_46:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %sv_2.016.reload, { 1, 0 }
uselistorder i8* %sv_3.015.reload, { 1, 0 }
uselistorder i32 %sv_1.223.reload, { 0, 2, 1 }
uselistorder i32* %sv_2.222.reload, { 0, 1, 3, 2 }
uselistorder i8* %sv_3.221.reload, { 0, 1, 3, 2 }
uselistorder i32 %sv_5.125.reload, { 1, 0 }
uselistorder i64 %.reload65, { 1, 0 }
uselistorder i64 %sv_6.1.reload, { 1, 0 }
uselistorder i64 %sv_6.334.reload, { 1, 2, 0 }
uselistorder i64 %sv_8.1.reload, { 3, 1, 2, 0 }
uselistorder i64 %37, { 4, 3, 5, 6, 7, 0, 1, 2 }
uselistorder i64 %11, { 3, 4, 2, 5, 0, 1, 6 }
uselistorder i64* %sv_9, { 0, 4, 1, 2, 3 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge939.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem60, { 2, 0, 1 }
uselistorder i32* %storemerge837.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_8.036.reg2mem, { 2, 0, 1 }
uselistorder i8* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_8.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem62, { 1, 0, 2 }
uselistorder i32* %storemerge635.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_6.334.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge731.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_7.030.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_6.029.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem64, { 1, 0, 2 }
uselistorder i32* %storemerge528.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem66, { 2, 0, 1 }
uselistorder i32* %storemerge426.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_5.125.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem68, { 2, 0, 1 }
uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.223.reg2mem, { 2, 0, 1 }
uselistorder i32** %sv_2.222.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_3.221.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_4.018.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.017.reg2mem, { 2, 0, 1 }
uselistorder i32** %sv_2.016.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_3.015.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 11, 6, 3, 8, 7, 9, 1, 2, 10 }
uselistorder i64 (i64*)* @free_Digest, { 1, 0 }
uselistorder i64 4, { 2, 0, 3, 1 }
uselistorder i8 1, { 2, 1, 0 }
uselistorder i64 8, { 0, 1, 3, 2, 4, 5, 6 }
uselistorder i64* (i32, i32)* @calloc, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @parse_7zip_uint64, { 1, 0 }
uselistorder i8 0, { 1, 0 }
uselistorder i1 false, { 2, 1, 5, 6, 3, 4, 8, 9, 7, 0, 11, 10, 12, 13 }
uselistorder i64 (i64, i64)* @header_bytes, { 3, 2, 1, 0 }
uselistorder i64 1, { 3, 7, 8, 2, 1, 4, 0, 5, 6, 9, 10 }
uselistorder i64 16, { 0, 5, 1, 6, 2, 7, 3, 4 }
uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }
uselistorder i32 0, { 0, 12, 1, 2, 14, 10, 13, 3, 4, 5, 15, 6, 16, 7, 17, 8, 9, 11 }
uselistorder i64 %arg4, { 2, 3, 4, 5, 0, 6, 1 }
uselistorder i64* %arg2, { 0, 2, 1 }
uselistorder label LBL_46, { 4, 5, 10, 6, 2, 3, 7, 8, 0, 1, 9 }
uselistorder label LBL_41, { 1, 0 }
uselistorder label LBL_37, { 1, 0 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
qmp_stop_15720
|
qmp_stop
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 1)
ret i64 %0
}
|
1
|
CompRealVul
|
decode_cabac_field_decoding_flag_18746
|
decode_cabac_field_decoding_flag
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%sext = mul i64 %1, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 2
%9 = sub nsw i64 %2, %8
%10 = add i64 %3, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %3, 12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
%18 = zext i1 %17 to i32
%19 = and i32 %12, %18
%20 = add i64 %3, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = mul i64 %9, 4
%24 = add i64 %23, %22
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = udiv i32 %26, 128
%28 = add i64 %3, 24
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = add i64 %30, %23
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = add i64 %3, 32
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = icmp eq i32 %33, %36
%38 = zext i1 %37 to i32
%39 = and i32 %27, %38
%narrow = add nuw nsw i32 %39, %19
%40 = add i64 %3, 36
%narrow2 = mul i32 %narrow, 4
%41 = add nuw nsw i32 %narrow2, 280
%42 = zext i32 %41 to i64
%43 = add i64 %40, %42
%44 = call i64 @FUNC(i64 %40, i64 %43)
ret i64 %44
uselistorder i64 %40, { 1, 0 }
uselistorder i64 %23, { 1, 0 }
uselistorder i64 32, { 1, 0 }
}
|
1
|
CompRealVul
|
usb_xhci_post_load_10471
|
usb_xhci_post_load
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge4.reg2mem = alloca i32
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge27.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = add i64 %2, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9, i64 %6)
%11 = trunc i64 %1 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_13, label LBL_1
LBL_1:
%13 = bitcast i64* %rdi to i32*
%14 = bitcast i32* %sv_0 to i64*
store i32 1, i32* %storemerge27.reg2mem
br label LBL_2
LBL_2:
%storemerge27.reload = load i32, i32* %storemerge27.reg2mem
%15 = add i32 %storemerge27.reload, -1
%16 = sext i32 %15 to i64
%17 = mul nsw i64 %16, 280
%18 = add i64 %17, %4
%19 = add i64 %18, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label LBL_12, label LBL_3
LBL_3:
%23 = add i64 %18, 8
%24 = mul i32 %storemerge27.reload, 8
%25 = sext i32 %24 to i64
%26 = add i64 %10, %25
%27 = call i64 @FUNC(i64 %3, i64 %26)
%28 = call i64 @FUNC(i64 %27)
%29 = add i64 %18, 24
%30 = inttoptr i64 %29 to i64*
store i64 %28, i64* %30, align 8
%31 = call i64 @FUNC(i64 %2, i64 %28, i64* nonnull %sv_1, i64 16)
%32 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1)
%33 = inttoptr i64 %23 to i64*
store i64 %32, i64* %33, align 8
%34 = icmp eq i64 %32, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_5, label LBL_4
LBL_4:
%36 = add i64 %18, 280
%37 = inttoptr i64 %36 to i32*
store i32 0, i32* %37, align 4
store i32 0, i32* %20, align 4
br label LBL_12
LBL_5:
%38 = inttoptr i64 %32 to i64*
%39 = load i64, i64* %38, align 8
%40 = icmp eq i64 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_7, label LBL_6
LBL_6:
call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))
br label LBL_7
LBL_7:
%42 = zext i32 %storemerge27.reload to i64
store i64 1, i64* %indvars.iv.reg2mem
br label LBL_8
LBL_8:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%43 = load i64, i64* %30, align 8
%44 = mul i64 %indvars.iv.reload, 32
%45 = add i64 %43, %44
%46 = call i64 @FUNC(i64 %2, i64 %45, i64* nonnull %14, i64 20)
%47 = load i32, i32* %sv_0, align 4
%48 = urem i32 %47, 4
%49 = icmp eq i32 %48, 0
br i1 %49, label LBL_11, label LBL_9
LBL_9:
%50 = trunc i64 %indvars.iv.reload to i32
%51 = call i64 @FUNC(i64 %2, i64 %42, i32 %50)
%52 = mul i64 %indvars.iv.reload, 8
%53 = add i64 %29, %52
%54 = inttoptr i64 %53 to i64*
store i64 %51, i64* %54, align 8
%55 = call i64 @FUNC(i64 %51, i64 %45, i64* nonnull %14)
%56 = inttoptr i64 %51 to i32*
store i32 %48, i32* %56, align 4
%57 = icmp eq i32 %48, 1
%58 = icmp eq i1 %57, false
br i1 %58, label LBL_11, label LBL_10
LBL_10:
%59 = call i64 @FUNC(i64 0)
%60 = add i64 %51, 8
%61 = inttoptr i64 %60 to i64*
%62 = load i64, i64* %61, align 8
%63 = call i64 @FUNC(i64 %62, i64 %59)
br label LBL_11
LBL_11:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_12, label LBL_8
LBL_12:
%64 = add i32 %storemerge27.reload, 1
%65 = load i32, i32* %13, align 8
%66 = zext i32 %65 to i64
%67 = sext i32 %64 to i64
%68 = icmp sgt i64 %67, %66
store i32 %64, i32* %storemerge27.reg2mem
br i1 %68, label LBL_13, label LBL_2
LBL_13:
%69 = add i64 %2, 9048
%70 = inttoptr i64 %69 to i32*
%71 = load i32, i32* %70, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label LBL_19, label LBL_14
LBL_14:
%73 = add i64 %2, 8984
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge4.reg2mem
br label LBL_15
LBL_15:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%.reload = load i64, i64* %.reg2mem
%74 = mul i64 %.reload, 4
%75 = add i64 %73, %74
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = icmp eq i32 %77, 0
%79 = zext i32 %storemerge4.reload to i64
br i1 %78, label LBL_17, label LBL_16
LBL_16:
%80 = call i64 @FUNC(i64 %3, i64 %79)
br label LBL_18
LBL_17:
%81 = call i64 @FUNC(i64 %3, i64 %79)
br label LBL_18
LBL_18:
%82 = add i32 %storemerge4.reload, 1
%83 = load i32, i32* %70, align 4
%84 = zext i32 %83 to i64
%85 = sext i32 %82 to i64
%86 = icmp slt i64 %85, %84
store i64 %85, i64* %.reg2mem
store i32 %82, i32* %storemerge4.reg2mem
br i1 %86, label LBL_15, label LBL_19
LBL_19:
ret i64 0
uselistorder i64 %79, { 1, 0 }
uselistorder i32* %70, { 1, 0 }
uselistorder i32 %48, { 2, 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 }
uselistorder i64 %32, { 1, 0, 2 }
uselistorder i64 %18, { 0, 1, 3, 2 }
uselistorder i32 %storemerge27.reload, { 2, 0, 3, 1 }
uselistorder i64 %3, { 1, 2, 0 }
uselistorder i64 %2, { 0, 5, 1, 2, 4, 3, 6, 7, 8 }
uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64, i64, i64*, i64)* @xhci_dma_read_u32s, { 1, 0 }
uselistorder i64 8, { 1, 0, 2, 3 }
uselistorder i64 16, { 1, 0, 2 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_12, { 0, 2, 1 }
uselistorder label LBL_11, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.