dataset
stringclasses 1
value | file
stringlengths 7
51
| fun_name
stringlengths 2
45
| llvm_ir_function
stringlengths 61
121k
| label
stringclasses 2
values |
|---|---|---|---|---|
CompRealVul
|
tcp_chr_close_17070
|
tcp_chr_close
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp slt i32 %3, 0
br i1 %4, label LBL_6, label LBL_1
LBL_1:
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = zext i32 %7 to i64
%10 = call i64 @FUNC(i64 %9)
store i32 0, i32* %6, align 4
br label LBL_3
LBL_3:
%11 = add i64 %2, 16
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = icmp eq i64 %13, 0
br i1 %14, label LBL_5, label LBL_4
LBL_4:
%15 = call i64 @FUNC(i64 %13)
br label LBL_5
LBL_5:
%16 = bitcast i64* %rdi to i32*
%17 = load i32, i32* %16, align 8
%18 = zext i32 %17 to i64
%19 = call i64 @FUNC(i64 %18)
br label LBL_6
LBL_6:
%20 = add i64 %2, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label LBL_12, label LBL_7
LBL_7:
%24 = add i64 %2, 12
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label LBL_9, label LBL_8
LBL_8:
%28 = zext i32 %26 to i64
%29 = call i64 @FUNC(i64 %28)
store i32 0, i32* %25, align 4
br label LBL_9
LBL_9:
%30 = add i64 %2, 24
%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 = load i32, i32* %21, align 4
%36 = zext i32 %35 to i64
%37 = call i64 @FUNC(i64 %36)
br label LBL_12
LBL_12:
%38 = call i64 @FUNC(i64 %2)
%39 = call i64 @FUNC(i64 %2, i64 0)
ret i64 %39
uselistorder i64 %2, { 2, 3, 1, 5, 4, 0, 6 }
uselistorder i64 (i64)* @closesocket, { 1, 0 }
uselistorder i64 (i64)* @g_io_channel_unref, { 1, 0 }
uselistorder i64 (i64)* @g_source_remove, { 1, 0 }
}
|
1
|
CompRealVul
|
t4_sched_queue_bind_17854
|
t4_sched_queue_bind
|
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp slt i32 %6, 0
store i64 4294967262, i64* %rax.0.reg2mem
br i1 %7, label LBL_8, label LBL_1
LBL_1:
%8 = add i64 %2, 16
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp ugt i32 %10, %6
store i64 4294967262, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_8
LBL_2:
%12 = call i64 @FUNC(i64 32)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_8
LBL_3:
%15 = add i64 %2, 20
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, %6
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = add nsw i64 %20, 32
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = ptrtoint i32* %arg2 to i64
%25 = call i64 @FUNC(i64 %2, i64 %24)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
store i64 %25, i64* %sv_0.0.reg2mem
br i1 %28, label LBL_7, label LBL_4
LBL_4:
%29 = inttoptr i64 %12 to i64*
%30 = call i64* @memset(i64* %29, i32 0, i32 32)
%31 = inttoptr i64 %12 to i32*
store i32 %23, i32* %31, align 4
%32 = add i64 %12, 4
%33 = inttoptr i64 %32 to i64*
store i64 0, i64* %33, align 8
%34 = inttoptr i64 %5 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %12, 8
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 32
%41 = add i64 %40, %35
%42 = add i64 %41, 8
%43 = call i64 @FUNC(i64 %42)
%44 = call i64 @FUNC(i64 %2, i64 %12, i64 1, i64 1)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_6, label LBL_5
LBL_5:
%47 = call i64 @FUNC(i64 %12)
%48 = call i64 @FUNC(i64 %42)
store i64 %44, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_6:
%49 = add i64 %41, 16
%50 = add i64 %12, 16
%51 = call i64 @FUNC(i64 %50, i64 %49)
%52 = call i64 @FUNC(i64 %41)
%53 = call i64 @FUNC(i64 %42)
store i64 %44, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%54 = and i64 %sv_0.0.reload, 4294967295
store i64 %54, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %44, { 1, 0, 2 }
uselistorder i64 %42, { 1, 0, 2 }
uselistorder i64 %41, { 1, 0, 2 }
uselistorder i64 %12, { 1, 0, 2, 3, 4, 6, 5, 7 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64 (i64)* @spin_unlock, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 4294967262, { 1, 0 }
uselistorder label LBL_8, { 3, 0, 2, 1 }
uselistorder label LBL_7, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
Balloc_19182
|
Balloc
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sext = mul i64 %arg1, 4294967296
%0 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0)
%1 = ashr exact i64 %sext, 29
%2 = add i64 %1, ptrtoint (i64* @gv_1 to i64)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %4, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
store i64 %8, i64* %3, align 8
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_2:
%9 = trunc i64 %arg1 to i32
%10 = urem i32 %9, 32
%11 = shl i32 1, %10
%12 = add i32 %11, -1
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = add nsw i64 %14, 24
%16 = call i64 @FUNC(i64 %15)
%17 = inttoptr i64 %16 to i32*
store i32 %9, i32* %17, align 4
%18 = add i64 %16, 4
%19 = inttoptr i64 %18 to i32*
store i32 %11, i32* %19, align 4
store i64 %16, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%20 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0)
%21 = add i64 %sv_0.0.reload, 12
%22 = inttoptr i64 %21 to i32*
store i32 0, i32* %22, align 4
%23 = add i64 %sv_0.0.reload, 8
%24 = inttoptr i64 %23 to i32*
store i32 0, i32* %24, align 4
ret i64 %sv_0.0.reload
uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }
uselistorder i32 %9, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 8, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
}
|
1
|
CompRealVul
|
add_extendedopt_5989
|
add_extendedopt
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%sv_0 = alloca i64, align 8
store i64 %arg1, i64* %sv_0, align 8
%5 = inttoptr i64 %arg1 to i8*
%6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)
call void @exit(i32 0)
unreachable
LBL_2:
%10 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, 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_4, label LBL_3
LBL_3:
%14 = load i64, i64* %sv_0, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = trunc i64 %15 to i32
store i32 %16, i32* bitcast (i64* @gv_3 to i32*), align 8
store i64 %15, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%17 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_6, label LBL_5
LBL_5:
%21 = load i64, i64* %sv_0, align 8
store i64 %21, i64* @gv_5, align 8
store i64 %21, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%22 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0))
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_8, label LBL_7
LBL_7:
%26 = load i64, i64* %sv_0, align 8
%27 = call i64 @FUNC(i64 %26)
%28 = trunc i64 %27 to i32
store i32 %28, i32* bitcast (i64* @gv_7 to i32*), align 8
store i64 %27, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%29 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_8, i64 0, i64 0), i64 %arg1, i64 %4, i64 %2, i64 %1)
store i64 %29, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 3, 0, 4, 1, 5, 2, 6 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @parse_flag_value, { 1, 0 }
uselistorder i64 (i64*, i8*)* @match_extendedopt, { 2, 1, 0 }
uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
}
|
0
|
CompRealVul
|
ra_node_pages_8491
|
ra_node_pages
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.in6.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i64
%sv_0 = alloca i32, align 4
%0 = call i64 @FUNC(i64 %arg1)
%1 = bitcast i32* %sv_0 to i64*
%2 = call i64 @FUNC(i64* nonnull %1)
%3 = add i64 %arg3, %arg2
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 128)
%6 = trunc i64 %5 to i32
%sext3 = mul i64 %arg2, 4294967296
%storemerge5 = ashr exact i64 %sext3, 32
%7 = trunc i64 %storemerge5 to i32
%8 = icmp sgt i32 %6, %7
store i64 %storemerge5, i64* %storemerge7.reg2mem
store i64 %sext3, i64* %storemerge.in6.reg2mem
br i1 %8, label LBL_1, label LBL_2
LBL_1:
%storemerge.in6.reload = load i64, i64* %storemerge.in6.reg2mem
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%9 = and i64 %storemerge7.reload, 4294967295
%10 = call i64 @FUNC(i64 %arg1, i64 %9, i64 0)
%11 = trunc i64 %10 to i32
store i32 %11, i32* %sv_0, align 4
%12 = and i64 %10, 4294967295
%13 = call i64 @FUNC(i64 %0, i64 %12)
%sext4 = add i64 %storemerge.in6.reload, 4294967296
%storemerge = ashr exact i64 %sext4, 32
%14 = trunc i64 %storemerge to i32
%15 = icmp sgt i32 %6, %14
store i64 %storemerge, i64* %storemerge7.reg2mem
store i64 %sext4, i64* %storemerge.in6.reg2mem
br i1 %15, label LBL_1, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64* nonnull %1)
ret i64 %16
uselistorder i32 %6, { 1, 0 }
uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.in6.reg2mem, { 2, 0, 1 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 4294967296, { 1, 0 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
f2fs_read_data_page_12738
|
f2fs_read_data_page
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i64
%rsi.01.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2, i64 0)
%1 = call i64 @FUNC(i64 %arg2)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %rsi.01.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %arg2, i64 %arg2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, -11
%7 = icmp eq i1 %6, false
store i64 %arg2, i64* %rsi.01.reg2mem
store i64 %4, i64* %sv_0.1.reg2mem
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%rsi.01.reload = load i64, i64* %rsi.01.reg2mem
%8 = call i64 @FUNC(i64 %rsi.01.reload, i64 0, i64 %arg2, i64 1, i64 0)
store i64 %8, i64* %sv_0.1.reg2mem
br label LBL_3
LBL_3:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%9 = and i64 %sv_0.1.reload, 4294967295
ret i64 %9
uselistorder i64* %rsi.01.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder i64 %arg2, { 3, 0, 2, 1, 5, 4 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
pf_detect_11939
|
pf_detect
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.110.reg2mem = alloca i64
%storemerge11.reg2mem = alloca i32
%rcx.25.reg2mem = alloca i64
%rdx.26.reg2mem = alloca i64
%r8.27.reg2mem = alloca i64
%r9.28.reg2mem = alloca i64
%r9.0.reg2mem = alloca i64
%r8.0.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i32
%sv_0.012.reg2mem = alloca i64
%sv_1.115.reg2mem = alloca i32
%rcx.118.reg2mem = alloca i64
%r8.119.reg2mem = alloca i64
%r9.120.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_2 = alloca i64, align 8
%0 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4
%1 = load i32, i32* @gv_0, align 4
%2 = load [10 x i8]*, [10 x i8]** @gv_1, align 8
%3 = ptrtoint [10 x i8]* %2 to i64
%4 = zext i32 %0 to i64
%5 = zext i32 %1 to i64
%6 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %4)
%7 = load [10 x i8]*, [10 x i8]** @gv_1, align 8
%8 = ptrtoint [10 x i8]* %7 to i64
%9 = call i64 @FUNC(i64 %8)
store i64 %9, i64* @gv_4, align 8
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_2, label LBL_1
LBL_1:
%12 = load [10 x i8]*, [10 x i8]** @gv_1, align 8
%13 = ptrtoint [10 x i8]* %12 to i64
%14 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %13, i64 %3, i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64 %5, i64 %4)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_19
LBL_2:
%15 = load i32, i32* @gv_6, align 4
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_3, label LBL_4
LBL_3:
%18 = ptrtoint i64* %sv_2 to i64
%19 = add i64 %18, -16
%20 = inttoptr i64 %19 to i64*
%21 = add i64 %18, -24
%22 = inttoptr i64 %21 to i64*
%23 = add i64 %18, -32
%24 = inttoptr i64 %23 to i64*
%25 = add i64 %18, -40
%26 = inttoptr i64 %25 to i64*
%27 = add i64 %18, -48
%28 = inttoptr i64 %27 to i64*
store i64 0, i64* %indvars.iv.reg2mem
store i64 %4, i64* %r9.120.reg2mem
store i64 %5, i64* %r8.119.reg2mem
store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rcx.118.reg2mem
store i32 0, i32* %sv_1.115.reg2mem
store i64 ptrtoint (i64* @gv_7 to i64), i64* %sv_0.012.reg2mem
br label LBL_8
LBL_4:
%29 = load i64, i64* @gv_7, align 8
%30 = call i64 @FUNC(i64 %29, i64 1, i64 4294967295, i64 4294967295, i64 4294967295, i64 4294967295)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
store i64 4294967295, i64* %r9.28.reg2mem
store i64 4294967295, i64* %r8.27.reg2mem
store i64 4294967295, i64* %rdx.26.reg2mem
store i64 4294967295, i64* %rcx.25.reg2mem
br i1 %32, label LBL_16, label LBL_5
LBL_5:
%33 = call i64 @FUNC(i64 ptrtoint (i64* @gv_7 to i64))
%34 = trunc i64 %33 to i32
%35 = icmp eq i32 %34, 0
%36 = icmp eq i1 %35, false
%37 = load i64, i64* @gv_8, align 8
%38 = icmp eq i64 %37, 0
%or.cond = or i1 %38, %36
br i1 %or.cond, label LBL_7, label LBL_6
LBL_6:
store i32 1, i32* bitcast (i64* @gv_9 to i32*), align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_7:
%39 = load i64, i64* @gv_7, align 8
%40 = call i64 @FUNC(i64 %39)
store i64 4294967295, i64* %r9.28.reg2mem
store i64 4294967295, i64* %r8.27.reg2mem
store i64 4294967295, i64* %rdx.26.reg2mem
store i64 4294967295, i64* %rcx.25.reg2mem
br label LBL_16
LBL_8:
%sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem
%sv_1.115.reload = load i32, i32* %sv_1.115.reg2mem
%rcx.118.reload = load i64, i64* %rcx.118.reg2mem
%r8.119.reload = load i64, i64* %r8.119.reg2mem
%r9.120.reload = load i64, i64* %r9.120.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%41 = mul nuw nsw i64 %indvars.iv.reload, 20
%42 = add i64 %41, ptrtoint (i32** @gv_10 to i64)
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = sext i32 %44 to i64
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = icmp eq i32 %47, 0
store i32 %sv_1.115.reload, i32* %sv_1.0.reg2mem
store i64 %rcx.118.reload, i64* %rcx.0.reg2mem
store i64 %indvars.iv.reload, i64* %rdx.0.reg2mem
store i64 %r8.119.reload, i64* %r8.0.reg2mem
store i64 %r9.120.reload, i64* %r9.0.reg2mem
br i1 %48, label LBL_14, label LBL_9
LBL_9:
%49 = add i64 %sv_0.012.reload, 24
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = load i32, i32* @gv_11, align 4
%53 = zext i32 %52 to i64
%54 = load i64, i64* @gv_12, align 8
%55 = add nsw i64 %45, 16
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = zext i32 %57 to i64
%59 = add nsw i64 %45, 12
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = add nsw i64 %45, 8
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%65 = add nsw i64 %45, 4
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = zext i32 %67 to i64
%69 = zext i32 %47 to i64
%70 = inttoptr i64 %sv_0.012.reload to i64*
%71 = load i64, i64* %70, align 8
store i64 %51, i64* %20, align 8
store i64 %53, i64* %22, align 8
store i64 0, i64* %24, align 8
store i64 %54, i64* %26, align 8
store i64 %58, i64* %28, align 8
%72 = zext i32 %61 to i64
%73 = zext i32 %64 to i64
%74 = call i64 @FUNC(i64 %71, i64 0, i64 %69, i64 %68, i64 %73, i64 %72)
%75 = trunc i64 %74 to i32
%76 = icmp eq i32 %75, 0
store i32 %sv_1.115.reload, i32* %sv_1.0.reg2mem
store i64 %68, i64* %rcx.0.reg2mem
store i64 %69, i64* %rdx.0.reg2mem
store i64 %73, i64* %r8.0.reg2mem
store i64 %72, i64* %r9.0.reg2mem
br i1 %76, label LBL_14, label LBL_10
LBL_10:
%77 = add i64 %sv_0.012.reload, 8
%78 = inttoptr i64 %77 to i64*
%79 = load i64, i64* %78, align 8
%80 = icmp eq i64 %79, 0
br i1 %80, label LBL_13, label LBL_11
LBL_11:
%81 = call i64 @FUNC(i64 %sv_0.012.reload)
%82 = trunc i64 %81 to i32
%83 = icmp eq i32 %82, 0
%84 = icmp eq i1 %83, false
br i1 %84, label LBL_13, label LBL_12
LBL_12:
%85 = add i64 %sv_0.012.reload, 16
%86 = inttoptr i64 %85 to i32*
store i32 1, i32* %86, align 8
%87 = add i32 %sv_1.115.reload, 1
store i32 %87, i32* %sv_1.0.reg2mem
store i64 %68, i64* %rcx.0.reg2mem
store i64 %69, i64* %rdx.0.reg2mem
store i64 %73, i64* %r8.0.reg2mem
store i64 %72, i64* %r9.0.reg2mem
br label LBL_14
LBL_13:
%88 = load i64, i64* %70, align 8
%89 = call i64 @FUNC(i64 %88)
store i32 %sv_1.115.reload, i32* %sv_1.0.reg2mem
store i64 %68, i64* %rcx.0.reg2mem
store i64 %69, i64* %rdx.0.reg2mem
store i64 %73, i64* %r8.0.reg2mem
store i64 %72, i64* %r9.0.reg2mem
br label LBL_14
LBL_14:
%r9.0.reload = load i64, i64* %r9.0.reg2mem
%r8.0.reload = load i64, i64* %r8.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%90 = add i64 %sv_0.012.reload, 40
%exitcond21 = icmp eq i64 %indvars.iv.next, 4
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %r9.0.reload, i64* %r9.120.reg2mem
store i64 %r8.0.reload, i64* %r8.119.reg2mem
store i64 %rcx.0.reload, i64* %rcx.118.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.115.reg2mem
store i64 %90, i64* %sv_0.012.reg2mem
br i1 %exitcond21, label LBL_15, label LBL_8
LBL_15:
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%91 = icmp eq i32 %sv_1.0.reload, 0
store i64 %r9.0.reload, i64* %r9.28.reg2mem
store i64 %r8.0.reload, i64* %r8.27.reg2mem
store i64 %rdx.0.reload, i64* %rdx.26.reg2mem
store i64 %rcx.0.reload, i64* %rcx.25.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %91, label LBL_16, label LBL_19
LBL_16:
%rcx.25.reload = load i64, i64* %rcx.25.reg2mem
%rdx.26.reload = load i64, i64* %rdx.26.reg2mem
%r8.27.reload = load i64, i64* %r8.27.reg2mem
%r9.28.reload = load i64, i64* %r9.28.reg2mem
%92 = load [10 x i8]*, [10 x i8]** @gv_1, align 8
%93 = ptrtoint [10 x i8]* %92 to i64
%94 = inttoptr i64 %rcx.25.reload to i8*
%95 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_13, i64 0, i64 0), i64 %93, i64 %rdx.26.reload, i8* %94, i64 %r8.27.reload, i64 %r9.28.reload)
store i32 0, i32* %storemerge11.reg2mem
store i64 ptrtoint (i64* @gv_7 to i64), i64* %sv_0.110.reg2mem
br label LBL_17
LBL_17:
%sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem
%storemerge11.reload = load i32, i32* %storemerge11.reg2mem
%96 = add i64 %sv_0.110.reload, 8
%97 = inttoptr i64 %96 to i64*
%98 = load i64, i64* %97, align 8
%99 = inttoptr i64 %98 to i64*
%100 = load i64, i64* %99, align 8
%101 = call i64 @FUNC(i64 %100)
%102 = load i64, i64* %97, align 8
%103 = inttoptr i64 %102 to i64*
store i64 0, i64* %103, align 8
%104 = add i64 %sv_0.110.reload, 32
%105 = call i64 @FUNC(i64 %104)
%106 = load i64, i64* %97, align 8
%107 = call i64 @FUNC(i64 %106)
%108 = add i64 %sv_0.110.reload, 40
%109 = add nuw nsw i32 %storemerge11.reload, 1
%exitcond = icmp eq i32 %109, 4
store i32 %109, i32* %storemerge11.reg2mem
store i64 %108, i64* %sv_0.110.reg2mem
br i1 %exitcond, label LBL_18, label LBL_17
LBL_18:
%110 = load i64, i64* @gv_4, align 8
%111 = call i64 @FUNC(i64 %110)
store i64 4294967295, 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 %73, { 1, 0, 2, 3 }
uselistorder i64 %72, { 1, 0, 2, 3 }
uselistorder i64 %69, { 1, 0, 2, 3 }
uselistorder i64 %68, { 1, 0, 2, 3 }
uselistorder i64 %indvars.iv.reload, { 1, 0, 2 }
uselistorder i32 %sv_1.115.reload, { 0, 3, 1, 2 }
uselistorder i64 %sv_0.012.reload, { 5, 0, 2, 1, 3, 4 }
uselistorder i64 %3, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %r9.120.reg2mem, { 1, 0, 2 }
uselistorder i64* %r8.119.reg2mem, { 1, 0, 2 }
uselistorder i64* %rcx.118.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.115.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %r8.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %r9.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %r9.28.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %r8.27.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %rdx.26.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %rcx.25.reg2mem, { 0, 3, 1, 2 }
uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.110.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }
uselistorder i64 (i64)* @pi_release, { 1, 0 }
uselistorder i64 (i64)* @pf_probe, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64, i64)* @pi_init, { 1, 0 }
uselistorder i64 1, { 2, 3, 0, 1 }
uselistorder i64 ptrtoint (i64* @gv_7 to i64), { 0, 2, 1 }
uselistorder i32 0, { 0, 8, 5, 6, 7, 9, 10, 1, 11, 2, 3, 4 }
uselistorder i64 4294967295, { 1, 2, 4, 6, 8, 3, 5, 7, 9, 13, 12, 11, 10, 0 }
uselistorder i64 (i8*, i64, i64, i8*, i64, i64)* @printk, { 1, 0 }
uselistorder [4 x i8]* @gv_3, { 1, 0 }
uselistorder i64 0, { 21, 5, 6, 1, 22, 13, 23, 0, 4, 2, 7, 8, 24, 9, 10, 11, 12, 3, 14, 15, 16, 17, 18, 19, 20 }
uselistorder label LBL_19, { 2, 1, 0, 3 }
uselistorder label LBL_16, { 2, 0, 1 }
uselistorder label LBL_14, { 1, 2, 3, 0 }
}
|
1
|
CompRealVul
|
vpb_sic_init_16020
|
vpb_sic_init
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 24)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%sext = mul i64 %arg1, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = inttoptr i64 %0 to i32*
%5 = call i64 @FUNC(i64 4198821, i64 %0, i64 32)
%6 = trunc i64 %3 to i32
store i32 %6, i32* %4, align 4
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
store i64 %arg2, i64* %8, align 8
%9 = trunc i64 %arg3 to i32
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = call i64 @FUNC(i64 0, i64 4198828, i64 4198835, i64 %0)
%13 = trunc i64 %12 to i32
%14 = and i64 %3, 4294967295
%15 = call i64 @FUNC(i64 %14, i64 4095, i32 %13)
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 32, { 1, 0 }
uselistorder i32 1, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
spapr_rng_class_init_1376
|
spapr_rng_class_init
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198704, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = sext i32 %3 to i64
%5 = call i64 @FUNC(i64 0, i64 %4)
%6 = load i64, i64* @gv_0, align 8
%7 = add i64 %0, 16
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
%9 = add i64 %0, 24
%10 = inttoptr i64 %9 to i8*
store i8 0, i8* %10, align 1
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3 }
}
|
0
|
CompRealVul
|
nbd_errno_to_system_errno_14399
|
nbd_errno_to_system_errno
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sext = mul i64 %arg1, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = and i64 %0, 4294967295
store i64 %1, i64* @0, align 8
%trunc = trunc i64 %0 to i32
store i64 0, i64* %rax.0.reg2mem
switch i32 %trunc, label LBL_5 [
i32 0, label LBL_6
i32 1, label LBL_1
i32 2, label LBL_2
i32 3, label LBL_3
i32 4, label LBL_4
]
LBL_1:
store i64 1, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
store i64 5, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
store i64 12, i64* %rax.0.reg2mem
br label LBL_6
LBL_4:
store i64 28, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
store i64 22, 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 %0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_6, { 5, 1, 2, 3, 4, 0 }
}
|
1
|
CompRealVul
|
iwch_cxgb3_ofld_send_11103
|
iwch_cxgb3_ofld_send
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 %arg2)
store i64 4294967291, i64* %storemerge.reg2mem
br label LBL_5
LBL_2:
%4 = call i64 @FUNC(i64 %arg1, i64 %arg2)
%5 = trunc i64 %4 to i32
%6 = icmp slt i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_4, label LBL_3
LBL_3:
%8 = call i64 @FUNC(i64 %arg2)
br label LBL_4
LBL_4:
%9 = and i64 %4, 4294967295
store i64 %9, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @kfree_skb, { 1, 0 }
}
|
1
|
CompRealVul
|
put_int64_2828
|
put_int64
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1, i64 %0)
ret i64 %2
}
|
0
|
CompRealVul
|
op_get_data_310
|
op_get_data
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg2 to i32
%1 = icmp eq i32 %0, 0
%2 = icmp slt i32 %0, 0
%3 = icmp eq i1 %2, false
%4 = icmp eq i1 %1, false
%5 = icmp eq i1 %3, %4
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_2:
%sext = mul i64 %arg2, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = ptrtoint i64* %arg1 to i64
%10 = add i64 %9, 16
%11 = and i64 %8, 4294967295
%12 = call i64 @FUNC(i64 %10, i64 %11)
%13 = trunc i64 %10 to i32
%14 = trunc i64 %8 to i32
%15 = icmp sgt i32 %13, %14
br i1 %15, label LBL_3, label LBL_4
LBL_3:
%16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%17 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_4:
%18 = icmp slt i32 %13, 1
%.pre = and i64 %10, 4294967295
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = call i64 @FUNC(i64 %10, i64 %.pre)
br label LBL_6
LBL_6:
ret i64 %.pre
uselistorder i64 %10, { 1, 0, 2, 3 }
uselistorder i64 %8, { 1, 0 }
uselistorder i32 %0, { 1, 0 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }
uselistorder %_IO_FILE** @gv_0, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
}
|
1
|
CompRealVul
|
avcodec_alloc_frame_16983
|
avcodec_alloc_frame
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = call i64 @FUNC(i64 %0)
store i64 %0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
rtcp_send_sr_3674
|
rtcp_send_sr
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 24
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = trunc i64 %1 to i32
%7 = trunc i64 %arg2 to i32
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i32 %6, i32 %7, i32 %5)
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, -1
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_2, label LBL_1
LBL_1:
store i64 %arg2, i64* %10, align 8
br label LBL_2
LBL_2:
%14 = add i64 %2, 16
%15 = inttoptr i64 %14 to i64*
store i64 %arg2, i64* %15, align 8
%16 = load i64, i64* %10, align 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = sub i64 %arg2, %16
%20 = zext i32 %18 to i64
%21 = call i64 @FUNC(i64 %19, i64 4294967296000001, i64 %20)
%22 = trunc i64 %21 to i32
%23 = add i64 %2, 40
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = add i32 %25, %22
%27 = load i64, i64* %15, align 8
%28 = call i64 @FUNC(i64 %27, i64 128)
%29 = load i64, i64* %15, align 8
%30 = call i64 @FUNC(i64 %29, i64 200)
%31 = load i64, i64* %15, align 8
%32 = call i64 @FUNC(i64 %31, i64 6)
%33 = add i64 %2, 28
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = load i64, i64* %15, align 8
%37 = zext i32 %35 to i64
%38 = call i64 @FUNC(i64 %36, i64 %37)
%39 = load i64, i64* %15, align 8
%40 = call i64 @FUNC(i64 %39, i64 0)
%41 = load i64, i64* %15, align 8
%42 = call i64 @FUNC(i64 %41, i64 0)
%43 = load i64, i64* %15, align 8
%44 = zext i32 %26 to i64
%45 = call i64 @FUNC(i64 %43, i64 %44)
%46 = add i64 %2, 32
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = load i64, i64* %15, align 8
%50 = zext i32 %48 to i64
%51 = call i64 @FUNC(i64 %49, i64 %50)
%52 = add i64 %2, 36
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = load i64, i64* %15, align 8
%56 = zext i32 %54 to i64
%57 = call i64 @FUNC(i64 %55, i64 %56)
%58 = load i64, i64* %15, align 8
%59 = call i64 @FUNC(i64 %58)
ret i64 %59
uselistorder i64* %15, { 1, 0, 2, 4, 3, 5, 6, 7, 9, 8, 10 }
uselistorder i64* %10, { 1, 0, 2 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @put_be32, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @put_byte, { 1, 0 }
uselistorder i64 %arg2, { 1, 2, 0, 3 }
}
|
0
|
CompRealVul
|
hmp_change_14228
|
hmp_change
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
%8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))
%9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0))
store i64 0, i64* %sv_0, align 8
%11 = inttoptr i64 %7 to i8*
%12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
%15 = icmp eq i64 %10, 0
br i1 %14, label LBL_8, label LBL_1
LBL_1:
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)
store i64 %16, i64* %rax.0.reg2mem
br label LBL_15
LBL_3:
%17 = inttoptr i64 %8 to i8*
%18 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0))
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_7, label LBL_5
LBL_5:
%23 = icmp eq i64 %9, 0
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_7, label LBL_6
LBL_6:
%25 = call i64 @FUNC(i64 %6, i64 4198866, i64 0)
store i64 %25, i64* %rax.0.reg2mem
br label LBL_15
LBL_7:
%26 = icmp eq i64 %9, 0
%27 = icmp eq i1 %26, false
%28 = zext i1 %27 to i64
%29 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %8, i64 %28, i64 %9, i64* nonnull %sv_0)
br label LBL_14
LBL_8:
br i1 %15, label LBL_11, label LBL_9
LBL_9:
%30 = load i64, i64* @gv_8, align 8
%31 = call i64 @FUNC(i64 %30, i64 %10, i64 1, i64 0, i64* nonnull %sv_0)
%32 = load i64, i64* %sv_0, align 8
%33 = icmp eq i64 %32, 0
br i1 %33, label LBL_11, label LBL_10
LBL_10:
%34 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)
store i64 %34, i64* %rax.0.reg2mem
br label LBL_15
LBL_11:
%35 = icmp eq i64 %9, 0
%36 = icmp eq i1 %35, false
%37 = zext i1 %36 to i64
%38 = call i64 @FUNC(i64 1, i64 %7, i64 0, i64 0, i64 %8, i64 %37)
%39 = load i64, i64* %sv_0, align 8
%40 = icmp eq i64 %39, 0
br i1 %40, label LBL_14, label LBL_12
LBL_12:
%41 = call i64 @FUNC(i64 %39)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 1
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_14, label LBL_13
LBL_13:
%45 = load i64, i64* %sv_0, align 8
%46 = call i64 @FUNC(i64 %45)
%47 = call i64 @FUNC(i64 %6, i64 %7, i64 0, i64 0)
store i64 %47, i64* %rax.0.reg2mem
br label LBL_15
LBL_14:
%48 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)
store i64 %48, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i1 %15, { 1, 0 }
uselistorder i64 %10, { 1, 0 }
uselistorder i64 %9, { 3, 1, 0, 2 }
uselistorder i64* %sv_0, { 0, 4, 5, 1, 6, 2, 3, 7 }
uselistorder i64 %6, { 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64*)* @hmp_handle_error, { 1, 0 }
uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }
uselistorder i64 (i64, i8*)* @qdict_get_try_str, { 1, 0 }
uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 }
}
|
1
|
CompRealVul
|
usb_enumerate_device_otg_11718
|
usb_enumerate_device_otg
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i8*, align 8
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %6, label LBL_10, label LBL_1
LBL_1:
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %10, label LBL_10, label LBL_2
LBL_2:
store i8* null, i8** %sv_1, align 8
%11 = add i64 %3, 24
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = load i64, i64* %8, align 8
%15 = inttoptr i64 %14 to i16*
%16 = load i16, i16* %15, align 2
%17 = zext i16 %16 to i64
%18 = call i64 @FUNC(i64 %17)
%19 = and i64 %18, 4294967295
%20 = add i64 %3, 32
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = bitcast i8** %sv_1 to i64*
%24 = call i64 @FUNC(i64 %22, i64 %19, i64 9, i64* nonnull %23)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
store i64 0, i64* %storemerge.reg2mem
br i1 %27, label LBL_11, label LBL_3
LBL_3:
%28 = load i8*, i8** %sv_1, align 8
%29 = ptrtoint i8* %28 to i64
%30 = add i64 %29, 1
%31 = inttoptr i64 %30 to i8*
%32 = load i8, i8* %31, align 1
%33 = urem i8 %32, 2
%34 = icmp eq i8 %33, 0
%35 = icmp eq i1 %34, false
store i64 0, i64* %storemerge.reg2mem
br i1 %35, label LBL_4, label LBL_11
LBL_4:
%36 = ptrtoint i8** %sv_1 to i64
%37 = add i64 %3, 4
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = icmp eq i32 %13, %39
%41 = icmp eq i1 %40, false
%42 = add i64 %3, 40
%43 = select i1 %41, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* bitcast (i8** @gv_1 to i8*)
%44 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i8* %43, i64 %36, i64 %2, i64 %1)
%45 = load i32, i32* %38, align 4
%46 = icmp eq i32 %13, %45
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_7, label LBL_5
LBL_5:
%48 = inttoptr i64 %7 to i32*
store i32 1, i32* %48, align 4
%49 = call i64 @FUNC(i64 %3, i64 0)
%50 = and i64 %49, 4294967295
%51 = call i64 @FUNC(i64 %3, i64 %50, i64 3, i64 0, i64 1, i64 0)
%52 = trunc i64 %51 to i32
%53 = icmp slt i32 %52, 0
%54 = icmp eq i1 %53, false
store i64 %51, i64* %sv_0.0.reg2mem
br i1 %54, label LBL_10, label LBL_6
LBL_6:
%55 = and i64 %51, 4294967295
%56 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %42, i64 1, i64 0)
store i32 0, i32* %48, align 4
store i64 %51, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_7:
%57 = load i8*, i8** %sv_1, align 8
%58 = load i8, i8* %57, align 1
%59 = icmp eq i8 %58, 2
%60 = icmp eq i1 %59, false
store i64 %24, i64* %sv_0.0.reg2mem
br i1 %60, label LBL_10, label LBL_8
LBL_8:
%61 = call i64 @FUNC(i64 %3, i64 0)
%62 = and i64 %61, 4294967295
%63 = call i64 @FUNC(i64 %3, i64 %62, i64 3, i64 0, i64 2, i64 0)
%64 = trunc i64 %63 to i32
%65 = icmp slt i32 %64, 0
%66 = icmp eq i1 %65, false
store i64 %63, i64* %sv_0.0.reg2mem
br i1 %66, label LBL_10, label LBL_9
LBL_9:
%67 = and i64 %63, 4294967295
%68 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %67, i64 %42, i64 2, i64 0)
store i64 %63, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%69 = and i64 %sv_0.0.reload, 4294967295
store i64 %69, i64* %storemerge.reg2mem
br label LBL_11
LBL_11:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %63, { 0, 2, 1, 3 }
uselistorder i64 %51, { 0, 2, 1, 3 }
uselistorder i64 %42, { 2, 3, 0, 1, 4 }
uselistorder i8** %sv_1, { 3, 1, 2, 4, 0 }
uselistorder i64 %3, { 5, 4, 3, 2, 6, 0, 7, 8, 9, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 5, 1, 2, 6, 7 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64, i64)* @usb_control_msg, { 1, 0 }
uselistorder i64 (i64, i64)* @usb_sndctrlpipe, { 1, 0 }
uselistorder i8 0, { 0, 2, 3, 1 }
uselistorder i8 2, { 1, 0 }
uselistorder i64 4294967295, { 1, 0, 3, 2, 4, 5 }
uselistorder label LBL_11, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
X509_cmp_time_244
|
X509_cmp_time
|
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i8*
%storemerge.in.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i32* %arg1 to i64
%4 = load i32, i32* %1
%5 = load i32, i32* %1
%sv_3 = alloca i8, align 1
%sv_4 = alloca i32, align 4
%sv_5 = alloca i8, align 1
%6 = ptrtoint i8* %sv_5 to i64
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %3, 16
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = trunc i64 %2 to i32
%14 = icmp eq i32 %13, 23
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_1
LBL_1:
%.off = add i32 %9, -11
%16 = icmp ult i32 %.off, 7
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_2, label LBL_18
LBL_2:
%17 = bitcast i8* %sv_5 to i64*
%18 = inttoptr i64 %12 to i64*
%19 = call i64* @memcpy(i64* nonnull %17, i64* %18, i32 10)
%20 = add i64 %6, 10
%21 = add i64 %12, 10
store i64 %20, i64* %sv_1.0.reg2mem
store i64 %21, i64* %storemerge10.reg2mem
br label LBL_5
LBL_3:
%22 = icmp sgt i32 %9, 12
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_4, label LBL_18
LBL_4:
%23 = bitcast i8* %sv_5 to i64*
%24 = inttoptr i64 %12 to i64*
%25 = call i64* @memcpy(i64* nonnull %23, i64* %24, i32 12)
%26 = add i64 %6, 12
%27 = add i64 %12, 12
store i64 %26, i64* %sv_1.0.reg2mem
store i64 %27, i64* %storemerge10.reg2mem
br label LBL_5
LBL_5:
%storemerge10.reload = load i64, i64* %storemerge10.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%28 = inttoptr i64 %storemerge10.reload to i8*
%29 = load i8, i8* %28, align 1
switch i8 %29, label LBL_6 [
i8 90, label LBL_7
i8 45, label LBL_7
]
LBL_6:
%30 = icmp eq i8 %29, 43
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_8, label LBL_7
LBL_7:
%32 = add i64 %sv_1.0.reload, 1
%33 = inttoptr i64 %sv_1.0.reload to i8*
store i8 48, i8* %33, align 1
%34 = add i64 %sv_1.0.reload, 2
%35 = inttoptr i64 %32 to i8*
store i8 48, i8* %35, align 1
store i8* %28, i8** %.pre-phi.reg2mem
store i64 %storemerge10.reload, i64* %sv_2.0.reg2mem
store i64 %34, i64* %sv_1.1.reg2mem
br label LBL_10
LBL_8:
%36 = add i64 %storemerge10.reload, 1
%37 = add i64 %sv_1.0.reload, 1
%38 = inttoptr i64 %sv_1.0.reload to i8*
store i8 %29, i8* %38, align 1
%39 = add i64 %storemerge10.reload, 2
%40 = add i64 %sv_1.0.reload, 2
%41 = inttoptr i64 %36 to i8*
%42 = load i8, i8* %41, align 1
%43 = inttoptr i64 %37 to i8*
store i8 %42, i8* %43, align 1
%44 = inttoptr i64 %39 to i8*
%45 = load i8, i8* %44, align 1
%46 = icmp eq i8 %45, 46
%47 = icmp eq i1 %46, false
store i64 %39, i64* %storemerge.in.reg2mem
store i8* %44, i8** %.pre-phi.reg2mem
store i64 %39, i64* %sv_2.0.reg2mem
store i64 %40, i64* %sv_1.1.reg2mem
br i1 %47, label LBL_10, label LBL_9
LBL_9:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = add i64 %storemerge.in.reload, 1
%48 = inttoptr i64 %storemerge to i8*
%49 = load i8, i8* %48, align 1
%.off14 = add i8 %49, -48
%50 = icmp ult i8 %.off14, 10
store i64 %storemerge, i64* %storemerge.in.reg2mem
store i8* %48, i8** %.pre-phi.reg2mem
store i64 %storemerge, i64* %sv_2.0.reg2mem
store i64 %40, i64* %sv_1.1.reg2mem
br i1 %50, label LBL_9, label LBL_10
LBL_10:
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem
%51 = add i64 %sv_1.1.reload, 1
%52 = inttoptr i64 %sv_1.1.reload to i8*
store i8 90, i8* %52, align 1
%53 = inttoptr i64 %51 to i8*
store i8 0, i8* %53, align 1
%54 = load i8, i8* %.pre-phi.reload, align 1
%55 = icmp eq i8 %54, 90
%56 = icmp eq i1 %55, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %56, label LBL_11, label LBL_13
LBL_11:
store i64 0, i64* %rax.0.reg2mem
switch i8 %54, label LBL_18 [
i8 43, label LBL_12
i8 45, label LBL_12
]
LBL_12:
%57 = add i64 %sv_2.0.reload, 1
%58 = inttoptr i64 %57 to i8*
%59 = load i8, i8* %58, align 1
%60 = sext i8 %59 to i64
%61 = mul nsw i64 %60, 10
%62 = add i64 %sv_2.0.reload, 2
%63 = inttoptr i64 %62 to i8*
%64 = load i8, i8* %63, align 1
%65 = sext i8 %64 to i64
%66 = add nsw i64 %61, %65
%67 = mul nsw i64 %66, 257698037760
%sext8 = add nsw i64 %67, -136064563937280
%68 = ashr exact i64 %sext8, 32
%69 = add i64 %sv_2.0.reload, 3
%70 = inttoptr i64 %69 to i8*
%71 = load i8, i8* %70, align 1
%72 = sext i8 %71 to i64
%73 = mul nsw i64 %72, 10
%74 = add i64 %sv_2.0.reload, 4
%75 = inttoptr i64 %74 to i8*
%76 = load i8, i8* %75, align 1
%77 = sext i8 %76 to i64
%78 = add nsw i64 %73, %77
%79 = mul i64 %78, 4294967296
%sext9 = add nsw i64 %79, -2267742732288
%80 = ashr exact i64 %sext9, 32
%81 = add nsw i64 %80, %68
%82 = icmp eq i8 %54, 45
%83 = icmp eq i1 %82, false
%84 = sub nsw i64 0, %81
%spec.select = select i1 %83, i64 %81, i64 %84
%phitmp = mul nsw i64 %spec.select, 60
store i64 %phitmp, i64* %sv_0.0.reg2mem
br label LBL_13
LBL_13:
%85 = ptrtoint i64* %arg2 to i64
%86 = bitcast i64* %rdi to i32*
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%87 = load i32, i32* %86, align 8
store i32 %87, i32* %sv_4, align 4
%88 = call i64 @FUNC(i32* nonnull %sv_4, i64 %sv_0.0.reload, i64 %85)
%89 = icmp eq i64 %88, 0
%90 = icmp eq i1 %89, false
store i64 0, i64* %rax.0.reg2mem
br i1 %90, label LBL_14, label LBL_18
LBL_14:
%91 = icmp eq i32 %87, 23
%92 = icmp eq i1 %91, false
br i1 %92, label LBL_17, label LBL_15
LBL_15:
%93 = load i8, i8* %sv_5, align 1
%94 = sext i8 %93 to i32
%95 = mul nsw i32 %94, 10
%sext = mul i32 %5, 16777216
%96 = ashr exact i32 %sext, 24
%97 = add nsw i32 %95, %96
%98 = add nsw i32 %97, -528
%99 = icmp sgt i32 %98, 49
%100 = add nsw i32 %97, -428
%spec.select12 = select i1 %99, i32 %98, i32 %100
%101 = load i8, i8* %sv_3, align 1
%102 = sext i8 %101 to i32
%103 = mul nsw i32 %102, 10
%sext6 = mul i32 %4, 16777216
%104 = ashr exact i32 %sext6, 24
%105 = add nsw i32 %103, %104
%106 = add nsw i32 %105, -528
%107 = icmp sgt i32 %106, 49
%108 = add nsw i32 %105, -428
%sv_6.0 = select i1 %107, i32 %106, i32 %108
%109 = icmp slt i32 %spec.select12, %sv_6.0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %109, label LBL_18, label LBL_16
LBL_16:
%110 = icmp sgt i32 %spec.select12, %sv_6.0
store i64 1, i64* %rax.0.reg2mem
br i1 %110, label LBL_18, label LBL_17
LBL_17:
%111 = call i32 @strcmp(i8* nonnull %sv_5, i8* nonnull %sv_3)
%112 = icmp eq i32 %111, 0
%113 = icmp eq i1 %112, false
%114 = zext i32 %111 to i64
%spec.select13 = select i1 %113, i64 %114, i64 4294967295
ret i64 %spec.select13
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_2.0.reload, { 1, 0, 2, 3 }
uselistorder i64 %sv_1.1.reload, { 1, 0 }
uselistorder i8 %29, { 1, 2, 0 }
uselistorder i64 %sv_1.0.reload, { 3, 5, 4, 0, 2, 1 }
uselistorder i64 %storemerge10.reload, { 2, 3, 0, 1 }
uselistorder i64 %12, { 1, 3, 0, 2 }
uselistorder i32 %9, { 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i8* %sv_5, { 4, 3, 0, 1, 2 }
uselistorder i8* %sv_3, { 1, 0 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge10.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.in.reg2mem, { 2, 0, 1 }
uselistorder i8** %.pre-phi.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* %1, { 1, 0 }
uselistorder i64 2, { 3, 0, 1, 2 }
uselistorder i64 1, { 0, 3, 4, 2, 5, 6, 7, 1 }
uselistorder i8 45, { 2, 0, 1 }
uselistorder i8 90, { 1, 2, 0 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 2, 0, 1 }
}
|
1
|
CompRealVul
|
virtio_scsi_device_realize_15243
|
virtio_scsi_device_realize
|
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
%3 = load i64, i64* %sv_0, align 8
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %0, i64 %3)
store i64 %5, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%6 = trunc i64 %1 to i32
%7 = call i64 @FUNC(i64 %1, i64 4, i64 %1, i64* nonnull @gv_0, i64 %1)
%8 = icmp eq i32 %6, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_5, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
%11 = load i64, i64* %sv_0, align 8
%12 = icmp eq i64 %11, 0
br i1 %12, label LBL_5, label LBL_4
LBL_4:
%13 = call i64 @FUNC(i64 %0, i64 %11)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%14 = load i64, i64* @gv_1, align 8
%15 = load i64, i64* @gv_2, align 8
%16 = load i32, i32* @gv_3, align 4
store i32 ptrtoint (i64* @gv_4 to i32), i32* @gv_3, align 4
%17 = zext i32 %16 to i64
%18 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %17, i64 1, i64 %15, i64 %14)
store i64 %18, 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* %sv_0, { 2, 0, 3, 1, 4 }
uselistorder i64 %1, { 3, 2, 1, 4, 5, 0, 6 }
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* @gv_3, { 1, 0 }
uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }
}
|
1
|
CompRealVul
|
qbus_free_2240
|
qbus_free
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.lcssa.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 %2, i64* %.reg2mem
store i64 %arg1, i64* %rdi.0.lcssa.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%.reload = load i64, i64* %.reg2mem
%5 = call i64 @FUNC(i64 %.reload)
%6 = load i64, i64* %1, align 8
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 %6, i64* %.reg2mem
store i64 %.reload, i64* %rdi.0.lcssa.reg2mem
br i1 %8, label LBL_1, label LBL_2
LBL_2:
%rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem
%9 = icmp eq i64 %rdi.0.lcssa.reload, 0
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = add i64 %rdi.0.lcssa.reload, 28
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i32 %12, -1
store i32 %13, i32* %11, align 4
br label LBL_4
LBL_4:
%14 = add i64 %arg1, 16
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16)
%18 = add i64 %arg1, 24
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = icmp eq i32 %20, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%22 = call i64 @FUNC(i64 %arg1)
store i64 %22, 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 %rdi.0.lcssa.reload, { 1, 0 }
uselistorder i64* %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64)* @qemu_free, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 %arg1, { 1, 3, 2, 0, 4 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
get_current_time_10371
|
get_current_time
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = bitcast i64* %arg1 to %timeval*
%1 = call i32 @gettimeofday(%timeval* %0, %timezone* null)
%2 = sext i32 %1 to i64
ret i64 %2
}
|
0
|
CompRealVul
|
php_auto_globals_create_get_10714
|
php_auto_globals_create_get
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = load i8*, i8** @gv_0, align 8
%1 = icmp eq i8* %0, null
br i1 %1, label LBL_3, label LBL_1
LBL_1:
%2 = call i8* @strchr(i8* nonnull %0, i32 71)
%3 = icmp eq i8* %2, null
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_4, label LBL_2
LBL_2:
%5 = load i8*, i8** @gv_0, align 8
%6 = call i8* @strchr(i8* %5, i32 103)
%7 = icmp eq i8* %6, null
br i1 %7, label LBL_3, label LBL_4
LBL_3:
%8 = call i64 @FUNC(i64* nonnull @gv_1)
%9 = call i64 @FUNC(i64* nonnull @gv_1)
br label LBL_4
LBL_4:
%10 = ptrtoint i64* %arg1 to i64
%11 = call i64 @FUNC(i64* nonnull @gv_2, i64 %10, i64* nonnull @gv_1)
ret i64 0
uselistorder i64* @gv_1, { 2, 0, 1 }
uselistorder label LBL_4, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
redisIvykisAttach_13171
|
redisIvykisAttach
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i64* @malloc(i32 48)
%6 = ptrtoint i64* %5 to i64
%7 = add i64 %6, 40
%8 = inttoptr i64 %7 to i64*
store i64 %0, i64* %8, align 8
%9 = add i64 %0, 16
%10 = inttoptr i64 %9 to i64*
store i64 4198710, i64* %10, align 8
%11 = add i64 %0, 24
%12 = inttoptr i64 %11 to i64*
store i64 4198721, i64* %12, align 8
%13 = add i64 %0, 32
%14 = inttoptr i64 %13 to i64*
store i64 4198732, i64* %14, align 8
%15 = add i64 %0, 40
%16 = inttoptr i64 %15 to i64*
store i64 4198743, i64* %16, align 8
%17 = add i64 %0, 48
%18 = inttoptr i64 %17 to i64*
store i64 4198754, i64* %18, align 8
store i64 %6, i64* %2, align 8
%19 = call i64 @FUNC(i64 %6)
%20 = bitcast i64* %rdi to i32*
%21 = load i32, i32* %20, align 8
%22 = bitcast i64* %5 to i32*
store i32 %21, i32* %22, align 4
%23 = add i64 %6, 8
%24 = inttoptr i64 %23 to i64*
store i64 4198765, i64* %24, align 8
%25 = add i64 %6, 16
%26 = inttoptr i64 %25 to i64*
store i64 4198776, i64* %26, align 8
%27 = add i64 %6, 24
%28 = inttoptr i64 %27 to i64*
store i64 0, i64* %28, align 8
%29 = load i64, i64* %8, align 8
%30 = add i64 %6, 32
%31 = inttoptr i64 %30 to i64*
store i64 %29, i64* %31, align 8
%32 = call i64 @FUNC(i64 %6)
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
|
vp9_decode_free_16396
|
vp9_decode_free
|
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
store i64 0, i64* %indvars.iv4.reg2mem
br label LBL_1
LBL_1:
%indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem
%1 = mul i64 %indvars.iv4.reload, 8
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %0, i64 %2)
br label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %2)
%indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1
%exitcond6 = icmp eq i64 %indvars.iv.next5, 2
store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
br i1 %exitcond6, label LBL_4, label LBL_1
LBL_4:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%10 = mul i64 %indvars.iv.reload, 8
%11 = add i64 %10, %0
%12 = add i64 %11, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64 %0, i64 %12)
br label LBL_6
LBL_6:
%19 = call i64 @FUNC(i64 %12)
%20 = add i64 %11, 80
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label LBL_8, label LBL_7
LBL_7:
%26 = call i64 @FUNC(i64 %0, i64 %20)
br label LBL_8
LBL_8:
%27 = call i64 @FUNC(i64 %20)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_9, label LBL_4
LBL_9:
%28 = add i64 %0, 144
%29 = call i64 @FUNC(i64 %28)
%30 = add i64 %0, 152
%31 = call i64 @FUNC(i64 %30)
%32 = add i64 %0, 160
%33 = inttoptr i64 %32 to i64*
store i64 0, i64* %33, align 8
%34 = add i64 %0, 168
%35 = call i64 @FUNC(i64 %34)
%36 = add i64 %0, 176
%37 = call i64 @FUNC(i64 %36)
ret i64 0
uselistorder i64 %0, { 3, 2, 6, 7, 8, 5, 4, 0, 9, 1 }
uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64)* @av_freep, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @ff_thread_release_buffer, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64)* @av_frame_free, { 2, 1, 0 }
uselistorder i64 8, { 2, 0, 1 }
uselistorder label LBL_4, { 1, 0 }
}
|
1
|
CompRealVul
|
gen_mtspr_14486
|
gen_mtspr
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.pre-phi4.reg2mem = alloca i64
%sv_0.0.in.in.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 = and i64 %3, 4294967295
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %4, 6152
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = and i64 %6, 4294967295
%12 = mul nuw nsw i64 %11, 24
%13 = add i64 %4, 8
%14 = add i64 %13, %12
store i64 %14, i64* %sv_0.0.in.in.reg2mem
br label LBL_5
LBL_2:
%15 = add i64 %4, 6156
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
%19 = and i64 %6, 4294967295
%20 = mul nuw nsw i64 %19, 24
%21 = add i64 %20, %4
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%22 = add i64 %21, 16
store i64 %22, i64* %sv_0.0.in.in.reg2mem
br label LBL_5
LBL_4:
%23 = add i64 %21, 24
store i64 %23, i64* %sv_0.0.in.in.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem
%sv_0.0.in = inttoptr i64 %sv_0.0.in.in.reload to i64*
%sv_0.0 = load i64, i64* %sv_0.0.in, align 8
%24 = icmp eq i64 %sv_0.0, 0
%25 = icmp eq i1 %24, false
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_7, label LBL_6
LBL_6:
%27 = call i64 @FUNC(i64 %5)
store i64 %4, i64* %rax.0.reg2mem
br label LBL_11
LBL_7:
%28 = trunc i64 %6 to i32
%29 = call i64 @FUNC()
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
%.pre = add i64 %4, 4
%.pre1 = inttoptr i64 %.pre to i32*
br i1 %31, label LBL_7.LBL_10_crit_edge, label LBL_9
LBL_8:
%.pre3 = and i64 %6, 4294967295
store i64 %.pre3, i64* %.pre-phi4.reg2mem
br label LBL_10
LBL_9:
%32 = load i32, i32* %.pre1, align 4
%33 = add i32 %32, -4
%34 = zext i32 %33 to i64
%35 = and i64 %6, 4294967295
%36 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %35, i32 %28, i64 %34, i64 %2, i64 %1)
store i64 %35, i64* %.pre-phi4.reg2mem
br label LBL_10
LBL_10:
%.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem
%37 = load i32, i32* %.pre1, align 4
%38 = add i32 %37, -4
%39 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %.pre-phi4.reload, i32 %28, i32 %38)
%41 = call i64 @FUNC(i64 %4, i64 2)
store i64 %41, 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 i32 %28, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i64 %6, { 2, 0, 4, 1, 3 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %4, { 4, 2, 0, 1, 5, 3, 6 }
uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 24, { 2, 0, 1 }
uselistorder i64 4294967295, { 3, 1, 2, 4, 0 }
uselistorder label LBL_10, { 1, 0 }
}
|
1
|
CompRealVul
|
defendel_17797
|
defendel
|
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rbx.2.reg2mem = alloca i64
%rbx.1.reg2mem = alloca i64
%.reg2mem42 = alloca i64*
%.reg2mem40 = alloca i64*
%.reg2mem38 = alloca i64
%rbx.0.lcssa.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.09.reg2mem = alloca i32
%rbx.010.reg2mem = alloca i64
%.reg2mem = alloca i8
%0 = ptrtoint i8* %arg1 to i64
%1 = load i8, i8* %arg1, align 1
%2 = icmp eq i8 %1, 0
%3 = icmp eq i1 %2, false
store i8 %1, i8* %.reg2mem
store i64 %0, i64* %rbx.010.reg2mem
store i32 0, i32* %sv_0.09.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
store i64 %0, i64* %rbx.0.lcssa.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem
%rbx.010.reload = load i64, i64* %rbx.010.reg2mem
%.reload = load i8, i8* %.reg2mem
%4 = add i64 %rbx.010.reload, 1
%5 = sext i8 %.reload to i32
%6 = add i32 %sv_0.09.reload, %5
%7 = inttoptr i64 %4 to i8*
%8 = load i8, i8* %7, align 1
%9 = icmp eq i8 %8, 0
%10 = icmp eq i1 %9, false
store i8 %8, i8* %.reg2mem
store i64 %4, i64* %rbx.010.reg2mem
store i32 %6, i32* %sv_0.09.reg2mem
store i32 %6, i32* %sv_0.0.lcssa.reg2mem
store i64 %4, i64* %rbx.0.lcssa.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_2:
%rbx.0.lcssa.reload = load i64, i64* %rbx.0.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%11 = sub i64 %rbx.0.lcssa.reload, %0
%12 = trunc i64 %11 to i32
%13 = add i32 %sv_0.0.lcssa.reload, %12
%14 = mul i32 %13, 8
%15 = and i32 %14, 2040
%16 = zext i32 %15 to i64
%17 = add i64 %16, ptrtoint (i64* @gv_0 to i64)
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
store i64 %19, i64* %.reg2mem38
store i64* %18, i64** %.reg2mem40
store i64* %18, i64** %.reg2mem42
store i64 %19, i64* %rbx.1.reg2mem
br i1 %21, label LBL_3, label LBL_10
LBL_3:
%.reload39 = load i64, i64* %.reg2mem38
%22 = add i64 %.reload39, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp eq i32 %13, %24
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_9, label LBL_4
LBL_4:
%27 = add i64 %.reload39, 28
%28 = inttoptr i64 %27 to i8*
%29 = call i32 @strcmp(i8* %28, i8* %arg1)
%30 = icmp slt i32 %29, 0
br i1 %30, label LBL_9, label LBL_5
LBL_5:
%.reload41 = load i64*, i64** %.reg2mem40
%31 = icmp eq i32 %29, 0
store i64* %.reload41, i64** %.reg2mem42
store i64 0, i64* %rbx.1.reg2mem
br i1 %31, label LBL_6, label LBL_10
LBL_6:
%32 = inttoptr i64 %.reload39 to i64*
%33 = load i64, i64* %32, align 8
store i64 %33, i64* %.reload41, align 8
%34 = add i64 %.reload39, 16
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = icmp eq i64 %36, 0
br i1 %37, label LBL_8, label LBL_7
LBL_7:
%38 = inttoptr i64 %36 to i64*
call void @free(i64* %38)
br label LBL_8
LBL_8:
call void @free(i64* %32)
store i64* %.reload41, i64** %.reg2mem42
store i64 %.reload39, i64* %rbx.1.reg2mem
br label LBL_10
LBL_9:
%39 = inttoptr i64 %.reload39 to i64*
%40 = load i64, i64* %39, align 8
%41 = icmp eq i64 %40, 0
%42 = icmp eq i1 %41, false
store i64 %40, i64* %.reg2mem38
store i64* %39, i64** %.reg2mem40
store i64* %39, i64** %.reg2mem42
store i64 %40, i64* %rbx.1.reg2mem
br i1 %42, label LBL_3, label LBL_10
LBL_10:
%rbx.1.reload = load i64, i64* %rbx.1.reg2mem
%43 = trunc i64 %arg2 to i32
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
store i64 %rbx.1.reload, i64* %rbx.2.reg2mem
br i1 %45, label LBL_12, label LBL_11
LBL_11:
%.reload43 = load i64*, i64** %.reg2mem42
%sext3 = mul i64 %11, 4294967296
%46 = ashr exact i64 %sext3, 32
%47 = add nsw i64 %46, 32
%48 = call i64 @FUNC(i64 %47)
%49 = load i64, i64* %.reload43, align 8
%50 = inttoptr i64 %48 to i64*
store i64 %49, i64* %50, align 8
store i64 %48, i64* %.reload43, align 8
%51 = add i64 %48, 8
%52 = inttoptr i64 %51 to i32*
store i32 %13, i32* %52, align 4
%53 = add i64 %48, 16
%54 = inttoptr i64 %53 to i64*
store i64 0, i64* %54, align 8
%55 = add i64 %48, 24
%56 = inttoptr i64 %55 to i32*
store i32 0, i32* %56, align 4
%57 = add i64 %48, 28
%58 = inttoptr i64 %57 to i8*
%59 = call i8* @strcpy(i8* %58, i8* %arg1)
store i64 %48, i64* %rbx.2.reg2mem
br label LBL_12
LBL_12:
%rbx.2.reload = load i64, i64* %rbx.2.reg2mem
ret i64 %rbx.2.reload
uselistorder i64 %48, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i64* %.reload41, { 1, 2, 0 }
uselistorder i64 %.reload39, { 3, 0, 5, 4, 1, 2 }
uselistorder i32 %13, { 1, 2, 0 }
uselistorder i64 %0, { 2, 0, 1 }
uselistorder i8* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %rbx.010.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem38, { 2, 0, 1 }
uselistorder i64** %.reg2mem40, { 2, 0, 1 }
uselistorder i64** %.reg2mem42, { 0, 1, 4, 3, 2 }
uselistorder i64* %rbx.1.reg2mem, { 0, 1, 4, 3, 2 }
uselistorder i64 32, { 1, 0 }
uselistorder void (i64*)* @free, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i32 0, { 4, 5, 2, 3, 0, 1 }
uselistorder i1 false, { 3, 4, 2, 1, 5, 0 }
uselistorder i8 0, { 2, 0, 1 }
uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i8* %arg1, { 1, 2, 0, 3 }
uselistorder label LBL_10, { 0, 3, 2, 1 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
pci_create_simple_16090
|
pci_create_simple
|
define i64 @FUNC(i32* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i8* %arg3 to i64
%1 = ptrtoint i32* %arg1 to i64
%2 = and i64 %arg2, 4294967295
%3 = call i64 @FUNC(i64 %1, i64 %2, i64 %0)
%4 = add i64 %3, 16
%5 = call i64 @FUNC(i64 %4)
ret i64 %3
}
|
1
|
CompRealVul
|
ext4_max_bitmap_size_8614
|
ext4_max_bitmap_size
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sext = mul i64 %arg1, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = trunc i64 %arg2 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
store i64 281474976710655, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = add nsw i64 %0, 55
%5 = urem i64 %4, 64
%6 = lshr i64 4294967295, %5
store i64 %6, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%7 = add nsw i64 %0, 62
%8 = urem i64 %7, 64
%9 = icmp eq i64 %8, 0
%10 = shl i64 1, %8
%phitmp.op.op = add i64 %10, 2
%11 = select i1 %9, i64 3, i64 %phitmp.op.op
%12 = mul i64 %arg1, 2
%13 = add i64 %12, 60
%14 = and i64 %13, 62
%15 = shl i64 1, %14
%16 = add i64 %10, %15
%17 = add i64 %11, %16
%18 = mul i64 %17, 4294967296
%sext10 = add i64 %18, 4294967296
%19 = ashr exact i64 %sext10, 32
%20 = sub i64 %sv_0.0.reload, %19
%21 = urem i64 %0, 64
%22 = shl i64 %20, %21
%23 = mul nsw i64 %0, 3
%24 = add nsw i64 %23, 58
%25 = urem i64 %24, 64
%26 = shl i64 1, %25
%27 = add i64 %16, 12
%28 = add i64 %27, %26
%29 = shl i64 %28, %21
%30 = icmp sgt i64 %29, %22
%spec.select12 = select i1 %30, i64 %22, i64 %29
ret i64 %spec.select12
uselistorder i64 %29, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %0, { 2, 0, 3, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 3, { 1, 0 }
uselistorder i64 62, { 1, 0 }
uselistorder i64 4294967296, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
dm_get_from_kobject_5525
|
dm_get_from_kobject
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64* nonnull @gv_0)
%2 = call i64 @FUNC(i64 0, i64 %0)
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %0)
%7 = trunc i64 %6 to i8
%8 = icmp eq i8 %7, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_2, label LBL_3
LBL_2:
%9 = call i64 @FUNC(i64 %0)
store i64 %0, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%10 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %sv_0.0.reload
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder label LBL_3, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
ksmbd_conn_handler_loop_7843
|
ksmbd_conn_handler_loop
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
store i32 0, i32* %sv_0, align 4
%3 = add i64 %2, 24
%4 = call i64 @FUNC(i64 %3)
%5 = load i64, i64* @gv_0, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = icmp eq i64 %5, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = trunc i64 %2 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_23, label LBL_2
LBL_2:
%11 = load i32, i32* @gv_1, align 4
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i32*
store i32 %11, i32* %13, align 4
%14 = call i64 @FUNC(i64 %2)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_3, label LBL_23
LBL_3:
%18 = add i64 %2, 8
%19 = inttoptr i64 %18 to i64*
%20 = trunc i64 %2 to i32
%21 = icmp eq i32 %20, 4
%22 = icmp eq i1 %21, false
%23 = add i64 %2, 32
%24 = inttoptr i64 %23 to i64*
%25 = and i64 %2, 4294967295
%26 = icmp slt i32 %20, 0
%27 = icmp eq i1 %26, false
%28 = icmp eq i32 %20, 0
%29 = icmp ult i32 %20, 64
br label LBL_4
LBL_4:
%30 = call i64 @FUNC()
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_5, label LBL_17
LBL_5:
%33 = load i64, i64* %19, align 8
%34 = call i64 @FUNC(i64 %33)
store i64 0, i64* %19, align 8
br i1 %22, label LBL_23, label LBL_6
LBL_6:
%35 = add i64 %33, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = call i64 @FUNC(i32* nonnull %sv_0)
%39 = and i64 %38, 4294967295
%40 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %39)
%41 = call i64 @FUNC(i64 %2)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
store i32 65536, i32* %storemerge.reg2mem
br i1 %43, label LBL_8, label LBL_7
LBL_7:
%44 = load i64, i64* %24, align 8
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = add i32 %46, 65536
store i32 %47, i32* %storemerge.reg2mem
br label LBL_8
LBL_8:
%48 = trunc i64 %38 to i32
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%49 = icmp ult i32 %storemerge.reload, %48
br i1 %49, label LBL_9, label LBL_10
LBL_9:
%50 = add i64 %2, 20
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = call i64 @FUNC(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_3, i64 0, i64 0), i64 %39, i32 %storemerge.reload, i32 %52, i64 %37, i64 %1)
br label LBL_23
LBL_10:
%.off = add i32 %48, -4
%54 = icmp ugt i32 %.off, 65532
br i1 %54, label LBL_23, label LBL_11
LBL_11:
%55 = mul i64 %38, 4294967296
%sext = add i64 %55, 21474836480
%56 = ashr exact i64 %sext, 32
%57 = call i64 @FUNC(i64 %56, i64 0)
store i64 %57, i64* %19, align 8
%58 = icmp eq i64 %57, 0
br i1 %58, label LBL_23, label LBL_12
LBL_12:
%59 = load i32, i32* %sv_0, align 4
%60 = inttoptr i64 %57 to i32*
store i32 %59, i32* %60, align 4
%61 = call i64 @FUNC(i64 %2)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label LBL_23, label LBL_13
LBL_13:
%64 = load i64, i64* %19, align 8
br i1 %27, label LBL_15, label LBL_14
LBL_14:
%65 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %25, i32 %48, i64 2, i64 %64, i64 %1)
br label LBL_23
LBL_15:
%66 = icmp eq i32 %48, %20
br i1 %66, label LBL_18, label LBL_16
LBL_16:
%67 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i64 %25, i32 %48, i64 2, i64 %64, i64 %1)
br label LBL_17
LBL_17:
%68 = call i64 @FUNC(i64 %2)
%69 = trunc i64 %68 to i32
%70 = icmp eq i32 %69, 0
%71 = icmp eq i1 %70, false
br i1 %71, label LBL_4, label LBL_23
LBL_18:
%72 = call i64 @FUNC(i64 %64)
%73 = inttoptr i64 %72 to i32*
%74 = load i32, i32* %73, align 4
%75 = icmp eq i32 %74, 1112364031
%or.cond = icmp eq i1 %29, %75
br i1 %or.cond, label LBL_23, label LBL_19
LBL_19:
%76 = load i32, i32* @gv_6, align 4
%77 = icmp eq i32 %76, 0
%78 = icmp eq i1 %77, false
br i1 %78, label LBL_21, label LBL_20
LBL_20:
%79 = add i64 %64, 4
%80 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_7, i64 0, i64 0), i64 %79, i32 %20, i64 2, i64 %64, i64 %1)
br label LBL_23
LBL_21:
br i1 %28, label LBL_17, label LBL_22
LBL_22:
%81 = add i64 %64, 4
%82 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0), i64 %81, i32 %76, i64 2, i64 %64, i64 %1)
br label LBL_23
LBL_23:
%83 = call i64 @FUNC(i64 %2)
%84 = add i64 %2, 40
%85 = call i64 @FUNC(i64 %84)
%86 = trunc i64 %85 to i32
%87 = icmp eq i32 %86, 0
%88 = add i64 %2, 64
%89 = inttoptr i64 %88 to i32*
%90 = load i32, i32* %89, align 4
%91 = zext i1 %87 to i64
%92 = zext i32 %90 to i64
%93 = call i64 @FUNC(i64 %92, i64 %91)
%94 = add i64 %2, 48
%95 = inttoptr i64 %94 to i64*
%96 = load i64, i64* %95, align 8
%97 = call i64 @FUNC(i64 %96)
%98 = add i64 %2, 56
%99 = inttoptr i64 %98 to i64*
%100 = load i64, i64* %99, align 8
%101 = call i64 @FUNC(i64 %100)
%102 = load i64, i64* @gv_0, align 8
%103 = call i64 @FUNC(i64 %102)
ret i64 0
uselistorder i64 %64, { 0, 1, 2, 3, 5, 6, 4 }
uselistorder i64 %57, { 1, 0, 2 }
uselistorder i32 %storemerge.reload, { 1, 0 }
uselistorder i32 %48, { 4, 3, 0, 1, 2 }
uselistorder i64 %38, { 0, 2, 1 }
uselistorder i64 %25, { 1, 0 }
uselistorder i32 %20, { 0, 3, 1, 2, 4, 5 }
uselistorder i32* %sv_0, { 1, 0, 2 }
uselistorder i64 %2, { 7, 8, 9, 10, 11, 14, 4, 5, 6, 3, 2, 12, 13, 0, 15, 1, 16 }
uselistorder i64 %1, { 4, 3, 2, 1, 0 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @pr_err, { 3, 2, 1, 0 }
uselistorder i64 2, { 3, 2, 1, 0 }
uselistorder i32 65536, { 1, 0 }
uselistorder i64 4294967295, { 3, 2, 0, 1 }
uselistorder i64 (i64)* @ksmbd_conn_alive, { 1, 0 }
uselistorder i1 false, { 1, 4, 2, 3, 0, 5 }
uselistorder label LBL_23, { 8, 9, 4, 0, 10, 3, 2, 5, 11, 1, 6, 7 }
uselistorder label LBL_17, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
1
|
CompRealVul
|
scsi_write_request_14139
|
scsi_write_request
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = udiv i64 %7, 512
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_5, label LBL_3
LBL_3:
%11 = add i64 %0, -8
%12 = add i64 %0, 24
%13 = call i64 @FUNC(i64 %12, i64 %5, i64 1)
%14 = add i64 %0, 32
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = inttoptr i64 %11 to i64*
%18 = load i64, i64* %17, align 8
%19 = and i64 %8, 4294967295
%20 = call i64 @FUNC(i64 %18, i32 %16, i64 %12, i64 %19, i64 4198743, i64 %0)
store i64 %20, i64* %2, align 8
%21 = icmp eq i64 %20, 0
%22 = icmp eq i1 %21, false
store i64 %20, i64* %rax.0.reg2mem
br i1 %22, label LBL_6, label LBL_4
LBL_4:
%23 = call i64 @FUNC(i64 %0, i64 4294967291)
store i64 %23, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%24 = call i64 @FUNC(i64 %0, i64 0)
store i64 %24, 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 %8, { 1, 0 }
uselistorder i64 %0, { 2, 0, 1, 3, 4, 6, 5, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 (i64, i64)* @scsi_write_complete, { 1, 0 }
uselistorder i64 1, { 1, 0 }
}
|
1
|
CompRealVul
|
spapr_events_init_15402
|
spapr_events_init
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0)
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
store i64 %4, i64* %6, align 8
%7 = add i64 %0, 24
%8 = inttoptr i64 %7 to i64*
store i64 4198662, i64* %8, align 8
%9 = call i64 @FUNC(i64 %7)
%10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 4198722)
%11 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4198729)
ret i64 %11
uselistorder i64 (i64, i8*, i64)* @spapr_rtas_register, { 1, 0 }
}
|
1
|
CompRealVul
|
fuse_conn_init_6194
|
fuse_conn_init
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64* @memset(i64* %arg1, i32 0, i32 64)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %0, 4
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %3, i64 1)
%6 = add i64 %0, 8
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 %6)
%9 = call i64 @FUNC(i64 %6)
%10 = call i64 @FUNC(i64 %6)
%11 = call i64 @FUNC(i64 %6)
%12 = call i64 @FUNC(i64 %6)
%13 = call i64 @FUNC(i64 %6)
%14 = call i64 @FUNC(i64 %6, i64 0)
%15 = add i64 %0, 12
%16 = inttoptr i64 %15 to i32*
store i32 100, i32* %16, align 4
%17 = add i64 %0, 16
%18 = inttoptr i64 %17 to i32*
store i32 50, i32* %18, align 4
%19 = add i64 %0, 20
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
%21 = add i64 %0, 24
%22 = inttoptr i64 %21 to i64*
store i64 0, i64* %22, align 8
%23 = add i64 %0, 32
%24 = inttoptr i64 %23 to i32*
store i32 0, i32* %24, align 4
%25 = add i64 %0, 36
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
%27 = add i64 %0, 40
%28 = inttoptr i64 %27 to i32*
store i32 1, i32* %28, align 4
%29 = add i64 %0, 44
%30 = inttoptr i64 %29 to i32*
store i32 1, i32* %30, align 4
%31 = add i64 %0, 48
%32 = call i64 @FUNC(i64 %31, i64 16)
ret i64 %32
uselistorder i64 (i64)* @INIT_LIST_HEAD, { 2, 1, 0 }
uselistorder i64 (i64)* @init_waitqueue_head, { 1, 0 }
uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }
uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }
uselistorder i32 0, { 3, 4, 5, 0, 1, 2 }
}
|
0
|
CompRealVul
|
tpm_passthrough_unix_write_3458
|
tpm_passthrough_unix_write
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.ph13.reg2mem = alloca i64
%sv_1.0.ph15.reg2mem = alloca i64
%sv_0.0.ph16.reg2mem = alloca i64
%.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i32
%sext4 = mul i64 %arg3, 4294967296
%0 = ashr exact i64 %sext4, 32
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp slt i32 %1, 0
%4 = icmp eq i1 %3, false
%5 = icmp eq i1 %2, false
%6 = icmp eq i1 %4, %5
store i64 %0, i64* %sv_0.0.ph13.reg2mem
br i1 %6, label LBL_1, label LBL_8
LBL_1:
%7 = trunc i64 %arg1 to i32
store i32 %1, i32* %.reg2mem
store i64 %0, i64* %sv_0.0.ph16.reg2mem
store i64 %arg2, i64* %sv_1.0.ph15.reg2mem
br label LBL_7
LBL_2:
%8 = call i32* @__errno_location()
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 4
br i1 %10, label LBL_3, label LBL_4
LBL_3:
%11 = call i32 @write(i32 %7, i64* %27, i32 %.reload)
%12 = icmp slt i32 %11, 0
%13 = icmp eq i1 %12, false
store i32 %11, i32* %.lcssa.reg2mem
br i1 %13, label LBL_5, label LBL_2
LBL_4:
%14 = call i32* @__errno_location()
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 11
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %16, label LBL_3, label LBL_9
LBL_5:
%.lcssa.reload = load i32, i32* %.lcssa.reg2mem
%17 = icmp eq i32 %.lcssa.reload, 0
store i64 %sv_0.0.ph16.reload, i64* %sv_0.0.ph13.reg2mem
br i1 %17, label LBL_8, label LBL_6
LBL_6:
%18 = sext i32 %.lcssa.reload to i64
%19 = add i64 %sv_1.0.ph15.reload, %18
%20 = sub i32 %.reload, %.lcssa.reload
%21 = sext i32 %20 to i64
%22 = icmp eq i32 %20, 0
%23 = icmp slt i32 %20, 0
%24 = icmp eq i1 %23, false
%25 = icmp eq i1 %22, false
%26 = icmp eq i1 %24, %25
store i32 %20, i32* %.reg2mem
store i64 %21, i64* %sv_0.0.ph16.reg2mem
store i64 %19, i64* %sv_1.0.ph15.reg2mem
store i64 %21, i64* %sv_0.0.ph13.reg2mem
br i1 %26, label LBL_7, label LBL_8
LBL_7:
%sv_1.0.ph15.reload = load i64, i64* %sv_1.0.ph15.reg2mem
%sv_0.0.ph16.reload = load i64, i64* %sv_0.0.ph16.reg2mem
%.reload = load i32, i32* %.reg2mem
%27 = inttoptr i64 %sv_1.0.ph15.reload to i64*
%28 = call i32 @write(i32 %7, i64* %27, i32 %.reload)
%29 = icmp slt i32 %28, 0
%30 = icmp eq i1 %29, false
store i32 %28, i32* %.lcssa.reg2mem
br i1 %30, label LBL_5, label LBL_2
LBL_8:
%sv_0.0.ph13.reload = load i64, i64* %sv_0.0.ph13.reg2mem
%31 = sub nsw i64 %0, %sv_0.0.ph13.reload
%32 = and i64 %31, 4294967295
store i64 %32, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %.reload, { 2, 0, 1 }
uselistorder i32 %20, { 0, 2, 1, 3 }
uselistorder i32 %.lcssa.reload, { 1, 0, 2 }
uselistorder i64 %0, { 3, 1, 0, 2 }
uselistorder i32* %.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i1 false, { 0, 5, 3, 4, 1, 2 }
uselistorder i32 0, { 0, 5, 6, 3, 4, 1, 2 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
mygroup_delete_5272
|
mygroup_delete
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.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, 0
store i64 %3, i64* %storemerge1.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%5 = add i64 %storemerge1.reload, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %storemerge1.reload to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9, i64 %0)
%11 = add i64 %9, 32
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %9, 16
%16 = call i64 @FUNC(i64 %15, i64 %14)
%17 = call i64 @FUNC(i64 %9)
%18 = icmp eq i64 %7, 0
store i64 %7, i64* %storemerge1.reg2mem
br i1 %18, label LBL_2, label LBL_1
LBL_2:
%19 = call i64 @FUNC(i64 %0)
%20 = load i64, i64* @gv_0, align 8
%21 = call i64 @FUNC(i64 %20, i64 %0)
ret i64 %21
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @node_del, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
iwl_pcie_txq_init_17648
|
iwl_pcie_txq_init
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = and i64 %arg4, 4294967295
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i8*
store i8 0, i8* %3, align 1
%4 = and i64 %arg3, 4294967295
%5 = call i64 @FUNC(i64 %0, i64 %4, i64 %1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = and i64 %5, 4294967295
store i64 %8, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%9 = ptrtoint i64* %arg1 to i64
%10 = add i64 %0, 12
%11 = call i64 @FUNC(i64 %10)
%12 = udiv i64 %4, 256
%13 = mul i64 %arg4, 4
%14 = add i64 %13, 4096
%15 = and i64 %14, 4294967292
%16 = call i64 @FUNC(i64 %9, i64 %15, i64 %12)
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
}
|
1
|
CompRealVul
|
check_vim9_unlet_5636
|
check_vim9_unlet
|
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 i8
%3 = icmp eq i8 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8
%6 = call i64 @FUNC(i64 %5)
%7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 1
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = icmp eq i8 %11, 58
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = urem i64 %1, 256
%15 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %14)
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_7, label LBL_4
LBL_4:
%18 = icmp eq i8 %2, 115
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_6, label LBL_5
LBL_5:
%20 = call i64 @FUNC()
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_6, label LBL_7
LBL_6:
%24 = load [18 x i8]*, [18 x i8]** @gv_3, align 8
%25 = ptrtoint [18 x i8]* %24 to i64
%26 = call i64 @FUNC(i64 %25)
%27 = bitcast i64* %arg1 to i8*
%28 = call i64 @FUNC(i64 %26, i8* %27)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }
uselistorder i64 (i64, i8*)* @semsg, { 1, 0 }
uselistorder i64 (i64)* @_, { 1, 0 }
uselistorder i32 0, { 4, 0, 1, 2, 3 }
uselistorder label LBL_7, { 2, 1, 0, 3 }
}
|
0
|
CompRealVul
|
reset_6975
|
reset
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
store i8 0, i8* bitcast (i64* @gv_0 to i8*), align 8
ret i64 0
}
|
0
|
CompRealVul
|
llc_cmsg_rcv_11330
|
llc_cmsg_rcv
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = and i32 %3, 2
%5 = icmp eq i32 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %0)
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
store i32 %12, i32* %sv_2, align 4
%13 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%14 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)
%15 = call i64 @FUNC(i64 %6, i64 0, i64 1, i64 44, i32* nonnull %sv_2)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i64 (i64)* @llc_sk, { 1, 0 }
}
|
1
|
CompRealVul
|
ofputil_port_from_ofp11_9242
|
ofputil_port_from_ofp11
|
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = call i32 @ntohl(i32 %0)
%2 = call i64 @FUNC(i64 255)
%3 = trunc i64 %2 to i32
%4 = icmp ult i32 %1, %3
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = zext i32 %1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i16
%9 = bitcast i64* %arg2 to i16*
store i16 %8, i16* %9, align 2
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%10 = call i64 @FUNC(i64 16777215)
%11 = trunc i64 %10 to i32
%12 = icmp ult i32 %1, %11
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = add i32 %1, -65536
%14 = zext i32 %13 to i64
%15 = call i64 @FUNC(i64 %14)
%16 = trunc i64 %15 to i16
%17 = bitcast i64* %arg2 to i16*
store i16 %16, i16* %17, align 2
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%18 = bitcast i64* %arg2 to i16*
store i16 -1, i16* %18, align 2
%19 = call i64 @FUNC(i64 16777215)
%20 = call i64 @FUNC(i64 255)
%21 = add i64 %20, 4294967295
%22 = and i64 %19, 4294967295
%23 = and i64 %21, 4294967295
%24 = zext i32 %1 to i64
%25 = call i64 @FUNC(i64* nonnull @gv_0, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %23, i64 %22, i64 4294967295)
store i64 1, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %1, { 1, 3, 2, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @ofp11_to_u32, { 1, 0 }
uselistorder i64 (i64)* @u16_to_ofp, { 1, 0 }
uselistorder i64 (i64)* @ofp_to_u16, { 1, 0 }
}
|
0
|
CompRealVul
|
ff_audio_mix_init_108
|
ff_audio_mix_init
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i64
%.reg2mem21 = alloca i64
%.pre-phi8.reg2mem = alloca i32*
%.pre-phi12.reg2mem = alloca i32*
%.pre-phi16.reg2mem = alloca i32*
%.pre-phi20.reg2mem = alloca i32*
%storemerge4.reg2mem = alloca i32
%storemerge23.reg2mem = alloca i32
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%4 = trunc i64 %3 to i32
%.off = add i32 %4, -1
%switch = icmp ult i32 %.off, 2
br i1 %switch, label LBL_2, label LBL_1
LBL_1:
%5 = and i64 %3, 4294967295
%6 = call i64 @FUNC(i64 %5)
%7 = ptrtoint i32* %arg1 to i64
%8 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.shrunk.reg2mem
br label LBL_14
LBL_2:
%9 = ptrtoint i32* %arg1 to i64
%10 = add i64 %9, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = add i64 %12, 24
%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
br i1 %17, label LBL_2.LBL_13_crit_edge, label LBL_4
LBL_3:
%.pre6 = add i64 %9, 16
%.pre7 = inttoptr i64 %.pre6 to i32*
%.pre9 = add i64 %9, 20
%.pre11 = inttoptr i64 %.pre9 to i32*
%.pre13 = add i64 %9, 48
%.pre15 = inttoptr i64 %.pre13 to i32*
%.pre17 = add i64 %9, 52
%.pre19 = inttoptr i64 %.pre17 to i32*
store i32* %.pre19, i32** %.pre-phi20.reg2mem
store i32* %.pre15, i32** %.pre-phi16.reg2mem
store i32* %.pre11, i32** %.pre-phi12.reg2mem
store i32* %.pre7, i32** %.pre-phi8.reg2mem
store i64 %12, i64* %.reg2mem21
br label LBL_13
LBL_4:
%18 = add i64 %9, 52
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = add i64 %9, 48
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = mul i32 %23, %20
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 8
%27 = call i64 @FUNC(i64 %26)
%28 = icmp eq i64 %27, 0
%29 = icmp eq i1 %28, false
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %29, label LBL_5, label LBL_14
LBL_5:
%30 = add i64 %9, 56
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = load i32, i32* %22, align 4
%34 = add i64 %9, 40
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i128 @__asm_movsd.1(i64 %36)
%38 = add i64 %9, 32
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = call i128 @__asm_movsd.1(i64 %40)
%42 = add i64 %9, 24
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = add i64 %9, 20
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = zext i32 %47 to i64
%49 = add i64 %9, 16
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = zext i32 %32 to i64
%53 = zext i32 %33 to i64
%54 = call i128 @FUNC(i128 %37)
%55 = call i128 @FUNC(i128 %41)
%56 = call i128 @FUNC(i64 %44)
%57 = zext i32 %51 to i64
%58 = call i64 @FUNC(i64 %57, i64 %48, i64 1, i64 %27, i64 %53, i64 %52)
%59 = trunc i64 %58 to i32
%60 = icmp slt i32 %59, 0
%61 = icmp eq i1 %60, false
br i1 %61, label LBL_7, label LBL_6
LBL_6:
%62 = call i64 @FUNC(i64 %27)
store i64 %58, i64* %rax.0.shrunk.reg2mem
br label LBL_14
LBL_7:
%63 = load i32, i32* %50, align 4
%64 = load i32, i32* %22, align 4
%65 = call i64 @FUNC(i64* nonnull %sv_1, i64 128, i32 %64, i32 %63)
%66 = load i32, i32* %46, align 4
%67 = load i32, i32* %19, align 4
%68 = call i64 @FUNC(i64* nonnull %sv_0, i64 128, i32 %67, i32 %66)
%69 = ptrtoint i64* %sv_0 to i64
%70 = ptrtoint i64* %sv_1 to i64
%71 = call i64 @FUNC(i64 %9, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %70, i64 %69, i64 %52)
%72 = load i32, i32* %19, align 4
%73 = icmp eq i32 %72, 0
store i32 0, i32* %storemerge4.reg2mem
br i1 %73, label LBL_11, label LBL_10
LBL_8:
%storemerge23.reload = load i32, i32* %storemerge23.reg2mem
%.reload = load i32, i32* %.reg2mem
%74 = mul i32 %.reload, %storemerge4.reload
%75 = add i32 %74, %storemerge23.reload
%76 = sext i32 %75 to i64
%77 = mul i64 %76, 8
%78 = add i64 %77, %27
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
%81 = call i128 @FUNC(i64 %80)
%82 = call i64 @FUNC(i64 %9, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %70, i64 %69, i64 %52)
%83 = add i32 %storemerge23.reload, 1
%84 = load i32, i32* %22, align 4
%85 = zext i32 %84 to i64
%86 = sext i32 %83 to i64
%87 = icmp slt i64 %86, %85
store i32 %84, i32* %.reg2mem
store i32 %83, i32* %storemerge23.reg2mem
br i1 %87, label LBL_8, label LBL_9
LBL_9:
%88 = call i64 @FUNC(i64 %9, i64 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64 %70, i64 %69, i64 %52)
%89 = add i32 %storemerge4.reload, 1
%90 = load i32, i32* %19, align 4
%91 = zext i32 %90 to i64
%92 = sext i32 %89 to i64
%93 = icmp slt i64 %92, %91
store i32 %89, i32* %storemerge4.reg2mem
br i1 %93, label LBL_10, label LBL_11
LBL_10:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%94 = load i32, i32* %22, align 4
%95 = icmp eq i32 %94, 0
store i32 %94, i32* %.reg2mem
store i32 0, i32* %storemerge23.reg2mem
br i1 %95, label LBL_9, label LBL_8
LBL_11:
%96 = load i32, i32* %22, align 4
%97 = call i64 @FUNC(i64 %9, i64 %27, i32 %96)
%98 = trunc i64 %97 to i32
%99 = icmp slt i32 %98, 0
%100 = icmp eq i1 %99, false
%101 = call i64 @FUNC(i64 %27)
store i64 %97, i64* %rax.0.shrunk.reg2mem
br i1 %100, label LBL_11.LBL_13_crit_edge, label LBL_14
LBL_12:
%.pre = load i64, i64* %11, align 8
store i32* %19, i32** %.pre-phi20.reg2mem
store i32* %22, i32** %.pre-phi16.reg2mem
store i32* %46, i32** %.pre-phi12.reg2mem
store i32* %50, i32** %.pre-phi8.reg2mem
store i64 %.pre, i64* %.reg2mem21
br label LBL_13
LBL_13:
%.reload22 = load i64, i64* %.reg2mem21
%.pre-phi8.reload = load i32*, i32** %.pre-phi8.reg2mem
%.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem
%.pre-phi16.reload = load i32*, i32** %.pre-phi16.reg2mem
%.pre-phi20.reload = load i32*, i32** %.pre-phi20.reg2mem
%102 = inttoptr i64 %.reload22 to i32*
store i32 %4, i32* %102, align 4
%103 = load i64, i64* %11, align 8
%104 = add i64 %9, 60
%105 = inttoptr i64 %104 to i32*
%106 = load i32, i32* %105, align 4
%107 = add i64 %103, 4
%108 = inttoptr i64 %107 to i32*
store i32 %106, i32* %108, align 4
%109 = load i64, i64* %11, align 8
%110 = load i32, i32* %.pre-phi8.reload, align 4
%111 = add i64 %109, 8
%112 = inttoptr i64 %111 to i32*
store i32 %110, i32* %112, align 4
%113 = load i64, i64* %11, align 8
%114 = load i32, i32* %.pre-phi12.reload, align 4
%115 = add i64 %113, 12
%116 = inttoptr i64 %115 to i32*
store i32 %114, i32* %116, align 4
%117 = load i64, i64* %11, align 8
%118 = load i32, i32* %.pre-phi16.reload, align 4
%119 = add i64 %117, 16
%120 = inttoptr i64 %119 to i32*
store i32 %118, i32* %120, align 4
%121 = load i64, i64* %11, align 8
%122 = load i32, i32* %.pre-phi20.reload, align 4
%123 = add i64 %121, 20
%124 = inttoptr i64 %123 to i32*
store i32 %122, i32* %124, align 4
%125 = load i64, i64* %11, align 8
%126 = call i64 @FUNC(i64 %125)
%127 = trunc i64 %126 to i32
%128 = icmp slt i32 %127, 0
%129 = icmp eq i1 %128, false
%. = select i1 %129, i64 0, i64 %126
store i64 %., i64* %rax.0.shrunk.reg2mem
br label LBL_14
LBL_14:
%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 i32 %storemerge4.reload, { 1, 0 }
uselistorder i32 %storemerge23.reload, { 1, 0 }
uselistorder i64 %27, { 2, 3, 0, 1, 4, 5 }
uselistorder i32* %22, { 0, 2, 1, 3, 4, 5, 6 }
uselistorder i32* %19, { 0, 2, 1, 3, 4 }
uselistorder i64* %11, { 1, 2, 3, 4, 5, 6, 0, 7 }
uselistorder i64 %9, { 14, 6, 4, 5, 7, 10, 9, 8, 11, 13, 12, 15, 16, 0, 1, 2, 3, 17 }
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i32* %.reg2mem, { 1, 2, 0 }
uselistorder i32* %storemerge23.reg2mem, { 1, 2, 0 }
uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 2, 5, 3, 4 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64*, i64, i32, i32)* @av_get_channel_layout_string, { 1, 0 }
uselistorder i64 (i64)* @av_free, { 1, 0 }
uselistorder i64 52, { 1, 0 }
uselistorder i64 48, { 1, 0 }
uselistorder i64 20, { 1, 2, 0 }
uselistorder i64 16, { 1, 2, 0 }
uselistorder i32 0, { 4, 5, 1, 2, 0, 3, 6, 7 }
uselistorder i64 8, { 2, 0, 1, 3 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 3, 1, 0 }
uselistorder i32* %arg1, { 1, 0 }
uselistorder label LBL_14, { 0, 1, 3, 2, 4 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
}
|
1
|
CompRealVul
|
gdImageHLine_10755
|
gdImageHLine
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.lcssa.in.reg2mem = alloca i64
%sv_0.011.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%sext = mul i64 %arg2, 4294967296
%2 = ashr exact i64 %sext, 32
%sext4 = mul i64 %arg3, 4294967296
%3 = ashr exact i64 %sext4, 32
%sext5 = mul i64 %arg4, 4294967296
%4 = ashr exact i64 %sext5, 32
%sext6 = mul i64 %arg5, 4294967296
%5 = ashr exact i64 %sext6, 32
%6 = trunc i64 %1 to i32
%7 = icmp slt i32 %6, 2
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = udiv i32 %6, 2
%9 = trunc i64 %2 to i32
%10 = add i32 %6, %9
%11 = sub i32 0, %8
%12 = sub i32 %11, 1
%13 = add i32 %10, %12
%14 = zext i32 %13 to i64
%15 = sub i32 %9, %8
%16 = zext i32 %15 to i64
%17 = trunc i64 %4 to i32
%18 = trunc i64 %3 to i32
%19 = and i64 %5, 4294967295
%20 = call i64 @FUNC(i64 %arg1, i32 %18, i64 %16, i32 %17, i64 %14, i64 %19)
store i64 %20, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%21 = trunc i64 %4 to i32
%22 = trunc i64 %3 to i32
%23 = icmp slt i32 %21, %22
%spec.select = select i1 %23, i64 %4, i64 %3
%spec.select10 = select i1 %23, i64 %3, i64 %4
%24 = trunc i64 %spec.select10 to i32
%25 = trunc i64 %spec.select to i32
%26 = icmp sgt i32 %25, %24
store i64 %spec.select, i64* %.lcssa.in.reg2mem
br i1 %26, label LBL_5, label LBL_3
LBL_3:
%27 = and i64 %5, 4294967295
%28 = trunc i64 %2 to i32
store i32 %25, i32* %.reg2mem
store i64 %spec.select, i64* %sv_0.011.reg2mem
br label LBL_4
LBL_4:
%sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem
%.reload = load i32, i32* %.reg2mem
%29 = call i64 @FUNC(i64 %arg1, i32 %.reload, i32 %28, i64 %27)
%30 = mul i64 %sv_0.011.reload, 4294967296
%sext9 = add i64 %30, 4294967296
%31 = ashr exact i64 %sext9, 32
%32 = trunc i64 %31 to i32
%33 = icmp sgt i32 %32, %24
store i32 %32, i32* %.reg2mem
store i64 %31, i64* %sv_0.011.reg2mem
store i64 %31, i64* %.lcssa.in.reg2mem
br i1 %33, label LBL_5, label LBL_4
LBL_5:
%.lcssa.in.reload = load i64, i64* %.lcssa.in.reg2mem
%.lcssa = and i64 %.lcssa.in.reload, 4294967295
store i64 %.lcssa, 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 %24, { 1, 0 }
uselistorder i64 %spec.select, { 1, 0, 2 }
uselistorder i32 %9, { 1, 0 }
uselistorder i32 %8, { 1, 0 }
uselistorder i32 %6, { 1, 0, 2 }
uselistorder i64 %4, { 0, 1, 3, 2 }
uselistorder i64 %3, { 0, 1, 3, 2 }
uselistorder i64 %2, { 1, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 }
uselistorder i64 4294967296, { 5, 0, 1, 2, 3, 4 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
queue_lock_6249
|
queue_lock
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
store i64 %1, i64* %arg1, align 8
%2 = call i64 @FUNC(i64 %1)
ret i64 %1
}
|
0
|
CompRealVul
|
cpu_reset_2258
|
cpu_reset
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 1)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = and i64 %3, 4294967295
%11 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %4, i64 %5, i64 %2, i64 %1)
%12 = call i64 @FUNC(i64 %6, i64 0)
br label LBL_2
LBL_2:
%13 = add i64 %6, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = call i64* @memset(i64* %arg1, i32 0, i32 204)
%17 = icmp eq i32 %15, 0
br i1 %17, label LBL_4, label LBL_3
LBL_3:
%18 = zext i32 %15 to i64
%19 = call i64 @FUNC(i64 %6, i64 %18)
br label LBL_4
LBL_4:
%20 = add i64 %6, 244
%21 = inttoptr i64 %20 to i32*
store i32 115, i32* %21, align 4
%22 = add i64 %6, 12
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = add i64 %6, 8
%25 = inttoptr i64 %24 to i32*
store i32 -16384, i32* %25, align 4
%26 = add i64 %6, 200
%27 = inttoptr i64 %26 to i32*
store i32 0, i32* %27, align 4
%28 = call i64 @FUNC(i64 %6, i64 1)
ret i64 %28
uselistorder i64 %6, { 2, 3, 4, 5, 6, 1, 7, 0 }
uselistorder i64* %0, { 4, 3, 2, 1, 0 }
uselistorder i32 0, { 1, 2, 3, 0, 4 }
}
|
0
|
CompRealVul
|
os_set_proc_name_17670
|
os_set_proc_name
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%3 = icmp eq i64 %arg1, 0
br i1 %3, label LBL_4, label LBL_1
LBL_1:
%4 = bitcast i64* %sv_0 to i8*
%5 = inttoptr i64 %arg1 to i8*
%6 = call i8* @strncpy(i8* nonnull %4, i8* %5, i32 16)
%7 = ptrtoint i64* %sv_0 to i64
%8 = trunc i64 %7 to i32
%9 = trunc i64 %arg1 to i32
%10 = trunc i64 %1 to i32
%11 = call i32 @prctl(i32 15, i32 %8, i32 16, i32 %9, i32 %10)
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_3, label LBL_2
LBL_2:
call void @perror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_3:
%13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%14 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_2 to i64*), i32 1, i32 48, %_IO_FILE* %13)
call void @exit(i32 1)
unreachable
LBL_4:
ret i64 %2
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i32 1, { 1, 2, 3, 4, 0 }
}
|
1
|
CompRealVul
|
vidioc_s_register_18374
|
vidioc_s_register
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 %3, i64 %7, i32 %6)
ret i64 0
}
|
1
|
CompRealVul
|
ext4_fiemap_11603
|
ext4_fiemap
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge5.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2, i64 1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
%7 = ptrtoint i32* %arg2 to i64
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %2, i64 %7, i64 %arg3, i64 %arg4, i64 4198825)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%9 = call i64 @FUNC(i64 %7, i64 1)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %11, label LBL_3, label LBL_7
LBL_3:
%12 = urem i64 %1, 2
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 %2, i64 %7)
store i64 %14, i64* %storemerge5.in.reg2mem
br label LBL_6
LBL_5:
%15 = urem i64 %7, 64
%storemerge = lshr i64 %arg3, %15
%16 = add i64 %arg3, -1
%17 = add i64 %16, %arg4
%rdx.0 = lshr i64 %17, %15
%18 = trunc i64 %rdx.0 to i32
%19 = icmp ult i64 %rdx.0, 1024
%spec.select = select i1 %19, i32 %18, i32 1023
%20 = trunc i64 %storemerge to i32
%21 = sub i32 1, %20
%22 = add i32 %21, %spec.select
%23 = call i64 @FUNC(i64 %2, i32 %20, i32 %22, i64 4198814, i64 %7)
store i64 %23, i64* %storemerge5.in.reg2mem
br label LBL_6
LBL_6:
%storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem
%24 = and i64 %storemerge5.in.reload, 4294967295
store i64 %24, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %20, { 1, 0 }
uselistorder i64 %rdx.0, { 1, 0 }
uselistorder i64 %7, { 2, 0, 1, 4, 3 }
uselistorder i64 %2, { 2, 1, 0, 3 }
uselistorder i64* %storemerge5.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_7, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
get_alen_11894
|
get_alen
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
store i32 0, i32* %storemerge2.reg2mem
br label LBL_1
LBL_1:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%2 = sext i32 %storemerge2.reload to i64
%3 = add i64 %2, %0
%4 = inttoptr i64 %3 to i8*
%5 = load i8, i8* %4, align 1
%6 = icmp eq i8 %5, 46
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = add i64 %3, 1
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = sext i8 %10 to i64
%12 = add nsw i64 %11, -48
store i64 %12, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_3:
%13 = icmp ne i8 %5, 0
%14 = add nuw i32 %storemerge2.reload, 1
%15 = icmp ult i32 %14, 8
%or.cond = icmp eq i1 %13, %15
store i32 %14, i32* %storemerge2.reg2mem
store i64 %1, i64* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%16 = and i64 %sv_0.0.reload, 4294967295
ret i64 %16
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
nfc_disable_se_12005
|
nfc_disable_se
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i32* %arg1 to i64
%5 = and i64 %arg2, 4294967295
%6 = add i64 %4, 16
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %5, i64 %7, i64 %2, i64 %1)
%9 = call i64 @FUNC(i64 %6)
%10 = call i64 @FUNC(i64 %6)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i64 4294967277, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_1, label LBL_8
LBL_1:
%14 = trunc i64 %3 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i64 4294967277, i64* %sv_0.0.reg2mem
br i1 %16, label LBL_2, label LBL_8
LBL_2:
%17 = add i64 %4, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = icmp eq i64 %21, 0
store i64 4294967201, i64* %sv_0.0.reg2mem
br i1 %22, label LBL_8, label LBL_3
LBL_3:
%23 = add i64 %19, 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = icmp eq i64 %25, 0
%27 = icmp eq i1 %26, false
store i64 4294967201, i64* %sv_0.0.reg2mem
br i1 %27, label LBL_4, label LBL_8
LBL_4:
%28 = call i64 @FUNC(i64 %4, i64 %5)
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %30, label LBL_5, label LBL_8
LBL_5:
%31 = inttoptr i64 %28 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
%34 = icmp eq i1 %33, false
store i64 4294967182, i64* %sv_0.0.reg2mem
br i1 %34, label LBL_6, label LBL_8
LBL_6:
%35 = trunc i64 %4 to i32
%36 = icmp slt i32 %35, 0
store i64 %4, i64* %sv_0.0.reg2mem
br i1 %36, label LBL_8, label LBL_7
LBL_7:
store i32 0, i32* %31, align 4
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%37 = call i64 @FUNC(i64 %6)
%38 = and i64 %sv_0.0.reload, 4294967295
ret i64 %38
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %4, { 0, 1, 2, 4, 3, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 8, 1, 2, 4, 3, 5, 6 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 4294967201, { 1, 0 }
uselistorder label LBL_8, { 7, 6, 0, 1, 3, 2, 4, 5 }
}
|
1
|
CompRealVul
|
buffered_rate_limit_327
|
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 uge 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 }
}
|
0
|
CompRealVul
|
pci_up_read_16524
|
pci_up_read
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i32 %2)
%4 = and i64 %1, 4294967295
ret i64 %4
uselistorder i64 %1, { 1, 0 }
}
|
1
|
CompRealVul
|
tty_add_file_10003
|
tty_add_file
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
store i64 %1, i64* %arg2, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 %0, i64* %3, align 8
%4 = call i64 @FUNC(i64* nonnull @gv_0)
%5 = add i64 %0, 16
%6 = call i64 @FUNC(i64 %5, i64 %1)
%7 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %7
uselistorder i64 %0, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
vq_endchains_19095
|
vq_endchains
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%sv_0.0.shrunk.reg2mem = alloca i1
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = call i64 @FUNC()
%3 = add i64 %0, 24
%4 = inttoptr i64 %3 to i16*
%5 = load i16, i16* %4, align 2
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = inttoptr i64 %8 to i16*
%10 = load i16, i16* %9, align 2
store i16 %10, i16* %4, align 2
%11 = icmp eq i32 %1, 0
%.phi.trans.insert = bitcast i64* %rdi to i32*
%.pre = load i32, i32* %.phi.trans.insert, align 8
%12 = urem i32 %.pre, 2
%13 = icmp eq i32 %12, 0
%or.cond = or i1 %11, %13
br i1 %or.cond, label LBL_1, label LBL_5
LBL_1:
%14 = and i32 %.pre, 2
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %0)
%17 = trunc i64 %16 to i16
%18 = sub i16 0, %17
%19 = sub i16 %18, 1
%20 = add i16 %10, %19
%21 = sub i16 %10, %5
%22 = icmp ult i16 %20, %21
store i1 %22, i1* %sv_0.0.shrunk.reg2mem
br label LBL_4
LBL_3:
%23 = icmp eq i16 %10, %5
%24 = icmp eq i1 %23, false
store i1 %24, i1* %sv_0.0.shrunk.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.shrunk.reload = load i1, i1* %sv_0.0.shrunk.reg2mem
%25 = icmp eq i1 %sv_0.0.shrunk.reload, false
store i64 0, i64* %rax.1.reg2mem
br i1 %25, label LBL_6, label LBL_5
LBL_5:
%26 = call i64 @FUNC(i64 %0, i64 %0)
store i64 %26, i64* %rax.1.reg2mem
br label LBL_6
LBL_6:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 %.pre, { 1, 0 }
uselistorder i16 %10, { 2, 1, 0, 3 }
uselistorder i16 %5, { 1, 0 }
uselistorder i64 %0, { 2, 1, 0, 3, 4 }
uselistorder i1* %sv_0.0.shrunk.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
ath_beacon_config_adhoc_17768
|
ath_beacon_config_adhoc
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = urem i32 %3, 65536
%5 = udiv i64 %2, 4294967296
%6 = and i64 %2, 4294967295
%7 = call i64 @FUNC(i64 %5, i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i32 %4, i32* %sv_0.0.reg2mem
br i1 %10, label LBL_1, label LBL_3
LBL_1:
%11 = icmp eq i32 %4, 0
store i32 %8, i32* %sv_0.0.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = zext i32 %4 to i64
%13 = and i64 %7, 4294967295
%14 = call i64 @FUNC(i64 %13, i64 %12)
%15 = trunc i64 %14 to i32
store i32 %15, i32* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%16 = add i64 %2, 24
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18)
%20 = udiv i64 %19, 4294967296
%21 = and i64 %19, 4294967295
%22 = call i64 @FUNC(i64 %20, i64 %21)
%23 = trunc i64 %22 to i32
%24 = add i32 %23, 1
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br label LBL_4
LBL_4:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%25 = add i32 %sv_0.1.reload, %4
%26 = icmp ult i32 %25, %24
store i32 %25, i32* %sv_0.1.reg2mem
br i1 %26, label LBL_4, label LBL_5
LBL_5:
%27 = and i64 %1, 4294967295
%28 = zext i32 %4 to i64
%29 = zext i32 %25 to i64
%30 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %29, i64 %28, i64 %27)
%31 = load i64, i64* %17, align 8
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = urem i32 %33, 2
%35 = icmp eq i32 %34, 0
%36 = icmp eq i1 %35, false
%.pre = add i64 %2, 16
%.pre3 = inttoptr i64 %.pre to i32*
br i1 %36, label LBL_7, label LBL_6
LBL_6:
%37 = load i32, i32* %.pre3, align 4
%38 = or i32 %37, 2
store i32 %38, i32* %.pre3, align 4
br label LBL_7
LBL_7:
%39 = or i32 %4, 1
%40 = call i64 @FUNC(i64 %2)
%41 = load i64, i64* %17, align 8
%42 = call i64 @FUNC(i64 %41, i64 0)
%43 = load i64, i64* %17, align 8
%44 = call i64 @FUNC(i64 %43, i64 %29, i32 %39)
%45 = add i64 %2, 8
%46 = inttoptr i64 %45 to i32*
store i32 0, i32* %46, align 4
%47 = load i32, i32* %.pre3, align 4
%48 = load i64, i64* %17, align 8
%49 = zext i32 %47 to i64
%50 = call i64 @FUNC(i64 %48, i64 %49)
%51 = icmp eq i32* %arg3, null
store i64 %50, i64* %rax.0.reg2mem
br i1 %51, label LBL_10, label LBL_8
LBL_8:
%52 = load i64, i64* %17, align 8
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = urem i32 %54, 2
%56 = icmp eq i32 %55, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %56, label LBL_10, label LBL_9
LBL_9:
%57 = ptrtoint i32* %arg3 to i64
%58 = call i64 @FUNC(i64 %2, i64 %57)
store i64 %58, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %.pre3, { 0, 2, 1 }
uselistorder i32 %25, { 1, 0, 2 }
uselistorder i64 %19, { 1, 0 }
uselistorder i64* %17, { 0, 1, 3, 2, 4, 5 }
uselistorder i32 %4, { 4, 3, 5, 1, 2, 0 }
uselistorder i64 %2, { 2, 3, 4, 1, 5, 6, 7, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64, i64)* @ath9k_hw_set_interrupts, { 1, 0 }
uselistorder i32 2, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @TSF_TO_TU, { 1, 0 }
uselistorder i64 4294967295, { 0, 2, 1, 3, 4 }
uselistorder i64 4294967296, { 1, 2, 0 }
uselistorder i32 65536, { 1, 2, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
vmw_user_surface_base_release_18491
|
vmw_user_surface_base_release
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 %0, i64* %sv_0, align 8
store i64 0, i64* %arg1, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64* nonnull %sv_0)
ret i64 %2
}
|
1
|
CompRealVul
|
gen_muls_i64_i32_15030
|
gen_muls_i64_i32
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = call i64 @FUNC()
%2 = call i64 @FUNC()
%3 = call i64 @FUNC()
%4 = call i64 @FUNC()
%5 = call i64 @FUNC()
%6 = call i64 @FUNC()
%7 = call i64 @FUNC()
ret i64 %7
uselistorder i64 ()* @dead_tmp, { 1, 0 }
uselistorder i64 ()* @tcg_gen_ext_i32_i64, { 1, 0 }
uselistorder i64 ()* @tcg_temp_new_i64, { 1, 0 }
}
|
1
|
CompRealVul
|
mov_seek_fragment_3164
|
mov_seek_fragment
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.in.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_10
LBL_1:
%6 = ptrtoint i64* %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
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_10, label LBL_2
LBL_2:
%11 = trunc i64 %2 to i32
%12 = add i64 %6, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = zext i32 %9 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
br label LBL_3
LBL_3:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%16 = mul i64 %.reload, 8
%17 = add i64 %16, %14
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, %11
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_9, label LBL_4
LBL_4:
%24 = add i64 %19, 4
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %19, 8
%28 = inttoptr i64 %27 to i64*
store i32 %26, i32* %storemerge2.in.reg2mem
br label LBL_8
LBL_5:
%29 = load i64, i64* %28, align 8
%30 = sext i32 %storemerge2 to i64
%31 = mul nsw i64 %30, 24
%32 = add i64 %29, %31
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = icmp sgt i64 %34, %arg3
store i32 %storemerge2, i32* %storemerge2.in.reg2mem
br i1 %35, label LBL_8, label LBL_6
LBL_6:
%36 = add i64 %32, 8
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp eq i32 %38, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %39, label LBL_7, label LBL_10
LBL_7:
%40 = add i64 %32, 16
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = call i64 @FUNC(i64 %6, i64 %42)
store i64 %43, i64* %rax.0.reg2mem
br label LBL_10
LBL_8:
%storemerge2.in.reload = load i32, i32* %storemerge2.in.reg2mem
%storemerge2 = add i32 %storemerge2.in.reload, -1
%44 = icmp slt i32 %storemerge2, 0
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_5, label LBL_9
LBL_9:
%46 = add i32 %storemerge3.reload, 1
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %47, %15
store i64 %47, i64* %.reg2mem
store i32 %46, i32* %storemerge3.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %48, label LBL_3, label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %storemerge2, { 2, 1, 0 }
uselistorder i64 %6, { 0, 2, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 3, 2, 4 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 8, { 1, 2, 0, 3 }
uselistorder i32 0, { 3, 2, 0, 1, 4 }
uselistorder label LBL_10, { 0, 4, 2, 1, 3 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
assert_codec_experimental_2276
|
assert_codec_experimental
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i32
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = urem i64 %2, 2
%4 = icmp eq i64 %3, 0
store i32 0, i32* %rax.0.in.reg2mem
br i1 %4, label LBL_8, label LBL_1
LBL_1:
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp slt i32 %7, 2
store i32 %7, i32* %rax.0.in.reg2mem
br i1 %8, label LBL_8, label LBL_2
LBL_2:
%9 = trunc i64 %arg2 to i32
%10 = icmp eq i32 %9, 0
%11 = inttoptr i64 %5 to i64*
%12 = load i64, i64* %11, align 8
%13 = select i1 %10, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([8 x i8]* @gv_1 to i64)
%14 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([106 x i8], [106 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %12, i64 %1)
%15 = load i32, i32* inttoptr (i64 16 to i32*), align 16
%16 = zext i32 %15 to i64
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%17 = call i64 @FUNC(i64 %16)
store i64 %17, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%18 = call i64 @FUNC(i64 %16)
store i64 %18, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%19 = inttoptr i64 %storemerge.reload to i32*
%20 = load i32, i32* %19, align 4
%21 = urem i32 %20, 2
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = add i64 %storemerge.reload, 8
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 %26, i64 %1)
br label LBL_7
LBL_7:
%28 = call i64 @FUNC(i64 1)
unreachable
LBL_8:
%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 %storemerge.reload, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %13, { 1, 0 }
uselistorder i1 %10, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
_send_back_fd_9334
|
_send_back_fd
|
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
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
store i64 0, i64* %sv_1, align 8
%2 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 24)
%3 = ptrtoint i64* %sv_0 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
store i32 1, i32* %5, align 8
%6 = add i64 %3, 12
%7 = inttoptr i64 %6 to i32*
store i32 1, i32* %7, align 4
store i64 20, i64* %sv_0, align 8
%8 = add i64 %3, 16
%9 = trunc i64 %arg2 to i32
%10 = inttoptr i64 %8 to i32*
store i32 %9, i32* %10, align 8
%11 = trunc i64 %arg1 to i32
%12 = bitcast i64* %sv_1 to %msghdr*
%13 = call i32 @sendmsg(i32 %11, %msghdr* nonnull %12, i32 0)
%14 = sext i32 %13 to i64
%15 = icmp slt i32 %13, 0
%16 = icmp eq i1 %15, false
store i64 %14, i64* %rax.0.reg2mem
br i1 %16, label LBL_2, label LBL_1
LBL_1:
call void (i32, i32, i8*, ...) @error(i32 ptrtoint (i32* @gv_0 to i32), i32 ptrtoint (i32* @gv_1 to i32), i8* null, i64* nonnull %sv_1, i64 %1)
store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 2, 1, 0 }
uselistorder i64* %sv_0, { 0, 2, 1 }
}
|
0
|
CompRealVul
|
g_try_malloc_17021
|
g_try_malloc
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = icmp eq i64 %arg1, 0
%phitmp = trunc i64 %arg1 to i32
%storemerge = select i1 %1, i32 1, i32 %phitmp
%2 = call i64* @malloc(i32 %storemerge)
%3 = ptrtoint i64* %2 to i64
ret i64 %3
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 0, 2, 1 }
}
|
1
|
CompRealVul
|
flask_security_context_12159
|
flask_security_context
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.in.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = zext i32 %2 to i64
%4 = call i64 @FUNC(i64 %3, i64 1)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
store i64 %4, i64* %rax.0.in.reg2mem
br i1 %6, label LBL_1, label LBL_3
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
store i64 %11, i64* %rax.0.in.reg2mem
br i1 %13, label LBL_2, label LBL_3
LBL_2:
%14 = add i64 %7, 16
%15 = load i64, i64* %9, align 8
%16 = load i64, i64* %sv_0, align 8
%17 = call i64 @FUNC(i64 %16, i64 %15, i64 %14)
%18 = load i64, i64* %sv_0, align 8
%19 = call i64 @FUNC(i64 %18)
store i64 %17, i64* %rax.0.in.reg2mem
br label LBL_3
LBL_3:
%rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem
%rax.0 = and i64 %rax.0.in.reload, 4294967295
ret i64 %rax.0
uselistorder i64* %sv_0, { 1, 2, 0 }
uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_3, { 2, 0, 1 }
}
|
1
|
CompRealVul
|
fuse_device_clone_12236
|
fuse_device_clone
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg2, null
br i1 %0, label LBL_1, label LBL_2
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
call void @llvm.trap()
unreachable
LBL_2:
ret i64 4294967274
}
|
1
|
CompRealVul
|
mcf_uart_do_tx_16382
|
mcf_uart_do_tx
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.reg2mem8 = alloca i32
%.in.reg2mem = alloca i32
%.reg2mem = alloca i32
%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
%.pre2 = add i64 %2, 4
%.pre3 = inttoptr i64 %.pre2 to i32*
%5 = load i32, i32* %.pre3, align 4
store i32 %5, i32* %.in.reg2mem
br i1 %4, label LBL_5.thread, label LBL_1
LBL_1:
%6 = urem i32 %5, 2
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_3
LBL_2:
%9 = or i32 %5, 2
store i32 %9, i32* %.reg2mem8
br label %21
LBL_3:
%10 = add i64 %2, 16
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
store i32 %5, i32* %.reg2mem
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = add i64 %2, 8
%15 = call i64 @FUNC(i64 %12, i64 %14, i64 1)
%.pre = load i32, i32* %.pre3, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_5
LBL_5:
%16 = bitcast i64* %rdi to i32*
%.reload = load i32, i32* %.reg2mem
%17 = or i32 %.reload, 1
store i32 %17, i32* %.pre3, align 4
%.pre1 = load i32, i32* %16, align 8
%18 = icmp eq i32 %.pre1, 0
%19 = or i32 %.reload, 3
store i32 %17, i32* %.in.reg2mem
store i32 %19, i32* %.reg2mem8
br i1 %18, label LBL_5.thread, label %21
LBL_6:
%.in.reload = load i32, i32* %.in.reg2mem
%20 = and i32 %.in.reload, -3
store i32 %20, i32* %.reg2mem8
br label %21
uselistorder i32 %.reload, { 1, 0 }
uselistorder i32 %5, { 1, 3, 2, 0 }
uselistorder i64 %2, { 1, 2, 3, 0 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %.in.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem8, { 0, 3, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder label %21, { 2, 1, 0 }
uselistorder label LBL_5.thread, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
ntfs_trim_fs_12481
|
ntfs_trim_fs
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.4.reg2mem = alloca i32
%sv_1.5.reg2mem = alloca i64*
%sv_1.4.reg2mem = alloca i64*
%sv_0.315.reg2mem = alloca i32
%sv_2.418.reg2mem = alloca i32
%sv_3.221.reg2mem = alloca i32
%sv_0.2.reg2mem = alloca i32
%sv_2.3.reg2mem = alloca i32
%sv_3.1.reg2mem = alloca i32
%sv_4.2.reg2mem = alloca i32
%sv_1.2.reg2mem = alloca i64*
%.reg2mem87 = alloca i32
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_2.2.lcssa.reg2mem = alloca i32
%sv_3.0.lcssa.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i64*
%storemerge4.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64*
%sv_1.126.reg2mem = alloca i64*
%sv_3.027.reg2mem = alloca i32
%sv_2.228.reg2mem = alloca i32
%sv_0.129.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_4.0.reg2mem = alloca i32
%sv_1.335.reg2mem = alloca i64*
%sv_4.336.reg2mem = alloca i32
%sv_3.237.reg2mem = alloca i32
%sv_2.438.reg2mem = alloca i32
%sv_0.339.reg2mem = alloca i32
%sv_5.040.reg2mem = alloca i32
%sv_6.141.reg2mem = alloca i32
%.reg2mem85 = alloca i64
%.reg2mem = alloca i32
%storemerge5.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = add i64 %2, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %3, i64 %8)
%10 = call i64 @FUNC(i64 %3, i64 %8)
%11 = add i64 %3, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = add i64 %2, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = icmp eq i64 %16, -1
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_2, label LBL_1
LBL_1:
%19 = load i32, i32* %5, align 4
store i32 %19, i32* %storemerge5.reg2mem
br label LBL_3
LBL_2:
%20 = add i64 %16, %8
%21 = call i64 @FUNC(i64 %3, i64 %20)
%22 = trunc i64 %21 to i32
store i32 %22, i32* %storemerge5.reg2mem
br label LBL_3
LBL_3:
%23 = trunc i64 %9 to i32
%24 = trunc i64 %10 to i32
%25 = add i32 %13, 3
%26 = urem i32 %25, 32
%27 = icmp eq i32 %26, 0
%28 = lshr i32 %24, %26
%29 = zext i32 %28 to i64
%storemerge = select i1 %27, i64 %10, i64 %29
%30 = icmp eq i32 %23, 0
%31 = icmp eq i1 %30, false
%spec.select = select i1 %31, i32 %23, i32 1
%32 = add i64 %3, 24
%33 = call i64 @FUNC(i64 %32, i64 0)
%34 = load i32, i32* %5, align 4
%35 = zext i32 %34 to i64
%sext = mul i64 %storemerge, 4294967296
%36 = ashr exact i64 %sext, 32
%37 = icmp ult i64 %36, %35
store i32 0, i32* %sv_3.221.reg2mem
store i32 0, i32* %sv_2.418.reg2mem
store i32 0, i32* %sv_0.315.reg2mem
store i64* null, i64** %sv_1.4.reg2mem
br i1 %37, label LBL_4, label LBL_21
LBL_4:
%38 = trunc i64 %1 to i32
%39 = mul i32 %38, 8
%40 = trunc i64 %storemerge to i32
%41 = add i32 %39, -1
%42 = and i32 %41, %24
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%43 = add i64 %3, 16
%44 = inttoptr i64 %43 to i64*
%45 = add i64 %3, 80
%46 = inttoptr i64 %45 to i32*
%47 = add i64 %3, 12
%48 = inttoptr i64 %47 to i32*
store i32 %34, i32* %.reg2mem
store i64 %36, i64* %.reg2mem85
store i32 %42, i32* %sv_6.141.reg2mem
store i32 %40, i32* %sv_5.040.reg2mem
store i32 0, i32* %sv_0.339.reg2mem
store i32 0, i32* %sv_2.438.reg2mem
store i32 0, i32* %sv_3.237.reg2mem
store i32 %39, i32* %sv_4.336.reg2mem
store i64* null, i64** %sv_1.335.reg2mem
br label LBL_5
LBL_5:
%sv_1.335.reload = load i64*, i64** %sv_1.335.reg2mem
%sv_4.336.reload = load i32, i32* %sv_4.336.reg2mem
%sv_3.237.reload = load i32, i32* %sv_3.237.reg2mem
%sv_2.438.reload = load i32, i32* %sv_2.438.reg2mem
%sv_0.339.reload = load i32, i32* %sv_0.339.reg2mem
%sv_5.040.reload = load i32, i32* %sv_5.040.reg2mem
%49 = mul i32 %sv_4.336.reload, %sv_5.040.reload
%50 = icmp ult i32 %storemerge5.reload, %49
store i32 %sv_3.237.reload, i32* %sv_3.221.reg2mem
store i32 %sv_2.438.reload, i32* %sv_2.418.reg2mem
store i32 %sv_0.339.reload, i32* %sv_0.315.reg2mem
store i64* %sv_1.335.reload, i64** %sv_1.4.reg2mem
br i1 %50, label LBL_21, label LBL_6
LBL_6:
%.reload86 = load i64, i64* %.reg2mem85
%.reload = load i32, i32* %.reg2mem
%51 = load i64, i64* %44, align 8
%52 = mul i64 %.reload86, 4
%53 = add i64 %51, %52
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = icmp eq i32 %55, 0
store i32 %.reload, i32* %.reg2mem87
store i64* %sv_1.335.reload, i64** %sv_1.2.reg2mem
store i32 %sv_4.336.reload, i32* %sv_4.2.reg2mem
store i32 %sv_3.237.reload, i32* %sv_3.1.reg2mem
store i32 %sv_2.438.reload, i32* %sv_2.3.reg2mem
store i32 %sv_0.339.reload, i32* %sv_0.2.reg2mem
br i1 %56, label LBL_20, label LBL_7
LBL_7:
%sv_6.141.reload = load i32, i32* %sv_6.141.reg2mem
%57 = add nsw i64 %.reload86, 1
%58 = load i32, i32* %46, align 4
%59 = zext i32 %58 to i64
%60 = icmp eq i64 %57, %59
%61 = icmp eq i1 %60, false
store i32 %sv_4.336.reload, i32* %sv_4.0.reg2mem
br i1 %61, label LBL_9, label LBL_8
LBL_8:
%62 = load i32, i32* %48, align 4
store i32 %62, i32* %sv_4.0.reg2mem
br label LBL_9
LBL_9:
%63 = call i64 @FUNC(i64 %4, i64 %.reload86)
%64 = icmp ult i64 %63, -1000
br i1 %64, label LBL_11, label LBL_10
LBL_10:
%65 = and i64 %63, 4294967295
%66 = inttoptr i64 %65 to i64*
store i32 %sv_3.237.reload, i32* %sv_3.221.reg2mem
store i32 %sv_2.438.reload, i32* %sv_2.418.reg2mem
store i32 %sv_0.339.reload, i32* %sv_0.315.reg2mem
store i64* %66, i64** %sv_1.4.reg2mem
br label LBL_21
LBL_11:
%sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem
%67 = add i32 %sv_4.0.reload, %49
%68 = icmp ult i32 %storemerge5.reload, %67
%69 = icmp eq i1 %68, false
%70 = sub i32 %storemerge5.reload, %49
%spec.select6 = select i1 %69, i32 %sv_4.0.reload, i32 %70
%71 = inttoptr i64 %63 to i64*
%72 = load i64, i64* %71, align 8
%73 = icmp ult i32 %sv_6.141.reload, %spec.select6
store i64* %sv_1.335.reload, i64** %sv_1.1.lcssa.reg2mem
store i32 %sv_3.237.reload, i32* %sv_3.0.lcssa.reg2mem
store i32 %sv_2.438.reload, i32* %sv_2.2.lcssa.reg2mem
store i32 %sv_0.339.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %73, label LBL_12, label LBL_19
LBL_12:
%74 = zext i32 %sv_6.141.reload to i64
%75 = zext i32 %spec.select6 to i64
store i64 %74, i64* %indvars.iv.reg2mem
store i32 %sv_0.339.reload, i32* %sv_0.129.reg2mem
store i32 %sv_2.438.reload, i32* %sv_2.228.reg2mem
store i32 %sv_3.237.reload, i32* %sv_3.027.reg2mem
store i64* %sv_1.335.reload, i64** %sv_1.126.reg2mem
br label LBL_13
LBL_13:
%sv_1.126.reload = load i64*, i64** %sv_1.126.reg2mem
%sv_3.027.reload = load i32, i32* %sv_3.027.reg2mem
%sv_2.228.reload = load i32, i32* %sv_2.228.reg2mem
%sv_0.129.reload = load i32, i32* %sv_0.129.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%76 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %72)
%77 = trunc i64 %76 to i32
%78 = icmp eq i32 %77, 0
%79 = icmp eq i1 %78, false
br i1 %79, label LBL_15, label LBL_14
LBL_14:
%80 = icmp eq i32 %sv_3.027.reload, 0
%81 = icmp eq i1 %80, false
%82 = trunc i64 %indvars.iv.reload to i32
%83 = add i32 %49, %82
%spec.select7 = select i1 %81, i32 %sv_2.228.reload, i32 %83
%84 = add i32 %sv_3.027.reload, 1
store i64* %sv_1.126.reload, i64** %sv_1.0.reg2mem
store i32 %spec.select7, i32* %sv_2.1.reg2mem
store i32 %sv_0.129.reload, i32* %sv_0.0.reg2mem
store i32 %84, i32* %storemerge4.reg2mem
br label LBL_18
LBL_15:
%85 = icmp ult i32 %sv_3.027.reload, %spec.select
store i64* %sv_1.126.reload, i64** %sv_1.0.reg2mem
store i32 %sv_2.228.reload, i32* %sv_2.1.reg2mem
store i32 %sv_0.129.reload, i32* %sv_0.0.reg2mem
store i32 0, i32* %storemerge4.reg2mem
br i1 %85, label LBL_18, label LBL_16
LBL_16:
%86 = zext i32 %sv_2.228.reload to i64
%87 = call i64 @FUNC(i64 %3, i64 %86, i32 %sv_3.027.reload)
%88 = trunc i64 %87 to i32
%89 = and i64 %87, 4294967295
%90 = icmp eq i32 %88, 0
%91 = icmp eq i1 %90, false
%92 = inttoptr i64 %89 to i64*
store i64* %92, i64** %sv_1.5.reg2mem
store i32 %sv_0.129.reload, i32* %sv_0.4.reg2mem
br i1 %91, label LBL_23, label LBL_17
LBL_17:
%93 = add i32 %sv_3.027.reload, %sv_0.129.reload
store i64* %92, i64** %sv_1.0.reg2mem
store i32 %sv_2.228.reload, i32* %sv_2.1.reg2mem
store i32 %93, i32* %sv_0.0.reg2mem
store i32 0, i32* %storemerge4.reg2mem
br label LBL_18
LBL_18:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%sv_1.0.reload = load i64*, i64** %sv_1.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%94 = icmp ult i64 %indvars.iv.next, %75
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.129.reg2mem
store i32 %sv_2.1.reload, i32* %sv_2.228.reg2mem
store i32 %storemerge4.reload, i32* %sv_3.027.reg2mem
store i64* %sv_1.0.reload, i64** %sv_1.126.reg2mem
store i64* %sv_1.0.reload, i64** %sv_1.1.lcssa.reg2mem
store i32 %storemerge4.reload, i32* %sv_3.0.lcssa.reg2mem
store i32 %sv_2.1.reload, i32* %sv_2.2.lcssa.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %94, label LBL_13, label LBL_19
LBL_19:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%sv_2.2.lcssa.reload = load i32, i32* %sv_2.2.lcssa.reg2mem
%sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i64*, i64** %sv_1.1.lcssa.reg2mem
%95 = call i64 @FUNC(i64 %63)
%.pre = load i32, i32* %5, align 4
store i32 %.pre, i32* %.reg2mem87
store i64* %sv_1.1.lcssa.reload, i64** %sv_1.2.reg2mem
store i32 %spec.select6, i32* %sv_4.2.reg2mem
store i32 %sv_3.0.lcssa.reload, i32* %sv_3.1.reg2mem
store i32 %sv_2.2.lcssa.reload, i32* %sv_2.3.reg2mem
store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem
br label LBL_20
LBL_20:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem
%sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem
%sv_4.2.reload = load i32, i32* %sv_4.2.reg2mem
%sv_1.2.reload = load i64*, i64** %sv_1.2.reg2mem
%.reload88 = load i32, i32* %.reg2mem87
%96 = add i32 %sv_5.040.reload, 1
%97 = zext i32 %.reload88 to i64
%98 = sext i32 %96 to i64
%99 = icmp ult i64 %98, %97
store i32 %.reload88, i32* %.reg2mem
store i64 %98, i64* %.reg2mem85
store i32 0, i32* %sv_6.141.reg2mem
store i32 %96, i32* %sv_5.040.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.339.reg2mem
store i32 %sv_2.3.reload, i32* %sv_2.438.reg2mem
store i32 %sv_3.1.reload, i32* %sv_3.237.reg2mem
store i32 %sv_4.2.reload, i32* %sv_4.336.reg2mem
store i64* %sv_1.2.reload, i64** %sv_1.335.reg2mem
store i32 %sv_3.1.reload, i32* %sv_3.221.reg2mem
store i32 %sv_2.3.reload, i32* %sv_2.418.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.315.reg2mem
store i64* %sv_1.2.reload, i64** %sv_1.4.reg2mem
br i1 %99, label LBL_5, label LBL_21
LBL_21:
%sv_1.4.reload = load i64*, i64** %sv_1.4.reg2mem
%sv_0.315.reload = load i32, i32* %sv_0.315.reg2mem
%sv_3.221.reload = load i32, i32* %sv_3.221.reg2mem
%100 = icmp ult i32 %sv_3.221.reload, %spec.select
store i64* %sv_1.4.reload, i64** %sv_1.5.reg2mem
store i32 %sv_0.315.reload, i32* %sv_0.4.reg2mem
br i1 %100, label LBL_23, label LBL_22
LBL_22:
%sv_2.418.reload = load i32, i32* %sv_2.418.reg2mem
%101 = zext i32 %sv_2.418.reload to i64
%102 = call i64 @FUNC(i64 %3, i64 %101, i32 %sv_3.221.reload)
%103 = trunc i64 %102 to i32
%104 = and i64 %102, 4294967295
%105 = inttoptr i64 %104 to i64*
%106 = icmp eq i32 %103, 0
%107 = icmp eq i1 %106, false
%108 = select i1 %107, i32 0, i32 %sv_3.221.reload
%spec.select8 = add i32 %108, %sv_0.315.reload
store i64* %105, i64** %sv_1.5.reg2mem
store i32 %spec.select8, i32* %sv_0.4.reg2mem
br label LBL_23
LBL_23:
%sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem
%sv_1.5.reload = load i64*, i64** %sv_1.5.reg2mem
%109 = zext i32 %sv_0.4.reload to i64
%110 = add i64 %3, 88
%111 = inttoptr i64 %110 to i32*
%112 = load i32, i32* %111, align 4
%113 = urem i32 %112, 64
%114 = zext i32 %113 to i64
%rdx.0 = shl i64 %109, %114
store i64 %rdx.0, i64* %15, align 8
%115 = call i64 @FUNC(i64 %32)
%116 = ptrtoint i64* %sv_1.5.reload to i64
%117 = and i64 %116, 4294967295
ret i64 %117
uselistorder i32 %sv_3.221.reload, { 0, 2, 1 }
uselistorder i32 %sv_0.315.reload, { 1, 0 }
uselistorder i32 %.reload88, { 1, 0 }
uselistorder i64* %92, { 1, 0 }
uselistorder i32 %sv_0.129.reload, { 3, 0, 2, 1 }
uselistorder i32 %sv_2.228.reload, { 0, 3, 1, 2 }
uselistorder i32 %sv_3.027.reload, { 4, 3, 1, 0, 2 }
uselistorder i64* %sv_1.126.reload, { 1, 0 }
uselistorder i64 %63, { 1, 2, 0, 3 }
uselistorder i32 %sv_6.141.reload, { 1, 0 }
uselistorder i32 %49, { 0, 3, 1, 2 }
uselistorder i32 %sv_0.339.reload, { 4, 3, 1, 2, 0 }
uselistorder i32 %sv_2.438.reload, { 4, 3, 1, 2, 0 }
uselistorder i32 %sv_3.237.reload, { 4, 3, 1, 2, 0 }
uselistorder i32 %sv_4.336.reload, { 1, 0, 2 }
uselistorder i64* %sv_1.335.reload, { 3, 2, 1, 0 }
uselistorder i64 %storemerge, { 1, 0 }
uselistorder i32 %26, { 1, 0 }
uselistorder i64 %3, { 6, 5, 4, 0, 1, 2, 3, 7, 8, 9, 10, 11 }
uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem85, { 1, 0, 2 }
uselistorder i32* %sv_6.141.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_5.040.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.339.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.438.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.237.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.336.reg2mem, { 1, 0, 2 }
uselistorder i64** %sv_1.335.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.129.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.228.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.027.reg2mem, { 1, 0, 2 }
uselistorder i64** %sv_1.126.reg2mem, { 1, 0, 2 }
uselistorder i64** %sv_1.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %storemerge4.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_3.221.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i32* %sv_2.418.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i32* %sv_0.315.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i64** %sv_1.4.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i64** %sv_1.5.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64, i64, i32)* @ntfs_discard, { 1, 0 }
uselistorder i64 1, { 0, 2, 1 }
uselistorder i64* null, { 1, 0 }
uselistorder i32 0, { 9, 10, 8, 3, 11, 4, 12, 13, 14, 5, 6, 7, 0, 1, 2, 15, 16 }
uselistorder i1 false, { 0, 1, 2, 3, 4, 5, 7, 6, 8 }
uselistorder i64 (i64, i64)* @bytes_to_cluster, { 2, 1, 0 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder label LBL_23, { 1, 2, 0 }
uselistorder label LBL_21, { 0, 3, 1, 2 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_18, { 1, 0, 2 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
mongo_run_command_13418
|
mongo_run_command
|
define i64 @FUNC(i32* %arg1, i8* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i32* %arg1 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
store i64 0, i64* %sv_3, align 8
%2 = call i32 @strlen(i8* %arg2)
%3 = sext i32 %2 to i64
%4 = add nsw i64 %3, 6
%5 = call i64 @FUNC(i64 %4)
%6 = inttoptr i64 %5 to i8*
%7 = call i8* @strcpy(i8* %6, i8* %arg2)
%8 = add i64 %5, %3
%9 = inttoptr i64 %8 to i32*
store i32 1835213870, i32* %9, align 4
%10 = add i64 %8, 4
%11 = inttoptr i64 %10 to i16*
store i16 100, i16* %11, align 2
%12 = call i64 @FUNC(i64* nonnull %sv_2)
%13 = call i64 @FUNC(i64 %1, i64 %5, i64 %0, i64 %12, i64 %5, i64* nonnull %sv_3)
%14 = trunc i64 %13 to i32
%15 = call i64 @FUNC(i64 %5)
%16 = icmp eq i32 %14, 0
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %16, label LBL_1, label LBL_7
LBL_1:
%17 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_3, label LBL_2
LBL_2:
%20 = call i64 @FUNC(i64* nonnull %sv_1)
%21 = trunc i64 %20 to i32
%phitmp = icmp eq i32 %21, 0
%phitmp2 = icmp eq i1 %phitmp, false
br i1 %phitmp2, label LBL_4, label LBL_3
LBL_3:
store i32 1, i32* %arg1, align 4
%22 = call i64 @FUNC(i64* nonnull %sv_3)
store i64 4294967295, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_4:
%23 = icmp eq i64* %arg4, null
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = ptrtoint i64* %arg4 to i64
%25 = load i64, i64* %sv_3, align 8
store i64 %25, i64* %arg4, align 8
%26 = add i64 %24, 8
%27 = inttoptr i64 %26 to i64*
store i64 0, i64* %27, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_6:
%28 = call i64 @FUNC(i64* nonnull %sv_3)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %5, { 1, 3, 2, 0, 4 }
uselistorder i64* %sv_3, { 0, 4, 1, 2, 3, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64*)* @bson_destroy, { 1, 0 }
uselistorder i64* %arg4, { 0, 2, 1 }
uselistorder label LBL_7, { 1, 2, 3, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
align_position_560
|
align_position
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = sub i64 9223372036854775807, %arg2
%1 = icmp ugt i64 %0, %arg3
%2 = icmp eq i1 %1, false
store i64 %0, i64* %rax.0.reg2mem
br i1 %2, label LBL_3, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = add i64 %arg3, %arg2
%6 = icmp eq i64 %4, %5
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = call i64 @FUNC(i64 %3, i64 %5, i64 0)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
}
|
0
|
CompRealVul
|
bfi_read_header_112
|
bfi_read_header
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %3, i64 0)
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %9, label LBL_1, label LBL_6
LBL_1:
%10 = call i64 @FUNC(i64 %3, i64 0)
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %12, label LBL_2, label LBL_6
LBL_2:
%13 = call i64 @FUNC(i64 %6, i64 8)
%14 = call i64 @FUNC(i64 %6)
%15 = call i64 @FUNC(i64 %6)
%16 = trunc i64 %15 to i32
%17 = bitcast i64* %arg1 to i32*
store i32 %16, i32* %17, align 4
%18 = call i64 @FUNC(i64 %6)
%19 = call i64 @FUNC(i64 %6)
%20 = call i64 @FUNC(i64 %6)
%21 = call i64 @FUNC(i64 %6)
%22 = call i64 @FUNC(i64 %6, i64 12)
%23 = inttoptr i64 %7 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %6)
%26 = trunc i64 %25 to i32
%27 = inttoptr i64 %24 to i32*
store i32 %26, i32* %27, align 4
%28 = load i64, i64* %23, align 8
%29 = call i64 @FUNC(i64 %6)
%30 = trunc i64 %29 to i32
%31 = add i64 %28, 4
%32 = inttoptr i64 %31 to i32*
store i32 %30, i32* %32, align 4
%33 = call i64 @FUNC(i64 %6, i64 8)
%34 = load i64, i64* %23, align 8
%35 = call i64 @FUNC(i64 768)
%36 = add i64 %34, 8
%37 = inttoptr i64 %36 to i64*
store i64 %35, i64* %37, align 8
%38 = load i64, i64* %23, align 8
%39 = add i64 %38, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %43, label LBL_3, label LBL_6
LBL_3:
%44 = add i64 %38, 16
%45 = inttoptr i64 %44 to i32*
store i32 768, i32* %45, align 4
%46 = load i64, i64* %23, align 8
%47 = add i64 %46, 16
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = add i64 %46, 8
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = call i64 @FUNC(i64 %6, i64 %52, i32 %49)
%54 = inttoptr i64 %10 to i64*
%55 = load i64, i64* %54, align 8
%56 = call i64 @FUNC(i64 %6)
%57 = trunc i64 %56 to i32
%58 = add i64 %55, 20
%59 = inttoptr i64 %58 to i32*
store i32 %57, i32* %59, align 4
%60 = load i64, i64* %54, align 8
%61 = add i64 %60, 20
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = icmp eq i32 %63, 0
%65 = icmp slt i32 %63, 0
%66 = icmp eq i1 %65, false
%67 = icmp eq i1 %64, false
%68 = icmp eq i1 %66, %67
br i1 %68, label LBL_5, label LBL_4
LBL_4:
%69 = zext i32 %63 to i64
%70 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %69, i64 %2, i64 %1)
store i64 1, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%71 = and i64 %21, 4294967295
%72 = call i64 @FUNC(i64 %7, i64 32, i64 1, i64 %71)
%73 = load i64, i64* %23, align 8
%74 = add i64 %73, 24
%75 = inttoptr i64 %74 to i32*
store i32 0, i32* %75, align 4
%76 = load i64, i64* %23, align 8
%77 = add i64 %76, 28
%78 = inttoptr i64 %77 to i32*
store i32 2, i32* %78, align 4
%79 = load i64, i64* %23, align 8
%80 = add i64 %79, 48
%81 = inttoptr i64 %80 to i32*
store i32 4, i32* %81, align 4
%82 = bitcast i64* %rdi to i32*
%83 = load i32, i32* %82, align 8
%84 = add i64 %7, 12
%85 = inttoptr i64 %84 to i32*
store i32 %83, i32* %85, align 4
%86 = add i64 %7, 8
%87 = inttoptr i64 %86 to i32*
store i32 %83, i32* %87, align 4
%88 = load i64, i64* %54, align 8
%89 = add i64 %88, 24
%90 = inttoptr i64 %89 to i32*
store i32 1, i32* %90, align 4
%91 = load i64, i64* %54, align 8
%92 = add i64 %91, 28
%93 = inttoptr i64 %92 to i32*
store i32 3, i32* %93, align 4
%94 = load i64, i64* %54, align 8
%95 = add i64 %94, 32
%96 = inttoptr i64 %95 to i32*
store i32 1, i32* %96, align 4
%97 = load i64, i64* %54, align 8
%98 = add i64 %97, 36
%99 = inttoptr i64 %98 to i32*
store i32 5, i32* %99, align 4
%100 = load i64, i64* %54, align 8
%101 = add i64 %100, 40
%102 = inttoptr i64 %101 to i32*
store i32 8, i32* %102, align 4
%103 = load i64, i64* %54, align 8
%104 = add i64 %103, 20
%105 = inttoptr i64 %104 to i32*
%106 = load i32, i32* %105, align 4
%107 = add i64 %103, 40
%108 = inttoptr i64 %107 to i32*
%109 = load i32, i32* %108, align 4
%110 = mul i32 %109, %106
%111 = add i64 %103, 44
%112 = inttoptr i64 %111 to i32*
store i32 %110, i32* %112, align 4
%113 = add i64 %14, 4294967293
%114 = and i64 %113, 4294967295
%115 = call i64 @FUNC(i64 %6, i64 %114, i64 0)
%116 = load i64, i64* %54, align 8
%117 = add i64 %116, 20
%118 = inttoptr i64 %117 to i32*
%119 = load i32, i32* %118, align 4
%120 = zext i32 %119 to i64
%121 = call i64 @FUNC(i64 %10, i64 64, i64 1, i64 %120)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %63, { 0, 2, 1 }
uselistorder i64 %6, { 0, 2, 1, 3, 4, 6, 5, 10, 9, 8, 7, 13, 12, 11 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64)* @avpriv_set_pts_info, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i64 12, { 1, 0 }
uselistorder i64 (i64)* @avio_rl32, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @avio_skip, { 2, 1, 0 }
uselistorder i1 false, { 1, 0, 2, 3, 4 }
uselistorder i64 (i64, i64)* @avformat_new_stream, { 1, 0 }
uselistorder i64 0, { 0, 5, 3, 4, 9, 10, 6, 11, 7, 1, 2, 8 }
uselistorder i64 8, { 2, 3, 4, 5, 0, 1, 6 }
uselistorder label LBL_6, { 3, 4, 0, 1, 2 }
}
|
1
|
CompRealVul
|
perf_remove_from_owner_11333
|
perf_remove_from_owner
|
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()
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC()
%4 = icmp eq i64 %2, 0
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i64 @FUNC()
store i64 %5, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%6 = call i64 @FUNC(i64 %2)
%7 = call i64 @FUNC()
%8 = call i64 @FUNC(i64 %2)
%9 = add i64 %0, 8
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64 %2)
%12 = call i64 @FUNC(i64 %2)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 2, 1, 3, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
aivdm_analyze_10033
|
aivdm_analyze
|
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_2, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 40
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %5, 32
%12 = add i64 %5, 24
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %5, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = add i64 %5, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = zext i32 %10 to i64
%22 = call i64 @FUNC(i64 %20, i64 %17, i64 %14, i64 %11, i64 %21)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
%. = select i1 %24, i64 1, i64 3
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 %5, { 0, 2, 3, 4, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
xvag_read_header_2069
|
xvag_read_header
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 4)
%2 = call i64 @FUNC(i64 %0, i64 0)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_11
LBL_1:
%5 = inttoptr i64 %2 to i64*
%6 = load i64, i64* %5, align 8
%7 = inttoptr i64 %6 to i32*
store i32 1, i32* %7, align 4
%8 = call i64 @FUNC(i64 %0)
%9 = trunc i64 %8 to i32
%10 = and i64 %8, 4294967295
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp ule i32 %9, %12
%14 = icmp ne i1 %13, true
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %10)
%17 = call i64 @FUNC(i64 %10, i64 28)
%18 = call i64 @FUNC(i64 %10)
%19 = call i64 @FUNC(i64 %10)
%20 = trunc i64 %19 to i32
%21 = load i64, i64* %5, align 8
%22 = add i64 %21, 4
%23 = inttoptr i64 %22 to i32*
store i32 %20, i32* %23, align 4
%24 = call i64 @FUNC(i64 %10, i64 4)
%25 = call i64 @FUNC(i64 %10)
%26 = trunc i64 %25 to i32
%27 = add i64 %2, 8
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = call i64 @FUNC(i64 %10, i64 8)
%30 = call i64 @FUNC(i64 %10)
%31 = trunc i64 %30 to i32
%32 = load i64, i64* %5, align 8
%33 = add i64 %32, 8
%34 = inttoptr i64 %33 to i32*
store i32 %31, i32* %34, align 4
store i64 %16, i64* %sv_1.0.reg2mem
store i64 %18, i64* %sv_0.0.in.reg2mem
br label LBL_4
LBL_3:
%35 = call i64 @FUNC(i64 %10, i64 28)
%36 = call i64 @FUNC(i64 %10)
%37 = call i64 @FUNC(i64 %10)
%38 = trunc i64 %37 to i32
%39 = load i64, i64* %5, align 8
%40 = add i64 %39, 4
%41 = inttoptr i64 %40 to i32*
store i32 %38, i32* %41, align 4
%42 = call i64 @FUNC(i64 %10, i64 4)
%43 = call i64 @FUNC(i64 %10)
%44 = trunc i64 %43 to i32
%45 = add i64 %2, 8
%46 = inttoptr i64 %45 to i32*
store i32 %44, i32* %46, align 4
%47 = call i64 @FUNC(i64 %10, i64 8)
%48 = call i64 @FUNC(i64 %10)
%49 = trunc i64 %48 to i32
%50 = load i64, i64* %5, align 8
%51 = add i64 %50, 8
%52 = inttoptr i64 %51 to i32*
store i32 %49, i32* %52, align 4
store i64 %8, i64* %sv_1.0.reg2mem
store i64 %36, i64* %sv_0.0.in.reg2mem
br label LBL_4
LBL_4:
%53 = load i64, i64* %5, align 8
%54 = add i64 %53, 8
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = icmp eq i32 %56, 0
%58 = icmp slt i32 %56, 0
%59 = icmp eq i1 %58, false
%60 = icmp eq i1 %57, false
%61 = icmp eq i1 %59, %60
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %61, label LBL_5, label LBL_11
LBL_5:
%62 = add i64 %53, 4
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%.off = add i32 %64, -1
%65 = icmp ult i32 %.off, 8
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %65, label LBL_6, label LBL_11
LBL_6:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%66 = icmp eq i32 %sv_0.0, 28
%67 = icmp eq i1 %66, false
br i1 %67, label LBL_8, label LBL_7
LBL_7:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%68 = add i64 %53, 16
%69 = inttoptr i64 %68 to i32*
store i32 28, i32* %69, align 4
%70 = load i64, i64* %5, align 8
%71 = add i64 %70, 4
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = mul i32 %73, 16
%75 = add i64 %70, 12
%76 = inttoptr i64 %75 to i32*
store i32 %74, i32* %76, align 4
%77 = call i64 @FUNC(i64 %10)
%78 = sub i64 %sv_1.0.reload, %77
%79 = and i64 %78, 4294967295
%80 = call i64 @FUNC(i64 %10, i64 %79)
%81 = call i64 @FUNC(i64 %10)
%82 = trunc i64 %81 to i32
%83 = icmp eq i32 %82, 65531
%84 = icmp eq i1 %83, false
br i1 %84, label LBL_10, label LBL_9
LBL_8:
%85 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %sv_0.0)
store i64 4294967294, i64* %rax.0.reg2mem
br label LBL_11
LBL_9:
%86 = load i64, i64* %5, align 8
%87 = add i64 %86, 16
%88 = inttoptr i64 %87 to i32*
store i32 85, i32* %88, align 4
%89 = load i64, i64* %5, align 8
%90 = add i64 %89, 12
%91 = inttoptr i64 %90 to i32*
store i32 4096, i32* %91, align 4
%92 = add i64 %2, 12
%93 = inttoptr i64 %92 to i32*
store i32 1, i32* %93, align 4
br label LBL_10
LBL_10:
%94 = call i64 @FUNC(i64 %10, i64 4294967294)
%95 = load i64, i64* %5, align 8
%96 = add i64 %95, 8
%97 = inttoptr i64 %96 to i32*
%98 = load i32, i32* %97, align 4
%99 = zext i32 %98 to i64
%100 = call i64 @FUNC(i64 %2, i64 64, i64 1, i64 %99)
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 i32 %56, { 1, 0 }
uselistorder i64 %10, { 3, 0, 1, 2, 18, 17, 16, 15, 14, 13, 12, 4, 5, 6, 7, 8, 9, 10, 11, 19 }
uselistorder i64* %5, { 4, 2, 3, 5, 6, 7, 8, 0, 1, 9 }
uselistorder i64 %2, { 2, 1, 3, 0, 4, 5 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 2, 3 }
uselistorder i64 4294967294, { 1, 0 }
uselistorder i32 28, { 1, 0 }
uselistorder i64 8, { 2, 3, 4, 0, 5, 6, 1, 7 }
uselistorder i64 (i64)* @avio_rb32, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @av_bswap32, { 1, 0 }
uselistorder i64 (i64)* @avio_rl32, { 4, 3, 2, 1, 0 }
uselistorder i1 false, { 2, 3, 4, 1, 0, 5 }
uselistorder i64 (i64, i64)* @avio_skip, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4, { 3, 4, 0, 5, 1, 6, 2 }
uselistorder label LBL_11, { 3, 4, 0, 1, 2 }
}
|
0
|
CompRealVul
|
__setparam_dl_8919
|
__setparam_dl
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %1 to i32
%6 = bitcast i64* %arg1 to i32*
store i32 %5, i32* %6, align 4
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %3, 4
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
%storemerge.in.in.in = select i1 %15, i64 %10, i64 %12
%storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i32*
%storemerge.in = load i32, i32* %storemerge.in.in, align 4
%16 = add i64 %3, 8
%17 = inttoptr i64 %16 to i32*
store i32 %storemerge.in, i32* %17, align 4
%18 = add i64 %2, 12
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = add i64 %3, 12
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = bitcast i64* %rdi to i32*
%24 = load i32, i32* %23, align 8
%25 = load i32, i32* %17, align 4
%26 = zext i32 %24 to i64
%27 = zext i32 %25 to i64
%28 = call i64 @FUNC(i64 %27, i64 %26)
%29 = trunc i64 %28 to i32
%30 = add i64 %3, 16
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
%32 = add i64 %3, 20
%33 = inttoptr i64 %32 to i32*
store i32 0, i32* %33, align 4
%34 = add i64 %3, 24
%35 = inttoptr i64 %34 to i32*
store i32 1, i32* %35, align 4
ret i64 %3
uselistorder i64 %3, { 4, 5, 3, 2, 1, 0, 6, 7 }
uselistorder i64 %2, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
vnc_client_read_1384
|
vnc_client_read
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%sext.mask = and i64 %3, 4294967295
%4 = icmp eq i64 %sext.mask, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_1, label LBL_3
LBL_1:
%6 = add i64 %2, 32
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_12, label LBL_2
LBL_2:
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i64*
%12 = add i64 %2, 24
%13 = inttoptr i64 %12 to i64*
%14 = bitcast i64* %rdi to i32*
%15 = trunc i64 %2 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
%sext = mul i64 %2, 4294967296
%18 = ashr exact i64 %sext, 32
br label LBL_11
LBL_3:
%19 = trunc i64 %1 to i32
%20 = icmp eq i32 %19, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_12, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_12
LBL_5:
%22 = load i32, i32* %14, align 8
%23 = icmp eq i32 %22, 0
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = call i64 @FUNC(i64 %2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_12
LBL_7:
br i1 %17, label LBL_10, label LBL_8
LBL_8:
%25 = call i64 @FUNC(i64 %10, i64 %29)
br label LBL_9
LBL_9:
%26 = load i64, i64* %7, align 8
%27 = icmp eq i64 %26, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %27, label LBL_12, label LBL_11
LBL_10:
store i64 %18, i64* %13, align 8
br label LBL_9
LBL_11:
%28 = load i64, i64* %11, align 8
%29 = load i64, i64* %13, align 8
%30 = icmp ult i64 %28, %29
%31 = icmp eq i1 %30, false
store i64 0, i64* %rax.0.reg2mem
br i1 %31, label LBL_5, label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %29, { 1, 0 }
uselistorder i64* %13, { 1, 0 }
uselistorder i64* %7, { 1, 0 }
uselistorder i64 %2, { 3, 2, 0, 1, 5, 6, 4, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 6, 5, 4, 3 }
uselistorder i64 (i64)* @vnc_disconnect_finish, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder label LBL_12, { 0, 1, 4, 5, 3, 2 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
}
|
0
|
CompRealVul
|
sanity_check_inode_12752
|
sanity_check_inode
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i8
%6 = icmp eq i8 %5, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %0)
%8 = trunc i64 %7 to i8
%9 = icmp eq i8 %8, 1
store i64 1, i64* %storemerge.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %1, i64 1)
%11 = load i64, i64* %2, align 8
%12 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %1)
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 %1, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 0, { 0, 2, 3, 4, 5, 1, 6, 7, 8 }
uselistorder label LBL_3, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
br_nf_dev_queue_xmit_10071
|
br_nf_dev_queue_xmit
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge1.in.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
br i1 %1, label LBL_6, label LBL_1
LBL_1:
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i16*
%4 = load i16, i16* %3, align 2
%5 = call i16 @htons(i16 2048)
%6 = icmp eq i16 %4, %5
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_6, label LBL_2
LBL_2:
%8 = add i64 %0, 12
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = call i64 @FUNC(i64 %0)
%12 = trunc i64 %11 to i32
%13 = add i32 %10, %12
%14 = add i64 %0, 16
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp ugt i32 %13, %18
br i1 %19, label LBL_3, label LBL_6
LBL_3:
%20 = call i64 @FUNC(i64 %0)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_6, label LBL_4
LBL_4:
%24 = call i64 @FUNC(i64 %0)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %26, label LBL_5, label LBL_8
LBL_5:
%27 = call i64 @FUNC(i64 %0, i64 4198787)
store i64 %27, i64* %storemerge1.in.reg2mem
br label LBL_7
LBL_6:
%28 = call i64 @FUNC(i64 %0)
store i64 %28, i64* %storemerge1.in.reg2mem
br label LBL_7
LBL_7:
%storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem
%29 = and i64 %storemerge1.in.reload, 4294967295
store i64 %29, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 6, 0, 1, 3, 2, 5, 4, 7 }
uselistorder i64* %storemerge1.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0, 2, 3 }
}
|
0
|
CompRealVul
|
new_msg_register_event_5202
|
new_msg_register_event
|
define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = ptrtoint i64* %sv_0 to i64
%3 = ptrtoint i32* %arg2 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = mul i32 %6, 4
%8 = add i32 %7, 12
%9 = trunc i64 %1 to i16
%10 = call i16 @htons(i16 %9)
%11 = zext i16 %10 to i32
%12 = bitcast i64* %sv_0 to i32*
store i32 %11, i32* %12, align 8
%13 = add i64 %3, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = or i64 %2, 4
%17 = inttoptr i64 %16 to i32*
store i32 %15, i32* %17, align 4
%18 = load i32, i32* %5, align 4
%19 = add i64 %2, 8
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 8
%21 = icmp ult i32 %8, 1024
%spec.select = select i1 %21, i32 %8, i32 1024
%22 = trunc i64 %arg1 to i32
%23 = call i64 @FUNC(i64 1, i64 %2, i32 %22, i32 %spec.select)
ret i64 %23
uselistorder i64 %2, { 0, 2, 1 }
}
|
0
|
CompRealVul
|
qemu_bh_delete_1232
|
qemu_bh_delete
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
store i32 0, i32* %arg1, align 4
%1 = add i64 %0, 4
%2 = inttoptr i64 %1 to i32*
store i32 1, i32* %2, align 4
ret i64 %0
uselistorder i64 %0, { 1, 0 }
}
|
0
|
CompRealVul
|
ssiProcessExecCommand_11235
|
ssiProcessExecCommand
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
%arg3.off = add i64 %arg3, -4
%2 = icmp ult i64 %arg3.off, 1020
%or.cond8 = icmp eq i1 %1, %2
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond8, label LBL_1, label LBL_10
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %arg2, 4
%5 = add i64 %3, 8
%6 = call i64 @FUNC(i64 %5, i64 %4, i64 %arg3.off)
%7 = add i64 %3, 4
%8 = add i64 %7, %arg3
%9 = inttoptr i64 %8 to i8*
store i8 0, i8* %9, align 1
%10 = inttoptr i64 %5 to i8*
%11 = call i8* @strchr(i8* %10, i32 61)
%12 = icmp eq i8* %11, null
%13 = icmp eq i1 %12, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %13, label LBL_2, label LBL_10
LBL_2:
store i8 0, i8* %11, align 1
%14 = call i64 @FUNC(i64 %5)
%15 = ptrtoint i8* %11 to i64
%16 = add i64 %15, 1
%17 = call i64 @FUNC(i64 %16)
%18 = inttoptr i64 %17 to i8*
%19 = load i8, i8* %18, align 1
%20 = icmp ne i8 %19, 39
%21 = icmp eq i8 %19, 34
%22 = icmp eq i1 %21, false
%or.cond = icmp eq i1 %20, %22
%23 = add i64 %17, 1
%24 = inttoptr i64 %23 to i8*
%sv_0.0 = select i1 %or.cond, i8* %18, i8* %24
%25 = ptrtoint i8* %sv_0.0 to i64
%26 = call i64 @FUNC(i64 %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label LBL_5, label LBL_3
LBL_3:
%28 = add i64 %26, -1
%29 = add i64 %28, %25
%30 = inttoptr i64 %29 to i8*
%31 = load i8, i8* %30, align 1
%32 = icmp ne i8 %31, 39
%33 = icmp eq i8 %31, 34
%34 = icmp eq i1 %33, false
%or.cond6 = icmp eq i1 %32, %34
br i1 %or.cond6, label LBL_5, label LBL_4
LBL_4:
store i8 0, i8* %30, align 1
br label LBL_5
LBL_5:
%35 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label LBL_8, label LBL_6
LBL_6:
%38 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))
%39 = trunc i64 %38 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label LBL_8, label LBL_7
LBL_7:
%41 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %43, label LBL_8, label LBL_10
LBL_8:
%44 = call i64 @FUNC(i64 %25)
%45 = icmp ult i64 %44, 257
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %45, label LBL_9, label LBL_10
LBL_9:
%46 = add i64 %3, 1032
%47 = call i64 @FUNC(i64 %46, i64 %25)
store i64 %3, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %25, { 1, 2, 0, 3 }
uselistorder i8* %11, { 1, 0, 2 }
uselistorder i64 %3, { 0, 1, 3, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64 (i64, i8*)* @osStrcasecmp, { 2, 1, 0 }
uselistorder i64 -1, { 1, 0, 2 }
uselistorder i64 (i64)* @osStrlen, { 1, 0 }
uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_10, { 4, 0, 1, 2, 3 }
uselistorder label LBL_5, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
ivf_write_trailer_1029
|
ivf_write_trailer
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%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 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %4)
%12 = call i64 @FUNC(i64 %4, i64 24, i64 0)
%13 = load i32, i32* %8, align 4
%14 = add i64 %7, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = mul i32 %16, %13
%18 = add i32 %13, -1
%19 = ashr i32 %17, 31
%20 = zext i32 %17 to i64
%21 = zext i32 %19 to i64
%22 = mul i64 %21, 4294967296
%23 = or i64 %22, %20
%24 = zext i32 %18 to i64
%25 = sdiv i64 %23, %24
%sext = mul i64 %25, 4294967296
%26 = ashr exact i64 %sext, 32
%27 = call i64 @FUNC(i64 %4, i64 %26)
%28 = call i64 @FUNC(i64 %4, i64 %11, i64 0)
br label LBL_3
LBL_3:
ret i64 0
uselistorder i32 %13, { 1, 0 }
uselistorder i64 %4, { 1, 0, 3, 2, 4 }
uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 }
}
|
0
|
CompRealVul
|
bdrv_requests_pending_all_14864
|
bdrv_requests_pending_all
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge13.reg2mem = alloca i64
%storemerge12 = load i64, i64* @gv_0, align 8
%0 = icmp eq i64 %storemerge12, 0
%1 = icmp eq i1 %0, false
store i64 %storemerge12, i64* %storemerge13.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_3
LBL_1:
%storemerge13.reload = load i64, i64* %storemerge13.reg2mem
%2 = call i64 @FUNC(i64 %storemerge13.reload)
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %4, label LBL_2, label LBL_3
LBL_2:
%5 = add i64 %storemerge13.reload, 8
%6 = inttoptr i64 %5 to i64*
%storemerge1 = load i64, i64* %6, align 8
%7 = icmp eq i64 %storemerge1, 0
%8 = icmp eq i1 %7, false
store i64 %storemerge1, i64* %storemerge13.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %8, label LBL_1, label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
gb_svc_input_create_18002
|
gb_svc_input_create
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = inttoptr i64 %0 to i64*
store i64 %4, i64* %5, align 8
%6 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %4)
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
%9 = icmp eq i64 %6, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i64*
store i64 %6, i64* %11, align 8
%12 = add i64 %0, 16
%13 = inttoptr i64 %12 to i64*
store i64 %3, i64* %13, align 8
%14 = call i64 @FUNC(i64 %0, i64 %3)
%15 = call i64 @FUNC(i64 %0, i64 0, i64 1)
store i64 %0, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%16 = add i64 %3, 16
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18)
store i64 -12, 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 %6, { 1, 0, 2 }
uselistorder i64 %3, { 2, 0, 1, 3, 4 }
uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
init_tiles_86
|
init_tiles
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.118.reg2mem = alloca i32
%storemerge19.reg2mem = alloca i32
%.reg2mem53 = alloca i32
%.reg2mem51 = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i32
%.reg2mem49 = alloca i32
%.reg2mem47 = alloca i32
%.reg2mem45 = alloca i32
%storemerge4.reg2mem = alloca i64
%storemerge58.reg2mem = alloca i64
%indvars.iv23.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge314.reg2mem = alloca i32
%.reg2mem43 = alloca i64
%.reg2mem41 = alloca i64
%sv_0.015.reg2mem = alloca i32
%sv_1.016.reg2mem = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%sv_2 = alloca i64, align 8
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = zext i32 %5 to i64
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 %7, i64 %6)
%9 = trunc i64 %8 to i32
%10 = add i64 %2, 20
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = add i64 %2, 12
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %2, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = zext i32 %14 to i64
%19 = zext i32 %17 to i64
%20 = call i64 @FUNC(i64 %19, i64 %18)
%21 = trunc i64 %20 to i32
%22 = add i64 %2, 24
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%sext = mul i64 %20, 4294967296
%24 = ashr exact i64 %sext, 29
%25 = load i32, i32* %11, align 4
%26 = sext i32 %25 to i64
%27 = call i64 @FUNC(i64 %26, i64 %24)
%28 = add i64 %2, 32
%29 = inttoptr i64 %28 to i64*
store i64 %27, i64* %29, align 8
%30 = icmp eq i64 %27, 0
%31 = icmp eq i1 %30, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %31, label LBL_1, label LBL_20
LBL_1:
%32 = load i32, i32* %23, align 4
%33 = icmp eq i32 %32, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %33, label LBL_20, label LBL_2
LBL_2:
%34 = ptrtoint i64* %sv_2 to i64
%35 = add i64 %2, 40
%36 = add i64 %2, 48
%37 = bitcast i64* %rdi to i32*
%38 = add i64 %2, 16
%39 = inttoptr i64 %38 to i32*
%40 = add i64 %2, 72
%41 = inttoptr i64 %40 to i64*
%42 = add i64 %2, 56
%43 = inttoptr i64 %42 to i64*
%44 = add i64 %2, 64
%45 = inttoptr i64 %44 to i64*
%46 = add i64 %34, -16
%47 = inttoptr i64 %46 to i64*
%.pre = load i32, i32* %11, align 4
store i32 %32, i32* %.reg2mem51
store i32 %.pre, i32* %.reg2mem53
store i32 0, i32* %storemerge19.reg2mem
store i32 0, i32* %sv_0.118.reg2mem
br label LBL_18
LBL_3:
%sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem
%.reload = load i32, i32* %.reg2mem
%48 = load i64, i64* %29, align 8
%49 = sext i32 %sv_0.015.reload to i64
%50 = mul i64 %49, 8
%51 = add i64 %50, %48
%52 = sext i32 %.reload to i64
%53 = call i64 @FUNC(i64 %52, i64 32)
%54 = inttoptr i64 %51 to i64*
store i64 %53, i64* %54, align 8
%55 = icmp eq i64 %53, 0
%56 = icmp eq i1 %55, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %56, label LBL_4, label LBL_20
LBL_4:
%sv_1.016.reload = load i32, i32* %sv_1.016.reg2mem
%57 = load i32, i32* %39, align 4
%58 = icmp eq i32 %57, 0
%.pre30 = add i32 %sv_1.016.reload, 1
store i64 %53, i64* %.reg2mem41
store i64 0, i64* %.reg2mem43
store i32 0, i32* %storemerge314.reg2mem
store i32 0, i32* %.reg2mem45
br i1 %58, label LBL_15, label LBL_5
LBL_5:
%storemerge314.reload = load i32, i32* %storemerge314.reg2mem
%.reload44 = load i64, i64* %.reg2mem43
%.reload42 = load i64, i64* %.reg2mem41
%59 = mul i64 %.reload44, 32
%60 = add i64 %59, %.reload42
%61 = load i32, i32* %4, align 4
%62 = mul i32 %61, %sv_1.016.reload
%63 = add i64 %60, 16
%64 = inttoptr i64 %63 to i32*
store i32 %62, i32* %64, align 4
%65 = inttoptr i64 %60 to i32*
store i32 %62, i32* %65, align 4
%66 = load i32, i32* %37, align 8
%67 = load i32, i32* %4, align 4
%68 = mul i32 %67, %.pre30
%69 = sub i32 %66, %68
%70 = xor i32 %68, %66
%71 = xor i32 %69, %66
%72 = and i32 %71, %70
%73 = icmp slt i32 %72, 0
%74 = icmp eq i32 %69, 0
%75 = icmp slt i32 %69, 0
%76 = icmp eq i1 %75, %73
%77 = icmp eq i1 %74, false
%78 = icmp eq i1 %76, %77
%79 = select i1 %78, i32 %68, i32 %66
%80 = add i64 %60, 20
%81 = inttoptr i64 %80 to i32*
store i32 %79, i32* %81, align 4
%82 = add i64 %60, 4
%83 = inttoptr i64 %82 to i32*
store i32 %79, i32* %83, align 4
%84 = load i32, i32* %13, align 4
%85 = mul i32 %84, %storemerge19.reload
%86 = add i64 %60, 24
%87 = inttoptr i64 %86 to i32*
store i32 %85, i32* %87, align 4
%88 = add i64 %60, 8
%89 = inttoptr i64 %88 to i32*
store i32 %85, i32* %89, align 4
%90 = load i32, i32* %16, align 4
%91 = load i32, i32* %13, align 4
%92 = mul i32 %91, %.pre29
%93 = sub i32 %90, %92
%94 = xor i32 %92, %90
%95 = xor i32 %93, %90
%96 = and i32 %95, %94
%97 = icmp slt i32 %96, 0
%98 = icmp eq i32 %93, 0
%99 = icmp slt i32 %93, 0
%100 = icmp eq i1 %99, %97
%101 = icmp eq i1 %98, false
%102 = icmp eq i1 %100, %101
%103 = select i1 %102, i32 %92, i32 %90
%104 = add i64 %60, 28
%105 = inttoptr i64 %104 to i32*
store i32 %103, i32* %105, align 4
%106 = add i64 %60, 12
%107 = inttoptr i64 %106 to i32*
store i32 %103, i32* %107, align 4
%108 = icmp slt i32 %storemerge314.reload, 1
store i64 0, i64* %indvars.iv23.reg2mem
br i1 %108, label LBL_9, label LBL_8
LBL_6:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%109 = load i64, i64* %41, align 8
%110 = add i64 %109, %124
%111 = inttoptr i64 %110 to i32*
%112 = load i32, i32* %111, align 4
%113 = add nuw nsw i64 %indvars.iv.reload, %125
%114 = mul i64 %113, 4
%115 = add i64 %114, %60
%116 = inttoptr i64 %115 to i32*
%117 = load i32, i32* %116, align 4
%118 = zext i32 %112 to i64
%119 = zext i32 %117 to i64
%120 = call i64 @FUNC(i64 %119, i64 %118)
%121 = trunc i64 %120 to i32
%122 = add i64 %114, %63
%123 = inttoptr i64 %122 to i32*
store i32 %121, i32* %123, align 4
store i32 %121, i32* %116, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 2
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_7, label LBL_6
LBL_7:
%indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1
%exitcond25 = icmp eq i64 %indvars.iv.next24, 2
store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem
br i1 %exitcond25, label LBL_9, label LBL_8
LBL_8:
%indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem
%124 = mul i64 %indvars.iv23.reload, 4
%125 = mul i64 %indvars.iv23.reload, 2
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_6
LBL_9:
%126 = load i64, i64* %43, align 8
store i64 %126, i64* %rdi, align 8
%127 = icmp eq i32 %storemerge314.reload, 0
store i64 1, i64* %storemerge58.reg2mem
store i64 1, i64* %storemerge4.reg2mem
br i1 %127, label LBL_11, label LBL_10
LBL_10:
%128 = load i64, i64* %41, align 8
%129 = add i64 %128, 4
%130 = inttoptr i64 %129 to i32*
%131 = load i32, i32* %130, align 4
%132 = urem i32 %131, 32
%133 = shl i32 1, %132
%storemerge2 = zext i32 %133 to i64
%134 = inttoptr i64 %128 to i32*
%135 = load i32, i32* %134, align 4
%136 = urem i32 %135, 32
%137 = shl i32 1, %136
%rdx.0 = zext i32 %137 to i64
store i64 %storemerge2, i64* %storemerge58.reg2mem
store i64 %rdx.0, i64* %storemerge4.reg2mem
br label LBL_11
LBL_11:
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%storemerge58.reload = load i64, i64* %storemerge58.reg2mem
%138 = load i64, i64* %45, align 8
%139 = mul i64 %.reload44, 4
%140 = add i64 %138, %139
%141 = inttoptr i64 %140 to i32*
%142 = load i32, i32* %141, align 4
store i64 %126, i64* %47, align 8
%143 = call i64 @FUNC(i64 %60, i64 %35, i64 %36, i32 %142, i64 %storemerge4.reload, i64 %storemerge58.reload)
%144 = trunc i64 %143 to i32
%145 = icmp eq i32 %144, 0
br i1 %145, label LBL_13, label LBL_12
LBL_12:
%146 = and i64 %143, 4294967295
store i64 %146, i64* %rax.0.reg2mem
br label LBL_20
LBL_13:
%147 = add i32 %storemerge314.reload, 1
%148 = load i32, i32* %39, align 4
%149 = zext i32 %148 to i64
%150 = sext i32 %147 to i64
%151 = icmp slt i64 %150, %149
store i32 %148, i32* %.reg2mem45
br i1 %151, label LBL_13.LBL_5_crit_edge, label LBL_15
LBL_14:
%.pre27 = load i64, i64* %54, align 8
store i64 %.pre27, i64* %.reg2mem41
store i64 %150, i64* %.reg2mem43
store i32 %147, i32* %storemerge314.reg2mem
br label LBL_5
LBL_15:
%.reload46 = load i32, i32* %.reg2mem45
%152 = add i32 %sv_0.015.reload, 1
%153 = load i32, i32* %11, align 4
%154 = zext i32 %153 to i64
%155 = sext i32 %.pre30 to i64
%156 = icmp slt i64 %155, %154
store i32 %.reload46, i32* %.reg2mem
store i32 %.pre30, i32* %sv_1.016.reg2mem
store i32 %152, i32* %sv_0.015.reg2mem
br i1 %156, label LBL_3, label LBL_16
LBL_16:
%.pre28 = load i32, i32* %23, align 4
store i32 %.pre28, i32* %.reg2mem47
store i32 %153, i32* %.reg2mem49
store i32 %152, i32* %sv_0.0.lcssa.reg2mem
br label LBL_17
LBL_17:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%.reload50 = load i32, i32* %.reg2mem49
%.reload48 = load i32, i32* %.reg2mem47
%157 = zext i32 %.reload48 to i64
%158 = sext i32 %.pre29 to i64
%159 = icmp slt i64 %158, %157
store i32 %.reload48, i32* %.reg2mem51
store i32 %.reload50, i32* %.reg2mem53
store i32 %.pre29, i32* %storemerge19.reg2mem
store i32 %sv_0.0.lcssa.reload, i32* %sv_0.118.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %159, label LBL_18, label LBL_20
LBL_18:
%sv_0.118.reload = load i32, i32* %sv_0.118.reg2mem
%storemerge19.reload = load i32, i32* %storemerge19.reg2mem
%.reload54 = load i32, i32* %.reg2mem53
%.reload52 = load i32, i32* %.reg2mem51
%160 = icmp eq i32 %.reload54, 0
%.pre29 = add i32 %storemerge19.reload, 1
store i32 %.reload52, i32* %.reg2mem47
store i32 0, i32* %.reg2mem49
store i32 %sv_0.118.reload, i32* %sv_0.0.lcssa.reg2mem
br i1 %160, label LBL_17, label LBL_3.lr.ph
LBL_19:
%.pre26 = load i32, i32* %39, align 4
store i32 %.pre26, i32* %.reg2mem
store i32 0, i32* %sv_1.016.reg2mem
store i32 %sv_0.118.reload, i32* %sv_0.015.reg2mem
br label LBL_3
LBL_20:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.pre29, { 1, 2, 0 }
uselistorder i64 %indvars.iv23.reload, { 2, 1, 0 }
uselistorder i64 %114, { 1, 0 }
uselistorder i32 %93, { 1, 2, 0 }
uselistorder i32 %92, { 1, 0, 2 }
uselistorder i32 %90, { 2, 0, 1, 3 }
uselistorder i32 %69, { 1, 2, 0 }
uselistorder i32 %68, { 1, 0, 2 }
uselistorder i32 %66, { 2, 0, 1, 3 }
uselistorder i64 %60, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }
uselistorder i64 %.reload44, { 1, 0 }
uselistorder i32 %.pre30, { 0, 2, 1 }
uselistorder i32 %sv_1.016.reload, { 1, 0 }
uselistorder i32* %39, { 0, 2, 1 }
uselistorder i32* %11, { 1, 0, 2, 3 }
uselistorder i64 %2, { 1, 2, 0, 3, 10, 11, 4, 5, 6, 7, 8, 9 }
uselistorder i32* %.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.016.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.015.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem41, { 2, 0, 1 }
uselistorder i64* %.reg2mem43, { 2, 0, 1 }
uselistorder i32* %storemerge314.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv23.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge58.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem47, { 1, 0, 2 }
uselistorder i32* %.reg2mem49, { 1, 0, 2 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 3, 4 }
uselistorder i64 32, { 0, 2, 3, 1 }
uselistorder i64 (i64, i64)* @av_malloc_array, { 1, 0 }
uselistorder i64 4, { 0, 3, 1, 2, 4, 5 }
uselistorder i64 (i64, i64)* @ff_jpeg2000_ceildiv, { 1, 0 }
uselistorder label LBL_20, { 0, 4, 1, 2, 3 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
patch_call_2747
|
patch_call
|
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i32, align 4
%1 = trunc i64 %arg2 to i32
%2 = sub i32 -5, %1
%3 = add i32 %2, %arg3
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
store i32 %6, i32* %sv_0, align 4
%7 = call i64 @FUNC(i64 %0, i64 %arg2, i64 232)
%8 = add i64 %arg2, 1
%9 = call i64 @FUNC(i64 %0, i64 %8, i32* nonnull %sv_0, i64 4, i64 1)
ret i64 %9
}
|
0
|
CompRealVul
|
GENERAL_NAME_cmp_6428
|
GENERAL_NAME_cmp
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = icmp ne i64* %arg1, null
%4 = icmp ne i64* %arg2, null
%5 = trunc i64 %1 to i32
%or.cond.not = icmp eq i1 %3, %4
%6 = trunc i64 %2 to i32
%7 = icmp eq i32 %5, %6
%or.cond3 = icmp eq i1 %or.cond.not, %7
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %or.cond3, label LBL_1, label LBL_10
LBL_1:
%8 = ptrtoint i64* %arg2 to i64
%9 = ptrtoint i64* %arg1 to i64
%10 = and i64 %1, 4294967295
store i64 %10, i64* @0, align 8
store i64 4294967295, i64* %sv_0.0.reg2mem
switch i32 %5, label LBL_9 [
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_5
i32 5, label LBL_5
i32 6, label LBL_5
i32 7, label LBL_6
i32 8, label LBL_7
i32 9, label LBL_8
]
LBL_2:
%11 = add i64 %8, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = add i64 %9, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16, i64 %13)
store i64 %17, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_3:
%18 = add i64 %8, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = add i64 %9, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23, i64 %20)
store i64 %24, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_4:
%25 = add i64 %8, 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = add i64 %9, 8
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = call i64 @FUNC(i64 %30, i64 %27)
store i64 %31, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_5:
%32 = add i64 %8, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = add i64 %9, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = call i64 @FUNC(i64 %37, i64 %34)
store i64 %38, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_6:
%39 = add i64 %8, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = add i64 %9, 8
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = call i64 @FUNC(i64 %44, i64 %41)
store i64 %45, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_7:
%46 = add i64 %8, 8
%47 = inttoptr i64 %46 to i64*
%48 = load i64, i64* %47, align 8
%49 = add i64 %9, 8
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = call i64 @FUNC(i64 %51, i64 %48)
store i64 %52, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_8:
%53 = add i64 %8, 8
%54 = inttoptr i64 %53 to i64*
%55 = load i64, i64* %54, align 8
%56 = add i64 %9, 8
%57 = inttoptr i64 %56 to i64*
%58 = load i64, i64* %57, align 8
%59 = call i64 @FUNC(i64 %58, i64 %55)
store i64 %59, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%60 = and i64 %sv_0.0.reload, 4294967295
store i64 %60, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %9, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %8, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 %5, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 8 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @ASN1_STRING_cmp, { 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
}
|
0
|
CompRealVul
|
SFS_Identifier_6968
|
SFS_Identifier
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_4, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9, i64 1)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = add i64 %6, 16
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %16, 4294967295
%18 = and i64 %17, 4294967295
%19 = call i64 @FUNC(i64 %18)
%20 = load i64, i64* %8, align 8
%21 = and i64 %19, 4294967295
%22 = call i64 @FUNC(i64 %20, i64 %21)
%23 = load i64, i64* %14, align 8
%24 = and i64 %22, 4294967295
%25 = call i64 @FUNC(i64 %23, i64 %24)
%26 = call i64 @FUNC(i64 %6, i64 %25)
store i64 %26, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%27 = load i64, i64* %8, align 8
%28 = call i64 @FUNC(i64 %27, i64* nonnull %sv_0, i64 500)
%29 = call i64 @FUNC(i64* nonnull %sv_0)
%30 = add i64 %6, 16
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = call i64 @FUNC(i64 %32, i64 %29)
%34 = ptrtoint i64* %sv_0 to i64
%35 = call i64 @FUNC(i64 %6, i64 %34)
store i64 %35, 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* %8, { 1, 0, 2 }
uselistorder i64 %6, { 1, 2, 0, 3, 4 }
uselistorder i64* %sv_0, { 2, 0, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @SFS_AddString, { 1, 0 }
uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 4294967295, { 1, 2, 3, 4, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
prepare_4677
|
prepare
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i32
%sv_2.15.reg2mem = alloca i32
%sv_1.16.reg2mem = alloca i64
%sv_0.07.reg2mem = alloca i32
%.reg2mem = alloca i32
%0 = inttoptr i64 %arg2 to %_IO_FILE*
call void @rewind(%_IO_FILE* %0)
%1 = call i64* @malloc(i32 12)
%2 = ptrtoint i64* %1 to i64
%3 = call i64 @FUNC(i64 %arg2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i32 %4, i32* %.reg2mem
store i32 0, i32* %sv_0.07.reg2mem
store i64 %2, i64* %sv_1.16.reg2mem
store i32 0, i32* %sv_2.15.reg2mem
store i64 %2, i64* %sv_1.1.lcssa.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_4
LBL_1:
%sv_2.15.reload = load i32, i32* %sv_2.15.reg2mem
%sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem
%sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem
%.reload = load i32, i32* %.reg2mem
%7 = icmp eq i32 %sv_0.07.reload, %sv_2.15.reload
%8 = icmp eq i1 %7, false
store i32 %sv_2.15.reload, i32* %sv_2.0.reg2mem
store i64 %sv_1.16.reload, i64* %sv_1.0.reg2mem
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = sext i32 %sv_2.15.reload to i64
%10 = mul nsw i64 %9, 3
%11 = udiv i64 %10, 2
%12 = trunc i64 %11 to i32
%13 = inttoptr i64 %sv_1.16.reload to i64*
%.tr = trunc i64 %11 to i32
%14 = mul i32 %.tr, 4
%15 = add i32 %14, 12
%16 = call i64* @realloc(i64* %13, i32 %15)
%17 = ptrtoint i64* %16 to i64
store i32 %12, i32* %sv_2.0.reg2mem
store i64 %17, i64* %sv_1.0.reg2mem
br label LBL_3
LBL_3:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%18 = add i32 %sv_0.07.reload, 1
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = add i64 %sv_1.0.reload, %20
%22 = inttoptr i64 %21 to i32*
store i32 %.reload, i32* %22, align 4
%23 = call i64 @FUNC(i64 %arg2)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
store i32 %24, i32* %.reg2mem
store i32 %18, i32* %sv_0.07.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.16.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.15.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem
store i32 %18, i32* %sv_0.0.lcssa.reg2mem
br i1 %26, label LBL_1, label LBL_4
LBL_4:
%sext = mul i64 %arg1, 4294967296
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem
%27 = load i64, i64* @gv_0, align 8
%28 = ashr exact i64 %sext, 30
%29 = add i64 %27, %28
%30 = inttoptr i64 %29 to i32*
store i32 %sv_0.0.lcssa.reload, i32* %30, align 4
%31 = load i64, i64* @gv_1, align 8
%32 = ashr exact i64 %sext, 29
%33 = add i64 %31, %32
%34 = inttoptr i64 %33 to i64*
store i64 %sv_1.1.lcssa.reload, i64* %34, align 8
ret i64 %sv_1.1.lcssa.reload
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %sv_1.0.reload, { 0, 2, 1 }
uselistorder i64 %sv_1.16.reload, { 1, 0 }
uselistorder i32 %sv_2.15.reload, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.07.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.16.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.15.reg2mem, { 2, 0, 1 }
uselistorder i32 0, { 4, 0, 1, 2, 3 }
uselistorder i64 (i64)* @readhash, { 1, 0 }
uselistorder i32 12, { 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
aix_partition_7573
|
aix_partition
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%.reg2mem23 = alloca i32
%storemerge511.reg2mem = alloca i32
%.reg2mem21 = alloca i64
%.reg2mem = alloca i32
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i32
%sv_2.212.reg2mem = alloca i32
%sv_1.213.reg2mem = alloca i32
%sv_0.114.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i64
%sv_4.118.reg2mem = alloca i32
%storemerge719.reg2mem = alloca i32
%sv_5.0.reg2mem = alloca i32
%sv_6.18.reg2mem = alloca i32
%sv_7.19.reg2mem = alloca i32
%sv_8.110.reg2mem = alloca i32
%sv_8.0.reg2mem = alloca i32
%sv_7.0.reg2mem = alloca i32
%sv_6.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_9 = alloca i64, align 8
%sv_10 = alloca i32, align 4
%4 = bitcast i32* %sv_10 to i64*
%5 = call i64 @FUNC(i64 %3, i64 7, i64* nonnull %4)
%6 = icmp eq i64 %5, 0
store i32 0, i32* %sv_8.110.reg2mem
store i32 0, i32* %sv_7.19.reg2mem
store i32 0, i32* %sv_6.18.reg2mem
store i32 0, i32* %sv_5.0.reg2mem
br i1 %6, label LBL_7, label LBL_1
LBL_1:
%7 = inttoptr i64 %5 to i16*
%8 = load i16, i16* %7, align 2
%9 = zext i16 %8 to i64
%10 = call i64 @FUNC(i64 %9)
%11 = trunc i64 %10 to i16
%12 = sext i16 %11 to i32
%13 = icmp eq i16 %11, 1
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = add i64 %5, 2
%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 i32
%21 = urem i32 %20, 32
%22 = icmp eq i32 %21, 0
%23 = shl i32 1, %21
%phitmp = udiv i32 %23, 512
%rdx.0 = select i1 %22, i32 0, i32 %phitmp
%24 = urem i32 %12, 65536
%25 = bitcast i64* %sv_9 to i8*
%26 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %25, i32 64, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %24)
%27 = add i64 %5, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %30)
%32 = trunc i64 %31 to i32
%33 = add i64 %5, 8
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = zext i32 %35 to i64
%37 = call i64 @FUNC(i64 %36)
%38 = trunc i64 %37 to i32
store i32 %rdx.0, i32* %sv_6.0.reg2mem
store i32 %38, i32* %sv_7.0.reg2mem
store i32 %32, i32* %sv_8.0.reg2mem
br label LBL_4
LBL_3:
%39 = urem i32 %12, 65536
%40 = zext i32 %39 to i64
%41 = bitcast i64* %sv_9 to i8*
%42 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %41, i32 64, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %40)
store i32 0, i32* %sv_6.0.reg2mem
store i32 0, i32* %sv_7.0.reg2mem
store i32 0, i32* %sv_8.0.reg2mem
br label LBL_4
LBL_4:
%sv_8.0.reload = load i32, i32* %sv_8.0.reg2mem
%sv_7.0.reload = load i32, i32* %sv_7.0.reg2mem
%sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem
%43 = call i64 @FUNC(i64 %3, i64* nonnull %sv_9, i64 4096)
%44 = load i32, i32* %sv_10, align 4
%45 = urem i32 %44, 256
%46 = zext i32 %45 to i64
%47 = call i64 @FUNC(i64 %46)
%48 = icmp eq i32 %sv_7.0.reload, 0
store i32 %sv_8.0.reload, i32* %sv_8.110.reg2mem
store i32 0, i32* %sv_7.19.reg2mem
store i32 %sv_6.0.reload, i32* %sv_6.18.reg2mem
store i32 0, i32* %sv_5.0.reg2mem
br i1 %48, label LBL_7, label LBL_5
LBL_5:
%49 = zext i32 %sv_7.0.reload to i64
%50 = call i64 @FUNC(i64 %3, i64 %49, i64* nonnull %4)
%51 = icmp eq i64 %50, 0
store i32 %sv_8.0.reload, i32* %sv_8.110.reg2mem
store i32 %sv_7.0.reload, i32* %sv_7.19.reg2mem
store i32 %sv_6.0.reload, i32* %sv_6.18.reg2mem
store i32 0, i32* %sv_5.0.reg2mem
br i1 %51, label LBL_7, label LBL_6
LBL_6:
%52 = inttoptr i64 %50 to i16*
%53 = load i16, i16* %52, align 2
%54 = zext i16 %53 to i64
%55 = call i64 @FUNC(i64 %54)
%56 = trunc i64 %55 to i32
%57 = load i32, i32* %sv_10, align 4
%58 = urem i32 %57, 256
%59 = zext i32 %58 to i64
%60 = call i64 @FUNC(i64 %59)
store i32 %sv_8.0.reload, i32* %sv_8.110.reg2mem
store i32 %sv_7.0.reload, i32* %sv_7.19.reg2mem
store i32 %sv_6.0.reload, i32* %sv_6.18.reg2mem
store i32 %56, i32* %sv_5.0.reg2mem
br label LBL_7
LBL_7:
%61 = add i64 %3, 4096
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = sext i32 %63 to i64
%65 = mul nsw i64 %64, 6
%66 = call i64 @FUNC(i64 %65, i64 0)
%67 = icmp eq i64 %66, 0
%68 = icmp eq i1 %67, false
store i64 0, i64* %storemerge.reg2mem
br i1 %68, label LBL_8, label LBL_32
LBL_8:
%sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem
%sv_6.18.reload = load i32, i32* %sv_6.18.reg2mem
%sv_7.19.reload = load i32, i32* %sv_7.19.reg2mem
%69 = icmp eq i32 %sv_5.0.reload, 0
store i64 0, i64* %sv_3.0.reg2mem
br i1 %69, label LBL_14, label LBL_9
LBL_9:
%70 = add i32 %sv_7.19.reload, 1
%71 = zext i32 %70 to i64
%72 = call i64 @FUNC(i64 %3, i64 %71, i64* nonnull %4)
%73 = icmp eq i64 %72, 0
store i64 0, i64* %sv_3.0.reg2mem
br i1 %73, label LBL_14, label LBL_10
LBL_10:
%sv_8.110.reload = load i32, i32* %sv_8.110.reg2mem
%74 = add i32 %sv_8.110.reload, -33
%75 = add i32 %74, %sv_7.19.reload
%76 = zext i32 %75 to i64
%77 = call i64 @FUNC(i64 %3, i64 %76)
%78 = icmp ne i64 %77, 0
%79 = icmp sgt i32 %sv_5.0.reload, 0
%or.cond20 = icmp eq i1 %79, %78
store i32 0, i32* %storemerge719.reg2mem
store i32 0, i32* %sv_4.118.reg2mem
br i1 %or.cond20, label LBL_12, label LBL_13
LBL_11:
%sv_4.118.reload = load i32, i32* %sv_4.118.reg2mem
%80 = mul i64 %96, 2
%81 = add i64 %80, %72
%82 = inttoptr i64 %81 to i16*
%83 = load i16, i16* %82, align 2
%84 = zext i16 %83 to i64
%85 = call i64 @FUNC(i64 %84)
%86 = mul nsw i64 %96, 6
%87 = add i64 %86, %66
%88 = trunc i64 %85 to i16
%89 = inttoptr i64 %87 to i16*
store i16 %88, i16* %89, align 2
%90 = icmp ne i16 %88, 0
%91 = zext i1 %90 to i32
%spec.select = add i32 %sv_4.118.reload, %91
%92 = add i32 %storemerge719.reload, 1
%93 = icmp slt i32 %spec.select, %sv_5.0.reload
store i32 %92, i32* %storemerge719.reg2mem
store i32 %spec.select, i32* %sv_4.118.reg2mem
br i1 %93, label LBL_12, label LBL_13
LBL_12:
%storemerge719.reload = load i32, i32* %storemerge719.reg2mem
%94 = load i32, i32* %62, align 4
%95 = zext i32 %94 to i64
%96 = sext i32 %storemerge719.reload to i64
%97 = icmp slt i64 %96, %95
br i1 %97, label LBL_11, label LBL_13
LBL_13:
%98 = load i32, i32* %sv_10, align 4
%99 = urem i32 %98, 256
%100 = zext i32 %99 to i64
%101 = call i64 @FUNC(i64 %100)
store i64 %77, i64* %sv_3.0.reg2mem
br label LBL_14
LBL_14:
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
%102 = add i32 %sv_7.19.reload, 17
%103 = zext i32 %102 to i64
%104 = call i64 @FUNC(i64 %3, i64 %103)
%105 = icmp eq i64 %104, 0
store i32 0, i32* %sv_0.2.reg2mem
br i1 %105, label LBL_31, label LBL_15
LBL_15:
%106 = inttoptr i64 %104 to i32*
%107 = load i32, i32* %106, align 4
%108 = urem i32 %107, 65536
%109 = zext i32 %108 to i64
%110 = call i64 @FUNC(i64 %109)
%111 = trunc i64 %110 to i32
%112 = add i64 %104, 16
%113 = inttoptr i64 %112 to i32*
%114 = load i32, i32* %113, align 4
%115 = zext i32 %114 to i64
%116 = call i64 @FUNC(i64 %115)
%117 = icmp sgt i32 %111, 0
store i32 0, i32* %sv_0.1.lcssa.reg2mem
br i1 %117, label LBL_16, label LBL_25
LBL_16:
%118 = trunc i64 %116 to i32
%119 = add i64 %104, 8
%120 = inttoptr i64 %119 to i64*
%121 = bitcast i64* %sv_9 to i8*
%wide.trip.count = and i64 %110, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_0.114.reg2mem
store i32 1, i32* %sv_1.213.reg2mem
store i32 -1, i32* %sv_2.212.reg2mem
br label LBL_17
LBL_17:
%sv_2.212.reload = load i32, i32* %sv_2.212.reg2mem
%sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%122 = load i64, i64* %120, align 8
%123 = mul i64 %indvars.iv.reload, 4
%124 = add i64 %122, %123
%125 = inttoptr i64 %124 to i16*
%126 = load i16, i16* %125, align 2
%127 = zext i16 %126 to i64
%128 = call i64 @FUNC(i64 %127)
%129 = trunc i64 %128 to i32
%130 = icmp eq i32 %129, 0
%131 = icmp eq i1 %130, false
store i32 %sv_2.212.reload, i32* %sv_2.1.reg2mem
store i32 1, i32* %sv_1.1.reg2mem
store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem
br i1 %131, label LBL_18, label LBL_24
LBL_18:
%sv_1.213.reload = load i32, i32* %sv_1.213.reg2mem
%132 = add i64 %124, 2
%133 = inttoptr i64 %132 to i16*
%134 = load i16, i16* %133, align 2
%135 = zext i16 %134 to i64
%136 = call i64 @FUNC(i64 %135)
%137 = trunc i64 %136 to i32
%138 = add i32 %137, -1
%139 = load i32, i32* %62, align 4
%140 = icmp ugt i32 %138, %139
store i32 -1, i32* %sv_2.1.reg2mem
store i32 %sv_1.213.reload, i32* %sv_1.1.reg2mem
store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem
br i1 %140, label LBL_24, label LBL_19
LBL_19:
%141 = zext i32 %138 to i64
%142 = mul nuw nsw i64 %141, 6
%143 = add i64 %142, %66
%144 = add i64 %143, 2
%145 = inttoptr i64 %144 to i16*
%146 = load i16, i16* %145, align 2
%147 = add i16 %146, 1
store i16 %147, i16* %145, align 2
%148 = icmp eq i32 %129, 1
%149 = icmp eq i1 %148, false
store i32 %138, i32* %sv_2.0.reg2mem
store i32 1, i32* %sv_1.0.reg2mem
br i1 %149, label LBL_20, label LBL_21
LBL_20:
%150 = icmp eq i32 %138, %sv_2.212.reload
%151 = icmp eq i32 %sv_1.213.reload, %129
%or.cond = icmp eq i1 %151, %150
store i32 %sv_2.212.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.213.reload, i32* %sv_1.0.reg2mem
store i32 %sv_2.212.reload, i32* %sv_2.1.reg2mem
store i32 1, i32* %sv_1.1.reg2mem
store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_21, label LBL_24
LBL_21:
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%152 = inttoptr i64 %143 to i16*
%153 = load i16, i16* %152, align 2
%154 = zext i16 %153 to i32
%155 = icmp eq i32 %129, %154
%156 = icmp eq i1 %155, false
br i1 %156, label LBL_23, label LBL_22
LBL_22:
%157 = mul i32 %sv_6.18.reload, %154
%158 = trunc i64 %indvars.iv.reload to i32
%159 = add i32 %158, 1
%160 = sub i32 %159, %129
%161 = mul i32 %160, %sv_6.18.reload
%162 = add i32 %161, %118
%163 = zext i32 %157 to i64
%164 = zext i32 %162 to i64
%165 = and i64 %136, 4294967295
%166 = call i64 @FUNC(i64 %3, i64 %165, i64 %164, i64 %163)
%167 = mul i64 %141, 64
%168 = add i64 %167, %sv_3.0.reload
%169 = inttoptr i64 %168 to i8*
%170 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %121, i32 70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %169)
%171 = call i64 @FUNC(i64 %3, i64* nonnull %sv_9, i64 4096)
%172 = add i64 %143, 4
%173 = inttoptr i64 %172 to i8*
store i8 1, i8* %173, align 1
store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem
store i32 1, i32* %sv_1.1.reg2mem
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_24
LBL_23:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%174 = add i32 %sv_1.0.reload, 1
store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem
store i32 %174, i32* %sv_1.1.reg2mem
store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem
br label LBL_24
LBL_24:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem
store i32 %sv_1.1.reload, i32* %sv_1.213.reg2mem
store i32 %sv_2.1.reload, i32* %sv_2.212.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %exitcond, label LBL_25, label LBL_17
LBL_25:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%175 = load i32, i32* %62, align 4
%176 = icmp eq i32 %175, 0
store i32 %175, i32* %.reg2mem
store i64 0, i64* %.reg2mem21
store i32 0, i32* %storemerge511.reg2mem
br i1 %176, label LBL_30, label LBL_26
LBL_26:
%storemerge511.reload = load i32, i32* %storemerge511.reg2mem
%.reload22 = load i64, i64* %.reg2mem21
%.reload = load i32, i32* %.reg2mem
%177 = mul nsw i64 %.reload22, 6
%178 = add i64 %177, %66
%179 = add i64 %178, 2
%180 = inttoptr i64 %179 to i16*
%181 = load i16, i16* %180, align 2
%182 = icmp eq i16 %181, 0
store i32 %.reload, i32* %.reg2mem23
br i1 %182, label LBL_29, label LBL_27
LBL_27:
%183 = add i64 %178, 4
%184 = inttoptr i64 %183 to i8*
%185 = load i8, i8* %184, align 1
%186 = icmp eq i8 %185, 0
%187 = icmp eq i1 %186, false
store i32 %.reload, i32* %.reg2mem23
br i1 %187, label LBL_29, label LBL_28
LBL_28:
%188 = mul i64 %.reload22, 64
%189 = add i64 %188, %sv_3.0.reload
%190 = zext i16 %181 to i64
%191 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i64 %189, i64 %190, i64 %189, i64 %2, i64 %1)
%.pre = load i32, i32* %62, align 4
store i32 %.pre, i32* %.reg2mem23
br label LBL_29
LBL_29:
%.reload24 = load i32, i32* %.reg2mem23
%192 = add i32 %storemerge511.reload, 1
%193 = zext i32 %.reload24 to i64
%194 = sext i32 %192 to i64
%195 = icmp slt i64 %194, %193
store i32 %.reload24, i32* %.reg2mem
store i64 %194, i64* %.reg2mem21
store i32 %192, i32* %storemerge511.reg2mem
br i1 %195, label LBL_26, label LBL_30
LBL_30:
%196 = call i64 @FUNC(i64 %104)
store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem
br label LBL_31
LBL_31:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%197 = call i64 @FUNC(i64 %sv_3.0.reload)
%198 = call i64 @FUNC(i64 %66)
%199 = zext i32 %sv_0.2.reload to i64
store i64 %199, i64* %storemerge.reg2mem
br label LBL_32
LBL_32:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %.reload24, { 1, 0 }
uselistorder i64 %189, { 1, 0 }
uselistorder i32 %.reload, { 1, 0 }
uselistorder i64 %.reload22, { 1, 0 }
uselistorder i32 %sv_2.0.reload, { 1, 0 }
uselistorder i32 %138, { 1, 0, 2, 3 }
uselistorder i32 %sv_1.213.reload, { 1, 2, 0 }
uselistorder i32 %129, { 0, 2, 1, 3, 4 }
uselistorder i32 %sv_0.114.reload, { 3, 0, 1, 2 }
uselistorder i32 %sv_2.212.reload, { 0, 2, 3, 1 }
uselistorder i64 %104, { 1, 0, 2, 3, 4 }
uselistorder i64 %sv_3.0.reload, { 0, 2, 1 }
uselistorder i64 %96, { 2, 0, 1 }
uselistorder i32 %storemerge719.reload, { 1, 0 }
uselistorder i32 %sv_7.19.reload, { 0, 2, 1 }
uselistorder i32 %sv_5.0.reload, { 1, 2, 0 }
uselistorder i64 %66, { 3, 0, 1, 2, 4 }
uselistorder i32* %62, { 0, 1, 3, 2, 4 }
uselistorder i32 %21, { 1, 0 }
uselistorder i64* %4, { 1, 0, 2 }
uselistorder i32* %sv_10, { 2, 1, 0, 3 }
uselistorder i64 %3, { 4, 5, 6, 2, 3, 7, 1, 0, 8 }
uselistorder i32* %sv_6.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_7.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_8.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_8.110.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i32* %sv_7.19.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i32* %sv_6.18.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i32* %storemerge719.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_4.118.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.213.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.212.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.1.reg2mem, { 0, 5, 4, 1, 2, 3 }
uselistorder i32* %sv_1.1.reg2mem, { 0, 5, 4, 1, 2, 3 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 1, 2, 3 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem21, { 2, 0, 1 }
uselistorder i32* %storemerge511.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem23, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @kfree, { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 -1, { 0, 2, 1 }
uselistorder i64 6, { 2, 1, 0, 3 }
uselistorder i64 (i64)* @put_dev_sector, { 2, 1, 0 }
uselistorder i64 (i64, i64*, i64)* @strlcat, { 1, 0 }
uselistorder i64 4096, { 0, 2, 1 }
uselistorder i64 (i64)* @be32_to_cpu, { 2, 1, 0 }
uselistorder i64 4, { 1, 2, 0, 3 }
uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 }
uselistorder i32 64, { 1, 2, 0 }
uselistorder i64 2, { 1, 2, 3, 0, 4 }
uselistorder i16 1, { 1, 0 }
uselistorder i64 (i64)* @be16_to_cpu, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64*)* @read_part_sector, { 2, 1, 0 }
uselistorder label LBL_32, { 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_24, { 3, 4, 0, 1, 2 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_7, { 1, 2, 3, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
1
|
CompRealVul
|
h264_free_context_15051
|
h264_free_context
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%2 = mul i64 %indvars.iv.reload, 4
%3 = add i64 %2, %arg1
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = zext i32 %5 to i64
%8 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %indvars.iv.reload, i64 %1)
br label LBL_3
LBL_3:
%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_4, label LBL_1
LBL_4:
%9 = icmp eq i64 %arg1, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_6, label LBL_5
LBL_5:
call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))
br label LBL_6
LBL_6:
%11 = add i64 %arg1, 128
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 305419896
br i1 %14, label LBL_8, label LBL_7
LBL_7:
call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))
br label LBL_8
LBL_8:
store i32 -2023406815, i32* %12, align 4
%15 = call i64 @FUNC(i64 %arg1)
ret i64 %15
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i64 %arg1, { 1, 2, 3, 0 }
}
|
1
|
CompRealVul
|
GPMF_SizeofType_10562
|
GPMF_SizeofType
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = and i64 %arg1, 4294967295
store i64 %0, i64* @0, align 8
%trunc = trunc i64 %arg1 to i32
store i64 0, i64* %sv_0.0.reg2mem
switch i32 %trunc, label LBL_17 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_5
i32 5, label LBL_6
i32 6, label LBL_7
i32 7, label LBL_8
i32 8, label LBL_9
i32 9, label LBL_10
i32 10, label LBL_11
i32 11, label LBL_12
i32 12, label LBL_13
i32 13, label LBL_14
i32 14, label LBL_15
i32 15, label LBL_16
]
LBL_1:
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_2:
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_3:
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_4:
store i64 2, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_5:
store i64 2, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_6:
store i64 4, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_7:
store i64 4, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_8:
store i64 4, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_9:
store i64 4, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_10:
store i64 4, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_11:
store i64 8, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_12:
store i64 8, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_13:
store i64 8, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_14:
store i64 8, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_15:
store i64 16, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_16:
store i64 16, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_17:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64* %sv_0.0.reg2mem, { 0, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 17 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 8, { 3, 2, 1, 0 }
uselistorder i64 4, { 4, 3, 2, 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 1, { 2, 1, 0 }
uselistorder i32 1, { 1, 0 }
}
|
0
|
CompRealVul
|
create_filter_18353
|
create_filter
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%r8.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i8*
%0 = ptrtoint i8* %arg4 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%1 = and i64 %arg3, 4294967295
%2 = bitcast i64* %sv_2 to i8*
%3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %2, i32 30, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %1, i8* %arg4)
%4 = call i64 @FUNC(i64 %0)
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 %0, i64 %arg6)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_11
LBL_2:
%8 = call i64 @FUNC(i64 %arg2, i64 %4, i64* nonnull %sv_2)
store i64 %8, i64* %arg1, align 8
%9 = icmp eq i64 %arg2, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %0, i64 %0, i64 %arg6)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_11
LBL_4:
%12 = call i32 @strcmp(i8* %arg4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
%15 = icmp eq i8* %arg5, null
%or.cond = or i1 %15, %14
store i8* %arg5, i8** %sv_0.0.reg2mem
store i64 %0, i64* %rdi.0.reg2mem
store i64 %0, i64* %r8.0.reg2mem
br i1 %or.cond, label LBL_7, label LBL_5
LBL_5:
%16 = ptrtoint i8* %arg5 to i64
%17 = call i8* @strstr(i8* nonnull %arg5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0))
%18 = icmp eq i8* %17, null
%19 = icmp eq i1 %18, false
store i8* %arg5, i8** %sv_0.0.reg2mem
store i64 %16, i64* %rdi.0.reg2mem
store i64 %0, i64* %r8.0.reg2mem
br i1 %19, label LBL_7, label LBL_6
LBL_6:
%20 = ptrtoint i64* %sv_1 to i64
%21 = bitcast i64* %sv_1 to i8*
%22 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %21, i32 256, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* nonnull %arg5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0))
store i8* %21, i8** %sv_0.0.reg2mem
store i64 %20, i64* %rdi.0.reg2mem
store i64 ptrtoint ([6 x i8]* @gv_4 to i64), i64* %r8.0.reg2mem
br label LBL_7
LBL_7:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
%23 = ptrtoint i8* %sv_0.0.reload to i64
%24 = call i64 @FUNC(i64 %rdi.0.reload, i64 %23)
%25 = trunc i64 %24 to i32
%26 = icmp slt i32 %25, 0
%27 = icmp eq i1 %26, false
store i64 0, i64* %rax.0.reg2mem
br i1 %27, label LBL_11, label LBL_8
LBL_8:
%r8.0.reload = load i64, i64* %r8.0.reg2mem
%28 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 %0, i64 %r8.0.reload, i64 %arg6)
%29 = icmp eq i8* %sv_0.0.reload, null
store i64 %0, i64* %rcx.0.reg2mem
br i1 %29, label LBL_10, label LBL_9
LBL_9:
%30 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %23, i64 %r8.0.reload, i64 %arg6)
store i64 %23, i64* %rcx.0.reg2mem
br label LBL_10
LBL_10:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%31 = call i64 @FUNC(i64 %arg6, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0), i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6)
%32 = and i64 %24, 4294967295
store i64 %32, 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 %r8.0.reload, { 1, 2, 0 }
uselistorder i8* %sv_0.0.reload, { 1, 0 }
uselistorder i64 %0, { 0, 5, 1, 2, 3, 8, 6, 7, 4, 9 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder [6 x i8]* @gv_4, { 1, 0 }
uselistorder i8* null, { 1, 2, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 }
uselistorder i64 %arg6, { 6, 7, 4, 5, 8, 9, 2, 3, 0, 1 }
uselistorder i8* %arg5, { 2, 0, 4, 5, 1, 3 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_11, { 1, 0, 2, 3 }
}
|
1
|
CompRealVul
|
llc_cmsg_rcv_13744
|
llc_cmsg_rcv
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = urem i32 %3, 2
%5 = icmp eq i32 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 44)
%8 = call i64 @FUNC(i64 0)
%9 = add i64 %8, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = sext i32 %13 to i64
store i64 %14, i64* %sv_2, align 8
%15 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%16 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)
%17 = call i64 @FUNC(i64 %6, i64 0, i64 1, i64 44, i64* nonnull %sv_2)
store i64 %17, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_2, { 0, 2, 1 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i64 (i64)* @llc_sk, { 1, 0 }
}
|
0
|
CompRealVul
|
load_tile_7483
|
load_tile
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i8* %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.1.reg2mem = alloca i8*
%.reg2mem28 = alloca i8*
%.reg2mem26 = alloca i8*
%storemerge7.reg2mem = alloca i64
%sv_0.011.reg2mem = alloca i8*
%rbx.112.reg2mem = alloca i64
%storemerge613.reg2mem = alloca i64
%rbx.09.reg2mem = alloca i64
%storemerge510.reg2mem = alloca i64
%.reg2mem24 = alloca i8*
%.reg2mem22 = alloca i8*
%sv_0.214.reg2mem = alloca i8*
%storemerge15.reg2mem = alloca i64
%.reg2mem20 = alloca i8*
%.reg2mem = alloca i8*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %arg5, i64 4)
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %3, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %9)
unreachable
LBL_2:
%11 = call i64 @FUNC(i64 %3, i64 %arg5, i64 %4)
%12 = icmp eq i64 %11, %arg5
br i1 %12, label LBL_3, label LBL_5
LBL_3:
%13 = icmp sgt i64 %arg5, 0
br i1 %13, label LBL_4, label LBL_16
LBL_4:
%14 = ptrtoint i64* %arg6 to i64
%15 = ptrtoint i64* %arg2 to i64
%16 = trunc i64 %1 to i32
%17 = inttoptr i64 %4 to i8*
%18 = add i64 %15, 8
%19 = inttoptr i64 %18 to i64*
%20 = icmp eq i32 %16, 1
%21 = icmp eq i1 %20, false
%22 = urem i64 %2, 256
%23 = icmp eq i32 %16, 2
%24 = icmp eq i1 %23, false
store i8* %17, i8** %.reg2mem
store i8* %17, i8** %.reg2mem20
store i64 0, i64* %storemerge15.reg2mem
store i8* %17, i8** %sv_0.214.reg2mem
br label LBL_6
LBL_5:
%25 = add i64 %3, 16
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %27)
unreachable
LBL_6:
%storemerge15.reload = load i64, i64* %storemerge15.reg2mem
%29 = load i64, i64* %19, align 8
%30 = call i64 @FUNC(i64 %15, i64 0, i64 %storemerge15.reload, i64 %29, i64 1, i64 %14, i64 %storemerge15.reload)
%31 = icmp eq i64 %30, 0
br i1 %31, label LBL_16, label LBL_7
LBL_7:
%sv_0.214.reload = load i8*, i8** %sv_0.214.reg2mem
%.reload21 = load i8*, i8** %.reg2mem20
%.reload = load i8*, i8** %.reg2mem
br i1 %21, label LBL_10, label LBL_8
LBL_8:
%32 = load i64, i64* %19, align 8
%33 = icmp sgt i64 %32, 0
store i8* %.reload, i8** %.reg2mem22
store i8* %.reload21, i8** %.reg2mem24
store i64 0, i64* %storemerge510.reg2mem
store i64 %30, i64* %rbx.09.reg2mem
store i8* %.reload, i8** %.reg2mem26
store i8* %.reload21, i8** %.reg2mem28
store i8* %sv_0.214.reload, i8** %sv_0.1.reg2mem
br i1 %33, label LBL_9, label LBL_15
LBL_9:
%rbx.09.reload = load i64, i64* %rbx.09.reg2mem
%storemerge510.reload = load i64, i64* %storemerge510.reg2mem
%.reload25 = load i8*, i8** %.reg2mem24
%.reload23 = load i8*, i8** %.reg2mem22
%34 = load i8, i8* %.reload25, align 1
%35 = zext i8 %34 to i64
%36 = call i64 @FUNC(i64 %35)
%37 = urem i64 %36, 256
%38 = call i64 @FUNC(i64 %15, i64 %37, i64 %rbx.09.reload)
%39 = call i64 @FUNC(i64 %22)
%40 = urem i64 %39, 256
%41 = call i64 @FUNC(i64 %15, i64 %40, i64 %rbx.09.reload)
%42 = ptrtoint i8* %.reload23 to i64
%43 = add i64 %42, 1
%44 = inttoptr i64 %43 to i8*
%45 = call i64 @FUNC(i64 %15)
%46 = add i64 %45, %rbx.09.reload
%47 = add nuw nsw i64 %storemerge510.reload, 1
%48 = load i64, i64* %19, align 8
%49 = icmp slt i64 %47, %48
store i8* %44, i8** %.reg2mem22
store i8* %44, i8** %.reg2mem24
store i64 %47, i64* %storemerge510.reg2mem
store i64 %46, i64* %rbx.09.reg2mem
store i8* %44, i8** %.reg2mem26
store i8* %44, i8** %.reg2mem28
store i8* %sv_0.214.reload, i8** %sv_0.1.reg2mem
br i1 %49, label LBL_9, label LBL_15
LBL_10:
store i8* %.reload, i8** %.reg2mem26
store i8* %.reload21, i8** %.reg2mem28
store i8* %sv_0.214.reload, i8** %sv_0.1.reg2mem
br i1 %24, label LBL_15, label LBL_11
LBL_11:
%50 = load i64, i64* %19, align 8
%51 = icmp sgt i64 %50, 0
store i64 0, i64* %storemerge613.reg2mem
store i64 %30, i64* %rbx.112.reg2mem
store i8* %sv_0.214.reload, i8** %sv_0.011.reg2mem
store i8* %.reload, i8** %.reg2mem26
store i8* %.reload21, i8** %.reg2mem28
store i8* %sv_0.214.reload, i8** %sv_0.1.reg2mem
br i1 %51, label LBL_12, label LBL_15
LBL_12:
%sv_0.011.reload = load i8*, i8** %sv_0.011.reg2mem
%rbx.112.reload = load i64, i64* %rbx.112.reg2mem
%storemerge613.reload = load i64, i64* %storemerge613.reg2mem
%52 = load i8, i8* %sv_0.011.reload, align 1
%53 = zext i8 %52 to i64
%54 = call i64 @FUNC(i64 %53)
%55 = urem i64 %54, 256
%56 = call i64 @FUNC(i64 %15, i64 %55, i64 %rbx.112.reload)
%57 = ptrtoint i8* %sv_0.011.reload to i64
%58 = add i64 %57, 1
%59 = inttoptr i64 %58 to i8*
%60 = load i8, i8* %59, align 1
%61 = zext i8 %60 to i64
%62 = call i64 @FUNC(i64 %61)
%63 = urem i64 %62, 256
%64 = call i64 @FUNC(i64 %15, i64 %63, i64 %rbx.112.reload)
%65 = add i64 %57, 2
%66 = inttoptr i64 %65 to i8*
%67 = load i8, i8* %66, align 1
%68 = zext i8 %67 to i64
%69 = call i64 @FUNC(i64 %68)
%70 = urem i64 %69, 256
%71 = call i64 @FUNC(i64 %15, i64 %70, i64 %rbx.112.reload)
%72 = add i64 %57, 3
%73 = inttoptr i64 %72 to i8*
%74 = load i8, i8* %73, align 1
%75 = icmp eq i8 %74, -1
store i64 0, i64* %storemerge7.reg2mem
br i1 %75, label LBL_14, label LBL_13
LBL_13:
%76 = call i64 @FUNC(i64 %22)
%77 = urem i64 %76, 256
store i64 %77, i64* %storemerge7.reg2mem
br label LBL_14
LBL_14:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%78 = call i64 @FUNC(i64 %15, i64 %storemerge7.reload, i64 %rbx.112.reload)
%79 = add i64 %57, 4
%80 = inttoptr i64 %79 to i8*
%81 = call i64 @FUNC(i64 %15)
%82 = add i64 %81, %rbx.112.reload
%83 = add nuw nsw i64 %storemerge613.reload, 1
%84 = load i64, i64* %19, align 8
%85 = icmp slt i64 %83, %84
store i64 %83, i64* %storemerge613.reg2mem
store i64 %82, i64* %rbx.112.reg2mem
store i8* %80, i8** %sv_0.011.reg2mem
store i8* %.reload, i8** %.reg2mem26
store i8* %.reload21, i8** %.reg2mem28
store i8* %80, i8** %sv_0.1.reg2mem
br i1 %85, label LBL_12, label LBL_15
LBL_15:
%sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem
%.reload29 = load i8*, i8** %.reg2mem28
%.reload27 = load i8*, i8** %.reg2mem26
%86 = call i64 @FUNC(i64 %15, i64 %14)
%87 = trunc i64 %86 to i32
%88 = icmp ne i32 %87, 0
%89 = add nuw nsw i64 %storemerge15.reload, 1
%90 = icmp slt i64 %89, %14
%or.cond = icmp eq i1 %90, %88
store i8* %.reload27, i8** %.reg2mem
store i8* %.reload29, i8** %.reg2mem20
store i64 %89, i64* %storemerge15.reg2mem
store i8* %sv_0.1.reload, i8** %sv_0.214.reg2mem
br i1 %or.cond, label LBL_6, label LBL_16
LBL_16:
%91 = call i64 @FUNC(i64 %4)
ret i64 1
uselistorder i64 %rbx.112.reload, { 4, 0, 1, 2, 3 }
uselistorder i64 %rbx.09.reload, { 2, 0, 1 }
uselistorder i8* %.reload, { 0, 2, 3, 1, 4 }
uselistorder i8* %.reload21, { 0, 2, 3, 1, 4 }
uselistorder i8* %sv_0.214.reload, { 2, 4, 3, 0, 1 }
uselistorder i64 %storemerge15.reload, { 0, 2, 1 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64* %19, { 3, 0, 2, 1, 4 }
uselistorder i32 %16, { 1, 0 }
uselistorder i64 %15, { 8, 3, 4, 5, 6, 7, 0, 1, 2, 10, 9 }
uselistorder i64 %4, { 0, 2, 1, 3 }
uselistorder i64 %3, { 1, 2, 0 }
uselistorder i8** %.reg2mem, { 2, 0, 1 }
uselistorder i8** %.reg2mem20, { 2, 0, 1 }
uselistorder i64* %storemerge15.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.214.reg2mem, { 2, 0, 1 }
uselistorder i8** %.reg2mem22, { 2, 0, 1 }
uselistorder i8** %.reg2mem24, { 2, 0, 1 }
uselistorder i64* %storemerge510.reg2mem, { 2, 0, 1 }
uselistorder i64* %rbx.09.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge613.reg2mem, { 2, 0, 1 }
uselistorder i64* %rbx.112.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.011.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }
uselistorder i8** %.reg2mem26, { 0, 2, 4, 5, 1, 3 }
uselistorder i8** %.reg2mem28, { 0, 2, 4, 5, 1, 3 }
uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 4, 5, 1, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @GetPixelChannels, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @SetPixelAlpha, { 1, 0 }
uselistorder i64 (i64)* @ScaleCharToQuantum, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64, i8*, i64)* @ThrowBinaryException, { 1, 0 }
uselistorder i64 1, { 0, 6, 4, 5, 7, 8, 2, 3, 1 }
uselistorder i64 4, { 2, 1, 0 }
uselistorder i64 %arg5, { 0, 2, 1, 3 }
uselistorder label LBL_15, { 1, 3, 4, 0, 2 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
}
|
1
|
CompRealVul
|
vmx_save_host_state_12659
|
vmx_save_host_state
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = icmp eq i32 %3, 0
%6 = icmp eq i1 %5, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_9, label LBL_1
LBL_1:
store i32 1, i32* %2, align 4
%7 = call i64 @FUNC()
%8 = trunc i64 %7 to i32
%9 = add i64 %1, 4
%10 = inttoptr i64 %9 to i32*
store i32 %8, i32* %10, align 4
%11 = add i64 %1, 8
%12 = inttoptr i64 %11 to i32*
store i32 %8, i32* %12, align 4
%13 = call i64 @FUNC()
%14 = trunc i64 %13 to i32
%15 = add i64 %1, 12
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%17 = urem i32 %14, 8
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_3, label LBL_2
LBL_2:
%20 = and i64 %13, 4294967295
%21 = call i64 @FUNC(i64 0, i64 %20)
%22 = add i64 %1, 16
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
br label LBL_4
LBL_3:
%24 = call i64 @FUNC(i64 0, i64 0)
%25 = add i64 %1, 16
%26 = inttoptr i64 %25 to i32*
store i32 1, i32* %26, align 4
br label LBL_4
LBL_4:
%27 = call i64 @FUNC()
%28 = trunc i64 %27 to i32
%29 = add i64 %1, 20
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = urem i32 %28, 8
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_6, label LBL_5
LBL_5:
%34 = and i64 %27, 4294967295
%35 = call i64 @FUNC(i64 1, i64 %34)
br label LBL_7
LBL_6:
%36 = call i64 @FUNC(i64 1, i64 0)
store i32 1, i32* %12, align 4
br label LBL_7
LBL_7:
%37 = load i32, i32* %16, align 4
%38 = zext i32 %37 to i64
%39 = call i64 @FUNC(i64 %38)
%40 = and i64 %39, 4294967295
%41 = call i64 @FUNC(i64 2, i64 %40)
%42 = load i32, i32* %30, align 4
%43 = zext i32 %42 to i64
%44 = call i64 @FUNC(i64 %43)
%45 = and i64 %44, 4294967295
%46 = call i64 @FUNC(i64 3, i64 %45)
%47 = add i64 %1, 24
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = icmp eq i32 %49, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %50, label LBL_9, label LBL_8
LBL_8:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%51 = mul nsw i64 %.reload, 12
%52 = add i64 %51, %1
%53 = add i64 %52, 36
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = add i64 %52, 32
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = add i64 %52, 28
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = zext i32 %58 to i64
%63 = zext i32 %61 to i64
%64 = call i64 @FUNC(i64 %63, i64 %62, i32 %55)
%65 = add i32 %storemerge2.reload, 1
%66 = load i32, i32* %48, align 4
%67 = zext i32 %66 to i64
%68 = sext i32 %65 to i64
%69 = icmp slt i64 %68, %67
store i64 %68, i64* %.reg2mem
store i32 %65, i32* %storemerge2.reg2mem
store i64 %67, i64* %rax.0.reg2mem
br i1 %69, label LBL_8, label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %48, { 1, 0 }
uselistorder i64 %1, { 0, 2, 3, 1, 4, 5, 6, 7, 8 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @vmcs_writel, { 1, 0 }
uselistorder i64 (i64)* @segment_base, { 1, 0 }
uselistorder i64 (i64, i64)* @vmcs_write16, { 3, 2, 1, 0 }
uselistorder i64 4294967295, { 2, 3, 0, 1 }
uselistorder label LBL_8, { 1, 0 }
}
|
1
|
CompRealVul
|
xml_sax_parse_entity_6895
|
xml_sax_parse_entity
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.ph.lcssa.reg2mem = alloca i32
%sv_1.1.ph.ph.lcssa.reg2mem = alloca i64
%sv_0.0.ph28.reg2mem = alloca i32
%rdi.1.ph30.reg2mem = alloca i64
%.reg2mem110 = alloca i32
%rdi.1.ph.be.reg2mem = alloca i64
%sv_1.1.ph.ph35.reg2mem = alloca i64
%sv_2.1.ph.ph36.reg2mem = alloca i8*
%rdi.1.ph.ph37.reg2mem = alloca i64
%.reg2mem108 = alloca i32
%.reg2mem106 = alloca i64
%rdi.0.reg2mem = alloca i64
%rdi.124.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i8, align 1
%sv_4 = alloca i64, align 8
store i64 0, i64* %sv_4, align 8
%1 = add i64 %0, 24
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %3)
%5 = icmp eq i64 %4, 0
store i64 0, i64* %sv_1.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %4, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
%spec.select = select i1 %9, i64 %4, i64 0
store i64 %spec.select, i64* %sv_1.0.reg2mem
br label LBL_2
LBL_2:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %0, 12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp ult i32 %12, %15
store i64 %sv_1.0.reload, i64* %sv_1.1.ph.ph.lcssa.reg2mem
store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem
br i1 %16, label LBL_3, label LBL_34
LBL_3:
%17 = icmp eq i64 %sv_1.0.reload, 0
%spec.select3 = select i1 %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* null
%18 = add i64 %0, 16
%19 = inttoptr i64 %18 to i32*
%20 = ptrtoint i64* %sv_4 to i64
%21 = bitcast i8* %sv_3 to i64*
store i32 %12, i32* %.reg2mem108
store i64 %3, i64* %rdi.1.ph.ph37.reg2mem
store i8* %spec.select3, i8** %sv_2.1.ph.ph36.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.ph.ph35.reg2mem
br label LBL_4.lr.ph.lr.ph
LBL_4:
%rdi.124.reload = load i64, i64* %rdi.124.reg2mem
%.reload = load i32, i32* %.reg2mem
%22 = zext i32 %.reload to i64
%23 = add i64 %rdi.124.reload, %22
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = sext i8 %25 to i32
store i64 %rdi.1.ph30.reload, i64* %rdi.0.reg2mem
br i1 %83, label LBL_9, label LBL_5
LBL_5:
%27 = urem i32 %26, 256
%28 = call i8* @strchr(i8* nonnull %sv_2.1.ph.ph36.reload, i32 %27)
%29 = icmp eq i8* %28, null
store i64 %84, i64* %rdi.0.reg2mem
br i1 %29, label LBL_9, label LBL_6
LBL_6:
%30 = icmp eq i8 %25, 10
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_8, label LBL_7
LBL_7:
%32 = load i32, i32* %19, align 4
%33 = add i32 %32, 1
store i32 %33, i32* %19, align 4
br label LBL_8
LBL_8:
%34 = load i32, i32* %11, align 4
%35 = add i32 %34, 1
store i32 %35, i32* %11, align 4
%36 = add i32 %35, %sv_0.0.ph28.reload
%37 = load i32, i32* %14, align 4
%38 = icmp ult i32 %36, %37
store i32 %36, i32* %.reg2mem
store i64 %84, i64* %rdi.124.reg2mem
store i64 %sv_1.1.ph.ph35.reload, i64* %sv_1.1.ph.ph.lcssa.reg2mem
store i32 %sv_0.0.ph28.reload, i32* %sv_0.0.ph.lcssa.reg2mem
br i1 %38, label LBL_4, label LBL_34
LBL_9:
%39 = icmp eq i8 %25, 37
%40 = icmp eq i1 %85, %39
br i1 %40, label LBL_10, label LBL_12
LBL_10:
%41 = load i32, i32* %11, align 4
%42 = add i32 %sv_0.0.ph28.reload, 1
%43 = add i32 %42, %41
store i32 %43, i32* %11, align 4
%44 = add i64 %0, 20
%45 = inttoptr i64 %44 to i32*
store i32 1, i32* %45, align 4
%46 = load i64, i64* %sv_4, align 8
%47 = icmp eq i64 %46, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %47, label LBL_40, label LBL_11
LBL_11:
%48 = call i64 @FUNC(i64 %46)
store i64 %48, i64* %rax.0.reg2mem
br label LBL_40
LBL_12:
br i1 %86, label LBL_23, label LBL_13
LBL_13:
%49 = icmp ne i8 %25, 34
%50 = icmp eq i8 %25, 39
%51 = icmp eq i1 %50, false
%or.cond6 = icmp eq i1 %49, %51
br i1 %or.cond6, label LBL_31, label LBL_14
LBL_14:
%52 = call i64* @malloc(i32 24)
%53 = icmp eq i64* %52, null
%54 = icmp eq i1 %53, false
br i1 %54, label LBL_17, label LBL_15
LBL_15:
%55 = add i64 %0, 20
%56 = inttoptr i64 %55 to i32*
store i32 2, i32* %56, align 4
%57 = load i64, i64* %sv_4, align 8
%58 = icmp eq i64 %57, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %58, label LBL_40, label LBL_16
LBL_16:
%59 = call i64 @FUNC(i64 %57)
store i64 %59, i64* %rax.0.reg2mem
br label LBL_40
LBL_17:
%60 = load i64, i64* %sv_4, align 8
%61 = icmp eq i64 %60, 0
%62 = icmp eq i1 %61, false
store i64 %60, i64* %.reg2mem106
br i1 %62, label LBL_19, label LBL_18
LBL_18:
%63 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull @gv_1, i64 0)
%.pre = load i64, i64* %sv_4, align 8
store i64 %.pre, i64* %.reg2mem106
br label LBL_19
LBL_19:
%64 = ptrtoint i64* %52 to i64
%.reload107 = load i64, i64* %.reg2mem106
store i64 %.reload107, i64* %52, align 8
store i64 0, i64* %sv_4, align 8
%65 = load i64, i64* %52, align 8
%66 = inttoptr i64 %65 to i8*
%67 = call i32 @strlen(i8* %66)
%68 = add i64 %64, 8
%69 = inttoptr i64 %68 to i32*
store i32 %67, i32* %69, align 4
%70 = add i64 %64, 12
%71 = inttoptr i64 %70 to i8*
store i8 %25, i8* %71, align 1
%72 = load i32, i32* %11, align 4
%73 = add i32 %sv_0.0.ph28.reload, 1
%74 = add i32 %73, %72
store i32 %74, i32* %11, align 4
%75 = load i32, i32* %14, align 4
%76 = icmp ult i32 %74, %75
br i1 %76, label LBL_21, label LBL_20
LBL_20:
call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 113, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))
br label LBL_21
LBL_21:
%77 = call i64 @FUNC(i64 %0)
%78 = load i64, i64* %2, align 8
%79 = call i64 @FUNC(i64 %78, i64 %64)
%80 = load i32, i32* %11, align 4
%81 = load i32, i32* %14, align 4
%82 = icmp ult i32 %80, %81
store i32 %80, i32* %.reg2mem108
store i64 %78, i64* %rdi.1.ph.ph37.reg2mem
store i8* null, i8** %sv_2.1.ph.ph36.reg2mem
store i64 %64, i64* %sv_1.1.ph.ph35.reg2mem
store i64 %64, i64* %sv_1.1.ph.ph.lcssa.reg2mem
store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem
br i1 %82, label LBL_4.lr.ph.lr.ph, label LBL_34
LBL_22:
%sv_1.1.ph.ph35.reload = load i64, i64* %sv_1.1.ph.ph35.reg2mem
%sv_2.1.ph.ph36.reload = load i8*, i8** %sv_2.1.ph.ph36.reg2mem
%rdi.1.ph.ph37.reload = load i64, i64* %rdi.1.ph.ph37.reg2mem
%.reload109 = load i32, i32* %.reg2mem108
%83 = icmp eq i8* %sv_2.1.ph.ph36.reload, null
%84 = ptrtoint i8* %sv_2.1.ph.ph36.reload to i64
%85 = icmp eq i64 %sv_1.1.ph.ph35.reload, 0
%86 = icmp eq i1 %85, false
%87 = add i64 %sv_1.1.ph.ph35.reload, 12
%88 = inttoptr i64 %87 to i8*
store i32 %.reload109, i32* %.reg2mem110
store i64 %rdi.1.ph.ph37.reload, i64* %rdi.1.ph30.reg2mem
store i32 0, i32* %sv_0.0.ph28.reg2mem
br label LBL_4.lr.ph
LBL_23:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%89 = load i8, i8* %88, align 1
%90 = urem i32 %26, 256
%91 = sext i8 %89 to i32
%92 = icmp eq i32 %90, %91
%93 = icmp eq i1 %92, false
store i64 %rdi.0.reload, i64* %rdi.1.ph.be.reg2mem
br i1 %93, label LBL_32, label LBL_24
LBL_24:
%94 = load i64, i64* %sv_4, align 8
%95 = icmp eq i64 %94, 0
br i1 %95, label LBL_26, label LBL_25
LBL_25:
%96 = call i64 @FUNC(i64 %94)
br label LBL_26
LBL_26:
%97 = zext i32 %sv_0.0.ph28.reload to i64
%98 = call i64 @FUNC(i64 %0, i64 %97)
%99 = call i64 @FUNC(i64 %0)
%100 = add i64 %sv_1.1.ph.ph35.reload, 16
%101 = inttoptr i64 %100 to i64*
store i64 %99, i64* %101, align 8
%102 = icmp eq i64 %99, 0
%103 = icmp eq i1 %102, false
br i1 %103, label LBL_28, label LBL_27
LBL_27:
%104 = call i64 @FUNC(i64* nonnull @gv_1)
store i64 %104, i64* %101, align 8
br label LBL_28
LBL_28:
%105 = load i32, i32* %11, align 4
%106 = add i32 %105, 1
store i32 %106, i32* %11, align 4
%107 = load i32, i32* %14, align 4
%108 = icmp ult i32 %106, %107
br i1 %108, label LBL_30, label LBL_29
LBL_29:
call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 124, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))
br label LBL_30
LBL_30:
%109 = call i64 @FUNC(i64 %0)
%110 = add i64 %0, 20
%111 = inttoptr i64 %110 to i32*
store i32 1, i32* %111, align 4
store i64 %0, i64* %rax.0.reg2mem
br label LBL_40
LBL_31:
store i8 %25, i8* %sv_3, align 1
%112 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %21, i64 0)
store i64 %20, i64* %rdi.1.ph.be.reg2mem
br label LBL_32
LBL_32:
%rdi.1.ph.be.reload = load i64, i64* %rdi.1.ph.be.reg2mem
%sv_0.0.ph.be = add i32 %sv_0.0.ph28.reload, 1
%113 = load i32, i32* %11, align 4
%114 = add i32 %113, %sv_0.0.ph.be
%115 = load i32, i32* %14, align 4
%116 = icmp ult i32 %114, %115
store i32 %114, i32* %.reg2mem110
store i64 %rdi.1.ph.be.reload, i64* %rdi.1.ph30.reg2mem
store i32 %sv_0.0.ph.be, i32* %sv_0.0.ph28.reg2mem
store i64 %sv_1.1.ph.ph35.reload, i64* %sv_1.1.ph.ph.lcssa.reg2mem
store i32 %sv_0.0.ph.be, i32* %sv_0.0.ph.lcssa.reg2mem
br i1 %116, label LBL_4.lr.ph, label LBL_34
LBL_33:
%sv_0.0.ph28.reload = load i32, i32* %sv_0.0.ph28.reg2mem
%rdi.1.ph30.reload = load i64, i64* %rdi.1.ph30.reg2mem
%.reload111 = load i32, i32* %.reg2mem110
store i32 %.reload111, i32* %.reg2mem
store i64 %rdi.1.ph30.reload, i64* %rdi.124.reg2mem
br label LBL_4
LBL_34:
%sv_0.0.ph.lcssa.reload = load i32, i32* %sv_0.0.ph.lcssa.reg2mem
%sv_1.1.ph.ph.lcssa.reload = load i64, i64* %sv_1.1.ph.ph.lcssa.reg2mem
%117 = load i64, i64* %sv_4, align 8
%118 = icmp eq i64 %117, 0
br i1 %118, label LBL_36, label LBL_35
LBL_35:
%119 = call i64 @FUNC(i64 %117)
br label LBL_36
LBL_36:
%120 = icmp eq i64 %sv_1.1.ph.ph.lcssa.reload, 0
br i1 %120, label LBL_39, label LBL_37
LBL_37:
%121 = add i64 %sv_1.1.ph.ph.lcssa.reload, 16
%122 = inttoptr i64 %121 to i64*
%123 = load i64, i64* %122, align 8
%124 = icmp eq i64 %123, 0
%125 = icmp eq i1 %124, false
br i1 %125, label LBL_39, label LBL_38
LBL_38:
%126 = add i64 %0, 20
%127 = inttoptr i64 %126 to i32*
store i32 3, i32* %127, align 4
br label LBL_39
LBL_39:
%128 = zext i32 %sv_0.0.ph.lcssa.reload to i64
%129 = call i64 @FUNC(i64 %0, i64 %128)
store i64 %129, i64* %rax.0.reg2mem
br label LBL_40
LBL_40:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.1.ph.ph.lcssa.reload, { 1, 0 }
uselistorder i32 %sv_0.0.ph28.reload, { 2, 0, 5, 3, 4, 1 }
uselistorder i1 %85, { 1, 0 }
uselistorder i8* %sv_2.1.ph.ph36.reload, { 2, 0, 1 }
uselistorder i64 %sv_1.1.ph.ph35.reload, { 0, 4, 2, 3, 1 }
uselistorder i64* %52, { 0, 1, 3, 2 }
uselistorder i8 %25, { 3, 0, 1, 4, 2, 5, 6 }
uselistorder i32* %14, { 4, 0, 3, 1, 5, 2 }
uselistorder i32* %11, { 8, 2, 3, 7, 4, 5, 0, 1, 10, 9, 6 }
uselistorder i64 %sv_1.0.reload, { 1, 2, 0 }
uselistorder i64* %sv_4, { 3, 1, 5, 6, 0, 2, 7, 8, 9, 4, 10 }
uselistorder i8* %sv_3, { 1, 0 }
uselistorder i64 %0, { 2, 1, 0, 7, 8, 9, 10, 6, 5, 4, 3, 12, 11, 13 }
uselistorder i32* %.reg2mem, { 2, 1, 0 }
uselistorder i64* %rdi.124.reg2mem, { 2, 1, 0 }
uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem106, { 0, 2, 1 }
uselistorder i64* %rdi.1.ph.be.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.1.ph.ph.lcssa.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i32* %sv_0.0.ph.lcssa.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 4, 5, 2, 3 }
uselistorder i64 (i64, i64)* @xml_sax_store_text, { 1, 0 }
uselistorder i64 (i64)* @xml_sax_swap, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 0, 3, 2, 1 }
uselistorder i64 (i64*, i64*, i64)* @gf_dynstrcat, { 1, 0 }
uselistorder i64* null, { 1, 2, 0, 3 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i64 (i64)* @gf_free, { 0, 3, 2, 1 }
uselistorder i1 false, { 1, 2, 3, 6, 4, 5, 0, 7 }
uselistorder i8* null, { 3, 0, 2, 1 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_40, { 4, 5, 1, 0, 3, 2 }
uselistorder label LBL_34, { 1, 0, 2, 3 }
uselistorder label LBL_4.lr.ph, { 1, 0 }
uselistorder label LBL_32, { 1, 0 }
uselistorder label LBL_4.lr.ph.lr.ph, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
}
|
0
|
CompRealVul
|
virtio_rng_pci_init_14617
|
virtio_rng_pci_init
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = and i64 %2, 4294967295
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = call i64 @FUNC(i64 %2)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %8, label LBL_1, label LBL_2
LBL_1:
%9 = trunc i64 %1 to i32
%10 = call i64 @FUNC(i64 %2, i32 %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 0)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %2, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
read_password_13912
|
read_password
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.ph.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))
%2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%3 = call i32 @fflush(%_IO_FILE* %2)
%4 = add i64 %arg2, 4294967295
%5 = and i64 %4, 4294967295
store i32 0, i32* %sv_0.0.ph.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
%6 = sext i32 %sv_0.0.ph.reload to i64
%7 = icmp sgt i64 %5, %6
br label LBL_2
LBL_2:
%8 = call i32 @getchar()
%9 = icmp eq i32 %8, 10
br i1 %9, label LBL_5, label LBL_3
LBL_3:
br i1 %7, label LBL_4, label LBL_2
LBL_4:
%10 = add i32 %sv_0.0.ph.reload, 1
%11 = add i64 %6, %0
%12 = trunc i32 %8 to i8
%13 = inttoptr i64 %11 to i8*
store i8 %12, i8* %13, align 1
store i32 %10, i32* %sv_0.0.ph.reg2mem
br label LBL_1
LBL_5:
%14 = add i64 %6, %0
%15 = inttoptr i64 %14 to i8*
store i8 0, i8* %15, align 1
ret i64 0
uselistorder i32 %sv_0.0.ph.reload, { 1, 0 }
uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }
uselistorder i8 0, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
compute_mb_distortion_2037
|
compute_mb_distortion
|
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.5.reg2mem = alloca i32
%sv_0.410.reg2mem = alloca i32
%indvars.iv20.reg2mem = alloca i64
%sv_0.38.reg2mem = alloca i32
%storemerge29.reg2mem = alloca i32
%sv_0.26.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.115.reg2mem = alloca i32
%rsi.116.reg2mem = alloca i64
%indvars.iv26.reg2mem = alloca i64
%sv_0.012.reg2mem = alloca i32
%rsi.013.reg2mem = alloca i64
%indvars.iv23.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = add i64 %3, 24
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 24
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
store i64 0, i64* %indvars.iv26.reg2mem
store i64 %3, i64* %rsi.116.reg2mem
store i32 0, i32* %sv_0.115.reg2mem
br label LBL_3
LBL_1:
%sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem
%rsi.013.reload = load i64, i64* %rsi.013.reg2mem
%indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem
%10 = trunc i64 %indvars.iv23.reload to i32
%11 = add i32 %28, %10
%12 = sext i32 %11 to i64
%13 = add i64 %rsi.013.reload, %12
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = zext i8 %15 to i64
%17 = add i32 %29, %10
%18 = sext i32 %17 to i64
%19 = add nsw i64 %16, %18
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i64
%23 = sub nsw i64 %16, %22
%24 = mul nsw i64 %23, %23
%25 = trunc i64 %24 to i32
%26 = add i32 %sv_0.012.reload, %25
%indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1
%exitcond25 = icmp eq i64 %indvars.iv.next24, 16
store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem
store i64 %30, i64* %rsi.013.reg2mem
store i32 %26, i32* %sv_0.012.reg2mem
br i1 %exitcond25, label LBL_2, label LBL_1
LBL_2:
%indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1
%exitcond28 = icmp eq i64 %indvars.iv.next27, 16
store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem
store i64 %30, i64* %rsi.116.reg2mem
store i32 %26, i32* %sv_0.115.reg2mem
br i1 %exitcond28, label LBL_4, label LBL_3
LBL_3:
%sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem
%rsi.116.reload = load i64, i64* %rsi.116.reg2mem
%indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem
%27 = trunc i64 %indvars.iv26.reload to i32
%28 = mul i32 %6, %27
%29 = mul i32 %9, %27
%30 = zext i32 %29 to i64
store i64 0, i64* %indvars.iv23.reg2mem
store i64 %rsi.116.reload, i64* %rsi.013.reg2mem
store i32 %sv_0.115.reload, i32* %sv_0.012.reg2mem
br label LBL_1
LBL_4:
%31 = trunc i64 %1 to i32
%32 = icmp eq i32 %31, 1
%33 = icmp eq i1 %32, false
store i64 1, i64* %indvars.iv20.reg2mem
store i32 %26, i32* %sv_0.410.reg2mem
store i32 %26, i32* %sv_0.5.reg2mem
br i1 %33, label LBL_10, label LBL_9
LBL_5:
%sv_0.26.reload = load i32, i32* %sv_0.26.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%34 = trunc i64 %indvars.iv.reload to i32
%35 = add i32 %52, %34
%36 = sext i32 %35 to i64
%37 = add i64 %57, %36
%38 = inttoptr i64 %37 to i8*
%39 = load i8, i8* %38, align 1
%40 = add i32 %53, %34
%41 = sext i32 %40 to i64
%42 = add i64 %64, %41
%43 = inttoptr i64 %42 to i8*
%44 = load i8, i8* %43, align 1
%45 = zext i8 %39 to i64
%46 = zext i8 %44 to i64
%47 = sub nsw i64 %45, %46
%48 = mul nsw i64 %47, %47
%49 = trunc i64 %48 to i32
%50 = add i32 %sv_0.26.reload, %49
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %50, i32* %sv_0.26.reg2mem
br i1 %exitcond, label LBL_6, label LBL_5
LBL_6:
%51 = add nuw nsw i32 %storemerge29.reload, 1
%exitcond19 = icmp eq i32 %51, 8
store i32 %51, i32* %storemerge29.reg2mem
store i32 %50, i32* %sv_0.38.reg2mem
br i1 %exitcond19, label LBL_8, label LBL_7
LBL_7:
%sv_0.38.reload = load i32, i32* %sv_0.38.reg2mem
%storemerge29.reload = load i32, i32* %storemerge29.reg2mem
%52 = mul i32 %storemerge29.reload, %61
%53 = mul i32 %storemerge29.reload, %67
store i64 0, i64* %indvars.iv.reg2mem
store i32 %sv_0.38.reload, i32* %sv_0.26.reg2mem
br label LBL_5
LBL_8:
%indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1
%exitcond22 = icmp eq i64 %indvars.iv.next21, 3
store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem
store i32 %50, i32* %sv_0.410.reg2mem
store i32 %50, i32* %sv_0.5.reg2mem
br i1 %exitcond22, label LBL_10, label LBL_9
LBL_9:
%sv_0.410.reload = load i32, i32* %sv_0.410.reg2mem
%indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem
%54 = mul i64 %indvars.iv20.reload, 8
%55 = add i64 %54, %3
%56 = inttoptr i64 %55 to i64*
%57 = load i64, i64* %56, align 8
%58 = mul i64 %indvars.iv20.reload, 4
%59 = add i64 %58, %4
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = add i64 %54, %2
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = add i64 %58, %7
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
store i32 0, i32* %storemerge29.reg2mem
store i32 %sv_0.410.reload, i32* %sv_0.38.reg2mem
br label LBL_7
LBL_10:
%sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem
%68 = zext i32 %sv_0.5.reload to i64
ret i64 %68
uselistorder i64 %58, { 1, 0 }
uselistorder i64 %54, { 1, 0 }
uselistorder i64 %indvars.iv20.reload, { 2, 1, 0 }
uselistorder i32 %storemerge29.reload, { 2, 1, 0 }
uselistorder i64 %30, { 1, 0 }
uselistorder i32 %29, { 1, 0 }
uselistorder i64 %indvars.iv26.reload, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64* %indvars.iv23.reg2mem, { 2, 1, 0 }
uselistorder i64* %rsi.013.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.012.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.26.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.38.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv20.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.410.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 3, 4, 0, 1, 2 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
timer_int_route_14109
|
timer_int_route
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = urem i64 %1, 256
ret i64 %2
}
|
1
|
CompRealVul
|
load_script_11770
|
load_script
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.in17.reg2mem = alloca i64
%.reg2mem19 = alloca i8
%.in.reg2mem = alloca i64
%storemerge.in.reg2mem = alloca i64
%.reg2mem = alloca i8*
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i8*, align 8
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 35
%4 = icmp eq i1 %3, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %4, label LBL_30, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 1
%7 = inttoptr i64 %6 to i8*
%8 = load i8, i8* %7, align 1
%9 = icmp eq i8 %8, 33
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %9, label LBL_2, label LBL_30
LBL_2:
%10 = add i64 %5, 256
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12)
%14 = load i64, i64* %11, align 8
%15 = call i64 @FUNC(i64 %14)
store i64 0, i64* %11, align 8
%16 = add i64 %5, 255
%17 = inttoptr i64 %16 to i8*
store i8 0, i8* %17, align 1
%18 = bitcast i64* %arg1 to i8*
%19 = call i8* @strchr(i8* %18, i32 10)
%20 = icmp eq i8* %19, null
%21 = icmp eq i1 %20, false
%storemerge3 = select i1 %21, i8* %19, i8* %17
store i8 0, i8* %storemerge3, align 1
%22 = bitcast i8* %storemerge3 to i64*
%23 = icmp ugt i64* %22, %arg1
store i8* %storemerge3, i8** %.reg2mem
br i1 %23, label LBL_3, label LBL_5
LBL_3:
%.reload = load i8*, i8** %.reg2mem
%24 = ptrtoint i8* %.reload to i64
%25 = add i64 %24, -1
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = icmp ne i8 %27, 32
%29 = icmp eq i8 %27, 9
%30 = icmp eq i1 %29, false
%or.cond = icmp eq i1 %28, %30
br i1 %or.cond, label LBL_5, label LBL_4
LBL_4:
store i8 0, i8* %26, align 1
%31 = inttoptr i64 %25 to i64*
%32 = icmp ugt i64* %31, %arg1
store i8* %26, i8** %.reg2mem
br i1 %32, label LBL_3, label LBL_5
LBL_5:
%33 = add i64 %5, 2
store i64 %33, i64* %storemerge.in.reg2mem
br label LBL_7
LBL_6:
%34 = add i64 %storemerge.in.reload, 1
store i64 %34, i64* %storemerge.in.reg2mem
br label LBL_7
LBL_7:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = inttoptr i64 %storemerge.in.reload to i8*
%35 = load i8, i8* %storemerge, align 1
switch i8 %35, label LBL_8 [
i8 32, label LBL_6
i8 9, label LBL_6
]
LBL_8:
%36 = icmp eq i8 %35, 0
%37 = icmp eq i1 %36, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %37, label LBL_9, label LBL_30
LBL_9:
%38 = bitcast i8** %sv_2 to i64*
store i64 %storemerge.in.reload, i64* %38, align 8
store i64 0, i64* %sv_1, align 8
store i64 %storemerge.in.reload, i64* %.in.reg2mem
br label LBL_10
LBL_10:
%.in.reload = load i64, i64* %.in.reg2mem
%39 = inttoptr i64 %.in.reload to i8*
%40 = load i8, i8* %39, align 1
switch i8 %40, label LBL_11 [
i8 0, label LBL_12
i8 32, label LBL_12
]
LBL_11:
%41 = icmp eq i8 %40, 9
%42 = icmp eq i1 %41, false
%43 = add i64 %.in.reload, 1
store i64 %43, i64* %.in.reg2mem
br i1 %42, label LBL_10, label LBL_12
LBL_12:
store i8 %40, i8* %.reg2mem19
store i64 %.in.reload, i64* %.in17.reg2mem
br label LBL_14
LBL_13:
%44 = inttoptr i64 %.in17.reload to i8*
%45 = add i64 %.in17.reload, 1
store i8 0, i8* %44, align 1
%.phi.trans.insert = inttoptr i64 %45 to i8*
%.pre = load i8, i8* %.phi.trans.insert, align 1
store i8 %.pre, i8* %.reg2mem19
store i64 %45, i64* %.in17.reg2mem
br label LBL_14
LBL_14:
%.in17.reload = load i64, i64* %.in17.reg2mem
%.reload20 = load i8, i8* %.reg2mem19
switch i8 %.reload20, label LBL_15 [
i8 32, label LBL_13
i8 9, label LBL_13
i8 0, label LBL_16
]
LBL_15:
store i64 %.in17.reload, i64* %sv_1, align 8
br label LBL_16
LBL_16:
%46 = load i8*, i8** %sv_2, align 8
%47 = bitcast i64* %sv_0 to i8*
%48 = call i8* @strcpy(i8* nonnull %47, i8* %46)
%49 = call i64 @FUNC(i64 %5)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_18, label LBL_17
LBL_17:
%52 = and i64 %49, 4294967295
store i64 %52, i64* %rax.0.reg2mem
br label LBL_30
LBL_18:
%53 = add i64 %5, 264
%54 = call i64 @FUNC(i64 1, i64 %53, i64 %5)
%55 = trunc i64 %54 to i32
%56 = icmp slt i32 %55, 0
%57 = icmp eq i1 %56, false
br i1 %57, label LBL_20, label LBL_19
LBL_19:
%58 = and i64 %54, 4294967295
store i64 %58, i64* %rax.0.reg2mem
br label LBL_30
LBL_20:
%59 = add i64 %5, 272
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = add i32 %61, 1
store i32 %62, i32* %60, align 4
%63 = load i64, i64* %sv_1, align 8
%64 = icmp eq i64 %63, 0
br i1 %64, label LBL_24, label LBL_21
LBL_21:
%65 = ptrtoint i64* %sv_1 to i64
%66 = call i64 @FUNC(i64 1, i64 %65, i64 %5)
%67 = trunc i64 %66 to i32
%68 = icmp slt i32 %67, 0
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_23, label LBL_22
LBL_22:
%70 = and i64 %66, 4294967295
store i64 %70, i64* %rax.0.reg2mem
br label LBL_30
LBL_23:
%71 = load i32, i32* %60, align 4
%72 = add i32 %71, 1
store i32 %72, i32* %60, align 4
br label LBL_24
LBL_24:
%73 = ptrtoint i8** %sv_2 to i64
%74 = call i64 @FUNC(i64 1, i64 %73, i64 %5)
%75 = trunc i64 %74 to i32
%76 = icmp eq i32 %75, 0
br i1 %76, label LBL_26, label LBL_25
LBL_25:
%77 = and i64 %74, 4294967295
store i64 %77, i64* %rax.0.reg2mem
br label LBL_30
LBL_26:
%78 = load i32, i32* %60, align 4
%79 = add i32 %78, 1
store i32 %79, i32* %60, align 4
%80 = inttoptr i64 %53 to i64*
%81 = ptrtoint i64* %sv_0 to i64
store i64 %81, i64* %80, align 8
%82 = call i64 @FUNC(i64* nonnull %sv_0)
%83 = icmp ult i64 %82, -1000
store i64 %82, i64* %rax.0.reg2mem
br i1 %83, label LBL_27, label LBL_30
LBL_27:
store i64 %82, i64* %11, align 8
%84 = call i64 @FUNC(i64 %5)
%85 = trunc i64 %84 to i32
%86 = icmp slt i32 %85, 0
%87 = icmp eq i1 %86, false
br i1 %87, label LBL_29, label LBL_28
LBL_28:
%88 = and i64 %84, 4294967295
store i64 %88, i64* %rax.0.reg2mem
br label LBL_30
LBL_29:
%89 = call i64 @FUNC(i64 %5)
store i64 %89, i64* %rax.0.reg2mem
br label LBL_30
LBL_30:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %82, { 1, 0, 2 }
uselistorder i32* %60, { 3, 2, 1, 0, 4, 5 }
uselistorder i64 %.in17.reload, { 2, 0, 1 }
uselistorder i8 %40, { 0, 2, 1 }
uselistorder i64 %.in.reload, { 0, 2, 1 }
uselistorder i64 %storemerge.in.reload, { 0, 3, 1, 2 }
uselistorder i64 %5, { 1, 2, 3, 0, 4, 6, 5, 7, 8, 9, 10, 11 }
uselistorder i8** %sv_2, { 2, 1, 0 }
uselistorder i64* %sv_0, { 0, 2, 1 }
uselistorder i8** %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 1, 8, 7, 6, 5, 2, 4, 3 }
uselistorder i64 (i64, i64, i64)* @copy_strings_kernel, { 2, 1, 0 }
uselistorder i8 9, { 0, 3, 1, 2 }
uselistorder i8 0, { 0, 2, 1, 3, 4, 5, 6 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 }
uselistorder i64* %arg1, { 1, 0, 2, 3 }
uselistorder label LBL_30, { 4, 5, 0, 6, 7, 8, 9, 1, 3, 2 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
palette8torgb24_14266
|
palette8torgb24
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = icmp eq i32 %arg3, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %0, label LBL_3, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg4 to i64
%2 = ptrtoint i64* %arg1 to i64
%wide.trip.count = zext i32 %arg3 to i64
store i64 0, i64* %indvars.iv.reg2mem
store i64 %arg2, i64* %sv_0.01.reg2mem
br label LBL_2
LBL_2:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%3 = add i64 %indvars.iv.reload, %2
%4 = inttoptr i64 %3 to i8*
%5 = load i8, i8* %4, align 1
%6 = zext i8 %5 to i64
%7 = mul i64 %6, 4
%8 = or i64 %7, 2
%9 = add i64 %8, %1
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = inttoptr i64 %sv_0.01.reload to i8*
store i8 %11, i8* %12, align 1
%13 = load i8, i8* %4, align 1
%14 = zext i8 %13 to i64
%15 = mul i64 %14, 4
%16 = or i64 %15, 1
%17 = add i64 %16, %1
%18 = add i64 %sv_0.01.reload, 1
%19 = inttoptr i64 %17 to i8*
%20 = load i8, i8* %19, align 1
%21 = inttoptr i64 %18 to i8*
store i8 %20, i8* %21, align 1
%22 = load i8, i8* %4, align 1
%23 = zext i8 %22 to i64
%24 = mul i64 %23, 4
%25 = add i64 %24, %1
%26 = add i64 %sv_0.01.reload, 2
%27 = inttoptr i64 %25 to i8*
%28 = load i8, i8* %27, align 1
%29 = inttoptr i64 %26 to i8*
store i8 %28, i8* %29, align 1
%30 = add i64 %sv_0.01.reload, 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
store i64 %30, i64* %sv_0.01.reg2mem
store i64 %wide.trip.count, i64* %.lcssa.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64 1, { 0, 2, 1 }
uselistorder i64 2, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
arp_send_dst_3799
|
arp_send_dst
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32* %arg4, i64 %arg5, i32* %arg6, i32* %arg7, i32* %arg8, i32* %arg9) 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 = urem i32 %2, 2
%4 = zext i32 %3 to i64
%5 = icmp eq i32 %3, 0
%6 = icmp eq i1 %5, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = ptrtoint i32* %arg7 to i64
%8 = ptrtoint i32* %arg8 to i64
%9 = and i64 %arg5, 4294967295
%10 = and i64 %arg1, 4294967295
%11 = ptrtoint i32* %arg6 to i64
%12 = ptrtoint i32* %arg4 to i64
%13 = trunc i64 %arg3 to i32
%14 = trunc i64 %arg2 to i32
%15 = call i64 @FUNC(i64 %10, i32 %14, i32 %13, i64 %12, i64 %9, i64 %11, i64 %7, i64 %8, i64 %11)
%16 = icmp eq i64 %15, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_3, label LBL_2
LBL_2:
%17 = ptrtoint i32* %arg9 to i64
%18 = call i64 @FUNC(i64 %17)
%19 = call i64 @FUNC(i64 %15, i64 %18)
%20 = call i64 @FUNC(i64 %15)
store i64 %20, 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 %15, { 1, 0, 2 }
uselistorder i32 %3, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
}
|
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.