dataset
stringclasses 1
value | file
stringlengths 7
51
| fun_name
stringlengths 2
45
| llvm_ir_function
stringlengths 61
121k
| label
stringclasses 2
values |
|---|---|---|---|---|
CompRealVul
|
session_adapt_url_9851
|
session_adapt_url
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i32, i32* @gv_0, align 4
%1 = icmp eq i32 %0, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_3, label LBL_1
LBL_1:
%2 = load i32, i32* @gv_1, align 4
%3 = zext i32 %2 to i64
%4 = icmp eq i32 %2, 1
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = ptrtoint i64* %arg4 to i64
%7 = load i64, i64* @gv_2, align 8
%8 = load i64, i64* @gv_3, align 8
%9 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %8, i64 %7, i64 %6)
store i64 %9, i64* %arg3, align 8
store i64 %9, 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
|
nfs4_intent_set_file_11223
|
nfs4_intent_set_file
|
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = trunc i64 %1 to i32
%5 = urem i32 %4, 2
%6 = icmp eq i32 %5, 0
store i64 %3, i64* %rsi.0.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %1, 4294967295
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %7, i64 %12, i64 %7)
%14 = trunc i64 %13 to i32
%15 = icmp slt i32 %14, 0
store i64 %12, i64* %rsi.0.reg2mem
store i64 %13, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_4, label LBL_2
LBL_2:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%16 = ptrtoint i32* %arg1 to i64
%17 = call i64 @FUNC(i64 %16, i64 %rsi.0.reload, i64 0)
%18 = icmp ult i64 %17, -1000
store i64 %17, i64* %sv_0.0.reg2mem
br i1 %18, label LBL_3, label LBL_4
LBL_3:
%sext = mul i64 %17, 4294967296
%19 = ashr exact i64 %sext, 32
%20 = call i64 @FUNC(i64 %19)
%21 = inttoptr i64 %20 to i64*
store i64 %2, i64* %21, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%22 = call i64 @FUNC(i64 %3, i64 %2, i32 %4)
%23 = and i64 %sv_0.0.reload, 4294967295
store i64 %23, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %17, { 1, 0, 2 }
uselistorder i32 %4, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
start_tco_16924
|
start_tco
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i64 %0, i64 %4)
%6 = trunc i64 %5 to i32
%7 = and i32 %6, -2
%8 = load i32, i32* %2, align 4
%9 = zext i32 %8 to i64
%10 = call i64 @FUNC(i64 %0, i64 %9, i32 %7)
ret i64 %10
uselistorder i64 %0, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
ath9k_cmn_rx_skb_preprocess_18417
|
ath9k_cmn_rx_skb_preprocess
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg6 to i64
%3 = ptrtoint i64* %arg5 to i64
%4 = ptrtoint i64* %arg4 to i64
%5 = ptrtoint i64* %arg3 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6, i64 %5, i64 %3, i64 %4, i64 %2)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%11 = ptrtoint i64* %arg2 to i64
%12 = call i64 @FUNC(i64 %6, i64 %11, i64 %5, i64 %4)
%13 = call i64 @FUNC(i64 %6, i64 %11, i64 %4, i64 %3, i64 %5)
%14 = trunc i64 %13 to i32
%15 = bitcast i64* %arg5 to i32*
store i32 %14, i32* %15, align 4
%16 = and i64 %1, 4294967295
%17 = call i64 @FUNC(i64 %6, i64 %16)
%18 = trunc i64 %17 to i32
%19 = add i64 %3, 4
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 4
%21 = bitcast i64* %rsi to i32*
%22 = load i32, i32* %21, align 8
%23 = add i64 %3, 8
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = add nuw nsw i64 %16, 4
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %3, 12
%29 = inttoptr i64 %28 to i32*
store i32 %27, i32* %29, align 4
%30 = add i64 %6, 8
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = add i64 %3, 16
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = add i64 %4, 4
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i64 %3, 20
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = add i64 %4, 8
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = add i64 %3, 24
%44 = inttoptr i64 %43 to i32*
store i32 %42, i32* %44, align 4
%45 = add i64 %3, 28
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = or i32 %47, 1
store i32 %48, i32* %46, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %11, { 1, 0 }
uselistorder i64 %6, { 0, 1, 3, 2, 4 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %4, { 0, 1, 3, 2, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
create_reconnect_durable_buf_8420
|
create_reconnect_durable_buf
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 40, 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 = inttoptr i64 %0 to i16*
%4 = ptrtoint i64* %arg1 to i64
%5 = call i64 @FUNC(i64 16)
%6 = trunc i64 %5 to i16
store i16 %6, i16* %3, align 2
%7 = call i64 @FUNC(i64 16)
%8 = trunc i64 %7 to i32
%9 = add i64 %0, 4
%10 = inttoptr i64 %9 to i32*
store i32 %8, i32* %10, align 4
%11 = call i64 @FUNC(i64 32)
%12 = trunc i64 %11 to i16
%13 = add i64 %0, 8
%14 = inttoptr i64 %13 to i16*
store i16 %12, i16* %14, align 2
%15 = call i64 @FUNC(i64 4)
%16 = trunc i64 %15 to i16
%17 = add i64 %0, 10
%18 = inttoptr i64 %17 to i16*
store i16 %16, i16* %18, align 2
%19 = add i64 %0, 16
%20 = inttoptr i64 %19 to i64*
store i64 4, i64* %20, align 8
%21 = add i64 %4, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = add i64 %0, 24
%25 = inttoptr i64 %24 to i64*
store i64 %23, i64* %25, align 8
%26 = add i64 %0, 32
%27 = inttoptr i64 %26 to i8*
store i8 68, i8* %27, align 1
%28 = add i64 %0, 33
%29 = inttoptr i64 %28 to i8*
store i8 72, i8* %29, align 1
%30 = add i64 %0, 34
%31 = inttoptr i64 %30 to i8*
store i8 110, i8* %31, align 1
%32 = add i64 %0, 35
%33 = inttoptr i64 %32 to i8*
store i8 67, i8* %33, align 1
store i64 %0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 }
uselistorder i64 16, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
perf_remove_from_owner_8514
|
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 = icmp eq i64 %2, 0
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = call i64 @FUNC()
store i64 %4, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%5 = call i64 @FUNC(i64 %2)
%6 = call i64 @FUNC()
%7 = call i64 @FUNC(i64 %2, i64 0)
%8 = add i64 %0, 8
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 %0, i64 0)
%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, { 1, 0, 2, 3, 4 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
fd_lines_88
|
fd_lines
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = call i32 (i32, i32, ...) @ioctl(i32 %0, i32 21523)
%2 = icmp slt i32 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i32* @__errno_location()
%5 = load i32, i32* %4, align 4
%6 = sub i32 0, %5
%7 = zext i32 %6 to i64
store i64 %7, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
avcodec_free_context_16374
|
avcodec_free_context
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
store i64 %0, i64* %rax.0.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = add i64 %0, 8
%5 = call i64 @FUNC(i64 %4)
%6 = call i64 @FUNC(i64 %0)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 1, 4, 3, 2, 0 }
uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
nci_close_device_6461
|
nci_close_device
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 19)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %0, 40
%4 = call i64 @FUNC(i64 0, i64 %3)
%5 = trunc i64 %4 to i8
%6 = icmp eq i8 %5, 1
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %0, 56
%8 = call i64 @FUNC(i64 %7)
%9 = add i64 %0, 64
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64 %0)
br label LBL_3
LBL_2:
%12 = add i64 %0, 72
%13 = call i64 @FUNC(i64 %12)
%14 = add i64 %0, 80
%15 = call i64 @FUNC(i64 %14)
%16 = add i64 %0, 88
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18)
%20 = add i64 %0, 96
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = call i64 @FUNC(i64 %22)
%24 = add i64 %0, 104
%25 = call i64 @FUNC(i64 %24)
%26 = add i64 %0, 112
%27 = call i64 @FUNC(i64 %26, i64 1)
%28 = call i64 @FUNC(i64 1, i64 %3)
%29 = call i64 @FUNC(i64 1000)
%30 = load i64, i64* @gv_0, align 8
%31 = and i64 %29, 4294967295
%32 = call i64 @FUNC(i64 %0, i64 %30, i64 0, i64 %31)
%33 = call i64 @FUNC(i64 1, i64 %3)
%34 = add i64 %0, 120
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = add i64 %0, 56
%39 = call i64 @FUNC(i64 %38)
%40 = inttoptr i64 %3 to i32*
%41 = load i32, i32* %40, align 4
%42 = and i32 %41, 4
store i32 %42, i32* %40, align 4
%43 = call i64 @FUNC(i64 %0)
br label LBL_3
LBL_3:
ret i64 0
uselistorder i64 %0, { 0, 1, 3, 2, 4, 6, 5, 9, 8, 7, 10, 11, 12, 13, 14, 15 }
uselistorder i64 (i64)* @flush_workqueue, { 2, 1, 0 }
uselistorder i64 (i64)* @skb_queue_purge, { 2, 1, 0 }
uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }
uselistorder i64 (i64)* @del_timer_sync, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
gif_copy_img_rect_11528
|
gif_copy_img_rect
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.0.in11.reg2mem = alloca i64
%sv_2.0.in12.reg2mem = alloca i64
%sv_0.013.reg2mem = alloca i64
%sv_3.014.reg2mem = alloca i64
%0 = trunc i64 %arg5 to i32
%1 = mul i32 %0, %arg3
%2 = sext i32 %1 to i64
%3 = mul i64 %2, 4
%4 = add i64 %3, %arg1
%5 = add i64 %4, %3
%6 = icmp ult i64 %4, %5
store i64 %4, i64* %sv_0.0.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_6
LBL_1:
%7 = add i64 %3, %arg2
%sext5 = mul i64 %arg6, 4294967296
%sext = mul i64 %arg4, 4294967296
%8 = ashr exact i64 %sext, 30
%9 = ashr exact i64 %sext5, 30
%10 = sext i32 %arg3 to i64
%11 = mul i64 %10, 4
store i64 %7, i64* %sv_3.014.reg2mem
store i64 %4, i64* %sv_0.013.reg2mem
br label LBL_2
LBL_2:
%sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem
%sv_3.014.reload = load i64, i64* %sv_3.014.reg2mem
%12 = add i64 %sv_0.013.reload, %8
%13 = add i64 %12, %9
%14 = icmp ugt i64 %13, %12
br i1 %14, label LBL_3, label LBL_5
LBL_3:
%15 = add i64 %sv_3.014.reload, %8
store i64 %15, i64* %sv_2.0.in12.reg2mem
store i64 %12, i64* %sv_1.0.in11.reg2mem
br label LBL_4
LBL_4:
%sv_1.0.in11.reload = load i64, i64* %sv_1.0.in11.reg2mem
%sv_2.0.in12.reload = load i64, i64* %sv_2.0.in12.reg2mem
%sv_2.0 = inttoptr i64 %sv_2.0.in12.reload to i32*
%sv_1.0 = inttoptr i64 %sv_1.0.in11.reload to i32*
%16 = load i32, i32* %sv_1.0, align 4
store i32 %16, i32* %sv_2.0, align 4
%17 = add i64 %sv_1.0.in11.reload, 4
%18 = add i64 %sv_2.0.in12.reload, 4
%19 = icmp ugt i64 %13, %17
store i64 %18, i64* %sv_2.0.in12.reg2mem
store i64 %17, i64* %sv_1.0.in11.reg2mem
br i1 %19, label LBL_4, label LBL_5
LBL_5:
%20 = add i64 %sv_0.013.reload, %11
%21 = add i64 %sv_3.014.reload, %11
%22 = icmp ult i64 %20, %5
store i64 %21, i64* %sv_3.014.reg2mem
store i64 %20, i64* %sv_0.013.reg2mem
store i64 %20, i64* %sv_0.0.lcssa.reg2mem
br i1 %22, label LBL_2, label LBL_6
LBL_6:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
ret i64 %sv_0.0.lcssa.reload
uselistorder i64 %13, { 1, 0 }
uselistorder i64 %12, { 0, 2, 1 }
uselistorder i64 %sv_3.014.reload, { 1, 0 }
uselistorder i64 %sv_0.013.reload, { 1, 0 }
uselistorder i64 %11, { 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %4, { 1, 0, 3, 2 }
uselistorder i64 %3, { 2, 1, 0 }
uselistorder i64* %sv_3.014.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.in12.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.in11.reg2mem, { 1, 0, 2 }
uselistorder i32 %arg3, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
unix_inflight_12617
|
unix_inflight
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = icmp eq i64 %0, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_5, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64* nonnull @gv_0)
%4 = call i64 @FUNC(i64 %2)
%5 = icmp eq i64 %4, 1
%6 = icmp eq i1 %5, false
%7 = add i64 %2, 8
%8 = call i64 @FUNC(i64 %7)
%9 = urem i64 %8, 256
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i64
%12 = call i64 @FUNC(i64 %11)
%13 = call i64 @FUNC(i64 %7, i64 4210768)
br label LBL_4
LBL_3:
%14 = call i64 @FUNC(i64 %9)
br label LBL_4
LBL_4:
%15 = load i64, i64* @gv_1, align 8
%16 = add i64 %15, 1
store i64 %16, i64* @gv_1, align 8
%17 = call i64 @FUNC(i64* nonnull @gv_0)
store i64 %17, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 (i64)* @BUG_ON, { 1, 0 }
uselistorder i64 1, { 2, 0, 1, 3 }
uselistorder i32 1, { 3, 4, 5, 2, 1, 0 }
}
|
1
|
CompRealVul
|
__inject_pit_timer_intr_8967
|
__inject_pit_timer_intr
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.1.reg2mem = alloca i64
%storemerge.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = call i64 @FUNC(i64 %2, i32 %3, i64 0, i64 1)
%5 = call i64 @FUNC(i64 %2, i32 %3, i64 0, i64 0)
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp slt i32 %8, 1
store i32 0, i32* %storemerge.reg2mem
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%10 = add nuw nsw i32 %storemerge.reload, 1
%exitcond = icmp eq i32 %10, 2
store i64 0, i64* %sv_0.0.reg2mem
store i32 %10, i32* %storemerge.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%11 = call i64 @FUNC(i64 %sv_0.1.reload)
ret i64 %11
uselistorder i32 %3, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0 }
uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i32, i64, i64)* @kvm_set_irq, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
ProcPanoramiXGetScreenSize_11567
|
ProcPanoramiXGetScreenSize
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%sv_2 = alloca i32, align 4
%sv_3 = alloca i32, align 4
%sv_4 = alloca i32, align 4
%sv_5 = alloca i32, align 4
%sv_6 = alloca i64, align 8
%2 = call i64* @malloc(i32 8)
%3 = bitcast i64* %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%6 = icmp ult i32 %4, %5
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_5
LBL_1:
%7 = ptrtoint i64* %2 to i64
%8 = add i64 %7, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = ptrtoint i32* %arg1 to i64
%12 = call i64 @FUNC(i64* nonnull %sv_6, i32 %10, i64 %11, i64 1)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = and i64 %12, 4294967295
store i64 %15, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%16 = trunc i64 %1 to i32
%17 = load i64, i64* @gv_0, align 8
%18 = load i32, i32* %3, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 8
%21 = add i64 %20, %17
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = add i64 %23, 4
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = load i32, i32* %9, align 4
store i32 %16, i32* %sv_5, align 4
store i32 0, i32* %sv_4, align 4
store i32 %25, i32* %sv_3, align 4
store i32 %28, i32* %sv_2, align 4
store i32 %29, i32* %sv_1, align 4
store i32 %18, i32* %sv_0, align 4
%30 = add i64 %11, 4
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %33, label LBL_5, label LBL_4
LBL_4:
%34 = call i64 @FUNC(i32* nonnull %sv_5)
%35 = call i64 @FUNC(i32* nonnull %sv_4)
%36 = call i64 @FUNC(i32* nonnull %sv_3)
%37 = call i64 @FUNC(i32* nonnull %sv_2)
%38 = call i64 @FUNC(i32* nonnull %sv_1)
%39 = call i64 @FUNC(i32* nonnull %sv_0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i64 (i32*)* @swapl, { 4, 3, 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_5, { 1, 0, 3, 2 }
}
|
1
|
CompRealVul
|
jas_malloc_5240
|
jas_malloc
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)
%1 = trunc i64 %arg1 to i32
%2 = call i64* @malloc(i32 %1)
%3 = ptrtoint i64* %2 to i64
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64* %2)
ret i64 %3
}
|
0
|
CompRealVul
|
rv10_decode_init_1364
|
rv10_decode_init
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 24
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %6)
%8 = inttoptr i64 %6 to i64*
store i64 %3, i64* %8, align 8
%9 = add i64 %6, 8
%10 = inttoptr i64 %9 to i32*
store i32 1, i32* %10, align 4
%11 = bitcast i64* %rdi to i32*
%12 = load i32, i32* %11, align 8
%13 = add i64 %6, 12
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = add i64 %3, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %6, 16
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = add i64 %3, 8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %6, 20
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = add i64 %3, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp eq i32 %27, 807415810
br i1 %28, label LBL_26, label LBL_1
LBL_1:
%29 = icmp sgt i32 %27, 807415810
br i1 %29, label LBL_27, label LBL_2
LBL_2:
%30 = icmp eq i32 %27, 807411714
br i1 %30, label LBL_26, label LBL_3
LBL_3:
%31 = icmp sgt i32 %27, 807411714
br i1 %31, label LBL_27, label LBL_4
LBL_4:
%32 = icmp eq i32 %27, 538972162
br i1 %32, label LBL_26, label LBL_5
LBL_5:
%33 = icmp sgt i32 %27, 538972162
br i1 %33, label LBL_27, label LBL_6
LBL_6:
%34 = icmp eq i32 %27, 538968066
br i1 %34, label LBL_26, label LBL_7
LBL_7:
%35 = icmp sgt i32 %27, 538968066
br i1 %35, label LBL_27, label LBL_8
LBL_8:
%36 = icmp eq i32 %27, 537931777
br i1 %36, label LBL_25, label LBL_9
LBL_9:
%37 = icmp sgt i32 %27, 537931777
br i1 %37, label LBL_27, label LBL_10
LBL_10:
%38 = icmp eq i32 %27, 537923585
br i1 %38, label LBL_25, label LBL_11
LBL_11:
%39 = icmp sgt i32 %27, 537923585
br i1 %39, label LBL_27, label LBL_12
LBL_12:
%40 = icmp eq i32 %27, 537919489
br i1 %40, label LBL_25, label LBL_13
LBL_13:
%41 = icmp sgt i32 %27, 537919489
br i1 %41, label LBL_27, label LBL_14
LBL_14:
%42 = icmp eq i32 %27, 536875008
br i1 %42, label LBL_25, label LBL_15
LBL_15:
%43 = icmp sgt i32 %27, 536875008
br i1 %43, label LBL_27, label LBL_16
LBL_16:
%44 = icmp eq i32 %27, 268447745
br i1 %44, label LBL_24, label LBL_17
LBL_17:
%45 = icmp sgt i32 %27, 268447745
br i1 %45, label LBL_27, label LBL_18
LBL_18:
%46 = icmp eq i32 %27, 268447744
br i1 %46, label LBL_23, label LBL_19
LBL_19:
%47 = icmp sgt i32 %27, 268447744
br i1 %47, label LBL_27, label LBL_20
LBL_20:
switch i32 %27, label LBL_27 [
i32 268435456, label LBL_21
i32 268443648, label LBL_22
]
LBL_21:
%48 = add i64 %6, 24
%49 = inttoptr i64 %48 to i32*
store i32 0, i32* %49, align 4
%50 = add i64 %6, 28
%51 = inttoptr i64 %50 to i32*
store i32 0, i32* %51, align 4
%52 = add i64 %6, 32
%53 = inttoptr i64 %52 to i32*
store i32 1, i32* %53, align 4
br label LBL_28
LBL_22:
%54 = add i64 %6, 24
%55 = inttoptr i64 %54 to i32*
store i32 3, i32* %55, align 4
%56 = add i64 %6, 28
%57 = inttoptr i64 %56 to i32*
store i32 1, i32* %57, align 4
%58 = add i64 %6, 32
%59 = inttoptr i64 %58 to i32*
store i32 1, i32* %59, align 4
%60 = add i64 %6, 36
%61 = inttoptr i64 %60 to i32*
store i32 1, i32* %61, align 4
br label LBL_28
LBL_23:
%62 = add i64 %6, 24
%63 = inttoptr i64 %62 to i32*
store i32 3, i32* %63, align 4
%64 = add i64 %6, 28
%65 = inttoptr i64 %64 to i32*
store i32 1, i32* %65, align 4
%66 = add i64 %6, 32
%67 = inttoptr i64 %66 to i32*
store i32 1, i32* %67, align 4
br label LBL_28
LBL_24:
%68 = add i64 %6, 24
%69 = inttoptr i64 %68 to i32*
store i32 3, i32* %69, align 4
%70 = add i64 %6, 28
%71 = inttoptr i64 %70 to i32*
store i32 0, i32* %71, align 4
%72 = add i64 %6, 32
%73 = inttoptr i64 %72 to i32*
store i32 1, i32* %73, align 4
br label LBL_28
LBL_25:
%74 = add i64 %6, 32
%75 = inttoptr i64 %74 to i32*
store i32 1, i32* %75, align 4
br label LBL_28
LBL_26:
%76 = add i64 %6, 32
%77 = inttoptr i64 %76 to i32*
store i32 0, i32* %77, align 4
%78 = load i64, i64* %8, align 8
%79 = add i64 %78, 16
%80 = inttoptr i64 %79 to i32*
store i32 1, i32* %80, align 4
br label LBL_28
LBL_27:
%81 = load i64, i64* %8, align 8
%82 = zext i32 %27 to i64
%83 = call i64 @FUNC(i64 %81, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %82, i64 %2, i64 %1)
br label LBL_28
LBL_28:
%84 = call i64 @FUNC(i64 %6)
%85 = trunc i64 %84 to i32
%86 = icmp slt i32 %85, 0
%87 = icmp eq i1 %86, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %87, label LBL_29, label LBL_32
LBL_29:
%88 = call i64 @FUNC(i64 %6)
%89 = load i32, i32* @gv_1, align 4
%90 = icmp eq i32 %89, 0
%91 = icmp eq i1 %90, false
br i1 %91, label LBL_31, label LBL_30
LBL_30:
%92 = call i64 @FUNC(i64* nonnull @gv_2, i64 256, i64 256, i64* nonnull @gv_3, i64 1, i64 1)
%93 = call i64 @FUNC(i64* nonnull @gv_4, i64 256, i64 256, i64* nonnull @gv_5, i64 1, i64 1)
store i32 1, i32* @gv_1, align 4
br label LBL_31
LBL_31:
%94 = add i64 %3, 20
%95 = inttoptr i64 %94 to i32*
store i32 1, i32* %95, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_32
LBL_32:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %6, { 14, 15, 16, 13, 10, 11, 12, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 17, 18, 19, 20, 21, 22 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 1, 0 }
uselistorder i64 1, { 1, 0, 3, 2 }
uselistorder i64 256, { 1, 0, 3, 2 }
uselistorder i32* @gv_1, { 1, 0 }
uselistorder i32 268447744, { 1, 0 }
uselistorder i32 268447745, { 1, 0 }
uselistorder i32 536875008, { 1, 0 }
uselistorder i32 537919489, { 1, 0 }
uselistorder i32 537923585, { 1, 0 }
uselistorder i32 537931777, { 1, 0 }
uselistorder i32 538968066, { 1, 0 }
uselistorder i32 538972162, { 1, 0 }
uselistorder i32 807411714, { 1, 0 }
uselistorder i32 807415810, { 1, 0 }
uselistorder label LBL_32, { 1, 0 }
}
|
0
|
CompRealVul
|
inet6_destroy_sock_9839
|
inet6_destroy_sock
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = icmp eq i64 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 %1)
br label LBL_2
LBL_2:
%4 = call i64 @FUNC(i64 %arg1)
%5 = add i64 %0, 8
%6 = call i64 @FUNC(i64 %5, i64 0)
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_4, label LBL_3
LBL_3:
%8 = inttoptr i64 %6 to i32*
%9 = load i32, i32* %8, align 4
%10 = call i64 @FUNC(i64 %arg1, i64 %6, i32 %9)
br label LBL_4
LBL_4:
ret i64 0
uselistorder i64 (i64, i64)* @xchg, { 1, 0 }
}
|
0
|
CompRealVul
|
reset_terminal_4509
|
reset_terminal
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = bitcast i64* %arg1 to i32*
store i32 0, i32* %2, align 4
%3 = add i64 %0, 80
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %0, 4
%7 = inttoptr i64 %6 to i32*
store i32 %5, i32* %7, align 4
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, align 4
%10 = add i64 %0, 12
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = call i64 @FUNC(i64 1, i64 %0)
%13 = trunc i64 %12 to i32
%14 = add i64 %0, 16
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
%16 = add i64 %0, 20
%17 = inttoptr i64 %16 to i32*
store i32 1, i32* %17, align 4
%18 = add i64 %0, 24
%19 = inttoptr i64 %18 to i32*
store i32 2, i32* %19, align 4
%20 = add i64 %0, 28
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = add i64 %0, 32
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = add i64 %0, 36
%25 = inttoptr i64 %24 to i32*
store i32 0, i32* %25, align 4
%26 = load i32, i32* @gv_0, align 4
%27 = add i64 %0, 40
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = add i64 %0, 44
%30 = inttoptr i64 %29 to i32*
store i32 0, i32* %30, align 4
%31 = add i64 %0, 48
%32 = inttoptr i64 %31 to i32*
store i32 0, i32* %32, align 4
%33 = add i64 %0, 52
%34 = inttoptr i64 %33 to i32*
store i32 0, i32* %34, align 4
%35 = add i64 %0, 56
%36 = inttoptr i64 %35 to i32*
store i32 0, i32* %36, align 4
%37 = add i64 %0, 60
%38 = inttoptr i64 %37 to i32*
store i32 0, i32* %38, align 4
%39 = add i64 %0, 64
%40 = inttoptr i64 %39 to i32*
store i32 1, i32* %40, align 4
%41 = add i64 %0, 68
%42 = inttoptr i64 %41 to i32*
store i32 1, i32* %42, align 4
%43 = add i64 %0, 72
%44 = inttoptr i64 %43 to i32*
store i32 0, i32* %44, align 4
%45 = load i32, i32* @gv_1, align 4
%46 = zext i32 %45 to i64
%47 = call i64 @FUNC(i64 %0, i64 %46)
%48 = load i32, i32* @gv_2, align 4
%49 = zext i32 %48 to i64
%50 = call i64 @FUNC(i64 %0, i64 %49)
%51 = load i32, i32* @gv_3, align 4
%52 = zext i32 %51 to i64
%53 = call i64 @FUNC(i64 %0, i64 %52)
%54 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%55 = zext i32 %54 to i64
%56 = call i64 @FUNC(i64 %0, i64 %55)
%57 = add i64 %0, 76
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 4
%60 = sext i32 %59 to i64
%61 = mul nsw i64 %60, 20
%62 = add i64 %61, ptrtoint (i32** @gv_4 to i64)
%63 = inttoptr i64 %62 to i32*
store i32 0, i32* %63, align 4
%64 = load i32, i32* %58, align 4
%65 = sext i32 %64 to i64
%66 = mul nsw i64 %65, 20
%67 = add i64 %66, ptrtoint (i32** @gv_5 to i64)
%68 = inttoptr i64 %67 to i32*
store i32 0, i32* %68, align 4
%69 = load i32, i32* %58, align 4
%70 = sext i32 %69 to i64
%71 = mul nsw i64 %70, 20
%72 = add i64 %71, ptrtoint (i32** @gv_6 to i64)
%73 = inttoptr i64 %72 to i32*
store i32 1, i32* %73, align 4
%74 = load i32, i32* %58, align 4
%75 = sext i32 %74 to i64
%76 = mul nsw i64 %75, 20
%77 = add i64 %76, ptrtoint (i32** @gv_7 to i64)
%78 = inttoptr i64 %77 to i32*
%79 = load i32, i32* %78, align 4
%80 = add i64 %76, ptrtoint (i32** @gv_8 to i64)
%81 = inttoptr i64 %80 to i32*
store i32 %79, i32* %81, align 4
%82 = add i64 %0, 84
%83 = inttoptr i64 %82 to i32*
store i32 0, i32* %83, align 4
%84 = add i64 %0, 92
%85 = inttoptr i64 %84 to i32*
%86 = load i32, i32* %85, align 4
%87 = add i64 %0, 88
%88 = inttoptr i64 %87 to i32*
store i32 %86, i32* %88, align 4
%89 = call i64 @FUNC(i64 %0)
%90 = call i64 @FUNC(i64 %0)
%91 = add i64 %0, 96
%92 = inttoptr i64 %91 to i32*
store i32 16843008, i32* %92, align 4
%93 = add i64 %0, 124
%94 = inttoptr i64 %93 to i32*
store i32 16843009, i32* %94, align 4
%95 = add i64 %0, 120
%96 = inttoptr i64 %95 to i32*
store i32 16843009, i32* %96, align 4
%97 = add i64 %0, 116
%98 = inttoptr i64 %97 to i32*
store i32 16843009, i32* %98, align 4
%99 = add i64 %0, 112
%100 = inttoptr i64 %99 to i32*
store i32 16843009, i32* %100, align 4
%101 = add i64 %0, 108
%102 = inttoptr i64 %101 to i32*
store i32 16843009, i32* %102, align 4
%103 = add i64 %0, 104
%104 = inttoptr i64 %103 to i32*
store i32 16843009, i32* %104, align 4
%105 = add i64 %0, 100
%106 = inttoptr i64 %105 to i32*
store i32 16843009, i32* %106, align 4
%107 = add i64 %0, 128
%108 = inttoptr i64 %107 to i32*
store i32 1000, i32* %108, align 4
%109 = add i64 %0, 132
%110 = inttoptr i64 %109 to i32*
store i32 100, i32* %110, align 4
%111 = call i64 @FUNC(i64 %0, i64 0, i64 0)
%112 = call i64 @FUNC(i64 %0)
%113 = icmp eq i32 %1, 0
store i64 %112, i64* %rax.0.reg2mem
br i1 %113, label LBL_2, label LBL_1
LBL_1:
%114 = call i64 @FUNC(i64 %0, i64 2)
store i64 %114, 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 (i64, i64)* @clr_kbd, { 2, 1, 0 }
uselistorder i32 2, { 1, 0 }
}
|
0
|
CompRealVul
|
ffs_func_eps_disable_8858
|
ffs_func_eps_disable
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.1.reg2mem = alloca i64
%rdi.1.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %1, 16
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i64 %1, 20
%10 = call i64 @FUNC(i64 %9, i64 %2)
store i64 %5, i64* %sv_0.0.reg2mem
store i32 %8, i32* %sv_2.0.reg2mem
store i64 %5, i64* %sv_1.0.reg2mem
store i64 %9, i64* %rdi.0.reg2mem
br label LBL_1
LBL_1:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%11 = inttoptr i64 %sv_1.0.reload to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
%15 = icmp eq i1 %14, false
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %12)
store i64 %12, i64* %rdi.1.reg2mem
br label LBL_3
LBL_3:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%17 = icmp eq i64 %sv_0.0.reload, 0
store i64 0, i64* %sv_0.1.reg2mem
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = inttoptr i64 %sv_0.0.reload to i64*
store i64 0, i64* %18, align 8
%19 = add i64 %sv_0.0.reload, 8
store i64 %19, i64* %sv_0.1.reg2mem
br label LBL_5
LBL_5:
%20 = add i64 %sv_1.0.reload, 8
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%21 = add i32 %sv_2.0.reload, -1
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem
store i32 %21, i32* %sv_2.0.reg2mem
store i64 %20, i64* %sv_1.0.reg2mem
store i64 %rdi.1.reload, i64* %rdi.0.reg2mem
br i1 %23, label LBL_1, label LBL_6
LBL_6:
%24 = add i64 %rdi.1.reload, 20
%25 = call i64 @FUNC(i64 %24, i64 %2)
ret i64 %25
uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }
uselistorder i64 %sv_1.0.reload, { 1, 0 }
uselistorder i64 %1, { 1, 2, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i64 8, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
udta_Size_10825
|
udta_Size
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
store i32 0, i32* %sv_0, align 4
br label LBL_3
LBL_1:
%1 = inttoptr i64 %7 to i64*
%2 = load i64, i64* %1, align 8
%3 = call i64 @FUNC(i64 %0, i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = and i64 %3, 4294967295
store i64 %6, i64* %storemerge.reg2mem
br label LBL_4
LBL_3:
%7 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0)
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %storemerge.reg2mem
br i1 %9, label LBL_1, label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %7, { 1, 0 }
uselistorder i32 0, { 1, 0 }
}
|
0
|
CompRealVul
|
proc_setattr_7918
|
proc_setattr
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = urem i32 %2, 2
%4 = icmp eq i32 %3, 0
store i64 4294967295, i64* %rax.0.shrunk.reg2mem
br i1 %4, label LBL_1, label LBL_6
LBL_1:
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6, i64 %5)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
store i64 %7, i64* %rax.0.shrunk.reg2mem
br i1 %9, label LBL_2, label LBL_6
LBL_2:
%10 = and i32 %2, 2
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_5, label LBL_3
LBL_3:
%12 = add i64 %5, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %6)
%16 = icmp eq i64 %14, %15
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = load i64, i64* %13, align 8
%18 = call i64 @FUNC(i64 %6, i64 %17)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
store i64 %18, i64* %rax.0.shrunk.reg2mem
br i1 %20, label LBL_5, label LBL_6
LBL_5:
%21 = call i64 @FUNC(i64 %6, i64 %5)
%22 = call i64 @FUNC(i64 %6)
store i64 0, i64* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_6:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %6, { 3, 2, 0, 1, 4 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
}
|
0
|
CompRealVul
|
trace_record_start_3023
|
trace_record_start
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sext = mul i64 %arg3, 4294967296
%1 = ashr exact i64 %sext, 32
store i64 %1, i64* %sv_2, align 8
%2 = and i64 %arg2, 4294967295
store i64 %2, i64* %sv_1, align 8
%3 = call i64 @FUNC()
store i64 %3, i64* %sv_0, align 8
%4 = trunc i64 %1 to i32
br label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64* nonnull @gv_0)
%6 = trunc i64 %5 to i32
%7 = call i64 @FUNC()
%8 = add i32 %6, %4
%9 = load i32, i32* @gv_1, align 4
%10 = sub i32 %8, %9
%11 = icmp ult i32 %10, 1025
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64* nonnull @gv_2)
store i64 4294967268, i64* %storemerge.reg2mem
br label LBL_5
LBL_3:
%13 = and i64 %5, 4294967295
%14 = call i64 @FUNC(i64* nonnull @gv_0, i64 %13, i32 %8)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_1, label LBL_4
LBL_4:
%17 = urem i64 %5, 1024
%18 = call i64 @FUNC(i64 %17, i64* nonnull %sv_1, i64 8)
%19 = and i64 %18, 4294967295
%20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_0, i64 8)
%21 = and i64 %20, 4294967295
%22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_2, i64 4)
%23 = and i64 %22, 4294967295
%24 = call i64 @FUNC(i64 %23, i64* inttoptr (i64 4210748 to i64*), i64 4)
store i64 %17, i64* %arg1, align 8
%25 = add i64 %0, 8
%26 = inttoptr i64 %25 to i64*
store i64 %17, i64* %26, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64*, i64)* @write_to_buffer, { 3, 2, 1, 0 }
uselistorder i64 8, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
git_branch_iterator_free_5383
|
git_branch_iterator_free
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
%2 = call i64 @FUNC(i64 %arg1)
store i64 %2, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
jsi_wsFileRead_10234
|
jsi_wsFileRead
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %2, i64 %1, i64* nonnull %sv_2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
%7 = load i64, i64* %sv_2, align 8
%8 = icmp eq i64 %7, 0
%or.cond = or i1 %8, %6
store i64 1, i64* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_9, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %2, i64 %1)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %2, i64 %1, i64* nonnull %sv_1)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i64* %arg2, null
%or.cond4 = or i1 %14, %13
br i1 %or.cond4, label LBL_8, label LBL_3
LBL_3:
%15 = call i64 @FUNC(i64 %1)
%16 = call i64 @FUNC(i64 %12, i64 %1, i64 %15)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_8, label LBL_4
LBL_4:
%20 = ptrtoint i64* %arg3 to i64
%21 = call i64 @FUNC(i64 %2, i64 %1, i64 %20)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 %21, i64* %sv_0.0.reg2mem
br i1 %24, label LBL_9, label LBL_5
LBL_5:
%25 = add i64 %0, 8
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp eq i32 %27, 0
store i64 %21, i64* %sv_0.0.reg2mem
br i1 %28, label LBL_9, label LBL_6
LBL_6:
%29 = call i64 @FUNC(i64 %2, i64 %1)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
store i64 %21, i64* %sv_0.0.reg2mem
br i1 %31, label LBL_9, label LBL_7
LBL_7:
%32 = call i64 @FUNC(i64 %2, i64 %0, i64 %1)
store i64 %21, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_8:
%33 = call i64 @FUNC(i64 %2, i64 %1, i64 0)
%34 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%35 = inttoptr i64 %33 to i8*
%36 = bitcast i64* %arg2 to i8*
%37 = select i1 %14, i8* bitcast (i8** @gv_1 to i8*), i8* %36
%38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i8* %35, i8* %37)
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%39 = add i64 %0, 12
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = icmp eq i32 %41, 0
%43 = and i64 %sv_0.0.reload, 4294967295
%storemerge = select i1 %42, i64 %43, i64 0
ret i64 %storemerge
uselistorder i1 %14, { 1, 0 }
uselistorder i64 %2, { 0, 2, 3, 4, 1, 5, 6 }
uselistorder i64 %1, { 0, 4, 5, 6, 1, 2, 3, 7, 8 }
uselistorder i64 %0, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @Jsi_FSNative, { 1, 0 }
uselistorder label LBL_9, { 4, 3, 2, 1, 0, 5 }
}
|
0
|
CompRealVul
|
packet_alloc_375
|
packet_alloc
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp sgt i32 %0, -1
%3 = trunc i64 %1 to i32
%4 = icmp slt i32 %3, 2147483615
%or.cond = icmp eq i1 %2, %4
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_4
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add nsw i64 %1, 32
%7 = and i64 %6, 4294967295
%8 = call i64 @FUNC(i64 %5, i64 %7)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = and i64 %8, 4294967295
store i64 %12, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%13 = add i64 %1, %5
%14 = inttoptr i64 %13 to i64*
%15 = call i64* @memset(i64* %14, i32 0, i32 32)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
init_frame_decoder_15856
|
init_frame_decoder
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.1.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %2)
%sext = mul i64 %1, 4294967296
%5 = ashr exact i64 %sext, 32
%6 = mul nsw i64 %5, 10
store i32 0, i32* %storemerge1.reg2mem
br label LBL_1
LBL_1:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%7 = sext i32 %storemerge1.reload to i64
%8 = add nsw i64 %6, %7
%9 = mul i64 %8, 4
%10 = add i64 %9, ptrtoint (i32** @gv_0 to i64)
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 0
store i64 0, i64* %rax.1.reg2mem
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = mul i64 %7, 4
%15 = add i64 %14, %2
%16 = add i64 %15, 44
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i64 %15, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = call i64 @FUNC(i64 %2, i32 %21, i32 %18, i32 %12)
%23 = add nuw i32 %storemerge1.reload, 1
%24 = icmp ult i32 %23, 10
store i32 %23, i32* %storemerge1.reg2mem
store i64 %22, i64* %rax.1.reg2mem
br i1 %24, label LBL_1, label LBL_3
LBL_3:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %2, { 1, 0, 2, 3 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
virtio_balloon_init_pci_3385
|
virtio_balloon_init_pci
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.cast = ptrtoint i32* %arg1 to i64
%0 = call i64 @FUNC(i64 %.cast)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = call i64 @FUNC(i64 %.cast, 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 label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
cx22700_set_tps_17848
|
cx22700_set_tps
|
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 = load i64, i64* %0
%6 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)
%7 = trunc i64 %3 to i32
%8 = icmp ult i32 %7, 8
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_12
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = add i64 %9, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp ult i32 %12, 8
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %13, label LBL_2, label LBL_12
LBL_2:
%14 = icmp ne i32 %7, 4
%15 = icmp eq i32 %12, 4
%16 = icmp eq i1 %15, false
%or.cond3 = icmp eq i1 %14, %16
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond3, label LBL_3, label LBL_12
LBL_3:
%17 = add i64 %9, 8
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp ult i32 %19, 4
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %20, label LBL_4, label LBL_12
LBL_4:
%21 = add i64 %9, 12
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%switch = icmp ult i32 %23, 2
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %switch, label LBL_5, label LBL_12
LBL_5:
%24 = add i64 %9, 16
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%switch7 = icmp ult i32 %26, 3
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %switch7, label LBL_6, label LBL_12
LBL_6:
%27 = add i64 %9, 20
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp ult i32 %29, 5
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %30, label LBL_7, label LBL_12
LBL_7:
%31 = add i64 %9, 24
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%.off = add i32 %33, -6000000
%34 = icmp ult i32 %.off, 2000001
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %34, label LBL_8, label LBL_12
LBL_8:
%35 = ptrtoint i64* %arg1 to i64
%36 = icmp eq i32 %33, 7000000
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_10, label LBL_9
LBL_9:
%38 = call i64 @FUNC(i64 %35, i64 25)
%39 = urem i64 %38, 256
%40 = call i64 @FUNC(i64 %35, i64 9, i64 %39)
br label LBL_11
LBL_10:
%41 = call i64 @FUNC(i64 %35, i64 9)
%42 = urem i64 %41, 256
%43 = call i64 @FUNC(i64 %35, i64 9, i64 %42)
br label LBL_11
LBL_11:
%44 = load i32, i32* %25, align 4
%45 = sext i32 %44 to i64
%46 = add i64 %45, ptrtoint (i8** @gv_2 to i64)
%47 = inttoptr i64 %46 to i8*
%48 = load i8, i8* %47, align 1
%49 = load i32, i32* %28, align 4
%50 = trunc i32 %49 to i8
%51 = or i8 %48, %50
%52 = zext i8 %51 to i64
%53 = call i64 @FUNC(i64 %35, i64 4, i64 %52)
%sext = mul i64 %3, 4294967296
%54 = ashr exact i64 %sext, 32
%55 = add i64 %54, ptrtoint (i8** @gv_3 to i64)
%56 = inttoptr i64 %55 to i8*
%57 = load i8, i8* %56, align 1
%58 = mul i8 %57, 8
%59 = load i32, i32* %11, align 4
%60 = sext i32 %59 to i64
%61 = add i64 %60, ptrtoint (i8** @gv_3 to i64)
%62 = inttoptr i64 %61 to i8*
%63 = load i8, i8* %62, align 1
%64 = or i8 %63, %58
%65 = zext i8 %64 to i64
%66 = call i64 @FUNC(i64 %35, i64 5, i64 %65)
%67 = load i32, i32* %18, align 4
%68 = mul i32 %67, 4
%69 = load i32, i32* %22, align 4
%70 = or i32 %68, %69
%71 = urem i32 %70, 256
%72 = zext i32 %71 to i64
%73 = call i64 @FUNC(i64 %35, i64 6, i64 %72)
%74 = call i64 @FUNC(i64 %35, i64 8, i64 6)
%75 = call i64 @FUNC(i64 %35, i64 8, i64 4)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %35, { 2, 1, 0, 3, 4, 6, 5, 7, 8 }
uselistorder i32 %33, { 1, 0 }
uselistorder i32 %12, { 1, 0 }
uselistorder i64 %9, { 1, 0, 2, 5, 4, 3 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 1, 2, 3, 4, 5, 6, 7, 8 }
uselistorder i64* %0, { 4, 3, 2, 1, 0 }
uselistorder i64 ptrtoint (i8** @gv_3 to i64), { 1, 0 }
uselistorder i64 (i64, i64, i64)* @cx22700_writereg, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @cx22700_readreg, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_12, { 8, 2, 3, 0, 1, 4, 5, 6, 7 }
}
|
1
|
CompRealVul
|
local_cleanup_9455
|
local_cleanup
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0, i64 6)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %0, 4
%4 = call i64 @FUNC(i64 %3)
%5 = add i64 %0, 8
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %0, 12
%8 = call i64 @FUNC(i64 %7)
%9 = add i64 %0, 16
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %0, 24
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %0, 32
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %0, 36
%18 = call i64 @FUNC(i64 %17)
%19 = add i64 %0, 40
%20 = call i64 @FUNC(i64 %19)
ret i64 %20
uselistorder i64 %0, { 5, 4, 3, 2, 1, 0, 6, 7, 8, 9 }
uselistorder i64 (i64)* @cancel_work_sync, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @del_timer_sync, { 1, 0 }
}
|
0
|
CompRealVul
|
qobject_to_qdict_1902
|
qobject_to_qdict
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
%spec.select = select i1 %3, i64 %arg1, i64 0
ret i64 %spec.select
LBL_2:
ret i64 0
}
|
0
|
CompRealVul
|
evtchn_fifo_percpu_deinit_11244
|
evtchn_fifo_percpu_deinit
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = and i64 %arg1, 4294967295
%1 = call i64 @FUNC(i64 %0, i64 1)
ret i64 0
}
|
1
|
CompRealVul
|
qpci_pc_config_writew_16794
|
qpci_pc_config_writew
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = mul i64 %arg2, 256
%1 = urem i64 %arg3, 256
%2 = and i64 %0, 2147483392
%.masked = or i64 %1, %2
%3 = or i64 %.masked, 2147483648
%4 = call i64 @FUNC(i64 3320, i64 %3)
%5 = urem i64 %arg4, 65536
%6 = call i64 @FUNC(i64 3324, i64 %5)
ret i64 %6
uselistorder i64 256, { 1, 0 }
}
|
1
|
CompRealVul
|
btrfs_alloc_free_block_18910
|
btrfs_alloc_free_block
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = load i64, i64* %0
%4 = call i64 @FUNC(i64 %2, i64 %1, i64 %1, i64 1, i64 %arg4, i64 %arg3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = icmp slt i32 %5, 0
%8 = icmp eq i1 %7, false
%9 = zext i1 %8 to i64
%10 = call i64 @FUNC(i64 %9)
%11 = and i64 %4, 4294967295
%12 = call i64 @FUNC(i64 %11)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%13 = call i64 @FUNC(i64 %1, i64 %3)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %2, i64 %1, i64 %3, i64 1, i64 0)
%17 = call i64 @FUNC(i64 4294967284)
store i64 %17, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%18 = call i64 @FUNC(i64 %13)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_6, label LBL_5
LBL_5:
%21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%22 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %21)
br label LBL_6
LBL_6:
%23 = call i64 @FUNC(i64 %13)
%24 = call i64 @FUNC(i64 %13)
%25 = call i64 @FUNC(i64 %13)
%26 = inttoptr i64 %13 to i64*
%27 = load i64, i64* %26, align 8
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %13, i64 %29)
store i64 %13, 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 %13, { 0, 3, 5, 4, 2, 1, 6, 7 }
uselistorder i64 %1, { 0, 1, 3, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @ERR_PTR, { 1, 0 }
uselistorder i1 false, { 1, 0 }
}
|
1
|
CompRealVul
|
MP4_EIA608_Convert_11549
|
MP4_EIA608_Convert
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%sv_1.1.in.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i64
%sv_1.0.in.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i32
%sv_3.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp ult i64 %2, 3074457345618258602
%4 = select i1 %3, i64 %2, i64 3074457345618258602
%5 = icmp ult i64 %4, 10
br i1 %5, label LBL_4, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %arg1)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = and i64 %6, 4294967295
%10 = icmp ult i64 %4, %9
%or.cond = or i1 %8, %10
br i1 %or.cond, label LBL_4, label LBL_2
LBL_2:
%11 = add i64 %arg1, 4
%12 = inttoptr i64 %11 to i64*
%13 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_0 to i64*), i64* %12, i32 4)
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = mul nuw i64 %4, 3
%17 = add i64 %16, -8
%18 = call i64 @FUNC(i64 %17)
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_5, label LBL_4
LBL_4:
store i64 0, i64* %1, align 8
store i64 %arg1, i64* %storemerge.reg2mem
br label LBL_13
LBL_5:
%21 = inttoptr i64 %18 to i64*
%22 = load i64, i64* %21, align 8
%23 = add i32 %7, -8
%24 = add nsw i64 %4, -8
store i64 0, i64* %sv_0.0.reg2mem
store i64 %24, i64* %sv_3.0.reg2mem
store i32 %23, i32* %sv_2.0.reg2mem
store i64 %16, i64* %sv_1.0.in.reg2mem
br label LBL_6
LBL_6:
%sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.0 = inttoptr i64 %sv_1.0.in.reload to i8*
%25 = add i64 %sv_0.0.reload, %22
%26 = inttoptr i64 %25 to i8*
store i8 0, i8* %26, align 1
%27 = add i64 %25, 1
%28 = load i8, i8* %sv_1.0, align 1
%29 = inttoptr i64 %27 to i8*
store i8 %28, i8* %29, align 1
%30 = add i64 %sv_0.0.reload, 3
%31 = add i64 %25, 2
%32 = add i64 %sv_1.0.in.reload, 1
%33 = inttoptr i64 %32 to i8*
%34 = load i8, i8* %33, align 1
%35 = inttoptr i64 %31 to i8*
store i8 %34, i8* %35, align 1
%36 = add i64 %sv_1.0.in.reload, 2
%37 = add i32 %sv_2.0.reload, -2
%38 = add i64 %sv_3.0.reload, -2
%39 = icmp eq i32 %37, 0
%40 = icmp eq i32 %sv_2.0.reload, 3
%41 = or i1 %40, %39
store i64 %30, i64* %sv_0.0.reg2mem
store i64 %38, i64* %sv_3.0.reg2mem
store i32 %37, i32* %sv_2.0.reg2mem
store i64 %36, i64* %sv_1.0.in.reg2mem
br i1 %41, label LBL_7, label LBL_6
LBL_7:
%42 = icmp ult i64 %38, 10
store i64 %30, i64* %sv_0.2.reg2mem
br i1 %42, label LBL_12, label LBL_8
LBL_8:
%43 = call i64 @FUNC(i64 %36)
%44 = trunc i64 %43 to i32
%45 = icmp eq i32 %44, 0
%46 = and i64 %43, 4294967295
%47 = icmp ult i64 %38, %46
%or.cond4 = or i1 %45, %47
store i64 %30, i64* %sv_0.2.reg2mem
br i1 %or.cond4, label LBL_12, label LBL_9
LBL_9:
%48 = add i64 %sv_1.0.in.reload, 6
%49 = inttoptr i64 %48 to i64*
%50 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_1 to i64*), i64* %49, i32 4)
%51 = icmp eq i32 %50, 0
%52 = icmp eq i1 %51, false
store i64 %30, i64* %sv_0.2.reg2mem
br i1 %52, label LBL_12, label LBL_10
LBL_10:
%53 = add i64 %sv_1.0.in.reload, 10
%54 = add i32 %44, -8
store i64 %30, i64* %sv_0.1.reg2mem
store i32 %54, i32* %sv_2.1.reg2mem
store i64 %53, i64* %sv_1.1.in.reg2mem
br label LBL_11
LBL_11:
%sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%sv_1.1 = inttoptr i64 %sv_1.1.in.reload to i8*
%55 = add i64 %sv_0.1.reload, %22
%56 = inttoptr i64 %55 to i8*
store i8 0, i8* %56, align 1
%57 = add i64 %55, 1
%58 = load i8, i8* %sv_1.1, align 1
%59 = inttoptr i64 %57 to i8*
store i8 %58, i8* %59, align 1
%60 = add i64 %sv_0.1.reload, 3
%61 = add i64 %55, 2
%62 = add i64 %sv_1.1.in.reload, 1
%63 = inttoptr i64 %62 to i8*
%64 = load i8, i8* %63, align 1
%65 = inttoptr i64 %61 to i8*
store i8 %64, i8* %65, align 1
%66 = add i64 %sv_1.1.in.reload, 2
%67 = add i32 %sv_2.1.reload, -2
%68 = icmp eq i32 %67, 0
%69 = icmp eq i32 %sv_2.1.reload, 3
%70 = or i1 %69, %68
store i64 %60, i64* %sv_0.1.reg2mem
store i32 %67, i32* %sv_2.1.reg2mem
store i64 %66, i64* %sv_1.1.in.reg2mem
store i64 %60, i64* %sv_0.2.reg2mem
br i1 %70, label LBL_12, label LBL_11
LBL_12:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%71 = add i64 %arg1, 16
%72 = inttoptr i64 %71 to i64*
%73 = load i64, i64* %72, align 8
%74 = add i64 %18, 24
%75 = inttoptr i64 %74 to i64*
store i64 %73, i64* %75, align 8
%76 = add i64 %18, 8
%77 = inttoptr i64 %76 to i64*
store i64 %sv_0.2.reload, i64* %77, align 8
%78 = add i64 %18, 32
%79 = inttoptr i64 %78 to i32*
store i32 1, i32* %79, align 4
%80 = call i64 @FUNC(i64 %arg1)
store i64 %18, i64* %storemerge.reg2mem
br label LBL_13
LBL_13:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_1.1.in.reload, { 2, 1, 0 }
uselistorder i64 %38, { 1, 2, 0 }
uselistorder i64 %36, { 1, 0 }
uselistorder i64 %30, { 3, 0, 1, 2, 4 }
uselistorder i64 %sv_1.0.in.reload, { 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 1, 2, 0, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.1.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.1.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 0, 2, 3, 1, 4, 5 }
uselistorder i64 (i64)* @GetDWBE, { 1, 0 }
uselistorder i32 1, { 12, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10, 11, 0 }
uselistorder i64 %arg1, { 1, 2, 0, 3, 4, 5 }
}
|
1
|
CompRealVul
|
ossl_a2ucompare_6015
|
ossl_a2ucompare
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
store i64 257, i64* %sv_1, align 8
%0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i64* nonnull %sv_1)
%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 4294967295, i64* %storemerge.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_1:
%7 = bitcast i64* %sv_0 to i8*
%8 = inttoptr i64 %arg2 to i8*
%9 = call i32 @strcmp(i8* nonnull %7, i8* %8)
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
%12 = zext i1 %11 to i64
store i64 %12, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 2, 0, 3 }
uselistorder i32 1, { 3, 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
writet1_10465
|
writet1
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.1.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* @gv_0, align 8
%1 = load i64, i64* %arg1, align 8
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 %0, i64* %rdi.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
store i64 ptrtoint ([19 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%4 = call i64 @FUNC(i64 %rdi.0.reload)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br i1 %7, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
store i64 ptrtoint ([17 x i8]* @gv_4 to i64), i64* %rdi.1.reg2mem
br label LBL_4
LBL_4:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%8 = call i64 @FUNC(i64 %rdi.1.reload)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_6, label LBL_5
LBL_5:
call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
br label LBL_6
LBL_6:
store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8
%12 = load i64, i64* @gv_0, align 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_9, label LBL_7
LBL_7:
%19 = call i64 @FUNC(i64 1)
%20 = trunc i64 %19 to i32
%21 = add i64 %0, 8
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = icmp eq i32 %20, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_11, label LBL_8
LBL_8:
%24 = call i64 @FUNC()
%25 = call i64 @FUNC(i64 1)
%26 = load i64, i64* @gv_7, align 8
%27 = call i64 @FUNC(i64 %26)
store i64 %27, i64* %rax.0.reg2mem
br label LBL_11
LBL_9:
%28 = call i64 @FUNC(i64 2)
%29 = trunc i64 %28 to i32
%30 = add i64 %0, 8
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
%32 = icmp eq i32 %29, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_11, label LBL_10
LBL_10:
%33 = call i64 @FUNC()
%34 = call i64 @FUNC()
%35 = call i64 @FUNC()
%36 = call i64 @FUNC()
%37 = call i64 @FUNC()
%38 = call i64 @FUNC()
%39 = call i64 @FUNC()
%40 = call i64 @FUNC(i64 2)
%41 = load i64, i64* @gv_7, align 8
%42 = call i64 @FUNC(i64 %41)
store i64 %42, 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 %0, { 2, 1, 0, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }
uselistorder i64 (i64)* @xfree, { 1, 0 }
uselistorder i64 (i64)* @t1_close_font_file, { 1, 0 }
uselistorder i64 (i64)* @t1_open_fontfile, { 1, 0 }
uselistorder i64 1, { 3, 4, 0, 1, 2 }
uselistorder [17 x i8]* @gv_4, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }
uselistorder [19 x i8]* @gv_1, { 1, 0 }
uselistorder label LBL_11, { 2, 0, 3, 1 }
}
|
0
|
CompRealVul
|
ebml_read_binary_1062
|
ebml_read_binary
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%sext = mul i64 %arg2, 4294967296
%1 = call i64 @FUNC(i64 %0)
%sext2 = add i64 %sext, 137438953472
%2 = ashr exact i64 %sext2, 32
%3 = call i64 @FUNC(i64 %2)
store i64 %3, i64* %arg3, align 8
%4 = icmp eq i64* %arg3, null
%5 = icmp eq i1 %4, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_3
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = ashr exact i64 %sext, 32
%8 = add i64 %7, %0
%9 = inttoptr i64 %8 to i64*
%10 = call i64* @memset(i64* %9, i32 0, i32 32)
%11 = trunc i64 %7 to i32
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i32*
store i32 %11, i32* %13, align 4
%14 = call i64 @FUNC(i64 %6)
%15 = trunc i64 %14 to i32
%16 = add i64 %0, 12
%17 = inttoptr i64 %16 to i32*
store i32 %15, i32* %17, align 4
%18 = call i64 @FUNC(i64 %6, i64 %0, i32 %11)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %11, %19
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_3, label LBL_2
LBL_2:
%21 = call i64 @FUNC(i64 %0)
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %11, { 1, 0, 2 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 32, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
av_get_audio_frame_duration_1
|
av_get_audio_frame_duration
|
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 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %2, 12
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %2, 16
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = and i64 %1, 4294967295
%17 = call i64 @FUNC(i64 %16)
%18 = trunc i64 %17 to i32
%19 = icmp slt i32 %18, 1
%20 = icmp slt i32 %9, 1
%or.cond = or i1 %20, %19
%21 = trunc i64 %3 to i32
%22 = icmp slt i32 %21, 1
%or.cond11 = or i1 %22, %or.cond
br i1 %or.cond11, label LBL_2, label LBL_1
LBL_1:
%23 = ashr exact i64 %sext, 29
%24 = mul i32 %9, %18
%25 = trunc i64 %23 to i32
%26 = ashr i32 %25, 31
%27 = and i64 %23, 4294967288
%28 = zext i32 %26 to i64
%29 = mul i64 %28, 4294967296
%30 = or i64 %29, %27
%31 = zext i32 %24 to i64
%32 = sdiv i64 %30, %31
%33 = and i64 %32, 4294967295
store i64 %33, i64* %rax.0.reg2mem
br label LBL_63
LBL_2:
%34 = trunc i64 %1 to i32
%35 = add i64 %2, 20
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
store i64 %16, i64* @0, align 8
store i64 32, i64* %rax.0.reg2mem
switch i32 %34, label LBL_13 [
i32 1, label LBL_63
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_5
i32 8, label LBL_5
i32 9, label LBL_6
i32 10, label LBL_7
i32 11, label LBL_7
i32 12, label LBL_8
i32 13, label LBL_9
i32 14, label LBL_10
i32 15, label LBL_11
i32 16, label LBL_11
i32 17, label LBL_12
]
LBL_3:
store i64 64, i64* %rax.0.reg2mem
br label LBL_63
LBL_4:
store i64 128, i64* %rax.0.reg2mem
br label LBL_63
LBL_5:
store i64 160, i64* %rax.0.reg2mem
br label LBL_63
LBL_6:
store i64 256, i64* %rax.0.reg2mem
br label LBL_63
LBL_7:
store i64 320, i64* %rax.0.reg2mem
br label LBL_63
LBL_8:
store i64 384, i64* %rax.0.reg2mem
br label LBL_63
LBL_9:
store i64 512, i64* %rax.0.reg2mem
br label LBL_63
LBL_10:
store i64 1024, i64* %rax.0.reg2mem
br label LBL_63
LBL_11:
store i64 1152, i64* %rax.0.reg2mem
br label LBL_63
LBL_12:
store i64 1536, i64* %rax.0.reg2mem
br label LBL_63
LBL_13:
%38 = icmp slt i32 %6, 1
br i1 %38, label LBL_18, label LBL_14
LBL_14:
%39 = icmp eq i32 %34, 18
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_16, label LBL_15
LBL_15:
%41 = zext i32 %6 to i64
%sext3 = mul i64 %41, 1099511627776
%42 = ashr exact i64 %sext3, 32
%narrow = mul nsw i64 %42, 1121950641
%43 = udiv i64 %narrow, 4294967296
%44 = trunc i64 %43 to i32
%45 = ashr i32 %44, 6
%46 = mul i32 %6, 256
%47 = ashr i32 %46, 31
%48 = sub nsw i32 %45, %47
%49 = zext i32 %48 to i64
store i64 %49, i64* %rax.0.reg2mem
br label LBL_63
LBL_16:
%50 = icmp eq i32 %34, 19
%51 = icmp eq i1 %50, false
%or.cond13 = or i1 %51, %20
br i1 %or.cond13, label LBL_18, label LBL_17
LBL_17:
%52 = sext i32 %6 to i64
%53 = mul nsw i64 %52, 797831567
%54 = udiv i64 %53, 17592186044416
%55 = trunc i64 %54 to i32
%56 = icmp slt i32 %6, 0
%57 = zext i1 %56 to i32
%58 = sub nsw i32 %55, %57
%59 = urem i32 %58, 32
%60 = shl i32 480, %59
%61 = ashr i32 %60, 31
%62 = zext i32 %60 to i64
%63 = zext i32 %61 to i64
%64 = mul i64 %63, 4294967296
%65 = or i64 %64, %62
%66 = zext i32 %9 to i64
%67 = sdiv i64 %65, %66
%68 = and i64 %67, 4294967295
store i64 %68, i64* %rax.0.reg2mem
br label LBL_63
LBL_18:
%69 = icmp slt i32 %12, 1
%70 = icmp eq i32 %34, 20
%71 = icmp eq i1 %70, false
%or.cond15 = or i1 %71, %69
br i1 %or.cond15, label LBL_25, label LBL_19
LBL_19:
%72 = icmp eq i32 %12, 37
store i64 480, i64* %rax.0.reg2mem
br i1 %72, label LBL_63, label LBL_20
LBL_20:
%73 = icmp sgt i32 %12, 37
br i1 %73, label LBL_25, label LBL_21
LBL_21:
%74 = icmp eq i32 %12, 29
store i64 288, i64* %rax.0.reg2mem
br i1 %74, label LBL_63, label LBL_22
LBL_22:
%75 = icmp sgt i32 %12, 29
br i1 %75, label LBL_25, label LBL_23
LBL_23:
%76 = icmp eq i32 %12, 19
store i64 144, i64* %rax.0.reg2mem
br i1 %76, label LBL_63, label LBL_24
LBL_24:
%77 = icmp eq i32 %12, 20
%brmerge = or i1 %22, %77
%.mux = select i1 %77, i64 160, i64 0
store i64 %.mux, i64* %rax.0.reg2mem
br i1 %brmerge, label LBL_63, label LBL_26
LBL_25:
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_63, label LBL_26
LBL_26:
%78 = icmp eq i32 %34, 21
%79 = icmp eq i1 %78, false
br i1 %79, label LBL_28, label LBL_27
LBL_27:
%80 = udiv i64 %3, 32
%81 = urem i64 %80, 134217728
%82 = mul nuw nsw i64 %81, 240
%83 = and i64 %82, 4294967280
store i64 %83, i64* %rax.0.reg2mem
br label LBL_63
LBL_28:
%84 = icmp eq i32 %34, 22
%85 = icmp eq i1 %84, false
br i1 %85, label LBL_30, label LBL_29
LBL_29:
%86 = mul i64 %arg2, 4
%87 = and i64 %86, 4294967040
store i64 %87, i64* %rax.0.reg2mem
br label LBL_63
LBL_30:
%88 = icmp slt i32 %37, 1
%89 = icmp eq i32 %34, 23
%90 = icmp eq i1 %89, false
%or.cond17 = or i1 %90, %88
br i1 %or.cond17, label LBL_32, label LBL_31
LBL_31:
%91 = ashr exact i64 %sext, 29
%92 = trunc i64 %91 to i32
%93 = ashr i32 %92, 31
%94 = and i64 %91, 4294967288
%95 = zext i32 %93 to i64
%96 = mul i64 %95, 4294967296
%97 = or i64 %96, %94
%98 = zext i32 %37 to i64
%99 = sdiv i64 %97, %98
%100 = and i64 %99, 4294967295
store i64 %100, i64* %rax.0.reg2mem
br label LBL_63
LBL_32:
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_63, label LBL_33
LBL_33:
%101 = add i64 %1, 4294967272
%102 = and i64 %101, 4294967295
store i64 %102, i64* @1, align 8
switch i32 %34, label LBL_44 [
i32 24, label LBL_34
i32 25, label LBL_34
i32 26, label LBL_35
i32 27, label LBL_36
i32 28, label LBL_37
i32 29, label LBL_38
i32 30, label LBL_39
i32 31, label LBL_40
i32 32, label LBL_41
i32 33, label LBL_42
i32 34, label LBL_43
]
LBL_34:
%103 = mul i32 %9, 4
%104 = sub i32 %21, %103
%105 = mul i32 %104, 2
%106 = ashr i32 %105, 31
%107 = zext i32 %105 to i64
%108 = zext i32 %106 to i64
%109 = mul i64 %108, 4294967296
%110 = or i64 %109, %107
%111 = zext i32 %9 to i64
%112 = sdiv i64 %110, %111
%113 = and i64 %112, 4294967295
store i64 %113, i64* %rax.0.reg2mem
br label LBL_63
LBL_35:
%114 = ashr exact i64 %sext, 31
%115 = add nsw i64 %114, 8589934584
%116 = trunc i64 %115 to i32
%117 = ashr i32 %116, 31
%118 = and i64 %115, 4294967294
%119 = zext i32 %117 to i64
%120 = mul i64 %119, 4294967296
%121 = or i64 %120, %118
%122 = zext i32 %9 to i64
%123 = sdiv i64 %121, %122
%124 = and i64 %123, 4294967295
store i64 %124, i64* %rax.0.reg2mem
br label LBL_63
LBL_36:
%125 = ashr exact i64 %sext, 31
%126 = add nsw i64 %125, 8589934576
%127 = trunc i64 %126 to i32
%128 = ashr i32 %127, 31
%129 = and i64 %126, 4294967294
%130 = zext i32 %128 to i64
%131 = mul i64 %130, 4294967296
%132 = or i64 %131, %129
%133 = zext i32 %9 to i64
%134 = sdiv i64 %132, %133
%135 = and i64 %134, 4294967295
store i64 %135, i64* %rax.0.reg2mem
br label LBL_63
LBL_37:
%136 = udiv i64 %3, 128
%137 = trunc i64 %136 to i32
%138 = urem i32 %137, 33554432
%139 = mul i32 %138, 224
%140 = ashr i32 %139, 31
%141 = zext i32 %139 to i64
%142 = zext i32 %140 to i64
%143 = mul i64 %142, 4294967296
%144 = or i64 %143, %141
%145 = zext i32 %9 to i64
%146 = sdiv i64 %144, %145
%147 = and i64 %146, 4294967295
store i64 %147, i64* %rax.0.reg2mem
br label LBL_63
LBL_38:
%148 = add i32 %21, -6
%149 = sub i32 %148, %9
%150 = ashr i32 %149, 31
%151 = zext i32 %149 to i64
%152 = zext i32 %150 to i64
%153 = mul i64 %152, 4294967296
%154 = or i64 %153, %151
%155 = zext i32 %9 to i64
%156 = sdiv i64 %154, %155
%157 = and i64 %156, 4294967295
store i64 %157, i64* %rax.0.reg2mem
br label LBL_63
LBL_39:
%158 = add nsw i64 %3, 4294967288
%159 = trunc i64 %158 to i32
%160 = ashr i32 %159, 31
%161 = and i64 %158, 4294967295
%162 = zext i32 %160 to i64
%163 = mul i64 %162, 4294967296
%164 = or i64 %163, %161
%165 = zext i32 %9 to i64
%166 = sdiv i64 %164, %165
%167 = and i64 %166, 4294967295
store i64 %167, i64* %rax.0.reg2mem
br label LBL_63
LBL_40:
%168 = mul i32 %9, 2
%169 = sub i32 %21, %168
%170 = ashr i32 %169, 31
%171 = zext i32 %169 to i64
%172 = zext i32 %170 to i64
%173 = mul i64 %172, 4294967296
%174 = or i64 %173, %171
%175 = zext i32 %9 to i64
%176 = sdiv i64 %174, %175
%177 = and i64 %176, 4294967295
store i64 %177, i64* %rax.0.reg2mem
br label LBL_63
LBL_41:
%178 = mul nsw i64 %3, 3
%179 = trunc i64 %178 to i32
%180 = ashr i32 %179, 31
%181 = and i64 %178, 4294967295
%182 = zext i32 %180 to i64
%183 = mul i64 %182, 4294967296
%184 = or i64 %183, %181
%185 = zext i32 %9 to i64
%186 = sdiv i64 %184, %185
%187 = and i64 %186, 4294967295
store i64 %187, i64* %rax.0.reg2mem
br label LBL_63
LBL_42:
%188 = mul nsw i64 %3, 6
%189 = trunc i64 %188 to i32
%190 = ashr i32 %189, 31
%191 = and i64 %188, 4294967294
%192 = zext i32 %190 to i64
%193 = mul i64 %192, 4294967296
%194 = or i64 %193, %191
%195 = zext i32 %9 to i64
%196 = sdiv i64 %194, %195
%197 = and i64 %196, 4294967295
store i64 %197, i64* %rax.0.reg2mem
br label LBL_63
LBL_43:
%198 = mul i32 %9, 5
%199 = and i64 %3, 4294967295
%200 = mul i64 %arg2, 2
%201 = urem i64 %200, 4294967297
%202 = or i64 %199, %201
%203 = zext i32 %198 to i64
%204 = udiv i64 %202, %203
%205 = mul i64 %204, 2
%206 = and i64 %205, 4294967294
store i64 %206, i64* %rax.0.reg2mem
br label LBL_63
LBL_44:
%207 = icmp eq i32 %15, 0
%208 = icmp eq i32 %34, 35
%209 = icmp eq i1 %208, false
%or.cond19 = or i1 %209, %207
br i1 %or.cond19, label LBL_48, label LBL_45
LBL_45:
%210 = icmp eq i32 %15, 3
%211 = icmp eq i1 %210, false
br i1 %211, label LBL_47, label LBL_46
LBL_46:
%212 = and i64 %3, 4294967295
%213 = mul i64 %arg2, 2
%214 = urem i64 %213, 4294967297
%215 = or i64 %212, %214
%216 = zext i32 %9 to i64
%217 = udiv i64 %215, %216
%218 = and i64 %217, 4294967295
store i64 %218, i64* %rax.0.reg2mem
br label LBL_63
LBL_47:
%219 = ashr exact i64 %sext, 31
%220 = trunc i64 %219 to i32
%221 = ashr i32 %220, 31
%222 = and i64 %219, 4294967294
%223 = zext i32 %221 to i64
%224 = mul i64 %223, 4294967296
%225 = or i64 %224, %222
%226 = zext i32 %9 to i64
%227 = sdiv i64 %225, %226
%228 = and i64 %227, 4294967295
store i64 %228, i64* %rax.0.reg2mem
br label LBL_63
LBL_48:
br i1 %69, label LBL_56, label LBL_49
LBL_49:
%229 = and i64 %3, 4294967295
%230 = mul i64 %arg2, 2
%231 = urem i64 %230, 4294967297
%232 = or i64 %229, %231
%233 = zext i32 %12 to i64
%234 = udiv i64 %232, %233
%235 = icmp eq i32 %34, 39
br i1 %235, label LBL_55, label LBL_50
LBL_50:
%236 = icmp sgt i32 %34, 39
br i1 %236, label LBL_56, label LBL_51
LBL_51:
switch i32 %34, label LBL_56 [
i32 38, label LBL_54
i32 36, label LBL_52
i32 37, label LBL_53
]
LBL_52:
%237 = mul i32 %9, 4
%238 = sub i32 %12, %237
%239 = ashr i32 %238, 31
%240 = zext i32 %238 to i64
%241 = zext i32 %239 to i64
%242 = mul i64 %241, 4294967296
%243 = or i64 %242, %240
%244 = zext i32 %237 to i64
%245 = sdiv i64 %243, %244
%246 = mul i64 %245, 8
%247 = or i64 %246, 1
%248 = mul i64 %247, %234
%249 = and i64 %248, 4294967295
store i64 %249, i64* %rax.0.reg2mem
br label LBL_63
LBL_53:
%250 = mul i32 %12, 2
%251 = add i32 %250, -32
%252 = sdiv i32 %251, 3
%253 = mul i32 %252, 4
%254 = ashr i32 %253, 31
%255 = zext i32 %253 to i64
%256 = zext i32 %254 to i64
%257 = mul i64 %256, 4294967296
%258 = or i64 %257, %255
%259 = zext i32 %9 to i64
%260 = sdiv i64 %258, %259
%261 = mul i64 %260, %234
%262 = and i64 %261, 4294967295
store i64 %262, i64* %rax.0.reg2mem
br label LBL_63
LBL_54:
%263 = mul i32 %9, 4
%264 = sub i32 %12, %263
%265 = mul i32 %264, 2
%266 = ashr i32 %265, 31
%267 = zext i32 %265 to i64
%268 = zext i32 %266 to i64
%269 = mul i64 %268, 4294967296
%270 = or i64 %269, %267
%271 = zext i32 %9 to i64
%272 = sdiv i64 %270, %271
%273 = mul i64 %272, 4294967296
%sext7 = add i64 %273, 4294967296
%274 = udiv i64 %sext7, 4294967296
%275 = mul i64 %274, %234
%276 = and i64 %275, 4294967295
store i64 %276, i64* %rax.0.reg2mem
br label LBL_63
LBL_55:
%277 = mul i32 %9, -7
%278 = add i32 %12, %277
%279 = mul i32 %278, 2
%280 = ashr i32 %279, 31
%281 = zext i32 %279 to i64
%282 = zext i32 %280 to i64
%283 = mul i64 %282, 4294967296
%284 = or i64 %283, %281
%285 = zext i32 %9 to i64
%286 = sdiv i64 %284, %285
%287 = mul i64 %286, 4294967296
%sext8 = add i64 %287, 8589934592
%288 = udiv i64 %sext8, 4294967296
%289 = mul i64 %288, %234
%290 = and i64 %289, 4294967295
store i64 %290, i64* %rax.0.reg2mem
br label LBL_63
LBL_56:
store i64 0, i64* %rax.0.reg2mem
br i1 %88, label LBL_63, label LBL_57
LBL_57:
%291 = icmp eq i32 %34, 42
br i1 %291, label LBL_62, label LBL_58
LBL_58:
%292 = icmp sgt i32 %34, 42
store i64 0, i64* %rax.0.reg2mem
br i1 %292, label LBL_63, label LBL_59
LBL_59:
store i64 0, i64* %rax.0.reg2mem
switch i32 %34, label LBL_63 [
i32 40, label LBL_60
i32 41, label LBL_61
]
LBL_60:
%293 = udiv i32 %37, 4
%294 = mul i32 %293, %9
%295 = and i64 %3, 4294967295
%296 = mul i64 %arg2, 2
%297 = urem i64 %296, 4294967297
%298 = or i64 %295, %297
%299 = zext i32 %294 to i64
%300 = udiv i64 %298, %299
%301 = mul i64 %300, 2
%302 = and i64 %301, 4294967294
store i64 %302, i64* %rax.0.reg2mem
br label LBL_63
LBL_61:
%303 = add i32 %9, 1
%304 = and i32 %303, -2
%305 = mul i32 %37, %304
%306 = sdiv i32 %305, 128
%307 = and i64 %3, 4294967295
%308 = mul i64 %arg2, 2
%309 = urem i64 %308, 4294967297
%310 = or i64 %307, %309
%311 = zext i32 %306 to i64
%312 = udiv i64 %310, %311
%313 = and i64 %312, 4294967295
store i64 %313, i64* %rax.0.reg2mem
br label LBL_63
LBL_62:
%314 = sdiv i32 %37, 128
%315 = and i64 %3, 4294967295
%316 = mul i64 %arg2, 2
%317 = urem i64 %316, 4294967297
%318 = or i64 %315, %317
%319 = zext i32 %314 to i64
%320 = udiv i64 %318, %319
%321 = mul i64 %320, 2
%322 = trunc i64 %321 to i32
%323 = ashr i32 %322, 31
%324 = and i64 %321, 4294967294
%325 = zext i32 %323 to i64
%326 = mul i64 %325, 4294967296
%327 = or i64 %326, %324
%328 = zext i32 %9 to i64
%329 = sdiv i64 %327, %328
%330 = and i64 %329, 4294967295
store i64 %330, i64* %rax.0.reg2mem
br label LBL_63
LBL_63:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %321, { 1, 0 }
uselistorder i32 %279, { 1, 0 }
uselistorder i32 %265, { 1, 0 }
uselistorder i32 %253, { 1, 0 }
uselistorder i32 %237, { 1, 0 }
uselistorder i64 %234, { 0, 1, 3, 2 }
uselistorder i64 %219, { 1, 0 }
uselistorder i64 %126, { 1, 0 }
uselistorder i64 %115, { 1, 0 }
uselistorder i32 %105, { 1, 0 }
uselistorder i64 %91, { 1, 0 }
uselistorder i1 %88, { 1, 0 }
uselistorder i1 %77, { 1, 0 }
uselistorder i1 %69, { 1, 0 }
uselistorder i32 %60, { 1, 0 }
uselistorder i32 %37, { 0, 2, 1, 4, 3 }
uselistorder i32 %34, { 0, 1, 2, 3, 4, 5, 14, 10, 13, 7, 8, 12, 11, 9, 6 }
uselistorder i64 %23, { 1, 0 }
uselistorder i1 %22, { 2, 0, 1 }
uselistorder i1 %20, { 2, 0, 1 }
uselistorder i64 %16, { 1, 0 }
uselistorder i32 %15, { 1, 0 }
uselistorder i32 %12, { 3, 2, 0, 1, 4, 11, 10, 9, 8, 7, 6, 5 }
uselistorder i32 %9, { 25, 24, 6, 23, 22, 21, 0, 20, 1, 19, 18, 17, 16, 15, 14, 2, 13, 12, 4, 11, 10, 9, 8, 3, 7, 5, 26 }
uselistorder i32 %6, { 1, 2, 0, 3, 4 }
uselistorder i64 %3, { 11, 9, 10, 8, 7, 6, 5, 4, 3, 0, 1, 2 }
uselistorder i64 %sext, { 5, 3, 4, 2, 1, 0 }
uselistorder i64 %1, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 45, 43, 44, 5, 4, 3, 42, 41, 39, 40, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 2, 26, 25, 24, 1, 9, 8, 7, 6, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 10, 11 }
uselistorder i32 42, { 1, 0 }
uselistorder i32 39, { 1, 0 }
uselistorder i64 4294967294, { 0, 1, 2, 6, 5, 4, 3 }
uselistorder i64 31, { 0, 2, 1 }
uselistorder i32 29, { 0, 2, 1 }
uselistorder i32 37, { 0, 2, 1 }
uselistorder i32 20, { 1, 0 }
uselistorder i32 32, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i32 19, { 1, 0 }
uselistorder i1 false, { 4, 0, 1, 5, 6, 2, 3, 7 }
uselistorder i64 160, { 1, 0 }
uselistorder i64 128, { 1, 0 }
uselistorder i32 6, { 1, 0 }
uselistorder i32 4, { 4, 0, 1, 2, 3, 5 }
uselistorder i32 31, { 10, 11, 12, 13, 14, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 16, 17, 18, 19 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 32, { 1, 2, 0, 3 }
uselistorder i64 4294967296, { 0, 21, 1, 2, 22, 24, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 23, 19, 20 }
uselistorder label LBL_63, { 30, 31, 32, 5, 4, 3, 33, 34, 35, 36, 37, 38, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 39, 40, 41, 1, 0, 8, 7, 6, 42, 43, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 9, 44 }
uselistorder label LBL_26, { 1, 0 }
}
|
1
|
CompRealVul
|
oggvorbis_init_encoder_3682
|
oggvorbis_init_encoder
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = trunc i64 %1 to i32
%11 = zext i32 %6 to i64
%12 = call i64 @FUNC(i64 %3, i32 %10, i32 %9, i64 4294967295, i64 %11, i64 4294967295)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_1
LBL_1:
%16 = call i64 @FUNC(i64 %3, i64 0, i64 0)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_3, label LBL_2
LBL_2:
%20 = call i64 @FUNC(i64 %3)
%21 = trunc i64 %20 to i32
%22 = icmp ne i32 %21, 0
%spec.select = zext i1 %22 to i64
ret i64 %spec.select
LBL_3:
ret i64 1
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
qdev_property_add_legacy_4843
|
qdev_property_add_legacy
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg3 to i64
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4, i64 %3, i64 %2, i64 %1)
%8 = add i64 %5, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
%. = select i1 %11, i64 0, i64 4198852
%12 = add i64 %5, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = icmp eq i64 %14, 0
%storemerge = select i1 %15, i64 0, i64 4198845
%16 = call i64 @FUNC(i64 %6, i64 %14, i64 %7, i64 %storemerge, i64 %., i64 0)
%17 = call i64 @FUNC(i64 %7)
ret i64 %17
uselistorder i64 %7, { 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
qvirtio_pci_config_readq_2339
|
qvirtio_pci_config_readq
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i64 %0, i64 %4, i64 %arg2)
%6 = call i64 @FUNC(i64 %0)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
store i64 %5, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %5)
store i64 %9, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %5, { 1, 0 }
}
|
0
|
CompRealVul
|
free_pack_by_name_4652
|
free_pack_by_name
|
define i64 @FUNC(i8* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64*
%.lcssa13.reg2mem = alloca i64*
%.lcssa15.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 %0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_9
LBL_1:
%3 = inttoptr i64 %0 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i8*
%6 = call i32 @strcmp(i8* %arg1, i8* %5)
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 %0, i64* %.lcssa15.reg2mem
store i64* @gv_0, i64** %.lcssa13.reg2mem
store i64* %3, i64** %.lcssa.reg2mem
store i64 %0, i64* %.reg2mem
br i1 %8, label LBL_8, label LBL_3
LBL_2:
%9 = inttoptr i64 %37 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i8*
%12 = call i32 @strcmp(i8* %arg1, i8* %11)
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 %37, i64* %.lcssa15.reg2mem
store i64* %36, i64** %.lcssa13.reg2mem
store i64* %9, i64** %.lcssa.reg2mem
store i64 %37, i64* %.reg2mem
br i1 %14, label LBL_8, label LBL_3
LBL_3:
%.lcssa.reload = load i64*, i64** %.lcssa.reg2mem
%.lcssa13.reload = load i64*, i64** %.lcssa13.reg2mem
%.lcssa15.reload = load i64, i64* %.lcssa15.reg2mem
%15 = call i64 @FUNC()
%16 = call i64 @FUNC(i64 %.lcssa15.reload)
%17 = add i64 %.lcssa15.reload, 8
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = call i32 @close(i32 %19)
%22 = load i32, i32* @gv_1, align 4
%23 = add i32 %22, -1
store i32 %23, i32* @gv_1, align 4
br label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %.lcssa15.reload)
%25 = add i64 %.lcssa15.reload, 24
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = inttoptr i64 %27 to i64*
call void @free(i64* %28)
%29 = add i64 %.lcssa15.reload, 16
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
store i64 %31, i64* %.lcssa13.reload, align 8
%32 = load i64, i64* @gv_2, align 8
%33 = icmp eq i64 %.lcssa15.reload, %32
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_7, label LBL_6
LBL_6:
store i64 0, i64* @gv_2, align 8
br label LBL_7
LBL_7:
call void @free(i64* %.lcssa.reload)
store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%.reload = load i64, i64* %.reg2mem
%35 = add i64 %.reload, 16
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = icmp eq i64 %37, 0
%39 = icmp eq i1 %38, false
store i64 %37, i64* %rax.0.reg2mem
br i1 %39, label LBL_2, label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %37, { 0, 4, 3, 2, 1 }
uselistorder i64* %36, { 1, 0 }
uselistorder i64 %.lcssa15.reload, { 5, 4, 2, 3, 0, 1 }
uselistorder i64 %0, { 1, 2, 3, 0, 4 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder void (i64*)* @free, { 1, 0 }
uselistorder i32* @gv_1, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
uselistorder i1 false, { 4, 2, 3, 0, 1 }
uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i8* %arg1, { 1, 0 }
uselistorder label LBL_9, { 0, 2, 1 }
uselistorder label LBL_8, { 1, 0 }
}
|
0
|
CompRealVul
|
ucma_alloc_multicast_11204
|
ucma_alloc_multicast
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 32, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = inttoptr i64 %0 to i32*
%4 = call i64 @FUNC(i64* nonnull @gv_0)
%5 = call i64 @FUNC(i64* nonnull @gv_1, i64 %0, i64 0, i64 0, i64 0)
%6 = trunc i64 %5 to i32
store i32 %6, i32* %3, align 4
%7 = call i64 @FUNC(i64* nonnull @gv_0)
%8 = load i32, i32* %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = ptrtoint i64* %arg1 to i64
%11 = add i64 %0, 24
%12 = inttoptr i64 %11 to i64*
store i64 %10, i64* %12, align 8
%13 = add i64 %0, 8
%14 = call i64 @FUNC(i64 %13, i64 %10)
store i64 %0, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%15 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %3, { 1, 0 }
uselistorder i64 %0, { 3, 0, 1, 2, 4, 5, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
helper_single_step_5105
|
helper_single_step
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = add i64 %0, 48
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = or i64 %4, 1
store i64 %5, i64* %3, align 8
%6 = call i64 @FUNC(i64 %0, i64 1)
ret i64 %6
}
|
0
|
CompRealVul
|
helper_pmon_18226
|
helper_pmon
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp slt i32 %0, 0
%2 = zext i1 %1 to i32
%3 = add i32 %2, %0
%4 = ashr i32 %3, 1
%5 = zext i32 %4 to i64
%6 = icmp sgt i32 %3, 35
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = icmp slt i32 %3, 4
store i64 %5, i64* %rax.0.reg2mem
br i1 %7, label LBL_9, label LBL_2
LBL_2:
store i64 %5, i64* @0, align 8
%8 = mul i64 %5, 8
%9 = add i64 %8, ptrtoint (i64* @gv_0 to i64)
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
store i64 %11, i64* %rax.0.reg2mem
switch i32 %4, label LBL_9 [
i32 2, label LBL_4
i32 3, label LBL_7
i32 11, label LBL_6
i32 12, label LBL_7
]
LBL_3:
%12 = icmp eq i32 %4, 158
store i64 %5, i64* %rax.0.reg2mem
br i1 %12, label LBL_8, label LBL_9
LBL_4:
%13 = load i64, i64* @gv_1, align 8
%14 = add i64 %13, 16
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = add i64 %13, 8
%20 = inttoptr i64 %19 to i32*
store i32 -1, i32* %20, align 4
br label LBL_6
LBL_6:
%21 = load i64, i64* @gv_1, align 8
%22 = add i64 %21, 8
%23 = inttoptr i64 %22 to i32*
store i32 -1, i32* %23, align 4
store i64 %21, i64* %rax.0.reg2mem
br label LBL_9
LBL_7:
%24 = load i64, i64* @gv_1, align 8
%25 = add i64 %24, 16
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%sext = mul i32 %27, 16777216
%28 = ashr exact i32 %sext, 24
%29 = call i32 @putchar(i32 %28)
%30 = sext i32 %29 to i64
store i64 %30, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%31 = load i64, i64* @gv_1, align 8
%32 = add i64 %31, 16
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = sext i32 %34 to i64
%36 = inttoptr i64 %35 to i8*
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* %36)
%38 = sext i32 %37 to i64
store i64 %38, 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 %5, { 1, 2, 3, 0 }
uselistorder i32 %4, { 1, 0, 2 }
uselistorder i32 %0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 3, 4 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_9, { 3, 1, 2, 0, 4, 5 }
}
|
1
|
CompRealVul
|
leak_malloc_5716
|
leak_malloc
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = icmp ugt i64 %arg1, -17
%1 = icmp eq i1 %0, false
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_3
LBL_1:
%2 = add i64 %arg1, 16
%3 = call i64 @FUNC(i64 %2)
%4 = icmp eq i64 %3, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %4, label LBL_3, label LBL_2
LBL_2:
%5 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0)
%6 = call i64 @FUNC(i64* nonnull %sv_0, i64 10)
%7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6, i64 %arg1)
%8 = inttoptr i64 %3 to i64*
store i64 %7, i64* %8, align 8
%9 = add i64 %3, 8
%10 = inttoptr i64 %9 to i32*
store i32 -559038737, i32* %10, align 4
%11 = add i64 %3, 16
%12 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0)
store i64 %11, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 0, 2, 1, 3 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 0, 2, 1 }
uselistorder label LBL_3, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
do_inject_mce_14594
|
do_inject_mce
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32*
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))
%2 = trunc i64 %1 to i32
%3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))
%4 = trunc i64 %3 to i32
%5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
%sext = mul i64 %5, 4294967296
%6 = ashr exact i64 %sext, 32
%7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))
%sext2 = mul i64 %7, 4294967296
%8 = ashr exact i64 %sext2, 32
%9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%sext3 = mul i64 %9, 4294967296
%10 = ashr exact i64 %sext3, 32
%11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0))
%sext4 = mul i64 %11, 4294967296
%12 = ashr exact i64 %sext4, 32
%13 = load i32*, i32** @gv_6, align 8
%14 = ptrtoint i32* %13 to i64
%15 = icmp eq i32* %13, null
%16 = icmp eq i1 %15, false
store i32* %13, i32** %storemerge6.reg2mem
store i64 %14, i64* %rax.1.reg2mem
br i1 %16, label LBL_1, label LBL_5
LBL_1:
%storemerge6.reload = load i32*, i32** %storemerge6.reg2mem
%17 = load i32, i32* %storemerge6.reload, align 4
%18 = icmp eq i32 %17, %2
%19 = icmp eq i1 %18, false
%.pre = ptrtoint i32* %storemerge6.reload to i64
br i1 %19, label LBL_4, label LBL_2
LBL_2:
%20 = add i64 %.pre, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label LBL_4, label LBL_3
LBL_3:
%24 = call i64 @FUNC(i64 %.pre, i32 %4, i64 %6, i64 %8, i64 %10, i64 %12)
store i64 %24, i64* %rax.1.reg2mem
br label LBL_5
LBL_4:
%25 = add i64 %.pre, 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = inttoptr i64 %27 to i32*
%29 = icmp eq i64 %27, 0
%30 = icmp eq i1 %29, false
store i32* %28, i32** %storemerge6.reg2mem
store i64 %27, i64* %rax.1.reg2mem
br i1 %30, label LBL_1, label LBL_5
LBL_5:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %.pre, { 1, 0, 2 }
uselistorder i32* %storemerge6.reload, { 1, 0 }
uselistorder i64 %0, { 3, 2, 1, 0, 4, 5 }
uselistorder i32** %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.1.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i64 (i64, i8*)* @qdict_get_int, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_5, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
sas_smp_get_phy_events_11349
|
sas_smp_get_phy_events
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.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 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %4)
%6 = call i64 @FUNC(i64 32)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_6
LBL_1:
%9 = call i64 @FUNC(i64 32)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %6)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%13 = add i64 %6, 1
%14 = inttoptr i64 %13 to i8*
store i8 1, i8* %14, align 1
%15 = bitcast i64* %rdi to i32*
%16 = load i32, i32* %15, align 8
%17 = add i64 %6, 9
%18 = trunc i32 %16 to i8
%19 = inttoptr i64 %17 to i8*
store i8 %18, i8* %19, align 1
%20 = call i64 @FUNC(i64 %5, i64 %6, i64 32, i64 %9, i64 32)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label LBL_5, label LBL_4
LBL_4:
%23 = add i64 %9, 12
%24 = call i64 @FUNC(i64 %23)
%25 = trunc i64 %24 to i32
%26 = add i64 %0, 16
%27 = inttoptr i64 %26 to i32*
store i32 %25, i32* %27, align 4
%28 = add i64 %9, 16
%29 = call i64 @FUNC(i64 %28)
%30 = trunc i64 %29 to i32
%31 = add i64 %0, 20
%32 = inttoptr i64 %31 to i32*
store i32 %30, i32* %32, align 4
%33 = add i64 %9, 20
%34 = call i64 @FUNC(i64 %33)
%35 = trunc i64 %34 to i32
%36 = add i64 %0, 24
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
%38 = add i64 %9, 24
%39 = call i64 @FUNC(i64 %38)
%40 = trunc i64 %39 to i32
%41 = add i64 %0, 28
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
br label LBL_5
LBL_5:
%43 = call i64 @FUNC(i64 %9)
%44 = and i64 %20, 4294967295
store i64 %44, 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 %9, { 4, 0, 1, 2, 3, 5, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @scsi_to_u32, { 3, 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder i64 32, { 1, 0, 2, 3 }
uselistorder label LBL_6, { 1, 2, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
icmpv6_notify_13094
|
icmpv6_notify
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%sv_2 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0, i64 33)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 %1, i64* %rax.0.reg2mem
br i1 %3, label LBL_9, label LBL_1
LBL_1:
%4 = add i64 %0, 12
%5 = inttoptr i64 %4 to i8*
%6 = load i8, i8* %5, align 1
%7 = sext i8 %6 to i32
store i32 %7, i32* %sv_1, align 4
%8 = zext i8 %6 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
store i32 33, i32* %sv_0.0.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i32 %14, -33
%16 = zext i32 %15 to i64
%17 = bitcast i32* %sv_1 to i8*
%18 = call i64 @FUNC(i64 %0, i64 33, i8* nonnull %17, i64 %16)
%19 = trunc i64 %18 to i32
%20 = icmp slt i32 %19, 0
%21 = icmp eq i1 %20, false
store i32 %19, i32* %sv_0.0.reg2mem
store i64 %18, i64* %rax.0.reg2mem
br i1 %21, label LBL_3, label LBL_9
LBL_3:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%22 = add i32 %sv_0.0.reload, 8
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %0, i64 %23)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
store i64 %24, i64* %rax.0.reg2mem
br i1 %26, label LBL_9, label LBL_4
LBL_4:
%27 = load i32, i32* %sv_1, align 4
%28 = call i64 @FUNC()
%29 = mul i32 %27, 8
%30 = and i32 %29, 2040
%31 = zext i32 %30 to i64
%32 = add i64 %31, ptrtoint (i64* @gv_0 to i64)
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = call i64 @FUNC(i64 %34)
%36 = call i64 @FUNC()
%37 = call i64 @FUNC(i64* nonnull @gv_1)
%38 = add i64 %31, ptrtoint (i64* @gv_2 to i64)
%39 = call i64 @FUNC(i64 %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label LBL_8, label LBL_5
LBL_5:
%41 = add i64 %0, 1
%42 = add i64 %0, 17
%43 = load i32, i32* %sv_1, align 4
%44 = urem i32 %43, 256
%45 = zext i32 %44 to i64
%46 = call i64 @FUNC(i64 %39, i64 %45, i64 %42, i64 %41)
%47 = icmp eq i64 %46, 0
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_6, label LBL_8
LBL_6:
%49 = ptrtoint i64* %sv_2 to i64
%50 = and i64 %arg2, 4294967295
%51 = and i64 %arg3, 4294967295
%52 = and i64 %arg4, 4294967295
%53 = add i64 %49, -16
%54 = inttoptr i64 %53 to i64*
%55 = zext i32 %sv_0.0.reload to i64
store i64 %46, i64* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i64, i64* %.reg2mem
store i64 %52, i64* %54, align 8
%56 = call i64 @FUNC(i64 %.reload, i64 %0, i64 0, i64 %50, i64 %51, i64 %55)
%57 = call i64 @FUNC(i64 %.reload)
%58 = load i32, i32* %sv_1, align 4
%59 = urem i32 %58, 256
%60 = zext i32 %59 to i64
%61 = call i64 @FUNC(i64 %57, i64 %60, i64 %42, i64 %41)
%62 = icmp eq i64 %61, 0
%63 = icmp eq i1 %62, false
store i64 %61, i64* %.reg2mem
br i1 %63, label LBL_7, label LBL_8
LBL_8:
%64 = call i64 @FUNC(i64* nonnull @gv_1)
store i64 %64, 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 %42, { 1, 0 }
uselistorder i64 %41, { 1, 0 }
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i32* %sv_1, { 3, 0, 2, 4, 1 }
uselistorder i64 %0, { 2, 4, 3, 5, 1, 0, 6, 7 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }
uselistorder i64 4294967295, { 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64)* @__raw_v6_lookup, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i64 (i64, i64)* @pskb_may_pull, { 1, 0 }
uselistorder label LBL_9, { 3, 0, 2, 1 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
process_lru_command_7815
|
process_lru_command
|
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%rax.0.reg2mem = alloca i64
%1 = load i128, i128* %0
%2 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i32, align 4
%sv_4 = alloca i32, align 4
%3 = call i64 @FUNC(i64 %arg1, i64 %2, i64 %arg3)
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = inttoptr i64 %6 to i8*
%8 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
%11 = icmp ult i64 %arg3, 7
%or.cond = or i1 %11, %10
br i1 %or.cond, label LBL_11, label LBL_1
LBL_1:
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = bitcast i32* %sv_4 to i64*
%16 = call i64 @FUNC(i64 %14, i64* nonnull %15)
%17 = trunc i64 %16 to i8
%18 = icmp eq i8 %17, 1
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_5, label LBL_2
LBL_2:
%20 = add i64 %2, 24
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = bitcast i32* %sv_3 to i64*
%24 = call i64 @FUNC(i64 %22, i64* nonnull %23)
%25 = trunc i64 %24 to i8
%26 = icmp eq i8 %25, 1
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_5, label LBL_3
LBL_3:
%28 = add i64 %2, 32
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = call i64 @FUNC(i64 %30, i64* nonnull %sv_2)
%32 = trunc i64 %31 to i8
%33 = icmp eq i8 %32, 1
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_5, label LBL_4
LBL_4:
%35 = add i64 %2, 40
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = call i64 @FUNC(i64 %37, i64* nonnull %sv_1)
%39 = trunc i64 %38 to i8
%40 = icmp eq i8 %39, 1
br i1 %40, label LBL_6, label LBL_5
LBL_5:
%41 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
store i64 %41, i64* %rax.0.reg2mem
br label LBL_25
LBL_6:
%42 = load i32, i32* %sv_4, align 4
%43 = load i32, i32* %sv_3, align 4
%44 = add i32 %43, %42
%45 = icmp ult i32 %44, 81
br i1 %45, label LBL_8, label LBL_7
LBL_7:
%46 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0))
store i64 %46, i64* %rax.0.reg2mem
br label LBL_25
LBL_8:
%47 = icmp ne i32 %44, 80
%48 = load i64, i64* %sv_1, align 8
%49 = call i128 @FUNC(i64 %48)
%50 = call i128 @FUNC(i128 %1, i128 %1)
call void @FUNC(i128 %50, i128 %49)
%51 = icmp eq i1 %47, false
br i1 %51, label LBL_9, label LBL_10
LBL_9:
%52 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0))
store i64 %52, i64* %rax.0.reg2mem
br label LBL_25
LBL_10:
%53 = load i64, i64* %sv_2, align 8
%54 = call i128 @FUNC(i64 %53)
%55 = call i128 @FUNC(i128 %50, i128 %50)
call void @FUNC(i128 %55, i128 %54)
%56 = load i32, i32* %sv_4, align 4
store i32 %56, i32* bitcast (i64* @gv_4 to i32*), align 8
%57 = load i32, i32* %sv_3, align 4
store i32 %57, i32* bitcast (i64* @gv_5 to i32*), align 8
%58 = load i64, i64* %sv_2, align 8
%59 = call i128 @FUNC(i64 %58)
%60 = call i64 @__asm_movsd.1(i128 %59)
store i64 %60, i64* @gv_6, align 8
%61 = load i64, i64* %sv_1, align 8
%62 = call i128 @FUNC(i64 %61)
%63 = call i64 @__asm_movsd.1(i128 %62)
store i64 %63, i64* @gv_7, align 8
%64 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0))
store i64 %64, i64* %rax.0.reg2mem
br label LBL_25
LBL_11:
%65 = load i64, i64* %5, align 8
%66 = inttoptr i64 %65 to i8*
%67 = call i32 @strcmp(i8* %66, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0))
%68 = icmp eq i32 %67, 0
%69 = icmp eq i1 %68, false
%70 = icmp ult i64 %arg3, 3
%or.cond6 = or i1 %70, %69
%71 = load i8, i8* @gv_10, align 1
%72 = icmp eq i8 %71, 0
%or.cond8 = or i1 %72, %or.cond6
br i1 %or.cond8, label LBL_17, label LBL_12
LBL_12:
%73 = add i64 %2, 16
%74 = inttoptr i64 %73 to i64*
%75 = load i64, i64* %74, align 8
%76 = inttoptr i64 %75 to i8*
%77 = call i32 @strcmp(i8* %76, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0))
%78 = icmp eq i32 %77, 0
%79 = icmp eq i1 %78, false
br i1 %79, label LBL_14, label LBL_13
LBL_13:
store i8 0, i8* bitcast (i64* @gv_12 to i8*), align 8
%80 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0))
store i64 %80, i64* %rax.0.reg2mem
br label LBL_25
LBL_14:
%81 = load i64, i64* %74, align 8
%82 = inttoptr i64 %81 to i8*
%83 = call i32 @strcmp(i8* %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_13, i64 0, i64 0))
%84 = icmp eq i32 %83, 0
%85 = icmp eq i1 %84, false
br i1 %85, label LBL_16, label LBL_15
LBL_15:
store i8 1, i8* bitcast (i64* @gv_12 to i8*), align 8
%86 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0))
store i64 %86, i64* %rax.0.reg2mem
br label LBL_25
LBL_16:
%87 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
store i64 %87, i64* %rax.0.reg2mem
br label LBL_25
LBL_17:
%88 = load i64, i64* %5, align 8
%89 = inttoptr i64 %88 to i8*
%90 = call i32 @strcmp(i8* %89, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_14, i64 0, i64 0))
%91 = icmp eq i32 %90, 0
%92 = icmp eq i1 %91, false
%or.cond10 = or i1 %70, %92
%93 = load i8, i8* @gv_10, align 1
%94 = icmp eq i8 %93, 0
%or.cond12 = or i1 %94, %or.cond10
br i1 %or.cond12, label LBL_24, label LBL_18
LBL_18:
%95 = add i64 %2, 16
%96 = inttoptr i64 %95 to i64*
%97 = load i64, i64* %96, align 8
%98 = bitcast i32* %sv_0 to i64*
%99 = call i64 @FUNC(i64 %97, i64* nonnull %98)
%100 = trunc i64 %99 to i8
%101 = icmp eq i8 %100, 1
br i1 %101, label LBL_20, label LBL_19
LBL_19:
%102 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
store i64 %102, i64* %rax.0.reg2mem
br label LBL_25
LBL_20:
%103 = load i32, i32* %sv_0, align 4
%104 = icmp slt i32 %103, 0
%105 = icmp eq i1 %104, false
br i1 %105, label LBL_22, label LBL_21
LBL_21:
store i8 0, i8* bitcast (i64* @gv_15 to i8*), align 8
br label LBL_23
LBL_22:
store i8 1, i8* bitcast (i64* @gv_15 to i8*), align 8
store i32 %103, i32* bitcast (i64* @gv_16 to i32*), align 8
br label LBL_23
LBL_23:
%106 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0))
store i64 %106, i64* %rax.0.reg2mem
br label LBL_25
LBL_24:
%107 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
store i64 %107, i64* %rax.0.reg2mem
br label LBL_25
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i128 %50, { 1, 0, 2 }
uselistorder i32* %sv_4, { 1, 0, 2 }
uselistorder i32* %sv_3, { 1, 0, 2 }
uselistorder i64* %sv_2, { 1, 2, 0 }
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i64 %2, { 3, 4, 0, 1, 2, 5, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 4, 2, 3, 1 }
uselistorder i64 (i64, i8*)* @out_string, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64*)* @safe_strtod, { 1, 0 }
uselistorder i64 (i64, i64*)* @safe_strtoul, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }
uselistorder i32 (i8*, i8*)* @strcmp, { 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 9, 8, 7, 6, 5, 4, 1, 2, 0, 3, 10 }
uselistorder label LBL_25, { 2, 3, 4, 5, 6, 7, 8, 1, 9, 0 }
}
|
1
|
CompRealVul
|
block_save_iterate_16723
|
block_save_iterate
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = load i32, i32* @gv_0, align 4
%7 = load i32, i32* @gv_1, align 4
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64 %8, i32 %6, i64 %3, i64 %2, i64 %1)
%10 = call i64 @FUNC(i64 %4)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 %10, i64* %rax.0.in.reg2mem
br i1 %12, label LBL_1, label LBL_10
LBL_1:
%13 = call i64 @FUNC()
%14 = call i64 @FUNC()
br label LBL_7
LBL_2:
%15 = call i64 @FUNC()
%16 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_5, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %4)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
store i32 0, i32* %sv_0.02.reg2mem
br i1 %22, label LBL_6, label LBL_4
LBL_4:
store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8
store i32 0, i32* %sv_0.02.reg2mem
br label LBL_6
LBL_5:
%23 = call i64 @FUNC()
%24 = call i64 @FUNC(i64 %4, i64 1)
%25 = trunc i64 %24 to i32
%26 = call i64 @FUNC()
%27 = icmp slt i32 %25, 0
%28 = icmp eq i1 %27, false
store i32 %25, i32* %sv_0.02.reg2mem
store i64 %24, i64* %rax.0.in.reg2mem
br i1 %28, label LBL_6, label LBL_10
LBL_6:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%29 = call i64 @FUNC()
%30 = icmp eq i32 %sv_0.02.reload, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_8, label LBL_7
LBL_7:
%32 = load i32, i32* @gv_1, align 4
%33 = load i32, i32* @gv_4, align 4
%34 = add i32 %33, %32
%35 = mul i32 %34, 512
%36 = zext i32 %35 to i64
%37 = call i64 @FUNC(i64 %4)
%38 = icmp sgt i64 %37, %36
br i1 %38, label LBL_2, label LBL_8
LBL_8:
%39 = call i64 @FUNC()
%40 = call i64 @FUNC(i64 %4)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
store i64 %40, i64* %rax.0.in.reg2mem
br i1 %42, label LBL_9, label LBL_10
LBL_9:
%43 = call i64 @FUNC(i64 %4, i64 1)
%44 = call i64 @FUNC(i64 %4)
%45 = sub i64 %44, %5
store i64 %45, i64* %rax.0.in.reg2mem
br label LBL_10
LBL_10:
%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 %4, { 2, 1, 3, 5, 4, 0, 6, 7 }
uselistorder i32* %sv_0.02.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.in.reg2mem, { 0, 4, 2, 1, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 ()* @blk_mig_unlock, { 1, 0 }
uselistorder i64 ()* @blk_mig_lock, { 1, 0 }
uselistorder i64 (i64)* @flush_blks, { 1, 0 }
uselistorder i32* @gv_1, { 1, 0 }
uselistorder i32 0, { 5, 6, 7, 1, 0, 8, 9, 10, 2, 3, 4 }
uselistorder i64 (i64)* @qemu_ftell, { 1, 0 }
uselistorder label LBL_10, { 3, 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
visit_type_number_14042
|
visit_type_number
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg4 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
%5 = ptrtoint i64* %arg1 to i64
%spec.select = select i1 %4, i64 %1, i64 %5
ret i64 %spec.select
uselistorder i32 0, { 1, 0 }
}
|
1
|
CompRealVul
|
virtio_panic_17197
|
virtio_panic
|
define i64 @FUNC(i8* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i8* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC()
br label LBL_1
LBL_1:
br label LBL_1
}
|
1
|
CompRealVul
|
avsubtitle_free_8157
|
avsubtitle_free
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = add i64 %2, 8
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%6 = inttoptr i64 %5 to i64*
%7 = and i64 %1, 4294967295
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%8 = load i64, i64* %6, align 8
%9 = mul i64 %.reload, 8
%10 = add i64 %8, %9
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = load i64, i64* %6, align 8
%17 = add i64 %16, %9
%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 = add i64 %21, 8
%23 = call i64 @FUNC(i64 %22)
%24 = load i64, i64* %6, align 8
%25 = add i64 %24, %9
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = add i64 %29, 16
%31 = call i64 @FUNC(i64 %30)
%32 = load i64, i64* %6, align 8
%33 = add i64 %32, %9
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = add i64 %37, 24
%39 = call i64 @FUNC(i64 %38)
%40 = load i64, i64* %6, align 8
%41 = add i64 %40, %9
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = add i64 %43, 8
%45 = call i64 @FUNC(i64 %44)
%46 = load i64, i64* %6, align 8
%47 = add i64 %46, %9
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = add i64 %49, 16
%51 = call i64 @FUNC(i64 %50)
%52 = load i64, i64* %6, align 8
%53 = add i64 %52, %9
%54 = call i64 @FUNC(i64 %53)
%55 = add i32 %storemerge1.reload, 1
%56 = sext i32 %55 to i64
%57 = icmp sgt i64 %7, %56
store i64 %56, i64* %.reg2mem
store i32 %55, i32* %storemerge1.reg2mem
br i1 %57, label LBL_2, label LBL_3
LBL_3:
%58 = call i64 @FUNC(i64 %5)
%59 = call i64* @memset(i64* %arg1, i32 0, i32 16)
%60 = ptrtoint i64* %59 to i64
ret i64 %60
uselistorder i64 %9, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64)* @av_freep, { 0, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 8, { 1, 2, 0, 3 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
virtio_console_init_pci_15092
|
virtio_console_init_pci
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0, i64 %1, i64 6900, i64 4099, i64 0, i64 0)
ret i64 %2
}
|
1
|
CompRealVul
|
BIO_debug_callback_7634
|
BIO_debug_callback
|
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sext = mul i64 %arg2, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = ptrtoint i32* %arg1 to i64
%4 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %arg5, i64 %arg6)
%sext5 = mul i64 %4, 4294967296
%5 = ashr exact i64 %sext5, 32
%6 = ptrtoint i64* %sv_0 to i64
%7 = add i64 %5, %6
%8 = sub nsw i64 256, %5
%9 = trunc i64 %2 to i32
%10 = icmp sgt i32 %9, 6
br i1 %10, label LBL_4, label LBL_1
LBL_1:
%11 = icmp eq i32 %9, 0
%12 = icmp slt i32 %9, 0
%13 = icmp eq i1 %12, false
%14 = icmp eq i1 %11, false
%15 = icmp eq i1 %13, %14
br i1 %15, label LBL_3, label LBL_20
LBL_2:
%16 = add nsw i64 %2, 4294934526
%17 = and i64 %16, 4294967295
store i64 %17, i64* @1, align 8
%trunc13 = trunc i64 %16 to i32
switch i32 %trunc13, label LBL_20 [
i32 0, label LBL_15
i32 1, label LBL_16
i32 2, label LBL_18
i32 3, label LBL_17
i32 4, label LBL_19
]
LBL_3:
%sext4 = mul i64 %arg4, 4294967296
%18 = and i64 %2, 4294967295
store i64 %18, i64* @0, align 8
switch i32 %9, label LBL_20 [
i32 1, label LBL_5
i32 2, label LBL_6
i32 3, label LBL_9
i32 4, label LBL_12
i32 5, label LBL_13
i32 6, label LBL_14
]
LBL_4:
%.off = add i32 %9, -32770
%19 = icmp ult i32 %.off, 5
br i1 %19, label LBL_2, label LBL_20
LBL_5:
%20 = add i64 %3, 8
%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 = inttoptr i64 %7 to i64*
%26 = call i64 @FUNC(i64* %25, i64 %8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_6:
%27 = add i64 %3, 8
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = add i64 %29, 8
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = urem i32 %32, 2
%34 = icmp eq i32 %33, 0
%35 = inttoptr i64 %29 to i64*
%36 = load i64, i64* %35, align 8
%37 = ashr exact i64 %sext4, 32
%38 = and i64 %1, 4294967295
%39 = inttoptr i64 %7 to i64*
br i1 %34, label LBL_8, label LBL_7
LBL_7:
%40 = call i64 @FUNC(i64* %39, i64 %8, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %38, i64 %37, i64 %36)
br label LBL_21
LBL_8:
%41 = call i64 @FUNC(i64* %39, i64 %8, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %38, i64 %37, i64 %36)
br label LBL_21
LBL_9:
%42 = add i64 %3, 8
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = add i64 %44, 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = urem i32 %47, 2
%49 = icmp eq i32 %48, 0
%50 = inttoptr i64 %44 to i64*
%51 = load i64, i64* %50, align 8
%52 = ashr exact i64 %sext4, 32
%53 = and i64 %1, 4294967295
%54 = inttoptr i64 %7 to i64*
br i1 %49, label LBL_11, label LBL_10
LBL_10:
%55 = call i64 @FUNC(i64* %54, i64 %8, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %53, i64 %52, i64 %51)
br label LBL_21
LBL_11:
%56 = call i64 @FUNC(i64* %54, i64 %8, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i64 %53, i64 %52, i64 %51)
br label LBL_21
LBL_12:
%57 = add i64 %3, 8
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = inttoptr i64 %7 to i64*
%63 = call i64 @FUNC(i64* %62, i64 %8, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i64 %61, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_13:
%64 = add i64 %3, 8
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = inttoptr i64 %66 to i64*
%68 = load i64, i64* %67, align 8
%69 = ashr exact i64 %sext4, 32
%70 = inttoptr i64 %7 to i64*
%71 = call i64 @FUNC(i64* %70, i64 %8, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %69, i64 %68, i64 %arg6)
br label LBL_21
LBL_14:
%72 = add i64 %3, 8
%73 = inttoptr i64 %72 to i64*
%74 = load i64, i64* %73, align 8
%75 = inttoptr i64 %74 to i64*
%76 = load i64, i64* %75, align 8
%77 = ashr exact i64 %sext4, 32
%78 = inttoptr i64 %7 to i64*
%79 = call i64 @FUNC(i64* %78, i64 %8, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 %77, i64 %76, i64 %arg6)
br label LBL_21
LBL_15:
%80 = inttoptr i64 %7 to i64*
%81 = call i64 @FUNC(i64* %80, i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_9, i64 0, i64 0), i64 %arg6, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_16:
%82 = inttoptr i64 %7 to i64*
%83 = call i64 @FUNC(i64* %82, i64 %8, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i64 %arg6, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_17:
%84 = inttoptr i64 %7 to i64*
%85 = call i64 @FUNC(i64* %84, i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_11, i64 0, i64 0), i64 %arg6, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_18:
%86 = inttoptr i64 %7 to i64*
%87 = call i64 @FUNC(i64* %86, i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_12, i64 0, i64 0), i64 %arg6, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_19:
%88 = inttoptr i64 %7 to i64*
%89 = call i64 @FUNC(i64* %88, i64 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_13, i64 0, i64 0), i64 %arg6, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_20:
%90 = and i64 %2, 4294967295
%91 = inttoptr i64 %7 to i64*
%92 = call i64 @FUNC(i64* %91, i64 %8, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_14, i64 0, i64 0), i64 %90, i64 %arg5, i64 %arg6)
br label LBL_21
LBL_21:
%93 = add i64 %3, 16
%94 = inttoptr i64 %93 to i64*
%95 = load i64, i64* %94, align 8
%96 = icmp eq i64 %95, 0
br i1 %96, label LBL_23, label LBL_22
LBL_22:
%97 = bitcast i64* %sv_0 to i8*
%98 = call i32 @strlen(i8* nonnull %97)
%99 = sext i32 %98 to i64
%100 = call i64 @FUNC(i64 %95, i64* nonnull %sv_0, i64 %99)
br label LBL_24
LBL_23:
%101 = load %_IO_FILE*, %_IO_FILE** @gv_15, align 8
%102 = bitcast i64* %sv_0 to i8*
%103 = call i32 @fputs(i8* nonnull %102, %_IO_FILE* %101)
br label LBL_24
LBL_24:
%104 = trunc i64 %arg2 to i16
%105 = icmp sgt i16 %104, -1
%spec.select = select i1 %105, i64 1, i64 %arg6
ret i64 %spec.select
uselistorder i64* %54, { 1, 0 }
uselistorder i64 %52, { 1, 0 }
uselistorder i64 %51, { 1, 0 }
uselistorder i64* %39, { 1, 0 }
uselistorder i64 %37, { 1, 0 }
uselistorder i64 %36, { 1, 0 }
uselistorder i32 %9, { 0, 1, 3, 2, 4 }
uselistorder i64 %8, { 13, 12, 10, 11, 9, 8, 7, 6, 5, 3, 4, 1, 2, 0 }
uselistorder i64 %7, { 11, 10, 8, 9, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %3, { 6, 0, 1, 2, 3, 4, 5, 7 }
uselistorder i64 %2, { 0, 3, 2, 1 }
uselistorder i64* %sv_0, { 0, 1, 2, 4, 3 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 2, { 0, 1, 3, 2 }
uselistorder i64 4294967295, { 4, 1, 0, 3, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 2, 0, 3, 4 }
uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @BIO_snprintf, { 1, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0 }
uselistorder i64 32, { 3, 2, 1, 0, 4, 5 }
uselistorder i64 4294967296, { 1, 0, 2 }
uselistorder i64 %arg6, { 0, 15, 13, 14, 9, 10, 11, 12, 7, 8, 5, 6, 4, 3, 2, 1, 16 }
uselistorder i64 %arg5, { 7, 6, 4, 5, 3, 2, 1, 0, 8 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_21, { 13, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }
uselistorder label LBL_20, { 0, 3, 2, 1 }
}
|
1
|
CompRealVul
|
PrintODBuffer_9054
|
PrintODBuffer
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i32*
%1 = alloca i128
%2 = alloca i32
%rax.0.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i32
%sv_0.0.in.reg2mem = alloca i64
%storemerge9.in15.reg2mem = alloca i64
%storemerge11.in16.reg2mem = alloca i64
%storemerge13.in17.reg2mem = alloca i64
%3 = load i128, i128* %1
%4 = load i128, i128* %1
%5 = load i128, i128* %1
%6 = load i32, i32* %2
%7 = load i32, i32* %2
%8 = load i32, i32* %2
%9 = load i32, i32* %2
%10 = load i32, i32* %2
%11 = load i32, i32* %2
%12 = load i32, i32* %2
%13 = load i32, i32* %2
%14 = load i32, i32* %2
%15 = load i32, i32* %2
%16 = load i32, i32* %2
%17 = load i32, i32* %2
%18 = load i32*, i32** %0
%sv_1 = alloca i8*, align 8
%19 = icmp eq i64 %arg2, 0
br i1 %19, label LBL_31, label LBL_1
LBL_1:
%20 = bitcast i8** %sv_1 to i64*
%21 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64* nonnull %20)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 %21, i64* %rax.0.reg2mem
br i1 %24, label LBL_31, label LBL_2
LBL_2:
%25 = icmp eq i32* %18, null
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_3, label LBL_4
LBL_3:
%sext = mul i64 %arg3, 4294967296
%27 = icmp eq i64 %sext, 0
%28 = icmp eq i1 %27, false
store i64 %sext, i64* %storemerge13.in17.reg2mem
br i1 %28, label LBL_5, label LBL_6
LBL_4:
%29 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%30 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_1 to i64*), i32 1, i32 21, %_IO_FILE* %29)
%31 = sext i32 %30 to i64
store i64 %31, i64* %rax.0.reg2mem
br label LBL_31
LBL_5:
%storemerge13.in17.reload = load i64, i64* %storemerge13.in17.reg2mem
%32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%33 = call i32 @fputc(i32 32, %_IO_FILE* %32)
%sext12 = add i64 %storemerge13.in17.reload, -4294967296
%34 = icmp eq i64 %sext12, 0
%35 = icmp eq i1 %34, false
store i64 %sext12, i64* %storemerge13.in17.reg2mem
br i1 %35, label LBL_5, label LBL_6
LBL_6:
%36 = icmp eq i32 %17, 0
br i1 %36, label LBL_8, label LBL_7
LBL_7:
%37 = load i8*, i8** %sv_1, align 8
%38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%39 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %38, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* %37)
br label LBL_27
LBL_8:
%40 = load i32, i32* %18, align 4
%41 = zext i32 %40 to i64
%42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %41)
%44 = icmp eq i32 %16, 1
br i1 %44, label LBL_10, label LBL_9
LBL_9:
%45 = icmp eq i32 %16, 2
%46 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
br i1 %45, label LBL_11, label LBL_12
LBL_10:
%47 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%48 = call i32 @fwrite(i64* bitcast ([8 x i8]* @gv_4 to i64*), i32 1, i32 7, %_IO_FILE* %47)
br label LBL_13
LBL_11:
%49 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_5 to i64*), i32 1, i32 6, %_IO_FILE* %46)
br label LBL_13
LBL_12:
%50 = call i32 @fwrite(i64* bitcast ([8 x i8]* @gv_6 to i64*), i32 1, i32 7, %_IO_FILE* %46)
br label LBL_13
LBL_13:
%51 = icmp slt i32 %15, 0
br i1 %51, label LBL_15, label LBL_14
LBL_14:
%52 = zext i32 %15 to i64
%53 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%54 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %53, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0), i64 %52)
br label LBL_15
LBL_15:
%55 = icmp eq i32 %14, 0
br i1 %55, label LBL_17, label LBL_16
LBL_16:
%56 = zext i32 %14 to i64
%57 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%58 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %57, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0), i64 %56)
br label LBL_17
LBL_17:
%59 = icmp eq i32 %13, 0
br i1 %59, label LBL_19, label LBL_18
LBL_18:
%60 = zext i32 %13 to i64
%61 = zext i32 %12 to i64
%62 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%63 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %62, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_9, i64 0, i64 0), i64 %61, i64 %60)
br label LBL_19
LBL_19:
%64 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%65 = call i32 @fputc(i32 10, %_IO_FILE* %64)
store i64 %sext, i64* %storemerge11.in16.reg2mem
br i1 %28, label LBL_20, label LBL_23
LBL_20:
%storemerge11.in16.reload = load i64, i64* %storemerge11.in16.reg2mem
%66 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%67 = call i32 @fputc(i32 32, %_IO_FILE* %66)
%sext10 = add i64 %storemerge11.in16.reload, -4294967296
%68 = icmp eq i64 %sext10, 0
%69 = icmp eq i1 %68, false
store i64 %sext10, i64* %storemerge11.in16.reg2mem
br i1 %69, label LBL_20, label LBL_21
LBL_21:
%70 = zext i32 %11 to i64
%71 = zext i32 %10 to i64
%72 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%73 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %72, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_10, i64 0, i64 0), i64 %71, i64 %70)
store i64 %sext, i64* %storemerge9.in15.reg2mem
br label LBL_22
LBL_22:
%storemerge9.in15.reload = load i64, i64* %storemerge9.in15.reg2mem
%74 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%75 = call i32 @fputc(i32 32, %_IO_FILE* %74)
%sext8 = add i64 %storemerge9.in15.reload, -4294967296
%76 = icmp eq i64 %sext8, 0
%77 = icmp eq i1 %76, false
store i64 %sext8, i64* %storemerge9.in15.reg2mem
br i1 %77, label LBL_22, label LBL_24
LBL_23:
%78 = zext i32 %11 to i64
%79 = zext i32 %10 to i64
%80 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%81 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %80, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_10, i64 0, i64 0), i64 %79, i64 %78)
br label LBL_24
LBL_24:
%82 = call i128 @FUNC(i128 %5, i128 %5)
%83 = call i64 @FUNC(i128 %82)
%84 = icmp eq i32 %10, 0
store i64 %83, i64* %sv_0.0.in.reg2mem
br i1 %84, label LBL_26, label LBL_25
LBL_25:
%85 = call i128 @FUNC(i128 %82, i128 %82)
%86 = call i128 @FUNC(i32 %9)
%87 = call i64 @FUNC(i128 %86)
%88 = trunc i64 %87 to i32
%89 = call i128 @FUNC(i128 %4, i128 %4)
%90 = call i128 @FUNC(i32 %10)
%91 = call i128 @__asm_movss.1(i32 %88)
%92 = call i128 @FUNC(i128 %91, i128 %90)
%93 = call i64 @FUNC(i128 %92)
store i64 %93, i64* %sv_0.0.in.reg2mem
br label LBL_26
LBL_26:
%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
%94 = call i128 @FUNC(i128 %3, i128 %3)
%95 = call i128 @FUNC(i32 %sv_0.0)
%96 = call i64 @FUNC(i128 %95)
%97 = add i32 %7, 1023
%98 = icmp slt i32 %7, 0
%99 = select i1 %98, i32 %97, i32 %7
%100 = ashr i32 %99, 10
%101 = zext i32 %100 to i64
%102 = udiv i32 %6, 1024
%103 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%104 = zext i32 %8 to i64
%105 = call i128 @__asm_movq.2(i64 %96)
%106 = zext i32 %102 to i64
%107 = trunc i128 %105 to i64
%108 = bitcast i64 %107 to double
%109 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %103, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_11, i64 0, i64 0), i64 %106, i64 %101, double %108, i64 %104)
br label LBL_27
LBL_27:
%110 = call i64 @FUNC(i64 %arg1, i64 %arg2)
%111 = trunc i64 %110 to i32
%112 = icmp eq i32 %111, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %112, label LBL_31, label LBL_28
LBL_28:
%113 = add i64 %arg3, 1
%114 = and i64 %113, 4294967295
store i32 0, i32* %storemerge14.reg2mem
br label LBL_29
LBL_29:
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%115 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %storemerge14.reload)
%116 = call i64 @FUNC(i64 %arg1, i64 %115, i64 %114)
%117 = add nuw i32 %storemerge14.reload, 1
%exitcond = icmp eq i32 %117, %111
store i32 %117, i32* %storemerge14.reg2mem
br i1 %exitcond, label LBL_30, label LBL_29
LBL_30:
%118 = and i64 %110, 4294967295
store i64 %118, i64* %rax.0.reg2mem
br label LBL_31
LBL_31:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i128 %82, { 1, 0, 2 }
uselistorder i32* %18, { 1, 0 }
uselistorder i32 %11, { 1, 0 }
uselistorder i32 %10, { 0, 1, 3, 2 }
uselistorder i64* %storemerge13.in17.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge11.in16.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge9.in15.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i32* %2, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i128* %1, { 2, 1, 0 }
uselistorder i32 10, { 1, 0 }
uselistorder i32 7, { 1, 0 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 0, 5, 2, 1, 4, 7, 6 }
uselistorder i64 -4294967296, { 2, 1, 0 }
uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 0, 3, 2, 1 }
uselistorder i32 32, { 2, 1, 0 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 0, 1, 3, 2 }
uselistorder %_IO_FILE** @gv_0, { 14, 0, 13, 12, 11, 10, 9, 8, 7, 5, 6, 4, 3, 2, 1 }
uselistorder i1 false, { 1, 2, 3, 0, 4, 5 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2, 3 }
uselistorder label LBL_31, { 0, 1, 4, 2, 3 }
uselistorder label LBL_24, { 1, 0 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
0
|
CompRealVul
|
ff_rtmp_packet_dump_10268
|
ff_rtmp_packet_dump
|
define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rcx.0.lcssa.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_0.04.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg2 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = trunc i64 %1 to i32
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 %7)
%9 = zext i32 %5 to i64
%10 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %7, i64 %9)
%11 = icmp ne i32 %6, 20
%12 = icmp eq i32 %6, 21
%13 = icmp eq i1 %12, false
%or.cond = icmp eq i1 %11, %13
br i1 %or.cond, label LBL_4, label LBL_1
LBL_1:
%14 = add i64 %2, 24
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = add i64 %2, 16
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = sext i32 %19 to i64
%21 = add i64 %16, %20
%22 = icmp ult i64 %16, %21
store i64 %16, i64* %sv_0.04.reg2mem
store i64 %16, i64* %rax.0.reg2mem
br i1 %22, label LBL_2, label LBL_15
LBL_2:
%sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem
%23 = call i64 @FUNC(i64 %arg1, i64 %sv_0.04.reload, i64 %21)
%24 = call i64 @FUNC(i64 %sv_0.04.reload, i64 %21)
%25 = trunc i64 %24 to i32
%26 = icmp slt i32 %25, 0
store i64 %24, i64* %rax.0.reg2mem
br i1 %26, label LBL_15, label LBL_3
LBL_3:
%sext = mul i64 %24, 4294967296
%27 = ashr exact i64 %sext, 32
%28 = add i64 %27, %sv_0.04.reload
%29 = icmp ult i64 %28, %21
store i64 %28, i64* %sv_0.04.reg2mem
store i64 %28, i64* %rax.0.reg2mem
br i1 %29, label LBL_2, label LBL_15
LBL_4:
%30 = icmp eq i32 %6, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_6, label LBL_5
LBL_5:
%32 = add i64 %2, 24
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = call i64 @FUNC(i64 %34)
%36 = and i64 %35, 4294967295
%37 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 %7, i64 %9)
store i64 %37, i64* %rax.0.reg2mem
br label LBL_15
LBL_6:
%38 = icmp eq i32 %6, 2
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_8, label LBL_7
LBL_7:
%40 = add i64 %2, 24
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = call i64 @FUNC(i64 %42)
%44 = and i64 %43, 4294967295
%45 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %44, i64 %7, i64 %9)
store i64 %45, i64* %rax.0.reg2mem
br label LBL_15
LBL_8:
store i64 8, i64* %rax.0.reg2mem
switch i32 %6, label LBL_9 [
i32 8, label LBL_15
i32 9, label LBL_1310
i32 18, label LBL_13
]
LBL_9:
%46 = add i64 %2, 16
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = icmp eq i32 %48, 0
store i64 %8, i64* %rcx.0.lcssa.reg2mem
br i1 %49, label LBL_12, label LBL_10
LBL_10:
%50 = add i64 %2, 24
%51 = inttoptr i64 %50 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
br label LBL_11
LBL_11:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%52 = load i64, i64* %51, align 8
%53 = add i64 %52, %.reload
%54 = inttoptr i64 %53 to i8*
%55 = load i8, i8* %54, align 1
%56 = zext i8 %55 to i64
%57 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %56, i64 %7, i64 %9)
%58 = add i32 %storemerge3.reload, 1
%59 = load i32, i32* %47, align 4
%60 = zext i32 %59 to i64
%61 = sext i32 %58 to i64
%62 = icmp slt i64 %61, %60
store i64 %61, i64* %.reg2mem
store i32 %58, i32* %storemerge3.reg2mem
store i64 %56, i64* %rcx.0.lcssa.reg2mem
br i1 %62, label LBL_11, label LBL_12
LBL_12:
%rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem
%63 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 %rcx.0.lcssa.reload, i64 %7, i64 %9)
store i64 %63, i64* %rax.0.reg2mem
br label LBL_15
LBL_13:
store i64 18, i64* %rax.0.reg2mem
br label LBL_15
LBL_14:
store i64 9, 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 i32* %47, { 1, 0 }
uselistorder i64 %24, { 1, 0, 2 }
uselistorder i64 %sv_0.04.reload, { 2, 1, 0 }
uselistorder i64 %21, { 1, 2, 3, 0 }
uselistorder i64 %16, { 0, 1, 3, 2 }
uselistorder i64 %9, { 2, 3, 1, 0, 4 }
uselistorder i64 %7, { 3, 2, 4, 5, 1, 0 }
uselistorder i32 %6, { 0, 1, 2, 4, 3 }
uselistorder i64 %2, { 5, 4, 3, 2, 0, 1, 6 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 8, 9, 7, 6, 1, 2, 4 }
uselistorder i64 (i64)* @AV_RB32, { 1, 0 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 4, 2, 1, 0 }
uselistorder i64 %arg1, { 2, 3, 1, 0, 4, 5 }
uselistorder label LBL_15, { 3, 5, 6, 2, 7, 8, 0, 1, 4 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
qdisc_watchdog_8037
|
qdisc_watchdog
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = and i32 %3, -2
%5 = bitcast i64* %arg1 to i32*
store i32 %4, i32* %5, align 4
%6 = call i64 @FUNC(i64 %2)
%7 = call i64 @FUNC(i64 %6)
ret i64 0
}
|
0
|
CompRealVul
|
mvhd_New_8605
|
mvhd_New
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64* @malloc(i32 24)
%1 = icmp eq i64* %0, null
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = bitcast i64* %0 to i32*
store i32 65536, i32* %3, align 4
%4 = ptrtoint i64* %0 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
store i32 256, i32* %6, align 4
%7 = add i64 %4, 8
%8 = inttoptr i64 %7 to i32*
store i32 65536, i32* %8, align 4
%9 = add i64 %4, 12
%10 = inttoptr i64 %9 to i32*
store i32 65536, i32* %10, align 4
%11 = add i64 %4, 16
%12 = inttoptr i64 %11 to i32*
store i32 1073741824, i32* %12, align 4
%13 = add i64 %4, 20
%14 = inttoptr i64 %13 to i32*
store i32 1, i32* %14, align 4
store i64 %4, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %0, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
vp9_twopass_postencode_update_5146
|
vp9_twopass_postencode_update
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 16
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = add i64 %0, 12
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i32 %7, %4
%12 = sub i32 %11, %10
store i32 %12, i32* %6, align 4
%13 = inttoptr i64 %1 to i32*
%14 = load i32, i32* %13, align 4
%15 = sub i32 %14, %4
%16 = icmp slt i32 %15, 0
%17 = icmp eq i1 %16, false
%18 = select i1 %17, i32 %15, i32 0
store i32 %18, i32* %13, align 4
%19 = bitcast i64* %rdi to i32*
%20 = load i32, i32* %19, align 8
%21 = icmp eq i32 %20, 1
br i1 %21, label LBL_3, label LBL_1
LBL_1:
%22 = call i64 @FUNC(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_3, label LBL_2
LBL_2:
%26 = add i64 %0, 20
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = sub i32 %28, %4
store i32 %29, i32* %27, align 4
%30 = add i64 %0, 28
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = add i64 %0, 24
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
br label LBL_3
LBL_3:
%35 = add i64 %0, 20
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = icmp slt i32 %37, 0
%39 = icmp eq i1 %38, false
%40 = select i1 %39, i32 %37, i32 0
store i32 %40, i32* %36, align 4
%41 = add i64 %0, 32
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = add i32 %43, 1
store i32 %44, i32* %42, align 4
ret i64 %1
uselistorder i32 %4, { 1, 2, 0 }
uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 8, 7, 6, 9 }
uselistorder i32 0, { 0, 2, 3, 1, 4 }
}
|
0
|
CompRealVul
|
vga_init_17137
|
vga_init
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = load i64, i64* @gv_0, align 8
%2 = load i64, i64* @gv_1, align 8
%3 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 2, i64 %2, i64 %1, i64 %0)
%4 = load i64, i64* @gv_3, align 8
%5 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 %4, i64 %0)
%6 = load i64, i64* @gv_3, align 8
%7 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 %6, i64 %0)
%8 = load i64, i64* @gv_3, align 8
%9 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 %8, i64 %0)
%10 = load i64, i64* @gv_3, align 8
%11 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 %10, i64 %0)
%12 = load i64, i64* @gv_3, align 8
%13 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 %12, i64 %0)
%14 = load i64, i64* @gv_4, align 8
%15 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 %14, i64 %0)
%16 = load i64, i64* @gv_4, align 8
%17 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 %16, i64 %0)
%18 = load i64, i64* @gv_4, align 8
%19 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 %18, i64 %0)
%20 = load i64, i64* @gv_4, align 8
%21 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 %20, i64 %0)
%22 = load i64, i64* @gv_4, align 8
%23 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 %22, i64 %0)
%24 = bitcast i64* %arg1 to i32*
store i32 0, i32* %24, align 4
%25 = load i64, i64* @gv_5, align 8
%26 = load i64, i64* @gv_6, align 8
%27 = call i64 @FUNC(i64 0, i64 %26, i64 %25, i64 %0)
%28 = load i32, i32* @gv_7, align 4
%29 = add i32 %28, 655360
%30 = and i64 %27, 4294967295
%31 = zext i32 %29 to i64
%32 = call i64 @FUNC(i64 %31, i64 131072, i64 %30)
ret i64 %32
uselistorder i64 %0, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 10, 11 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 1, 0, 3, 2, 4, 5, 6, 8, 7, 10, 9, 11, 12, 13 }
}
|
1
|
CompRealVul
|
smb_send_rqst_5265
|
smb_send_rqst
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%rcx.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i32, align 4
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = call i64 @FUNC(i64 %4)
store i32 1, i32* %sv_4, align 4
%9 = icmp eq i64* %arg2, null
%10 = icmp eq i1 %9, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_12
LBL_1:
%11 = ptrtoint i64* %arg1 to i64
%12 = and i64 %8, 4294967295
%13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %3, i64 %2, i64 %1)
%14 = inttoptr i64 %5 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64 %15)
%17 = call i64 @FUNC(i64 %4, i64 6, i64 3, i32* nonnull %sv_4, i64 4)
%18 = call i64 @FUNC(i64 %11, i64 %4, i32 %7, i64* nonnull %sv_3)
%19 = trunc i64 %18 to i32
%20 = icmp slt i32 %19, 0
store i64 0, i64* %sv_1.1.reg2mem
store i32 %19, i32* %sv_0.1.reg2mem
br i1 %20, label LBL_6, label LBL_2
LBL_2:
%21 = load i64, i64* %sv_3, align 8
%22 = add i64 %4, 12
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp eq i32 %24, 0
store i64 %21, i64* %sv_1.1.reg2mem
store i32 %19, i32* %sv_0.1.reg2mem
br i1 %25, label LBL_6, label LBL_3
LBL_3:
%26 = ptrtoint i64* %sv_2 to i64
%27 = add i64 %4, 16
%28 = inttoptr i64 %27 to i64*
store i64 0, i64* %indvars.iv.reg2mem
store i64 %21, i64* %sv_1.03.reg2mem
br label LBL_4
LBL_4:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%29 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64* nonnull %sv_2)
%30 = call i64 @FUNC(i64 %11, i64 %26, i32 1, i64* nonnull %sv_3)
%31 = trunc i64 %30 to i32
%32 = load i64, i64* %28, align 8
%33 = mul i64 %indvars.iv.reload, 8
%34 = add i64 %32, %33
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = icmp slt i32 %31, 0
store i64 %sv_1.03.reload, i64* %sv_1.1.reg2mem
store i32 %31, i32* %sv_0.1.reg2mem
br i1 %38, label LBL_6, label LBL_5
LBL_5:
%39 = load i64, i64* %sv_3, align 8
%40 = add i64 %39, %sv_1.03.reload
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%41 = load i32, i32* %23, align 4
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %indvars.iv.next, %42
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %40, i64* %sv_1.03.reg2mem
store i64 %40, i64* %sv_1.1.reg2mem
store i32 %31, i32* %sv_0.1.reg2mem
br i1 %43, label LBL_4, label LBL_6
LBL_6:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
store i32 0, i32* %sv_4, align 4
%44 = ptrtoint i32* %sv_4 to i64
%45 = call i64 @FUNC(i64 %4, i64 6, i64 3, i32* nonnull %sv_4, i64 4)
%46 = icmp eq i64 %sv_1.1.reload, 0
store i64 %44, i64* %rcx.0.reg2mem
br i1 %46, label LBL_9, label LBL_7
LBL_7:
%47 = add i64 %8, 4
%48 = and i64 %47, 4294967295
%49 = icmp eq i64 %sv_1.1.reload, %48
store i64 %44, i64* %rcx.0.reg2mem
br i1 %49, label LBL_9, label LBL_8
LBL_8:
%50 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %48, i64 %sv_1.1.reload, i64 4, i64 %1)
%51 = add i64 %11, 8
%52 = inttoptr i64 %51 to i32*
store i32 2, i32* %52, align 4
store i64 %sv_1.1.reload, i64* %rcx.0.reg2mem
br label LBL_9
LBL_9:
%53 = icmp slt i32 %sv_0.1.reload, 0
%54 = icmp eq i1 %53, false
%55 = icmp eq i32 %sv_0.1.reload, -4
%or.cond = or i1 %55, %54
store i32 0, i32* %sv_0.2.reg2mem
br i1 %or.cond, label LBL_11, label LBL_10
LBL_10:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%56 = zext i32 %sv_0.1.reload to i64
%57 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %56, i64 %rcx.0.reload, i64 4, i64 %1)
store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem
br label LBL_11
LBL_11:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%58 = zext i32 %sv_0.2.reload to i64
store i64 %58, i64* %storemerge.reg2mem
br label LBL_12
LBL_12:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %48, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %sv_1.03.reload, { 1, 0 }
uselistorder i32* %23, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i64 %11, { 1, 0, 2 }
uselistorder i32* %sv_4, { 0, 2, 3, 1, 4 }
uselistorder i64* %sv_3, { 2, 0, 3, 1 }
uselistorder i64 %4, { 3, 2, 0, 1, 4, 5, 7, 6 }
uselistorder i64 %1, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 0, { 0, 3, 2, 4, 1, 5 }
uselistorder i64 (i64, i64, i32, i64*)* @smb_send_kvec, { 1, 0 }
uselistorder i64 (i64, i64, i64, i32*, i64)* @kernel_setsockopt, { 1, 0 }
uselistorder i64 4, { 2, 1, 0, 3, 4 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cFYI, { 1, 0 }
uselistorder [24 x i8]* @gv_0, { 1, 0 }
uselistorder i64 1, { 1, 2, 0, 3 }
uselistorder i64 8, { 1, 0, 2 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
ok_jpg_read_sos_7855
|
ok_jpg_read_sos
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i8*
%sv_0.016.reg2mem = alloca i8*
%sv_1.017.reg2mem = alloca i32
%.reg2mem34 = alloca i64
%.reg2mem32 = alloca i32
%sv_2.0.reg2mem = alloca i32
%.reg2mem30 = alloca i32
%sv_2.114.reg2mem = alloca i32
%storemerge15.reg2mem = alloca i32
%.reg2mem28 = alloca i64
%.reg2mem = alloca i32
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%sv_3 = alloca i64, align 8
%3 = add i64 %1, 80
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %1, i64* nonnull %sv_3, i64 3)
%7 = trunc i64 %6 to i8
%8 = icmp eq i8 %7, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_30
LBL_1:
%9 = call i64 @FUNC(i64* nonnull %sv_3)
%10 = urem i32 %2, 256
%11 = add i64 %1, 12
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = add i64 %1, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp ugt i32 %10, %15
br i1 %16, label LBL_2, label LBL_3
LBL_2:
%17 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_3:
%18 = mul i32 %10, 2
%19 = zext i32 %18 to i64
%20 = urem i64 %9, 65536
%21 = add nuw nsw i64 %19, 6
%22 = icmp eq i64 %21, %20
br i1 %22, label LBL_5, label LBL_4
LBL_4:
%23 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_5:
%24 = add nuw nsw i64 %19, 3
%25 = icmp ult i64 %24, 17
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%26 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_7:
%27 = call i64 @FUNC(i64 %1, i64* nonnull %sv_3, i64 %24)
%28 = trunc i64 %27 to i8
%29 = icmp eq i8 %28, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %29, label LBL_8, label LBL_30
LBL_8:
%30 = bitcast i64* %sv_3 to i8*
%31 = load i32, i32* %12, align 4
%32 = icmp eq i32 %31, 0
%33 = load i8, i8* %30, align 8
%34 = zext i8 %33 to i32
store i8* %30, i8** %sv_0.0.lcssa.reg2mem
store i32 %34, i32* %.lcssa.reg2mem
br i1 %32, label LBL_20, label LBL_9
LBL_9:
%35 = add i64 %1, 16
store i32 %34, i32* %.reg2mem32
store i64 0, i64* %.reg2mem34
store i32 0, i32* %sv_1.017.reg2mem
store i8* %30, i8** %sv_0.016.reg2mem
br label LBL_18
LBL_10:
%sv_2.114.reload = load i32, i32* %sv_2.114.reg2mem
%storemerge15.reload = load i32, i32* %storemerge15.reg2mem
%.reload29 = load i64, i64* %.reg2mem28
%.reload = load i32, i32* %.reg2mem
%36 = mul nsw i64 %.reload29, 12
%37 = add i64 %36, %1
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = icmp eq i32 %39, %.reload33
%41 = icmp eq i1 %40, false
store i32 %.reload, i32* %.reg2mem30
store i32 %sv_2.114.reload, i32* %sv_2.0.reg2mem
br i1 %41, label LBL_12, label LBL_11
LBL_11:
store i32 %storemerge15.reload, i32* %83, align 4
%.pre = load i32, i32* %14, align 4
store i32 %.pre, i32* %.reg2mem30
store i32 1, i32* %sv_2.0.reg2mem
br label LBL_12
LBL_12:
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%.reload31 = load i32, i32* %.reg2mem30
%42 = add i32 %storemerge15.reload, 1
%43 = zext i32 %.reload31 to i64
%44 = sext i32 %42 to i64
%45 = icmp slt i64 %44, %43
store i32 %.reload31, i32* %.reg2mem
store i64 %44, i64* %.reg2mem28
store i32 %42, i32* %storemerge15.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.114.reg2mem
br i1 %45, label LBL_10, label LBL_13
LBL_13:
%46 = trunc i32 %sv_2.0.reload to i8
%47 = icmp eq i8 %46, 1
br i1 %47, label LBL_15, label LBL_14
LBL_14:
%48 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_15:
%49 = load i32, i32* %83, align 4
%50 = sext i32 %49 to i64
%51 = mul nsw i64 %50, 12
%52 = add i64 %51, %1
%53 = ptrtoint i8* %sv_0.016.reload to i64
%54 = add i64 %53, 1
%55 = inttoptr i64 %54 to i8*
%56 = load i8, i8* %55, align 1
%57 = udiv i8 %56, 16
%58 = zext i8 %57 to i32
%59 = add i64 %52, 4
%60 = inttoptr i64 %59 to i32*
store i32 %58, i32* %60, align 4
%61 = load i8, i8* %55, align 1
%62 = urem i8 %61, 16
%63 = zext i8 %62 to i32
%64 = add i64 %52, 8
%65 = inttoptr i64 %64 to i32*
store i32 %63, i32* %65, align 4
%66 = load i32, i32* %60, align 4
%67 = icmp slt i32 %66, 4
%68 = icmp ult i8 %62, 4
%or.cond7 = icmp eq i1 %68, %67
br i1 %or.cond7, label LBL_17, label LBL_16
LBL_16:
%69 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_17:
%70 = add i32 %sv_1.017.reload, 1
%71 = add i64 %53, 2
%72 = inttoptr i64 %71 to i8*
%73 = load i32, i32* %12, align 4
%74 = zext i32 %73 to i64
%75 = sext i32 %70 to i64
%76 = icmp slt i64 %75, %74
%77 = load i8, i8* %72, align 1
%78 = zext i8 %77 to i32
store i32 %78, i32* %.reg2mem32
store i64 %75, i64* %.reg2mem34
store i32 %70, i32* %sv_1.017.reg2mem
store i8* %72, i8** %sv_0.016.reg2mem
store i8* %72, i8** %sv_0.0.lcssa.reg2mem
store i32 %78, i32* %.lcssa.reg2mem
br i1 %76, label LBL_18, label LBL_20
LBL_18:
%79 = load i32, i32* %14, align 4
%80 = icmp eq i32 %79, 0
br i1 %80, label LBL_14, label LBL_10.lr.ph
LBL_19:
%sv_0.016.reload = load i8*, i8** %sv_0.016.reg2mem
%sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem
%.reload35 = load i64, i64* %.reg2mem34
%.reload33 = load i32, i32* %.reg2mem32
%81 = mul i64 %.reload35, 4
%82 = add i64 %35, %81
%83 = inttoptr i64 %82 to i32*
store i32 %79, i32* %.reg2mem
store i64 0, i64* %.reg2mem28
store i32 0, i32* %storemerge15.reg2mem
store i32 0, i32* %sv_2.114.reg2mem
br label LBL_10
LBL_20:
%.lcssa.reload = load i32, i32* %.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem
%84 = add i64 %1, 56
%85 = inttoptr i64 %84 to i32*
store i32 %.lcssa.reload, i32* %85, align 4
%86 = ptrtoint i8* %sv_0.0.lcssa.reload to i64
%87 = add i64 %86, 1
%88 = inttoptr i64 %87 to i8*
%89 = load i8, i8* %88, align 1
%90 = zext i8 %89 to i32
%91 = add i64 %1, 60
%92 = inttoptr i64 %91 to i32*
store i32 %90, i32* %92, align 4
%93 = add i64 %86, 2
%94 = inttoptr i64 %93 to i8*
%95 = load i8, i8* %94, align 1
%96 = udiv i8 %95, 16
%97 = zext i8 %96 to i32
%98 = add i64 %1, 64
%99 = inttoptr i64 %98 to i32*
store i32 %97, i32* %99, align 4
%100 = load i8, i8* %94, align 1
%101 = urem i8 %100, 16
%102 = zext i8 %101 to i32
%103 = add i64 %1, 68
%104 = inttoptr i64 %103 to i32*
store i32 %102, i32* %104, align 4
%105 = add i64 %1, 72
%106 = inttoptr i64 %105 to i8*
%107 = load i8, i8* %106, align 1
%108 = icmp eq i8 %107, 0
%109 = load i32, i32* %85, align 4
br i1 %108, label LBL_25, label LBL_21
LBL_21:
%110 = icmp ugt i32 %109, 63
br i1 %110, label LBL_24, label LBL_22
LBL_22:
%111 = load i32, i32* %92, align 4
%112 = icmp ult i32 %111, %109
%113 = icmp sgt i32 %111, 63
%or.cond4 = or i1 %112, %113
br i1 %or.cond4, label LBL_24, label LBL_23
LBL_23:
%114 = load i32, i32* %99, align 4
%115 = icmp ult i32 %114, 14
%116 = icmp ult i8 %101, 14
%or.cond8 = icmp eq i1 %116, %115
br i1 %or.cond8, label LBL_29, label LBL_24
LBL_24:
%117 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_25:
%118 = icmp eq i32 %109, 0
%119 = icmp eq i1 %118, false
br i1 %119, label LBL_28, label LBL_26
LBL_26:
%120 = load i32, i32* %92, align 4
%121 = icmp eq i32 %120, 63
%122 = icmp eq i1 %121, false
br i1 %122, label LBL_28, label LBL_27
LBL_27:
%123 = load i32, i32* %99, align 4
%124 = icmp eq i32 %123, 0
%125 = icmp eq i8 %101, 0
%or.cond9 = icmp eq i1 %125, %124
br i1 %or.cond9, label LBL_29, label LBL_28
LBL_28:
%126 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_30
LBL_29:
%127 = call i64 @FUNC(i64 %1)
store i64 %127, 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 i32 %109, { 2, 1, 0 }
uselistorder i8 %101, { 2, 1, 0 }
uselistorder i32* %99, { 1, 0, 2 }
uselistorder i32* %92, { 1, 0, 2 }
uselistorder i32* %83, { 1, 0 }
uselistorder i8 %62, { 1, 0 }
uselistorder i32 %.reload31, { 1, 0 }
uselistorder i32 %34, { 1, 0 }
uselistorder i8* %30, { 1, 0, 2 }
uselistorder i32* %14, { 1, 0, 2 }
uselistorder i32* %12, { 1, 0, 2 }
uselistorder i32 %10, { 0, 2, 1 }
uselistorder i64 %5, { 3, 2, 5, 4, 1, 0, 6 }
uselistorder i64 %1, { 3, 4, 5, 6, 7, 8, 0, 1, 2, 9, 10, 11, 12, 13 }
uselistorder i32* %.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem28, { 2, 1, 0 }
uselistorder i32* %storemerge15.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_2.114.reg2mem, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 9, 8, 1, 4, 3, 10, 2 }
uselistorder i32 63, { 2, 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i8 16, { 1, 0, 3, 2 }
uselistorder i32 0, { 5, 6, 1, 2, 3, 0, 4 }
uselistorder i64 (i64, i64, i8*)* @ok_jpg_error, { 6, 3, 5, 4, 2, 1, 0 }
uselistorder i64 1, { 2, 3, 10, 4, 9, 5, 6, 7, 8, 0, 11, 1 }
uselistorder i64 12, { 1, 0, 2 }
uselistorder i64 (i64, i64*, i64)* @ok_read, { 1, 0 }
uselistorder i64 3, { 1, 0 }
uselistorder label LBL_30, { 2, 3, 6, 4, 5, 0, 7, 8, 9, 1 }
uselistorder label LBL_18, { 1, 0 }
}
|
1
|
CompRealVul
|
arp_solicit_17469
|
arp_solicit
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rsi.2.reg2mem = alloca i64
%rdx.2.reg2mem = alloca i64
%rcx.2.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i32
%rsi.1.reg2mem = alloca i64
%rdx.1.reg2mem = alloca i64
%rcx.1.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%5 = add i64 %4, 24
%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 = add i64 %4, 12
%11 = call i64 @FUNC(i64 %10)
%12 = call i64 @FUNC()
%13 = call i64 @FUNC(i64 %4)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = call i64 @FUNC()
store i64 %16, i64* %rax.0.reg2mem
br label LBL_22
LBL_2:
%17 = ptrtoint i64* %arg2 to i64
%18 = call i64 @FUNC(i64 %13)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 1
br i1 %20, label LBL_6, label LBL_3
LBL_3:
%21 = icmp eq i32 %19, 2
%22 = icmp eq i64* %arg2, null
%or.cond = or i1 %22, %21
br i1 %or.cond, label LBL_9, label LBL_4
LBL_4:
%23 = call i64 @FUNC(i64 %17)
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = call i64 @FUNC(i64 %4)
%27 = zext i32 %25 to i64
%28 = call i64 @FUNC(i64 %26, i64 %4, i64 %27)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_9, label LBL_5
LBL_5:
%32 = call i64 @FUNC(i64 %17)
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
store i32 %34, i32* %sv_1.0.reg2mem
store i64 %26, i64* %rcx.1.reg2mem
store i64 %27, i64* %rdx.1.reg2mem
store i64 %4, i64* %rsi.1.reg2mem
br label LBL_10
LBL_6:
%35 = icmp eq i64* %arg2, null
br i1 %35, label LBL_9, label LBL_7
LBL_7:
%36 = call i64 @FUNC(i64 %17)
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = call i64 @FUNC(i64 %4)
%40 = zext i32 %38 to i64
%41 = call i64 @FUNC(i64 %39, i64 %4, i64 %40)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_9, label LBL_8
LBL_8:
%45 = zext i32 %9 to i64
%46 = call i64 @FUNC(i64 %13, i64 %45, i32 %38)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
store i32 %38, i32* %sv_1.0.reg2mem
store i64 %45, i64* %rcx.1.reg2mem
store i64 %40, i64* %rdx.1.reg2mem
store i64 %45, i64* %rsi.1.reg2mem
br i1 %49, label LBL_10, label LBL_9
LBL_9:
%50 = call i64 @FUNC()
br label LBL_11
LBL_10:
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%rdx.1.reload = load i64, i64* %rdx.1.reg2mem
%rcx.1.reload = load i64, i64* %rcx.1.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%51 = call i64 @FUNC()
%52 = icmp eq i32 %sv_1.0.reload, 0
%53 = icmp eq i1 %52, false
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
store i64 %rcx.1.reload, i64* %rcx.2.reg2mem
store i64 %rdx.1.reload, i64* %rdx.2.reg2mem
store i64 %rsi.1.reload, i64* %rsi.2.reg2mem
br i1 %53, label LBL_12, label LBL_11
LBL_11:
%54 = zext i32 %9 to i64
%55 = call i64 @FUNC(i64 %4, i64 %54, i64 0)
%56 = trunc i64 %55 to i32
store i32 %56, i32* %sv_1.1.reg2mem
store i64 %54, i64* %rcx.2.reg2mem
store i64 0, i64* %rdx.2.reg2mem
store i64 %54, i64* %rsi.2.reg2mem
br label LBL_12
LBL_12:
%57 = trunc i64 %11 to i32
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%58 = add i64 %4, 16
%59 = inttoptr i64 %58 to i32*
%60 = load i32, i32* %59, align 4
%61 = sub i32 %57, %60
%62 = icmp slt i32 %61, 0
%63 = icmp eq i1 %62, false
br i1 %63, label LBL_16, label LBL_13
LBL_13:
%64 = add i64 %4, 8
%65 = inttoptr i64 %64 to i32*
%66 = load i32, i32* %65, align 4
%67 = urem i32 %66, 2
%68 = icmp eq i32 %67, 0
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_15, label LBL_14
LBL_14:
%rsi.2.reload = load i64, i64* %rsi.2.reg2mem
%rdx.2.reload = load i64, i64* %rdx.2.reg2mem
%rcx.2.reload = load i64, i64* %rcx.2.reg2mem
%70 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.2.reload, i64 %rdx.2.reload, i64 %rcx.2.reload, i64 %2, i64 %1)
br label LBL_15
LBL_15:
%71 = call i64 @FUNC(i64* nonnull %sv_2, i64 %4, i64 %4)
%72 = ptrtoint i64* %sv_2 to i64
store i64 %72, i64* %sv_0.0.reg2mem
br label LBL_18
LBL_16:
%73 = add i64 %4, 20
%74 = inttoptr i64 %73 to i32*
%75 = load i32, i32* %74, align 4
%76 = sub i32 %61, %75
%77 = icmp slt i32 %76, 0
%78 = icmp eq i1 %77, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %78, label LBL_18, label LBL_17
LBL_17:
%79 = call i64 @FUNC(i64 %4)
store i64 %79, i64* %rax.0.reg2mem
br label LBL_22
LBL_18:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%80 = icmp eq i64* %arg2, null
br i1 %80, label LBL_21, label LBL_19
LBL_19:
%81 = urem i64 %3, 2
%82 = icmp eq i64 %81, 0
%83 = icmp eq i1 %82, false
br i1 %83, label LBL_21, label LBL_20
LBL_20:
%84 = call i64 @FUNC(i64 %17)
%85 = call i64 @FUNC(i64 %84)
br label LBL_21
LBL_21:
%86 = zext i32 %sv_1.1.reload to i64
%87 = zext i32 %9 to i64
%88 = call i64 @FUNC(i64 1, i64 2054, i64 %87, i64 %4, i64 %86, i64 %sv_0.0.reload)
store i64 %88, i64* %rax.0.reg2mem
br label LBL_22
LBL_22:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %17, { 2, 3, 0, 1 }
uselistorder i32 %9, { 2, 1, 0 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64 %4, { 8, 11, 9, 7, 6, 10, 12, 5, 4, 3, 0, 2, 1, 13, 14, 15 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @inet_addr_type_dev_table, { 1, 0 }
uselistorder i64 (i64)* @dev_net, { 1, 0 }
uselistorder i64 (i64)* @ip_hdr, { 2, 1, 0 }
uselistorder i64* null, { 1, 0, 2 }
uselistorder i64 ()* @rcu_read_unlock, { 2, 0, 1 }
uselistorder i64* %arg2, { 1, 0, 2, 3 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 3, 4, 0, 2, 1 }
}
|
1
|
CompRealVul
|
xfrm_state_fini_5596
|
xfrm_state_fini
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = add i64 %arg1, 24
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 4210761)
%3 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 1)
%4 = call i64 @FUNC(i64 %arg1)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i64
%8 = call i64 @FUNC(i64 %7)
%9 = call i64 @FUNC(i64 %7)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = call i64 @FUNC(i64 %12, i64 0)
%15 = add i64 %arg1, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i64
%22 = call i64 @FUNC(i64 %21)
%23 = load i64, i64* %16, align 8
%24 = call i64 @FUNC(i64 %23, i64 0)
%25 = add i64 %arg1, 16
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = call i64 @FUNC(i64 %27)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
%31 = zext i1 %30 to i64
%32 = call i64 @FUNC(i64 %31)
%33 = load i64, i64* %26, align 8
%34 = call i64 @FUNC(i64 %33, i64 0)
ret i64 %34
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64 (i64, i64)* @xfrm_hash_free, { 2, 1, 0 }
uselistorder i64 (i64)* @hlist_empty, { 2, 1, 0 }
uselistorder i64 (i64)* @WARN_ON, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @flush_work, { 1, 0 }
}
|
0
|
CompRealVul
|
FillWithEs_9235
|
FillWithEs
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%.reg2mem4 = alloca i64
%sv_0.0.in2.reg2mem = alloca i64
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = load i64, i64* @gv_0, align 8
%3 = add i64 %2, 16
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = load i64, i64* @gv_0, align 8
%6 = add i64 %5, 20
%7 = inttoptr i64 %6 to i32*
store i32 0, i32* %7, align 4
%8 = load i64, i64* @gv_0, align 8
store i64 0, i64* %indvars.iv.reg2mem
store i64 %8, i64* %.reg2mem
br label LBL_1
LBL_1:
%.reload = load i64, i64* %.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%9 = add i64 %.reload, 24
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = mul i64 %indvars.iv.reload, 8
%13 = add i64 %11, %12
%14 = call i64 @FUNC(i64 %13, i64 0, i64 11)
%15 = load i64, i64* @gv_0, align 8
%16 = add i64 %15, 24
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %18, %12
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = add i64 %21, 40
%23 = icmp ult i64 %21, -40
store i64 %21, i64* %sv_0.0.in2.reg2mem
store i64 %15, i64* %.reg2mem4
br i1 %23, label LBL_2, label LBL_4
LBL_2:
%sv_0.0.in2.reload = load i64, i64* %sv_0.0.in2.reg2mem
%sv_0.0 = inttoptr i64 %sv_0.0.in2.reload to i32*
%24 = add i64 %sv_0.0.in2.reload, 4
store i32 69, i32* %sv_0.0, align 4
%25 = icmp ugt i64 %22, %24
store i64 %24, i64* %sv_0.0.in2.reg2mem
br i1 %25, label LBL_2, label LBL_3
LBL_3:
%.pre = load i64, i64* @gv_0, align 8
store i64 %.pre, i64* %.reg2mem4
br label LBL_4
LBL_4:
%.reload5 = load i64, i64* %.reg2mem4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %.reload5, i64* %.reg2mem
br i1 %exitcond, label LBL_5, label LBL_1
LBL_5:
%26 = call i64 @FUNC(i64 %.reload5, i64 1)
ret i64 %26
uselistorder i64 %12, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.in2.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem4, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
io_req_work_drop_env_7187
|
io_req_work_drop_env
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %rdi, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
store i64 %3, i64* %rdi, align 8
%5 = call i64 @FUNC(i64 %3)
store i64 0, i64* %2, align 8
br label LBL_2
LBL_2:
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_4, label LBL_3
LBL_3:
store i64 %8, i64* %rdi, align 8
%10 = call i64 @FUNC(i64 %8)
store i64 0, i64* %7, align 8
br label LBL_4
LBL_4:
%11 = load i64, i64* %rdi, align 8
%12 = icmp eq i64 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_7, label LBL_5
LBL_5:
%13 = add i64 %11, 4
store i64 %13, i64* %rdi, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = bitcast i64* %rdi to i32*
%16 = trunc i64 %13 to i32
%17 = add i32 %16, -1
%18 = inttoptr i64 %11 to i32*
store i32 %17, i32* %18, align 4
%19 = load i32, i32* %15, align 8
%20 = icmp eq i32 %19, 0
%21 = load i64, i64* %rdi, align 8
%22 = add i64 %21, 4
%23 = call i64 @FUNC(i64 %22)
store i64 %23, i64* %rax.0.reg2mem
br i1 %20, label LBL_6, label LBL_7
LBL_6:
%24 = call i64 @FUNC(i64 %11)
store i64 %24, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64* %rdi, { 5, 4, 2, 3, 1, 0, 6 }
uselistorder label LBL_7, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
fail_all_commands_18855
|
fail_all_commands
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge51318.reg2mem = alloca i64
%.reg2mem41 = alloca i64
%.reg2mem39 = alloca i64
%.pre-phi23.reg2mem = alloca i64*
%.pre-phi25.reg2mem = alloca i64
%storemerge31519.reg2mem = alloca i64
%.reg2mem37 = alloca i64
%.reg2mem35 = alloca i64
%.pre-phi30.reg2mem = alloca i64*
%.pre-phi34.reg2mem = alloca i64
%storemerge41620.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp eq i64* %arg1, null
br i1 %2, label LBL_3, label LBL_1
LBL_1:
%3 = trunc i64 %0 to i32
%4 = trunc i64 %1 to i32
%5 = icmp ne i32 %3, %4
%6 = icmp eq i32 %4, -1
%7 = icmp eq i1 %6, false
%or.cond = icmp eq i1 %5, %7
br i1 %or.cond, label LBL_3, label LBL_2
LBL_2:
store i64 0, i64* %arg1, align 8
br label LBL_3
LBL_3:
%8 = add i64 %0, 16
%9 = icmp eq i64 %8, 0
%.pre = trunc i64 %1 to i32
br i1 %9, label LBL_3.LBL_10_crit_edge, label LBL_5
LBL_4:
%.pre27 = add i64 %0, 8
%.pre29 = inttoptr i64 %.pre27 to i64*
%.pre31 = mul i32 %arg3, 65536
%.pre33 = zext i32 %.pre31 to i64
store i64 %.pre33, i64* %.pre-phi34.reg2mem
store i64* %.pre29, i64** %.pre-phi30.reg2mem
store i64 8, i64* %.reg2mem35
br label LBL_10
LBL_5:
%10 = icmp eq i32 %.pre, -1
%11 = icmp eq i1 %10, false
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i64*
%14 = mul i32 %arg3, 65536
%15 = zext i32 %14 to i64
%16 = add i64 %0, 32
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
store i64 %18, i64* %.reg2mem
store i64 %8, i64* %storemerge41620.reg2mem
br i1 %20, label LBL_6, label LBL_9
LBL_6:
%storemerge41620.reload = load i64, i64* %storemerge41620.reg2mem
%.reload = load i64, i64* %.reg2mem
%21 = inttoptr i64 %storemerge41620.reload to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp ne i32 %26, %.pre
%or.cond8 = icmp eq i1 %11, %27
br i1 %or.cond8, label LBL_8, label LBL_7
LBL_7:
%28 = add i64 %storemerge41620.reload, 8
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = load i64, i64* %13, align 8
%32 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %22, i32 %30)
%33 = call i64 @FUNC(i64 %0, i64 %storemerge41620.reload, i64 %15)
br label LBL_8
LBL_8:
%34 = add i64 %.reload, 16
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = icmp eq i64 %36, 0
%38 = icmp eq i1 %37, false
store i64 %36, i64* %.reg2mem
store i64 %.reload, i64* %storemerge41620.reg2mem
br i1 %38, label LBL_6, label LBL_9
LBL_9:
%39 = add i64 %0, 24
%40 = icmp eq i64 %39, 0
store i64 %15, i64* %.pre-phi34.reg2mem
store i64* %13, i64** %.pre-phi30.reg2mem
store i64 %39, i64* %.reg2mem35
store i64 %15, i64* %.pre-phi25.reg2mem
store i64* %13, i64** %.pre-phi23.reg2mem
store i64 8, i64* %.reg2mem39
br i1 %40, label LBL_15, label LBL_10
LBL_10:
%.reload36 = load i64, i64* %.reg2mem35
%.pre-phi30.reload = load i64*, i64** %.pre-phi30.reg2mem
%.pre-phi34.reload = load i64, i64* %.pre-phi34.reg2mem
%41 = icmp eq i32 %.pre, -1
%42 = icmp eq i1 %41, false
%43 = add i64 %.reload36, 16
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = icmp eq i64 %45, 0
%47 = icmp eq i1 %46, false
store i64 %45, i64* %.reg2mem37
store i64 %.reload36, i64* %storemerge31519.reg2mem
br i1 %47, label LBL_11, label LBL_14
LBL_11:
%storemerge31519.reload = load i64, i64* %storemerge31519.reg2mem
%.reload38 = load i64, i64* %.reg2mem37
%48 = inttoptr i64 %storemerge31519.reload to i64*
%49 = load i64, i64* %48, align 8
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = icmp ne i32 %53, %.pre
%or.cond10 = icmp eq i1 %42, %54
br i1 %or.cond10, label LBL_13, label LBL_12
LBL_12:
%55 = add i64 %storemerge31519.reload, 8
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = load i64, i64* %.pre-phi30.reload, align 8
%59 = call i64 @FUNC(i64 %58, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %49, i32 %57)
%60 = call i64 @FUNC(i64 %0, i64 %storemerge31519.reload, i64 %.pre-phi34.reload)
br label LBL_13
LBL_13:
%61 = add i64 %.reload38, 16
%62 = inttoptr i64 %61 to i64*
%63 = load i64, i64* %62, align 8
%64 = icmp eq i64 %63, 0
%65 = icmp eq i1 %64, false
store i64 %63, i64* %.reg2mem37
store i64 %.reload38, i64* %storemerge31519.reg2mem
br i1 %65, label LBL_11, label LBL_14
LBL_14:
%66 = add i64 %0, 32
%67 = icmp eq i64 %66, 0
store i64 %.pre-phi34.reload, i64* %.pre-phi25.reg2mem
store i64* %.pre-phi30.reload, i64** %.pre-phi23.reg2mem
store i64 %66, i64* %.reg2mem39
store i64 0, i64* %rax.0.reg2mem
br i1 %67, label LBL_19, label LBL_15
LBL_15:
%.reload40 = load i64, i64* %.reg2mem39
%.pre-phi23.reload = load i64*, i64** %.pre-phi23.reg2mem
%.pre-phi25.reload = load i64, i64* %.pre-phi25.reg2mem
%68 = icmp eq i32 %.pre, -1
%69 = icmp eq i1 %68, false
%70 = add i64 %.reload40, 16
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = icmp eq i64 %72, 0
%74 = icmp eq i1 %73, false
store i64 %72, i64* %.reg2mem41
store i64 %.reload40, i64* %storemerge51318.reg2mem
store i64 %72, i64* %rax.0.reg2mem
br i1 %74, label LBL_16, label LBL_19
LBL_16:
%storemerge51318.reload = load i64, i64* %storemerge51318.reg2mem
%.reload42 = load i64, i64* %.reg2mem41
%75 = inttoptr i64 %storemerge51318.reload to i64*
%76 = load i64, i64* %75, align 8
%77 = inttoptr i64 %76 to i64*
%78 = load i64, i64* %77, align 8
%79 = inttoptr i64 %78 to i32*
%80 = load i32, i32* %79, align 4
%81 = icmp ne i32 %80, %.pre
%or.cond12 = icmp eq i1 %69, %81
br i1 %or.cond12, label LBL_18, label LBL_17
LBL_17:
%82 = add i64 %storemerge51318.reload, 8
%83 = inttoptr i64 %82 to i32*
%84 = load i32, i32* %83, align 4
%85 = load i64, i64* %.pre-phi23.reload, align 8
%86 = call i64 @FUNC(i64 %85, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %76, i32 %84)
%87 = call i64 @FUNC(i64 %0, i64 %storemerge51318.reload, i64 %.pre-phi25.reload)
br label LBL_18
LBL_18:
%88 = add i64 %.reload42, 16
%89 = inttoptr i64 %88 to i64*
%90 = load i64, i64* %89, align 8
%91 = icmp eq i64 %90, 0
%92 = icmp eq i1 %91, false
store i64 %90, i64* %.reg2mem41
store i64 %.reload42, i64* %storemerge51318.reg2mem
store i64 %90, i64* %rax.0.reg2mem
br i1 %92, label LBL_16, label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge51318.reload, { 2, 1, 0 }
uselistorder i64 %storemerge31519.reload, { 2, 1, 0 }
uselistorder i64 %storemerge41620.reload, { 2, 1, 0 }
uselistorder i32 %.pre, { 1, 0, 3, 2, 4, 5 }
uselistorder i64 %0, { 6, 7, 5, 8, 3, 1, 4, 0, 9, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge41620.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem37, { 2, 0, 1 }
uselistorder i64* %storemerge31519.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem41, { 2, 0, 1 }
uselistorder i64* %storemerge51318.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64, i64)* @fail_command, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i32)* @ISCSI_DBG_SESSION, { 2, 1, 0 }
uselistorder i64 8, { 3, 4, 0, 6, 5, 1, 2 }
uselistorder i64 16, { 2, 1, 3, 0, 4, 5 }
uselistorder i1 false, { 7, 2, 3, 8, 1, 4, 9, 0, 5, 6 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder label LBL_19, { 1, 0, 2 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
}
|
1
|
CompRealVul
|
hfs_mac2asc_11556
|
hfs_mac2asc
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%sv_0.2.reg2mem = alloca i64
%sv_1.28.reg2mem = alloca i64
%sv_0.19.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i64*
%storemerge.reg2mem = alloca i32
%sv_3.1.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%sv_1.110.reg2mem = alloca i64
%sv_4.011.reg2mem = alloca i32
%sv_0.012.reg2mem = alloca i64
%sv_3.314.reg2mem = alloca i32
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %2)
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i64 %9, 0
br i1 %13, label LBL_3, label LBL_1
LBL_1:
%14 = icmp eq i32 %12, 0
%15 = icmp slt i32 %12, 0
%16 = icmp eq i1 %15, false
%17 = icmp eq i1 %14, false
%18 = icmp eq i1 %16, %17
store i64 %1, i64* %sv_0.2.reg2mem
br i1 %18, label LBL_2, label LBL_12
LBL_2:
%19 = icmp eq i64 %5, 0
store i64 %1, i64* %sv_0.012.reg2mem
store i32 %12, i32* %sv_4.011.reg2mem
store i64 %0, i64* %sv_1.110.reg2mem
br label LBL_4
LBL_3:
%20 = add i32 %12, -1
%21 = icmp slt i32 %20, 0
%22 = icmp eq i1 %21, false
store i32 %20, i32* %.reg2mem
store i64 %1, i64* %sv_0.19.reg2mem
store i64 %0, i64* %sv_1.28.reg2mem
store i64 %1, i64* %sv_0.2.reg2mem
br i1 %22, label LBL_11, label LBL_12
LBL_4:
%sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem
%sv_4.011.reload = load i32, i32* %sv_4.011.reg2mem
%sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem
br i1 %19, label LBL_6, label LBL_5
LBL_5:
%sv_3.314.reload = load i32, i32* %sv_3.314.reg2mem
%23 = trunc i64 %sv_1.110.reload to i32
%24 = and i64 %sv_1.110.reload, 4294967295
%25 = icmp eq i32 %23, 0
%26 = icmp slt i32 %23, 0
%27 = icmp eq i1 %26, false
%28 = icmp eq i1 %25, false
%29 = icmp eq i1 %27, %28
%spec.select = select i1 %29, i32 %sv_3.314.reload, i32 63
%30 = select i1 %29, i64 %24, i64 1
%sext = mul i64 %30, 4294967296
%31 = ashr exact i64 %sext, 32
%32 = add i64 %31, %sv_1.110.reload
%33 = trunc i64 %30 to i32
%34 = sub i32 %sv_4.011.reload, %33
store i64 %32, i64* %sv_1.0.reg2mem
store i32 %spec.select, i32* %sv_3.1.reg2mem
store i32 %34, i32* %storemerge.reg2mem
br label LBL_7
LBL_6:
%35 = add i64 %sv_1.110.reload, 1
%36 = inttoptr i64 %sv_1.110.reload to i8*
%37 = load i8, i8* %36, align 1
%38 = sext i8 %37 to i32
%39 = add i32 %sv_4.011.reload, -1
store i64 %35, i64* %sv_1.0.reg2mem
store i32 %38, i32* %sv_3.1.reg2mem
store i32 %39, i32* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%40 = icmp eq i32 %sv_3.1.reload, 47
%41 = icmp eq i1 %40, false
%spec.select6 = select i1 %41, i32 %sv_3.1.reload, i32 58
%42 = zext i32 %spec.select6 to i64
%43 = inttoptr i64 %42 to i64*
%44 = icmp slt i32 %spec.select6, 0
%45 = icmp eq i1 %44, false
store i64* %43, i64** %sv_2.1.reg2mem
br i1 %45, label LBL_10, label LBL_8
LBL_8:
%46 = icmp eq i32 %spec.select6, 1
store i64 %sv_0.012.reload, i64* %sv_0.2.reg2mem
br i1 %46, label LBL_12, label LBL_9
LBL_9:
%47 = inttoptr i64 %sv_0.012.reload to i8*
store i8 63, i8* %47, align 1
store i64* inttoptr (i32 1 to i64*), i64** %sv_2.1.reg2mem
br label LBL_10
LBL_10:
%sv_2.1.reload = load i64*, i64** %sv_2.1.reg2mem
%48 = ptrtoint i64* %sv_2.1.reload to i64
%sext3 = mul i64 %48, 4294967296
%49 = ashr exact i64 %sext3, 32
%50 = add i64 %49, %sv_0.012.reload
%51 = icmp eq i32 %storemerge.reload, 0
%52 = icmp slt i32 %storemerge.reload, 0
%53 = icmp eq i1 %52, false
%54 = icmp eq i1 %51, false
%55 = icmp eq i1 %53, %54
store i32 %spec.select6, i32* %sv_3.314.reg2mem
store i64 %50, i64* %sv_0.012.reg2mem
store i32 %storemerge.reload, i32* %sv_4.011.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.110.reg2mem
store i64 %50, i64* %sv_0.2.reg2mem
br i1 %55, label LBL_4, label LBL_12
LBL_11:
%sv_1.28.reload = load i64, i64* %sv_1.28.reg2mem
%sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem
%.reload = load i32, i32* %.reg2mem
%56 = add i64 %sv_1.28.reload, 1
%57 = inttoptr i64 %sv_1.28.reload to i8*
%58 = load i8, i8* %57, align 1
%59 = icmp eq i8 %58, 47
%storemerge4 = select i1 %59, i8 58, i8 %58
%60 = add i64 %sv_0.19.reload, 1
%61 = inttoptr i64 %sv_0.19.reload to i8*
store i8 %storemerge4, i8* %61, align 1
%62 = add i32 %.reload, -1
%63 = icmp slt i32 %62, 0
%64 = icmp eq i1 %63, false
store i32 %62, i32* %.reg2mem
store i64 %60, i64* %sv_0.19.reg2mem
store i64 %56, i64* %sv_1.28.reg2mem
store i64 %60, i64* %sv_0.2.reg2mem
br i1 %64, label LBL_11, label LBL_12
LBL_12:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%65 = sub i64 %sv_0.2.reload, %1
ret i64 %65
uselistorder i32 %spec.select6, { 0, 1, 3, 2 }
uselistorder i32 %sv_3.1.reload, { 1, 0 }
uselistorder i32 %storemerge.reload, { 2, 1, 0 }
uselistorder i64 %30, { 1, 0 }
uselistorder i32 %23, { 1, 0 }
uselistorder i64 %sv_0.012.reload, { 2, 1, 0 }
uselistorder i32 %sv_4.011.reload, { 1, 0 }
uselistorder i64 %sv_1.110.reload, { 0, 1, 4, 2, 3 }
uselistorder i32 %12, { 3, 0, 1, 2 }
uselistorder i64 %1, { 4, 1, 2, 3, 0 }
uselistorder i32* %sv_3.314.reg2mem, { 1, 0 }
uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.011.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.110.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.19.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.28.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 1, 2, 5, 4 }
uselistorder i64 1, { 1, 2, 3, 0 }
uselistorder i32 -1, { 1, 2, 0 }
uselistorder i1 false, { 5, 9, 4, 6, 7, 8, 3, 2, 0, 1 }
uselistorder i32 0, { 3, 7, 8, 4, 5, 6, 2, 0, 1 }
uselistorder i64 (i64)* @HFS_SB, { 1, 0 }
uselistorder label LBL_12, { 2, 0, 1, 4, 3 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
1
|
CompRealVul
|
AppLayerProtoDetectProbingParserFree_8850
|
AppLayerProtoDetectProbingParserFree
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = icmp eq i64 %arg1, 0
%2 = icmp eq i1 %1, false
store i64 %arg1, i64* %storemerge1.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%3 = inttoptr i64 %storemerge1.reload to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %storemerge1.reload)
%6 = icmp eq i64 %4, 0
%7 = icmp eq i1 %6, false
store i64 %4, i64* %storemerge1.reg2mem
br i1 %7, label LBL_1, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %arg1)
ret i64 %8
uselistorder i64 %storemerge1.reload, { 1, 0 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
free_person_9071
|
free_person
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = inttoptr i64 %arg1 to i64*
call void @free(i64* %0)
%1 = add i64 %arg1, 8
%2 = inttoptr i64 %1 to i64*
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%3 = load i64, i64* %2, align 8
%4 = mul i64 %indvars.iv.reload, 8
%5 = add i64 %3, %4
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%9 = add i64 %arg1, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %arg1, 24
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = inttoptr i64 %15 to i64*
call void @free(i64* %16)
%17 = add i64 %arg1, 32
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i64*
call void @free(i64* %20)
%21 = add i64 %arg1, 40
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i64*
call void @free(i64* %24)
call void @free(i64* %0)
ret i64 ptrtoint (i32* @0 to i64)
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder void (i64*)* @free, { 4, 3, 2, 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder i64 %arg1, { 1, 0, 3, 4, 2, 5 }
}
|
0
|
CompRealVul
|
gen_rdhwr_1544
|
gen_rdhwr
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%sext4 = mul i64 %arg3, 4294967296
%4 = ashr exact i64 %sext4, 32
%5 = call i64 @FUNC(i64 %2, i64 1)
%6 = call i64 @FUNC()
%7 = and i64 %4, 4294967295
store i64 %7, i64* @0, align 8
%trunc = trunc i64 %4 to i32
switch i32 %trunc, label LBL_16 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_8
i32 4, label LBL_9
i32 5, label LBL_12
i32 29, label LBL_13
]
LBL_1:
%8 = load i64, i64* @gv_0, align 8
%9 = and i64 %6, 4294967295
%10 = call i64 @FUNC(i64 %9, i64 %8)
%11 = and i64 %3, 4294967295
%12 = call i64 @FUNC(i64 %9, i64 %11)
br label LBL_17
LBL_2:
%13 = load i64, i64* @gv_0, align 8
%14 = and i64 %6, 4294967295
%15 = call i64 @FUNC(i64 %14, i64 %13)
%16 = and i64 %3, 4294967295
%17 = call i64 @FUNC(i64 %14, i64 %16)
br label LBL_17
LBL_3:
%18 = add i64 %2, 16
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = and i64 %21, 4
%23 = icmp eq i64 %22, 0
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%24 = call i64 @FUNC()
br label LBL_5
LBL_5:
%25 = load i64, i64* @gv_0, align 8
%26 = and i64 %6, 4294967295
%27 = call i64 @FUNC(i64 %26, i64 %25)
%28 = load i64, i64* %19, align 8
%29 = call i64 @FUNC(i64 %28)
%30 = and i64 %29, 4
%31 = icmp eq i64 %30, 0
br i1 %31, label LBL_7, label LBL_6
LBL_6:
%32 = call i64 @FUNC()
br label LBL_7
LBL_7:
%33 = and i64 %3, 4294967295
%34 = call i64 @FUNC(i64 %26, i64 %33)
%35 = add i64 %1, 4
%36 = and i64 %35, 4294967295
%37 = call i64 @FUNC(i64 %36)
%38 = add i64 %2, 4
%39 = inttoptr i64 %38 to i32*
store i32 5, i32* %39, align 4
br label LBL_17
LBL_8:
%40 = load i64, i64* @gv_0, align 8
%41 = and i64 %6, 4294967295
%42 = call i64 @FUNC(i64 %41, i64 %40)
%43 = and i64 %3, 4294967295
%44 = call i64 @FUNC(i64 %41, i64 %43)
br label LBL_17
LBL_9:
%45 = call i64 @FUNC(i64 %2, i64 2)
%46 = trunc i64 %arg4 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label LBL_11, label LBL_10
LBL_10:
%48 = call i64 @FUNC(i64 %2, i64 3)
br label LBL_11
LBL_11:
%49 = load i64, i64* @gv_0, align 8
%50 = and i64 %6, 4294967295
%51 = call i64 @FUNC(i64 %50, i64 %49)
%52 = and i64 %3, 4294967295
%53 = call i64 @FUNC(i64 %50, i64 %52)
br label LBL_17
LBL_12:
%54 = call i64 @FUNC(i64 %2, i64 2)
%55 = load i64, i64* @gv_0, align 8
%56 = and i64 %6, 4294967295
%57 = call i64 @FUNC(i64 %56, i64 %55)
%58 = and i64 %3, 4294967295
%59 = call i64 @FUNC(i64 %56, i64 %58)
br label LBL_17
LBL_13:
%60 = add i64 %2, 8
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = urem i32 %62, 8
%64 = icmp eq i32 %63, 0
br i1 %64, label LBL_15, label LBL_14
LBL_14:
%65 = load i64, i64* @gv_0, align 8
%66 = and i64 %6, 4294967295
%67 = call i64 @FUNC(i64 %66, i64 %65, i64 0)
%68 = and i64 %3, 4294967295
%69 = call i64 @FUNC(i64 %66, i64 %68)
br label LBL_17
LBL_15:
%70 = call i64 @FUNC(i64 %2, i64 3)
br label LBL_17
LBL_16:
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))
%72 = call i64 @FUNC(i64 %2, i64 3)
br label LBL_17
LBL_17:
%73 = and i64 %6, 4294967295
%74 = call i64 @FUNC(i64 %73)
ret i64 %74
uselistorder i64 %66, { 1, 0 }
uselistorder i64 %56, { 1, 0 }
uselistorder i64 %50, { 1, 0 }
uselistorder i64 %41, { 1, 0 }
uselistorder i64 %14, { 1, 0 }
uselistorder i64 %9, { 1, 0 }
uselistorder i64 %6, { 6, 7, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %3, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %2, { 7, 6, 5, 4, 2, 3, 0, 1, 8 }
uselistorder i64 4, { 3, 0, 1, 2 }
uselistorder i64 (i64)* @tb_cflags, { 1, 0 }
uselistorder i64 (i64, i64)* @gen_store_gpr, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 5, { 1, 0 }
uselistorder i32 0, { 0, 2, 1 }
uselistorder i64 4294967295, { 7, 15, 8, 14, 6, 13, 5, 12, 4, 0, 11, 3, 10, 2, 9, 1, 16 }
uselistorder i64 (i64, i64)* @check_insn, { 2, 1, 0 }
uselistorder label LBL_17, { 8, 0, 1, 2, 3, 4, 5, 6, 7 }
}
|
0
|
CompRealVul
|
msg_parse_fetch_11811
|
msg_parse_fetch
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem80 = alloca i8
%sv_0.2.ph5.reg2mem = alloca i64
%sv_0.2.ph5.be.reg2mem = alloca i64
%sv_0.2.ph.reg2mem = alloca i64
%rcx.2.ph.reg2mem = alloca i64
%sv_0.2.ph.be.reg2mem = alloca i64
%rcx.2.ph.be.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i64
%rcx.1.lcssa.reg2mem = alloca i64
%sv_1.1.lcssa.reg2mem = alloca i8*
%sv_1.123.reg2mem = alloca i8*
%sv_0.124.reg2mem = alloca i64
%.reg2mem78 = alloca i8
%.lcssa.reg2mem = alloca i1
%sv_0.0.lcssa.reg2mem = alloca i64
%rcx.0.lcssa.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i8*
%sv_1.018.reg2mem = alloca i8*
%sv_0.019.reg2mem = alloca i64
%.reg2mem = alloca i8
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%sv_2 = alloca i64, align 8
%3 = icmp eq i64* %arg2, null
%4 = icmp eq i1 %3, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_29
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = ptrtoint i64* %arg2 to i64
%7 = bitcast i64* %sv_2 to i8*
%8 = add i64 %5, 8
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %5, 16
store i64 %6, i64* %sv_0.2.ph.reg2mem
br label LBL_19
LBL_2:
%11 = call i64 @FUNC(i64 %sv_0.2.ph5.reload)
%12 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 5)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %5, i64 %sv_0.2.ph5.reload)
%sext = mul i64 %16, 4294967296
%17 = ashr exact i64 %sext, 32
%18 = icmp eq i64 %sext, 0
%19 = icmp eq i1 %18, false
store i64 %17, i64* %sv_0.2.ph5.be.reg2mem
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %19, label LBL_194.backedge, label LBL_29
LBL_4:
%20 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 3)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_5
LBL_5:
%24 = add i64 %sv_0.2.ph5.reload, 3
%25 = call i64 @FUNC(i64 %24)
%26 = call i64 @FUNC(i64 %24, i64 %24)
%27 = trunc i64 %26 to i32
%28 = icmp slt i32 %27, 0
%29 = icmp eq i1 %28, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %29, label LBL_6, label LBL_29
LBL_6:
%30 = call i64 @FUNC(i64 %24)
store i64 %30, i64* %sv_0.2.ph5.be.reg2mem
br label LBL_194.backedge
LBL_7:
%31 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 12)
%32 = trunc i64 %31 to i32
%33 = icmp eq i32 %32, 0
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_14, label LBL_8
LBL_8:
%35 = add i64 %sv_0.2.ph5.reload, 12
%36 = call i64 @FUNC(i64 %35)
%37 = inttoptr i64 %35 to i8*
%38 = load i8, i8* %37, align 1
%39 = icmp eq i8 %38, 34
br i1 %39, label LBL_10, label LBL_9
LBL_9:
%40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %35, i64 %rcx.2.ph.reload, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_29
LBL_10:
%41 = add i64 %sv_0.2.ph5.reload, 13
%42 = inttoptr i64 %41 to i8*
%43 = load i8, i8* %42, align 1
%44 = icmp ne i8 %43, 0
%45 = icmp eq i8 %43, 34
%46 = icmp eq i1 %45, false
%or.cond17 = icmp eq i1 %44, %46
store i8 %43, i8* %.reg2mem
store i64 %41, i64* %sv_0.019.reg2mem
store i8* %7, i8** %sv_1.018.reg2mem
store i8* %7, i8** %sv_1.0.lcssa.reg2mem
store i64 %rcx.2.ph.reload, i64* %rcx.0.lcssa.reg2mem
store i64 %41, i64* %sv_0.0.lcssa.reg2mem
store i1 %45, i1* %.lcssa.reg2mem
br i1 %or.cond17, label LBL_11, label LBL_12
LBL_11:
%sv_1.018.reload = load i8*, i8** %sv_1.018.reg2mem
%sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem
%.reload = load i8, i8* %.reg2mem
%47 = add i64 %sv_0.019.reload, 1
%48 = ptrtoint i8* %sv_1.018.reload to i64
%49 = add i64 %48, 1
%50 = inttoptr i64 %49 to i8*
store i8 %.reload, i8* %sv_1.018.reload, align 1
%51 = inttoptr i64 %47 to i8*
%52 = load i8, i8* %51, align 1
%53 = icmp ne i8 %52, 0
%54 = icmp eq i8 %52, 34
%55 = icmp eq i1 %54, false
%or.cond = icmp eq i1 %53, %55
store i8 %52, i8* %.reg2mem
store i64 %47, i64* %sv_0.019.reg2mem
store i8* %50, i8** %sv_1.018.reg2mem
store i8* %50, i8** %sv_1.0.lcssa.reg2mem
store i64 %49, i64* %rcx.0.lcssa.reg2mem
store i64 %47, i64* %sv_0.0.lcssa.reg2mem
store i1 %54, i1* %.lcssa.reg2mem
br i1 %or.cond, label LBL_11, label LBL_12
LBL_12:
%.lcssa.reload = load i1, i1* %.lcssa.reg2mem
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %.lcssa.reload, label LBL_13, label LBL_29
LBL_13:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i8*, i8** %sv_1.0.lcssa.reg2mem
%56 = add i64 %sv_0.0.lcssa.reload, 1
store i8 0, i8* %sv_1.0.lcssa.reload, align 1
%57 = call i64 @FUNC(i64* nonnull %sv_2)
%sext2 = mul i64 %57, 4294967296
%58 = ashr exact i64 %sext2, 32
store i64 %58, i64* %9, align 8
store i64 %rcx.0.lcssa.reload, i64* %rcx.2.ph.be.reg2mem
store i64 %56, i64* %sv_0.2.ph.be.reg2mem
br label LBL_18
LBL_14:
%59 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 11)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, 0
%62 = icmp eq i1 %61, false
br i1 %62, label LBL_20, label LBL_15
LBL_15:
%63 = add i64 %sv_0.2.ph5.reload, 11
%64 = call i64 @FUNC(i64 %63)
%65 = call i16** @__ctype_b_loc()
%66 = load i16*, i16** %65, align 8
%67 = ptrtoint i16* %66 to i64
%68 = inttoptr i64 %63 to i8*
%69 = load i8, i8* %68, align 1
%70 = zext i8 %69 to i64
%71 = mul i64 %70, 2
%72 = add i64 %71, %67
%73 = inttoptr i64 %72 to i16*
%74 = load i16, i16* %73, align 2
%75 = and i16 %74, 2048
%76 = icmp eq i16 %75, 0
%77 = icmp eq i1 %76, false
store i8 %69, i8* %.reg2mem78
store i64 %63, i64* %sv_0.124.reg2mem
store i8* %7, i8** %sv_1.123.reg2mem
store i8* %7, i8** %sv_1.1.lcssa.reg2mem
store i64 %rcx.2.ph.reload, i64* %rcx.1.lcssa.reg2mem
store i64 %63, i64* %sv_0.1.lcssa.reg2mem
br i1 %77, label LBL_16, label LBL_17
LBL_16:
%sv_1.123.reload = load i8*, i8** %sv_1.123.reg2mem
%sv_0.124.reload = load i64, i64* %sv_0.124.reg2mem
%.reload79 = load i8, i8* %.reg2mem78
%78 = add i64 %sv_0.124.reload, 1
%79 = ptrtoint i8* %sv_1.123.reload to i64
%80 = add i64 %79, 1
%81 = inttoptr i64 %80 to i8*
store i8 %.reload79, i8* %sv_1.123.reload, align 1
%82 = call i16** @__ctype_b_loc()
%83 = load i16*, i16** %82, align 8
%84 = ptrtoint i16* %83 to i64
%85 = inttoptr i64 %78 to i8*
%86 = load i8, i8* %85, align 1
%87 = zext i8 %86 to i64
%88 = mul i64 %87, 2
%89 = add i64 %88, %84
%90 = inttoptr i64 %89 to i16*
%91 = load i16, i16* %90, align 2
%92 = and i16 %91, 2048
%93 = icmp eq i16 %92, 0
%94 = icmp eq i1 %93, false
store i8 %86, i8* %.reg2mem78
store i64 %78, i64* %sv_0.124.reg2mem
store i8* %81, i8** %sv_1.123.reg2mem
store i8* %81, i8** %sv_1.1.lcssa.reg2mem
store i64 %80, i64* %rcx.1.lcssa.reg2mem
store i64 %78, i64* %sv_0.1.lcssa.reg2mem
br i1 %94, label LBL_16, label LBL_17
LBL_17:
%sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem
%rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i8*, i8** %sv_1.1.lcssa.reg2mem
store i8 0, i8* %sv_1.1.lcssa.reload, align 1
%95 = call i64 @FUNC(i64* nonnull %sv_2, i64 %10)
%96 = trunc i64 %95 to i32
%97 = icmp slt i32 %96, 0
%98 = icmp eq i1 %97, false
store i64 %rcx.1.lcssa.reload, i64* %rcx.2.ph.be.reg2mem
store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.ph.be.reg2mem
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %98, label LBL_18, label LBL_29
LBL_18:
%sv_0.2.ph.be.reload = load i64, i64* %sv_0.2.ph.be.reg2mem
%rcx.2.ph.be.reload = load i64, i64* %rcx.2.ph.be.reg2mem
store i64 %rcx.2.ph.be.reload, i64* %rcx.2.ph.reg2mem
store i64 %sv_0.2.ph.be.reload, i64* %sv_0.2.ph.reg2mem
br label LBL_19
LBL_19:
%sv_0.2.ph.reload = load i64, i64* %sv_0.2.ph.reg2mem
%rcx.2.ph.reload = load i64, i64* %rcx.2.ph.reg2mem
store i64 %sv_0.2.ph.reload, i64* %sv_0.2.ph5.reg2mem
br label LBL_194
LBL_20:
%99 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 4)
%100 = trunc i64 %99 to i32
%101 = icmp eq i32 %100, 0
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %101, label LBL_29, label LBL_21
LBL_21:
%102 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i64 %sv_0.2.ph5.reload, i64 13)
%103 = trunc i64 %102 to i32
%104 = icmp eq i32 %103, 0
%105 = icmp eq i1 %104, false
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %105, label LBL_22, label LBL_29
LBL_22:
%106 = load i8, i8* %110, align 1
%107 = icmp eq i8 %106, 41
%108 = icmp eq i1 %107, false
br i1 %108, label LBL_26, label LBL_23
LBL_23:
%109 = add i64 %sv_0.2.ph5.reload, 1
store i64 %109, i64* %sv_0.2.ph5.be.reg2mem
br label LBL_194.backedge
LBL_24:
%sv_0.2.ph5.be.reload = load i64, i64* %sv_0.2.ph5.be.reg2mem
store i64 %sv_0.2.ph5.be.reload, i64* %sv_0.2.ph5.reg2mem
br label LBL_194
LBL_25:
%sv_0.2.ph5.reload = load i64, i64* %sv_0.2.ph5.reg2mem
%110 = inttoptr i64 %sv_0.2.ph5.reload to i8*
%.pre = load i8, i8* %110, align 1
store i8 %.pre, i8* %.reg2mem80
br label LBL_28
LBL_26:
%111 = icmp eq i8 %106, 0
store i8 0, i8* %.reg2mem80
br i1 %111, label LBL_28, label LBL_27
LBL_27:
%112 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %sv_0.2.ph5.reload)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_29
LBL_28:
%.reload81 = load i8, i8* %.reg2mem80
%113 = icmp eq i8 %.reload81, 0
%114 = icmp eq i1 %113, false
store i64 0, i64* %rax.0.reg2mem
br i1 %114, label LBL_2, label LBL_29
LBL_29:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.2.ph5.reload, { 14, 9, 10, 8, 7, 6, 5, 4, 12, 11, 3, 13, 2, 1, 0 }
uselistorder i8* %sv_1.123.reload, { 1, 0 }
uselistorder i8* %sv_1.018.reload, { 1, 0 }
uselistorder i64 %24, { 0, 3, 1, 2 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %5, { 0, 2, 1 }
uselistorder i64* %sv_2, { 1, 2, 0 }
uselistorder i8* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.019.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_1.018.reg2mem, { 2, 0, 1 }
uselistorder i8* %.reg2mem78, { 2, 0, 1 }
uselistorder i64* %sv_0.124.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_1.123.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 10, 7, 6, 1, 2, 9, 3, 4, 8 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 4294967294, { 1, 0 }
uselistorder i16 0, { 3, 1, 4, 5, 6, 0, 2 }
uselistorder i16 2048, { 1, 0 }
uselistorder i16** ()* @__ctype_b_loc, { 6, 1, 5, 3, 4, 0, 2 }
uselistorder i64 11, { 1, 0 }
uselistorder i8 0, { 9, 0, 5, 6, 7, 8, 2, 10, 11, 1, 12, 3, 4 }
uselistorder i64 13, { 1, 0 }
uselistorder i64 1, { 2, 3, 4, 5, 6, 7, 1, 8, 9, 10, 0 }
uselistorder i8 34, { 1, 0, 2 }
uselistorder i64 12, { 1, 0 }
uselistorder i64 3, { 1, 0 }
uselistorder i64 (i8*, i64, i64)* @mutt_str_strncasecmp, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @SKIPWS, { 3, 2, 1, 0 }
uselistorder i1 false, { 15, 5, 6, 7, 8, 1, 9, 4, 2, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 0, 3 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder label LBL_29, { 4, 8, 6, 5, 0, 1, 9, 2, 3, 7 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
}
|
1
|
CompRealVul
|
fio_timer_calc_due_13121
|
fio_timer_calc_due
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = icmp ult i64 %arg1, 1001
br i1 %1, label LBL_2, label LBL_1
LBL_1:
br label LBL_2
LBL_2:
%2 = mul i64 %arg1, 1000000
%3 = add i64 %2, %arg3
%4 = icmp sgt i64 %3, 1000000000
%5 = zext i1 %4 to i64
%spec.select = add i64 %0, %5
ret i64 %spec.select
}
|
1
|
CompRealVul
|
EntityIsDead_4223
|
EntityIsDead
|
define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i32, align 4
%2 = trunc i64 %1 to i32
%3 = icmp ugt i32 %2, 63
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%4 = and i64 %1, 4294967295
%5 = bitcast i32* %sv_0 to i64*
%6 = call i64 @FUNC(i64 %4, i64* nonnull %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_2, label LBL_4
LBL_2:
%10 = load i32, i32* %sv_0, align 4
%11 = icmp eq i32 %10, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %11, label LBL_3, label LBL_4
LBL_3:
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_4, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
mcf_uart_init_1517
|
mcf_uart_init
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 16)
%1 = inttoptr i64 %0 to i64*
store i64 %arg2, i64* %1, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 %arg1, i64* %3, align 8
%4 = icmp eq i64 %arg2, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %arg2)
%6 = load i64, i64* @gv_0, align 8
%7 = load i64, i64* @gv_1, align 8
%8 = load i64, i64* @gv_2, align 8
%9 = call i64 @FUNC(i64 %arg2, i64 %8, i64 %7, i64 %6, i64 %0)
br label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %0)
ret i64 %0
uselistorder i64 %0, { 2, 1, 0, 3, 4 }
uselistorder i64 %arg2, { 1, 2, 0, 3 }
}
|
0
|
CompRealVul
|
psf_close_3928
|
psf_close
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem2 = alloca i32
%.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = inttoptr i64 %arg1 to i64*
store i64 0, i64* %1, align 8
br label LBL_2
LBL_2:
%2 = call i64 @FUNC(i64 %arg1)
%3 = call i64 @FUNC(i64 %arg1)
%4 = add i64 %arg1, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = inttoptr i64 %6 to i64*
call void @free(i64* %7)
%8 = add i64 %arg1, 24
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i64*
call void @free(i64* %11)
%12 = add i64 %arg1, 32
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i64*
call void @free(i64* %15)
%16 = add i64 %arg1, 40
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = inttoptr i64 %18 to i64*
call void @free(i64* %19)
%20 = add i64 %arg1, 48
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i64*
call void @free(i64* %23)
%24 = add i64 %arg1, 56
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = inttoptr i64 %26 to i64*
call void @free(i64* %27)
%28 = add i64 %arg1, 64
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = inttoptr i64 %30 to i64*
call void @free(i64* %31)
%32 = add i64 %arg1, 72
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i64*
call void @free(i64* %35)
%36 = add i64 %arg1, 80
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = inttoptr i64 %38 to i64*
call void @free(i64* %39)
%40 = add i64 %arg1, 88
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = inttoptr i64 %42 to i64*
call void @free(i64* %43)
%44 = add i64 %arg1, 136
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = inttoptr i64 %46 to i64*
call void @free(i64* %47)
%48 = add i64 %arg1, 96
%49 = inttoptr i64 %48 to i64*
%50 = load i64, i64* %49, align 8
%51 = icmp eq i64 %50, 0
br i1 %51, label LBL_6, label LBL_3
LBL_3:
%52 = add i64 %arg1, 104
%53 = inttoptr i64 %52 to i64*
%54 = load i64, i64* %53, align 8
%55 = icmp eq i64 %54, 0
br i1 %55, label LBL_6, label LBL_4
LBL_4:
%56 = inttoptr i64 %50 to i64*
%57 = load i64, i64* %56, align 8
%58 = inttoptr i64 %57 to i64*
call void @free(i64* %58)
%59 = load i64, i64* %53, align 8
%60 = icmp ugt i64 %59, 1
store i64 1, i64* %.reg2mem
store i32 1, i32* %.reg2mem2
br i1 %60, label LBL_5, label LBL_6
LBL_5:
%.reload3 = load i32, i32* %.reg2mem2
%.reload = load i64, i64* %.reg2mem
%.pre = load i64, i64* %49, align 8
%61 = mul i64 %.reload, 8
%62 = add i64 %61, %.pre
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = inttoptr i64 %64 to i64*
call void @free(i64* %65)
%66 = add i32 %.reload3, 1
%67 = zext i32 %66 to i64
%68 = load i64, i64* %53, align 8
%69 = icmp ugt i64 %68, %67
store i64 %67, i64* %.reg2mem
store i32 %66, i32* %.reg2mem2
br i1 %69, label LBL_5, label LBL_6
LBL_6:
%70 = add i64 %arg1, 112
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = inttoptr i64 %72 to i64*
call void @free(i64* %73)
%74 = load i64, i64* %49, align 8
%75 = inttoptr i64 %74 to i64*
call void @free(i64* %75)
%76 = add i64 %arg1, 120
%77 = inttoptr i64 %76 to i64*
%78 = load i64, i64* %77, align 8
%79 = inttoptr i64 %78 to i64*
call void @free(i64* %79)
%80 = add i64 %arg1, 128
%81 = inttoptr i64 %80 to i64*
%82 = load i64, i64* %81, align 8
%83 = inttoptr i64 %82 to i64*
call void @free(i64* %83)
%84 = inttoptr i64 %arg1 to i64*
%85 = call i64* @memset(i64* %84, i32 0, i32 144)
call void @free(i64* %84)
%86 = and i64 %2, 4294967295
ret i64 %86
uselistorder i64* %53, { 2, 0, 1 }
uselistorder i64* %49, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem2, { 2, 0, 1 }
uselistorder void (i64*)* @free, { 16, 15, 14, 13, 12, 17, 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 0, { 1, 3, 4, 5, 0, 2 }
uselistorder i64 %arg1, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }
uselistorder label LBL_6, { 1, 0, 2, 3 }
uselistorder label LBL_5, { 1, 0 }
}
|
0
|
CompRealVul
|
copy_packet_data_17380
|
copy_packet_data
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %arg1, align 8
%2 = add i64 %1, 8
%3 = inttoptr i64 %2 to i64*
store i64 0, i64* %3, align 8
%4 = add i64 %1, 16
%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_1
LBL_1:
%8 = add i64 %0, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %13, label LBL_2, label LBL_9
LBL_2:
store i64 %11, i64* %5, align 8
%14 = inttoptr i64 %11 to i64*
%15 = load i64, i64* %14, align 8
store i64 %15, i64* %arg1, align 8
br label LBL_5
LBL_3:
%16 = add i64 %1, 24
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = call i64* @malloc(i32 %18)
%20 = ptrtoint i64* %19 to i64
store i64 %20, i64* %arg1, align 8
%21 = icmp eq i32 %18, 0
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = sext i32 %18 to i64
%23 = load i32, i32* %17, align 4
%24 = inttoptr i64 %22 to i64*
%25 = call i64* @memcpy(i64* %24, i64* %arg2, i32 %23)
br label LBL_5
LBL_5:
%26 = add i64 %1, 32
%27 = inttoptr i64 %26 to i64*
store i64 4198742, i64* %27, align 8
%28 = add i64 %1, 28
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %30, 0
%32 = trunc i64 %arg3 to i32
%33 = icmp eq i32 %32, 0
%or.cond = or i1 %33, %31
store i32 %30, i32* %.reg2mem
br i1 %or.cond, label LBL_7, label LBL_6
LBL_6:
%34 = add i64 %0, 8
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
store i64 %36, i64* %3, align 8
%.pr = load i32, i32* %29, align 4
store i32 %.pr, i32* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i32, i32* %.reg2mem
%37 = icmp eq i32 %.reload, 0
%38 = icmp eq i1 %33, false
%or.cond3 = or i1 %38, %37
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond3, label LBL_9, label LBL_8
LBL_8:
%39 = call i64 @FUNC(i64 %1, i64 %0)
store i64 %39, 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 i1 %33, { 1, 0 }
uselistorder i32 %18, { 2, 0, 1 }
uselistorder i64 %0, { 2, 1, 0 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 0, { 2, 0, 3, 1 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder label LBL_9, { 2, 0, 1 }
}
|
1
|
CompRealVul
|
AllocateDataSet_5512
|
AllocateDataSet
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_5, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))
%7 = inttoptr i64 %6 to i8*
%8 = call i32 @atoi(i8* %7)
%9 = add i64 %1, 8
%10 = inttoptr i64 %9 to i32*
store i32 %8, i32* %10, align 4
%11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))
%12 = inttoptr i64 %11 to i8*
%13 = call i32 @atoi(i8* %12)
%14 = add i64 %1, 12
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
%16 = load i32, i32* %10, align 4
%17 = icmp ult i32 %16, 32767
%18 = icmp ult i32 %13, 32767
%or.cond = icmp eq i1 %18, %17
br i1 %or.cond, label LBL_3, label LBL_2
LBL_2:
%19 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0))
store i64 %19, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%20 = add i32 %16, 1
%21 = add i32 %13, 1
%22 = mul i32 %20, %21
%23 = zext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i64 @FUNC(i64 %0, i64 %24)
store i64 %25, i64* %2, align 8
%26 = icmp eq i64 %25, 0
%27 = icmp eq i1 %26, false
store i64 %25, i64* %rax.0.reg2mem
br i1 %27, label LBL_5, label LBL_4
LBL_4:
%28 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0))
store i64 %28, 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 %16, { 1, 0 }
uselistorder i32 %13, { 1, 0, 2 }
uselistorder i64 (i64, i8*)* @SynError, { 1, 0 }
uselistorder i32 32767, { 1, 0 }
uselistorder i32 (i8*)* @atoi, { 1, 0 }
uselistorder i64 (i64, i8*)* @cmsIT8GetProperty, { 1, 0 }
uselistorder label LBL_5, { 1, 2, 3, 0 }
}
|
0
|
CompRealVul
|
pm_check_save_msr_6871
|
pm_check_save_msr
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = load i64, i64* @gv_1, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC()
ret i64 0
}
|
0
|
CompRealVul
|
readSInt16_12985
|
readSInt16
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1)
%2 = mul i64 %1, 256
%3 = add i64 %2, %0
%4 = and i64 %3, 4294967295
ret i64 %4
}
|
1
|
CompRealVul
|
pcie_cap_v1_fill_14400
|
pcie_cap_v1_fill
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = urem i64 %arg3, 16
%2 = urem i64 %arg4, 256
%3 = or i64 %2, %1
%4 = call i64 @FUNC(i64 %0, i64 %3)
%5 = add i64 %0, 4
%6 = call i64 @FUNC(i64 %5, i64 1)
%7 = add i64 %0, 8
%8 = and i64 %arg2, 254
%9 = or i64 %8, 1
%10 = call i64 @FUNC(i64 %7, i64 %9)
%11 = add i64 %0, 12
%12 = call i64 @FUNC(i64 %11, i64 1)
ret i64 %12
uselistorder i64 (i64, i64)* @pci_set_long, { 1, 0 }
uselistorder i64 (i64, i64)* @pci_set_word, { 1, 0 }
}
|
1
|
CompRealVul
|
sdp_parse_fmtp_config_17148
|
sdp_parse_fmtp_config
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = add i32 %2, -1
%4 = zext i32 %3 to i64
%5 = icmp eq i32 %3, 0
%6 = icmp eq i32 %2, 2
%7 = or i1 %6, %5
store i64 %4, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_4
LBL_1:
%8 = inttoptr i64 %arg2 to i8*
%9 = call i32 @strcmp(i8* %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
%10 = sext i32 %9 to i64
%11 = icmp eq i32 %9, 0
%12 = icmp eq i1 %11, false
store i64 %10, i64* %rax.0.reg2mem
br i1 %12, label LBL_4, label LBL_2
LBL_2:
%13 = ptrtoint i64* %arg1 to i64
%14 = call i64 @FUNC(i64 0, i64 %arg3)
%15 = mul i64 %14, 4294967296
%sext = add i64 %15, 137438953472
%16 = ashr exact i64 %sext, 32
%17 = call i64 @FUNC(i64 %16)
%18 = add i64 %13, 8
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
%20 = icmp eq i64 %17, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = trunc i64 %14 to i32
%22 = add i64 %13, 16
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = load i64, i64* %19, align 8
%25 = call i64 @FUNC(i64 %24, i64 %arg3)
store i64 %25, 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 %14, { 1, 0 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64 (i64, i64)* @hex_to_data, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_4, { 2, 0, 1, 3 }
}
|
1
|
CompRealVul
|
new_huffman_tree_12012
|
new_huffman_tree
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 0, i32* %1, align 4
%2 = call i64* @calloc(i32 1, i32 0)
%3 = ptrtoint i64* %2 to i64
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
store i64 %3, i64* %5, align 8
ret i64 %0
}
|
1
|
CompRealVul
|
restore_fp_11942
|
restore_fp
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = load i32*, i32** @gv_0, align 8
%10 = ptrtoint i32* %9 to i64
%11 = add i64 %10, 4
%12 = call i64 @FUNC(i64 %11)
%13 = load i32*, i32** @gv_0, align 8
%14 = load i32, i32* %13, align 4
%15 = add i32 %14, 1
store i32 %15, i32* %13, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
nfs_readlink_req_11618
|
nfs_readlink_req
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%2 = ptrtoint i64* %sv_0 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %3, i64 %0)
%5 = sub i64 %4, %2
%6 = udiv i64 %5, 4
%7 = and i64 %6, 4294967295
%8 = call i64 @FUNC(i64 %1, i64 100003, i64 13, i64* nonnull %sv_0, i64 %7)
%9 = icmp ult i64 %8, -1000
store i64 %8, i64* %storemerge.reg2mem
br i1 %9, label LBL_1, label LBL_2
LBL_1:
%10 = inttoptr i64 %8 to i64*
%11 = load i64, i64* %10, align 8
%12 = add i64 %11, 4
%13 = call i64 @FUNC(i64 %12, i64 0)
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %14, 1
%16 = and i64 %15, 4294967295
%17 = call i64 @FUNC(i64 %16)
store i64 %17, i64* %arg3, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 1, 2, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
uwsgi_respawn_worker_7752
|
uwsgi_respawn_worker
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge32.reg2mem = alloca i64
%storemerge3141.reg2mem = alloca i32
%.reg2mem43 = alloca i64
%rcx.0.lcssa.reg2mem = alloca i64
%storemerge3942.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%sext = mul i64 %arg1, 4294967296
%3 = ashr exact i64 %sext, 32
%narrow = mul nsw i64 %3, 392
%4 = add i64 %narrow, ptrtoint (i32** @gv_0 to i64)
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 8
%7 = add i64 %narrow, ptrtoint (i32** @gv_1 to i64)
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 8
%9 = load i32, i32* %5, align 8
%10 = add i32 %9, 1
store i32 %10, i32* %5, align 8
%11 = load i64, i64* @gv_2, align 8
%12 = add i64 %narrow, ptrtoint (i64* @gv_3 to i64)
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
%14 = load i32, i32* @gv_4, align 4
%15 = icmp eq i32 %14, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3942.reg2mem
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%storemerge3942.reload = load i32, i32* %storemerge3942.reg2mem
%.reload = load i64, i64* %.reg2mem
%16 = mul nsw i64 %.reload, 12
%17 = add nsw i64 %16, %narrow
%18 = add i64 %17, ptrtoint (i32** @gv_5 to i64)
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %19, align 4
%20 = add i64 %17, ptrtoint (i32** @gv_6 to i64)
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = add i32 %storemerge3942.reload, 1
%23 = load i32, i32* @gv_4, align 4
%24 = zext i32 %23 to i64
%25 = sext i32 %22 to i64
%26 = icmp slt i64 %25, %24
store i64 %25, i64* %.reg2mem
store i32 %22, i32* %storemerge3942.reg2mem
store i64 %3, i64* %rcx.0.lcssa.reg2mem
br i1 %26, label LBL_1, label LBL_2
LBL_2:
%rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem
%27 = add i64 %narrow, ptrtoint (i32** @gv_7 to i64)
%28 = inttoptr i64 %27 to i32*
store i32 0, i32* %28, align 8
%29 = add i64 %narrow, ptrtoint (i64* @gv_8 to i64)
%30 = inttoptr i64 %29 to i64*
store i64 0, i64* %30, align 8
%31 = add i64 %narrow, ptrtoint (i64* @gv_9 to i64)
%32 = inttoptr i64 %31 to i64*
store i64 0, i64* %32, align 8
%33 = add i64 %narrow, ptrtoint (i32** @gv_10 to i64)
%34 = inttoptr i64 %33 to i32*
store i32 0, i32* %34, align 8
%35 = add i64 %narrow, ptrtoint (i32** @gv_11 to i64)
%36 = inttoptr i64 %35 to i32*
store i32 0, i32* %36, align 8
%37 = add i64 %narrow, ptrtoint (i32** @gv_12 to i64)
%38 = inttoptr i64 %37 to i32*
store i32 0, i32* %38, align 8
%39 = add i64 %narrow, ptrtoint (i32** @gv_13 to i64)
%40 = inttoptr i64 %39 to i32*
store i32 0, i32* %40, align 8
%41 = add i64 %narrow, ptrtoint (i32** @gv_14 to i64)
%42 = inttoptr i64 %41 to i32*
store i32 0, i32* %42, align 8
%43 = load i32, i32* @gv_15, align 4
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_4, label LBL_3
LBL_3:
%45 = call i32 @pthread_mutex_lock(i64* nonnull @gv_16)
br label LBL_4
LBL_4:
%46 = add nsw i64 %narrow, 4210968
%47 = call i64 @FUNC(i64 %46)
%48 = trunc i64 %47 to i32
%49 = icmp eq i32 %48, 0
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_9, label LBL_5
LBL_5:
%51 = call void (i32)* @signal(i32 28, void (i32)* inttoptr (i64 4199063 to void (i32)*))
%52 = call void (i32)* @signal(i32 20, void (i32)* inttoptr (i64 4199063 to void (i32)*))
%53 = trunc i64 %3 to i32
store i32 %53, i32* bitcast (i128* @gv_17 to i32*), align 8
%54 = call i32 @getpid()
store i32 %54, i32* bitcast (i64* @gv_18 to i32*), align 8
%55 = load i32, i32* bitcast (i128* @gv_17 to i32*), align 8
%56 = sext i32 %55 to i64
%57 = mul nsw i64 %56, 392
%58 = add i64 %57, ptrtoint (i32** @gv_19 to i64)
%59 = inttoptr i64 %58 to i32*
store i32 %55, i32* %59, align 8
%60 = load i32, i32* bitcast (i128* @gv_17 to i32*), align 8
%61 = sext i32 %60 to i64
%62 = mul nsw i64 %61, 392
%63 = add i64 %62, ptrtoint (i32** @gv_20 to i64)
%64 = inttoptr i64 %63 to i32*
store i32 1, i32* %64, align 8
%65 = load i32, i32* bitcast (i128* @gv_17 to i32*), align 8
%66 = load i32, i32* bitcast (i32** @gv_21 to i32*), align 8
%67 = sext i32 %65 to i64
%68 = mul nsw i64 %67, 392
%69 = add i64 %68, ptrtoint (i32** @gv_21 to i64)
%70 = inttoptr i64 %69 to i32*
store i32 %66, i32* %70, align 8
%71 = load i32, i32* @gv_4, align 4
%72 = icmp eq i32 %71, 0
store i64 0, i64* %.reg2mem43
store i32 0, i32* %storemerge3141.reg2mem
br i1 %72, label LBL_7, label LBL_6
LBL_6:
%storemerge3141.reload = load i32, i32* %storemerge3141.reg2mem
%.reload44 = load i64, i64* %.reg2mem43
%73 = load i32, i32* bitcast (i128* @gv_17 to i32*), align 8
%74 = mul nsw i64 %.reload44, 12
%75 = sext i32 %73 to i64
%76 = mul nsw i64 %75, 392
%77 = add i64 %74, ptrtoint (i32** @gv_22 to i64)
%78 = add i64 %77, %76
%79 = inttoptr i64 %78 to i32*
store i32 0, i32* %79, align 4
%80 = add i32 %storemerge3141.reload, 1
%81 = load i32, i32* @gv_4, align 4
%82 = zext i32 %81 to i64
%83 = sext i32 %80 to i64
%84 = icmp slt i64 %83, %82
store i64 %83, i64* %.reg2mem43
store i32 %80, i32* %storemerge3141.reg2mem
br i1 %84, label LBL_6, label LBL_7
LBL_7:
%85 = and i64 %3, 4294967295
%86 = call i64 @FUNC(i64 %85, i64 0, i64 0)
%87 = add i64 %narrow, ptrtoint (i32** @gv_23 to i64)
%88 = inttoptr i64 %87 to i32*
%89 = load i32, i32* %88, align 8
store i32 %89, i32* inttoptr (i64 4216892 to i32*), align 4
%90 = load i32, i32* @gv_15, align 4
%91 = icmp eq i32 %90, 0
store i64 1, i64* %storemerge32.reg2mem
br i1 %91, label LBL_16, label LBL_8
LBL_8:
%92 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_16)
store i64 1, i64* %storemerge32.reg2mem
br label LBL_16
LBL_9:
%93 = icmp slt i32 %48, 0
%94 = icmp eq i1 %93, false
br i1 %94, label LBL_11, label LBL_10
LBL_10:
%95 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_24, i64 0, i64 0))
br label LBL_14
LBL_11:
%96 = add i64 %narrow, ptrtoint (i32** @gv_25 to i64)
%97 = inttoptr i64 %96 to i32*
store i32 %48, i32* %97, align 8
%98 = icmp slt i32 %6, 1
br i1 %98, label LBL_13, label LBL_12
LBL_12:
%99 = and i64 %3, 4294967295
%100 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_26, i64 0, i64 0), i64 %99, i32 %48, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)
br label LBL_14
LBL_13:
%101 = load i32, i32* @gv_4, align 4
%102 = zext i32 %101 to i64
%103 = and i64 %3, 4294967295
%104 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_27, i64 0, i64 0), i64 %103, i32 %48, i64 %102, i64 %2, i64 %1)
br label LBL_14
LBL_14:
%105 = load i32, i32* @gv_15, align 4
%106 = icmp eq i32 %105, 0
store i64 0, i64* %storemerge32.reg2mem
br i1 %106, label LBL_16, label LBL_15
LBL_15:
%107 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_16)
store i64 0, i64* %storemerge32.reg2mem
br label LBL_16
LBL_16:
%storemerge32.reload = load i64, i64* %storemerge32.reg2mem
ret i64 %storemerge32.reload
uselistorder i32 %48, { 1, 0, 2, 3, 4 }
uselistorder i64 %narrow, { 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12, 13, 14 }
uselistorder i64 %3, { 4, 3, 1, 2, 0, 5 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge3942.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem43, { 2, 0, 1 }
uselistorder i32* %storemerge3141.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge32.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @uwsgi_log, { 1, 0 }
uselistorder i32 (i64*)* @pthread_mutex_unlock, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32** @gv_21, { 1, 0 }
uselistorder i32* bitcast (i128* @gv_17 to i32*), { 4, 3, 2, 1, 0 }
uselistorder void (i32)* (i32, void (i32)*)* @signal, { 1, 0 }
uselistorder i64 12, { 1, 0 }
uselistorder label LBL_16, { 1, 0, 3, 2 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
connection_ap_handshake_process_socks_9730
|
connection_ap_handshake_process_socks
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = call i64 @FUNC(i64 %0)
%3 = and i64 %0, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = inttoptr i64 %2 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 1
%8 = zext i1 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %2, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 2
%14 = zext i1 %13 to i64
%15 = call i64 @FUNC(i64 %14)
%16 = add i64 %0, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = and i64 %18, 4294967295
%20 = call i64 @FUNC(i64 %19)
%21 = load i64, i64* %17, align 8
%22 = inttoptr i64 %21 to i32*
%23 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))
%24 = add i64 %1, 4
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = inttoptr i64 %1 to i32*
%28 = load i32, i32* %27, align 4
%29 = add i64 %2, 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = call i64 @FUNC(i64 %31, i64 %21, i32 %28, i32 %26)
%33 = trunc i64 %32 to i32
%34 = load i32, i32* %22, align 4
%35 = icmp eq i32 %34, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %35, label LBL_3, label LBL_1
LBL_1:
%36 = add i64 %21, 16
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = zext i32 %34 to i64
%40 = call i64 @FUNC(i64 %38, i64 %39, i64 %2)
store i32 0, i32* %22, align 4
%41 = icmp eq i32 %33, -1
%42 = icmp eq i1 %41, false
store i32 1, i32* %sv_0.0.reg2mem
br i1 %42, label LBL_3, label LBL_2
LBL_2:
%43 = add i64 %21, 4
%44 = inttoptr i64 %43 to i32*
store i32 1, i32* %44, align 4
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%45 = icmp eq i32 %33, 0
%46 = icmp eq i1 %45, false
br i1 %46, label LBL_5, label LBL_4
LBL_4:
%47 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_13
LBL_5:
%48 = icmp eq i32 %33, -1
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_9, label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%50 = icmp eq i32 %sv_0.0.reload, 0
%51 = icmp eq i1 %50, false
br i1 %51, label LBL_8, label LBL_7
LBL_7:
%52 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0))
%53 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 1)
br label LBL_8
LBL_8:
%54 = call i64 @FUNC(i64 %0, i64 3)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_13
LBL_9:
%55 = add i64 %21, 8
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = icmp eq i32 %57, 0
%59 = icmp eq i1 %58, false
br i1 %59, label LBL_11, label LBL_10
LBL_10:
%60 = call i64 @FUNC(i64 %0, i64 3, i64 0)
br label LBL_12
LBL_11:
%61 = call i64 @FUNC(i64 %0, i64 4, i64 0)
br label LBL_12
LBL_12:
%62 = call i64 @FUNC(i64 %0, i64 0, i64 0)
store i64 %62, i64* %rax.0.reg2mem
br label LBL_13
LBL_13:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %33, { 2, 1, 0 }
uselistorder i64 %21, { 0, 1, 2, 4, 3 }
uselistorder i64 %0, { 2, 3, 4, 1, 0, 6, 5, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64, i64, i64)* @control_event_stream_status, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }
uselistorder i64 (i64, i8*)* @log_debug, { 1, 0 }
uselistorder i64 (i64)* @tor_assert, { 3, 2, 1, 0 }
}
|
0
|
CompRealVul
|
init_reg_state_8088
|
init_reg_state
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul i64 %indvars.iv.reload, 16
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i32*
store i32 0, i32* %3, align 4
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
store i32 0, i32* %5, align 4
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %2, 12
%9 = inttoptr i64 %8 to i32*
store i32 100, i32* %9, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%10 = add i64 %0, 128
%11 = inttoptr i64 %10 to i32*
store i32 1, i32* %11, align 4
%12 = add i64 %0, 16
%13 = inttoptr i64 %12 to i32*
store i32 2, i32* %13, align 4
ret i64 %12
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 16, { 1, 0 }
}
|
0
|
CompRealVul
|
spr_read_hdecr_15196
|
spr_read_hdecr
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sext = mul i64 %arg2, 4294967296
%2 = urem i64 %1, 2
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = call i64 @FUNC()
%6 = load i32, i32* @gv_0, align 4
%7 = ashr exact i64 %sext, 30
%8 = add i64 %7, ptrtoint (i32** @gv_1 to i64)
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = zext i32 %6 to i64
%12 = zext i32 %10 to i64
%13 = call i64 @FUNC(i64 %12, i64 %11)
%14 = call i64 @FUNC()
%15 = call i64 @FUNC(i64 %4)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%16 = load i32, i32* @gv_0, align 4
%17 = ashr exact i64 %sext, 30
%18 = add i64 %17, ptrtoint (i32** @gv_1 to i64)
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = zext i32 %16 to i64
%22 = zext i32 %20 to i64
%23 = call i64 @FUNC(i64 %22, i64 %21)
store i64 0, 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 %sext, { 1, 0 }
}
|
1
|
CompRealVul
|
io_sqpoll_cancel_sync_19286
|
io_sqpoll_cancel_sync
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %0, 8
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %0)
store i64 %0, i64* %sv_0, align 8
%5 = icmp eq i64* %arg1, null
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64* nonnull %sv_0)
%7 = call i64 @FUNC(i64* nonnull %sv_0, i64 4198769)
%8 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0)
%9 = load i64, i64* %sv_0, align 8
%10 = call i64 @FUNC(i64 %9)
br label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %0)
%12 = load i64, i64* %sv_0, align 8
%13 = icmp eq i64 %12, 0
store i64 %11, i64* %rax.0.reg2mem
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 %14, 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* %sv_0, { 0, 4, 5, 1, 2, 3, 6 }
uselistorder i64 %0, { 0, 2, 3, 1, 4 }
}
|
1
|
CompRealVul
|
perf_swevent_add_8767
|
perf_swevent_add
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64* nonnull @gv_0)
%2 = call i64 @FUNC(i64 %0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %0, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = bitcast i64* %arg1 to i32*
store i32 %7, i32* %8, align 4
%9 = call i64 @FUNC(i64 %0)
br label LBL_2
LBL_2:
%10 = urem i64 %arg2, 2
%11 = icmp eq i64 %10, 0
%12 = zext i1 %11 to i32
%13 = add i64 %0, 8
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = call i64 @FUNC(i64 %1, i64 %0)
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %17, label LBL_3, label LBL_4
LBL_3:
%18 = add i64 %0, 16
%19 = call i64 @FUNC(i64 %18, i64 %15)
%20 = call i64 @FUNC(i64 %0)
store i64 0, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 3, 2, 4, 5, 0, 1, 6 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
tricore_cpu_initfn_16971
|
tricore_cpu_initfn
|
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 = call i64 @FUNC(i64 %0)
%3 = inttoptr i64 %1 to i64*
store i64 %2, i64* %3, align 8
%4 = call i64 @FUNC(i64 %1, i64 4198775)
%5 = call i64 @FUNC()
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
store i64 %5, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC()
store i64 %8, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
}
|
1
|
CompRealVul
|
r_cons_hud_file_6419
|
r_cons_hud_file
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1, i64 0)
%1 = icmp eq i64 %0, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = inttoptr i64 %0 to i64*
call void @free(i64* %4)
store i64 %3, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
ov7670_enum_framesizes_17609
|
ov7670_enum_framesizes
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_0.14.reg2mem = alloca i32
%storemerge27.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %8, label LBL_9, label LBL_1
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = trunc i64 %1 to i32
%11 = add i64 %5, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = mul i64 %1, 8
%15 = and i64 %14, 34359738360
%16 = add i64 %13, %15
%17 = inttoptr i64 %16 to i32*
%18 = add i64 %3, 8
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = icmp eq i32 %20, 0
%22 = add i64 %3, 12
%23 = inttoptr i64 %22 to i32*
%24 = add i64 %16, 4
%25 = inttoptr i64 %24 to i32*
store i32 0, i32* %storemerge27.reg2mem
store i32 -1, i32* %sv_0.14.reg2mem
br label LBL_2
LBL_2:
%sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem
%storemerge27.reload = load i32, i32* %storemerge27.reg2mem
br i1 %21, label LBL_4, label LBL_3
LBL_3:
%26 = load i32, i32* %17, align 4
%27 = icmp ult i32 %26, %20
store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem
br i1 %27, label LBL_8, label LBL_4
LBL_4:
%28 = load i32, i32* %23, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label LBL_6, label LBL_5
LBL_5:
%30 = load i32, i32* %25, align 4
%31 = icmp ult i32 %30, %28
store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem
br i1 %31, label LBL_8, label LBL_6
LBL_6:
%32 = add i32 %sv_0.14.reload, 1
%33 = icmp eq i32 %32, %10
%34 = icmp eq i1 %33, false
store i32 %32, i32* %sv_0.0.reg2mem
br i1 %34, label LBL_8, label LBL_7
LBL_7:
%35 = add i64 %9, 8
%36 = inttoptr i64 %35 to i32*
store i32 1, i32* %36, align 4
%37 = load i32, i32* %17, align 4
%38 = add i64 %9, 12
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = load i32, i32* %25, align 4
%41 = add i64 %9, 16
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_9
LBL_8:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%43 = add nuw i32 %storemerge27.reload, 1
%44 = icmp ugt i32 %7, %43
store i32 %43, i32* %storemerge27.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %44, label LBL_2, label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %sv_0.14.reload, { 2, 1, 0 }
uselistorder i32 %7, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i64 8, { 1, 2, 0, 3 }
uselistorder i32 0, { 2, 0, 3, 1 }
uselistorder label LBL_9, { 0, 2, 1 }
uselistorder label LBL_8, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
pcie_cap_slot_hot_unplug_cb_5032
|
pcie_cap_slot_hot_unplug_cb
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %3, i64 %1, i64* nonnull %sv_0, i64 %0)
%5 = call i64 @FUNC(i64 %2)
%6 = call i64 @FUNC(i64 %5)
ret i64 %6
uselistorder i64 (i64)* @PCI_DEVICE, { 1, 0 }
}
|
0
|
CompRealVul
|
helper_retry_1151
|
helper_retry
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = load i64, i64* @gv_0, align 8
%3 = inttoptr i64 %1 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %2 to i64*
store i64 %4, i64* %5, align 8
%6 = load i64, i64* @gv_0, align 8
%7 = add i64 %1, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %6, 8
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = add i64 %1, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = udiv i64 %14, 4294967296
%16 = load i64, i64* @gv_0, align 8
%17 = call i64 @FUNC(i64 %16, i64 %15)
%18 = load i64, i64* %13, align 8
%19 = udiv i64 %18, 16777216
%20 = load i64, i64* @gv_0, align 8
%21 = urem i64 %19, 256
%22 = add i64 %20, 16
%23 = inttoptr i64 %22 to i64*
store i64 %21, i64* %23, align 8
%24 = load i64, i64* %13, align 8
%25 = udiv i64 %24, 256
%26 = and i64 %25, 3903
%27 = call i64 @FUNC(i64 %26)
%28 = load i64, i64* %13, align 8
%29 = urem i64 %28, 256
%30 = load i64, i64* @gv_0, align 8
%31 = call i64 @FUNC(i64 %30, i64 %29)
%32 = load i64, i64* @gv_0, align 8
%33 = add i64 %32, 24
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %35, -1
store i64 %36, i64* %34, align 8
ret i64 %32
uselistorder i64 %32, { 1, 0 }
uselistorder i64 256, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
libxenvchan_buffer_space_6108
|
libxenvchan_buffer_space
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = call i64 @FUNC(i64 %0)
ret i64 %2
}
|
0
|
CompRealVul
|
assert_avoptions_13859
|
assert_avoptions
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64* nonnull @gv_0, i64 0, i64 0)
%5 = icmp eq i64 %4, 0
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = inttoptr i64 %4 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_2:
ret i64 0
uselistorder i64* %0, { 1, 0 }
}
|
1
|
CompRealVul
|
dnxhd_write_header_14701
|
dnxhd_write_header
|
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge4.reg2mem = alloca i8
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i32* %arg1 to i64
%2 = add i64 %1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i32*
%6 = bitcast i64* %arg2 to i32*
store i32 -2147352576, i32* %6, align 4
%7 = add i64 %0, 4
%8 = inttoptr i64 %7 to i8*
store i8 1, i8* %8, align 1
%9 = load i32, i32* %5, align 4
%10 = icmp eq i32 %9, 0
store i8 1, i8* %storemerge4.reg2mem
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = add i64 %4, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = trunc i32 %13 to i8
%phitmp = add i8 %14, 2
store i8 %phitmp, i8* %storemerge4.reg2mem
br label LBL_2
LBL_2:
%storemerge4.reload = load i8, i8* %storemerge4.reg2mem
%15 = add i64 %0, 5
%16 = inttoptr i64 %15 to i8*
store i8 %storemerge4.reload, i8* %16, align 1
%17 = add i64 %0, 6
%18 = inttoptr i64 %17 to i8*
store i8 -128, i8* %18, align 1
%19 = add i64 %0, 7
%20 = inttoptr i64 %19 to i8*
store i8 -96, i8* %20, align 1
%21 = bitcast i64* %rdi to i32*
%22 = load i32, i32* %21, align 8
%23 = udiv i32 %22, 256
%24 = add i64 %0, 24
%25 = trunc i32 %23 to i8
%26 = inttoptr i64 %24 to i8*
store i8 %25, i8* %26, align 1
%27 = load i32, i32* %21, align 8
%28 = add i64 %0, 25
%29 = trunc i32 %27 to i8
%30 = inttoptr i64 %28 to i8*
store i8 %29, i8* %30, align 1
%31 = add i64 %1, 4
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = udiv i32 %33, 256
%35 = add i64 %0, 26
%36 = trunc i32 %34 to i8
%37 = inttoptr i64 %35 to i8*
store i8 %36, i8* %37, align 1
%38 = load i32, i32* %32, align 4
%39 = add i64 %0, 27
%40 = trunc i32 %38 to i8
%41 = inttoptr i64 %39 to i8*
store i8 %40, i8* %41, align 1
%42 = load i32, i32* %21, align 8
%43 = udiv i32 %42, 256
%44 = add i64 %0, 29
%45 = trunc i32 %43 to i8
%46 = inttoptr i64 %44 to i8*
store i8 %45, i8* %46, align 1
%47 = load i32, i32* %21, align 8
%48 = add i64 %0, 30
%49 = trunc i32 %47 to i8
%50 = inttoptr i64 %48 to i8*
store i8 %49, i8* %50, align 1
%51 = add i64 %0, 33
%52 = inttoptr i64 %51 to i8*
store i8 56, i8* %52, align 1
%53 = add i64 %4, 8
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = add i64 %0, 34
%.tr = trunc i32 %55 to i8
%57 = mul i8 %.tr, 4
%58 = add i8 %57, -120
%59 = inttoptr i64 %56 to i8*
store i8 %58, i8* %59, align 1
%60 = add i64 %4, 12
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = udiv i32 %62, 16777216
%64 = add i64 %0, 40
%65 = trunc i32 %63 to i8
%66 = inttoptr i64 %64 to i8*
store i8 %65, i8* %66, align 1
%67 = load i32, i32* %61, align 4
%68 = udiv i32 %67, 65536
%69 = add i64 %0, 41
%70 = trunc i32 %68 to i8
%71 = inttoptr i64 %69 to i8*
store i8 %70, i8* %71, align 1
%72 = load i32, i32* %61, align 4
%73 = udiv i32 %72, 256
%74 = add i64 %0, 42
%75 = trunc i32 %73 to i8
%76 = inttoptr i64 %74 to i8*
store i8 %75, i8* %76, align 1
%77 = load i32, i32* %61, align 4
%78 = add i64 %0, 43
%79 = trunc i32 %77 to i8
%80 = inttoptr i64 %78 to i8*
store i8 %79, i8* %80, align 1
%81 = load i32, i32* %5, align 4
%82 = icmp eq i32 %81, 0
%. = select i1 %82, i8 -128, i8 0
%83 = add i64 %0, 44
%84 = inttoptr i64 %83 to i8*
store i8 %., i8* %84, align 1
%85 = add i64 %0, 95
%86 = inttoptr i64 %85 to i8*
store i8 1, i8* %86, align 1
%87 = add i64 %0, 359
%88 = inttoptr i64 %87 to i8*
store i8 2, i8* %88, align 1
%89 = add i64 %4, 16
%90 = inttoptr i64 %89 to i32*
%91 = load i32, i32* %90, align 4
%92 = mul i32 %91, 4
%93 = add i32 %92, 4
%94 = udiv i32 %93, 256
%95 = add i64 %0, 362
%96 = trunc i32 %94 to i8
%97 = inttoptr i64 %95 to i8*
store i8 %96, i8* %97, align 1
%98 = load i32, i32* %90, align 4
%99 = add i64 %0, 363
%.tr3 = trunc i32 %98 to i8
%100 = mul i8 %.tr3, 4
%101 = add i8 %100, 4
%102 = inttoptr i64 %99 to i8*
store i8 %101, i8* %102, align 1
%103 = load i32, i32* %90, align 4
%104 = add i64 %0, 365
%105 = trunc i32 %103 to i8
%106 = inttoptr i64 %104 to i8*
store i8 %105, i8* %106, align 1
%107 = add i64 %0, 367
%108 = inttoptr i64 %107 to i8*
store i8 16, i8* %108, align 1
%109 = add i64 %0, 368
%110 = add i64 %4, 24
%111 = inttoptr i64 %110 to i64*
store i64 %109, i64* %111, align 8
ret i64 0
uselistorder i8* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i32 4, { 1, 0 }
uselistorder i8 4, { 2, 0, 1 }
uselistorder i8 2, { 1, 0 }
uselistorder i8 1, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.